@open-wa/api 5.14.0 → 5.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard-neo/dist/assets/{AgentScalarDrawer.vue-FgV2bvw3.js → AgentScalarDrawer.vue-and-zBM9.js} +3 -3
- package/dashboard-neo/dist/assets/{DeveloperToolsPanel.vue-B84rTUOX.js → DeveloperToolsPanel.vue-DvNolsWQ.js} +1 -1
- package/dashboard-neo/dist/assets/{ExploreScalarModal.vue-aMynzJW3.js → ExploreScalarModal.vue-DshlMksl.js} +1 -1
- package/dashboard-neo/dist/assets/{SchemaLanguage.vue-DoLH3juK.js → SchemaLanguage.vue-CTxsMEW-.js} +1 -1
- package/dashboard-neo/dist/assets/{browser-CUn5l15H.js → browser-C7TYEc3a.js} +1 -1
- package/dashboard-neo/dist/assets/index-BvoGeeVi.js +2938 -0
- package/dashboard-neo/dist/assets/{modal-BuAmB_fi.js → modal-BuXf4D7b.js} +1 -1
- package/dashboard-neo/dist/index.html +1 -1
- package/dist/index.cjs +1 -1
- package/package.json +4 -4
- package/dashboard-neo/dist/assets/index-Dg65QVeC.js +0 -2938
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-BWaJ3C7D.js";import{i as t,t as n}from"./_plugin-vue_export-helper-DNHJktYG.js";import{i as r,r as i,t as a}from"./use-register-link-Chgxu-we.js";import{A as o,H as s,Z as c,_ as l,at as u,c as d,d as ee,f,j as p,l as m,q as h,tt as g,u as _,v,x as y,y as b}from"./runtime-core.esm-bundler-DuBrNcf5.js";import{P as x,ht as S,v as C,vt as w,xt as T}from"./reactivity.esm-bundler-CGTvMeXp.js";import{o as E,t as D}from"./ScalarModal-D0AYYqNp.js";import{Q as te}from"./index-Dg65QVeC.js";import{_n as ne,f as O,g as k}from"./schema-BhNr2Gp3.js";var A=`https://app.cal.com/embed/embed.js`,j=`https://scalar.cal.com`,M=`30min`,N=`marc/30min`,P,F=()=>(P??=new Promise((e,t)=>{let n=document.createElement(`script`);n.src=A,n.async=!0,n.onload=()=>e(),n.onerror=()=>{P=void 0,n.remove(),t(Error(`Failed to load the Cal.com embed`))},document.head.appendChild(n)}),P),I=!1,L=()=>{if(window.Cal)return window.Cal;I=!0;let e=(...t)=>{if(e.loaded||=(e.ns={},e.q=e.q??[],F().catch(()=>void 0),!0),t[0]===`init`){let n=t[1],r=(...e)=>{r.q?.push(e)};r.q=r.q??[],typeof n==`string`?(e.ns??={},e.ns[n]=e.ns[n]??r,e.ns[n].q?.push(t),e.q?.push([`initNamespace`,n])):e.q?.push(t)}else e.q?.push(t)};return window.Cal=e,e},R=async(e,t)=>{let n=L();n(`init`,M,{origin:j}),n.config=n.config??{},n.config.forwardQueryParams=!0;let r=n.ns?.[M];r?.(`inline`,{elementOrSelector:e,config:{layout:`month_view`,useSlotsViewOnSmallScreen:`true`},calLink:N}),r?.(`ui`,{hideEventTypeDetails:!1,layout:`month_view`,theme:t}),I&&await F()},z=`https://scalar.cal.com/marc/30min`,B=`https://x.com/messages/compose?recipient_id=321010445`,V={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`agent`,fill:`none`,focusable:`false`,viewBox:`0 0 139 162`,xmlns:`http://www.w3.org/2000/svg`},H=[`id`],U=[`id`],W=[`id`],G=[`fill`],K=[`fill`],q=[`fill`],J=n(y({__name:`StickerAgentScalar`,setup(e){let t=c(),n={bg:`${t}-bg`,visor:`${t}-visor`,lens:`${t}-lens`},r={bg:`url(#${n.bg})`,visor:`url(#${n.visor})`,lens:`url(#${n.lens})`};return(e,t)=>(s(),f(`svg`,V,[m(`defs`,null,[m(`linearGradient`,{id:n.bg,gradientUnits:`userSpaceOnUse`,x1:`153`,x2:`-21.1`,y1:`.6`,y2:`77.3`},[...t[0]||=[m(`stop`,{"stop-color":`#c6c6c6`},null,-1),m(`stop`,{offset:`.6`,"stop-color":`#eae8cf`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#c3c3c3`},null,-1)]],8,H),m(`linearGradient`,{id:n.visor,gradientUnits:`userSpaceOnUse`,x1:`108.6`,x2:`39.5`,y1:`42.6`,y2:`84.5`},[...t[1]||=[m(`stop`,{"stop-color":`#fff`},null,-1),m(`stop`,{offset:`.6`,"stop-color":`#fdffe3`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#e9e9e9`},null,-1)]],8,U),m(`linearGradient`,{id:n.lens,gradientUnits:`userSpaceOnUse`,x1:`95`,x2:`56.9`,y1:`51.7`,y2:`74.6`},[...t[2]||=[m(`stop`,{"stop-color":`#ff3434`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#eaff00`},null,-1)]],8,W)]),m(`path`,{d:`M128.3 0c5.9 0 10.7 4.8 10.7 10.7v123.9c0 6-4.8 10.7-10.7 10.7H22.7l-15.2 15a4.4 4.4 0 0 1-7.5-3.1v-28.9h.2V10.7C.2 4.8 5 0 10.9 0z`,fill:r.bg},null,8,G),t[3]||=m(`path`,{d:`M119.8 74.4c1.5 1.5 4 4.8 4.3 7 1 7-2.4 11-7.5 14-21.1 13.3-70.3 10.8-93.2 2.8-1.7-.6-4.5-.8-4-3.3 12.5 3.5 25.6 6.9 38.6 4.5 2.9-.5 5.6-1 7.5-3.6 5.6-7.8-.6-13.1-6.9-16-10.7-5-32-6.4-38.7-17.5C13.6 52 27.1 43.7 34.3 41c23-8.9 56.2-7.7 80.2-3.5 3.2.5 9 1.3 11.7 2.5 1 .4 3 2.2 1.3 2.6-1.1.2-14.3-2.7-17.2-3-7.8-1-22.8-1.8-28.4 5.3-4.6 5.8 1 12 5.8 14.9 10 6 22.7 5.7 32 14.7z`,fill:`#dcdcdc`},null,-1),t[4]||=m(`path`,{d:`M123.3 86.1c-.5 3.5-3.7 6.8-6.8 8.6h-.1l-.2.1-4.6 2.4a58 58 0 0 1-7.9 2.8c-11.7 3.1-21.4 3.4-24.3 3.7a169 169 0 0 1-23.5-.3l-1.2-.2h1.2l2.4.2c8.7.6 15 .5 20.8.2 3-.3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9.1 2 18.3 5.5l1.1.4c2.6 1.2 5.5 3 7.4 5.7s1.5 6.6-.7 9.4c-1.6 2.4-4.5 3-7.3 3.4-4.8 1-9.4.9-13 .6-5.4-.4-8.4-1-10.5-1.4l-5.1-1.2-9.6-2.6a1 1 0 0 0-.9.6l.2 1.8c.2 1 .9 1 1.4 1.3l2.9 1a91 91 0 0 0 10.7 2.9l1.3.3-1.1-.2a91 91 0 0 1-11-3q-1.2-.2-2.8-.9a3 3 0 0 1-1.5-1.3 3 3 0 0 1-.2-2 1 1 0 0 1 1-.6q4.4 1.4 9.7 2.6l5.1 1.2c2.1.4 5.1 1 10.5 1.4q5.4.6 13-.6c2.7-.4 5.5-1 7-3.4 2.2-2.8 2.9-6.6.8-9.3a18 18 0 0 0-7.4-5.5l-1-.5c-9-3.4-13.2-3.9-18.2-5.5l-3.7-1.2a31 31 0 0 1-15.5-9.5l-.7-1a12 12 0 0 1-1.7-4.6c-.4-7 4-9.7 4.6-10.7Q26.9 42.8 34 40a84 84 0 0 1 11-3.3q4.9-1.2 10.6-2m17.1 70.8h-1.3l1.2-.2a162 162 0 0 0 16.4-1 90 90 0 0 0 19.4-4.3 45 45 0 0 0 8.4-4c5.2-3 7.8-7.7 7.8-10.8l.2-1.2v1.3c-.1 3-2.8 7.8-8 10.7a45 45 0 0 1-8.3 4 89 89 0 0 1-19.5 4.4 163 163 0 0 1-16.3 1`,fill:`#000`},null,-1),t[5]||=m(`path`,{d:`M69.9 46.2c-9 0-17.4 7.5-20 18.2l5.3-4.3.1-.1a13 13 0 0 1 8-2.8H87a20 20 0 0 0-17.1-11`,fill:`#dcdcdc`},null,-1),m(`path`,{"clip-rule":`evenodd`,d:`M69.9 42.4c9.2 0 17.2 6 21.4 14.8H96c2.3 0 4.2 1.9 4.2 4.2v13q0 1.8-1.5 3.1l3.3 10a5 5 0 0 1-4.7 6.4H93a4 4 0 0 1-3.2 1.8h-4A3.7 3.7 0 0 1 82 92a3.7 3.7 0 0 1 3.8-3.7h4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-.5-.4-.3-.8-.5-1.9-1.1-.2-.1-.3-.1-.9-.4-.2-.1-.5-.2-.4-.2-.4-.1h-.3l-.5-.2-.4-.1-1-.2q-.2 0 0 0l-.7-.1h-.6v-.1h.8l.3.1h.4l.8.2h.3l1 .4h.3l.4.2.4.1.5.2.3.2.4.2h.2l1.5.8.8.6.7.4.6.5.1.1.2.1.5.5.3.2h.1l.5.6.3.3.4.3.2.3.2.2v.1-.1l.4.5.2.3.2.1.7.9.4.6 1.4 2-.1.2h-2.6.1-21.3q-1.2 0-2.3.3h-.2l-2.5.8c-.5.2.1 0-.3 0l-.3.3q-.6.2-1 .6l-.7.4-.1.1-.4.3-.1.1-.8.6-.2.2-.2.1-.5.4-.2.2-.8.7-1 .8-.2.2-.7.6h-.1l-.6.5-.2-.1V64l.5-1.8.2-.4q0-.3.2-.5a25 25 0 0 1 3-6l1.6-2v-.2l.6-.5.6-.7 2.4-2 .2-.2q1.8-1.4 4-2.3l2-.8h.2l.5-.1 1.8-.4 1.6-.1h.5v.1h.1-.2v.1H69m9.8 11q-.3 0 0 0m-.4-9 .2.2zm-2.1-1q.4 0 0 0m-2.3-.7h.3zm-3.8-.5h.3c-.1 0 .2 0 0 0zm16.3 10.2-.3-.3z" fill="#000" data-v-efa38169></path><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="36.1" x="18.3" y="17.1" data-v-efa38169> SCALAR.COM </tspan></text><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="46.2" x="80.7" y="17.1" data-v-efa38169> AT YOUR SERVICE </tspan></text><text fill="#767676" style="font-size:16.97px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="101.1" x="17.9" y="131.3" data-v-efa38169> Agent Scalar </tspan></text><text fill="#767676" style="font-size:6.578px;font-weight:700;" data-v-efa38169><tspan x="120.8" y="119.6" data-v-efa38169> © </tspan></text>`,5)]))}}),[[`__scopeId`,`data-v-efa38169`]]),Y={},X={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`portals`,fill:`none`,focusable:`false`,viewBox:`0 0 113 142`,xmlns:`http://www.w3.org/2000/svg`};function Z(e,t,n,r,i,a){return s(),f(`svg`,X,[...t[0]||=[l(`<path class="explore-sticker-blue" d="M21.2 1.5H92c10.8 0 19.6 8.8 19.6 19.7v99.7c0 10.9-8.9 19.7-19.7 19.6H21a19.6 19.6 0 0 1-19.6-19.6V21c0-10.8 8.9-19.6 19.7-19.6Z" fill="#0082d0" stroke="#dcdcdc" stroke-width="3" data-v-6b3b991b></path><text fill="#fff" style="font-size:14.7547px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="17.7" y="96.8" data-v-6b3b991b> Developer </tspan></text><text fill="#fff" style="font-size:14.5535px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="43.8" y="112.1" data-v-6b3b991b> Portals </tspan></text><text fill="#dcdcdc" style="font-size:2.83764px;font-weight:500;letter-spacing:0.01em;" transform="translate(15.0137 118.313) rotate(0.696807)" data-v-6b3b991b><tspan lengthAdjust="spacing" textLength="70" x="0" y="2.92363" data-v-6b3b991b> Scalar embraces open standards and makes it easy for you </tspan><tspan lengthAdjust="spacing" textLength="68.8" x="0" y="6.70715" data-v-6b3b991b> to embrace them too. Join the open-source community and </tspan><tspan lengthAdjust="spacing" textLength="43.8" x="0" y="10.4907" data-v-6b3b991b> start building on open foundations. </tspan></text><path d="M72.8 39.7H94q1.3 0 1.7 1.2l.7 2.1q.4 1.6-.3 3.1L80.2 76.8q-.3.6-1 .6l-25.7-.1c-.9 0-1.5-.9-1.1-1.7l5.5-12.2q.4-.6 1-.7l25.9-1c2.5-.9 3.6-6.5 1.6-6.5h-22c-.7 0-2-2.2-1.8-3.4.7-3.2 6.3-11 7.1-14.4.3-1 0-3.4-1-3.4H47.5q-.6 0-1-.7l-.4-.7q-.3-.5 0-1.1l7-11.7q.4-.6 1-.6h25c.5 0 1.1 1.4 1.2 2 .3 4.7-8.2 12.9-7.4 18.5" fill="#fff" data-v-6b3b991b></path><path d="M38.3 40.3H59q1.2 0 1.7 1.2l.8 2.8q.3 1-.1 1.7L46.6 77.1q-.4.7-1 .7l-24.4.1q-1.3-.2-1-1.5l3.6-12.3q.3-.7 1.1-.8l25.2-1c2.4-1 3.5-6.5 1.6-6.5H30c-.6 0-2-2.2-1.7-3.5.7-3.2 6.2-11 7-14.3.2-1 0-3.5-1-3.5H13.5q-.7 0-1-.6l-.4-.7q-.3-.5 0-1.1L19 20.4q.4-.6 1-.6h23.7q.8 0 1.4.7l.6 1.4c.3 4.6-8 12.8-7.3 18.4" fill="#fff" data-v-6b3b991b></path><text fill="#fff" style="font-size:3.54646px;font-weight:bold;letter-spacing:0.09em;" transform="translate(19.9 12.3)" data-v-6b3b991b><tspan x="0" y="3.6" data-v-6b3b991b> WWW.SCALAR.COM </tspan></text>`,7)]])}var re=n(Y,[[`render`,Z],[`__scopeId`,`data-v-6b3b991b`]]),ie={},ae={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`sdks`,fill:`none`,focusable:`false`,viewBox:`0 0 144 143`,xmlns:`http://www.w3.org/2000/svg`};function oe(e,t,n,r,i,a){return s(),f(`svg`,ae,[...t[0]||=[l(`<path class="explore-sticker-purple" d="M60 8.6a15.1 15.1 0 0 1 26.6.4l55.8 106.4a6 6 0 0 1-5.4 8.8l-22.3-.3-.6 11.9a7 7 0 0 1-7.2 6.8l-74-.8a7 7 0 0 1-7-7l-.5-12-19.1-.3a6 6 0 0 1-5.2-9z" fill="#5a00da" data-v-75b01ebd></path><path d="m64.5 12.6-.2-.2zm17.4.2.3-.1zM136.1 116l.2-.2zM7.3 114.3l-.2-.1zM64.5 12.6l.3.1a9.6 9.6 0 0 1 16.9.3l.2-.2.3-.1c-3.8-7.2-14-7.3-18-.3zm17.4.2-.2.2 54.1 103 .3-.1.2-.2-54.1-103zM136.1 116l-.3.1a1 1 0 0 1-.8 1.3v.6a1.5 1.5 0 0 0 1.3-2.2zm-1 1.7v-.3L8.2 115.8v.6L135 118zM8.2 116v-.3a1 1 0 0 1-.7-1.3l-.3-.2-.2-.1a1.5 1.5 0 0 0 1.2 2.2zm-1-1.8.3.2L64.8 12.7l-.3-.1-.2-.2L7 114.2z" fill="#dcdcdc" data-v-75b01ebd></path><path class="explore-sticker-purple" d="m87 18-5 2.4L97.5 48l5-3zm-54.2 96.8 75.3 1-.2 13.2-75.2-1z" fill="#5a00da" data-v-75b01ebd></path><text fill="#bebebe" stroke="#bebebe" stroke-width=".1" style="font-size:22.75px;font-weight:700;" transform="rotate(.726 -8815.25 3286.405)" data-v-75b01ebd><tspan x="0" y="22.3" data-v-75b01ebd> SDKs </tspan></text><path d="m74.8 11.7.2.2v2.4l1.7-1.7h.3l1.3 1.3v.3L76.5 16H79a.2.2 0 0 1 .2.3V18a.2.2 0 0 1-.3.2h-2.4l1.7 1.7v.3L77 21.5h-.3L75 19.8v2.4l-.2.2h-1.9l-.2-.2v-2.5L71 21.4h-.3l-1.3-1.3v-.3l1.8-1.7h-2.5l-.2-.2V16a.2.2 0 0 1 .3-.2H71l-1.7-1.7v-.3l1.3-1.2h.3l1.7 1.7v-2.4a.2.2 0 0 1 .3-.3zm24.4 49q.3.5.3 1c.4 4.8-.4 10 0 14.8l13.2 7.8v16.6L98.6 109 85 101.7 72.8 109l-.7.2-13.4-7.5-13 7.5-.8-.2-13.5-8.1V84.1l13.1-7.5.2-15.4c.2-.6 1.9-1.5 2.5-1.8l10.7-6V38.1c.2-.5 3.1-2.1 3.8-2.5l10.6-6 13.9 8.2c.5.6 0 1.3 0 2V53zm-38-21.9 11 6.2L83 38.5l-10.6-6.3-11 6.1zm10 20.8V47.4l-.8-.8L60.2 41v12.6zM70 61.5l-11-6.2-11.3 6.6 11.2 6.6L69.6 62zm26.6 0L85 55.3l-10.6 6.3 10.9 6.7zM84.3 83V70.3l-11.2-6.6v12.9zm-26.6-.3V70.5L47 64v12.4l8.6 5.2c.3.2 2 1.3 2.2 1.1m-1 2.1L46 78.5l-11.6 6.3 11.3 6.8 11-6.2zm26.7 0-11.3-6.3-11 6.3-.2.4 11 6.2 11.3-6.1zm26.4.2-11.3-6.4L87.3 85l11.2 6.6zm-65.2 8.5-10.8-6.3-.4.2v12.1l11.2 6.6zM71 106.3V93.6q-5.5-3.5-11.2-6.5v12.4zm26.6 0V93.8l-11.2-6.5v12.5z" fill="#dcdcdc" data-v-75b01ebd></path><text fill="#dcdcdc" style="font-size:3.5px;font-weight:800;" transform="rotate(62.7 27.4 82.8)" data-v-75b01ebd><tspan x="0" y="3.5" data-v-75b01ebd> SCALAR.COM </tspan></text><text fill="#fff" style="font-size:4.083px;font-weight:800;" textLength="92" transform="rotate(.726 -9781.13 2693.84)" data-v-75b01ebd><tspan x=".1" y="3.7" data-v-75b01ebd> SOFTWARE • DEVELOPMENT • KITS </tspan></text>`,7)]])}var se=n(ie,[[`render`,oe],[`__scopeId`,`data-v-75b01ebd`]]),ce=n(y({__name:`ExploreScalarStickers`,props:{layout:{}},setup(e){let t={row:{wrapper:`flex items-end justify-center gap-2 px-3 pt-4`,portals:`w-[52px] origin-bottom`,sdks:`w-[56px] origin-bottom`,agent:`w-[50px] origin-bottom`,rotate:{portals:`-6deg`,sdks:`2deg`,agent:`6deg`}},hero:{wrapper:`relative flex min-w-0 items-end justify-center px-4`,portals:`relative z-0 w-[92px] min-w-0 origin-bottom translate-y-1`,sdks:`relative z-10 -mx-3 w-[120px] min-w-0 origin-bottom`,agent:`relative z-0 w-[104px] min-w-0 origin-bottom translate-y-0.5`,rotate:{portals:`-8deg`,sdks:`2deg`,agent:`6deg`}}},n=d(()=>t[e.layout]);return(e,t)=>(s(),f(`span`,{"aria-hidden":`true`,class:S([`explore-scalar-stickers`,n.value.wrapper])},[b(re,{class:S(n.value.portals),style:w({"--sticker-rotate":n.value.rotate.portals})},null,8,[`class`,`style`]),b(se,{class:S(n.value.sdks),style:w({"--sticker-rotate":n.value.rotate.sdks})},null,8,[`class`,`style`]),b(J,{class:S(n.value.agent),style:w({"--sticker-rotate":n.value.rotate.agent})},null,8,[`class`,`style`])],2))}}),[[`__scopeId`,`data-v-a27122a1`]]),le={"aria-hidden":`true`,class:`block h-auto`,"data-sticker":`marc`,fill:`none`,focusable:`false`,viewBox:`0 0 153 149`,xmlns:`http://www.w3.org/2000/svg`},ue=[`id`],de=[`mask`],fe=[`id`],pe=[`mask`],me=[`id`],Q=[`mask`],he=[`id`],ge=[`mask`],_e=y({__name:`StickerMarc`,setup(e){let t=c(),n={a:`${t}-a`,b:`${t}-b`,c:`${t}-c`,d:`${t}-d`},r={a:`url(#${n.a})`,b:`url(#${n.b})`,c:`url(#${n.c})`,d:`url(#${n.d})`};return(e,t)=>(s(),f(`svg`,le,[m(`mask`,{id:n.a,height:`153`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`153`,x:`0`,y:`0`},[...t[0]||=[m(`ellipse`,{cx:`76.5`,cy:`74.3`,fill:`#d1dba4`,rx:`76.5`,ry:`74.3`},null,-1)]],8,ue),m(`g`,{mask:r.a},[t[5]||=m(`path`,{d:`M76.6 0a75 75 0 0 1 75.6 74.2 75 75 0 0 1-75.6 74.2A75 75 0 0 1 .9 74.2 75 75 0 0 1 76.6.1Z`,fill:`#ff80a3`},null,-1),m(`mask`,{id:n.b,height:`92`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`92`,x:`34`,y:`27`},[...t[1]||=[m(`circle`,{cx:`80`,cy:`72.9`,fill:`#c2373c`,r:`45.4`},null,-1)]],8,fe),m(`g`,{fill:`#d60036`,mask:r.b},[...t[2]||=[m(`path`,{d:`M67.2 55.4h-.3s.7-.4.3 0`},null,-1),m(`path`,{d:`M40.5 114.7q-.1-.9.5-1.3c.5-.5 3-2.4 3.6-2.6s1.3.1 1.9 0c.6 0 2.7-.7 3-1.1v-.8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ZM84 74c0 .8-.3.4-.7.5q-.8.5-1.4.6c0-.4.6-.6.9-.7q.5-.5 1.1-.5Zm11.7 8c-.2.4.3 1.5-.6 1.7.2-.5.3-1.7.5-2s1.3-.8 1-.1c-.2.3-.8.3-.9.5Zm-4.1 4.6c-.4.5-.4-1.6 0-1.1zm-23.2-24c-.2.2-1-.5-.2-.8.2-.1.2.8.2.8M66 82.9c-.4.4-.4-1.3 0-.9zm9.7-29.2c.5.4-1.3.4-.9 0zm-.3 25.4c.3.2-.7.6-.9.5q.5-.6.9-.5m.3-5.8c.2.2-.4.5-.6.3s.4-.5.6-.3m17.9 10.4c-.2.3-.5-.3-.3-.5s.5.3.3.5M63.7 86c-.2.3-.5-.3-.3-.5s.4.3.3.6Zm14.2-24.2q.3.1 0 .3c-.3.2-.2-.3 0-.3m3.5 13.6q.3.2 0 .3c-.3.1-.2-.3 0-.3m11.2-14.8q.3.1 0 .3c-.3.2-.2-.3 0-.3m-22 17.6q.3.2 0 .3c-.3.1-.2-.3 0-.3M95 84.3v.3q-.4-.2 0-.3M92.6 86q.3.1 0 .3c-.3.2-.2-.2 0-.2ZM89 89q.4.1 0 .2zM61.3 68.4l-3 2.3c-.8.7-2.5 1-3.2 1.6-1 1-1.6 3-1.4-.1 1.6 1 1.8-1.4 2.7-2.3 1-1 3.4-1.7 5-1.5Zm-1.5-1.1c.5.4-1.6.4-1.1 0zm-6.4-6.1c.4.4-1.4.4-1 0zm1.4 0c-.1.2-.4-.4-.2-.6.1-.2.4.4.2.6M64.5 51c-.2.3-.4-.3-.3-.5s.5.3.3.6Z`},null,-1)]],8,pe),t[6]||=l(`<path d="M38.6 31.5s16.2-15.6 39-15.7a51 51 0 0 1 35.7 13.5m-80.5 84.5s22 19.5 44.7 19.5c22.9.1 43.4-19.5 43.4-19.5" stroke="#ff80a3" stroke-linecap="square" stroke-width="24.4"></path><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(22 -23.1 205.2)" xml:space="preserve"><tspan x="0" y="7.2"> L </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(25 -17.3 191.4)" xml:space="preserve"><tspan x="0" y="7.2"> O </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(29 -12.9 181.6)" xml:space="preserve"><tspan x="0" y="7.2"> V </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(32 -9.6 174.5)" xml:space="preserve"><tspan x="0" y="7.2"> E </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(35 -6.7 167.8)" xml:space="preserve"><tspan x="0" y="7.2"> S </tspan></text>`,6),m(`mask`,{id:n.c,fill:`#000`,height:`35`,maskUnits:`userSpaceOnUse`,width:`101`,x:`27.6`,y:`100.2`},[...t[3]||=[m(`path`,{d:`M27.6 100.2h101v35h-101z`,fill:`#fff`},null,-1),m(`path`,{d:`M37.4 114.3q-1.4 1-2.8 1.4t-2.6-.2q-1.2-.4-2.1-1.5t-1.2-2.5q-.2-1.2.3-2.6a6 6 0 0 1 1.9-2.4q1.4-1.2 2.7-1.4a5 5 0 0 1 4.8 1.7q1 1 1.1 2.4.3 1.3-.2 2.6t-2 2.5Zm-1.5-1.8q.9-.7 1.3-1.5l.3-1.5q-.1-.8-.7-1.4a2 2 0 0 0-1.2-.8 2 2 0 0 0-1.5 0l-1.7 1q-.9.7-1.3 1.5-.4.7-.3 1.5 0 .8.6 1.4t1.3.8h1.5q.8-.3 1.7-1m-1 6.3 6.9-8.3 3.3 2.7q.9.7 1.3 1.7.3.9.2 1.8t-.9 1.8q-.6.9-1.6 1.2t-1.8 0q-1 0-2-1l-2-1.7 1.1-1.4 1.8 1.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.8-7 1.7.8-8.5 8.6-1.8-.9 1.1-12zm2.6 14.3 6.6-9.3 5.9 4-.9 1.3-4.4-3.1-2 2.8 4.1 3-.8 1.1-4.2-2.9-2 2.9 4.5 3.1-.8 1.2zm17.4 3.8q.6-.6.4-1.3a3 3 0 0 0-.9-1.5l-1-.7q-.5-.2-1-.1-.5 0-.8.4l-.3.6v.7l.2.7.4.7.6 1 .5 1 .3 1.2v1.2q-.2.6-.8 1.2a3 3 0 0 1-1.5.8q-.9.1-1.9-.2a6 6 0 0 1-3.2-3.1q-.4-.9-.2-1.8.1-1 .8-1.7l1.2 1.2q-.4.5-.4 1t.2 1l.7 1q.6.6 1.1.8t1.1.2 1-.5q.3-.3.3-.8l-.2-.9-.5-1-.7-1.2q-.7-1.2-.7-2.3t.7-2q.7-.6 1.6-.8l1.9.2a5 5 0 0 1 1.7 1.2q.8.8 1.2 1.7t.2 1.8q-.2.8-.8 1.5z`,mask:r.d,stroke:`#d60036`},null,8,ge),t[10]||=m(`circle`,{cx:`132.8`,cy:`75.6`,fill:`#ff80a3`,r:`3.7`},null,-1),t[11]||=m(`path`,{d:`M42 42.2q.7-.2 1.3-.1a2 2 0 0 1 1.9 1.5v.1q.2.6.1 1 0 .8-.5 1.2l-2.2 2.9-.5.6-.7-.5-2.8-2.2-.8-1q-.2-.7-.1-1.3 0-.6.5-1.1t1-.8h.1a2 2 0 0 1 2 .2zm8.6-6.2 1.5-.2a3 3 0 0 1 2.3 1.9q.2.7.1 1.4 0 .8-.6 1.4l-3 3.8-.5.6-.6-.5-3.8-3q-.6-.5-.9-1.2l-.2-1.5q.1-.8.6-1.3l.2-.2q.4-.5 1-.7a3 3 0 0 1 2.8.3q.5-.5 1.1-.8Z`,fill:`#d60036`,stroke:`#ff80a3`,"stroke-width":`1.6`},null,-1)],8,de)]))}}),ve=[`data-marc`],ye={class:`px-8 pt-2 text-center`},be={class:`flex flex-col gap-1 px-8 pt-5`},xe={class:`sr-only`},Se={class:`bg-b-2 hover:bg-b-3 relative flex h-10 rounded-full`},Ce=[`href`],we={class:`sr-only`},Te={class:`m-0 flex list-none flex-col gap-4 px-8 pt-6 pb-6`,role:`list`},Ee={class:`flex items-start gap-3`},De={class:`text-c-1 flex h-6 shrink-0 items-center`},Oe={class:`flex flex-col gap-0.5`},ke={class:`text-c-1 text-base leading-6 font-bold`},Ae={class:`text-c-2 text-sm leading-relaxed`},je={class:`flex items-start gap-3`},Me={class:`text-c-1 flex h-6 shrink-0 items-center`},Ne={class:`flex flex-col gap-0.5`},Pe={class:`text-c-1 text-base leading-6 font-bold`},Fe={class:`text-c-2 text-sm leading-relaxed`},Ie=[`aria-label`],Le={key:0,class:`text-c-2 m-0 pt-3 text-center text-sm`},Re=[`href`],ze={class:`sr-only`},Be=[`aria-label`],Ve=y({__name:`ExploreScalarModal`,props:{state:{},externalUrls:{},url:{},workspace:{},usesViewTransition:{type:Boolean},morphStickers:{type:Boolean},presentation:{default:`dialog`}},setup(e){let{translate:n}=t(),{loader:c,href:l,open:y}=a({externalUrls:()=>e.externalUrls,url:()=>e.url,workspace:()=>e.workspace}),S=C(`overview`),w=d(()=>l.value!==void 0),A=C(w.value);g(()=>e.state.open,e=>{e?A.value=w.value:S.value=`overview`},{immediate:!0});let j=d(()=>A.value?l.value:void 0),M=()=>{j.value||y()},N=C(!1),P=()=>{N.value=!0},F=()=>{N.value=!1},I=C(),L=C(),V=C(),H=C(),U=C(!1),W=()=>window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1,G=async e=>{let t=I.value?.closest(`.scalar-modal`),n=t?.getBoundingClientRect();if(S.value=e,N.value=!1,await p(),!t||!n||typeof t.animate!=`function`||W())return;let r=t.getBoundingClientRect(),i=t.animate([{width:`${n.width}px`,height:`${n.height}px`,maxWidth:`none`},{width:`${r.width}px`,height:`${r.height}px`,maxWidth:`none`}],{duration:420,easing:`cubic-bezier(0.32, 0.72, 0, 1)`});L.value?.animate([{opacity:0},{opacity:1}],{duration:240,delay:100,easing:`ease`,fill:`backwards`}),await i.finished.catch(()=>void 0)},K=()=>typeof document<`u`&&document.querySelector(`.dark-mode`)!==null,q=async()=>{U.value=!1;let e=G(`demo`);if(await p(),V.value?.focus(),await e,S.value===`demo`&&H.value)try{await R(H.value,K()?`dark`:`light`)}catch{U.value=!0}},J=C(),Y=()=>{G(`overview`),p(()=>J.value?.$el?.focus())},X=d(()=>e.presentation===`dialog`?{is:D,props:{bodyClass:`!p-0 overflow-y-auto`,maxWidth:S.value===`demo`?`960px`:`540px`,size:`lg`,state:e.state}}:{is:`div`,props:{}}),Z=d(()=>e.presentation===`dialog`?E:`h2`);return(t,a)=>(s(),_(h(X.value.is),o(X.value.props,{class:[`explore-scalar-modal`,{"explore-scalar-modal--vt":e.usesViewTransition,"explore-scalar-modal--stickers":e.morphStickers,"explore-scalar-modal--panel":e.presentation===`panel`}]}),{default:u(()=>[m(`div`,{ref_key:`panelEl`,ref:I,class:`explore-scalar-panel bg-b-1 text-c-1 relative flex flex-col`},[S.value===`overview`?(s(),f(`div`,{key:0,ref_key:`stepEl`,ref:L,class:`flex flex-col`},[m(`div`,{class:`explore-scalar-hero relative flex h-[200px] items-end justify-center overflow-hidden pb-6`,"data-marc":N.value?``:void 0},[a[1]||=m(`span`,{"aria-hidden":`true`,class:`explore-scalar-wash pointer-events-none absolute inset-x-0 top-0`},null,-1),b(ce,{layout:`hero`}),b(_e,{class:`explore-scalar-marc absolute bottom-5 left-[calc(50%-66px)] z-20 w-[132px] origin-bottom`})],8,ve),m(`div`,ye,[(s(),_(h(Z.value),{class:`text-c-1 m-0 text-xl leading-snug font-bold tracking-tight text-balance`},{default:u(()=>[v(T(x(n)(`exploreScalar.title`)),1)]),_:1}))]),m(`div`,be,[b(x(O),{is:j.value?`a`:`button`,"aria-busy":x(c).isLoading,"aria-label":x(c).isActive?x(n)(`exploreScalar.signUp`):void 0,class:`h-10 w-full rounded-full text-base`,href:j.value,loader:x(c),rel:j.value?`noopener noreferrer`:void 0,target:j.value?`_blank`:void 0,variant:`solid`,onClick:M},{default:u(()=>[v(T(x(n)(`exploreScalar.signUp`))+` `,1),m(`span`,xe,T(x(n)(`exploreScalar.opensInNewTab`)),1)]),_:1},8,[`is`,`aria-busy`,`aria-label`,`href`,`loader`,`rel`,`target`]),m(`div`,Se,[b(x(O),{ref_key:`demoEl`,ref:J,class:`text-c-1 hover:text-c-1 active:text-c-1 h-10 flex-1 rounded-full bg-transparent px-12 text-base font-medium hover:bg-transparent active:bg-transparent`,variant:`ghost`,onBlur:F,onClick:q,onFocus:P,onMouseenter:P,onMouseleave:F},{default:u(()=>[v(T(x(n)(`exploreScalar.getDemo`)),1)]),_:1},512),b(x(k),{content:x(n)(`exploreScalar.dmMarc`),placement:`top-end`},{default:u(()=>[m(`a`,{class:`text-c-2 shadow-border hover:text-c-1 absolute end-1 top-1 flex size-8 items-center justify-center rounded-full`,href:x(B),rel:`noopener noreferrer`,target:`_blank`,onBlur:F,onFocus:P,onMouseenter:P,onMouseleave:F},[a[2]||=m(`svg`,{"aria-hidden":`true`,class:`size-3.5`,fill:`currentColor`,focusable:`false`,viewBox:`0 0 24 24`},[m(`path`,{d:`M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z`})],-1),m(`span`,we,T(x(n)(`exploreScalar.messageMarc`))+` `+T(x(n)(`exploreScalar.opensInNewTab`)),1)],40,Ce)]),_:1},8,[`content`])])]),a[3]||=m(`hr`,{class:`border-border mx-8 mt-6 border-0 border-t`},null,-1),m(`ul`,Te,[m(`li`,Ee,[m(`span`,De,[b(x(i),{class:`size-5`,weight:`regular`})]),m(`span`,Oe,[m(`span`,ke,T(x(n)(`exploreScalar.generateTitle`)),1),m(`span`,Ae,T(x(n)(`exploreScalar.generateDescription`)),1)])]),m(`li`,je,[m(`span`,Me,[b(x(te),{class:`size-5`,weight:`regular`})]),m(`span`,Ne,[m(`span`,Pe,T(x(n)(`exploreScalar.platformTitle`)),1),m(`span`,Fe,T(x(n)(`exploreScalar.platformDescription`)),1)])])])],512)):(s(),f(`div`,{key:1,ref_key:`stepEl`,ref:L,class:`flex flex-col px-6 pt-12 pb-6`},[m(`button`,{ref_key:`backEl`,ref:V,"aria-label":x(n)(`exploreScalar.back`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute start-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:Y},[b(x(r),{class:`size-4 rtl:-scale-x-100`})],8,Ie),(s(),_(h(Z.value),{class:`sr-only`},{default:u(()=>[v(T(x(n)(`exploreScalar.bookDemo`)),1)]),_:1})),m(`div`,{ref_key:`calEl`,ref:H,class:`explore-scalar-cal min-h-[640px] w-full overflow-auto`},null,512),U.value?(s(),f(`p`,Le,[m(`a`,{class:`text-c-accent`,href:x(z),rel:`noopener noreferrer`,target:`_blank`},[v(T(x(n)(`exploreScalar.openBookingPage`))+` `,1),m(`span`,ze,T(x(n)(`exploreScalar.opensInNewTab`)),1)],8,Re)])):ee(``,!0)],512)),m(`button`,{"aria-label":x(n)(`exploreScalar.close`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute end-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:a[0]||=t=>e.state.hide()},[b(x(ne),{class:`size-4`})],8,Be)],512)]),_:1},16,[`class`]))}}),He=e({default:()=>$}),$=Ve;export{He as n,$ as t};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-BWaJ3C7D.js";import{i as t,t as n}from"./_plugin-vue_export-helper-DNHJktYG.js";import{i as r,r as i,t as a}from"./use-register-link-Chgxu-we.js";import{A as o,H as s,Z as c,_ as l,at as u,c as d,d as ee,f,j as p,l as m,q as h,tt as g,u as _,v,x as y,y as b}from"./runtime-core.esm-bundler-DuBrNcf5.js";import{P as x,ht as S,v as C,vt as w,xt as T}from"./reactivity.esm-bundler-CGTvMeXp.js";import{o as E,t as D}from"./ScalarModal-D0AYYqNp.js";import{Q as te}from"./index-BvoGeeVi.js";import{_n as ne,f as O,g as k}from"./schema-BhNr2Gp3.js";var A=`https://app.cal.com/embed/embed.js`,j=`https://scalar.cal.com`,M=`30min`,N=`marc/30min`,P,F=()=>(P??=new Promise((e,t)=>{let n=document.createElement(`script`);n.src=A,n.async=!0,n.onload=()=>e(),n.onerror=()=>{P=void 0,n.remove(),t(Error(`Failed to load the Cal.com embed`))},document.head.appendChild(n)}),P),I=!1,L=()=>{if(window.Cal)return window.Cal;I=!0;let e=(...t)=>{if(e.loaded||=(e.ns={},e.q=e.q??[],F().catch(()=>void 0),!0),t[0]===`init`){let n=t[1],r=(...e)=>{r.q?.push(e)};r.q=r.q??[],typeof n==`string`?(e.ns??={},e.ns[n]=e.ns[n]??r,e.ns[n].q?.push(t),e.q?.push([`initNamespace`,n])):e.q?.push(t)}else e.q?.push(t)};return window.Cal=e,e},R=async(e,t)=>{let n=L();n(`init`,M,{origin:j}),n.config=n.config??{},n.config.forwardQueryParams=!0;let r=n.ns?.[M];r?.(`inline`,{elementOrSelector:e,config:{layout:`month_view`,useSlotsViewOnSmallScreen:`true`},calLink:N}),r?.(`ui`,{hideEventTypeDetails:!1,layout:`month_view`,theme:t}),I&&await F()},z=`https://scalar.cal.com/marc/30min`,B=`https://x.com/messages/compose?recipient_id=321010445`,V={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`agent`,fill:`none`,focusable:`false`,viewBox:`0 0 139 162`,xmlns:`http://www.w3.org/2000/svg`},H=[`id`],U=[`id`],W=[`id`],G=[`fill`],K=[`fill`],q=[`fill`],J=n(y({__name:`StickerAgentScalar`,setup(e){let t=c(),n={bg:`${t}-bg`,visor:`${t}-visor`,lens:`${t}-lens`},r={bg:`url(#${n.bg})`,visor:`url(#${n.visor})`,lens:`url(#${n.lens})`};return(e,t)=>(s(),f(`svg`,V,[m(`defs`,null,[m(`linearGradient`,{id:n.bg,gradientUnits:`userSpaceOnUse`,x1:`153`,x2:`-21.1`,y1:`.6`,y2:`77.3`},[...t[0]||=[m(`stop`,{"stop-color":`#c6c6c6`},null,-1),m(`stop`,{offset:`.6`,"stop-color":`#eae8cf`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#c3c3c3`},null,-1)]],8,H),m(`linearGradient`,{id:n.visor,gradientUnits:`userSpaceOnUse`,x1:`108.6`,x2:`39.5`,y1:`42.6`,y2:`84.5`},[...t[1]||=[m(`stop`,{"stop-color":`#fff`},null,-1),m(`stop`,{offset:`.6`,"stop-color":`#fdffe3`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#e9e9e9`},null,-1)]],8,U),m(`linearGradient`,{id:n.lens,gradientUnits:`userSpaceOnUse`,x1:`95`,x2:`56.9`,y1:`51.7`,y2:`74.6`},[...t[2]||=[m(`stop`,{"stop-color":`#ff3434`},null,-1),m(`stop`,{offset:`1`,"stop-color":`#eaff00`},null,-1)]],8,W)]),m(`path`,{d:`M128.3 0c5.9 0 10.7 4.8 10.7 10.7v123.9c0 6-4.8 10.7-10.7 10.7H22.7l-15.2 15a4.4 4.4 0 0 1-7.5-3.1v-28.9h.2V10.7C.2 4.8 5 0 10.9 0z`,fill:r.bg},null,8,G),t[3]||=m(`path`,{d:`M119.8 74.4c1.5 1.5 4 4.8 4.3 7 1 7-2.4 11-7.5 14-21.1 13.3-70.3 10.8-93.2 2.8-1.7-.6-4.5-.8-4-3.3 12.5 3.5 25.6 6.9 38.6 4.5 2.9-.5 5.6-1 7.5-3.6 5.6-7.8-.6-13.1-6.9-16-10.7-5-32-6.4-38.7-17.5C13.6 52 27.1 43.7 34.3 41c23-8.9 56.2-7.7 80.2-3.5 3.2.5 9 1.3 11.7 2.5 1 .4 3 2.2 1.3 2.6-1.1.2-14.3-2.7-17.2-3-7.8-1-22.8-1.8-28.4 5.3-4.6 5.8 1 12 5.8 14.9 10 6 22.7 5.7 32 14.7z`,fill:`#d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1-.3.4-.3l1-.8v-.1l1.2-1 .5-.3.2-.2.4-.3.5-.4 2.6-1.5q.2 0 0 0l.4-.1.9-.3q1.8-.5 3.6-.5H87l-.5-.7-.3-.4-.3-.6-.2-.3-.9-1.1-.1-.2-.7-.8-.3-.4-.2-.2q0-.2-.5-.5l-.1-.1-.4-.4-1.2-1-.5-.5-.4-.3-.8-.5-1.9-1.1-.2-.1-.3-.1-.9-.4-.2-.1-.5-.2-.4-.2-.4-.1h-.3l-.5-.2-.4-.1-1-.2q-.2 0 0 0l-.7-.1h-.6v-.1h.8l.3.1h.4l.8.2h.3l1 .4h.3l.4.2.4.1.5.2.3.2.4.2h.2l1.5.8.8.6.7.4.6.5.1.1.2.1.5.5.3.2h.1l.5.6.3.3.4.3.2.3.2.2v.1-.1l.4.5.2.3.2.1.7.9.4.6 1.4 2-.1.2h-2.6.1-21.3q-1.2 0-2.3.3h-.2l-2.5.8c-.5.2.1 0-.3 0l-.3.3q-.6.2-1 .6l-.7.4-.1.1-.4.3-.1.1-.8.6-.2.2-.2.1-.5.4-.2.2-.8.7-1 .8-.2.2-.7.6h-.1l-.6.5-.2-.1V64l.5-1.8.2-.4q0-.3.2-.5a25 25 0 0 1 3-6l1.6-2v-.2l.6-.5.6-.7 2.4-2 .2-.2q1.8-1.4 4-2.3l2-.8h.2l.5-.1 1.8-.4 1.6-.1h.5v.1h.1-.2v.1H69m9.8 11q-.3 0 0 0m-.4-9 .2.2zm-2.1-1q.4 0 0 0m-2.3-.7h.3zm-3.8-.5h.3c-.1 0 .2 0 0 0zm16.3 10.2-.3-.3z" fill="#000" data-v-efa38169></path><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="36.1" x="18.3" y="17.1" data-v-efa38169> SCALAR.COM </tspan></text><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="46.2" x="80.7" y="17.1" data-v-efa38169> AT YOUR SERVICE </tspan></text><text fill="#767676" style="font-size:16.97px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="101.1" x="17.9" y="131.3" data-v-efa38169> Agent Scalar </tspan></text><text fill="#767676" style="font-size:6.578px;font-weight:700;" data-v-efa38169><tspan x="120.8" y="119.6" data-v-efa38169> © </tspan></text>`,5)]))}}),[[`__scopeId`,`data-v-efa38169`]]),Y={},X={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`portals`,fill:`none`,focusable:`false`,viewBox:`0 0 113 142`,xmlns:`http://www.w3.org/2000/svg`};function Z(e,t,n,r,i,a){return s(),f(`svg`,X,[...t[0]||=[l(`<path class="explore-sticker-blue" d="M21.2 1.5H92c10.8 0 19.6 8.8 19.6 19.7v99.7c0 10.9-8.9 19.7-19.7 19.6H21a19.6 19.6 0 0 1-19.6-19.6V21c0-10.8 8.9-19.6 19.7-19.6Z" fill="#0082d0" stroke="#dcdcdc" stroke-width="3" data-v-6b3b991b></path><text fill="#fff" style="font-size:14.7547px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="17.7" y="96.8" data-v-6b3b991b> Developer </tspan></text><text fill="#fff" style="font-size:14.5535px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="43.8" y="112.1" data-v-6b3b991b> Portals </tspan></text><text fill="#dcdcdc" style="font-size:2.83764px;font-weight:500;letter-spacing:0.01em;" transform="translate(15.0137 118.313) rotate(0.696807)" data-v-6b3b991b><tspan lengthAdjust="spacing" textLength="70" x="0" y="2.92363" data-v-6b3b991b> Scalar embraces open standards and makes it easy for you </tspan><tspan lengthAdjust="spacing" textLength="68.8" x="0" y="6.70715" data-v-6b3b991b> to embrace them too. Join the open-source community and </tspan><tspan lengthAdjust="spacing" textLength="43.8" x="0" y="10.4907" data-v-6b3b991b> start building on open foundations. </tspan></text><path d="M72.8 39.7H94q1.3 0 1.7 1.2l.7 2.1q.4 1.6-.3 3.1L80.2 76.8q-.3.6-1 .6l-25.7-.1c-.9 0-1.5-.9-1.1-1.7l5.5-12.2q.4-.6 1-.7l25.9-1c2.5-.9 3.6-6.5 1.6-6.5h-22c-.7 0-2-2.2-1.8-3.4.7-3.2 6.3-11 7.1-14.4.3-1 0-3.4-1-3.4H47.5q-.6 0-1-.7l-.4-.7q-.3-.5 0-1.1l7-11.7q.4-.6 1-.6h25c.5 0 1.1 1.4 1.2 2 .3 4.7-8.2 12.9-7.4 18.5" fill="#fff" data-v-6b3b991b></path><path d="M38.3 40.3H59q1.2 0 1.7 1.2l.8 2.8q.3 1-.1 1.7L46.6 77.1q-.4.7-1 .7l-24.4.1q-1.3-.2-1-1.5l3.6-12.3q.3-.7 1.1-.8l25.2-1c2.4-1 3.5-6.5 1.6-6.5H30c-.6 0-2-2.2-1.7-3.5.7-3.2 6.2-11 7-14.3.2-1 0-3.5-1-3.5H13.5q-.7 0-1-.6l-.4-.7q-.3-.5 0-1.1L19 20.4q.4-.6 1-.6h23.7q.8 0 1.4.7l.6 1.4c.3 4.6-8 12.8-7.3 18.4" fill="#fff" data-v-6b3b991b></path><text fill="#fff" style="font-size:3.54646px;font-weight:bold;letter-spacing:0.09em;" transform="translate(19.9 12.3)" data-v-6b3b991b><tspan x="0" y="3.6" data-v-6b3b991b> WWW.SCALAR.COM </tspan></text>`,7)]])}var re=n(Y,[[`render`,Z],[`__scopeId`,`data-v-6b3b991b`]]),ie={},ae={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`sdks`,fill:`none`,focusable:`false`,viewBox:`0 0 144 143`,xmlns:`http://www.w3.org/2000/svg`};function oe(e,t,n,r,i,a){return s(),f(`svg`,ae,[...t[0]||=[l(`<path class="explore-sticker-purple" d="M60 8.6a15.1 15.1 0 0 1 26.6.4l55.8 106.4a6 6 0 0 1-5.4 8.8l-22.3-.3-.6 11.9a7 7 0 0 1-7.2 6.8l-74-.8a7 7 0 0 1-7-7l-.5-12-19.1-.3a6 6 0 0 1-5.2-9z" fill="#5a00da" data-v-75b01ebd></path><path d="m64.5 12.6-.2-.2zm17.4.2.3-.1zM136.1 116l.2-.2zM7.3 114.3l-.2-.1zM64.5 12.6l.3.1a9.6 9.6 0 0 1 16.9.3l.2-.2.3-.1c-3.8-7.2-14-7.3-18-.3zm17.4.2-.2.2 54.1 103 .3-.1.2-.2-54.1-103zM136.1 116l-.3.1a1 1 0 0 1-.8 1.3v.6a1.5 1.5 0 0 0 1.3-2.2zm-1 1.7v-.3L8.2 115.8v.6L135 118zM8.2 116v-.3a1 1 0 0 1-.7-1.3l-.3-.2-.2-.1a1.5 1.5 0 0 0 1.2 2.2zm-1-1.8.3.2L64.8 12.7l-.3-.1-.2-.2L7 114.2z" fill="#dcdcdc" data-v-75b01ebd></path><path class="explore-sticker-purple" d="m87 18-5 2.4L97.5 48l5-3zm-54.2 96.8 75.3 1-.2 13.2-75.2-1z" fill="#5a00da" data-v-75b01ebd></path><text fill="#bebebe" stroke="#bebebe" stroke-width=".1" style="font-size:22.75px;font-weight:700;" transform="rotate(.726 -8815.25 3286.405)" data-v-75b01ebd><tspan x="0" y="22.3" data-v-75b01ebd> SDKs </tspan></text><path d="m74.8 11.7.2.2v2.4l1.7-1.7h.3l1.3 1.3v.3L76.5 16H79a.2.2 0 0 1 .2.3V18a.2.2 0 0 1-.3.2h-2.4l1.7 1.7v.3L77 21.5h-.3L75 19.8v2.4l-.2.2h-1.9l-.2-.2v-2.5L71 21.4h-.3l-1.3-1.3v-.3l1.8-1.7h-2.5l-.2-.2V16a.2.2 0 0 1 .3-.2H71l-1.7-1.7v-.3l1.3-1.2h.3l1.7 1.7v-2.4a.2.2 0 0 1 .3-.3zm24.4 49q.3.5.3 1c.4 4.8-.4 10 0 14.8l13.2 7.8v16.6L98.6 109 85 101.7 72.8 109l-.7.2-13.4-7.5-13 7.5-.8-.2-13.5-8.1V84.1l13.1-7.5.2-15.4c.2-.6 1.9-1.5 2.5-1.8l10.7-6V38.1c.2-.5 3.1-2.1 3.8-2.5l10.6-6 13.9 8.2c.5.6 0 1.3 0 2V53zm-38-21.9 11 6.2L83 38.5l-10.6-6.3-11 6.1zm10 20.8V47.4l-.8-.8L60.2 41v12.6zM70 61.5l-11-6.2-11.3 6.6 11.2 6.6L69.6 62zm26.6 0L85 55.3l-10.6 6.3 10.9 6.7zM84.3 83V70.3l-11.2-6.6v12.9zm-26.6-.3V70.5L47 64v12.4l8.6 5.2c.3.2 2 1.3 2.2 1.1m-1 2.1L46 78.5l-11.6 6.3 11.3 6.8 11-6.2zm26.7 0-11.3-6.3-11 6.3-.2.4 11 6.2 11.3-6.1zm26.4.2-11.3-6.4L87.3 85l11.2 6.6zm-65.2 8.5-10.8-6.3-.4.2v12.1l11.2 6.6zM71 106.3V93.6q-5.5-3.5-11.2-6.5v12.4zm26.6 0V93.8l-11.2-6.5v12.5z" fill="#dcdcdc" data-v-75b01ebd></path><text fill="#dcdcdc" style="font-size:3.5px;font-weight:800;" transform="rotate(62.7 27.4 82.8)" data-v-75b01ebd><tspan x="0" y="3.5" data-v-75b01ebd> SCALAR.COM </tspan></text><text fill="#fff" style="font-size:4.083px;font-weight:800;" textLength="92" transform="rotate(.726 -9781.13 2693.84)" data-v-75b01ebd><tspan x=".1" y="3.7" data-v-75b01ebd> SOFTWARE • DEVELOPMENT • KITS </tspan></text>`,7)]])}var se=n(ie,[[`render`,oe],[`__scopeId`,`data-v-75b01ebd`]]),ce=n(y({__name:`ExploreScalarStickers`,props:{layout:{}},setup(e){let t={row:{wrapper:`flex items-end justify-center gap-2 px-3 pt-4`,portals:`w-[52px] origin-bottom`,sdks:`w-[56px] origin-bottom`,agent:`w-[50px] origin-bottom`,rotate:{portals:`-6deg`,sdks:`2deg`,agent:`6deg`}},hero:{wrapper:`relative flex min-w-0 items-end justify-center px-4`,portals:`relative z-0 w-[92px] min-w-0 origin-bottom translate-y-1`,sdks:`relative z-10 -mx-3 w-[120px] min-w-0 origin-bottom`,agent:`relative z-0 w-[104px] min-w-0 origin-bottom translate-y-0.5`,rotate:{portals:`-8deg`,sdks:`2deg`,agent:`6deg`}}},n=d(()=>t[e.layout]);return(e,t)=>(s(),f(`span`,{"aria-hidden":`true`,class:S([`explore-scalar-stickers`,n.value.wrapper])},[b(re,{class:S(n.value.portals),style:w({"--sticker-rotate":n.value.rotate.portals})},null,8,[`class`,`style`]),b(se,{class:S(n.value.sdks),style:w({"--sticker-rotate":n.value.rotate.sdks})},null,8,[`class`,`style`]),b(J,{class:S(n.value.agent),style:w({"--sticker-rotate":n.value.rotate.agent})},null,8,[`class`,`style`])],2))}}),[[`__scopeId`,`data-v-a27122a1`]]),le={"aria-hidden":`true`,class:`block h-auto`,"data-sticker":`marc`,fill:`none`,focusable:`false`,viewBox:`0 0 153 149`,xmlns:`http://www.w3.org/2000/svg`},ue=[`id`],de=[`mask`],fe=[`id`],pe=[`mask`],me=[`id`],Q=[`mask`],he=[`id`],ge=[`mask`],_e=y({__name:`StickerMarc`,setup(e){let t=c(),n={a:`${t}-a`,b:`${t}-b`,c:`${t}-c`,d:`${t}-d`},r={a:`url(#${n.a})`,b:`url(#${n.b})`,c:`url(#${n.c})`,d:`url(#${n.d})`};return(e,t)=>(s(),f(`svg`,le,[m(`mask`,{id:n.a,height:`153`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`153`,x:`0`,y:`0`},[...t[0]||=[m(`ellipse`,{cx:`76.5`,cy:`74.3`,fill:`#d1dba4`,rx:`76.5`,ry:`74.3`},null,-1)]],8,ue),m(`g`,{mask:r.a},[t[5]||=m(`path`,{d:`M76.6 0a75 75 0 0 1 75.6 74.2 75 75 0 0 1-75.6 74.2A75 75 0 0 1 .9 74.2 75 75 0 0 1 76.6.1Z`,fill:`#ff80a3`},null,-1),m(`mask`,{id:n.b,height:`92`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`92`,x:`34`,y:`27`},[...t[1]||=[m(`circle`,{cx:`80`,cy:`72.9`,fill:`#c2373c`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.5s16.2-15.6 39-15.7a51 51 0 0 1 35.7 13.5m-80.5 84.5s22 19.5 44.7 19.5c22.9.1 43.4-19.5 43.4-19.5" stroke="#ff80a3" stroke-linecap="square" stroke-width="24.4"></path><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(22 -23.1 205.2)" xml:space="preserve"><tspan x="0" y="7.2"> L </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(25 -17.3 191.4)" xml:space="preserve"><tspan x="0" y="7.2"> O </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(29 -12.9 181.6)" xml:space="preserve"><tspan x="0" y="7.2"> V </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(32 -9.6 174.5)" xml:space="preserve"><tspan x="0" y="7.2"> E </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(35 -6.7 167.8)" xml:space="preserve"><tspan x="0" y="7.2"> S </tspan></text>`,6),m(`mask`,{id:n.c,fill:`#000`,height:`35`,maskUnits:`userSpaceOnUse`,width:`101`,x:`27.6`,y:`100.2`},[...t[3]||=[m(`path`,{d:`M27.6 100.2h101v35h-101z`,fill:`#fff`},null,-1),m(`path`,{d:`M37.4 114.3q-1.4 1-2.8 1.4t-2.6-.2q-1.2-.4-2.1-1.5t-1.2-2.5q-.2-1.2.3-2.6a6 6 0 0 1 1.9-2.4q1.4-1.2 2.7-1.4a5 5 0 0 1 4.8 1.7q1 1 1.1 2.4.3 1.3-.2 2.6t-2 2.5Zm-1.5-1.8q.9-.7 1.3-1.5l.3-1.5q-.1-.8-.7-1.4a2 2 0 0 0-1.2-.8 2 2 0 0 0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5 1-.7a3 3 0 0 1 2.8.3q.5-.5 1.1-.8Z`,fill:`#d60036`,stroke:`#ff80a3`,"stroke-width":`1.6`},null,-1)],8,de)]))}}),ve=[`data-marc`],ye={class:`px-8 pt-2 text-center`},be={class:`flex flex-col gap-1 px-8 pt-5`},xe={class:`sr-only`},Se={class:`bg-b-2 hover:bg-b-3 relative flex h-10 rounded-full`},Ce=[`href`],we={class:`sr-only`},Te={class:`m-0 flex list-none flex-col gap-4 px-8 pt-6 pb-6`,role:`list`},Ee={class:`flex items-start gap-3`},De={class:`text-c-1 flex h-6 shrink-0 items-center`},Oe={class:`flex flex-col gap-0.5`},ke={class:`text-c-1 text-base leading-6 font-bold`},Ae={class:`text-c-2 text-sm leading-relaxed`},je={class:`flex items-start gap-3`},Me={class:`text-c-1 flex h-6 shrink-0 items-center`},Ne={class:`flex flex-col gap-0.5`},Pe={class:`text-c-1 text-base leading-6 font-bold`},Fe={class:`text-c-2 text-sm leading-relaxed`},Ie=[`aria-label`],Le={key:0,class:`text-c-2 m-0 pt-3 text-center text-sm`},Re=[`href`],ze={class:`sr-only`},Be=[`aria-label`],Ve=y({__name:`ExploreScalarModal`,props:{state:{},externalUrls:{},url:{},workspace:{},usesViewTransition:{type:Boolean},morphStickers:{type:Boolean},presentation:{default:`dialog`}},setup(e){let{translate:n}=t(),{loader:c,href:l,open:y}=a({externalUrls:()=>e.externalUrls,url:()=>e.url,workspace:()=>e.workspace}),S=C(`overview`),w=d(()=>l.value!==void 0),A=C(w.value);g(()=>e.state.open,e=>{e?A.value=w.value:S.value=`overview`},{immediate:!0});let j=d(()=>A.value?l.value:void 0),M=()=>{j.value||y()},N=C(!1),P=()=>{N.value=!0},F=()=>{N.value=!1},I=C(),L=C(),V=C(),H=C(),U=C(!1),W=()=>window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1,G=async e=>{let t=I.value?.closest(`.scalar-modal`),n=t?.getBoundingClientRect();if(S.value=e,N.value=!1,await p(),!t||!n||typeof t.animate!=`function`||W())return;let r=t.getBoundingClientRect(),i=t.animate([{width:`${n.width}px`,height:`${n.height}px`,maxWidth:`none`},{width:`${r.width}px`,height:`${r.height}px`,maxWidth:`none`}],{duration:420,easing:`cubic-bezier(0.32, 0.72, 0, 1)`});L.value?.animate([{opacity:0},{opacity:1}],{duration:240,delay:100,easing:`ease`,fill:`backwards`}),await i.finished.catch(()=>void 0)},K=()=>typeof document<`u`&&document.querySelector(`.dark-mode`)!==null,q=async()=>{U.value=!1;let e=G(`demo`);if(await p(),V.value?.focus(),await e,S.value===`demo`&&H.value)try{await R(H.value,K()?`dark`:`light`)}catch{U.value=!0}},J=C(),Y=()=>{G(`overview`),p(()=>J.value?.$el?.focus())},X=d(()=>e.presentation===`dialog`?{is:D,props:{bodyClass:`!p-0 overflow-y-auto`,maxWidth:S.value===`demo`?`960px`:`540px`,size:`lg`,state:e.state}}:{is:`div`,props:{}}),Z=d(()=>e.presentation===`dialog`?E:`h2`);return(t,a)=>(s(),_(h(X.value.is),o(X.value.props,{class:[`explore-scalar-modal`,{"explore-scalar-modal--vt":e.usesViewTransition,"explore-scalar-modal--stickers":e.morphStickers,"explore-scalar-modal--panel":e.presentation===`panel`}]}),{default:u(()=>[m(`div`,{ref_key:`panelEl`,ref:I,class:`explore-scalar-panel bg-b-1 text-c-1 relative flex flex-col`},[S.value===`overview`?(s(),f(`div`,{key:0,ref_key:`stepEl`,ref:L,class:`flex flex-col`},[m(`div`,{class:`explore-scalar-hero relative flex h-[200px] items-end justify-center overflow-hidden pb-6`,"data-marc":N.value?``:void 0},[a[1]||=m(`span`,{"aria-hidden":`true`,class:`explore-scalar-wash pointer-events-none absolute inset-x-0 top-0`},null,-1),b(ce,{layout:`hero`}),b(_e,{class:`explore-scalar-marc absolute bottom-5 left-[calc(50%-66px)] z-20 w-[132px] origin-bottom`})],8,ve),m(`div`,ye,[(s(),_(h(Z.value),{class:`text-c-1 m-0 text-xl leading-snug font-bold tracking-tight text-balance`},{default:u(()=>[v(T(x(n)(`exploreScalar.title`)),1)]),_:1}))]),m(`div`,be,[b(x(O),{is:j.value?`a`:`button`,"aria-busy":x(c).isLoading,"aria-label":x(c).isActive?x(n)(`exploreScalar.signUp`):void 0,class:`h-10 w-full rounded-full text-base`,href:j.value,loader:x(c),rel:j.value?`noopener noreferrer`:void 0,target:j.value?`_blank`:void 0,variant:`solid`,onClick:M},{default:u(()=>[v(T(x(n)(`exploreScalar.signUp`))+` `,1),m(`span`,xe,T(x(n)(`exploreScalar.opensInNewTab`)),1)]),_:1},8,[`is`,`aria-busy`,`aria-label`,`href`,`loader`,`rel`,`target`]),m(`div`,Se,[b(x(O),{ref_key:`demoEl`,ref:J,class:`text-c-1 hover:text-c-1 active:text-c-1 h-10 flex-1 rounded-full bg-transparent px-12 text-base font-medium hover:bg-transparent active:bg-transparent`,variant:`ghost`,onBlur:F,onClick:q,onFocus:P,onMouseenter:P,onMouseleave:F},{default:u(()=>[v(T(x(n)(`exploreScalar.getDemo`)),1)]),_:1},512),b(x(k),{content:x(n)(`exploreScalar.dmMarc`),placement:`top-end`},{default:u(()=>[m(`a`,{class:`text-c-2 shadow-border hover:text-c-1 absolute end-1 top-1 flex size-8 items-center justify-center rounded-full`,href:x(B),rel:`noopener noreferrer`,target:`_blank`,onBlur:F,onFocus:P,onMouseenter:P,onMouseleave:F},[a[2]||=m(`svg`,{"aria-hidden":`true`,class:`size-3.5`,fill:`currentColor`,focusable:`false`,viewBox:`0 0 24 24`},[m(`path`,{d:`M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z`})],-1),m(`span`,we,T(x(n)(`exploreScalar.messageMarc`))+` `+T(x(n)(`exploreScalar.opensInNewTab`)),1)],40,Ce)]),_:1},8,[`content`])])]),a[3]||=m(`hr`,{class:`border-border mx-8 mt-6 border-0 border-t`},null,-1),m(`ul`,Te,[m(`li`,Ee,[m(`span`,De,[b(x(i),{class:`size-5`,weight:`regular`})]),m(`span`,Oe,[m(`span`,ke,T(x(n)(`exploreScalar.generateTitle`)),1),m(`span`,Ae,T(x(n)(`exploreScalar.generateDescription`)),1)])]),m(`li`,je,[m(`span`,Me,[b(x(te),{class:`size-5`,weight:`regular`})]),m(`span`,Ne,[m(`span`,Pe,T(x(n)(`exploreScalar.platformTitle`)),1),m(`span`,Fe,T(x(n)(`exploreScalar.platformDescription`)),1)])])])],512)):(s(),f(`div`,{key:1,ref_key:`stepEl`,ref:L,class:`flex flex-col px-6 pt-12 pb-6`},[m(`button`,{ref_key:`backEl`,ref:V,"aria-label":x(n)(`exploreScalar.back`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute start-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:Y},[b(x(r),{class:`size-4 rtl:-scale-x-100`})],8,Ie),(s(),_(h(Z.value),{class:`sr-only`},{default:u(()=>[v(T(x(n)(`exploreScalar.bookDemo`)),1)]),_:1})),m(`div`,{ref_key:`calEl`,ref:H,class:`explore-scalar-cal min-h-[640px] w-full overflow-auto`},null,512),U.value?(s(),f(`p`,Le,[m(`a`,{class:`text-c-accent`,href:x(z),rel:`noopener noreferrer`,target:`_blank`},[v(T(x(n)(`exploreScalar.openBookingPage`))+` `,1),m(`span`,ze,T(x(n)(`exploreScalar.opensInNewTab`)),1)],8,Re)])):ee(``,!0)],512)),m(`button`,{"aria-label":x(n)(`exploreScalar.close`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute end-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:a[0]||=t=>e.state.hide()},[b(x(ne),{class:`size-4`})],8,Be)],512)]),_:1},16,[`class`]))}}),He=e({default:()=>$}),$=Ve;export{He as n,$ as t};
|
package/dashboard-neo/dist/assets/{SchemaLanguage.vue-DoLH3juK.js → SchemaLanguage.vue-CTxsMEW-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Qn as e}from"./get-example-value-COf0TWTn.js";import{n as t}from"./browser-wgcf3kAE.js";import{i as n}from"./browser-e_rmFpD2.js";import{H as r,a as i,c as a,l as o,o as s,s as c,t as l}from"./index-
|
|
1
|
+
import{Qn as e}from"./get-example-value-COf0TWTn.js";import{n as t}from"./browser-wgcf3kAE.js";import{i as n}from"./browser-e_rmFpD2.js";import{H as r,a as i,c as a,l as o,o as s,s as c,t as l}from"./index-BvoGeeVi.js";import{bt as u,l as d,m as f,n as p,s as m,t as h,u as g,vt as _,yt as v}from"./schema-BhNr2Gp3.js";import{H as y,W as b,at as x,c as S,f as C,i as w,u as T,v as E,x as D,y as O}from"./runtime-core.esm-bundler-DuBrNcf5.js";import{P as k,xt as A}from"./reactivity.esm-bundler-CGTvMeXp.js";var j=()=>{let e={nodes:2e3};return t=>{if(t>40||--e.nodes<0)throw Error(`Schema is too large to expand`)}},M=(t,n,r,i,a,o=0)=>{if(a(o),Array.isArray(t))return M(t[0],n,r,i,a,o+1);let s=typeof t==`string`?t:e(t)?t.type:void 0;if(typeof s!=`string`)return!1;let c=(e,t,n=r)=>M(e,t,n,i,a,o+1);if(s===`null`)return n===null;if(s===`boolean`)return typeof n==`boolean`;if(s===`string`)return typeof n==`string`;if(s===`int`)return typeof n==`number`&&Number.isInteger(n)&&n>=-2147483648&&n<=2147483647;if(s===`long`)return typeof n==`number`&&Number.isSafeInteger(n);if(s===`float`||s===`double`)return typeof n==`number`&&Number.isFinite(n);if(s===`bytes`||s===`fixed`)return typeof n==`string`&&[...n].every(e=>e.charCodeAt(0)<=255)&&(s===`bytes`||e(t)&&n.length===t.size);if(e(t)){if(s===`array`)return Array.isArray(n)&&n.every(e=>c(t.items,e));if(s===`map`)return e(n)&&Object.values(n).every(e=>c(t.values,e));if(s===`enum`)return Array.isArray(t.symbols)&&t.symbols.includes(n);if(s===`record`){let i=typeof t.name==`string`&&t.name.includes(`.`)?t.name.split(`.`).slice(0,-1).join(`.`):typeof t.namespace==`string`?t.namespace:r;return e(n)&&Array.isArray(t.fields)&&t.fields.every(t=>e(t)&&typeof t.name==`string`&&c(t.type,Object.hasOwn(n,t.name)?n[t.name]:t.default,i))}}let l=s.includes(`.`)||!r?s:`${r}.${s}`,u=i.get(l);return!!u&&c(u,n,l.split(`.`).slice(0,-1).join(`.`))},N=(e,t)=>{let{type:n,logicalType:r,precision:i,size:a}=e,o=e.scale??0;return r===`decimal`?![`bytes`,`fixed`].includes(String(n))||typeof i!=`number`||!Number.isSafeInteger(i)||i<=0||typeof o!=`number`||!Number.isSafeInteger(o)||o<0||o>i||n===`fixed`&&(typeof a!=`number`||i>Math.floor((8*a-1)*Math.log10(2)))?[]:[`Logical type: decimal`,`precision: ${i}`,...e.scale===void 0?[]:[`scale: ${o}`]]:[`date`,`time-millis`].includes(String(r))&&n===`int`||[`time-micros`,`timestamp-millis`,`timestamp-micros`].includes(String(r))&&n===`long`||r===`uuid`&&t===`1.9.0`&&n===`string`||r===`duration`&&n===`fixed`&&a===12?[`Logical type: ${r}`]:[]},P=new Set([`null`,`boolean`,`int`,`long`,`float`,`double`,`bytes`,`string`]),ee=(e,r)=>{if(typeof e!=`string`||P.has(e))return e;if(e.length>2e5)throw Error(`Avro source is too large`);if(r===`json`)return JSON.parse(e);let i=n(e);if(i.errors.length||i.warnings.length)throw Error(`Invalid Avro YAML`);return i.toJS({maxAliasCount:t})},F=new Set([`null`,`boolean`,`int`,`long`,`float`,`double`,`bytes`,`string`]),I=/^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$/,L=(t,n=`1.9.0`,r=`json`)=>{let i=new Map,a=j(),o=(t,r,s=``,c=new Set,l=0)=>{if(a(l),typeof t==`string`){if(F.has(t))return{name:r,type:t};let e=t.includes(`.`)||!s?t:`${s}.${t}`,n=i.get(e);if(!n)throw Error(`Unresolved Avro name`);return c.has(n)?{name:r,type:t,recursive:!0}:o(n,r,e.split(`.`).slice(0,-1).join(`.`),c,l+1)}if(Array.isArray(t)){if(!t.length||t.some(Array.isArray))throw Error(`Invalid Avro union`);let n=new Set;return{name:r,type:`union`,children:t.map((t,r)=>{let i=o(t,`Variant ${r+1}`,s,c,l+1),a=typeof t==`string`?t:e(t)?t.type:void 0,u=typeof a==`string`&&!F.has(a)&&(typeof t==`string`||![`record`,`enum`,`fixed`,`array`,`map`].includes(a))?`named:${a.includes(`.`)||!s?a:`${s}.${a}`}`:/^(record|enum|fixed) /.test(i.type)?`named:${i.type.replace(/^(record|enum|fixed) /,``)}`:`type:${i.type}`;if(n.has(u))throw Error(`Duplicate Avro union branch`);return n.add(u),i})}}if(!e(t)||typeof t.type!=`string`||c.has(t))throw Error(`Invalid Avro schema`);let u=new Set([...c,t]),d={name:r,type:t.type};typeof t.doc==`string`&&(d.description=t.doc);let f=N(t,n);if(t.doc!==void 0&&typeof t.doc!=`string`)throw Error(`Invalid Avro documentation`);if(t.aliases!==void 0){if(!Array.isArray(t.aliases)||!t.aliases.every(e=>typeof e==`string`))throw Error(`Invalid Avro aliases`);f.push(`aliases: ${JSON.stringify(t.aliases)}`)}if(!(typeof t.name==`string`&&t.name.includes(`.`))&&t.namespace!==void 0&&(typeof t.namespace!=`string`||t.namespace!==``&&!I.test(t.namespace)))throw Error(`Invalid Avro namespace`);let p=typeof t.namespace==`string`?t.namespace:s;if([`record`,`enum`,`fixed`].includes(t.type)){if(typeof t.name!=`string`||!I.test(t.name)||F.has(t.name.split(`.`).at(-1)))throw Error(`Invalid Avro name`);let e=t.name.includes(`.`)||!p?t.name:`${p}.${t.name}`,n=i.get(e);if(n&&n!==t)throw Error(`Duplicate Avro name`);i.set(e,t),d.type=`${t.type} ${e}`}let m=typeof t.name==`string`&&t.name.includes(`.`)?t.name.split(`.`).slice(0,-1).join(`.`):p;if(t.type===`record`){if(!Array.isArray(t.fields))throw Error(`Invalid Avro record`);let n=new Set;d.children=t.fields.map(t=>{if(!e(t)||typeof t.name!=`string`||!/^[A-Za-z_][A-Za-z0-9_]*$/.test(t.name)||n.has(t.name))throw Error(`Invalid Avro field`);n.add(t.name);let r=o(t.type,t.name,m,u,l+1);if(typeof t.doc==`string`&&(r.description=t.doc),`default`in t){if(!M(t.type,t.default,m,i,a,l+1))throw Error(`Invalid or imprecise Avro reader default`);r.readerDefault=t.default}if(t.order!==void 0){if(![`ascending`,`descending`,`ignore`].includes(String(t.order)))throw Error(`Invalid Avro field order`);r.details=[...r.details??[],`Order: ${t.order}`]}if(t.aliases!==void 0){if(!Array.isArray(t.aliases)||!t.aliases.every(e=>typeof e==`string`))throw Error(`Invalid Avro field aliases`);r.details=[...r.details??[],`aliases: ${JSON.stringify(t.aliases)}`]}return r})}else if(t.type===`array`||t.type===`map`)d.children=[o(t.type===`array`?t.items:t.values,t.type===`array`?`Items`:`Values`,s,u,l+1)];else if(t.type===`enum`){if(!Array.isArray(t.symbols)||!t.symbols.every(e=>typeof e==`string`&&/^[A-Za-z_][A-Za-z0-9_]*$/.test(e))||new Set(t.symbols).size!==t.symbols.length)throw Error(`Invalid Avro enum`);if(d.symbols=t.symbols,n===`1.9.0`&&t.default!==void 0){if(typeof t.default!=`string`||!t.symbols.includes(t.default))throw Error(`Invalid Avro enum default`);f.push(`Reader enum default: ${t.default}`)}}else if(t.type===`fixed`){if(typeof t.size!=`number`||!Number.isInteger(t.size)||t.size<0)throw Error(`Invalid fixed size`);f.push(`Size: ${t.size} bytes`)}else if(!F.has(t.type))return o(t.type,r,s,c,l+1);return f.length&&(d.details=f),d};return{nodes:[o(ee(t,r),`Schema`)]}},R=e=>e?.syntaxType===`MessageDefinition`,z=e=>e?.syntaxType===`EnumDefinition`,B=e=>[`double`,`float`,`int32`,`int64`,`uint32`,`uint64`,`sint32`,`sint64`,`fixed32`,`fixed64`,`sfixed32`,`sfixed64`,`bool`,`string`,`bytes`].includes(e),V=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),te=V(((e,t)=>{t.exports=f;var n=/[\s{}=;:[\],'"()<>]/g,r=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,i=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,a=/^ *[*/]+ */,o=/^\s*\*?\/*/,s=/\n/g,c=/\s/,l=/\\(.?)/g,u={0:`\0`,r:`\r`,n:`
|
|
2
2
|
`,t:` `};function d(e){return e.replace(l,(e,t)=>{switch(t){case`\\`:case``:return t;default:return u[t]||``}})}f.unescape=d;function f(e,t){e=e.toString();let l=0,{length:u}=e,f=1,p=null,m=null,h=0,g=!1,_=!1,v=[],y=null;function b(e){let t=`illegal ${e}`,n=Error(t);return n.line=f,n}function x(){let t=y===`'`?i:r;t.lastIndex=l-1;let n=t.exec(e);if(!n)throw b(`string`);return l=t.lastIndex,D(y),y=null,d(n[1])}function S(t){return e.charAt(t)}function C(n,r){p=e.charAt(n++),h=f,g=!1;let i;i=t?2:3;let c=n-i,l;do if(--c<0||(l=e.charAt(c))===`
|
|
3
3
|
`){g=!0;break}while(l===` `||l===` `);let u=e.substring(n,r).split(s);for(let e=0;e<u.length;++e)u[e]=u[e].replace(t?o:a,``).trim();m=u.join(`
|
|
4
4
|
`).trim(),_=!1}function w(t){let n=T(t),r=e.substring(t,n);return/^\s*\/{1,2}/.test(r)&&!/^\s*\/\*/.test(r)}function T(e){let t=e;for(;t<u&&S(t)!==`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{$t as e,Qn as t,Qt as n}from"./get-example-value-COf0TWTn.js";import{t as r}from"./dist-aU5svJ8D.js";import{St as i,d as a,h as o,jt as s,nt as c,p as l,tt as u,u as d,xt as f}from"./slugger-DkxnPIt5.js";import{a as p,c as m,d as h,f as g,g as _,h as v,i as y,l as b,m as x,n as S,o as C,p as w,r as T,s as E,t as D,u as O}from"./parse-description-vE2la_xE.js";import{i as k}from"./index-Dg65QVeC.js";var A=10,j=1e4,M=(r,i=j)=>{let a=new WeakMap,o=(r,s)=>{if(s>A||!t(r))return 1;let c=a.get(r)?.get(s);if(c!==void 0)return c;let l=n(r,e);if(!t(l)||l.example!==void 0||Array.isArray(l.examples)&&l.examples.length>0)return 1;let u=1,d=e=>{u<=i&&(u+=o(e,s+1))};t(l.properties)&&Object.values(l.properties).forEach(d),t(l.patternProperties)&&Object.values(l.patternProperties).forEach(d),t(l.additionalProperties)&&d(l.additionalProperties),l.items!==void 0&&d(l.items),Array.isArray(l.prefixItems)&&l.prefixItems.forEach(d),Array.isArray(l.allOf)&&l.allOf.forEach(d);let f=Array.isArray(l.anyOf)?l.anyOf:[],p=Array.isArray(l.oneOf)?l.oneOf:f,m=p.find(r=>{let i=n(r,e);return t(i)&&i.type!==`null`}),h=t(l.discriminator)&&l.discriminator.defaultMapping!==void 0?p:[p[0],m],g=0;for(let e of h)e!==void 0&&u<=i&&g<=i&&(g=Math.max(g,o(e,s+1)));u+=g;let _=a.get(r)??new Map;return _.set(s,u),a.set(r,_),u};return o(r,0)},N=(r,a,o,c=`3.2.0`,l=c,u=!1)=>{if(r.example!==void 0)return[{value:r.example}];if(r.examples&&Object.keys(r.examples).length)return Object.entries(r.examples).flatMap(([e,r])=>{let i=n(r);if(!t(i))return[];let a={name:e,summary:typeof i.summary==`string`?i.summary:void 0,description:typeof i.description==`string`?i.description:void 0};return i.value===void 0?/^3\.2\./.test(c)&&typeof i.serializedValue==`string`?[{...a,serializedValue:i.serializedValue}]:typeof i.externalValue==`string`?[{...a,externalValue:i.externalValue}]:/^3\.2\./.test(c)&&i.dataValue!==void 0?[{...a,dataValue:i.dataValue}]:[]:[{...a,value:i.value}]});let d=n(r.schema,e);if(!t(d))return[];if(d.example!==void 0)return[{value:d.example}];if(Array.isArray(d.examples)&&d.examples.length)return d.examples.map(e=>({value:e}));if(u)return[];if(M(r.schema)>j)return[{omitted:!0}];if(s(a)){let e=f(r.schema,void 0,{mode:o,openapiVersion:l});return[e.xml===void 0?{error:`Unable to generate an XML example.`,generated:!0}:{serializedValue:e.xml,generated:!0}]}let p=i(n(r.schema,e),{mode:o});return p===void 0?[]:[{value:p,generated:!0}]},P=new Set([`$ref`,`$ref-value`,`$global`,`$status`,`__scalar_`]),F=e=>{if(!t(e.schema))return;let r=e.schema,i=`$ref`in r&&Object.keys(r).every(e=>P.has(e))?n(r):r;return t(i)?i:r},I=e=>{let t=new Map,n=new WeakMap,r=0,i=0;return{get:(...e)=>{let[n,...i]=e,a=F(n);if(!a||n.example!==void 0||Object.keys(n.examples??{}).length)return N(...e);let o=JSON.stringify(i),s=t.get(a)?.get(o);if(s)return s;r>=256&&(t.clear(),r=0);let c=t.get(a)??new Map,l=N(...e);return c.set(o,l),t.set(a,c),r++,l},show:(t,r,a)=>{let o=F(t),s=o?n.get(o)??new Map:new Map,c=s.get(r);if(c?.value===a.value)return{id:c.id,previous:!0};let l=e.get(`example`,String(++i));return s.set(r,{id:l,value:a.value}),o&&n.set(o,s),{id:l,previous:!1}}}},L=async(e,t,n=`application/json`,r,i=`3.2.0`,a=i,{linked:o=!1,quiet:c=o,examples:l}={})=>{let u=[],d=(l?.get??N)(e,n,r,i,a,o);for(let o of d){if(`omitted`in o&&c)continue;let d=u.length,p=l&&o.generated,m=o.name?`Example: ${o.name}`:`Example:`;u.push(h(w(x(p?`Generated example:`:m))));let g=t=>{if(p){let o=JSON.stringify([n,r,i,a,t.lang]),s=l.show(e,o,t);if(s.previous){u.splice(d,u.length-d,h(b(`#${s.id}`,`Generated example`)));return}u.splice(d,0,v(s.id))}u.push(t)};if(`omitted`in o){u.push(h(y(x(`Generated example omitted because it is too large.`))));continue}if(o.summary&&u.push(h(x(o.summary))),u.push(...await t(o.description)),`error`in o){u.push(h(x(o.error)));continue}if(`externalValue`in o){u.push(h(w(x(`External value:`)),x(` `),b(o.externalValue,o.externalValue)));continue}if(`serializedValue`in o){let e=n.includes(`json`)?`json`:`text`;g({type:`code`,lang:s(n)?`xml`:e,value:o.serializedValue});continue}let _=s(n),S=`dataValue`in o?o.dataValue:o.value;if(_&&!e.schema&&`value`in o&&(typeof S!=`object`||!S)){g({type:`code`,lang:`xml`,value:String(S)});continue}let C=_?f(e.schema,o,{mode:r,openapiVersion:a}):void 0;_&&C?.xml===void 0?u.push(h(x(`Unable to generate an XML example.`))):g({type:`code`,lang:_?`xml`:`json`,value:C?.xml??JSON.stringify(S,null,2)??``})}return u},R=async(t,r,i,a,o=a,s)=>{let c=[];for(let[l,u]of Object.entries(t??{})){if(l.toLowerCase()===`content-type`||!n(u))continue;let t=n(u,e),d=[h(w(E(l)),x(t.required?` (required)`:``)),...await r(t.description)];`schema`in t&&t.schema!==void 0&&d.push(...i.render(t.schema)),(`example`in t||`examples`in t)&&d.push(...await L({example:t.example,examples:t.examples},r,`application/json`,void 0,a,o,{linked:i.linked,examples:s}));for(let[e,n]of Object.entries(`content`in t?t.content??{}:{}))d.push(h(w(x(`Content-Type:`)),x(` ${e}`))),n.schema!==void 0&&d.push(...i.render(n.schema)),d.push(...await L(n,r,e,void 0,a,o,{linked:i.linked,examples:s}));c.push(m(...d))}return c.length?[h(w(x(`Headers:`))),O(c)]:[]},z=async(e,t,n,r,i,a=i,o)=>{let s=t.startsWith(`multipart/`);if(!s&&t!==`application/x-www-form-urlencoded`)return[];let c=[];for(let[t,l]of Object.entries(e??{})){let e=[];for(let[t,n]of[[`contentType`,`Content-Type`],[`style`,`Style`],[`explode`,`Explode`],[`allowReserved`,`Allow reserved`]])l[t]!==void 0&&e.push(m(h(x(`${n}: `),E(l[t]))));let u=[h(w(E(t)))];e.length&&u.push(O(e)),s&&u.push(...await R(l.headers,n,r,i,a,o)),c.push(m(...u))}return c.length?[h(w(x(`Encoding:`))),O(c)]:[]},B=e=>typeof e==`string`?e:JSON.stringify(e)??``,ee=async(t,r)=>{let i=[];for(let[a,o]of Object.entries(t??{})){if(!n(o))continue;let t=n(o,e),s=[h(w(x(a))),...await r(t.description)];t.operationId&&s.push(h(w(x(`Operation ID:`)),x(` `),E(t.operationId))),t.operationRef&&s.push(h(w(x(`Operation reference:`)),x(` `),E(t.operationRef)));let c=Object.entries(t.parameters??{});c.length&&s.push(O(c.map(([e,t])=>m(h(w(x(`${e}:`)),x(` `),E(B(t))))))),t.requestBody!==void 0&&s.push(h(w(x(`Request body:`)),x(` `),E(B(t.requestBody)))),t.server&&s.push(h(w(x(`Server:`)),x(` `),E(t.server.url))),i.push(m(...s))}return i.length?[h(w(x(`Links:`))),O(i)]:[]},V={implicit:`implicit`,password:`password`,clientCredentials:`client credentials`,authorizationCode:`authorization code`,deviceAuthorization:`device authorization`},H=e=>{let t=e;switch(t.type){case`apiKey`:return[x(`API key in ${String(t.in??`header`)} `),E(t.name)];case`http`:{let e=typeof t.scheme==`string`?t.scheme.toLowerCase():``;return[x(`HTTP ${e||`authentication`}`),...typeof t.bearerFormat==`string`?[x(` (`),E(t.bearerFormat),x(`)`)]:[]]}case`oauth2`:{let e=Object.entries(typeof t.flows==`object`&&t.flows?t.flows:{}),n=[x(`OAuth 2.0`)];for(let[t,[r,i]]of e.entries()){let e=i;n.push(x(`${t?`; `:`: `}${V[r]??r}`));for(let[t,r]of[[`authorizationUrl`,`authorize`],[`deviceAuthorizationUrl`,`device authorization`],[`tokenUrl`,`token`],[`refreshUrl`,`refresh`]])typeof e[t]==`string`&&e[t]&&n.push(x(`, ${r} `),E(e[t]))}return n}case`openIdConnect`:return[x(`OpenID Connect `),E(t.openIdConnectUrl)];case`mutualTLS`:return[x(`Mutual TLS`)];default:return[E(t.type)]}},U=async(e,t,n,r=4,i=`3.2.0`)=>{if(!e)return[];let a=[C(r,x(`Authentication`))];e.length||a.push(h(x(`No authentication required.`)));for(let[r,o]of e.entries()){r&&a.push(h(x(`Or:`)));let e=Object.entries(o);if(!e.length){a.push(h(x(`No authentication required.`)));continue}let s=[];for(let[r,a]of e){let e=k(t?.[r],{overrideDescription:/^3\.[12]\./.test(i)}),o=[w(x(r))];e&&o.push(x(`: `),...H(e)),a?.length&&o.push(x(`, scopes: `),E(a.join(`, `))),s.push(m(h(...o),...await n(e?.description)))}a.push(O(s))}return a},W=[[`path`,`Path parameters`],[`query`,`Query parameters`],[`querystring`,`Query string`],[`header`,`Header parameters`],[`cookie`,`Cookie parameters`]],G=e=>h(w(x(`Content type:`)),x(` `),E(e)),te=(e,r)=>{if(Object.keys(e.headers??{}).length||Object.keys(e.links??{}).length)return;let i=Object.entries(e.content??{});if(!i.length)return;let a=[];for(let[e,o]of i){let i=n(o.schema);if(!t(i)||o.example!==void 0||o.examples||o.encoding||(r.has(i)||r.set(i,r.size),(t(o.schema)?Object.keys(o.schema).filter(e=>!e.startsWith(`$`)):[]).length))return;a.push(e,r.get(i))}return JSON.stringify(a)},K=e=>e===e.toLowerCase()&&u(e)?e.toUpperCase():e,ne=async(t,r,i,a,o,s,{description:c,schemas:l,examples:u,documentContext:d,level:f=3})=>{let g=e=>Math.min(6,f+e),_=K(i),y=t[`x-original-oas-version`]??t.openapi,S=o[`x-scalar-stability`],T=o.deprecated?` ⚠️ Deprecated`:``,D=(o.summary||`${_} ${r}`)+(S?` (${S})`:T),k=[p(`Method`,E(_)),p(s?`Webhook`:`Path`,E(r))];o.operationId&&k.push(p(`Operation ID`,E(o.operationId))),o.tags&&k.push(p(`Tags`,x(o.tags.join(`, `)))),S&&k.push(p(`Stability`,x(S)));let A=[C(g(0),x(D)),O(k),...await c(o.description)],j=o.servers??a.servers??t.servers,M,N;if(d&&o.servers===void 0&&(a.servers===void 0?M=d.servers:(M=d.pathServers.get(a),M===void 0&&(N=d.anchors.get(`context`,JSON.stringify([s?`webhook`:`path`,r]),`servers-${s?`webhook-`:``}${r}`),d.pathServers.set(a,N)))),M)A.push(h(w(x(`Servers:`)),x(` `),b(`#${M}`,`Inherited servers`)));else if(j!==void 0){N&&A.push(v(N)),A.push(C(g(1),x(`Effective servers`)));let e=[],t=j?.length?j:[{url:`/`}];for(let n of t){let t=[h(E(n.url)),...await c(n.description)],r=Object.entries(n.variables??{});r.length&&t.push(O(await Promise.all(r.map(async([e,t])=>m(h(x(`${e}: `),E(t.default),...t.enum?.length?[x(`, possible values: `),E(t.enum.join(`, `))]:[]),...await c(t.description)))))),e.push(m(...t))}A.push(O(e))}d?.authentication&&o.security===void 0?A.push(h(w(x(`Authentication:`)),x(` `),b(`#${d.authentication}`,`Global authentication`))):A.push(...await U(o.security??t.security,t.components?.securitySchemes,c,g(1),y));let P=new Map;for(let t of[...a.parameters??[],...o.parameters??[]]){let r=n(t,e);r&&P.set(`${r.in}:${r.name}`,r)}let F=[...W,...[...new Set([...P.values()].map(e=>e.in))].filter(e=>!W.some(([t])=>t===e)).map(e=>[e,`Parameters in ${e}`])];for(let[e,n]of F){let r=[];for(let n of P.values())n.in===e&&r.push(await re(n,{description:c,schemas:l,examples:u,openapiVersion:y,document:t}));r.length&&A.push(C(g(1),x(n)),O(r))}let I=n(o.requestBody,e);if(I){A.push(C(g(1),x(`Request body`)),...await c(I.description)),typeof I.required==`boolean`&&A.push(h(w(x(`Required:`)),x(` `),E(I.required)));for(let[e,n]of Object.entries(I.content??{}))A.push(G(e)),n.schema!==void 0&&A.push(...l.render(n.schema)),A.push(...await L(n,c,e,`write`,y,t.openapi,{linked:l.linked,examples:u})),A.push(...await z(n.encoding,e,c,l,y,t.openapi,u))}let B=Object.entries(o.responses??{}).flatMap(([t,r])=>{let i=n(r,e);return i?[{status:t,response:i}]:[]}),V=new Map,H=new Map;for(let e of B){let t=te(e.response,V)??`status:${e.status}`;H.set(t,[...H.get(t)??[],e])}B.length&&A.push(C(g(1),x(`Responses`)));for(let e of H.values()){let{response:n}=e[0];if(e.length>1)A.push(C(g(2),x(e.map(({status:e})=>e).join(`, `))),O(e.map(({status:e,response:t})=>m(h(E(e),...t.description?[x(` ${t.description}`)]:[])))));else{let{status:t}=e[0];A.push(C(g(2),x(`${t}${n.description?` ${n.description}`:``}`)))}A.push(...await R(n.headers,c,l,y,t.openapi,u),...await ee(n.links,c));for(let[e,r]of Object.entries(n.content??{}))A.push(G(e)),r.schema!==void 0&&A.push(...l.render(r.schema)),A.push(...await L(r,c,e,`read`,y,t.openapi,{linked:l.linked,examples:u}))}return A},re=async(e,{description:t,schemas:n,examples:r,openapiVersion:i,document:a})=>{let o=[e.required?`required`:``,e.deprecated?`deprecated`:``].filter(Boolean),s=[w(E(e.name),...o.length?[x(` (${o.join(`, `)})`)]:[])],c=`schema`in e?e.schema:void 0,l=c===void 0?[]:n.summarize(c),u=(e,t)=>{t!==void 0&&l.push(x(`${l.length?`, `:``}${e}: `),E(t))};`style`in e&&u(`style`,e.style),`explode`in e&&typeof e.explode==`boolean`&&u(`explode`,e.explode),e.allowEmptyValue&&u(`allowEmptyValue`,!0),`allowReserved`in e&&e.allowReserved&&u(`allowReserved`,!0),l.length&&s.push(x(`: `),...l);let d=[h(...s),...await t(e.description)];if(c!==void 0){let t=n.view(c).description;t?.trim()!==e.description?.trim()&&d.push(...T(t)),d.push(...n.render(c,0,[],{hideDetails:!0}))}(`example`in e||`examples`in e)&&d.push(...await L({example:e.example,examples:e.examples},t,`application/json`,`write`,i,a.openapi,{examples:r}));for(let[o,s]of Object.entries(`content`in e?e.content??{}:{}))d.push(G(o)),s.schema!==void 0&&d.push(...n.render(s.schema)),d.push(...await L(s,t,o,`write`,i,a.openapi,{linked:n.linked,examples:r}));return m(...d)},q=64,ie=1e5,J=new Set([`allOf`,`anyOf`,`oneOf`,`not`,`properties`,`required`,`items`,`additionalProperties`,`discriminator`,`minItems`,`maxItems`,`uniqueItems`]),Y=new Set([`$ref`,`$ref-value`,`$global`,`$status`]),X=e=>t(e)&&typeof e.$ref==`string`?e.$ref:void 0,Z=e=>{try{let t=/^#\/components\/schemas\/([^/]+)$/.exec(decodeURIComponent(e));return t?t[1].replaceAll(`~1`,`/`).replaceAll(`~0`,`~`):e}catch{return e}},ae=(e,n)=>{let r=t(e)?e.$ref:void 0;if(typeof r==`string`&&typeof n.schema==`object`&&!Object.keys(e).some(e=>J.has(e)))return n.allOf?.length||n.anyOf?.length||n.oneOf?.length||n.properties.length||n.not!==void 0||n.items!==void 0||n.additionalProperties!==void 0?Z(r):void 0},oe=e=>{let r=t(e)&&`$ref`in e&&Object.keys(e).some(e=>J.has(e))?e:n(e)??e;return typeof r==`object`&&r?r:void 0},se=r=>{let i=n(r),a=n(r,e);return typeof i==`boolean`?!t(a)||!Object.keys(a).some(e=>![`$ref`,`$ref-value`,`$global`,`$status`].includes(e))?i:i?a:{...a,allOf:[!1,...Array.isArray(a.allOf)?a.allOf:[]]}:a},ce=[`title`,`description`,`default`,`readOnly`,`writeOnly`,`deprecated`],le=new Set([...ce,...Y,`__scalar_`,`allOf`,`anyOf`,`oneOf`]),ue=new Set([`string`,`number`,`integer`,`boolean`,`null`]),de=e=>e===null?`null`:Array.isArray(e)?`array`:typeof e==`number`?Number.isInteger(e)?`integer`:`number`:typeof e,fe=e=>{let r=n(e);return t(r)?(Array.isArray(r.type)&&r.type.length===1?r.type[0]:r.type)===`null`&&Object.keys(r).every(e=>e===`type`||e===`title`||e===`description`||Y.has(e)):!1},pe=e=>{if(typeof e.schema!=`object`||Object.keys(e.schema).some(e=>!le.has(e))||e.type!==void 0||e.properties.length||e.required.size||e.items!==void 0||e.additionalProperties!==void 0||e.not!==void 0||e.discriminator||e.enum||e.const!==void 0)return;let t=e.allOf??[],n=e.anyOf??[],r=e.oneOf??[];if(t.length===1&&!n.length&&!r.length)return{core:t[0],nullable:!1};let i=n.length?n:r;if(t.length||n.length&&r.length||i.length!==2)return;let a=i.filter(e=>!fe(e));return a.length===1?{core:a[0],nullable:!0}:void 0},me=e=>{let t=e.map(t=>{let n=t.length===1?t[0]:void 0;return e.length>1&&n?.type===`inlineCode`&&n.value.startsWith(`array of `)?[E(`(${n.value})`)]:t}),n=[],r=[],i=()=>{r.length&&n.push(...n.length?[x(` | `)]:[],E(r.join(` | `))),r=[]};for(let e of t){let t=e.length===1?e[0]:void 0;t?.type===`inlineCode`?r.push(t.value):(i(),n.push(...n.length?[x(` | `)]:[],...e))}return i(),n},he=({maxNodes:r=ie}={})=>{let i=new WeakMap,a=new Set,o=e=>{let t=typeof e==`object`?i.get(e):void 0;if(t)return t;let n=se(e),r=typeof n==`object`?n:{},s=new Set(r.required??[]),c=Object.entries(r.properties??{}).filter(([,e])=>typeof e==`boolean`||typeof e==`object`&&!!e).sort(([e],[t])=>Number(s.has(t))-Number(s.has(e))||e.localeCompare(t)),l=n?`any`:`never`,u={...r,type:typeof n==`boolean`?l:r.type,schema:n,required:s,properties:c};u.name=ae(e,u);let d=typeof e==`object`&&!a.has(e)?pe(u):void 0;if(d&&typeof e==`object`){a.add(e);let t=o(d.core);a.delete(e);let n=Object.fromEntries(ce.flatMap(e=>u[e]===void 0?[]:[[e,u[e]]]));u={...t,...n,core:d.core,nullable:d.nullable||t.nullable}}return typeof e==`object`&&i.set(e,u),u},s=new WeakMap,c=e=>{if(typeof e!=`object`)return!0;let t=s.get(e);if(t!==void 0)return t;s.set(e,!1);let n=o(e),r=n.type===void 0?[]:[n.type].flat(),i=n.core===void 0?typeof n.schema==`boolean`||!n.properties.length&&n.items===void 0&&(n.additionalProperties===void 0||typeof n.additionalProperties==`boolean`)&&!n.allOf?.length&&!n.anyOf?.length&&!n.oneOf?.length&&n.not===void 0&&!n.discriminator&&r.every(e=>ue.has(e)):c(n.core);return s.set(e,i),i},l=e=>e.description!==void 0||e.format!==void 0||e.enum!==void 0||e.const!==void 0||e.default!==void 0||e.readOnly===!0||e.writeOnly===!0||e.deprecated===!0||e.additionalProperties===!1||u.some(t=>e[t]!==void 0),u=[`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`multipleOf`,`minLength`,`maxLength`,`pattern`,`minProperties`,`maxProperties`,`minItems`,`maxItems`,`uniqueItems`],d=e=>e.type===void 0?e.const===void 0?e.enum?.length?[...new Set(e.enum.map(de))]:e.properties.length||t(e.additionalProperties)?[`object`]:e.items===void 0?[]:[`array`]:[de(e.const)]:[e.type].flat(),f=(i={},a={},s)=>{let p=a.schemaReferences?.mode===`linked`,_=a.schemaReferences?.inlinePrimitives!==!1,v=new Map,S=new Set(Object.values(i).map(e=>n(e)??e)),C=0,D=e=>{if(!p&&!s||!t(e))return;let r=X(e);if(r!==void 0){let t=n(e)!==void 0;return!p&&!s?.has(Z(r))||t&&_&&c(e)?void 0:r}let i=o(e).core;return i===void 0?void 0:D(i)},k=e=>{let t=Z(e),n=a.schemaReferences?.resolveUrl?a.schemaReferences.resolveUrl({ref:e,name:t}):s?.get(t);return n&&g(n)?b(n,t):E(t)},A=e=>{let n={},r=e;for(;t(r);){for(let[e,t]of Object.entries(r))!Y.has(e)&&(!J.has(e)||u.some(t=>t===e)||e===`additionalProperties`&&t===!1)&&!(e in n)&&(n[e]=t);if(X(r)!==void 0)break;r=o(r).core}return o(n)},j=e=>D(e)===void 0?o(e):A(e),M=(e,n,r=0)=>{let i=o(e),a=n||s?D(e):void 0;if(a!==void 0){let n=X(e)===void 0&&i.nullable,r=t(e)&&Object.keys(e).some(e=>J.has(e));return{nodes:me([[k(a)],...n?[[E(`null`)]]:[]]),complete:!r}}if(typeof i.schema==`boolean`)return{nodes:[],complete:!0};let c=d(i),u=[],f=!i.properties.length&&!t(i.additionalProperties)&&i.not===void 0&&!i.discriminator&&!i.allOf?.length&&!(i.anyOf?.length&&i.oneOf?.length),p=i.anyOf?.length?i.anyOf:i.oneOf;if(p?.length){let e=r<8?p.map(e=>M(e,!0,r+1)):[];f&&!c.length&&e.length===p.length&&e.every((e,t)=>e.complete&&e.nodes.length&&!l(j(p[t])))?u.push(...e.map(e=>e.nodes)):f=!1}for(let e of c){if(e!==`array`||i.items===void 0){u.push([E(e)]);continue}let t=r<8?M(i.items,!0,r+1):void 0;if(!t?.complete||!t.nodes.length||l(j(i.items))){f=!1,u.push([E(`array`)]);continue}let n=t.nodes.length===1?t.nodes[0]:void 0;u.push(n?.type===`inlineCode`?[E(n.value.includes(` | `)?`array of (${n.value})`:`array of ${n.value}`)]:[x(`array of `),...t.nodes.length>1?[x(`(`),...t.nodes,x(`)`)]:t.nodes])}return!c.length&&i.items!==void 0&&(f=!1),i.nullable&&!c.includes(`null`)&&u.push(u.length||f?[E(`null`)]:[x(`nullable`)]),!u.length&&f&&u.push([E(`any`)]),{nodes:me(u),complete:f}},N=(e,{nested:t,label:n=M(e,t),showType:r=!0})=>{let i=(t||s!==void 0)&&D(e)!==void 0,a=i?A(e):o(e);if(typeof a.schema==`boolean`)return{line:[x(a.schema?`any (true schema)`:`never (false schema)`)]};let c=r?[...n.nodes]:[],l=(e,t)=>{t!==void 0&&c.push(x(`${c.length?`, `:``}${e}: `),E(t))},d=(e,t)=>{t&&c.push(x(`${c.length?`, `:``}${e}`))},f=X(e);!i&&a.name!==void 0&&(p&&f!==void 0?c.push(x(`${c.length?`, `:``}schema: `),k(f)):l(`schema`,a.name)),i&&a.type!==void 0&&l(`type`,[a.type].flat().join(` | `)),l(`format`,a.format),a.enum&&l(`possible values`,a.enum.map(e=>JSON.stringify(e)).join(`, `)),a.const!==void 0&&l(`const`,JSON.stringify(a.const)),a.default!==void 0&&l(`default`,JSON.stringify(a.default));for(let e of u)l(e,a[e]);for(let e of[`readOnly`,`writeOnly`,`deprecated`])d(e,a[e]);return d(`no additional properties`,a.additionalProperties===!1),{line:c,description:a.description??(i?o(e).description:void 0)}},P=(e,n,r,i)=>{let a=[],o=t(e)?Object.fromEntries(Object.entries(e).filter(([e])=>!Y.has(e))):{};if(Object.keys(o).length&&!n.hideDetails){let{line:e,description:t}=N(o,{nested:!1,showType:!1});e.length&&a.push(h(...e)),n.hideDescription||a.push(...T(t))}return a.push(h(y(x(`Schema `),E(r),x(` is shown ${i}.`)))),a},F=(e,t,n,r=!0)=>{if(n.hideDetails)return[];let{line:i,description:a}=N(e,{nested:t>0,showType:r});return[...i.length?[h(...i)]:[],...n.hideDescription?[]:T(a)]},I=(e,i=0,a=[],c={})=>{if((p||s)&&t(e)&&`$ref`in e&&typeof e.$ref==`string`){let r=n(e),o=Object.fromEntries(Object.entries(e).filter(([e])=>!Y.has(e))),l=Object.keys(o).length>0;if((i>0||s)&&D(e)!==void 0||r===void 0){let t=Object.fromEntries(Object.entries(o).filter(([e])=>J.has(e)));return[...F(e,Math.max(i,1),c),...Object.keys(t).length?I(t,i,a,{hideDetails:!0}):[]]}if(!s&&i===0&&(l||t(r)&&`$ref`in r))return[...l?[h(w(x(`All of:`)))]:[],...I(r,i+1,a),...l?I(o,i,a):[]]}let l=n(e)??e;if(typeof l==`object`&&a.includes(l))return[h(y(x(`[Circular Reference]`)))];let u=o(e),d=M(e,i>0);if(u.core!==void 0){let t=F(e,i,c);return d.complete?t:[...t,...I(u.core,i,a,{hideDetails:!0,hideDescription:!0,property:c.property})]}let f=oe(e),g=c.name??u.name;if(!s&&f&&g!==void 0){let t=v.get(f);if(t!==void 0){let n=c.name===void 0?c:{...c,hideDetails:!0};return P(e,n,t.name,`above`)}if(u.name!==void 0&&c.name===void 0&&i>=q&&S.has(f))return P(e,c,u.name,`below under Schemas`)}if(i>=q)return[h(x(`[Maximum schema depth reached]`))];if(C>=r)return[h(y(x(`[Schema output truncated]`)))];if(C++,f&&g!==void 0&&!v.has(f)&&v.set(f,{name:g,description:u.description}),typeof u.schema==`boolean`)return F(e,i,c);let _=[...a,l],b=[],A=Object.entries(u.discriminator?.mapping??{}),j=new Set,L=!1;if(!d.complete){for(let[e,t]of[[`allOf`,`All of:`],[`anyOf`,`Any of:`],[`oneOf`,`One of:`]]){if(!u[e]?.length)continue;let n=u[e].map(t=>{let n=I(t,i+1,_,{showType:!0}),r=X(t),a=e===`allOf`||r===void 0?[]:A.filter(([,e])=>e===r),o=n[0];if(a.length&&o?.type===`paragraph`){for(let[e]of a)j.add(e);o.children.push(x(`${o.children.length?`, `:``}${u.discriminator.propertyName}: `),E(a.map(([e])=>e).join(`, `)))}return m(...n)}),r=e!==`allOf`&&u.discriminator;b.push(h(w(x(t)),...r?[x(` discriminated by `),E(u.discriminator.propertyName)]:[]),O(n)),r&&(L=!0)}u.not!==void 0&&b.push(h(w(x(`Not:`))),...I(u.not,i+1,_))}let R=!c.showType&&!d.complete&&(u.type===`object`&&u.properties.length>0||u.type===`array`&&u.items!==void 0);if(b.push(...F(e,i,c,!R)),p||s){let e=new Set(u.properties.map(([e])=>e)),t=[...u.required].filter(t=>!e.has(t));t.length&&b.push(h(w(x(`Required fields:`)),x(` `),E(t.join(`, `))))}if(u.properties.length){let e=u.properties.map(([e,t])=>{let n=M(t,!0),{line:r,description:a}=N(t,{nested:!0,label:n}),o=[w(E(e),...u.required.has(e)?[x(` (required)`)]:[])];r.length&&o.push(x(`: `),...r);let s=[h(...o),...T(a)];return n.complete||s.push(...I(t,i+1,_,{hideDetails:!0,hideDescription:!0,property:!0})),m(...s)});b.push(O(e))}!d.complete&&u.items!==void 0&&(u.type===`array`||u.type===void 0||[u.type].flat().includes(`array`))&&b.push(h(w(x(c.property?`Items:`:`Array of:`))),...I(u.items,i+1,_)),t(u.additionalProperties)&&b.push(h(w(x(`Additional properties:`))),...I(u.additionalProperties,i+1,_));let z=A.filter(([e])=>!j.has(e));return u.discriminator&&(!L||z.length)&&(b.push(h(w(x(`Discriminator:`)),x(` `),E(u.discriminator.propertyName))),z.length&&b.push(O(z.map(([e,t])=>m(h(E(e),x(`: `),p||s?k(t):E(t))))))),b},L={items:`one`,additionalProperties:`one`,not:`one`,prefixItems:`list`,allOf:`list`,anyOf:`list`,oneOf:`list`,properties:`map`,patternProperties:`map`},R=(r,i)=>{if(!t(r))return r;if(!i&&D(r)!==void 0){let e=d(o(r));return e.includes(`array`)&&!e.includes(`object`)?{type:`array`,items:{}}:{type:`object`}}if(X(r)!==void 0){if(!i)return r;let a=n(r,e);if(!t(a))return a;let{$ref:o,...s}=a;return R(s,!0)}let a={...r};for(let[e,n]of Object.entries(L)){let i=r[e];n===`one`?a[e]=R(i,!1):n===`list`&&Array.isArray(i)?a[e]=i.map(e=>R(e,!1)):n===`map`&&t(i)&&(a[e]=Object.fromEntries(Object.entries(i).map(([e,t])=>[e,R(t,!1)]))),a[e]===void 0&&delete a[e]}return a};return{linked:p,view:o,render:I,exampleSchema:e=>p?R(e,!0):e,summarize:e=>N(e,{nested:!1}).line,beginSection:()=>{C=0},shownAs:e=>{let t=oe(e);return t?v.get(t):void 0},forDocument:f}};return f()},ge=(e,t)=>{let n=/^3\.2\./.test(t),r=e=>n?e.summary??e.name:e.name,i=new Map(e.map(e=>[e.name,e]));if(!n||i.size!==e.length)return e.map(e=>({tag:e,title:r(e)}));let a=new Map,o=new Map,s=new Set;for(let t of e){let e=[],n=new Set,c=[t];for(;c.length;){let t=c.pop();if(n.has(t.name)||s.has(t.name)){for(let t of e)a.set(t.name,r(t)),s.add(t.name);break}if(a.has(t.name))break;n.add(t.name),e.push(t);let o=t.parent===void 0?void 0:i.get(t.parent);o&&c.push(o)}for(let t of e.reverse()){if(a.has(t.name))continue;let e=t.parent===void 0?void 0:a.get(t.parent);a.set(t.name,e===void 0?r(t):`${e} › ${r(t)}`),e!==void 0&&t.parent!==void 0&&o.set(t.name,t.parent)}}let c=new Map,l=[];for(let t of e){let e=o.get(t.name);if(e===void 0)l.push(t);else{let n=c.get(e)??[];n.push(t),c.set(e,n)}}let u=[],d=l.reverse();for(;d.length;){let e=d.pop();u.push({tag:e,title:a.get(e.name)});let t=c.get(e.name)??[];for(let e of[...t].reverse())d.push(e)}return u},_e=r({bullet:`-`,join:[(e,t,n)=>{if(`spread`in n&&(e.type===`list`&&t.type!==`list`||e.type===`code`||t.type===`code`))return 1}]}),ve=e=>t(e.schema)&&(e.schema.example!==void 0||Array.isArray(e.schema.examples)&&e.schema.examples.length>0),ye=async(e,t,n,r)=>{let i=t.title&&t.title!==e?[w(x(t.title)),x(` (`),E(e),x(`)`)]:[E(e)];i.push(x(` — shown above`)),n.name!==e&&i.push(x(` as `),E(n.name)),i.push(x(`.`));let a=[h(...i)];return t.description&&t.description!==n.description&&a.push(...await r(t.description)),m(...a)},be=()=>{let t=D(),r=he();return async(i,a={})=>{let o=t(),s=[a.operation,a.webhook,a.model,a.tag,a.introduction].every(e=>e===void 0),c=_(),u=s?I(c):void 0,f=s?{anchors:c,servers:i.servers===void 0?void 0:c.get(`context`,`global-servers`),authentication:i.security===void 0?void 0:c.get(`context`,`global-authentication`),pathServers:new WeakMap}:void 0,g=s?new Map(Object.keys(i.components?.schemas??{}).map(e=>[e,`#${encodeURIComponent(c.get(`schema`,e))}`])):void 0,y=[{title:`Operations`,paths:i.paths,webhook:!1},{title:`Webhooks`,paths:i.webhooks,webhook:!0}].map(t=>{let r=[];for(let[i,a]of Object.entries(t.paths??{})){let o=l(a);o&&d(a,(a,l)=>{let u=`${K(a)} ${i}`;r.push({path:i,method:a,pathItem:o,operation:n(l,e),label:u,id:s?c.get(t.webhook?`webhook`:`operation`,JSON.stringify([i,a]),u):void 0})})}return{...t,entries:r}}),T=r.forDocument(i.components?.schemas,a,g),D=i[`x-original-oas-version`]??i.openapi,k=a.operation!==void 0||a.webhook!==void 0||a.model!==void 0,A=[],j=[],M=async()=>{if(!A.length)return;let e=A.splice(0);await S(e,o),j.push(_e({type:`root`,children:e}).trimEnd())};if(!k){let{info:e}=i,t=[p(`OpenAPI Version`,E(i.openapi))];if(e.version&&t.push(p(`API Version`,E(e.version))),e.termsOfService&&t.push(p(`Terms of service`,b(e.termsOfService,e.termsOfService))),e.contact){let n=[x(e.contact.name??``)];t.push(m(h(w(x(`Contact:`)),x(` `),...n,...e.contact.url?[x(` `),b(e.contact.url,e.contact.url)]:[],...e.contact.email?[x(` `),b(`mailto:${e.contact.email}`,e.contact.email)]:[])))}if(e.license&&t.push(p(`License`,e.license.url?b(e.license.url,e.license.name??``):x(e.license.name))),A.push(C(1,x(e.title)),O(t),...await o(e.description)),s){let e=[];for(let t of y)t.entries.length&&e.push(h(w(x(t.title))),O(t.entries.map(({id:e,label:t})=>m(h(b(`#${encodeURIComponent(e)}`,t))))));g?.size&&e.push(h(w(x(`Schemas`))),O([...g].map(([e,t])=>m(h(b(t,e)))))),e.length&&A.push(C(2,x(`Contents`)),...e)}if(i.servers?.length||s&&i.servers!==void 0){f?.servers&&A.push(v(f.servers)),A.push(C(2,x(`Servers`)));let e=(i.servers?.length?i.servers:[{url:`/`}]).map(e=>{let t=[];e.description&&t.push(p(`Description`,x(e.description)));let n=Object.entries(e.variables??{});n.length&&t.push(m(h(w(x(`Variables:`))),O(n.map(([e,t])=>m(h(E(e),x(` (default: `),E(t.default),x(`)`),...s&&t.enum?.length?[x(`, possible values: `),E(t.enum.join(`, `))]:[],x(t.description?`: ${t.description}`:``)))))));let r=p(`URL`,E(e.url));return t.length&&r.children.push(O(t)),r});A.push(O(e))}if(f?.authentication&&A.push(v(f.authentication)),A.push(...await U(i.security,i.components?.securitySchemes,o,2,D)),i.tags?.length){A.push(C(2,x(`Tags`)));for(let{tag:e,title:t}of ge(i.tags,D))A.push(C(3,x(t)),...await o(e.description)),e.externalDocs&&A.push(h(b(e.externalDocs.url,e.externalDocs.description??e.externalDocs.url)))}await M()}for(let e of y){let t=!1;for(let{path:n,pathItem:r,method:a,operation:s,id:c}of e.entries)!t&&!k&&A.push(C(2,x(e.title))),t=!0,T.beginSection(),c&&A.push(v(c)),A.push(...await ne(i,n,a,r,s,e.webhook,{description:o,schemas:T,examples:u,documentContext:f,level:k?1:3})),await M()}let N=Object.entries(i.components?.schemas??{}).sort(([e],[t])=>Number(t===a.model)-Number(e===a.model)),P=async(e,t,n)=>{let r=T.view(t),l=T.summarize(t);if(s&&A.push(v(c.get(`schema`,e))),A.push(C(n,x(r.title??e))),l.length&&A.push(h(w(x(`Type:`)),x(`\xA0`),...l)),A.push(...await o(r.description),...T.render(t,0,[],{hideDetails:!0,name:e})),r.type===`object`||ve(r)){let n=e===a.model;A.push(...await L({schema:n?T.exampleSchema(t):t},o,`application/json`,void 0,D,i.openapi,{linked:T.linked&&!n,quiet:T.linked,examples:u}))}await M()},F=N.find(([e])=>e===a.model);F&&(T.beginSection(),await P(F[0],F[1],1));let R=N.filter(([e])=>e!==a.model);R.length&&A.push(C(2,x(`Schemas`)));let z=[],B=()=>{z.length&&A.push(O(z.splice(0)))};for(let[e,t]of R){T.beginSection();let n=T.view(t),r=T.shownAs(t);!s&&r&&!ve(n)?z.push(await ye(e,n,r,o)):(B(),await P(e,t,3))}return B(),await M(),`${j.join(`
|
|
1
|
+
import{$t as e,Qn as t,Qt as n}from"./get-example-value-COf0TWTn.js";import{t as r}from"./dist-aU5svJ8D.js";import{St as i,d as a,h as o,jt as s,nt as c,p as l,tt as u,u as d,xt as f}from"./slugger-DkxnPIt5.js";import{a as p,c as m,d as h,f as g,g as _,h as v,i as y,l as b,m as x,n as S,o as C,p as w,r as T,s as E,t as D,u as O}from"./parse-description-vE2la_xE.js";import{i as k}from"./index-BvoGeeVi.js";var A=10,j=1e4,M=(r,i=j)=>{let a=new WeakMap,o=(r,s)=>{if(s>A||!t(r))return 1;let c=a.get(r)?.get(s);if(c!==void 0)return c;let l=n(r,e);if(!t(l)||l.example!==void 0||Array.isArray(l.examples)&&l.examples.length>0)return 1;let u=1,d=e=>{u<=i&&(u+=o(e,s+1))};t(l.properties)&&Object.values(l.properties).forEach(d),t(l.patternProperties)&&Object.values(l.patternProperties).forEach(d),t(l.additionalProperties)&&d(l.additionalProperties),l.items!==void 0&&d(l.items),Array.isArray(l.prefixItems)&&l.prefixItems.forEach(d),Array.isArray(l.allOf)&&l.allOf.forEach(d);let f=Array.isArray(l.anyOf)?l.anyOf:[],p=Array.isArray(l.oneOf)?l.oneOf:f,m=p.find(r=>{let i=n(r,e);return t(i)&&i.type!==`null`}),h=t(l.discriminator)&&l.discriminator.defaultMapping!==void 0?p:[p[0],m],g=0;for(let e of h)e!==void 0&&u<=i&&g<=i&&(g=Math.max(g,o(e,s+1)));u+=g;let _=a.get(r)??new Map;return _.set(s,u),a.set(r,_),u};return o(r,0)},N=(r,a,o,c=`3.2.0`,l=c,u=!1)=>{if(r.example!==void 0)return[{value:r.example}];if(r.examples&&Object.keys(r.examples).length)return Object.entries(r.examples).flatMap(([e,r])=>{let i=n(r);if(!t(i))return[];let a={name:e,summary:typeof i.summary==`string`?i.summary:void 0,description:typeof i.description==`string`?i.description:void 0};return i.value===void 0?/^3\.2\./.test(c)&&typeof i.serializedValue==`string`?[{...a,serializedValue:i.serializedValue}]:typeof i.externalValue==`string`?[{...a,externalValue:i.externalValue}]:/^3\.2\./.test(c)&&i.dataValue!==void 0?[{...a,dataValue:i.dataValue}]:[]:[{...a,value:i.value}]});let d=n(r.schema,e);if(!t(d))return[];if(d.example!==void 0)return[{value:d.example}];if(Array.isArray(d.examples)&&d.examples.length)return d.examples.map(e=>({value:e}));if(u)return[];if(M(r.schema)>j)return[{omitted:!0}];if(s(a)){let e=f(r.schema,void 0,{mode:o,openapiVersion:l});return[e.xml===void 0?{error:`Unable to generate an XML example.`,generated:!0}:{serializedValue:e.xml,generated:!0}]}let p=i(n(r.schema,e),{mode:o});return p===void 0?[]:[{value:p,generated:!0}]},P=new Set([`$ref`,`$ref-value`,`$global`,`$status`,`__scalar_`]),F=e=>{if(!t(e.schema))return;let r=e.schema,i=`$ref`in r&&Object.keys(r).every(e=>P.has(e))?n(r):r;return t(i)?i:r},I=e=>{let t=new Map,n=new WeakMap,r=0,i=0;return{get:(...e)=>{let[n,...i]=e,a=F(n);if(!a||n.example!==void 0||Object.keys(n.examples??{}).length)return N(...e);let o=JSON.stringify(i),s=t.get(a)?.get(o);if(s)return s;r>=256&&(t.clear(),r=0);let c=t.get(a)??new Map,l=N(...e);return c.set(o,l),t.set(a,c),r++,l},show:(t,r,a)=>{let o=F(t),s=o?n.get(o)??new Map:new Map,c=s.get(r);if(c?.value===a.value)return{id:c.id,previous:!0};let l=e.get(`example`,String(++i));return s.set(r,{id:l,value:a.value}),o&&n.set(o,s),{id:l,previous:!1}}}},L=async(e,t,n=`application/json`,r,i=`3.2.0`,a=i,{linked:o=!1,quiet:c=o,examples:l}={})=>{let u=[],d=(l?.get??N)(e,n,r,i,a,o);for(let o of d){if(`omitted`in o&&c)continue;let d=u.length,p=l&&o.generated,m=o.name?`Example: ${o.name}`:`Example:`;u.push(h(w(x(p?`Generated example:`:m))));let g=t=>{if(p){let o=JSON.stringify([n,r,i,a,t.lang]),s=l.show(e,o,t);if(s.previous){u.splice(d,u.length-d,h(b(`#${s.id}`,`Generated example`)));return}u.splice(d,0,v(s.id))}u.push(t)};if(`omitted`in o){u.push(h(y(x(`Generated example omitted because it is too large.`))));continue}if(o.summary&&u.push(h(x(o.summary))),u.push(...await t(o.description)),`error`in o){u.push(h(x(o.error)));continue}if(`externalValue`in o){u.push(h(w(x(`External value:`)),x(` `),b(o.externalValue,o.externalValue)));continue}if(`serializedValue`in o){let e=n.includes(`json`)?`json`:`text`;g({type:`code`,lang:s(n)?`xml`:e,value:o.serializedValue});continue}let _=s(n),S=`dataValue`in o?o.dataValue:o.value;if(_&&!e.schema&&`value`in o&&(typeof S!=`object`||!S)){g({type:`code`,lang:`xml`,value:String(S)});continue}let C=_?f(e.schema,o,{mode:r,openapiVersion:a}):void 0;_&&C?.xml===void 0?u.push(h(x(`Unable to generate an XML example.`))):g({type:`code`,lang:_?`xml`:`json`,value:C?.xml??JSON.stringify(S,null,2)??``})}return u},R=async(t,r,i,a,o=a,s)=>{let c=[];for(let[l,u]of Object.entries(t??{})){if(l.toLowerCase()===`content-type`||!n(u))continue;let t=n(u,e),d=[h(w(E(l)),x(t.required?` (required)`:``)),...await r(t.description)];`schema`in t&&t.schema!==void 0&&d.push(...i.render(t.schema)),(`example`in t||`examples`in t)&&d.push(...await L({example:t.example,examples:t.examples},r,`application/json`,void 0,a,o,{linked:i.linked,examples:s}));for(let[e,n]of Object.entries(`content`in t?t.content??{}:{}))d.push(h(w(x(`Content-Type:`)),x(` ${e}`))),n.schema!==void 0&&d.push(...i.render(n.schema)),d.push(...await L(n,r,e,void 0,a,o,{linked:i.linked,examples:s}));c.push(m(...d))}return c.length?[h(w(x(`Headers:`))),O(c)]:[]},z=async(e,t,n,r,i,a=i,o)=>{let s=t.startsWith(`multipart/`);if(!s&&t!==`application/x-www-form-urlencoded`)return[];let c=[];for(let[t,l]of Object.entries(e??{})){let e=[];for(let[t,n]of[[`contentType`,`Content-Type`],[`style`,`Style`],[`explode`,`Explode`],[`allowReserved`,`Allow reserved`]])l[t]!==void 0&&e.push(m(h(x(`${n}: `),E(l[t]))));let u=[h(w(E(t)))];e.length&&u.push(O(e)),s&&u.push(...await R(l.headers,n,r,i,a,o)),c.push(m(...u))}return c.length?[h(w(x(`Encoding:`))),O(c)]:[]},B=e=>typeof e==`string`?e:JSON.stringify(e)??``,ee=async(t,r)=>{let i=[];for(let[a,o]of Object.entries(t??{})){if(!n(o))continue;let t=n(o,e),s=[h(w(x(a))),...await r(t.description)];t.operationId&&s.push(h(w(x(`Operation ID:`)),x(` `),E(t.operationId))),t.operationRef&&s.push(h(w(x(`Operation reference:`)),x(` `),E(t.operationRef)));let c=Object.entries(t.parameters??{});c.length&&s.push(O(c.map(([e,t])=>m(h(w(x(`${e}:`)),x(` `),E(B(t))))))),t.requestBody!==void 0&&s.push(h(w(x(`Request body:`)),x(` `),E(B(t.requestBody)))),t.server&&s.push(h(w(x(`Server:`)),x(` `),E(t.server.url))),i.push(m(...s))}return i.length?[h(w(x(`Links:`))),O(i)]:[]},V={implicit:`implicit`,password:`password`,clientCredentials:`client credentials`,authorizationCode:`authorization code`,deviceAuthorization:`device authorization`},H=e=>{let t=e;switch(t.type){case`apiKey`:return[x(`API key in ${String(t.in??`header`)} `),E(t.name)];case`http`:{let e=typeof t.scheme==`string`?t.scheme.toLowerCase():``;return[x(`HTTP ${e||`authentication`}`),...typeof t.bearerFormat==`string`?[x(` (`),E(t.bearerFormat),x(`)`)]:[]]}case`oauth2`:{let e=Object.entries(typeof t.flows==`object`&&t.flows?t.flows:{}),n=[x(`OAuth 2.0`)];for(let[t,[r,i]]of e.entries()){let e=i;n.push(x(`${t?`; `:`: `}${V[r]??r}`));for(let[t,r]of[[`authorizationUrl`,`authorize`],[`deviceAuthorizationUrl`,`device authorization`],[`tokenUrl`,`token`],[`refreshUrl`,`refresh`]])typeof e[t]==`string`&&e[t]&&n.push(x(`, ${r} `),E(e[t]))}return n}case`openIdConnect`:return[x(`OpenID Connect `),E(t.openIdConnectUrl)];case`mutualTLS`:return[x(`Mutual TLS`)];default:return[E(t.type)]}},U=async(e,t,n,r=4,i=`3.2.0`)=>{if(!e)return[];let a=[C(r,x(`Authentication`))];e.length||a.push(h(x(`No authentication required.`)));for(let[r,o]of e.entries()){r&&a.push(h(x(`Or:`)));let e=Object.entries(o);if(!e.length){a.push(h(x(`No authentication required.`)));continue}let s=[];for(let[r,a]of e){let e=k(t?.[r],{overrideDescription:/^3\.[12]\./.test(i)}),o=[w(x(r))];e&&o.push(x(`: `),...H(e)),a?.length&&o.push(x(`, scopes: `),E(a.join(`, `))),s.push(m(h(...o),...await n(e?.description)))}a.push(O(s))}return a},W=[[`path`,`Path parameters`],[`query`,`Query parameters`],[`querystring`,`Query string`],[`header`,`Header parameters`],[`cookie`,`Cookie parameters`]],G=e=>h(w(x(`Content type:`)),x(` `),E(e)),te=(e,r)=>{if(Object.keys(e.headers??{}).length||Object.keys(e.links??{}).length)return;let i=Object.entries(e.content??{});if(!i.length)return;let a=[];for(let[e,o]of i){let i=n(o.schema);if(!t(i)||o.example!==void 0||o.examples||o.encoding||(r.has(i)||r.set(i,r.size),(t(o.schema)?Object.keys(o.schema).filter(e=>!e.startsWith(`$`)):[]).length))return;a.push(e,r.get(i))}return JSON.stringify(a)},K=e=>e===e.toLowerCase()&&u(e)?e.toUpperCase():e,ne=async(t,r,i,a,o,s,{description:c,schemas:l,examples:u,documentContext:d,level:f=3})=>{let g=e=>Math.min(6,f+e),_=K(i),y=t[`x-original-oas-version`]??t.openapi,S=o[`x-scalar-stability`],T=o.deprecated?` ⚠️ Deprecated`:``,D=(o.summary||`${_} ${r}`)+(S?` (${S})`:T),k=[p(`Method`,E(_)),p(s?`Webhook`:`Path`,E(r))];o.operationId&&k.push(p(`Operation ID`,E(o.operationId))),o.tags&&k.push(p(`Tags`,x(o.tags.join(`, `)))),S&&k.push(p(`Stability`,x(S)));let A=[C(g(0),x(D)),O(k),...await c(o.description)],j=o.servers??a.servers??t.servers,M,N;if(d&&o.servers===void 0&&(a.servers===void 0?M=d.servers:(M=d.pathServers.get(a),M===void 0&&(N=d.anchors.get(`context`,JSON.stringify([s?`webhook`:`path`,r]),`servers-${s?`webhook-`:``}${r}`),d.pathServers.set(a,N)))),M)A.push(h(w(x(`Servers:`)),x(` `),b(`#${M}`,`Inherited servers`)));else if(j!==void 0){N&&A.push(v(N)),A.push(C(g(1),x(`Effective servers`)));let e=[],t=j?.length?j:[{url:`/`}];for(let n of t){let t=[h(E(n.url)),...await c(n.description)],r=Object.entries(n.variables??{});r.length&&t.push(O(await Promise.all(r.map(async([e,t])=>m(h(x(`${e}: `),E(t.default),...t.enum?.length?[x(`, possible values: `),E(t.enum.join(`, `))]:[]),...await c(t.description)))))),e.push(m(...t))}A.push(O(e))}d?.authentication&&o.security===void 0?A.push(h(w(x(`Authentication:`)),x(` `),b(`#${d.authentication}`,`Global authentication`))):A.push(...await U(o.security??t.security,t.components?.securitySchemes,c,g(1),y));let P=new Map;for(let t of[...a.parameters??[],...o.parameters??[]]){let r=n(t,e);r&&P.set(`${r.in}:${r.name}`,r)}let F=[...W,...[...new Set([...P.values()].map(e=>e.in))].filter(e=>!W.some(([t])=>t===e)).map(e=>[e,`Parameters in ${e}`])];for(let[e,n]of F){let r=[];for(let n of P.values())n.in===e&&r.push(await re(n,{description:c,schemas:l,examples:u,openapiVersion:y,document:t}));r.length&&A.push(C(g(1),x(n)),O(r))}let I=n(o.requestBody,e);if(I){A.push(C(g(1),x(`Request body`)),...await c(I.description)),typeof I.required==`boolean`&&A.push(h(w(x(`Required:`)),x(` `),E(I.required)));for(let[e,n]of Object.entries(I.content??{}))A.push(G(e)),n.schema!==void 0&&A.push(...l.render(n.schema)),A.push(...await L(n,c,e,`write`,y,t.openapi,{linked:l.linked,examples:u})),A.push(...await z(n.encoding,e,c,l,y,t.openapi,u))}let B=Object.entries(o.responses??{}).flatMap(([t,r])=>{let i=n(r,e);return i?[{status:t,response:i}]:[]}),V=new Map,H=new Map;for(let e of B){let t=te(e.response,V)??`status:${e.status}`;H.set(t,[...H.get(t)??[],e])}B.length&&A.push(C(g(1),x(`Responses`)));for(let e of H.values()){let{response:n}=e[0];if(e.length>1)A.push(C(g(2),x(e.map(({status:e})=>e).join(`, `))),O(e.map(({status:e,response:t})=>m(h(E(e),...t.description?[x(` ${t.description}`)]:[])))));else{let{status:t}=e[0];A.push(C(g(2),x(`${t}${n.description?` ${n.description}`:``}`)))}A.push(...await R(n.headers,c,l,y,t.openapi,u),...await ee(n.links,c));for(let[e,r]of Object.entries(n.content??{}))A.push(G(e)),r.schema!==void 0&&A.push(...l.render(r.schema)),A.push(...await L(r,c,e,`read`,y,t.openapi,{linked:l.linked,examples:u}))}return A},re=async(e,{description:t,schemas:n,examples:r,openapiVersion:i,document:a})=>{let o=[e.required?`required`:``,e.deprecated?`deprecated`:``].filter(Boolean),s=[w(E(e.name),...o.length?[x(` (${o.join(`, `)})`)]:[])],c=`schema`in e?e.schema:void 0,l=c===void 0?[]:n.summarize(c),u=(e,t)=>{t!==void 0&&l.push(x(`${l.length?`, `:``}${e}: `),E(t))};`style`in e&&u(`style`,e.style),`explode`in e&&typeof e.explode==`boolean`&&u(`explode`,e.explode),e.allowEmptyValue&&u(`allowEmptyValue`,!0),`allowReserved`in e&&e.allowReserved&&u(`allowReserved`,!0),l.length&&s.push(x(`: `),...l);let d=[h(...s),...await t(e.description)];if(c!==void 0){let t=n.view(c).description;t?.trim()!==e.description?.trim()&&d.push(...T(t)),d.push(...n.render(c,0,[],{hideDetails:!0}))}(`example`in e||`examples`in e)&&d.push(...await L({example:e.example,examples:e.examples},t,`application/json`,`write`,i,a.openapi,{examples:r}));for(let[o,s]of Object.entries(`content`in e?e.content??{}:{}))d.push(G(o)),s.schema!==void 0&&d.push(...n.render(s.schema)),d.push(...await L(s,t,o,`write`,i,a.openapi,{linked:n.linked,examples:r}));return m(...d)},q=64,ie=1e5,J=new Set([`allOf`,`anyOf`,`oneOf`,`not`,`properties`,`required`,`items`,`additionalProperties`,`discriminator`,`minItems`,`maxItems`,`uniqueItems`]),Y=new Set([`$ref`,`$ref-value`,`$global`,`$status`]),X=e=>t(e)&&typeof e.$ref==`string`?e.$ref:void 0,Z=e=>{try{let t=/^#\/components\/schemas\/([^/]+)$/.exec(decodeURIComponent(e));return t?t[1].replaceAll(`~1`,`/`).replaceAll(`~0`,`~`):e}catch{return e}},ae=(e,n)=>{let r=t(e)?e.$ref:void 0;if(typeof r==`string`&&typeof n.schema==`object`&&!Object.keys(e).some(e=>J.has(e)))return n.allOf?.length||n.anyOf?.length||n.oneOf?.length||n.properties.length||n.not!==void 0||n.items!==void 0||n.additionalProperties!==void 0?Z(r):void 0},oe=e=>{let r=t(e)&&`$ref`in e&&Object.keys(e).some(e=>J.has(e))?e:n(e)??e;return typeof r==`object`&&r?r:void 0},se=r=>{let i=n(r),a=n(r,e);return typeof i==`boolean`?!t(a)||!Object.keys(a).some(e=>![`$ref`,`$ref-value`,`$global`,`$status`].includes(e))?i:i?a:{...a,allOf:[!1,...Array.isArray(a.allOf)?a.allOf:[]]}:a},ce=[`title`,`description`,`default`,`readOnly`,`writeOnly`,`deprecated`],le=new Set([...ce,...Y,`__scalar_`,`allOf`,`anyOf`,`oneOf`]),ue=new Set([`string`,`number`,`integer`,`boolean`,`null`]),de=e=>e===null?`null`:Array.isArray(e)?`array`:typeof e==`number`?Number.isInteger(e)?`integer`:`number`:typeof e,fe=e=>{let r=n(e);return t(r)?(Array.isArray(r.type)&&r.type.length===1?r.type[0]:r.type)===`null`&&Object.keys(r).every(e=>e===`type`||e===`title`||e===`description`||Y.has(e)):!1},pe=e=>{if(typeof e.schema!=`object`||Object.keys(e.schema).some(e=>!le.has(e))||e.type!==void 0||e.properties.length||e.required.size||e.items!==void 0||e.additionalProperties!==void 0||e.not!==void 0||e.discriminator||e.enum||e.const!==void 0)return;let t=e.allOf??[],n=e.anyOf??[],r=e.oneOf??[];if(t.length===1&&!n.length&&!r.length)return{core:t[0],nullable:!1};let i=n.length?n:r;if(t.length||n.length&&r.length||i.length!==2)return;let a=i.filter(e=>!fe(e));return a.length===1?{core:a[0],nullable:!0}:void 0},me=e=>{let t=e.map(t=>{let n=t.length===1?t[0]:void 0;return e.length>1&&n?.type===`inlineCode`&&n.value.startsWith(`array of `)?[E(`(${n.value})`)]:t}),n=[],r=[],i=()=>{r.length&&n.push(...n.length?[x(` | `)]:[],E(r.join(` | `))),r=[]};for(let e of t){let t=e.length===1?e[0]:void 0;t?.type===`inlineCode`?r.push(t.value):(i(),n.push(...n.length?[x(` | `)]:[],...e))}return i(),n},he=({maxNodes:r=ie}={})=>{let i=new WeakMap,a=new Set,o=e=>{let t=typeof e==`object`?i.get(e):void 0;if(t)return t;let n=se(e),r=typeof n==`object`?n:{},s=new Set(r.required??[]),c=Object.entries(r.properties??{}).filter(([,e])=>typeof e==`boolean`||typeof e==`object`&&!!e).sort(([e],[t])=>Number(s.has(t))-Number(s.has(e))||e.localeCompare(t)),l=n?`any`:`never`,u={...r,type:typeof n==`boolean`?l:r.type,schema:n,required:s,properties:c};u.name=ae(e,u);let d=typeof e==`object`&&!a.has(e)?pe(u):void 0;if(d&&typeof e==`object`){a.add(e);let t=o(d.core);a.delete(e);let n=Object.fromEntries(ce.flatMap(e=>u[e]===void 0?[]:[[e,u[e]]]));u={...t,...n,core:d.core,nullable:d.nullable||t.nullable}}return typeof e==`object`&&i.set(e,u),u},s=new WeakMap,c=e=>{if(typeof e!=`object`)return!0;let t=s.get(e);if(t!==void 0)return t;s.set(e,!1);let n=o(e),r=n.type===void 0?[]:[n.type].flat(),i=n.core===void 0?typeof n.schema==`boolean`||!n.properties.length&&n.items===void 0&&(n.additionalProperties===void 0||typeof n.additionalProperties==`boolean`)&&!n.allOf?.length&&!n.anyOf?.length&&!n.oneOf?.length&&n.not===void 0&&!n.discriminator&&r.every(e=>ue.has(e)):c(n.core);return s.set(e,i),i},l=e=>e.description!==void 0||e.format!==void 0||e.enum!==void 0||e.const!==void 0||e.default!==void 0||e.readOnly===!0||e.writeOnly===!0||e.deprecated===!0||e.additionalProperties===!1||u.some(t=>e[t]!==void 0),u=[`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`multipleOf`,`minLength`,`maxLength`,`pattern`,`minProperties`,`maxProperties`,`minItems`,`maxItems`,`uniqueItems`],d=e=>e.type===void 0?e.const===void 0?e.enum?.length?[...new Set(e.enum.map(de))]:e.properties.length||t(e.additionalProperties)?[`object`]:e.items===void 0?[]:[`array`]:[de(e.const)]:[e.type].flat(),f=(i={},a={},s)=>{let p=a.schemaReferences?.mode===`linked`,_=a.schemaReferences?.inlinePrimitives!==!1,v=new Map,S=new Set(Object.values(i).map(e=>n(e)??e)),C=0,D=e=>{if(!p&&!s||!t(e))return;let r=X(e);if(r!==void 0){let t=n(e)!==void 0;return!p&&!s?.has(Z(r))||t&&_&&c(e)?void 0:r}let i=o(e).core;return i===void 0?void 0:D(i)},k=e=>{let t=Z(e),n=a.schemaReferences?.resolveUrl?a.schemaReferences.resolveUrl({ref:e,name:t}):s?.get(t);return n&&g(n)?b(n,t):E(t)},A=e=>{let n={},r=e;for(;t(r);){for(let[e,t]of Object.entries(r))!Y.has(e)&&(!J.has(e)||u.some(t=>t===e)||e===`additionalProperties`&&t===!1)&&!(e in n)&&(n[e]=t);if(X(r)!==void 0)break;r=o(r).core}return o(n)},j=e=>D(e)===void 0?o(e):A(e),M=(e,n,r=0)=>{let i=o(e),a=n||s?D(e):void 0;if(a!==void 0){let n=X(e)===void 0&&i.nullable,r=t(e)&&Object.keys(e).some(e=>J.has(e));return{nodes:me([[k(a)],...n?[[E(`null`)]]:[]]),complete:!r}}if(typeof i.schema==`boolean`)return{nodes:[],complete:!0};let c=d(i),u=[],f=!i.properties.length&&!t(i.additionalProperties)&&i.not===void 0&&!i.discriminator&&!i.allOf?.length&&!(i.anyOf?.length&&i.oneOf?.length),p=i.anyOf?.length?i.anyOf:i.oneOf;if(p?.length){let e=r<8?p.map(e=>M(e,!0,r+1)):[];f&&!c.length&&e.length===p.length&&e.every((e,t)=>e.complete&&e.nodes.length&&!l(j(p[t])))?u.push(...e.map(e=>e.nodes)):f=!1}for(let e of c){if(e!==`array`||i.items===void 0){u.push([E(e)]);continue}let t=r<8?M(i.items,!0,r+1):void 0;if(!t?.complete||!t.nodes.length||l(j(i.items))){f=!1,u.push([E(`array`)]);continue}let n=t.nodes.length===1?t.nodes[0]:void 0;u.push(n?.type===`inlineCode`?[E(n.value.includes(` | `)?`array of (${n.value})`:`array of ${n.value}`)]:[x(`array of `),...t.nodes.length>1?[x(`(`),...t.nodes,x(`)`)]:t.nodes])}return!c.length&&i.items!==void 0&&(f=!1),i.nullable&&!c.includes(`null`)&&u.push(u.length||f?[E(`null`)]:[x(`nullable`)]),!u.length&&f&&u.push([E(`any`)]),{nodes:me(u),complete:f}},N=(e,{nested:t,label:n=M(e,t),showType:r=!0})=>{let i=(t||s!==void 0)&&D(e)!==void 0,a=i?A(e):o(e);if(typeof a.schema==`boolean`)return{line:[x(a.schema?`any (true schema)`:`never (false schema)`)]};let c=r?[...n.nodes]:[],l=(e,t)=>{t!==void 0&&c.push(x(`${c.length?`, `:``}${e}: `),E(t))},d=(e,t)=>{t&&c.push(x(`${c.length?`, `:``}${e}`))},f=X(e);!i&&a.name!==void 0&&(p&&f!==void 0?c.push(x(`${c.length?`, `:``}schema: `),k(f)):l(`schema`,a.name)),i&&a.type!==void 0&&l(`type`,[a.type].flat().join(` | `)),l(`format`,a.format),a.enum&&l(`possible values`,a.enum.map(e=>JSON.stringify(e)).join(`, `)),a.const!==void 0&&l(`const`,JSON.stringify(a.const)),a.default!==void 0&&l(`default`,JSON.stringify(a.default));for(let e of u)l(e,a[e]);for(let e of[`readOnly`,`writeOnly`,`deprecated`])d(e,a[e]);return d(`no additional properties`,a.additionalProperties===!1),{line:c,description:a.description??(i?o(e).description:void 0)}},P=(e,n,r,i)=>{let a=[],o=t(e)?Object.fromEntries(Object.entries(e).filter(([e])=>!Y.has(e))):{};if(Object.keys(o).length&&!n.hideDetails){let{line:e,description:t}=N(o,{nested:!1,showType:!1});e.length&&a.push(h(...e)),n.hideDescription||a.push(...T(t))}return a.push(h(y(x(`Schema `),E(r),x(` is shown ${i}.`)))),a},F=(e,t,n,r=!0)=>{if(n.hideDetails)return[];let{line:i,description:a}=N(e,{nested:t>0,showType:r});return[...i.length?[h(...i)]:[],...n.hideDescription?[]:T(a)]},I=(e,i=0,a=[],c={})=>{if((p||s)&&t(e)&&`$ref`in e&&typeof e.$ref==`string`){let r=n(e),o=Object.fromEntries(Object.entries(e).filter(([e])=>!Y.has(e))),l=Object.keys(o).length>0;if((i>0||s)&&D(e)!==void 0||r===void 0){let t=Object.fromEntries(Object.entries(o).filter(([e])=>J.has(e)));return[...F(e,Math.max(i,1),c),...Object.keys(t).length?I(t,i,a,{hideDetails:!0}):[]]}if(!s&&i===0&&(l||t(r)&&`$ref`in r))return[...l?[h(w(x(`All of:`)))]:[],...I(r,i+1,a),...l?I(o,i,a):[]]}let l=n(e)??e;if(typeof l==`object`&&a.includes(l))return[h(y(x(`[Circular Reference]`)))];let u=o(e),d=M(e,i>0);if(u.core!==void 0){let t=F(e,i,c);return d.complete?t:[...t,...I(u.core,i,a,{hideDetails:!0,hideDescription:!0,property:c.property})]}let f=oe(e),g=c.name??u.name;if(!s&&f&&g!==void 0){let t=v.get(f);if(t!==void 0){let n=c.name===void 0?c:{...c,hideDetails:!0};return P(e,n,t.name,`above`)}if(u.name!==void 0&&c.name===void 0&&i>=q&&S.has(f))return P(e,c,u.name,`below under Schemas`)}if(i>=q)return[h(x(`[Maximum schema depth reached]`))];if(C>=r)return[h(y(x(`[Schema output truncated]`)))];if(C++,f&&g!==void 0&&!v.has(f)&&v.set(f,{name:g,description:u.description}),typeof u.schema==`boolean`)return F(e,i,c);let _=[...a,l],b=[],A=Object.entries(u.discriminator?.mapping??{}),j=new Set,L=!1;if(!d.complete){for(let[e,t]of[[`allOf`,`All of:`],[`anyOf`,`Any of:`],[`oneOf`,`One of:`]]){if(!u[e]?.length)continue;let n=u[e].map(t=>{let n=I(t,i+1,_,{showType:!0}),r=X(t),a=e===`allOf`||r===void 0?[]:A.filter(([,e])=>e===r),o=n[0];if(a.length&&o?.type===`paragraph`){for(let[e]of a)j.add(e);o.children.push(x(`${o.children.length?`, `:``}${u.discriminator.propertyName}: `),E(a.map(([e])=>e).join(`, `)))}return m(...n)}),r=e!==`allOf`&&u.discriminator;b.push(h(w(x(t)),...r?[x(` discriminated by `),E(u.discriminator.propertyName)]:[]),O(n)),r&&(L=!0)}u.not!==void 0&&b.push(h(w(x(`Not:`))),...I(u.not,i+1,_))}let R=!c.showType&&!d.complete&&(u.type===`object`&&u.properties.length>0||u.type===`array`&&u.items!==void 0);if(b.push(...F(e,i,c,!R)),p||s){let e=new Set(u.properties.map(([e])=>e)),t=[...u.required].filter(t=>!e.has(t));t.length&&b.push(h(w(x(`Required fields:`)),x(` `),E(t.join(`, `))))}if(u.properties.length){let e=u.properties.map(([e,t])=>{let n=M(t,!0),{line:r,description:a}=N(t,{nested:!0,label:n}),o=[w(E(e),...u.required.has(e)?[x(` (required)`)]:[])];r.length&&o.push(x(`: `),...r);let s=[h(...o),...T(a)];return n.complete||s.push(...I(t,i+1,_,{hideDetails:!0,hideDescription:!0,property:!0})),m(...s)});b.push(O(e))}!d.complete&&u.items!==void 0&&(u.type===`array`||u.type===void 0||[u.type].flat().includes(`array`))&&b.push(h(w(x(c.property?`Items:`:`Array of:`))),...I(u.items,i+1,_)),t(u.additionalProperties)&&b.push(h(w(x(`Additional properties:`))),...I(u.additionalProperties,i+1,_));let z=A.filter(([e])=>!j.has(e));return u.discriminator&&(!L||z.length)&&(b.push(h(w(x(`Discriminator:`)),x(` `),E(u.discriminator.propertyName))),z.length&&b.push(O(z.map(([e,t])=>m(h(E(e),x(`: `),p||s?k(t):E(t))))))),b},L={items:`one`,additionalProperties:`one`,not:`one`,prefixItems:`list`,allOf:`list`,anyOf:`list`,oneOf:`list`,properties:`map`,patternProperties:`map`},R=(r,i)=>{if(!t(r))return r;if(!i&&D(r)!==void 0){let e=d(o(r));return e.includes(`array`)&&!e.includes(`object`)?{type:`array`,items:{}}:{type:`object`}}if(X(r)!==void 0){if(!i)return r;let a=n(r,e);if(!t(a))return a;let{$ref:o,...s}=a;return R(s,!0)}let a={...r};for(let[e,n]of Object.entries(L)){let i=r[e];n===`one`?a[e]=R(i,!1):n===`list`&&Array.isArray(i)?a[e]=i.map(e=>R(e,!1)):n===`map`&&t(i)&&(a[e]=Object.fromEntries(Object.entries(i).map(([e,t])=>[e,R(t,!1)]))),a[e]===void 0&&delete a[e]}return a};return{linked:p,view:o,render:I,exampleSchema:e=>p?R(e,!0):e,summarize:e=>N(e,{nested:!1}).line,beginSection:()=>{C=0},shownAs:e=>{let t=oe(e);return t?v.get(t):void 0},forDocument:f}};return f()},ge=(e,t)=>{let n=/^3\.2\./.test(t),r=e=>n?e.summary??e.name:e.name,i=new Map(e.map(e=>[e.name,e]));if(!n||i.size!==e.length)return e.map(e=>({tag:e,title:r(e)}));let a=new Map,o=new Map,s=new Set;for(let t of e){let e=[],n=new Set,c=[t];for(;c.length;){let t=c.pop();if(n.has(t.name)||s.has(t.name)){for(let t of e)a.set(t.name,r(t)),s.add(t.name);break}if(a.has(t.name))break;n.add(t.name),e.push(t);let o=t.parent===void 0?void 0:i.get(t.parent);o&&c.push(o)}for(let t of e.reverse()){if(a.has(t.name))continue;let e=t.parent===void 0?void 0:a.get(t.parent);a.set(t.name,e===void 0?r(t):`${e} › ${r(t)}`),e!==void 0&&t.parent!==void 0&&o.set(t.name,t.parent)}}let c=new Map,l=[];for(let t of e){let e=o.get(t.name);if(e===void 0)l.push(t);else{let n=c.get(e)??[];n.push(t),c.set(e,n)}}let u=[],d=l.reverse();for(;d.length;){let e=d.pop();u.push({tag:e,title:a.get(e.name)});let t=c.get(e.name)??[];for(let e of[...t].reverse())d.push(e)}return u},_e=r({bullet:`-`,join:[(e,t,n)=>{if(`spread`in n&&(e.type===`list`&&t.type!==`list`||e.type===`code`||t.type===`code`))return 1}]}),ve=e=>t(e.schema)&&(e.schema.example!==void 0||Array.isArray(e.schema.examples)&&e.schema.examples.length>0),ye=async(e,t,n,r)=>{let i=t.title&&t.title!==e?[w(x(t.title)),x(` (`),E(e),x(`)`)]:[E(e)];i.push(x(` — shown above`)),n.name!==e&&i.push(x(` as `),E(n.name)),i.push(x(`.`));let a=[h(...i)];return t.description&&t.description!==n.description&&a.push(...await r(t.description)),m(...a)},be=()=>{let t=D(),r=he();return async(i,a={})=>{let o=t(),s=[a.operation,a.webhook,a.model,a.tag,a.introduction].every(e=>e===void 0),c=_(),u=s?I(c):void 0,f=s?{anchors:c,servers:i.servers===void 0?void 0:c.get(`context`,`global-servers`),authentication:i.security===void 0?void 0:c.get(`context`,`global-authentication`),pathServers:new WeakMap}:void 0,g=s?new Map(Object.keys(i.components?.schemas??{}).map(e=>[e,`#${encodeURIComponent(c.get(`schema`,e))}`])):void 0,y=[{title:`Operations`,paths:i.paths,webhook:!1},{title:`Webhooks`,paths:i.webhooks,webhook:!0}].map(t=>{let r=[];for(let[i,a]of Object.entries(t.paths??{})){let o=l(a);o&&d(a,(a,l)=>{let u=`${K(a)} ${i}`;r.push({path:i,method:a,pathItem:o,operation:n(l,e),label:u,id:s?c.get(t.webhook?`webhook`:`operation`,JSON.stringify([i,a]),u):void 0})})}return{...t,entries:r}}),T=r.forDocument(i.components?.schemas,a,g),D=i[`x-original-oas-version`]??i.openapi,k=a.operation!==void 0||a.webhook!==void 0||a.model!==void 0,A=[],j=[],M=async()=>{if(!A.length)return;let e=A.splice(0);await S(e,o),j.push(_e({type:`root`,children:e}).trimEnd())};if(!k){let{info:e}=i,t=[p(`OpenAPI Version`,E(i.openapi))];if(e.version&&t.push(p(`API Version`,E(e.version))),e.termsOfService&&t.push(p(`Terms of service`,b(e.termsOfService,e.termsOfService))),e.contact){let n=[x(e.contact.name??``)];t.push(m(h(w(x(`Contact:`)),x(` `),...n,...e.contact.url?[x(` `),b(e.contact.url,e.contact.url)]:[],...e.contact.email?[x(` `),b(`mailto:${e.contact.email}`,e.contact.email)]:[])))}if(e.license&&t.push(p(`License`,e.license.url?b(e.license.url,e.license.name??``):x(e.license.name))),A.push(C(1,x(e.title)),O(t),...await o(e.description)),s){let e=[];for(let t of y)t.entries.length&&e.push(h(w(x(t.title))),O(t.entries.map(({id:e,label:t})=>m(h(b(`#${encodeURIComponent(e)}`,t))))));g?.size&&e.push(h(w(x(`Schemas`))),O([...g].map(([e,t])=>m(h(b(t,e)))))),e.length&&A.push(C(2,x(`Contents`)),...e)}if(i.servers?.length||s&&i.servers!==void 0){f?.servers&&A.push(v(f.servers)),A.push(C(2,x(`Servers`)));let e=(i.servers?.length?i.servers:[{url:`/`}]).map(e=>{let t=[];e.description&&t.push(p(`Description`,x(e.description)));let n=Object.entries(e.variables??{});n.length&&t.push(m(h(w(x(`Variables:`))),O(n.map(([e,t])=>m(h(E(e),x(` (default: `),E(t.default),x(`)`),...s&&t.enum?.length?[x(`, possible values: `),E(t.enum.join(`, `))]:[],x(t.description?`: ${t.description}`:``)))))));let r=p(`URL`,E(e.url));return t.length&&r.children.push(O(t)),r});A.push(O(e))}if(f?.authentication&&A.push(v(f.authentication)),A.push(...await U(i.security,i.components?.securitySchemes,o,2,D)),i.tags?.length){A.push(C(2,x(`Tags`)));for(let{tag:e,title:t}of ge(i.tags,D))A.push(C(3,x(t)),...await o(e.description)),e.externalDocs&&A.push(h(b(e.externalDocs.url,e.externalDocs.description??e.externalDocs.url)))}await M()}for(let e of y){let t=!1;for(let{path:n,pathItem:r,method:a,operation:s,id:c}of e.entries)!t&&!k&&A.push(C(2,x(e.title))),t=!0,T.beginSection(),c&&A.push(v(c)),A.push(...await ne(i,n,a,r,s,e.webhook,{description:o,schemas:T,examples:u,documentContext:f,level:k?1:3})),await M()}let N=Object.entries(i.components?.schemas??{}).sort(([e],[t])=>Number(t===a.model)-Number(e===a.model)),P=async(e,t,n)=>{let r=T.view(t),l=T.summarize(t);if(s&&A.push(v(c.get(`schema`,e))),A.push(C(n,x(r.title??e))),l.length&&A.push(h(w(x(`Type:`)),x(`\xA0`),...l)),A.push(...await o(r.description),...T.render(t,0,[],{hideDetails:!0,name:e})),r.type===`object`||ve(r)){let n=e===a.model;A.push(...await L({schema:n?T.exampleSchema(t):t},o,`application/json`,void 0,D,i.openapi,{linked:T.linked&&!n,quiet:T.linked,examples:u}))}await M()},F=N.find(([e])=>e===a.model);F&&(T.beginSection(),await P(F[0],F[1],1));let R=N.filter(([e])=>e!==a.model);R.length&&A.push(C(2,x(`Schemas`)));let z=[],B=()=>{z.length&&A.push(O(z.splice(0)))};for(let[e,t]of R){T.beginSection();let n=T.view(t),r=T.shownAs(t);!s&&r&&!ve(n)?z.push(await ye(e,n,r,o)):(B(),await P(e,t,3))}return B(),await M(),`${j.join(`
|
|
2
2
|
|
|
3
3
|
`)}\n`}},Q=new Set(c),xe=e=>{let t=e.toLowerCase();return Q.has(t)?t:null},Se=e=>{if(/~(?![01])/.test(e))throw Error(`Invalid JSON pointer escape in "${e}"`);if(e.startsWith(`#/`))return e.slice(1);if(e.startsWith(`/`))return e;throw Error(`Invalid JSON pointer "${e}". JSON pointers must start with "#/"`)},Ce=e=>Se(e).slice(1).split(`/`).map(e=>e.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`)),we=e=>{let t=Ce(e);if(t[0]!==`paths`||!(t.length===3||t.length===4&&t[2]===`additionalOperations`))throw Error(`JSON pointer "${e}" must target an operation object under "/paths/{path}/{method}"`);let n=t[1],r=t.length===4?t[3]:t[2];if(!n||!r||(t.length===3?!Q.has(r):Q.has(r)))throw Error(`JSON pointer "${e}" must target an operation object under "/paths/{path}/{method}"`);return{path:n,method:r}},Te=e=>{let n=e.paths;return t(n)?Object.entries(n).flatMap(([e,t])=>{let n=l(t);return n?[[e,n]]:[]}):[]},$=(e,t)=>{let n=Object.fromEntries(Object.entries(e).filter(([e])=>!Q.has(e)&&e!==`additionalOperations`));return d(e,(e,r)=>{t.includes(e)&&o(n,e,r)}),n},Ee=(e,t)=>a(e,t)?t:xe(t),De=(e,t)=>{let n=Ee(l(e.paths?.[t.path]),t.method);if(!n)throw Error(`Invalid HTTP method "${t.method}". Supported methods: ${c.join(`, `)}`);let r=e.paths?.[t.path];if(!a(r,n))throw Error(`Operation not found for path "${t.path}" and method "${n.toUpperCase()}"`);return{path:t.path,method:n}},Oe=e=>{let t=new Map,r=new Map;for(let[i,a]of Te(e))d(a,(e,o)=>{let s=n(o);if(typeof s?.operationId==`string`){let n=t.get(s.operationId)??[];n.push({path:i,method:e}),t.set(s.operationId,n)}for(let t of new Set(s?.tags)){let n=r.get(t)??[],o=n.at(-1);o?.path===i?o.methods.push(e):n.push({path:i,pathItem:a,methods:[e]}),r.set(t,n)}});return{byId:t,byTag:r}},ke=e=>{let t,n;return{operationsById:()=>(t??=Oe(e)).byId,operationsByTag:()=>(t??=Oe(e)).byTag,schemaPositions:()=>n??=new Map(Object.keys(e.components?.schemas??{}).map((e,t)=>[e,t]))}},Ae=(e,t,n)=>{if(`pointer`in t){let n=we(t.pointer);if(!a(e.paths?.[n.path],n.method))throw Error(`Operation not found at JSON pointer "${t.pointer}"`);return n}if(`operationId`in t){let e=n.operationsById().get(t.operationId)??[];if(!e.length)throw Error(`Operation with operationId "${t.operationId}" was not found`);if(e.length>1){let n=e.map(({path:e,method:t})=>`"${t.toUpperCase()} ${e}"`);throw Error(`Multiple operations found for operationId "${t.operationId}". Use { path, method } instead. Matches: ${n.join(`, `)}`)}return e[0]}return De(e,t)},je=(e,t,n)=>{let r=Ae(e,t,n),i=l(e.paths?.[r.path]);if(!i)throw Error(`Operation not found for path "${r.path}" and method "${r.method.toUpperCase()}"`);return{...e,paths:{[r.path]:$(i,[r.method])}}},Me=(e,r={},i=ke(e))=>{if(!t(r))throw Error(`Render options must be an object`);let s=Object.keys(r).filter(e=>e!==`schemaReferences`&&r[e]!==void 0);if(!s.length)return e;if(s.length!==1||![`operation`,`tag`,`model`,`webhook`,`introduction`].includes(s[0]))throw Error(`Specify exactly one of operation, tag, model, webhook, or introduction`);if(r.introduction!==void 0&&r.introduction!==!0)throw Error(`Introduction selector must be true`);for(let e of[`tag`,`model`])if(r[e]!==void 0&&(typeof r[e]!=`string`||!r[e].length))throw Error(`${e} selector must be a non-empty string`);if(r.operation!==void 0){let e=r.operation;if(!t(e)||!(Object.keys(e).length===1&&(`operationId`in e?typeof e.operationId==`string`&&e.operationId.length:`pointer`in e&&typeof e.pointer==`string`&&e.pointer.length)||Object.keys(e).length===2&&`path`in e&&typeof e.path==`string`&&`method`in e&&typeof e.method==`string`))throw Error(`Invalid operation selector. Use { path, method }, { operationId }, or { pointer }`)}let c={...e,paths:{},webhooks:{},tags:[]},u=[];if(r.operation&&(c.paths=je(e,r.operation,i).paths),r.tag!==void 0){let t=e.tags?.filter(e=>e.name===r.tag)??[];if(t.length>1)throw Error(`Multiple tags found for "${r.tag}"`);c.tags=t.length?t:[{name:r.tag}];for(let{path:e,pathItem:t,methods:n}of i.operationsByTag().get(r.tag)??[])c.paths[e]=$(t,n);if(!t.length&&!Object.keys(c.paths??{}).length)throw Error(`Tag "${r.tag}" was not found`)}if(r.model!==void 0){let t=e.components?.schemas?.[r.model];if(t===void 0||!Object.hasOwn(e.components?.schemas??{},r.model))throw Error(`Model "${r.model}" was not found`);u.push(t)}if(r.webhook!==void 0){let n=r.webhook;if(!t(n)||typeof n.name!=`string`||!n.name||typeof n.method!=`string`||Object.keys(n).length!==2)throw Error(`Invalid webhook selector. Use { name, method }`);let i=l(e.webhooks?.[n.name]),o=Ee(i,n.method);if(!o)throw Error(`Invalid HTTP method "${n.method}"`);if(!i||!a(i,o))throw Error(`Webhook "${n.name}" with method "${o.toUpperCase()}" was not found`);c.webhooks={[n.name]:$(i,[o])}}let f=new Set,p=new Set;for(let t of[c.paths,c.webhooks])for(let[i,a]of Object.entries(t??{})){let s=l(a),c={...s,additionalOperations:s.additionalOperations?{...s.additionalOperations}:void 0,parameters:void 0,servers:void 0};d(s,(t,i)=>{let a=n(i);if(!a)return;let l=new Map;for(let e of[...s.parameters??[],...a.parameters??[]]){let t=n(e);t&&l.set(`${t.in}:${t.name}`,e)}let u=a.security??e.security;for(let e of u??[])for(let t of Object.keys(e))f.add(t);for(let e of a.tags??[])p.add(e);o(c,t,{...a,parameters:[...l.values()],servers:a.servers??s.servers??e.servers,security:u,tags:r.tag===void 0?a.tags:[r.tag]})}),t[i]=c}if((r.operation||r.webhook)&&(c.tags=e.tags?.filter(e=>p.has(e.name))??[]),r.introduction)for(let t of e.security??[])for(let e of Object.keys(t))f.add(e);else c.servers=[],c.security=void 0;let m=e.components?.schemas??{},h=new Set(r.model===void 0?[]:[r.model]),g=new WeakSet,_=new Set,v=new Set([`example`,`examples`,`default`,`enum`,`const`,`value`,`dataValue`]),y=new Set([`paths`,`webhooks`,`responses`,`content`,`headers`,`links`,`encoding`,`variables`,`parameters`,`requestBodies`,`securitySchemes`,`pathItems`,`callbacks`,`mediaTypes`,`additionalOperations`,`schemas`,`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`]),b=(e,t=0)=>{if(e&&typeof e==`object`&&!g.has(e)){if(g.add(e),!t&&`$ref`in e&&typeof e.$ref==`string`){let r=e.$ref;if(!_.has(r)){if(_.add(r),r.startsWith(`#/components/schemas/`)){let e=Ce(r)[2];Object.hasOwn(m,e)&&(h.add(e),b(m[e]))}b(n(e),t)}}for(let[n,r]of Object.entries(e))if(n!==`$ref-value`&&(t||!v.has(n)&&!n.startsWith(`x-`))){let e=t-1;if(!t){let t=+!!y.has(n);e=n===`callbacks`?2:t}b(r,e)}}};if(r.schemaReferences?.mode!==`linked`){b({paths:c.paths,webhooks:c.webhooks});for(let e of u)b(e)}let x=i.schemaPositions();return c.components={...e.components,schemas:Object.fromEntries([...h].filter(e=>x.has(e)).sort((e,t)=>x.get(e)-x.get(t)).map(e=>[e,m[e]])),securitySchemes:Object.fromEntries(Object.entries(e.components?.securitySchemes??{}).filter(([e])=>f.has(e)))},c},Ne=async(e,t)=>await be()(Me(e,t),t);export{Ne as createMarkdownFromOpenApi};
|