UNPKG

redoc

Version:

API reference documentation for OpenAPI, AsyncAPI, and GraphQL

13,621 lines • 2.01 MB
/** 
* @license MIT
* (c) Copyright 2026 Redocly LLC, all rights reserved.
* -------------------------------------------------------------
* Version: 3.0.1
**/
import React,{Component,Fragment,cloneElement,createContext,createElement,forwardRef,isValidElement,memo,startTransition,useCallback,useContext,useDebugValue,useEffect,useId,useLayoutEffect,useMemo,useReducer,useRef,useState,useSyncExternalStore,useTransition}from"react";import{styled,ServerStyleSheet,createGlobalStyle,css,keyframes,styled as styled$1}from"styled-components";import{Fragment as Fragment$1,jsx,jsxs}from"react/jsx-runtime";import{BrowserRouter,Link,MemoryRouter,useHref,useInRouterContext,useLocation,useNavigate,useNavigationType}from"react-router";import{createPortal}from"react-dom";const{RedoclyApiDocs,RedocStandalone,RedoclyApiDocsStandalone,convertSwagger2OpenAPI,logoFromSpec,prepareApiDocs}=(()=>{var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),d=s(((e,t)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case`INPUT`:case`TEXTAREA`:t.blur();break;default:t=null}return e.removeAllRanges(),function(){e.type===`Caret`&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}})),f=s(((e,t)=>{var n=d(),r={"text/plain":`Text`,"text/html":`Url`,default:`Text`},i=`Copy to clipboard: #{key}, Enter`;function a(e){var t=(/mac os x/i.test(navigator.userAgent)?`⌘`:`Ctrl`)+`+C`;return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var o,s,c,l,u,d,f=!1;t||={},o=t.debug||!1;try{if(c=n(),l=document.createRange(),u=document.getSelection(),d=document.createElement(`span`),d.textContent=e,d.ariaHidden=`true`,d.style.all=`unset`,d.style.position=`fixed`,d.style.top=0,d.style.clip=`rect(0, 0, 0, 0)`,d.style.whiteSpace=`pre`,d.style.webkitUserSelect=`text`,d.style.MozUserSelect=`text`,d.style.msUserSelect=`text`,d.style.userSelect=`text`,d.addEventListener(`copy`,function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),n.clipboardData===void 0){o&&console.warn(`unable to use e.clipboardData`),o&&console.warn(`trying IE specific stuff`),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),l.selectNodeContents(d),u.addRange(l),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);f=!0}catch(n){o&&console.error(`unable to copy using execCommand: `,n),o&&console.warn(`trying IE specific stuff`);try{window.clipboardData.setData(t.format||`text`,e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(n){o&&console.error(`unable to copy using clipboardData: `,n),o&&console.error(`falling back to prompt`),s=a(`message`in t?t.message:i),window.prompt(s,e)}}finally{u&&(typeof u.removeRange==`function`?u.removeRange(l):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return f}t.exports=o})),p,m,h=o((()=>{p=u(f()),m=class{static copyCustom(e){return(0,p.default)(e)}static selectElement(e){if(!e)return;let t,n;document.body.createTextRange?(t=document.body.createTextRange(),t.moveToElementText(e),t.select()):document.createRange&&window.getSelection&&(n=window.getSelection(),t=document.createRange(),t.selectNodeContents(e),n?.removeAllRanges(),n?.addRange(t))}}})),g,_=o((()=>{g=(e,t=`currentColor`)=>e?.startsWith(`--`)?`var(${e})`:e||t}));function v(e,t=1){return e.split(y).map((e,n)=>`<span class='line' data-line-number='${t+n}'>${e}</span>`).join(`
`)}var y,b=o((()=>{y=/\n(?!$)/g})),x,S,C=o((()=>{x=`mcp-server`,S=[`cursor`,`vscode`,`claude`,`claude-code`,`codex`,`copy`],[...S]}));function w(e){let t={url:e.url,description:`MCP Server`},n=btoa(JSON.stringify(t));return`cursor://anysphere.cursor-deeplink/mcp/install?name=${e.serverName}&config=${n}`}function T(e){let t={name:e.serverName,url:e.url,type:`http`};return`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t))}`}function E(e){return`https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=${encodeURIComponent(e.serverName)}&connectorUrl=${encodeURIComponent(e.url)}`}function D(e,t){switch(e){case`cursor`:return w(t);case`vscode`:return T(t);case`claude`:return E(t)}}var O=o((()=>{C()})),k,ee=o((()=>{k={small:`672px`,medium:`960px`,large:`1280px`,max:`1504px`}}));function te(e,t){let n={};for(let[r,i]of ae)n[r]=`var(${`--${e}-${i}`}${t?`,var(--${t}-${i})`:``})`;return n}function ne(e,t){return css`
    ${te(e,t)}
  `}function re(){let e=``;for(let t of Object.values(ie)){let n=`--code-block-tokens-${t}-color`;e+=`.token.${t} { color: var(${n})}; }\n`}return css`
    pre& {
      color: var(--code-block-tokens-default-color);
    }
    ${e}
  `}var ie,ae,oe=o((()=>{ie=function(e){return e.Comment=`comment`,e.Prolog=`prolog`,e.Doctype=`doctype`,e.Cdata=`cdata`,e.Punctuation=`punctuation`,e.Property=`property`,e.Tag=`tag`,e.Number=`number`,e.Constant=`constant`,e.Symbol=`symbol`,e.Boolean=`boolean`,e.Selector=`selector`,e.String=`string`,e.Char=`char`,e.Builtin=`builtin`,e.Inserted=`inserted`,e.Operator=`operator`,e.Entity=`entity`,e.Url=`url`,e.Variable=`variable`,e.Atrule=`atrule`,e.AttrValue=`attr-value`,e.AttrName=`attr-name`,e.Keyword=`keyword`,e.Regex=`regex`,e.Important=`important`,e.Bold=`bold`,e.Italic=`italic`,e.Deleted=`deleted`,e.ClassName=`class-name`,e.Function=`function`,e}(ie||{}),ae=Object.entries({fontSize:`font-size`,fontWeight:`font-weight`,fontFamily:`font-family`,lineHeight:`line-height`,color:`text-color`,textTransform:`text-transform`})}));function se(...e){return e.map(e=>e&&e.trim()).filter(Boolean).join(ce)}var ce,le=o((()=>{ce=` `})),ue=o((()=>{})),de=o((()=>{})),fe,pe=o((()=>{fe={STACKED:`stacked`,THREE_PANEL:`three-panel`}})),me,he,ge,_e,ve=o((()=>{pe(),me={"font-awesome":`https://cdn.redocly.com/icons/fa/7.0.0`,code:`https://cdn.redocly.com/icons/code/5.24.0`},he=function(e){return e.RATING=`rating`,e.SENTIMENT=`sentiment`,e.COMMENT=`comment`,e.MOOD=`mood`,e.PROBLEM=`problem`,e.SCALE=`scale`,e}({}),he.SENTIMENT,ge=function(e){return e.Select=`select`,e.Separator=`separator`,e.DrillDown=`drilldown`,e.Group=`group`,e.Operation=`operation`,e.Default=`default`,e}({}),_e={LIGHT:`light`,DARK:`dark`}}));function ye(e,...t){let n=e;for(let e of t)n=e?n.replace(/(?<![/\\])[/\\]+$/,``)+`/`+e.replace(/^[/\\]+/,``):n;return n}function be(e){return ye(Se(),e)}function xe(e){let t=Se();return t?t===e?`/`:e.startsWith(t)?e.slice(t.length):e:e}function Se(){return{}.REDOCLY_PREFIX_PATHS?Ce({}.REDOCLY_PREFIX_PATHS):``}function Ce(e){let t=Te(e);return we(t===`.`?``:t)}function we(e){return e.startsWith(`/`)?e:`/${e}`}function Te(e){return e.endsWith(`/`)&&e!==`/`?e.substring(0,e.length-1):e}var Ee=o((()=>{ve()}));function De(){return typeof window<`u`&&`HTMLElement`in window}var Oe=o((()=>{})),ke=o((()=>{})),Ae=o((()=>{})),je=o((()=>{}));function Me(e){let t=new Map,n=e.split(`, `);for(let e of n){let[n,r]=e.split(` `);t.set(r,n)}return t}var Ne=o((()=>{}));function Pe(e){return e===void 0}var Fe=o((()=>{})),Ie,Le=o((()=>{Ie=typeof window<`u`&&`HTMLElement`in window})),Re=o((()=>{}));function ze(e,t){return`urn:redocly:realm:ui:${e}:${t}`}var Be=o((()=>{}));function Ve(e,t,n){return{id:e,object:t,uri:n??ze(t,e)}}var He=o((()=>{Be()})),Ue=o((()=>{He()}));function We(e){return e.type===ge.Select?ge.Select:e.type===ge.Separator?ge.Separator:e.menuStyle===`drilldown`?ge.DrillDown:e.items?.length||e.type===ge.Group&&e.items?.length?ge.Group:e.httpVerb?ge.Operation:ge.Default}var Ge=o((()=>{ve(),Ee(),Ue()}));function Ke(){let e=typeof document<`u`&&document.querySelectorAll(`nav`)||[];for(let t=0;t<e.length;t++)if(e[t].getBoundingClientRect().height>1)return e[t];return e[0]||null}var qe=o((()=>{}));function Je(e){Xe=e,document.documentElement.classList.toggle(`nprogress-busy`,e!==null),Ze.forEach(e=>e())}async function Ye(e){let t=Symbol();return Je(t),e.finally(()=>{Xe===t&&Je(null)})}var Xe,Ze,Qe=o((()=>{Xe=null,Ze=new Set}));async function $e({navigate:e,to:t,origin:n=`browser`,options:r}){et=t;let{pathname:i,hash:a,search:o}=new URL(t,window.location.origin+window.location.pathname),s=window.__LOADER,c=await Ye(s.tryLoad(i));if(c?.redirectTo)return $e({navigate:e,to:c.redirectTo,origin:n,options:r});if(c&&et===t){if((i!==window.location.pathname||o!==window.location.search)&&e({pathname:i,search:o,hash:a},{...r,state:{origin:n},unstable_flushSync:!0}),c.props?.disableAutoScroll)return;if(a){let e=document.getElementById(a.slice(1));if(e){let t=Ke()?.offsetHeight??0,n=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:n,behavior:`smooth`})}}else window.scrollTo(0,0)}}var et,A=o((()=>{qe(),Qe()})),tt=o((()=>{})),nt=o((()=>{})),rt=o((()=>{})),it=o((()=>{}));function at(e,t=150){return typeof e==`string`?e.length<=t?e:`${e.slice(0,t).trimEnd()}...`:e}var ot=o((()=>{})),st=o((()=>{Fe()})),ct=o((()=>{})),lt=o((()=>{st(),ct()})),ut=s(((e,t)=>{(function(t,n){typeof define==`function`&&define.amd?define([],n):e===void 0?(n(),t.FileSaver={exports:{}}.exports):n()})(e,function(){function e(e,t){return t===void 0?t={autoBom:!1}:typeof t!=`object`&&(console.warn(`Deprecated: Expected third argument to be a object`),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function n(e,t,n){var r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function r(e){var t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{var t=document.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof globalThis==`object`&&globalThis.global===globalThis?globalThis:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=a.saveAs||(typeof window!=`object`||window!==a?function(){}:`download`in HTMLAnchorElement.prototype&&!o?function(e,t,o){var s=a.URL||a.webkitURL,c=document.createElement(`a`);t=t||e.name||`download`,c.download=t,c.rel=`noopener`,typeof e==`string`?(c.href=e,c.origin===location.origin?i(c):r(c.href)?n(e,t,o):i(c,c.target=`_blank`)):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:`msSaveOrOpenBlob`in navigator?function(t,a,o){if(a=a||t.name||`download`,typeof t!=`string`)navigator.msSaveOrOpenBlob(e(t,o),a);else if(r(t))n(t,a,o);else{var s=document.createElement(`a`);s.href=t,s.target=`_blank`,setTimeout(function(){i(s)})}}:function(e,t,r,i){if(i||=open(``,`_blank`),i&&(i.document.title=i.document.body.innerText=`downloading...`),typeof e==`string`)return n(e,t,r);var s=e.type===`application/octet-stream`,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||s&&c||o)&&typeof FileReader<`u`){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,f=d.createObjectURL(e);i?i.location=f:location.href=f,i=null,setTimeout(function(){d.revokeObjectURL(f)},4e4)}});a.saveAs=s.saveAs=s,t!==void 0&&(t.exports=s)})})),dt=o((()=>{})),ft=o((()=>{ut(),Ee(),dt(),lt()})),pt,mt,ht=o((()=>{pt=`Markdoc/Accordion/Accordion`,mt=`[data-component-name='${pt}']`})),gt=o((()=>{})),_t=o((()=>{})),vt,yt=o((()=>{vt=function(e){return e.SearchDocumentation=`search_documentation`,e.ListApis=`list-apis`,e.GetEndpoints=`get-endpoints`,e.GetEndpointInfo=`get-endpoint-info`,e.GetSecuritySchemes=`get-security-schemes`,e.GetFullApiDescription=`get-full-api-description`,e.Execute=`execute`,e.DescribeTools=`describe-tools`,e.ContactSupport=`contact-support`,e}({})})),bt,xt=o((()=>{yt(),bt=function(e){return e.Unauthorized=`ai_search_unauthorized`,e.Forbidden=`ai_search_forbidden`,e.HttpRequestFailed=`http_request_in_failed_status`,e.EmptyResponse=`empty_response`,e.ErrorProcessingResponse=`error_processing_response`,e}({}),bt.Forbidden,bt.Unauthorized,bt.HttpRequestFailed,bt.EmptyResponse,bt.ErrorProcessingResponse,vt.SearchDocumentation,vt.ListApis,vt.GetEndpoints,vt.GetEndpointInfo,vt.GetSecuritySchemes,vt.GetFullApiDescription,vt.Execute,vt.DescribeTools,vt.ContactSupport})),St=o((()=>{})),Ct=o((()=>{})),wt=o((()=>{})),Tt,Et=o((()=>{Tt=5e3})),Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It=o((()=>{Dt=`heading-anchor`,Ot=`anchor`,kt=`heading-level`,At=`${kt}-1`,jt=`${kt}-2`,Mt=`${kt}-3`,Nt=`${kt}-4`,Pt=`${kt}-5`,Ft=`${kt}-6`})),Lt=o((()=>{})),Rt=o((()=>{})),zt=o((()=>{Object.freeze({CURSOR:`cursor`,CLAUDE:`claude`,CHATGPT:`chatgpt`})})),Bt=o((()=>{ht(),ve(),gt(),_t(),xt(),St(),Ct(),wt(),C(),Et(),It(),Lt(),Rt(),zt()})),Vt,Ht,Ut=o((()=>{F(),Bt(),Vt=e=>{let{name:t,type:n,pack:r,mode:i,color:a,...o}=e,s=me[r||`font-awesome`],c=r===`code`?``:n?n+`/`:`regular/`,l=i===`background`?{backgroundImage:`url(${s}/${c}${t}.svg)`,backgroundRepeat:`no-repeat`,backgroundPosition:`center`,backgroundSize:`contain`}:{backgroundColor:a?g(a):`currentColor`,maskImage:`url(${s}/${c}${t}.svg)`,maskRepeat:`no-repeat`,maskPosition:`center`,maskSize:`contain`};return jsx(`svg`,{...o,style:{...l,display:`inline-block`,verticalAlign:`middle`}})},Ht=styled(Vt).attrs({"data-component-name":`icons/CDNIcon/CDNIcon`})`
  height: ${({size:e})=>e||`var(--icon-height, 1em)`};
  width: ${({size:e})=>e||`var(--icon-width, 1em)`};
`}));function Wt(e){let t=Kt[e]||`document`;return jsx(Ht,{name:t,pack:`code`,mode:`background`})}function Gt(e){let t=Kt[e]||qt[e]||`document`;return jsx(Ht,{name:t,pack:`code`,mode:`background`})}var Kt,qt,Jt=o((()=>{Ut(),Kt={yaml:`yaml`,yml:`yaml`,json:`json`,js:`javascript`,ts:`typescript`,css:`css`,html:`html`,jsx:`react`,tsx:`react`,md:`markdown`,graphql:`graphql`,gql:`graphql`,py:`python`,sh:`console`,xsh:`console`,nu:`console`,java:`java`,ps:`powershell`,php:`php_elephant`,go:`go`,ruby:`ruby`,swift:`swift`,kotlin:`kotlin`,rust:`rust`,scala:`scala`,elixir:`elixir`,dart:`dart`,http:`http`,rest:`http`,c:`c`,h:`c`,hpp:`c`,cc:`c`,cpp:`c`,cxx:`c`,"c++":`c`,sql:`database`,hbs:`handlebars`,cs:`csharp`,csx:`csharp`,csharp:`csharp`,markdoc:`markdoc`,mdoc:`markdoc`,mdx:`mdx`},qt={bash:`console`,python:`python`,java:`java`,graphql:`graphql`,javascript:`javascript`,typescript:`typescript`,react:`react`,markdown:`markdown`,php:`php_elephant`,ruby:`ruby`,swift:`swift`,kotlin:`kotlin`,rust:`rust`,scala:`scala`,elixir:`elixir`,dart:`dart`,csharp:`csharp`,objectivec:`c`,perl:`perl`,sql:`database`,xml:`xml`,vim:`vim`,lua:`lua`,zsh:`console`,fish:`console`,powershell:`console`,handlebars:`handlebars`,markdoc:`markdoc`,mdx:`mdx`}}));function Yt(){return globalThis.SSR_USER_AGENT||(typeof navigator<`u`?navigator.userAgent:``)}var Xt=o((()=>{}));function Zt(e){return e.split(`;`).filter(e=>e.trim().length).reduce((e,t)=>{let n=t.indexOf(`:`);if(n===-1)return e;let r=t.substring(0,n).trim(),i=t.substring(n+1).trim();if(r&&i){let t=r.replace(/-[a-z]/g,e=>e[1].toUpperCase());e[t]=i}return e},{})}var Qt=o((()=>{})),$t=o((()=>{Ae()})),en=o((()=>{}));function tn(e){if(!e||typeof e!=`string`)return{type:`invalid`,reason:`Icon must be a non-empty string`};let t=e.trim();if(t.match(/\.(svg|png|jpg|jpeg|gif|ico|webp)$/)||/^https?:\/\//.test(t))return{type:`link`,value:t};let[n,r]=t.split(/\s+/);if(n){if(r)return nn.includes(n)&&rn.test(r)?{type:`font-awesome`,style:n,name:r}:{type:`invalid`,reason:`Unrecognized icon format`};if(!nn.includes(n)&&rn.test(n))return{type:`font-awesome`,name:n,style:`regular`}}return{type:`invalid`,reason:`Unrecognized icon format`}}var nn,rn,an=o((()=>{nn=[`solid`,`regular`,`duotone`,`brands`],rn=/^[a-z0-9-]+$/i})),on=o((()=>{})),sn=o((()=>{}));function cn({deprecated:e,isAdditionalOperation:t,httpVerb:n}){return e?`http-deprecated`:t?`http-additional-operation`:n}var ln=o((()=>{})),un=o((()=>{})),dn=o((()=>{})),fn=o((()=>{Bt(),dn()})),pn=o((()=>{})),mn=o((()=>{})),hn=o((()=>{}));function gn(e,t,n){return n===void 0?t===`loading`?null:e?M:j:n}var j,M,_n=o((()=>{j=2500,M=4e3}));function vn(e){let t=Sn.indexOf(e),n=[];for(let e=1;e<Sn.length;e++)n.push(Sn[(t+e)%Sn.length]);return n}function yn(e,t,n){let r=()=>n===`left`?e.left-24:n===`right`?e.right+24:e.left+e.width/2,i=()=>e.top+e.height/2;switch(t){case`top`:return{top:e.top,left:r()};case`bottom`:return{top:e.bottom,left:r()};case`left`:return{top:i(),left:e.left};case`right`:return{top:i(),left:e.right}}}function N({anchor:e,tooltipWidth:t,tooltipHeight:n,placement:r,arrowPosition:i}){let a=()=>i===`left`?e.left:i===`right`?e.left-t:e.left-t/2,o=()=>e.top-n/2,s,c;switch(r){case`top`:s=e.top-n-xn,c=a();break;case`bottom`:s=e.top+xn,c=a();break;case`left`:s=o(),c=e.left-t-xn;break;case`right`:s=o(),c=e.left+xn}return s>=0&&c>=0&&c+t<=window.innerWidth&&s+n<=window.innerHeight}function bn({triggerRect:e,tooltipWidth:t,tooltipHeight:n,placement:r,arrowPosition:i,fallbackPlacements:a}){if(!a?.length||t===0||n===0)return r;let o=[r,...a];for(let a of o){let o=a===r?i:`center`;if(N({anchor:yn(e,a,o),tooltipWidth:t,tooltipHeight:n,placement:a,arrowPosition:o}))return a}return r}var xn,Sn,Cn=o((()=>{xn=10,Sn=[`top`,`left`,`bottom`,`right`]})),wn=o((()=>{He()})),Tn=o((()=>{})),En=o((()=>{}));function P(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var Dn=o((()=>{}));function On(e,t,n=`start`){let r={start:e.left+t<=window.innerWidth,end:e.right-t>=0},i=n===`end`?`start`:`end`;return r[n]||!r[i]?n:i}var kn=o((()=>{})),An=o((()=>{})),F=o((()=>{h(),_(),b(),O(),ee(),oe(),le(),ue(),de(),Ee(),Oe(),ke(),Ae(),je(),Ne(),Fe(),Le(),Re(),Ge(),Ue(),A(),tt(),nt(),rt(),it(),qe(),Qe(),ot(),lt(),ft(),Jt(),st(),ct(),dt(),Xt(),Qt(),$t(),en(),an(),on(),sn(),ln(),un(),fn(),pn(),mn(),hn(),_n(),Cn(),He(),wn(),Tn(),En(),Dn(),kn(),An()})),jn,Mn,Nn=o((()=>{F(),jn=e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M3.84997 2.35009C3.27647 2.79018 2.77103 3.31247 2.34997 3.90009L3.14997 4.50009C3.5172 3.99081 3.9549 3.53627 4.44997 3.15009L3.84997 2.35009Z`}),jsx(`path`,{d:`M2.29997 6.15009L1.34997 5.85009C1.10845 6.54077 0.98999 7.26847 0.999972 8.00009H1.99997C1.99794 7.37116 2.09929 6.74616 2.29997 6.15009Z`}),jsx(`path`,{d:`M1.34997 10.2001C1.58185 10.8973 1.91909 11.5549 2.34997 12.1501L3.14997 11.5501C2.78851 11.044 2.50221 10.4882 2.29997 9.90009L1.34997 10.2001Z`}),jsx(`path`,{d:`M3.89997 13.6501C4.49514 14.081 5.15275 14.4182 5.84997 14.6501L6.14997 13.7001C5.56184 13.4979 5.00608 13.2116 4.49997 12.8501L3.89997 13.6501Z`}),jsx(`path`,{d:`M5.84997 1.35009L6.14997 2.30009C6.74604 2.09942 7.37103 1.99806 7.99997 2.00009V1.00009C7.26835 0.990112 6.54065 1.10858 5.84997 1.35009Z`}),jsx(`path`,{d:`M12.1 13.6501C12.6889 13.2111 13.211 12.689 13.65 12.1001L12.85 11.5001C12.4781 12.022 12.0219 12.4783 11.5 12.8501L12.1 13.6501Z`}),jsx(`path`,{d:`M13.7 9.85009L14.65 10.1501C14.8675 9.45352 14.9853 8.72968 15 8.00009H14C14.002 8.62903 13.9007 9.25403 13.7 9.85009Z`}),jsx(`path`,{d:`M14.6 5.80009C14.3681 5.10288 14.0309 4.44526 13.6 3.85009L12.8 4.45009C13.1614 4.9562 13.4477 5.51196 13.65 6.10009L14.6 5.80009Z`}),jsx(`path`,{d:`M12.05 2.30009C11.4548 1.86921 10.7972 1.53197 10.1 1.30009L9.79997 2.25009C10.3881 2.45233 10.9439 2.73863 11.45 3.10009L12.05 2.30009Z`}),jsx(`path`,{d:`M10.15 14.6501L9.84997 13.7001C9.25391 13.9008 8.62891 14.0021 7.99997 14.0001V15.0001C8.72667 14.9568 9.44706 14.8395 10.15 14.6501Z`})]}),Mn=styled(jn).attrs({"data-component-name":`icons/CircleDashIcon/CircleDashIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`}));Nn();var Pn=keyframes`
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg);
  }
`,Fn=styled(Mn).attrs({"data-component-name":`icons/Spinner/Spinner`})`
  animation: 2s ${Pn} linear infinite;
`,In,Ln=o((()=>{In=createContext(null)}));function Rn(e=!0){let t=useContext(In);if(!t?.config)return{};let{config:n,hooks:r}=t,{useCurrentProduct:i}=r,a=i();return e&&a?.configOverride?{...n,...a.configOverride,analytics:n.analytics}:n}var zn=o((()=>{Ln()})),Bn,Vn,Hn=o((()=>{Bn=300,Vn=(e=!1)=>{let[t,n]=useState(e),r=useRef(null),i=useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return useEffect(()=>i,[i]),{isOpened:t,handleOpen:useCallback(()=>{i(),r.current=setTimeout(()=>{n(!0)},Bn)},[i]),handleClose:useCallback(()=>{i(),n(!1)},[i])}}})),Un=o((()=>{})),Wn=o((()=>{})),Gn=o((()=>{F(),Bt()})),Kn=s(((e,t)=>{var n=`Expected a function`,r=NaN,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,l=typeof globalThis==`object`&&globalThis&&globalThis.Object===Object&&globalThis,u=typeof self==`object`&&self&&self.Object===Object&&self,d=l||u||Function(`return this`)(),f=Object.prototype.toString,p=Math.max,m=Math.min,h=function(){return d.Date.now()};function g(e,t,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,g=!0;if(typeof e!=`function`)throw TypeError(n);t=x(t)||0,v(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?p(x(r.maxWait)||0,t):o,g=`trailing`in r?!!r.trailing:g);function _(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n),s}function y(e){return u=e,c=setTimeout(C,t),d?_(e):s}function b(e){var n=e-l,r=e-u,i=t-n;return f?m(i,o-r):i}function S(e){var n=e-l,r=e-u;return l===void 0||n>=t||n<0||f&&r>=o}function C(){var e=h();if(S(e))return w(e);c=setTimeout(C,b(e))}function w(e){return c=void 0,g&&i?_(e):(i=a=void 0,s)}function T(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function E(){return c===void 0?s:w(h())}function D(){var e=h(),n=S(e);if(i=arguments,a=this,l=e,n){if(c===void 0)return y(l);if(f)return c=setTimeout(C,t),_(l)}return c===void 0&&(c=setTimeout(C,t)),s}return D.cancel=T,D.flush=E,D}function _(e,t,r){var i=!0,a=!0;if(typeof e!=`function`)throw TypeError(n);return v(r)&&(i=`leading`in r?!!r.leading:i,a=`trailing`in r?!!r.trailing:a),g(e,t,{leading:i,maxWait:t,trailing:a})}function v(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function y(e){return!!e&&typeof e==`object`}function b(e){return typeof e==`symbol`||y(e)&&f.call(e)==`[object Symbol]`}function x(e){if(typeof e==`number`)return e;if(b(e))return r;if(v(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=v(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(i,``);var n=o.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}t.exports=_}));function qn(e){let[t,n]=useState(0);return useEffect(()=>{let e=Ke();n(e&&e.clientHeight||0)},[e.pathname]),useEffect(()=>{window.requestAnimationFrame(()=>{let e=Ke();n(e&&e.clientHeight||0)})},[]),t}var Jn=o((()=>{qe()}));function Yn(e,t=!1,n=!0,r=150){let[i,a]=useState(``),o=qn(e),s=(n?o:0)+r,c=useMemo(()=>(0,Zn.default)(()=>{if(!Ie)return;let e=document.querySelectorAll(`[data-section-id]`);if(e.length<2){a(``);return}if(window.scrollY<=0){a(e[0].getAttribute(`data-section-id`)||``);return}for(let t=0;t<e.length;t++){let n=e[t],r=n.getBoundingClientRect();if(r.y<s&&r.bottom>s){if(Xn(n))continue;a(n.getAttribute(`data-section-id`)||``);return}}t&&a(``)},150),[s,t]);return useEffect(()=>{if(!Ie)return;window.addEventListener(`scroll`,c,{capture:!1});let e=setTimeout(()=>{c()},10);return()=>{clearTimeout(e),c.cancel(),window.removeEventListener(`scroll`,c)}},[e,s,c]),i}function Xn(e){return typeof e.checkVisibility==`function`&&!e.checkVisibility({contentVisibilityAuto:!0})}var Zn,Qn=o((()=>{Zn=u(Kn()),Jn(),Le()}));function $n(e,t){let n=useRef(null),r=useRef(null),i=e=>{e.key===`Escape`?t():e.key===`Tab`&&(!e.shiftKey&&document.activeElement===r.current?(e.preventDefault(),n.current?.focus()):e.shiftKey&&document.activeElement===n.current&&(e.preventDefault(),r.current?.focus()))},a=()=>{let t=Array.from(e.current?.querySelectorAll(`input, textarea, select, button, [href], [tabindex]:not([tabindex="-1"])`)??[]).filter(e=>!e.hasAttribute(`disabled`)&&(typeof e.checkVisibility!=`function`||e.checkVisibility()));t.length>0&&(n.current=t[0],r.current=t[t.length-1])};useEffect(()=>(document.addEventListener(`keydown`,i),()=>{document.removeEventListener(`keydown`,i)}),[]),useEffect(()=>{a()})}var er=o((()=>{})),tr=o((()=>{Kn()}));function nr(e,t){useEffect(()=>{let n=Array.isArray(e)?e:[e],r=e=>{if(!t)return;let r=e.target;n.some(e=>e.current&&e.current.contains(r))||t(e)};return document.addEventListener(`mousedown`,r),document.addEventListener(`touchstart`,r),()=>{document.removeEventListener(`mousedown`,r),document.removeEventListener(`touchstart`,r)}},[e,t])}var rr=o((()=>{})),ir,ar=o((()=>{ir=()=>({send:()=>{},sendErrorMessage:()=>{},sendClientErrorMessage:()=>{},sendCatalogEntitiesFilterCheckboxToggledMessage:()=>{},sendCatalogEntitiesCopyDataSchemaClickedMessage:()=>{},sendCatalogEntitiesViewModeChangedMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchResultClickedMessage:()=>{},sendCatalogEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesListSearchResultClickedMessage:()=>{},sendRedirectMessage:()=>{},sendCustomMessage:()=>{},sendSearchAIQueryMessage:()=>{},sendSearchAiOpenedMessage:()=>{},sendSearchAIFeedbackMessage:()=>{},sendLoginClickedMessage:()=>{},sendLoginProviderClickedMessage:()=>{},sendLogoutClickedMessage:()=>{},sendBannerViewedMessage:()=>{},sendBannerLinkClickedMessage:()=>{},sendBannerDismissedMessage:()=>{},sendBreadcrumbClickedMessage:()=>{},sendCatalogActionsClickedMessage:()=>{},sendCatalogFilterChangedMessage:()=>{},sendCatalogItemClickedMessage:()=>{},sendScorecardLinkClickedMessage:()=>{},sendFilterCheckboxToggledMessage:()=>{},sendFeedbackMessage:()=>{},sendFooterItemClickedMessage:()=>{},sendNavbarMenuItemClickedMessage:()=>{},sendColorModeSwitchedMessage:()=>{},sendLanguagePickerChangedMessage:()=>{},sendProductPickerChangedMessage:()=>{},sendLogoClickedMessage:()=>{},sendCodeSnippetReportedMessage:()=>{},sendConnectMcpClickedMessage:()=>{},sendMcpConnectionSnippetCopiedMessage:()=>{},sendPromptTagCopiedMessage:()=>{},sendPromptTagOpenedMessage:()=>{},sendMobileMenuClosedMessage:()=>{},sendMobileMenuOpenedMessage:()=>{},sendPageViewedMessage:()=>{},sendPageTimeMessage:()=>{},sendPageActionsClickedMessage:()=>{},sendPageEditClickedMessage:()=>{},sendSidebarDrilldownBackClickedMessage:()=>{},sendSidebarItemClickedMessage:()=>{},sendSidebarExpandedMessage:()=>{},sendSidebarCollapsedMessage:()=>{},sendChangeLayoutClickedMessage:()=>{},sendRequestApiAccessClickedMessage:()=>{},sendVersionPickerChangedMessage:()=>{},sendSearchInputResetClickedMessage:()=>{},sendSearchResultClickedMessage:()=>{},sendSearchRecentRemoveClickedMessage:()=>{},sendSearchRecentClickedMessage:()=>{},sendSearchOpenedMessage:()=>{},sendSearchQueryMessage:()=>{},sendTocItemClickedMessage:()=>{},sendOpenapiDocsMessage:()=>{},sendCopyCodeSnippetClickedMessage:()=>{},sendViewedMessage:()=>{},sendPerformanceMetricsMessage:()=>{},sendDownloadDefinitionClickedMessage:()=>{},sendSelectLanguageClickedMessage:()=>{},sendExpandCollapseAllClickedMessage:()=>{},sendSwitchServersClickedMessage:()=>{},sendExamplesSwitcherClickedMessage:()=>{},sendTryItOpenedMessage:()=>{},sendViewSecurityDetailsClickedMessage:()=>{},sendViewSecurityDetailsClosedMessage:()=>{},sendAsyncapiDocsViewedMessage:()=>{},sendAsyncapiDocsPerformanceMetricsMessage:()=>{},sendAsyncapiDocsSwitchMessageClickedMessage:()=>{},sendAsyncapiDocsSwitchExampleClickedMessage:()=>{},sendAsyncapiDocsMessageClickedMessage:()=>{},sendAsyncapiDocsServerModalOpenedMessage:()=>{},sendAsyncapiDocsDownloadDefinitionClickedMessage:()=>{},sendAsyncapiDocsReferencedInClickedMessage:()=>{},sendGraphqlDocsViewedMessage:()=>{},sendGraphqlDocsPerformanceMetricsMessage:()=>{},sendGraphqlDocsDownloadDefinitionClickedMessage:()=>{},sendGraphqlDocsReferencedInLinkClickedMessage:()=>{},sendGraphqlDocsRequiredScopesModalOpenedMessage:()=>{}})})),or,sr,cr=o((()=>{Ln(),ar(),or={useTranslate:()=>({translate:(e,t)=>(typeof t==`string`?t:t?.defaultValue)||e||``}),useTranslationKeys:()=>[],useSubmitFeedback:()=>({submitFeedback:()=>{}}),useTelemetry:ir,useOtelTelemetry:()=>({send:()=>{}}),useBreadcrumbs:()=>({breadcrumbs:[],siblings:void 0}),useBanner:()=>({banner:void 0,dismissBanner:()=>{}}),useConsent:()=>({enabled:!1,config:void 0,mode:void 0,state:void 0,decided:!1,gpc:!1,isDialogOpen:!1,openDialog:()=>{},closeDialog:()=>{},accept:()=>{},reject:()=>{},save:()=>{}}),useCodeHighlight:()=>({highlight:e=>e}),useUserMenu:()=>({}),usePageData:()=>null,usePageProps:()=>({}),usePageSharedData:()=>null,useMcpData:()=>({docs:{enabled:!1}}),useSearchFeatures:()=>({}),useNavigationTabs:()=>void 0},sr=()=>{let e=useContext(In);return new Proxy({},{get(t,n){if(e&&n in e.hooks)return e.hooks[n];if(n in or)return or[n];throw Error(`Unknown hook ${n.toString()}`)}})}}));function lr(e){let t=useRef(null);useEffect(()=>{if(typeof window>`u`||typeof document>`u`)return;let{body:n,documentElement:r}=document,i=()=>{if(!t.current)return;let{overflow:e,paddingRight:i,scrollbarWidth:a}=t.current;n.style.overflow=e,n.style.paddingRight=i,a?r.style.setProperty(`--modal-scrollbar-width`,a):r.style.removeProperty(`--modal-scrollbar-width`),t.current=null};if(e&&!t.current){t.current={overflow:n.style.overflow,paddingRight:n.style.paddingRight,scrollbarWidth:r.style.getPropertyValue(`--modal-scrollbar-width`)||null};let e=window.innerWidth-r.clientWidth;n.style.overflow=`hidden`,e>0&&(n.style.paddingRight=`${e}px`,r.style.setProperty(`--modal-scrollbar-width`,`${e}px`))}else!e&&t.current&&i();return()=>{i()}},[e])}var ur=o((()=>{})),dr=o((()=>{ur()}));function fr({storageKey:e,storageType:t=`localStorage`,serializer:n={parse:e=>JSON.parse(e),serialize:e=>JSON.stringify(e)}}){let r=new Set,i,a=e=>typeof e!=`string`;return{getValue:n=>{if(!De())return n;if(i!==void 0)return i;let r=window[t].getItem(e);if(!r)return i=n,i;if(!a(n))return i=r,i;try{i=JSON.parse(r)}catch{i=n}return i},setValue:o=>{if(De())try{window[t].setItem(e,a(o)?n.serialize(o):o),i=o,r.forEach(e=>e())}catch{return}},subscribe:e=>(r.add(e),()=>{r.delete(e)})}}function pr(e,t){return[useSyncExternalStore(e.subscribe,()=>e.getValue(t),()=>t),e.setValue]}var mr=o((()=>{Oe()})),hr=o((()=>{jo(),zn(),cr(),mr(),Bt(),F(),fr({storageKey:`colorSchema`})})),gr,_r,vr,yr,br=o((()=>{mr(),Oe(),gr=`recentSearches`,_r=5,vr=fr({storageKey:gr}),yr=()=>{let[e,t]=pr(vr,[]),n=useCallback((n,r)=>{if(!De())return;let i=[...e],a=i.indexOf(n);a!==-1&&i.splice(a,1),r&&i.unshift(n);let o=i.slice(0,_r);t(o)},[e,t]);return{items:e,addSearchHistoryItem:useCallback(e=>{n(e,!0)},[n]),removeSearchHistoryItem:useCallback(e=>{n(e,!1)},[n])}}})),xr=o((()=>{zn()}));function Sr(e){return e.active||e.hasActiveSubItem||e.expanded===`true`||e.expanded===`always`}function Cr(e){let[t,n]=useState(Sr(e)),[r,i]=useState(Sr(e));return useEffect(()=>{n(r)},[r]),useEffect(()=>{let t=Sr(e);n(t),i(t)},[e.modified?e.active:e,e.hasActiveSubItem,e.expanded]),[t,i]}var wr=o((()=>{}));function Tr({isExpanded:e,collapseElRef:t,onTransitionStateChange:n=()=>{}}){let r=useRef(e),[i,a]=useState(!1),o=jr(n),s=useRef(void 0),c=useRef(void 0);return Mr(()=>{let n=t.current;if(!n||e===r.current)return;r.current=e;function i(e){return Er(e)}let l=e=>`height ${i(e)}ms ${Nr}`,u=t=>{function r(){e?(Ar(n,{height:``,overflow:``,transition:``,display:``,pointerEvents:`auto`}),o(`expandEnd`)):(Ar(n,{transition:``,pointerEvents:``}),o(`collapseEnd`)),a(!1)}c.current&&kr(c.current),c.current=Or(r,t)};return a(!0),e?s.current=requestAnimationFrame(()=>{o(`expandStart`),Ar(n,{display:`block`,overflow:`hidden`,pointerEvents:`none`,height:Pr}),s.current=requestAnimationFrame(()=>{o(`expanding`);let e=Dr(t);u(i(e)),t.current&&(t.current.style.transition=l(e),t.current.style.height=`${e}px`)})}):s.current=requestAnimationFrame(()=>{o(`collapseStart`);let e=Dr(t);u(i(e)),Ar(n,{transition:l(e),height:`${e}px`,pointerEvents:`none`}),s.current=requestAnimationFrame(()=>{o(`collapsing`),Ar(n,{height:Pr,overflow:`hidden`})})}),()=>{s.current&&cancelAnimationFrame(s.current),c.current&&kr(c.current)}},[e,t,o]),{isExpanded:e,style:!i&&!e?{display:`none`,height:Pr,overflow:`hidden`}:{}}}function Er(e){if(!e||typeof e==`string`)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Dr(e){return e.current?.scrollHeight??0}function Or(e,t){let n=performance.now(),r={};function i(){r.id=requestAnimationFrame(r=>{r-n>t?e():i()})}return i(),r}function kr(e){e.id&&cancelAnimationFrame(e.id)}function Ar(e,t){if(e)for(let n in t){let r=t[n];r?e.style[n]=r:e.style.removeProperty(n)}}function jr(e){let t=useRef(e);return useEffect(()=>{t.current=e}),useCallback((...e)=>t.current?.(...e),[])}var Mr,Nr,Pr,Fr=o((()=>{Mr=typeof window>`u`?useEffect:useLayoutEffect,Nr=`cubic-bezier(0.4, 0, 0.2, 1)`,Pr=`0px`}));function eee({item:e,labelRef:t,nestedMenuRef:n}){let[r,i]=Cr(e),[a,o]=useState(!r),s=useNavigate(),c=useLocation(),{style:l}=Tr({isExpanded:r,collapseElRef:n||{current:null},onTransitionStateChange:e=>{e===`collapseEnd`&&o(!0),e===`expandStart`&&o(!1),e===`expandEnd`&&t?.current?.dispatchEvent(new CustomEvent(`menu:expand-end`,{bubbles:!0}))}});function u(e,t=!1){let n=e.getBoundingClientRect();n.top>=0&&n.left>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&n.right<=(window.innerWidth||document.documentElement.clientWidth)&&typeof e.scrollIntoViewIfNeeded==`function`&&e.scrollIntoViewIfNeeded(t)}return useEffect(()=>{e.active&&t&&t.current&&u(t.current,!0)},[t,e.active]),useEffect(()=>{e.active&&r&&t&&t.current&&u(t.current)},[t,r,e.active]),{isExpanded:r,canUnmount:a,style:l,handleExpand:useCallback(async()=>{if(e.expanded===`always`||e.link&&e.hasActiveSubItem&&e.link!==xe(c.pathname))return;let[t]=e.items;!r&&e.selectFirstItemOnExpand&&t.link&&await $e({navigate:s,to:be(t.link)}),i(!r)},[e,r,s,c.pathname,i])}}var tee=o((()=>{wr(),Fr(),A(),Ee()})),nee=o((()=>{cr(),zn(),ve(),Ge()})),ree=o((()=>{cr(),zn(),ve()}));function Ir(){let{codeSnippet:{report:e={}}={}}=Rn(),[t,n]=useState(!1),{tooltipText:r,buttonText:i,label:a}=e,{useTranslate:o,useSubmitFeedback:s}=sr(),{translate:c}=o(),{submitFeedback:l}=s(),u=()=>{n(!0)},d=()=>{setTimeout(function(){n(!1)},3e3)},f=()=>{n(!1)},p={onClick:u,buttonText:i||c(`codeSnippet.report.buttonText`,`Report`),tooltip:r||c(`codeSnippet.report.tooltipText`,`Report a problem`),hide:e?.hide===!0};return{reportDialog:{visible:t,props:{settings:{label:a||c(`codeSnippet.report.label`,`What is wrong with this code?`)},onSubmit:d,onCancel:f,submitFeedback:l}},reportButton:{props:p}}}var Lr=o((()=>{cr(),zn()})),iee=o((()=>{}));function aee({count:e,activeIndex:t,onChange:n}){let r=useId(),i=t>=0?t:0,a=useRef([]),o=useCallback(e=>{n(e),a.current[e]?.focus()},[n]),s=useCallback((t,n)=>{let r={ArrowRight:(n+1)%e,ArrowLeft:(n-1+e)%e,Home:0,End:e-1}[t.key];r!==void 0&&(t.preventDefault(),o(r))},[e,o]);return{tabListProps:{role:`tablist`},getTabProps:e=>({id:`${r}-tab-${e}`,role:`tab`,"aria-selected":e===t,"aria-controls":`${r}-panel-${e}`,tabIndex:e===i?0:-1,ref:t=>{a.current[e]=t},onClick:()=>o(e),onKeyDown:t=>s(t,e)}),getTabPanelProps:e=>({id:`${r}-panel-${e}`,role:`tabpanel`,"aria-labelledby":`${r}-tab-${e}`})}}var oee=o((()=>{}));function see(e){useEffect(()=>{let t=e.current;if(!t)return;let n=t.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`),r=n[0],i=e=>{if(e.key===`Tab`){let t=n[n.length-1];e.shiftKey&&document.activeElement===r?(t?.focus(),e.preventDefault()):!e.shiftKey&&document.activeElement===t&&(r?.focus(),e.preventDefault())}};return t.addEventListener(`keydown`,i),r&&r.focus(),()=>{t.removeEventListener(`keydown`,i)}},[e])}var Rr=o((()=>{})),cee=o((()=>{Rt(),Rr()})),lee=o((()=>{cr(),He()})),uee=o((()=>{cr(),Ee()})),dee=o((()=>{})),fee=o((()=>{dee(),cr(),F()}));function zr(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent(`on${t}`,function(){n(window.event)})}function Br(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function Vr(e){typeof e!=`string`&&(e=``),e=e.replace(/\s/g,``);for(var t=e.split(`,`),n=t.lastIndexOf(``);n>=0;)t[n-1]+=`,`,t.splice(n,1),n=t.lastIndexOf(``);return t}function pee(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,a=0;a<n.length;a++)r.indexOf(n[a])===-1&&(i=!1);return i}function Hr(e){li=e||`all`}function Ur(){return li||`all`}function Wr(){return si.slice(0)}function Gr(){return si.map(function(e){return fi(e)||pi(e)||String.fromCharCode(e)})}function Kr(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return(t.isContentEditable||(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`)&&!t.readOnly)&&(r=!1),r}function qr(e){return typeof e==`string`&&(e=di(e)),si.indexOf(e)!==-1}function Jr(e,t){var n,r;for(var i in e||=Ur(),ai)if(Object.prototype.hasOwnProperty.call(ai,i))for(n=ai[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;Ur()===e&&Hr(t||`all`)}function Yr(e){var t=e.keyCode||e.which||e.charCode,n=si.indexOf(t);if(n>=0&&si.splice(n,1),e.key&&e.key.toLowerCase()===`meta`&&si.splice(0,si.length),(t===93||t===224)&&(t=91),t in ii)for(var r in ii[t]=!1,ni)ni[r]===t&&($r[r]=!1)}function Xr(e){if(e===void 0)Object.keys(ai).forEach(function(e){return delete ai[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&mi(e)});else if(typeof e==`object`)e.key&&mi(e);else if(typeof e==`string`){var t=[...arguments].slice(1),n=t[0],r=t[1];typeof n==`function`&&(r=n,n=``),mi({key:e,scope:n,method:r,splitKey:`+`})}}function Zr(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope===`all`){for(var a in i=t.mods.length>0,ii)Object.prototype.hasOwnProperty.call(ii,a)&&(!ii[a]&&t.mods.indexOf(+a)>-1||ii[a]&&t.mods.indexOf(+a)===-1)&&(i=!1);(t.mods.length===0&&!ii[16]&&!ii[18]&&!ii[17]&&!ii[91]||i||t.shortcut===`*`)&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&=!0)}}}function Qr(e,t){var n=ai[`*`],r=e.keyCode||e.which||e.charCode;if($r.filter.call(this,e)){if((r===93||r===224)&&(r=91),si.indexOf(r)===-1&&r!==229&&si.push(r),[`ctrlKey`,`altKey`,`shiftKey`,`metaKey`].forEach(function(t){var n=ri[t];e[t]&&si.indexOf(n)===-1?si.push(n):!e[t]&&si.indexOf(n)>-1?si.splice(si.indexOf(n),1):t===`metaKey`&&e[t]&&si.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(si=si.slice(si.indexOf(n))))}),r in ii){for(var i in ii[r]=!0,ni)ni[i]===r&&($r[i]=!0);if(!n)return}for(var a in ii)Object.prototype.hasOwnProperty.call(ii,a)&&(ii[a]=e[ri[a]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState(`AltGraph`)&&(si.indexOf(17)===-1&&si.push(17),si.indexOf(18)===-1&&si.push(18),ii[17]=!0,ii[18]=!0);var o=Ur();if(n)for(var s=0;s<n.length;s++)n[s].scope===o&&(e.type===`keydown`&&n[s].keydown||e.type===`keyup`&&n[s].keyup)&&Zr(e,n[s],o,t);if(r in ai){for(var c=0;c<ai[r].length;c++)if((e.type===`keydown`&&ai[r][c].keydown||e.type===`keyup`&&ai[r][c].keyup)&&ai[r][c].key){for(var l=ai[r][c],u=l.splitKey,d=l.key.split(u),f=[],p=0;p<d.length;p++)f.push(di(d[p]));f.sort().join(``)===si.sort().join(``)&&Zr(e,l,o,t)}}}}function mee(e){return ui.indexOf(e)>-1}function $r(e,t,n){si=[];var r=Vr(e),i=[],a=`all`,o=document,s=0,c=!1,l=!0,u=`+`,d=!1;for(n===void 0&&typeof t==`function`&&(n=t),Object.prototype.toString.call(t)===`[object Object]`&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(c=t.keyup),t.keydown!==void 0&&(l=t.keydown),t.capture!==void 0&&(d=t.capture),typeof t.splitKey==`string`&&(u=t.splitKey)),typeof t==`string`&&(a=t);s<r.length;s++)e=r[s].split(u),i=[],e.length>1&&(i=Br(ni,e)),e=e[e.length-1],e=e===`*`?`*`:di(e),e in ai||(ai[e]=[]),ai[e].push({keyup:c,keydown:l,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:u,element:o});o!==void 0&&!mee(o)&&window&&(ui.push(o),zr(o,`keydown`,function(e){Qr(e,o)},d),ci||(ci=!0,zr(window,`focus`,function(){si=[]},d)),zr(o,`keyup`,function(e){Qr(e,o),Yr(e)},d))}function hee(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`all`;Object.keys(ai).forEach(function(n){ai[n].filter(function(n){return n.scope===t&&n.shortcut===e}).forEach(function(e){e&&e.method&&e.method()})})}var ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi,hi,gi,_i=o((()=>{for(ei=typeof navigator<`u`&&navigator.userAgent.toLowerCase().indexOf(`firefox`)>0,ti={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":ei?173:189,"=":ei?61:187,";":ei?59:186,"'":222,"[":219,"]":221,"\\":220},ni={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},ri={16:`shiftKey`,18:`altKey`,17:`ctrlKey`,91:`metaKey`,shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},ii={16:!1,18:!1,17:!1,91:!1},ai={},oi=1;oi<20;oi++)ti[`f${oi}`]=111+oi;for(var e in si=[],ci=!1,li=`all`,ui=[],di=function(e){return ti[e.toLowerCase()]||ni[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)},fi=function(e){return Object.keys(ti).find(function(t){return ti[t]===e})},pi=function(e){return Object.keys(ni).find(function(t){return ni[t]===e})},mi=function(e){var t=e.key,n=e.scope,r=e.method,i=e.splitKey,a=i===void 0?`+`:i;Vr(t).forEach(function(e){var t=e.split(a),i=t.length,o=t[i-1],s=o===`*`?`*`:di(o);if(ai[s]){n||=Ur();var c=i>1?Br(ni,t):[];ai[s]=ai[s].filter(function(e){return!!r&&e.method!==r||e.scope!==n||!pee(e.mods,c)})}})},hi={getPressedKeyString:Gr,setScope:Hr,getScope:Ur,deleteScope:Jr,getPressedKeyCodes:Wr,isPressed:qr,filter:Kr,trigger:hee,unbind:Xr,keyMap:ti,modifier:ni,modifierMap:ri},hi)Object.prototype.hasOwnProperty.call(hi,e)&&($r[e]=hi[e]);typeof window<`u`&&(gi=window.hotkeys,$r.noConflict=function(e){return e&&window.hotkeys===$r&&(window.hotkeys=gi),$r},window.hotkeys=$r)})),vi=o((()=>{createContext(null)})),yi=o((()=>{createContext(null)})),bi=o((()=>{createContext({activeFilters:[],getControlState:()=>null,changeControlState:()=>{},getFileText:()=>``,areConditionsMet:()=>!1,handleDownloadCode:()=>Promise.resolve(),populateInputsWithValue:e=>e})})),xi=o((()=>{createContext({markers:{},activeStep:null,setActiveStep:()=>{},registerStep:()=>{},registerMarker:()=>{},removeMarker:()=>{},removeStep:()=>{}})})),Si,Ci=o((()=>{Si=createContext(null)})),wi=o((()=>{Oe()})),Ti=o((()=>{wi(),createContext(null)}));function Ei(){let e=useContext(Di);if(!e)throw Error(`useSearchSession must be used within a SearchSessionProvider`);return e}var Di,Oi,ki=o((()=>{Di=createContext(null),Oi=({children:e})=>{let[t,n]=useState(()=>crypto.randomUUID()),r=useCallback(()=>{n(crypto.randomUUID())},[]),i=useMemo(()=>({searchSessionId:t,refreshSearchSessionId:r}),[t,r]);return jsx(Di.Provider,{value:i,children:e})}})),Ai=o((()=>{createContext(null)})),ji,gee=o((()=>{ji=createContext(null)}));function Mi({children:e,mountId:t=`root`}){let n=useContext(ji),r=Ie?n||document.getElementById(t)||document.body:null;return r?createPortal(e,r):jsx(Fragment$1,{children:e})}var Ni=o((()=>{F(),gee()})),Pi,Fi,Ii=o((()=>{F(),Pi=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM7 10.7954L4.5 8.2954L5.2953 7.5L7 9.2046L10.705 5.5L11.5029 6.29295L7 10.7954Z`})}),Fi=styled(Pi).attrs({"data-component-name":`icons/CheckmarkFilledIcon/CheckmarkFilledIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),Li,Ri,zi=o((()=>{F(),Li=e=>jsxs(`svg`,{viewBox:`0 0 24 24`,fill:`inherit`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`rect`,{fill:`none`}),jsx(`path`,{d:`M18 7.05L16.95 6L12 10.95L7.05 6L6 7.05L10.95 12L6 16.95L7.05 18L12 13.05L16.95 18L18 16.95L13.05 12L18 7.05Z`})]}),Ri=styled(Li).attrs({"data-component-name":`icons/CloseIcon/CloseIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
  cursor: pointer;
`})),Bi,Vi,_ee=o((()=>{F(),Bi=e=>jsx(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,...e,children:jsx(`path`,{d:`M10.0002 1.24998C8.84911 1.24285 7.70808 1.4643 6.64326 1.9015C5.57844 2.3387 4.61101 2.98295 3.79707 3.79689C2.98313 4.61083 2.33889 5.57826 1.90168 6.64308C1.46448 7.7079 1.24303 8.84892 1.25017 9.99998C1.24303 11.151 1.46448 12.2921 1.90168 13.3569C2.33889 14.4217 2.98313 15.3891 3.79707 16.2031C4.61101 17.017 5.57844 17.6613 6.64326 18.0985C7.70808 18.5357 8.84911 18.7571 10.0002 18.75C11.1512 18.7571 12.2923 18.5357 13.3571 18.0985C14.4219 17.6613 15.3893 17.017 16.2033 16.2031C17.0172 15.3891 17.6614 14.4217 18.0986 13.3569C18.5359 12.2921 18.7573 11.151 18.7502 9.99998C18.7573 8.84892 18.5359 7.7079 18.0986 6.64308C17.6614 5.57826 17.0172 4.61083 16.2033 3.79689C15.3893 2.98295 14.4219 2.3387 13.3571 1.9015C12.2923 1.4643 11.1512 1.24285 10.0002 1.24998ZM13.4032 14.375L5.62517 6.5973L6.59748 5.62498L14.3752 13.403L13.4032 14.375Z`,fill:`#F9316D`})}),Vi=styled(Bi).attrs({"data-component-name":`icons/ErrorFilledIcon/ErrorFilledIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),Hi,Ui,Wi=o((()=>{F(),Hi=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM8 4C8.14834 4 8.29334 4.04399 8.41668 4.1264C8.54002 4.20881 8.63615 4.32594 8.69291 4.46299C8.74968 4.60003 8.76453 4.75083 8.73559 4.89632C8.70665 5.0418 8.63522 5.17544 8.53033 5.28033C8.42544 5.38522 8.29181 5.45665 8.14632 5.48559C8.00083 5.51453 7.85004 5.49968 7.71299 5.44291C7.57595 5.38614 7.45881 5.29001 7.3764 5.16668C7.29399 5.04334 7.25 4.89834 7.25 4.75C7.25 4.55109 7.32902 4.36032 7.46967 4.21967C7.61033 4.07902 7.80109 4 8 4ZM10 12.0625H6V10.9375H7.4375V8.0625H6.5V6.9375H8.5625V10.9375H10V12.0625Z`})}),Ui=styled(Hi).attrs({"data-component-name":`icons/InformationFilledIcon/InformationFilledIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),Gi,Ki,qi=o((()=>{F(),Gi=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 1C4.15 1 1 4.15 1 8C1 11.85 4.15 15 8 15C11.85 15 15 11.85 15 8C15 4.15 11.85 1 8 1ZM7.45 4H8.55V9.5H7.45V4ZM8 12.5C7.6 12.5 7.25 12.15 7.25 11.75C7.25 11.35 7.6 11 8 11C8.4 11 8.75 11.35 8.75 11.75C8.75 12.15 8.4 12.5 8 12.5Z`})}),Ki=styled(Gi).attrs({"data-component-name":`icons/WarningFilledIcon/WarningFilledIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`}));function Ji(e){let t=useContext(In);if(t?.components){let{LinkComponent:n}=t.components;return jsx(n,{...e})}let{external:n,languageInsensitive:r,innerRef:i,...a}=e;return jsx(Link,{ref:i,...a})}var Yi=o((()=>{Ln()}));function Xi({variant:e=`secondary`,tone:t=`default`,size:n=`medium`,extraClass:r=``,className:i=``}){return[`button`,r,`button-tone-${t}`,`button-variant-${e}`,`button-size-${n}`,i].filter(e=>e).join(` `).trim()}var Zi,Qi,$i,ea,ta,na=o((()=>{Yi(),Zi=()=>keyframes`
    0% {
        color: var(--button-content-color);
        background-color: var(--button-bg-color-active);
    }

    50% {
        background-color: var(--button-bg-color);
    }

    100% {
        color: var(--button-content-color);
        background-color: var(--button-bg-color-active);
    }
`,Qi=styled(Ji)`
  text-decoration: none;
  &:focus-visible {
    outline: 1px solid var(--button-border-color-focused);
  }
  border-radius: var(--button-border-radius);
`,$i=styled.button`
  width: ${({$fullWidth:e})=>e?`100%`:`auto`};

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  margin: var(--button-margin);
  cursor: pointer;
  text-wrap: var(--button-text-wrap);

  color: var(--button-color);
  background-color: var(--button-bg-color);
  border: var(--button-border-width) var(--button-border-style) var(--button-border-color);
  box-shadow: var(--button-box-shadow);
  backdrop-filter: var(--button-backdrop-filter, none);

  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  line-height: var(--button-line-height);
  padding: ${({$icon:e,$iconPosition:t,$iconOnly:n})=>e?`var(--button-icon-${n?``:`${t||`left`}-`}padding)`:`var(--button-padding)`};
  border-radius: var(--button-border-radius);

  svg {
    width: var(--button-icon-size);
    height: var(--button-icon-size);
  }

  /* A button that owns an open menu keeps its hovered appearance. */
  &:hover,
  &[aria-expanded='true'] {
    background-color: var(--button-bg-color-hover);
    color: var(--button-color-hover);
    border-color: var(--button-border-color-hover);
  }

  &:active,
  &.active {
    background-color: var(--button-bg-color-active);
    border-color: var(--button-border-color-active);
    color: var(--button-color-active);
  }

  &:focus-visible {
    outline: 1px solid var(--button-border-color-focused);
  }

  &.button-tone-danger {
    color: var(--button-content-color-danger);
    border-color: var(--button-border-color-danger);
    background-color: var(--button-bg-color-danger);

    &:hover,
    &[aria-expanded='true'] {
      color: var(--button-content-color-danger-hover);
      border-color: var(--button-border-color-danger-hover);
      background-color: var(--button-bg-color-danger-hover);
    }

    &:active {
      color: var(--button-content-color-danger-pressed);
      border-color: var(--button-border-color-danger-pressed);
      background-color: var(--button-bg-color-danger-pressed);
    }
  }

  &:disabled {
    pointer-events: none;
    background-color: var(--button-bg-color-disabled);
    color: var(--button-content-color-disabled);
    border-color: var(--button-border-color-disabled);
    border-width: var(--button-border-width-disabled);
  }

  ${({$variant:e,$size:t})=>(e===`link`||e===`ghost`)&&t===`small`&&css`
      --button-font-size: var(--font-size-sm);
      --button-line-height: var(--line-height-sm);
      --button-icon-padding: var(--button-icon-padding-small) !important;
    `}

  ${({$blinking:e})=>e&&css`
      pointer-events: none;
      animation: ${Zi()} 1.2s infinite;
    `}
`,ea=e=>{let{languageInsensitive:t,fullWidth:n,blinking:r,iconPosition:i,icon:a,children:o,variant:s,tone:c,size:l,extraClass:u,to:d,external:f,className:p,...m}=e,h=`tabIndex`in e?e.tabIndex:e.to?-1:void 0,g=jsxs($i,{"data-component-name":`Button/Button`,...m,className:Xi({variant:s,tone:c,size:l,extraClass:u,className:p}),$fullWidth:n,$blinking:r,$iconPosition:i,$icon:a,$iconOnly:!o&&a!=null,$variant:s,$size:l,tabIndex:h,children:[a&&i!==`right`&&a,o,a&&i===`right`&&a]});return d?jsx(Qi,{to:d,external:f,languageInsensitive:t,onClick:e.onClick,children:g}):g},ta=styled(ea)``})),ra=o((()=>{}));function ia(e){switch(e){case`success`:return jsx(Fi,{size:`--toast-icon-size`,color:`--toast-icon-color-success`});case`warning`:return jsx(Ki,{size:`--toast-icon-size`,color:`--toast-icon-color-warning`});case`error`:return jsx(Vi,{size:`--toast-icon-size`,color:`--toast-icon-color-error`});case`loading`:return jsx(Mn,{size:`--toast-icon-size`,color:`--toast-icon-color-loading`});default:return jsx(Ui,{size:`--toast-icon-size`,color:`--toast-icon-color-info`})}}function aa(e){return jsx(Ta,{"aria-label":`Dismiss notification`,title:`Dismiss notification`,icon:jsx(Ri,{size:`--toast-close-button-icon-size`,color:`--toast-close-button-icon-color`}),onClick:e})}function oa({toast:e,onDismiss:t,stackIndex:n,stackZIndex:r=1,className:i}){let{wrapperRef:a,hasDetails:o,dismissToast:s,handleMouseEnter:c,handleMouseLeave:l,ariaRole:u,ariaLive:d}=xee({toast:e,onDismiss:t,stackIndex:n}),f=ia(e.type),p=o?jsx(pa,{$isExiting:e.isExiting,"aria-live":d,role:u,children:jsxs(ma,{children:[jsx(ha,{children:f}),jsxs(va,{children:[jsxs(ya,{children:[jsx(Sa,{children:e.title}),aa(s)]}),e.description?jsx(ba,{children:jsx(wa,{children:e.description})}):null]})]})}):jsxs(fa,{$isExiting:e.isExiting,"aria-live":d,role:u,children:[jsxs(ma,{children:[jsx(ha,{children:f}),jsx(_a,{children:jsx(Ca,{children:e.title})})]}),aa(s)]});return jsx(ua,{ref:a,$stackZIndex:r,className:i,"data-component-name":`Toast/Toast`,"data-testid":`toast-${e.type}`,onMouseEnter:c,onMouseLeave:l,children:p})}var sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,vee=o((()=>{Ii(),Nn(),zi(),_ee(),Wi(),qi(),jo(),na(),ra(),memo(oa),sa=keyframes`
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
`,ca=keyframes`
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
`,la=keyframes`
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
`,ua=styled.div`
  position: relative;
  z-index: ${({$stackZIndex:e})=>e};
  width: 100%;
  pointer-events: auto;
  will-change: transform;
`,da=styled.div`
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: var(--toast-min-width);
  max-width: var(--toast-max-width);
  background-color: var(--toast-bg-color);
  border: var(--toast-border);
  border-radius: var(--toast-border-radius);
  box-shadow: var(--toast-box-shadow);
  color: var(--toast-text-color);
  font-family: var(--toast-font-family);
  animation: ${({$isExiting:e})=>e?css`
          ${ca} ${300}ms ease-in forwards
        `:css`
          ${sa} ${300}ms ease-out
        `};

  @media (max-width: 480px) {
    min-width: 0;
    max-width: none;
  }
`,fa=styled(da)`
  gap: var(--toast-simple-gap);
  padding: var(--toast-simple-padding);
`,pa=styled(da)`
  padding: var(--toast-detailed-padding);
`,ma=styled.div`
  display: flex;
  flex: 1 1 auto;
  gap: var(--toast-content-gap);
  min-width: 0;
`,ha=styled.div`
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--toast-icon-size);
  min-width: var(--toast-icon-size);
  height: var(--toast-icon-line-height);

  ${Mn} {
    animation: ${la} var(--toast-loading-animation-duration) linear infinite;
  }
`,ga=css`
  flex: 1 1 auto;
  min-width: 0;
`,_a=styled.div`
  ${ga}
`,va=styled.div`
  display: flex;
  ${ga}
  flex-direction: column;
`,ya=styled.div`
  display: flex;
  align-items: center;
  gap: var(--toast-title-gap);
  min-width: 0;
`,ba=styled.div`
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--toast-description-gap);
  min-width: 0;
`,xa=css`
  margin: 0;
  font-size: var(--toast-text-font-size);
  line-height: var(--toast-text-line-height);
  color: var(--toast-text-color);
  overflow-wrap: anywhere;
`,Sa=styled.p`
  ${xa}
  ${ga}
  font-weight: var(--toast-title-font-weight);
`,Ca=styled.p`
  ${xa}
  font-weight: var(--toast-body-font-weight);
`,wa=styled.p`
  ${xa}
  ${ga}
  font-weight: var(--toast-body-font-weight);
`,Ta=styled(ta).attrs({variant:`ghost`,size:`small`})`
  flex: 0 0 auto;
  min-height: unset;
  margin: 0;
  padding: var(--toast-close-button-padding);
  color: var(--toast-close-button-icon-color);

  &:hover,
  &:focus-visible {
    border: none;
  }
`})),yee=o((()=>{Ni(),vee(),Ai(),ra(),styled.div`
  position: fixed;
  right: var(--spacing-md);
  bottom: var(--spacing-md);
  z-index: 1100;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--spacing-sm);
  width: 320px;
  min-width: 240px;
  max-width: 360px;
  pointer-events: none;

  @media (max-width: 480px) {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - var(--spacing-md) * 2);
    min-width: 0;
    max-width: none;
  }
`})),Ea=o((()=>{Ln(),vi(),yi(),bi(),xi(),Ci(),Ti(),ki(),Ai(),yee()}));function bee(){let[e,t]=useState(!1),n=Rn(),r=useLocation(),{useTelemetry:i}=sr(),a=i(),{refreshSearchSessionId:o}=Ei(),s=(n?.search?.shortcuts??[`⌘+K,CTRL+K`])?.join(`,`);useEffect(()=>{if(s)return $r(s,e=>{t(!0),a.sendSearchOpenedMessage([{...Ve(`searchDialogId`,`search`),method:`shortcut`}]),e.preventDefault()}),()=>$r.unbind(s)},[s]);let c=useCallback(function(){a.sendSearchOpenedMessage([{...Ve(`searchDialogId`,`search`),method:`click`}]),t(!0)},[]),l=useCallback(()=>{o(),t(!1)},[o]);return useEffect(l,[r]),{isOpen:e,onOpen:c,onClose:l}}var Da=o((()=>{_i(),cr(),zn(),Ea(),F(),Bt()})),Oa=o((()=>{})),ka=o((()=>{Hn()})),Aa=o((()=>{yt(),xt(),Fe()})),ja=o((()=>{cr(),Aa()})),Ma=o((()=>{mr(),fr({storageKey:`searchQuickFilter`,storageType:`sessionStorage`})}));function Na(e,t){let[n,r]=useState(e),i=t!==void 0;return[i?t:n,useCallback(e=>{i||r(e)},[i])]}var Pa=o((()=>{}));function Fa({tabs:e,containerRef:t,tabRefs:n}){let[r,i]=useState(!1),a=useMemo(()=>n?.current?.reduce((e,t)=>t?e+t.offsetWidth:e,0)||0,[n?.current?.length]),{currentIndex:o,isFirstTab:s,isLastTab:c}=useMemo(()=>{let t=e.items.findIndex(t=>t.name===e.value);return{currentIndex:t,isFirstTab:t===0,isLastTab:t===e.items.length-1}},[e]);return useEffect(()=>{if(t.current){let e=t.current,n=new ResizeObserver(e=>{let t=e[0].contentRect.width;i(a>t)});return n.observe(e),()=>{n.unobserve(e)}}},[t.current]),{showControls:r,handlePrevTab:useCallback(()=>{if(!s){let t=e.items[o-1].name;e.onChange(t)}},[o]),handleNextTab:useCallback(()=>{if(!c){let t=e.items[o+1].name;e.onChange(t)}},[o])}}var Ia=o((()=>{})),La=o((()=>{ft(),st(),lt(),ct()})),Ra=o((()=>{Oe(),_t()})),za=o((()=>{La(),Ra()})),Ba=o((()=>{bi(),xi(),cr()})),Va=o((()=>{dt(),Jt(),Ee()})),Ha=o((()=>{})),Ua=o((()=>{cr()}));function Wa(e){let t=useMemo(()=>Yt().includes(`Mac`)?`metaKey`:`ctrlKey`,[]),n=useCallback(e=>e.key===`a`&&e[t],[t]),r=useCallback(e=>e.key===`v`&&e[t],[t]),i=useMemo(()=>[{match:e=>e.key===`Enter`,execute:t=>e?.onEnter?.(t)},{match:e=>e.key===`Escape`,execute:t=>{e?.onEscape?.(t),t.currentTarget?.selectionStart!==t.currentTarget?.selectionEnd&&(t.stopPropagation(),Ga(t))}},{match:n,execute:t=>e?.onSelectAll?.(t)},{match:r,execute:t=>e?.onPaste?.(t)},{match:e=>{if(!e.currentTarget?.value)return!1;let t=(e.currentTarget?.selectionEnd??0)-(e.currentTarget?.selectionStart??0),n=e.currentTarget?.value.length===t,i=Ka(e)||r(e)||qa(e);return n&&i},execute:t=>e?.onClear?.(t)}],[e,r,n]);return{onKeyDown:useCallback(e=>{for(let t of i)t.match(e)&&t.execute(e)},[i])}}function Ga(e){let t=e.currentTarget.selectionEnd??0;e.currentTarget.setSelectionRange(t,t)}function Ka(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function qa(e){return e.key===`Backspace`||e.key===`Delete`}var Ja=o((()=>{Xt()})),Ya=o((()=>{})),Xa=o((()=>{St()})),Za=o((()=>{cr()})),Qa=o((()=>{cr()})),$a=o((()=>{cr()})),eo,to,no=o((()=>{F(),eo=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z`})}),to=styled(eo).attrs({"data-component-name":`icons/CopyIcon/CopyIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),ro,io,ao=o((()=>{F(),ro=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M6.74887 6.55188V5.54033C6.74887 5.45514 6.78085 5.39123 6.85535 5.34869L8.88914 4.17742C9.16598 4.01771 9.49608 3.94322 9.83676 3.94322C11.1145 3.94322 11.9238 4.93348 11.9238 5.98758C11.9238 6.06209 11.9238 6.14729 11.9131 6.23248L9.80481 4.99731C9.67705 4.92281 9.54923 4.92281 9.42147 4.99731L6.74887 6.55188ZM11.4978 10.4916V8.0745C11.4978 7.9254 11.4339 7.81892 11.3061 7.7444L8.63354 6.18983L9.50666 5.68935C9.58118 5.64681 9.64509 5.64681 9.71961 5.68935L11.7534 6.86061C12.3391 7.20138 12.733 7.9254 12.733 8.62811C12.733 9.43732 12.2539 10.1827 11.4978 10.4915V10.4916ZM6.12066 8.36206L5.24754 7.85099C5.17304 7.80845 5.14106 7.74451 5.14106 7.65932V5.31682C5.14106 4.17753 6.01418 3.315 7.19612 3.315C7.64339 3.315 8.05856 3.4641 8.41003 3.73029L6.31241 4.94418C6.18468 5.01868 6.12077 5.12515 6.12077 5.27428V8.36214L6.12066 8.36206ZM8.00002 9.4481L6.74887 8.74537V7.25473L8.00002 6.55199L9.25109 7.25473V8.74537L8.00002 9.4481ZM8.80393 12.6851C8.35668 12.6851 7.9415 12.536 7.59004 12.2698L9.68764 11.0559C9.81539 10.9814 9.8793 10.8749 9.8793 10.7258V7.63795L10.7631 8.14902C10.8376 8.19156 10.8696 8.25547 10.8696 8.34069V10.6832C10.8696 11.8225 9.98578 12.685 8.80393 12.685V12.6851ZM6.28037 10.3106L4.24657 9.1394C3.66089 8.7986 3.26698 8.07461 3.26698 7.37188C3.26698 6.55199 3.75678 5.8173 4.51273 5.50849V7.93618C4.51273 8.08528 4.57667 8.19176 4.7044 8.26628L7.36642 9.81016L6.49329 10.3106C6.4188 10.3532 6.35486 10.3532 6.28037 10.3106ZM6.16331 12.0569C4.96009 12.0569 4.0763 11.1518 4.0763 10.0338C4.0763 9.94859 4.08697 9.86339 4.09756 9.7782L6.19518 10.9921C6.32291 11.0666 6.45075 11.0666 6.57849 10.9921L9.25109 9.44821V10.4598C9.25109 10.545 9.21913 10.6089 9.14461 10.6514L7.11084 11.8227C6.83398 11.9824 6.50388 12.0569 6.1632 12.0569H6.16331ZM8.80393 13.3239C10.0923 13.3239 11.1677 12.4082 11.4127 11.1943C12.6052 10.8855 13.3719 9.7675 13.3719 8.62822C13.3719 7.88283 13.0525 7.15884 12.4775 6.63707C12.5307 6.41345 12.5627 6.18983 12.5627 5.96632C12.5627 4.4437 11.3275 3.3043 9.90067 3.3043C9.61325 3.3043 9.33639 3.34684 9.05953 3.44273C8.58031 2.97421 7.92013 2.67609 7.19612 2.67609C5.90773 2.67609 4.83236 3.59175 4.58736 4.80564C3.39482 5.11446 2.62817 6.23248 2.62817 7.37176C2.62817 8.11715 2.94757 8.84115 3.52258 9.36291C3.46934 9.58653 3.43738 9.81016 3.43738 10.0337C3.43738 11.5563 4.67256 12.6957 6.09937 12.6957C6.38682 12.6957 6.66368 12.6531 6.94054 12.5573C7.41965 13.0258 8.07982 13.3239 8.80393 13.3239Z`})}),io=styled(ro).attrs({"data-component-name":`icons/ChatGptIcon/ChatGptIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),oo,so,co=o((()=>{F(),oo=e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M4.03188 9.88255L6.60172 8.62367L6.64494 8.51434L6.60172 8.45352H6.47649L6.04701 8.43042L4.57865 8.39577L3.3052 8.34957L2.07142 8.29182L1.761 8.23408L1.46997 7.89915L1.49996 7.73207L1.761 7.57884L2.13492 7.60733L2.96126 7.65661L4.2012 7.7313L5.10074 7.77749L6.43328 7.89838H6.64494L6.67492 7.82369L6.60261 7.77749L6.54616 7.7313L5.26301 6.97212L3.87402 6.16983L3.14646 5.70785L2.75313 5.47379L2.5547 5.25435L2.46916 4.77544L2.82633 4.43204L3.30608 4.46052L3.42866 4.48901L3.91459 4.81548L4.95258 5.5169L6.30805 6.38849L6.50648 6.53248L6.58585 6.4832L6.59555 6.44855L6.50648 6.31843L5.76921 5.15503L4.98256 3.9716L4.63245 3.48114L4.53985 3.18702C4.50722 3.06614 4.48341 2.9645 4.48341 2.84054L4.88996 2.35855L5.11485 2.29541L5.65721 2.35855L5.88562 2.53179L6.22251 3.20473L6.7684 4.26419L7.61502 5.70477L7.86284 6.1321L7.99512 6.52786L8.04451 6.64874H8.13005V6.57944L8.19972 5.76791L8.32848 4.77159L8.45371 3.48961L8.49692 3.1285L8.70152 2.69579L9.10807 2.46172L9.42556 2.59415L9.6866 2.92061L9.65044 3.13158L9.49523 4.01241L9.19097 5.39217L8.99254 6.31612H9.10807L9.24036 6.20062L9.77567 5.58004L10.6752 4.59835L11.0721 4.20875L11.5351 3.77834L11.8323 3.57354H12.394L12.8076 4.1102L12.6224 4.66456L12.0439 5.30517L11.5642 5.84799L10.8763 6.65644L10.4468 7.3032L10.4865 7.35479L10.5888 7.34632L12.1427 7.05759L12.9822 6.92515L13.9841 6.77501L14.4374 6.9598L14.4868 7.14767L14.3086 7.53188L13.2371 7.76287L11.9804 7.9823L10.109 8.36882L10.0861 8.38345L10.1126 8.41194L10.9556 8.48123L11.3163 8.49817H12.1991L13.843 8.6052L14.2725 8.85312L14.53 9.15649L14.4868 9.38747L13.8253 9.68159L12.9329 9.4968L10.8498 9.06409L10.1355 8.90856H10.0367V8.96014L10.632 9.46832L11.7229 10.3284L13.089 11.4371L13.1586 11.7112L12.9831 11.9276L12.7979 11.9045L11.5977 11.116L11.1347 10.7611L10.0861 9.99035H10.0164V10.0712L10.2581 10.3799L11.5342 12.0546L11.6003 12.5682L11.5077 12.7352L11.177 12.8361L10.8137 12.7784L10.0667 11.8629L9.29592 10.8319L8.67418 9.90796L8.59834 9.94569L8.23147 13.3959L8.0595 13.5722L7.66264 13.7046L7.33193 13.4852L7.15644 13.1302L7.33193 12.4288L7.54359 11.5133L7.71556 10.7857L7.87077 9.88178L7.96337 9.5815L7.9572 9.56148L7.88136 9.56995L7.10088 10.5054L5.91385 11.906L4.97463 12.7837L4.74974 12.8615L4.35994 12.6852L4.3961 12.3703L4.61393 12.09L5.91385 10.6463L6.69785 9.75166L7.20406 9.23502L7.20053 9.16033H7.17055L3.71792 11.1176L3.10324 11.1869L2.83867 10.9705L2.8713 10.6155L2.99653 10.5001L4.03452 9.87639L4.031 9.87947L4.03188 9.88255Z`})}),so=styled(oo).attrs({"data-component-name":`icons/ClaudeIcon/ClaudeIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),lo,uo=o((()=>{F(),lo=e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M15.2308 4.17188C15.2308 3.95614 15.0586 3.78125 14.8462 3.78125H1.15385C0.941429 3.78125 0.769231 3.95614 0.769231 4.17188V11.8281C0.769231 12.0439 0.941429 12.2188 1.15385 12.2188H14.8462C15.0586 12.2188 15.2308 12.0439 15.2308 11.8281V4.17188ZM16 11.8281C16 12.4753 15.4834 13 14.8462 13H1.15385C0.516595 13 0 12.4753 0 11.8281V4.17188C0 3.52467 0.516595 3 1.15385 3H14.8462C15.4834 3 16 3.52467 16 4.17188V11.8281Z`}),jsx(`path`,{d:`M2.30769 10.6562V5.34375H3.84615L5.38462 7.29688L6.92308 5.34375H8.46154V10.6562H6.92308V7.60938L5.38462 9.5625L3.84615 7.60938V10.6562H2.30769ZM11.9231 10.6562L9.61539 8.07812H11.1538V5.34375H12.6923V8.07812H14.2308L11.9231 10.6562Z`})]}),styled(lo).attrs({"data-component-name":`icons/MarkdownFullIcon/MarkdownFullIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),fo,po,mo=o((()=>{fo=e=>jsx(`svg`,{width:`16`,height:`16`,viewBox:`0 0 100 100`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{clipRule:`evenodd`,d:`m70.9119 99.3171c1.575.6136 3.3709.5743 4.9606-.1907l20.5883-9.9067c2.1634-1.041 3.5392-3.2305 3.5392-5.6325v-67.1739c0-2.402-1.3757-4.5915-3.5391-5.6325l-20.5884-9.907044c-2.0863-1.003885-4.5279-.757996-6.359.573194-.2615.19016-.5107.40248-.7445.63646l-39.4139 35.95809-17.1679-13.0319c-1.5982-1.2131-3.83357-1.1137-5.31787.2365l-5.5063 5.0088c-1.815582 1.6515-1.817663 4.5078-.0045 6.1621l14.88857 13.5831-14.88857 13.5831c-1.813163 1.6542-1.811082 4.5106.0045 6.1621l5.5063 5.0088c1.4843 1.3502 3.71967 1.4496 5.31787.2364l17.1679-13.0318 39.4139 35.958c.6235.6239 1.3556 1.0937 2.1429 1.4004zm4.1033-72.0182-29.9061 22.7012 29.9061 22.7011z`,fill:`currentColor`,fillRule:`evenodd`})}),po=styled(fo).attrs({"data-component-name":`icons/VSCodeIcon/VSCodeIcon`})`
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),ho,go,_o=o((()=>{ho=e=>jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M7.99956 15V8.0001L2 11.4999L7.99956 15Z`,fill:`#939393`}),jsx(`path`,{d:`M14 4.49979L7.99956 15V8.0001L14 4.49979Z`,fill:`#E3E3E3`}),jsx(`path`,{d:`M2 4.49979H14L7.99956 8.0001L2 4.49979Z`,fill:`white`}),jsx(`path`,{d:`M8.00025 1V4.49995L14 4.49979L8.00025 1Z`,fill:`#444444`}),jsx(`path`,{d:`M2 4.49979L8.00025 4.49995V1L2 4.49979ZM13.9999 11.4998L10.9999 9.74987L7.99956 15L13.9999 11.4998Z`,fill:`#939393`}),jsx(`path`,{d:`M14 4.49979L10.9999 9.74987L13.9999 11.4998L14 4.49979ZM7.99956 8.0001L2 11.4999V4.49979L7.99956 8.0001Z`,fill:`#444444`})]}),go=styled(ho).attrs({"data-component-name":`icons/CursorIcon/CursorIcon`})`
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`})),vo=o((()=>{cr(),Le(),Bt(),O(),Ee()})),yo=o((()=>{no(),ao(),co(),uo(),mo(),_o(),cr(),zn(),vo(),h(),Le(),O(),Ee(),He(),An()})),bo=s(((e,t)=>{var n=NaN,r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,c=typeof globalThis==`object`&&globalThis&&globalThis.Object===Object&&globalThis,l=typeof self==`object`&&self&&self.Object===Object&&self,u=c||l||Function(`return this`)(),d=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return u.Date.now()};function h(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,h=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);t=y(t)||0,g(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?f(y(n.maxWait)||0,t):a,h=`trailing`in n?!!n.trailing:h);function _(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function v(e){return l=e,s=setTimeout(S,t),u?_(e):o}function b(e){var n=e-c,r=e-l,i=t-n;return d?p(i,a-r):i}function x(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function S(){var e=m();if(x(e))return C(e);s=setTimeout(S,b(e))}function C(e){return s=void 0,h&&r?_(e):(r=i=void 0,o)}function w(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?o:C(m())}function E(){var e=m(),n=x(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return v(c);if(d)return s=setTimeout(S,t),_(c)}return s===void 0&&(s=setTimeout(S,t)),o}return E.cancel=w,E.flush=T,E}function g(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function _(e){return!!e&&typeof e==`object`}function v(e){return typeof e==`symbol`||_(e)&&d.call(e)==`[object Symbol]`}function y(e){if(typeof e==`number`)return e;if(v(e))return n;if(g(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=g(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(r,``);var c=a.test(e);return c||o.test(e)?s(e.slice(2),c?2:8):i.test(e)?n:+e}t.exports=h})),xo=o((()=>{bo(),cr(),vo(),h(),C(),O(),He()})),So=o((()=>{Ee()})),Co=o((()=>{})),wo=o((()=>{})),To=o((()=>{})),Eo=o((()=>{})),Do=o((()=>{Ai()}));function xee({toast:e,onDismiss:t,stackIndex:n}){let r=useRef(null),i=useRef(null),a=useRef(null),o=useRef(null),s=useRef(null),c=useRef(0),l=useRef(null),u=useRef(!1),d=!!e.description,f=useMemo(()=>gn(d,e.type,e.duration),[d,e.duration,e.type]),p=e.type===`error`?`alert`:`status`,m=e.type===`error`?`assertive`:`polite`,h=useCallback(()=>{o.current&&=(clearTimeout(o.current),null),s.current=null},[]),g=useCallback(()=>{t(e.id)},[t,e.id]),_=useCallback(e=>{if(h(),e<=0){g();return}c.current=e,s.current=Date.now(),o.current=setTimeout(()=>{g()},e)},[h,g]);return useEffect(()=>{if(e.isExiting||f===null){h();return}return u.current||_(f),()=>{h()}},[h,f,_,e.description,e.isExiting,e.title,e.type]),useLayoutEffect(()=>{let t=r.current;if(!t)return;t.style.transition=`none`,t.style.transform=``;let o=t.getBoundingClientRect().top,s=i.current,c=a.current;if(e.isExiting)return i.current=o,a.current=n,()=>{l.current!==null&&(window.cancelAnimationFrame(l.current),l.current=null)};if(c!==null&&c!==n&&s!==null&&s!==o){let e=s-o,n=e>0?Oo:ko;t.style.transform=`translateY(${e}px)`,t.getBoundingClientRect(),l.current=window.requestAnimationFrame(()=>{l.current=null,r.current&&(r.current.style.transition=`transform ${n}ms ease-out`,r.current.style.transform=`translateY(0)`)})}return i.current=o,a.current=n,()=>{l.current!==null&&(window.cancelAnimationFrame(l.current),l.current=null)}}),useEffect(()=>()=>{h(),l.current!==null&&window.cancelAnimationFrame(l.current)},[h]),{wrapperRef:r,hasDetails:d,dismissToast:g,handleMouseEnter:useCallback(()=>{if(u.current=!0,f===null||s.current===null)return;let e=Date.now()-s.current;c.current=Math.max(c.current-e,0),h()},[h,f]),handleMouseLeave:useCallback(()=>{u.current=!1,!(e.isExiting||f===null)&&_(c.current||f)},[f,_,e.isExiting]),ariaRole:p,ariaLive:m}}var Oo,ko,See=o((()=>{F(),Oo=280,ko=200})),Cee=o((()=>{cr(),He()}));function wee({isOpened:e,placement:t,arrowPosition:n,fallbackPlacements:r,tooltipBodyRef:i}){let[a,o]=useState(t),s=useRef(!1),c=useRef(0);return useLayoutEffect(()=>{if(!e){s.current=!1,c.current=0;return}if(!s.current&&(s.current=!0,c.current=0,a!==t)){o(t);return}if(!i.current||!r?.length)return;let n=[t,...r];if(c.current>=n.length)return;let l=i.current.getBoundingClientRect();(l.left<0||l.top<0||l.right>window.innerWidth||l.bottom>window.innerHeight)&&(c.current++,c.current<n.length?o(n[c.current]):a!==t&&o(t))},[e,a,t,r,i]),{activePlacement:a,activeArrowPosition:a===t?n:`center`}}var Tee=o((()=>{}));function Eee(){return typeof CSS>`u`||typeof CSS.supports!=`function`?!1:CSS.supports(`anchor-name: --a`)&&CSS.supports(`position-anchor: --a`)&&CSS.supports(`top: anchor(top)`)}var Ao,Dee=o((()=>{Ao=()=>{let[e,t]=useState(!1);return useEffect(()=>{t(Eee())},[]),{isSupported:e}}})),Oee=o((()=>{})),kee=o((()=>{})),Aee=o((()=>{})),jee=o((()=>{cr(),An(),He()})),jo=o((()=>{zn(),Hn(),Un(),Wn(),Gn(),Qn(),er(),tr(),Jn(),rr(),cr(),dr(),ur(),hr(),br(),xr(),tee(),wr(),nee(),ree(),Fr(),Lr(),iee(),oee(),Rr(),cee(),lee(),uee(),fee(),Da(),Oa(),ka(),ja(),Ma(),Pa(),Ia(),za(),Ra(),La(),Ba(),Va(),Ha(),Ua(),Ja(),Ya(),Xa(),Za(),Qa(),$a(),yo(),vo(),xo(),So(),Co(),wo(),To(),mr(),Eo(),Do(),See(),Cee(),Tee(),Dee(),Oee(),kee(),Aee(),jee()}));F(),jo();var Mee=styled.div`
  font-family: helvetica, sans, sans-serif;
  width: 100%;
  text-align: center;
  font-size: 25px;
  margin: 30px 0 20px 0;
  color: ${({$color:e})=>g(e)};
`;function Nee({color:e}){let{useTranslate:t}=sr(),{translate:n}=t();return jsxs(`div`,{style:{textAlign:`center`},children:[jsx(Mee,{$color:e,children:n(`loaders.loading`,`Loading...`)}),jsx(Fn,{color:e})]})}function Mo(e){return`init`in e}function No(e){return typeof e.write==`function`}function Pee(e){return!!e.onMount}function Po(e){return`v`in e||`e`in e}function Fo(e){if(`e`in e)throw e.e;return e.v}function Io(e){return typeof e?.then==`function`}function Fee(e){if(!(e instanceof Error))return!1;let t=e.name,n=e.message.toLowerCase();return(t===`RangeError`||t===`InternalError`)&&(n.includes(`call stack`)||n.includes(`too much recursion`)||n.includes(`stack overflow`))}function Lo(e,t,n){if(!n.p.has(e)){n.p.add(e);let r=()=>n.p.delete(e);t.then(r,r)}}function Ro(e,t,n){let r=n.get(e)?.t,i=t.p;if(!r?.size)return i;if(!i.size)return r;let a=new Set(r);for(let e of i)a.add(e);return a}function Iee(e){return!!e.INTERNAL_onInit}var Lee=(e,t,n,...r)=>n.read(...r),Ree=(e,t,n,...r)=>n.write(...r),zee=(e,t,n)=>n.INTERNAL_onInit(t),Bee=(e,t,n,r)=>n.onMount?.call(n,r),Vee=(e,t,n)=>{var r;let i=e[0],a=i.get(n);if(!a){let o=e[6],s=e[9];a={d:new Map,p:new Set,n:0},i.set(n,a),(r=o.i)==null||r.call(o,n),Iee(n)&&s(e,t,n)}return a},Hee=(e,t)=>{let n=e[1],r=e[3],i=e[4],a=e[5],o=e[6],s=e[13];if(!o.f&&!r.size&&!i.size&&!a.size)return;let c=[],l=e=>{try{e()}catch(e){c.push(e)}};do{o.f&&l(o.f);let c=new Set;for(let e of r){let t=n.get(e)?.l;if(t)for(let e of t)c.add(e)}r.clear();for(let e of a)c.add(e);a.clear();for(let e of i)c.add(e);i.clear();for(let e of c)l(e);r.size&&s(e,t)}while(r.size||a.size||i.size);if(c.length)throw AggregateError(c)},Uee=(e,t)=>{let n=e[1],r=e[2],i=e[3],a=e[11],o=e[14],s=e[17];if(!i.size)return;let c=[],l=[],u=new WeakSet,d=new WeakSet,f=[],p=[];for(let n of i)f.push(n),p.push(a(e,t,n));for(;f.length;){let i=f.length-1,o=f[i],s=p[i];if(d.has(o)){f.pop(),p.pop();continue}if(u.has(o)){r.get(o)===s.n&&(c.push(o),l.push(s)),d.add(o),f.pop(),p.pop();continue}u.add(o);for(let r of Ro(o,s,n))u.has(r)||(f.push(r),p.push(a(e,t,r)))}for(let n=c.length-1;n>=0;--n){let a=c[n],u=l[n],d=!1;for(let e of u.d.keys())if(e!==a&&i.has(e)){d=!0;break}d&&(r.set(a,u.n),o(e,t,a),s(e,t,a)),r.delete(a)}},Wee=(e,t,n)=>{var r,i;let a=e[1],o=e[2],s=e[3],c=e[6],l=e[7],u=e[11],d=e[12],f=e[13],p=e[14],m=e[16],h=e[17],g=e[20],_=e[26],v=e[28],y=u(e,t,n),b=v[0];if(Po(y)){if(a.has(n)&&o.get(n)!==y.n||y.m===b)return y.m=b,y;let r=!1;for(let[n,i]of y.d)if(p(e,t,n).n!==i){r=!0;break}if(!r)return y.m=b,y}let x=!0,S=new Set(y.d.keys()),C=()=>{for(let e of S)y.d.delete(e)},w=()=>{if(a.has(n)){let r=!s.size;h(e,t,n),r&&(f(e,t),d(e,t))}},T=r=>{var i;if(r===n){let n=u(e,t,r);if(!Po(n)){if(Mo(r))g(e,t,r,r.init);else throw Error(`no atom init`)}return Fo(n)}let o=p(e,t,r);try{return Fo(o)}finally{S.delete(r),y.d.set(r,o.n),Io(y.v)&&Lo(n,y.v,o),a.has(n)&&((i=a.get(r))==null||i.t.add(n)),x||w()}},E,D,O={get signal(){return E||=new AbortController,E.signal},get setSelf(){return!D&&No(n)&&(D=(...r)=>{if(!x)try{return m(e,t,n,r)}finally{f(e,t),d(e,t)}}),D}},k=y.n,ee=o.get(n)===k;try{let i=l(e,t,n,T,O);if(g(e,t,n,i),Io(i)){_(e,t,i,()=>E?.abort());let n=()=>{C(),w()};i.then(n,n)}else C();return(r=c.r)==null||r.call(c,n),y.m=b,y}catch(e){if(Fee(e))throw e;return delete y.v,y.e=e,++y.n,y.m=b,y}finally{x=!1,y.n!==k&&ee&&(o.set(n,y.n),s.add(n),(i=c.c)==null||i.call(c,n))}},Gee=(e,t,n)=>{let r=e[1],i=e[2],a=e[11],o=[n];for(;o.length;){let n=o.pop(),s=a(e,t,n);for(let c of Ro(n,s,r)){let n=a(e,t,c);i.get(c)!==n.n&&(i.set(c,n.n),o.push(c))}}},Kee=(e,t,n,r)=>{let i=e[3],a=e[6],o=e[8],s=e[11],c=e[12],l=e[13],u=e[14],d=e[15],f=e[16],p=e[17],m=e[20],h=e[28],g=!0,_=n=>Fo(u(e,t,n)),v=(r,...o)=>{var u;let _=s(e,t,r);try{if(r===n){if(!Mo(r))throw Error(`atom not writable`);let n=_.n,s=o[0];m(e,t,r,s),p(e,t,r),n!==_.n&&(++h[0],i.add(r),d(e,t,r),(u=a.c)==null||u.call(a,r));return}return f(e,t,r,o)}finally{g||(l(e,t),c(e,t))}};try{return o(e,t,n,_,v,...r)}finally{g=!1}},qee=(e,t,n)=>{var r;let i=e[1],a=e[3],o=e[6],s=e[11],c=e[15],l=e[18],u=e[19],d=s(e,t,n),f=i.get(n);if(f&&d.d.size>0){for(let[i,u]of d.d)if(!f.d.has(i)){let d=s(e,t,i);l(e,t,i).t.add(n),f.d.add(i),u!==d.n&&(a.add(i),c(e,t,i),(r=o.c)==null||r.call(o,i))}for(let r of f.d)d.d.has(r)||(f.d.delete(r),u(e,t,r)?.t.delete(n))}},Jee=(e,t,n)=>{var r;let i=e[1],a=e[4],o=e[6],s=e[10],c=e[11],l=e[12],u=e[13],d=e[14],f=e[16],p=e[18],m=c(e,t,n),h=i.get(n);if(!h){d(e,t,n);for(let r of m.d.keys())p(e,t,r).t.add(n);h={l:new Set,d:new Set(m.d.keys()),t:new Set},i.set(n,h),No(n)&&Pee(n)&&a.add(()=>{let r=!0,i=(...i)=>{try{return f(e,t,n,i)}finally{r||(u(e,t),l(e,t))}};try{let a=s(e,t,n,i);a&&(h.u=()=>{r=!0;try{a()}finally{r=!1}})}finally{r=!1}}),(r=o.m)==null||r.call(o,n)}return h},Yee=(e,t,n)=>{var r;let i=e[1],a=e[5],o=e[6],s=e[11],c=e[19],l=s(e,t,n),u=i.get(n);if(!u||u.l.size)return u;let d=!1;for(let e of u.t)if(i.get(e)?.d.has(n)){d=!0;break}if(!d){u.u&&a.add(u.u),u=void 0,i.delete(n);for(let r of l.d.keys())c(e,t,r)?.t.delete(n);(r=o.u)==null||r.call(o,n);return}return u},Xee=(e,t,n,r)=>{let i=e[11],a=e[27],o=i(e,t,n),s=`v`in o,c=o.v;if(Io(r))for(let a of o.d.keys())Lo(n,r,i(e,t,a));o.v=r,delete o.e,(!s||!Object.is(c,o.v))&&(++o.n,Io(c)&&a(e,t,c))},Zee=(e,t,n)=>{let r=e[14];return Fo(r(e,t,n))},Qee=(e,t,n,...r)=>{let i=e[3],a=e[12],o=e[13],s=e[16],c=i.size;try{return s(e,t,n,r)}finally{i.size!==c&&(o(e,t),a(e,t))}},$ee=(e,t,n,r)=>{let i=e[12],a=e[13],o=e[18],s=e[19],c=o(e,t,n).l;return c.add(r),a(e,t),i(e,t),()=>{c.delete(r),s(e,t,n),a(e,t),i(e,t)}},ete=(e,t,n,r)=>{let i=e[25],a=i.get(n);if(!a){a=new Set,i.set(n,a);let e=()=>i.delete(n);n.then(e,e)}a.add(r)},tte=(e,t,n)=>{e[25].get(n)?.forEach(e=>e())},zo=new WeakMap;function nte(e){let t=zo.get(e),n=t[24];return n?n(t,e):t}function rte(...e){let t={get(e){return r(n,t,e)},set(e,...r){return i(n,t,e,...r)},sub(e,r){return a(n,t,e,r)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},Lee,Ree,zee,Bee,Vee,Hee,Uee,Wee,Gee,Kee,qee,Jee,Yee,Xee,Zee,Qee,$ee,void 0,new WeakMap,ete,tte,[0]].map((t,n)=>e[n]||t);zo.set(t,Object.freeze(n));let r=n[21],i=n[22],a=n[23];return t}var ite=0;function Bo(e,t){let n=`atom${++ite}`,r={toString(){return n}};return typeof e==`function`?r.read=e:(r.init=e,r.read=ate,r.write=ote),t&&(r.write=t),r}function ate(e){return e(this)}function ote(e,t,n){return t(this,typeof n==`function`?n(e(this)):n)}function Vo(){return rte()}var Ho;function Uo(){return Ho||=Vo(),Ho}var Wo=createContext(void 0);function Go(e){let t=useContext(Wo);return e?.store||t||Uo()}function Ko({children:e,store:t}){let n=useRef(null);return t?createElement(Wo.Provider,{value:t},e):(n.current===null&&(n.current=Vo()),createElement(Wo.Provider,{value:n.current},e))}var qo=e=>typeof e?.then==`function`,Jo=e=>{e.status||(e.status=`pending`,e.then(t=>{e.status=`fulfilled`,e.value=t},t=>{e.status=`rejected`,e.reason=t}))},Yo=React.use||(e=>{if(e.status===`pending`)throw e;if(e.status===`fulfilled`)return e.value;throw e.status===`rejected`?e.reason:(Jo(e),e)}),Xo=new WeakMap,Zo=(e,t,n)=>{let r=nte(e),i=r[26],a=Xo.get(t);return a||(a=new Promise((o,s)=>{let c=t,l=e=>t=>{c===e&&o(t)},u=e=>t=>{c===e&&s(t)},d=()=>{try{let t=n();qo(t)?(Xo.set(t,a),c=t,t.then(l(t),u(t)),i(r,e,t,d)):o(t)}catch(e){s(e)}};t.then(l(t),u(t)),i(r,e,t,d)}),Xo.set(t,a)),a};function I(e,t){let{delay:n,unstable_promiseStatus:r=!React.use}=t||{},i=Go(t),[[a,o,s],c]=useReducer(t=>{let n=i.get(e);return Object.is(t[0],n)&&t[1]===i&&t[2]===e?t:[n,i,e]},void 0,()=>[i.get(e),i,e]),l=a;if((o!==i||s!==e)&&(c(),l=i.get(e)),useEffect(()=>{let t=i.sub(e,()=>{if(r)try{let t=i.get(e);qo(t)&&Jo(Zo(i,t,()=>i.get(e)))}catch{}if(typeof n==`number`){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3.

Migration guide:

Create a custom hook like the following.

function useAtomValueWithDelay<Value>(
  atom: Atom<Value>,
  options: { delay: number },
): Value {
  const { delay } = options
  const store = useStore(options)
  const [value, setValue] = useState(() => store.get(atom))
  useEffect(() => {
    const unsub = store.sub(atom, () => {
      setTimeout(() => setValue(store.get(atom)), delay)
    })
    return unsub
  }, [store, atom, delay])
  return value
}
`),setTimeout(c,n);return}c()});return c(),t},[i,e,n,r]),useDebugValue(l),qo(l)){let t=Zo(i,l,()=>i.get(e));return r&&Jo(t),Yo(t)}return l}function Qo(e,t){let n=Go(t);return useCallback((...t)=>n.set(e,...t),[n,e])}function $o(e,t){return[I(e,t),Qo(e,t)]}var es,ts,L,ns,R,z,rs,B=o((()=>{es={OPENAPI:`openapi`,ASYNCAPI:`asyncapi`,GRAPHQL:`graphql`},ts={OVERVIEW:`overview`,GROUP:`group`,ITEM:`item`},L={HTTP_ITEM:`httpItem`,SCHEMA:`schema`,CHANNEL:`channel`,CHANNEL_OPERATION:`channelOperation`,MESSAGE:`message`,QUERY:`query`,MUTATION:`mutation`,SUBSCRIPTION:`subscription`,DIRECTIVE:`directive`,OBJECT:`object`,INTERFACE:`interface`,INPUT:`input`,UNION:`union`,ENUM:`enum`,SCALAR:`scalar`,MARKDOWN:`markdown`},ns={API_KEY:`apiKey`,HTTP:`http`,OAUTH2:`oauth2`,OPEN_ID_CONNECT:`openIdConnect`,MUTUAL_TLS:`mutualTLS`},R={CONTAINER:`container`,HEADER:`header`,EMPTY_MESSAGE:`empty-message`,ITEM:`item-content`,SECURITY:`security`,MARKDOC:`markdoc`,ADMONITION:`admonition`,OVERVIEW_SECTION_WRAPPER:`overview-section-wrapper`,EXTERNAL_DOCS:`external-docs`,CHANNEL_ADDRESS:`channel-address`,MESSAGE_LINKS:`message-links`,INFO_METADATA:`info-metadata`,EXTENSIONS:`extensions`},z={LOCATIONS:`locations`,GROUP_ITEMS:`group-items`,EXTERNAL_LINK:`externallink`,EMAIL:`email`,PAYLOAD:`payload`,TAGS:`tags`,CONNECT_MCP_BUTTON:`connect-mcp-button`,ATTRIBUTE:`attribute`,DOWNLOAD:`download`,SERVERS:`servers`,BROKERS:`brokers`,CHANNEL_BINDING:`channel-binding`,OPERATION_BINDING:`operation-binding`,MESSAGE_BINDING:`message-binding`,MESSAGE_REFERENCES:`message-references`,REFERENCES:`references`,CODE_SAMPLE:`code-sample`,CALLBACK_PAYLOAD:`callback-payload`,RESPONSE:`response`,GRAPHQL_QUERY:`graphql-query`,GRAPHQL_RESPONSE:`graphql-response`,GRAPHQL_VARIABLES:`graphql-variables`,GRAPHQL_TYPE_SAMPLE:`graphql-type-sample`,MCP_EXAMPLE:`mcp-example`},rs={JSON_SCHEMA:`json-schema`,GRAPHQL_TYPE:`graphql-type`}}));function is(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function as(e){if(!e)return;let t=e.startsWith(`#`)?e.slice(1):e;return t.startsWith(`/`)?t.slice(1):t}var os=o((()=>{}));B(),os();var ss={schemaStore:{},exampleStore:{},securitySchemeStore:{}},cs=Bo({items:[],store:ss,options:{}}),ls=Bo(e=>e(cs).items),us=Bo(e=>{let t={};function n(e){for(let r of e){let e=r.content?.meta?.name;r.httpVerb===`schema`&&e&&r.routeSlug&&(t[e]=r.routeSlug),`items`in r&&Array.isArray(r.items)&&n(r.items)}}return n(e(cs).items),t}),ds=Bo(e=>e(cs).options),fs=Bo(e=>e(cs).store?.specType??e(cs).options.specType),ps=Bo(e=>e(cs).options.basePath),ms=Bo(e=>e(cs).store??ss),hs=Bo(e=>e(cs).definition),gs=Bo(e=>e(cs).definitionUrl),_s=s(((e,t)=>{(function(n,r,i){typeof e==`object`?(t.exports=i(),t.exports.default=i()):typeof define==`function`&&define.amd?define(i):r[n]=i()})(`slugify`,e,function(){var e=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),t=JSON.parse(`{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}`);function n(n,r){if(typeof n!=`string`)throw Error(`slugify: string argument expected`);r=typeof r==`string`?{replacement:r}:r||{};var i=t[r.locale]||{},a=r.replacement===void 0?`-`:r.replacement,o=r.trim===void 0||r.trim,s=n.normalize().split(``).reduce(function(t,n){var o=i[n];return o===void 0&&(o=e[n]),o===void 0&&(o=n),o===a&&(o=` `),t+o.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,``)},``);return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,``)),o&&(s=s.trim()),s=s.replace(/\s+/g,a),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n})}));function vs(e){if(e){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e)}}function ys(e){return e.split(``).map(e=>e+`̵`).join(``)}function bs(e){return e.replace(/\\/g,`%5C`)}function xs(e){try{return decodeURIComponent(e.replace(Es,`%25`))}catch{return e}}function Ss(e){return(0,Ts.default)(e)||e.toString().toLowerCase().replace(/\s+/g,`-`).replace(/&/g,`-and-`).replace(/--+/g,`-`).replace(/^-+/,``).replace(/(?<!-)-+$/,``)}function Cs(e,t={}){try{return JSON.parse(e)}catch{return t}}function ws(e){let t=e.split(`.`);return t.length>1?t[t.length-1].toLowerCase():`file`}var Ts,Es,Ds=o((()=>{Ts=u(_s(),1),Es=/%(?![0-9a-f]{2})/gi}));function Os(e=``,t=``,n=`/`){return e.endsWith(n)&&e!==n&&(e=e.slice(0,-n.length)),t.startsWith(n)&&(t=t.slice(n.length)),!e||!t||e===n?e+t:e+n+t}function ks(e){return e.length>1&&e.endsWith(`/`)&&(e=e.slice(0,-1)),e.startsWith(`/`)||(e=`/`+e),e}function As(e){return e.startsWith(`/`)?e.slice(1):e}function js(e,t){return As(Ms(e,t))||void 0}function Ms(e,t){if(!t)return e;let n=ks(e),r=ks(t);return n===r?``:n.startsWith(r+`/`)?n.slice(r.length+1):e}var Ns=o((()=>{}));function Ps(e,t,n,r){let i=new Map,a=new Map,o=new Map,s=r??t;for(let e of s){i.set(e.tag.path,e);for(let t of e.items)a.set(t.path,e)}for(let t=0;t<e.length;t++){let n=e[t];o.set(n.path,t);let r=xs(n.path);r!==n.path&&o.set(r,t)}return{allRoutes:e,tagByPath:i,itemToParentTag:a,routeIndexByPath:o,rootPage:e[0],tags:t.map(e=>e.tag)}}function Fs(e,t){let n=xs(t||`/`).toLowerCase(),r=e.routeIndexByPath.get(n);if(r!==void 0)return e.allRoutes[r];let i=n.replace(Vs,``);if(i!==n){let t=e.routeIndexByPath.get(i||`/`);if(t!==void 0)return e.allRoutes[t]}if(n===`/`)return e.allRoutes[0]}function Is({apiItems:e,allRoutes:t,tagsWithItems:n,parentTag:r,allTagsWithItems:i}){for(let a of e){if(a.type===`link`&&a.link){let e=Ls(a);t.push(e),r&&r.items.push(e);continue}if(a.type===`group`){if(a.link){let e=Ls(a);t.push(e);let o={tag:e,items:[]};r?r.items.push(e):o.tag.content!==null&&n.push(o),i&&i.push(o),a.items&&Is({apiItems:a.items,allRoutes:t,tagsWithItems:n,parentTag:o,allTagsWithItems:i})}else a.items&&Is({apiItems:a.items,allRoutes:t,tagsWithItems:n,parentTag:r,allTagsWithItems:i});continue}a.type===`separator`&&a.items&&Is({apiItems:a.items,allRoutes:t,tagsWithItems:n,parentTag:r,allTagsWithItems:i})}}function Ls(e){let t=xs(e.routeSlug??e.link??``).toLowerCase(),n=`badges`in e?e.badges:void 0,r=`deprecated`in e?e.deprecated:void 0;return{path:t,label:e.label??``,content:e.content,badges:n,deprecated:r}}function Rs(e){let t=[];for(let n of e.allRoutes){if(n.content===null||e.itemToParentTag.has(n.path))continue;let r=e.tagByPath.get(n.path),i=r?zs(r,e.tagByPath):[];t.push({sectionId:n.path,content:n.content,path:n.path,children:i})}return t}function zs(e,t,n=e.tag.path){let r=[];for(let i of e.items){r.push({...i,gatePath:n});let e=t.get(i.path);if(e){let i=e.tag.content?.contentType===ts.ITEM?n:e.tag.path;r.push(...zs(e,t,i))}}return r}function Bs(e,t){let n=new Set;if(!e)return n;if(e.content===null&&t.rootPage)return n.add(t.rootPage.path),n;n.add(e.path);let r=t.tagByPath.get(e.path);if(r){let e=r.items.find(e=>e.content!==null);e&&n.add(e.path)}return n}var Vs,Hs=o((()=>{Ds(),Vs=/\/(index(\.(ya?ml|json|graphql|gql|html?))?)?$/}));function Us(e){let t=[];for(let[n,r]of Object.entries(e))r!==void 0&&t.push(`${n}=${r}`);return t.join(`&`)}function Ws(e,t){return e=bs(e).replace(/^\/+/,``),(`/${e}#`+Os(e,t)).toLowerCase()}function Gs(e,t,n){return ks(Os(e,Ws(t,n)))}function Ks(e){return xs(e.startsWith(`#`)?e.slice(1):e).toLowerCase()}function qs(e){let t=xs(e),n=t.indexOf(`#`);return n>=0?t.slice(n+1):``}function Js(e){return Us({t:e.t,in:e.in,c:e.c,cb:e.cb,ct:e.ct,path:e.path})}function Ys(e,t,n){let r=e;return n&&(r=`${r}&c=${n}`),t&&(r=Os(r,t)),r}function Xs(e){let{section:t,messageKey:n,subsection:r}=e;if(!n)return t;let i=`${t}&m=${n}`;return r&&(i+=`&t=${r}`),i}function Zs(e){return Us({t:e.t,path:e.path,arg:e.arg,rt:e.rt})}function Qs(e,t){return!e||!t?!1:xs(e.startsWith(`#`)?e.slice(1):e).toLowerCase().includes(`path=${t.toLowerCase()}.`)}function $s(e){if(e)return qs(e)||void 0}function ec(e,t){let n=[...e??[]];return n.length>0?n[n.length-1]+=t:n.push(t),n}function tc(e){return e.length===0?e:[...e.slice(0,-1),e[e.length-1]+`[]`]}function nc(e){let t=e,n;do n=t,t=t.replace(uc,``);while(t!==n);return t}function rc(e){return e.replace(/\[\]/g,``)}function ic(e){return(e??[]).filter(e=>e.includes(`&`)).map(e=>e.slice(e.indexOf(`&`)))}function ac(e,t){if(e)return xs(e.startsWith(`#`)?e.slice(1):e).toLowerCase().match(RegExp(`(?:^|[&/])${t}=(${t===`ct`||t===`m`?`[^&]+`:`[^/&]+`})`))?.[1]}function oc(e){let t=e.indexOf(`path=`);return t===-1?e:e.slice(0,t)}function ste(e){return e.replace(`/${fc}`,`/`)}function sc(e,t){let n=`cb=${t}`;return e.endsWith(n)||e.includes(`${n}&`)}function cte(e,t){let n=`/${t}`;return e.endsWith(n)||e.includes(`${n}/`)}function cc(e,t){return e===t||e.startsWith(`${t}/`)}function lte(e,t,n){if(!e||!t||!n)return!1;let r=Ks(e);if(!cc(r,t))return!1;let i=oc(r),a=n.toLowerCase();return sc(i,a)||cte(i,a)}function ute(e,t,n){let r=oc(e),i=n.toLowerCase();return r.startsWith(Os(t,`${fc}${i}/`))||r.startsWith(Os(t,`${i}/`))||sc(r,i)}function dte(e,t){let n=oc(e).slice(t.length);return!(n.startsWith(`/${fc}`)||n.includes(`cb=`)||hc.some(e=>n.includes(e)))}function fte(e){let t=gc.exec(Ks(e));if(!t)return``;let[,n,r]=t;return n===`section`?`/section${r}`:n===`tag`?r.replace(/^(\/[^/]+)\/operation(?=\/)/,`$1`):r}function lc(e,t,n){let r=Ks(e);if(!r)return;let i=ks(Os(t,r));if(Fs(n,i))return i;let a=fte(e);if(!a)return;let o=a.split(`/`).filter(Boolean);for(let e=o.length;e>0;e--){let r=`/`+o.slice(0,e).join(`/`),i=n.allRoutes.find(e=>e.path.endsWith(r));if(!i)continue;let a=o.slice(e).join(`/`);return a?`${i.path}#${Os(js(i.path,t),a)}`:i.path}}var uc,dc,fc,pc,mc,hc,gc,_c=o((()=>{Ds(),Ns(),Hs(),uc=/&(?:oneof|d)=\d+/g,dc=`callbacks`,fc=`${dc}/`,pc=`callback-request`,mc=`callback-response`,hc=[`/${pc}`,`/${mc}`],gc=/^(tag|operation|paths|section)(\/.*)$/}));_c(),Ns();function pte(e,t){let n=`/`+(t?Ms(e,t):e).replace(/^\/+/,``);return ks(t?Os(t,n):n).replace(/(.)\/#/,`$1#`)}function vc(){let e=I(ps);return useCallback(t=>pte(t,e),[e])}function yc(e){return vc()(e)}Ns();var bc=createContext(void 0),xc=createContext(void 0);function Sc(){return useContext(xc)}function Cc(){let e=useContext(bc),t=I(ps);return useMemo(()=>e?(js(e,t)??``).toLowerCase():``,[e,t])}var wc=createContext(null);function Tc(e,t){let n=useContext(bc),r=Sc(),i=I(ps),a=vc();return useMemo(()=>{if(!n)return``;let o=i?Ms(n,i):n,s=t&&r?Os(Ys(dc,r),e):e;return a(Gs(i,o,s))},[n,r,t,i,e,a])}function Ec(e){return Tc(e,!0)}function mte(e){return Tc(e,!1)}function Dc(e,t){let n=null,r=new Map,i=new Set;function a(i){let s;if(t===void 0)s=r.get(i);else for(let[e,n]of r)if(t(e,i)){s=n;break}if(s!==void 0){if(n?.(s[1],i))a.remove(i);else return s[0]}let c=e(i);return r.set(i,[c,Date.now()]),o(`CREATE`,i,c),c}function o(e,t,n){for(let r of i)r({type:e,param:t,atom:n})}return a.unstable_listen=e=>(i.add(e),()=>{i.delete(e)}),a.getParams=()=>r.keys(),a.remove=e=>{if(t===void 0){if(!r.has(e))return;let[t]=r.get(e);r.delete(e),o(`REMOVE`,e,t)}else for(let[n,[i]]of r)if(t(n,e)){r.delete(n),o(`REMOVE`,n,i);break}},a.setShouldRemove=e=>{if(n=e,n)for(let[e,[t,i]]of r)n(i,e)&&(r.delete(e),o(`REMOVE`,e,t))},a}var Oc=Bo(e=>e(ms).schemaStore??{}),kc=Dc(e=>Bo(t=>t(Oc)[e])),Ac=Symbol(`skip`);function jc(e){return e<10?`0`+e:e}function hte(e,t,n,r){var i=n?``:e.getUTCFullYear()+`-`+jc(e.getUTCMonth()+1)+`-`+jc(e.getUTCDate());return t||(i+=`T`+jc(e.getUTCHours())+`:`+jc(e.getUTCMinutes())+`:`+jc(e.getUTCSeconds())+(r?`.`+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5):``)+`Z`),i}function Mc(e,t){return t>e.length?e.repeat(Math.trunc(t/e.length)+1).substring(0,t):e}function Nc(...e){let t=e=>e&&typeof e==`object`;return e.reduce((e,n)=>(Object.keys(n||{}).forEach(r=>{let i=e[r],a=n[r];e[r]=t(i)&&t(a)?Nc(i,a):a}),e),Array.isArray(e[e.length-1])?[]:{})}function gte(e){var t=yte(e),n=bte(t,t,t,t);return`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,e=>{var t=n()*16%16|0;return(e==`x`?t:t&3|8).toString(16)})}function Pc(e){return{value:e===`object`?{}:e===`array`?[]:void 0}}function Fc(e,t){t&&e.pop()}function _te(e){return{name:e?.xml?.name||``,prefix:e?.xml?.prefix||``,namespace:e?.xml?.namespace||null,attribute:e?.xml?.attribute??!1,wrapped:e?.xml?.wrapped??!1}}function vte(e){let t=e?.xml;return t?.nodeType?t.nodeType:t?.attribute===!0?`attribute`:t?.wrapped===!0&&e?.type===`array`?`element`:e?.$ref||e?.$dynamicRef||e?.type===`array`||e?.oneOf||e?.anyOf||e?.allOf?`none`:`element`}function Ic(e,t={},n={}){let{value:r}=e,{propertyName:i}=n,{name:a,prefix:o,namespace:s}=_te(t),c=vte(t),l=a||i?`${o?o+`:`:``}${a||i}`:null,u=typeof r==`object`?Array.isArray(r)?[...r]:{...r}:r;switch(c){case`attribute`:l&&=`$${l}`;break;case`text`:l=`#text`;break;case`cdata`:l=`#cdata`;break;case`none`:t.type===`array`?(l=null,t.example!==void 0&&(l=t.items?.xml?.name||l)):l=null;break;default:t.type===`array`&&Array.isArray(u)&&(u={[l]:[...u]})}return s&&c!==`text`&&c!==`cdata`&&c!==`none`&&(typeof u==`object`?u[`$xmlns${o?`:`+o:``}`]=s:u={[`$xmlns${o?`:`+o:``}`]:s,"#text":u}),{propertyName:l,value:u}}function yte(e){var t=0;if(e.length==0)return t;for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);t=(t<<5)-t+r,t&=t}return t}function bte(e,t,n,r){return function(){e|=0,t|=0,n|=0,r|=0;var i=e-(t<<27|t>>>5)|0;return e=t^(n<<17|n>>>15),t=n+r|0,n=r+i|0,r=e+i|0,(r>>>0)/4294967296}}function xte(e,t,n,r,i){let a=Wc(e,n,r),o=[];for(let e of t){let{type:t,readOnly:s,writeOnly:c,value:l}=Wc({type:a.type,...e},n,r,{...i,isAllOfChild:!0});a.type&&t&&t!==a.type&&(console.warn(`allOf: schemas with different types can't be merged`),a.type=t),a.type=a.type||t,a.readOnly=a.readOnly||s,a.writeOnly=a.writeOnly||c,l!=null&&o.push(l)}if(a.type===`object`){a.value=Nc(a.value||{},...o.filter(e=>typeof e==`object`));for(let e in a.value)a.value[e]===Ac&&delete a.value[e];return a}return a.type===`array`&&(n.quiet||console.warn(`OpenAPI Sampler: found allOf with "array" type. Result may be incorrect`)),a.value=o[o.length-1]??a.value,a}var Lc={multipleOf:`number`,maximum:`number`,exclusiveMaximum:`number`,minimum:`number`,exclusiveMinimum:`number`,maxLength:`string`,minLength:`string`,pattern:`string`,items:`array`,maxItems:`array`,minItems:`array`,uniqueItems:`array`,additionalItems:`array`,maxProperties:`object`,minProperties:`object`,required:`object`,additionalProperties:`object`,properties:`object`,patternProperties:`object`,dependencies:`object`};function Rc(e){if(e.type!==void 0)return Array.isArray(e.type)?e.type.length===0?null:e.type[0]:e.type;let t=Object.keys(Lc);for(var n=0;n<t.length;n++){let r=t[n],i=Lc[r];if(e[r]!==void 0)return i}return null}var Ste=s(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(e,t,i){if(r.call(t)!==`[object Function]`)throw TypeError(`iterator must be a function`);var a=e.length;if(a===+a)for(var o=0;o<a;o++)t.call(i,e[o],o,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}})),zc=s(((e,t)=>{var n=Ste();t.exports=r;function r(e,t,n){if(arguments.length===3)return r.set(e,t,n);if(arguments.length===2)return r.get(e,t);var i=r.bind(r,e);for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a].bind(i,e));return i}r.get=function(e,t){for(var n=Array.isArray(t)?t:r.parse(t),i=0;i<n.length;++i){var a=n[i];if(!(typeof e==`object`&&a in e))throw Error(`Invalid reference token: `+a);e=e[a]}return e},r.set=function(e,t,n){var i=Array.isArray(t)?t:r.parse(t),a=i[0];if(i.length===0)throw Error(`Can not set the root object`);for(var o=0;o<i.length-1;++o){var s=i[o];typeof s!=`string`&&typeof s!=`number`&&(s=String(s)),s!==`__proto__`&&s!==`constructor`&&s!==`prototype`&&(s===`-`&&Array.isArray(e)&&(s=e.length),a=i[o+1],s in e||(a.match(/^(\d+|-)$/)?e[s]=[]:e[s]={}),e=e[s])}return a===`-`&&Array.isArray(e)&&(a=e.length),e[a]=n,this},r.remove=function(e,t){var n=Array.isArray(t)?t:r.parse(t),i=n[n.length-1];if(i===void 0)throw Error(`Invalid JSON pointer for remove: "`+t+`"`);var a=r.get(e,n.slice(0,-1));if(Array.isArray(a)){var o=+i;if(i===``&&isNaN(o))throw Error(`Invalid array index: "`+i+`"`);Array.prototype.splice.call(a,o,1)}else delete a[i]},r.dict=function(e,t){var n={};return r.walk(e,function(e,t){n[t]=e},t),n},r.walk=function(e,t,i){var a=[];i||=function(e){var t=Object.prototype.toString.call(e);return t===`[object Object]`||t===`[object Array]`},(function e(o){n(o,function(n,o){a.push(String(o)),i(n)?e(n):t(n,r.compile(a)),a.pop()})})(e)},r.has=function(e,t){try{r.get(e,t)}catch{return!1}return!0},r.escape=function(e){return e.toString().replace(/~/g,`~0`).replace(/\//g,`~1`)},r.unescape=function(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)},r.parse=function(e){if(e===``)return[];if(e.charAt(0)!==`/`)throw Error(`Invalid JSON pointer: `+e);return e.substring(1).split(/\//).map(r.unescape)},r.compile=function(e){return e.length===0?``:`/`+e.map(r.escape).join(`/`)}})),Cte=u(zc()),Bc={},Vc=[];function wte(){Bc={},Vc=[]}function Hc(e){let t;return e.const===void 0?e.examples!==void 0&&e.examples.length?t=e.examples[0]:e.enum!==void 0&&e.enum.length?t=e.enum[0]:e.default!==void 0&&(t=e.default):t=e.const,t}function Uc(e){let t=Hc(e);if(t!==void 0)return{value:t,readOnly:e.readOnly,writeOnly:e.writeOnly,type:null}}function Wc(e,t,n,r){if(r){if(Vc.includes(e))return Pc(Rc(e));Vc.push(e)}if(r&&r.depth>t.maxSampleDepth)return Fc(Vc,r),Pc(Rc(e));if(e.$ref){if(!n)throw Error(`Your schema contains $ref. You must provide full specification in the third parameter.`);let i=decodeURIComponent(e.$ref);i.startsWith(`#`)&&(i=i.substring(1));let a=Cte.default.get(n,i),o;if(Bc[i]!==!0){Bc[i]=!0;let e=Wc(a,t,n,r);if(t.format===`xml`){let t=i.split(`/`).pop(),{propertyName:n,value:s}=Ic(e,a,{...r,propertyName:r?.propertyName||t});o={...e,value:{[n||`root`]:s}}}else o=e;Bc[i]=!1}else o=Pc(Rc(a));return Fc(Vc,r),o}if(e.example!==void 0)return Fc(Vc,r),{value:e.example,readOnly:e.readOnly,writeOnly:e.writeOnly,type:e.type};if(e.allOf!==void 0)return Fc(Vc,r),Uc(e)||xte({...e,allOf:void 0},e.allOf,t,n,r);if(e.oneOf&&e.oneOf.length)return e.anyOf&&(t.quiet||console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf`)),Fc(Vc,r),o(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.oneOf[0]));if(e.anyOf&&e.anyOf.length)return Fc(Vc,r),o(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.anyOf[0]));if(e.if&&e.then){Fc(Vc,r);let{if:i,then:a,...o}=e;return Wc(Nc(o,i,a),t,n,r)}let i=Hc(e),a=null;if(i===void 0){i=null,a=e.type,Array.isArray(a)&&e.type.length>0&&(a=e.type[0]),a||=Rc(e);let o=Wl[a];o&&(i=o(e,t,n,r))}return Fc(Vc,r),{value:i,readOnly:e.readOnly,writeOnly:e.writeOnly,type:a};function o(e,i){let a=Uc(e);if(a!==void 0)return a;let o=Wc({...e,oneOf:void 0,anyOf:void 0},t,n,r),s=Wc(i,t,n,r);if(typeof o.value==`object`&&typeof s.value==`object`){let e=Nc(o.value,s.value);return{...s,value:e}}return s}}function Tte(e,t={},n,r){let i=r&&r.depth||1,a=Math.min(e.maxItems==null?1/0:e.maxItems,e.minItems||1),o=e.prefixItems||e.items||e.contains;Array.isArray(o)&&(a=Math.max(a,o.length));let s=e=>Array.isArray(o)?o[e]||{}:o||{},c=[];if(!o)return c;for(let e=0;e<a;e++){let a=s(e),{value:o}=Wc(a,t,n,{depth:i+1});if(t?.format===`xml`){let{value:e,propertyName:t}=Ic({value:o},a,r);t?(c?.[t]||(c={...c,[t]:[]}),c[t].push(e)):c={...c,...e}}else c.push(o)}if(t?.format===`xml`&&i===1){let{value:t,propertyName:n}=Ic({value:null},e,r);n&&(c=t?Array.isArray(c)?{[n]:{...t,...c.map(e=>({"#text":{...e}}))}}:{[n]:{...c,...t}}:{[n]:c})}return c}function Ete(e){return!0}function Gc(e){let t=0;if(e.type===`number`&&(e.format===`float`||e.format===`double`)&&(t=.1),typeof e.exclusiveMinimum==`boolean`||typeof e.exclusiveMaximum==`boolean`){if(Number.isFinite(e.maximum)&&Number.isFinite(e.minimum))return t=e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum,(e.exclusiveMaximum&&t>=e.maximum||!e.exclusiveMaximum&&t>e.maximum)&&(t=(e.maximum+e.minimum)/2),t;if(Number.isFinite(e.minimum))return e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum;if(Number.isFinite(e.maximum))return e.exclusiveMaximum?e.maximum>0?0:Math.floor(e.maximum)-1:e.maximum>0?0:e.maximum}else{if(Number.isFinite(e.minimum))return e.minimum;Number.isFinite(e.exclusiveMinimum)?(t=Math.floor(e.exclusiveMinimum)+1,t===e.exclusiveMaximum&&(t=(t+Math.floor(e.exclusiveMaximum)-1)/2)):Number.isFinite(e.exclusiveMaximum)?t=Math.floor(e.exclusiveMaximum)-1:Number.isFinite(e.maximum)&&(t=e.maximum)}return t}function Dte(e,t={},n,r){let i={},a=r&&r.depth||1;if(e&&typeof e.properties==`object`){let o=Array.isArray(e.required)?e.required:[],s={};for(let e of o)s[e]=!0;Object.keys(e.properties).forEach(o=>{if(t.skipNonRequired&&!s.hasOwnProperty(o))return;let c=Wc(e.properties[o],t,n,{propertyName:o,depth:a+1});if(t.skipReadOnly&&c.readOnly){r?.isAllOfChild&&(i[o]=Ac);return}if(t.skipWriteOnly&&c.writeOnly){r?.isAllOfChild&&(i[o]=Ac);return}if(t?.format===`xml`){let{propertyName:t,value:n}=Ic(c,e.properties[o],{propertyName:o});t?i[t]=n:typeof n==`object`&&n&&(i={...i,...n})}else i[o]=c.value})}if(e&&typeof e.additionalProperties==`object`){let r=e.additionalProperties[`x-additionalPropertiesName`]||`property`;i[`${String(r)}1`]=Wc(e.additionalProperties,t,n,{depth:a+1}).value,i[`${String(r)}2`]=Wc(e.additionalProperties,t,n,{depth:a+1}).value}if(e&&typeof e.properties==`object`&&e.maxProperties!==void 0&&Object.keys(i).length>e.maxProperties){let t={},n=0;(Array.isArray(e.required)?e.required:[]).forEach(e=>{i[e]!==void 0&&(t[e]=i[e],n++)}),Object.keys(i).forEach(r=>{n<e.maxProperties&&!t.hasOwnProperty(r)&&(t[r]=i[r],n++)}),i=t}return i}function Ote(){return!0}function Kc(e,t){return e}function qc(e,t,n){let r=1;if(e)switch(e){case`?`:r=+!Ote();break;case`*`:r=Kc(0,8);break;case`+`:r=Kc(1,8);break;default:throw Error(`Unknown quantifier symbol provided.`)}else t!=null&&n!=null?r=Kc(parseInt(t),parseInt(n)):t!=null&&n==null&&(r=parseInt(t));return r}function kte(e){let t=!1;e instanceof RegExp&&(t=e.flags.includes(`i`),e=e.toString(),e=e.match(/\/(.+?)\//)?.[1]??``),e=e.replace(/^(\^)?(.*?)(\$)?$/,`$2`);let n,r,i,a=/([.A-Za-z0-9])(?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+))(?![^[]*]|[^{]*})/,o=e.match(a);for(;o!=null;){let t=o[2],n=o[3],r=o[4];i=qc(r,t,n),e=e.slice(0,o.index)+o[1].repeat(i)+e.slice(o.index+o[0].length),o=e.match(a)}let s=/(\d-\d|\w-\w|\d|\w|[-!@#$&()`.+,/"])/,c=/\[(\^|)(-|)(.+?)\](?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+)|)/;for(o=e.match(c);o!=null;){let a=o[1]===`^`,l=o[2]===`-`,u=o[4],d=o[5],f=o[6],p=[],m=o[3],h=m.match(s);for(l&&p.push(45);h!=null;){if(h[0].indexOf(`-`)===-1)t&&isNaN(Number(h[0]))?(p.push(h[0].toUpperCase().charCodeAt(0)),p.push(h[0].toLowerCase().charCodeAt(0))):p.push(h[0].charCodeAt(0));else{let e=h[0].split(`-`).map(e=>e.charCodeAt(0));if(n=e[0],r=e[1],n>r)throw Error(`Character range provided is out of order.`);for(let e=n;e<=r;e++)if(t&&isNaN(Number(String.fromCharCode(e)))){let t=String.fromCharCode(e);p.push(t.toUpperCase().charCodeAt(0)),p.push(t.toLowerCase().charCodeAt(0))}else p.push(e)}m=m.substring(h[0].length),h=m.match(s)}if(i=qc(f,u,d),a){let e=-1;for(let t=48;t<=57;t++){if(e=p.indexOf(t),e>-1){p.splice(e,1);continue}p.push(t)}for(let t=65;t<=90;t++){if(e=p.indexOf(t),e>-1){p.splice(e,1);continue}p.push(t)}for(let t=97;t<=122;t++){if(e=p.indexOf(t),e>-1){p.splice(e,1);continue}p.push(t)}}let g=Array.from({length:i},()=>String.fromCharCode(p[Kc(0,p.length-1)])).join(``);e=e.slice(0,o.index)+g+e.slice(o.index+o[0].length),o=e.match(c)}let l=/(.)\{(\d+)\,(\d+)\}/;for(o=e.match(l);o!=null;){if(n=parseInt(o[2]),r=parseInt(o[3]),n>r)throw Error(`Numbers out of order in {} quantifier.`);i=Kc(n,r),e=e.slice(0,o.index)+o[1].repeat(i)+e.slice(o.index+o[0].length),o=e.match(l)}let u=/(.)\{(\d+)\}/;for(o=e.match(u);o!=null;)i=parseInt(o[2]),e=e.slice(0,o.index)+o[1].repeat(i)+e.slice(o.index+o[0].length),o=e.match(u);return e}var Ate=`qwerty!@#$%^123456`;function jte(){return`user@example.com`}function Mte(){return`пошта@укр.нет`}function Nte(e,t){let n=`pa$$word`;return e>n.length&&(n+=`_`,n+=Mc(Ate,e-n.length).substring(0,e-n.length)),n}function Jc({min:e,max:t,omitTime:n,omitDate:r}){let i=hte(new Date(`2019-08-24T14:15:22.123Z`),n,r,!1);return i.length<e&&console.warn(`Using minLength = ${e} is incorrect with format "date-time"`),t&&i.length>t&&console.warn(`Using maxLength = ${t} is incorrect with format "date-time"`),i}function Pte(e,t){return Jc({min:e,max:t,omitTime:!1,omitDate:!1})}function Fte(e,t){return Jc({min:e,max:t,omitTime:!0,omitDate:!1})}function Ite(e,t){return Jc({min:e,max:t,omitTime:!1,omitDate:!0}).slice(1)}function Yc(e,t,n,r,i=!1){if(r&&i)return kte(r);let a=Mc(`string`,e);return t&&a.length>t&&(a=a.substring(0,t)),a}function Lte(){return`192.168.0.1`}function Rte(){return`2001:0db8:85a3:0000:0000:8a2e:0370:7334`}function zte(){return`example.com`}function Bte(){return`приклад.укр`}function Vte(){return`http://example.com`}function Hte(){return`../dictionary`}function Ute(){return`http://example.com/{endpoint}`}function Wte(){return`http://example.com/entity/1`}function Gte(){return`/entity/1`}function Kte(e,t,n){return gte(n||`id`)}function qte(){return`/json/pointer`}function Jte(){return`1/relative/json/pointer`}function Yte(){return`/regex/`}var Xte={email:jte,"idn-email":Mte,password:Nte,"date-time":Pte,date:Fte,time:Ite,ipv4:Lte,ipv6:Rte,hostname:zte,"idn-hostname":Bte,iri:Wte,"iri-reference":Gte,uri:Vte,"uri-reference":Hte,"uri-template":Ute,uuid:Kte,default:Yc,"json-pointer":qte,"relative-json-pointer":Jte,regex:Yte};function Zte(e,t,n,r){let i=Xte[e.format||`default`]||Yc,a=r&&r.propertyName;return i(e.minLength||0,e.maxLength,a,e.pattern,t?.enablePatterns)}var Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl=o((()=>{Xc=`:A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�`,Zc=Xc+`\\-\\.\\d·̀-ͯ‿-⁀`,Qc=`:A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,$c=Qc+`\\-\\.\\d·̀-ͯ҇‿-⁀`,el=(e,t,n=``)=>{let r=`[${e.replace(`:`,``)}][${t.replace(`:`,``)}]*`;return{name:RegExp(`^[${e}][${t}]*$`,n),ncName:RegExp(`^${r}$`,n),qName:RegExp(`^${r}(?::${r})?$`,n),nmToken:RegExp(`^[${t}]+$`,n),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,n)}},tl=el(Xc,Zc),nl=el(Qc,$c,`u`),rl=el(`:A-Za-z_`,`:A-Za-z_\\-\\.\\d`),il=(e=`1.0`,t=!1)=>t?rl:e===`1.1`?nl:tl,al=[`name`,`ncName`,`qName`,`nmToken`,`nmTokens`],ol=(e,{xmlVersion:t=`1.0`,asciiOnly:n=!1,maxCacheSize:r=2048}={})=>{if(!al.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${al.join(`, `)}`);let i=il(t,n)[e],a=new Map,o=e=>{let t=a.get(e);if(t!==void 0)return t;let n=i.test(e);return a.size<r&&a.set(e,n),n};return o.reset=()=>{a=new Map},o}})),cl,Qte=o((()=>{cl=class{constructor(e,t={},n){this.pattern=e,this.separator=t.separator||`.`,this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(e=>e.type===`deep-wildcard`),this._hasAttributeCondition=this.segments.some(e=>e.attrName!==void 0),this._hasPositionSelector=this.segments.some(e=>e.position!==void 0)}_parse(e){let t=[],n=0,r=``;for(;n<e.length;)e[n]===this.separator?n+1<e.length&&e[n+1]===this.separator?(r.trim()&&(t.push(this._parseSegment(r.trim())),r=``),t.push({type:`deep-wildcard`}),n+=2):(r.trim()&&t.push(this._parseSegment(r.trim())),r=``,n++):(r+=e[n],n++);return r.trim()&&t.push(this._parseSegment(r.trim())),t}_parseSegment(e){let t={type:`tag`},n=null,r=e,i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(r=i[1]+i[3],i[2])){let e=i[2].slice(1,-1);e&&(n=e)}let a,o=r;if(r.includes(`::`)){let t=r.indexOf(`::`);if(a=r.substring(0,t).trim(),o=r.substring(t+2).trim(),!a)throw Error(`Invalid namespace in pattern: ${e}`)}let s,c=null;if(o.includes(`:`)){let e=o.lastIndexOf(`:`),t=o.substring(0,e).trim(),n=o.substring(e+1).trim();[`first`,`last`,`odd`,`even`].includes(n)||/^nth\(\d+\)$/.test(n)?(s=t,c=n):s=o}else s=o;if(!s)throw Error(`Invalid segment pattern: ${e}`);if(t.tag=s,a&&(t.namespace=a),n){if(n.includes(`=`)){let e=n.indexOf(`=`);t.attrName=n.substring(0,e).trim(),t.attrValue=n.substring(e+1).trim()}else t.attrName=n.trim()}if(c){let e=c.match(/^nth\((\d+)\)$/);e?(t.position=`nth`,t.positionValue=parseInt(e[1],10)):t.position=c}return t}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}})),ll,ul,dl=o((()=>{ll=class{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(t.length!==0)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(t.length===0)return!1;let n=t[t.length-1];return n.values!==void 0&&e in n.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},ul=class{constructor(e={}){this.separator=e.separator||`.`,this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new ll(this),this._keptAttrs=[]}push(e,t=null,n=null,r=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length,a=this.siblingStacks[i];a||(a={counts:new Map,total:0},this.siblingStacks[i]=a);let o=n?`${n}:${e}`:e,s=a.counts.get(o)||0,c=a.total;a.counts.set(o,s+1),a.total++;let l={tag:e,position:c,counter:s};n!=null&&(l.namespace=n),t!=null&&(l.values=t),this.path.push(l);let u=this.path.length,d=r===null?null:r.keep;if(d!=null&&d.length>0&&t)for(let e=0;e<d.length;e++){let n=d[e];t[n]!==void 0&&this._keptAttrs.push({depth:u,name:n,value:t[n]})}}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];e!=null&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let t=this.path[this.path.length-1];return t.values!==void 0&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return t[n].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let n=e||this.separator;if(n===this.separator&&t===!0){if(this._pathStringCache!==null)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return t.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,n=e.length-1;for(;n>=0&&t>=0;){let r=e[n];if(r.type===`deep-wildcard`){if(n--,n<0)return!0;let r=e[n],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(r,this.path[e],e===this.path.length-1)){t=e-1,n--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(r,this.path[t],t===this.path.length-1))return!1;t--,n--}}return n<0}_matchSegment(e,t,n){if(e.tag!==`*`&&e.tag!==t.tag||e.namespace!==void 0&&e.namespace!==`*`&&e.namespace!==t.namespace||e.attrName!==void 0&&(!n||!t.values||!(e.attrName in t.values)||e.attrValue!==void 0&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let r=t.counter??0;if(e.position===`first`&&r!==0||e.position===`odd`&&r%2!=1||e.position===`even`&&r%2!=0||e.position===`nth`&&r!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e&&{counts:new Map(e.counts),total:e.total}),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e&&{counts:new Map(e.counts),total:e.total}),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}})),fl=o((()=>{Qte(),dl()}));function pl(e){return typeof e==`number`&&Object.is(e,-0)?`-0`:String(e)}function ml(e){return pl(e).replace(/--/g,`- -`).replace(/--/g,`- -`).replace(/-$/,`- `)}function hl(e){return pl(e).replace(/\]\]>/g,`]]]]><![CDATA[>`)}function gl(e){return pl(e).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`)}var _l=o((()=>{}));function vl(e,t){if(!Array.isArray(e)||e.length===0)return`1.0`;let n=e[0];if(Tl(n)===`?xml`){let e=n[`:@`];if(e){let n=t.attributeNamePrefix+`version`;if(e[n])return e[n]}}return`1.0`}function yl(e,t,n,r,i){return!n.sanitizeName||i(e)?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}function bl(e,t){let n=``;t.format&&(n=kl);let r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let n=t.stopNodes[e];typeof n==`string`?r.push(new cl(n)):n instanceof cl&&r.push(n)}let i=vl(e,t),a=ol(`qName`,{xmlVersion:i}),o=new ul;return xl(e,t,n,o,r,a)}function xl(e,t,n,r,i,a){let o=``,s=!1;if(t.maxNestedTags&&r.getDepth()>t.maxNestedTags)throw Error(`Maximum nested tags exceeded`);if(!Array.isArray(e)){if(e!=null){let n=pl(e);return n=Ol(n,t),n}return``}for(let c=0;c<e.length;c++){let l=e[c],u=Tl(l);if(u===void 0)continue;let d=u===t.textNodeName||u===t.cdataPropName||u===t.commentPropName||u[0]===`?`?u:yl(u,!1,t,r,a),f=Sl(l[`:@`],t);r.push(d,f);let p=Dl(r,i);if(d===t.textNodeName){let e=l[u];p||(e=t.tagValueProcessor(d,e),e=Ol(e,t)),e=pl(e),s&&(o+=n),o+=e,s=!1,r.pop();continue}if(d===t.cdataPropName){s&&(o+=n);let e=l[u][0][t.textNodeName],i=hl(e);o+=`<![CDATA[${i}]]>`,s=!1,r.pop();continue}if(d===t.commentPropName){let e=l[u][0][t.textNodeName],i=ml(e);o+=n+`<!--${i}-->`,s=!0,r.pop();continue}if(d[0]===`?`){let e=El(l[`:@`],t,p,r,a);o+=(d===`?xml`?``:n)+`<${d}${e}?>`,s=!0,r.pop();continue}let m=n;m!==``&&(m+=t.indentBy);let h=n+`<${d}${El(l[`:@`],t,p,r,a)}`,g;g=p?Cl(l[u],t):xl(l[u],t,m,r,i,a),t.unpairedTags.indexOf(d)===-1?(!g||g.length===0)&&t.suppressEmptyNode?o+=h+`/>`:g&&g.endsWith(`>`)?o+=h+`>${g}${n}</${d}>`:(o+=h+`>`,g&&n!==``&&(g.includes(`/>`)||g.includes(`</`))?o+=n+t.indentBy+g+n:o+=g,o+=`</${d}>`):t.suppressUnpairedNode?o+=h+`>`:o+=h+`/>`,s=!0,r.pop()}return o}function Sl(e,t){if(!e||t.ignoreAttributes)return null;let n={},r=!1;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i;n[a]=gl(e[i]),r=!0}return r?n:null}function Cl(e,t){if(!Array.isArray(e))return e==null?``:pl(e);let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=Tl(i);if(a===t.textNodeName)n+=pl(i[a]);else if(a===t.cdataPropName)n+=i[a][0][t.textNodeName];else if(a===t.commentPropName)n+=i[a][0][t.textNodeName];else if(a&&a[0]===`?`)continue;else if(a){let e=wl(i[`:@`],t),r=Cl(i[a],t);!r||r.length===0?n+=`<${a}${e}/>`:n+=`<${a}${e}>${r}</${a}>`}}return n}function wl(e,t){let n=``;if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=e[r];i===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${gl(i)}"`}return n}function Tl(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];if(Object.prototype.hasOwnProperty.call(e,r)&&r!==`:@`)return r}}function El(e,t,n,r,i){let a=``;if(e&&!t.ignoreAttributes)for(let o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;let s=o.substr(t.attributeNamePrefix.length),c=n?s:yl(s,!0,t,r,i),l;n?l=e[o]:(l=t.attributeValueProcessor(o,e[o]),l=Ol(l,t)),l===!0&&t.suppressBooleanAttributes?a+=` ${c}`:a+=` ${c}="${gl(l)}"`}return a}function Dl(e,t){if(!t||t.length===0)return!1;for(let n=0;n<t.length;n++)if(e.matches(t[n]))return!0;return!1}function Ol(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){let r=t.entities[n];e=e.replace(r.regex,r.val)}return e}var kl,Al=o((()=>{fl(),_l(),sl(),kl=`
`}));function jl(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}var Ml=o((()=>{}));function Nl(e){if(this.options=Object.assign({},zl,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];typeof t==`string`?this.stopNodeExpressions.push(new cl(t)):t instanceof cl&&this.stopNodeExpressions.push(t)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=jl(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Rl),this.processTextOrObjNode=Il,this.options.format?(this.indentate=Ll,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return``},this.tagEndChar=`>`,this.newLine=``)}function Pl(e,t){let n=e[`?xml`];if(n&&typeof n==`object`){if(t.attributesGroupName&&n[t.attributesGroupName]){let e=n[t.attributesGroupName][t.attributeNamePrefix+`version`];if(e)return e}let e=n[t.attributeNamePrefix+`version`];if(e)return e}return`1.0`}function Fl(e,t,n,r,i){return!n.sanitizeName||i(e)?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}function Il(e,t,n,r,i){let a=this.extractAttributes(e);if(r.push(t,a),this.checkStopNode(r)){let i=this.buildRawContent(e),a=this.buildAttributesForStopNode(e);return r.pop(),this.buildObjectNode(i,t,a,n)}let o=this.j2x(e,n+1,r,i);return r.pop(),t[0]===`?`?this.buildTextValNode(``,t,o.attrStr,n,r):e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,n,r):this.buildObjectNode(o.val,t,o.attrStr,n)}function Ll(e){return this.options.indentBy.repeat(e)}function Rl(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var zl,Bl=o((()=>{Al(),Ml(),fl(),_l(),sl(),zl={attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:`  `,suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp(`&`,`g`),val:`&amp;`},{regex:RegExp(`>`,`g`),val:`&gt;`},{regex:RegExp(`<`,`g`),val:`&lt;`},{regex:RegExp(`'`,`g`),val:`&apos;`},{regex:RegExp(`"`,`g`),val:`&quot;`}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1},Nl.prototype.build=function(e){if(this.options.preserveOrder)return bl(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new ul,n=Pl(e,this.options),r=ol(`qName`,{xmlVersion:n});return this.j2x(e,0,t,r).val}},Nl.prototype.j2x=function(e,t,n,r){let i=``,a=``;if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw Error(`Maximum nested tags exceeded`);let o=this.options.jPath?n.toString():n,s=this.checkStopNode(n);for(let c in e){if(!Object.prototype.hasOwnProperty.call(e,c))continue;let l=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]===`?`?c:Fl(c,!1,this.options,n,r);if(e[c]===void 0)this.isAttribute(c)&&(a+=``);else if(e[c]===null)this.isAttribute(c)||l===this.options.cdataPropName||l===this.options.commentPropName?a+=``:l[0]===`?`?a+=this.indentate(t)+`<`+l+`?`+this.tagEndChar:a+=this.indentate(t)+`<`+l+`/`+this.tagEndChar;else if(e[c]instanceof Date)a+=this.buildTextValNode(e[c],l,``,t,n);else if(typeof e[c]!=`object`){let u=this.isAttribute(c);if(u&&!this.ignoreAttributesFn(u,o)){let t=Fl(u,!0,this.options,n,r);i+=this.buildAttrPairStr(t,pl(e[c]),s)}else if(!u){if(c===this.options.textNodeName){let t=this.options.tagValueProcessor(c,pl(e[c]));a+=this.replaceEntitiesValue(t)}else{n.push(l);let r=this.checkStopNode(n);if(n.pop(),r){let n=pl(e[c]);a+=n===``?this.indentate(t)+`<`+l+this.closeTag(l)+this.tagEndChar:this.indentate(t)+`<`+l+`>`+n+`</`+l+this.tagEndChar}else a+=this.buildTextValNode(e[c],l,``,t,n)}}}else if(Array.isArray(e[c])){let i=e[c].length,o=``,s=``;for(let u=0;u<i;u++){let i=e[c][u];if(i!==void 0){if(i===null)l[0]===`?`?a+=this.indentate(t)+`<`+l+`?`+this.tagEndChar:a+=this.indentate(t)+`<`+l+`/`+this.tagEndChar;else if(typeof i==`object`){if(this.options.oneListGroup){n.push(l);let e=this.j2x(i,t+1,n,r);n.pop(),o+=e.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else o+=this.processTextOrObjNode(i,l,t,n,r)}else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,i);e=this.replaceEntitiesValue(e),e=pl(e),o+=e}else{n.push(l);let e=this.checkStopNode(n);if(n.pop(),e){let e=pl(i);o+=e===``?this.indentate(t)+`<`+l+this.closeTag(l)+this.tagEndChar:this.indentate(t)+`<`+l+`>`+e+`</`+l+this.tagEndChar}else o+=this.buildTextValNode(i,l,``,t,n)}}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,s,t)),a+=o}else if(this.options.attributesGroupName&&c===this.options.attributesGroupName){let t=Object.keys(e[c]),a=t.length;for(let o=0;o<a;o++){let a=Fl(t[o],!0,this.options,n,r);i+=this.buildAttrPairStr(a,pl(e[c][t[o]]),s)}}else a+=this.processTextOrObjNode(e[c],l,t,n,r)}return{attrStr:i,val:a}},Nl.prototype.buildAttrPairStr=function(e,t,n){return n||(t=this.options.attributeValueProcessor(e,pl(t)),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&t===`true`?` `+e:` `+e+`="`+gl(t)+`"`},Nl.prototype.extractAttributes=function(e){if(!e||typeof e!=`object`)return null;let t={},n=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e;t[i]=gl(r[e]),n=!0}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);i&&(t[i]=gl(e[r]),n=!0)}return n?t:null},Nl.prototype.buildRawContent=function(e){if(typeof e==`string`)return e;if(typeof e!=`object`||!e)return String(e);if(e[this.options.textNodeName]!==void 0)return e[this.options.textNodeName];let t=``;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)||this.isAttribute(n)||this.options.attributesGroupName&&n===this.options.attributesGroupName)continue;let r=e[n];if(n===this.options.textNodeName)t+=r;else if(Array.isArray(r)){for(let e of r)if(typeof e==`string`||typeof e==`number`)t+=`<${n}>${e}</${n}>`;else if(typeof e==`object`&&e){let r=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);t+=r===``?`<${n}${i}/>`:`<${n}${i}>${r}</${n}>`}}else if(typeof r==`object`&&r){let e=this.buildRawContent(r),i=this.buildAttributesForStopNode(r);t+=e===``?`<${n}${i}/>`:`<${n}${i}>${e}</${n}>`}else t+=`<${n}>${r}</${n}>`}return t},Nl.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!=`object`)return``;let t=``;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;let r=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=n[e];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+gl(i)+`"`}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=this.isAttribute(n);if(r){let i=e[n];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+gl(i)+`"`}}return t},Nl.prototype.buildObjectNode=function(e,t,n,r){if(e===``)return t[0]===`?`?this.indentate(r)+`<`+t+n+`?`+this.tagEndChar:this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar;if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=`</`+t+this.tagEndChar,a=``;return t[0]===`?`&&(a=`?`,i=``),(n||n===``)&&e.indexOf(`<`)===-1?this.indentate(r)+`<`+t+n+a+`>`+e+i:this.options.commentPropName!==!1&&t===this.options.commentPropName&&a.length===0?this.indentate(r)+`<!--${ml(e)}-->`+this.newLine:this.indentate(r)+`<`+t+n+a+this.tagEndChar+e+this.indentate(r)+i}},Nl.prototype.closeTag=function(e){let t=``;return this.options.unpairedTags.indexOf(e)===-1?t=this.options.suppressEmptyNode?`/`:`></${e}`:this.options.suppressUnpairedNode||(t=`/`),t},Nl.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},Nl.prototype.buildTextValNode=function(e,t,n,r,i){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName){let t=hl(e);return this.indentate(r)+`<![CDATA[${t}]]>`+this.newLine}if(this.options.commentPropName!==!1&&t===this.options.commentPropName){let t=ml(e);return this.indentate(r)+`<!--${t}-->`+this.newLine}if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i=pl(i),i===``?this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+`<`+t+n+`>`+i+`</`+t+this.tagEndChar}},Nl.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e}})),Vl,Hl=o((()=>{Bl(),Bl(),Vl=Nl})),Ul=o((()=>{Hl()}));Ul();var Wl={},Gl={skipReadOnly:!1,maxSampleDepth:15};function Kl(e,t){if(!e)throw Error(`Unknown format output for building XML.`);return(Array.isArray(e)||Object.keys(e).length>1)&&(e={[t?.xml?.name||`root`]:e}),new Vl({ignoreAttributes:!1,format:!0,attributeNamePrefix:`$`,textNodeName:`#text`,cdataPropName:`#cdata`}).build(e)}function ql(e,t,n){let r=Object.assign({},Gl,t);wte();let i=Wc(e,r,n).value;return r?.format===`xml`?Kl(i,e):i}function Jl(e,t){Wl[e]=t}Jl(`array`,Tte),Jl(`boolean`,Ete),Jl(`integer`,Gc),Jl(`number`,Gc),Jl(`object`,Dte),Jl(`string`,Zte);var Yl,Xl,Zl,Ql,$l,eu=o((()=>{Yl={ON_DEEP_LINK_CLICK:`onDeepLinkClick`,HOOKS:`hooks`},Xl=`data-section-id`,Zl=`webhooks`,Ql=`Webhooks`,$l={OCTET_STREAM:`application/octet-stream`,MULTIPART:`multipart/form-data`,MULTIPART_MIXED:`multipart/mixed`,URL_ENCODED:`application/x-www-form-urlencoded`,JSON:`application/json`,XML:`application/xml`,JSONL:`application/jsonl`,NDJSON:`application/x-ndjson`,JSON_SEQ:`application/json-seq`,EVENT_STREAM:`text/event-stream`}}));eu();var tu=`boundary-separator`,nu=e=>typeof e==`object`&&!!e;function ru(e){let t=e?.format;return typeof t==`string`?t:void 0}function iu(e){let t=e?.contentMediaType;return typeof t==`string`?t:void 0}function au(e){let t=e?.type;return typeof t==`string`?t:void 0}function ou(e,t){if(!e)return;let n=e.prefixItems;if(Array.isArray(n)){let e=n[t];if(e&&typeof e==`object`)return e}let r=e.items;if(Array.isArray(r)){let e=r[t];return e&&typeof e==`object`?e:void 0}if(r&&typeof r==`object`)return r}function su(e,t){let n=e?.properties;if(!n||typeof n!=`object`)return;let r=n[t];if(r&&typeof r==`object`)return r}var cu=(e,t)=>iu(t)||(ru(t)===`binary`?`application/octet-stream`:typeof e==`object`&&e?`application/json`:`text/plain`),lu=e=>{let t=[];if(e.event!==void 0&&t.push(`event: ${e.event}`),e.data!==void 0){let n=e.data;(typeof n==`string`?n:JSON.stringify(n)).split(`
`).forEach(e=>{t.push(`data: ${e}`)})}return e.id!==void 0&&t.push(`id: ${e.id}`),e.retry!==void 0&&t.push(`retry: ${e.retry}`),t.join(`
`)},uu=(e,t)=>{if(typeof e!=`string`)return e;let n=ru(t);return n===`binary`?`[Binary data]`:n===`byte`?`[Base64 encoded data]`:e},du=(e,t)=>{if(!t?.properties||typeof t.properties!=`object`)return e;let n={...e};for(let[e,r]of Object.entries(n)){let i=su(t,e);i&&(n[e]=uu(r,i))}return n},fu=(e,t,n)=>{let r=[`Content-Type: ${e}`];return n&&r.push(`Content-Transfer-Encoding: ${n}`),[...r,``,t].join(`\r
`)},pu=(e,t)=>t.map(t=>`--${e}\r\n${t}`).join(`\r
`),mu=e=>{if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.keys(e);return t.length!==0&&t.every(e=>/^\d+$/.test(e))},hu=e=>Object.keys(e).map(e=>parseInt(e,10)).sort((e,t)=>e-t).map(t=>e[String(t)]),gu=(e,t)=>{let n=[],r=e=>mu(e)?hu(e):e,i=(e,t)=>{let i=r(e);if(typeof i==`object`&&i){let e=Array.isArray(i)?i.map(e=>typeof e==`object`&&e?du(e,t):uu(e,t)):du(i,t);n.push(fu(`application/json`,JSON.stringify(e,null,2)))}else{let e=uu(i,t),r=cu(e,t),a=ru(t),o=a===`binary`?`binary`:a===`byte`?`base64`:void 0;n.push(fu(r,String(e),o))}},a=r(e);return Array.isArray(a)?a.forEach((e,n)=>i(e,ou(t,n)??t)):i(a,t),pu(tu,n)},_u=e=>Array.isArray(e)?e.map(e=>lu(e)).join(`

`):lu(e),vu=(e,t)=>{let n=`0x1E`,r=`0x0A`;return typeof e==`string`?e:au(t)===`array`?`${n}${[JSON.stringify(e)]}${r}`:Array.isArray(e)&&e.length>=1?e.map(e=>`${n}${JSON.stringify(e)}${r}`).join(`
`):`${n}${JSON.stringify(e)}${r}`},yu=(e,t)=>typeof e==`string`?e:au(t)===`array`?`${[JSON.stringify(e)]}`:Array.isArray(e)?e.map(e=>JSON.stringify(e)).join(`
`):JSON.stringify(e),bu={[$l.EVENT_STREAM]:{shouldConvert:nu,convert:_u,lineSeparator:`

`},[$l.JSON_SEQ]:{shouldConvert:nu,convert:vu,lineSeparator:`
`},[$l.JSONL]:{shouldConvert:nu,convert:yu,lineSeparator:`
`},[$l.NDJSON]:{shouldConvert:nu,convert:yu,lineSeparator:`
`},[$l.MULTIPART_MIXED]:{shouldConvert:e=>e!==null,convert:gu,lineSeparator:`\r
`}};function xu(e,t,n,r=!1){let i=bu[t];if(i?.shouldConvert(e)){let a=i.convert(e,n),o;return o=r?Array.from({length:3},()=>a).join(i.lineSeparator):a,t===$l.MULTIPART_MIXED&&(o+=`\r\n--${tu}--`),o}return e}var Su=Symbol(``),Cu=(e,t,n)=>(t.has(n)?t:t.set(n,e())).get(n),wu=new WeakMap,Tu=(e,t,n,r)=>Cu(e,Cu(()=>new WeakMap,Cu(()=>new WeakMap,wu,t),n),r);function Eu(e,t,n=Object.is){return Tu(()=>{let r=Symbol(),i=([e,i])=>{if(i===r)return t(e);let a=t(e,i);return n(i,a)?i:a},a=Bo(t=>{let n=t(a),r=t(e);return i([r,n])});return a.init=r,a},e,t,n)}var Du=e=>typeof e?.then==`function`;function Ou(e=()=>{try{return window.localStorage}catch{return}},t){let n,r,i={getItem:(i,a)=>{let o=e=>{if(e||=``,n!==e){try{r=JSON.parse(e,t?.reviver)}catch{return a}n=e}return r},s=e()?.getItem(i)??null;return Du(s)?s.then(o):o(s)},setItem:(n,r)=>e()?.setItem(n,JSON.stringify(r,t?.replacer)),removeItem:t=>e()?.removeItem(t)},a=e=>(n,r,i)=>e(n,e=>{let n;try{n=JSON.parse(e||``,t?.reviver)}catch{n=i}r(n)}),o;try{o=e()?.subscribe}catch{}return!o&&typeof window<`u`&&typeof window.addEventListener==`function`&&window.Storage&&(o=(t,n)=>{if(!(e()instanceof window.Storage))return()=>{};let r=r=>{r.storageArea===e()&&r.key===t&&n(r.newValue)};return window.addEventListener(`storage`,r),()=>{window.removeEventListener(`storage`,r)}}),o&&(i.subscribe=a(o)),i}var ku=Ou();function Au(e,t,n=ku,r){let i=Bo(r?.getOnInit?n.getItem(e,t):t);return i.onMount=r=>(r(n.getItem(e,t)),n.subscribe?.call(n,e,r,t)),Bo(e=>e(i),(r,a,o)=>{let s=typeof o==`function`?o(r(i)):o;return s===Su?(a(i,t),n.removeItem(e)):Du(s)?s.then(t=>(a(i,t),n.setItem(e,t))):(a(i,s),n.setItem(e,s))})}var ju,Mu=o((()=>{ju=memo})),Nu,Pu=o((()=>{Nu=css`
  /**
    * @tokens Language picker
    * */
  --language-picker-dropdown-font-size: var(--dropdown-menu-font-size); // @presenter FontSize
  --language-picker-dropdown-font-weight: var(--dropdown-menu-font-weight); // @presenter FontWeight
  --language-picker-dropdown-line-height: var(--dropdown-menu-line-height); // @presenter LineHeight
  --language-picker-dropdown-text-color: var(--dropdown-menu-text-color); // @presenter Color

  --language-picker-dropdown-min-width: var(--dropdown-menu-min-width);
  --language-picker-dropdown-max-width: var(--dropdown-menu-max-width);
  --language-picker-dropdown-max-height: var(--dropdown-menu-max-height);
  --language-picker-dropdown-padding: var(--dropdown-menu-padding ); // @presenter Spacing
  --language-picker-dropdown-border-radius: var(--dropdown-menu-border-radius); // @presenter BorderRadius
  --language-picker-dropdown-box-shadow: var(--dropdown-menu-box-shadow); // @presenter Shadow
  --language-picker-dropdown-border-color: var(--dropdown-menu-border-color); // @presenter Color
  --language-picker-dropdown-bg-color: var(--dropdown-menu-bg-color); // @presenter Color

  --language-picker-dropdown-item-padding-horizontal: 20px; // @presenter Spacing
  --language-picker-dropdown-item-padding-vertical: var(--dropdown-menu-item-padding-vertical); // @presenter Spacing
  --language-picker-dropdown-item-separator-padding-top: var(--dropdown-menu-item-separator-padding-top ); // @presenter Spacing
  --language-picker-dropdown-item-separator-padding-bottom: var(--dropdown-menu-item-separator-padding-bottom ); // @presenter Spacing
  --language-picker-dropdown-item-border-radius: var(--dropdown-menu-item-border-radius); // @presenter BorderRadius
  --language-picker-dropdown-item-bg-color-active: var(--dropdown-menu-item-bg-color-active); // @presenter Color
  --language-picker-dropdown-item-bg-color-hover: var(--dropdown-menu-item-bg-color-hover); // @presenter Color
  --language-picker-dropdown-item-bg-color-disabled: var(--dropdown-menu-item-bg-color-disabled); // @presenter Color
  --language-picker-dropdown-item-separator-border-color: var(--dropdown-menu-item-separator-border-color); // @presenter Color
  --language-picker-dropdown-item-color-dangerous: var(--dropdown-menu-item-color-dangerous);
  --language-picker-dropdown-item-color-disabled: var(--dropdown-menu-item-color-disabled);
  --language-picker-dropdown-item-color-active: var(--dropdown-menu-item-color-active);
  --language-picker-dropdown-item-color-hover: var(--dropdown-menu-item-color-hover);
  --language-picker-dropdown-item-border-color-focused: var(--dropdown-menu-item-border-color-focused);

  // @tokens End
`})),Fu,Iu=o((()=>{Fu=css`
    --scorecard-level-color-5-1: var(--color-error-base);
    --scorecard-level-color-5-2: var(--color-persian-green-4);
    --scorecard-level-color-5-3: var(--color-persian-green-5);
    --scorecard-level-color-5-4: var(--color-persian-green-6);
    --scorecard-level-color-5-5: var(--color-persian-green-7);

    --scorecard-level-color-4-1: var(--color-error-base);
    --scorecard-level-color-4-2: var(--color-persian-green-4);
    --scorecard-level-color-4-3: var(--color-persian-green-5);
    --scorecard-level-color-4-4: var(--color-persian-green-6);

    --scorecard-level-color-3-1: var(--color-error-base);
    --scorecard-level-color-3-2: var(--color-persian-green-5);
    --scorecard-level-color-3-3: var(--color-persian-green-6);

    --scorecard-level-color-2-1: var(--color-error-base);
    --scorecard-level-color-2-2: var(--color-persian-green-5);
    `})),Lu,Ru=o((()=>{Lu=css`
  /**
  * @tokens Feedback
  */
  --feedback-padding: var(--spacing-base) 0;
  --feedback-font-size: var(--font-size-base);
  --feedback-line-height: var(--line-height-base);
  --feedback-font-family: var(--font-family-base);
  --feedback-text-color: var(--text-color-primary);
  --feedback-bg-color: transparent;
  --feedback-star-color: var(--color-carrot-6);
  --feedback-width: fit-content; // @presenter Width
  --feedback-border-radius: var(--border-radius-lg);
  --feedback-report-dialog-max-width: 90%; // @presenter Width
  --feedback-report-dialog-max-height: 300px; // @presenter Height
  --feedback-report-dialog-width: 480px; // @presenter Width

  --feedback-header-text-color: var(--text-color-primary);
  --feedback-header-font-size: var(--font-size-lg);
  --feedback-header-line-height: var(--line-height-lg);

  --feedback-comment-min-width: 256px; // @presenter Width
  --feedback-comment-max-width: 480px; // @presenter Width

  @media screen and (max-width: 500px) {
    --feedback-comment-max-width: 100%;
  }
  // @tokens End
`})),zu,Bu=o((()=>{zu=css`

  /**
    * @tokens Sidebar typography
    */

  --sidebar-font-size: var(--font-size-base); // @presenter FontSize
  --sidebar-font-family: var(--font-family-base); // @presenter FontFamily
  --sidebar-word-break: inherit;

  /**
    * @tokens Sidebar colors
    * @presenter Color
    */

  --sidebar-bg-color: var(--bg-color); // @presenter Color
  --sidebar-border-color: var(--border-color-secondary); // @presenter Color
  --sidebar-text-color: var(--tree-content-color-default); // @presenter Color

  /**
    * @tokens Sidebar spacing
    * @presenter Spacing
    */

  --sidebar-spacing-unit: var(--spacing-base); // @presenter Spacing
  --sidebar-width: 285px; // @presenter Spacing
  --sidebar-collapsed-width: 55px; // @presenter Spacing
  --sidebar-margin-horizontal: var(--spacing-base); // @presenter Spacing
  --sidebar-offset-top: var(--sidebar-spacing-unit); // @presenter Spacing
  --sidebar-offset-left: var(--sidebar-spacing-unit); // @presenter Spacing

  --sidebar-chevron-size: var(--spacing-xs); // @presenter Spacing
  
  --sidebar-header-padding-bottom: var(--sidebar-spacing-unit);
  --sidebar-footer-padding-vertical: var(--spacing-sm); // @presenter Spacing
  --sidebar-footer-padding-horizontal: var(--spacing-base); // @presenter Spacing

  /**
    * @tokens Sidebar logo
    */

  --sidebar-logo-max-height: 285px; // @presenter Spacing
  --sidebar-logo-max-width: 285px; // @presenter Spacing
  --sidebar-logo-padding: 2px; // @presenter Spacing

  /**
  * @tokens Sidebar controls
  */

  --sidebar-controls-collapsed-gap: var(--spacing-xs); // @presenter Spacing
  --sidebar-controls-collapsed-padding-vertical: var(--spacing-xs); // @presenter Spacing
  --sidebar-controls-collapsed-padding-horizontal: var(--spacing-xxs); // @presenter Spacing

  // @tokens End
`})),Vu,Hu=o((()=>{Vu=css`
  /**
   * @tokens Breadcrumbs
   */

  --breadcrumbs-text-color: var(--text-color-description); // @presenter Color
  --breadcrumbs-text-color-active: var(--text-color-primary); // @presenter Color
  --breadcrumbs-text-color-border-hover: var(--color-info-border-hover); // @presenter Color

  --breadcrumbs-font-size: var(--font-size-base); // @presenter FontSize
  --breadcrumbs-icon-size: var(--font-size-base); // @presenter FontSize
  --breadcrumbs-font-weight-active: var(--font-weight-medium); // @presenter FontWeight

  --breadcrumbs-border-radius: var(--border-radius-md); // @presenter BorderRadius
  --breadcrumbs-gap: var(--spacing-xxs); // @presenter Spacing

  --breadcrumbs-padding: 2px var(--spacing-xs); // @presenter Spacing
  --breadcrumbs-margin-bottom: var(--spacing-lg); // @presenter Spacing
  --breadcrumbs-background-color-hover: var(--color-hover-base); // @presenter Color
  --breadcrumbs-background-color-focus: var(--color-info-border-hover); // @presenter Color
  --breadcrumbs-box-shadow-focus: 0 0 0 1px var(--breadcrumbs-background-color-focus); // @presenter Color

  --breadcrumb-padding: var(--spacing-xxs); // @presenter Spacing
  --breadcrumb-dropdown-active-icon-position: var(--spacing-xs); // @presenter Spacing

  // @tokens End
`})),Uu,Wu=o((()=>{Uu=css`
  /**
    * @tokens Tag borders
    */

  --tag-border-width: 1px; //@presenter Border
  --tag-border-style: solid; //@presenter Border
  --tag-border-radius: var(--border-radius-md); // @presenter BorderRadius
  --tag-box-shadow: none; // @presenter Shadow
  --tag-border-radius-focused: var(--tag-border-radius); // @presenter BorderRadius

  --tag-status-dot-color-default: var(--color-persian-green-7);
  --tag-badge-size: var(--spacing-xs);
  --tag-badge-border-width: 2px;
  --tag-badge-border-color: var(--border-color-secondary); // @presenter Color
  --tag-border-color-focused: var(--color-blue-4); // @presenter Color
  --tag-close-button-bg-color-focus: var(--color-warm-grey-4); // @presenter Color

  /**
    * @tokens Tag spacing
    */

  --tag-padding-vertical: 1px; //@presenter Spacing
  --tag-padding-horizontal: 8px; //@presenter Spacing
  --tag-padding: 0 var(--tag-padding-horizontal); //@presenter Spacing
  --tag-content-padding: var(--tag-padding-vertical) 0; //@presenter Spacing
  --tag-content-gap: 4px; //@presenter Spacing

  --tag-large-padding-vertical: 4px; //@presenter Spacing
  --tag-large-padding-horizontal: 16px; //@presenter Spacing
  --tag-large-padding: 0 var(--tag-large-padding-horizontal); //@presenter Spacing
  --tag-large-content-padding: var(--tag-large-padding-vertical); //@presenter Spacing
  
  --tag-margin: 0 5px 0 0; //@presenter Spacing
  --tag-gap: 4px; //@presenter Spacing

  /**
    * @tokens Tag size
    */

  .tag-size-large {
    --tag-padding: var(--tag-large-padding);
    --tag-content-padding: var(--tag-large-content-padding);
    --tag-font-size: var(--font-size-base);
  }

  /**
    * @tokens Tag typography
    */

  --tag-font-size: var(--font-size-sm); // @presenter FontSize
  --tag-font-family: inherit; // @presenter FontFamily
  --tag-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --tag-line-height: var(--line-height-sm);
  --tag-text-transform: capitalize;

  /**
    * @tokens Tag icon
    */

  --tag-icon-width: 14px; // @presenter Spacing
  --tag-icon-height: 14px; // @presenter Spacing


  /**
    * @tokens Tag colors
    */
  --tag-basic-content-color: var(--color-warm-grey-9); // @presenter Color
  --tag-basic-bg-color: var(--color-warm-grey-2); // @presenter Color
  --tag-basic-border-color: var(--color-warm-grey-2); // @presenter Color

  .tag-grey,
  .tag-draft,
  .tag-schema,
  .tag-default {
    --tag-color: var(--text-color-secondary); // @presenter Color
    --tag-bg-color: var(--color-warm-grey-2); // @presenter Color
    --tag-border-color: var(--border-color-primary); // @presenter Color
    --tag-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
    --tag-border-color-hover: var(--color-warm-grey-5); // @presenter Color
  }

  .tag-green {
    --tag-color: var(--color-green-8); // @presenter Color
    --tag-bg-color: var(--color-green-1); // @presenter Color
    --tag-border-color: var(--color-green-5); // @presenter Color
    --tag-bg-color-hover: var(--color-green-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-green-2); // @presenter Color
    --tag-border-color-hover: var(--color-green-6); // @presenter Color
  }

  .tag-success,
  .tag-approved {
    --tag-color: var(--color-success-active); // @presenter Color
    --tag-bg-color: var(--color-success-bg); // @presenter Color
    --tag-border-color: var(--color-success-border); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
    --tag-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
    --tag-border-color-hover: var(--color-success-border-hover); // @presenter Color
  }

  .tag-red {
    --tag-color: var(--color-red-7); // @presenter Color
    --tag-bg-color: var(--color-red-1); // @presenter Color
    --tag-border-color: var(--color-red-3); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-red-2); // @presenter Color
    --tag-bg-color-hover: var(--color-red-2); // @presenter Color
    --tag-border-color-hover: var(--color-red-5); // @presenter Color
  }

  .tag-error,
  .tag-declined {
    --tag-color: var(--color-error-active); // @presenter Color
    --tag-bg-color: var(--color-error-bg); // @presenter Color
    --tag-border-color: var(--color-error-border); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-error-hover); // @presenter Color
    --tag-bg-color-hover: var(--color-error-bg-hover); // @presenter Color
    --tag-border-color-hover: var(--color-error-border-hover); // @presenter Color
  }

  .tag-warning,
  .tag-deprecated {
    --tag-color: var(--color-warning-active); // @presenter Color
    --tag-bg-color: var(--color-warning-bg); // @presenter Color
    --tag-border-color: var(--color-warning-border); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-warning-hover); // @presenter Color
    --tag-bg-color-hover: var(--color-warning-bg-hover); // @presenter Color
    --tag-border-color-hover: var(--color-warning-border-hover); // @presenter Color
  }

  .tag-blue {
    --tag-color: var(--color-blue-7); // @presenter Color
    --tag-bg-color: var(--color-blue-1); // @presenter Color
    --tag-border-color: var(--color-blue-4); // @presenter Color
    --tag-bg-color-hover: var(--color-blue-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-blue-2); // @presenter Color
    --tag-border-color-hover: var(--color-blue-6); // @presenter Color
  }

  .tag-processing,
  .tag-info {
    --tag-color: var(--color-info-active); // @presenter Color
    --tag-bg-color: var(--color-info-bg); // @presenter Color
    --tag-border-color: var(--color-info-border); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
    --tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
    --tag-border-color-hover: var(--color-info-border-hover); // @presenter Color
  }

  .tag-link {
    --tag-color: var(--color-info-active); // @presenter Color
    --tag-bg-color: var(--color-info-bg); // @presenter Color
    --tag-border-color: var(--color-info-border); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
    --tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
    --tag-border-color-hover: var(--color-info-border-hover); // @presenter Color
  }

  .tag-purple {
    --tag-color: var(--color-purple-7); // @presenter Color
    --tag-bg-color: var(--color-purple-1); // @presenter Color
    --tag-border-color: var(--color-purple-4); // @presenter Color
    --tag-bg-color-hover: var(--color-purple-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-purple-2); // @presenter Color
    --tag-border-color-hover: var(--color-purple-6); // @presenter Color
  }

  .tag-turquoise,
  .tag-option {
    --tag-color: var(--color-turquoise-8); // @presenter Color
    --tag-bg-color: var(--color-turquoise-1); // @presenter Color
    --tag-border-color: var(--color-turquoise-5); // @presenter Color
    --tag-bg-color-hover: var(--color-turquoise-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-turquoise-2); // @presenter Color
    --tag-border-color-hover: var(--color-turquoise-7); // @presenter Color
  }

  .tag-carrot {
    --tag-color: var(--color-carrot-8); // @presenter Color
    --tag-bg-color: var(--color-carrot-1); // @presenter Color
    --tag-border-color: var(--color-carrot-6); // @presenter Color
    --tag-bg-color-hover: var(--color-carrot-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-carrot-2); // @presenter Color
    --tag-border-color-hover: var(--color-carrot-7); // @presenter Color
  }

  .tag-magenta,
  .tag-hook {
    --tag-color: var(--color-magenta-7); // @presenter Color
    --tag-bg-color: var(--color-magenta-1); // @presenter Color
    --tag-border-color: var(--color-magenta-3); // @presenter Color
    --tag-bg-color-hover: var(--color-magenta-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-magenta-2); // @presenter Color
    --tag-border-color-hover: var(--color-magenta-5); // @presenter Color
  }

  .tag-product {
    --tag-color: var(--color-warm-grey-7); // @presenter Color
    --tag-bg-color: transparent; // @presenter Color
    --tag-border-color: var(--color-warm-grey-4); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
  }

  .tag-grass {
    --tag-color: var(--color-grass-8); // @presenter Color
    --tag-bg-color: var(--color-grass-1); // @presenter Color
    --tag-border-color: var(--color-grass-4); // @presenter Color
    --tag-bg-color-hover: var(--color-grass-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-grass-2); // @presenter Color
    --tag-border-color-hover: var(--color-grass-6); // @presenter Color
  }

  .tag-sky {
    --tag-color: var(--color-sky-8); // @presenter Color
    --tag-bg-color: var(--color-sky-1); // @presenter Color
    --tag-border-color: var(--color-sky-5); // @presenter Color
    --tag-bg-color-hover: var(--color-sky-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-sky-2); // @presenter Color
    --tag-border-color-hover: var(--color-sky-7); // @presenter Color
  }

  .tag-raspberry {
    --tag-color: var(--color-raspberry-7); // @presenter Color
    --tag-bg-color: var(--color-raspberry-1); // @presenter Color
    --tag-border-color: var(--color-raspberry-3); // @presenter Color
    --tag-bg-color-hover: var(--color-raspberry-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-raspberry-2); // @presenter Color
    --tag-border-color-hover: var(--color-raspberry-5); // @presenter Color
  }

  .tag-orange {
    --tag-color: var(--color-orange-7); // @presenter Color
    --tag-bg-color: var(--color-orange-1); // @presenter Color
    --tag-border-color: var(--color-orange-4); // @presenter Color
    --tag-bg-color-hover: var(--color-orange-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-orange-2); // @presenter Color
    --tag-border-color-hover: var(--color-orange-5); // @presenter Color
  }

  .tag-persian-green {
    --tag-color: var(--color-persian-green-8); // @presenter Color
    --tag-bg-color: var(--color-persian-green-1); // @presenter Color
    --tag-border-color: var(--color-persian-green-5); // @presenter Color
    --tag-bg-color-hover: var(--color-persian-green-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-persian-green-2); // @presenter Color
    --tag-border-color-hover: var(--color-persian-green-6); // @presenter Color
  }

  .tag-blueberry {
    --tag-color: var(--color-blueberry-7); // @presenter Color
    --tag-bg-color: var(--color-blueberry-1); // @presenter Color
    --tag-border-color: var(--color-blueberry-4); // @presenter Color
    --tag-bg-color-hover: var(--color-blueberry-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-blueberry-2); // @presenter Color
    --tag-border-color-hover: var(--color-blueberry-6); // @presenter Color
  }

  /**
    * @tokens Tag http
    */
  .tag-http {
    --tag-font-family: var(--font-family-monospaced); // @presenter FontFamily
    --tag-text-transform: uppercase;
  }

  /**
    * @tokens Operation tag colors
    */

  .tag-head {
    --tag-color: #6355CA; // @presenter Color
    --tag-bg-color: #ECEBFA; // @presenter Color
    --tag-bg-color-hover: #E0DEF7; // @presenter Color
  }

  .tag-delete {
    --tag-color: #e70b46; // @presenter Color
    --tag-bg-color: #fee2e9; // @presenter Color
    --tag-bg-color-hover: #fdd3dd; // @presenter Color
  }

  .tag-get {
    --tag-color: #25b869; // @presenter Color
    --tag-bg-color: #e5faef; // @presenter Color
    --tag-bg-color-hover: #D4F7E5; // @presenter Color
  }

  .tag-post {
    --tag-color: #1e65f5; // @presenter Color
    --tag-bg-color: #e2ebfe; // @presenter Color
    --tag-bg-color-hover: #CEDDFD; // @presenter Color
  }

  .tag-query {
    --tag-color: #25b869; // @presenter Color
    --tag-bg-color: #e5faef; // @presenter Color
    --tag-bg-color-hover: #D4F7E5; // @presenter Color
  }

  .tag-put {
    --tag-color: #f5901d; // @presenter Color
    --tag-bg-color: #fef1e2; // @presenter Color
    --tag-bg-color-hover: #FDE2C4; // @presenter Color
  }

  .tag-patch {
    --tag-color: #f5c31d; // @presenter Color
    --tag-bg-color: #fdf6dd; // @presenter Color
    --tag-bg-color-hover: #FCF0C5; // @presenter Color
  }

  .tag-http-deprecated {
    --tag-color: var(--text-color-disabled); // @presenter Color
  }

  .tag-http-additional-operation {
    --tag-color: #F97316; // @presenter Color
    --tag-bg-color: #faede3; // @presenter Color
    --tag-bg-color-hover: #fae2cf; // @presenter Color
  }

  .tag-send {
    --tag-color: #4144F6; // @presenter Color
    --tag-bg-color: #ECECFE; // @presenter Color
    --tag-bg-color-hover: #CFCFFC; // @presenter Color
  }

  .tag-pub {
    --tag-color: #4144F6; // @presenter Color
    --tag-bg-color: #ECECFE; // @presenter Color
    --tag-bg-color-hover: #CFCFFC; // @presenter Color
  }

  .tag-publish {
    --tag-color: #4144F6; // @presenter Color
    --tag-bg-color: #ECECFE; // @presenter Color
    --tag-bg-color-hover: #CFCFFC; // @presenter Color
  }

  .tag-receive {
    --tag-color: #4db144; // @presenter Color
    --tag-bg-color:  #E5FDE2; // @presenter Color
    --tag-bg-color-hover: #D4FCCF; // @presenter Color
  }

  .tag-sub {
    --tag-color: #4db144; // @presenter Color
    --tag-bg-color:  #E5FDE2; // @presenter Color
    --tag-bg-color-hover: #D4FCCF; // @presenter Color
  }

  .tag-cons {
    --tag-color: #4db144; // @presenter Color
    --tag-bg-color:  #E5FDE2; // @presenter Color
    --tag-bg-color-hover: #D4FCCF; // @presenter Color
  }

  .tag-channel {
    --tag-color: #F0870E; // @presenter Color
    --tag-bg-color: #FDF1E2; // @presenter Color
    --tag-bg-color-hover: #FBE1C1; // @presenter Color
  }

  .tag-topic {
    --tag-color: #F0870E; // @presenter Color
    --tag-bg-color: #FDF1E2; // @presenter Color
    --tag-bg-color-hover: #FBE1C1; // @presenter Color
  }

  .tag-queue {
    --tag-color: #D72E81; // @presenter Color
    --tag-bg-color: #FAE5F0; // @presenter Color
    --tag-bg-color-hover: #F7D4E6; // @presenter Color
  }

  .tag-exchange {
    --tag-color: #9B51E0; // @presenter Color
    --tag-bg-color: #F0E5FA; // @presenter Color
    --tag-bg-color-hover: #E6D4F7; // @presenter Color
  }
      
  // shorten alias for exchange tag:
  .tag-exch {
    --tag-color: #9B51E0; // @presenter Color
    --tag-bg-color: #F0E5FA; // @presenter Color
    --tag-bg-color-hover: #E6D4F7; // @presenter Color
  }

  /**
    * @tokens Tag variants
    */

  .tag-variant-filled {
    --tag-border-color: transparent;
    --tag-border-color-hover: transparent;
  }

  .tag-variant-outline {
    --tag-bg-color: transparent;
    --tag-bg-color-hover: transparent;
  }
      
  // @tokens End
`})),Gu,Ku=o((()=>{Gu=css`
  /**
    * @tokens TOC
    * */

  --toc-width: 240px;
  --toc-bg-color: transparent;
  --toc-border-color: var(--border-color-secondary);

  --toc-spacing-unit: var(--spacing-xs);
  --toc-offset-top: var(--toc-spacing-unit);

  /**
     * @tokens TOC item typography
     */
  --toc-item-font-family: var(--font-family-base); // @presenter FontFamily
  --toc-item-font-size: var(--font-size-base); // @presenter FontSize
  --toc-item-line-height: var(--line-height-base);
  /**
    * @tokens TOC item
    */

  --toc-item-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --toc-item-text-color: var(--text-color-description); // @presenter Color
  --toc-item-text-color-active: var(--color-primary-text, var(--toc-item-text-color-active-legacy)); // @presenter Color
  --toc-item-bg-color: transparent; // @presenter Color
  --toc-item-nested-offset: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
  --toc-item-padding-vertical: calc(var(--toc-spacing-unit) / 2); // @presenter Spacing
  --toc-item-padding-horizontal: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
  --toc-item-border-color-active: var(--color-primary-base, var(--toc-item-border-color-active-legacy));
  --toc-item-font-weight-active: var(--font-weight-medium); // @presenter FontWeight

  /**
    * @tokens TOC header
    */

  --toc-heading-font-size: var(--font-size-base); // @presenter FontSize
  --toc-heading-font-family: var(--font-family-base); // @presenter FontFamily
  --toc-heading-font-weight: var(--font-weight-medium); // @presenter FontWeight
  --toc-heading-text-color: var(--text-color-primary); // @presenter Color
  --toc-heading-text-transform: none; // @presenter TextTransform
  --toc-heading-line-height: var(--line-height-base);

  // @tokens End
`})),qu,Ju=o((()=>{qu=css`
  /* === Catalog === */
  /**
    * @tokens Catalog page
    */
  --catalog-page-padding-vertical: var(--spacing-xl);
  --catalog-page-padding-horizontal: var(--spacing-xl);
  --catalog-page-padding: var(--catalog-page-padding-vertical) var(--catalog-page-padding-horizontal);
  --catalog-page-padding-mobile: var(--catalog-page-padding-vertical) var(--spacing-base);

  --catalog-filter-padding-vertical-mobile: 0;
  --catalog-filter-padding-horizontal-mobile: var(--spacing-base);

  --catalog-heading-margin: 0 0 var(--spacing-sm) 0;
  --catalog-sidebar-width: 285px;

  /**
    * @tokens Catalog page wrapper
    */
  --catalog-page-wrapper-font-weight: var(--font-weight-regular);
  --catalog-page-wrapper-text-color: var(--text-color-secondary);
  --catalog-page-wrapper-font-size: var(--font-size-base);
  --catalog-page-wrapper-font-family: var(--font-family-base);
  --catalog-page-wrapper-line-height: var(--line-height-base);

  /**
    * @tokens Catalog page content
    */
  --catalog-page-content-width: 100%;
  --catalog-page-content-margin: 0 auto;

  /**
    * @tokens Catalog page title
    */
  --catalog-title-text-color: var(--text-color-primary);
  --catalog-title-font-weight: var(--font-weight-bold);
  --catalog-title-font-size: var(--h3-font-size);
  --catalog-title-margin: var(--spacing-sm) 0 var(--spacing-sm) 0;
  --catalog-title-spacing-right: 8px;

  /**
    * @tokens Catalog page description
    */
  --catalog-description-text-color: var(--text-color-secondary);
  --catalog-description-font-weight: var(--font-weight-regular);
  --catalog-description-font-size: var(--font-size-lg);
  --catalog-description-margin: 0 0 var(--spacing-base) 0;
  --catalog-description-line-height: var(--line-height-lg);

  /**
    * @tokens Catalog page separator
    */
  --catalog-separator-color: var(--text-color-secondary);
  --catalog-separator-font-size: var(--font-size-base);
  --catalog-separator-font-weight: var(--font-weight-regular);
  --catalog-separator-border-color: var(--border-color-secondary);
  --catalog-separator-margin: 0 0 var(--spacing-base) 0;
  --catalog-separator-padding: var(--spacing-xxs) 0 0 0;
  --catalog-separator-label-margin: 0 var(--spacing-xs);

  /**
    * @tokens Catalog separators and dividers
    */
  --catalog-hr-border-color: var(--border-color-primary);
  --catalog-hr-border-width: 1px;
  --catalog-hr-width: calc(100% + 48px);
  --catalog-hr-margin: auto -24px 0 -24px;

  /**
    * @tokens Catalog links
    */
  --catalog-link-color: var(--link-color-primary);
  --catalog-link-font-weight: var(--link-font-weight);
  --catalog-link-text-decoration: none;

  /**
    * @tokens Catalog selector
    */
  --catalog-select-border-radius: var(--filter-input-border-radius);
  --catalog-select-icon-color: var(--input-t-icon-color);
  --catalog-select-accordion-header-padding: 12px 16px 8px 16px;
  --catalog-select-accordion-body-padding: 0px 16px 12px 16px;
  --catalog-select-select-line-height: 1.15em;
  --catalog-select-select-input-padding: 8px 12px;

  /**
    * @tokens Catalog highlight
    */
  --catalog-highlight-bg-color: var(--search-highlight-bg-color);
  --catalog-highlight-text-color: var(--search-highlight-text-color);

  /**
    * @tokens Catalog entity
    */

  --catalog-entity-max-width: 1072px;
  --catalog-spacing-large: calc(var(--spacing-unit) * 16);
  --catalog-entity-padding: var(--spacing-xl) var(--catalog-spacing-large);
  --catalog-entity-padding-large: var(--spacing-lg) var(--catalog-spacing-large);
  --catalog-entity-padding-medium: var(--spacing-lg) var(--spacing-xl);
  --catalog-entity-padding-small: var(--spacing-lg) var(--spacing-base);
  --catalog-entity-margin: 0 auto;

  /**
    * @tokens Catalog entity icon
    */
  --catalog-entity-icon-color: var(--color-persian-green-8);
  --catalog-entity-border-color: var(--border-color-secondary);
  --catalog-entity-bg-color: var(--bg-color-tonal);

  --catalog-entity-icon-color-service: var(--color-blue-6);
  --catalog-entity-border-color-service: var(--color-blue-4);
  --catalog-entity-bg-color-service: var(--color-blue-1);

  --catalog-entity-icon-color-domain: var(--color-grass-8);
  --catalog-entity-border-color-domain: var(--color-grass-4);
  --catalog-entity-bg-color-domain: var(--color-grass-1);

  --catalog-entity-icon-color-team: var(--color-purple-7);
  --catalog-entity-border-color-team: var(--color-purple-4);
  --catalog-entity-bg-color-team: var(--color-purple-1);

  --catalog-entity-icon-color-user: var(--color-orange-7);
  --catalog-entity-border-color-user: var(--color-orange-4);
  --catalog-entity-bg-color-user: var(--color-orange-1);

  --catalog-entity-icon-color-api-description: var(--color-sky-8);
  --catalog-entity-border-color-api-description: var(--color-sky-5);
  --catalog-entity-bg-color-api-description: var(--color-sky-1);

  --catalog-entity-icon-color-data-schema: var(--color-carrot-8);
  --catalog-entity-border-color-data-schema: var(--color-carrot-6);
  --catalog-entity-bg-color-data-schema: var(--color-carrot-1);

  --catalog-entity-icon-color-api-operation: var(--color-raspberry-7);
  --catalog-entity-border-color-api-operation: var(--color-raspberry-3);
  --catalog-entity-bg-color-api-operation: var(--color-raspberry-1);

  --catalog-entity-icon-color-custom: var(--color-persian-green-8);
  --catalog-entity-border-color-custom: var(--color-persian-green-5);
  --catalog-entity-bg-color-custom: var(--color-persian-green-1);

  /**
    * @tokens Catalog tags
    */
  --catalog-tags-more-button-font-size: var(--font-size-base);
  --catalog-tags-more-button-margin-left: 4px;
  --catalog-tags-row-gap: var(--spacing-xxs);
  --catalog-tags-placeholder-bg-color: var(--bg-color);
  --catalog-tags-not-connected-font-size: var(--font-size-base);
  --catalog-tags-not-connected-line-height: var(--line-height-base);
  --catalog-tags-not-connected-color: var(--text-color-disabled);
  --catalog-tags-tag-left-padding: 2px;

  /**
    * @tokens Catalog empty state
    */
  --catalog-empty-state-padding: var(--catalog-table-empty-state-padding);
  --catalog-empty-state-font-weight: var(--font-weight-regular);

  /**
    * @tokens Catalog actions
    */
  --catalog-actions-row-margin-bottom: var(--spacing-xl);
  --catalog-controls-wrapper-gap: var(--spacing-sm);

  /**
    * @tokens Catalog filter
    */
  --catalog-filter-input-width: 360px;
  --catalog-filter-content-header-padding: var(--spacing-base) var(--spacing-base) var(--spacing-sm) var(--spacing-base);

  /**
    * @tokens Catalog search input wrapper
    */
  --catalog-search-input-wrapper-width: var(--catalog-filter-input-width);

  /**
    * @tokens Catalog controls wrapper
    */
  --catalog-controls-wrapper-display: flex;
  --catalog-controls-wrapper-align-items: center;
  --catalog-controls-wrapper-margin-left: auto;

  /**
    * @tokens Catalog sort button
    */
  --catalog-sort-trigger-gap: var(--spacing-xs);
  --catalog-sort-trigger-padding: 6px 8px;
  --catalog-sort-trigger-border-radius: var(--border-radius-lg);
  --catalog-sort-trigger-hover-bg-color: var(--button-bg-color-secondary-hover);
  --catalog-sort-icon-color: var(--text-color-secondary);
  --catalog-sort-text-font-size: var(--font-size-sm);
  --catalog-sort-text-color: var(--text-color-secondary);
  --catalog-sort-text-font-weight: var(--font-weight-medium);

  /**
    * @tokens Catalog sidebar
    */
  --catalog-sidebar-display-mobile: none;
  --catalog-sidebar-display-desktop: flex;
  --catalog-sidebar-menu-container-padding-top: 0;

  /**
    * @tokens Catalog card
    */
  --catalog-card-height: 241px;
  --catalog-card-padding-vertical: var(--spacing-md);
  --catalog-card-padding-horizontal: var(--spacing-md);
  --catalog-card-gap: var(--spacing-sm);
  --catalog-card-text-color: var(--text-color-secondary);
  --catalog-card-font-size: var(--font-size-base);
  --catalog-card-font-weight: var(--font-weight-regular);
  --catalog-card-bg-color: var(--layer-color);
  --catalog-card-border-color: var(--border-color-secondary);
  --catalog-card-divider-color: var(--border-color-secondary);
  --catalog-card-border-width: var(--border-width);
  --catalog-card-border-style: var(--border-style);
  --catalog-card-border-color-hover: var(--border-color-primary);
  --catalog-card-border-radius: var(--border-radius-xl);
  --catalog-cards-group-margin: 0 0 var(--spacing-base) 0;
  --catalog-cards-group-gap: var(--spacing-lg);

  /**
    * @tokens Catalog card icon
    */
  --catalog-card-icon-width: 30px;
  --catalog-card-icon-height: 30px;
  --catalog-card-icon-border-radius: var(--border-radius);
  --catalog-card-icon-bg-color: var(--bg-color);
  --catalog-card-icon-border-color: var(--border-color-secondary);
  --catalog-card-icon-border-width: 1px;
  --catalog-card-icon-margin-right: var(--spacing-xs);

  /**
    * @tokens Catalog metadata
    */
  --catalog-metadata-section-margin-top: var(--spacing-base);
  --catalog-metadata-section-gap: var(--spacing-xs);
  --catalog-metadata-label-font-size: var(--font-size-base);
  --catalog-metadata-label-font-weight: var(--font-weight-medium);
  --catalog-metadata-label-color: var(--text-color-description);
  --catalog-metadata-column-half-gap: var(--spacing-sm);
  --catalog-metadata-heading-size: var(--font-size-md);

  /**
    * @tokens Catalog show more button
    */
  --catalog-show-more-button-gap: 0.5rem;
  --catalog-show-more-button-color: var(--text-color-primary);
  --catalog-show-more-button-color-hover: var(--text-color-secondary);

  /**
    * @tokens Catalog arrow circle
    */
  --catalog-arrow-circle-size: 32px;
  --catalog-arrow-circle-radius: 16px;
  --catalog-arrow-circle-bg-color: var(--button-bg-color-secondary);

  /**
    * @tokens Catalog card title
    */
  --catalog-card-title-color: var(--text-color-primary);
  --catalog-card-title-min-height: var(--spacing-xxl);
  --catalog-card-title-font-size: var(--font-size-xl);
  --catalog-card-title-font-weight: var(--font-weight-medium);
  --catalog-card-title-line-height: var(--line-height-xl);
  --catalog-card-title-height: 34px;
  --catalog-card-title-display: flex;
  --catalog-card-title-align-items: center;
  --catalog-card-title-margin-bottom: 2px;

  /**
    * @tokens Catalog card summary
    */
  --catalog-card-summary-font-size: var(--font-size-base);
  --catalog-card-summary-font-weight: var(--font-weight-regular);
  --catalog-card-summary-line-height: var(--line-height-base);

  /**
    * @tokens Catalog card footer
    */
  --catalog-card-footer-height: 68px;

  /**
    * @tokens Catalog card description
    */
  --catalog-card-description-line-clamp: 3;
  --catalog-card-description-color: var(--text-color-description);
  --catalog-card-description-font-size: var(--font-size-base);
  --catalog-card-description-line-height: var(--line-height-base);
  --catalog-card-description-font-weight: var(--font-weight-regular);
  --catalog-card-description-height: 62px;
  --catalog-card-description-margin-top: 8px;

  --catalog-card-content-gap: var(--spacing-xs);
  --catalog-card-content-gap-vertical: var(--spacing-sm);

  --catalog-card-tag-bg: transparent;

  --catalog-actions-gap: var(--spacing-xs);
  --catalog-actions-padding-vertical: var(--spacing-xs);
  --catalog-actions-padding-horizontal: 5%;
  --catalog-actions-min-height: 40px;
  --catalog-actions-bg-color: var(--bg-color-tonal);

  --catalog-page-badge-border-radius: var(--badge-border-radius);
  --catalog-page-badge-padding: 0 var(--spacing-xs);
  --catalog-page-badge-font-size: var(--font-size-base);
  --catalog-page-badge-line-height: var(--line-height-base);

  --catalog-page-badge-dot-size: 6px;
  --catalog-page-badge-dot-border-color: var(--color-static-white);


  /**
    * @tokens Catalog table
    */
  --catalog-table-border-color: var(--border-color-secondary);
  --catalog-table-header-bg-color: var(--layer-color);
  --catalog-table-header-font-weight: var(--font-weight-medium);
  --catalog-table-header-cell-padding: 4px 6px 4px 8px;
  --catalog-table-cell-padding: 4px 6px 4px 8px;
  --catalog-table-row-hover-bg-color: var(--bg-color-hover, rgba(0, 0, 0, 0.04));
  --catalog-table-empty-state-padding: 32px;
  --catalog-table-empty-state-color: var(--text-color-secondary);
  --catalog-table-title-cell-gap: var(--spacing-xs);
  --catalog-table-entity-title-content-offset: 40px;

  /**
    * @tokens Catalog table header
    */
  --catalog-table-header-sort-icon-color-active: var(--text-color-primary);
  --catalog-table-header-sort-icon-color-inactive: var(--text-color-helper);
  --catalog-table-header-sort-indicator-color: var(--icon-color-primary);
  --catalog-table-header-sort-arrow-bg-active: var(--bg-color-active);

  /**
    * @tokens Catalog table icon
    */
  --catalog-table-icon-width: 32px;
  --catalog-table-icon-height: 32px;
  --catalog-table-icon-border-radius: var(--border-radius);
  --catalog-table-icon-bg-color: var(--bg-color-tonal);
  --catalog-table-icon-border-color: var(--border-color-secondary);
  --catalog-table-icon-border-width: 1px;

  /**
    * @tokens Catalog table entity title
    */
  --catalog-table-entity-title-font-size: var(--font-size-lg);
  --catalog-table-entity-title-line-height: var(--line-height-lg);
  --catalog-table-entity-title-font-weight: var(--font-weight-medium);

  /**
    * @tokens Catalog table description
    */
  --catalog-table-description-line-clamp: 3;
  --catalog-table-description-color: var(--text-color-description);
  --catalog-table-description-font-size: var(--font-size-base);
  --catalog-table-description-line-height: var(--line-height-base);
  --catalog-table-description-font-weight: var(--font-weight-regular);
  --catalog-table-description-height: 62px;
  --catalog-table-entity-summary-font-size: var(--font-size-sm);
  --catalog-table-entity-summary-line-height: var(--line-height-sm);

  --catalog-table-content-gap: var(--spacing-xxs);

  --catalog-table-tag-bg: transparent;

  /**
    * @tokens Catalog entity type tags
    */
  --catalog-entity-service-tag-text-color: var(--color-blue-7);
  --catalog-entity-service-tag-border-color: var(--color-blue-4);

  --catalog-entity-domain-tag-text-color: var(--color-grass-8);
  --catalog-entity-domain-tag-border-color: var(--color-grass-4);

  --catalog-entity-team-tag-text-color: var(--color-purple-7);
  --catalog-entity-team-tag-border-color: var(--color-purple-4);

  --catalog-entity-user-tag-text-color: var(--color-green-7);
  --catalog-entity-user-tag-border-color: var(--color-green-4);

  --catalog-entity-api-description-tag-text-color: var(--color-sky-8);
  --catalog-entity-api-description-tag-border-color: var(--color-sky-5);

  /**
    * @tokens Catalog view mode toggle
    */
  --catalog-view-mode-toggle-gap: var(--spacing-xxs);
  --catalog-view-mode-toggle-active-bg-color: var(--button-bg-color-secondary-hover);
  --catalog-view-mode-button-width: 32px;
  --catalog-view-mode-button-height: 32px;
  --catalog-view-mode-button-border-radius: var(--border-radius-md);
  --catalog-view-mode-table-icon-size: 12px;
  --catalog-view-mode-cards-icon-size: 13px;

  /**
    * @tokens Catalog empty state
    */
  --catalog-empty-state-text-color: var(--text-color-description);
  --catalog-empty-state-min-height: 300px;
  --catalog-empty-state-header-text-color: var(--text-color-primary);
  --catalog-empty-state-header-font-size: var(--font-size-xl);
  --catalog-empty-state-header-font-weight: var(--font-weight-medium);
  --catalog-empty-state-header-line-height: var(--line-height-xl);
  --catalog-empty-state-font-size: var(--font-size-base);
  --catalog-empty-state-line-height: var(--line-height-base);

  /**
    * @tokens Catalog avatar
    */
  --catalog-avatar-bg-color: #ededf2;
  --catalog-avatar-small-size: 20px;
  --catalog-avatar-medium-size: 32px;
  --catalog-avatar-large-size: 40px;
  --catalog-avatar-font-size-small: 10px;
  --catalog-avatar-font-size-medium: var(--font-size-base);
  --catalog-avatar-font-size-large: var(--font-size-lg);
  --catalog-avatar-font-weight: var(--font-weight-regular);
  --catalog-avatar-line-height: var(--line-height-base);
  // @tokens End

  /**
    * @tokens Catalog entity relations node
    */
  --catalog-entity-relations-node-padding-vertical: 8px;
  --catalog-entity-relations-node-padding-horizontal: 12px;
  --catalog-entity-relations-node-padding: var(--catalog-entity-relations-node-padding-vertical) var(--catalog-entity-relations-node-padding-horizontal);
  --catalog-entity-relations-node-gap: 4px;
  --catalog-entity-relations-node-border-radius: 10px;

  --catalog-entity-relations-node-bg-color: var(--layer-color);
  --catalog-entity-relations-node-text-color: var(--catalog-card-text-color);

  --catalog-entity-relations-node-border-color: var(--border-color-secondary);
  --catalog-entity-relations-node-border-width: var(--border-width);
  --catalog-entity-relations-node-border-style: var(--border-style);

  --catalog-entity-relations-node-font-weight: var(--font-weight-regular);

  --catalog-entity-relations-node-root-bg-color: var(--color-blue-6);
  --catalog-entity-relations-node-root-text-color: var(--color-static-white);
  --catalog-entity-relations-node-root-icon-color: var(--color-static-white);
  // @tokens End

  /**
    * @tokens Catalog entity relations edge
    */
  --catalog-entity-relations-edge-label-bg-color: var(--layer-color);
  --catalog-entity-relations-edge-label-text-color: var(--catalog-card-text-color);
  --catalog-entity-relations-edge-label-border-color: var(--border-color-secondary);
  --catalog-entity-relations-edge-label-border-width: var(--border-width);
  --catalog-entity-relations-edge-label-border-style: var(--border-style);
  --catalog-entity-relations-edge-label-border-radius: 10px;

  --catalog-entity-relations-edge-label-padding-vertical: 2px;
  --catalog-entity-relations-edge-label-padding-horizontal: 8px;
  --catalog-entity-relations-edge-label-padding: var(--catalog-entity-relations-edge-label-padding-vertical) var(--catalog-entity-relations-edge-label-padding-horizontal);

  --catalog-entity-relations-edge-label-font-size: 12px;
  --catalog-entity-relations-edge-label-line-height: 1.2;
  // @tokens End

  /**
    * @tokens Catalog history button
    */
  --catalog-history-button-width: 252px;
  --catalog-history-separator-border-color: var(--border-color-secondary);
  --catalog-history-separator-margin: var(--spacing-sm) 0;
  --catalog-history-item-padding: var(--spacing-xxs);
  --catalog-history-item-gap: var(--spacing-xxs);
  --catalog-history-item-border-radius: var(--border-radius-lg);
  --catalog-history-item-bg-color-hover: var(--menu-item-bg-color-hover);
  --catalog-history-icon-size: 16px;
  --catalog-history-icon-gap: 2px;
  --catalog-history-text-font-family: var(--font-family-base);
  --catalog-history-text-font-size: var(--font-size-base);
  --catalog-history-text-font-weight: var(--font-weight-regular);
  --catalog-history-text-line-height: var(--line-height-base);
  --catalog-history-text-color: var(--menu-content-color);
  --catalog-history-pill-gap: var(--spacing-xxs);
  --catalog-history-pill-height: 22px;
  --catalog-history-pill-padding-vertical: 1px;
  --catalog-history-pill-padding-horizontal: var(--spacing-xs);
  --catalog-history-pill-border-color: var(--border-color-primary);
  --catalog-history-pill-border-radius: var(--border-radius-xl);
  --catalog-history-pill-icon-size: 14px;
  --catalog-history-pill-icon-color: var(--color-green-8);
  --catalog-history-pill-font-family: var(--font-family-base);
  --catalog-history-pill-font-size: var(--font-size-base);
  --catalog-history-pill-line-height: var(--line-height-base);
  --catalog-history-pill-text-color: var(--text-color-primary);
  // @tokens End

  /**
    * @tokens Catalog history sidebar
    */
  --catalog-history-sidebar-width: 320px;
  --catalog-history-sidebar-bg-color: var(--sidebar-bg-color);
  --catalog-history-sidebar-border-color: var(--border-color-secondary);
  --catalog-history-sidebar-padding: var(--spacing-base) var(--spacing-base) 0;
  --catalog-history-sidebar-divider-margin: var(--spacing-sm) 0 0;

  --catalog-history-sidebar-header-padding: var(--spacing-xxs);
  --catalog-history-sidebar-header-font-family: var(--font-family-base);
  --catalog-history-sidebar-header-font-size: var(--font-size-base);
  --catalog-history-sidebar-header-font-weight: var(--font-weight-regular);
  --catalog-history-sidebar-header-line-height: var(--line-height-base);
  --catalog-history-sidebar-header-letter-spacing: 0;
  --catalog-history-sidebar-header-color: var(--menu-content-color);

  --catalog-history-sidebar-close-button-size: 22px;
  --catalog-history-sidebar-close-button-border-radius: var(--border-radius-xl);
  --catalog-history-sidebar-close-button-bg-color-hover: var(--color-hover-base);
  --catalog-history-sidebar-close-icon-color: var(--text-color-primary);

  --catalog-history-sidebar-version-header-padding: var(--spacing-xxs);
  --catalog-history-sidebar-version-header-border-radius: var(--border-radius-md);
  --catalog-history-sidebar-version-header-bg-color-hover: var(--color-hover-base);
  --catalog-history-sidebar-version-header-bg-color-current: var(--menu-item-bg-color-active);

  --catalog-history-sidebar-version-icon-size: 20px;
  --catalog-history-sidebar-version-icon-color: var(--text-color-primary);
  --catalog-history-sidebar-version-icon-color-current: var(--color-static-white);
  --catalog-history-sidebar-version-icon-margin-right: var(--spacing-xxs);
  --catalog-history-sidebar-chevron-icon-color: var(--text-color-secondary);

  --catalog-history-sidebar-version-title-font-family: var(--font-family-base);
  --catalog-history-sidebar-version-title-font-size: var(--font-size-base);
  --catalog-history-sidebar-version-title-font-weight: var(--font-weight-regular);
  --catalog-history-sidebar-version-title-line-height: var(--line-height-base);
  --catalog-history-sidebar-version-title-color: var(--menu-content-color);

  --catalog-history-sidebar-revisions-padding-left: 28px;
  --catalog-history-sidebar-revisions-padding-bottom: var(--spacing-base);
  --catalog-history-sidebar-revision-line-left: 14px;

  --catalog-history-sidebar-revision-item-padding: var(--spacing-xxs) var(--spacing-sm);
  --catalog-history-sidebar-revision-item-border-radius: var(--border-radius-md);
  --catalog-history-sidebar-revision-item-bg-color-hover: var(--bg-color-hover);

  --catalog-history-sidebar-revision-name-font-family: var(--font-family-base);
  --catalog-history-sidebar-revision-name-font-size: var(--font-size-base);
  --catalog-history-sidebar-revision-name-font-weight: var(--font-weight-regular);
  --catalog-history-sidebar-revision-name-line-height: var(--line-height-base);
  --catalog-history-sidebar-revision-name-color: var(--text-color-primary);

  --catalog-history-sidebar-revision-date-font-family: var(--font-family-base);
  --catalog-history-sidebar-revision-date-font-size: var(--font-size-sm);
  --catalog-history-sidebar-revision-date-font-weight: var(--font-weight-regular);
  --catalog-history-sidebar-revision-date-line-height: var(--line-height-sm);
  --catalog-history-sidebar-revision-date-color: var(--color-warm-grey-7);

  --catalog-history-sidebar-revision-line-color: var(--border-color-secondary);
  --catalog-history-sidebar-revision-item-bg-color-active: var(--bg-color-active);

  --catalog-history-sidebar-revisions-limit-message-color: var(--color-warm-grey-6);

  /**
   * @tokens Catalog history tag border radius
   */
  --catalog-history-sidebar-revision-tag-border-radius: var(--border-radius-xl);
  // @tokens End

  /**
   * @tokens Catalog entity type icon
   */
  --catalog-table-icon-width-large: 32px;
  --catalog-table-icon-height-large: 32px;
  --catalog-table-icon-width-medium: 24px;
  --catalog-table-icon-height-medium: 24px;

  /**
   * @tokens Catalog user entity cell
   */
  --catalog-user-entity-cell-email-font-size: var(--font-size-base);
  --catalog-user-entity-cell-email-line-height: var(--line-height-base);
`})),Yu,Xu=o((()=>{Yu=css`
  /* === Image === */

  /**
    * @tokens Image frame
    */
  --image-frame-padding: var(--spacing-xs);
  --image-frame-border-color: var(--border-color-secondary);
  --image-frame-border-radius: var(--border-radius-xxl);
  --image-frame-bg-color: var(--bg-color-raised);
  --image-frame-image-border-radius: var(--border-radius-xl);

  /**
    * @tokens Image caption
    */
  --image-caption-padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-xxs) var(--spacing-lg);
  --image-caption-text-color: var(--text-color-primary);
  --image-caption-font-size: var(--font-size-base);
  --image-caption-line-height: var(--line-height-base);
  --image-caption-font-weight: var(--font-weight-regular);

  /**
    * @tokens Image gallery
    */
  --image-gallery-border-radius: var(--border-radius-xl);
  --image-gallery-image-bg-color: var(--bg-color-tonal);

  /**
    * @tokens Image lightbox
    */
  --image-lightbox-overlay-bg-color: var(--bg-color-modal-overlay);
  --image-lightbox-content-max-width: 90%;
  --image-lightbox-content-max-height: 90%;

  --image-lightbox-image-max-width: min(
    90vw,
    calc(100vw - 2 * var(--image-lightbox-side-gutter))
  );
  --image-lightbox-image-max-height: 90vh;
  --image-lightbox-image-border-radius: var(--border-radius-xl);
  --image-lightbox-image-bg-placeholder: var(--bg-color-tonal);
  --image-lightbox-image-shadow: var(--bg-raised-shadow);

  /**
    * @tokens Image lightbox close button
    */
  --image-lightbox-close-size: 40px;
  --image-lightbox-close-icon-size: 18px;
  --image-lightbox-close-offset: var(--spacing-base);
  --image-lightbox-close-border-radius: var(--border-radius-xl);
  --image-lightbox-side-gutter: calc(
    var(--image-lightbox-close-size) + var(--image-lightbox-close-offset) + var(--spacing-sm)
  );

  // @tokens End
`})),Zu,Qu=o((()=>{Zu=css`
  /* === Filter === */
  /**
  * @tokens Filters
  */
  --filter-group-padding: 0;
  --filter-group-gap: var(--spacing-xs);

  --filter-title-font-weight: var(--font-weight-medium);
  --filter-title-font-size: var(--font-size-base);
  --filter-title-line-height: var(--line-height-base);

  --filter-options-padding-vertical: 0;
  --filter-options-padding-horizontal: 0;
  --filter-options-gap: var(--spacing-xs);
  --filter-options-max-height: 350px;

  --filter-option-font-size: var(--font-size-base);
  --filter-option-gap: var(--spacing-xs);
  --filter-option-margin: 0;

  --filter-option-label-font-size: var(--font-size-base);
  --filter-option-label-color: var(--text-color-primary);

  --filter-option-checkbox-padding-left: var(--spacing-xs);

  --filter-content-header-padding-vertical: var(--spacing-xs) var(--spacing-sm);
  --filter-content-header-padding-horizontal: var(--spacing-base);

  --filter-content-title-font-size: var(--font-size-lg);
  --filter-content-title-line-height: var(--line-height-lg);
  --filter-content-title-font-weight: var(--font-weight-semibold);

  --filter-content-search-padding: 0 var(--spacing-xs) var(--spacing-sm);
  
  --filter-content-padding-vertical: var(--spacing-sm);
  --filter-content-padding-horizontal: var(--spacing-base);
  --filter-content-gap: var(--spacing-sm);
  --filter-content-items-padding: var(--spacing-sm) 0;

  --filter-popover-bg-color: var(--bg-color);
  --filter-popover-header-padding: var(--catalog-filter-padding-vertical-mobile) var(--catalog-filter-padding-horizontal-mobile);
  --filter-popover-header-border-color: var(--border-color-secondary);
  --filter-popover-header-bg-color: var(--navbar-bg-color);
  --filter-popover-header-label-color: var(--navbar-text-color);
  --filter-popover-header-label-font-size: var(--font-size-lg);
  --filter-popover-header-label-font-weight: var(--font-weight-bold);
  --filter-popover-header-button-color: var(--navbar-text-color);
  --filter-popover-header-button-height: var(--control-height-base);
  --filter-popover-header-button-font-size: var(--font-size-base);
  --filter-popover-header-button-font-weight: var(--font-weight-regular);

  --filter-input-border: 1px solid var(--border-color-primary);
  --filter-input-min-width: 200px;
  --filter-input-padding: var(--input-padding) var(--spacing-sm) var(--input-padding) calc(var(--spacing-unit) * 9);
  --filter-input-border-radius: var(--input-border-radius);
  --filter-input-bg-color: var(--input-bg-color);
  --filter-input-color: var(--text-color-secondary);
  --filter-input-font-family: var(--font-family-base);
  --filter-input-font-size: var(--font-size-base);
  --filter-input-line-height: var(--input-line-height);
  --filter-input-placeholder-opacity: 1;
  --filter-input-placeholder-color: var(--input-content-placeholder-color);
  --filter-input-color-hover: var(--text-color-primary);
  --filter-input-border-hover: 1px solid var(--border-color-primary);
  --filter-input-color-focus: var(--text-color-primary);
  --filter-input-border-focus: 1px solid var(--border-color-primary);

  --filter-select-min-height: var(--control-height-base);
  --filter-select-max-width: 100%;
  --filter-select-color: var(--text-color-primary);
  --filter-select-border-color: var(--border-color-primary);
  --filter-select-border-radius: var(--input-border-radius);
  --filter-select-padding: 0;
  --filter-select-border-color-hover: var(--text-color-primary);
  --filter-select-option-margin: 0;
  --filter-select-wrapper-gap: var(--spacing-xxs);

  --filter-date-picker-color: var(--text-color-primary);
  --filter-date-picker-gap: var(--spacing-xs);
  --filter-date-picker-width: 50px;
  --filter-date-picker-tile-bg-color: var(--color-blue-2);
  --filter-date-picker-tile-color: var(--text-color-primary);
  --filter-date-picker-tile-bg-color-hover: var(--color-blue-3);
  --filter-date-picker-tile-color-hover: var(--text-color-primary);
  --filter-date-picker-input-width: var(--spacing-md);
  --filter-date-picker-invalid-input-bg-color: var(--bg-color-raised);
  --filter-date-picker-button-padding: var(--spacing-xxs);
  --filter-date-picker-icon-stroke: var(--text-color-secondary);
  --filter-date-picker-icon-width: var(--spacing-sm);
  --filter-date-picker-icon-stroke-hover: var(--text-color-primary);
  --filter-date-picker-wrapper-border-color: var(--border-color-primary);
  --filter-date-picker-wrapper-radius: var(--border-radius-md);
  --filter-date-picker-wrapper-padding: calc(var(--spacing-xxs) / 2) var(--spacing-xs);

  // @tokens End
`})),$u,ed=o((()=>{$u=css`
  /* === Catalog === */
  /**
    * @tokens Catalog page
    */
  --catalog-classic-page-padding-vertical: var(--spacing-lg);
  --catalog-classic-page-padding-horizontal: var(--spacing-xl);
  --catalog-classic-page-padding: var(--catalog-classic-page-padding-vertical) var(--catalog-classic-page-padding-horizontal);

  --catalog-classic-filter-padding-vertical-mobile: 0;
  --catalog-classic-filter-padding-horizontal-mobile: var(--spacing-base);

  --catalog-classic-heading-margin: 0 0 var(--spacing-xl) 0;

  /**
    * @tokens Catalog page title
    */
  --catalog-classic-title-text-color: var(--text-color-primary);
  --catalog-classic-title-font-weight: var(--font-weight-bold);
  --catalog-classic-title-font-size: var(--font-size-heading-3);
  --catalog-classic-title-margin: 0 0 var(--spacing-sm) 0;

  /**
    * @tokens Catalog page description
    */
  --catalog-classic-description-text-color: var(--text-color-secondary);
  --catalog-classic-description-font-weight: var(--font-weight-regular);
  --catalog-classic-description-font-size: var(--font-size-base);
  --catalog-classic-description-margin: 0 0 var(--spacing-sm) 0;

  /**
    * @tokens Catalog page separator
    */
  --catalog-classic-separator-color: var(--text-color-secondary);
  --catalog-classic-separator-font-size: var(--font-size-base);
  --catalog-classic-separator-font-weight: var(--font-weight-regular);
  --catalog-classic-separator-border-color: var(--border-color-secondary);
  --catalog-classic-separator-margin: 0 0 var(--spacing-base) 0;
  --catalog-classic-separator-padding: var(--spacing-xxs) 0 0 0;
  --catalog-classic-separator-label-margin: 0 var(--spacing-xs);

  /**
    * @tokens Catalog card
    */
  --catalog-classic-card-min-height: 194px;
  --catalog-classic-card-min-width: 260px;
  --catalog-classic-card-padding-vertical: var(--spacing-base);
  --catalog-classic-card-padding-horizontal: var(--spacing-md);
  --catalog-classic-card-gap: var(--spacing-sm);
  --catalog-classic-card-text-color: var(--text-color-secondary);
  --catalog-classic-card-font-size: var(--font-size-base);
  --catalog-classic-card-font-weight: var(--font-weight-regular);
  --catalog-classic-card-bg-color: var(--layer-color);
  --catalog-classic-card-border-color: var(--border-color-secondary);
  --catalog-classic-card-border-width: var(--border-width);
  --catalog-classic-card-border-style: var(--border-style);
  --catalog-classic-card-border-color-hover: var(--border-color-primary);
  --catalog-classic-card-border-radius: var(--border-radius-xl);
  --catalog-classic-cards-group-margin: 0 0 var(--spacing-base) 0;
  --catalog-classic-cards-group-gap: var(--spacing-xl);

  /**
    * @tokens Catalog card title
    */
  --catalog-classic-card-title-color: var(--text-color-primary);
  --catalog-classic-card-title-min-height: var(--spacing-xxl);
  --catalog-classic-card-title-font-size: var(--font-size-lg);
  --catalog-classic-card-title-font-weight: var(--font-weight-bold);
  --catalog-classic-card-title-line-height: var(--line-height-lg);
  --catalog-classic-card-title-line-clamp: 2;

  /**
    * @tokens Catalog card description
    */
  --catalog-classic-card-description-line-clamp: 3;
  --catalog-classic-card-description-color: var(--text-color-secondary);
  --catalog-classic-card-description-font-size: var(--font-size-base);
  --catalog-classic-card-description-line-height: var(--line-height-base);
  --catalog-classic-card-description-font-weight: var(--font-weight-regular);
  --catalog-classic-card-description-height: 62px;

  --catalog-classic-card-content-gap: var(--spacing-xxs);

  --catalog-classic-card-tag-bg: transparent;

  --catalog-classic-highlight-bg-color: none;
  --catalog-classic-highlight-text-color: var(--color-info-base);

  --catalog-classic-actions-gap: var(--spacing-xs);
  --catalog-classic-actions-padding-vertical: var(--spacing-xs);
  --catalog-classic-actions-padding-horizontal: 5%;
  --catalog-classic-actions-min-height: 40px;
  --catalog-classic-actions-bg-color: var(--bg-color-tonal);

  --catalog-classic-page-badge-border-radius: var(--border-radius-md);
  --catalog-classic-page-badge-padding: 0 var(--spacing-xs);
  --catalog-classic-page-badge-font-size: var(--font-size-base);
  --catalog-classic-page-badge-line-height: var(--line-height-base);

  --catalog-classic-page-badge-dot-size: 6px;
  --catalog-classic-page-badge-dot-border-color: var(--color-static-white);

  // @tokens End
`})),td,nd,rd=o((()=>{td=css`
  /**
  * @tokens Response Panel Common
  */

  --panel-response-heading-padding: 10px 20px;
  --panel-response-heading-font-size: var(--font-size-base);
  --panel-response-heading-line-height: var(--line-height-sm);
  --panel-response-heading-font-weight: var(--font-weight-bold);
  --panel-response-heading-text-color: var(--text-color-primary);

  --panel-response-body-text-color: var(--text-color-secondary);

  /**
  * @tokens Response Panel Success colors
  * @presenter Color
  */
  --panel-response-success-border-color: var(--color-success-border);
  --panel-response-success-heading-bg-color: var(--color-success-bg);
  --panel-response-success-heading-text-color: var(--panel-response-heading-text-color);
  --panel-response-success-body-bg-color: transparent;
  --panel-response-success-body-text-color: var(--panel-response-body-text-color);

  /**
  * @tokens Response Panel Error colors
  * @presenter Color
  */

  --panel-response-error-border-color: var(--color-error-border);
  --panel-response-error-heading-bg-color: var(--color-error-bg);
  --panel-response-error-heading-text-color: var(--panel-response-heading-text-color);
  --panel-response-error-body-bg-color: transparent;
  --panel-response-error-body-text-color: var(--panel-response-body-text-color);

  /**
  * @tokens Response Panel Redirect colors
  * @presenter Color
  */

  --panel-response-redirect-border-color: var(--color-warning-border);
  --panel-response-redirect-heading-bg-color: var(--color-warning-bg);
  --panel-response-redirect-heading-text-color: var(--panel-response-heading-text-color);
  --panel-response-redirect-body-bg-color: transparent;
  --panel-response-redirect-body-text-color: var(--panel-response-body-text-color);

  /**
  * @tokens Response Panel Info colors
  * @presenter Color
  */

  --panel-response-info-border-color: var(--color-info-border);
  --panel-response-info-heading-bg-color: var(--color-info-bg);
  --panel-response-info-heading-text-color: var(--panel-response-heading-text-color);
  --panel-response-info-body-bg-color: transparent;
  --panel-response-info-body-text-color: var(--panel-response-body-text-color);

  /**
  * @tokens Response Panel Callback colors
  * @presenter Color
  */

  --panel-response-callback-border-color: var(--color-blue-3);
  --panel-response-callback-heading-bg-color: var(--color-blue-1);
  --panel-response-callback-heading-text-color: var(--panel-response-heading-text-color);
  --panel-response-callback-body-bg-color: transparent;
  --panel-response-callback-body-text-color: var(--panel-response-body-text-color);

  /**
  * @tokens Panel response success, info, error, redirect, callback common
  */

  .panel-response-success,
  .panel-response-info,
  .panel-response-error,
  .panel-response-redirect,
  .panel-response-callback {
    --panel-body-text-color: var(--panel-response-body-text-color); // @presenter Color
    --panel-border-radius-local: calc(1px + var(--panel-border-radius));

    --panel-heading-text-color: var(--panel-response-heading-text-color); // @presenter Color
    --panel-heading-font-size-local: var(--panel-response-heading-font-size);
    --panel-heading-font-weight-local: var(--panel-response-heading-font-weight);
    --panel-heading-line-height-local: var(--panel-response-heading-line-height);
    --panel-heading-padding-local: var(--panel-response-heading-padding);

    --panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
    --panel-heading-white-space-local: normal;
    --panel-body-padding-local: var(--panel-body-padding);
  }

  /**
  * @tokens Panel response success colors
  * @presenter Color
  */

  .panel-response-success {
    --panel-border-local: 1px solid var(--panel-response-success-border-color); // @presenter Border

    --panel-body-text-color: var(--panel-response-success-body-text-color);
    --panel-body-bg-color: var(--panel-response-success-body-bg-color);

    --panel-heading-bg-color: var(--panel-response-success-heading-bg-color);
    --panel-heading-text-color: var(--panel-response-success-heading-text-color);
  }

  /**
  * @tokens Panel response info colors
  * @presenter Color
  */

  .panel-response-info {
    --panel-border-local: 1px solid var(--panel-response-info-border-color); // @presenter Border

    --panel-body-text-color: var(--panel-response-info-body-text-color);
    --panel-body-bg-color: var(--panel-response-info-body-bg-color);

    --panel-heading-bg-color: var(--panel-response-info-heading-bg-color);
    --panel-heading-text-color: var(--panel-response-info-heading-text-color);
  }

  /**
  * @tokens Panel response error colors
  * @presenter Color
  */

  .panel-response-error {
    --panel-border-local: 1px solid var(--panel-response-error-border-color); // @presenter Border

    --panel-body-text-color: var(--panel-response-error-body-text-color);
    --panel-body-bg-color: var(--panel-response-error-body-bg-color);

    --panel-heading-bg-color: var(--panel-response-error-heading-bg-color);
    --panel-heading-text-color: var(--panel-response-error-heading-text-color);
  }

  /**
  * @tokens Panel response redirect colors
  * @presenter Color
  */

  .panel-response-redirect {
    --panel-border-local: 1px solid var(--panel-response-redirect-border-color); // @presenter Border
    --panel-body-text-color: var(--panel-response-redirect-body-text-color);

    --panel-body-bg-color: var(--panel-response-redirect-body-bg-color);
    --panel-heading-bg-color: var(--panel-response-redirect-heading-bg-color);
    --panel-heading-text-color: var(--panel-response-redirect-heading-text-color);
  }

  /**
  * @tokens Panel response callback colors
  * @presenter Color
  */

  .panel-response-callback {
    --panel-body-text-color: var(--panel-response-callback-body-text-color);
    --panel-body-bg-color: var(--panel-response-callback-body-bg-color);
    --panel-heading-text-color: var(--panel-response-callback-heading-text-color);

    --panel-body-padding-local: 0 0 var(--spacing-base) var(--spacing-lg);
  }

  // @tokens End
`,nd=css`
  /**
  * @tokens Panels spacing
  * @presenter Spacing
  */

  --panel-gap-horizontal: var(--spacing-xl);
  --panel-gap-vertical: var(--spacing-base);

  /**
  * @tokens Panel common
  */

  --panel-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --panel-border: 1px solid var(--border-color-secondary); // @presenter Border

  --panel-line-height: var(--line-height-base); // @presenter LineHeight
  --panel-font-size: var(--font-size-base); // @presenter FontSize
  --panel-font-family: var(--font-family-base); // @presenter FontFamily
  --panel-font-weight: var(--font-weight-semibold); // @presenter FontWeight

  /**
  * @tokens Panel heading common
  */

  --panel-heading-font-family: var(--font-family-base); // @presenter FontFamily
  --panel-heading-font-size: 18px; // @presenter FontSize
  --panel-heading-font-weight: var(--font-weight-bold); // @presenter FontWeight
  --panel-heading-text-color: var(--text-color-primary);
  --panel-heading-padding: var(--spacing-md);
  --panel-heading-line-height: var(--line-height-base); // @presenter LineHeight
  --panel-heading-white-space: 'nowrap';
  --panel-heading-border: 1px solid var(--border-color-primary);

  /**
  * @tokens Panel body common
  */

  --panel-body-font-family: var(--font-family-base); // @presenter FontFamily
  --panel-body-font-size: var(--font-size-base); // @presenter FontSize
  --panel-body-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --panel-body-text-color: var(--text-color-secondary);
  --panel-body-padding: var(--spacing-md);
  --panel-body-border: 1px solid var(--border-color-primary);

  /**
  * @tokens Panel default, response, callback, security schemas
  */

  .panel-request-schemas,
  .panel-response-schemas,
  .panel-callback-schemas,
  .panel-security-schemas,
  .panel-default {
    --panel-text-color: var(--text-color-primary); // @presenter Color
    --panel-font-family-local: var(--panel-font-family);
    --panel-font-size-local: var(--panel-font-size);
    --panel-font-weight-local: var(--panel-font-weight);
    --panel-bg-color: var(--bg-color); // @presenter Color
    --panel-border-local: var(--panel-border);
    --panel-border-radius-local: calc(1px + var(--panel-border-radius));
    --panel-chevron-icon-color: var(--text-color-primary); // @presenter Color

    --panel-body-text-color: var(--panel-text-color); // @presenter Color
    --panel-body-font-family-local: var(--panel-body-font-family);
    --panel-body-font-size-local: var(--panel-body-font-size);
    --panel-body-font-weight-local: var(--panel-body-font-weight);
    --panel-body-padding-local: var(--panel-body-padding);
    --panel-body-bg-color: var(--bg-color); // @presenter Color
    --panel-body-border: var(--panel-body-border); // @presenter Border

    --panel-heading-text-color: var(--panel-text-color); // @presenter Color
    --panel-heading-font-family-local: var(--panel-heading-font-family);
    --panel-heading-font-size-local: var(--panel-heading-font-size);
    --panel-heading-font-weight-local: var(--panel-heading-font-weight);
    --panel-heading-line-height-local: var(--panel-heading-line-height);
    --panel-heading-padding-local: var(--panel-heading-padding);
    --panel-heading-bg-color: var(--bg-color); // @presenter Color
    --panel-heading-border: var(--panel-heading-border); // @presenter Border
    --panel-heading-white-space-local: var(--panel-heading-white-space);
  }

  /**
  * @tokens Panel samples common
  */

  --panel-samples-block-bg-color: var(--bg-color); // @presenter Color
  --panel-samples-width: 50%;

  --panel-samples-text-color: var(--text-color-primary); // @presenter Color
  --panel-samples-font-family: var(--panel-font-family); // @presenter FontFamily
  --panel-samples-font-size: var(--panel-font-size); // @presenter FontSize
  --panel-samples-font-weight: var(--panel-font-weight); // @presenter FontWight
  --panel-samples-bg-color: var(--layer-color); // @presenter Color
  --panel-samples-border: var(--panel-border); // @presenter Border
  --panel-samples-chevron-icon-color: var(--text-color-primary); // @presenter Color

  /**
  * @tokens Panel samples body common
  */

  --panel-samples-body-text-color: var(--text-color-secondary); // @presenter Color
  --panel-samples-body-font-family: var(--panel-body-font-family); // @presenter FontFamily
  --panel-samples-body-font-size: var(--panel-body-font-size); // @presenter FontSize
  --panel-samples-body-font-weight: var(--panel-body-font-weight); // @presenter FontWeight
  --panel-samples-body-padding: var(--panel-body-padding);
  --panel-samples-body-bg-color: var(--layer-color); // @presenter Color
  --panel-samples-body-border: unset; // @presenter Border

  /**
  * @tokens Panel samples heading common
  */

  --panel-samples-heading-text-color: var(--text-color-primary); // @presenter Color
  --panel-samples-heading-font-family: var(--panel-heading-font-family); // @presenter FontFamily
  --panel-samples-heading-font-size: var(--panel-font-size); // @presenter FontSize
  --panel-samples-heading-font-weight: var(--panel-font-weight); // @presenter FontWeight
  --panel-samples-heading-line-height: var(--line-height-sm); // @presenter LineHeight
  --panel-samples-heading-padding: 14px var(--spacing-base) 10px 20px;
  --panel-samples-heading-bg-color: var(--layer-color); // @presenter Color
  --panel-samples-heading-border: unset; // @presenter Border

  /**
  * @tokens Panel samples default
  */
  .panel-samples-default {
    --text-color: var(--panel-samples-text-color);
    --panel-text-color: var(--panel-samples-text-color); // @presenter Color
    --panel-font-family-local: var(--panel-samples-font-family);
    --panel-font-size-local: var(--panel-samples-font-size);
    --panel-font-weight-local: var(--panel-samples-font-weight);
    --panel-bg-color: var(--panel-samples-bg-color); // @presenter Color
    --panel-border-local: var(--panel-samples-border);
    --panel-border-radius-local: calc(1px + var(--panel-border-radius));
    --panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color

    --panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
    --panel-body-bg-color: var(--panel-samples-body-bg-color); // @presenter Color

    --panel-body-font-family-local: var(--panel-samples-body-font-family);
    --panel-body-font-size-local: var(--panel-samples-body-font-size);
    --panel-body-font-weight-local: var(--panel-samples-body-font-weight);
    --panel-body-padding-local: 0;
    --panel-body-border-local: var(--panel-samples-body-border);

    --panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
    --panel-heading-bg-color: var(--panel-samples-heading-bg-color); // @presenter Color

    --panel-heading-font-family-local: var(--panel-samples-heading-font-family);
    --panel-heading-font-size-local: var(--panel-samples-heading-font-size);
    --panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
    --panel-heading-line-height-local: var(--panel-samples-heading-line-height);
    --panel-heading-padding-local: var(--panel-samples-heading-padding);

    --panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
  }

  /**
  * @tokens Panel try-it, request-samples, response-samples, callback samples
  */

  .panel-api-docs,
  .panel-language-list,
  .panel-overview,
  .panel-download,
  .panel-mcp-overview,
  .panel-servers-list,
  .panel-request-samples,
  .panel-response-samples,
  .panel-messages-samples,
  .panel-callback-samples {
    --text-color: var(--panel-samples-text-color);
    --panel-text-color: var(--panel-samples-text-color); // @presenter Color
    --panel-font-family-local: var(--panel-samples-font-family);
    --panel-font-size-local: var(--panel-samples-font-size);
    --panel-font-weight-local: var(--panel-samples-font-weight);
    --panel-bg-color: var(--panel-samples-bg-color); // @presenter Color
    --panel-border-local: var(--panel-samples-border);
    --panel-border-radius-local: var(--panel-border-radius);
    --panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color

    --panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
    --panel-body-bg-color: var(--panel-samples-body-bg-color); // @presenter Color

    --panel-body-font-family-local: var(--panel-samples-body-font-family);
    --panel-body-font-size-local: var(--panel-samples-body-font-size);
    --panel-body-font-weight-local: var(--panel-samples-body-font-weight);
    --panel-body-padding-local: var(--panel-samples-body-padding);
    --panel-body-border-local: var(--panel-samples-body-border);

    --panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
    --panel-heading-bg-color: var(--panel-samples-heading-bg-color); // @presenter Color

    --panel-heading-font-family-local: var(--panel-samples-heading-font-family);
    --panel-heading-font-size-local: var(--panel-samples-heading-font-size);
    --panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
    --panel-heading-line-height-local: var(--panel-samples-heading-line-height);
    --panel-heading-padding-local: var(--panel-samples-heading-padding);

    --panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
    --panel-heading-border-bottom: var(--panel-samples-border);
  }

  .panel-container-response-samples {
    --panel-z-index: 0;
  }

  .panel-container-request-samples {
    --panel-z-index: 1;
  }

  /**
  * @tokens Panel samples tabs
  */

  --panel-samples-tabs-font-size: var(--panel-font-size); // @presenter FontSize
  --panel-samples-tabs-font-family: var(--panel-font-family); // @presenter FontFamily
  --panel-samples-tabs-font-weight: var(--panel-font-weight); // @presenter FontWeight

  --panel-samples-tabs-text-color: var(--text-color-secondary); // @presenter Color
  --panel-samples-tabs-text-color-hover: var(--text-color-primary); // @presenter Color
  --panel-samples-tabs-text-color-active: var(--text-color-primary); // @presenter Color
  --panel-samples-tabs-text-color-disabled: var(--button-content-color-disabled); // @presenter Color

  --panel-samples-tabs-bg-color: transparent; // @presenter Color
  --panel-samples-tabs-bg-color-hover: transparent; // @presenter Color
  --panel-samples-tabs-bg-color-active: var(--bg-color); // @presenter Color

  --panel-samples-code-block-bg-color: var(--code-block-bg-color); // @presenter Color

  /**
  * @tokens Panel samples other styles
  */
  --panel-samples-dropdown-bg-color: var(--bg-color); // @presenter Color
  --panel-samples-dropdown-color: var(--text-color-secondary); // @presenter Color
  --panel-samples-dropdown-border: 1px solid var(--border-color-primary); // @presenter Border

  /**
  * @tokens Panel servers-list other styles
  */
  --panel-servers-list-input-bg-color: var(--bg-color-raised); // @presenter Color

  // @tokens End
`})),id,ad=o((()=>{id=css`
  /**
  * @tokens Accordion spacing
  * @presenter Spacing
  */

  --accordion-gap: var(--spacing-base);

  /**
  * @tokens Accordion common
  */

  --accordion-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --accordion-border: none; // @presenter Border

  --accordion-line-height: var(--line-height-base); // @presenter LineHeight
  --accordion-font-size: var(--font-size-base); // @presenter FontSize
  --accordion-font-family: var(--font-family-base); // @presenter FontFamily
  --accordion-font-weight: var(--font-weight-regular); // @presenter FontWeight

  /**
  * @tokens Accordion header common
  */

  --accordion-header-font-family: var(--font-family-base); // @presenter FontFamily
  --accordion-header-font-size: var(--font-size-base); // @presenter FontSize
  --accordion-header-font-weight: var(--font-weight-medium, 500); // @presenter FontWeight
  --accordion-header-text-color: var(--text-color-primary);
  --accordion-header-padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-xs) var(--spacing-base);
  --accordion-header-line-height: var(--line-height-base); // @presenter LineHeight
  --accordion-header-bg-color: transparent; // @presenter Color
  --accordion-header-border: none; // @presenter Border

  /**
  * @tokens Accordion body common
  */

  --accordion-body-font-family: var(--font-family-base); // @presenter FontFamily
  --accordion-body-font-size: var(--font-size-base); // @presenter FontSize
  --accordion-body-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --accordion-body-text-color: var(--text-color-secondary);
  --accordion-body-padding: 0 var(--spacing-sm) var(--spacing-sm) var(--spacing-base);
  --accordion-body-bg-color: transparent; // @presenter Color
  --accordion-body-border: none; // @presenter Border

  /**
  * @tokens Accordion chevron icon
  */

  --accordion-chevron-icon-color: var(--text-color-secondary); // @presenter Color
  --accordion-chevron-icon-size: 16px;

  // @tokens End
`})),od,sd=o((()=>{od=css`
  /**
    * @tokens Select
    * */
  --select-font-size: var(--font-size-base); // @presenter FontSize
  --select-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --select-line-height: var(--line-height-base); // @presenter LineHeight
  --select-text-color: var(--text-color-secondary); // @presenter Color
  --select-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --select-border: var(--border-width) var(--border-style) var(--border-color-primary); // @presenter Border
  
  --select-input-padding-vertical: 6px; // @presenter Spacing
  --select-input-padding-horizontal: 6px; // @presenter Spacing
  --select-input-padding: var(--select-input-padding-vertical) var(--select-input-padding-horizontal);
  --select-input-gap: var(--spacing-xs); // @presenter Spacing
  --select-input-value-gap: var(--spacing-unit); // @presenter Spacing
  --select-input-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --select-input-font-size: var(--font-size-base); // @presenter FontSize
  --select-input-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --select-input-line-height: var(--line-height-base); // @presenter LineHeight
  --select-input-bg-color: var(--bg-color); // @presenter Color
  --select-input-placeholder-color: var(--input-content-placeholder-color); // @presenter Color

  --select-list-min-width: 100px;
  --select-list-max-width: 300px;
  --select-list-padding: var(--spacing-xxs); // @presenter Spacing
  --select-list-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --select-list-bg-color: var(--bg-color); // @presenter Color
  --select-list-box-shadow: var(--bg-raised-shadow); // @presenter Shadow

  --select-list-item-padding-vertical: var(--spacing-xs); // @presenter Spacing
  --select-list-item-padding-horizontal: var(--spacing-base); // @presenter Spacing
  --select-list-item-padding: var(--select-list-item-padding-vertical) var(--select-list-item-padding-horizontal);

  --select-list-item-gap: var(--spacing-xs); // @presenter Spacing
  --select-list-item-border-radius: var(--border-radius-md); // @presenter BorderRadius
  --select-list-item-bg-color-active: transparent; // @presenter Color
  --select-list-item-bg-color-hover: var(--menu-item-bg-color-hover); // @presenter Color
  --select-list-item-font-weight-active: var(--font-weight-medium); // @presenter Color  

  --select-placeholder-color: var(--color-warm-grey-6); // @presenter Color
  // @tokens End
`})),cd,ld=o((()=>{cd=css`
  /**
    * @tokens Dropdown
    **/
  --dropdown-menu-font-size: var(--font-size-base); // @presenter FontSize
  --dropdown-menu-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --dropdown-menu-line-height: var(--line-height-base); // @presenter LineHeight
  --dropdown-menu-text-color: var(--text-color-secondary); // @presenter Color
  /* One below --z-index-raised (the sticky Navbar) so a portaled menu, which is
     appended to <body> after the navbar, never paints over it on a z-index tie. */
  --dropdown-menu-z-index: calc(var(--z-index-raised) - 1); // @presenter ZIndex

  --dropdown-menu-padding-top: var(--spacing-xxs);
  --dropdown-menu-min-width: 100px;
  --dropdown-menu-max-width: 424px;
  --dropdown-menu-max-height: 300px;
  --dropdown-menu-padding: var(--spacing-xxs); // @presenter Spacing
  --dropdown-menu-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --dropdown-menu-box-shadow: var(--bg-raised-shadow); // @presenter Shadow
  --dropdown-menu-border-color: var(--border-color-secondary); // @presenter Color
  --dropdown-menu-bg-color: var(--bg-color-raised); // @presenter Color

  --dropdown-menu-item-gap: 0; // @presenter Spacing
  --dropdown-menu-item-padding-horizontal: var(--spacing-base); // @presenter Spacing
  --dropdown-menu-item-padding-vertical: 5px; // @presenter Spacing
  --dropdown-menu-item-separator-padding-top: var(--spacing-xs); // @presenter Spacing
  --dropdown-menu-item-separator-padding-bottom: var(--spacing-xxs); // @presenter Spacing
  --dropdown-menu-item-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --dropdown-menu-item-bg-color: transparent;
  --dropdown-menu-item-bg-color-active: var(--bg-color-hover); // @presenter Color
  --dropdown-menu-item-bg-color-hover: var(--bg-color-hover); // @presenter Color
  --dropdown-menu-item-bg-color-disabled: var(--dropdown-menu-item-bg-color); // @presenter Color
  --dropdown-menu-item-separator-border-color: var(--border-color-primary); // @presenter Color
  --dropdown-menu-item-separator-font-size: var(--font-size-sm); // @presenter FontSize
  --dropdown-menu-item-separator-line-height: var(--line-height-sm); // @presenter LineHeight
  --dropdown-menu-item-separator-text-color: var(--text-color-disabled); // @presenter Color
  --dropdown-menu-item-justify-content: flex-start;
  --dropdown-menu-item-color: var(--dropdown-menu-text-color); // @presenter Color
  --dropdown-menu-item-color-hover: var(--dropdown-menu-item-color); // @presenter Color
  --dropdown-menu-item-color-active: var(--dropdown-menu-item-color); // @presenter Color
  --dropdown-menu-item-color-disabled: var(--text-color-disabled); // @presenter Color

  --dropdown-menu-item-color-dangerous: var(--color-error-base);

  --dropdown-menu-item-border-color-focused: var(--button-border-color-focused);

  --dropdown-menu-item-content-gap: var(--spacing-sm); // @presenter Spacing
  --dropdown-menu-item-content-padding: var(--spacing-xxs) 0; // @presenter Spacing
  --dropdown-menu-item-content-icon-size: 32px;
  --dropdown-menu-item-content-icon-color: var(--icon-color-secondary); // @presenter Color
  --dropdown-menu-item-content-icon-border: 1px solid var(--border-color-secondary); // @presenter Border
  --dropdown-menu-item-content-icon-border-radius: var(--border-radius); // @presenter BorderRadius
  --dropdown-menu-item-content-text-gap: var(--spacing-xxs); // @presenter Spacing
  --dropdown-menu-item-content-title-icon-gap: var(--spacing-xxs); // @presenter Spacing
  --dropdown-menu-item-content-title-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --dropdown-menu-item-content-title-font-size: var(--font-size-base); // @presenter FontSize
  --dropdown-menu-item-content-title-line-height: var(--line-height-base); // @presenter LineHeight
  --dropdown-menu-item-content-title-color: var(--text-color-secondary); // @presenter Color
  --dropdown-menu-item-content-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --dropdown-menu-item-content-description-font-size: var(--font-size-sm); // @presenter FontSize
  --dropdown-menu-item-content-description-line-height: var(--line-height-sm); // @presenter LineHeight
  --dropdown-menu-item-content-description-color: var(--text-color-description); // @presenter Color
  // @tokens End
`})),ud,dd=o((()=>{ud=css`
  /**
    * @tokens Tooltip Base
    * @presenter Color
    */

  --tooltip-text-color: var(--color-static-white);
  --tooltip-bg-color: var(--color-warm-grey-10);
  --tooltip-arrow-color: var(--tooltip-border-color);
  --tooltip-border-width: 2px;
  --tooltip-border-style: solid;
  --tooltip-border-color: var(--color-warm-grey-8);
  --tooltip-padding-vertical: var(--spacing-xxs);
  --tooltip-padding-horizontal: var(--spacing-xs);
  --tooltip-padding: var(--tooltip-padding-vertical) var(--tooltip-padding-horizontal);
  --tooltip-max-width: 400px;

  .tooltip-copy-button {
    --tooltip-text-color: var(--color-static-white);
    --tooltip-bg-color: var(--color-warm-grey-10);
    --tooltip-arrow-color: var(--tooltip-border-color);
  }

  .tooltip-catalog {
    --tooltip-text-color: var(--text-color-primary);
    --tooltip-bg-color: var(--layer-color);
    --tooltip-arrow-color: var(--border-color-secondary);
    --tooltip-border-width: 2px;
    --tooltip-border-color: var(--border-color-secondary);
    --tooltip-padding-vertical: var(--spacing-xs);
    --tooltip-padding-horizontal: var(--spacing-sm);
    --tooltip-padding: var(--tooltip-padding-vertical) var(--tooltip-padding-horizontal);
    --tooltip-max-width: 300px;
  }

  // @tokens End
`})),fd,pd=o((()=>{fd=css`
  --checkbox-content-color: var(--text-color-secondary);
  --checkbox-content-color-hover: var(--text-color-primary);
  --checkbox-content-color-focused: var(--text-color-primary);
  --checkbox-content-color-disabled: var(--text-color-disabled);

  --checkbox-box-color: transparent;
  --checkbox-box-color-active: var(--color-primary-base, var(--checkbox-box-color-active-legacy));
  --checkbox-box-color-focused: var(--color-warm-grey-9);
  --checkbox-box-color-disabled: var(--color-warm-grey-1);

  --checkbox-border-color: var(--color-primary-border, var(--checkbox-border-color-legacy));
  --checkbox-border-color-active: var(--color-warm-grey-8);
  --checkbox-border-color-disabled: var(--border-color-secondary);

  --checkbox-content-color-inverse: transparent;
`})),md,hd=o((()=>{md=css`
  /* === Admonitions === */

  /**
  * @tokens Admonition typography
  */

  --admonition-font-size: var(--font-size-base); // @presenter FontSize
  --admonition-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --admonition-line-height: var(--line-height-base); // @presenter LineHeight
  --admonition-heading-font-size: var(--font-size-base); // @presenter FontSize
  --admonition-heading-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --admonition-heading-line-height: var(--line-height-base); // @presenter LineHeight
  --admonition-heading-letter-spacing: 0; // @presenter LetterSpacing
  --admonition-heading-transform: none;
  --admonition-heading-text-color: var(--color-warm-grey-11); // @presenter Color
  /**
  * @tokens Admonition spacing
  * @presenter Spacing
  */

  --admonition-gap: var(--spacing-sm); // @presenter Spacing
  --admonition-text-gap: var(--spacing-xxs); // @presenter Spacing
  --admonition-margin: var(--spacing-base) 0 var(--spacing-md) 0; // @presenter Spacing
  --admonition-padding: var(--spacing-sm) var(--spacing-base); // @presenter Spacing
  --admonition-icon-margin: calc(var(--spacing-unit) / 2) 0; // @presenter Spacing
  --admonition-icon-size: 18px; // @presenter Spacing

  /**
  * @tokens Admonition border
  */

  --admonition-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --admonition-border-style: var(--border-style);
  --admonition-border-width: 1px;

  /**
  * @tokens Admonition type info
  */

  --admonition-info-bg-color: var(--color-info-bg); // @presenter Color
  --admonition-info-heading-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-info-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-info-icon-color: var(--color-info-active); // @presenter Color
  --admonition-info-border-color: var(--color-info-border); // @presenter Color
  --admonition-info-border-style: var(--admonition-border-style);
  --admonition-info-border-width: var(--admonition-border-width);
  --admonition-info-border: var(--admonition-info-border-width) var(--admonition-info-border-style) var(--admonition-info-border-color); // @presenter Border

  /**
  * @tokens Admonition type warning
  */

  /* warning */
  --admonition-warning-bg-color: var(--color-warning-bg); // @presenter Color
  --admonition-warning-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-warning-heading-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-warning-icon-color: var(--color-warning-active); // @presenter Color
  --admonition-warning-border-color: var(--color-warning-border); // @presenter Color
  --admonition-warning-border-style: var(--admonition-border-style); // @presenter Color
  --admonition-warning-border-width: var(--admonition-border-width); // @presenter Color
  --admonition-warning-border: var(--admonition-warning-border-width) var(--admonition-warning-border-style) var(--admonition-warning-border-color); // @presenter Border

  /**
  * @tokens Admonition type danger
  */

  --admonition-danger-bg-color: var(--color-error-bg); // @presenter Color
  --admonition-danger-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-danger-heading-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-danger-icon-color: var(--color-error-active); // @presenter Color
  --admonition-danger-border-color: var(--color-error-border); // @presenter Color
  --admonition-danger-border-style: var(--admonition-border-style); // @presenter Color
  --admonition-danger-border-width: var(--admonition-border-width); // @presenter Color
  --admonition-danger-border: var(--admonition-danger-border-width) var(--admonition-danger-border-style) var(--admonition-danger-border-color); // @presenter Border

  /**
  * @tokens Admonition type success
  */

  --admonition-success-bg-color: var(--color-success-bg); // @presenter Color
  --admonition-success-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-success-heading-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-success-icon-color: var(--color-success-active); // @presenter Color
  --admonition-success-border-color: var(--color-success-border); // @presenter Color
  --admonition-success-border-style: var(--admonition-border-style); // @presenter Color
  --admonition-success-border-width: var(--admonition-border-width); // @presenter Color
  --admonition-success-border: var(--admonition-success-border-width) var(--admonition-success-border-style) var(--admonition-success-border-color); // @presenter Border

  /**
  * @tokens Admonition type idea
  */

  --admonition-idea-bg-color: var(--color-primary-bg, var(--admonition-default-bg-color-legacy)); // @presenter Color
  --admonition-idea-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-idea-heading-text-color: var(--admonition-heading-text-color); // @presenter Color
  --admonition-idea-icon-color: var(--color-primary-base, var(--admonition-default-icon-color-legacy)); // @presenter Color
  --admonition-idea-border-color: var(--color-primary-border, var(--admonition-default-border-color-legacy)); // @presenter Color
  --admonition-idea-border-style: var(--admonition-border-style); // @presenter Color
  --admonition-idea-border-width: var(--admonition-border-width); // @presenter Color
  --admonition-idea-border: var(--admonition-idea-border-width) var(--admonition-idea-border-style) var(--admonition-idea-border-color); // @presenter Border
  
  // @tokens End
`})),gd,$te=o((()=>{gd=css`
  /**
    * @tokens Footer
    */
  --footer-bg-color: var(--bg-color-raised); // @presenter Color
  --footer-text-color: var(--text-color-secondary); // @presenter Color
  --footer-border-color: var(--border-color-secondary); // @presenter Color

  --footer-padding-vertical: var(--spacing-xl); // @presenter Spacing
  --footer-padding-horizontal: calc(var(--spacing-unit) * 10); // @presenter Spacing

  --footer-font-size: var(--font-size-base); // @presenter FontSize
  --footer-font-weight: var(--font-weight-regular); // @presenter FontWeight

  --footer-column-divider-color: var(--footer-border-color); // @presenter Color

  --footer-title-text-color: var(--text-color-primary); // @presenter Color
  --footer-title-text-color-hover: var(--text-color-primary); // @presenter Color
  --footer-title-font-size: var(--font-size-lg); // @presenter FontSize
  --footer-title-font-weight: var(--font-weight-bold); // @presenter FontWeight

  --footer-link-text-color: var(--text-color-secondary); // @presenter Color
  --footer-link-color-hover: var(--text-color-primary); // @presenter Color
  --footer-link-padding-vertical: var(--spacing-xs); // @presenter Spacing
  --footer-link-padding-horizontal: 0;

  --footer-item-icon-width: var(--spacing-base); // @presenter Spacing
  --footer-item-icon-height: var(--spacing-base); // @presenter Spacing
  --footer-item-icon-margin-right: var(--spacing-sm); // @presenter Spacing
  --footer-item-icon-border-color: var(--border-color-primary); // @presenter Color
  --footer-item-icon-border-radius: 12px; // @presenter BorderRadius
  --footer-item-icon-padding: var(--spacing-xxs); // @presenter Spacing

  --footer-separator-item-font-size: var(--font-size-sm); // @presenter FontSize
  --footer-separator-item-margin: 10px 0 5px 0; // @presenter Spacing
  --footer-separator-item-opacity: 0.75; // @presenter Opacity

  --footer-column-min-width: calc(var(--spacing-unit) * 30);
  --footer-column-title-gap: var(--spacing-xs); // @presenter Spacing
  --footer-column-gap: var(--spacing-lg); // @presenter Spacing

  --footer-copyright-font-size: var(--footer-font-size); // @presenter FontSize
  --footer-copyright-text-align: start;

  --footer-logo-height: var(--logo-height); // @presenter Spacing
  --footer-logo-width: var(--logo-width); // @presenter Spacing
  --footer-logo-max-width: var(--logo-max-width); // @presenter Spacing
  --footer-logo-max-height: var(--logo-max-height); // @presenter Spacing
  --footer-logo-display: block;

  --footer-container-max-width: var(--container-width); // @presenter Spacing

  --mobile-footer-padding-vertical: var(--spacing-base); // @presenter Spacing
  --mobile-footer-padding-horizontal: var(--spacing-base); // @presenter Spacing

  // @tokens End
`})),_d,ene=o((()=>{_d=css`
  /** 
    * @tokens Button colors token 
    */

  --button-content-color: var(--color-warm-grey-10); // @presenter Color
  --button-content-color-ghost: var(--text-color-secondary); // @presenter Color
  --button-content-color-inverse: var(--color-white); // @presenter Color
  --button-content-color-disabled: var(--color-warm-grey-5); // @presenter Color

  --button-border-color: var(--color-warm-grey-3); // @presenter Color
  --button-border-color-focused: var(--color-blue-4); // @presenter Color
  --button-border-color-disabled: var(--color-warm-grey-2); // @presenter Color
  --button-border-color-danger: var(--color-raspberry-6); // @presenter Color
  --button-border-color-danger-hover: var(--color-raspberry-7); // @presenter Color
  --button-border-color-danger-pressed: var(--color-raspberry-8); // @presenter Color
  --button-border-width-disabled: 0px;

  --button-bg-color-disabled: var(--color-warm-grey-1); // @presenter Color

  --button-content-color-primary: var(--color-blue-6); // @presenter Color
  --button-content-color-primary-hover: var(--color-blue-7); // @presenter Color
  --button-content-color-primary-pressed: var(--color-blue-8); // @presenter Color

  --button-bg-color-primary: var(--color-primary-base, var(--button-bg-color-primary-legacy)); // @presenter Color
  --button-bg-color-primary-hover: var(--color-primary-hover, var(--button-bg-color-primary-hover-legacy)); // @presenter Color
  --button-bg-color-primary-pressed: var(--color-primary-active, var(--button-bg-color-primary-pressed-legacy)); // @presenter Color

  --button-bg-color-primary-danger: var(--color-raspberry-6); // @presenter Color
  --button-bg-color-primary-danger-hover: var(--color-raspberry-7); // @presenter Color
  --button-bg-color-primary-danger-pressed: var(--color-raspberry-8); // @presenter Color

  --button-content-color-danger: var(--color-raspberry-6); // @presenter Color
  --button-content-color-danger-hover: var(--color-raspberry-7); // @presenter Color
  --button-content-color-danger-pressed: var(--color-raspberry-8); // @presenter Color

  --button-bg-color-secondary: var(--color-warm-grey-2); // @presenter Color
  --button-bg-color-secondary-hover: var(--color-warm-grey-3); // @presenter Color
  --button-bg-color-secondary-pressed: var(--color-warm-grey-4); // @presenter Color
  --button-bg-color-secondary-danger: var(--color-raspberry-1); // @presenter Color
  --button-bg-color-secondary-danger-hover: var(--color-raspberry-2); // @presenter Color
  --button-bg-color-secondary-danger-pressed: var(--color-raspberry-3); // @presenter Color

  --button-content-color-custom: var(--color-warm-grey-8); // @presenter Color
  --button-content-color-custom-hover: var(--color-warm-grey-11); // @presenter Color
  --button-bg-color-custom: var(--color-white); // @presenter Color

  --button-content-color-link: var(--color-primary-base, var(--button-content-color-link-legacy));
  --button-content-color-link-hover: var(--color-primary-active, var(--button-content-color-link-hover-legacy));
  --button-content-color-link-pressed: var(--color-primary-base, var(--button-content-color-link-pressed-legacy));

  /**
   * @tokens Button default values
   */

  --button-color: var(--button-content-color); // @presenter Color
  --button-color-hover: var(--button-content-color);
  --button-color-active: var(--button-content-color);

  --button-bg-color: transparent; // @presenter Color
  --button-bg-color-hover: transparent; // @presenter Color

  --button-border-color-hover: transparent; // @presenter Color
  --button-border-color-active: transparent; // @presenter Color

  --button-font-weight: var(--font-weight-regular);
  --button-font-size: var(--font-size-base);
  --button-line-height: var(--line-height-base);
  --button-border-radius: var(--border-radius-lg);
  --button-padding: 5px var(--spacing-sm);
  --button-text-wrap: nowrap;
  --button-gap: var(--spacing-xs);

  --button-border-width: 0px; //@presenter Border
  --button-border-style: solid; //@presenter Border
  --button-margin: 0; // @presenter Spacing
  --button-box-shadow: none; // @presenter Shadow
  --button-hover-box-shadow: none; // @presenter Shadow
  --button-active-box-shadow: none; // @presenter Shadow

  --button-icon-size: 16px;
  --button-icon-padding: var(--spacing-xs); /* Padding for buttons with only icon */
  --button-icon-padding-small: 3px; /* Padding for small link and ghost buttons with only icon */
  --button-icon-left-padding: 5px var(--spacing-base) 5px 14px; /* Padding for buttons with icon on the left */
  --button-icon-right-padding: 5px 14px 5px var(--spacing-base); /* Padding for buttons with icon on the right */


  /**
    * @tokens Button size
    */

  .button-size-small,
  .button-group-size-small .button {
    --button-font-size: var(--font-size-base);
    --button-border-radius: var(--border-radius-md);
    --button-padding: 1px var(--spacing-sm);
    --button-line-height: var(--line-height-base);
    
    --button-icon-size: 14px;
    --button-icon-padding: 5px; /* Padding for small buttons with only icon */
    --button-icon-left-padding: 1px var(--spacing-sm) 1px 10px; /* Padding for small buttons with icon on the left */
    --button-icon-right-padding: 1px 10px 1px var(--spacing-sm); /* Padding for small buttons with icon on the right */
  }

  .button-size-medium,
  .button-group-size-medium .button {
    --button-font-size: var(--font-size-base);
    --button-border-radius: var(--border-radius-lg);
    --button-padding: 5px var(--spacing-sm);
    --button-line-height: var(--line-height-base);

    --button-icon-size: 16px;
    --button-icon-padding: var(--spacing-xs); /* Padding for buttons with only icon */
    --button-icon-left-padding: 5px var(--spacing-base) 5px 14px; /* Padding for buttons with icon on the left */
    --button-icon-right-padding: 5px 14px 5px var(--spacing-base); /* Padding for buttons with icon on the right */
  }

  .button-size-large,
  .button-group-size-large .button {
    --button-font-size: var(--font-size-lg); // @presenter FontSize
    --button-border-radius: var(--border-radius-xl);
    --button-padding: var(--spacing-xs) var(--spacing-md);
    --button-line-height: var(--line-height-lg); // @presenter LineHeight
    
    --button-icon-size: 18px;
    --button-icon-padding: 11px; /* Padding for large buttons with only icon */
    --button-icon-left-padding: var(--spacing-xs) var(--spacing-md) var(--spacing-xs) 18px; /* Padding for large buttons with icon on the left */
    --button-icon-right-padding: var(--spacing-xs) 18px var(--spacing-xs) var(--spacing-md); /* Padding for large buttons with icon on the right */
  }

  /**
    * @tokens Button variants
    */

  .button-variant-primary {
    --button-color: var(--button-content-color-inverse); // @presenter Color
    --button-color-hover: var(--button-content-color-inverse);
    --button-color-active: var(--button-content-color-inverse);
    --button-bg-color: var(--button-bg-color-primary); // @presenter Color
    --button-bg-color-hover: var(--button-bg-color-primary-hover); // @presenter Color
    --button-bg-color-active: var(--button-bg-color-primary-pressed); // @presenter Color
    --button-border-color: transparent; // @presenter Color

    --button-bg-color-danger: var(--button-bg-color-primary-danger);
    --button-bg-color-danger-hover: var(--button-bg-color-primary-danger-hover);
    --button-bg-color-danger-pressed: var(--button-bg-color-primary-danger-pressed);
    --button-border-color-danger: transparent;
    --button-border-color-danger-hover: transparent;
    --button-border-color-danger-pressed: transparent;
    --button-content-color-danger: var(--button-content-color-inverse);
    --button-content-color-danger-hover: var(--button-content-color-inverse);
    --button-content-color-danger-pressed: var(--button-content-color-inverse);
    --button-border-width-disabled: 0px;
  }

  .button-variant-secondary {
    --button-bg-color: var(--button-bg-color-secondary); // @presenter Color
    --button-bg-color-hover: var(--button-bg-color-secondary-hover); // @presenter Color
    --button-bg-color-active: var(--button-bg-color-secondary-pressed); // @presenter Color
    --button-border-color: transparent; // @presenter Color
    --button-border-color-disabled: transparent; // @presenter Color
     
    --button-bg-color-danger: var(--button-bg-color-secondary-danger);
    --button-bg-color-danger-hover: var(--button-bg-color-secondary-danger-hover);
    --button-bg-color-danger-pressed: var(--button-bg-color-secondary-danger-pressed);
    --button-border-color-danger: transparent;
    --button-border-color-danger-hover: transparent;
    --button-border-color-danger-pressed: transparent;
  }

  .button-variant-outlined,
  .button-group-outlined .button {
    --button-color: var(--button-content-color-custom); // @presenter Color
    --button-color-hover: var(--button-content-color-custom-hover); // @presenter Color
    --button-color-active: var(--button-content-color-custom-hover); // @presenter Color
    --button-border-color: var(--border-color-primary); // @presenter Color
    --button-border-color-hover: var(--border-color-primary); // @presenter Color
    --button-border-color-active: var(--border-color-primary); // @presenter Color
    --button-bg-color-disabled: transparent; // @presenter Color
    --button-border-width: 1px; 
    --button-border-width-disabled: 1px;
    --button-bg-color: transparent; // @presenter Color
    --button-border-color-disabled: var(--color-warm-grey-2); // @presenter Color
    --button-border-color-danger: var(--color-raspberry-6); // @presenter Color
    --button-border-color-danger-hover: var(--color-raspberry-7); // @presenter Color
    --button-border-color-danger-pressed: var(--color-raspberry-8); // @presenter Color
  }

  .button-group-outlined .button {
    --button-bg-color-hover: var(--color-hover-base); // @presenter Color
  }

  .button-variant-text {
    --button-bg-color-hover: var(--button-bg-color-secondary); // @presenter Color
    --button-bg-color-active: var(--button-bg-color-secondary-hover); // @presenter Color
    --button-bg-color-disabled: transparent; // @presenter Color
    --button-border-color: transparent; // @presenter Color
    --button-border-color-disabled: transparent; // @presenter Color

    --button-bg-color-danger-hover: var(--button-bg-color-secondary-danger);
    --button-bg-color-danger-pressed: var(--button-bg-color-secondary-danger-hover);
    --button-border-color-danger: transparent;
    --button-border-color-danger-hover: transparent;
    --button-border-color-danger-pressed: transparent;
  }

  .button-variant-link {
    --button-color: var(--button-content-color-link);
    --button-color-hover: var(--button-content-color-link-hover); 
    --button-color-active: var(--button-content-color-link-pressed);
      
    --button-bg-color-disabled: transparent; // @presenter Color

    --button-border-color: transparent; // @presenter Color
    --button-border-color-disabled: transparent; // @presenter Color

    --button-border-color-danger: transparent;
    --button-border-color-danger-hover: transparent;
    --button-border-color-danger-pressed: transparent;
    --button-padding: 0;
    --button-icon-left-padding: 0;
    --button-icon-right-padding: 0;
  }

  .button-variant-ghost {
    --button-color: var(--button-content-color-ghost); // @presenter Color
    --button-color-hover: var(--button-content-color); // @presenter Color

    --button-bg-color-disabled: transparent; // @presenter Color

    --button-border-color: transparent; // @presenter Color
    --button-border-color-disabled: transparent; // @presenter Color

    --button-border-color-danger: transparent; // @presenter Color
    --button-border-color-danger-hover: transparent; // @presenter Color
    --button-border-color-danger-pressed: transparent; // @presenter Color
    --button-padding: 0;
    --button-icon-left-padding: 0;
    --button-icon-right-padding: 0;
  }

  /**
    * @tokens Button group divider
    */

  --button-group-divider-color: transparent;
  --button-group-divider-opacity: 1;
  --button-group-divider-color-disabled: var(--color-warm-grey-2); // @presenter Color

  .button-group-primary .button {
    --button-group-divider-color: var(--button-color); // @presenter Color
    --button-group-divider-opacity: 0.32;
  }

  .button-group-secondary .button {
    --button-group-divider-color: var(--button-color); // @presenter Color
    --button-group-divider-opacity: 0.12;
  }

  .button-group-outlined .button {
    --button-group-divider-color: var(--button-border-color); // @presenter Color
    --button-group-divider-opacity: 1;
  }

  .button-group-primary .button.button-tone-danger,
  .button-group-secondary .button.button-tone-danger {
    --button-group-divider-color: var(--button-content-color-danger); // @presenter Color
  }

  .button-group-outlined .button.button-tone-danger {
    --button-group-divider-color: var(--button-border-color-danger); // @presenter Color
  }

  // @tokens End
`})),vd,yd,tne=o((()=>{vd=css`
  /**
   * @tokens AI Assistant Button
   * @presenter Color
   */

  /* Button sizing */
  --ai-assistant-button-icon-size: 40px;
  --ai-assistant-button-text-height: 40px;
  --ai-assistant-button-text-padding: var(--spacing-sm) var(--spacing-md);
  --ai-assistant-button-border-radius-icon: 50%;
  --ai-assistant-button-border-radius-text: 1.75rem;
  --ai-assistant-button-min-width: auto;

  /* Icon sizing */
  --ai-assistant-button-icon-icon-size: 18px;
  --ai-assistant-button-text-icon-size: 20px;

  /* Positioning */
  --ai-assistant-button-bottom: var(--spacing-xl);
  --ai-assistant-button-right: var(--spacing-xl);
  --ai-assistant-button-z-index: calc(var(--z-index-overlay) - 1);

  /* Typography */
  --ai-assistant-button-font-size: var(--font-size-base);
  --ai-assistant-button-font-weight: var(--font-weight-medium);
  --ai-assistant-button-gap: var(--spacing-xs);

  /* Background color */
  --ai-assistant-button-bg-color: var(--color-static-white);

  /* Icon colors */
  --ai-assistant-button-redocly-icon-color: #297AFE;

  /* Transform */
  --ai-assistant-button-transform-hover: none;
  --ai-assistant-button-transform-active: translateY(0);

  /* Shadow */
  --ai-assistant-button-shadow-hover:
    2px 1px 12px 4px rgba(143, 98, 254, 0.2),
    -3px -2px 24px 0px rgba(41, 122, 254, 0.2);

  /* Transition */
  --ai-assistant-button-transition: box-shadow 0.3s ease, transform 0.2s ease;

  // @tokens End
`,yd=css`
  --connect-mcp-button-dropdown-max-height: fit-content;
`})),bd,nne=o((()=>{bd=css`
  --navbar-bg-color: var(--bg-color); // @presenter Color
  --navbar-border-color: var(--border-color-secondary);
  --navbar-border: 1px solid var(--navbar-border-color);
  --navbar-row-bottom-border-color: var(--navbar-border-color);

  --navbar-text-color: var(--text-color-secondary); // @presenter Color
  --navbar-height: 64px; // @presenter Spacing
  --navbar-stack-height: var(--navbar-height);
  --navbar-offset: calc(var(--navbar-stack-height) + var(--banner-height));
  --navbar-font-size: var(--font-size-base);
  --navbar-padding: 0 var(--spacing-xl); // @presenter Spacing
  --navbar-font-family: var(--font-family-base);
  --navbar-container-max-width: 100%;

  --navbar-menu-items-gap: var(--spacing-sm);
  --navbar-menu-justify-content: flex-start;

  --navbar-item-font-weight: var(--font-weight-regular);

  --navbar-item-text-color-active: var(--text-color-primary);
  --navbar-item-text-decoration-active: none;
  --navbar-item-bottom-border-active: none;

  --navbar-item-padding-vertical: var(--spacing-xxs);
  --navbar-item-padding-horizontal: var(--spacing-sm);
  --navbar-item-padding: var(--navbar-item-padding-vertical) var(--navbar-item-padding-horizontal);

  --navbar-item-line-height: var(--line-height-base);
  --navbar-item-bg-color-active: var(--bg-color-active);
  --navbar-item-border-radius: var(--border-radius-lg);
  --navbar-item-bottom-border: none;

  --navbar-item-text-color-hover: var(--text-color-primary);
  --navbar-item-text-decoration-hover: none;
  --navbar-item-bg-color-hover: var(--bg-color);
  --navbar-item-bottom-border-hover: none;

  --navbar-item-icon-width: 1.25em; // @presenter Spacing
  --navbar-item-icon-height: 1.25em; // @presenter Spacing
  --navbar-item-icon-margin-right: 0.5em; // @presenter Spacing

  --navbar-logo-height: var(--logo-height);
  --navbar-logo-width: var(--logo-width);
  --navbar-logo-margin: var(--logo-margin);
  --navbar-logo-max-width: var(--logo-max-width);
  --navbar-logo-max-height: var(--logo-max-height);

  --navbar-separator-text-color: var(--text-color-description);
  --navbar-separator-font-size: var(--font-size-sm);
  --navbar-separator-line-height: var(--line-height-sm);
`})),xd,rne=o((()=>{xd=css`
  /**
    * @tokens Search
    */
  --search-modal-width: 1100px;
  --search-modal-min-width: 460px;
  --search-modal-min-height: 705px;
  --search-modal-bg-color: var(--modal-bg-color);
  --search-modal-box-shadow: var(--modal-box-shadow);
  --search-modal-border-radius: var(--border-radius-xxl);
  --search-modal-border: 1px solid var(--border-color-secondary);

  --search-modal-header-bg-color: var(--bg-color-tonal); // @presenter Color
  --search-modal-header-padding: var(--spacing-sm);

  --search-modal-footer-padding: var(--spacing-sm);
  --search-modal-footer-gap: var(--spacing-md);

  --search-highlight-bg-color: none; // @presenter Color
  --search-highlight-text-color: var(--color-info-base); // @presenter Color

  --search-input-font-family: var(--font-family-base); // @presenter FontFamily
  --search-input-font-size: var(--font-size-base); // @presenter FontSize
  --search-input-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --search-input-line-height: var(--line-height-base); // @presenter LineHeight
  --search-input-bg-color: var(--bg-color-tonal); // @presenter Color
  --search-input-text-color: var(--input-content-color-active); // @presenter Color
  --search-input-icon-color: var(--icon-color-interactive); // @presenter Color
  --search-input-placeholder-color: var(--input-content-placeholder-color);
  --search-input-padding: var(--spacing-sm);
  --search-input-gap: var(--spacing-sm);
  --search-input-height: 40px;
  --search-input-border: none;
  --search-input-border-radius: var(--border-radius-xl); // @presenter BorderRadius

  --search-group-title-padding: var(--spacing-sm);
  --search-group-title-bg-color: var(--bg-color-tonal); // @presenter Color
  --search-group-footer-padding: var(--spacing-sm);
  --search-group-footer-text-color: var(--link-color-primary); // @presenter Color

  --search-item-text-color: var(--text-color-secondary); // @presenter Color
  --search-item-text-color-hover: var(--text-color-primary); // @presenter Color
  --search-item-title-font-size: var(--font-size-base); // @presenter FontSize
  --search-item-title-font-weight: var(--font-weight-medium); // @presenter FontWeight
  --search-item-title-line-height: var(--line-height-base); // @presenter LineHeight
  --search-item-title-text-color: var(--text-color-primary); // @presenter Color
  --search-item-title-padding: var(--spacing-xxs) 0 2px 0;
  --search-item-path-text-color: var(--text-color-description); // @presenter Color
  --search-item-bg-color: transparent; // @presenter Color
  --search-item-bg-color-hover: var(--layer-color-ontonal-hover); // @presenter Color
  --search-item-border-color-focused: var(--color-blue-4); // @presenter Color
  --search-item-border-color: transparent; // @presenter Color
  --search-item-border-radius: var(--border-radius-lg);
  --search-item-padding: var(--spacing-sm) var(--spacing-lg);
  --search-item-gap: var(--spacing-xxs);
  --search-item-product-icon-size: 16px;

  --search-recent-item-font-size: var(--font-size-base); // @presenter FontSize
  --search-recent-item-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --search-recent-item-line-height: var(--line-height-base); // @presenter LineHeight
  --search-recent-item-padding: var(--spacing-xs) var(--spacing-lg);
  --search-recent-item-text-color: var(--search-item-text-color); // @presenter Color
  --search-recent-item-text-color-hover: var(--search-item-text-color-hover); // @presenter Color
  --search-recent-item-bg-color-hover: var(--search-item-bg-color-hover); // @presenter Color
  --search-recent-item-title-font-size: var(--font-size-base); // @presenter FontSize
  --search-recent-item-title-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --search-recent-item-title-line-height: var(--line-height-base); // @presenter LineHeight
  --search-recent-item-title-text-color: var(--text-color-primary); // @presenter Color
  --search-recent-item-title-padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xxs) var(--spacing-lg); // @presenter Color
  --search-recent-item-bg-color-active: var(--layer-color); // @presenter Color
  --search-recent-item-border-color-focused: var(--color-blue-4); // @presenter Color
  --search-recent-item-border-radius: var(--search-item-border-radius);

  --search-suggested-item-font-size: var(--font-size-base); // @presenter FontSize
  --search-suggested-item-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --search-suggested-item-line-height: var(--line-height-base); // @presenter LineHeight
  --search-suggested-item-padding: var(--spacing-xs) var(--spacing-lg);
  --search-suggested-item-text-color: var(--search-item-text-color); // @presenter Color
  --search-suggested-item-text-color-hover: var(--search-item-text-color-hover); // @presenter Color
  --search-suggested-item-bg-color-hover: var(--search-item-bg-color-hover); // @presenter Color
  --search-suggested-item-title-font-size: var(--font-size-base); // @presenter FontSize
  --search-suggested-item-title-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --search-suggested-item-title-line-height: var(--line-height-base); // @presenter LineHeight
  --search-suggested-item-title-text-color: var(--text-color-primary); // @presenter Color
  --search-suggested-item-title-padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xxs) var(--spacing-lg); // @presenter Color
  --search-suggested-item-bg-color-active: var(--layer-color); // @presenter Color
  --search-suggested-item-border-color-focused: var(--color-blue-4); // @presenter Color
  --search-suggested-item-border-radius: var(--search-item-border-radius);

  --search-shortcuts-gap: var(--spacing-xs);

  --search-message-font-size: var(--font-size-lg); // @presenter FontSize
  --search-message-font-weight: var(--font-weight-medium); // @presenter FontWeight
  --search-message-line-height: var(--line-height-lg); // @presenter LineHeight
  --search-message-text-color: var(--text-color-secondary); // @presenter Color
  --search-message-gap: var(--spacing-md);
  --search-message-padding: var(--spacing-md);

  --search-header-buttons-gap: var(--spacing-sm);
  --search-header-buttons-padding-left: var(--spacing-sm);
  --search-header-buttons-border-left: 1px solid var(--border-color-primary);

    /**
  * @tokens Search filter
  */
  --search-filter-width: 450px;
  --search-filter-bg-color: var(--search-modal-bg-color);
  --search-filter-padding: var(--spacing-lg);
  --search-filter-font-size: var(--font-size-base);
  --search-filter-font-weight: var(--font-weight-regular);
  --search-filter-line-height: var(--line-height-base);

  --search-filter-header-padding: var(--spacing-md) 0;
  --search-filter-header-text-color: var(--text-color-helper);
  --search-filter-header-z-index: var(--z-index-raised);

  --search-filter-fields-gap: var(--spacing-base);

  --search-filter-field-select-option-gap: var(--spacing-unit);
  --search-filter-field-select-option-text-padding: 0 0 0 var(--spacing-unit);
  --search-filter-field-select-footer-padding: 0 0 0 var(--spacing-unit);
  --search-filter-field-select-footer-text-color: var(--text-color-helper);

  --search-filter-field-tags-gap: var(--spacing-unit);
  --search-filter-field-tags-tag-margin: var(--spacing-unit) 0 0 0;

  // @tokens End

  /**
  * @tokens Navbar Search Trigger
  */
  --search-trigger-gap: var(--spacing-xs);
  --search-trigger-border-width: var(--border-width);
  --search-trigger-border-style: var(--border-style);
  --search-trigger-border-color: var(--input-border-color);
  --search-trigger-border-color-hover: var(--input-border-color-hover);
  --search-trigger-border-radius: var(--border-radius-lg);
  --search-trigger-padding-vertical: var(--input-padding-vertical);
  --search-trigger-padding-horizontal: var(--input-padding-horizontal);
  --search-trigger-padding: var(--search-trigger-padding-vertical) var(--search-trigger-padding-horizontal);
  --search-trigger-color: var(--input-content-placeholder-color);
  --search-trigger-bg-color: var(--navbar-bg-color);
  --search-trigger-icon-size: 16px;
  --search-trigger-line-height: var(--line-height-base);
  --search-trigger-shortcut-appear-duration: 300ms;
  --search-trigger-shortcut-appear-easing: ease-out;

  /**
  * @tokens AI Search
  */

  --search-ai-gradient: linear-gradient(to right, var(--search-ai-gradient-start-color, var(--search-ai-gradient-start-color-legacy)), var(--search-ai-gradient-end-color, var(--search-ai-gradient-end-color-legacy)));

  --search-ai-response-padding: var(--spacing-lg);
  --search-ai-response-gap: var(--spacing-sm);
  --search-ai-response-header-gap: var(--spacing-md);
  --search-ai-response-body-gap: var(--spacing-xl);
  --search-ai-response-body-padding: 0 40px;

  --search-ai-question-font-size: var(--font-size-xl);
  --search-ai-question-font-weight: var(--font-weight-semibold);
  --search-ai-question-line-height: var(--line-height-xl);
  --search-ai-question-text-color: var(--text-color-primary);

  --search-ai-text-color: var(--text-color-secondary);
  --search-ai-text-font-size: var(--font-size-lg);
  --search-ai-text-line-height: var(--line-height-lg);
  --search-ai-thinking-text-margin: var(--md-pre-margin) 0;

  --search-ai-user-bg-color: var(--color-primary-base, var(--search-ai-user-bg-color-legacy));
  --search-ai-user-text-color: var(--color-static-white);
  --search-ai-assistant-bg-color: var(--layer-color);
  --search-ai-assistant-text-color: var(--text-color-primary);
  --search-ai-assistant-border: 1px solid var(--border-color-primary);
  --search-ai-assistant-message-max-width: 80%;

  --search-ai-icon-size: 32px;
  --search-ai-icon-bg-color: var(--search-ai-gradient);
  --search-ai-icon-color: var(--color-static-white);
  --search-ai-icon-wrapper-padding: var(--spacing-xs);

  --search-ai-resources-gap: var(--spacing-xxs);
  --search-ai-resources-title-font-weight: var(--font-weight-medium);
  --search-ai-resources-title-font-size: var(--font-size-lg);
  --search-ai-resources-title-line-height: var(--line-height-lg);

  --search-ai-resource-tags-gap: var(--spacing-xxs);
  --search-ai-resource-tag-text-color: var(--text-color-secondary);
  --search-ai-resource-tag-icon-color: var(--text-color-secondary);
  --search-ai-resource-tag-icon-size: 16px;

  --search-ai-suggestions-gap: var(--spacing-sm);
  --search-ai-suggestions-margin-left: var(--spacing-xs);
  --search-ai-suggestion-item-gap: var(--spacing-xxs);
  --search-ai-suggestions-title-text-color: var(--text-color-description);
  --search-ai-suggestions-title-font-size: var(--font-size-base);
  --search-ai-suggestions-title-line-height: var(--line-height-base);
  --search-ai-suggestions-title-font-weight: var(--font-weight-light);
  --search-ai-suggestions-text-color: var(--text-color-description);

  --search-ai-activity-font-size: var(--font-size-base);
  --search-ai-activity-line-height: var(--line-height-sm);
  --search-ai-activity-count-font-size: var(--font-size-sm);
  --search-ai-activity-count-bg-color: var(--border-color-secondary);
  --search-ai-activity-text-color: var(--text-color-description);
  --search-ai-activity-text-color-hover: var(--text-color-primary);
  --search-ai-activity-detail-color: var(--text-color-secondary);
  --search-ai-activity-shimmer-color: var(--text-color-primary);
  --search-ai-activity-rail-color: var(--border-color-primary);
  --search-ai-activity-icon-size: 14px;
  --search-ai-activity-fade-duration: 200ms;
  --search-ai-activity-expand-duration: 250ms;
  --search-ai-activity-shimmer-duration: 2s;
  --search-ai-activity-easing: cubic-bezier(0.32, 0.72, 0, 1);

  --search-ai-thinking-dot-size: 6px;
  --search-ai-thinking-dot-color: var(--search-ai-gradient);

  --search-ai-spinner-icon-color: var(--icon-color-interactive);
  --search-ai-checkmark-icon-color: var(--icon-color-interactive);

  --search-ai-feedback-gap: var(--spacing-xxs);

  --search-ai-feedback-form-bg-color: var(--background-color-secondary);
  --search-ai-feedback-form-border-color: var(--border-color-primary);

  --search-ai-disclaimer-font-size: var(--font-size-sm);
  --search-ai-disclaimer-line-height: var(--line-height-sm);
  --search-ai-disclaimer-text-color: var(--text-color-secondary);

  --search-ai-welcome-margin: var(--spacing-md);

  --search-ai-button-icon-color: none;

  --search-ai-conversation-input-send-button-bg-color: var(--button-bg-color-primary);
  --search-ai-conversation-input-send-button-bg-color-hover: var(--button-bg-color-primary-hover);
  --search-ai-conversation-input-send-button-bg-color-disabled: var(--button-bg-color-disabled);
  --search-ai-conversation-input-send-button-border-color-disabled: var(--button-border-color-disabled);
  --search-ai-conversation-input-send-button-icon-color: var(--color-static-white);

  /**
  * @tokens AI Search Dialog
  */
  --search-ai-dialog-bg-color: var(--bg-color);
  --search-ai-dialog-header-border: var(--search-modal-border);
  --search-ai-dialog-header-bg-color: var(--search-modal-header-bg-color);
  --search-ai-dialog-header-padding: var(--search-modal-header-padding);

  --search-ai-dialog-body-padding: var(--search-ai-response-padding);
  --search-ai-dialog-body-gap: var(--spacing-sm);

  --search-ai-dialog-input-padding: var(--spacing-sm) var(--search-ai-response-padding);
  --search-ai-dialog-input-border: 1px solid var(--border-color-secondary);
  --search-ai-dialog-input-bg-color: var(--bg-color);

  /**
  * @tokens AI Search Conversation Input
  */
  --search-ai-conversation-input-bg-color: var(--bg-color);
  --search-ai-conversation-input-bg-color-disabled: var(--color-warm-grey-1);
  --search-ai-conversation-input-padding: var(--spacing-sm) var(--spacing-md);
  --search-ai-conversation-input-border: 1px solid var(--border-color-secondary);
  --search-ai-conversation-input-border-radius: var(--border-radius-xl);
  --search-ai-conversation-input-font-size: var(--font-size-base);
  --search-ai-conversation-input-placeholder-color: var(--search-input-placeholder-color);
  --search-ai-conversation-input-border-color-focus: var(--color-primary-base, var(--search-ai-conversation-input-border-color-focus-legacy));
  --search-ai-conversation-input-border-color-disabled: var(--border-color-secondary);

  --search-ai-conversation-input-send-button-right: 12px;
  --search-ai-conversation-input-send-button-padding: 5px;
  --search-ai-conversation-input-send-button-border-radius: var(--border-radius-md);
  --search-ai-conversation-input-send-button-border-disabled: 1px solid var(--button-border-color-disabled);

  --search-ai-conversation-input-min-height: 48px;
  --search-ai-conversation-input-max-height: 120px;
  --search-ai-conversation-input-padding-right: calc(var(--search-ai-conversation-input-send-button-right) + 30px);
  --search-ai-conversation-input-send-button-bottom: calc(var(--search-ai-conversation-input-min-height) / 2);

  // @tokens End
`})),Sd,Cd,ine=o((()=>{Sd=css`
  /**
    * @tokens Menu
    */
  --menu-padding: 0px;
  --menu-margin: 0px;
  --menu-list-style: none;

  --menu-content-color: var(--text-color-secondary); // @presenter Color
  --menu-content-title-color: var(--text-color-description); // @presenter Color
  --menu-content-color-active: var(--text-color-primary); // @presenter Color
  --menu-content-color-disabled: var(--text-color-disabled); // @presenter Color

    /**
    * @tokens Menu item typography
    */
  --menu-item-font-family: var(--sidebar-font-family); // @presenter FontFamily
  --menu-item-font-size: var(--sidebar-font-size); // @presenter FontSize
  --menu-item-font-weight: var(--font-weight-regular); // @presenter FontSize
  --menu-item-font-weight-active: var(--font-weight-medium); // @presenter FontWeight
  --menu-item-line-height: var(--line-height-base); // @presenter LineHeight

    /**
    * @tokens Menu item colors
    *  @presenter Color
    */
  --menu-item-text-color: var(--sidebar-text-color); // @presenter Color
  --menu-item-bg-color: transparent; // @presenter Color
  --menu-item-bg-color-hover: var(--color-hover-base); // @presenter Color
  --menu-item-bg-color-active: var(--color-primary-bg, var(--menu-item-bg-color-active-legacy)); // @presenter Color

  --menu-item-color-hover: var(--tree-content-color-hover); // @presenter Color
  --menu-item-color-active: var(--color-primary-text, var(--menu-item-color-active-legacy)); // @presenter Color
  --menu-item-color-active-hover: var(--color-primary-text, var(--menu-item-color-active-hover-legacy)); // @presenter Color
  --menu-item-bg-color-active-hover: var(--color-primary-bg, var(--menu-item-bg-color-active-hover-legacy)); // @presenter Color
  --menu-item-border-color-hover: color-mix(in srgb, var(--color-warm-grey-11) 6%, transparent); // @presenter Color
  /**
   * @tokens Menu item spacing
   * @presenter Spacing
   */
  --menu-item-padding-vertical: var(--spacing-unit); // @presenter Spacing
  --menu-item-padding-horizontal: var(--spacing-xxs); // @presenter Spacing
  --menu-item-nested-offset: var(--spacing-sm); // @presenter Spacing
  --menu-header-container-gap: var(--spacing-sm); // @presenter Spacing

  /**
   * @tokens Menu item label
   */
  --menu-item-label-align-items: center;
  --menu-item-label-transition: background-color 0.3s, color 0.3s;
  --menu-item-label-word-break: break-word;
  --menu-item-label-margin-horizontal: var(--sidebar-margin-horizontal);
  --menu-item-label-margin-vertical: 0;
  --menu-item-label-margin: var(--menu-item-label-margin-vertical) var(--menu-item-label-margin-horizontal);
  --menu-item-label-padding: var(--menu-item-padding-vertical) var(--menu-item-padding-horizontal);
  --menu-item-label-gap: var(--spacing-xxs);
  --menu-item-label-border-radius: var(--border-radius-lg);
  --menu-item-label-chevron-size: 12px;
  --menu-item-label-chevron-offset: calc(var(--menu-item-label-gap) + var(--menu-item-label-chevron-size));

  /**
   * @tokens Menu item sublabel
   */
  --menu-item-sublabel-font-family: inherit; // sublabel is for drilldown only but I would like to support it in general
  --menu-item-sublabel-font-size: var(--font-size-sm); // @presenter FontSize
  --menu-item-sublabel-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --menu-item-sublabel-text-color: var(--menu-item-text-color); // @presenter Color
  --menu-item-sublabel-margin: 0 0 0 var(--spacing-base); // @presenter Spacing

  /**
   * @tokens Menu item icons
   */
  --menu-item-icon-size: var(--spacing-base);
  --menu-item-icon-margin: 0 var(--spacing-xxs) 0 0;
  --menu-item-icon-border-radius: 100%;

  --menu-item-external-icon-size: 10px;

  /**
   * @tokens Menu item separator line
   */
  --menu-item-separator-line-height: 1px;
  --menu-item-separator-line-bg-color: var(--border-color-secondary);
  --menu-item-separator-offest: var(--spacing-xxs);

  /**
   * @tokens Menu back button
   */
  --menu-back-button-font-family: var(--menu-item-font-family);
  --menu-back-button-font-size: var(--menu-item-font-size); // @presenter FontSize
  --menu-back-button-transform: inherit; // @presenter TextTransform
  --menu-back-button-text-color: var(--menu-item-text-color); // @presenter Color
  --menu-back-button-bg-color: transparent; // @presenter Color
  --menu-back-button-text-color-hover: var(--menu-item-color-active); // @presenter Color
  --menu-back-button-bg-color-hover: transparent; // @presenter Color
  --menu-back-button-icon-size: var(--menu-item-label-chevron-size); // @presenter Color
  --menu-back-button-icon-color: var(--menu-item-text-color); // @presenter Color
  --menu-back-button-margin: 0 0 var(--spacing-base) var(--sidebar-margin-horizontal); // @presenter Spacing
  --menu-back-padding-left: var(--spacing-xs); // @presenter Spacing
  --menu-back-button-gap: var(--spacing-xs);
  --menu-back-button-icon: none;

  /**
   * @tokens Menu select
   */
  --menu-select-margin-top: 0;
  --menu-select-margin-bottom: var(--spacing-xs);
  --menu-select-margin-horizontal: var(--menu-item-label-margin-horizontal);
  --menu-select-margin: var(--menu-select-margin-top) var(--menu-select-margin-horizontal) var(--menu-select-margin-bottom); // @presenter Spacing
  --menu-select-height: 32px; // @presenter Spacing
  --menu-select-padding-horizontal: calc(var(--spacing-sm) - var(--border-width)); // @presenter Spacing
  --menu-select-gap: var(--spacing-xxs); // @presenter Spacing
  --menu-select-font-size: var(--font-size-base); // @presenter FontSize
  --menu-select-line-height: var(--line-height-base); // @presenter LineHeight
  --menu-select-text-color: var(--input-content-color-active); // @presenter Color
  --menu-select-bg-color: var(--input-bg-color); // @presenter Color
  --menu-select-border: var(--input-border); // @presenter Border
  --menu-select-border-color-focused: var(--input-border-color-focused); // @presenter Color
  --menu-select-border-radius: var(--input-border-radius); // @presenter BorderRadius
  --menu-select-icon-size: 16px;
  --menu-select-icon-color: var(--icon-color-secondary); // @presenter Color
  --menu-select-transition: transform 150ms ease-in-out;
  --menu-select-menu-offset: var(--spacing-xs); // @presenter Spacing
  --menu-select-menu-padding: calc(var(--dropdown-menu-padding) - var(--border-width)); // @presenter Spacing
  --menu-select-menu-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --menu-select-option-gap: calc(var(--spacing-unit) / 2); // @presenter Spacing
  --menu-select-option-content-gap: var(--spacing-xs); // @presenter Spacing
  --menu-select-option-padding-vertical: var(--dropdown-menu-item-padding-vertical);
  --menu-select-option-padding-left: var(--spacing-md);
  --menu-select-option-padding-right: var(--spacing-sm);
  --menu-select-option-padding: var(--menu-select-option-padding-vertical) var(--menu-select-option-padding-right) var(--menu-select-option-padding-vertical) var(--menu-select-option-padding-left); // @presenter Spacing
  --menu-select-option-border-radius: var(--border-radius-md); // @presenter BorderRadius
  --menu-select-option-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --menu-select-option-font-weight-active: var(--font-weight-medium); // @presenter FontWeight
  --menu-select-option-text-color-active: var(--text-color-primary); // @presenter Color
  --menu-select-option-bg-color-active: transparent; // @presenter Color
  --menu-select-option-icon-size: var(--menu-item-icon-size);
  --menu-select-option-external-icon-size: var(--menu-item-external-icon-size);
  --menu-select-option-checkmark-size: 14px;
  --menu-select-option-checkmark-offset: calc((var(--menu-select-option-padding-left) - var(--menu-select-option-checkmark-size)) / 2);

  /**
   * @tokens Menu items
   */

  .menu-item-type-separator {
    --menu-item-label-chevron-offset: 0px;
  }

  .menu-item-type-separator-primary {
    --menu-item-font-weight: var(--font-weight-bold);
    --menu-item-text-color: var(--text-color-primary);
    --menu-item-font-size: var(--sidebar-font-size);
    --menu-item-line-height: var(--line-height-base);
  }

  .menu-item-type-separator-secondary {
    --menu-item-font-weight: var(--font-weight-bold);
    --menu-item-text-color: var(--text-color-secondary);
    --menu-item-font-size: var(--font-size-sm);
    --menu-item-line-height: var(--line-height-sm);
  }

  // @tokens End
`,Cd=css`

  /**
    * @tokens Mobile Menu
    * */
  /* Fallback for older browsers. dvh accounts for dynamic UI elements like mobile address bars */
  --menu-mobile-height: calc(100vh - var(--navbar-offset));
  --menu-mobile-height: calc(100dvh - var(--navbar-offset));
  --menu-mobile-width: 100%;
  --menu-mobile-z-index: var(--z-index-raised);
  --menu-mobile-left: 0;
  --menu-mobile-top: var(--navbar-offset);
  --menu-mobile-transition: 0.5s;
  --menu-mobile-bg: var(--bg-color); // @presenter Color
  --menu-mobile-margin: var(--menu-mobile-items-margin-top) var(--menu-mobile-margin-horizontal) 0 var(--menu-mobile-margin-horizontal);
  --menu-mobile-line-height: var(--line-height-base); // @presenter LineHeight
  --menu-mobile-padding-top: var(--spacing-sm); // @presenter Spacing
  --menu-mobile-margin-horizontal: 0; // @presenter Spacing
  --menu-mobile-items-margin-top: var(--spacing-xxs); // @presenter Spacing

  --menu-mobile-profile-bg-color: var(--bg-color); // @presenter Color
  --menu-mobile-profile-border-color: var(--border-color-secondary); // @presenter Color

  /**
    * @tokens Mobile Menu control button
    * */
  --menu-mobile-control-button-padding-vertical: var(--spacing-xxs); // @presenter Spacing
  --menu-mobile-control-button-padding-horizontal: var(--spacing-xxs); // @presenter Spacing
  --menu-mobile-control-button-padding: var(--menu-mobile-control-button-padding-vertical) var(--menu-mobile-control-button-padding-horizontal); // @presenter Spacing
  --menu-mobile-control-button-margin-vertical: 0; // @presenter Spacing
  --menu-mobile-control-button-margin-horizontal: var(--spacing-xs); // @presenter Spacing
  --menu-mobile-control-button-margin: var(--menu-mobile-control-button-margin-vertical) var(--menu-mobile-control-button-margin-horizontal); // @presenter Spacing
  --menu-mobile-control-button-font-size: var(--font-size-sm); // @presenter FontSize
  --menu-mobile-control-button-weight: var(--font-weight-regular); // @presenter FontWeight
  --menu-mobile-control-button-line-height: var(--line-height-sm); // @presenter LineHeight
  --menu-mobile-control-button-color: var(--menu-item-text-color); // @presenter Color
  --menu-mobile-control-button-color-hover: var(--text-color-primary); // @presenter Color
  --menu-mobile-control-button-text-align: center;


  /**
    * @tokens Mobile Menu Product
    * */
  --menu-mobile-product-name-font-size: var(--menu-item-font-size);
  --menu-mobile-product-name-font-weight: var(--font-weight-bold);
  --menu-mobile-product-name-line-height: var(--line-height-base);
  --menu-mobile-product-name-text-color: var(--menu-item-text-color);
  --menu-mobile-product-name-border-radius: var(--menu-item-label-border-radius);
  --menu-mobile-product-name-border: none;
  --menu-mobile-product-name-padding: var(--menu-item-padding-vertical) var(--menu-item-padding-horizontal);
  --menu-mobile-product-name-margin: var(--menu-item-label-margin);

  // @tokens End

  --menu-container-padding-top: var(--sidebar-offset-top);
`})),wd,ane=o((()=>{wd=css`
  /**
    * Tree view icons font
    */
  @font-face {
    font-family: 'TreeViewIcons';
    /**
    * Use the following escape sequences to refer to a specific icon:
    *
    * - \\ea01 file
    * - \\ea02 folder
    * - \\ea03 image
    * - \\ea04 audio
    * - \\ea05 video
    * - \\ea06 text
    * - \\ea07 code
    * - \\ea08 archive
    * - \\ea09 pdf
    * - \\ea0a excel
    * - \\ea0b powerpoint
    * - \\ea0c word
    */
    src: url('data:application/font-woff;base64,d09GRgABAAAAAAgYAAsAAAAAEGAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPwAAAFY1UkH9Y21hcAAAAYQAAAB/AAACCtvO7yxnbHlmAAACBAAAA+MAAAlACm1VqmhlYWQAAAXoAAAAKgAAADZfxj5jaGhlYQAABhQAAAAYAAAAJAFbAMFobXR4AAAGLAAAAA4AAAA0CGQAAGxvY2EAAAY8AAAAHAAAABwM9A9CbWF4cAAABlgAAAAfAAAAIAEgAHZuYW1lAAAGeAAAATcAAAJSfUrk+HBvc3QAAAewAAAAZgAAAIka0DSfeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGRYyjiBgZWBgaGQoRZISkLpUAYOBj0GBiYGVmYGrCAgzTWFweEV4ysehs1ArgDDFgZGIA3CDAB2tQjAAHic7ZHLEcMwCESfLCz/VEoKSEE5parURxMOC4c0Ec283WGFdABgBXrwCAzam4bOK9KWeefM3Hhmjyn3ed+hTRq1pS7Ra/HjYGPniHcXMy4G/zNTP7/KW5HTXArkvdBW3ArN19dCG/NRIN8K5HuB/CiQn4U26VeBfBbML9NEH78AeJyVVc1u20YQ3pn905JcSgr/YsuSDTEg3cR1bFEkYyS1HQcQ2jQF2hot6vYSoECKnnPLA/SWUy9NTr31Bfp+6azsNI0SGiolzu7ODnfn+2Z2lnHG3rxhr9nfLGKbLGesncAYYnUHpsVnMG/uwyzNdFIVd6HI6twp8+R3LpT4TSglLoTHwwJgG2/dFvKrl9yI507/p5CCq4LTxB/PlPjkFaMHnWB/0S9je7RTPS+utnGtom1T2q5pk/e3H0M1S18rsXAL7wgpxQuhAmteGGvNjmcfGXuwnFNOPCXxeOGmnjrBLWNyBeNtVq2Hs03yus1aPS3mzSyNVSfu588iW1Q93x/4fjcHn+5EkS2tMxr4xIRa8ese+4L9uKZnxEqs8+ldyN9atU02a5t5uQ8hZGms1QTKpaKYqnipiNNOAIeIADC0JNEOYY+jtSgFoOchiAjRGFACpUTRje8bwIYWGCDEgENY8MEu9bnCYCdAxftoNg0KiSpUtPaHcanYwzXRu6T4r40b5npal3V7UHWCPJW9niyl1vIHgoujEXZjudBkeWkOeMQBRmbEPhKzij1i52t6/TadL+3q7H0U1eq4E8cG4gIIwQLx8VX7ToPXgPrehVc5QXHR7gMSmwjKfaYAP4KvZV+yn9bE18y2IY37LvtyrSg3i7ZK++B603ndlg/gBJpZRsfpBI6hyiaQ6FjlnThz8lAC3LgBIMnXDOAXxBQ4SIgiEhx2AcGCAwAhwjXRpCQms42bwAUt75BvAwgONzdgOfWEwzk4Ylzj4mz+5YEzzXzWX9aNlk7ot65y5QnBHsNlm6zDTu7sspRqG4V+fgJ1lVBZ07Nm7s5nemo3Lf3PO7iwtnroQ5/YDGwPRUip6fV6L+27p+wCHwSvPs85UnHqId8NAn5IBsKdv95KrL9m31Gsf2a/rluDslk1y1J9GE+LUmmVT/OyOHaFKGnapt2H5XeJTmKd6qYNoVVZOy+pWzr7rMip3ndG/4mQSoUcMbAqG/YNIAdXhkAqTVruXhocSKN0iS4Rwj7vSS4fcF/La07BfeQSuRAcFeW+9igjwPhhYPpGCBCBHhxiKMyFMFT7ziRH7RtfIWdiha+TdW+Rqs7bLHdN2ZJIKl0um0x3op9saYr0REeRdj09pl43pMzz4tjztrY8L4o8bzT+oLY27PR/eFtXs/YY5vtwB5Iqad14eYN0ujveMaGWqkdU3TKbQSC5Uvxaf4fA7SAQ3r2tEfIhd4duld91bwMisjqBw22orthNcroXl7KqO1329HBgAexgoCfGAwiDPoBnriki3lmNojrzvD0tjo6E3vPYP6E2BMIAeJxjYGRgYADiY8t3FsTz23xl4GbYzIAB/v9nWM6wBcjgYGAC8QH+QQhZAAB4nGNgZGBg2MzAACeXMzAyoAJeADPyAh14nGNgAILNpGEA0fgIZQAAAAAAAAA2AHIAvgE+AZgCCAKMAv4DlgPsBEYEoHicY2BkYGDgZchi4GQAASYg5gJCBob/YD4DABTSAZcAeJx9kU1uwjAQhV/4qwpqhdSqi67cTTeVEmBXDgBbhBD7AHYISuLUMSD2PUdP0HNwjp6i676k3qQS9Ujjb968mYUNoI8zPJTHw02Vy9PAFatfbpLuHbfIT47b6MF33KH+6riLF0wc93CHN27wWtdUHvHuuIFbfDhuUv903CKfHbfxgC/HHerfjrtYen3HPTx7ambiIl0YKQ+xPM5ltE9CU9NqxVKaItaZGPqDmj6VmTShlRuxOoniEI2sVUIZnYqJzqxMEi1yo3dybf2ttfk4CJTT/bVOMYNBjAIpFiTJOLCWOGLOHGGPBCE7l32XO0tmw04MjQwCQ7774B//lDmrZkJY3hvOrHBiLuiJMKJqoVgrejQ3CP5Yubt0JwxNJa96Oypr6j621VSOMQKG+uP36eKmHylcb0MAeJxtwdEOgjAMBdBeWEFR/Mdl7bTJtMsygc/nwVfPoYF+QP+tGDAigDFhxgVXLLjhjhUPCtmKTtmLaGN7x6dy/Io5bybqoevRQ3LRObb0sk3HKpn1SFqW6ru26vbpYfcmRCccJhqsAAA=') format('woff');
  }
  
  /**
    * @tokens Code base styles
    */
  --code-font-size: var(--font-size-sm); // @presenter FontSize
  --code-font-family: var(--font-family-monospaced); // @presenter FontFamily
  --code-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --code-line-height: var(--line-height-sm); // @presenter LineHeight
  --code-wrap: pre;
  --code-word-break: break-word;

  /**
    * @tokens Inline Code
    */
  --inline-code-font-size: var(--code-font-size); // @presenter FontSize
  --inline-code-font-family: var(--code-font-family); // @presenter FontFamily
  --inline-code-font-weight: var(--code-font-weight); // @presenter FontWeight
  --inline-code-line-height: var(--code-line-height); // @presenter LineHeight
  --inline-code-text-color: var(--text-color-secondary); // @presenter Color
  --inline-code-bg-color: var(--border-color-secondary); // @presenter Color
  --inline-code-border-color: var(--border-color-primary); // @presenter Color
  --inline-code-border-radius: var(--border-radius); // @presenter BorderRadius

  /**
    * @tokens Code Block
    */
  --code-block-font-size: var(--code-font-size); // @presenter FontSize
  --code-block-font-family: var(--code-font-family); // @presenter FontFamily
  --code-block-line-height: var(--code-line-height); // @presenter LineHeight
  --code-block-font-weight: var(--code-font-weight); // @presenter FontWeight
  --code-block-text-color: var(--text-color-secondary); // @presenter Color
  --code-block-bg-color: var(--layer-color); // @presenter Color
  --code-block-padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-sm);
  --code-block-margin: 0;
  --code-block-max-height: calc(100vh - 300px); // Where 300 is combined value of navbar, code block heading, controls height and paddings
  --code-block-word-break: initial;
  --code-block-highlighted-border-left: 1px solid var(--color-primary-base, var(--color-warm-grey-11)); // @presenter Color
  --code-block-highlighted-bg-color: var(--color-primary-bg, var(--code-block-highlighted-bg-color-legacy)); // @presenter Color

  /**
    * @tokens Code Block controls
    */

  --code-block-controls-font-size: var(--font-size-base); // @presenter FontSize
  --code-block-controls-font-family: var(--font-family-base); // @presenter FontFamily
  --code-block-controls-text-color: var(--text-color-primary); // @presenter Color
  --code-block-controls-font-weight: var(--font-weight-medium); // @presenter Color
  --code-block-controls-bg-color: transparent; // @presenter Color
  --code-block-controls-border: 1px solid var(--border-color-secondary); // @presenter Border
  --code-block-icon-controls-bg-color: var(--code-block-controls-bg-color);
  --code-block-text-controls-bg-color: var(--code-block-controls-bg-color);
  --code-block-controls-padding: var(--spacing-xxs);
  --code-block-controls-height: 20px;
  --code-block-controls-width: 20px;

  /**
    * @tokens Code Block tokens
   */
  --code-block-tokens-default-color: var(--text-color-secondary); // @presenter Color
  --code-block-tokens-comment-color: var(--input-content-placeholder-color); // @presenter Color
  --code-block-tokens-prolog-color: var(--code-block-tokens-comment-color); // @presenter Color
  --code-block-tokens-doctype-color: var(--code-block-tokens-comment-color); // @presenter Color
  --code-block-tokens-cdata-color: var(--code-block-tokens-comment-color); // @presenter Color
  --code-block-tokens-property-color: var(--code-block-tokens-default-color); // @presenter Color
  --code-block-tokens-tag-color: var(--code-block-tokens-default-color); // @presenter Color
  --code-block-tokens-number-color: var(--code-block-tokens-default-color); // @presenter Color
  --code-block-tokens-constant-color: var(--code-block-tokens-default-color); // @presenter Color
  --code-block-tokens-symbol-color: var(--code-block-tokens-default-color); // @presenter Color
  --code-block-tokens-boolean-color: var(--color-green-7); // @presenter Color
  --code-block-tokens-string-color: var(--color-primary-active, var(--code-block-tokens-string-color-legacy)); // @presenter Color
  --code-block-tokens-property-string-color: var(--color-blue-7); // @presenter Color
  --code-block-tokens-selector-color: var(--code-block-tokens-string-color); // @presenter Color
  --code-block-tokens-attr-name-color: var(--code-block-tokens-string-color); // @presenter Color
  --code-block-tokens-char-color: var(--code-block-tokens-string-color); // @presenter Color
  --code-block-tokens-builtin-color: var(--code-block-tokens-string-color); // @presenter Color
  --code-block-tokens-inserted-color: var(--code-block-tokens-string-color); // @presenter Color
  --code-block-tokens-link-color: var(--color-blue-7); // @presenter Color
  --code-block-tokens-operator-color: var(--color-carrot-7); // @presenter Color
  --code-block-tokens-entity-color: var(--code-block-tokens-operator-color); // @presenter Color
  --code-block-tokens-url-color: var(--code-block-tokens-operator-color); // @presenter Color
  --code-block-tokens-variable-color: var(--code-block-tokens-operator-color); // @presenter Color
  --code-block-tokens-keyword-color: var(--color-magenta-7); // @presenter Color
  --code-block-tokens-atrule-color: var(--code-block-tokens-keyword-color); // @presenter Color
  --code-block-tokens-attr-value-color: var(--code-block-tokens-keyword-color); // @presenter Color
  --code-block-tokens-regex-color: var(--color-carrot-7); // @presenter Color
  --code-block-tokens-regex-char-escape-color: var(--color-grass-8); // @presenter Color
  --code-block-tokens-important-color: var(--code-block-tokens-regex-color); // @presenter Color
  --code-block-tokens-deleted-color: var(--color-red-7); // @presenter Color
  --code-block-tokens-class-name-color: var(--color-carrot-7); // @presenter Color
  --code-block-tokens-function-color: var(--color-carrot-7); // @presenter Color
  --code-block-tokens-invalid-color: var(--color-orange-8); // @presenter Color
  --code-block-tokens-message-error-color: var(--code-block-tokens-invalid-color); // @presenter Color
  --code-block-tokens-unmatched-color: var(--code-block-tokens-invalid-color); // @presenter Color
  --code-block-tokens-markup-bg-color: var(--color-grass-1); // @presenter Color
  --code-block-tokens-markup-foreground-color: var(--color-grass-8); // @presenter Color
  --code-block-tokens-markup-changed-color: var(--color-carrot-1); // @presenter Color
  --code-block-tokens-markup-deleted-color: var(--color-magenta-1); // @presenter Color
  --code-block-tokens-markup-quote-color: var(--color-grass-8); // @presenter Color
  --code-block-tokens-markup-ignored-color: var(--color-blue-1); // @presenter Color
  --code-block-tokens-warm-bg-color: var(--color-warm-grey-2); // @presenter Color
  --code-block-tokens-warm-foreground-color: var(--color-warm-grey-8); // @presenter Color
  --code-block-tokens-meta-diff-range-color: var(--color-purple-8); // @presenter Color

  /**
    * @tokens Code Block tree view
   */
  --code-block-tree-view-icon-font-family: 'TreeViewIcons'; // @presenter FontFamily
  --code-block-tree-view-lines-color: var(--border-color-primary); // @presenter Color
  --code-block-tree-view-comment-color: var(--input-content-placeholder-color); // @presenter Color

  // @tokens End
`})),Td,one=o((()=>{Td=css`
  /**
    * @tokens Product picker
    * */

  --product-logo-gap: var(--spacing-xs);

  --product-picker-dropdown-font-size: var(--dropdown-menu-font-size); // @presenter FontSize
  --product-picker-dropdown-font-weight: var(--dropdown-menu-font-weight); // @presenter FontWeight
  --product-picker-dropdown-line-height: var(--dropdown-menu-line-height); // @presenter LineHeight
  --product-picker-dropdown-text-color: var(--dropdown-menu-text-color); // @presenter Color

  --product-picker-dropdown-min-width: var(--dropdown-menu-min-width);
  --product-picker-dropdown-max-width: var(--dropdown-menu-max-width);
  --product-picker-dropdown-max-height: var(--dropdown-menu-max-height);
  --product-picker-dropdown-padding: var(--dropdown-menu-padding ); // @presenter Spacing
  --product-picker-dropdown-border-radius: var(--dropdown-menu-border-radius); // @presenter BorderRadius
  --product-picker-dropdown-box-shadow: var(--dropdown-menu-box-shadow); // @presenter Shadow
  --product-picker-dropdown-border-color: var(--dropdown-menu-border-color); // @presenter Color
  --product-picker-dropdown-bg-color: var(--dropdown-menu-bg-color); // @presenter Color

  --product-picker-dropdown-item-padding-horizontal: 20px; // @presenter Spacing
  --product-picker-dropdown-item-padding-vertical: var(--dropdown-menu-item-padding-vertical); // @presenter Spacing
  --product-picker-dropdown-item-separator-padding-top: var(--dropdown-menu-item-separator-padding-top ); // @presenter Spacing
  --product-picker-dropdown-item-separator-padding-bottom: var(--dropdown-menu-item-separator-padding-bottom ); // @presenter Spacing
  --product-picker-dropdown-item-border-radius: var(--dropdown-menu-item-border-radius); // @presenter BorderRadius
  --product-picker-dropdown-item-bg-color-active: var(--dropdown-menu-item-bg-color-active); // @presenter Color
  --product-picker-dropdown-item-bg-color-hover: var(--dropdown-menu-item-bg-color-hover); // @presenter Color
  --product-picker-dropdown-item-bg-color-disabled: var(--dropdown-menu-item-bg-color-disabled); // @presenter Color
  --product-picker-dropdown-item-separator-border-color: var(--dropdown-menu-item-separator-border-color); // @presenter Color
  --product-picker-dropdown-item-color-dangerous: var(--dropdown-menu-item-color-dangerous);
  --product-picker-dropdown-item-color-disabled: var(--dropdown-menu-item-color-disabled);
  --product-picker-dropdown-item-color-active: var(--dropdown-menu-item-color-active);
  --product-picker-dropdown-item-color-hover: var(--dropdown-menu-item-color-hover);
  --product-picker-dropdown-item-border-color-focused: var(--dropdown-menu-item-border-color-focused);

  // @tokens End
`})),Ed,sne=o((()=>{Ed=css`
  /**
  * @tokens Markdown Content
  */

  --md-content-max-width: 688px;
  --md-content-padding: 25px 0px 25px 0px; // @presenter Spacing
  --md-content-font-size: var(--font-size-base); // @presenter FontSize
  --md-content-font-family: var(--font-family-base); // @presenter FontFamily
  --md-content-line-height: var(--line-height-base); // @presenter LineHeight
  --md-content-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --md-content-text-color: var(--text-color-secondary); // @presenter Color

  /**
  * @tokens Markdown Blockquote
  */

  --md-blockquote-margin-vertical: 1.5em; // @presenter Spacing
  --md-blockquote-margin-horizontal: 0; // @presenter Spacing
  --md-blockquote-padding-vertical: 0; // @presenter Spacing
  --md-blockquote-padding-horizontal: var(--spacing-base); // @presenter Spacing
  --md-blockquote-border-color: var(--border-color-primary); // @presenter Color
  --md-blockquote-bg-color: transparent; // @presenter Color
  --md-blockquote-border-left: 4px solid var(--md-blockquote-border-color); // @presenter Border
  --md-blockquote-text-color: var(--text-color-secondary); // @presenter Color
  --md-blockquote-box-shadow: none; // @presenter Shadow

  /**
  * @tokens Markdown Paragraph
  */

  --md-paragraph-margin: 0 0 var(--spacing-xs) 0;
  /**
  * @tokens Markdown Table
  */

  --md-table-font-size: var(--md-content-font-size); // @presenter FontSize
  --md-table-line-height: var(--line-height-md); // @presenter FontSize
  --md-table-margin-vertical: 20px; // @presenter Spacing
  --md-table-bg-color: transparent; // @presenter Color
  --md-table-border-radius: var(--border-radius-xl);

  --md-table-border-width: 1px;
  --md-table-header-bg-color: var(--layer-color);
  --md-table-border-color: var(--border-color-secondary); // @presenter Color

  --md-table-stripe-bg-color: var(--md-table-bg-color); // @presenter Color

  --md-table-cell-text-color: var(--text-color-secondary); // @presenter Color
  --md-table-cell-padding: var(--spacing-xs) var(--spacing-sm); // @presenter Spacing
  --md-table-footer-cell-padding: var(--spacing-xxs) var(--spacing-sm); // @presenter Spacing
  --md-table-cell-vertical-align: top;

  --md-table-head-bg-color: var(--md-table-bg-color); // @presenter Color
  --md-table-head-text-color: var(--text-color-primary); // @presenter Color
  --md-table-head-font-weight: var(--font-weight-medium); // @presenter FontWeight

  /**
  * @tokens Markdown Horizontal Rule
  */

  --md-hr-border-color: var(--border-color-secondary); // @presenter Color
  --md-hr-border: 0.5px solid var(--md-hr-border-color); // @presenter Border
  --md-hr-margin-vertical: 20px; // @presenter Spacing

  /**
  * @tokens Markdown List
  */

  --md-list-left-padding: 1.25rem; // @presenter Spacing
  --md-list-margin: 0 0 var(--spacing-xs) 0; // @presenter Spacing
  --md-list-item-margin: 0.25rem; // @presenter Spacing
  --md-list-item-style: inherit;

  /**
  * @tokens Markdown Checkbox List
  */

  --md-checkbox-list-item-style: none;

  /**
  * @tokens Markdown Numbered List
  */

  --md-numbered-list-number-display: none;
  --md-numbered-list-item-style: var(--md-list-item-style);
  --md-numbered-list-number-text-color: var(--md-content-text-color); // @presenter Color
  --md-numbered-list-number-font-size: var(--md-content-font-size); // @presenter FontSize
  --md-numbered-list-number-font-family: var(--md-content-font-family); // @presenter FontFamily
  --md-numbered-list-number-font-weight: var(--md-content-font-weight); // @presenter FontWeight
  --md-numbered-list-number-bg-color: var(--bg-color-active); // @presenter Color
  --md-numbered-list-number-border-radius: 10px; // @presenter BorderRadius
  --md-numbered-list-number-margin-right: 5px; // @presenter Spacing
  --md-numbered-list-number-padding: 0 5px; // @presenter Spacing


  --md-pre-margin: 0 0 var(--spacing-xs) 0; // @presenter Spacing
  // @tokens End
`})),Dd,cne=o((()=>{Dd=css`
  /**
  * @tokens Banner
  */
  --banner-height: 0px; /* default 0px so calc formulas work on page load */
  --banner-button-size: 22px;
  --banner-button-padding: 3px; // @presenter Spacing
  --banner-button-font-size: var(--font-size-base);
  --banner-button-border-radius: var(--border-radius-md);
  --banner-button-padding-inline: 1px var(--spacing-sm);
  --banner-button-line-height: var(--line-height-base); // @presenter LineHeight
  --banner-button-icon-size: 14px;
  --banner-button-icon-padding: 5px; // @presenter Spacing
  --banner-button-icon-left-padding: 1px var(--spacing-sm) 1px 10px; // @presenter Spacing
  --banner-button-icon-right-padding: 1px 10px 1px var(--spacing-sm); // @presenter Spacing
  --banner-button-margin: 0 var(--spacing-xs); // @presenter Spacing
  --banner-padding: var(--spacing-xs); // @presenter Spacing
  --banner-min-height: 38px;
  --banner-gap: var(--spacing-xxs); // @presenter Spacing

  --banner-info-bg-color: var(--color-info-base); // @presenter Color
  --banner-info-text-color: var(--color-static-white); // @presenter Color
  --banner-info-icon-color: var(--color-static-white); // @presenter Color
  --banner-info-link-color: var(--banner-info-text-color); // @presenter Color
  --banner-info-link-decoration: underline 1px var(--banner-info-link-color);
  --banner-info-link-decoration-hover: underline 2px var(--banner-info-link-color);

  --banner-success-bg-color: var(--color-success-base); // @presenter Color
  --banner-success-text-color: var(--color-static-white); // @presenter Color
  --banner-success-icon-color: var(--color-static-white); // @presenter Color
  --banner-success-link-color: var(--banner-success-text-color); // @presenter Color
  --banner-success-link-decoration: underline 1px var(--banner-success-link-color);
  --banner-success-link-decoration-hover: underline 2px var(--banner-success-link-color);

  --banner-warning-bg-color: var(--color-warning-base); // @presenter Color
  --banner-warning-text-color: var(--color-black); // @presenter Color
  --banner-warning-icon-color: var(--color-black); // @presenter Color
  --banner-warning-link-color: var(--banner-warning-text-color); // @presenter Color
  --banner-warning-link-decoration: underline 1px var(--banner-warning-link-color);
  --banner-warning-link-decoration-hover: underline 2px var(--banner-warning-link-color);

  --banner-error-bg-color: var(--color-error-base); // @presenter Color
  --banner-error-text-color: var(--color-static-white); // @presenter Color
  --banner-error-icon-color: var(--color-static-white); // @presenter Color
  --banner-error-link-color: var(--banner-error-text-color); // @presenter Color
  --banner-error-link-decoration: underline 1px var(--banner-error-link-color);
  --banner-error-link-decoration-hover: underline 2px var(--banner-error-link-color);

  // @tokens End
`})),Od,lne=o((()=>{Od=css`
  /**
  * @tokens Consent
  */
  --consent-banner-width: 380px;
  --consent-banner-offset: var(--spacing-base); // @presenter Spacing
  --consent-banner-bg-color: var(--bg-color); // @presenter Color
  --consent-banner-text-color: var(--text-color-primary); // @presenter Color
  --consent-banner-border-color: var(--border-color-primary); // @presenter Color
  --consent-banner-border-radius: var(--border-radius-lg);
  --consent-banner-box-shadow: var(--bg-raised-shadow);
  --consent-banner-padding: var(--spacing-base); // @presenter Spacing
  --consent-banner-gap: var(--spacing-sm); // @presenter Spacing
  --consent-banner-title-font-size: var(--font-size-base);
  --consent-banner-font-size: var(--font-size-sm);
  --consent-banner-z-index: var(--z-index-overlay);

  --consent-dialog-width: 560px;
  --consent-dialog-max-width: calc(100vw - 2 * var(--spacing-base));
  --consent-dialog-padding: var(--spacing-lg); // @presenter Spacing
  --consent-dialog-border-radius: var(--border-radius-lg);
  --consent-dialog-bg-color: var(--modal-bg-color); // @presenter Color
  --consent-dialog-box-shadow: var(--modal-box-shadow);
  --consent-dialog-row-border-color: var(--border-color-primary); // @presenter Color
  --consent-dialog-description-color: var(--text-color-secondary); // @presenter Color
`})),kd,une=o((()=>{kd=css`
  /**
  *  @tokens Markdown Accordion
  */

  --md-accordion-group-margin: var(--spacing-base) 0; // @presenter Spacing
  --md-accordion-group-border: 1px solid var(--border-color-secondary); // @presenter Border
  --md-accordion-group-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --md-accordion-group-divider: 1px solid var(--border-color-secondary); // @presenter Border

  --md-accordion-margin: var(--spacing-base) 0; // @presenter Spacing
  --md-accordion-border: 1px solid var(--border-color-secondary); // @presenter Border
  --md-accordion-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --md-accordion-gap: var(--spacing-xs); // @presenter Spacing
  --md-accordion-font-family: var(--font-family-base); // @presenter FontFamily

  --md-accordion-chevron-icon-color: var(--text-color-primary); // @presenter Color
  --md-accordion-chevron-icon-size: 16px;

  --md-accordion-header-bg-color: var(--layer-color); // @presenter Color
  --md-accordion-header-bg-color-hover: var(--layer-color-hover); // @presenter Color
  --md-accordion-header-text-color: var(--text-color-primary); // @presenter Color
  --md-accordion-header-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --md-accordion-header-line-height: var(--line-height-lg); // @presenter LineHeight
  --md-accordion-header-font-size: var(--font-size-lg); // @presenter FontSize
  --md-accordion-header-padding: var(--spacing-sm) var(--spacing-md); // @presenter Spacing

  --md-accordion-body-bg-color: var(--bg-color); // @presenter Color
  --md-accordion-body-text-color: var(--text-color-primary); // @presenter Color
  --md-accordion-body-font-size: var(--font-size-base); // @presenter FontSize
  --md-accordion-body-line-height: var(--line-height-base); // @presenter LineHeight
  --md-accordion-body-padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md); // @presenter Spacing

  // @tokens End
`})),Ad,dne=o((()=>{Ad=css`
  /**
  *  @tokens Markdown Tabs
  */

  --md-tabs-container-text-color: inherit; // @presenter Color
  --md-tabs-container-font-size: var(--md-content-font-size); // @presenter FontSize
  --md-tabs-container-font-family: var(--md-content-font-family); // @presenter FontFamily
  --md-tabs-container-font-style: normal; // @presenter FontStyle
  --md-tabs-container-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --md-tabs-container-bg-color: inherit; // @presenter Color
  --md-tabs-container-margin: 10px 0; // @presenter Spacing
  --md-tabs-container-padding: 0; // @presenter Spacing
  --md-tabs-container-border: none; // @presenter Border

  --md-tabs-border: solid var(--border-color-secondary); // @presenter Color
  --md-tabs-border-width: 0 0 1px 0; // @presenter Spacing
  --md-tabs-padding: 0; // @presenter Spacing

  --md-tabs-content-text-color: inherit; // @presenter Color
  --md-tabs-content-font-size: var(--md-content-font-size); // @presenter FontSize
  --md-tabs-content-font-family: var(--md-content-font-family); // @presenter FontFamily
  --md-tabs-content-font-style: normal; // @presenter FontStyle
  --md-tabs-content-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --md-tabs-content-bg-color: inherit; // @presenter Color
  --md-tabs-content-margin: 0; // @presenter Spacing
  --md-tabs-content-padding: var(--spacing-base) 0; // @presenter Spacing
  --md-tabs-content-border: none; // @presenter Border

  --md-tabs-gap: var(--spacing-xs); // @presenter Spacing

  --md-tabs-tab-text-color: var(--text-color-primary); // @presenter Color
  --md-tabs-tab-font-family: var(--md-content-font-family); // @presenter FontFamily
  --md-tabs-tab-font-style: normal; // @presenter FontStyle
  --md-tabs-tab-bg-color: none; // @presenter Color
  --md-tabs-tab-margin: 0 0 -1px 0; // @presenter Spacing
  --md-tabs-tab-wrapper-padding: var(--spacing-unit) 0; // @presenter Spacing

  --md-tabs-medium-tab-padding: var(--spacing-unit) var(--spacing-sm); // @presenter Spacing
  --md-tabs-medium-tab-border-width: 0 0 1px 0; // @presenter Spacing
  --md-tabs-medium-tab-border-radius: 0; // @presenter BorderRadius
  --md-tabs-medium-tab-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --md-tabs-medium-tab-line-height: var(--line-height-lg); // @presenter LineHeight
  --md-tabs-medium-tab-font-size: var(--font-size-lg); // @presenter FontSize

  --md-tabs-small-tab-border-width: var(--md-tabs-medium-tab-border-width); // @presenter Spacing
  --md-tabs-small-tab-padding: 1px var(--spacing-xs); // @presenter Spacing
  --md-tabs-small-tab-font-size: var(--font-size-base); // @presenter FontSize
  --md-tabs-small-tab-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --md-tabs-small-tab-line-height: var(--line-height-base); // @presenter LineHeight
  --md-tabs-small-tab-border-radius: var(--border-radius-md); // @presenter BorderRadius

  --md-tabs-active-tab-text-color: var(--color-primary-text, var(--md-tabs-active-tab-text-color-legacy)); // @presenter Color
  --md-tabs-active-tab-font-family: var(--md-tabs-tab-font-family); // @presenter FontFamily
  --md-tabs-active-tab-font-style: normal; // @presenter FontStyle
  --md-tabs-active-tab-bg-color: var(--color-primary-bg, var(--md-tabs-active-tab-bg-color-legacy)); // @presenter Color
  --md-tabs-active-tab-border-color: var(--color-primary-active, var(--md-tabs-active-tab-border-color-legacy)); // @presenter Color

  --md-tabs-medium-active-tab-font-size: var(--md-tabs-medium-tab-font-size); // @presenter FontSize
  --md-tabs-medium-active-tab-font-weight: var(--md-tabs-medium-tab-font-weight); // @presenter FontWeight
  --md-tabs-medium-active-tab-line-height: var(--md-tabs-medium-tab-line-height); // @presenter LineHeight
  --md-tabs-medium-active-tab-padding: var(--md-tabs-medium-tab-padding); // @presenter Spacing
  --md-tabs-medium-active-tab-border-width: var(--md-tabs-medium-tab-border-width); // @presenter Spacing
  --md-tabs-medium-active-tab-border-radius: var(--border-radius-lg); // @presenter BorderRadius

  --md-tabs-small-active-tab-font-size: var(--md-tabs-small-tab-font-size); // @presenter FontSize
  --md-tabs-small-active-tab-font-weight: var(--md-tabs-small-tab-font-weight); // @presenter FontWeight
  --md-tabs-small-active-tab-line-height: var(--md-tabs-small-tab-line-height); // @presenter LineHeight
  --md-tabs-small-active-tab-padding: var(--md-tabs-small-tab-padding); // @presenter Spacing
  --md-tabs-small-active-tab-border-width: var(--md-tabs-medium-tab-border-width); // @presenter Spacing
  --md-tabs-small-active-tab-border-radius: var(--border-radius-md); // @presenter BorderRadius

  --md-tabs-hover-tab-text-color: var(--md-tabs-tab-text-color); // @presenter Color
  --md-tabs-hover-tab-font-family: var(--md-tabs-tab-font-family); // @presenter FontFamily
  --md-tabs-hover-tab-font-style: normal; // @presenter FontStyle
  --md-tabs-hover-tab-bg-color: var(--color-hover-base); // @presenter Color
  --md-tabs-hover-tab-border-color: transparent; // @presenter Color

  --md-tabs-medium-hover-tab-font-size: var(--md-tabs-medium-tab-font-size); // @presenter FontSize
  --md-tabs-medium-hover-tab-font-weight: var(--md-tabs-medium-tab-font-weight); // @presenter FontWeight
  --md-tabs-medium-hover-tab-line-height: var(--md-tabs-medium-tab-line-height); // @presenter LineHeight
  --md-tabs-medium-hover-tab-padding: var(--md-tabs-medium-tab-padding); // @presenter Spacing
  --md-tabs-medium-hover-tab-border-width: var(--md-tabs-medium-tab-border-width); // @presenter Spacing
  --md-tabs-medium-hover-tab-border-radius: var(--md-tabs-medium-active-tab-border-radius); // @presenter BorderRadius

  --md-tabs-small-hover-tab-font-size: var(--md-tabs-small-tab-font-size); // @presenter FontSize
  --md-tabs-small-hover-tab-font-weight: var(--md-tabs-small-tab-font-weight); // @presenter FontWeight
  --md-tabs-small-hover-tab-line-height: var(--md-tabs-small-tab-line-height); // @presenter LineHeight
  --md-tabs-small-hover-tab-padding: var(--md-tabs-small-tab-padding); // @presenter Spacing
  --md-tabs-small-hover-tab-border-width: var(--md-tabs-medium-tab-border-width); // @presenter Spacing
  --md-tabs-small-hover-tab-border-radius: var(--border-radius-md); // @presenter BorderRadius

  --md-tabs-tab-text-disabled-color: var(--text-color-disabled); // @presenter Color

  --md-tabs-tab-focused-padding: var(--spacing-unit); // @presenter Spacing

  --md-tabs-icon-size: 16px; // @presenter Spacing

  // @tokens End
  `})),jd,fne=o((()=>{jd=css`
  /**
  *  @tokens Markdown Numbered List
  */

  --md-numbered-list-margin: var(--spacing-sm) 0; // @presenter Spacing
  --md-numbered-list-gap: var(--spacing-base); // @presenter Spacing

  --md-numbered-list-marker-bg-color: var(--color-warm-grey-2); // @presenter Color
  --md-numbered-list-marker-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
  --md-numbered-list-marker-icon-bg-color: transparent; // @presenter Color
  --md-numbered-list-marker-text-color: var(--text-color-primary); // @presenter Color
  --md-numbered-list-marker-font-size: var(--font-size-base); // @presenter FontSize

  --md-numbered-list-marker-medium-size: 28px; // @presenter Spacing
  --md-numbered-list-icon-medium-size: 16px; // @presenter Spacing
  --md-numbered-list-tail-width: 1px; // @presenter Spacing
  --md-numbered-list-marker-small-size: 24px; // @presenter Spacing
  --md-numbered-list-icon-small-size: 12px; // @presenter Spacing
  --md-numbered-list-dot-size: 10px; // @presenter Spacing
  --md-numbered-list-dot-rail-padding-top: 7px; // @presenter Spacing
  --md-numbered-list-dot-link-gap: 6px; // @presenter Spacing

  --md-numbered-list-tail-bg-color: var(--md-numbered-list-marker-bg-color); // @presenter Color
  --md-numbered-list-tail-fade-gradient: linear-gradient(to bottom, var(--md-numbered-list-tail-bg-color), transparent); // @presenter Color

  --md-numbered-list-headline-text-color: var(--text-color-primary); // @presenter Color
  --md-numbered-list-headline-font-size: var(--font-size-base); // @presenter FontSize
  --md-numbered-list-headline-font-weight: var(--font-weight-medium); // @presenter FontWeight
  --md-numbered-list-headline-line-height: var(--line-height-base); // @presenter LineHeight

  --md-numbered-list-body-text-color: var(--text-color-secondary); // @presenter Color
  --md-numbered-list-body-gap: var(--spacing-xs); // @presenter Spacing
  --md-numbered-list-body-font-size: var(--font-size-base); // @presenter FontSize

  // @tokens End
`})),Md,pne=o((()=>{Md=css`
  /**
  * @tokens Diagram
  */

  --diagram-bg-color: var(--bg-color-raised); // @presenter Color
  --diagram-border-radius: var(--border-radius-lg); // @presenter BorderRadius

  // @tokens End
`})),Nd,mne=o((()=>{Nd=css`
  --last-updated-text-color: var(--text-color-secondary);
  --last-updated-font-size: var(--font-size-sm);
  --last-updated-font-family: var(--font-family-base);
  --last-updated-line-height: var(--line-height-base);
`})),Pd,hne=o((()=>{Pd=css`
  /**
    * @tokens Logo
    */

  --logo-height: 2rem; // @presenter Spacing
  --logo-width: auto;
  --logo-margin: 16px; // @presenter Spacing
  --logo-max-width: 285px; // @presenter Spacing
  --logo-max-height: 285px; // @presenter Spacing
  // @tokens End
`})),Fd,gne=o((()=>{Fd=css`
  --status-code-500-bg-color: var(--color-error-base);
  --status-code-400-bg-color: var(--color-error-base);
  --status-code-300-bg-color: var(--color-warning-base);
  --status-code-200-bg-color: var(--color-success-base);
  --status-code-100-bg-color: var(--color-info-base);

  --status-code-border: 1px solid var(--bg-color);
  --status-code-width: 6px;
  --status-code-height: 6px;
`})),Id,_ne=o((()=>{Id=css`
  /**
    * @tokens Segmented
    * */
  --segmented-font-size: var(--font-size-base); // @presenter FontSize
  --segmented-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --segmented-text-color: var(--text-color-secondary); // @presenter Color
  --segmented-line-height: var(--line-height-base); // @presenter LineHeight

  --segmented-font-size-active: var(--font-size-base); // @presenter FontSize
  --segmented-font-weight-active: var(--font-weight-medium); // @presenter FontWeight
  --segmented-text-color-active: var(--text-color-primary); // @presenter Color

  --segmented-buttons-content-color: var(--color-warm-grey-8); // @presenter Color
  --segmented-buttons-content-color-hover: var(--color-warm-grey-11); // @presenter Color
  --segmented-buttons-content-color-active: var(--color-blue-11); // @presenter Color
  --segmented-buttons-bg-color-inner: var(--color-white); // @presenter Color
  --segmented-buttons-bg-color-main: var(--color-warm-grey-2); // @presenter Color

  // @tokens End
`})),Ld,vne=o((()=>{Ld=css`
  /**
    * @tokens User Menu
    */

  --user-menu-navbar-button-width: var(--control-height-base); // @presenter Spacing
  --user-menu-navbar-button-height: var(--control-height-base); // @presenter Spacing

  --user-menu-avatar-width: var(--spacing-xxl); // @presenter Spacing
  --user-menu-avatar-height: var(--spacing-xxl); // @presenter Spacing
  --user-menu-avatar-border-radius: 50%; // @presenter BorderRadius
  --user-menu-avatar-bg-color: var(--button-bg-color-secondary);

  --user-menu-avatar-font-family: var(--navbar-item-font-family); // @presenter FontFamily
  --user-menu-avatar-font-size: var(--navbar-item-font-size); // @presenter FontSize
  --user-menu-avatar-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --user-menu-avatar-line-height: var(--line-height-base); // @presenter LineHeight

  --user-menu-user-details-padding-vertical: var(--spacing-base);
  --user-menu-user-details-padding-horizontal: var(--spacing-md);
  --user-menu-user-details-bg-color: var(--layer-color);

  --user-menu-name-font-weight: var(--font-weight-medium);
  --user-menu-name-font-size: var(--font-size-lg);
  --user-menu-name-line-height: var(--line-height-lg);

  --user-menu-user-info-items-gap: var(--spacing-base);

  --user-menu-email-font-size: var(--font-size-sm);
  --user-menu-email-line-height: var(--line-height-sm);

  --user-menu-dropdown-font-size: var(--dropdown-menu-font-size); // @presenter FontSize
  --user-menu-dropdown-font-weight: var(--dropdown-menu-font-weight); // @presenter FontWeight
  --user-menu-dropdown-line-height: var(--dropdown-menu-line-height); // @presenter LineHeight
  --user-menu-dropdown-text-color: var(--dropdown-menu-text-color); // @presenter Color

  --user-menu-dropdown-min-width: 180px;
  --user-menu-dropdown-max-width: var(--dropdown-menu-max-width);
  --user-menu-dropdown-max-height: none;
  --user-menu-dropdown-padding: var(--dropdown-menu-padding ); // @presenter Spacing
  --user-menu-dropdown-border-radius: var(--dropdown-menu-border-radius); // @presenter BorderRadius
  --user-menu-dropdown-box-shadow: var(--dropdown-menu-box-shadow); // @presenter Shadow
  --user-menu-dropdown-border-color: var(--dropdown-menu-border-color); // @presenter Color
  --user-menu-dropdown-bg-color: var(--dropdown-menu-bg-color); // @presenter Color

  --user-menu-dropdown-item-padding-horizontal: 20px; // @presenter Spacing
  --user-menu-dropdown-item-padding-vertical: var(--dropdown-menu-item-padding-vertical); // @presenter Spacing
  --user-menu-dropdown-item-separator-padding-top: var(--dropdown-menu-item-separator-padding-top ); // @presenter Spacing
  --user-menu-dropdown-item-separator-padding-bottom: var(--dropdown-menu-item-separator-padding-bottom ); // @presenter Spacing
  --user-menu-dropdown-item-border-radius: var(--dropdown-menu-item-border-radius); // @presenter BorderRadius
  --user-menu-dropdown-item-bg-color-active: var(--dropdown-menu-item-bg-color-active); // @presenter Color
  --user-menu-dropdown-item-bg-color-hover: var(--dropdown-menu-item-bg-color-hover); // @presenter Color
  --user-menu-dropdown-item-bg-color-disabled: var(--dropdown-menu-item-bg-color-disabled); // @presenter Color
  --user-menu-dropdown-item-separator-border-color: var(--dropdown-menu-item-separator-border-color); // @presenter Color
  --user-menu-dropdown-item-color-dangerous: var(--dropdown-menu-item-color-dangerous);
  --user-menu-dropdown-item-color-disabled: var(--dropdown-menu-item-color-disabled);
  --user-menu-dropdown-item-color-active: var(--dropdown-menu-item-color-active);
  --user-menu-dropdown-item-color-hover: var(--dropdown-menu-item-color-hover);
  --user-menu-dropdown-item-border-color-focused: var(--dropdown-menu-item-border-color-focused);

  // @tokens End
`})),Rd,yne=o((()=>{Rd=css`
  --http-tag-width: 45px;
  --http-tag-height: 22px;
  --http-tag-font-family: var(--font-family-monospaced); // @presenter FontFamily
  --http-tag-font-size: var(--font-size-sm); // @presenter FontSize
  --http-tag-font-weight: var(--font-weight-bold); //@presenter FontWeight
  --http-tag-line-height: var(--line-height-sm); // @presenter LineHeight
  --http-tag-margin: 0px;
  --http-tag-padding: 2px 0 0 0;
  --http-tag-border: none;
  --http-tag-bg-color: none;

  --counter-tag-padding: 0px var(--spacing-xxs);
  --counter-tag-border-radius: var(--tag-border-radius);
  --counter-tag-min-width: var(--spacing-md);
`})),zd,bne=o((()=>{zd=css`
  /**
    * @tokens Version picker
    * */

  --version-picker-font-size: var(--font-size-base); // @presenter FontSize
  --version-picker-font-weight: var(--select-font-weight); // @presenter FontWeight
  --version-picker-line-height: var(--select-line-height); // @presenter LineHeight
  --version-picker-text-color: var(--select-text-color); // @presenter Color
  --version-picker-border-radius: var(--select-border-radius); // @presenter BorderRadius
  --version-picker-padding-vertical: 10px; // @presenter Spacing
  --version-picker-padding-horizontal: var(--sidebar-margin-horizontal); // @presenter Spacing
  --version-picker-border-bottom: 1px solid var(--border-color-primary); // @presenter Border

  --version-picker-label-font-size: var(--font-size-base);
  --version-picker-label-font-weight: var(--font-weight-bold);

  --version-picker-input-padding-horizontal: var(--select-input-padding-horizontal); // @presenter Spacing
  --version-picker-input-padding-vertical: var(--select-input-padding-vertical); // @presenter Spacing
  --version-picker-input-border: 1px solid var(--border-color-primary); // @presenter Border
  --version-picker-input-border-radius: var(--select-input-border-radius); // @presenter BorderRadius

  --version-picker-list-min-width: var(--select-list-min-width);
  --version-picker-list-max-width: var(--select-list-max-width);
  --version-picker-list-padding: var(--select-list-padding); // @presenter Spacing
  --version-picker-list-border-radius: var(--select-list-border-radius); // @presenter BorderRadius
  --version-picker-list-bg-color: var(--select-list-bg-color); // @presenter Color
  --version-picker-list-box-shadow: var(--select-list-box-shadow); // @presenter Shadow

  --version-picker-list-item-padding-horizontal: var(--select-list-item-padding-horizontal); // @presenter Spacing
  --version-picker-list-item-padding-vertical: var(--select-list-item-padding-vertical); // @presenter Spacing
  --version-picker-list-item-border-radius: var(--select-list-item-border-radius); // @presenter BorderRadius
  --version-picker-list-item-bg-color-active: var(--select-list-item-bg-color-active); // @presenter Color
  --version-picker-list-item-bg-color-hover: var(--select-list-item-bg-color-hover); // @presenter Color

  --version-picker-focus-outline-color: var(--button-border-color-focused);
  // @tokens End
`})),Bd,xne=o((()=>{Bd=css`
  --date-picker-nav-color: #000000;
  --date-picker-tile-bg-color: var(--color-blue-2);
  --date-picker-tile-color: var(--text-color-primary);
  --date-picker-tile-bg-color-hover: var(--color-blue-3);
  --date-picker-tile-color-hover: var(--text-color-primary);
  --date-picker-input-width: var(--spacing-md);
  --date-picker-invalid-input-bg-color: var(--bg-color-raised);
  --date-picker-button-padding:  var(--spacing-xxs);
  --date-picker-icon-stroke: var(--text-color-secondary);
  --date-picker-icon-width: var(--spacing-sm);
  --date-picker-icon-stroke-hover: var(--text-color-primary);
  --date-picker-weekend-days-color: var(--color-error-base);
  --date-picker-week-days-color: var(--color-warm-grey-6);
  --date-picker-neighboring-month-color: var(--color-warm-grey-6);
  --date-picker-wrapper-border-color: var(--border-color-primary);
  --date-picker-wrapper-radius: var(--border-radius-md);
  --date-picker-wrapper-padding: calc(var(--spacing-xxs) / 2) var(--spacing-xs);
`})),Vd,Sne=o((()=>{Vd=css`
    --switch-bg-color: var(--color-warm-grey-4); // @presenter Color
    --switch-bg-color-selected: var(--color-primary-base, var(--switch-bg-color-selected-legacy)); // @presenter Color
    --switch-bg-color-hover: var(--color-warm-grey-5); // @presenter Color
    --switch-bg-color-pressed: var(--color-warm-grey-6); // @presenter Color
    --switch-bg-color-disabled: var(--color-warm-grey-3); // @presenter Color
    --switch-bg-color-disabled-selected: var(--color-warm-grey-3); // @presenter Color

    --switch-border-color: transparent; // @presenter Color
    --switch-border-color-hover: transparent; // @presenter Color
    --switch-border-color-pressed: transparent; // @presenter Color
    --switch-border-color-disabled: transparent; // @presenter Color
    --switch-border-color-selected: transparent; // @presenter Color
    --switch-border-radius: var(--border-radius-full); // @presenter BorderRadius
    --switch-border-width: var(--border-width); // @presenter Border

    --switch-width: 32px; // @presenter Width
    --switch-height: 18px; // @presenter Height
    --switch-padding: calc((var(--spacing-xxs) / 2) - var(--switch-border-width)); // @presenter Padding
    --switch-bg-transition: background-color 0.3s; // @presenter Transition
    
    // Knob

    --switch-knob-bg-color: var(--color-white); // @presenter Color
    --switch-knob-bg-color-selected: var(--color-white); // @presenter Color
    --switch-knob-bg-color-disabled: var(--color-warm-grey-1); // @presenter Color

    --switch-knob-border-radius: var(--border-radius-full); // @presenter BorderRadius
    --switch-knob-height: 14px; // @presenter Height
    --switch-knob-width: 14px; // @presenter Width
    --switch-knob-transition: transform 0.3s; // @presenter Transition
`})),Hd,Cne=o((()=>{Hd=css`
  --cards-gap: var(--spacing-sm);

  /**
   * @tokens Card default colors
   */
  --card-icon-bg-color: var(--layer-color);
  --card-icon-border-color: var(--border-color-secondary);
  --card-text-color: var(--text-color-secondary);
  --card-title-text-color: var(--h2-text-color);
  --card-link-icon-color: var(--color-primary-base, var(--card-link-icon-color-legacy));
  --card-icon-color: var(--color-primary-base, var(--card-icon-color-legacy));
  --card-hover-transition: box-shadow 0.3s ease;

  /**
   * @tokens Card default values
   */
  --card-border-radius: var(--border-radius-xl);
  --card-border-style: solid;
  --card-link-cursor: pointer;
  --card-link-icon-width: 14px;
  --card-link-icon-height: 14px;
  --card-border-width: 1px;
  --card-image-border-radius: var(--border-radius-xl);
  --card-image-aspect-ratio: 16 / 9;
  --card-icon-border-radius: var(--border-radius-lg);
  --card-icon-border: var(--card-border-width) var(--border-style) var(--card-icon-border-color);
  --card-icon-padding: var(--spacing-sm);
  --card-icon-size: 24px;
  --card-icon-height: var(--card-icon-size);
  --card-icon-width: var(--card-icon-size);
  --card-icon-gap: var(--spacing-base);
  --card-title-margin: 0 var(--spacing-xs) 0 0;
  --card-title-font-weight: var(--font-weight-semibold);
  --card-title-row-gap: var(--spacing-xxs);
  --card-content-gap: 4px;
  --card-padding: 16px 20px;
  --card-body-font-size: var(--font-size-base);
  --card-body-line-height: var(--line-height-base);
  --card-cta-margin-top: var(--spacing-base);
  --card-cta-gap: var(--spacing-xxs);
  --card-cta-font-size: var(--font-size-base);
  --card-cta-font-weight: var(--font-weight-regular);  
  --card-cta-text-color: var(--text-color-secondary);
  --card-cta-icon-width: 14px;
  --card-cta-icon-height: 14px;
  --card-badge-margin: 0 var(--spacing-xxs) 0 0 ;
  --card-badge-padding: 0 var(--spacing-xxs);
  --card-badge-border-radius: var(--badge-border-radius);
  --card-badge-font-size: var(--font-size-sm);
  --card-badge-font-weight: var(--font-weight-regular);
  --card-badge-line-height: var(--line-height-sm);

  /**
   * @tokens Card variants
   */
  .card-variant-filled {
    --card-bg-color: var(--color-warm-grey-1);
    --card-bg-color-hover: var(--color-primary-bg, var(--color-warm-grey-2));
    --card-border-width: 0;
    --card-icon-bg-color: var(--color-white);
    --card-icon-border-color-hover: var(--color-primary-base, var(--card-filled-icon-border-color-hover-legacy));
  }

  .card-variant-outlined {
    --card-bg-color: transparent;
    --card-border-color: var(--border-color-secondary);
    --card-border-color-hover: var(--color-primary-base, var(--card-outlined-border-color-hover-legacy));
    --card-icon-bg-color: var(--color-warm-grey-1);
    --card-icon-border-color-hover: var(--card-icon-border-color);
    --card-icon-bg-color-hover: var(--card-icon-bg-color);
  }

  .card-variant-elevated {
    --card-bg-color: transparent;
    --card-border-color: transparent;
    --card-border-color-hover: transparent;
    --card-box-shadow: 0px 8px 24px -4px #232A6114, 0px 6px 12px -6px #232A611F;
    --card-box-shadow-hover: 0px 14px 64px -4px #232A611F, 0px 8px 22px -6px #232A611F;
    --card-icon-border-color-hover: var(--card-icon-border-color);
    --card-icon-bg-color-hover: var(--card-icon-bg-color);
  }

  .card-variant-ghost {
    --card-bg-color: transparent;
    --card-bg-color-hover: var(--layer-color);
    --card-border-width: 0;
    --card-border-radius: var(--border-radius-xl);
    --card-padding: var(--spacing-xs) 0;
    --card-icon-border-color-hover: var(--card-icon-border-color);
    --card-icon-bg-color-hover: var(--card-icon-bg-color);
    --card-box-shadow-hover: 0 0 0 8px var(--layer-color);
    --card-hover-transition: initial;
  }

  /**
   * @tokens Card icon colors
   */
  .card-icon-color-red {
    --card-icon-color: var(--color-red-7);
  }

  .card-icon-color-green {
    --card-icon-color: var(--color-green-8);
  }

  .card-icon-color-blue {
    --card-icon-color: var(--color-blue-7);
  }

  .card-icon-color-grey {
    --card-icon-color: var(--text-color-secondary);
  }

  .card-icon-color-turquoise {
    --card-icon-color: var(--color-turquoise-8);
  }

  .card-icon-color-magenta {
    --card-icon-color: var(--color-magenta-7);
  }

  .card-icon-color-purple {
    --card-icon-color: var(--color-purple-7);
  }

  .card-icon-color-carrot {
    --card-icon-color: var(--color-carrot-8);
  }

  .card-icon-color-raspberry {
    --card-icon-color: var(--color-raspberry-7);
  }

  .card-icon-color-orange {
    --card-icon-color: var(--color-orange-7);
  }

  .card-icon-color-grass {
    --card-icon-color: var(--color-grass-8);
  }

  .card-icon-color-persian-green {
    --card-icon-color: var(--color-persian-green-8);
  }

  .card-icon-color-sky {
    --card-icon-color: var(--color-sky-8);
  }

  .card-icon-color-blueberry {
    --card-icon-color: var(--color-blueberry-7);
  }

  // @tokens End
`})),Ud,wne=o((()=>{Ud=css`
  /**
    * @tokens Prompt
    **/
  --prompt-bg-color: var(--bg-color); // @presenter Color
  --prompt-border-color: var(--border-color-secondary); // @presenter Color
  --prompt-border-width: var(--border-width); // @presenter Border
  --prompt-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --prompt-margin: var(--spacing-base) 0; // @presenter Spacing
  --prompt-padding-vertical: var(--spacing-sm); // @presenter Spacing
  --prompt-padding-horizontal: var(--spacing-base); // @presenter Spacing
  --prompt-gap: var(--spacing-sm); // @presenter Spacing
  --prompt-border-highlight-color-start: var(--search-ai-gradient-start-color, var(--search-ai-gradient-start-color-legacy)); // @presenter Color
  --prompt-border-highlight-color-end: var(--search-ai-gradient-end-color, var(--search-ai-gradient-end-color-legacy)); // @presenter Color
  --prompt-border-highlight-size: 120px;
  --prompt-border-highlight-transition: opacity 0.2s ease-out;

  --prompt-header-gap: var(--spacing-xs); // @presenter Spacing
  --prompt-header-actions-gap: var(--spacing-xxs); // @presenter Spacing
  --prompt-header-copy-button-padding: var(--spacing-xxs); // @presenter Spacing
  --prompt-icon-size: 18px;
  --prompt-icon-color: var(--color-primary-base, var(--color-warm-grey-11)); // @presenter Color
  --prompt-title-font-size: var(--font-size-base); // @presenter FontSize
  --prompt-title-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --prompt-title-line-height: var(--line-height-base); // @presenter LineHeight
  --prompt-title-text-color: var(--text-color-primary); // @presenter Color

  --prompt-body-bg-color: var(--color-primary-bg, var(--color-warm-grey-2)); // @presenter Color
  --prompt-body-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --prompt-body-padding-vertical: var(--spacing-xs); // @presenter Spacing
  --prompt-body-padding-horizontal: var(--spacing-sm); // @presenter Spacing
  --prompt-body-gap: var(--spacing-xxs); // @presenter Spacing
  --prompt-body-font-size: var(--font-size-base); // @presenter FontSize
  --prompt-body-line-height: var(--line-height-base); // @presenter LineHeight
  --prompt-body-text-color: var(--text-color-primary); // @presenter Color
  --prompt-body-max-lines: 5;
  --prompt-body-toggle-gap: var(--spacing-xxs); // @presenter Spacing
  // @tokens End
`})),Wd,Tne=o((()=>{Wd=css`
--code-step-vertical-line-bg-active: var(--color-blue-6);
--code-step-vertical-line-bg-hover: var(--color-hover-base);

--code-step-bg-active: var(--layer-color);
--code-step-bg-hover: var(--color-hover-base);
--code-step-bg-active-hover: var(--layer-color-hover);
--code-step-border-radius: var(--border-radius-lg);

--code-panel-bg-color: var(--layer-color);
--code-panel-line-numbering-color: var(--text-color-disabled);
--code-panel-header-height: var(--spacing-lg);
--code-panel-border-color: var(--border-color-secondary);
--code-panel-border-radius: var(--border-radius-xl);
`})),Gd,Ene=o((()=>{Gd=css`
	/**
	 * @tokens SkipContent Base
	 */

	--skip-content-text-color: var(--color-blue-7);
	--skip-content-font-size: var(--font-size-xl);
	--skip-content-font-weight: var(--font-weight-bold);
	--skip-content-background-color: var(--bg-color);
	--skip-content-border-color: var(--color-blue-7);
	--skip-content-padding: var(--spacing-xs) var(--spacing-md);
	--skip-content-border-radius: 100px;
	--skip-content-border: 1px solid var(--skip-content-border-color);
	--tooltip-padding: var(--tooltip-padding-vertical) var(--tooltip-padding-horizontal);
	--tooltip-max-width: 250px;

	// @tokens End
`})),Kd,Dne=o((()=>{Kd=css`
  /* Minimum spacing between page actions and heading text */
  --page-actions-padding-left: var(--spacing-sm);

  --page-actions-button-text-color: var(--text-color-secondary);
  --page-actions-button-padding: 5px 14px 5px var(--spacing-sm);

  --page-actions-dropdown-max-height: fit-content;

  --page-actions-menu-item-padding: 3px 0;
  --page-actions-menu-item-gap: var(--spacing-xs);
  --page-actions-menu-item-icon-color: var(--icon-color-secondary);
  --page-actions-menu-item-icon-border-color: var(--color-warm-grey-3);
  --page-actions-menu-item-icon-border-radius: var(--border-radius);
  --page-actions-menu-item-icon-wrapper-size: 28px;

  --page-actions-menu-item-text-gap: 2px;

  --page-actions-menu-item-title-font-weight: var(--font-weight-regular);
  --page-actions-menu-item-title-font-size: var(--font-size-base);
  --page-actions-menu-item-title-line-height: var(--line-height-base);
  --page-actions-menu-item-title-color: var(--text-color-secondary);

  --page-actions-menu-item-title-icon-gap: var(--spacing-xxs);
  --page-actions-menu-item-title-icon-color: var(--icon-color-secondary);

  --page-actions-menu-item-description-font-weight: var(--font-weight-regular);
  --page-actions-menu-item-description-font-size: var(--font-size-sm);
  --page-actions-menu-item-description-line-height: var(--line-height-sm);
  --page-actions-menu-item-description-color: var(--text-color-description);

  --page-actions-processing-icon-color: var(--icon-color-interactive);
  --page-actions-done-icon-color: var(--color-success-base);
`})),qd,One=o((()=>{qd=css`
  /**
   * @tokens SVG Viewer
   */

  --svg-viewer-overlay-bg-color: var(--bg-color-modal-overlay); // @presenter Color
  --svg-viewer-bg-color: var(--bg-color-raised); // @presenter Color
  --svg-viewer-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --svg-viewer-box-shadow: var(--bg-raised-shadow); // @presenter BoxShadow

  // @tokens End
`})),Jd,kne=o((()=>{Jd=css`
  /**
    * @tokens Toast
    * @presenter BoxShadow
    */

  --toast-box-shadow: 2px 2px 12px 0 rgba(0, 0, 0, 0.04), 2px 2px 24px 8px rgba(0, 0, 0, 0.04);

  /**
    * @tokens Toast surface
    */
  --toast-min-width: 240px;
  --toast-max-width: 360px;
  --toast-bg-color: var(--layer-color); // @presenter Color
  --toast-border: var(--border-width) var(--border-style) var(--border-color-secondary); // @presenter Border
  --toast-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --toast-font-family: var(--font-family-base); // @presenter FontFamily

  /**
    * @tokens Toast spacing
    */
  --toast-simple-gap: var(--spacing-unit);
  --toast-simple-padding: var(--spacing-xs) var(--spacing-sm);
  --toast-detailed-padding: var(--spacing-sm);
  --toast-content-gap: var(--spacing-xs);
  --toast-title-gap: var(--spacing-xs);
  --toast-description-gap: var(--spacing-xs);

  /**
    * @tokens Toast icon
    */
  --toast-icon-size: 14px;
  --toast-icon-line-height: var(--line-height-base); // @presenter LineHeight
  --toast-icon-color-info: var(--color-info-base); // @presenter Color
  --toast-icon-color-success: var(--color-success-base); // @presenter Color
  --toast-icon-color-warning: var(--color-warning-base); // @presenter Color
  --toast-icon-color-error: var(--color-error-base); // @presenter Color
  --toast-icon-color-loading: var(--loading-spinner-color); // @presenter Color
  --toast-loading-animation-duration: 3s;

  /**
    * @tokens Toast typography
    */
  --toast-text-font-size: var(--font-size-base); // @presenter FontSize
  --toast-text-line-height: var(--line-height-base); // @presenter LineHeight
  --toast-text-color: var(--text-color-primary); // @presenter Color
  --toast-title-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --toast-body-font-weight: var(--font-weight-regular); // @presenter FontWeight

  /**
    * @tokens Toast close button
    */
  --toast-close-button-padding: 3px;
  --toast-close-button-icon-size: 14px;
  --toast-close-button-icon-color: var(--icon-color-secondary); // @presenter Color

  // @tokens End
`})),Yd,Ane=o((()=>{Yd=css`
  /**
   * @tokens Page Navigation
   */

  --page-navigations-wrapper-gap: var(--spacing-sm); // @presenter Spacing

  --page-navigation-button-width: 50%; // @presenter Width
  --page-navigation-button-padding: var(--spacing-sm) var(--spacing-base); // @presenter Spacing
  --page-navigation-button-title-font-size: var(--font-size-lg); // @presenter FontSize
  --page-navigation-button-title-font-weight: var(--font-weight-medium); // @presenter FontWeight
  --page-navigation-button-title-line-height: var(--line-height-lg); // @presenter LineHeight
  --page-navigation-button-title-color: var(--text-color-primary); // @presenter Color
  --page-navigation-button-gap: var(--spacing-xxs); // @presenter Spacing
  --page-navigation-button-border-radius: var(--border-radius-xl); // @presenter BorderRadius
  --page-navigation-button-border-color: var(--border-color-secondary); // @presenter Color
  --page-navigation-button-border: var(--border-width) var(--border-style) var(--page-navigation-button-border-color); // @presenter Border
  --page-navigation-button-border-color-hover: var(--color-primary-base, var(--color-warm-grey-11)); // @presenter Color
  --page-navigation-button-border-hover: var(--border-width) var(--border-style) var(--page-navigation-button-border-color-hover); // @presenter Border
  --page-navigation-button-min-width: 220px; // @presenter Width
  // @tokens End
`})),Xd,jne=o((()=>{Xd=css`
  --navigation-tabs-height: 48px; // @presenter Spacing
  --navigation-tabs-bg-color: transparent; // @presenter Color
  --navigation-tabs-border-color: var(--border-color-secondary);
  --navigation-tabs-border-width: 1px;
  --navigation-tabs-bottom-border: var(--navigation-tabs-border-width) solid var(--navigation-tabs-border-color);
  --navigation-tabs-padding-vertical: 0;
  --navigation-tabs-padding-horizontal: var(--spacing-xl);
  --navigation-tabs-padding: var(--navigation-tabs-padding-vertical) var(--navigation-tabs-padding-horizontal); // @presenter Spacing
  --navigation-tabs-gap: var(--spacing-base); // @presenter Spacing

  --navigation-tabs-item-padding-vertical: var(--spacing-xxs);
  --navigation-tabs-item-padding-horizontal: 0;
  --navigation-tabs-item-padding: var(--navigation-tabs-item-padding-vertical) var(--navigation-tabs-item-padding-horizontal);
  --navigation-tabs-item-content-gap: var(--spacing-xs);
  --navigation-tabs-item-font-size: var(--font-size-base);
  --navigation-tabs-item-line-height: var(--line-height-base);
  --navigation-tabs-item-font-weight: var(--font-weight-regular);
  --navigation-tabs-item-font-weight-active: var(--font-weight-medium);
  --navigation-tabs-item-text-color: var(--navbar-text-color); // @presenter Color
  --navigation-tabs-item-text-color-hover: var(--text-color-primary); // @presenter Color
  --navigation-tabs-item-text-color-active: var(--text-color-primary); // @presenter Color
  --navigation-tabs-item-bottom-border: var(--navigation-tabs-border-width) solid transparent;
  --navigation-tabs-item-bottom-border-hover: var(--navigation-tabs-border-width) solid var(--border-color-primary);
  --navigation-tabs-item-bottom-border-active: var(--navigation-tabs-border-width) solid var(--border-color-inverse);
  --navigation-tabs-item-border-color-focused: var(--button-border-color-focused);
  --navigation-tabs-item-border-radius: var(--navbar-item-border-radius);
  --navigation-tabs-item-icon-size: 1.25em; // @presenter Spacing
  --navigation-tabs-item-external-icon-margin-left: 0;
  --navigation-tabs-item-label-font-weight-active: var(--navigation-tabs-item-font-weight-active);
  --navigation-tabs-item-transition: 150ms ease-in-out;
`}));function Mne(e){switch(e){case`slate`:return css`
        --color-brand-1: #ededf2; // @presenter Color
        --color-brand-2: #dcdde5; // @presenter Color
        --color-brand-3: #c4c6d1; // @presenter Color
        --color-brand-4: #9b9ca8; // @presenter Color
        --color-brand-5: #6e6f7a; // @presenter Color
        --color-brand-6: #1a1c21; // @presenter Color
        --color-brand-7: #22242b; // @presenter Color
        --color-brand-8: #2a2b33; // @presenter Color
        --color-brand-9: #3b3c45; // @presenter Color
        --color-brand-10: #555761; // @presenter Color
        --color-brand-11: #6e6f7a; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-10); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-7); // @presenter Color
      `;case`pink`:return css`
        --color-brand-1: #ffe8f7; // @presenter Color
        --color-brand-2: #f7bfe2; // @presenter Color
        --color-brand-3: #ef99cf; // @presenter Color
        --color-brand-4: #e677bd; // @presenter Color
        --color-brand-5: #de59ad; // @presenter Color
        --color-brand-6: #d6409f; // @presenter Color
        --color-brand-7: #bb3d8d; // @presenter Color
        --color-brand-8: #a03a7b; // @presenter Color
        --color-brand-9: #853668; // @presenter Color
        --color-brand-10: #6a3055; // @presenter Color
        --color-brand-11: #4f2841; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-7); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`coral`:return css`
        --color-brand-1: #ffe8ea; // @presenter Color
        --color-brand-2: #fac5c9; // @presenter Color
        --color-brand-3: #f5a3aa; // @presenter Color
        --color-brand-4: #ef858d; // @presenter Color
        --color-brand-5: #ea6a75; // @presenter Color
        --color-brand-6: #e5535f; // @presenter Color
        --color-brand-7: #c74b55; // @presenter Color
        --color-brand-8: #a9434c; // @presenter Color
        --color-brand-9: #8b3c42; // @presenter Color
        --color-brand-10: #6d3338; // @presenter Color
        --color-brand-11: #4f282b; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`amber`:return css`
        --color-brand-1: #fff4e8; // @presenter Color
        --color-brand-2: #feddba; // @presenter Color
        --color-brand-3: #fdc78c; // @presenter Color
        --color-brand-4: #fcb261; // @presenter Color
        --color-brand-5: #fb9f3a; // @presenter Color
        --color-brand-6: #fa8d15; // @presenter Color
        --color-brand-7: #d88121; // @presenter Color
        --color-brand-8: #b6732a; // @presenter Color
        --color-brand-9: #93632f; // @presenter Color
        --color-brand-10: #71512e; // @presenter Color
        --color-brand-11: #4f3c28; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-7); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`jade`:return css`
        --color-brand-1: #e8fff9; // @presenter Color
        --color-brand-2: #b5edde; // @presenter Color
        --color-brand-3: #88dac4; // @presenter Color
        --color-brand-4: #61c8ad; // @presenter Color
        --color-brand-5: #42b597; // @presenter Color
        --color-brand-6: #29a383; // @presenter Color
        --color-brand-7: #2a9277; // @presenter Color
        --color-brand-8: #2b816b; // @presenter Color
        --color-brand-9: #2b715e; // @presenter Color
        --color-brand-10: #2a6052; // @presenter Color
        --color-brand-11: #284f45; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-5); // @presenter Color
      `;case`cyan`:return css`
        --color-brand-1: #e8fbff; // @presenter Color
        --color-brand-2: #aee7f4; // @presenter Color
        --color-brand-3: #79d4e9; // @presenter Color
        --color-brand-4: #4ac2dd; // @presenter Color
        --color-brand-5: #22b2d2; // @presenter Color
        --color-brand-6: #00a2c7; // @presenter Color
        --color-brand-7: #0f91af; // @presenter Color
        --color-brand-8: #1b8097; // @presenter Color
        --color-brand-9: #246e7f; // @presenter Color
        --color-brand-10: #285c67; // @presenter Color
        --color-brand-11: #28484f; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`ocean`:return css`
        --color-brand-1: #e8f5ff; // @presenter Color
        --color-brand-2: #b6dfff; // @presenter Color
        --color-brand-3: #85caff; // @presenter Color
        --color-brand-4: #56b5ff; // @presenter Color
        --color-brand-5: #29a2ff; // @presenter Color
        --color-brand-6: #0090ff; // @presenter Color
        --color-brand-7: #1384dc; // @presenter Color
        --color-brand-8: #2277b9; // @presenter Color
        --color-brand-9: #2a6795; // @presenter Color
        --color-brand-10: #2d5472; // @presenter Color
        --color-brand-11: #283e4f; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`indigo`:return css`
        --color-brand-1: #e8edff; // @presenter Color
        --color-brand-2: #b5d7ff; // @presenter Color
        --color-brand-3: #99aef1; // @presenter Color
        --color-brand-4: #7691eb; // @presenter Color
        --color-brand-5: #5879e4; // @presenter Color
        --color-brand-6: #3e63dd; // @presenter Color
        --color-brand-7: #3c5bc1; // @presenter Color
        --color-brand-8: #3952a4; // @presenter Color
        --color-brand-9: #364988; // @presenter Color
        --color-brand-10: #303e6b; // @presenter Color
        --color-brand-11: #28314f; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;case`iris`:return css`
        --color-brand-1: #ebebff; // @presenter Color
        --color-brand-2: #c8c8f7; // @presenter Color
        --color-brand-3: #a7a7ef; // @presenter Color
        --color-brand-4: #8a8ae6; // @presenter Color
        --color-brand-5: #7070de; // @presenter Color
        --color-brand-6: #5b5bd6; // @presenter Color
        --color-brand-7: #5353bb; // @presenter Color
        --color-brand-8: #4c4ca0; // @presenter Color
        --color-brand-9: #434385; // @presenter Color
        --color-brand-10: #3a3a6a; // @presenter Color
        --color-brand-11: #2e2e4f; // @presenter Color
        --text-color-on-color: #ffffff; // @presenter Color

        --link-color-primary-palette: var(--text-color-primary); // @presenter Color

        --search-ai-gradient-start-color: var(--color-brand-8); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-4); // @presenter Color
      `;default:return css`
        --button-bg-color-primary-legacy: var(--color-blue-6); // @presenter Color
        --button-bg-color-primary-hover-legacy: var(--color-blue-7); // @presenter Color
        --button-bg-color-primary-pressed-legacy: var(--color-blue-8); // @presenter Color

        --toc-item-text-color-active-legacy: var(--text-color-primary); // @presenter Color
        --toc-item-border-color-active-legacy: var(--border-color-invers); // @presenter Color

        --checkbox-border-color-legacy: var(--border-color-primary); // @presenter Color
        --checkbox-box-color-active-legacy: var(--color-warm-grey-10); // @presenter Color

        --switch-bg-color-selected-legacy: var(--color-warm-grey-9); // @presenter Color

        --md-tabs-active-tab-bg-color-legacy: var(--bg-color-active); // @presenter Color
        --md-tabs-active-tab-text-color-legacy: var(--text-color-primary); // @presenter Color
        --md-tabs-active-tab-border-color-legacy: var(--text-color-primary); // @presenter Color

        --admonition-default-bg-color-legacy: var(--color-warm-grey-2); // @presenter Color
        --admonition-default-icon-color-legacy: var(--color-warm-grey-11); // @presenter Color
        --admonition-default-border-color-legacy: var(--color-warm-grey-4); // @presenter Color

        --menu-item-bg-color-active-legacy: var(--tree-bg-color-active); // @presenter Color
        --menu-item-color-active-legacy: var(--tree-content-color-default); // @presenter Color
        --menu-item-color-active-hover-legacy: var(--tree-content-color-hover); // @presenter Color
        --menu-item-bg-color-active-hover-legacy: var(--color-hover-base); // @presenter Color

        --code-block-highlighted-bg-color-legacy: var(--layer-color-hover); // @presenter Color
        --code-block-tokens-string-color-legacy: var(--color-blue-7); // @presenter Color

        --security-header-color-legacy: var(--link-color-primary); // @presenter Color

        --schema-name-color-legacy: var(--text-color-primary); // @presenter Color

        --search-ai-conversation-input-border-color-focus-legacy: var(--color-blue-6); // @presenter Color
        --search-ai-user-bg-color-legacy: var(--color-blue-6); // @presenter Color

        --button-content-color-link-legacy: var(--link-color-primary); // @presenter Color
        --button-content-color-link-hover-legacy: var(--link-color-primary-hover); // @presenter Color
        --button-content-color-link-pressed-legacy: var(--link-color-primary-pressed); // @presenter Color

        --link-color-primary-legacy: var(--color-blue-6); // @presenter Color
        --link-color-primary-hover-legacy: var(--color-blue-7); // @presenter Color
        --link-color-primary-pressed-legacy: var(--color-blue-8); // @presenter Color
        --link-color-visited-legacy: var(--color-purple-7); // @presenter Color

        --search-ai-gradient-start-color-legacy: #715efe; // @presenter Color
        --search-ai-gradient-end-color-legacy: #ff5cdc; // @presenter Color

        --card-filled-icon-border-color-hover-legacy: var(--color-blue-6); // @presenter Color
        --card-icon-color-legacy: var(--color-blue-6); // @presenter Color
        --card-outlined-border-color-hover-legacy: var(--color-blue-6); // @presenter Color
        --card-link-icon-color-legacy: var(--color-blue-6); // @presenter Color
      `}}var Zd,Nne=o((()=>{Zd=css`
  ${({palette:e})=>Mne(e)}

  // @tokens End
`})),Qd,Pne=o((()=>{Qd=css`
  --scorecard-level-color-5-2: var(--color-persian-green-7);
  --scorecard-level-color-5-3: var(--color-persian-green-6);
  --scorecard-level-color-5-4: var(--color-persian-green-5);
  --scorecard-level-color-5-5: var(--color-persian-green-4);

  --scorecard-level-color-4-2: var(--color-persian-green-7);
  --scorecard-level-color-4-3: var(--color-persian-green-6);
  --scorecard-level-color-4-4: var(--color-persian-green-5);

  --scorecard-level-color-3-2: var(--color-persian-green-6);
  --scorecard-level-color-3-3: var(--color-persian-green-5);

  --scorecard-level-color-2-2: var(--color-persian-green-6);
`})),$d,Fne=o((()=>{$d=css`
  --menu-content-color: var(--text-color-secondary); // @presenter Color
  --menu-content-title-color: var(--text-color-secondary); // @presenter Color
  --menu-content-color-active: var(--text-color-primary); // @presenter Color
  --menu-content-color-disabled: var(--text-color-disabled); // @presenter Color

  --menu-item-bg-color-active: var(--color-primary-bg, var(--menu-item-bg-color-active-legacy)); // @presenter Color

  --menu-item-border-color-hover: color-mix(in srgb, var(--color-black) 8%, transparent); // @presenter Color
`})),ef,Ine=o((()=>{ef=css`
  --button-content-color: var(--color-warm-grey-9);
  --button-content-color-inverse: var(--color-warm-grey-11);
  --button-content-color-disabled: var(--color-warm-grey-4);
  --button-content-color-primary-hover: var(--color-blue-5);
  --button-content-color-primary-pressed: var(--color-blue-5);
  --button-content-color-danger-pressed: var(--color-raspberry-4);
  --button-content-color-ghost: var(--color-warm-grey-7);

  --button-border-color: var(--color-warm-grey-4);
  --button-border-color-disabled: var(--color-warm-grey-3);
  --button-border-color-focused: var(--color-blue-8);

  --button-bg-color-secondary: var(--color-warm-grey-4);
  --button-bg-color-secondary-hover: var(--color-warm-grey-5);
  --button-bg-color-secondary-pressed: var(--color-warm-grey-6);
  --button-bg-color-secondary-danger-pressed: var(--color-raspberry-9);
  --button-bg-color-primary-hover: var(--color-primary-hover, var(--button-bg-color-primary-hover-legacy));
  --button-bg-color-primary-pressed: var(--color-primary-active, var(--button-bg-color-primary-pressed-legacy));
  --button-bg-color-primary-danger-hover: var(--color-raspberry-5);
  --button-bg-color-primary-danger-pressed: var(--color-raspberry-4);
  --button-bg-color-disabled: var(--color-warm-grey-3);

  --button-bg-color-custom: var(--color-warm-grey-2);
`})),tf,Lne=o((()=>{tf=css`

 /* Background color */
 --ai-assistant-button-bg-color: var(--color-warm-grey-4);
`})),nf,Rne=o((()=>{nf=css`
  --segmented-buttons-bg-color-inner: var(--color-warm-grey-3); // @presenter Color
  --segmented-buttons-bg-color-main: var(--color-warm-grey-4); // @presenter Color
`})),rf,zne=o((()=>{rf=css`
  --checkbox-box-color-disabled: var(--color-warm-grey-3);
  --checkbox-border-color-disabled: var(--border-color-primary);
  --checkbox-content-color-inverse: transparent;
  --checkbox-border-color: var(--color-brand-subtle-border, var(--checkbox-border-color-legacy));
`})),af,Bne=o((()=>{af=css`
  --tag-close-button-bg-color-focus: var(--color-warm-grey-6); // @presenter Color

  --tag-border-color-focused: var(--color-blue-8); // @presenter Color
  --tag-badge-border-color: var(--border-color-secondary);

  .tag-grey,
  .tag-draft,
  .tag-schema,
  .tag-default {
    --tag-color: var(--color-warm-grey-8); // @presenter Color
    --tag-bg-color: var(--color-warm-grey-4); // @presenter Color
    --tag-bg-color-hover: var(--color-warm-grey-5); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-warm-grey-5); // @presenter Color
  }

  .tag-red {
    --tag-color: var(--color-red-7); // @presenter Color
    --tag-bg-color: var(--color-red-1); // @presenter Color
    --tag-border-color: var(--color-red-8); // @presenter Color
    --tag-border-color-hover: var(--color-red-6); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-red-2); // @presenter Color
  }

  .tag-green {
    --tag-color: var(--color-green-7); // @presenter Color
    --tag-bg-color: var(--color-green-1); // @presenter Color
    --tag-border-color: var(--color-green-3); // @presenter Color
    --tag-border-color-hover: var(--color-green-5); // @presenter Color
    --tag-bg-color-hover: var(--color-green-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-green-2); // @presenter Color
  }

  .tag-blue {
    --tag-color: var(--color-blue-7); // @presenter Color
    --tag-bg-color: var(--color-blue-1); // @presenter Color
    --tag-border-color-hover: var(--color-blue-5); // @presenter Color
    --tag-bg-color-hover: var(--color-blue-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-blue-2); // @presenter Color
  }

  .tag-magenta,
  .tag-hook { 
    --tag-color: var(--color-magenta-4); // @presenter Color
    --tag-bg-color: var(--color-magenta-1); // @presenter Color
    --tag-bg-color-hover: var(--color-magenta-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-magenta-2); // @presenter Color
  }

  .tag-purple {
    --tag-color: var(--color-purple-7); // @presenter Color
    --tag-bg-color: var(--color-purple-1); // @presenter Color
    --tag-bg-color-hover: var(--color-purple-2); // @presenter Color
    --tag-border-color-hover: var(--color-purple-5); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-purple-2); // @presenter Color
  }

  .tag-carrot {
    --tag-color: var(--color-carrot-6); // @presenter Color
    --tag-bg-color: var(--color-carrot-1); // @presenter Color
    --tag-bg-color-hover: var(--color-carrot-2); // @presenter Color
    --tag-border-color: var(--color-carrot-4); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-carrot-2); // @presenter Color
  }

  .tag-raspberry {
    --tag-color: var(--color-raspberry-7); // @presenter Color
    --tag-bg-color: var(--color-raspberry-1); // @presenter Color
    --tag-bg-color-hover: var(--color-raspberry-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-raspberry-2); // @presenter Color
  }

  .tag-orange {
    --tag-color: var(--color-orange-7); // @presenter Color
    --tag-bg-color: var(--color-orange-1); // @presenter Color
    --tag-bg-color-hover: var(--color-orange-2); // @presenter Color
    --tag-border-color: var(--color-orange-3); // @presenter Color
    --tag-border-color-hover: var(--color-orange-5); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-orange-2); // @presenter Color
  }

  .tag-grass {
    --tag-bg-color: var(--color-grass-1); // @presenter Color
    --tag-bg-color-hover: var(--color-grass-2); // @presenter Color
    --tag-color: var(--color-grass-7); // @presenter Color
    --tag-border-color: var(--color-grass-3); // @presenter Color
    --tag-border-color-hover: var(--color-grass-5); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-grass-2); // @presenter Color
  }

  .tag-persian-green {
    --tag-color: var(--color-persian-green-7); // @presenter Color
    --tag-bg-color: var(--color-persian-green-1); // @presenter Color
    --tag-bg-color-hover: var(--color-persian-green-2); // @presenter Color
    --tag-border-color: var(--color-persian-green-3); // @presenter Color
    --tag-border-color-hover: var(--color-persian-green-5); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-persian-green-2); // @presenter Color
  }

  .tag-turquoise,
  .tag-option {
    --tag-color: var(--color-turquoise-6); // @presenter Color
    --tag-bg-color: var(--color-turquoise-1); // @presenter Color
    --tag-bg-color-hover: var(--color-turquoise-2); // @presenter Color
    --tag-border-color: var(--color-turquoise-4); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-turquoise-2); // @presenter Color
  }

  .tag-sky {
    --tag-color: var(--color-sky-6); // @presenter Color
    --tag-bg-color: var(--color-sky-1); // @presenter Color
    --tag-border-color: var(--color-sky-4); // @presenter Color
    --tag-bg-color-hover: var(--color-sky-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-sky-2); // @presenter Color
  }

  .tag-blueberry {
    --tag-color: var(--color-blueberry-7); // @presenter Color
    --tag-bg-color: var(--color-blueberry-1); // @presenter Color
    --tag-border-color-hover: var(--color-blueberry-5); // @presenter Color
    --tag-bg-color-hover: var(--color-blueberry-2); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-blueberry-2); // @presenter Color
  }

  .tag-warning,
  .tag-deprecated {
    --tag-color: var(--color-warning-active); // @presenter Color
    --tag-bg-color: var(--color-warning-bg); // @presenter Color
    --tag-bg-color-hover: var(--color-warning-bg-hover); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-warning-hover); // @presenter Color
  }

  .tag-processing,
  .tag-info {
    --tag-color: var(--color-info-active); // @presenter Color
    --tag-bg-color: var(--color-info-bg); // @presenter Color
    --tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
  }

  .tag-error,
  .tag-declined {
    --tag-color: var(--color-error-active); // @presenter Color
    --tag-bg-color: var(--color-error-bg); // @presenter Color
    --tag-bg-color-hover: var(--color-error-bg-hover); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-error-hover); // @presenter Color
  }

  .tag-success,
  .tag-approved  {
    --tag-color: var(--color-success-active); // @presenter Color
    --tag-bg-color: var(--color-success-bg); // @presenter Color
    --tag-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
  }

  .tag-link {
    --tag-color: var(--color-info-active); // @presenter Color
    --tag-bg-color: var(--color-info-bg); // @presenter Color
    --tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
    --tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
  }

  .tag-delete {
    --tag-color: #fa82a2; // @presenter Color
    --tag-bg-color: #47252E; // @presenter Color
    --tag-bg-color-hover: #653441; // @presenter Color
  }

  .tag-get {
    --tag-color: #68cc97; // @presenter Color
    --tag-bg-color: #1F3D2D; // @presenter Color
    --tag-bg-color-hover: #34654B; // @presenter Color
  }

  .tag-post {
    --tag-color: #90b0f0; // @presenter Color
    --tag-bg-color: #2B3447; // @presenter Color
    --tag-bg-color-hover: #3A465F; // @presenter Color
  }

  .tag-query {
    --tag-color: #68cc97; // @presenter Color
    --tag-bg-color: #1F3D2D; // @presenter Color
    --tag-bg-color-hover: #34654B; // @presenter Color
  }

  .tag-put {
    --tag-color: #e0a663; // @presenter Color
    --tag-bg-color: #3D2D1B; // @presenter Color
    --tag-bg-color-hover: #674C2D; // @presenter Color
  }

  .tag-patch {
    --tag-color: #e0c363; // @presenter Color
    --tag-bg-color: #3D351B; // @presenter Color
    --tag-bg-color-hover: #67592D; // @presenter Color
  }

  .tag-head {
    --tag-color: var(--color-purple-7); // @presenter Color
    --tag-bg-color: #312B5A; // @presenter Color
    --tag-bg-color-hover: #413875; // @presenter Color
  }

  .tag-channel {
    --tag-color: #F5AD5B; // @presenter Color
    --tag-bg-color: #4A3721; // @presenter Color
    --tag-bg-color-hover: #64492B; // @presenter Color
  }

  .tag-topic {
    --tag-color: #F5AD5B; // @presenter Color
    --tag-bg-color: #4A3721; // @presenter Color
    --tag-bg-color-hover: #64492B; // @presenter Color
  }

  .tag-send {
    --tag-color: #7779F8; // @presenter Color
    --tag-bg-color: #272754; // @presenter Color
    --tag-bg-color-hover: #373776; // @presenter Color
  }

  .tag-pub {
    --tag-color: #7779F8; // @presenter Color
    --tag-bg-color: #272754; // @presenter Color
    --tag-bg-color-hover: #373776; // @presenter Color
  }

  .tag-publish {
    --tag-color: #7779F8; // @presenter Color
    --tag-bg-color: #272754; // @presenter Color
    --tag-bg-color-hover: #373776; // @presenter Color
  }

  .tag-http-additional-operation {
    --tag-color: #FCAB69; // @presenter Color
    --tag-bg-color: #523926; // @presenter Color
    --tag-bg-color-hover: #694830; // @presenter Color
  }

  .tag-receive {
    --tag-color: #88CF82; // @presenter Color
    --tag-bg-color: #23421F; // @presenter Color
    --tag-bg-color-hover: #305A2A; // @presenter Color
  }

  .tag-sub {
    --tag-color: #88CF82; // @presenter Color
    --tag-bg-color: #23421F; // @presenter Color
    --tag-bg-color-hover: #305A2A; // @presenter Color
  }

  .tag-cons {
    --tag-color: #88CF82; // @presenter Color
    --tag-bg-color: #23421F; // @presenter Color
    --tag-bg-color-hover: #305A2A; // @presenter Color
  }

  .tag-exchange {
    --tag-color: #C79CF2; // @presenter Color
    --tag-bg-color: #472669; // @presenter Color
    --tag-bg-color-hover: #5C3187; // @presenter Color
  }
      
  // shorten alias for exchange tag:
  .tag-exch {
    --tag-color: #C79CF2; // @presenter Color
    --tag-bg-color: #472669; // @presenter Color
    --tag-bg-color-hover: #5C3187; // @presenter Color
  }

  .tag-queue {
    --tag-color: #F7A7CF; // @presenter Color
    --tag-bg-color: #622242; // @presenter Color
    --tag-bg-color-hover: #882F5C; // @presenter Color
  }

  .tag-variant-filled {
    --tag-border-color: transparent;
    --tag-border-color-hover: transparent;
  }

  .tag-variant-outline {
    --tag-bg-color: transparent;
    --tag-bg-color-hover: transparent;
  }
`})),of,Vne=o((()=>{of=css`
  --status-code-border: 1px solid var(--layer-color-accent);
`})),sf,Hne=o((()=>{sf=css`
    --switch-bg-color: transparent; // @presenter Color
    --switch-bg-color-selected: var(--color-primary-base, var(--switch-bg-color-selected-legacy)); // @presenter Color
    --switch-bg-color-hover: transparent; // @presenter Color
    --switch-bg-color-pressed: transparent; // @presenter Color
    --switch-bg-color-disabled: transparent; // @presenter Color
    --switch-bg-color-disabled-selected: var(--color-warm-grey-5); // @presenter Color
    
    --switch-border-color: var(--color-warm-grey-6); // @presenter Color
    --switch-border-color-hover: var(--color-warm-grey-7); // @presenter Color
    --switch-border-color-pressed: var(--color-warm-grey-8); // @presenter Color
    --switch-border-color-disabled: var(--color-warm-grey-5); // @presenter Color
    --switch-border-color-selected: var(--color-primary-base, var(--switch-border-color-selected-legacy)); // @presenter Color
    --switch-border-width: var(--border-width); // @presenter Border
    --switch-border-radius: var(--border-radius-full); // @presenter BorderRadius

    --switch-width: 32px; // @presenter Width
    --switch-height: 18px; // @presenter Height
    --switch-padding: calc((var(--spacing-xxs) / 2) - var(--switch-border-width)); // @presenter Padding
    --switch-bg-transition: background-color 0.3s; // @presenter Transition
    
    // Knob

    --switch-knob-bg-color: var(--color-warm-grey-8); // @presenter Color
    --switch-knob-bg-color-selected: var(--color-static-white); // @presenter Color
    --switch-knob-bg-color-disabled: var(--color-warm-grey-6); // @presenter Color

    --switch-knob-border-radius: var(--border-radius-full); // @presenter BorderRadius
    --switch-knob-height: 14px; // @presenter Height
    --switch-knob-width: 14px; // @presenter Width
    --switch-knob-transition: all 0.3s; // @presenter Transition
`})),cf,Une=o((()=>{cf=css`
  --card-icon-border-color: var(--color-warm-grey-4);
  --card-icon-bg-color: var(--color-warm-grey-3);
  
  .card-variant-filled {
    --card-bg-color: var(--color-warm-grey-3);
    --card-bg-color-hover: var(--color-brand-subtle-bg-hover, var(--card-bg-color-hover-legacy));
    --card-border-width: 0;
    --card-icon-bg-color: var(--card-bg-color);
    --card-icon-bg-color-hover: transparent;
  }

  .card-variant-outlined {
    --card-icon-bg-color: var(--color-warm-grey-3);
  }

  .card-variant-elevated {
    --card-box-shadow: 0px 8px 24px -4px #00000014, 0px 6px 12px -6px #0000001F;
    --card-box-shadow-hover: 0px 14px 64px -4px #0000001F, 0px 8px 22px -6px #0000001F;
  }

  .card-icon-color-green {
    --card-icon-color: var(--color-green-7);
  }

  .card-icon-color-grey {
    --card-icon-color: var(--color-warm-grey-8);
  }

  .card-icon-color-turquoise {
    --card-icon-color: var(--color-turquoise-6);
  }

  .card-icon-color-magenta {
    --card-icon-color: var(--color-magenta-4);
  }

  .card-icon-color-carrot {
    --card-icon-color: var(--color-carrot-6);
  }

  .card-icon-color-grass {
    --card-icon-color: var(--color-grass-7);
  }

  .card-icon-color-persian-green {
    --card-icon-color: var(--color-persian-green-7);
  }

  .card-icon-color-sky {
    --card-icon-color: var(--color-sky-6);
  }
`})),lf,Wne=o((()=>{lf=css`
  --prompt-body-bg-color: var(--color-brand-subtle-bg, var(--color-warm-grey-3)); // @presenter Color
`})),uf,Gne=o((()=>{uf=css`
  --catalog-avatar-bg-color: var(--color-warm-grey-4);
`})),df,Kne=o((()=>{df=css`
  --page-actions-menu-item-icon-border-color: var(--color-warm-grey-5);
  --page-actions-menu-item-description-color: var(--text-color-secondary);
`})),ff,qne=o((()=>{ff=css`
  --tooltip-bg-color: var(--color-warm-grey-4);
  --tooltip-border-color: var(--color-warm-grey-5);

  .tooltip-copy-button {
    --tooltip-bg-color: var(--color-warm-grey-4);
  }
`})),pf,Jne=o((()=>{pf=css`
  /**
  * @tokens Banner
  */
 
  --banner-warning-text-color: var(--color-white); // @presenter Color

  // @tokens End
`})),mf,Yne=o((()=>{mf=css`
  --admonition-info-bg-color: color-mix(in srgb, var(--color-blue-1) 40%, transparent); // @presenter Color
  --admonition-info-border: var(--admonition-border-width) var(--admonition-border-style) color-mix(in srgb, var(--color-blue-3) 40%, transparent); // @presenter Border

  --admonition-warning-bg-color: color-mix(in srgb, var(--color-carrot-1) 40%, transparent); // @presenter Color
  --admonition-warning-border: var(--admonition-border-width) var(--admonition-border-style) color-mix(in srgb, var(--color-carrot-3) 40%, transparent); // @presenter Border

  --admonition-danger-bg-color: color-mix(in srgb, var(--color-raspberry-1) 40%, transparent); // @presenter Color
  --admonition-danger-border: var(--admonition-border-width) var(--admonition-border-style) color-mix(in srgb, var(--color-raspberry-3) 40%, transparent); // @presenter Border

  --admonition-success-bg-color: color-mix(in srgb, var(--color-green-1) 40%, transparent); // @presenter Color
  --admonition-success-border: var(--admonition-border-width) var(--admonition-border-style) color-mix(in srgb, var(--color-green-3) 40%, transparent); // @presenter Border

  --admonition-idea-bg-color: color-mix(in srgb, var(--color-primary-bg, var(--admonition-default-bg-color-legacy)) 40%, transparent); // @presenter Color
  --admonition-idea-border: var(--admonition-border-width) var(--admonition-border-style) color-mix(in srgb, var(--color-primary-border, var(--admonition-default-border-color-legacy)) 40%, transparent); // @presenter Border
`})),hf,Xne=o((()=>{hf=css`
  --code-block-highlighted-bg-color: var(--color-brand-subtle-2, var(--code-block-highlighted-bg-color-legacy)); // @presenter Color
`}));function Zne(e){switch(e){case`slate`:return css`
        --color-brand-1: #2a2b33;
        --color-brand-2: #3b3c45;
        --color-brand-3: #555761;
        --color-brand-4: #6e6f7a;
        --color-brand-5: #9b9ca8;
        --color-brand-6: #fbfbfc;
        --color-brand-7: #ededf2;
        --color-brand-8: #dcdde5;
        --color-brand-9: #c4c6d1;
        --color-brand-10: #9b9ca8;
        --color-brand-11: #6e6f7a;
        --color-brand-subtle-1: #2a2b3366;
        --color-brand-subtle-2: #3b3c4566;
        --color-brand-subtle-3: #55576166;
        --color-brand-subtle-4: #6e6f7a66;
        --text-color-on-color: #000000;

        --search-ai-gradient-start-color: var(--color-brand-3); 
        --search-ai-gradient-end-color: var(--color-brand-7);
      `;case`pink`:return css`
        --color-brand-1: #4f2841;
        --color-brand-2: #6a3055;
        --color-brand-3: #853668;
        --color-brand-4: #a03a7b;
        --color-brand-5: #bb3d8d;
        --color-brand-6: #d6409f;
        --color-brand-7: #de59ad;
        --color-brand-8: #e677bd;
        --color-brand-9: #ef99cf;
        --color-brand-10: #f7bfe2;
        --color-brand-11: #ffe8f7;
        --color-brand-subtle-1: #4f284166;
        --color-brand-subtle-2: #6a305566;
        --color-brand-subtle-3: #85366866;
        --color-brand-subtle-4: #a03a7b66;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-5); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`coral`:return css`
        --color-brand-1: #4f282b;
        --color-brand-2: #6d3338;
        --color-brand-3: #8b3c42;
        --color-brand-4: #a9434c;
        --color-brand-5: #c74b55;
        --color-brand-6: #e5535f;
        --color-brand-7: #ea6a75;
        --color-brand-8: #ef858d;
        --color-brand-9: #f5a3aa;
        --color-brand-10: #fac5c9;
        --color-brand-11: #ffe8ea;
        --color-brand-subtle-1: #4f282b66;
        --color-brand-subtle-2: #6d333866;
        --color-brand-subtle-3: #8b3c4266;
        --color-brand-subtle-4: #a9434c66;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`amber`:return css`
        --color-brand-1: #4f3c28;
        --color-brand-2: #71512e;
        --color-brand-3: #93632f;
        --color-brand-4: #b6732a;
        --color-brand-5: #d88121;
        --color-brand-6: #fa8d15;
        --color-brand-7: #fb9f3a;
        --color-brand-8: #fcb261;
        --color-brand-9: #fdc78c;
        --color-brand-10: #feddba;
        --color-brand-11: #fff4e8;
        --color-brand-subtle-1: #4f3c2866;
        --color-brand-subtle-2: #71512e66;
        --color-brand-subtle-3: #93632f66;
        --color-brand-subtle-4: #b6732a66;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-5); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`jade`:return css`
        --color-brand-1: #284f45;
        --color-brand-2: #2a6052;
        --color-brand-3: #2b715e;
        --color-brand-4: #2b816b;
        --color-brand-5: #2a9277;
        --color-brand-6: #29a383;
        --color-brand-7: #42b597;
        --color-brand-8: #61c8ad;
        --color-brand-9: #88dac4;
        --color-brand-10: #b5edde;
        --color-brand-11: #e8fff9;
        --color-brand-subtle-1: #284f4566;
        --color-brand-subtle-2: #2a605266;
        --color-brand-subtle-3: #2b715e66;
        --color-brand-subtle-4: #2b816b66;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4);
        --search-ai-gradient-end-color: var(--color-brand-7);
      `;case`cyan`:return css`
        --color-brand-1: #28484f;
        --color-brand-2: #285c67;
        --color-brand-3: #246e7f;
        --color-brand-4: #1b8097;
        --color-brand-5: #0f91af;
        --color-brand-6: #00a2c7;
        --color-brand-7: #22b2d2;
        --color-brand-8: #4ac2dd;
        --color-brand-9: #79d4e9;
        --color-brand-10: #aee7f4;
        --color-brand-11: #e8fbff;
        --color-brand-subtle-1: #28484f66;
        --color-brand-subtle-2: #285c6766;
        --color-brand-subtle-3: #246e7f66;
        --color-brand-subtle-4: #1b809766;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`ocean`:return css`
        --color-brand-1: #283e4f;
        --color-brand-2: #2d5472;
        --color-brand-3: #2a6795;
        --color-brand-4: #2277b9;
        --color-brand-5: #1384dc;
        --color-brand-6: #0090ff;
        --color-brand-7: #29a2ff;
        --color-brand-8: #56b5ff;
        --color-brand-9: #85caff;
        --color-brand-10: #b6dfff;
        --color-brand-11: #e8f5ff;
        --color-brand-subtle-1: #283e4f66;
        --color-brand-subtle-2: #2d547266;
        --color-brand-subtle-3: #2a679566;
        --color-brand-subtle-4: #2277b966;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`indigo`:return css`
        --color-brand-1: #28314f;
        --color-brand-2: #303e6b;
        --color-brand-3: #364988;
        --color-brand-4: #3952a4;
        --color-brand-5: #3c5bc1;
        --color-brand-6: #3e63dd;
        --color-brand-7: #5879e4;
        --color-brand-8: #7691eb;
        --color-brand-9: #99aef1;
        --color-brand-10: #bfcdf8;
        --color-brand-11: #e8edff;
        --color-brand-subtle-1: #28314f66;
        --color-brand-subtle-2: #303e6b66;
        --color-brand-subtle-3: #36498866;
        --color-brand-subtle-4: #3952a466;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;case`iris`:return css`
        --color-brand-1: #2e2e4f;
        --color-brand-2: #3a3a6a;
        --color-brand-3: #434385;
        --color-brand-4: #4c4ca0;
        --color-brand-5: #5353bb;
        --color-brand-6: #5b5bd6;
        --color-brand-7: #7070de;
        --color-brand-8: #8a8ae6;
        --color-brand-9: #a7a7ef;
        --color-brand-10: #c8c8f7;
        --color-brand-11: #ebebff;
        --color-brand-subtle-1: #2e2e4f80;
        --color-brand-subtle-2: #3a3a6a80;
        --color-brand-subtle-3: #43438580;
        --color-brand-subtle-4: #4c4ca080;
        --text-color-on-color: #ffffff;

        --search-ai-gradient-start-color: var(--color-brand-4); // @presenter Color
        --search-ai-gradient-end-color: var(--color-brand-8); // @presenter Color
      `;default:return css`
        --button-bg-color-primary-hover-legacy: var(--color-blue-5);
        --button-bg-color-primary-pressed-legacy: var(--color-blue-4);

        --toc-item-text-color-active-legacy: var(--text-color-primary); 
        --toc-item-border-color-active-legacy: var(--border-color-invers);

        --checkbox-border-color-legacy: var(--border-color-primary);
        
        --switch-bg-color-selected-legacy: var(--color-warm-grey-7);
        --switch-border-color-selected-legacy: var(--color-warm-grey-7);

        --md-tabs-active-tab-bg-color-legacy: var(--bg-color-active);

        --admonition-default-bg-color-legacy: var(--color-warm-grey-3);
        --admonition-default-border-color-legacy: var(--color-warm-grey-5);

        --code-block-highlighted-bg-color-legacy: color-mix(in srgb, var(--color-warm-grey-4) 40%, transparent); 
        
        --link-color-primary-legacy: var(--color-blue-7);
        --link-color-primary-hover-legacy: var(--color-blue-8);
        --link-color-visited-legacy: var(--color-purple-8);

        --card-bg-color-hover-legacy: color-mix(in srgb, var(--color-warm-grey-4) 40%, transparent);
      `}}var gf,Qne=o((()=>{gf=css`
  ${({palette:e})=>Zne(e)}
`})),_f,vf,yf,bf,$ne=o((()=>{Pne(),Fne(),Ine(),Lne(),Rne(),zne(),Bne(),Vne(),Hne(),Une(),Wne(),Gne(),Kne(),qne(),Jne(),Yne(),Xne(),Qne(),_f=css`
  /**
    * @tokens Replay Colors
    * @presenter Color
    */

  --replay-undefined-variable-color: rgb(255, 138, 162); // @presenter Color
  --replay-defined-variable-color: rgb(110, 171, 250); // @presenter Color
  --replay-server-variable-color: rgb(179, 166, 249); // @presenter Color
  --replay-path-parameter-color: rgb(8, 199, 224); // @presenter Color

  --replay-undefined-variable-bg-color: rgba(82, 10, 24, 0.16); // @presenter Color
  --replay-defined-variable-bg-color: rgba(12, 76, 158, 0.16); // @presenter Color
  --replay-server-variable-bg-color: rgba(31, 10, 144, 0.16); // @presenter Color
  --replay-path-parameter-bg-color: rgba(5, 88, 99, 0.16); // @presenter Color

  --replay-undefined-variable-bg-color-hover: rgba(82, 10, 24, 0.4); // @presenter Color
  --replay-defined-variable-bg-color-hover: rgba(12, 76, 158, 0.4); // @presenter Color
  --replay-server-variable-bg-color-hover: rgba(31, 10, 144, 0.4); // @presenter Color
  --replay-path-parameter-bg-color-hover: rgba(5, 88, 99, 0.4); // @presenter Color

  --replay-runtime-expression-color:  rgba(147, 166, 249, 1); // @presenter Color
  --replay-runtime-expression-bg-color: rgba(147, 166, 249, 0.16); // @presenter Color
  --replay-operators-color: rgba(168, 143, 88, 1); // @presenter Color

  --replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.16) 10.13%, rgba(255, 92, 220, 0.16) 87.29%);

  // @tokens End
`,vf=css`
  /**
    * @tokens Audience Badge
    */

  --badge-audience-text-color: var(--text-color-secondary); // @presenter Color
  --badge-audience-bg-color: var(--color-warm-grey-4); // @presenter Color

  // @tokens End
`,yf=css`
  /**
    * @tokens Markdown Numbered List
    */

  --md-numbered-list-marker-bg-color: var(--color-warm-grey-3); // @presenter Color
  --md-numbered-list-marker-bg-color-hover: var(--color-warm-grey-4); // @presenter Color

  // @tokens End
`,bf=css`
  /* === Dark Theme Colors  === */

  // The color palette has been modified for a dark theme. According to the logic,
  // each color in the light palette is shifted one position towards the end, with the
  // first color becoming the last, the second becoming the second-to-last, and so on

  /**
    * @tokens Dark Base Colors
    * @presenter Color
      */

  --color-warm-grey-1: #1a1c21;
  --color-warm-grey-2: #22242b;
  --color-warm-grey-3: #2a2b33;
  --color-warm-grey-4: #3b3c45;
  --color-warm-grey-5: #555761;
  --color-warm-grey-6: #6e6f7a;
  --color-warm-grey-7: #9b9ca8;
  --color-warm-grey-8: #c4c6d1;
  --color-warm-grey-9: #dcdde5;
  --color-warm-grey-10: #ededf2;
  --color-warm-grey-11: #fbfbfc;

  --color-purple-1: #2c2770;
  --color-purple-2: #2b2480;
  --color-purple-3: #291f99;
  --color-purple-4: #4034ab;
  --color-purple-5: #5b4ccc;
  --color-purple-6: #7a69ee;
  --color-purple-7: #9c8ef4;
  --color-purple-8: #b3a6f9;
  --color-purple-9: #cec4fd;
  --color-purple-10: #e6e1fe;
  --color-purple-11: #f3f1fe;

  --color-blueberry-1: #232a61;
  --color-blueberry-2: #222d7a;
  --color-blueberry-3: #1e2f93;
  --color-blueberry-4: #2f46b7;
  --color-blueberry-5: #4561db;
  --color-blueberry-6: #5f81ff;
  --color-blueberry-7: #87a3ff;
  --color-blueberry-8: #9fb7ff;
  --color-blueberry-9: #bfd0ff;
  --color-blueberry-10: #dfe8ff;
  --color-blueberry-11: #F0F4F;

  --color-blue-1: #233061;
  --color-blue-2: #223d7a;
  --color-blue-3: #1f4399;
  --color-blue-4: #2558b8;
  --color-blue-5: #3072db;
  --color-blue-6: #1f7cff;
  --color-blue-7: #6eabfa;
  --color-blue-8: #90c2fc;
  --color-blue-9: #b3d7fc;
  --color-blue-10: #d9ebfc;
  --color-blue-11: #edf5fc;

  --color-sky-1: #1f3757;
  --color-sky-2: #1d4479;
  --color-sky-3: #155393;
  --color-sky-4: #0569b6;
  --color-sky-5: #088cda;
  --color-sky-6: #0bb4fe;
  --color-sky-7: #47d2fe;
  --color-sky-8: #6ce5fe;
  --color-sky-9: #9df4fe;
  --color-sky-10: #cefdfe;
  --color-sky-11: #eafefe;

  --color-turquoise-1: #1c394f;
  --color-turquoise-2: #1c496b;
  --color-turquoise-3: #125a81;
  --color-turquoise-4: #0475a1;
  --color-turquoise-5: #059cc0;
  --color-turquoise-6: #08c7e0;
  --color-turquoise-7: #41e6ec;
  --color-turquoise-8: #67f5ef;
  --color-turquoise-9: #9afbef;
  --color-turquoise-10: #ccfdf3;
  --color-turquoise-11: #ebfdf9;

  --color-persian-green-1: #193b47;
  --color-persian-green-2: #143d4d;
  --color-persian-green-3: #0f4f5d;
  --color-persian-green-4: #036a73;
  --color-persian-green-5: #048a89;
  --color-persian-green-6: #06a192;
  --color-persian-green-7: #37c6ab;
  --color-persian-green-8: #5fe2be;
  --color-persian-green-9: #97f5d2;
  --color-persian-green-10: #cafae4;
  --color-persian-green-11: #ebfaf3;

  --color-green-1: #1a4d40;
  --color-green-2: #195848;
  --color-green-3: #136a4d;
  --color-green-4: #0e8450;
  --color-green-5: #149e53;
  --color-green-6: #1cb854;
  --color-green-7: #4dd470;
  --color-green-8: #72e985;
  --color-green-9: #a3f7a9;
  --color-green-10: #d2fbd0;
  --color-green-11: #edfbec;

  --color-grass-1: #1f4d2d;
  --color-grass-2: #164f29;
  --color-grass-3: #135f25;
  --color-grass-4: #167625;
  --color-grass-5: #208d28;
  --color-grass-6: #2fa52d;
  --color-grass-7: #66c95b;
  --color-grass-8: #93e380;
  --color-grass-9: #c2f6ae;
  --color-grass-10: #e3fad6;
  --color-grass-11: #f0faeb;

  --color-carrot-1: #5c3721;
  --color-carrot-2: #7a4222;
  --color-carrot-3: #934c1a;
  --color-carrot-4: #b75f17;
  --color-carrot-5: #db7e21;
  --color-carrot-6: #ffa02e;
  --color-carrot-7: #ffbe62;
  --color-carrot-8: #ffd181;
  --color-carrot-9: #ffe4ab;
  --color-carrot-10: #fff0cc;
  --color-carrot-11: #fff8e8;

  --color-orange-1: #612729;
  --color-orange-2: #7a2024;
  --color-orange-3: #931e1a;
  --color-orange-4: #b72111;
  --color-orange-5: #db3918;
  --color-orange-6: #ff5722;
  --color-orange-7: #ff8c59;
  --color-orange-8: #ffad7a;
  --color-orange-9: #ffcea6;
  --color-orange-10: #ffead2;
  --color-orange-11: #fff4e8;

  --color-red-1: #612235;
  --color-red-2: #752137;
  --color-red-3: #8d1c37;
  --color-red-4: #af1631;
  --color-red-5: #d12030;
  --color-red-6: #f42d2d;
  --color-red-7: #f86d60;
  --color-red-8: #fb9580;
  --color-red-9: #fdc0ab;
  --color-red-10: #fee3d4;
  --color-red-11: #fef1ea;

  --color-raspberry-1: #612241;
  --color-raspberry-2: #77214c;
  --color-raspberry-3: #901d56;
  --color-raspberry-4: #b3185e;
  --color-raspberry-5: #d6236a;
  --color-raspberry-6: #f9316d;
  --color-raspberry-7: #fb6382;
  --color-raspberry-8: #fd838f;
  --color-raspberry-9: #feacad;
  --color-raspberry-10: #fed9d5;
  --color-raspberry-11: #fef0ef;

  --color-magenta-1: #5e1a48;
  --color-magenta-2: #791f5a;
  --color-magenta-3: #931a65;
  --color-magenta-4: #b6006a;
  --color-magenta-5: #da0078;
  --color-magenta-6: #fe0184;
  --color-magenta-7: #fe409c;
  --color-magenta-8: #fe66aa;
  --color-magenta-9: #fe99c3;
  --color-magenta-10: #fecce0;
  --color-magenta-11: #feeff5;

  --color-black: #ffffff;
  --color-white: #000000;

  --color-hover-base: #32343E;

  --bg-color: var(--color-warm-grey-2);
  --bg-color-hover: var(--color-warm-grey-3);
  --bg-color-active: var(--color-warm-grey-4);
  --bg-color-tonal: var(--color-warm-grey-2);
  --bg-color-tonal-hover: var(--color-warm-grey-2);
  --bg-color-tonal-active: var(--color-warm-grey-2);
  --bg-color-raised: var(--color-warm-grey-2);
  --bg-color-modal-overlay: rgba(0, 0, 0, 0.4);

  --bg-raised-gradient: linear-gradient(270deg, var(--color-warm-grey-3) 21.88%, rgba(42, 43, 51, 0) 112.5%);

  --layer-color: var(--color-warm-grey-3);
  --layer-color-hover: var(--color-warm-grey-4);
  --layer-color-active: var(--color-warm-grey-5);
  --layer-color-ontonal: var(--color-warm-grey-3);
  --layer-color-ontonal-hover: var(--color-warm-grey-4);
  --layer-color-ontonal-active: var(--color-warm-grey-5);
  --layer-color-accent: var(--color-warm-grey-9);
  --layer-accent-hover: var(--color-warm-grey-10);
  --layer-color-raised: var(--color-warm-grey-3);

  --color-brand-subtle-bg: var(--color-brand-subtle-1);
  --color-brand-subtle-bg-hover: var(--color-brand-subtle-2);
  --color-brand-subtle-border: var(--color-brand-subtle-3);
  --color-brand-subtle-border-hover: var(--color-brand-subtle-4);

  /**
    * @tokens Border Colors
    * @presenter Color
    */

  --border-color-primary: var(--color-warm-grey-5);
  --border-color-secondary: var(--color-warm-grey-4);

  /**
 * @tokens Tree Colors
 * @presenter Color
 */

  --tree-content-color-hover: var(--color-warm-grey-11); // @presenter Color
  --tree-border-color-default: var(--color-warm-grey-4); // @presenter Color
  --tree-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
  --tree-bg-color-active: var(--color-warm-grey-4); // @presenter Color

  /**
  * @tokens Links
  */

  --link-color-primary: var(--link-color-primary-palette, var(--link-color-primary-legacy)); // @presenter Color
  --link-color-primary-hover: var(--link-color-primary-palette, var(--link-color-primary-hover-legacy)); // @presenter Color
  --link-color-inverse: var(--color-blue-6); // @presenter Color
  --link-color-visited: var(--link-color-primary-palette, var(--link-color-visited-legacy)); // @presenter Color

  /**
  * @tokens Tab Colors
  * @presenter Color
  */

  --tab-content-color-default: var(--color-warm-grey-7); // @presenter Color
  --tab-bg-color-filled: var(--color-warm-grey-4); // @presenter Color
  --tab-content-color-disabled: var(--color-warm-grey-4); // @presenter Color

  /**
  * @tokens Dropdown Colors
  * @presenter Color
  */

  --dropdown-text-color: var(--color-warm-grey-8); // @presenter Color
  --dropdown-menu-item-bg-color-hover: var(--bg-color-hover); // @presenter Color

  --input-bg-color: var(--color-warm-grey-2);
  --input-bg-color-ghost: var(--color-warm-grey-3);

  --input-border-color: var(--color-warm-grey-4);
  --input-border-color-hover: var(--color-warm-grey-5);
  --input-border-color-focused: var(--color-info-base);

  --input-bg-color-disabled: var(--color-warm-grey-3);
  --input-border-color-disabled: var(--color-warm-grey-4);

  /**
  * @tokens API Reference Schema Required styles
  */

  --schema-required-color: #f56c6c; // @presenter Color

  --plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
  --minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");

  ${nf}
  ${ef}
  ${tf}
  ${rf}
  ${af}
  ${of}
  ${$d}
  ${Qd}
  ${_f}
  ${sf}
  ${cf}
  ${lf}
  ${uf}
  ${df}
  ${ff}
  ${pf}
  ${mf}
  ${vf}
  ${yf}
  ${gf}
  ${hf}
  /**
    * @tokens Dark Theme Scrollbar Config
    * @presenter Color
    */
  color-scheme: dark;

  *::-webkit-scrollbar-thumb {
    background-color: var(--color-warm-grey-4);
  }

  // @tokens End
`})),xf,Sf,Cf,wf,Tf,Ef,Df,Of,kf,Af,jf,Mf,Nf,Pf,Ff,If,Lf,Rf,zf,Bf,Vf,Hf,Uf,Wf,Gf,ere=o((()=>{Pu(),Iu(),Ru(),Bu(),Hu(),Wu(),Ku(),Ju(),Xu(),Qu(),ed(),rd(),ad(),sd(),ld(),dd(),pd(),hd(),$te(),ene(),tne(),nne(),rne(),ine(),ane(),one(),sne(),cne(),lne(),une(),dne(),fne(),pne(),mne(),hne(),gne(),_ne(),vne(),yne(),bne(),xne(),Sne(),Cne(),wne(),Tne(),Ene(),Dne(),One(),kne(),Ane(),jne(),F(),Nne(),$ne(),xf=css`
  /* === Palette === */
  /**
    * @tokens Base Colors
    * @presenter Color
    */

  --color-warm-grey-1: #fbfbfc;
  --color-warm-grey-2: #ededf2;
  --color-warm-grey-3: #dcdde5;
  --color-warm-grey-4: #c4c6d1;
  --color-warm-grey-5: #9b9ca8;
  --color-warm-grey-6: #6e6f7a;
  --color-warm-grey-7: #555761;
  --color-warm-grey-8: #3b3c45;
  --color-warm-grey-9: #2a2b33;
  --color-warm-grey-10: #22242b;
  --color-warm-grey-11: #1a1c21;

  --color-purple-1: #f3f1fe;
  --color-purple-2: #e6e1fe;
  --color-purple-3: #cec4fd;
  --color-purple-4: #b3a6f9;
  --color-purple-5: #9c8ef4;
  --color-purple-6: #7a69ee;
  --color-purple-7: #5b4ccc;
  --color-purple-8: #4034ab;
  --color-purple-9: #291f99;
  --color-purple-10: #2b2480;
  --color-purple-11: #2c2770;

  --color-blueberry-1: #F0F4FF;
  --color-blueberry-2: #dfe8ff;
  --color-blueberry-3: #bfd0ff;
  --color-blueberry-4: #9fb7ff;
  --color-blueberry-5: #87a3ff;
  --color-blueberry-6: #5f81ff;
  --color-blueberry-7: #4561db;
  --color-blueberry-8: #2f46b7;
  --color-blueberry-9: #1e2f93;
  --color-blueberry-10: #222d7a;
  --color-blueberry-11: #232a61;

  --color-blue-1: #edf5fc;
  --color-blue-2: #d9ebfc;
  --color-blue-3: #b3d7fc;
  --color-blue-4: #90c2fc;
  --color-blue-5: #6eabfa;
  --color-blue-6: #1f7cff;
  --color-blue-7: #3072db;
  --color-blue-8: #2558b8;
  --color-blue-9: #1f4399;
  --color-blue-10: #223d7a;
  --color-blue-11: #233061;

  --color-sky-1: #eafefe;
  --color-sky-2: #cefdfe;
  --color-sky-3: #9df4fe;
  --color-sky-4: #6ce5fe;
  --color-sky-5: #47d2fe;
  --color-sky-6: #0bb4fe;
  --color-sky-7: #088cda;
  --color-sky-8: #0569b6;
  --color-sky-9: #155393;
  --color-sky-10: #1d4479;
  --color-sky-11: #1f3757;

  --color-turquoise-1: #ebfdf9;
  --color-turquoise-2: #ccfdf3;
  --color-turquoise-3: #9afbef;
  --color-turquoise-4: #67f5ef;
  --color-turquoise-5: #41e6ec;
  --color-turquoise-6: #08c7e0;
  --color-turquoise-7: #059cc0;
  --color-turquoise-8: #0475a1;
  --color-turquoise-9: #125a81;
  --color-turquoise-10: #1c496b;
  --color-turquoise-11: #1c394f;

  --color-persian-green-1: #ebfaf3;
  --color-persian-green-2: #cafae4;
  --color-persian-green-3: #97f5d2;
  --color-persian-green-4: #5fe2be;
  --color-persian-green-5: #37c6ab;
  --color-persian-green-6: #06a192;
  --color-persian-green-7: #048a89;
  --color-persian-green-8: #036a73;
  --color-persian-green-9: #0f4f5d;
  --color-persian-green-10: #143d4d;
  --color-persian-green-11: #193b47;

  --color-green-1: #edfbec;
  --color-green-2: #d2fbd0;
  --color-green-3: #a3f7a9;
  --color-green-4: #72e985;
  --color-green-5: #4dd470;
  --color-green-6: #1cb854;
  --color-green-7: #149e53;
  --color-green-8: #0e8450;
  --color-green-9: #136a4d;
  --color-green-10: #195848;
  --color-green-11: #1a4d40;

  --color-grass-1: #f0faeb;
  --color-grass-2: #e3fad6;
  --color-grass-3: #c2f6ae;
  --color-grass-4: #93e380;
  --color-grass-5: #66c95b;
  --color-grass-6: #2fa52d;
  --color-grass-7: #208d28;
  --color-grass-8: #167625;
  --color-grass-9: #135f25;
  --color-grass-10: #164f29;
  --color-grass-11: #1f4d2d;

  --color-carrot-1: #fff8e8;
  --color-carrot-2: #fff0cc;
  --color-carrot-3: #FFE4AB;
  --color-carrot-4: #FFD181;
  --color-carrot-5: #ffbe62;
  --color-carrot-6: #ffa02e;
  --color-carrot-7: #db7e21;
  --color-carrot-8: #b75f17;
  --color-carrot-9: #934c1a;
  --color-carrot-10: #7a4222;
  --color-carrot-11: #5c3721;

  --color-orange-1: #fff4e8;
  --color-orange-2: #ffead2;
  --color-orange-3: #ffcea6;
  --color-orange-4: #ffad7a;
  --color-orange-5: #ff8c59;
  --color-orange-6: #ff5722;
  --color-orange-7: #db3918;
  --color-orange-8: #b72111;
  --color-orange-9: #931e1a;
  --color-orange-10: #7a2024;
  --color-orange-11: #612729;

  --color-red-1: #fef1ea;
  --color-red-2: #fee3d4;
  --color-red-3: #fdc0ab;
  --color-red-4: #fb9580;
  --color-red-5: #f86d60;
  --color-red-6: #f42d2d;
  --color-red-7: #d12030;
  --color-red-8: #af1631;
  --color-red-9: #8d1c37;
  --color-red-10: #752137;
  --color-red-11: #612235;

  --color-raspberry-1: #fef0ef;
  --color-raspberry-2: #fed9d5;
  --color-raspberry-3: #feacad;
  --color-raspberry-4: #fd838f;
  --color-raspberry-5: #fb6382;
  --color-raspberry-6: #f9316d;
  --color-raspberry-7: #d6236a;
  --color-raspberry-8: #b3185e;
  --color-raspberry-9: #901d56;
  --color-raspberry-10: #77214c;
  --color-raspberry-11: #612241;

  --color-magenta-1: #feeff5;
  --color-magenta-2: #fecce0;
  --color-magenta-3: #fe99c3;
  --color-magenta-4: #fe66aa;
  --color-magenta-5: #fe409c;
  --color-magenta-6: #fe0184;
  --color-magenta-7: #da0078;
  --color-magenta-8: #b6006a;
  --color-magenta-9: #931a65;
  --color-magenta-10: #791f5a;
  --color-magenta-11: #5e1a48;

  --color-black: #000000;
  --color-white: #ffffff;
  --color-static-white: #ffffff;

  --color-success-bg: var(--color-green-1);
  --color-success-bg-hover: var(--color-green-2);
  --color-success-border: var(--color-green-3);
  --color-success-border-hover: var(--color-green-4);
  --color-success-hover: var(--color-green-5);
  --color-success-base: var(--color-green-6);
  --color-success-active: var(--color-green-7);
  --color-success-text-hover: var(--color-green-8);
  --color-success-text: var(--color-green-9);
  --color-success-text-active: var(--color-green-10);

  --color-warning-bg: var(--color-carrot-1);
  --color-warning-bg-hover: var(--color-carrot-2);
  --color-warning-border: var(--color-carrot-3);
  --color-warning-border-hover: var(--color-carrot-4);
  --color-warning-hover: var(--color-carrot-5);
  --color-warning-base: var(--color-carrot-6);
  --color-warning-active: var(--color-carrot-7);
  --color-warning-text-hover: var(--color-carrot-8);
  --color-warning-text: var(--color-carrot-9);
  --color-warning-text-active: var(--color-carrot-10);

  --color-error-bg: var(--color-raspberry-1);
  --color-error-bg-hover: var(--color-raspberry-2);
  --color-error-border: var(--color-raspberry-3);
  --color-error-border-hover: var(--color-raspberry-4);
  --color-error-hover: var(--color-raspberry-5);
  --color-error-base: var(--color-raspberry-6);
  --color-error-active: var(--color-raspberry-7);
  --color-error-text-hover: var(--color-raspberry-8);
  --color-error-text: var(--color-raspberry-9);
  --color-error-text-active: var(--color-raspberry-10);

  --color-info-bg: var(--color-blue-1);
  --color-info-bg-hover: var(--color-blue-2);
  --color-info-border: var(--color-blue-3);
  --color-info-border-hover: var(--color-blue-4);
  --color-info-hover: var(--color-blue-5);
  --color-info-base: var(--color-blue-6);
  --color-info-active: var(--color-blue-7);
  --color-info-text-hover: var(--color-blue-8);
  --color-info-text: var(--color-blue-9);
  --color-info-text-active: var(--color-blue-10);

  --color-primary-bg: var(--color-brand-1); // @presenter Color
  --color-primary-bg-hover: var(--color-brand-2); // @presenter Color
  --color-primary-border: var(--color-brand-3); // @presenter Color
  --color-primary-border-hover: var(--color-brand-4); // @presenter Color
  --color-primary-hover: var(--color-brand-8); // @presenter Color
  --color-primary-base: var(--color-brand-6); // @presenter Color
  --color-primary-active: var(--color-brand-7); // @presenter Color
  --color-primary-text-hover: var(--color-brand-9); // @presenter Color
  --color-primary-text: var(--color-brand-8); // @presenter Color
  --color-primary-text-active: var(--color-brand-7); // @presenter Color
  --color-primary-text-on-color: var(--text-color-on-color); // @presenter Color

  /**
   * @tokens Elevation Colors
   * @presenter Color
   */

  --color-hover-base: #F3F3F6;

      // The default elevation is the baseline with respect to all other layers.
  --bg-color: var(--color-white);
  --bg-color-hover: var(--color-hover-base);
  --bg-color-active: var(--color-warm-grey-2);
  --bg-color-tonal: var(--color-warm-grey-1);
  --bg-color-tonal-hover: var(--color-white);
  --bg-color-tonal-active: var(--color-white);

  --bg-color-raised: var(--color-white); //Dropdown, popup, tooltip
  --bg-color-modal-overlay: rgba(0, 0, 0, 0.2);


  --bg-raised-shadow: 0px 8px 24px 8px #0000000A, 0px 4px 12px 0px #00000014; // Hovers for base. Menu
  --bg-raised-gradient: linear-gradient(270deg, var(--color-warm-grey-1) 18.75%, rgba(251, 251, 252, 0) 100%);

  /**
    * @tokens Layer
    */

  --layer-color: var(--color-warm-grey-1);
  --layer-color-hover: var(--color-warm-grey-2);
  --layer-color-active: var(--color-warm-grey-3);
  --layer-color-ontonal: var(--color-white);
  --layer-color-ontonal-hover: var(--color-hover-base);
  --layer-color-ontonal-active: var(--color-warm-grey-3);
  --layer-color-accent: var(--color-warm-grey-10);
  --layer-accent-hover: var(--color-warm-grey-9);
  --layer-color-onraised: var(--color-warm-grey-2);
  --layer-color-raised:  var(--color-white);
    // @tokens End
`,Sf=css`
  /* === Typography === */

  /**
    * @tokens Font Families
    * @presenter FontFamily
    */
    --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif; // Font family of the entire system.
    --font-family-monospaced: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono',
    'Roboto Mono', 'Oxygen Mono', 'Ubuntu Mono', 'Fira Mono',
    'Droid Sans Mono', 'Courier New', monospace;

  /**
    * @tokens Font Colors
    * @presenter Color
    */

  --text-color-primary: var(--color-warm-grey-11); // The base color of the typography color tokens.
  --text-color-secondary: var(--color-warm-grey-8);
  --text-color-description: var(--color-warm-grey-7); // Caption, Description, Icon
  --text-color-helper: var(--color-warm-grey-6);
  --text-color-disabled: var(--color-warm-grey-5);
  --text-color-on-color: var(--color-static-white);
  --text-color-inverse: var(--color-white);

  /**
    * @tokens Font Weights
    * @presenter FontWeight
    */

  --font-weight-regular: 400; // All normal weight fonts in the entire system.
  --font-weight-medium: 500; // All medium weight fonts in the entire system.
  --font-weight-semibold: 600; // All semi-bold weight fonts in the entire system.
  --font-weight-bold: 700; //  All bold weight fonts in the entire system.
  --font-weight-italic: 'Regular Italic'; // All italic weights in the entire system.

  /**
   * @tokens Line Heights
   * @presenter LineHeight
   */

  --line-height-base: 22px;
  --line-height-sm: 20px;
  --line-height-md: var(--line-height-base);
  --line-height-lg: 24px;
  --line-height-xl: 28px;
  --line-height-xxl: 30px;

  /**
    * @tokens Font Sizes
    * @presenter FontSize
    */

  --font-size-base: 14px; // Base font size of the entire system.
  --font-size-sm: 12px;
  --font-size-lg: 16px;
  --font-size-md: 18px;
  --font-size-xl: 20px;

  /**
    * @tokens Font Rendering
    */

  --text-smoothing: antialiased; // text-smoothing
  --text-rendering: optimizeSpeed; // text-rendering

  // @tokens End
`,Cf=css`
  /* === Size & Space === */

  /**
    * @tokens Size
    * @presenter Spacing
    */

  --container-width: 1200px;
  --container-max-width: 100%;

  /**
    * @tokens Space
    * @presenter Spacing
    */

  --spacing-unit: 4px;

  --spacing-base: calc(var(--spacing-unit) * 4);
  --spacing-xxs: var(--spacing-unit);
  --spacing-xs: calc(var(--spacing-unit) * 2);
  --spacing-sm: calc(var(--spacing-unit) * 3);
  --spacing-md: calc(var(--spacing-unit) * 5);
  --spacing-lg: calc(var(--spacing-unit) * 6);
  --spacing-xl: calc(var(--spacing-unit) * 8);
  --spacing-xxl: calc(var(--spacing-unit) * 12);

  --spacing-horizontal: var(--spacing-xl);
  --spacing-vertical: var(--spacing-base);

  /**
    * @tokens Height
    * @presenter Spacing
    */
  --control-height-base: 32px; // The height of the default size controls such as buttons and inputs.
  --control-height-xs: 16px; // The height of very small objects such as skeleton line or small multiple select item.
  --control-height-sm: 24px; // The height of the small controls such as buttons or inputs.
  --control-height-lg: 40px; // The height of the large controls such as buttons or inputs.

  // @tokens End
`,wf=css`
  /**
    * @tokens Borders
    * @presenter Border
    */

  --border-width: 1px;
  --border-style: solid;

  /**
   * @tokens Border Colors
   * @presenter Color
   */

  --border-color-primary: var(--color-warm-grey-3); // Raised dividers
  --border-color-secondary: var(--color-warm-grey-2); // Default dividers, borders
  --border-color-inverse: var(--color-warm-grey-10);
  --border-color-invers: var(--border-color-inverse, var(--color-warm-grey-10)); // Deprecated: use --border-color-inverse

  /**
     * @tokens Border Radius
     * @presenter BorderRadius
     */

  --border-radius-none: 0;
  --border-radius: 4px;
  --border-radius-md: calc(var(--border-radius) * 1.5);
  --border-radius-lg: calc(var(--border-radius) * 2);
  --border-radius-xl: calc(var(--border-radius) * 3);
  --border-radius-xxl: calc(var(--border-radius) * 4);
  --border-radius-xxxl: calc(var(--border-radius) * 6);
  --border-radius-full: 999px;

  // @tokens End
`,Tf=css`
  * {
    box-sizing: border-box;
  }

  /**
    * @tokens Headings common styles
    */

  --heading-font-family: var(--font-family-base); // @presenter FontFamily
  --heading-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --heading-text-color: var(--text-color-primary); // @presenter Color

  /**
    * @tokens Typography heading anchor icon
    */

  --heading-anchor-offset-right: var(--spacing-xs); // @presenter Spacing
  --heading-anchor-color: var(--icon-color-primary); // @presenter Color
  --heading-anchor-icon: none;

  /**
    * @tokens Heading level 1
    */

  --h1-font-family: var(--heading-font-family); // @presenter FontFamily
  --h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
  --h1-font-size: 36px; // @presenter FontSize
  --h1-line-height: 44px; // @presenter LineHeight
  --h1-margin-top: var(--spacing-xl); // @presenter Spacing
  --h1-margin-bottom: var(--spacing-base); // @presenter Spacing
  --h1-text-color: var(--heading-text-color); // @presenter Color
  --h1-code-line-height: 60px; // @presenter LineHeight

  /**
    * @tokens Heading level 2
    */

  --h2-font-family: var(--heading-font-family); // @presenter FontFamily
  --h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
  --h2-font-size: 28px; // @presenter FontSize
  --h2-line-height: 36px; // @presenter LineHeight
  --h2-margin-top: var(--spacing-xl); // @presenter Spacing
  --h2-margin-bottom: var(--spacing-base); // @presenter Spacing
  --h2-text-color: var(--heading-text-color); // @presenter Color
  --h2-code-line-height: 48px; // @presenter LineHeight

  /**
    * @tokens Heading level 3
    */

  --h3-font-family: var(--heading-font-family); // @presenter FontFamily
  --h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
  --h3-font-size: 24px; // @presenter FontSize
  --h3-line-height: 32px; // @presenter LineHeight
  --h3-margin-top: var(--spacing-lg); // @presenter Spacing
  --h3-margin-bottom: var(--spacing-base); // @presenter Spacing
  --h3-text-color: var(--heading-text-color); // @presenter Color
  --h3-code-line-height: var(--line-height-xxl); // @presenter LineHeight

  /**
    * @tokens Heading level 4
    */

  --h4-font-family: var(--heading-font-family); // @presenter FontFamily
  --h4-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --h4-font-size: 20px; // @presenter FontSize
  --h4-line-height: 28px; // @presenter LineHeight
  --h4-margin-top: var(--spacing-base); // @presenter Spacing
  --h4-margin-bottom: var(--spacing-base); // @presenter Spacing
  --h4-text-color: var(--heading-text-color); // @presenter Color
  --h4-code-line-height: var(--line-height-xl); // @presenter LineHeight

  /**
    * @tokens Heading level 5
    */

  --h5-font-family: var(--heading-font-family); // @presenter FontFamily
  --h5-font-weight: var(--heading-font-weight); // @presenter FontWeight
  --h5-font-size: 14px; // @presenter FontSize
  --h5-line-height: 14px; // @presenter LineHeight
  --h5-margin-top: var(--spacing-xs); // @presenter Spacing
  --h5-margin-bottom: var(--spacing-sm); // @presenter Spacing
  --h5-text-color: var(--heading-text-color); // @presenter Color
  --h5-code-line-height: var(--line-height-lg); // @presenter LineHeight

  /**
    * @tokens Heading level 6
    */

  --h6-font-family: var(--heading-font-family); // @presenter FontFamily
  --h6-font-weight: var(--heading-font-weight); // @presenter FontWeight
  --h6-font-size: 12px; // @presenter FontSize
  --h6-line-height: 12px; // @presenter LineHeight
  --h6-margin-top: var(--spacing-xxs); // @presenter Spacing
  --h6-margin-bottom: var(--spacing-xs); // @presenter Spacing
  --h6-text-color: var(--heading-text-color); // @presenter Color
  --h6-code-line-height: var(--line-height-md); // @presenter LineHeight

  // @tokens End
`,Ef=css`
  /**
    * @tokens Links
    */

  --link-color-primary: var(--link-color-primary-palette, var(--link-color-primary-legacy)); // @presenter Color
  --link-decoration: underline 1px var(--color-primary-base, var(--link-color-primary-legacy));
  --link-underline-offset: 4px;
  --link-font-weight: var(--font-weight-medium); // @presenter FontWeight

  --link-color-primary-hover: var(--link-color-primary-palette, var(--link-color-primary-hover-legacy)); // @presenter Color
  --link-color-primary-pressed: var(--link-color-primary-palette, var(--link-color-primary-pressed-legacy));
  --link-decoration-hover: underline 2px var(--color-primary-base, var(--link-color-primary-hover-legacy));

  --link-color-inverse: var(--color-blue-5); // @presenter Color

  --link-color-visited: var(--link-color-primary-palette, var(--link-color-visited-legacy)); // @presenter Color
  --link-decoration-visited: underline 1px var(--color-primary-base, var(--link-color-visited-legacy));

  // @tokens End
`,Df=css`
  /* === ref docs and graphql docs specific === */

  /**
    * @tokens API Reference Schemas Layout
    */

  --layout-controls-margin: 20px; // @presenter Spacing
  --layout-controls-height: 36px; // @presenter Spacing
  --layout-controls-width: 36px; // @presenter Spacing

  --layout-stacked-small-max-width: 90%;
  --layout-stacked-medium-max-width: 75%;
  --layout-stacked-large-max-width: 1200px;

  --layout-three-panel-small-max-width: 100%;
  --layout-three-panel-medium-max-width: 100%;
  --layout-three-panel-large-max-width: 1800px;

  --layout-panel-schemas-small-max-width: none;
  --layout-panel-schemas-medium-max-width: none;
  --layout-panel-schemas-large-max-width: none;

  /**
    * @tokens API Reference Schemas MimeType Dropdown
    */

  --schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
  --schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
  --schemas-mime-type-dropdown-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
  --schemas-mime-type-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color

  /**
    * @tokens API Reference Schemas Discriminator Dropdown
    */

  --schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
  --schemas-discriminator-dropdown-border: 1px solid var(--border-color-primary); // @presenter Border
  --schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
  --schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color

  /**
    * @tokens API Reference Schemas Titles
    */

  --schema-type-title-text-color: var(--text-color-secondary); // @presenter Color
  --schema-type-text-color: var(--text-color-description); // @presenter Color
  --schema-labels-font-size: var(--font-size-base); // @presenter FontSize
  --schema-labels-line-height: var(--line-height-base); // @presenter LineHeight
  --schema-labels--text-color: var(--text-color-secondary);
  /**
    * @tokens API Reference Schemas Lines Color
    */

  --schemas-lines-color: var(--border-color-primary); // @presenter Color

  /**
    * @tokens API Reference Schema Inline code typography
    */

  --schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
  --schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
  --schema-inline-code-font-weight: var(--inline-code-font-weight); // @presenter FontWeight
  --schema-inline-code-text-color: var(--text-color-secondary); // @presenter Color
  --schema-inline-code-line-height: var(--inline-code-line-height); // @presenter LineHeight
  --schema-inline-bg-color: var(--border-color-secondary); // @presenter Color
  --schema-inline-border-color: var(--border-color-primary); // @presenter Color
  --schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border

  /**
    * @tokens API Reference Schema Example Label colors
    * @presenter Color
    */

  --schema-example-text-color: var(--schema-inline-code-text-color);
  --schema-example-bg-color: var(--schema-inline-bg-color);
  --schema-example-border-color: var(--schema-inline-border-color);

  /**
    * @tokens API Reference Schema Constraint Label colors
    * @presenter Color
    */

  --schema-constraint-text-color: var(--schema-inline-code-text-color);
  --schema-constraint-bg-color: var(--schema-inline-bg-color);
  --schema-constraint-border-color: var(--schema-inline-border-color);

  /**
    * @tokens API Reference Schema Enum Label colors
    * @presenter Color
    */

  --schema-enum-text-color: var(--schema-inline-code-text-color);
  --schema-enum-bg-color: var(--schema-inline-bg-color);
  --schema-enum-border-color: var(--schema-inline-border-color);

  /**
    * @tokens API Reference Schema Default Label colors
    * @presenter Color
    */

  --schema-default-text-color: var(--schema-inline-code-text-color);
  --schema-default-bg-color: var(--schema-inline-bg-color);
  --schema-default-border-color: var(--schema-inline-border-color);

  /**
    * @tokens API Reference Schema Recursive Label colors
    * @presenter Color
    */

  --schema-recursive-text-color: var(--color-warm-grey-1); // @presenter Color
  --schema-recursive-bg-color: var(--color-persian-green-6); // @presenter Color
  --schema-recursive-border-color: var(--schema-recursive-bg-color); // @presenter Color

  /**
    * @tokens API Reference Schema Nested styles
    */

  --schema-nested-offset: calc(var(--spacing-sm) - 1px); // @presenter Spacing
  --schema-nested-bg-color: var(--tree-bg-color-active); // @presenter Color
  --schema-nested-hyperlink-offset: 2px; // @presenter Spacing
  
  /**
    * @tokens API Reference Schema Required styles
    */

  --schema-required-color: #E20C0C; // @presenter Color

  /**
    * @tokens API Reference Schema Buttons
    */

  --schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
  --schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
  --schema-buttons-font-size: var(--code-font-size); // @presenter FontSize

  --schema-buttons-text-color: var(--text-color-secondary); // @presenter Color
  --schema-buttons-bg-color: transparent; // @presenter Color
  --schema-buttons-border-color: var(--border-color-primary); // @presenter Color

  --schema-buttons-bg-color-hover: var(--button-bg-color-secondary-hover); // @presenter Color
  --schema-buttons-bg-color-active: var(--button-bg-color-secondary-pressed); // @presenter Color

  --schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
  --schema-buttons-selected-bg-color: var(--button-bg-color-secondary-pressed); // @presenter Color
  --schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
  --schema-buttons-selected-bg-color-hover: var(--button-bg-color-secondary-hover); // @presenter Color
  --schema-buttons-selected-bg-color-active: var(--button-bg-color-secondary-pressed); // @presenter Color

  /**
    * @tokens API Reference Schema Properties
    */

  --schemas-property-name-text-color: var(--color-primary-base, var(--text-color-primary)); //@presenter Color
  --schemas-property-name-box-text-color: var(--text-color-primary); // @presenter Color
  --schemas-property-name-font-size: var(--font-size-base); // @presenter FontSize
  --schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
  --schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --schemas-property-name-line-height: var(--line-height-base); // @presenter LineHeight
  --schemas-property-name-text-transform: none;

  --schemas-property-deprecated-text-color: var(--text-color-primary); // @presenter Color

  --schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
  --schema-property-required-label-text-color: var(--schema-required-color); // @presenter Color
  --schema-property-additional-label-text-color: var(--text-color-secondary); // @presenter Color
  --schema-property-access-label-text-color: var(--text-color-secondary); // @presenter Color

  --schema-property-details-width: 70%;
  --schema-property-details-spacing: var(--spacing-base); // @presenter Spacing
  --schema-fist-property-details-spacing: var(--spacing-sm); // @presenter Spacing
  --schema-first-property-details-spacing: var(--schema-fist-property-details-spacing, var(--spacing-sm)); // @presenter Spacing

  /**
    * @tokens API Reference Schema Icons
    */

  --schema-chevron-color: var(--text-color-secondary); // @presenter Color
  --schema-chevron-size: 9px;

  --schema-property-deep-link-icon-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
  --schema-property-deep-link-icon: none;

  /**
    * @tokens API Reference Other
    */

  --loading-spinner-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
  --linear-progress-color: var(--color-info-base); // @presenter Color
  --linear-progress-bg-color: var(--color-info-bg); // @presenter Color

  --fab-bg-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
  --fab-box-shadow: var(--bg-raised-shadow); // @presenter Shadow

  --fab-bg-color-hover: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
  --fab-box-shadow-hover: var(--bg-raised-shadow); // @presenter Shadow

  --fab-bg-color-active: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
  --fab-box-shadow-active: var(--bg-raised-shadow); // @presenter Shadow

  --fab-icon-color: var(--navbar-text-color); // @presenter Color

  // @tokens End

  /**
    * @tokens OpenAPI Schema Catalog Link
   */

  --schema-catalog-link-margin-bottom: var(--spacing-lg);
  --schema-catalog-link-padding: 2px;
  --schema-catalog-link-border-radius: var(--border-radius-md);
  --schema-catalog-link-background-color: var(--layer-color);
  --schema-catalog-link-color: var(--color-purple-7);

  --schema-catalog-link-share-icon-color: var(--color-purple-7);
  --schema-catalog-link-share-icon-background-color: var(--color-purple-1);
  --schema-catalog-link-share-icon-border-radius: var(--border-radius-md);
  --schema-catalog-link-share-icon-wrapper-size: var(--spacing-xl);

  --schema-catalog-link-text-color: var(--text-color-primary);

  // @tokens End
`,Of=css`
  /**
    * @tokens Default Badge
    */

  --badge-text-color: var(--text-color-inverse); // @presenter Color
  --badge-bg-color: var(--color-purple-6); // @presenter Color
  --badge-border-radius: var(--border-radius-md); // @presenter BorderRadius

  /**
    * @tokens Deprecated Badge
    */

  --badge-deprecated-text-color: var(--color-warm-grey-1); // @presenter Color
  --badge-deprecated-bg-color: var(--color-warning-base); // @presenter Color
  --badge-deprecated-border-radius: var(--border-radius-md); // @presenter BorderRadius

   /**
    * @tokens Webhook Badge
    */

  --badge-webhook-text-color: var(--color-warm-grey-1); // @presenter Color
  --badge-webhook-bg-color: var(--color-purple-7); // @presenter Color
  --badge-webhook-border-radius: var(--border-radius-md); // @presenter BorderRadius

  /**
    * @tokens Audience Badge
    */

  --badge-audience-text-color: var(--text-color-secondary); // @presenter Color
  --badge-audience-bg-color: var(--color-warm-grey-2); // @presenter Color

  // @tokens End
`,kf=css`
  /**
    * @tokens Load progress bar
    */

  --load-progress-bar-color: var(--color-info-base); // @presenter Color
  --load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color), 0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
  --load-progress-bar-height: 2px; // @presenter Height

  // @tokens End
`,Af=css`
  /**
    * @tokens Inputs
    */

  --input-bg-color: var(--color-white); // @presenter Color
  --input-bg-color-ghost: var(--color-white);

  --input-font-size: var(--font-size-base); // @presenter FontSize
  --input-font-family: var(--font-family-base); // @presenter FontFamily
  --input-line-height: 1.15em; // @presenter LineHeight
  --input-text-indent: 16px;

  --input-padding: var(--spacing-xs);
  --input-padding-horizontal: var(--spacing-sm);
  --input-padding-vertical: var(--spacing-xxs);
  --input-height: 40px;

  --input-border-radius: var(--border-radius-lg); // @presenter BorderRadius
  --input-border-color: var(--color-warm-grey-3);
  --input-border: 1px solid var(--input-border-color); // @presenter Border
  --input-border-color-hover: var(--color-warm-grey-4);
  --input-border-hover: 1px solid var(--input-border-color-hover); // @presenter Border
  --input-border-color-focused: var(--color-info-base);
  --input-border-focus: 1px solid var(--input-border-color-focused); // @presenter Border

  --input-content-color-disabled: var(--color-warm-grey-4);
  --input-bg-color-disabled: var(--color-warm-grey-1);
  --input-border-color-disabled: var(--color-warm-grey-3);
  --input-border-disabled: 1px solid var(--input-border-color-disabled); // @presenter Border

  --input-content-color-active: var(--color-warm-grey-11); // @presenter Color
  --input-content-placeholder-color: var(--color-warm-grey-5); // @presenter Color

  --input-t-icon-color: var(--color-warm-grey-5); // @presenter Color

  --checkbox-bg-color: var(--bg-color);
  --checkbox-checked-bg-color: var(--color-primary-base);

  // @tokens End
`,jf=css`
  --docs-dropdown-font-size: var(--font-size-base);
  --docs-dropdown-text-color: var(--text-color-secondary);

  --docs-dropdown-padding-vertical: 6px;
  --docs-dropdown-padding-left: 10px;
  --docs-dropdown-padding-right: 26px;
  --docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right) var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
  --docs-dropdown-border: 1px solid var(--border-color-primary);
`,Mf=css`
  --wide-tile-bg-color: var(--bg-color-raised);
  --thin-tile-bg-color: var(--bg-color-raised);
`,Nf=css`
  /**
    * @tokens 404 Page
    * @presenter Color
    */

  --page-404-font-family: var(--font-family-base); // @presenter FontFamily
  --page-404-margin-vertical: var(--spacing-xl);
  --page-404-margin-horizontal: calc(var(--spacing-xxl) * 2);
  --page-404-gap: var(--spacing-lg);
  --page-404-max-width: 680px;

  --page-404-status-text-color: var(--text-color-helper);
  --page-404-status-font-size: var(--font-size-lg); // @presenter FontSize
  --page-404-status-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --page-404-status-line-height: var(--line-height-lg); // @presenter LineHeight

  --page-404-title-text-color: var(--text-color-primary);
  --page-404-title-font-size: 42px; // @presenter FontSize
  --page-404-title-font-weight: var(--font-weight-bold); // @presenter FontWeight
  --page-404-title-line-height: 50px; // @presenter LineHeight
  --page-404-status-line-height: var(--line-height-lg); // @presenter LineHeight

  --page-404-description-text-color: var(--text-color-secondary);
  --page-404-description-font-size: var(--font-size-xl); // @presenter FontSize
  --page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --page-404-description-line-height: var(--line-height-xl); // @presenter LineHeight

  // @tokens End

  /**
    * @tokens 403 Page
    * @presenter Color
    */

  --page-403-font-family: var(--font-family-base); // @presenter FontFamily
  --page-403-margin-vertical: var(--spacing-xl); // @presenter Spacing
  --page-403-margin-horizontal: calc(var(--spacing-xxl) * 2); // @presenter Spacing
  --page-403-gap: var(--spacing-lg); // @presenter Spacing
  --page-403-max-width: 680px; // @presenter Width

  --page-403-status-text-color: var(--text-color-helper); // @presenter Color
  --page-403-status-font-size: var(--font-size-lg); // @presenter FontSize
  --page-403-status-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --page-403-status-line-height: var(--line-height-lg); // @presenter LineHeight

  --page-403-title-text-color: var(--text-color-primary); // @presenter Color
  --page-403-title-font-size: 42px; // @presenter FontSize
  --page-403-title-font-weight: var(--font-weight-bold); // @presenter FontWeight
  --page-403-title-line-height: 50px; // @presenter LineHeight

  --page-403-description-text-color: var(--text-color-secondary); // @presenter Color
  --page-403-description-font-size: var(--font-size-xl); // @presenter FontSize
  --page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --page-403-description-line-height: var(--line-height-xl); // @presenter LineHeight

  // @tokens End

  /**
    * @tokens 403 Page OIDC Forbidden
    * @presenter Color
    */

  --page-403-header-text-color: var(--h1-text-color); // @presenter Color
  --page-403-header-font-size: var(--h1-font-size); // @presenter FontSize
  --page-403-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
  --page-403-header-line-height: var(--h1-line-height); // @presenter LineHeight
  --page-403-header-margin: 0; // @presenter Spacing
  --page-403-description-margin: 0; // @presenter Spacing
  --page-403-oidc-description-font-size: var(--font-size-lg); // @presenter FontSize
  --page-403-oidc-description-margin: var(--spacing-md) var(--spacing-sm); // @presenter Spacing

  // @tokens End

  /**
    * @tokens 405 MCP Page
    * @presenter Color
    */
  --page-mcp-405-font-family: var(--font-family-base); // @presenter FontFamily
  --page-mcp-405-margin-vertical: var(--spacing-xl);
  --page-mcp-405-margin-horizontal: calc(var(--spacing-xxl) * 2);
  --page-mcp-405-gap: var(--spacing-lg);
  --page-mcp-405-max-width: 680px;
  --page-mcp-405-margin-vertical-mobile: var(--spacing-xxl);
  --page-mcp-405-margin-horizontal-mobile: 1rem;

  --page-mcp-405-title-text-color: var(--text-color-primary);
  --page-mcp-405-title-font-size: 42px; // @presenter FontSize
  --page-mcp-405-title-font-weight: var(--font-weight-bold); // @presenter FontWeight
  --page-mcp-405-title-line-height: 50px; // @presenter LineHeight
  --page-mcp-405-title-font-size-mobile: var(--h3-font-size);
  --page-mcp-405-title-line-height-mobile: var(--h3-line-height);

  --page-mcp-405-description-text-color: var(--text-color-secondary);
  --page-mcp-405-description-font-size: var(--font-size-xl); // @presenter FontSize
  --page-mcp-405-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --page-mcp-405-description-line-height: var(--line-height-xl);
  --page-mcp-405-description-font-size-mobile: var(--font-size-lg);
  --page-mcp-405-description-line-height-mobile: var(--line-height-lg);

  --page-mcp-405-snippets-font-size: var(--font-size-base); // @presenter FontSize
  --page-mcp-405-snippets-line-height: var(--line-height-base); // @presenter LineHeight
  --page-mcp-405-snippets-hint-text-color: var(--text-color-secondary);
  --page-mcp-405-snippets-code-padding-right: var(--spacing-xxl);

   // @tokens End

  /**
    * @tokens 500 Page
    * @presenter Color
    */

  --page-500-font-family: var(--font-family-base); // @presenter FontFamily
  --page-500-margin-vertical: var(--spacing-xl);
  --page-500-margin-horizontal: calc(var(--spacing-xxl) * 2);
  --page-500-gap: var(--spacing-lg);
  --page-500-max-width: 680px;

  --page-500-status-text-color: var(--text-color-helper);
  --page-500-status-font-size: var(--font-size-lg); // @presenter FontSize
  --page-500-status-font-weight: var(--font-weight-semibold); // @presenter FontWeight
  --page-500-status-line-height: var(--line-height-lg); // @presenter LineHeight

  --page-500-title-text-color: var(--text-color-primary);
  --page-500-title-font-size: 42px; // @presenter FontSize
  --page-500-title-font-weight: var(--font-weight-bold); // @presenter FontWeight
  --page-500-title-line-height: 50px; // @presenter LineHeight
  --page-500-status-line-height: var(--line-height-lg); // @presenter LineHeight

  --page-500-description-text-color: var(--text-color-secondary);
  --page-500-description-font-size: var(--font-size-xl); // @presenter FontSize
  --page-500-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
  --page-500-description-line-height: var(--line-height-xl); // @presenter LineHeight

  // @tokens End
`,Pf=css`
  --error-bubble-padding: var(--spacing-sm);
  --error-bubble-gap: var(--spacing-xxs);
  --error-bubble-font-family: var(--font-family-base);
  --error-bubble-font-size: var(--font-size-base);
  --error-bubble-z-index: var(--z-index-popover);
  --error-bubble-bg-color: #612241;
  --error-bubble-bg-color-hover: #77214c;
  --error-bubble-bg-color-pressed: #901d56;
  --error-bubble-content-color: #f9316d;
  --error-bubble-content-color-hover: #f9316d;
  --error-bubble-content-color-pressed: #f9316d;


  --detailed-error-overlay-bg-color: #4f4f4f;
  --detailed-error-overlay-opacity: 0.9;
  --detailed-error-overlay-z-index: var(--z-index-raised);

  --detailed-error-modal-width: calc(100% - var(--spacing-lg) * 2);
  --detailed-error-modal-height: calc(100vh - var(--navbar-stack-height) - var(--spacing-lg) * 2);
  --detailed-error-modal-top: calc(var(--spacing-lg) + var(--navbar-stack-height));
  --detailed-error-modal-border-radius: var(--border-radius-md);
  --detailed-error-modal-bg-color: var(--bg-color-raised);
  --detailed-error-modal-color: var(--text-color-primary);
  --detailed-error-modal-box-shadow: var(--bg-raised-shadow);
  --detailed-error-modal-z-index: var(--z-index-popover);
  --detailed-error-modal-font-family: var(--font-family-base);
  --detailed-error-modal-padding: var(--spacing-md);
  --detailed-error-modal-wapper-text-align: right;

  --detailed-error-content-margin-top: var(--spacing-md);
  --detailed-error-content-height: 100%;

  --detailed-error-close-button-color: var(--text-color-description);
  --detailed-error-close-button-text-transform: uppercase;

  --detailed-error-message-margin: var(--spacing-base) auto var(--spacing-lg);
  --detailed-error-message-padding: var(--spacing-base);
  --detailed-error-message-border-radius: var(--border-radius);
  --detailed-error-message-color: var(--code-block-text-color);
  --detailed-error-message-bg-color: var(--code-block-bg-color);
  --detailed-error-message-width: 100%;
  --detailed-error-message-font-size: var(--font-size-base);
  --detailed-error-message-font-family: var(--code-block-controls-font-family);
    
  --compilation-error-description-padding: 0 0 var(--spacing-base);
  --compilation-error-codeframe-margin: var(--spacing-xs) 0 0 0;
  --compilation-error-codeframe-padding: var(--spacing-xs);
  --compilation-error-block-padding: var(--spacing-base);
  --compilation-error-block-margin: var(--spacing-xl) 0;
  --compilation-error-title-font-size: var(--font-size-xl);
  --compilation-error-header-font-size: var(--font-size-lg);
  --compilation-error-text-font-size: var(--font-size-base);
  --compilation-error-header-padding: var(--spacing-sm);
  --compilation-error-container-margin: var(--spacing-xxl) auto;
  --compilation-error-container-padding: var(--spacing-lg);
  --compilation-error-page-max-width: 800px;
  --compilation-error-font-family: var(--font-family-base);  
  --compilation-error-fix-instruction-margin: var(--spacing-sm) 0 0 0;
  --compilation-error-highlighted-text-padding: 0 var(--spacing-xxs);
  --compilation-error-divider-margin: var(--spacing-base) 0;
  --compilation-error-file-header-margin: 0 0 var(--spacing-xs) 0;
`,Ff=css`
  --modal-box-shadow: var(--bg-raised-shadow);
  --modal-bg-color: var(--bg-color);
`,If=css`
  --z-index-surface: 10;
  --z-index-raised: 100;
  --z-index-popover: 200;
  --z-index-overlay: 1000;
`,Lf=css`
  --scorecard-color-error: var(--color-error-base);
  --scorecard-color-warning: var(--color-warning-base);
  --scorecard-color-success: var(--color-persian-green-7);
`,Rf=css`
  button {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-base);
    background-color: inherit;
    cursor: pointer;
    border: none;
    color: var(--text-color-primary);
  }
`,zf=css`
  /**
 * @tokens Tab Colors
 * @presenter Color
 */
  --tab-content-color-default: var(--color-warm-grey-8); // @presenter Color
  --tab-content-color-active: var(--color-warm-grey-11); // @presenter Color

  --tab-bg-color-filled: var(--color-warm-grey-2); // @presenter Color

  --tab-content-color-disabled: var(--color-warm-grey-6); // @presenter Color
  --tab-bg-color-disabled: var(--color-warm-grey-2); // @presenter Color

  --tab-border-color-active: var(--color-warm-grey-11); // @presenter Color

  // @tokens End
`,Bf=css`
  /**
    * @tokens Tab Colors
    * @presenter Color
    */

  --icon-color-primary: var(--color-warm-grey-11); // @presenter Color
  --icon-color-secondary: var(--color-warm-grey-8); // @presenter Color
  --icon-color-on-color: var(--color-static-white); // @presenter Color
  --icon-color-interactive: var(--color-blueberry-6); // @presenter Color
  --icon-color-inverse: var(--color-white); // @presenter Color
  --icon-color-disabled: var(--color-warm-grey-5); // @presenter Color
  --icon-color-additional: var(--color-warm-grey-7); // @presenter Color
  --icon-color-helper: var(--color-warm-grey-6); // @presenter Color

  --plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%23555761'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%23555761'/%3E%3C/svg%3E%0A");
  --minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%23555761'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%23555761'/%3E%3C/svg%3E%0A");

  // @tokens End
`,Vf=css`
  /**
    * @tokens Tree Colors
    * @presenter Color
    */

  --tree-content-color-default: var(--color-warm-grey-8); // @presenter Color
  --tree-content-color-disabled: var(--color-warm-grey-5); // @presenter Color
  --tree-content-color-hover: var(--color-warm-grey-9); // @presenter Color

  --tree-border-color-default: var(--color-warm-grey-3); // @presenter Color
  --tree-border-color-active: var(--color-warm-grey-3); // @presenter Color

  --tree-bg-color-hover: var(--color-hover-base); // @presenter Color
  --tree-bg-color-active: var(--color-warm-grey-2); // @presenter Color

    /**
      * @tokens Theme Scrollbar Config
      * @presenter Color
      */

    *::-webkit-scrollbar {
        width: 6px; /* Adjust scrollbar width */
        height: 6px; /* Adjust scrollbar height */
    }

    *::-webkit-scrollbar-track {
        background-color: transparent;
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--color-warm-grey-2);
        border-radius: var(--border-radius-full);
    }

    *::-webkit-scrollbar-thumb:hover {
        background: var(--bg-color-tonal);
    }

    *::-webkit-scrollbar-corner {
        background-color: transparent;
    }

  // @tokens End
`,Hf=css`
  /**
    * @tokens Replay Colors
    * @presenter Color
    */

  --replay-undefined-variable-color: rgb(249, 49, 109); // @presenter Color
  --replay-defined-variable-color: rgb(31, 124, 255); // @presenter Color
  --replay-server-variable-color: rgb(91, 76, 204); // @presenter Color
  --replay-path-parameter-color: rgb(4, 117, 161); // @presenter Color

  --replay-undefined-variable-bg-color: rgba(249, 49, 109, 0.08); // @presenter Color
  --replay-defined-variable-bg-color: rgba(31, 124, 255, 0.08); // @presenter Color
  --replay-server-variable-bg-color: rgba(119, 45, 240, 0.08); // @presenter Color
  --replay-path-parameter-bg-color: rgba(4, 117, 161, 0.08); // @presenter Color

  --replay-undefined-variable-bg-color-hover: rgba(249, 49, 109, 0.16); // @presenter Color
  --replay-defined-variable-bg-color-hover: rgba(31, 124, 255, 0.16); // @presenter Color
  --replay-server-variable-bg-color-hover: rgba(119, 45, 240, 0.16); // @presenter Color
  --replay-path-parameter-bg-color-hover: rgba(4, 117, 161, 0.16); // @presenter Color

  --replay-runtime-expression-color: rgba(54, 90, 249, 1); // @presenter Color
  --replay-runtime-expression-bg-color: rgba(54, 90, 249, 0.08); // @presenter Color
  --replay-operators-color: rgba(193, 142, 31, 1); // @presenter Color
  --replay-claude-icon-color: rgba(217, 119, 87, 1); // @presenter Color

  --replay-ai-gradient-soft: linear-gradient(62.6deg, rgba(113, 94, 254, 0.16) 0%, rgba(255, 92, 220, 0.16) 100%);
  --replay-ai-gradient-disabled: linear-gradient(62.6deg, rgba(113, 94, 254, 0.6) 0%, rgba(255, 92, 220, 0.6) 100%);
  --replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.08) 10.13%, rgba(255, 92, 220, 0.08) 87.29%);

  --replay-ai-send-button-disabled-border: 1px solid #ffffff33;

  --replay-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --replay-transition-duration: 300ms;

  @media (prefers-reduced-motion: reduce) {
    --replay-transition-duration: 0s;
  }
  // @tokens End
`,Uf=css`
  ${id}
  ${md}
  ${Df}
  ${nd}
  ${Of}
  ${Dd}
  ${wf}
  ${Od}
  ${Vu}
  ${_d}
  ${vd}
  ${yd}
  ${Hd}
  ${Ud}
  ${qu}
  ${$u}
  ${wd}
  ${Wd}
  ${jf}
  ${cd}
  ${Pf}
  ${Zu}
  ${gd}
  ${Tf}
  ${Rd}
  ${Yu}
  ${Af}
  ${Nu}
  ${Nd}
  ${Ef}
  ${kf}
  ${Pd}
  ${Ed}
  ${kd}
  ${Ad}
  ${jd}
  ${Md}
  ${Sd}
  ${Cd}
  ${Ff}
  ${bd}
  ${Nf}
  ${Td}
  ${td}
  ${xd}
  ${Xd}
  ${od}
  ${zu}
  ${Cf}
  ${Uu}
  ${xf}
  ${Zd}
  ${Mf}
  ${Gu}
  ${ud}
  ${Sf}
  ${Ld}
  ${zd}
  ${If}
  ${Lf}
  ${Fd}
  ${zf}
  ${Bf}
  ${Vf}
  ${Id}
  ${Vd}
  ${fd}
  ${Lu}
  ${Fu}
  ${Bd}
  ${Hf}
  ${Gd}
  ${Kd}
  ${qd}
  ${Jd}
  ${Yd}

`,Wf=css`
  :root {
    ${Uf}
    background-color: var(--bg-color);
    color: var(--text-color-primary);
    font-family: var(--font-family-base);
  }

  :root.dark {
    ${bf};
  }

  @media screen and (min-width: ${k.medium}) {
    :root:has([data-component-name='NavigationTabs/NavigationTabs']) {
      --navbar-stack-height: calc(var(--navbar-height) + var(--navigation-tabs-height, 48px));
      --navbar-row-bottom-border-color: transparent;
    }
  }

  :root.notransition * {
    transition: none !important;
  }

  ${Rf}
`,Gf=createGlobalStyle`
  ${Wf};
`}));function Kf(){let e=useId().replace(/:/g,`_`);return t=>`${t}-${e}`}var tre=o((()=>{})),qf=o((()=>{Le(),Ee(),Ae(),Mu(),Un(),ere(),ee(),ue(),ln(),h(),Xt(),Rr(),cr(),rr(),Qn(),ur(),Da(),er(),gt(),Fe(),Ln(),ki(),tre(),ot()}));qf();function Jf(e,t){return t?Array.from(new Set([...Object.keys(e),...Object.keys(t)])).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{}):e}function Yf(e){return e.name||e.description||e.url}var Xf=typeof window<`u`&&`HTMLElement`in window;eu();var Zf=!1;function Qf(){if(!Xf||Zf)return;let e=nre();e&&(Zf=!0,requestAnimationFrame(()=>{if(Zf=!1,!e.isConnected)return;let{top:t,bottom:n}=e.getBoundingClientRect();(n<=0||t>=window.innerHeight)&&e.scrollIntoView({block:`nearest`})}))}function nre(){for(let e of document.querySelectorAll(`[${Xl}]`)){if(e.parentElement?.closest(`[data-section-id]`))continue;let t=e.getBoundingClientRect();if(t.top<=150&&t.bottom>150)return e}return null}var rre=Object.freeze({activeDiscriminator:Object.freeze({}),activeOneOf:Object.freeze({}),activeResponseCode:``,activeExampleKey:``,activeMessageKey:``,selectedCallback:``,expandableSections:Object.freeze({}),collapsibles:Object.freeze({})});function $f(){return rre}var ep=Bo({}),ire=[`activeResponseCode`,`activeMessageKey`,`activeExampleKey`,`activeOneOf`,`activeDiscriminator`],tp=Dc(e=>Bo(t=>t(ep)[e]??$f(),(t,n,r)=>{let i=t(ep),a=i[e]??$f(),o=typeof r==`function`?r(a):r;ire.some(e=>e in o&&o[e]!==a[e])&&Qf(),n(ep,{...i,[e]:{...a,...o}})})),are=Dc(e=>Eu(tp(e.itemId),t=>t[e.key]),(e,t)=>e.itemId===t.itemId&&e.key===t.key);function np(e){return are(e)}function rp(e,t){return!e||!t||t.t!==`request`&&t.t!==`response`?e:t.schemaId?`${e}#schema=${t.schemaId}`:`${e}#${[t.cb&&`cb=${t.cb}`,`t=${t.t}`,t.c&&`c=${t.c}`].filter(Boolean).join(`&`)}`}function ip(e,t){let n=e?.length?e.join(`/`):``;return n?`${n}/${t}`:t}function ap(e){return np({itemId:e,key:`activeDiscriminator`})}function op(e){return np({itemId:e,key:`activeOneOf`})}var ore=Dc(e=>Eu(tp(e.itemId),t=>t.expandableSections[e.key]),(e,t)=>e.itemId===t.itemId&&e.key===t.key);function sp(e,t){return ore({itemId:e,key:t})}var cp=`#`;function sre(e,t){return`${e}${cp}${t}`}function lp(e){let t=e.indexOf(cp);return t===-1?e:e.slice(0,t)}var cre=Dc(e=>Eu(tp(e),e=>Object.keys(e.expandableSections),(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n])));function lre(e){return cre(e)}function up(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function dp(e){return typeof e==`object`&&!!e}var fp,pp=o((()=>{fp={DISCRIMINATOR:`Discriminator`,ONE_OF:`One of:`,ANY_OF:`Any of:`}}));function mp(e){if(e.type!==void 0&&!Array.isArray(e.type))return e.type;for(let[t,n]of Hp)if(e[t]!==void 0)return n;return`any`}function hp(e,t){return e===t||Array.isArray(e)&&e.includes(t)}function gp(e){return hp(e.type||mp(e),`array`)}function _p(e){return!e[`x-circular-ref`]&&!e[`x-complex`]&&gp(e)&&(e.items!==void 0||e.prefixItems!==void 0)}function vp(e,t){if(e[`x-circular-ref`]||e[`x-complex`])return!0;if(e.oneOf!==void 0||e.anyOf!==void 0||e.if&&e.then||e.if&&e.else||Array.isArray(e.items)||Array.isArray(e.prefixItems))return!1;if(hp(t,`object`)){let t=e.properties;if(!(t===void 0?e.additionalProperties===void 0&&e.unevaluatedProperties===void 0&&e.patternProperties===void 0:Object.keys(t).length===0))return!1}if(hp(t,`array`)&&e.items!==void 0&&typeof e.items!=`boolean`&&!Array.isArray(e.items)){if(_p(e.items))return!1;let t=vp(e.items,e.items.type||mp(e.items));return t&&yp(e.items)?!1:t}return!0}function yp(e){return!!(e.description||e.pattern||e.externalDocs||e.default!==void 0||e.const!==void 0||e.deprecated||e.contentEncoding||Sp(e).length)}function bp(e,t,n){if(t!==void 0&&n!==void 0)return t===n?`= ${t} ${e}`:`[ ${t} .. ${n} ] ${e}`;if(n!==void 0)return`<= ${n} ${e}`;if(t!==void 0)return t===1?`non-empty`:`>= ${t} ${e}`}function xp(e){let t=typeof e.exclusiveMinimum==`number`?Math.min(e.exclusiveMinimum,e.minimum??1/0):e.minimum,n=typeof e.exclusiveMaximum==`number`?Math.max(e.exclusiveMaximum,e.maximum??-1/0):e.maximum,r=typeof e.exclusiveMinimum==`number`||!!e.exclusiveMinimum,i=typeof e.exclusiveMaximum==`number`||!!e.exclusiveMaximum;if(t!==void 0&&n!==void 0)return`${r?`( `:`[ `}${t} .. ${n}${i?` )`:` ]`}`;if(n!==void 0)return`${i?`< `:`<= `}${n}`;if(t!==void 0)return`${r?`> `:`>= `}${t}`}function Sp(e){let t=[],n=e=>{e&&t.push(e)};n(bp(`characters`,e.minLength,e.maxLength)),n(bp(`items`,e.minItems,e.maxItems));let r=e.minProperties,i=e.maxProperties;n(bp(r===1&&i===1?`property`:`properties`,r,i));let a=e.multipleOf;if(a!==void 0){let e=a.toString(10);t.push(/^0\.0*1$/.test(e)?`decimal places <= ${e.split(`.`)[1].length}`:`multiple of ${e}`)}return n(xp(e)),e.uniqueItems&&t.push(`unique`),t}function Cp(e){return e.split(` or `).map(e=>e.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,`$1s$2`)).join(` or `)}function wp(e){if(!Rp(e)?.propertyName)return e.oneOf??e.anyOf}function Tp(e){return[...new Set(e.map(e=>{let{typePrefix:t,displayType:n}=Ep(e,e.type||mp(e)),r=e[`x-original-ref`]?.split(`/`).pop(),i=e.title||r,a=t+(i?`${i} (${n})`:n);return a.indexOf(` or `)>-1&&(a=`(${a})`),a}))].join(` or `)}function Ep(e,t){let n=wp(e);if(n)return{typePrefix:``,displayType:Tp(n),displayFormat:e.format||``};let r=``,i=Array.isArray(t)?t.map(e=>e===null?`null`:e).join(` or `):t,a=e.format||``;if(hp(t,`array`)){let n=e.items;if(n&&!Array.isArray(n)&&typeof n!=`boolean`&&!Array.isArray(e.prefixItems)){if(_p(n))i=`items`;else{let r=n.type||mp(n);i=Cp(Array.isArray(r)?r.join(` or `):r),a=Op(e,t)?``:n.format||``}r=`Array of `}else Array.isArray(e.prefixItems)||Array.isArray(e.items)||e.items===!1?i=`Array of items`:(i=`any`,r=`Array of `);if(Array.isArray(t)){let e=t.filter(e=>e!==`array`);e.length&&(i+=` or ${e.join(` or `)}`)}}if(e.nullable||e[`x-nullable`]){let e=Array.isArray(t)?t:[t];!e.includes(`null`)&&!e.some(e=>e===null)&&(i+=` or null`)}return{typePrefix:r,displayType:i,displayFormat:a}}function Dp(e,t){if(!hp(t,`array`)||Array.isArray(e.prefixItems))return;let n=e.items;if(up(n)&&!(n[`x-circular-ref`]||n[`x-complex`])&&!_p(n))return vp(n,n.type||mp(n))?n:void 0}function Op(e,t){let n=Dp(e,t);return n&&yp(n)?n:void 0}function kp(e,t){let{typePrefix:n,displayType:r,displayFormat:i}=Ep(e,t),a=e.contentEncoding||``,o=Sp(e),s=[n+r];return i&&s.push(`(${i})`),a&&s.push(a),s.push(...o),s.join(`, `)}function Ap(e){return typeof e==`string`?e:JSON.stringify(e)}function jp(e,t){return t?t(e):dp(e)?e:JSON.stringify(e)}function Mp(e,t){let n=e.examples;if(!n||typeof n!=`object`||Array.isArray(n))return;let r=t??Ap,i={};for(let[e,t]of Object.entries(n)){if(!t||typeof t!=`object`||Array.isArray(t))continue;let n=t,a=n.value,o={...typeof n.summary==`string`&&{summary:n.summary},...typeof n.description==`string`&&{description:n.description},...a!==void 0&&{value:r(a)}};Object.keys(o).length>0&&(i[e]=o)}return Object.keys(i).length>0?i:void 0}function Np(e,t){return up(t)&&typeof t[`x-original-ref`]==`string`?{$ref:t[`x-original-ref`]}:t}function Pp(e){return typeof e==`string`?e:JSON.stringify(e,Np)}function Fp(e){let t={},n=!1;for(let r of Object.keys(e))r.startsWith(`x-`)&&!r.startsWith(`x-redocly`)&&!Vp.has(r)&&(t[r]=Pp(e[r]),n=!0);return n?t:void 0}function Ip(e){if(e.readOnly)return`read-only`;if(e.writeOnly)return`write-only`}function Lp(e){return e[`x-enumDescriptions`]??(e.enum?.length?e.enum:void 0)}function Rp(e){return e.discriminator??e[`x-discriminator`]}function zp(e,t={}){let{isRequired:n=!1,isAdditionalProperty:r=!1,isPatternProperty:i=!1,exampleSerializer:a}=t,o=e.type||mp(e),s={type:kp(e,o)},c=e[`x-original-ref`]?.split(`/`).pop(),l=e.title||c;if(!l&&hp(o,`array`)&&!Op(e,o)){let t=e.items;t&&!Array.isArray(t)&&typeof t!=`boolean`&&(c=t[`x-original-ref`]?.split(`/`).pop(),l=t.title||c)}l&&(s.title=l),c&&(s.schemaName=c),r&&(s.isAdditionalProperty=!0),i&&(s.isPatternProperty=!0),e[`x-circular-ref`]&&(s.isCircular=!0),e[`x-complex`]&&(s.isComplex=!0),n&&(s.isRequired=!0),e.deprecated&&(s.isDeprecated=!0),e.description&&(s.description=e.description),e.pattern&&(s.pattern=e.pattern),e.example!==void 0&&(s.example=jp(e.example,a)),e.default!==void 0&&(s.default=JSON.stringify(e.default));let u=Mp(e,a);u&&(s.examples=u);let d=e[`x-badges`];d?.length&&(s.badges=d);let f=Ip(e);f&&(s.accessMode=f);let p=Lp(e);p&&(s.enum=p);let m=Fp(e);return m&&(s.extensions=m),e.externalDocs&&(s.externalDocs={description:e.externalDocs.description||``,url:e.externalDocs.url||``}),e.const!==void 0&&(s.const=JSON.stringify(e.const)),s}function Bp(e,t,n,r){let i=Dp(t,n);i&&!yp(i)&&(e.enum||=Lp(i),e.example===void 0&&i.example!==void 0&&(e.example=jp([i.example],r)))}var Vp,Hp,Up=o((()=>{pp(),Vp=new Set([`x-circular-ref`,`x-allof-cycle`,`x-complex`,`x-nullable`,`x-badges`,`x-enumDescriptions`,`x-additionalPropertiesName`,`x-discriminator`,`x-displayName`,`x-parentRefs`,`x-original-ref`]),Hp=Object.entries({multipleOf:`number`,maximum:`number`,exclusiveMaximum:`number`,minimum:`number`,exclusiveMinimum:`number`,maxLength:`string`,minLength:`string`,pattern:`string`,contentEncoding:`string`,contentMediaType:`string`,items:`array`,maxItems:`array`,minItems:`array`,uniqueItems:`array`,maxProperties:`object`,minProperties:`object`,required:`object`,properties:`object`,additionalProperties:`object`,patternProperties:`object`})}));function Wp(e,t){let n={type:t.type,...e},{typePrefix:r,displayType:i,displayFormat:a}=Ep(n,n.type||mp(n)),o=`${r}${i}`;return a&&(o+=` (${a})`),{label:e.title||e[`x-original-ref`]?.split(`/`).pop()||(e.const===void 0?void 0:Ap(e.const))||o,typeLabel:o}}var Gp=o((()=>{Up()}));_c(),Gp();function Kp(e){return e.discriminator}function qp(e){return e.startsWith(`#/`)?e.slice(2):e}function Jp(e,t,n=new Set){if(!e)return;let r=Kp(e);if(r?.propertyName&&(r.mapping||e.oneOf||e.anyOf))return{propertyName:r.propertyName,mapping:r.mapping??{},...r.defaultMapping&&{defaultMapping:r.defaultMapping},...(Array.isArray(e.oneOf)||Array.isArray(e.anyOf))&&{variantsNode:e}};let i=e.allOf;if(Array.isArray(i))for(let e of i){if(!e||typeof e!=`object`)continue;let r=e;if(typeof r.$ref==`string`){let e=qp(r.$ref);if(n.has(e))continue;n.add(e);let i=t[e];if(i){let e=Jp(i.data,t,n);if(e)return e}continue}let i=Jp(r,t,n);if(i)return i}}function Yp(e){return!!e&&typeof e==`object`&&!Array.isArray(e)&&Object.keys(e).length>0}function Xp(e,t){if(!e||typeof e!=`object`)return;let n=e;if(typeof n.$ref!=`string`)return;let r=qp(n.$ref);return t[r]?r:void 0}var Zp=`One of:`,Qp=`Any of:`,$p=`Default mapping`;function em(e){return!!e?.deprecated}function tm(e,t){if(!e||typeof e!=`object`)return{};let n=e;if(typeof n.$ref==`string`){let e=t[qp(n.$ref)];if(!e)return{};let r={...e.data};return r[`x-original-ref`]=n.$ref,r}return n}function nm(e,t){let n=qp(e),r=t[n];return r?{schemaId:n,entry:r}:void 0}function rm(e,t,n){let r=Object.entries(e.mapping);if(r.length===0)return;let i=e.defaultMapping,a=[];for(let[e,n]of r){let r=nm(n,t);r&&a.push({label:e,schemaId:r.schemaId,mappingKey:e,isDeprecated:em(r.entry.data)})}let o=i?nm(i,t):void 0;if(i&&o){let e=i.split(`/`).pop(),t=a.findIndex(t=>t.label===e);t!==-1&&a.splice(t,1),a.push({label:$p,schemaId:o.schemaId,isDefaultMapping:!0,isDeprecated:em(o.entry.data)})}return{kind:`discriminator`,stateKey:ip(n,e.propertyName),options:a,localPart:e.propertyName,parentPath:n}}function im(e,t,n,r,i){if(!e.length)return;let a=i===`anyOf`?Qp:Zp,o=[],s=new Map;for(let r=0;r<e.length;r++){let i=e[r],{label:a}=Wp(tm(i,n),t),c=(s.get(a)??0)+1;s.set(a,c);let l=c===1?a:`${a} (${c})`,u=Xp(i,n)??``;o.push({label:l,schemaId:u,isDeprecated:em(n[u]?.data??i)})}return{kind:i,stateKey:ip(r,a),options:o,localPart:a,parentPath:r}}function am(e,t,n){let r=Jp(e,t);if(r){let i=rm(r,t,n);if(i&&i.options.length>0)return i;let a=r.variantsNode??e;for(let e of[`oneOf`,`anyOf`]){let i=a[e];if(!Array.isArray(i)||i.length===0)continue;let o=im(i,a,t,n,e);if(o&&o.options.length>0)return{...o,kind:`discriminator`,localPart:r.propertyName,stateKey:ip(n,r.propertyName)}}}if(Array.isArray(e.oneOf)&&e.oneOf.length>0){let r=im(e.oneOf,e,t,n,`oneOf`);if(r&&r.options.length>0)return r}if(Array.isArray(e.anyOf)&&e.anyOf.length>0){let r=im(e.anyOf,e,t,n,`anyOf`);if(r&&r.options.length>0)return r}}function om(e,t,n=new Map,r=new Set,i=[]){if(!e||e.example!==void 0||Array.isArray(e.examples)&&e.examples.length>0)return n;let a=(e,a=i)=>{if(!e||typeof e!=`object`)return;let o=e;if(typeof o.$ref==`string`){let e=qp(o.$ref);if(r.has(e))return;r.add(e);let i=t[e]?.data;if(!i)return;let s=am(i,t,a);s&&s.options.length>1&&n.set(s.stateKey,s),om(i,t,n,r,a);return}let s=am(o,t,a);s&&s.options.length>1&&n.set(s.stateKey,s),om(o,t,n,r,a)},o=e.properties;if(o&&typeof o==`object`)for(let[e,t]of Object.entries(o))a(t,[...i,e]);let s=i.length>0?[...i.slice(0,-1),`${i[i.length-1]}[]`]:i;a(e.items,s);for(let t of[`oneOf`,`anyOf`,`allOf`]){let n=e[t];if(Array.isArray(n))for(let e of n)a(e,i)}return n}function sm(e,t,{includeNested:n=!1}={}){let r=t[e];if(!r)return;let i=am(r.data,t,[]);if(i&&i.options.length>0)return i;if(!n)return;let a=om(r.data,t);if(a.size===1)return a.values().next().value}function cm(e,t,n){let r=e.kind===`discriminator`?t:n;if(!r)return 0;let i=r[e.stateKey];if(i!==void 0&&i>=0&&i<e.options.length)return i;let a=Object.entries(r).filter(([t])=>t.endsWith(`/${e.stateKey}`)||e.stateKey.startsWith(`&`)&&t.endsWith(e.stateKey)||t.includes(`/`)&&e.stateKey.endsWith(`/${t}`));if(a.length===1){let[,t]=a[0];if(t>=0&&t<e.options.length)return t}return 0}var lm=` / `;function um(e){return Array.isArray(e.oneOf)||Array.isArray(e.anyOf)}function dm(e,t){return!e||!t||Kp(t)?!1:fm(e)}function fm(e){return!!e&&(um(e)||!!Kp(e)?.mapping)}function pm(e){return e.options.length>1&&e.options.every(e=>e.schemaId)}function mm(e,t,n){return{...t,key:t.schemaId||t.label,picks:[{axis:e,idx:n}]}}function hm(e,t){return{...t,label:`${e.label}${lm}${t.label}`,key:`${e.key}${lm}${t.key}`,isDeprecated:e.isDeprecated||t.isDeprecated,picks:[...e.picks,...t.picks]}}function gm(e,t,n,r,i){let a=r[t.schemaId]?.data;if(!a||i.has(t.schemaId)||!um(a))return;let o=e.kind===`discriminator`?`&d=${n}`:`&oneof=${n}`,s=am(a,r,ec(e.parentPath,o));return s&&pm(s)?s:void 0}function _m(e,t,n=new Set){return e.options.flatMap((r,i)=>{let a=mm(e,r,i),o=gm(e,r,i,t,n);return o?_m(o,t,new Set([...n,r.schemaId])).map(e=>hm(a,e)):[a]})}function vm(e,t,n){let r=sm(e,t,n);return r&&_m(r,t,new Set([e]))}function ym(e,t,n){let r=n[t.schemaId]?.data;for(let i=t.picks.length-1;r&&i>=0;i--){let{axis:a,idx:o}=t.picks[i],s=t.picks[i-1],c=s?s.axis.options[s.idx].schemaId:e,l=n[c]?.data;if(!l)return;let u=Im(r,c,l);r=a.kind===`discriminator`?jm(u,a.localPart,a.options[o].mappingKey):u}return r}function bm(e,t){let n={};for(let{axis:r,idx:i}of t){let t=r.kind===`discriminator`?`activeDiscriminator`:`activeOneOf`;n[t]={...n[t]??e[t],[r.stateKey]:i}}return n}function xm(e){return e&&Object.fromEntries(Object.entries(e).filter(([e])=>e[0]!==`&`))}function Sm({axis:e,idx:t},n){return cm(e,n.activeDiscriminator,n.activeOneOf)===t}function Cm(e,t,n){let r={activeDiscriminator:t,activeOneOf:n},i={activeDiscriminator:xm(t),activeOneOf:xm(n)},a=e.findIndex(e=>e.picks.every(e=>Sm(e,e.axis.parentPath.length?r:i)));return Math.max(a,0)}function wm(e,t,n,r){let i=sm(e,t);if(!i)return;let a=cm(i,n,r),o=i.options[a]??i.options[0];if(o?.schemaId&&t[o.schemaId])return o}function Tm(e){return e.length===0?e:[...e.slice(0,-1),`${e[e.length-1]}[]`]}function Em(e,t,n,r,i){let a=Kp(e);if(!a?.propertyName)return;let o=am(e,t,n);if(!o)return;let s=cm(o,r,i),c=o.options[s]??o.options[0];if(!c?.schemaId||!t[c.schemaId])return;let{oneOf:l,anyOf:u,discriminator:d,...f}=e,p={allOf:[{$ref:`${Am}${c.schemaId}`}]};return{...f,...jm(p,a.propertyName,c.mappingKey)}}function Dm(e,t,n,r,i=[]){let a=(e,i,o=!1)=>{if(!e||typeof e!=`object`)return e;if(Array.isArray(e))return e.map(e=>a(e,i));let s=e;if(typeof s.$ref==`string`)return s;if(!o){let e=Em(s,t,i,n,r);if(e)return a(e,i)}if(!Kp(s))for(let e of[`oneOf`,`anyOf`]){let n=s[e];if(!Array.isArray(n)||n.length===0)continue;let o=im(n,s,t,i,e),c=n[o?cm(o,void 0,r):0]??n[0];if(!Yp(c))continue;let{oneOf:l,anyOf:u,...d}=s;return a({...d,...c},i)}let c={};for(let[e,t]of Object.entries(s))if(e===`properties`&&Yp(t)){let n={};for(let[e,r]of Object.entries(t))n[e]=a(r,[...i,e]);c[e]=n}else c[e]=e===`items`?a(t,Tm(i)):e===`allOf`||e===`oneOf`||e===`anyOf`?a(t,i):t;return c};return a(e,i,!0)}function Om(e,t){return e.type!==void 0||t.type===void 0?e:{...e,type:t.type}}function km(e,t,n){let r={};for(let[i,a]of Object.entries(e)){if(!a.data)continue;let o=fm(a.data)?vm(i,e):void 0,s=o?.[Cm(o,t,n)],c=s&&s.picks.length>1&&ym(i,s,e);if(c){r[i]=Om(c,a.data);continue}let l=Kp(a.data);if(l?.propertyName&&(l.mapping||Array.isArray(a.data.oneOf)||Array.isArray(a.data.anyOf))){let o=wm(i,e,t,n),s=o&&o.schemaId!==i?e[o.schemaId]?.data:void 0;r[i]=s?Om(jm(Im(s,i,a.data),l.propertyName,o?.mappingKey),a.data):a.data;continue}let u=!1;for(let t of[`oneOf`,`anyOf`]){let o=a.data[t];if(!Array.isArray(o))continue;let s=im(o,a.data,e,[],t);if(!s||s.options.length<=1)continue;let c=cm(s,void 0,n),l=s.options[c]??s.options[0];if(!l?.schemaId||!e[l.schemaId])continue;let d=e[l.schemaId].data;r[i]=Om(Im(d,i,a.data),a.data),u=!0;break}u||(r[i]=a.data)}for(let[i,a]of Object.entries(r))r[i]=Dm(a,e,t,n);return r}var Am=`#/`;function jm(e,t,n){if(!n)return e;let r={properties:{[t]:{enum:[n]}}};return Array.isArray(e.allOf)?{...e,allOf:[...e.allOf,r]}:Fm({allOf:[e,r]},e)}function Mm(e){let t=new Set([`${Am}${e}`]);return e.startsWith(`components/schemas/`)?t.add(`${Am}${e.replace(`components/schemas/`,``)}`):t.add(`${Am}components/schemas/${e}`),Array.from(t)}function Nm(e){let{discriminator:t,oneOf:n,anyOf:r,example:i,examples:a,default:o,...s}=e;return s}var Pm=new Set([`type`,`title`,`description`]);function Fm(e,t){return t.xml===void 0?e:{...e,xml:t.xml}}function Im(e,t,n){let r=Mm(t),i=Nm(n),a=Rm(e,r)?zm(e,r,i):e,o=Object.keys(i).some(e=>!Pm.has(e));return Lm(e,t)||!o?a:Fm({allOf:[i,a]},a)}function Lm(e,t){let n=Mm(t);return Array.isArray(e.allOf)&&e.allOf.some(e=>Yp(e)&&n.includes(e.$ref))}function Rm(e,t){if(!e||typeof e!=`object`)return!1;if(Array.isArray(e))return e.some(e=>Rm(e,t));let n=e;if(typeof n.$ref==`string`&&t.includes(n.$ref))return!0;for(let e of Object.values(n))if(Rm(e,t))return!0;return!1}function zm(e,t,n){if(!e||typeof e!=`object`)return e;if(Array.isArray(e))return e.map(e=>zm(e,t,n));let r=e;if(typeof r.$ref==`string`&&t.includes(r.$ref))return{...n};let i={};for(let[e,a]of Object.entries(r))i[e]=zm(a,t,n);return i}function Bm(e){return e?Gm.has(e.toLowerCase()):!1}function Vm(e){return e?e.search(/json/i)!==-1:!1}function Hm(e){if(!e)return`clike`;let t=e.toLowerCase();return t.includes(`xml`)?`xml`:t.includes(`application/json-seq`)?`json-seq`:t.includes(`application/jsonl`)||t.includes(`application/x-ndjson`)?`jsonl`:t.includes(`multipart/mixed`)?`multipart-mixed`:t.includes(`text/event-stream`)?`yaml`:t.includes(`json`)?`json`:`clike`}function Um(e){if(!e)return`clike`;let t=e.toLowerCase();return t.includes(`/`)?Hm(t):t}function Wm(e){return!!e&&e.toLowerCase().includes($l.URL_ENCODED)}var Gm,Km=o((()=>{eu(),Gm=new Set([$l.JSONL,$l.NDJSON,$l.JSON_SEQ,$l.EVENT_STREAM,$l.MULTIPART_MIXED])}));B(),Km();var qm=Bo(e=>e(ms).exampleStore??{});function Jm(e){let t={};for(let[n,r]of Object.entries(e)){let e=n.startsWith(`components/schemas/`)?n.replace(`components/schemas/`,``):n;t[e]=r}return{openapi:`3.0.0`,info:{title:``,version:``},paths:{},components:{schemas:t}}}function Ym(e,t){return!!e&&Object.keys(e).length>0||!!t&&Object.keys(t).length>0}var Xm=Bo(e=>km(e(Oc))),Zm=Dc(e=>Bo(t=>{if(!e)return t(Xm);let n=t(ap(e)),r=t(op(e));return Ym(n,r)?km(t(Oc),n,r):t(Xm)})),Qm=Bo(e=>Jm(e(Xm))),$m=Dc(e=>Bo(t=>{let n=t(Zm(e));return n===t(Xm)?t(Qm):Jm(n)})),eh=``;function th(e,t,n,r){return e?JSON.stringify({itemId:r??``,schemaId:e,context:t??``,mediaType:n??``}):eh}function nh(e){if(e)try{let t=JSON.parse(e);if(!t||typeof t.schemaId!=`string`||!t.schemaId)return;let n=typeof t.itemId==`string`?t.itemId:``,r=typeof t.context==`string`?t.context:``,i=typeof t.mediaType==`string`?t.mediaType:``;return{itemId:n,schemaId:t.schemaId,context:r===`request`||r===`response`?r:void 0,mediaType:i||void 0}}catch{return}}var rh=Dc(e=>{let t=nh(e);return Bo(e=>{if(!t)return;let{itemId:n,schemaId:r,context:i,mediaType:a}=t,o=e(Oc)[r];if(!o||o.kind!==rs.JSON_SCHEMA)return;let s=e($m(n)),c=e(Zm(n))[r]??o.data,{onlyRequiredInSamples:l,generatedSamplesMaxDepth:u}=e(ds),d=a?.toLowerCase(),f=d?d.includes(`xml`):!1;try{let e={context:i,skipNonRequired:i!==`response`&&l,maxSampleDepth:u,isXml:f},t=oh(c,s,e);return t==null?t:d&&Bm(d)?ih(o.data,t,s,e,d):t}catch{return}})});function ih(e,t,n,r,i){let a=ah(e);if(a.length>0){let t=a.map(e=>oh(e,n,r)).filter(e=>e!=null);if(t.length>0)return xu(t,i,e,!1)}return xu(t,i,e,!0)}function ah(e){let t=e.oneOf;return Array.isArray(t)?t.filter(e=>typeof e==`object`&&!!e):[]}function oh(e,t,{context:n,skipNonRequired:r,maxSampleDepth:i,isXml:a}){return ql(e,{skipReadOnly:n===`request`,skipWriteOnly:n===`response`,quiet:!0,skipNonRequired:r,maxSampleDepth:i,...a&&{format:`xml`}},t)}Ds();function sh(e,t,n={path:`/`}){if(typeof document>`u`)return;typeof n.expires==`number`&&(n.expires=new Date(Date.now()+n.expires*864e5)),n.expires&&=n.expires instanceof Date?n.expires.toUTCString():n.expires,e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,xs).replace(/[()]/g,escape);let r=``;for(let e in n)n[e]&&(r+=`; `+e,n[e]!==!0&&(r+=`=`+String(n[e]).split(`;`)[0]));return document.cookie=e+`=`+dh(t)+r}function ch(e,t){let n=typeof document<`u`?document.cookie:t,r=n?n.split(`; `):[],i={};for(let t=0;t<r.length;t++){let n=r[t].split(`=`),a=n.slice(1).join(`=`);try{let t=xs(n[0]);if(t in i||(i[t]=uh(a)),e===t)break}catch{}}return e?i[e]:``}function lh(e,t={path:`/`}){sh(e,``,{...t,expires:-1})}function uh(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,xs)}function dh(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,xs)}function fh(e,t){Xf&&window.sessionStorage.setItem(`redoc.`+e,t)}function ph(e){return Xf&&window.sessionStorage.getItem(`redoc.`+e)||``}pe();var mh=fe.THREE_PANEL;pe(),Bt(),Ds();var hh={activeMimeName:``,layout:mh,colorMode:``,language:``,environment:``,environments:{},allowedEnvironments:null},gh=`redoc.colorMode`,_h=Au(`redoc.appStore`,hh,{getItem:e=>{let t=Cs(ch(e,globalThis.redoclyCookieStorage?.getStore?.())),n=Cs(ph(e)),r={...hh,...n,...t};if(!Xf)return r;let i=window.localStorage.getItem(`redoc.colorMode`)||r.colorMode;return i&&window.localStorage.setItem(gh,i),{...r,colorMode:i}},setItem:(e,t)=>{let{environments:n,colorMode:r,...i}=t,a={environments:n};sh(e,JSON.stringify(i)),fh(e,JSON.stringify(a)),Xf&&r&&window.localStorage.setItem(gh,r)},removeItem:e=>{lh(e),sessionStorage.removeItem(e),localStorage.removeItem(gh)}}),vh=Bo(e=>{let t=e(_h),n=Jf(t.environments,{}),r=t.environment,i=Object.keys(n).find(e=>n[e]?.server===r),a=n[r]?r:i??Object.keys(n)[0],o=n[a]||{};return!o.server&&i&&(o={...n[i],...o}),[o,a||``]},(e,t,{environment:n,environments:r})=>{let i=e(_h);t(_h,{...i,environment:n||i.environment,environments:Jf(i.environments||{},r)})}),yh=Bo(e=>e(_h).environment),bh=Bo(e=>e(_h).activeMimeName,(e,t,n)=>{t(_h,{...e(_h),activeMimeName:n})}),xh=Bo(void 0),Sh=Bo(e=>e(xh)??(e(bh)||void 0),(e,t,n)=>{t(xh,void 0),(n??``)!==e(bh)&&Qf(),t(bh,n??``)}),Ch=Bo(e=>e(_h).layout,(e,t,n=fe.STACKED)=>{t(_h,{...e(_h),layout:n})}),wh=Au(`redoc.appSessionStore`,{collapsedSidebar:!1,unsupportedFeatureScreen:!1},Xf?Ou(()=>sessionStorage):void 0),Th=Bo(!1),Eh=[_e.LIGHT,_e.DARK];function Dh(e){let t=document.documentElement;Eh.forEach(e=>t.classList.remove(e)),t.classList.add(e,`notransition`),window.requestAnimationFrame(()=>{t.classList.remove(`notransition`)})}var Oh=Bo(e=>{let t=e(_h).colorMode||(Xf&&window.matchMedia?.(`(prefers-color-scheme: dark)`).matches?_e.DARK:_e.LIGHT);return Xf&&Dh(t),t},(e,t,n)=>{t(_h,{...e(_h),colorMode:n})}),kh=Bo(e=>e(wh).collapsedSidebar,(e,t,n)=>{t(wh,{...e(wh),collapsedSidebar:n})}),Ah=Bo(e=>{let{codeSamples:t}=e(ds);if(!t?.languages)return{languages:[],activeLanguage:e(_h).language||``};let n=t.languages.map(({key:e,label:t,lang:n},r)=>({key:e,lang:n,title:t,order:r})),r=e(_h).language||n[0]?.key;return{languages:n,activeLanguage:n.find(({key:e})=>e===r)?.key||n[0]?.key}},(e,t,n)=>{t(_h,{...e(_h),language:n})}),jh=Bo(null),Mh=Bo([]),Nh=0,Ph=new Set;function Fh(){Nh+=1;for(let e of Ph)e()}function Ih(e){return Ph.add(e),()=>{Ph.delete(e)}}function Lh(){return Nh}function Rh(){return 0}function zh(){return useSyncExternalStore(Ih,Lh,Rh)}function Bh(e){if(!e.startsWith(`#/`))return e;let t=e.indexOf(`#`,1);return t===-1?``:e.slice(t)}var Vh=`redocly:urlreplace`;function Hh(){let e=useLocation(),t=useRef(e.hash),n=useRef(e.key),r=useRef(!1);useEffect(()=>{if(typeof window>`u`)return;let e=()=>{t.current=Bh(window.location.hash)},n=()=>{let e=Bh(window.location.hash);!r.current&&e&&e===t.current&&Fh(),t.current=e};return window.addEventListener(`hashchange`,n),window.addEventListener(`popstate`,e),window.addEventListener(Vh,e),()=>{window.removeEventListener(`hashchange`,n),window.removeEventListener(`popstate`,e),window.removeEventListener(Vh,e)}},[]),useEffect(()=>{if(typeof window>`u`)return;let i=e.key===n.current;if(n.current=e.key,e.hash!==t.current){t.current=e.hash,r.current=!0,window.dispatchEvent(new HashChangeEvent(`hashchange`)),r.current=!1;return}!i&&e.hash&&Fh()},[e])}function Uh(e){return t=>{if(typeof window>`u`)return()=>{};for(let n of e)window.addEventListener(n,t);return()=>{for(let n of e)window.removeEventListener(n,t)}}}var Wh=Uh([`hashchange`,`popstate`]),Gh=Uh([`hashchange`,`popstate`,Vh]);function Kh(){return typeof window>`u`?``:Bh(window.location.hash)}function qh(){return``}function Jh(e){return useSyncExternalStore(e?.trackSilentReplaces?Gh:Wh,Kh,qh)}Km(),_c(),Ns();function Yh(e){let t=I(qm);return!e||e.length===0?[]:e.map(e=>t[e]).filter(Boolean)}function Xh(e,t,n,r,i){let a=Yh(t),o=rp(useContext(bc)??``,i),s=r?.toLowerCase(),c=I(rh(e?th(e,n,r,o):``)),l=I(Oc);if(a.length>0){if(s&&Bm(s)){let t=e?l[e]?.data:void 0;return a.map(e=>typeof e.value==`string`?e.value:xu(e.value,s,t))}return a.map(e=>e.value)}return c===void 0?[]:[c]}function Zh(e,t){return Ec(useMemo(()=>e?Ys(`response`,t,e):``,[e,t]))}function Qh(e,t,n){let r=Jh(),i=I(ps),a=Sc();return useMemo(()=>{if(!e)return;let o=Ks(r),s=(js(e,i)??``).toLowerCase();if(!cc(o,s)||!(a?ute(o,s,a):dte(o,s)))return;let c=ac(r,n);if(c)return t?.find(e=>e.toLowerCase()===c)},[r,e,t,n,i,a])}function $h(e,t){let n=Qo(xh),r=Qh(e,t,`ct`),i=zh(),a=useRef(void 0);useEffect(()=>{r&&(n(r),a.current=r)},[r,i,n]),useEffect(()=>()=>{let e=a.current;e&&n(t=>t===e?void 0:t)},[n])}function eg(e,t){let n=I(qm),r=Qo(tp(e??``)),i=Qh(e,useMemo(()=>(t??[]).map(e=>n[e]?.key).filter(e=>!!e),[t,n]),`ex`),a=zh();useEffect(()=>{i&&r({activeExampleKey:i})},[i,a,r])}function tg(){let e=I(ms);return useMemo(()=>{let t={};return Object.keys(e.schemaStore).forEach(n=>{let r=e.schemaStore[n],i=n.split(`/`).pop()??n;t[i]=r.data}),{openapi:`3.0.0`,components:{schemas:t}}},[e.schemaStore])}_c();function ng(e,t){if(!e)return``;if(e.pathOnly)return t?Js({path:t}):``;if(e.asyncSection){let n=Xs({section:e.asyncSection,messageKey:e.messageKey,subsection:e.t});return t&&(n+=`&path=${t}`),n}return Js({t:e.t,in:e.in,c:e.c,cb:e.cb,ct:e.ct,path:t})}function rg(e){let t=useContext(wc);return mte(useMemo(()=>ng(t,e),[t,e]))}function ig(){let e=useContext(wc);return useMemo(()=>ng(e,``),[e])}function ag(){return I(sp(useContext(bc)??``,ig()))}var og=styled(e=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,...e,children:[jsx(`rect`,{width:`16`,height:`16`,fill:`none`}),jsx(`path`,{d:`M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM8 14C6.81332 14 5.65328 13.6481 4.66658 12.9888C3.67989 12.3295 2.91085 11.3925 2.45673 10.2961C2.0026 9.19974 1.88378 7.99334 2.11529 6.82946C2.3468 5.66557 2.91825 4.59647 3.75736 3.75736C4.59648 2.91824 5.66558 2.3468 6.82946 2.11529C7.99335 1.88378 9.19975 2.0026 10.2961 2.45672C11.3925 2.91085 12.3295 3.67988 12.9888 4.66658C13.6481 5.65327 14 6.81331 14 8C14 9.5913 13.3679 11.1174 12.2426 12.2426C11.1174 13.3679 9.5913 14 8 14Z`,fill:`currentColor`}),jsx(`path`,{d:`M7 10.625L4.5 8.145L5.295 7.375L7 9.05L10.705 5.375L11.5 6.165L7 10.625Z`,fill:`currentColor`})]})).attrs({"data-component-name":`icons/RadioCheckButtonIcon/RadioCheckButtonIcon`})``;jo(),na(),Bt();function sg({settings:e,onSubmit:t,onCancel:n,className:r,standAlone:i=!0,isDialog:a=!1}){let{useTranslate:o}=sr(),{translate:s}=o(),{label:c,submitText:l}=e||{},[u,d]=React.useState(``),[f,p]=React.useState(``),[m,h]=React.useState(!1),g=useRef(null);return nr(g,n),f?jsx(ug,{"data-component-name":`Feedback/Comment`,className:r,children:jsxs(cg,{children:[jsx(dg,{"data-translation-key":`feedback.settings.comment.submitText`,$standAlone:i,children:l||s(`feedback.settings.comment.submitText`,`Thank you for helping improve our documentation!`)}),jsx(og,{})]})}):jsxs(lg,{ref:g,"data-component-name":`Feedback/Comment`,className:r,style:i?{width:`var(--feedback-report-dialog-width)`}:{width:`auto`},children:[jsx(dg,{"data-translation-key":`feedback.settings.comment.label`,$standAlone:i,children:c||s(`feedback.settings.comment.label`,`Please share your feedback with us.`)}),jsx(fg,{rows:3,maxLength:Tt,onChange:e=>{let n=e.target.value;d(n),h(n.length>=Tt),i||t({comment:n})}}),m&&jsx(mg,{"data-translation-key":`feedback.settings.comment.maxLength`,children:s(`feedback.settings.comment.maxLength`,{maxLength:5e3,defaultValue:`Maximum content length of 5000 characters reached`})}),i&&jsxs(pg,{children:[n&&jsx(ta,{"data-translation-key":`feedback.settings.comment.cancel`,onClick:n,variant:`text`,size:`small`,children:s(`feedback.settings.comment.cancel`,`Cancel`)}),jsx(ta,{"data-translation-key":`feedback.settings.comment.send`,onClick:()=>{let e=u.trim();e&&(p(e),t({comment:e}))},variant:a?`primary`:`secondary`,size:`small`,children:s(`feedback.settings.comment.send`,`Send`)})]})]})}var cg=styled.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xs);

  > svg {
    margin: var(--button-icon-padding) 0; /* prevent hight of the parent jumping */
  }
`,lg=styled.div`
  font-family: var(--font-family-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--border-radius-lg);
  background: var(--feedback-bg-color);
  gap: var(--spacing-xxs);

  max-width: var(--feedback-report-dialog-max-width);
`,ug=styled(lg)`
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-xxs);
`,dg=styled.h4`
  font-weight: var(--font-weight-regular);
  font-size: var(--feedback-font-size);
  line-height: var(--feedback-line-height);

  ${({$standAlone:e})=>e&&css`
      font-size: var(--feedback-header-font-size);
      line-height: var(--feedback-header-line-height);
    `}

  margin: 0;
`,fg=styled.textarea`
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  border: var(--input-border);
  outline: none;
  color: var(--feedback-text-color);
  font-family: var(--feedback-font-family);
  padding: 10px;

  /* min height of 3 rows + padding */
  min-height: calc(var(--line-height-base) * 3 + 20px);
  min-width: var(--feedback-comment-min-width);
  max-width: var(--feedback-comment-max-width);
  resize: vertical;
`,pg=styled.div`
  display: flex;
  justify-content: end;
  margin-bottom: var(--spacing-xxs);
  margin-top: var(--spacing-xs);
  gap: var(--spacing-xs);
`,mg=styled.div`
  font-size: var(--font-size-sm);
  color: var(--text-color-secondary);
  margin-top: var(--spacing-xxs);
`;jo(),Ni(),F();function hg({location:e,settings:t,onSubmit:n,onCancel:r,submitFeedback:i,lang:a}){let{label:o}=t,{useTelemetry:s}=sr(),{pathname:c}=useLocation(),l=s();return jsx(Mi,{children:jsx(gg,{className:`scroll-lock`,"data-component-name":`Feedback/ReportDialog`,children:jsx(sg,{settings:{label:o},onSubmit:async t=>{await i({type:`problem`,values:t,location:e,path:c,lang:a}),l.sendCodeSnippetReportedMessage([Ve(`codeSnippet`,`markdocTag`)]),n()},isDialog:!0,onCancel:r})})})}var gg=styled.div`
  font-family: var(--font-family-base);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color-modal-overlay);
  z-index: var(--z-index-overlay);
  display: flex;
  align-items: center;
  justify-content: center;

  & > * {
    background: var(--modal-bg-color);
    box-shadow: var(--modal-box-shadow);
    padding: var(--spacing-base);
    margin: var(--spacing-base);
    max-width: var(--feedback-report-dialog-max-width);
    width: var(--feedback-report-dialog-width);
    max-height: var(--feedback-report-dialog-max-height);
  }
`;F();function _g(e){let{hideCodeColors:t,wrapContents:n,maxHeight:r,...i}=e;return jsx(vg,{...i,$hideCodeColors:t,$wrapContents:n,$maxHeight:r,"data-component-name":`CodeBlock/CodeBlockContainer`})}var vg=styled.pre`
  && {
    overflow-x: auto;
    font-family: var(--code-block-font-family);
    line-height: var(--code-block-line-height);
    font-weight: var(--code-block-font-weight);
    padding: var(--code-block-padding);
    margin: var(--code-block-margin);
    color: var(--code-block-text-color);
    font-size: var(--code-block-font-size);
    white-space: ${({$wrapContents:e})=>e?`pre-wrap`:`var(--code-wrap, pre)`};
    max-height: ${({$maxHeight:e})=>e||`var(--code-block-max-height, 600px);`};
    word-break: var(--code-block-word-break, initial);
    border-radius: var(--border-radius-xl);

    pre,
    code {
      font-family: var(--code-block-font-family);
    }
  }

  .highlighted {
    background: var(--code-block-highlighted-bg-color);
    margin-left: calc(var(--spacing-sm) * -1);
    padding-left: var(--spacing-sm);
    width: calc(100% + var(--spacing-sm));
    display: inline-block;
    border-left: var(--code-block-highlighted-border-left);

    &.error {
      background: var(--color-error-bg);
      border-left: 1px solid var(--color-error-base);
    }

    &.warning {
      background: var(--color-warning-bg);
      border-left: 1px solid var(--color-warning-base);
    }
  }

  [data-line-number] {
    &::before {
      content: attr(data-line-number);
      display: inline-block;
      min-width: 2em;
      padding-right: 0.8em;
      text-align: right;
      pointer-events: none;
      user-select: none;
    }
  }

  .has-diff {
    > .line {
      &::before {
        content: attr(data-line-number) '  ';
        display: inline-block;
        padding-right: 0.4em;
        text-align: right;
        pointer-events: none;
        user-select: none;
      }
      &[data-line-number]::before {
        min-width: 3em;
      }
    }
  }

  .diff {
    margin-left: calc(var(--spacing-sm) * -1);
    padding-left: var(--spacing-sm);
    width: calc(100% + var(--spacing-sm));
    display: inline-block;

    &.add {
      background: var(--color-success-bg);
      border-left: 1px solid var(--color-success-base);
      &:before {
        content: attr(data-line-number) ' +';
        color: var(--color-success-active);
      }
    }
    &.remove {
      background: var(--color-error-bg);
      border-left: 1px solid var(--color-error-base);

      &:before {
        content: attr(data-line-number) ' -';
        color: var(--color-error-active);
      }
    }
  }

  .highlighted-word {
    background: var(--color-carrot-2);
    border: 1px solid var(--color-carrot-5);
    border-radius: 4px;
  }

  .has-focused {
    .line {
      margin-left: calc(var(--spacing-sm) * -1);
      padding-left: var(--spacing-sm);
      width: calc(100% + var(--spacing-sm));
      display: inline-block;

      opacity: 0.7;
      filter: blur(0.095rem);
      transition:
        filter 0.35s,
        opacity 0.35s;
      &.focused {
        opacity: 1;
        filter: blur(0);
      }
    }

    &:hover {
      .line {
        opacity: 1;
        filter: blur(0);
      }
    }
  }

  /*
  * Tree view styles
   */

  .shiki {
    &.theme {
      display: inline-block;
      width: 100%;

      &.tree-view-root {
        display: flex;
        flex-direction: column;
      }
    }
  }

  . .line {
    display: inline-block;
  }

  .tree-view-line {
    display: flex;
  }

  .tree-view-comment {
    color: var(--code-block-tree-view-comment-color);
  }

  .tree-view-branch {
    color: var(--code-block-tree-view-lines-color);
  }

  .tree-view-file {
    display: inline-flex;
    &::before {
      content: '\\ea01';
      margin-left: 0.3rem;
      margin-right: 0.5rem;
      font-family: 'TreeViewIcons';
    }

    &.no-file {
      &::before {
        content: '';
        margin-right: 0;
      }
    }

    &.ext-folder {
      &::before {
        content: '\\ea02';
      }
    }

    &.ext-img,
    &.ext-png,
    &.ext-jpg,
    &.ext-jpeg,
    &.ext-gif,
    &.ext-svg {
      &::before {
        content: '\\ea03';
      }
    }

    &.ext-mp2,
    &.ext-mp3,
    &.ext-wav,
    &.ext-ogg,
    &.ext-flac {
      &::before {
        content: '\\ea04';
      }
    }

    &.ext-mp4,
    &.ext-mkv,
    &.ext-avi,
    &.ext-mov,
    &.ext-wmv,
    &.ext-flv {
      &::before {
        content: '\\ea05';
      }
    }

    &.ext-txt,
    &.ext-text,
    &.ext-md,
    &.ext-markdown {
      &::before {
        content: '\\ea06';
      }
    }

    &.ext-js,
    &.ext-ts,
    &.ext-jsx,
    &.ext-tsx,
    &.ext-json,
    &.ext-yaml,
    &.ext-yml,
    &.ext-xml,
    &.ext-html,
    &.ext-css,
    &.ext-scss,
    &.ext-less,
    &.ext-sass,
    &.ext-java,
    &.ext-c,
    &.ext-cpp,
    &.ext-cs,
    &.ext-php,
    &.ext-py,
    &.ext-rb,
    &.ext-go,
    &.ext-swift,
    &.ext-sql,
    &.ext-perl,
    &.ext-lua,
    &.ext-scala,
    &.ext-sh {
      &::before {
        content: '\\ea07';
      }
    }

    &.ext-zip,
    &.ext-rar,
    &.ext-tar,
    &.ext-gz,
    &.ext-iso {
      &::before {
        content: '\\ea08';
      }
    }

    &.ext-pdf,
    &.ext-PDF {
      &::before {
        content: '\\ea09';
      }
    }

    &.ext-excel,
    &.ext-xls,
    &.ext-xlsx {
      &::before {
        content: '\\ea0a';
      }
    }

    &.ext-powerpoint,
    &.ext-ppt,
    &.ext-pptx {
      &::before {
        content: '\\ea0b';
      }
    }

    &.ext-doc,
    &.ext-docx,
    &.ext-rtf {
      &::before {
        content: '\\ea0c';
      }
    }
  }

  ${re()}

  ${({$hideCodeColors:e})=>e&&css`
      .line-number:not(.highlighted),
      .line-number:not(.highlighted) > span,
      .line-number:not(.highlighted) > span > span {
        color: grey;
      }
    `}
`;F();var yg=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M5 8L10 3L10.7 3.7L6.4 8L10.7 12.3L10 13L5 8Z`})})).attrs({"data-component-name":`icons/ChevronLeftIcon/ChevronLeftIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var bg=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z`})})).attrs({"data-component-name":`icons/ChevronRightIcon/ChevronRightIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;jo(),na(),F();function xg({tabs:e}){let t=useRef(null),n=useRef([]),{showControls:r,handlePrevTab:i,handleNextTab:a}=Fa({tabs:e,containerRef:t,tabRefs:n});return useEffect(()=>{let t=n.current.find(t=>t?.dataset.id===e.value);t&&t.scrollIntoView({block:`nearest`,inline:`center`})},[e.value]),jsxs(Sg,{ref:t,"data-component-name":`CodeBlock/CodeBlockTabs`,children:[jsx(Tg,{children:jsx(Eg,{children:e.items.map((t,r)=>{let{name:i,lang:a,id:o}=t,s=i.match(/\.([^.]+)$/)?.[1],c=a?Gt(a):s?Wt(s):null;return jsxs(Dg,{ref:e=>{n.current[r]=e},"data-name":i,$active:o===e.value,onClick:()=>e.onChange(o),children:[c,i]},o)})})}),r&&jsxs(Cg,{children:[jsx(wg,{size:`small`,onClick:i,"data-testid":`prev-button`,children:jsx(yg,{})}),jsx(wg,{size:`small`,onClick:a,"data-testid":`next-button`,children:jsx(bg,{})})]})]})}var Sg=styled.div`
  display: flex;
  overflow: hidden;
`,Cg=styled.div`
  display: flex;
  gap: calc(var(--spacing-xxs) / 2);
`,wg=styled(ta)`
  padding: 0 calc(var(--spacing-xxs) / 2);

  & + & {
    margin-left: 0;
  }
`,Tg=styled.div`
  position: relative;
  overflow: hidden;

  &:after {
    position: absolute;
    content: '';
    width: 16px;
    height: 100%;
    right: 0;
    top: 0;
    background: var(--bg-raised-gradient);
  }
`,Eg=styled.div`
  display: flex;
  overflow-x: auto;
  padding-right: var(--spacing-base);

  &::-webkit-scrollbar {
    display: none;
  }
`,Dg=styled.button`
  --icon-size: 18px;
  display: inline-flex;
  align-items: center;

  padding: 0 var(--spacing-sm);
  background-color: transparent;
  height: 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  gap: var(--spacing-xs);
  color: var(--text-color-secondary);

  ${({$active:e})=>e?css`
          color: var(--text-color-primary);
          background-color: var(--tab-bg-color-filled);
        `:css`
          &:hover {
            color: var(--text-color-primary);
          }
        `}
`;jo(),Ni();function Og({children:e,isOpen:t,tip:n,withArrow:r=!0,placement:i=`top`,fallbackPlacements:a,className:o=`default`,width:s,dataTestId:c,disabled:l=!1,arrowPosition:u=`center`,onClick:d}){let f=useRef(null),p=useRef(null),{isOpened:m,handleOpen:h,handleClose:g}=Vn(t),_=`--tooltip${useId().replace(/:/g,``)}`,{activePlacement:v,activeArrowPosition:y}=wee({isOpened:m,placement:i,arrowPosition:u,fallbackPlacements:a,tooltipBodyRef:p});nr(m?[f,p]:f,g);let b=t!==void 0;return useEffect(()=>{b&&(t&&!l?h():g())},[t,l,b,h,g]),jsxs(jg,{ref:f,...!b&&!l?{onMouseEnter:h,onMouseLeave:g,onClick:e=>{d?.(e),g()},onFocus:h,onBlur:g}:{},className:`tooltip-${o}`,"data-component-name":`Tooltip/Tooltip`,$anchorName:_,children:[e,m&&!l&&jsx(Mi,{children:jsx(Mg,{ref:p,"data-testid":c||(typeof n==`string`?n:``),$placement:v,$width:s,$withArrow:r,$arrowPosition:y===`left`||y===`right`?y:`center`,$anchorName:_,children:n})})]})}var kg=memo(Og),Ag={top:css`
    bottom: anchor(top);
    ${({$withArrow:e,$arrowPosition:t})=>e&&t===`left`?css`
            transform: translate(-32px, -6px);
            left: anchor(center);
          `:t===`right`?css`
              transform: translate(32px, -6px);
              right: anchor(center);
            `:css`
              transform: translate(-50%, -6px);
              left: anchor(center);
            `}

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 16px;
          height: 8px;
          clip-path: path('M0 0H16L9.414 6.586A2 2 0 0 1 6.586 6.586Z');
          bottom: 0;
          ${t===`left`&&`left: 22px; transform: translateY(100%);`}
          ${t===`center`&&`left: 50%; transform: translate(-50%, 100%);`}
          ${t===`right`&&`right: 22px; transform: translateY(100%);`}
        }
      `}
  `,bottom:css`
    top: anchor(bottom);
    ${({$withArrow:e,$arrowPosition:t})=>e&&t===`left`?css`
            transform: translate(-32px, 6px);
            left: anchor(center);
          `:t===`right`?css`
              transform: translate(32px, 6px);
              right: anchor(center);
            `:css`
              transform: translate(-50%, 6px);
              left: anchor(center);
            `}

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 16px;
          height: 8px;
          clip-path: path('M0 8H16L9.414 1.414A2 2 0 0 0 6.586 1.414Z');
          top: 0;
          ${t===`left`&&`left: 22px; transform: translateY(-100%);`}
          ${t===`center`&&`left: 50%; transform: translate(-50%, -100%);`}
          ${t===`right`&&`right: 22px; transform: translateY(-100%);`}
        }
      `}
  `,left:css`
    transform: translate(-100%, -50%);
    margin-left: -7px;
    top: anchor(center);
    left: anchor(left);

    ${({$withArrow:e})=>e&&css`
        &::after {
          width: 8px;
          height: 16px;
          clip-path: path('M0 0V16L6.586 9.414A2 2 0 0 0 6.586 6.586Z');
          right: -9px;
          top: 50%;
          transform: translateY(-50%);
        }
      `}
  `,right:css`
    transform: translate(0, -50%);
    margin-left: 7px;
    top: anchor(center);
    left: anchor(right);

    ${({$withArrow:e})=>e&&css`
        &::after {
          width: 8px;
          height: 16px;
          clip-path: path('M8 0V16L1.414 9.414A2 2 0 0 1 1.414 6.586Z');
          left: -9px;
          top: 50%;
          transform: translateY(-50%);
        }
      `}
  `},jg=styled.div.attrs(({$anchorName:e})=>({style:{anchorName:e}}))`
  display: flex;
`,Mg=styled.span.attrs(({$anchorName:e})=>({style:{positionAnchor:e}}))`
  position: fixed;
  min-width: 64px;
  padding: var(--tooltip-padding);
  max-width: var(--tooltip-max-width);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: left;

  border-radius: var(--border-radius-lg);
  transition: opacity 0.3s ease-out;

  font-size: var(--font-size-base);
  line-height: var(--line-height-base);

  z-index: var(--z-index-overlay);

  &::after {
    position: absolute;

    content: ' ';
    display: inline-block;
    background: var(--tooltip-arrow-color, var(--tooltip-bg-color));
  }

  background: var(--tooltip-bg-color);
  color: var(--tooltip-text-color);
  border: var(--tooltip-border-width, 2px) var(--tooltip-border-style, solid)
    var(--tooltip-border-color, transparent);
  box-shadow: var(--bg-raised-shadow);

  width: ${({$width:e})=>e||`max-content`};

  ${({$placement:e})=>e&&css`
      ${Ag[e]};
    `}
`;jo(),Ni(),F();function Ng({children:e,isOpen:t,tip:n,withArrow:r=!0,placement:i=`top`,fallbackPlacements:a,className:o=`default`,width:s,dataTestId:c,disabled:l=!1,arrowPosition:u=`center`,onClick:d}){let f=useRef(null),p=useRef(null),{isOpened:m,handleOpen:h,handleClose:g}=Vn(t),[_,v]=useState({top:0,left:0}),[y,b]=useState(i),x=y===i?u:`center`;nr(f,g);let S=t!==void 0,C=useCallback(()=>{if(!m||!f.current)return;let e=f.current.getBoundingClientRect(),t=bn({triggerRect:e,tooltipWidth:p.current?.offsetWidth??0,tooltipHeight:p.current?.offsetHeight??0,placement:i,arrowPosition:u,fallbackPlacements:a});v(yn(e,t,t===i?u:`center`)),b(t)},[m,i,u,a]);return useLayoutEffect(()=>{if(m&&f.current){C();let e=()=>C(),t=()=>C();return window.addEventListener(`scroll`,e,!0),window.addEventListener(`resize`,t),()=>{window.removeEventListener(`scroll`,e,!0),window.removeEventListener(`resize`,t)}}},[m,i,C]),useEffect(()=>{t&&!l?h():g()},[t,h,g,l]),jsxs(Ig,{ref:f,...!S&&!l&&{onMouseEnter:h,onMouseLeave:g,onClick:e=>{d?.(e),g()},onFocus:h,onBlur:g},className:`tooltip-${o}`,"data-component-name":`Tooltip/Tooltip`,children:[e,m&&!l&&jsx(Mi,{children:jsx(Lg,{ref:p,"data-testid":c||(typeof n==`string`?n:``),$placement:y,$width:s,$withArrow:r,$arrowPosition:x,style:{position:`fixed`,top:_.top,left:_.left},children:n})})]})}var Pg=memo(Ng),Fg={top:css`
    ${({$withArrow:e,$arrowPosition:t})=>e&&t===`left`?css`
            transform: translate(0, -100%);
            margin-top: -10px;
          `:t===`right`?css`
              transform: translate(-100%, -100%);
              margin-top: -10px;
            `:css`
              transform: translate(-50%, -100%);
              margin-top: -10px;
            `}

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 16px;
          height: 8px;
          clip-path: path('M0 0H16L9.414 6.586A2 2 0 0 1 6.586 6.586Z');
          bottom: 0;
          ${t===`left`&&`left: 22px; transform: translateY(99%);`}
          ${t===`center`&&`left: 50%; transform: translate(-50%, 99%);`}
          ${t===`right`&&`right: 22px; transform: translateY(99%);`}
        }
      `}
  `,bottom:css`
    ${({$withArrow:e,$arrowPosition:t})=>e&&t===`left`?css`
            transform: translate(0, 10px);
            margin-top: 0;
          `:t===`right`?css`
              transform: translate(-100%, 10px);
              margin-top: 0;
            `:css`
              transform: translate(-50%, 10px);
              margin-top: 0;
            `}

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 16px;
          height: 8px;
          clip-path: path('M0 8H16L9.414 1.414A2 2 0 0 0 6.586 1.414Z');
          top: 0;
          ${t===`left`&&`left: 22px; transform: translateY(-99%);`}
          ${t===`center`&&`left: 50%; transform: translate(-50%, -99%);`}
          ${t===`right`&&`right: 22px; transform: translateY(-99%);`}
        }
      `}
  `,left:css`
    transform: translate(-100%, -50%);
    margin-left: -10px;

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 8px;
          height: 16px;
          clip-path: path('M0 0V16L6.586 9.414A2 2 0 0 0 6.586 6.586Z');
          top: 50%;
          right: 0;
          ${t===`top`&&`top: 22px; transform: translateX(99%);`}
          ${t===`center`&&`top: 50%; transform: translate(99%, -50%);`}
          ${t===`bottom`&&`bottom: 22px; transform: translateX(99%);`}
        }
      `}
  `,right:css`
    transform: translate(0, -50%);
    margin-left: 10px;

    ${({$withArrow:e,$arrowPosition:t})=>e&&css`
        &::after {
          width: 8px;
          height: 16px;
          clip-path: path('M8 0V16L1.414 9.414A2 2 0 0 1 1.414 6.586Z');
          top: 50%;
          left: 0;
          ${t===`top`&&`top: 22px; transform: translateX(-99%);`}
          ${t===`center`&&`top: 50%; transform: translate(-99%, -50%);`}
          ${t===`bottom`&&`bottom: 22px; transform: translateX(-99%);`}
        }
      `}
  `},Ig=styled.div`
  position: relative;
  display: flex;
`,Lg=styled.span`
  display: inline-block;

  padding: var(--tooltip-padding);
  max-width: ${({$width:e})=>e||`var(--tooltip-max-width)`};
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;

  border-radius: var(--border-radius-lg);
  transition: opacity 0.3s ease-out;

  font-size: var(--font-size-base);
  line-height: var(--line-height-base);

  z-index: var(--z-index-overlay);

  &::after {
    position: absolute;

    content: ' ';
    display: inline-block;
    background: var(--tooltip-arrow-color, var(--tooltip-bg-color));
  }

  background: var(--tooltip-bg-color);
  color: var(--tooltip-text-color);
  border: var(--tooltip-border-width, 2px) var(--tooltip-border-style, solid)
    var(--tooltip-border-color, transparent);
  box-shadow: var(--bg-raised-shadow);

  width: ${({$width:e})=>e||`max-content`};
  ${({$placement:e})=>Fg[e]}
`;jo(),F();function Rg(e){let{isSupported:t}=Ao(),n=e.fallbackPlacements??vn(e.placement??`top`);return t?jsx(kg,{...e,fallbackPlacements:n,arrowPosition:Bg(e.arrowPosition)}):jsx(Pg,{...e,fallbackPlacements:n})}var zg=memo(Rg),Bg=e=>e===`bottom`||e===`top`?`center`:e;F(),jo(),na(),no();function Vg({data:e,type:t=`icon`,toasterPlacement:n=`top`,toasterText:r,toasterDuration:i,buttonText:a,onCopyClick:o,dataTestId:s=`copy-button`,className:c,variant:l=`text`,size:u=`small`,disabled:d,fullWidth:f,tone:p,extraClass:h,iconPosition:g}){let{useTranslate:_}=sr(),v=Vn(),{translate:y}=_(),b=useRef(null);useEffect(()=>()=>{b.current&&clearTimeout(b.current)},[]);let x=(e=1500)=>{v.handleOpen(),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{v.handleClose()},e)},S=(t,n)=>{let r=typeof e==`string`?e:JSON.stringify(e,null,2);m.copyCustom(r),x(n),o?.(t)};return jsx(zg,{className:`copy-button ${c||``}`,tip:y(`codeSnippet.copy.buttonText`,r||`Copied!`),isOpen:v.isOpened,placement:n,width:`fit-content`,children:jsx(ta,{"data-component-name":`Buttons/CopyButton`,onClick:e=>S(e,i),"data-testid":s,icon:t===`icon`||t===`compound`?jsx(to,{}):void 0,size:u,variant:l,disabled:d,fullWidth:f,tone:p,extraClass:h,iconPosition:g,"aria-label":`Copy`,children:(t===`text`||t===`compound`)&&(a||y(`codeSnippet.copy.toasterText`,`Copy`))})})}var Hg=memo(Vg);F();var Ug=styled(e=>jsxs(`svg`,{"data-component-name":`icons/DeselectIcon`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M14.4966 10.5H9.49658V11.5H14.4966V10.5Z`,fill:`currentColor`}),jsx(`path`,{d:`M10.5 3.64746H1.5V4.64746H10.5V3.64746Z`,fill:`currentColor`}),jsx(`path`,{d:`M10.5 6.64746H1.5V7.64746H10.5V6.64746Z`,fill:`currentColor`}),jsx(`path`,{d:`M7.5 9.64746H1.5V10.6475H7.5V9.64746Z`,fill:`currentColor`})]})).attrs({"data-component-name":`icons/DeselectIcon/DeselectIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`1.3em`};
  width: ${({size:e})=>e||`1.3em`};
  vertical-align: middle;
`;F();var Wg=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{className:`corner-top`,d:`M12.2432 8.70703H11.2461L11.2422 4.75781L7.29297 4.75391V3.75781H12.2432V8.70703Z`}),jsx(`path`,{className:`corner-bottom`,d:`M4.75781 11.2422L8.70703 11.2461V12.2432H3.75781V7.29297H4.75391L4.75781 11.2422Z`})]})).attrs({"data-component-name":`icons/ExpandCollapseIcon/ExpandCollapseIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
    transform-box: view-box;
    transition: transform 0.3s ease-in-out;

    @media (prefers-reduced-motion: reduce) {
      transition: none;
    }
  }

  .corner-top {
    transform-origin: 10.756px 5.244px;
  }

  .corner-bottom {
    transform-origin: 5.244px 10.756px;
  }

  ${({$collapse:e})=>e&&css`
      .corner-top {
        transform: rotate(180deg);
      }

      .corner-bottom {
        transform: rotate(-180deg);
      }
    `}

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Gg=styled(e=>jsxs(`svg`,{"data-component-name":`icons/SelectIcon`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M10.5 3.64746H1.5V4.64746H10.5V3.64746Z`,fill:`currentColor`}),jsx(`path`,{d:`M10.5 6.64746H1.5V7.64746H10.5V6.64746Z`,fill:`currentColor`}),jsx(`path`,{d:`M7.5 9.64746H1.5V10.6475H7.5V9.64746Z`,fill:`currentColor`}),jsx(`path`,{d:`M10.5 10.9425L9.205 9.64746L8.5 10.3525L10.5 12.3525L14.5 8.35246L13.795 7.64746L10.5 10.9425Z`,fill:`currentColor`})]})).attrs({"data-component-name":`icons/SelectIcon/SelectIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`1.3em`};
  width: ${({size:e})=>e||`1.3em`};
  vertical-align: middle;
`;F();var Kg=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M8 10C7.85166 10 7.70666 10.044 7.58332 10.1264C7.45999 10.2088 7.36386 10.3259 7.30709 10.463C7.25032 10.6 7.23547 10.7508 7.26441 10.8963C7.29335 11.0418 7.36478 11.1754 7.46967 11.2803C7.57456 11.3852 7.7082 11.4566 7.85368 11.4856C7.99917 11.5145 8.14997 11.4997 8.28701 11.4429C8.42406 11.3861 8.54119 11.29 8.6236 11.1667C8.70601 11.0433 8.75 10.8983 8.75 10.75C8.75 10.5511 8.67098 10.3603 8.53033 10.2197C8.38968 10.079 8.19891 10 8 10Z`}),jsx(`path`,{d:`M8.5 4.5H7.5V9H8.5V4.5Z`}),jsx(`path`,{d:`M13 14H3C2.73488 13.9997 2.4807 13.8942 2.29323 13.7068C2.10576 13.5193 2.0003 13.2651 2 13V3C2.0003 2.73488 2.10576 2.4807 2.29323 2.29323C2.4807 2.10576 2.73488 2.0003 3 2H13C13.2651 2.0003 13.5193 2.10576 13.7068 2.29323C13.8942 2.4807 13.9997 2.73488 14 3V13C13.9997 13.2651 13.8942 13.5193 13.7068 13.7068C13.5193 13.8942 13.2651 13.9997 13 14ZM3 3V13H13.0006L13 3H3Z`})]})).attrs({"data-component-name":`icons/WarningSquareIcon/WarningSquareIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var qg=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 10.9998L3 5.9998L3.7 5.2998L8 9.5998L12.3 5.2998L13 5.9998L8 10.9998Z`})})).attrs({"data-component-name":`icons/ChevronDownIcon/ChevronDownIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  flex-shrink: 0;
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Jg=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 5L13 10L12.3 10.7L8 6.4L3.7 10.7L3 10L8 5Z`})})).attrs({"data-component-name":`icons/ChevronUpIcon/ChevronUpIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  flex-shrink: 0;
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;jo(),F();var Yg=typeof window<`u`?useLayoutEffect:useEffect,Xg=forwardRef(({children:e,className:t,active:n,trigger:r,triggerEvent:i=`click`,closeOnClick:a=!0,withArrow:o,dataAttributes:s,placement:c,alignment:l,portalled:u=!1,alignmentAnchorRef:d,onClick:f,onClose:p,onOpen:m},h)=>{let g=useRef(null),_=useRef(null),[v,y]=Na(!1,n),[b,x]=useState({}),[S,C]=useState(l),w=h||g,T=()=>{y(!0),m?.()},E=()=>{v&&(y(!1),p?.())},D=()=>{E()},O=e=>{e.stopPropagation(),e.preventDefault(),v?E():T()},k=e=>{(e.key===`Enter`||e.key===` `)&&O(e)},ee=useCallback(()=>{let e=w.current;if(!e)return;let t=(d?.current??e).getBoundingClientRect(),n=_.current?.offsetHeight??0,r=t.bottom+n<=window.innerHeight,i=t.top-n>=0,a=c===`top`?i||!r:!r&&i,o={minWidth:t.width};a?o.bottom=window.innerHeight-t.top:o.top=t.bottom,On(t,_.current?.offsetWidth??0,l)===`end`?o.right=window.innerWidth-t.right:o.left=t.left;let s=getComputedStyle(e).getPropertyValue(`--dropdown-menu-z-index`).trim();s&&(o.zIndex=s),x(o)},[c,l,w,d]),te=useCallback(()=>{let e=w.current,t=_.current;if(!e||!t)return;let n=(d?.current??e).getBoundingClientRect();C(On(n,t.offsetWidth,l))},[l,w,d]);Yg(()=>{if(!u&&v)return te(),window.addEventListener(`resize`,te),()=>window.removeEventListener(`resize`,te)},[u,v,te]),Yg(()=>{if(u&&v)return ee(),window.addEventListener(`scroll`,ee,!0),window.addEventListener(`resize`,ee),()=>{window.removeEventListener(`scroll`,ee,!0),window.removeEventListener(`resize`,ee)}},[u,v,ee]),nr(u?[w,_]:w,E);let ne=typeof e==`function`?e({close:E,isOpen:v}):e,re=React.Children.only(r),ie=!!(re.props?.to||re.props?.href),ae=cloneElement(re,{onClick:i===`click`?O:void 0,"aria-haspopup":`menu`,"aria-expanded":v,icon:o?jsx(v?Jg:qg,{}):void 0,...o?{iconPosition:`right`}:{},...re.props,onKeyDown:i===`click`||!ie?k:void 0}),oe=jsx(Qg,{ref:_,$placement:c,$alignment:S,$isOpen:v,$portalled:u,style:u?b:void 0,onClick:a?D:void 0,children:ne}),se=v&&typeof document<`u`?createPortal(oe,document.body):null;return jsxs(Zg,{"data-component-name":`Dropdown/Dropdown`,"data-testid":`dropdown`,...s,className:t,ref:w,onPointerEnter:i===`hover`?T:void 0,onPointerLeave:i===`hover`?E:void 0,onClick:f,children:[ae,u?se:oe]})}),Zg=styled.div`
  --button-gap: var(--spacing-xxs);

  display: flex;
  gap: var(--spacing-xxs);
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  height: 100%;
  appearance: none;
  padding: 0;
  margin: 0;
  position: relative;

  text-decoration: none;
`,Qg=styled.div`
  padding-top: var(--dropdown-menu-padding-top);
  display: ${({$isOpen:e})=>e?`block`:`none`};
  z-index: var(--dropdown-menu-z-index);

  ${({$portalled:e,$placement:t,$alignment:n})=>e?css`
          position: fixed;
        `:css`
          position: absolute;
          top: ${t===`top`?`auto`:`100%`};
          bottom: ${t===`top`?`100%`:`auto`};
          left: ${n===`start`?`0`:`auto`};
          right: ${n===`end`?`0`:`auto`};
        `}
`;Yi();function $g({children:e,content:t,active:n,onAction:r,to:i,dangerous:a,prefix:o,suffix:s,disabled:c,separator:l,dataAttributes:u,className:d,separatorLine:f,style:p,role:m=`menuitem`,...h}){let g=()=>{r?.()},_=e=>{(e.key===`Enter`||e.key===` `)&&r?.()};d||=n?` active`:``;let v={$active:n,$dangerous:a,$disabled:c,$separator:l,$separatorLine:f,"data-component-name":`Dropdown/DropdownMenuItem`,className:d,onClick:g,role:m,style:p};return i?jsxs(e_,{as:Ji,to:i,...v,...u,...h,children:[o,e,s]}):jsxs(e_,{...v,...u,onKeyDown:_,tabIndex:r?0:-1,children:[o,e||t,s]})}var e_=styled.li`
  display: flex;
  flex-direction: row;
  justify-content: var(--dropdown-menu-item-justify-content, flex-start);
  align-items: center;
  width: 100%;
  border: none;
  background: none;
  appearance: none;
  text-align: left;
  gap: var(--spacing-xxs);

  > * {
    min-width: 0; // for flex
  }

  cursor: pointer;
  pointer-events: auto;

  padding: var(--dropdown-menu-item-padding-vertical) var(--dropdown-menu-item-padding-horizontal);
  border-radius: var(--dropdown-menu-item-border-radius);

  &:focus-visible {
    outline: 1px solid var(--dropdown-menu-item-border-color-focused);
  }

  background-color: var(--dropdown-menu-item-bg-color);
  color: var(--dropdown-menu-item-color);

  text-decoration: none;

  &:hover {
    background-color: var(--dropdown-menu-item-bg-color-hover);
    color: var(--dropdown-menu-item-color-hover);
  }

  ${({$separator:e})=>e&&css`
      cursor: default;
      pointer-events: none;
      font-size: var(--dropdown-menu-item-separator-font-size);
      line-height: var(--dropdown-menu-item-separator-line-height);
      color: var(--dropdown-menu-item-separator-text-color);
      --dropdown-menu-item-bg-color-hover: var(--dropdown-menu-item-bg-color);
    `}

  ${({$active:e})=>e&&css`
      background-color: var(--dropdown-menu-item-bg-color-active);
      color: var(--dropdown-menu-item-color-active);
      svg {
        fill: var(--dropdown-menu-item-color-active);
      }
    `}

  ${({$disabled:e})=>e&&css`
      cursor: default;
      pointer-events: none;
      background-color: var(--dropdown-menu-item-bg-color-disabled);
      color: var(--dropdown-menu-item-color-disabled);
      svg {
        fill: var(--dropdown-menu-item-color-disabled);
      }
    `}

  ${({$separatorLine:e})=>e&&css`
      border-bottom: 1px solid var(--dropdown-menu-item-separator-border-color);
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      margin-bottom: var(--dropdown-menu-item-padding-vertical);
      &:empty {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: var(--dropdown-menu-item-padding-vertical);
      }
    `}

  ${({$dangerous:e})=>e&&css`
      &:hover,
      & {
        color: var(--dropdown-menu-item-color-dangerous);
        svg {
          fill: var(--dropdown-menu-item-color-dangerous);
        }
      }
    `}
`;function t_(e){let t=null;return`children`in e&&(t=e.children),`items`in e&&(t=e.items.map((e,t)=>jsx($g,{...e,children:e.content},t))),jsxs(n_,{"data-component-name":`Dropdown/DropdownMenu`,"data-testid":`dropdown-menu`,id:e.id,className:e.className,role:e.role||`menu`,children:[t,e.footer||null]})}var n_=styled.ul`
  font-size: var(--dropdown-menu-font-size);
  font-weight: var(--dropdown-menu-font-weight);
  line-height: var(--dropdown-menu-line-height);
  color: var(--dropdown-menu-text-color);

  /* Make sure the spacing is not overriden by the markdown list styles */
  --md-list-margin: 0;
  --md-list-left-padding: var(--dropdown-menu-padding);

  margin: 0;
  min-width: var(--dropdown-menu-min-width);
  max-width: var(--dropdown-menu-max-width);
  max-height: var(--dropdown-menu-max-height);
  padding: var(--dropdown-menu-padding);
  background-color: var(--dropdown-menu-bg-color);
  border-radius: var(--dropdown-menu-border-radius);
  box-shadow: var(--dropdown-menu-box-shadow);
  border: 1px solid var(--dropdown-menu-border-color);
  list-style-type: none;
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: var(--z-index-surface);

  display: flex;
  flex-direction: column;
  gap: var(--dropdown-menu-item-gap);
`,r_=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M0 0h24v24H0z`,fill:`none`})})).attrs({"data-component-name":`icons/NoneIcon/NoneIcon`})`
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),F();function i_({items:e,onChange:t,value:n}){let r=e.find(e=>e.id===n)||e[0],i=r?.lang?Gt(r?.lang):null;return jsx(Xg,{withArrow:!0,alignment:`end`,trigger:jsxs(ta,{iconPosition:`right`,variant:`ghost`,size:`small`,children:[i,r.name]}),children:jsx(t_,{children:e.map(e=>{let r=Gt(e.lang||``),i=e.id===n;return jsx($g,{onAction:()=>t(e.id),active:i,prefix:e.lang?r:jsx(r_,{size:`var(--icon-size)`}),children:e.name},e.id)})})})}jo(),na();function a_({children:e,className:t,title:n,controls:r,tabs:i,dropdown:a}){let{codeSnippet:o}=Rn(),{useTelemetry:s,useTranslate:c}=sr(),{translate:l}=c(),u=s(),d=o?.elementFormat||`icon`,{copy:f,expand:p,collapse:m,select:h,deselect:g,report:_}=r||{copy:null,expand:null,collapse:null,select:null,deselect:null,report:null},v=!n&&!i&&!a,y=r?jsxs(Fragment$1,{children:[n&&jsx(s_,{children:n}),i&&jsx(xg,{tabs:i}),jsxs(c_,{children:[a&&jsx(i_,{...a}),_&&!_.hidden&&!_?.props?.hide?jsx(zg,{tip:_.props?.tooltip||l(`codeSnippet.report.tooltipText`,`Report a problem`),placement:`top`,arrowPosition:`right`,children:jsx(l_,{variant:`text`,size:`small`,"data-testid":`report-button`,icon:d===`icon`?jsx(Kg,{size:`18px`}):void 0,"aria-label":`Report a problem`,onClick:_.props?.onClick,children:d!==`icon`&&(_.props?.buttonText||`Report`)})}):null,p&&!o?.expand?.hide?jsx(zg,{tip:p.props?.tooltip||l(`codeSnippet.expand.tooltipText`,`Expand all`),placement:`top`,arrowPosition:`right`,children:jsx(l_,{variant:`text`,size:`small`,"data-testid":`expand-all`,icon:d===`icon`?jsx(Wg,{}):void 0,"aria-label":`Expand all`,onClick:p?.onClick,children:d!==`icon`&&(p?.label||`Expand all`)})}):m&&!o?.collapse?.hide?jsx(zg,{tip:m.props?.tooltip||l(`codeSnippet.collapse.tooltipText`,`Collapse all`),placement:`top`,arrowPosition:`right`,children:jsx(l_,{variant:`text`,size:`small`,"data-testid":`collapse-all`,icon:d===`icon`?jsx(Wg,{$collapse:!0}):void 0,onClick:m?.onClick,"aria-label":`Collapse all`,children:d!==`icon`&&(m?.label||`Collapse all`)})}):null,h?jsx(l_,{variant:`text`,size:`small`,"data-testid":`select-all`,icon:d===`icon`?jsx(Gg,{}):void 0,onClick:h?.onClick,"aria-label":`Select all`,children:d!==`icon`&&h?.label?h.label:`Select all`}):null,g?jsx(l_,{variant:`text`,size:`small`,"data-testid":`clear-all`,icon:d===`icon`?jsx(Ug,{}):void 0,onClick:g?.onClick,"aria-label":`Clear all`,children:d!==`icon`&&g?.label?g.label:`Clear all`}):null,f&&!o?.copy?.hide?jsx(zg,{tip:l(`codeSnippet.copy.tooltipText`,`Copy to clipboard`),placement:`top`,arrowPosition:`right`,children:jsx(u_,{data:f.data,"data-source":f.dataSource,"data-hash":f.dataHash,type:d,toasterPlacement:f.toasterPlacement,toasterDuration:f.toasterDuration,buttonText:f.label,onCopyClick:()=>{f?.onClick?f?.onClick?.():u.sendCopyCodeSnippetClickedMessage([{id:`copyCodeSnippetButton`,object:`button`,uri:`urn:redocly:redoc:ui:button:copyCodeSnippetButton`,snippetType:`copy`}])}})}):null]})]}):null;return e||r?jsx(o_,{"data-component-name":`CodeBlock/CodeBlockControls`,className:t,$isEmptyTitle:v,children:e||y}):null}var o_=styled.div`
  display: grid;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--code-block-controls-font-size);
  font-family: var(--code-block-controls-font-family);
  background-color: var(--code-block-controls-bg-color);
  padding: var(--code-block-controls-padding);
  border-bottom: var(--code-block-controls-border);
  line-height: var(--line-height-lg);
  min-height: var(--control-height-base);
  grid-template-columns: 1fr auto;
  z-index: 1;
  ${({$isEmptyTitle:e})=>e&&`
      position: absolute;
      right: 0;
      width: auto;
      border: none;
      background-color: transparent;
      grid-template-columns: 1fr;
      margin: 0;
    `}
`,s_=styled.span`
  display: flex;
  align-items: center;
  color: var(--code-block-controls-text-color);
  width: 100%;
  font-weight: var(--code-block-controls-font-weight);
  padding-left: var(--spacing-xs);
`,c_=styled.div`
  display: flex;
  text-align: right;
  align-items: center;
  gap: var(--spacing-xxs);
  justify-content: end;
`,l_=styled(ta)`
  --button-icon-size: 16px; /* increase icon size for code blocks */
  --button-icon-padding: 3px;
  --button-backdrop-filter: blur(8px); /* backdrop filter when there is text under the button */

  & + & {
    margin-left: 0;
  }
`,u_=styled(Hg)`
  --button-icon-size: 16px; /* increase icon size for code blocks */
  --button-icon-padding: 3px;
  --button-backdrop-filter: blur(8px);
`;jo(),na();function d_({isExpanded:e,onToggle:t,className:n}){let{useTranslate:r}=sr(),{translate:i}=r();return jsx(ta,{className:n,size:`small`,variant:`link`,onClick:t,children:e?i(`jsonViewer.showLess`,`Show less`):i(`jsonViewer.showMore`,`Show more`)})}F(),jo();function f_({lang:e,source:t,externalSource:n,header:r,dataTestId:i=`source-code`,codeBlockRef:a,highlightedHtml:o,maxDisplayLength:s,withLineNumbers:c,startLineNumber:l,className:u,codeBlockMaxHeight:d,tabs:f,dropdown:p,hideCodeColors:m,wrapContents:h=!1,children:g,..._}){let[y,b]=useState((t||n?.sample?.get?.(n))??``),{useCodeHighlight:x}=sr(),{highlight:S}=x()||{},C=_[`data-highlight`],w=!!g,[T,E]=useState(!1),D=s!==void 0&&y.length>s&&!o&&!w,O=D&&!T?`${y.slice(0,s)}…`:y,k=useMemo(()=>o?c?v(o,l):o:w?null:S?.(O,e,{withLineNumbers:c,startLineNumber:l,highlight:C}),[o,c,l,w,S,O,e,C]);useEffect(()=>{let e=t||n?.sample?.get?.(n);e&&b(e)},[t,n]);let{reportDialog:ee,reportButton:te}=Ir();lr(!!ee.visible);let ne=r?.controls&&{...r?.controls,report:{...r?.controls?.report,props:te.props},copy:r?.controls?.copy?{...r?.controls?.copy,data:y}:void 0};return jsxs(h_,{"data-component-name":`CodeBlock/CodeBlock`,className:u,children:[jsxs(m_,{children:[jsx(a_,{tabs:f,dropdown:p,className:r?.className,title:r?.title,controls:ne}),jsx(_g,{ref:a,withLineNumbers:c,dangerouslySetInnerHTML:k?{__html:k}:void 0,suppressHydrationWarning:!0,"data-testid":i,hideCodeColors:m,maxHeight:d,wrapContents:h,tabIndex:0,children:g}),ee.visible&&jsx(hg,{...ee.props,location:y,lang:e})]}),D?jsx(p_,{isExpanded:T,onToggle:()=>E(e=>!e)}):null]})}var p_=styled(d_)`
  margin: 0 var(--spacing-sm) var(--spacing-xs);
  user-select: none;
`,m_=styled.div`
  display: grid; // prevents content to overstretch
  position: relative;
`,h_=styled.div`
  border: 1px solid var(--border-color-secondary);
  border-radius: var(--border-radius-xl);
  background-color: var(--code-block-bg-color);
  margin: 0 0 var(--spacing-sm);

  --md-pre-margin: 0;
`;na();function g_(e){return typeof e==`object`&&!!e&&Object.values(e).some(e=>e!==void 0)}function __(e,t=``,n=1){return g_(e)?Object.entries(e).flatMap(([e,r])=>{let i=`${t}/${e}`;return g_(r)?[[i,n],...__(r,i,n+1)]:[]}):[]}function v_(e){let{standalone:t,fold:n,level:r,path:i,value:a,maxStringLength:o}=e,s=` `.repeat(r*2),c=n.isExpanded(i,r),l=a&&Object.keys(a).filter(e=>a[e]!==void 0)||[],u=typeof a;if(!g_(a)){let e=typeof a==`string`&&o!==void 0&&a.length>o;return jsxs(Fragment$1,{children:[t?s:null,e?jsx(b_,{value:a,maxStringLength:o}):jsx(`span`,{className:`token `+u,children:JSON.stringify(a)})]})}let d=Array.isArray(a)?`[`:`{`,f=Array.isArray(a)?`]`:`}`,p=Array.isArray(a)?a.map((e,t)=>jsxs(React.Fragment,{children:[jsx(v_,{value:e,level:r+1,path:`${i}/${t}`,standalone:!0,fold:n,maxStringLength:o}),t<a.length-1?jsx(`span`,{children:`,
`}):null]},t)):l.map((e,t)=>jsxs(React.Fragment,{children:[jsx(y_,{name:e,value:a[e],level:r+1,path:`${i}/${e}`,fold:n,maxStringLength:o}),t<l.length-1?jsx(`span`,{children:`,
`}):null]},e));return jsxs(Fragment$1,{children:[t?jsxs(Fragment$1,{children:[s,r>0?jsx(x_,{onClick:()=>n.setExpanded(i,!c),isExpanded:c}):null,d,c?`
`:null]}):null,c||!t?p:` … `,t?jsxs(Fragment$1,{children:[c?`
`:``,c?s:``,f]}):null]})}function y_(e){let{fold:t,level:n,name:r,path:i,value:a,maxStringLength:o}=e,s=` `.repeat(n*2),c=t.isExpanded(i,n),l=Array.isArray(a)?`[`:`{`,u=Array.isArray(a)?`]`:`}`,d=g_(a)?jsxs(Fragment$1,{children:[l,c?jsxs(Fragment$1,{children:[`
`,jsx(v_,{value:a,level:n,path:i,fold:t,maxStringLength:o}),`
`]}):` … `,c?s:null,u]}):jsx(v_,{value:a,level:n,path:i,fold:t,maxStringLength:o});return jsxs(Fragment$1,{children:[s,g_(a)?jsx(x_,{onClick:()=>t.setExpanded(i,!c),isExpanded:c}):null,jsx(`span`,{className:`property token string`,children:`"${r}"`}),jsx(`span`,{children:`: `}),d]})}function b_({value:e,maxStringLength:t}){let[n,r]=React.useState(!1),i=React.useMemo(()=>JSON.stringify(n?e:`${e.slice(0,t)}…`),[n,e,t]);return jsxs(Fragment$1,{children:[jsx(`span`,{className:`token string`,children:i}),` `,jsx(S_,{isExpanded:n,onToggle:()=>r(e=>!e)})]})}function x_({isExpanded:e,onClick:t}){return jsx(C_,{"aria-label":`collapse`,className:e?`expanded`:``,size:`small`,variant:`text`,onClick:t,icon:jsx(qg,{color:`var(--text-color-helper)`})})}var S_=styled(d_)`
  user-select: none;
`,C_=styled(ta)`
  position: absolute;
  left: -10px;
  user-select: none;

  & > svg {
    transform: rotate(270deg);
  }

  &.expanded > svg {
    transform: none;
  }

  &&.button-size-small {
    --button-icon-size: 14px;
    --button-icon-padding: 3px;

    margin-left: 0;
  }
`;function w_({data:e,expandLevel:t=1,className:n,onCopyClick:r,onPanelToggle:i,title:a,controls:o={},maxStringLength:s}){let c=Math.max(1,t),l=React.useMemo(()=>__(e),[e]),[u,d]=React.useState({}),f={isExpanded:(e,t)=>u[e]??t<c,setExpanded:(e,t)=>d(n=>({...n,[e]:t}))},p=l.length>0,m=l.every(([e,t])=>f.isExpanded(e,t)),h=()=>{i?.(!m),d(Object.fromEntries(l.map(([e])=>[e,!m])))},g=JSON.stringify(e,null,2);return jsx(D_,{"data-testid":`json-viewer`,"data-component-name":`JsonViewer/JsonViewer`,className:n,children:jsx(f_,{header:a||o?{title:a,className:`code-block-header`,controls:o&&{...o,copy:{...o.copy,data:e,onClick:r,handleOutside:!0},expand:p&&!m?{...o.expand,onClick:h}:void 0,collapse:p&&m?{...o.collapse,onClick:h}:void 0}}:void 0,source:g,children:jsx(E_,{children:jsx(v_,{value:e,level:0,path:``,standalone:!0,fold:f,maxStringLength:s})})})})}var T_=memo(w_),E_=styled.div`
  position: relative;
`,D_=styled.div`
  display: flex;
  flex-direction: column;
  flex: 1;

  & > div {
    border: none;
    margin: 0;
  }

  pre {
    contain: content;
    overflow-x: auto;
    position: relative;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .code-block-header {
    border-bottom: 0;
    padding-right: var(--spacing-sm);
  }
`,O_=css`
  text-decoration: var(--link-decoration);
  text-underline-offset: var(--link-underline-offset);
  color: var(--link-color-primary);
  font-weight: var(--link-font-weight);

  &:visited {
    color: var(--link-color-visited);
    text-decoration: var(--link-decoration-visited);
  }

  &:hover,
  &:focus {
    text-decoration: var(--link-decoration-hover);
    color: var(--link-color-primary-hover);
  }
`,k_=css`
  a:not([role='button']) {
    ${O_}
  }
`,A_=[`#9D00FF`,`#615CEA`,`#147DF5`,`#08BFCC`,`#08CC7A`,`#81CC08`,`#E5BE00`,`#FF8700`,`#FF00B8`];function j_(e){if(e!==void 0)return A_[e%A_.length]}function M_(e,t){return`${e?.startsWith(`Array`)?`Items `:``}${t===1?`Value:`:`Enum:`}`}function N_(e,t){let n=e.enum,r=n&&!Array.isArray(n)?n:void 0,i=n&&Array.isArray(n)?n:void 0,a=i&&i.length>0?i:t;return{isDescriptionEnum:!!r,enumDescriptions:r,enumValues:a}}function P_(e,t,n){let r=typeof t==`number`&&t>0?t:0,i=r>0&&e.length>r;return{displayed:i&&n?e.slice(0,r):e,showToggle:i}}var F_=styled$1.div`
  display: flex;
  flex-direction: column;

  &:has(+ span.array-closing-label) > *:last-child {
    border-bottom: none;
    padding-bottom: calc(var(--schema-property-details-spacing) / 2);

    .view-nested-wrapper {
      border-bottom: none;
      padding-bottom: 0;
    }
  }
`,I_=styled$1.div`
  width: 100%;
  padding: ${({$isFirst:e})=>`var(--schema-${e?`fist-`:``}property-details-spacing)`} 0
    var(--schema-property-details-spacing);
  border-bottom: 1px solid var(--border-color-primary);

  &:has([data-schema-nested-open='true']) {
    border-bottom: none;
    padding-bottom: 0;
  }

  p {
    margin-bottom: 0;
  }
`,L_=styled$1.div`
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-xxs) / 4) var(--spacing-xxs);
  flex-wrap: wrap;
  margin-bottom: 2px;
  position: relative;

  svg {
    visibility: hidden;
  }

  &:hover svg {
    visibility: visible;
  }
`,R_=styled$1.span`
  position: relative;
  font-family: var(--font-family-monospaced);
  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
  color: var(--text-color-description);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
`,z_=styled$1.span`
  color: var(--text-color-description);
`,B_=styled$1.span`
  font-family: var(--font-family-monospaced);
  font-weight: var(--font-weight-semibold);
  font-size: var(--schemas-property-name-font-size);
  line-height: var(--schemas-property-name-line-height);
  color: var(--schemas-property-name-text-color, var(--text-color-primary));
  ${({$deprecated:e})=>e&&`text-decoration: line-through; color: var(--schemas-property-deprecated-text-color, var(--text-color-description));`}
`,V_=styled$1.em`
  vertical-align: middle;
  color: var(--schema-type-text-color, var(--text-color-secondary));
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-style: normal;
  overflow-wrap: anywhere;

  &::after {
    content: ',';
  }

  &:last-of-type::after {
    content: '';
  }

  &:last-of-type:has(+ a)::after {
    content: ',';
  }
`,ure=styled$1(Link)`
  vertical-align: middle;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-style: normal;
  overflow-wrap: anywhere;

  ${O_}
`,H_=styled$1.span`
  vertical-align: middle;
  color: var(--schema-property-required-label-text-color, #e20c0c);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,U_=styled$1.span`
  background: var(--tag-bg-color);
  padding: 0 var(--spacing-xxs);
  font-family: var(--font-family-monospaced);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  border-radius: var(--tag-border-radius);
  color: var(--text-color-secondary);
  display: inline-flex;
  word-break: var(--code-word-break);
`,W_=styled$1(U_)`
  color: var(--badge-deprecated-text-color);
  background-color: var(--badge-deprecated-bg-color);
  border-radius: var(--badge-deprecated-border-radius, var(--border-radius));
`,G_=styled$1(U_)`
  color: var(--schema-property-access-label-text-color);
  background-color: var(--bg-color);
  border: 1px solid var(--border-color-secondary);
`,K_=styled$1(U_)`
  background-color: var(--color-warm-grey-2);
`,dre=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xxs);
  margin: var(--spacing-xxs) 0 var(--spacing-xs);
`,fre=styled$1(U_)`
  background-color: var(--color-warm-grey-2);
`,q_=styled$1(U_)`
  background-color: var(--schema-recursive-bg-color);
  border-color: var(--schema-recursive-border-color);
  color: var(--schema-recursive-text-color);
  padding: 0 var(--spacing-xs);
`,pre=styled$1.a`
  color: var(--link-color, var(--color-primary-base, var(--link-color-primary)));
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
`,J_=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-description);

  p:last-child {
    margin-bottom: 0;
  }
`,Y_=styled$1.div`
  display: flex;
  align-items: center;
  gap: var(--spacing-xxs);
  margin-top: var(--spacing-xxs);
  flex-wrap: wrap;
`,X_=styled$1.span`
  vertical-align: middle;
  line-height: var(--schema-labels-line-height);
  font-size: var(--schema-property-labels-font-size);
  color: var(--schema-labels--text-color);
`,Z_=styled$1(U_)`
  background-color: var(--schema-inline-bg-color);
  border: var(--schema-inline-border);
  padding: 0 var(--spacing-unit);
  width: fit-content;
`,mre=styled$1(Z_)`
  border: none;
`,Q_=styled$1(U_)`
  background-color: var(--schema-default-bg-color);
  border-color: var(--schema-default-border-color);
  color: var(--schema-default-text-color);
`,$_=styled$1(U_)`
  background-color: var(--schema-example-bg-color);
  border: 1px solid var(--schema-example-border-color);
  color: var(--schema-example-text-color);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  width: fit-content;
`,ev=styled$1(T_)`
  flex-basis: 100%;
  min-width: 0;
  border: 1px solid var(--border-color-secondary);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
`,hre=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xxs);
  padding-left: var(--spacing-base);
`,gre=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: 2px;
`,_re=styled$1.div`
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-primary);
`,vre=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-description);
`,yre=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xxs);
  margin-top: var(--spacing-xxs);
`,bre=styled$1(U_)`
  background-color: var(--schema-enum-bg-color);
  color: var(--schema-enum-text-color);
  padding: 0 var(--spacing-unit);
  width: fit-content;
`,tv=styled$1.button`
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  text-decoration: underline;
  align-self: center;

  &:hover {
    color: var(--text-color-primary);
  }
`,xre=styled$1.button`
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  gap: var(--spacing-xxs);
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  margin-top: var(--spacing-xxs);
  width: 100%;
  min-height: 24px;
`,Sre=styled$1.span`
  background-color: var(--bg-color);
  border-radius: 50%;
  border: 1px solid ${({$color:e})=>e||`var(--border-color-primary)`};
  font-size: var(--font-size-lg);
  line-height: var(--font-size-lg);
  color: ${({$color:e})=>e||`var(--text-color-secondary)`};
  width: 20px;
  height: 20px;
`,Cre=styled$1.div`
  width: 100%;
`,wre=styled$1.div`
  padding-left: var(--schema-nested-offset);
  border-left: 1px solid
    ${({$level:e})=>A_[e%A_.length]||`var(--border-color-primary)`};
  margin: -10px 0 0 9px;

  ${({$level:e})=>{let t=A_[e%A_.length];return t?`
      .schema-name {
        color: ${t};
      }
    `:``}}
`,nv=styled$1.div`
  display: flex;
  flex-direction: column;
`,rv=styled$1.span`
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
`,iv=styled$1(rv)`
  margin-top: 0;
  width: 100%;
`,av=styled$1.span`
  padding: 0 var(--spacing-xs);
  border-radius: var(--tag-border-radius);
  border: 1px solid var(--border-color-secondary);
  background-color: var(--bg-color);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--tag-basic-content-color);
`,ov=styled$1.span`
  flex: 1;
  border-top: 1px solid var(--border-color-primary);
`,Tre=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
`,sv=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
`,Ere=styled$1(sv)`
  padding-bottom: var(--schema-property-details-spacing);
  border-bottom: 1px solid var(--border-color-primary);

  .schema-property-item & {
    padding-bottom: 0;
    border-bottom: none;
  }
`,cv=styled$1.div`
  display: flex;
  flex-direction: column;
  align-items: flex-start;
`,lv=styled$1.div`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--tag-basic-content-color);
  padding: 0 var(--spacing-xs);
  border: 1px solid var(--border-color-secondary);
  border-radius: var(--tag-border-radius);
  margin: var(--spacing-xxs) 0 var(--spacing-xs);
  position: relative;
  width: fit-content;

  &:before {
    content: ' ';
    width: 1px;
    height: var(--spacing-xs);
    background: var(--border-color-secondary);
    display: block;
    position: absolute;
    bottom: calc(-1 * var(--spacing-xs));
    left: var(--spacing-xs);
  }
`,Dre=styled$1.span`
  background-color: var(--border-color-primary);
  display: block;
  align-self: stretch;

  [data-component-name='Dropdown/DropdownMenu'] & {
    height: 1px;
    margin: calc(var(--spacing-xxs) / 2) var(--spacing-xxs);
  }

  [data-component-name='Segmented/Segmented'] & {
    width: 1px;
    margin: var(--spacing-xxs) calc(var(--spacing-xxs) / 2);
  }
`;function uv(e,t,n){return e<(t??n)}function Ore(e,t,n){return n===void 0&&!!t&&e<=4}var dv=createContext(null),kre=dv.Provider;function fv(){let e=useContext(dv);if(!e)throw Error("No markdown adapter found — pass `markdownAdapter` to <RedoclyApiDocs> (the standalone build supplies one automatically).");return e}function Are({source:e}){let t=fv(),n=useMemo(()=>t.parse(e),[t,e]);return jsx(Fragment$1,{children:t.render(n)})}var pv=memo(Are);function mv(e){return hv.test(e)}var hv,gv=o((()=>{hv=/^[a-zA-Z0-9\s\-,.!?:;'"()/]+$/}));function _v(e,t){if(e){if(typeof e!=`string`||mv(e))return e;if(!t?.markdownParser)throw Error("parseMarkdown: a `markdownParser` is required to parse string content. The host build (standalone or embedder) must supply one via options / the markdown parser context.");return t.markdownParser(e,t)}}var vv=o((()=>{gv()}));
/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
function jre(e,t){this.v=e,this.k=t}function yv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Mre(e){if(Array.isArray(e))return e}function Nre(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Pre(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
function Fre(e,t){return Mre(e)||Nre(e,t)||Ire(e,t)||Pre()}function Ire(e,t){if(e){if(typeof e==`string`)return yv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yv(e,t):void 0}}function bv(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof jre;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}function xv(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Fv(e,t,n)}}function Lre(e){return function(){return Iv(e,[...arguments])}}function Sv(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Uv;if(Dv&&Dv(e,null),!Hv(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Ov(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Rre(e){for(let t=0;t<e.length;t++)$v(e,t)||(e[t]=null);return e}function Cv(e){let t=Nv(null);for(let r of Ev(e)){var n=Fre(r,2);let i=n[0],a=n[1];$v(e,i)&&(t[i]=Hv(a)?Rre(a):a&&typeof a==`object`&&a.constructor===Object?Cv(a):a)}return t}function zre(e){switch(typeof e){case`string`:return e;case`number`:return Yv(e);case`boolean`:return Xv(e);case`bigint`:return Zv?Zv(e):`0`;case`symbol`:return Qv?Qv(e):`Symbol()`;case`undefined`:return ey(e);case`function`:case`object`:{if(e===null)return ey(e);let t=e,n=wv(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:ey(e)}return ey(e)}default:return ey(e)}}function wv(e,t){for(;e!==null;){let n=Av(e,t);if(n){if(n.get)return xv(n.get);if(typeof n.value==`function`)return xv(n.value)}e=kv(e)}function n(){return null}return n}function Bre(e){try{return ty(e,``),!0}catch{return!1}}function Tv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:My(),t=e=>Tv(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==Oy.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=wv(d,`cloneNode`),p=wv(d,`remove`),m=wv(d,`removeAttributeNode`),h=wv(d,`nextSibling`),g=wv(d,`childNodes`),_=wv(d,`parentNode`),v=wv(d,`shadowRoot`),y=wv(d,`attributes`),b=o&&o.prototype?wv(o.prototype,`nodeType`):null,x=o&&o.prototype?wv(o.prototype,`nodeName`):null,S=o&&o.prototype?wv(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let T,E=``,D,O=!1,k=0,ee=function(){if(k>0)throw ny(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},te=function(e){ee(),k++;try{return T.createHTML(e)}finally{k--}},ne=function(e){ee(),k++;try{return T.createScriptURL(e)}finally{k--}},re=function(){return O||=(D=Ny(u,i),!0),D},ie=n,ae=ie.implementation,oe=ie.createNodeIterator,se=ie.createDocumentFragment,ce=ie.getElementsByTagName,le=r.importNode,ue=Py();t.isSupported=typeof Ev==`function`&&typeof _==`function`&&ae&&ae.createHTMLDocument!==void 0;let de=my,fe=hy,pe=gy,me=_y,he=vy,ge=by,_e=xy,ve=Cy,ye=yy,be=null,xe=Sv({},[...ry,...iy,...ay,...sy,...ly]),Se=null,Ce=Sv({},[...uy,...dy,...fy,...py]),we=Object.seal(Nv(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Ee=null,De=Object.seal(Nv(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Oe=!0,ke=!0,Ae=!1,je=!0,Me=!1,Ne=!0,Pe=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,Ue=!1,We=`user-content-`,Ge=!0,Ke=!1,qe={},Je=null,Ye=Sv({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Xe=null,Ze=Sv({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Qe=null,$e=Sv({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),et=`http://www.w3.org/1998/Math/MathML`,A=`http://www.w3.org/2000/svg`,tt=`http://www.w3.org/1999/xhtml`,nt=tt,rt=!1,it=null,at=Sv({},[et,A,tt],Wv),ot=jv([`mi`,`mo`,`mn`,`ms`,`mtext`]),st=Sv({},ot),ct=jv([`annotation-xml`]),lt=Sv({},ct),ut=Sv({},[`title`,`style`,`font`,`a`,`script`]),dt=null,ft=[`application/xhtml+xml`,`text/html`],pt=null,mt=null,ht=n.createElement(`form`),gt=function(e){return e instanceof RegExp||e instanceof Function},_t=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(mt&&mt===e)return;(!e||typeof e!=`object`)&&(e={}),e=Cv(e),dt=ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,pt=dt===`application/xhtml+xml`?Wv:Uv,be=Fy(e,`ALLOWED_TAGS`,xe,{transform:pt}),Se=Fy(e,`ALLOWED_ATTR`,Ce,{transform:pt}),it=Fy(e,`ALLOWED_NAMESPACES`,at,{transform:Wv}),Qe=Fy(e,`ADD_URI_SAFE_ATTR`,$e,{transform:pt,base:$e}),Xe=Fy(e,`ADD_DATA_URI_TAGS`,Ze,{transform:pt,base:Ze}),Je=Fy(e,`FORBID_CONTENTS`,Ye,{transform:pt}),Te=Fy(e,`FORBID_TAGS`,Cv({}),{transform:pt}),Ee=Fy(e,`FORBID_ATTR`,Cv({}),{transform:pt}),qe=$v(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?Cv(e.USE_PROFILES):e.USE_PROFILES:!1,Oe=e.ALLOW_ARIA_ATTR!==!1,ke=e.ALLOW_DATA_ATTR!==!1,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=e.SAFE_FOR_TEMPLATES||!1,Ne=e.SAFE_FOR_XML!==!1,Pe=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,Ue=e.SANITIZE_NAMED_PROPS||!1,Ge=e.KEEP_CONTENT!==!1,Ke=e.IN_PLACE||!1,ye=Bre(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:yy,nt=typeof e.NAMESPACE==`string`?e.NAMESPACE:tt,st=Iy(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>Sv({},ot)),lt=Iy(e,`HTML_INTEGRATION_POINTS`,()=>Sv({},ct));let t=Iy(e,`CUSTOM_ELEMENT_HANDLING`,()=>Nv(null));if(we=Nv(null),$v(t,`tagNameCheck`)&&gt(t.tagNameCheck)&&(we.tagNameCheck=t.tagNameCheck),$v(t,`attributeNameCheck`)&&gt(t.attributeNameCheck)&&(we.attributeNameCheck=t.attributeNameCheck),$v(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(we.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Mv(we),Me&&(ke=!1),Be&&(ze=!0),qe&&(be=Sv({},ly),Se=Nv(null),qe.html===!0&&(Sv(be,ry),Sv(Se,uy)),qe.svg===!0&&(Sv(be,iy),Sv(Se,dy),Sv(Se,py)),qe.svgFilters===!0&&(Sv(be,ay),Sv(Se,dy),Sv(Se,py)),qe.mathMl===!0&&(Sv(be,sy),Sv(Se,fy),Sv(Se,py))),De.tagCheck=null,De.attributeCheck=null,$v(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?De.tagCheck=e.ADD_TAGS:Hv(e.ADD_TAGS)&&(be===xe&&(be=Cv(be)),Sv(be,e.ADD_TAGS,pt))),$v(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?De.attributeCheck=e.ADD_ATTR:Hv(e.ADD_ATTR)&&(Se===Ce&&(Se=Cv(Se)),Sv(Se,e.ADD_ATTR,pt))),$v(e,`ADD_FORBID_CONTENTS`)&&Hv(e.ADD_FORBID_CONTENTS)&&(Je===Ye&&(Je=Cv(Je)),Sv(Je,e.ADD_FORBID_CONTENTS,pt)),Ge&&(be[`#text`]=!0),Pe&&Sv(be,[`html`,`head`,`body`]),be.table&&(Sv(be,[`tbody`]),delete Te.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw ny(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw ny(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=T;T=e.TRUSTED_TYPES_POLICY;try{E=te(``)}catch(e){throw T=t,e}}else e.TRUSTED_TYPES_POLICY===null?(T=void 0,E=``):(T===void 0&&(T=re()),T&&typeof E==`string`&&(E=te(``)));jv&&jv(e),mt=e},vt=Sv({},[...iy,...ay,...oy]),yt=Sv({},[...sy,...cy]),bt=function(e,t,n){return t.namespaceURI===tt?e===`svg`:t.namespaceURI===et?e===`svg`&&(n===`annotation-xml`||st[n]):!!vt[e]},xt=function(e,t,n){return t.namespaceURI===tt?e===`math`:t.namespaceURI===A?e===`math`&&lt[n]:!!yt[e]},St=function(e,t,n){return t.namespaceURI===A&&!lt[n]||t.namespaceURI===et&&!st[n]?!1:!yt[e]&&(ut[e]||!vt[e])},Ct=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:nt,tagName:`template`});let n=Uv(e.tagName),r=Uv(t.tagName);return it[e.namespaceURI]?e.namespaceURI===A?bt(n,t,r):e.namespaceURI===et?xt(n,t,r):e.namespaceURI===tt?St(n,t,r):!!(dt===`application/xhtml+xml`&&it[e.namespaceURI]):!1},wt=function(e){Bv(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw ny(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},Tt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},Et=function(e){kt(e);let t=g(e);if(t){let e=[];Lv(t,t=>{Bv(e,t)}),Lv(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&Tt(e,r,i)}},Dt=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Bv(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(ze||Be)try{wt(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},Ot=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||Se[pt(i)]||Tt(e,r,i)}},kt=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===Oy.element&&Ot(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},At=function(e,t){return Ne?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},jt=function(e){if(!Ne)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===Oy.processingInstruction||n===Oy.comment&&ty(Ty,e.data)){try{p(e)}catch{}continue}if(n===Oy.element){let t=e,n=pt(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&At(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Mt=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=Gv(e,/^[\r\n\t ]+/);r=t&&t[0]}dt===`application/xhtml+xml`&&nt===tt&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=T?te(e):e;if(nt===tt)try{t=new l().parseFromString(i,dt)}catch{}if(!t||!t.documentElement){t=ae.createDocument(nt,`template`,null);try{t.documentElement.innerHTML=rt?E:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),nt===tt?ce.call(t,Pe?`html`:`body`)[0]:Pe?t.documentElement:a},Nt=function(e){let t=S?S(e):e.ownerDocument;return oe.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Pt=function(e){return e=Kv(e,de,` `),e=Kv(e,fe,` `),e=Kv(e,pe,` `),e},Ft=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=oe.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Pt(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Lv(i,e=>{Lt(e.content)&&Ft(e.content)})},It=function(e){let t=x?x(e):null;return typeof t!=`string`||pt(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},Lt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===Oy.documentFragment}catch{return!1}},Rt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function zt(e,n,r){e.length!==0&&Lv(e,e=>{e.call(t,n,r,mt)})}let Bt=function(e,t){return!!(Ne&&e.hasChildNodes()&&!Rt(e.firstElementChild)&&ty(wy,e.textContent)&&ty(wy,e.innerHTML)||Ne&&e.namespaceURI===tt&&Ay[t]&&(Rt(e.firstElementChild)||typeof e.textContent==`string`&&ty(jy[t],e.textContent))||e.nodeType===Oy.processingInstruction||Ne&&e.nodeType===Oy.comment&&ty(Ty,e.data))},Vt=function(e,t){return e instanceof RegExp?ty(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},Ht=function(e,t,n){if(!Te[t]&&Jt(t)&&Vt(we.tagNameCheck,t))return!1;if(Ge&&!Je[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return wt(e),!0},Ut=function(e,t,n,r){return e.length===0?t:t===n||t===r?Cv(t):t},Wt=function(e,t){return e===t||_(e)!==null?!1:(Ke&&kt(e),!0)},Gt=function(e,n){if(zt(ue.beforeSanitizeElements,e,null),Wt(e,n))return!0;if(It(e))return wt(e),!0;let r=pt(w(e));if(be=Ut(ue.uponSanitizeElement,be,xe,Ie),zt(ue.uponSanitizeElement,e,{tagName:r,allowedTags:be}),Wt(e,n))return!0;if(Bt(e,r))return wt(e),!0;if(Te[r]||!(De.tagCheck instanceof Function&&De.tagCheck(r))&&!be[r]){let t=Ht(e,r,n);return t===!1&&(zt(ue.afterSanitizeElements,e,null),Wt(e,n))?!0:t}if(C(e)===Oy.element&&!Ct(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&ty(Ey,e.innerHTML))return wt(e),!0;if(Me&&e.nodeType===Oy.text){let n=Pt(e.textContent);e.textContent!==n&&(Bv(t.removed,{element:e.cloneNode()}),e.textContent=n)}return zt(ue.afterSanitizeElements,e,null),Wt(e,n)},Kt=function(e,t,r){if(Ee[t]||At(t,e)||He&&(t===`id`||t===`name`)&&(r in n||r in ht))return!1;let i=Se[t]||De.attributeCheck instanceof Function&&De.attributeCheck(t,e);return ke&&ty(me,t)||Oe&&ty(he,t)?!0:i?Qe[t]||ty(ye,Kv(r,_e,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&qv(r,`data:`)===0&&Xe[e]||Ae&&!ty(ge,Kv(r,_e,``))?!0:!r:Jt(e)&&Vt(we.tagNameCheck,e)&&Vt(we.attributeNameCheck,t,e)||t===`is`&&we.allowCustomizedBuiltInElements&&Vt(we.tagNameCheck,r)},qt=Sv({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Jt=function(e){return!qt[Uv(e)]&&ty(ve,e)},Yt=function(e,t,n,r){if(T&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return te(r);case`TrustedScriptURL`:return ne(r)}return r},Xt=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!It(e)||(wt(e),!1)}catch{return Dt(t,e),!1}},Zt=function(e,n){if(zt(ue.beforeSanitizeAttributes,e,null),Wt(e,n))return;let r=e.attributes;if(!r||It(e))return;Se=Ut(ue.uponSanitizeAttribute,Se,Ce,Le);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0},a=r.length,o=pt(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=pt(s),d=l,f=s===`value`?d:Jv(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,zt(ue.uponSanitizeAttribute,e,i),f=i.attrValue,Ue&&(u===`id`||u===`name`)&&qv(f,We)!==0&&(Dt(s,e,n),f=We+f,p=!0),Ne&&ty(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){Dt(s,e,n);continue}if(u===`attributename`&&Gv(f,`href`)){Dt(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){Dt(s,e,n);continue}if(!je&&ty(Dy,f)){Dt(s,e,n);continue}if(Me&&(f=Pt(f)),!Kt(o,u,f)){Dt(s,e,n);continue}f=Yt(o,u,c,f),f!==d&&Xt(e,s,c,f)&&p&&zv(t.removed)}}zt(ue.afterSanitizeAttributes,e,null),Wt(e,n)},Qt=function(e){let t=null,n=Nt(e);for(zt(ue.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(zt(ue.uponSanitizeShadowNode,t,null),Gt(t,e),Zt(t,e),Lt(t.content)&&Qt(t.content),C(t)===Oy.element){let e=v(t);Lt(e)&&($t(e),Qt(e))}zt(ue.afterSanitizeShadowDOM,e,null)},$t=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Qt(e.shadow);continue}let n=e.node,r=C(n)===Oy.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&pt(e)===`template`){let e=n.content;Lt(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);Lt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(rt=!e,rt&&(e=`<!-->`),typeof e!=`string`&&!Rt(e)&&(e=zre(e),typeof e!=`string`))throw ny(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(be=Ie,Se=Le):_t(n),(ue.uponSanitizeElement.length>0||ue.uponSanitizeAttribute.length>0)&&(be=Cv(be)),ue.uponSanitizeAttribute.length>0&&(Se=Cv(Se)),t.removed=[];let c=Ke&&typeof e!=`string`&&Rt(e);if(c){jt(e);let t=w(e);if(typeof t==`string`){let n=pt(t);if(!be[n]||Te[n])throw Et(e),ny(`root node is forbidden and cannot be sanitized in-place`)}if(It(e))throw Et(e),ny(`root node is clobbered and cannot be sanitized in-place`);try{$t(e)}catch(t){throw Et(e),t}}else if(Rt(e))i=Mt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Oy.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),$t(i);else{if(!ze&&!Me&&!Pe&&e.indexOf(`<`)===-1)return T&&Ve?te(e):e;if(i=Mt(e),!i)return ze?null:Ve?E:``}i&&Re&&wt(i.firstChild);let l=c?e:i;try{let e=Nt(l);for(;o=e.nextNode();)Gt(o,l),Zt(o,l),Lt(o.content)&&Qt(o.content)}catch(n){throw c&&(Et(e),Lv(t.removed,e=>{e.element&&kt(e.element)})),n}if(c){let n=!1;if(Lv(t.removed,t=>{t.element&&(t.element===e&&(n=!0),kt(t.element))}),n)throw ny(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return Me&&Ft(e),e}if(ze){if(Me&&Ft(i),Be)for(s=se.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Se.shadowroot||Se.shadowrootmode)&&(s=le.call(r,s,!0)),s}let u=Pe?i.outerHTML:i.innerHTML;return Pe&&be[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&ty(Sy,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
`+u),Me&&(u=Pt(u)),T&&Ve?te(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_t(e),Fe=!0,Ie=be,Le=Se},t.clearConfig=function(){mt=null,Fe=!1,Ie=null,Le=null,T=D,E=``},t.isValidAttribute=function(e,t,n){mt||_t({});let r=pt(e),i=pt(t);return Kt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&$v(ue,e)&&Bv(ue[e],t)},t.removeHook=function(e,t){if($v(ue,e)){if(t!==void 0){let n=Rv(ue[e],t);return n===-1?void 0:Vv(ue[e],n,1)[0]}return zv(ue[e])}},t.removeHooks=function(e){$v(ue,e)&&(ue[e]=[])},t.removeAllHooks=function(){ue=Py()},t}var Ev,Dv,Ov,kv,Av,jv,Mv,Nv,Pv,Fv,Iv,Lv,Rv,zv,Bv,Vv,Hv,Uv,Wv,Gv,Kv,qv,Jv,Yv,Xv,Zv,Qv,$v,ey,ty,ny,ry,iy,ay,oy,sy,cy,ly,uy,dy,fy,py,my,hy,gy,_y,vy,yy,by,xy,Sy,Cy,wy,Ty,Ey,Dy,Oy,ky,Ay,jy,My,Ny,Py,Fy,Iy,Ly,Vre=o((()=>{bv.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},bv.prototype.next=function(e){return this._invoke(`next`,e)},bv.prototype.throw=function(e){return this._invoke(`throw`,e)},bv.prototype.return=function(e){return this._invoke(`return`,e)},Ev=Object.entries,Dv=Object.setPrototypeOf,Ov=Object.isFrozen,kv=Object.getPrototypeOf,Av=Object.getOwnPropertyDescriptor,jv=Object.freeze,Mv=Object.seal,Nv=Object.create,Pv=typeof Reflect<`u`&&Reflect,Fv=Pv.apply,Iv=Pv.construct,jv||=function(e){return e},Mv||=function(e){return e},Fv||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Iv||=function(e){return new e(...[...arguments].slice(1))},Lv=xv(Array.prototype.forEach),Array.prototype.indexOf,Rv=xv(Array.prototype.lastIndexOf),zv=xv(Array.prototype.pop),Bv=xv(Array.prototype.push),Array.prototype.slice,Vv=xv(Array.prototype.splice),Hv=Array.isArray,Uv=xv(String.prototype.toLowerCase),Wv=xv(String.prototype.toString),Gv=xv(String.prototype.match),Kv=xv(String.prototype.replace),qv=xv(String.prototype.indexOf),Jv=xv(String.prototype.trim),Yv=xv(Number.prototype.toString),Xv=xv(Boolean.prototype.toString),Zv=typeof BigInt>`u`?null:xv(BigInt.prototype.toString),Qv=typeof Symbol>`u`?null:xv(Symbol.prototype.toString),$v=xv(Object.prototype.hasOwnProperty),ey=xv(Object.prototype.toString),ty=xv(RegExp.prototype.test),ny=Lre(TypeError),ry=jv(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),iy=jv(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),ay=jv([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),oy=jv([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),sy=jv(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),cy=jv([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),ly=jv([`#text`]),uy=jv(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),dy=jv(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),fy=jv(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),py=jv([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),my=Mv(/{{[\w\W]*|^[\w\W]*}}/g),hy=Mv(/<%[\w\W]*|^[\w\W]*%>/g),gy=Mv(/\${[\w\W]*/g),_y=Mv(/^data-[\-\w.\u00B7-\uFFFF]+$/),vy=Mv(/^aria-[\-\w]+$/),yy=Mv(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),by=Mv(/^(?:\w+script|data):/i),xy=Mv(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Sy=Mv(/^html$/i),Cy=Mv(/^[a-z][.\w]*(-[.\w]+)+$/i),wy=Mv(/<[/\w!]/g),Ty=Mv(/<[/\w]/g),Ey=Mv(/<\/no(script|embed|frames)/i),Dy=Mv(/\/>/i),Oy={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ky=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Ay=jv(Sv({},ky)),jy=function(){let e={};return Lv(ky,t=>{e[t]=Mv(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),jv(e)}(),My=function(){return typeof window>`u`?null:window},Ny=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Py=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Fy=function(e,t,n,r){return $v(e,t)&&Hv(e[t])?Sv(r.base?Cv(r.base):{},e[t],r.transform):n},Iy=function(e,t,n){let r=$v(e,t)?e[t]:void 0;return r&&typeof r==`object`?Cv(r):n()},Ly=Tv()})),Ry,Hre=o((()=>{Ry=()=>{throw Error(`linkedom is not available in browser bundles`)}}));function Ure(){if(zy)return zy;let e=Ly,t=e.sanitize;return typeof t==`function`?(zy={sanitize:e=>t(e)},zy):(zy=e(typeof window>`u`?Ry(`<!doctype html><html><body></body></html>`).window:window),zy)}var zy,Wre=o((()=>{Vre(),Hre()}));function Gre(e){return e.type===`tag`&&e.tag===`schemaDefinition`}function By(e){let t=e.search(ab);return t===-1?e:e.slice(0,t)}function Vy(e,t){if(typeof e==`string`){let t=By(e).trim();if(mv(t))return t}let n=_v(e,t);if(!n)return;if(typeof n==`string`)return n;if(Array.isArray(n)){let e=n.findIndex(e=>e.type===`heading`);return e===-1?n:n.slice(0,e)}if(!n.children||!Array.isArray(n.children))return;let r=n.children.findIndex(e=>e.type===`heading`);return r===-1?[n]:n.children.slice(0,r)}function Hy(e,t,{sliceAtFirstHeading:n=!1}={}){if(typeof e==`string`&&n){let t=By(e).trim();if(mv(t))return[{kind:`markdoc`,node:{nodeType:R.MARKDOC,content:t}}]}let r=_v(e,t);if(!r)return[];if(typeof r==`string`)return[{kind:`markdoc`,node:{nodeType:R.MARKDOC,content:r}}];let i=Array.isArray(r)?r:r.children??[];if(n){let e=i.findIndex(e=>e.type===`heading`);e!==-1&&(i=i.slice(0,e))}let a=[],o=[],s=()=>{o.length>0&&(a.push({kind:`markdoc`,node:{nodeType:R.MARKDOC,content:o}}),o=[])};for(let e of i)Gre(e)?(s(),a.push({kind:`schemaDefinition`,node:{nodeType:R.MARKDOC,content:[e]}})):o.push(e);return s(),a}function Kre(e,t,n){let r=e.toLowerCase(),i=r.startsWith(`section/`)?r.slice(8):r,a=i===t.toLowerCase()?``:i;return n&&(a=Os(n,a)),a}function Uy(e,...t){let n=e.toLowerCase();for(let e of t){let t=e?`${e.toLowerCase()}/`:``;t&&`${n}/`.startsWith(t)&&(n=n.slice(t.length))}return n}function Wy(e,{operationId:t,deepLinkSuffix:n}){let r=Kre(e,t,n);return{id:Os(t,r).toLowerCase(),deepLinkHash:Gs(``,t,r)}}function Gy(e,t){e.type===`tag`&&e.tag===`partial`&&(e.attributes.variables={...e.attributes.variables,[ob]:t})}function Ky(e,t){Gy(e,t);for(let n of e.children??[])Ky(n,t)}function qy(e,t,n){if(typeof e==`string`)return;let r=e=>{if(e.type===`heading`&&e.attributes?.level){let r=e.attributes.id?Uy(e.attributes.id,t,n):Ss(rb(e).trim()).toLowerCase();r&&Object.assign(e.attributes,Wy(r,{operationId:t,deepLinkSuffix:n}))}Gy(e,{operationId:t,deepLinkSuffix:n});for(let t of e.children??[])r(t)};if(Array.isArray(e))for(let t of e)r(t);else r(e)}function Jy(e,t,n,r){let i=_v(e,t);if(!i||typeof i==`string`)return[];let a=[],o,s=(e,t,i=a,o,s)=>{e=Yre(e);let c=s!==void 0,l=c?s:n,u;u=o.attributes.id?Uy(o.attributes.id,l):c||r?Ss(e):`section/${Ss(e)}`;let d=Os(l,u).toLowerCase();o.attributes.id=d;let f={id:d,name:e,level:t,items:[],ast:[o]};return i.push(f),f},c=e=>{if(typeof e?.attributes?.content==`string`)return e.attributes.content;if(e?.children)return c(e.children[0])},l=e=>{let t=c(e)||``;if(!e.attributes?.level){let t=o?.id??n;Ky(e,t?{operationId:t}:sb)}e.type===`heading`&&e.attributes?.level===1?o=s(t,e.attributes.level,void 0,e):e.attributes?.level?s(t,e.attributes.level,o?.items,e,o?.id):o?.items?.length?o.items[o.items.length-1]?.ast?.push(e):a.length&&a[a.length-1]?.ast?.push(e)};if(Array.isArray(i))for(let e of i)l(e);else if(i.children)for(let e of i.children)l(e);return a}function Yy({heading:e,basePath:t,withContent:n=!0}){let r=e.items.length>0,i=Os(t,e.id).toLowerCase(),a=r?e.items.map(e=>Yy({heading:e,basePath:t,withContent:n})):[];return{type:r?`group`:`link`,label:e.name,link:i,routeSlug:i,items:r?a:void 0,content:n?Zre(e):null}}function Xy(e,t,n){let r=[],i=[];for(let a of Jy(e,n,``)){let{item:e,children:n}=Zy(a,t);r.push(e),i.push(...n)}return{sectionItems:r,sectionChildren:i}}function Zy(e,t){let n=Os(t,e.id),r=e.items.length>0,i=e.ast?.length?[Qre(e.ast,ks(e.id))]:[],a=[];for(let n of e.items){let{item:e,children:r}=Zy(n,t);a.push(e),i.push({nodeType:R.OVERVIEW_SECTION_WRAPPER,children:r,sectionId:ks(n.id)})}return{item:{type:r?`group`:`link`,label:e.name,link:n,routeSlug:n,items:r?a:void 0,content:null},children:i}}function Qy(e){return e.replace(/```[^\n]*(?:\n([\s\S]*?))?```/g,`$1`).replace(cb,``).replace(/!?\[(?<!\[[^\]()]*?\[)([^\]]*)\]\([^)]*\)/g,`$1`).replace(/^[ \t]*(?:[-*+]|\d+[.)])[ \t]+/gm,``).replace(/^[ \t]*#{1,6}[ \t]+/gm,``).replace(/^[ \t]*>[ \t]?/gm,``).replace(/^[ \t]*(?:[-*][ \t]*){3,}$/gm,``).replace(/\*\*(.*?)\*\*/g,`$1`).replace(/\*(?=\S)(.*?\S)\*/g,`$1`).replace(/`+([^`]*)`+/g,`$1`).replace(/\\([\\`*_{}[\]()#+\-.!>])/g,`$1`).replace(/\s+/g,` `).trim()}function $y(e){return typeof e==`string`?Qy(e):Array.isArray(e)?e.map(e=>rb(e)).filter(Boolean).join(` `).trim():rb(e).trim()}function qre(e,t=50){if(typeof e==`string`){let n=e.split(/\n[ \t]*\n/)[0].replace(/\s+/g,` `).trim();return n?n.substring(0,t):void 0}let n=(Array.isArray(e)?e:e.children??[e])[0];if(!n)return;let r=rb(n);return r?r.substring(0,t):void 0}function eb(e,t){if(!e)return;let n=_v(e,t);if(!n)return;let r=qre(n);return r?r.length===50?r+`…`:r:void 0}function tb(e){return!!e&&typeof e==`object`&&`$$mdtype`in e}function nb(e){return Array.isArray(e)?e.length>0&&e.every(tb):tb(e)}function Jre(e){return e.type===`tag`&&e.tag===`html`&&(e.attributes.name===`script`||e.attributes.name===`style`)}function rb(e){let t=[];function n(e){if(!Jre(e)){typeof e.attributes?.content==`string`&&t.push(e.attributes.content);for(let t of e.children??[])n(t)}}return n(e),t.join(``)}function ib(e){return typeof e==`string`?Qy(e):(Array.isArray(e)?e:[e]).map(e=>rb(e)).join(``).trim()}function Yre(e){return e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(parseInt(t,10))).replace(/&quot;/g,`"`).replace(/&amp;/g,`&`)}function Xre(e,t){let{sanitize:n}=t??{};return n?Ure().sanitize(e):e}function Zre(e){let t=[];return e.ast&&e.ast.length>0&&t.push({nodeType:R.MARKDOC,content:e.ast}),{contentType:ts.ITEM,itemVariant:L.MARKDOWN,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:t,panels:[]}]}}function Qre(e,t){return{nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.MARKDOC,content:e}],sectionId:t}}var ab,ob,sb,cb,lb=o((()=>{B(),Ds(),vv(),gv(),Ns(),_c(),Wre(),ab=/^[ \t]{0,3}#{1,6}[ \t]/m,ob=`$$apiDocsHeadingScope`,sb={operationId:``,deepLinkSuffix:`section`},cb=/<\/?(?:a|b|i|em|strong|code|pre|br|hr|p|span|div|small|sup|sub|img|ul|ol|li|dl|dt|dd|table|thead|tbody|tr|td|th|blockquote|h[1-6])(?:\s[^>]*)?\/?>/gi}));lb();function ub({value:e}){return e?typeof e==`string`||typeof e==`number`||typeof e==`boolean`?jsx(J_,{children:jsx(pv,{source:String(e)})}):nb(e)?jsx(J_,{children:jsx(pv,{source:e})}):null:null}function $re(e){return typeof e==`string`&&e.length>0?e:typeof e==`number`||typeof e==`boolean`?String(e):`Find more info here`}qf();var eie=[`openapi.`,`asyncapi.`,`graphql.`];function tie(e){let t=new Set;for(let n of e){let e=eie.find(e=>n.startsWith(e));e&&t.add(n.slice(e.length))}return t}function db(e){let{translate:t}=sr().useTranslate(),n=sr().useTranslationKeys(),r=useMemo(()=>tie(n),[n]);return useCallback((n,i)=>n?e&&r.has(n)?t(`${e}.${n}`,i):t(n,i):typeof i==`string`?i:i?.defaultValue??``,[t,e,r])}function fb(){return db(I(fs))}function nie({label:e,values:t}){let n=I(ds),r=fb(),i=`maxDisplayedEnumValues`in n?n.maxDisplayedEnumValues:void 0,[a,o]=useState(!0),s=useCallback(()=>o(e=>!e),[]),{displayed:c,showToggle:l}=useMemo(()=>P_(t,i,a),[t,i,a]);if(!t.length)return null;let u=typeof i==`number`&&i>0?i:0,d=a?`+${t.length-u} ${r(`actions.more`,`more`)}`:r(`actions.hide`,`Hide`);return jsxs(yre,{"data-testid":`schema-enum-values`,children:[jsx(X_,{children:e}),c.map((e,t)=>jsx(bre,{children:JSON.stringify(e)},`${JSON.stringify(e)}-${t}`)),l&&jsx(tv,{type:`button`,onClick:s,children:d})]})}var pb=memo(nie);Bt();var rie=css`
  .md-table-wrapper {
    overflow-x: auto;
  }

  table.${`md`} {
    width: 100%;
    overflow: hidden;
    word-break: keep-all;
    border-spacing: 0;
    margin: var(--md-table-margin-vertical) 0;
    border-radius: var(--md-table-border-radius);
    border: 1px solid var(--md-table-border-color);

    th,
    td {
      padding: var(--md-table-cell-padding);
      color: var(--md-table-cell-text-color);
      font-size: var(--md-table-font-size);
      line-height: var(--md-table-line-height);
      vertical-align: var(--md-table-cell-vertical-align);
    }

    thead td,
    thead th,
    tbody td {
      border-bottom: 1px solid var(--md-table-border-color);
    }

    tbody tr:last-child td {
      border-bottom: none;
    }

    tfoot td {
      border-top: 1px solid var(--md-table-border-color);
      padding: var(--md-table-footer-cell-padding);
    }

    thead,
    tfoot {
      background-color: var(--md-table-header-bg-color);
    }

    /* hide the header row when every cell is empty; one labelled cell keeps it visible */
    thead:has(th:empty) {
      display: none;
    }
    thead:has(th:not(:empty)) {
      display: table-header-group;
    }

    tr {
      background-color: var(--md-table-stripe-bg-color);
    }

    th {
      /** th has text-align: center by default */
      text-align: left;
      font-weight: var(--md-table-head-font-weight);
      color: var(--md-table-head-text-color);
    }

    /* need to overwrite the text-align: left from above */
    th[align='center'] {
      text-align: center;
    }
    th[align='right'] {
      text-align: right;
    }

    th[valign='top'],
    td[valign='top'] {
      vertical-align: top;
    }
    th[valign='middle'],
    td[valign='middle'] {
      vertical-align: middle;
    }
    th[valign='bottom'],
    td[valign='bottom'] {
      vertical-align: bottom;
    }
  }
`;function iie(e){return css`
    .${e}.before {
      position: absolute;
      left: 0;
      transform: translateX(-100%);
      padding-right: var(--heading-anchor-offset-right);
    }

    .${e}.after {
      display: inline-block;
      padding-left: 4px;
    }

    .${e} svg {
      fill: var(--heading-anchor-color);
      visibility: hidden;

      background-image: var(--heading-anchor-icon);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }

    &:hover .${e} svg,
    .${e}:focus svg {
      visibility: visible;
    }
  `}F(),Bt();var mb=styled.main.withConfig({shouldForwardProp:e=>![`compact`,`inline`,`base`].includes(e)}).attrs({"data-component-name":`Markdown/Markdown`})`
  font-size: var(--md-content-font-size);
  font-family: var(--md-content-font-family);
  font-weight: var(--md-content-font-weight);
  line-height: var(--md-content-line-height);
  color: var(--md-content-text-color);
  padding: 0;
  overflow-wrap: break-word;

  ${({compact:e})=>e&&css`
      p:first-child {
        margin-top: 0;
      }
      p:last-child {
        margin-bottom: 0;
      }
    `}

  ${({base:e})=>e&&css`
      p {
        font-size: var(--md-content-font-size);
      }
    `}

  ${({inline:e})=>e&&css`
      p {
        display: inline-block;
      }
    `}

  ${k_}

  a[name], [id] {
    scroll-margin-top: var(--navbar-offset);
  }

  img,
  iframe {
    max-width: 100%;
  }

  .${Dt} {
    font-weight: var(--heading-font-weight);
    font-family: var(--heading-font-family);
    position: relative;

    scroll-margin-top: var(--navbar-offset);
    ${iie(Ot)};

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      display: flex;
      align-items: flex-start;
      gap: var(--spacing-sm);
      margin: 0;
      font: inherit;
      color: inherit;
    }
  }

  .${At} {
    ${ne(`h1`)};
    margin: var(--h1-margin-top) 0 var(--h1-margin-bottom) 0;

    h1 code {
      font-size: var(--h1-font-size);
      line-height: var(--h1-code-line-height);
    }
  }

  .${jt} {
    ${ne(`h2`)};
    margin: var(--h2-margin-top) 0 var(--h2-margin-bottom) 0;

    h2 code {
      font-size: var(--h2-font-size);
      line-height: var(--h2-code-line-height);
    }
  }

  .${Mt} {
    ${ne(`h3`)};
    margin: var(--h3-margin-top) 0 var(--h3-margin-bottom) 0;

    h3 code {
      font-size: var(--h3-font-size);
      line-height: var(--h3-code-line-height);
    }
  }

  .${Nt} {
    ${ne(`h4`)};
    margin: var(--h4-margin-top) 0 var(--h4-margin-bottom) 0;

    h4 code {
      font-size: var(--h4-font-size);
      line-height: var(--h4-code-line-height);
    }
  }

  .${Pt} {
    ${ne(`h5`)};
    margin: var(--h5-margin-top) 0 var(--h5-margin-bottom) 0;

    h5 code {
      font-size: var(--h5-font-size);
      line-height: var(--h5-code-line-height);
    }
  }

  .${Ft} {
    ${ne(`h6`)};
    margin: var(--h6-margin-top) 0 var(--h6-margin-bottom) 0;

    h6 code {
      font-size: var(--h6-font-size);
      line-height: var(--h6-code-line-height);
    }
  }

  strong {
    font-weight: var(--font-weight-bold);
  }

  hr {
    margin: var(--md-hr-margin-vertical) 0;
    border: var(--md-hr-border);
  }

  details:not(${mt}) {
    margin: 1.125em 0;

    summary {
      color: var(--text-color-secondary);
      font-weight: var(--font-weight-regular);
      padding: 0;
      cursor: pointer;
    }

    & > :not(summary):first-of-type {
      margin-top: 1.25em;
    }

    & > *:last-child {
      margin-bottom: 1.25em;
    }

    & > :not(summary) {
      margin-left: 2em;
    }
  }

  ${rie};

  p {
    margin: var(--md-paragraph-margin);
  }

  /**
   * @deprecated Legacy styles for ejected Heading components that render h1-h6 as the root.
   *
   * Deprecated legacy heading styles start.
   */
  h1.${`md`} {
    ${ne(`h1`)};
    margin: var(--h1-margin-top) 0 var(--h1-margin-bottom) 0;
  }

  h2.${`md`} {
    ${ne(`h2`)};
    margin: var(--h2-margin-top) 0 var(--h2-margin-bottom) 0;
  }

  h3.${`md`} {
    ${ne(`h3`)};
    margin: var(--h3-margin-top) 0 var(--h3-margin-bottom) 0;
  }

  h4.${`md`} {
    ${ne(`h4`)};
    margin: var(--h4-margin-top) 0 var(--h4-margin-bottom) 0;
  }

  h5.${`md`} {
    ${ne(`h5`)};
    margin: var(--h5-margin-top) 0 var(--h5-margin-bottom) 0;
  }

  h6.${`md`} {
    ${ne(`h6`)};
    margin: var(--h6-margin-top) 0 var(--h6-margin-bottom) 0;
  }

  h1.${`md`} code {
    font-size: var(--h1-font-size);
    line-height: var(--h1-code-line-height);
  }

  h2.${`md`} code {
    font-size: var(--h2-font-size);
    line-height: var(--h2-code-line-height);
  }

  h3.${`md`} code {
    font-size: var(--h3-font-size);
    line-height: var(--h3-code-line-height);
  }

  h4.${`md`} code {
    font-size: var(--h4-font-size);
    line-height: var(--h4-code-line-height);
  }

  h5.${`md`} code {
    font-size: var(--h5-font-size);
    line-height: var(--h5-code-line-height);
  }

  h6.${`md`} code {
    font-size: var(--h6-font-size);
    line-height: var(--h6-code-line-height);
  }
  /* Deprecated legacy heading styles end. */

  code {
    color: var(--inline-code-text-color);
    background-color: var(--inline-code-bg-color);

    border-radius: var(--inline-code-border-radius);
    padding: 0.19rem var(--spacing-xxs);
    font-weight: var(--code-font-weight);
    word-break: break-word;
    font-size: var(--font-size-sm);
    font-family: var(--font-family-monospaced);
    line-height: var(--line-height-sm);
  }

  && pre {
    white-space: var(--code-wrap, pre);
    background-color: var(--code-block-bg-color);
    font-family: var(--code-block-font-family);
    color: var(--code-block-text-color);
    padding: var(--code-block-padding);
    overflow-x: auto;
    line-height: var(--line-height-base);
    margin: var(--md-pre-margin);

    code {
      background-color: transparent;
      color: inherit;
      font-size: inherit;
      font-family: inherit;
      border: none;
      padding: 0;
    }
  }

  blockquote {
    margin: var(--md-blockquote-margin-vertical)
      var(--md-blockquote-margin-horizontal);
    padding: var(--md-blockquote-padding-vertical)
      var(--md-blockquote-padding-horizontal);
    border-left: var(--md-blockquote-border-left);
    background-color: var(--md-blockquote-bg-color);
    color: var(--md-blockquote-text-color);
    box-shadow: var(--md-blockquote-box-shadow);

    & > p:first-child {
      margin-top: 0;
    }
  }

  img {
    max-width: 100%;
    box-sizing: content-box;
    margin: 0 auto;

    &:only-child {
      display: block;
    }
  }

  p,
  li {
    & > img:only-child {
      display: inline-block;
    }
  }

  ul.${`md`}, ol.${`md`} {
    padding-left: var(--md-list-left-padding);
    margin: var(--md-list-margin);

    ul,
    ol {
      margin-bottom: 0;
      margin-top: 0;
    }
  }

  li {
    list-style: var(--md-list-item-style);

    &:not(:last-child) {
      margin-bottom: calc(var(--spacing-xxs) / 2);
    }

    &::marker {
      padding-left: 0.25rem;
    }
  }

  ul > li:has(input[type="checkbox"]) {
    list-style: var(--md-checkbox-list-item-style);
  }

  ol > li {
    list-style: var(--md-numbered-list-item-style);
  }

  ol > li:before {
    content: counter(list-item);
    display: var(--md-numbered-list-number-display);
    color: var(--md-numbered-list-number-text-color);
    font-size: var(--md-numbered-list-number-font-size);
    font-family: var(--md-numbered-list-number-font-family);
    font-weight: var(--md-numbered-list-number-font-weight);
    background-color: var(--md-numbered-list-number-bg-color);
    border-radius: var(--md-numbered-list-number-border-radius);
    border: var(--md-numbered-list-number-border);
    margin-right: var(--md-numbered-list-number-margin-right);
    padding: var(--md-numbered-list-number-padding);
  }
`,aie=styled$1(mb)`
  table.md {
    margin: var(--spacing-xs) 0 0;
  }
`;function hb({values:e,type:t}){let n=Object.entries(e),r=`${t?.startsWith(`Array`)?`Items `:``}${n.length===1?`Value`:`Enum Value`}`;return jsx(aie,{as:`div`,children:jsxs(`table`,{className:`md`,children:[jsx(`thead`,{children:jsxs(`tr`,{children:[jsx(`th`,{style:{width:`30%`},children:r}),jsx(`th`,{children:`Description`})]})}),jsx(`tbody`,{children:n.map(([e,t])=>jsxs(`tr`,{children:[jsx(`td`,{children:e}),jsx(`td`,{children:jsx(ub,{value:t})})]},e))})]})})}function oie({extensions:e}){return Object.keys(e).length===0?null:jsx(Fragment$1,{children:Object.keys(e).map(t=>jsxs(mb,{children:[jsxs(sie,{children:[t.substring(2),`: `]}),` `,jsx(cie,{children:typeof e[t]==`string`?e[t]:JSON.stringify(e[t])})]},t))})}var gb=memo(oie),sie=styled$1.span`
  font-weight: var(--font-weight-semibold);
`,cie=styled$1.span`
  font-family: var(--font-family-monospaced);
`;F();var _b=`redocly-link-icon`;function lie(){return jsx(`svg`,{"data-component-name":`icons/LinkIcon/LinkIconSymbol`,display:`none`,"aria-hidden":`true`,focusable:`false`,children:jsxs(`symbol`,{id:_b,viewBox:`0 0 20 20`,children:[jsx(`path`,{d:`M0 6C0 2.68629 2.68629 0 6 0H14C17.3137 0 20 2.68629 20 6V14C20 17.3137 17.3137 20 14 20H6C2.68629 20 0 17.3137 0 14V6Z`,fill:`var(--link-icon-bg-color, var(--layer-color))`}),jsx(`path`,{d:`M7.37318 9.56229H12.6232C12.7392 9.56229 12.8505 9.60838 12.9325 9.69043C13.0146 9.77247 13.0607 9.88375 13.0607 9.99979C13.0607 10.1158 13.0146 10.2271 12.9325 10.3091C12.8505 10.3912 12.7392 10.4373 12.6232 10.4373H7.37318C7.25714 10.4373 7.14586 10.3912 7.06382 10.3091C6.98177 10.2271 6.93568 10.1158 6.93568 9.99979C6.93568 9.88375 6.98177 9.77247 7.06382 9.69043C7.14586 9.60838 7.25714 9.56229 7.37318 9.56229ZM8.6853 12.1875H6.4978C5.91764 12.1875 5.36124 11.957 4.95101 11.5468C4.54077 11.1366 4.3103 10.5802 4.3103 10C4.3103 9.41984 4.54077 8.86344 4.95101 8.4532C5.36124 8.04297 5.91764 7.8125 6.4978 7.8125H8.6853C8.80133 7.8125 8.91262 7.76641 8.99466 7.68436C9.07671 7.60231 9.1228 7.49103 9.1228 7.375C9.1228 7.25897 9.07671 7.14769 8.99466 7.06564C8.91262 6.98359 8.80133 6.9375 8.6853 6.9375H6.4978C5.68558 6.9375 4.90662 7.26016 4.33229 7.83449C3.75796 8.40882 3.4353 9.18777 3.4353 10C3.4353 10.8122 3.75796 11.5912 4.33229 12.1655C4.90662 12.7398 5.68558 13.0625 6.4978 13.0625H8.6853C8.80133 13.0625 8.91262 13.0164 8.99466 12.9344C9.07671 12.8523 9.1228 12.741 9.1228 12.625C9.1228 12.509 9.07671 12.3977 8.99466 12.3156C8.91262 12.2336 8.80133 12.1875 8.6853 12.1875ZM13.4982 6.9375H11.3107C11.1946 6.9375 11.0834 6.98359 11.0013 7.06564C10.9193 7.14769 10.8732 7.25897 10.8732 7.375C10.8732 7.49103 10.9193 7.60231 11.0013 7.68436C11.0834 7.76641 11.1946 7.8125 11.3107 7.8125H13.4982C14.0783 7.8125 14.6347 8.04297 15.045 8.4532C15.4552 8.86344 15.6857 9.41984 15.6857 10C15.6857 10.5802 15.4552 11.1366 15.045 11.5468C14.6347 11.957 14.0783 12.1875 13.4982 12.1875H11.3107C11.1946 12.1875 11.0834 12.2336 11.0013 12.3156C10.9193 12.3977 10.8732 12.509 10.8732 12.625C10.8732 12.741 10.9193 12.8523 11.0013 12.9344C11.0834 13.0164 11.1946 13.0625 11.3107 13.0625H13.4982C14.3104 13.0625 15.0894 12.7398 15.6637 12.1655C16.238 11.5912 16.5607 10.8122 16.5607 10C16.5607 9.18777 16.238 8.40882 15.6637 7.83449C15.0894 7.26016 14.3104 6.9375 13.4982 6.9375Z`})]})})}function uie({color:e,size:t=`20px`,...n}){return jsx(`svg`,{"data-component-name":`icons/LinkIcon/SharedLinkIcon`,width:t,height:t,viewBox:`0 0 20 20`,fill:g(e),xmlns:`http://www.w3.org/2000/svg`,...n,children:jsx(`use`,{href:`#${_b}`})})}_c();var die=500,fie=100,pie=48;function mie({to:e,label:t,variant:n=`heading`}){let{onDeepLinkClick:r}=I(ds),i=Jh({trackSilentReplaces:!0}),a=e.split(`#`)[1],o=!!a&&Ks(i)===Ks(a),s=useRef(null),[c,l]=useState(null),u=useRef(void 0),d=c!==null,f=useCallback(e=>{clearTimeout(u.current),u.current=setTimeout(()=>{let e=s.current;if(!e)return;let t=e.getBoundingClientRect(),n=t.left+t.width/2;l(t.top-gie(e)<pie?{x:n,y:t.bottom,placement:`bottom`}:{x:n,y:t.top,placement:`top`})},e)},[]),p=useCallback(()=>{clearTimeout(u.current),l(null)},[]),m=useCallback(()=>{clearTimeout(u.current),u.current=setTimeout(()=>l(null),fie)},[]);useEffect(()=>()=>clearTimeout(u.current),[]),useEffect(()=>{if(!d)return;let e=e=>{e.key===`Escape`&&p()};return document.addEventListener(`keydown`,e),window.addEventListener(`scroll`,p,{capture:!0,passive:!0}),()=>{document.removeEventListener(`keydown`,e),window.removeEventListener(`scroll`,p,{capture:!0})}},[d,p]);let h=useCallback(e=>{e.pointerType===`mouse`&&(d?clearTimeout(u.current):f(die))},[d,f]),g=useCallback(e=>{_ie(e.currentTarget)&&f(0)},[f]),_=useCallback(t=>{p(),r&&(t.preventDefault(),r(e))},[r,e,p]);return jsx(vie,{className:`deep-link-anchor`,"data-deep-link-anchor":!0,children:jsxs(yie,{$variant:n,to:e,state:{smoothScroll:!0},"aria-label":t??`link to ${e}`,"aria-current":o?`location`:void 0,"data-tooltip-open":d||void 0,onClick:_,onPointerEnter:h,onPointerLeave:m,onFocus:g,onBlur:p,children:[jsx(bie,{ref:s,children:jsx(uie,{color:`--heading-anchor-color`})}),c?jsx(hie,{at:c}):null]})})}function hie({at:e}){let t=db();return createPortal(jsx(Sie,{"aria-hidden":`true`,"data-testid":`deep-link-tooltip`,"data-placement":e.placement,$placement:e.placement,style:{left:e.x,top:e.y},children:t(`openapi.deepLink.tooltip`,`Link to this section`)}),document.body)}function gie(e){let t=document.createElement(`div`);t.style.cssText=`position:absolute;visibility:hidden;height:calc(var(--navbar-stack-height, 0px) + var(--banner-height, 0px))`,e.appendChild(t);let n=t.offsetHeight;return t.remove(),n}function _ie(e){try{return e.matches(`:focus-visible`)}catch{return!0}}var vb=memo(mie),yb=`data-deep-link-anchor`,bb=`
  & [${yb}] svg {
    visibility: hidden;
  }
  &:hover [${yb}] svg,
  & [${yb}] a:focus svg {
    visibility: visible;
  }
`,vie=styled$1.span`
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
`,yie=styled$1(Link)`
  position: absolute;
  top: 50%;
  transform: translate(-100%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
  justify-content: flex-end;

  ${({$variant:e})=>e===`field`?css`
          left: -2px;
        `:css`
          left: 0;
          padding-right: var(--heading-anchor-offset-right, 4px);
        `}

  &:hover svg {
    --link-icon-bg-color: var(
      --deep-link-anchor-bg-color-hover,
      var(--button-bg-color-secondary-hover)
    );
  }

  &:active svg {
    --link-icon-bg-color: var(
      --deep-link-anchor-bg-color-pressed,
      var(--button-bg-color-secondary-pressed)
    );
  }

  &&[aria-current] svg,
  &&[data-tooltip-open] svg {
    visibility: visible;
  }

  &&[aria-current] svg {
    --link-icon-bg-color: var(--deep-link-anchor-bg-color-current, var(--color-blueberry-1));
    fill: var(--deep-link-anchor-color-current, var(--color-blueberry-6));
  }
`,bie=styled$1.span`
  display: flex;
`,xie=keyframes`
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
`,Sie=styled$1.span`
  position: fixed;
  z-index: var(--z-index-overlay);
  transform: ${({$placement:e})=>e===`top`?`translate(-50%, calc(-100% - 8px))`:`translate(-50%, 8px)`};
  padding: var(--tooltip-padding);
  border: var(--tooltip-border-width, 2px) var(--tooltip-border-style, solid)
    var(--tooltip-border-color, transparent);
  border-radius: var(--border-radius-lg);
  background: var(--tooltip-bg-color);
  color: var(--tooltip-text-color);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  white-space: nowrap;
  animation: ${xie} 150ms ease-out;

  &::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 16px;
    height: 8px;
    ${({$placement:e})=>e===`top`?css`
            bottom: 0;
            transform: translate(-50%, 100%);
          `:css`
            top: 0;
            transform: translate(-50%, -100%) rotate(180deg);
          `}
    clip-path: path('M0 0H16L9.414 6.586A2 2 0 0 1 6.586 6.586Z');
    background: var(--tooltip-arrow-color, var(--tooltip-bg-color));
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
`;zi(),Ii();function xb({children:e,color:t,icon:n,active:r,closable:i,tabIndex:a,onClick:o,onKeyDown:s,onClose:c,size:l,borderless:u,withStatusDot:d,statusDotColor:f=`var(--tag-status-dot-color-default)`,maxLength:p,textTransform:m,variant:h=`filled`,selectable:g,..._}){let v=(e,t)=>e.length<=t?e:e.slice(0,t)+`...`,y=e=>{if(typeof e==`string`)return e;if(typeof e==`number`)return e.toString();if(React.isValidElement(e)){let t=e.props;if(typeof t.children==`string`)return t.children}return``},b=(e,t)=>{if(typeof e==`string`)return v(e,t);if(typeof e==`number`){let n=e.toString();return n.length>t?v(n,t):e}if(React.isValidElement(e)){if(y(e).length<=t)return e;let n=e.props;if(typeof n.children==`string`)return React.cloneElement(e,{...n,children:v(n.children,t)})}return e},x=()=>p?typeof e==`string`?v(e,p):React.isValidElement(e)?b(e,p):e:e;return jsxs(wie,{tabIndex:a,"data-component-name":`Tag/Tag`,$borderless:u,$color:t,$size:l,onClick:o,onKeyDown:s,$hasCloseButton:i,$textTransform:m,$variant:h,$selectable:g,..._,children:[d?jsx(Tie,{$color:f}):n||null,jsx(Sb,{children:x()}),i&&jsx(Cie,{onClick:e=>{c?.(e)},children:jsx(Ri,{})}),r&&jsx(Eie,{})]})}var Sb=styled.div`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;

  padding: var(--tag-content-padding);
  gap: var(--tag-content-gap);
`,Cie=styled.div`
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 0 var(--tag-border-radius) var(--tag-border-radius) 0;
  margin: calc(-1 * var(--tag-border-width));
  padding: var(--tag-border-width);

  &:hover {
    background: var(--tag-close-button-bg-color-hover);
  }

  &:focus-visible {
    background: var(--tag-close-button-bg-color-focus);
  }
`,wie=styled.div.attrs(({className:e,$color:t,$size:n,$variant:r})=>({className:[e,`tag-default`,t&&`tag-${t}`,n&&`tag-size-${n}`,`tag-variant-${r||`filled`}`].filter(Boolean).join(` `)}))`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;
  position: relative;

  padding: var(--tag-padding);
  ${({$hasCloseButton:e})=>e?`padding-right: 0;`:``};
  margin: var(--tag-margin);

  &:last-child {
    margin-right: 0;
  }

  gap: var(--tag-gap);

  font-size: var(--tag-font-size);
  font-family: var(--tag-font-family);
  font-weight: var(--tag-font-weight);
  line-height: var(--tag-line-height);
  box-shadow: var(--tag-box-shadow);
  ${({$textTransform:e})=>`text-transform: ${e?`${e}`:`var(--tag-text-transform)`};`}

  color: var(--tag-color);
  background-color: var(--tag-bg-color);
  ${({$borderless:e})=>e?``:`border: var(--tag-border-width) var(--tag-border-style) var(--tag-border-color);`}
  border-radius: var(--tag-border-radius);

  svg {
    width: var(--tag-icon-width);
    height: var(--tag-icon-height);
  }

  ${({$selectable:e})=>e&&css`
      &:hover {
        background-color: var(--tag-bg-color-hover);
        border-color: var(--tag-border-color-hover);
      }

      &:focus-visible {
        outline: 1px solid var(--tag-border-color-focused);
        outline-offset: 2px;
        border-radius: var(--tag-border-radius-focused);
      }
    `};
`,Tie=styled.div`
  display: inline-block;
  width: var(--tag-badge-size);
  height: var(--tag-badge-size);
  border: var(--tag-badge-border-width) solid var(--tag-badge-border-color);
  border-radius: 50%;
  background-color: ${({$color:e})=>e};
`,Eie=styled(Fi)`
  width: 12px;
  height: 12px;
  position: absolute;
  right: -4px;
  top: -4px;
`,Cb=styled$1(xb)`
  text-transform: uppercase;
  background-color: unset;
  border: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-family-monospaced);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  align-self: flex-end;
`,wb=styled$1(xb)`
  margin-left: 0;
  ${({$deprecated:e})=>e&&css`
      color: var(--badge-deprecated-text-color);
      background-color: var(--badge-deprecated-bg-color);
      border-radius: var(--badge-deprecated-border-radius);
    `};
  ${({$webhook:e})=>e&&css`
      color: var(--badge-webhook-text-color);
      background-color: var(--badge-webhook-bg-color);
      border-radius: var(--badge-webhook-border-radius);
    `};
`,Die=styled$1(wb)`
  margin-left: 0;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 0 var(--spacing-xxs);
  max-width: 80px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
`;function Tb(e){return jsx(wb,{color:e.color,children:e.name},e.name)}function Oie(e){return e in Db}function kie(e,t){return Object.keys(e).filter(e=>t===!0?e.startsWith(`x-`)&&!Oie(e):e.startsWith(`x-`)&&t.indexOf(e)>-1).reduce((t,n)=>(t[n]=e[n],t),{})}function Eb(e,t){return t===!1||t===void 0?{}:kie(e,t)}var Db,Ob=o((()=>{Db={"x-circular-ref":!0,"x-allof-cycle":!0,"x-complex":!0,"x-parentRefs":!0,"x-refsStack":!0,"x-codeSamples":!0,"x-displayName":!0,"x-examples":!0,"x-logo":!0,"x-nullable":!0,"x-servers":!0,"x-tagGroups":!0,"x-traitTag":!0,"x-additionalPropertiesName":!0,"x-explicitMappingOnly":!0,"x-enumDescriptions":!0,"x-badges":!0,"x-keywords":!0,"x-mcp":!0,"x-metadata":!0,"x-summary":!0,"x-tags":!0,"x-webhooks":!0}}));Ob();function kb(e){return e?.length?{before:e.filter(e=>e.position===`before`),after:e.filter(e=>e.position!==`before`)}:{before:[],after:[]}}function Ab({title:e,schemaName:t}){let{hideSchemaTitles:n,schemaDefinitionsTagName:r}=I(ds),i=I(us),a=vc();if(!e||n)return null;let o=`(${e})`,s=r&&t?i[t]:void 0;return s?jsx(ure,{to:a(s),children:o}):jsx(V_,{children:o})}var jb=`1.9.1`,Mb=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Aie(e){let t=new Set([e]),n=new Set,r=e.match(Mb);if(!r)return()=>!1;let i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(t){return t===e};function a(e){return n.add(e),!1}function o(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;let r=e.match(Mb);if(!r)return a(e);let s={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};return s.prerelease!=null||i.major!==s.major?a(e):i.major===0?i.minor===s.minor&&i.patch<=s.patch?o(e):a(e):i.minor<=s.minor?o(e):a(e)}}var jie=Aie(jb),Mie=jb.split(`.`)[0],Nb=Symbol.for(`opentelemetry.js.api.${Mie}`),Pb=typeof globalThis==`object`?globalThis:typeof self==`object`?self:typeof window==`object`?window:typeof globalThis==`object`?globalThis:{};function Fb(e,t,n,r=!1){let i=Pb[Nb]=Pb[Nb]??{version:jb};if(!r&&i[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return n.error(t.stack||t.message),!1}if(i.version!==`1.9.1`){let t=Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${jb}`);return n.error(t.stack||t.message),!1}return i[e]=t,n.debug(`@opentelemetry/api: Registered a global for ${e} v${jb}.`),!0}function Ib(e){let t=Pb[Nb]?.version;if(t&&jie(t))return Pb[Nb]?.[e]}function Lb(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${jb}.`);let n=Pb[Nb];n&&delete n[e]}var Nie=class{constructor(e){this._namespace=e.namespace||`DiagComponentLogger`}debug(...e){return Rb(`debug`,this._namespace,e)}error(...e){return Rb(`error`,this._namespace,e)}info(...e){return Rb(`info`,this._namespace,e)}warn(...e){return Rb(`warn`,this._namespace,e)}verbose(...e){return Rb(`verbose`,this._namespace,e)}};function Rb(e,t,n){let r=Ib(`diag`);if(r)return r[e](t,...n)}var zb;(function(e){e[e.NONE=0]=`NONE`,e[e.ERROR=30]=`ERROR`,e[e.WARN=50]=`WARN`,e[e.INFO=60]=`INFO`,e[e.DEBUG=70]=`DEBUG`,e[e.VERBOSE=80]=`VERBOSE`,e[e.ALL=9999]=`ALL`})(zb||={});function Pie(e,t){e<zb.NONE?e=zb.NONE:e>zb.ALL&&(e=zb.ALL),t||={};function n(n,r){let i=t[n];return typeof i==`function`&&e>=r?i.bind(t):function(){}}return{error:n(`error`,zb.ERROR),warn:n(`warn`,zb.WARN),info:n(`info`,zb.INFO),debug:n(`debug`,zb.DEBUG),verbose:n(`verbose`,zb.VERBOSE)}}var Fie=`diag`,Bb=class e{static instance(){return this._instance||=new e,this._instance}constructor(){function e(e){return function(...t){let n=Ib(`diag`);if(n)return n[e](...t)}}let t=this;t.setLogger=(e,n={logLevel:zb.INFO})=>{if(e===t){let e=Error(`Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation`);return t.error(e.stack??e.message),!1}typeof n==`number`&&(n={logLevel:n});let r=Ib(`diag`),i=Pie(n.logLevel??zb.INFO,e);if(r&&!n.suppressOverrideMessage){let e=Error().stack??`<failed to generate stacktrace>`;r.warn(`Current logger will be overwritten from ${e}`),i.warn(`Current logger will overwrite one already registered from ${e}`)}return Fb(`diag`,i,t,!0)},t.disable=()=>{Lb(Fie,t)},t.createComponentLogger=e=>new Nie(e),t.verbose=e(`verbose`),t.debug=e(`debug`),t.info=e(`info`),t.warn=e(`warn`),t.error=e(`error`)}},Iie=class e{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,n){let r=new e(this._entries);return r._entries.set(t,n),r}removeEntry(t){let n=new e(this._entries);return n._entries.delete(t),n}removeEntries(...t){let n=new e(this._entries);for(let e of t)n._entries.delete(e);return n}clear(){return new e}},Lie=Symbol(`BaggageEntryMetadata`),Rie=Bb.instance();function zie(e={}){return new Iie(new Map(Object.entries(e)))}function Bie(e){return typeof e!=`string`&&(Rie.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=``),{__TYPE__:Lie,toString(){return e}}}function Vb(e){return Symbol.for(e)}var Hb=new class e{constructor(t){let n=this;n._currentContext=t?new Map(t):new Map,n.getValue=e=>n._currentContext.get(e),n.setValue=(t,r)=>{let i=new e(n._currentContext);return i._currentContext.set(t,r),i},n.deleteValue=t=>{let r=new e(n._currentContext);return r._currentContext.delete(t),r}}},Vie=class{constructor(){}createGauge(e,t){return Zie}createHistogram(e,t){return Qie}createCounter(e,t){return Xie}createUpDownCounter(e,t){return $ie}createObservableGauge(e,t){return tae}createObservableCounter(e,t){return eae}createObservableUpDownCounter(e,t){return Gb}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}},Ub=class{},Hie=class extends Ub{add(e,t){}},Uie=class extends Ub{add(e,t){}},Wie=class extends Ub{record(e,t){}},Gie=class extends Ub{record(e,t){}},Wb=class{addCallback(e){}removeCallback(e){}},Kie=class extends Wb{},qie=class extends Wb{},Jie=class extends Wb{},Yie=new Vie,Xie=new Hie,Zie=new Wie,Qie=new Gie,$ie=new Uie,eae=new Kie,tae=new qie,Gb=new Jie;function Kb(){return Yie}var qb={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},Jb={set(e,t,n){e!=null&&(e[t]=n)}},Yb=class{active(){return Hb}with(e,t,n,...r){return t.call(n,...r)}bind(e,t){return t}enable(){return this}disable(){return this}},Xb=`context`,Zb=new Yb,Qb=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalContextManager(e){return Fb(Xb,e,Bb.instance())}active(){return this._getContextManager().active()}with(e,t,n,...r){return this._getContextManager().with(e,t,n,...r)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return Ib(Xb)||Zb}disable(){this._getContextManager().disable(),Lb(Xb,Bb.instance())}},$b;(function(e){e[e.NONE=0]=`NONE`,e[e.SAMPLED=1]=`SAMPLED`})($b||={});var ex={traceId:`00000000000000000000000000000000`,spanId:`0000000000000000`,traceFlags:$b.NONE},tx=class{constructor(e=ex){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}addLink(e){return this}addLinks(e){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}},nx=Vb(`OpenTelemetry Context Key SPAN`);function rx(e){return e.getValue(nx)||void 0}function ix(){return rx(Qb.getInstance().active())}function ax(e,t){return e.setValue(nx,t)}function ox(e){return e.deleteValue(nx)}function sx(e,t){return ax(e,new tx(t))}function cx(e){return rx(e)?.spanContext()}var lx=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1]);function ux(e,t){if(typeof e!=`string`||e.length!==t)return!1;let n=0;for(let t=0;t<e.length;t+=4)n+=(lx[e.charCodeAt(t)]|0)+(lx[e.charCodeAt(t+1)]|0)+(lx[e.charCodeAt(t+2)]|0)+(lx[e.charCodeAt(t+3)]|0);return n===t}function dx(e){return ux(e,32)&&e!==`00000000000000000000000000000000`}function fx(e){return ux(e,16)&&e!==`0000000000000000`}function px(e){return dx(e.traceId)&&fx(e.spanId)}function mx(e){return new tx(e)}var hx=Qb.getInstance(),gx=class{startSpan(e,t,n=hx.active()){if(t?.root)return new tx;let r=n&&cx(n);return _x(r)&&px(r)?new tx(r):new tx}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??hx.active(),c=this.startSpan(e,i,s),l=ax(s,c);return hx.with(l,o,void 0,c)}};function _x(e){return typeof e==`object`&&!!e&&`spanId`in e&&typeof e.spanId==`string`&&`traceId`in e&&typeof e.traceId==`string`&&`traceFlags`in e&&typeof e.traceFlags==`number`}var vx=new gx,yx=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}startSpan(e,t,n){return this._getTracer().startSpan(e,t,n)}startActiveSpan(e,t,n,r){let i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):vx}},bx=new class{getTracer(e,t,n){return new gx}},xx=class{getTracer(e,t,n){return this.getDelegateTracer(e,t,n)??new yx(this,e,t,n)}getDelegate(){return this._delegate??bx}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,n){return this._delegate?.getTracer(e,t,n)}},Sx;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(Sx||={});var Cx;(function(e){e[e.INTERNAL=0]=`INTERNAL`,e[e.SERVER=1]=`SERVER`,e[e.CLIENT=2]=`CLIENT`,e[e.PRODUCER=3]=`PRODUCER`,e[e.CONSUMER=4]=`CONSUMER`})(Cx||={});var wx;(function(e){e[e.UNSET=0]=`UNSET`,e[e.OK=1]=`OK`,e[e.ERROR=2]=`ERROR`})(wx||={});var Tx=Qb.getInstance(),Ex=Bb.instance(),Dx=class{inject(e,t){}extract(e,t){return e}fields(){return[]}},Ox=Vb(`OpenTelemetry Baggage Key`);function kx(e){return e.getValue(Ox)||void 0}function Ax(){return kx(Qb.getInstance().active())}function jx(e,t){return e.setValue(Ox,t)}function Mx(e){return e.deleteValue(Ox)}var Nx=`propagation`,Px=new Dx,Fx=class e{constructor(){this.createBaggage=zie,this.getBaggage=kx,this.getActiveBaggage=Ax,this.setBaggage=jx,this.deleteBaggage=Mx}static getInstance(){return this._instance||=new e,this._instance}setGlobalPropagator(e){return Fb(Nx,e,Bb.instance())}inject(e,t,n=Jb){return this._getGlobalPropagator().inject(e,t,n)}extract(e,t,n=qb){return this._getGlobalPropagator().extract(e,t,n)}fields(){return this._getGlobalPropagator().fields()}disable(){Lb(Nx,Bb.instance())}_getGlobalPropagator(){return Ib(Nx)||Px}}.getInstance(),Ix=`trace`,Lx=class e{constructor(){this._proxyTracerProvider=new xx,this.wrapSpanContext=mx,this.isSpanContextValid=px,this.deleteSpan=ox,this.getSpan=rx,this.getActiveSpan=ix,this.getSpanContext=cx,this.setSpan=ax,this.setSpanContext=sx}static getInstance(){return this._instance||=new e,this._instance}setGlobalTracerProvider(e){let t=Fb(Ix,this._proxyTracerProvider,Bb.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return Ib(Ix)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){Lb(Ix,Bb.instance()),this._proxyTracerProvider=new xx}}.getInstance(),Rx=Vb(`OpenTelemetry SDK Context Key SUPPRESS_TRACING`);function zx(e){return e.setValue(Rx,!0)}function Bx(e){return e.getValue(Rx)===!0}var Vx=`baggage`,Hx=4096;function Ux(e){return e.reduce((e,t)=>{let n=`${e}${e===``?``:`,`}${t}`;return n.length>8192?e:n},``)}function Wx(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==void 0&&(n+=`;`+t.metadata.toString()),n})}function Gx(e){if(!e)return;let t=e.indexOf(`;`),n=t===-1?e:e.substring(0,t),r=n.indexOf(`=`);if(r<=0)return;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();if(!i||!a)return;let o,s;try{o=decodeURIComponent(i),s=decodeURIComponent(a)}catch{return}let c;return t!==-1&&t<e.length-1&&(c=Bie(e.substring(t+1))),{key:o,value:s,metadata:c}}function Kx(e,t,n,r){let i=0;for(;i<e.length&&n<180;){let a=e.indexOf(`,`,i),o=a===-1?e.length:a,s=o-i;if(s<=4096){let a=Gx(e.substring(i,o));if(a){let e=(n===0?0:1)+s;if(r+e>8192)break;t[a.key]=a.metadata?{value:a.value,metadata:a.metadata}:{value:a.value},n++,r+=e}}if(a===-1)break;i=a+1}return[n,r]}var qx=class{inject(e,t,n){let r=Fx.getBaggage(e);if(!r||Bx(e))return;let i=Ux(Wx(r).filter(e=>e.length<=Hx).slice(0,180));i.length>0&&n.set(t,Vx,i)}extract(e,t,n){let r=n.get(t,Vx);if(!r)return e;let i={},a=0,o=0;if(Array.isArray(r))for(let e=0;e<r.length;e++)[a,o]=Kx(r[e],i,a,o);else[a]=Kx(r,i,a,o);return a===0?e:Fx.setBaggage(e,Fx.createBaggage(i))}fields(){return[Vx]}};function Jx(e){let t={};if(typeof e!=`object`||!e)return t;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!Yx(n)){Ex.warn(`Invalid attribute key: ${n}`);continue}let r=e[n];if(!Xx(r)){Ex.warn(`Invalid attribute value set for key: ${n}`);continue}t[n]=Array.isArray(r)?r.slice():r}return t}function Yx(e){return typeof e==`string`&&e!==``}function Xx(e){return e==null?!0:Array.isArray(e)?Zx(e):Qx(typeof e)}function Zx(e){let t;for(let n of e){if(n==null)continue;let e=typeof n;if(e!==t){if(!t){if(Qx(e)){t=e;continue}return!1}return!1}}return!0}function Qx(e){switch(e){case`number`:case`boolean`:case`string`:return!0}return!1}function $x(){return e=>{Ex.error(eS(e))}}function eS(e){return typeof e==`string`?e:JSON.stringify(tS(e))}function tS(e){let t={},n=e;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))}),n=Object.getPrototypeOf(n);return t}var nS=$x();function rS(e){try{nS(e)}catch{}}var iS=`2.8.0`,aS=`exception.message`,oS=`exception.stacktrace`,sS=`exception.type`,cS=`service.name`,lS=`service.version`,uS=`telemetry.sdk.language`,dS=`telemetry.sdk.name`,fS=`telemetry.sdk.version`,pS=`webjs`,mS=`process.runtime.name`,hS={[dS]:`opentelemetry`,[mS]:`browser`,[uS]:pS,[fS]:iS},gS=performance,_S=9,vS=10**6,yS=10**_S;function bS(e){let t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*vS)]}function xS(e){return ES(bS(gS.timeOrigin),bS(typeof e==`number`?e:gS.now()))}function SS(e,t){let n=t[0]-e[0],r=t[1]-e[1];return r<0&&(--n,r+=yS),[n,r]}function CS(e){return e[0]*yS+e[1]}function wS(e){return Array.isArray(e)&&e.length===2&&typeof e[0]==`number`&&typeof e[1]==`number`}function TS(e){return wS(e)||typeof e==`number`||e instanceof Date}function ES(e,t){let n=[e[0]+t[0],e[1]+t[1]];return n[1]>=yS&&(n[1]-=yS,n[0]+=1),n}var DS;(function(e){e[e.SUCCESS=0]=`SUCCESS`,e[e.FAILED=1]=`FAILED`})(DS||={});var OS=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];let t=new Set;for(let e of this._propagators){let n=typeof e.fields==`function`?e.fields():[];for(let e of n)t.add(e)}this._fields=Array.from(t)}inject(e,t,n){for(let r of this._propagators)try{r.inject(e,t,n)}catch(e){Ex.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`)}}extract(e,t,n){return this._propagators.reduce((e,r)=>{try{return r.extract(e,t,n)}catch(e){Ex.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}},kS=`[_0-9a-z-*/]`,AS=RegExp(`^(?:${`[a-z]${kS}{0,255}`}|${`[a-z0-9]${kS}{0,240}@[a-z]${kS}{0,13}`})$`),jS=/^[ -~]{0,255}[!-~]$/,MS=/,|=/;function NS(e){return AS.test(e)}function PS(e){return jS.test(e)&&!MS.test(e)}var FS=32,IS=512,LS=`,`,RS=`=`,zS=class e{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e==`string`?e:``,this._length=this._rawTraceState.length}set(e,t){if(!NS(e)||!PS(t))return this;let n=this._getState(),r=n.get(e),i=this._length;if(i+=typeof r==`string`?t.length-r.length:e.length+t.length+(n.size>0?2:1),i>IS)return this;let a=new Map(n);return a.delete(e),a.set(e,t),this._fromState(a,i)}unset(e){let t=this._getState(),n=t.get(e);if(typeof n!=`string`)return this;let r=this._length-(e.length+n.length+1);t.size>1&&--r;let i=new Map(t);return i.delete(e),this._fromState(i,r)}get(e){return this._getState().get(e)}serialize(){let e=``,t=0;for(let n of this._getState())t>0&&(e=LS+e),e=`${n[0]}${RS}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;let e=this._rawTraceState.split(LS),t=new Map,n=0;for(let r of e){let e=r.trim(),i=e.indexOf(RS);if(i===-1)continue;let a=e.slice(0,i),o=e.slice(i+1);if(!NS(a)||!PS(o))continue;let s=n+e.length+ +(t.size>0);if(!(s>IS)&&(t.set(a,o),n=s,t.size>=FS))break}return this._length=n,this._internalState=new Map(Array.from(t.entries()).reverse()),this._internalState}_fromState(t,n){let r=Object.create(e.prototype);return r._internalState=t,r._length=n,r}},BS=`traceparent`,VS=`tracestate`,HS=`00`,US=RegExp(`^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$`);function WS(e){let t=US.exec(e);return!t||t[1]===`00`&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var GS=class{inject(e,t,n){let r=Lx.getSpanContext(e);if(!r||Bx(e)||!px(r))return;let i=`${HS}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags||$b.NONE).toString(16)}`;n.set(t,BS,i),r.traceState&&n.set(t,VS,r.traceState.serialize())}extract(e,t,n){let r=n.get(t,BS);if(!r)return e;let i=Array.isArray(r)?r[0]:r;if(typeof i!=`string`)return e;let a=WS(i);if(!a)return e;a.isRemote=!0;let o=n.get(t,VS);if(o){let e=Array.isArray(o)?o.join(`,`):o;a.traceState=new zS(typeof e==`string`?e:void 0)}return Lx.setSpanContext(e,a)}fields(){return[BS,VS]}},KS=`[object Object]`,qS=`[object Null]`,JS=`[object Undefined]`,YS=Function.prototype.toString,XS=YS.call(Object),ZS=Object.getPrototypeOf,QS=Object.prototype,$S=QS.hasOwnProperty,eC=Symbol?Symbol.toStringTag:void 0,tC=QS.toString;function nC(e){if(!rC(e)||iC(e)!==KS)return!1;let t=ZS(e);if(t===null)return!0;let n=$S.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&YS.call(n)===XS}function rC(e){return typeof e==`object`&&!!e}function iC(e){return e==null?e===void 0?JS:qS:eC&&eC in Object(e)?aC(e):oC(e)}function aC(e){let t=$S.call(e,eC),n=e[eC],r=!1;try{e[eC]=void 0,r=!0}catch{}let i=tC.call(e);return r&&(t?e[eC]=n:delete e[eC]),i}function oC(e){return tC.call(e)}var sC=20;function cC(...e){let t=e.shift(),n=new WeakMap;for(;e.length>0;)t=uC(t,e.shift(),0,n);return t}function lC(e){return fC(e)?e.slice():e}function uC(e,t,n=0,r){let i;if(!(n>sC)){if(n++,hC(e)||hC(t)||pC(t))i=lC(t);else if(fC(e)){if(i=e.slice(),fC(t))for(let e=0,n=t.length;e<n;e++)i.push(lC(t[e]));else if(mC(t)){let e=Object.keys(t);for(let n=0,r=e.length;n<r;n++){let r=e[n];r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(i[r]=lC(t[r]))}}}else if(mC(e)){if(mC(t)){if(!gC(e,t))return t;i=Object.assign({},e);let a=Object.keys(t);for(let o=0,s=a.length;o<s;o++){let s=a[o];if(s===`__proto__`||s===`constructor`||s===`prototype`)continue;let c=t[s];if(hC(c))c===void 0?delete i[s]:i[s]=c;else{let a=i[s],o=c;if(dC(e,s,r)||dC(t,s,r))delete i[s];else{if(mC(a)&&mC(o)){let n=r.get(a)||[],i=r.get(o)||[];n.push({obj:e,key:s}),i.push({obj:t,key:s}),r.set(a,n),r.set(o,i)}i[s]=uC(i[s],c,n,r)}}}}else i=t}return i}}function dC(e,t,n){let r=n.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i.key===t&&i.obj===e)return!0}return!1}function fC(e){return Array.isArray(e)}function pC(e){return typeof e==`function`}function mC(e){return!hC(e)&&!fC(e)&&!pC(e)&&typeof e==`object`}function hC(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0||e instanceof Date||e instanceof RegExp||e===null}function gC(e,t){return!(!nC(e)||!nC(t))}var _C=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}},vC=class{_isCalled=!1;_deferred=new _C;_callback;_that;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}},yC;function bC(){if(yC===void 0)try{let e=globalThis.process.argv0;yC=e?`unknown_service:${e}`:`unknown_service`}catch{yC=`unknown_service`}return yC}var xC=e=>typeof e==`object`&&!!e&&typeof e.then==`function`,SC=class e{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,n){let r=new e({},n);return r._rawAttributes=TC(t),r._asyncAttributesPending=t.filter(([e,t])=>xC(t)).length>0,r}constructor(e,t){let n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(xC(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=TC(this._rawAttributes),this._schemaUrl=EC(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){let[t,n]=this._rawAttributes[e];this._rawAttributes[e]=[t,xC(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&Ex.error(`Accessing resource attributes before async attributes settled`),this._memoizedAttributes)return this._memoizedAttributes;let e={};for(let[t,n]of this._rawAttributes){if(xC(n)){Ex.debug(`Unsettled resource attribute ${t} skipped`);continue}n!=null&&(e[t]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let n=DC(this,t),r=n?{schemaUrl:n}:void 0;return e.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function CC(e,t){return SC.FromAttributeList(Object.entries(e),t)}function wC(){return CC({[cS]:bC(),[uS]:hS[uS],[dS]:hS[dS],[fS]:hS[fS]})}function TC(e){return e.map(([e,t])=>xC(t)?[e,t.catch(t=>{Ex.debug(`promise rejection for resource attribute: %s - %s`,e,t)})]:[e,t])}function EC(e){if(typeof e==`string`||e===void 0)return e;Ex.warn(`Schema URL must be string or undefined, got %s. Schema URL will be ignored.`,e)}function DC(e,t){let n=e?.schemaUrl,r=t?.schemaUrl,i=n===void 0||n===``,a=r===void 0||r===``;if(i)return r;if(a||n===r)return n;Ex.warn(`Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.`,n,r)}var OC=`exception`,kC=Symbol.for(`nodejs.util.inspect.custom`);function AC(e){let t={};for(let[n,r]of e.getRawAttributes())typeof r?.then!=`function`&&r!=null&&(t[n]??=r);return t}function jC(e,t,n,r,i){if(typeof n==`number`&&n<0){let t=`[${e}]`;return r?.stylize?r.stylize(t,`special`):t}return typeof i!=`function`||!r?t:`${e} ${i(t,{...r,depth:r.depth==null?r.depth:r.depth-1})}`}var MC=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:wx.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=gS.now(),this._performanceOffset=t-(this._performanceStartTime+gS.timeOrigin),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,e.links)for(let t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(t==null||this._isSpanEnded())return this;if(e.length===0)return Ex.warn(`Invalid attribute key: ${e}`),this;if(!Xx(t))return Ex.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:n}=this._spanLimits,r=!Object.prototype.hasOwnProperty.call(this.attributes,e);return n!==void 0&&this._attributesCount>=n&&r?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),r&&this._attributesCount++,this)}setAttributes(e){for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,t,n){if(this._isSpanEnded())return this;let{eventCountLimit:r}=this._spanLimits;if(r===0)return Ex.warn(`No events allowed.`),this._droppedEventsCount++,this;r!==void 0&&this.events.length>=r&&(this._droppedEventsCount===0&&Ex.debug(`Dropping extra events.`),this.events.shift(),this._droppedEventsCount++),TS(t)&&(TS(n)||(n=t),t=void 0);let i=Jx(t),{attributePerEventCountLimit:a}=this._spanLimits,o={},s=0,c=0;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];if(a!==void 0&&c>=a){s++;continue}o[e]=this._truncateToSize(t),c++}return this.events.push({name:e,attributes:o,time:this._getTime(n),droppedAttributesCount:s}),this}addLink(e){if(this._isSpanEnded())return this;let{linkCountLimit:t}=this._spanLimits;if(t===0)return this._droppedLinksCount++,this;t!==void 0&&this.links.length>=t&&(this._droppedLinksCount===0&&Ex.debug(`Dropping extra links.`),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:n}=this._spanLimits,r=Jx(e.attributes),i={},a=0,o=0;for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];if(n!==void 0&&o>=n){a++;continue}i[e]=this._truncateToSize(t),o++}let s={context:e.context};return o>0&&(s.attributes=i),a>0&&(s.droppedAttributesCount=a),this.links.push(s),this}addLinks(e){for(let t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded()||e.code===wx.UNSET||this.status.code===wx.OK)return this;let t={code:e.code};return e.code===wx.ERROR&&(typeof e.message==`string`?t.message=e.message:e.message!=null&&Ex.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=t,this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded()){Ex.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=SS(this.startTime,this.endTime),this._duration[0]<0&&(Ex.warn(`Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.`,this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&Ex.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&Ex.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e==`number`&&e<=gS.now())return xS(e+this._performanceOffset);if(typeof e==`number`)return bS(e);if(e instanceof Date)return bS(e.getTime());if(wS(e))return e;if(this._startTimeProvided)return bS(Date.now());let t=gS.now()-this._performanceStartTime;return ES(this.startTime,bS(t))}isRecording(){return this._ended===!1}recordException(e,t){let n={};typeof e==`string`?n[aS]=e:e&&(e.code?n[sS]=e.code.toString():e.name&&(n[sS]=e.name),e.message&&(n[aS]=e.message),e.stack&&(n[oS]=e.stack)),n[`exception.type`]||n[`exception.message`]?this.addEvent(OC,n,t):Ex.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);Ex.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(Ex.warn(`Attribute value limit must be positive, got ${t}`),e):typeof e==`string`?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>typeof e==`string`?this._truncateToLimitUtil(e,t):e):e}[kC](e,t,n){return jC(`SpanImpl`,{name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:AC(this.resource)}},e,t,n)}},NC;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(NC||={});var PC=class{shouldSample(){return{decision:NC.NOT_RECORD}}toString(){return`AlwaysOffSampler`}},FC=class{shouldSample(){return{decision:NC.RECORD_AND_SAMPLED}}toString(){return`AlwaysOnSampler`}},IC=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||=(rS(Error(`ParentBasedSampler must have a root sampler configured`)),new FC),this._remoteParentSampled=e.remoteParentSampled??new FC,this._remoteParentNotSampled=e.remoteParentNotSampled??new PC,this._localParentSampled=e.localParentSampled??new FC,this._localParentNotSampled=e.localParentNotSampled??new PC}shouldSample(e,t,n,r,i,a){let o=Lx.getSpanContext(e);return!o||!px(o)?this._root.shouldSample(e,t,n,r,i,a):o.isRemote?o.traceFlags&$b.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,a):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,a):o.traceFlags&$b.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,a):this._localParentNotSampled.shouldSample(e,t,n,r,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}},LC=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:dx(t)&&this._accumulate(t)<this._upperBound?NC.RECORD_AND_SAMPLED:NC.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!=`number`||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let r=0;for(let t=0;t<8;t++){let i=e.charCodeAt(n+t),a=i<58?i-48:i<71?i-55:i-87;r=r<<4|a}t=(t^r)>>>0}return t}},RC;(function(e){e.AlwaysOff=`always_off`,e.AlwaysOn=`always_on`,e.ParentBasedAlwaysOff=`parentbased_always_off`,e.ParentBasedAlwaysOn=`parentbased_always_on`,e.ParentBasedTraceIdRatio=`parentbased_traceidratio`,e.TraceIdRatio=`traceidratio`})(RC||={});var zC=1;function BC(){return{sampler:VC(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function VC(){let e=RC.ParentBasedAlwaysOn;switch(e){case RC.AlwaysOn:return new FC;case RC.AlwaysOff:return new PC;case RC.ParentBasedAlwaysOn:return new IC({root:new FC});case RC.ParentBasedAlwaysOff:return new IC({root:new PC});case RC.TraceIdRatio:return new LC(HC());case RC.ParentBasedTraceIdRatio:return new IC({root:new LC(HC())});default:return Ex.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${RC.ParentBasedAlwaysOn}".`),new IC({root:new FC})}}function HC(){return Ex.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${zC}.`),zC}function UC(e){let t={sampler:VC()},n=BC(),r=Object.assign({},n,t,e);return r.generalLimits=Object.assign({},n.generalLimits,e.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,e.spanLimits||{}),r}function WC(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??1/0,Object.assign({},e,{spanLimits:t})}var GC=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e,t){this._exporter=e,this._maxExportBatchSize=typeof t?.maxExportBatchSize==`number`?t.maxExportBatchSize:512,this._maxQueueSize=typeof t?.maxQueueSize==`number`?t.maxQueueSize:2048,this._scheduledDelayMillis=typeof t?.scheduledDelayMillis==`number`?t.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof t?.exportTimeoutMillis==`number`?t.exportTimeoutMillis:3e4,this._shutdownOnce=new vC(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(Ex.warn(`BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize`),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&$b.SAMPLED)!==0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&Ex.debug(`maxQueueSize reached, dropping spans`),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(Ex.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>{let n=[],r=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0,t=r;e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{e()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(()=>{t(Error(`Timeout`))},this._exportTimeoutMillis);Tx.with(zx(Tx.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(r,r=>{clearTimeout(n),r.code===DS.SUCCESS?e():t(r.error??Error(`BatchSpanProcessor: span export failed`))}),a=null;for(let e=0,t=r.length;e<t;e++){let t=r[e];t.resource.asyncAttributesPending&&t.resource.waitForAsyncAttributes&&(a??=[],a.push(t.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,e=>{rS(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,rS(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),typeof this._timer!=`number`&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}},KC=class extends GC{_visibilityChangeListener;_pageHideListener;constructor(e,t){super(e,t),this.onInit(t)}onInit(e){e?.disableAutoFlushOnDocumentHide!==!0&&typeof document<`u`&&(this._visibilityChangeListener=()=>{document.visibilityState===`hidden`&&this.forceFlush().catch(e=>{rS(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{rS(e)})},document.addEventListener(`visibilitychange`,this._visibilityChangeListener),document.addEventListener(`pagehide`,this._pageHideListener))}onShutdown(){typeof document<`u`&&(this._visibilityChangeListener&&document.removeEventListener(`visibilitychange`,this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener(`pagehide`,this._pageHideListener))}},qC=16,JC=8,YC=new Uint8Array(qC),XC=new Uint8Array(JC),ZC=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function QC(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function $C(e){let t=``;for(let n=0;n<e.length;n++)t+=ZC[e[n]];return t}var ew=class{generateTraceId(){return QC(YC),$C(YC)}generateSpanId(){return QC(XC),$C(XC)}},tw=`otel.span.parent.origin`,nw=`otel.span.sampling_result`,rw=`otel.sdk.span.live`,iw=`otel.sdk.span.started`,aw=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(iw,{unit:`{span}`,description:`The number of created spans.`}),this.liveSpans=e.createUpDownCounter(rw,{unit:`{span}`,description:`The number of currently live spans.`})}startSpan(e,t){let n=sw(t);if(this.startedSpans.add(1,{[tw]:ow(e),[nw]:n}),t===NC.NOT_RECORD)return()=>{};let r={[nw]:n};return this.liveSpans.add(1,r),()=>{this.liveSpans.add(-1,r)}}};function ow(e){return e?e.isRemote?`remote`:`local`:`none`}function sw(e){switch(e){case NC.RECORD_AND_SAMPLED:return`RECORD_AND_SAMPLE`;case NC.RECORD:return`RECORD_ONLY`;case NC.NOT_RECORD:return`DROP`}}var cw=`2.8.0`,lw=class{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t,n,r){let i=UC(t);this._sampler=i.sampler,this._generalLimits=i.generalLimits,this._spanLimits=i.spanLimits,this._idGenerator=t.idGenerator||new ew,this._resource=n,this._spanProcessor=r,this.instrumentationScope=e;let a=i.meterProvider?i.meterProvider.getMeter(`@opentelemetry/sdk-trace`,cw):Kb();this._tracerMetrics=new aw(a)}startSpan(e,t={},n=Tx.active()){t.root&&(n=Lx.deleteSpan(n));let r=Lx.getSpan(n);if(Bx(n))return Ex.debug(`Instrumentation suppressed, returning Noop Span`),Lx.wrapSpanContext(ex);let i=r?.spanContext(),a=this._idGenerator.generateSpanId(),o,s,c;!i||!Lx.isSpanContextValid(i)?s=this._idGenerator.generateTraceId():(s=i.traceId,c=i.traceState,o=i);let l=t.kind??Cx.INTERNAL,u=(t.links??[]).map(e=>({context:e.context,attributes:Jx(e.attributes)})),d=Jx(t.attributes),f=this._sampler.shouldSample(n,s,e,l,d,u),p=this._tracerMetrics.startSpan(i,f.decision);c=f.traceState??c;let m=f.decision===Sx.RECORD_AND_SAMPLED?$b.SAMPLED:$b.NONE,h={traceId:s,spanId:a,traceFlags:m,traceState:c};if(f.decision===Sx.NOT_RECORD)return Ex.debug(`Recording is off, propagating context in a non-recording span`),Lx.wrapSpanContext(h);let g=Jx(Object.assign(d,f.attributes));return new MC({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:h,name:e,kind:l,links:u,parentSpanContext:o,attributes:g,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:p})}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??Tx.active(),c=this.startSpan(e,i,s),l=Lx.setSpan(s,c);return Tx.with(l,o,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}[kC](e,t,n){return jC(`Tracer`,{instrumentationScope:this.instrumentationScope,resource:{attributes:AC(this._resource)},spanLimits:this._spanLimits,generalLimits:this._generalLimits},e,t,n)}},uw=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{rS(e||Error(`MultiSpanProcessor: forceFlush failed`)),t()})})}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(let t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}},dw;(function(e){e[e.resolved=0]=`resolved`,e[e.timeout=1]=`timeout`,e[e.error=2]=`error`,e[e.unresolved=3]=`unresolved`})(dw||={});var fw=class{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(e={}){let t=cC({},BC(),WC(e));this._resource=t.resource??wC(),this._config=Object.assign({},t,{resource:this._resource});let n=[];e.spanProcessors?.length&&n.push(...e.spanProcessors),this._activeSpanProcessor=new uw(n)}getTracer(e,t,n){let r=`${e}@${t||``}:${n?.schemaUrl||``}`;return this._tracers.has(r)||this._tracers.set(r,new lw({name:e,version:t,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(r)}forceFlush(){let e=this._config.forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(n=>{let r,i=setTimeout(()=>{n(Error(`Span processor did not completed within timeout period of ${e} ms`)),r=dw.timeout},e);t.forceFlush().then(()=>{clearTimeout(i),r!==dw.timeout&&(r=dw.resolved,n(r))}).catch(e=>{clearTimeout(i),r=dw.error,n(e)})}));return new Promise((e,n)=>{Promise.all(t).then(t=>{let r=t.filter(e=>e!==dw.resolved);r.length>0?n(r):e()}).catch(e=>n([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[kC](e,t,n){let r=this._activeSpanProcessor._spanProcessors;return jC(`BasicTracerProvider`,{resource:{attributes:AC(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:r.map(e=>e.constructor?.name??`SpanProcessor`)},e,t,n)}},pw=class{_enabled=!1;_currentContext=Hb;_bindFunction(e=Hb,t){let n=this,r=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(r,"length",{enumerable:!1,configurable:!0,writable:!1,value:t.length}),r}active(){return this._currentContext}bind(e,t){return e===void 0&&(e=this.active()),typeof t==`function`?this._bindFunction(e,t):t}disable(){return this._currentContext=Hb,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=Hb,this)}with(e,t,n,...r){let i=this._currentContext;this._currentContext=e||Hb;try{return t.call(n,...r)}finally{this._currentContext=i}}};function mw(e){if(e!==null){if(e===void 0){let e=new pw;e.enable(),Tx.setGlobalContextManager(e);return}e.enable(),Tx.setGlobalContextManager(e)}}function hw(e){if(e!==null){if(e===void 0){Fx.setGlobalPropagator(new OS({propagators:[new GS,new qx]}));return}Fx.setGlobalPropagator(e)}}var gw=class extends fw{constructor(e={}){super(e)}register(e={}){Lx.setGlobalTracerProvider(this),hw(e.propagator),mw(e.contextManager)}},_w=class{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}},vw=class extends Error{code;name=`OTLPExporterError`;data;constructor(e,t,n){super(e),this.data=n,this.code=t}};function yw(e){if(Number.isFinite(e)&&e>0)return e;throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function bw(e){if(e!=null)return async()=>e}function xw(e,t,n){return{timeoutMillis:yw(e.timeoutMillis??t.timeoutMillis??n.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??n.concurrencyLimit,compression:e.compression??t.compression??n.compression}}function Sw(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:`none`}}var Cw=class{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw Error(`Concurrency Limit reached`);this._sendingPromises.push(e);let t=()=>{let t=this._sendingPromises.indexOf(e);this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}};function ww(e){return new Cw(e.concurrencyLimit)}function Tw(e){return Object.prototype.hasOwnProperty.call(e,`partialSuccess`)}function Ew(){return{handleResponse(e){e!=null&&Tw(e)&&e.partialSuccess!=null&&Object.keys(e.partialSuccess).length!==0&&Ex.warn(`Received Partial Success response:`,JSON.stringify(e.partialSuccess))}}}var Dw=class{_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(e,t,n,r,i){this._transport=e,this._serializer=t,this._responseHandler=n,this._promiseQueue=r,this._timeout=i,this._diagLogger=Ex.createComponentLogger({namespace:`OTLPExportDelegate`})}export(e,t){if(this._diagLogger.debug(`items to be sent`,e),this._promiseQueue.hasReachedLimit()){t({code:DS.FAILED,error:Error(`Concurrent export limit reached`)});return}let n=this._serializer.serializeRequest(e);if(n==null){t({code:DS.FAILED,error:Error(`Nothing to send`)});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(e=>{if(e.status===`success`){if(e.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(e.data))}catch(t){this._diagLogger.warn(`Export succeeded but could not deserialize response - is the response specification compliant?`,t,e.data)}t({code:DS.SUCCESS});return}if(e.status===`failure`&&e.error){t({code:DS.FAILED,error:e.error});return}e.status===`retryable`?t({code:DS.FAILED,error:e.error??new vw(`Export failed with retryable status`)}):t({code:DS.FAILED,error:new vw(`Export failed with unknown error`)})},e=>t({code:DS.FAILED,error:e})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug(`shutdown started`),await this.forceFlush(),this._transport.shutdown()}};function Ow(e,t){return new Dw(e.transport,e.serializer,Ew(),e.promiseHandler,t.timeout)}function kw(e,t,n){return Ow({transport:n,serializer:t,promiseHandler:ww(e)},{timeout:e.timeoutMillis})}function Aw(e,t){let n={attributes:Mw(e.attributes,t),droppedAttributesCount:0},r=e.schemaUrl;return r&&r!==``&&(n.schemaUrl=r),n}function jw(e,t){let n={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(n.attributes=Mw(e.attributes,t),n.droppedAttributesCount=e.droppedAttributesCount??0),n}function Mw(e,t){return Object.keys(e).map(n=>Nw(n,e[n],t))}function Nw(e,t,n){return{key:e,value:Pw(t,n)}}function Pw(e,t){let n=typeof e;if(n===`string`)return{stringValue:e};if(n===`number`)return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(n===`boolean`)return{boolValue:e};if(e instanceof Uint8Array)return{bytesValue:t.encodeUint8Array(e)};if(Array.isArray(e)){let n=Array(e.length);for(let r=0;r<e.length;r++)n[r]=Pw(e[r],t);return{arrayValue:{values:n}}}if(n===`object`&&e!=null){let n=Object.keys(e),r=Array(n.length);for(let i=0;i<n.length;i++)r[i]={key:n[i],value:Pw(e[n[i]],t)};return{kvlistValue:{values:r}}}return{}}function Fw(e){let t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}function Iw(e){return Fw(e).toString()}var Lw=typeof BigInt<`u`?Iw:CS;function Rw(e){return e}var zw={encodeHrTime:Lw,encodeSpanContext:Rw,encodeOptionalSpanContext:Rw,encodeUint8Array:e=>{if(typeof Buffer<`u`)return Buffer.from(e).toString(`base64`);let t=Array(e.length);for(let n=0;n<e.length;n++)t[n]=String.fromCharCode(e[n]);return btoa(t.join(``))}},Bw=256,Vw=512;function Hw(e,t){let n=e&255|Bw;return t&&(n|=Vw),n}function Uw(e,t){let n=e.spanContext(),r=e.status,i=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:i,traceState:n.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:Mw(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>Gw(e,t)),droppedEventsCount:e.droppedEventsCount,status:{code:r.code,message:r.message},links:e.links.map(e=>Ww(e,t)),droppedLinksCount:e.droppedLinksCount,flags:Hw(n.traceFlags,e.parentSpanContext?.isRemote)}}function Ww(e,t){return{attributes:e.attributes?Mw(e.attributes,t):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0,flags:Hw(e.context.traceFlags,e.context.isRemote)}}function Gw(e,t){return{attributes:e.attributes?Mw(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function Kw(e,t){return{resourceSpans:Jw(e,t)}}function qw(e){let t=new Map;for(let n of e){let e=t.get(n.resource);e||(e=new Map,t.set(n.resource,e));let r=`${n.instrumentationScope.name}@${n.instrumentationScope.version||``}:${n.instrumentationScope.schemaUrl||``}`,i=e.get(r);i||(i=[],e.set(r,i)),i.push(n)}return t}function Jw(e,t){let n=qw(e),r=[],i=n.entries(),a=i.next();for(;!a.done;){let[e,n]=a.value,o=[],s=n.values(),c=s.next();for(;!c.done;){let e=c.value;if(e.length>0){let n=e.map(e=>Uw(e,t));o.push({scope:jw(e[0].instrumentationScope,t),spans:n,schemaUrl:e[0].instrumentationScope.schemaUrl})}c=s.next()}let l=Aw(e,t),u={resource:l,scopeSpans:o,schemaUrl:l.schemaUrl};r.push(u),a=i.next()}return r}var Yw={serializeRequest:e=>{let t=Kw(e,zw);return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};let t=new TextDecoder;try{return JSON.parse(t.decode(e))}catch(e){return Ex.warn(`Failed to parse trace export response: ${e.message}. Returning empty response`),{}}}},Xw=5,Zw=1e3,Qw=5e3,$w=1.5,eT=.2;function tT(){return 2*eT*Math.random()-eT}var nT=class{_transport;constructor(e){this._transport=e}retry(e,t,n){return new Promise((r,i)=>{setTimeout(()=>{this._transport.send(e,t).then(r,i)},n)})}async send(e,t){let n=Xw,r=Zw,i=Date.now()+t,a=await this._transport.send(e,t);for(;a.status===`retryable`&&n>0;){n--;let t=Math.max(Math.min(r*(1+tT()),Qw),0);r*=$w;let o=a.retryInMillis??t,s=i-Date.now();if(o>s)return Ex.info(`Export retry time ${Math.round(o)}ms exceeds remaining timeout ${Math.round(s)}ms, not retrying further.`),a;Ex.verbose(`Scheduling export retry in ${Math.round(o)}ms`),a=await this.retry(e,s,o)}return a.status===`success`?Ex.verbose(`Export succeeded after ${Xw-n} retry attempts.`):a.status===`retryable`?Ex.info(`Export failed after maximum retry attempts (${Xw}).`):Ex.info(`Export failed with non-retryable error: ${a.error}`),a}shutdown(){return this._transport.shutdown()}};function rT(e){return new nT(e.transport)}function iT(e){return e===429||e===502||e===503||e===504}function aT(e){if(e==null)return;let t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;let n=new Date(e).getTime()-Date.now();return n>=0?n:0}var oT=61440,sT=9,cT=0,lT=0,uT=class{_parameters;constructor(e){this._parameters=e}async send(e,t){let n=new AbortController,r=setTimeout(()=>n.abort(),t),i=globalThis.fetch;typeof i.__original==`function`&&(i=i.__original);let a=e.byteLength,o=cT+a>oT,s=!o&&!(lT>=sT);if(s)cT+=a,lT++;else{let e=o?`size limit`:`count limit`;Ex.debug(`keepalive disabled: ${(a/1024).toFixed(1)}KB payload, ${lT} pending (${e})`)}try{let t=new URL(this._parameters.url),r=await i(t.href,{method:`POST`,headers:await this._parameters.headers(),body:e,signal:n.signal,keepalive:s,mode:globalThis.location?globalThis.location.origin===t.origin?`same-origin`:`cors`:`no-cors`});return r.status>=200&&r.status<=299?(Ex.debug(`export response success (status: ${r.status})`),{status:`success`}):iT(r.status)?(Ex.warn(`export response retryable (status: ${r.status})`),{status:`retryable`,retryInMillis:aT(r.headers.get(`Retry-After`))}):(Ex.error(`export response failure (status: ${r.status})`),{status:`failure`,error:Error(`Fetch request failed with non-retryable status ${r.status}`)})}catch(e){return fT(e)?(Ex.warn(`export request retryable (network error: ${e})`),{status:`retryable`,error:Error(`Fetch request encountered a network error`,{cause:e})}):(Ex.error(`export request failure (error: ${e})`),{status:`failure`,error:Error(`Fetch request errored`,{cause:e})})}finally{clearTimeout(r),s&&(cT-=a,lT--)}}shutdown(){}};function dT(e){return new uT(e)}function fT(e){return e instanceof TypeError&&!e.cause}function pT(e,t){return kw(e,t,rT({transport:dT(e)}))}function mT(e){let t={};return Object.entries(e??{}).forEach(([e,n])=>{n===void 0?Ex.warn(`Header "${e}" has invalid value (${n}) and will be ignored`):t[e]=String(n)}),t}function hT(e,t,n){return async()=>{let r={...await n()},i={};return t!=null&&Object.assign(i,await t()),e!=null&&Object.assign(i,mT(await e())),Object.assign(i,r)}}function gT(e){if(e!=null)try{let t=globalThis.location?.href;return new URL(e,t).href}catch{throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function _T(e,t,n){return{...xw(e,t,n),headers:hT(e.headers,t.headers,n.headers),url:gT(e.url)??t.url??n.url}}function vT(e,t){return{...Sw(),headers:async()=>e,url:`http://localhost:4318/`+t}}function yT(e){return typeof e.headers==`function`?e.headers:bw(e.headers)}function bT(e,t,n){return _T({url:e.url,timeoutMillis:e.timeoutMillis,headers:yT(e),concurrencyLimit:e.concurrencyLimit},{},vT(n,t))}function xT(e,t,n,r){return pT(bT(e,n,r),t)}var ST=class extends _w{constructor(e={}){super(xT(e,Yw,`v1/traces`,{"Content-Type":`application/json`}))}},CT=`0123456789ABCDEFGHJKMNPQRSTVWXYZ`,wT=32,TT=16,ET=0xffffffffffff,DT;(function(e){e.Base32IncorrectEncoding=`B32_ENC_INVALID`,e.DecodeTimeInvalidCharacter=`DEC_TIME_CHAR`,e.DecodeTimeValueMalformed=`DEC_TIME_MALFORMED`,e.EncodeTimeNegative=`ENC_TIME_NEG`,e.EncodeTimeSizeExceeded=`ENC_TIME_SIZE_EXCEED`,e.EncodeTimeValueMalformed=`ENC_TIME_MALFORMED`,e.PRNGDetectFailure=`PRNG_DETECT`,e.ULIDInvalid=`ULID_INVALID`,e.Unexpected=`UNEXPECTED`,e.UUIDInvalid=`UUID_INVALID`})(DT||={});var OT=class extends Error{constructor(e,t){super(`${t} (${e})`),this.name=`ULIDError`,this.code=e}};function kT(e){let t=Math.floor(e()*wT)%wT;return CT.charAt(t)}function AT(e){let t=jT(),n=t&&(t.crypto||t.msCrypto)||null;if(typeof n?.getRandomValues==`function`)return()=>{let e=new Uint8Array(1);return n.getRandomValues(e),e[0]/256};if(typeof n?.randomBytes==`function`)return()=>n.randomBytes(1).readUInt8()/256;throw new OT(DT.PRNGDetectFailure,`Failed to find a reliable PRNG`)}function jT(){return PT()?self:typeof window<`u`?window:typeof globalThis<`u`||typeof globalThis<`u`?globalThis:null}function MT(e,t){let n=``;for(;e>0;e--)n=kT(t)+n;return n}function NT(e,t=10){if(isNaN(e))throw new OT(DT.EncodeTimeValueMalformed,`Time must be a number: ${e}`);if(e>0xffffffffffff)throw new OT(DT.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${ET}: ${e}`);if(e<0)throw new OT(DT.EncodeTimeNegative,`Time must be positive: ${e}`);if(Number.isInteger(e)===!1)throw new OT(DT.EncodeTimeValueMalformed,`Time must be an integer: ${e}`);let n,r=``;for(let i=t;i>0;i--)n=e%wT,r=CT.charAt(n)+r,e=(e-n)/wT;return r}function PT(){return typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope}function FT(e,t){let n=t||AT();return NT(!e||isNaN(e)?Date.now():e,10)+MT(TT,n)}var IT=Object.defineProperty,LT=(e,t,n)=>t in e?IT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RT=(e,t,n)=>LT(e,typeof t==`symbol`?t:t+``,n),zT=class{constructor(e){RT(this,`span`),this.span=e}get context(){return this.span?.context}error(e){this.span&&(this.span.setStatus(wx.ERROR,e.message),this.span.recordException(e),this.span.end())}setAttribute(e,t){this.span&&this.span.setAttribute(e,t)}setStatus(e,t){this.span&&this.span.setStatus(e,t)}end(){this.span&&(this.span.setStatus(wx.OK),this.span.end())}},BT=[`id`,`specversion`,`object`,`datacontenttype`,`type`,`time`,`origin`,`env`,`category`,`signal`,`source`,`subject`,`subjects`,`data`,`actor`,`requestId`,`clientIp`,`organizationId`,`organizationSlug`,`projectId`,`projectSlug`,`osPlatform`,`userAgent`,`sessionId`];function VT(e){let{type:t,data:n,actor:r,requestId:i,clientIp:a,origin:o,env:s,source:c,organizationId:l,organizationSlug:u,projectId:d,projectSlug:f,category:p=`product`,signal:m=`log`,osPlatform:h,userAgent:g,sessionId:_}=e,v=!!(n&&Array.isArray(n)),y=r?{id:r.id??`ann_${FT()}`,object:r.object??`user`,uri:r.uri??``}:null,b=`evt_${FT()}`.toLowerCase(),x=new Date,S=c??y?.uri??null,C={...l!==void 0&&{organizationId:l},...u!==void 0&&{organizationSlug:u},...d!==void 0&&{projectId:d},...f!==void 0&&{projectSlug:f}},w={specversion:`1.0`,object:`event`,datacontenttype:`application/json; charset=utf-8`,origin:o,env:s,category:p,signal:m,osPlatform:h,userAgent:g,clientIp:a,sessionId:_};if(v){let e=n,r=e.map(e=>({id:e.id??``,object:e.object??``,uri:e.uri??``})),a=e[0]?.id??null;Object.assign(w,{...C,id:b,type:t,time:x,source:S,actor:y,subject:a,subjects:r,data:e,requestId:i??``})}else{let e=(Array.isArray(n)?n[0]:n)?.id??null;Object.assign(w,{...C,id:b,type:t,time:x,source:S,actor:y,subject:e,requestId:i??``,data:n,...c!=null&&{request:{source:c}}})}return w}var HT=3;function UT(e){return e.replace(/([A-Z])/g,`_$1`).toLowerCase()}function WT(e){return e!=null}function GT(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`}function KT(e,t,n,r=!0,i){let a=i?.length?new Set(i):null;for(let[i,o]of Object.entries(e))if(!a?.has(i)&&o!==void 0){let e=r?UT(i):i;n[`${t}${e}`]=o}}function qT(e,t,n,r){let i=r?.currentDepth??0,a=r?.useSnakeCase??!0,o=r?.maxNestingLevels??HT,s=t.endsWith(`.`)?t.slice(0,-1):t;for(let[t,r]of Object.entries(e)){if(!WT(r))continue;let e=`${s}.${a?UT(t):t}`;typeof r==`object`&&!Array.isArray(r)?i<o&&qT(r,e,n,{currentDepth:i+1,useSnakeCase:a,maxNestingLevels:o}):GT(r)&&(n[e]=r)}}var JT=`context`,YT=[JT];function XT(e){let t={updated:[],notUpdated:[]};for(let n of e){if(!n||typeof n!=`object`)continue;let e=n.object;if(typeof e!=`string`)continue;let r=n,i=t.notUpdated.find(t=>t.object===e);i?(t.updated=[i,r],t.notUpdated=t.notUpdated.filter(t=>t.object!==e)):t.updated.some(t=>t.object===e)||t.notUpdated.push(r)}return t}function ZT(e,t,n){return`${e}.${n?`${n}.`:``}${t===``?``:`${UT(t)}.`}`}function QT(e,t){let n=e[JT];return n===`before`||n===`after`?n:t===0?`after`:`before`}function $T(e){let{[JT]:t,...n}=e;return n}function eE(e){return e.endsWith(`.`)?e:`${e}.`}function tE(e,t,n){let r=t instanceof Date?t.toISOString():new Date(t).toISOString();return{"cloudevents.event_id":e.id,"cloudevents.event_type":e.type,"cloudevents.event_source":e.source??void 0,"cloudevents.event_spec_version":e.specversion,"cloudevents.event_data_content_type":e.datacontenttype??`application/json; charset=utf-8`,"cloudevents.event_time":r,"cloudevents.event_subject":e.subject??``,"cloudevents.event_version":n?.version,"cloudevents.event_origin":e.origin??n?.serviceName,"cloudevents.event_env":e.env,"cloudevents.event_client_ip":e.clientIp,"cloudevents.event_object":e.object||`event`,"cloudevents.event_category":e.category,"cloudevents.event_signal":e.signal,"cloudevents.event_actor.id":e.actor?.id??void 0,"cloudevents.event_actor.object":e.actor?.object??void 0,"cloudevents.event_actor.uri":e.actor?.uri??void 0,"cloudevents.event_organization_id":e.organizationId,"cloudevents.event_organization_slug":e.organizationSlug,"cloudevents.event_project_id":e.projectId,"cloudevents.event_project_slug":e.projectSlug,"cloudevents.event_request_id":e.requestId,"cloudevents.event_os_platform":e.osPlatform,"cloudevents.event_user_agent":e.userAgent,"cloudevents.event_session_id":e.sessionId}}function nE(e,t,n){let r=e.data,i={...tE(e,t,n)};return rE(r,i),cE(e,i),lE(e,i),i}function rE(e,t){e&&typeof e==`object`&&(Array.isArray(e)?iE(e,t):sE(e,t))}function iE(e,t){e.some(e=>e&&typeof e==`object`&&typeof e.object==`string`)?aE(e,t):oE(e,t)}function aE(e,t){let n=XT(e);n.updated.forEach((e,n)=>{let r=ZT(`cloudevents.event_data`,e.object,QT(e,n));qT($T(e),eE(r),t)}),n.notUpdated.forEach(e=>{let n=ZT(`cloudevents.event_data`,e.object,void 0);qT($T(e),eE(n),t)})}function oE(e,t){for(let n of e)n&&typeof n==`object`&&qT(n,`cloudevents.event_data.`,t)}function sE(e,t){for(let[n,r]of Object.entries(e)){if(!WT(r))continue;let e=UT(n);if(typeof r==`object`&&!Array.isArray(r))for(let[n,i]of Object.entries(r))WT(i)&&GT(i)&&(t[`cloudevents.event_data.${e}.${n}`]=i);else GT(r)&&(t[`cloudevents.event_data.${e}`]=r)}}function cE(e,t){if(!e.subjects||!Array.isArray(e.subjects))return;let n=XT(e.subjects);n.updated.forEach((e,n)=>{KT(e,ZT(`cloudevents.event_subjects`,e.object,QT(e,n)),t,!1,YT)}),n.notUpdated.forEach(e=>{KT(e,ZT(`cloudevents.event_subjects`,e.object,void 0),t,!1,YT)})}function lE(e,t){for(let[n,r]of Object.entries(e))if(!(BT.includes(n)||r===void 0)){if(r instanceof Object)for(let[e,i]of Object.entries(r))i!==void 0&&(t[`cloudevents.${n}.${e}`]=i);else t[`cloudevents.${n}`]=r}}function uE(e,t,n){return nE(e,t,n)}var dE=class{constructor(){RT(this,`config`,null),RT(this,`tracer`,null),RT(this,`tracerProvider`,null),RT(this,`initialized`,!1),RT(this,`sessionId`,null)}initTracer(e){throw Error(`initTracer must be implemented by the environment-specific client`)}init(e){this.config=e,this.initTracer(e)}send(e){try{if(!this.tracer||!this.config)return;let t=e,n=`time`in t&&t.time?new Date(t.time):new Date;this.tracer.startSpan(`event.${t.type}`,{attributes:this.processAttributes(t,n),startTime:n}).end(n)}catch(e){this.config?.isProd||console.error(`Event reporting failed:`,e)}}processAttributes(e,t){return uE(e,t,this.config)}startSpan(e,t){try{if(!this.tracer)return;let n,r=e.time?new Date(e.time):new Date,i=this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,r),root:!t},t);return t||(n=Lx.setSpan(Tx.active(),i)),{end:()=>i.end(),setAttribute:(e,t)=>{i.setAttribute(`cloudevents.event_data.${UT(e)}`,t)},setStatus:(e,t)=>i.setStatus({code:e,message:t}),parentCtx:n}}catch(e){this.config?.isProd||console.error(`Event reporting failed:`,e);return}}startStepSpan(e,t){try{if(!this.tracer)return;let n=t||Tx.active(),r=e,i=r.time?new Date(r.time):new Date,a=this.tracer.startSpan(`event.${r.type}`,{attributes:this.processAttributes(r,i)},n);return{end:()=>a.end(),setAttribute:(e,t)=>{a.setAttribute(`cloudevents.event_data.${UT(e)}`,t)},setStatus:(e,t)=>a.setStatus({code:e,message:t}),recordException:e=>a.recordException(e),context:Lx.setSpan(n,a)}}catch(e){this.config?.isProd||console.error(`Event reporting failed:`,e);return}}traceStep(e){let t=this.startStepSpan(e);if(t)return new zT(t)}async forceFlush(){return this.tracerProvider?.forceFlush()}async shutdown(){return this.tracerProvider?.shutdown()}},fE=class e extends dE{constructor(){super(),RT(this,`tracer`,null),RT(this,`initialized`,!1)}withTracer(t){let n=new e;return n.config=this.config,n.tracerProvider=this.tracerProvider,n.sessionId=this.sessionId,n.initialized=this.initialized,n.tracer=this.tracerProvider?.getTracer(t)??null,n}initTracer(e){if(!e.collectorUrl&&!e.collectorTraceUrl)return;let t=`ses_${FT()}`;this.sessionId=t;let n=CC({[cS]:e.serviceName,[lS]:e.serviceVersion,session_id:t}),r=e.collectorTraceUrl||`${e.collectorUrl}/v1/traces`;this.tracerProvider=new gw({resource:n,sampler:new FC,spanProcessors:[...e.spanProcessors??[],new KC(new ST({url:r,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(e.tracerName),e.registerGlobalTracerProvider!==!1&&this.tracerProvider.register(),this.initialized=!0}},pE=()=>({location:typeof location<`u`?location:void 0,document:typeof document<`u`?document:void 0});function mE(e=pE()){if(!e.location)return;let t=e.document?.referrer||void 0;return{id:e.location.href,object:`page`,uri:e.location.href,...t?{referrer:t}:{}}}function hE(e,t,n){if(!n.has(e)||!Array.isArray(t)||t.some(_E))return t;let r=mE();return r?[...t,r]:t}function gE(e,t){let n=hE(e.type,e.data,t);return n===e.data?e:{...e,data:n}}function _E(e){return typeof e==`object`&&!!e&&e.object===`page`}var vE=new Set(`com.redocly.downloadDefinition.clicked,com.redocly.copyCodeSnippet.clicked,com.redocly.referencedIn.clicked,com.redocly.selectLanguage.clicked,com.redocly.expandCollapseAll.clicked,com.redocly.examplesSwitcher.clicked,com.redocly.switchServers.clicked,com.redocly.tryIt.opened,com.redocly.changeLayout.clicked,com.redocly.viewSecurityDetails.clicked,com.redocly.viewSecurityDetails.closed,com.redocly.search.opened,com.redocly.search.query,com.redocly.searchResult.clicked,com.redocly.searchInputReset.clicked,com.redocly.switchMessage.clicked,com.redocly.switchExample.clicked,com.redocly.message.clicked,com.redocly.serverModal.opened,com.redocly.requiredScopesModal.opened,com.redocly.responseCodeTab.clicked,com.redocly.schemaField.expanded,com.redocly.sidebarItem.clicked,com.redocly.sidebar.collapsed,com.redocly.colorMode.switched,com.redocly.logo.clicked,com.redocly.pageActions.clicked,com.redocly.connectMcp.clicked,com.redocly.agentTools.registered,com.redocly.agentTools.called,com.redocly.securityOptionalScopes.expanded`.split(`,`)),yE=class e{constructor(){RT(this,`config`,null),RT(this,`initialized`,!1),RT(this,`useCloudEventData`),RT(this,`otelClient`),RT(this,`tracer`),RT(this,`updateCloudEventData`,e=>{this.config?.disabled||(this.useCloudEventData=e)}),this.useCloudEventData=()=>({origin:`redocUi`,signal:`log`}),this.otelClient=new fE,this.tracer={traceStep:(e,t)=>{let n=this.constructCloudEvent(e,t,{signal:`trace`});return this.otelClient.traceStep(n)}}}send(e,t,n){try{if(!this.config?.otel.isProd)return;let r=e&&typeof e==`object`&&`type`in e&&`data`in e?gE(e,vE):this.constructCloudEvent(e,t,{...n,signal:`log`});this.sendToOtelService(r)}catch(e){this.config?.otel.isProd||console.error(`Event reporting failed:`,e)}}init(e){e.disabled||this.initialized||(this.config=e,this.initialized=!0,this.otelClient.init({serviceVersion:e.otel.serviceVersion,version:e.otel.version,isProd:e.otel.isProd,collectorUrl:e.otel.collectorUrl,collectorTraceUrl:e.otel.collectorTraceUrl,serviceName:e.otel.serviceName,tracerName:e.otel.tracerName,spanProcessors:e.otel.spanProcessors,registerGlobalTracerProvider:e.otel.registerGlobalTracerProvider}))}withTracer(t){let n=new e;return n.config=this.config,n.initialized=this.initialized,n.useCloudEventData=()=>this.useCloudEventData(),n.otelClient=this.otelClient.withTracer(t),n}startSpan(e,t,n){if(this.config?.disabled)return;let r=this.constructCloudEvent(e,t,{signal:`trace`});return this.otelClient.startSpan(r,n)}constructCloudEvent(e,t,n){let r={...this.useCloudEventData(),...n};return VT({type:e,data:hE(e,t,vE),...r,...this.otelClient.sessionId&&{sessionId:this.otelClient.sessionId}})}sendToOtelService(e){this.config?.otel.isProd||console.log(`CloudEvent to be sent to OTEL service:`,e),this.otelClient.send({...e,signal:`log`})}forceFlush(){return this.config?.disabled?Promise.resolve():this.otelClient.forceFlush()}shutdown(){return this.config?.disabled?Promise.resolve():this.otelClient.shutdown()}sendViewedMessage(e,t){this.send(`com.redocly.page.viewed`,e,t)}sendPerformanceMetricsMessage(e,t){this.send(`com.redocly.performanceMetrics.collected`,e,t)}sendDownloadDefinitionClickedMessage(e,t){this.send(`com.redocly.downloadDefinition.clicked`,e,t)}sendCopyCodeSnippetClickedMessage(e,t){this.send(`com.redocly.copyCodeSnippet.clicked`,e,t)}sendReferencedInClickedMessage(e,t){this.send(`com.redocly.referencedIn.clicked`,e,t)}sendSelectLanguageClickedMessage(e,t){this.send(`com.redocly.selectLanguage.clicked`,e,t)}sendExpandCollapseAllClickedMessage(e,t){this.send(`com.redocly.expandCollapseAll.clicked`,e,t)}sendExamplesSwitcherClickedMessage(e,t){this.send(`com.redocly.examplesSwitcher.clicked`,e,t)}sendSwitchServersClickedMessage(e,t){this.send(`com.redocly.switchServers.clicked`,e,t)}sendTryItOpenedMessage(e,t){this.send(`com.redocly.tryIt.opened`,e,t)}sendChangeLayoutClickedMessage(e,t){this.send(`com.redocly.changeLayout.clicked`,e,t)}sendViewSecurityDetailsClickedMessage(e,t){this.send(`com.redocly.viewSecurityDetails.clicked`,e,t)}sendViewSecurityDetailsClosedMessage(e,t){this.send(`com.redocly.viewSecurityDetails.closed`,e,t)}sendSearchOpenedMessage(e,t){this.send(`com.redocly.search.opened`,e,t)}sendSearchQueryMessage(e,t){this.send(`com.redocly.search.query`,e,t)}sendSearchResultClickedMessage(e,t){this.send(`com.redocly.searchResult.clicked`,e,t)}sendSearchInputResetClickedMessage(e,t){this.send(`com.redocly.searchInputReset.clicked`,e,t)}sendSwitchMessageClickedMessage(e,t){this.send(`com.redocly.switchMessage.clicked`,e,t)}sendSwitchExampleClickedMessage(e,t){this.send(`com.redocly.switchExample.clicked`,e,t)}sendMessageClickedMessage(e,t){this.send(`com.redocly.message.clicked`,e,t)}sendServerModalOpenedMessage(e,t){this.send(`com.redocly.serverModal.opened`,e,t)}sendRequiredScopesModalOpenedMessage(e,t){this.send(`com.redocly.requiredScopesModal.opened`,e,t)}sendInitialMessage(e,t){this.send(`com.redocly.redoc.initialized`,e,t)}sendErrorMessage(e,t){this.send(`com.redocly.error.occurred`,e,t)}sendPageTimeMessage(e,t){this.send(`com.redocly.page.time`,e,t)}sendDefinitionLoadFailedMessage(e,t){this.send(`com.redocly.definition.loadFailed`,e,t)}sendResponseCodeTabClickedMessage(e,t){this.send(`com.redocly.responseCodeTab.clicked`,e,t)}sendSchemaFieldExpandedMessage(e,t){this.send(`com.redocly.schemaField.expanded`,e,t)}sendSidebarItemClickedMessage(e,t){this.send(`com.redocly.sidebarItem.clicked`,e,t)}sendSidebarCollapsedMessage(e,t){this.send(`com.redocly.sidebar.collapsed`,e,t)}sendColorModeSwitchedMessage(e,t){this.send(`com.redocly.colorMode.switched`,e,t)}sendLogoClickedMessage(e,t){this.send(`com.redocly.logo.clicked`,e,t)}sendPageActionsClickedMessage(e,t){this.send(`com.redocly.pageActions.clicked`,e,t)}sendConnectMcpClickedMessage(e,t){this.send(`com.redocly.connectMcp.clicked`,e,t)}sendAgentToolsRegisteredMessage(e,t){this.send(`com.redocly.agentTools.registered`,e,t)}sendAgentToolCalledMessage(e,t){this.send(`com.redocly.agentTools.called`,e,t)}sendSecurityOptionalScopesExpandedMessage(e,t){this.send(`com.redocly.securityOptionalScopes.expanded`,e,t)}},bE={name:`redoc`,version:`3.0.1`},xE=`urn:redocly:redoc:ui:page`;function SE(){return`urn:redocly:redoc:ui:page`}var CE=new Set([`com.redocly.page.viewed`,`com.redocly.page.time`,`com.redocly.performanceMetrics.collected`,`com.redocly.redoc.initialized`,`com.redocly.error.occurred`,`com.redocly.definition.loadFailed`]);function wE(e,t){return CE.has(e)?t:[...t,{id:xE,object:`page`,uri:xE}]}var TE=`https://otel.cloud.redocly.com/v1/traces`,EE=`urn:redocly:redoc:ui`,DE=class extends yE{specType;beforeSend;typeOfUsage;constructor(e){super(),this.specType=e.specType,this.beforeSend=e.beforeSend,this.typeOfUsage=e.typeOfUsage??`react`,this.init({otel:{isProd:!0,serviceVersion:e.serviceVersion||`${bE.name}@${bE.version}`,version:`1.0.0`,collectorTraceUrl:e.collectorUrl||TE,serviceName:e.serviceName||`redoc-ce`,tracerName:`client-telemetry`},disabled:e.disabled??!1}),this.updateCloudEventData(()=>({source:EE,origin:`redocUi`,signal:`log`}))}send(e,t){if(Array.isArray(t)){let n=this.specType,r=n?t.map(e=>e&&typeof e==`object`?{...e,specType:n}:e):[...t];if(r=wE(e,r),this.beforeSend?.(e,r)===!1)return;t=r}super.send(e,t,{env:`production`})}},OE=new DE({disabled:!0}),kE=createContext(OE);function AE(){return useContext(kE)}function jE(){return AE()}function V(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var ME=o((()=>{}));ME();var NE=Bo({sections:new Set,sidebarClicks:0,schemaExpands:0,maxSchemaDepth:0,searches:0,interactions:0,hiddenCount:0,hiddenMs:0,schemaExpandEvents:0,cappedEvents:!1}),PE=Bo(null,(e,t,{event:n,data:r})=>{if(CE.has(n))return!0;let i=e(NE),a=V(r[0])?r[0]:{},o={...i,interactions:i.interactions+1,firstInteractionMs:i.firstInteractionMs??performance.now()},s=!0;return n===`com.redocly.sidebarItem.clicked`&&(o.sidebarClicks+=1),n===`com.redocly.search.query`&&(o.searches+=1),n===`com.redocly.schemaField.expanded`&&(a.expanded===!0&&(o.schemaExpands+=1,o.maxSchemaDepth=Math.max(i.maxSchemaDepth,Number(a.depth)||0)),o.schemaExpandEvents+=1,o.schemaExpandEvents>50&&(o.cappedEvents=!0,s=!1)),t(NE,o),s}),FE=Bo(null,(e,t,n)=>{let r=e(NE);r.sections.has(n)||t(NE,{...r,sections:new Set(r.sections).add(n)})}),IE=Bo(null,(e,t,n)=>{let r=e(NE);if(n){if(r.hiddenSince!==void 0)return;t(NE,{...r,hiddenCount:r.hiddenCount+1,hiddenSince:performance.now()});return}r.hiddenSince!==void 0&&t(NE,{...r,hiddenMs:r.hiddenMs+(performance.now()-r.hiddenSince),hiddenSince:void 0})}),LE=Bo(null),RE=Bo(null,(e,t,n)=>{t(LE,{via:n,at:performance.now()})});function zE(e){let t=useContext(kE),n=Go(),r=I(fs),{specType:i,collectorUrl:a,serviceName:o,serviceVersion:s,disabled:c,typeOfUsage:l}=e??{};return useMemo(()=>t===OE?new DE({specType:i??r,collectorUrl:a,serviceName:o,serviceVersion:s,disabled:c,typeOfUsage:l,beforeSend:(e,t)=>n.set(PE,{event:e,data:t})}):t,[t,n,r,i,a,o,s,c,l])}Ds();function BE(e,t){return{id:t,object:e,uri:`urn:redocly:redoc:ui:${e}:${t}`}}var VE={asyncapiDocsChannelLink:BE(`link`,`asyncapiDocsChannelLink`),changeLayoutButton:BE(`button`,`changeLayoutButton`),colorMode:BE(`button`,`colorMode`),connectMcp:BE(`button`,`connectMcp`),copyCodeSnippetButton:BE(`button`,`copyCodeSnippetButton`),definitionLoad:BE(`definition`,`definitionLoad`),downloadDefinition:BE(`definition`,`downloadDefinition`),examplesSwitcherButton:BE(`button`,`examplesSwitcherButton`),expandCollapseAllButton:BE(`button`,`expandCollapseAllButton`),graphqlDocsReferencedInLink:BE(`link`,`graphqlDocsReferencedInLink`),messageLink:BE(`link`,`messageLink`),pageActions:BE(`button`,`pageActions`),redoclyAttribution:BE(`link`,`redoclyAttribution`),redocSecurityButton:BE(`button`,`redocSecurityButton`),redocSecurityButtonClose:BE(`button`,`redocSecurityButtonClose`),requiredScopesButton:BE(`button`,`requiredScopesButton`),responseCodeTab:BE(`tab`,`responseCodeTab`),schemaFieldToggle:BE(`button`,`schemaFieldToggle`),searchDialog:BE(`search`,`searchDialog`),searchInputResetButton:BE(`button`,`searchInputResetButton`),searchQuery:BE(`search`,`searchQuery`),securityOptionalScopesToggle:BE(`button`,`securityOptionalScopesToggle`),selectLanguageButton:BE(`button`,`selectLanguageButton`),serverModalButton:BE(`button`,`serverModalButton`),sidebarCollapse:BE(`button`,`sidebarCollapse`),sidebarItem:BE(`sidebar`,`sidebarItem`),switchExampleButton:BE(`button`,`switchExampleButton`),switchMessageButton:BE(`button`,`switchMessageButton`),switchServersButton:BE(`button`,`switchServersButton`)};function HE(e,t){return VE.downloadDefinition}var UE=[{key:`curl`,label:`curl`,lang:`bash`},{key:`javascript`,label:`JavaScript`,lang:`javascript`},{key:`node`,label:`Node.js`,lang:`javascript`},{key:`python`,label:`Python`,lang:`python`},{key:`java`,label:`Java`,lang:`java`},{key:`csharp`,label:`C#`,lang:`csharp`},{key:`php`,label:`PHP`,lang:`php`},{key:`go`,label:`Go`,lang:`go`},{key:`ruby`,label:`Ruby`,lang:`ruby`},{key:`r`,label:`R`,lang:`r`},{key:`payload`,label:`Payload`,lang:`payload`}],WE=[{key:`csharpnewtonsoft`,label:`C#+Newtonsoft`,lang:`csharp`},{key:`java8`,label:`Java8+Apache`,lang:`java`}],GE=new Map([...UE,...WE].map(e=>[e.label.toLowerCase(),e]));function KE({lang:e,label:t}){let n=(t||e).toLowerCase();return GE.get(n)?.key??n}function qE({lang:e}){return GE.get(e.toLowerCase())?.key??e.toLowerCase()}var JE={curl:`bash`,javascript:`javascript`,"node.js":`javascript`,python:`python`,java:`java`,"java8+apache":`java`,"c#":`csharp`,"c#+newtonsoft":`csharp`,php:`php`,go:`go`,ruby:`ruby`,r:`r`,payload:`json`};function YE(e){return JE[e.toLowerCase()]??e.toLowerCase()}var XE={amqp:!0,amqps:!0,anypointmq:!0,googlepubsub:!0,http:!0,https:!0,ibmmq:!0,jms:!0,kafka:!0,"kafka-secure":!0,mercure:!0,mqtt:!0,mqtt5:!0,"secure-mqtt":!0,nats:!0,pulsar:!0,redis:!0,sns:!0,solace:!0,sqs:!0,stomp:!0,stomps:!0,ws:!0,wss:!0},ZE=new Set([`bash`,`clike`,`csharp`,`csharpnewtonsoft`,`curl`,`go`,`graphql`,`java`,`java8`,`javascript`,`json`,`json-seq`,`jsonl`,`multipart-mixed`,`node`,`payload`,`php`,`python`,`r`,`ruby`,`text`,`xml`,`yaml`]);function QE(e){let t=qE({lang:e});return ZE.has(t)?t:`other`}function $E(e){return/^[1-5]/.test(e)?`${e[0]}xx`:`default`}function eD(e){if(!e)return`other`;let t=e.toLowerCase().split(`://`)[0].replace(/:$/,``).trim();return Object.hasOwn(XE,t)?t:`other`}B();var tD=new Set(Object.keys({authorizationCode:!0,clientCredentials:!0,implicit:!0,password:!0,deviceAuthorization:!0})),nD={[ns.API_KEY]:`apiKey`,[ns.OAUTH2]:`oauth2`,[ns.OPEN_ID_CONNECT]:`openIdConnect`,[ns.MUTUAL_TLS]:`mutualTLS`},rD={basic:`httpBasic`,bearer:`httpBearer`};function iD(e,t){return e===ns.HTTP?rD[t?.toLowerCase()??``]??`httpOther`:nD[e??``]??`unknown`}function aD(e){let t={},n={};for(let r of e){let e=iD(r.type,r.scheme);t[e]=(t[e]??0)+1;for(let e of Object.keys(r.flows??{}))tD.has(e)&&(n[e]=(n[e]??0)+1)}return{schemeTypes:t,oauth2Flows:n}}var oD={TypeError:!0,RangeError:!0,ReferenceError:!0,SyntaxError:!0,URIError:!0,Error:!0},sD=/[a-z][a-z0-9+.-]{0,63}:\/\/\S+|(?:[A-Za-z]:)?(?:[\\/][\w.@%-]+){2,}/g,cD=200,lD=2e3;function uD(e){return e.replace(sD,`<path>`)}function dD(e,t){let n=t??e.stack??``;return{name:Object.hasOwn(oD,e.name)?e.name:`other`,stackFrames:n.split(`
`).filter(e=>/^\s*(at |in )/.test(e)).length,message:uD(e.message).slice(0,cD),...n?{stack:uD(n).slice(0,lD)}:{}}}var fD=class extends Error{stage;httpStatus;constructor(e,t,n){super(t),this.name=`DefinitionLoadError`,this.stage=e,this.httpStatus=n}};function pD(e){return e instanceof Error?e.message:String(e)}function mD(e,{source:t,durationMs:n,telemetryConfig:r}){let i=e instanceof fD?e:void 0,a=new DE(r??{});a.sendDefinitionLoadFailedMessage([{...VE.definitionLoad,stage:i?.stage??`bundle`,source:t,...i?.httpStatus===void 0?{}:{httpStatus:i.httpStatus},durationMs:n,...a.typeOfUsage?{typeOfUsage:a.typeOfUsage}:{}}]),a.forceFlush()}function hD(){let e=jE();return useCallback(t=>e.sendSchemaFieldExpandedMessage([{...VE.schemaFieldToggle,...t}]),[e])}var gD=`[data-component-name="Menu/MenuItem"]`,_D=`[data-testid="menu-item-label"]`;function vD(e){let t=e.closest(_D),n=t?.closest(gD);if(!t||!n)return null;let r=0;for(let e=n.parentElement?.closest(gD);e;e=e.parentElement?.closest(gD))r+=1;return{type:n.classList.contains(`menu-item-type-drilldown`)?`drilldown`:n.classList.contains(`menu-item-type-group`)?`group`:`link`,depth:r,navigates:e.closest(`a`)!==null}}function yD(){let e=jE(),t=Qo(RE);return useCallback(n=>{let r=vD(n.target);r&&(r.navigates&&t(`sidebar`),e.sendSidebarItemClickedMessage([{...VE.sidebarItem,type:r.type,depth:r.depth}]))},[e,t])}B(),ME();var bD=new Set([L.HTTP_ITEM,L.CHANNEL_OPERATION,L.QUERY,L.MUTATION,L.SUBSCRIPTION]);function xD(e){let t={},n=0,r=0,i=0;function a(e){for(let o of e){let e=o.content;if(e){e.contentType===ts.GROUP&&(n+=1);let a=e.itemVariant;a&&(t[a]=(t[a]??0)+1),e.meta?.isWebhook&&(r+=1),e.meta?.deprecated&&(i+=1)}`items`in o&&Array.isArray(o.items)&&a(o.items)}}return a(e),{byVariant:t,operations:[...bD].reduce((e,n)=>e+(t[n]??0),0),groups:n,webhooks:r,deprecated:i}}function SD(e){let t=Object.values(e??{}),{schemeTypes:n,oauth2Flows:r}=aD(t);return delete n.unknown,{securitySchemes:t.length,...Object.keys(n).length?{schemeTypes:n}:{},...Object.keys(r).length?{oauth2Flows:r}:{}}}var CD={"x-logo":`logo`,"x-tagGroups":`tagGroups`,"x-displayName":`displayName`,"x-traitTag":`traitTag`,"x-badges":`badges`,"x-enumDescriptions":`enumDescriptions`,"x-additionalPropertiesName":`additionalPropertiesName`,"x-explicitMappingOnly":`explicitMappingOnly`,"x-extendedDiscriminator":`extendedDiscriminator`,"x-ignoredHeaderParameters":`ignoredHeaderParameters`,"x-nullable":`nullable`,"x-summary":`summary`,"x-servers":`servers`,"x-webhooks":`webhooks`,"x-examples":`examples`,"x-mcp":`mcp`},wD=new Set([`x-codeSamples`,`x-code-samples`]),TD=5e4;function ED(e){if(typeof e!=`string`)return;let t=/^(\d+)\.(\d+)/.exec(e.trim());return t?`${t[1]}.${t[2]}`:void 0}function DD(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function OD(e){let t=new Set,n={},r=!1,i=0,a=!1,o=[e],s=0;for(;o.length&&s<TD;){let e=o.pop();if(s+=1,Array.isArray(e)){for(let t of e)t&&typeof t==`object`&&o.push(t);continue}if(V(e))for(let[s,c]of Object.entries(e)){if(s.startsWith(`x-`)){t.add(s);let e=CD[s];e&&(n[e]=!0),wD.has(s)&&(r=!0)}else s===`callbacks`&&V(c)?i+=Object.keys(c).length:s===`bindings`&&(a=!0);c&&typeof c==`object`&&o.push(c)}}let c=e.servers,l=Array.isArray(c)?c:V(c)?Object.values(c):[],u={};for(let e of l)V(e)&&typeof e.protocol==`string`&&(u[DD(eD(e.protocol))]=!0);let d=e.operations,f=V(d)&&Object.values(d).some(e=>V(e)&&`reply`in e);return{specVersion:ED(e.openapi??e.asyncapi??e.swagger),extensionsCount:t.size,redocExtensions:n,hasCodeSamples:r,callbacks:i,servers:l.length,hasBindings:a,hasReply:f,...Object.keys(u).length?{protocols:u}:{}}}var kD=new Set([`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`,`query`]);function AD(e){let t=Array.isArray(e.security)?e.security:void 0,n=0,r=0,i=0,a=0;for(let o of[e.paths,e.webhooks])if(V(o)){for(let e of Object.values(o))if(V(e))for(let[o,s]of Object.entries(e)){if(!kD.has(o)||!V(s))continue;let e=Array.isArray(s.security)?s.security:t;if(!e)continue;let c=e.filter(V);c.some(e=>Object.keys(e).length>0)&&(n+=1),c.some(e=>Object.keys(e).length===0)&&(r+=1),c.some(e=>Object.keys(e).length>1)&&(i+=1),c.length>1&&(a+=1)}}return{hasGlobalSecurity:t!==void 0,securedOperations:n,optionalSecurityOperations:r,combinedSecurityOperations:i,alternativeSecurityOperations:a}}var jD=/^(localhost|.*\.local|0\.0\.0\.0|\[?::1\]?|127\.\d+\.\d+\.\d+|10\.\d+\.\d+\.\d+|192\.168\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+)$/i;function MD(e){return e===``||jD.test(e)}var ND=new Set([`specType`,`metadata`,`markdownParser`,`basePath`,`downloadUrls`,`disableTelemetry`,`info`,`markdown`,`apiLogo`,`menu`,`events`,`schemaDefinitionsTagName`,`corsProxyUrl`]),PD=new Set([`layout`,`protocol`]);function FD(e){if(!e)return;let t={};for(let[n,r]of Object.entries(e))r==null||ND.has(n)||(t[n]=typeof r==`boolean`||typeof r==`number`?r:typeof r==`string`?r===`true`||r===`false`?r===`true`:/^-?\d+(\.\d+)?$/.test(r)?Number(r):!PD.has(n)||r:!0);return Object.keys(t).length?t:void 0}function ID(e){let{items:t,apiStore:n,definition:r}=e,i=n.specType,a=xD(t),o=V(r)?r:void 0,s=o?OD(o):void 0,c=ED(n.convertedFrom)??s?.specVersion,l=a.byVariant,u={...i===`openapi`?{tags:a.groups,webhooks:a.webhooks,callbacks:s?.callbacks??0,...o?AD(o):{}}:{},...i===`asyncapi`?{channels:l.channel??0,messages:l.message??0,hasReply:s?.hasReply??!1,hasBindings:s?.hasBindings??!1,...s?.protocols?{protocols:s.protocols}:{}}:{},...i===`graphql`?{queries:l.query??0,mutations:l.mutation??0,subscriptions:l.subscription??0,objects:l.object??0,inputs:l.input??0,enums:l.enum??0,unions:l.union??0,interfaces:l.interface??0,scalars:l.scalar??0,directives:l.directive??0,requiresScopes:typeof r==`string`?(r.match(/@requiresScopes\b/g)??[]).length:0}:{},servers:s?.servers??n.servers?.length??0,deprecated:a.deprecated,...SD(n.securitySchemeStore)};return{id:`redocInitial`,object:`initial`,uri:e.uri,layout:e.layout,...e.typeOfUsage?{typeOfUsage:e.typeOfUsage}:{},operationsCount:a.operations,schemasCount:Object.keys(n.schemaStore??{}).length,...c?{specVersion:c}:{},extensionsCount:s?.extensionsCount??0,...s&&Object.keys(s.redocExtensions).length?{redocExtensions:s.redocExtensions}:{},hasCodeSamples:s?.hasCodeSamples??!1,...e.buildTimings??{},isLocalhost:MD(e.hostname),landedOn:e.landedOn,...e.options?{options:e.options}:{},shape:u}}function LD(e,t=!0){let n=useContext(bc),r=Qo(tp(n??``)),{schemasExpansionLevel:i}=I(ds),a=i===1/0||void 0;return useEffect(()=>{if(e&&n&&t)return r(t=>e in t.expandableSections?{}:{expandableSections:{...t.expandableSections,[e]:a}}),()=>r(t=>{if(!(e in t.expandableSections))return{};let n={...t.expandableSections};return delete n[e],{expandableSections:n}})},[e,n,t,r,a]),I(sp(n??``,e??``))}function RD(e){let t=useContext(bc),n=useId();return e&&t?sre(e,n):void 0}function zD(e,t){let n=useContext(bc),r=Qo(tp(n??``));useEffect(()=>{if(e&&n)return()=>r(t=>{let n={...t.collapsibles};return delete n[e],{collapsibles:n}})},[e,n,r]),useEffect(()=>{e&&n&&r(n=>n.collapsibles[e]===t?{}:{collapsibles:{...n.collapsibles,[e]:t}})},[e,n,t,r])}var BD=`800px 0px`;function VD(e){let t=e.getBoundingClientRect();if(t.width===0&&t.height===0)return!1;let n=window.innerHeight||document.documentElement.clientHeight;return t.bottom>=0&&t.top<=n}function HD({forceMount:e=!1,estimatedHeight:t,children:n}){let[r,i]=useState(e),a=useRef(null);return useLayoutEffect(()=>{if(r||e)return;let t=a.current;if(!t||typeof IntersectionObserver>`u`||VD(t)){i(!0);return}let n=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(startTransition(()=>i(!0)),n.disconnect())},{rootMargin:BD});return n.observe(t),()=>n.disconnect()},[r,e]),r||e?jsx(Fragment$1,{children:n}):jsx(WD,{ref:a,"aria-hidden":`true`,style:t?{minHeight:t}:void 0})}var UD=memo(HD),WD=styled$1.div`
  min-height: var(--line-height-base, 24px);
`;Ds(),_c();var GD=0;function KD(e,t,n,r=GD){return!!(e&&uv(t??0,n,r))}function qD(e){let t=Jh();return useMemo(()=>{if(!e||!t)return!1;let n=xs(t.slice(1)).toLowerCase(),r=e.toLowerCase();if(n.includes(`path=${r}/`)||n.includes(`path=${r}&`)||n.includes(`path=${r}[]`))return!0;let i=rc(r);if(i===r)return!1;let a=rc(n);return a.includes(`path=${i}/`)||a.includes(`path=${i}&`)||a.endsWith(`&path=${i}`)||a.endsWith(`/path=${i}`)},[e,t])}function JD(e,t,n){let r=e=>Object.values(e).filter(e=>!(t&&e.accessMode===`read-only`||n&&e.accessMode===`write-only`)).length;if(e.switcher?.type===`discriminator`){let t=Object.values(e.switcher.options)[0];if(t?.properties)return{count:r(t.properties),isArray:!1}}if(e.properties)return{count:r(e.properties),isArray:!1};let i=e.items?.length===1?e.items[0]:void 0,a=i?.properties??(i?.switcher?Object.values(i.switcher.options)[0]?.properties:void 0);return a?{count:r(a),isArray:!0}:null}function YD(e,t,n,r){let i=r?r(`actions.show`,`Show`):`Show`,a=JD(e,t,n);if(!a)return`${i} ${r?r(`details`,`details`):`details`}`;let{count:o,isArray:s}=a,c=o===1?`property`:`properties`,l=r?r(c,c):c,u=[i];return o!==1&&u.push(String(o)),s&&u.push(r?r(`array`,`array`):`array`),u.push(l),u.join(` `)}var XD=40;function ZD({level:e,skipReadOnly:t,skipWriteOnly:n,property:r,children:i,fieldPath:a,expandByDefault:o,required:s}){let c=qD(a),l=zh(),{schemasExpansionLevel:u}=I(ds),d=useContext(bc)??``,f=ig(),p=ag(),m=RD(f),h=Qo(tp(d)),g=I(useMemo(()=>Eu(tp(d),e=>m?e.collapsibles[m]:void 0),[d,m])),[_,v]=useState(void 0),y=(m?g:_)??p??(c||KD(o,e,u)||Ore(e,s,u));zD(m,y),useEffect(()=>{c&&(m?h(e=>({collapsibles:{...e.collapsibles,[m]:!0}})):v(!0))},[c,m,h,l]);let b=fb(),x=hD(),S=useMemo(()=>YD(r,t,n,b),[r,t,n,b]),C=useMemo(()=>JD(r,t,n),[r,t,n]),w=C&&C.count>0?C.count*XD:void 0;return jsxs(Cre,{"data-schema-nested-open":y?`true`:`false`,children:[jsxs(xre,{type:`button`,onClick:()=>{let t=!y;x({depth:e,expanded:t,kind:`property`,...C?{childCount:C.count,isArray:C.isArray}:{}}),m?h(e=>({collapsibles:{...e.collapsibles,[m]:t}})):v(t)},children:[jsx(QD,{sign:y?`−`:`+`,level:e,expanded:y}),y?null:jsx(`span`,{children:S})]}),y&&jsx(wre,{$level:e,children:jsx(UD,{forceMount:c,estimatedHeight:w,children:i})})]})}function QD({sign:e,level:t=0,expanded:n}){let r=n?A_[t%A_.length]:void 0;return jsx(Sre,{$color:r,children:e})}na();var $D=150;function eO({value:e}){let t=fb(),[n,r]=useState(!1),i=e.length>$D,a=n||!i?e:e.slice(0,$D);return jsxs(Fragment$1,{children:[jsx($_,{children:a}),i&&jsx(tO,{variant:`link`,size:`small`,onClick:()=>r(e=>!e),children:n?t(`hideExample`,`Hide example`):t(`showExample`,`Show example`)})]})}var tO=styled$1(ta)`
  margin-left: var(--spacing-xs);
`;function nO({examples:e}){let t=fb();if(!e)return null;let n=Object.entries(e);return n.length===0?null:jsxs(Fragment$1,{children:[jsx(Y_,{children:jsxs(X_,{children:[t(`examples`,`Examples`),`:`]})}),jsx(hre,{children:n.map(([e,t])=>jsxs(gre,{children:[jsx(_re,{children:t.summary||e}),t.description?jsx(vre,{children:t.description}):null,t.value===void 0?null:jsx(eO,{value:t.value})]},e))})]})}var rO=45;function iO({pattern:e}){let{hideSchemaPattern:t}=I(ds),n=fb(),[r,i]=useState(!1);if(!e||t)return null;let a=e.length>48,o=r||!a?e:`${e.slice(0,rO)}...`;return jsxs(Fragment$1,{children:[jsx(mre,{children:o}),a?jsx(tv,{type:`button`,onClick:()=>i(e=>!e),children:r?n(`openapi.hidePattern`,`Hide pattern`):n(`openapi.showPattern`,`Show pattern`)}):null]})}pp(),_c();function aO({name:e,property:t,level:n,expandByDefault:r,isFirst:i,fieldParentsName:a=[],skipReadOnly:o,skipWriteOnly:s,onOneOfChange:c}){let{hidePropertiesPrefix:l,showExtensions:u,jsonSamplesExpandLevel:d}=I(ds),f=fb(),p=!!t.switcher,m=!t.isCircular&&(!!t.properties||!!(t.items&&t.items.length>0)),h=useMemo(()=>[...a,e].join(`/`),[a,e]),g=rg(h),_=t.enum,v=_&&!Array.isArray(_)?_:void 0,y=_&&Array.isArray(_)?_:void 0,b=Eb(t.extensions??{},u),x=useMemo(()=>p&&t.switcher?.type!==`discriminator`?jsx(ZO,{property:t,level:n+1,expandByDefault:r,fieldParentsName:[...a,e],skipReadOnly:o,skipWriteOnly:s,onOneOfChange:c}):p&&t.switcher?.type===`discriminator`||m?jsx(ZD,{level:n,expandByDefault:r,required:t.isRequired,skipReadOnly:o,skipWriteOnly:s,property:t,fieldPath:h,children:jsx(ZO,{property:t,level:n+1,fieldParentsName:[...a,e],skipReadOnly:o,skipWriteOnly:s,onOneOfChange:c})}):null,[r,a,h,m,p,n,e,t,o,s,c]),{before:S,after:C}=kb(t.badges);return jsxs(I_,{$isFirst:i,id:$s(g),className:`schema-property-item`,children:[jsxs(L_,{children:[jsxs(R_,{children:[g&&jsx(vb,{to:g,label:`link to ${e}`,variant:`field`}),!l&&a.map((e,t)=>{let n=nc(e);return n?jsxs(z_,{children:[n,`.`,`​`]},t):null}),S.map(Tb),jsx(B_,{$deprecated:t.isDeprecated,className:`schema-name`,children:e})]}),jsx(V_,{children:t.type}),jsx(Ab,{title:t.title,schemaName:t.schemaName}),jsx(iO,{pattern:t.pattern}),t.accessMode?jsx(G_,{children:t.accessMode}):null,t.isRequired?jsx(H_,{children:f(`required`,`required`)}):null,t.isDeprecated?jsx(W_,{children:f(`badges.deprecated`,`deprecated`)}):null,t.isAdditionalProperty?jsx(K_,{children:f(`additionalProperties`,`additional property`)}):null,t.isPatternProperty?jsx(K_,{children:f(`patternProperties`,`pattern property`)}):null,t.isCircular?jsx(q_,{children:f(`recursive`,`Recursive`)}):null,C.map(Tb)]}),!p&&jsx(ub,{value:t.description}),jsx(gb,{extensions:b}),t.externalDocs?.url&&jsx(pre,{href:t.externalDocs.url,target:`_blank`,rel:`noopener noreferrer`,children:$re(t.externalDocs.description)}),t.default===void 0?null:jsxs(Y_,{children:[jsxs(X_,{children:[f(`default`,`Default`),`:`]}),jsx(Q_,{children:t.default})]}),v?jsx(hb,{values:v,type:t.type}):y&&y.length>0?jsx(pb,{label:M_(t.type,y.length),values:y}):null,t.example===void 0?null:jsxs(Y_,{children:[jsxs(X_,{children:[f(`example`,`Example`),`:`]}),dp(t.example)?jsx(ev,{data:t.example,expandLevel:d,controls:!1}):jsx(eO,{value:t.example})]}),jsx(nO,{examples:t.examples}),t.const===void 0?null:jsxs(Y_,{children:[jsxs(X_,{children:[f(`value`,`Value`),`:`]}),jsx(Z_,{children:t.const})]}),x]})}_c();function oO(e){return e.split(/,\s*/).slice(1).filter(Boolean)}function sO({property:e,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}){let{schemasExpansionLevel:s}=I(ds),c=e.properties;if(!c||Object.keys(c).length===0)return jsx(Fragment$1,{});let l=n??uv(t,s,1),u=t<=1?oO(e.type):[],d=u.length>0,f=Object.entries(c).filter(([,e])=>!(i&&e.accessMode===`read-only`||a&&e.accessMode===`write-only`));return jsxs(F_,{children:[d&&jsx(dre,{children:u.map(e=>jsx(fre,{children:e},e))}),f.map(([e,n],s)=>jsx(aO,{name:e,property:n,level:t,expandByDefault:l,isFirst:!d&&s===0,fieldParentsName:t>1?r:ic(r),skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o},e))]})}_c();function cO({property:e,level:t,fieldParentsName:n,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a}){let{schemasExpansionLevel:o}=I(ds),s=e.items;if(!s||s.length===0)return jsx(V_,{children:`array`});let c=uv(t,o,1),l=n&&tc(n),u=t===1,d=s.some(e=>e.isTupleItem||e.isAdditionalItems),f=s[0];if(!d&&s.length===1&&f&&f.switcher){let e=jsx(ZO,{property:f,level:t+1,fieldParentsName:l,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a});return u?jsxs(nv,{children:[jsxs(rv,{children:[jsx(av,{children:`Array [`}),jsx(ov,{})]}),e,jsxs(iv,{className:`array-closing-label`,children:[jsx(ov,{}),jsx(av,{children:`]`})]})]}):e}if(!d&&s.length===1&&f&&f.properties){let e=jsx(sO,{property:f,level:t,fieldParentsName:l,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a});return u?jsxs(nv,{children:[jsxs(rv,{children:[jsx(av,{children:`Array [`}),jsx(ov,{})]}),e,jsxs(iv,{className:`array-closing-label`,children:[jsx(ov,{}),jsx(av,{children:`]`})]})]}):e}return d||s.length>1?jsx(F_,{children:s.map((e,o)=>jsx(aO,{name:e.isAdditionalItems?`[${o}...]`:`[${o}]`,property:e,level:t,expandByDefault:c,isFirst:o===0,fieldParentsName:n,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a},o))}):f&&!f.switcher&&!f.properties&&!u?jsx(F_,{children:jsx(aO,{name:`[i]`,property:f,level:t,expandByDefault:c,isFirst:!0,fieldParentsName:n,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a})}):jsxs(nv,{children:[jsxs(rv,{children:[jsx(av,{children:`Array [`}),jsx(ov,{})]}),s.map((e,n)=>jsx(ZO,{property:e,level:t+1,fieldParentsName:l,skipReadOnly:r,skipWriteOnly:i,onOneOfChange:a},n)),jsxs(iv,{className:`array-closing-label`,children:[jsx(ov,{}),jsx(av,{children:`]`})]})]})}Ds(),_c();function lO(e,t,n=[]){let r=Jh(),i=useContext(bc),a=Cc(),o=useContext(wc),s=n.join(`/`),c=rc(`${ng(o,s)||`path=${s}`}&${e}=`.toLowerCase());return useMemo(()=>{if(!r)return-1;if(i){let e=Ks(r);if(!(a?cc(e,a):e.startsWith(`path=`)))return-1}let e=rc(xs(r.slice(1)).toLowerCase()),n=e.indexOf(c),o=n===-1?null:e.slice(n+c.length).match(/^\d+/);if(!o)return-1;let s=Number(o[0]);return s<t?s:-1},[r,i,a,c,t])}Mu(),jo();function uO({options:e,onChange:t,value:n,className:r=``,size:i=`regular`},a){let{tabListProps:o,getTabProps:s}=aee({count:e.length,activeIndex:e.findIndex(e=>n==e.value),onChange:n=>t(e[n])});return jsx(fO,{ref:a,"data-component-name":`Segmented/Segmented`,className:`tag-grey ${i} ${r}`,...o,$size:i,children:e.map((e,t)=>{let{"aria-controls":r,...a}=s(t);return jsxs(React.Fragment,{children:[e.divider,jsx(pO,{...a,title:e.label,$isActive:n==e.value,$size:i,children:e.element||e.label},e.label)]},t)})})}var dO=ju(forwardRef(uO)),fO=styled.div`
  display: flex;
  background: var(--segmented-buttons-bg-color-main);
  padding: calc(var(--spacing-xxs) / 2);
  gap: calc(var(--spacing-xxs) / 2);
  border-radius: ${({$size:e})=>e===`small`?`var(--border-radius-md)`:`var(--border-radius-lg)`};
  max-width: 100%;
  width: fit-content;
`,pO=styled.button`
  ${({$size:e})=>e===`small`&&css`
      --segmented-font-size: var(--font-size-sm);
      --segmented-font-size-active: var(--font-size-sm);
      --segmented-line-height: var(--line-height-sm);
    `}

  ${({$isActive:e})=>e?css`
          font-size: var(--segmented-font-size-active);
          font-weight: var(--segmented-font-weight-active);
          background: var(--segmented-buttons-bg-color-inner);
          color: var(--segmented-text-color-active);
          cursor: default;
        `:css`
          font-size: var(--segmented-font-size);
          font-weight: var(--segmented-font-weight);
          color: var(--segmented-text-color);
          cursor: pointer;
        `}
  line-height: var(--segmented-line-height);
  border-radius: ${({$size:e})=>e===`small`?`var(--border-radius)`:`var(--border-radius-md)`};
  padding: ${({$size:e})=>e===`small`?0:`3px`} var(--spacing-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
`,mO=styled$1(e=>jsxs(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M10.5 9.75H9.375V9H10.5V3H9.375V2.25H10.5C10.6988 2.25023 10.8895 2.32932 11.0301 2.46992C11.1707 2.61052 11.2498 2.80116 11.25 3V9C11.2497 9.19883 11.1706 9.38944 11.03 9.53003C10.8894 9.67063 10.6988 9.74973 10.5 9.75Z`}),jsx(`path`,{d:`M8.625 6.75C9.03921 6.75 9.375 6.41421 9.375 6C9.375 5.58579 9.03921 5.25 8.625 5.25C8.21079 5.25 7.875 5.58579 7.875 6C7.875 6.41421 8.21079 6.75 8.625 6.75Z`}),jsx(`path`,{d:`M6 6.75C6.41421 6.75 6.75 6.41421 6.75 6C6.75 5.58579 6.41421 5.25 6 5.25C5.58579 5.25 5.25 5.58579 5.25 6C5.25 6.41421 5.58579 6.75 6 6.75Z`}),jsx(`path`,{d:`M3.375 6.75C3.78921 6.75 4.125 6.41421 4.125 6C4.125 5.58579 3.78921 5.25 3.375 5.25C2.96079 5.25 2.625 5.58579 2.625 6C2.625 6.41421 2.96079 6.75 3.375 6.75Z`}),jsx(`path`,{d:`M2.625 9.75H1.5C1.30116 9.74977 1.11052 9.67068 0.969922 9.53008C0.829319 9.38948 0.750228 9.19884 0.75 9V3C0.750199 2.80115 0.82928 2.6105 0.969889 2.46989C1.1105 2.32928 1.30115 2.2502 1.5 2.25H2.625V3H1.5V9H2.625V9.75Z`})]})).attrs({"data-component-name":`icons/DefaultMappingIcon/DefaultMappingIcon`})`
  path {
    fill: var(--color-warm-grey-11);
    html.dark & {
      fill: var(--text-color-secondary);
    }
  }
`;function hO({label:e}){let t=fb();return jsx(zg,{tip:t(`discriminator.defaultMappingTooltip`,`OpenAPI 3.2: defaultMapping used when other mappings don't match.`),placement:`bottom`,children:jsxs(gO,{children:[jsx(_O,{children:jsx(mO,{})}),jsx(vO,{children:t(`discriminator.defaultMapping`,e)})]})})}var gO=styled$1.div`
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
`,_O=styled$1.div`
  flex-shrink: 0;
  display: flex;
  align-items: center;
`,vO=styled$1.span`
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
`;F();var yO=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M6.5 12L2 7.49997L2.707 6.79297L6.5 10.5855L13.293 3.79297L14 4.49997L6.5 12Z`})})).attrs({"data-component-name":`icons/CheckmarkIcon/CheckmarkIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var bO=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M14.5 13.7931L10.724 10.017C11.6313 8.9277 12.0838 7.5305 11.9872 6.11608C11.8907 4.70165 11.2525 3.37891 10.2055 2.423C9.15857 1.4671 7.78336 0.951637 6.36602 0.983845C4.94867 1.01605 3.5983 1.59345 2.59582 2.59593C1.59335 3.5984 1.01595 4.94877 0.983738 6.36612C0.95153 7.78347 1.46699 9.15867 2.4229 10.2057C3.3788 11.2526 4.70155 11.8908 6.11597 11.9873C7.53039 12.0839 8.92759 11.6314 10.0169 10.7241L13.793 14.5001L14.5 13.7931ZM2.00001 6.50012C2.00001 5.6101 2.26393 4.74007 2.7584 4.00005C3.25286 3.26003 3.95567 2.68325 4.77794 2.34266C5.6002 2.00207 6.505 1.91295 7.37792 2.08658C8.25083 2.26022 9.05266 2.6888 9.68199 3.31814C10.3113 3.94747 10.7399 4.7493 10.9135 5.62221C11.0872 6.49513 10.9981 7.39993 10.6575 8.22219C10.3169 9.04446 9.7401 9.74726 9.00008 10.2417C8.26006 10.7362 7.39003 11.0001 6.50001 11.0001C5.30694 10.9988 4.16312 10.5243 3.31949 9.68064C2.47587 8.83701 2.00133 7.69319 2.00001 6.50012Z`})})).attrs({"data-component-name":`icons/SearchIcon/SearchIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;qf(),na();var xO=7;function SO({options:e,value:t,onChange:n,className:r,triggerVariant:i=`outlined`,triggerSize:a=`small`,fullWidth:o=!1}){let[s,c]=useState(``),l=fb(),u=e.find(e=>e.value===t),d=e.length>=xO,f=useMemo(()=>e.filter(e=>e.label?.toLowerCase().includes(s.toLowerCase())??!1),[e,s]);return e.length===1?jsx(FO,{children:u?.element||u?.label}):jsx(wO,{className:r,$fullWidth:o,portalled:!0,trigger:jsx(TO,{variant:i,size:a,type:`button`,$fullWidth:o,children:jsx(EO,{children:u?.element||u?.label})}),withArrow:!0,onClose:()=>c(``),children:jsx(DO,{$fullWidth:o,children:d?jsxs(Fragment$1,{children:[jsx(AO,{prefix:jsx(NO,{children:jsx(bO,{color:`var(--icon-color-additional)`,onClick:e=>e.stopPropagation()})}),content:jsx(PO,{placeholder:l(`discriminator.searchPlaceholder`,`Search items`),onClick:e=>e.stopPropagation(),onChange:e=>{c(e.target.value)},value:s})}),jsx(MO,{children:f.length?f.map((e,r)=>jsxs(React.Fragment,{children:[e.divider,jsx(kO,{active:e.value===t,onAction:()=>n(e),suffix:e.value===t?jsx(OO,{}):void 0,children:jsx(EO,{children:e.element||e.label})},String(e.label))]},r)):jsx(jO,{content:l(`discriminator.searchNoResults`,`No items found`)})})]}):jsx(Fragment$1,{children:e.map((e,r)=>jsxs(React.Fragment,{children:[e.divider,jsx(kO,{active:e.value===t,onAction:()=>n(e),suffix:e.value===t?jsx(OO,{}):void 0,children:jsx(EO,{children:e.element||e.label})},String(e.label))]},r))})})})}var CO=ju(SO),wO=styled$1(Xg)`
  ${({$fullWidth:e})=>e&&`
    > div {
      min-width: 100%;
      max-width: 100%;
    }
  `}
`,TO=styled$1(ta)`
  ${({$fullWidth:e})=>e&&`
    && {
      width: 100%;
      justify-content: space-between;
      background-color: var(--bg-color);
      padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
      color: var(--text-color-primary);

      &:hover {
        background-color: var(--bg-color);
      }

      &:focus {
        background-color: var(--bg-color);
      }
    }
  `}
`,EO=styled$1.span`
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
`,DO=styled$1(t_)`
  ${({$fullWidth:e})=>e&&`min-width: 100%;`}
`,OO=styled$1(yO)`
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
`,kO=styled$1($g)`
  --dropdown-menu-item-justify-content: space-between;

  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-xxs) var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,AO=styled$1(kO)`
  gap: 0;
  padding: var(--spacing-xxs) var(--spacing-xs);
  &:hover {
    background-color: transparent;
  }
`,jO=styled$1(kO)`
  height: 66px;
  justify-content: center;
  &:hover,
  &:focus-visible {
    background-color: transparent;
  }
`,MO=styled$1.div`
  overflow-y: auto;
  max-height: 300px;
  padding: calc(var(--spacing-unit) / 2);
  margin: calc(var(--spacing-unit) / -2);
`,NO=styled$1.div`
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
`,PO=styled$1.input`
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-color-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-base);
  padding: 0;
  margin-left: var(--spacing-xxs);
  min-width: 100px;
  &::placeholder {
    color: var(--search-trigger-color);
  }
`,FO=styled$1.span`
  margin-right: var(--spacing-unit);
  cursor: default;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-color-primary);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
`;qf(),Ds();var IO=`Default mapping`;function LO(e,t){return t.isDeprecated?`${ys(e)} (deprecated)`:e}function RO(e,t){let n=e.length;return e.map(([e,r],i)=>r.isDefaultMapping?{label:t,value:i,element:jsx(hO,{label:t}),...n>1?{divider:jsx(Dre,{})}:{}}:{label:LO(e,r),value:i})}var zO=5;function BO({optionEntries:e,activeIndex:t,onChange:n,"data-testid":r=`segmented-schema`}){let i=fb()(`discriminator.defaultMapping`,IO),a=useMemo(()=>RO(e,i),[e,i]),o=useMemo(()=>e.map(([e,t])=>`${e}|${t.isDefaultMapping?`default`:`regular`}|${t.isDeprecated?`deprecated`:`active`}`).join(`||`),[e]),s=a[t]?.value,[c,l]=useState(!1),u=useRef(null);useEffect(()=>{l(!1)},[o]),useEffect(()=>{if(e.length>zO){l(!1);return}if(!u.current)return;let t=()=>{let e=u.current?.querySelectorAll(`button[role="tab"]`),t=Array.from(e??[]).some(e=>{let t=e;return t.offsetWidth<t.scrollWidth});l(e=>t===e?e:t)};return t(),window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t)},[c,e.length,o]);let d=useCallback(e=>{e.value!==void 0&&n(e.value)},[n]);return Pe(s)?null:a.length>zO||c?jsx(CO,{options:a,value:s,onChange:d}):jsx(dO,{ref:u,value:s,onChange:d,options:a,size:`small`,"data-testid":r})}pp(),_c(),eu();function VO({fieldName:e,property:t,isFirst:n,mappingKeys:r,optionEntries:i,activeIdx:a,fieldParentsName:o=[],onSelect:s}){let{hidePropertiesPrefix:c,jsonSamplesExpandLevel:l}=I(ds),u=fb(),{enumDescriptions:d,enumValues:f}=N_(t,r),p=M_(t.type,f.length),m=t.const!==void 0&&t.const!==``,h=rg([...o,e].join(`/`)),{before:g,after:_}=kb(t.badges);return jsxs(I_,{$isFirst:n,id:$s(h),children:[jsxs(L_,{children:[jsxs(R_,{children:[h&&jsx(vb,{to:h,label:`link to ${e}`,variant:`field`}),!c&&o.map((e,t)=>{let n=nc(e);return n?jsxs(z_,{children:[n,`.`,`​`]},t):null}),g.map(Tb),jsx(B_,{className:`schema-name`,children:e})]}),jsx(V_,{children:t.type}),jsx(Ab,{title:t.title,schemaName:t.schemaName}),t.isRequired?jsx(H_,{children:u(`required`,`required`)}):null,_.map(Tb)]}),jsx(ub,{value:t.description}),t.default===void 0?null:jsxs(Y_,{children:[jsxs(X_,{children:[u(`default`,`Default`),`:`]}),jsx(Q_,{children:t.default})]}),d?jsx(hb,{values:d}):f.length>0?jsx(pb,{label:p,values:f}):null,t.example===void 0?null:jsxs(Y_,{children:[jsxs(X_,{children:[u(`example`,`Example`),`:`]}),dp(t.example)?jsx(ev,{data:t.example,expandLevel:l,controls:!1}):jsx($_,{children:t.example})]}),jsx(iO,{pattern:t.pattern}),jsxs(cv,{[Xl]:`switcher`,children:[jsx(lv,{children:u(`discriminator`,`Discriminator`)}),jsx(BO,{optionEntries:i,activeIndex:a,onChange:s,"data-testid":`discriminator-schema`})]}),m?jsxs(Y_,{children:[jsxs(X_,{children:[u(`value`,`Value`),`:`]}),jsx(Z_,{children:t.const})]}):null]})}eu(),_c();function HO(e,t){return{...Object.fromEntries(Object.entries(e).filter(([e])=>!(e in t))),...t}}function UO(e,{sharesOnlyDiscriminator:t,propertyName:n}){if(!t)return e;let r=n===void 0?void 0:e[n];return n&&r?{[n]:r}:{}}function WO({property:e,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}){let s=e.switcher;return s?s.type===`oneOf`?jsx(GO,{property:e,switcher:s,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):jsx(KO,{property:e,switcher:s,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):jsx(Fragment$1,{})}function GO({property:e,switcher:t,level:n,expandByDefault:r,fieldParentsName:i,skipReadOnly:a,skipWriteOnly:o,onOneOfChange:s}){let c=useContext(bc),l=rp(c??``,useContext(wc)),u=I(useMemo(()=>op(l),[l])),d=Qo(tp(l)),f=useMemo(()=>Object.entries(t.options),[t.options]),p=ip(i,t.label),m=zh(),h=lO(`oneof`,f.length,i),g=u[p],_=g===void 0?h===-1?0:h:g;useEffect(()=>{c&&h!==-1&&d(e=>({activeOneOf:{...e.activeOneOf,[p]:h}}))},[c,h,p,d,m]);let v=useCallback(e=>{c&&d(t=>({activeOneOf:{...t.activeOneOf,[p]:e}})),t.jsonPointer!==void 0&&s?.({pointer:t.jsonPointer,index:e})},[c,s,p,d,t.jsonPointer]),y=f[_]??f[0],b=y?.[1],x=b&&(b.properties||b.switcher||b.items)?{...e,type:qO(e,b),description:b.description,switcher:b.switcher,properties:b.properties,items:b.items}:null,S=useMemo(()=>ec(i,`&oneof=${_}`),[i,_]),C=!!(x?.properties||x?.items||x?.switcher?.type===`discriminator`)&&n>1,w=x!==null&&jsx(ZO,{property:x,level:n,expandByDefault:r,fieldParentsName:S,skipReadOnly:a,skipWriteOnly:o,onOneOfChange:s}),T=useMemo(()=>S.join(`/`),[S]),E=x!==null&&C?jsx(ZD,{level:n-1,expandByDefault:r,skipReadOnly:a,skipWriteOnly:o,property:x,fieldPath:T,children:w}):w;return jsxs(Tre,{children:[jsxs(cv,{[Xl]:`switcher`,children:[jsx(lv,{children:t.label}),jsx(BO,{optionEntries:f,activeIndex:_,onChange:v,"data-testid":`one-of-schema`})]}),jsx(ub,{value:b?.description||e.description}),x?E:y?.[1]?jsx(JO,{option:y[1],label:y[0]}):null]})}function KO({property:e,switcher:t,level:n,expandByDefault:r,fieldParentsName:i=[],skipReadOnly:a,skipWriteOnly:o,onOneOfChange:s}){let c=useContext(bc),l=rp(c??``,useContext(wc)),u=I(useMemo(()=>ap(l),[l])),d=Qo(tp(l)),f=useMemo(()=>Object.entries(t.options),[t.options]),p=ip(i,i?.length?t.propertyName??`discriminator`:t.propertyName??t.label),m=zh(),h=lO(`d`,f.length,i),g=u[p],_=g===void 0?h===-1?0:h:g;useEffect(()=>{c&&h!==-1&&d(e=>({activeDiscriminator:{...e.activeDiscriminator,[p]:h}}))},[c,h,p,d,m]);let v=useCallback(e=>{c&&d(t=>({activeDiscriminator:{...t.activeDiscriminator,[p]:e}})),t.jsonPointer!==void 0&&s?.({pointer:t.jsonPointer,index:e})},[c,s,p,d,t.jsonPointer]),y=(f[_]??f[0])?.[1]?.properties??{},b=HO(UO(e.properties??{},t),y),{schemasExpansionLevel:x}=I(ds),S=r??uv(n,x,1),C=useMemo(()=>ec(i,`&d=${_}`),[i,_]),w=Object.entries(b).filter(([,e])=>!(a&&e.accessMode===`read-only`||o&&e.accessMode===`write-only`));return jsx(F_,{children:w.map(([e,r],c)=>{if(e===t.propertyName){let t=f.map(([e])=>e);return jsx(VO,{fieldName:e,fieldParentsName:i,property:r,isFirst:c===0,mappingKeys:t,optionEntries:f,activeIdx:_,onSelect:v},e)}return jsx(aO,{name:e,property:r,level:n,expandByDefault:S,isFirst:c===0,fieldParentsName:n>1?C:ic(C),skipReadOnly:a,skipWriteOnly:o,onOneOfChange:s},e)})})}function qO(e,t){return t.properties&&Object.keys(t.properties).length>0?`object`:t.items&&t.items.length>0?`array`:e.type}function JO({option:e,label:t}){let n=e.typeLabel??t,r=e.title||(t===n?void 0:t),i=e.enum,a=i&&!Array.isArray(i)?i:void 0,o=i&&Array.isArray(i)?i:void 0;return jsxs(Ere,{children:[e.constraints&&e.constraints.length>0&&jsx(L_,{children:e.constraints.map(e=>jsx(V_,{children:e},e))}),jsxs(L_,{children:[jsx(V_,{children:n}),jsx(Ab,{title:r,schemaName:e.schemaName}),e.accessMode?jsx(G_,{children:e.accessMode}):null]}),a?jsx(hb,{values:a,type:n}):o&&o.length>0?jsx(pb,{label:M_(n,o.length),values:o}):null]})}function YO({property:e}){let t=e.enum,n=t&&!Array.isArray(t)?t:void 0,r=t&&Array.isArray(t)?t:void 0,{before:i,after:a}=kb(e.badges);return jsxs(sv,{children:[jsxs(L_,{children:[i.map(Tb),jsx(V_,{children:e.type}),jsx(Ab,{title:e.title,schemaName:e.schemaName}),e.accessMode?jsx(G_,{children:e.accessMode}):null,e.isDeprecated?jsx(W_,{children:`deprecated`}):null,jsx(iO,{pattern:e.pattern}),a.map(Tb)]}),jsx(ub,{value:e.description}),n?jsx(hb,{values:n}):r&&r.length>0?jsx(pb,{label:`Enum:`,values:r}):null]})}function XO({property:e,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}){return e.isCircular?jsxs(L_,{children:[jsx(V_,{children:e.type}),jsx(Ab,{title:e.title,schemaName:e.schemaName}),jsx(q_,{children:`Recursive`})]}):e.switcher?jsx(WO,{property:e,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):e.properties?jsx(sO,{property:e,level:t,expandByDefault:n,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):e.items&&e.items.length>0?jsx(cO,{property:e,level:t,fieldParentsName:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):jsx(YO,{property:e})}var ZO=memo(XO);
/*!
* json-crawl v0.5.3
* Copyright (C) 2012-2024 Damir Yusipov
* Date: Sat, 06 Jan 2024 08:16:05 GMT
*/
function QO(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var $O,ek,tk,nk,rk,ik,ak,ok=o((()=>{$O=(e={},t,n,r)=>{let i=`/${t}`,a=typeof e[`/**`]==`function`?e[`/**`]({key:t,path:n,value:r}):e[`/**`],o=typeof e[`/*`]==`function`?e[`/*`]({key:t,path:n,value:r}):e[`/*`],s={};if(i in e)s=e[i];else if(!a&&!o)return;return s=typeof s==`function`?s({key:t,path:n,value:r}):s,o&&(s=Object.assign(Object.assign({},o),s)),a?Object.assign(Object.assign({"/**":e[`/**`]},a),s):s},ek=e=>{let t={},n=e.reduce(((e,t)=>(Object.keys(t).forEach((t=>e.add(t))),e)),new Set);for(let r of n.keys()){let n=e.filter((e=>r in e));if(n.length!==1){if(r.charAt(0)!==`/`)throw Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`);t[r]=(e,t)=>{let i=n.map((n=>typeof n[r]==`function`?n[r](e,t):n[r]));return ek(i)}}else t[r]=n[0][r]}return t},tk=e=>typeof e==`object`&&!!e,nk=e=>Array.isArray(e),rk=(e,t,n={})=>{t=nk(t)?t:[t];let r=nk(n.rules)?ek(n.rules):n.rules,i=[{data:e,state:n.state,path:[],keys:[],keyIndex:-1,rules:r}];for(;i.length>0;){let e=i[i.length-1];if(e.keyIndex>=e.keys.length){for(;e.hooks?.length;)e.hooks.pop()();i.pop();continue}let n=e.keys[e.keyIndex++],[a,o,s]=i.length>1?[e.data[n],[...e.path,n],$O(e.rules,n,[...e.path,n],e.data[n])]:[e.data,e.path,r],c={value:a,path:o,key:n,state:e.state,rules:s},l=[];for(let e of t){if(!e||typeof e!=`function`)continue;let t=e(c)??{},{terminate:n,done:r,exitHook:i}=t,a=QO(t,[`terminate`,`done`,`exitHook`]);if(n)return;if(i&&l.push(i),c=Object.assign(Object.assign({},c),a),r){c=null;break}}if(c&&tk(c.value)){let e=nk(c.value)?[...c.value.keys()]:Object.keys(c.value);i.push({hooks:l,state:c.state,data:c.value,path:o,keys:e,keyIndex:0,rules:c.rules})}else for(;l.length;)l.pop()()}},ik=()=>{let e=new WeakMap,t;return[({value:e})=>{t=e},({value:n,path:r,key:i,state:a})=>{if(i=r.length?i:`#`,tk(t)&&tk(n)){if(e.has(t))return a.node[i]=e.get(t),{done:!0};let r=Array.isArray(n)?[]:{};a.node[i]=r,e.set(t,r)}else a.node[i]=n;return{value:n,state:Object.assign(Object.assign({},a),{node:a.node[i]})}}]},ak=(e,t=[],n={})=>{t=Array.isArray(t)?t:[t];let r={"#":void 0},i=Object.assign({state:Object.assign(Object.assign({},n.state??{}),{root:r,node:r})},n.rules?{rules:n.rules}:{}),[a,o]=ik();return rk(e,[a,...t,o],i),r[`#`]}}));function sk(e){let t=e.reduce((e,t)=>Math.max(e,Sk(t)),0);return e.reduce((e,n)=>Math.round(e*t*n*t/ck(e*t,n*t))/t)}function ck(e,t){return t===0?e:ck(t,e%t)}var lk,uk,dk,fk,pk,mk,hk,gk,_k,vk,yk,bk,xk,Sk,Ck,wk=o((()=>{ok(),lk=class extends Map{add(e,t){let n=this.get(e);return n?n.push(t):this.set(e,[t]),this}},uk=(e,t)=>{let n={};for(let r of t)r in e&&(n[r]=e[r],delete e[r]);return n},dk=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if(tk(e)&&tk(t)){let n=Object.assign({},e);for(let e of Object.keys(t))n[e]=dk(n[e],t[e]);return n}return t},fk=e=>e&&e.$ref&&typeof e.$ref==`string`,pk=e=>e&&e.anyOf&&Array.isArray(e.anyOf),mk=e=>e&&e.oneOf&&Array.isArray(e.oneOf),hk=(e,t=``)=>{let[n=t,r]=e.split(`#`),i=!r||r===`/`?``:r;return{filePath:n,pointer:i,normalized:gk(n,i),jsonPath:yk(i)}},gk=(e,t)=>e?`${e}${t?`#`+t:``}`:t?`#${t}`:`#`,_k=(e,t,n=[t])=>{if(!tk(e))return;let r=e,i=yk(t);for(let t of i)if(Array.isArray(r)&&r.length>+t)r=r[+t];else if(tk(r)&&t in r)r=r[t];else if(fk(r)){let t=hk(r.$ref);r=!t.filePath&&!n.includes(t.pointer)?_k(e,t.pointer,[...n,t.pointer]):void 0}else return;return r},vk={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},yk=e=>e.split(`/`).map(e=>decodeURIComponent(e.replace(vk.escapedSlash,`/`).replace(vk.escapedTilde,`~`))).slice(1),bk=e=>e.length?`/`+e.map(e=>encodeURIComponent(String(e).replace(vk.tilde,`~0`).replace(vk.slash,`~1`))).join(`/`):``,xk=(e,t)=>JSON.stringify(e)==JSON.stringify(t),Sk=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t},Ck=e=>{if(e.length===0)return[[]];let t=e[0],n=e.slice(1),r=Ck(n),i=[];for(let e of t)for(let t of r)i.push([e,...t]);return i}})),Tk,Ek,Dk,Ok,kk=o((()=>{Pk(),wk(),Tk=(e,t)=>{let n=t?.applyAdditionalPropertiesToSiblings??!0,r=[];for(let t of e){if(!(`properties`in t))continue;let i=new Set(Object.keys(t.properties)),a=new lk;if(n){for(let n of i.values())for(let r of e)if(!(r==t||r.properties&&n in r.properties)){if(`patternProperties`in r&&r.patternProperties)for(let e of Object.keys(r.patternProperties))new RegExp(e).test(n)||i.delete(n);else`additionalProperties`in r&&(r.additionalProperties===!1?i.delete(n):typeof r.additionalProperties==`object`&&a.add(n,r.additionalProperties))}}if(!i.size)continue;let o={};for(let e of i.values())if(a.has(e)){let n=a.get(e)??[];o[e]={allOf:[t.properties[e],...n]}}else o[e]=t.properties[e];r.push(o)}return r},Ek=e=>{let t=[];for(let n of e){if(!(`patternProperties`in n))continue;let r=new Set(Object.keys(n.patternProperties));for(let t of e)if(t!=n&&`additionalProperties`in t&&!t.additionalProperties)for(let e of r.values())t.patternProperties&&e in t.patternProperties||r.delete(e);if(!r.size)continue;let i={};for(let e of r.values())i[e]=n.patternProperties[e];t.push(i)}return t},Dk=e=>{let t={},n=Mk(e);for(let[e,r]of Object.entries(n))t[e]=r.includes(!1)?!1:r.length>1?{allOf:r}:r[0];return t},Ok=(e,t)=>e.reduce((e,t)=>e&&t===!0,!0)?!0:Nk(e,t)})),Ak,jk=o((()=>{Ak={mergeError:()=>`Could not merge values, they are probably incompatible`,ruleNotFound:e=>`Merge rule not found for key: ${e}`}})),Mk,Nk,Pk=o((()=>{kk(),jk(),Mk=e=>{let t={};for(let n of e)for(let e of Object.keys(n))Array.isArray(t[e])?t[e].push(n[e]):t[e]=[n[e]];return t},Nk=(e,t)=>{if(e.includes(!1))return!1;let n={},r=Mk(e);`properties`in r&&(r.properties=Tk(e,t.mergeOptions)),`patternProperties`in r&&(r.patternProperties=Ek(e));for(let[i,a]of Object.entries(r)){if(!a.length)continue;let r=t.mergeRules,o=`/${i}`in r?r[`/${i}`]:r[`/?`];o=o&&!(`$`in o)&&`/`in o?o[`/`]:o,o=typeof o==`function`?o():o;let s=o&&`$`in o?o.$:void 0;if(!s)throw Error(Ak.ruleNotFound(i));let c=a.length>1?s(a,Object.assign(Object.assign({},t),{allOfItems:e})):a[0];c===void 0?t.mergeError(a):n[i]=c}return Object.keys(n).length?n:void 0}})),Fk,Ik,Lk,Rk,zk,Bk,Vk,Hk,Uk,Wk,Gk,Kk,qk,Jk,Yk,Xk=o((()=>{wk(),Pk(),Fk=e=>e[e.length-1],Ik=e=>e.reduce((e,t)=>e||t,!1),Lk=e=>Math.min(...e),Rk=e=>Math.max(...e),zk=e=>e.length>1?e.reduce((e,t)=>`${e}(?=${t})`,``):e[0],Bk=([e,...t])=>t.reduce((e,t)=>e.filter(e=>t.includes(e)),e),Vk=([e,...t])=>t.find(t=>!xk(t,e))?void 0:e,Hk=([e,...t])=>t.reduce((e,t)=>dk(e,t),e),Uk=e=>Ck(e).map(e=>({allOf:e})),Wk=e=>({anyOf:e}),Gk=e=>sk(e),Kk=(e,t)=>{let n=e.map(e=>e.map(e=>JSON.stringify(e))),r=Bk(n,t).map(e=>JSON.parse(e)).sort();if(!r.length){t.mergeError(e);let n=new Set,r=[];for(let t=e.length-1;t>=0;t--)for(let i of e[t]){let e=JSON.stringify(i);n.has(e)||(n.add(e),r.push(i))}return r}return r},qk=(e,t)=>{let n=e.map(e=>Array.isArray(e)?e:[e]),r=Bk(n,t);return r.length?r.length===1?r[0]:r:(t.mergeError(e),e[e.length-1])},Jk=e=>{let t=new Set;for(let n of e)for(let e of n)t.add(e);return Array.from(t).sort()},Yk=(e,t)=>{let n={},r=Mk(e);for(let[e,i]of Object.entries(r))if(i.reduce((e,t)=>e&&Array.isArray(t),!0))n[e]=Jk(i,t);else{let t=i.map(e=>Array.isArray(e)?{required:e}:e);n[e]=t.length>1?{allOf:t}:t[0]}return n}})),Zk,Qk,$k=o((()=>{Pk(),wk(),Zk=(e,t)=>{if(!e.reduce((e,t)=>Array.isArray(t)||e,!1))return Nk(e,t);let n=[],r=1/0,i=0,a=new lk;for(let e of t.allOfItems)`additionalItems`in e&&e.additionalItems&&`items`in e&&Array.isArray(e.items)&&a.add(e.items.length,e.additionalItems),`items`in e&&(n.push(e.items),Array.isArray(e.items)&&(i=Math.max(i,e.items.length),`additionalItems`in e&&e.additionalItems===!1&&(r=Math.min(r,e.items.length))));let o=Math.min(i,r),s=[...Array(o)].map(()=>({allOf:[]}));for(let e of n){if(!Array.isArray(e)){s.forEach(({allOf:t})=>t.push(e));continue}for(let t=0;t<o;t++){let n=[];for(let e=0;e<=t;e++)if(a.has(e)){let t=a.get(e);t&&n.push(...t)}t<e.length?s[t].allOf.push(n.length?Object.assign(Object.assign({},e[t]),{allOf:n}):e[t]):s[t].allOf.push(!n.length||{allOf:n})}}return s},Qk=(e,t)=>{let n=[],r=[];for(let e of t.allOfItems)`items`in e&&!Array.isArray(e.items)&&r.push(e.items),`additionalItems`in e&&`items`in e&&Array.isArray(e.items)&&n.push(e.additionalItems);return r.length&&n.forEach(e=>e.allOf=r),Nk(n,t)}})),eA=o((()=>{Xk(),kk(),$k(),Pk()})),tA,nA=o((()=>{eA(),tA=(e=`draft-06`,t={})=>Object.assign(Object.assign(Object.assign(Object.assign({"/maximum":{$:Lk},"/exclusiveMaximum":{$:Ik},"/minimum":{$:Rk},"/exclusiveMinimum":{$:Ik},"/maxLength":{$:Lk},"/minLength":{$:Rk},"/maxItems":{$:Lk},"/minItems":{$:Rk},"/uniqueItems":{$:Ik},"/maxProperties":{$:Lk},"/minProperties":{$:Rk},"/required":{$:Jk},"/multipleOf":{$:Gk},"/enum":{$:Kk},"/type":{$:qk},"/allOf":{"/*":()=>tA(e,t),$:Uk},"/not":{$:Wk},"/oneOf":{"/*":()=>tA(e,t),$:Uk,sibling:[`definitions`,`$defs`,`$id`,`$schema`]},"/anyOf":{"/*":()=>tA(e,t),$:Uk,sibling:[`definitions`,`$defs`,`$id`,`$schema`]},"/properties":{"/*":()=>tA(e,t),$:Dk},"/items":()=>Object.assign(Object.assign({},tA(e,t)),{$:Zk,"/*":({key:n})=>typeof n==`number`?tA(e,t):{}}),"/additionalProperties":()=>Object.assign(Object.assign({},tA(e,t)),{$:Ok}),"/additionalItems":()=>Object.assign(Object.assign({},tA(e,t)),{$:Qk}),"/patternProperties":{"/*":()=>tA(e,t),$:Dk},"/pattern":{$:zk},"/readOnly":{$:Ik},"/writeOnly":{$:Ik},"/example":{$:Hk},"/examples":{$:Hk},"/deprecated":{$:Ik}},e===`draft-04`?{}:{"/propertyNames":()=>tA(e,t),"/contains":()=>tA(e,t),"/dependencies":{"/*":()=>tA(e,t),$:Yk},"/const":{$:Vk},"/exclusiveMaximum":{$:Lk},"/exclusiveMinimum":{$:Rk},"/$defs":{"/*":()=>tA(e,t),$:Hk}}),{"/definitions":{"/*":()=>tA(e,t),$:Hk},"/xml":{$:Hk},"/externalDocs":{$:Fk},"/description":{$:Fk},"/title":{$:Fk},"/format":{$:Fk},"/default":{$:Fk},"/?":{$:Fk}}),t),{$:Nk})})),rA,iA,aA,oA,sA,cA,nae=o((()=>{nA(),eA(),rA=e=>tA(e,{"/discriminator":{$:Hk},"/oneOf":{"/*":()=>rA(e),$:Uk,sibling:[`discriminator`,`x-original-ref`,`properties`,`required`,`type`,`title`,`description`]},"/anyOf":{"/*":()=>rA(e),$:Uk,sibling:[`discriminator`,`x-original-ref`,`properties`,`required`,`type`,`title`,`description`]}}),iA=e=>e===`3.0.x`?Object.assign(Object.assign({},rA(`draft-04`)),{"/items":()=>Object.assign(Object.assign({},rA(`draft-04`)),{$:Zk})}):rA(`draft-06`),aA=e=>({"/*":{"/schema":iA(e)}}),oA=e=>({"/content":{"/*":{"/schema":iA(e),"/encoding":{"/headers":aA(e)}}}}),sA=e=>({"/*":{"/headers":aA(e),"/content":{"/*":{"/schema":iA(e),"/encoding":{"/headers":aA(e)}}}}}),cA=(e=`3.0.x`)=>({"/paths":{"/*":{"/*":{"/parameters":aA(e),"/requestBody":oA(e),"/responses":sA(e)},"/parameters":aA(e)}},"/components":{"/schemas":{"/*":iA(e)},"/responses":sA(e),"/parameters":aA(e),"/requestBodies":{"/*":oA(e)},"/headers":aA(e)}})})),lA,uA,rae=o((()=>{nA(),eA(),lA=tA(`draft-06`,{"/args":()=>lA,"/nullable":{$:Ik},"/specifiedByURL":{$:Fk},"/values":{$:Hk,"/*":{$:Hk,"/description":{$:Fk},"/deprecated":{$:Fk,"/reason":{$:Fk}}}},"/interfaces":{$:Hk,"/*":{$:Hk}},"/directives":{$:Hk,"/*":()=>Object.assign(Object.assign({},lA),{"/meta":{$:Hk}})}}),uA={"/queries":{"/*":()=>lA},"/mutations":{"/*":()=>lA},"/subscriptions":{"/*":()=>lA},"/components":{"/*":{"/*":lA},"/directives":{"/*":{"/args":()=>lA}}}}})),dA=o((()=>{nA(),nae(),rae()})),fA,pA,iae=o((()=>{wk(),fA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},pA=(e,t,n)=>{let r=n.sibling||[],i=e,a=t,o=i[a],s=fA(i,[typeof a==`symbol`?a:a+``]),c=uk(s,r);return Object.keys(s).length?Object.assign({[t]:o.map(e=>({allOf:[s,e]}))},c):e}})),mA,hA,gA,aae=o((()=>{ok(),wk(),mA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},hA=(e,t,n,r)=>{let i=[],a=bk(t),o=[],s={pointer:a,data:``,refs:[]};for(let t of e)if(fk(t)&&!o.includes(t.$ref)){s.data===``&&(s.data=JSON.stringify(e));let{$ref:c}=t,l=mA(t,[`$ref`]),{filePath:u,normalized:d,pointer:f}=hk(c);if(a===f)continue;let p=r.find(e=>e.refs.includes(t.$ref)&&e.data===s.data&&f!==e.pointer);if(p)return{allOfItems:[{$ref:`#${p.pointer}`}],brokenRefs:o};if(!s.refs.includes(d)){s.refs.push(d);let e=u?void 0:_k(n,f);e===void 0?(o.push(d),i.push(t)):i.push(e)}Object.keys(l).length&&i.push(l)}else i.push(t);s.refs.length&&r.push(s);let c=gA(i);return c.find(e=>fk(e)&&!o.includes(e.$ref))?hA(c,t,n,r):{allOfItems:c,brokenRefs:o}},gA=e=>{let t=[];for(let n of e)if(tk(n)){if(!n.allOf||!Array.isArray(n.allOf))t.push(n);else{let{allOf:e}=n,r=mA(n,[`allOf`]),i=Object.keys(r).length?[...e,r]:e;t.push(...gA(i))}}return t}})),_A,vA,yA,bA,xA,SA,oae=o((()=>{ok(),dA(),wk(),iae(),eA(),aae(),jk(),_A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},vA=e=>{if(typeof e!=`object`||!e)return tA();if(`openapi`in e&&typeof e.openapi==`string`&&/3.+/.test(e.openapi)){let t=e.openapi.startsWith(`3.1`)?`3.1.x`:`3.0.x`;return cA(t)}return`graphapi`in e&&typeof e.graphapi==`string`?uA:tA()},yA=(e,t)=>{let n=t?.rules??vA(e);return ak(e,xA(t),{rules:n})},bA=e=>!!e&&e[`/allOf`]&&`$`in e[`/allOf`],xA=e=>{let t=new Map,n=e?.source,r=[];return({value:i,key:a,path:o,rules:s,state:c})=>{var l;!o.length&&!e?.source&&(n=i);let u=n=>{var r;let i=SA(o);i?t.set(...i):(r=e?.onMergeError)==null||r.call(e,Ak.mergeError(),o,n)},d=()=>{let{node:e}=c,n=bk(o);if(t.has(n)){let r=t.get(n);if(r===void 0)return;let o=e[a];Array.isArray(o)&&(o.length<2&&u(i?.allOf||[]),o.splice(r,1))}};if(!tk(i)||Array.isArray(i)||!bA(s))return{exitHook:d};let{allOf:f}=i,p=_A(i,[`allOf`]),m=[];if(Array.isArray(f)&&m.push(...f),m.length)Object.keys(p).length&&m.push(p);else{let{$ref:t}=p,n=_A(p,[`$ref`]);if(e?.mergeRefSibling&&t&&Object.keys(n).length>0)m.push({$ref:t},n);else if(e?.mergeCombinarySibling){if(pk(p)&&s[`/anyOf`])return{value:pA(p,`anyOf`,s[`/anyOf`]),exitHook:d};if(mk(p)&&s[`/oneOf`])return{value:pA(p,`oneOf`,s[`/oneOf`]),exitHook:d}}}if(!m.length)return{value:p,exitHook:d};let{allOfItems:h,brokenRefs:g}=hA(m,o,n,r);if(g.length){for(let t of g)(l=e?.onRefResolveError)==null||l.call(e,`Cannot resolve $ref`,o,t);return{value:{allOf:h},exitHook:d}}if(h.length<2){let t=h.length?h[0]:{};return e?.mergeCombinarySibling&&mk(t)?{value:pA(t,`oneOf`,s[`/oneOf`]),exitHook:d}:e?.mergeCombinarySibling&&pk(t)?{value:pA(t,`anyOf`,s[`/anyOf`]),exitHook:d}:{value:t,exitHook:d}}let _=Nk(h,{allOfItems:h,mergeRules:s,mergeError:u,mergeOptions:e});if(o.length===0&&_){if(!(`title`in p)&&`title`in _){let e=m.find(e=>`title`in e)?.title;e!==void 0&&(_.title=e)}if(!(`type`in p)&&`type`in _){let e=m.filter(e=>e&&typeof e==`object`&&`type`in e).map(e=>e.type);e.length>1&&e.map(e=>Array.isArray(e)?e:[e]).reduce((e,t)=>e.filter(e=>t.includes(e))).length===0&&(_.type=e[0])}}if(_&&!(`description`in p)&&`description`in _){let e=m.find(e=>e&&typeof e==`object`&&`description`in e)?.description;e!==void 0&&(_.description=e)}if(e?.mergeCombinarySibling&&pk(_)){let e=Object.keys(p),t=o.length===0?[...e,`type`]:e,n=s[`/anyOf`],r=t.length?Object.assign(Object.assign({},n),{sibling:[...n?.sibling||[],...t]}):n;return{value:pA(_,`anyOf`,r),exitHook:d}}if(e?.mergeCombinarySibling&&mk(_)){let e=Object.keys(p),t=o.length===0?[...e,`type`]:e,n=s[`/oneOf`],r=t.length?Object.assign(Object.assign({},n),{sibling:[...n?.sibling||[],...t]}):n;return{value:pA(_,`oneOf`,r),exitHook:d}}return{value:_,exitHook:d}}},SA=e=>{for(let t=e.length-2;t>=0;t--)if(e[t]===`anyOf`||e[t]===`oneOf`){let n=e.slice(0,t+1);return[bk(n),e[t+1]]}}})),sae=o((()=>{})),cae=o((()=>{oae(),eA(),dA(),sae(),wk()}));function lae(e,t,n){return`${Rp(t)?`${e}:d`:e}#rec|${[...n].sort().join(`|`)}`}function uae(e){let t=e.match(KA);if(t)return t[2].replace(/~1/g,`/`).replace(/~0/g,`~`)}function CA(e,t,n={},r){let i=zp(e,{...n,exampleSerializer:t.exampleSerializer});if(!i.title){let e=uae(r);e&&(i.title=e)}if(i.isCircular||i.isComplex)return i;let a=e[`x-original-ref`];if(a&&t.activeRefs.has(a))return i.isCircular=!0,i;if(t.activeRefs.size>WA||t.depth>GA)return i.isComplex=!0,i;let o=a!==void 0&&t.recursiveRefs.has(a)?lae(a,e,t.activeRefs):void 0,s=o?t.propertyRefCache.get(o):void 0;if(s)return dae(s,i);let c=new Set(t.activeRefs);a&&c.add(a);let l={...t,activeRefs:c,depth:t.depth+1},u=wA(i,()=>{pae(i,e,l,r),i.isExpandable=fae(i)});return o&&t.propertyRefCache.set(o,u),u}function wA(e,t){let n=!0,r=e=>{n&&(e===void 0||qA.has(e))&&(n=!1,t())},i=new Proxy(e,{get(e,t,n){return r(t),Reflect.get(e,t,n)},has(e,t){return r(t),Reflect.has(e,t)},set(e,t,n,i){return r(t),Reflect.set(e,t,n,i)},deleteProperty(e,t){return r(t),Reflect.deleteProperty(e,t)},getOwnPropertyDescriptor(e,t){return r(t),Reflect.getOwnPropertyDescriptor(e,t)},ownKeys(e){return r(),Reflect.ownKeys(e)}});return JA.set(i,{target:e,ensureBuilt:()=>r()}),i}function dae(e,t){let n=JA.get(e);if(!n)return{...e,...t};let{isRequired:r,isAdditionalProperty:i,isPatternProperty:a,...o}=n.target,s={...o,...t};return wA(s,()=>{n.ensureBuilt();for(let e of qA)Object.hasOwn(t,e)||(Object.hasOwn(n.target,e)?Reflect.set(s,e,Reflect.get(n.target,e)):Reflect.deleteProperty(s,e))})}function fae(e){if(e.isCircular)return!1;let t=e=>!e.isCircular&&(!!e.switcher||!!e.items?.length||!!(e.properties&&Object.keys(e.properties).length)),n=e=>!e.isCircular&&!!(e.properties&&Object.values(e.properties).some(t)||e.items?.some(n)||e.switcher&&Object.values(e.switcher.options).some(n));return!!(e.properties&&Object.values(e.properties).some(t)||e.switcher&&Object.values(e.switcher.options).some(n)||e.items?.some(n))}function TA(e,t){if(!Array.isArray(e)||e.length===0)return;let n;for(let r=0;r<e.length;r++){let i=e[r];if(!up(i))return;let a=t(i);if(a===void 0)return;if(r===0)n=a;else if(a!==n)return}return n}function EA(e,t,n){if(e.example!==void 0||TA(t,e=>e.example===void 0?void 0:JSON.stringify(e.example))===void 0)return;let r=Array.isArray(t)?t[0]:void 0;up(r)&&(e.example=jp(r.example,n))}function DA(e,t){if(e.accessMode!==void 0)return;let n=TA(t,Ip);n&&(e.accessMode=n)}function pae(e,t,n,r){let i=t.type||mp(t),a=vp(t,i),o=VA(t,n,r);if(o){e.switcher=o,EA(e,t.oneOf??t.anyOf,n.exampleSerializer),DA(e,t.oneOf??t.anyOf),gae(t,o.propertyName,n)&&(o.sharesOnlyDiscriminator=!0),t.properties&&(e.properties=OA(t,n,r));return}if(t.oneOf!==void 0){if(e.switcher=HA(t.oneOf,fp.ONE_OF,n,r,`oneOf`,t),EA(e,t.oneOf,n.exampleSerializer),DA(e,t.oneOf),t.properties){let i=OA(t,n,r);e.properties=i;for(let t of Object.values(e.switcher.options))t.properties={...i,...t.properties||{}}}return}if(t.anyOf!==void 0){if(e.switcher=HA(t.anyOf,fp.ANY_OF,n,r,`anyOf`,t),EA(e,t.anyOf,n.exampleSerializer),DA(e,t.anyOf),t.properties){let i=OA(t,n,r);e.properties=i;for(let t of Object.values(e.switcher.options))t.properties={...i,...t.properties||{}}}return}if(t.if&&t.then||t.if&&t.else){e.switcher=vae(t,n,r);return}!a&&hp(i,`object`)&&(e.properties=OA(t,n,r)),!a&&hp(i,`array`)&&(e.items=jA(t,n,r),AA(t)!==void 0&&delete e.example,e.example===void 0&&up(t.items)&&t.items.example!==void 0&&!Op(t,i)&&(e.example=jp([t.items.example],n.exampleSerializer))),Bp(e,t,i,n.exampleSerializer)}function mae(e,t){let n=[],r=[],i=[];for(let[a,o]of Object.entries(e))o.isRequired?t.includes(a)?n.push([a,o]):r.push([a,o]):i.push([a,o]);return n.sort(([e],[n])=>t.indexOf(e)-t.indexOf(n)),Object.fromEntries([...n,...r,...i])}function OA(e,t,n){let r={},i={...t,isChild:!1},a=e.required||[],o=up(e.default)?e.default:{},s=up(e.example)?e.example:void 0,c=e.properties||{};for(let[e,t]of Object.entries(c)){let c={...t};c.default===void 0&&o[e]!==void 0&&(c.default=o[e]),c.example===void 0&&s?.[e]!==void 0&&(c.example=s[e]);let l=`${n}/properties/${is(e)}`;r[e]=CA(c,i,{isRequired:a.includes(e)},l)}for(let[t,a]of Object.entries(e.patternProperties||{}))r[t]=CA(a,i,{isPatternProperty:!0},`${n}/patternProperties/${is(t)}`);let l=e.additionalProperties??e.unevaluatedProperties;if(up(l)){let e=(l[`x-additionalPropertiesName`]||`property name`)+`*`;r[e]=CA(l,i,{isAdditionalProperty:!0},`${n}/additionalProperties`)}else l===!0&&(r[`property name*`]=CA({},i,{isAdditionalProperty:!0},`${n}/additionalProperties`));return t.sortRequiredPropsFirst?kA(mae(r,a)):kA(r)}function kA(e){let t={};for(let[n,r]of Object.entries(e).sort(([,e],[,t])=>Number(!!e.isDeprecated)-Number(!!t.isDeprecated)))t[n]=r;return t}function AA(e){let t=Array.isArray(e.prefixItems)?e.prefixItems:Array.isArray(e.items)?e.items:void 0;if(t?.length&&Array.isArray(e.example)&&e.example.length&&!(e.example.length>t.length))return e.example.some((e,n)=>e!==void 0&&up(t[n])&&t[n].example!==void 0)?void 0:e.example}function jA(e,t,n){let r={...t},i=AA(e),a=(e,t)=>i?.[t]===void 0?e:{...e,example:i[t]};if(Array.isArray(e.prefixItems)){let t=e.prefixItems.map((e,t)=>NA(CA(a(e,t),r,{},`${n}/prefixItems/${t}`)));return t.push(...MA(e.items,r,`${n}/items`)),t}if(Array.isArray(e.items)){let t=e.items.map((e,t)=>NA(CA(a(e,t),r,{},`${n}/items/${t}`)));return t.push(...MA(e.additionalItems,r,`${n}/additionalItems`)),t}return up(e.items)&&(_p(e.items)||!vp(e.items,e.items.type||mp(e.items))||yp(e.items))?[CA(e.items,r,{},`${n}/items`)]:[]}function MA(e,t,n){return e!==!0&&!up(e)?[]:[hae(CA(e===!0?{}:e,t,{},n))]}function hae(e){return{...e,isAdditionalItems:!0}}function NA(e){return{...e,isTupleItem:!0}}function PA(e,t){let n=t.prepareVariant({$ref:e});if(up(n))return typeof n.$ref==`string`?void 0:n}function FA(e,t,n){if(!t)return!1;let r=PA(e,n);return r!==void 0&&Rp(r)?.propertyName===t}function gae(e,t,n){return(e[`x-parentRefs`]??[]).some(e=>FA(e,t,n))}function IA(e,t){delete e.discriminator,delete e[`x-discriminator`],delete e[`x-original-ref`];for(let n of[`oneOf`,`anyOf`]){let r=e[n];Array.isArray(r)&&r.some(e=>up(e)&&e[`x-original-ref`]===t)&&delete e[n]}return e}function LA(e,t){let n=t.variantResolutionCache.get(e);if(n)return n;let r=PA(e,t);if(!r)return;let i=IA(r,e);return t.variantResolutionCache.set(e,i),i}function RA(e,t,n){return t===void 0||t[`x-circular-ref`]!==void 0||t[`x-allof-cycle`]!==void 0?LA(e,n):IA({...t},e)}function zA(e,t,n,r,i){let a=n.properties,o=e.properties;if(!a||!o)return e;let s=new Set([r,...n[`x-parentRefs`]??[]]);if([t,...e[`x-parentRefs`]??[]].some(e=>e!==void 0&&s.has(e)))return e;let c=Object.keys(o).filter(e=>Object.hasOwn(a,e));if(c.length===0)return e;let l={...o};for(let e of c)l[e]=i.prepareVariant({allOf:[o[e],a[e]]});return{...e,properties:l}}function BA(e,t){if(typeof e[`x-original-ref`]==`string`)return e[`x-original-ref`];if(KA.test(t))return t}function VA(e,t,n){let r=Rp(e);if(t.isChild||!r?.propertyName)return;let i=_ae(e,r,t,n);return Object.keys(i.options).length>0?i:void 0}function _ae(e,t,n,r){let i=t.mapping||{},a=t[`x-explicitMappingOnly`]??Object.keys(i).length>0,o=e.oneOf||e.anyOf||[],s=BA(e,r),c={...n,isChild:!0},l=e=>e&&e===s?{...c,activeRefs:new Set([...n.activeRefs].filter(e=>e!==s))}:c,u=e.oneOf===void 0?`anyOf`:`oneOf`,d={},f=(t,r,i,a)=>UA(zA(t,r,e,s,n),l(r),i,a,r);if(Object.keys(i).length>0)for(let[e,t]of Object.entries(i)){let i=o.findIndex(e=>e[`x-original-ref`]===t),a=RA(t,o[i],n);a&&(d[e]=f(a,t,!1,i>=0?`${r}/${u}/${i}`:r))}else for(let e=0;e<o.length;e++){let t=o[e],i=t[`x-original-ref`],a=typeof i==`string`?RA(i,t,n):t;if(!a)continue;let s=t.title||i?.split(`/`).pop()||`Variant`;d[s]=f(a,i,!1,`${r}/${u}/${e}`)}if(o.length===0&&!a){let a=new Set(Object.values(i)),o=[...(e[`x-parentRefs`]??[]).filter(e=>FA(e,t.propertyName,n)),...s?[s]:[]];for(let e of o){let t=n.implicitDiscriminatorChildren?.[e];if(t)for(let{ref:e,value:i}of t){if(a.has(e)||Object.hasOwn(d,i))continue;let t=LA(e,n);t&&(d[i]=f(t,e,!1,r))}}}let p=t.defaultMapping,m=p?LA(p,n):void 0;if(p&&m){let e=p.split(`/`).pop();e&&delete d[e];let t=o.findIndex(e=>e[`x-original-ref`]===p),n=t>=0?`${r}/${u}/${t}`:r;d[YA]=f(m,p,!0,n)}return{type:`discriminator`,label:fp.DISCRIMINATOR,propertyName:t.propertyName,jsonPointer:r,options:d}}function HA(e,t,n,r,i,a){let o={},s={...n,isChild:!1},c=BA(a,r);for(let t=0;t<e.length;t++){let l=e[t],u={type:a.type,...zA(l,l[`x-original-ref`],a,c,n)},{label:d,typeLabel:f}=Wp(l,a),p=`${r}/${i}/${t}`,m=o[d]?`${d} (${t+1})`:d,h=UA(u,s,!1,p,l[`x-original-ref`]);h.typeLabel=f,l.title&&(h.title=l.title),o[m]=h}return{type:`oneOf`,label:t,jsonPointer:r,options:o}}function vae(e,t,n){let{if:r,then:i={},else:a={},description:o,...s}=e,c={...t,isChild:!1},l=(...e)=>t.prepareVariant({allOf:e.filter(e=>e!=null)});return{type:`oneOf`,label:fp.ONE_OF,jsonPointer:n,options:{[r?.[`x-displayName`]||r?.title||`case 1`]:UA(l(s,i,r),c,!1,n),[a?.[`x-displayName`]||a?.title||`case 2`]:UA(l(s,a),c,!1,n)}}}function UA(e,t,n,r,i){let a={isDeprecated:!!e.deprecated,isDefaultMapping:n};e.description&&(a.description=e.description);let o=(e[`x-original-ref`]??i)?.split(`/`).pop();o&&(a.schemaName=o);let s=Ip(e);s&&(a.accessMode=s);let c=Sp(e);c.length&&(a.constraints=c);let l=Lp(e);if(l&&(a.enum=l),i&&t.activeRefs.has(i))return a.isCircular=!0,a;let u=e.type||mp(e);i&&t.activeRefs.add(i);try{let n=VA(e,t,r);if(n?(a.switcher=n,e.properties&&(a.properties=OA(e,t,r))):e.oneOf===void 0?e.anyOf===void 0?!vp(e,u)&&(hp(u,`object`)||e.properties)&&(a.properties=OA(e,t,r)):(a.switcher=HA(e.anyOf,fp.ANY_OF,t,r,`anyOf`,e),e.properties&&(a.properties=OA(e,t,r))):(a.switcher=HA(e.oneOf,fp.ONE_OF,t,r,`oneOf`,e),e.properties&&(a.properties=OA(e,t,r))),!vp(e,u)&&hp(u,`array`)){let n=jA(e,t,r);n.length&&(a.items=n)}}finally{i&&t.activeRefs.delete(i)}return a}function yae(e,t,n){return delete e[`x-original-ref`],CA(e,t,{},n)}var WA,GA,KA,qA,JA,YA,bae=o((()=>{pp(),Up(),Gp(),WA=10,GA=200,KA=/^#\/components\/(schemas|pathItems)\/([^/]+)$/,qA=new Set([`properties`,`items`,`switcher`,`example`,`accessMode`,`enum`,`isExpandable`]),JA=new WeakMap,YA=`Default mapping`}));function xae(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}function XA(e,t){if(!t.startsWith(`#/`))return;let n=t.slice(2).split(`/`).map(xae),r=e;for(let e of n){if(!up(r))return;r=r[e]}return up(r)?r:void 0}function ZA(e,t,n,r,i,a=!1){if(!e||typeof e!=`object`)return e;if(Array.isArray(e)){let o=n??new Set;return e.map(e=>ZA(e,t,o,r,i,a))}if(!up(e))return e;let o=n??new Set;if(e.$ref!==void 0){let n=e.$ref;if(typeof n!=`string`)return e;if(o.has(n)){if(a){let e=!1;for(let t of o)t===n&&(e=!0),e&&i?.add(t)}let e=XA(t,n);if(!up(e))return{"x-circular-ref":!0};if(a&&e.allOf!==void 0)return{};let{allOf:r,oneOf:s,anyOf:c,...l}=e;return{...l,"x-circular-ref":!0,"x-original-ref":n}}let s=r?.get(n);if(s&&up(s)){let a={};for(let[n,s]of Object.entries(e))n!==`$ref`&&(a[n]=ZA(s,t,o,r,i));return ej({...s,...a,"x-original-ref":n},t)}let c=XA(t,n);if(!c)return e;o.add(n);let l=ZA(c,t,o,r,i,a);o.delete(n);let u={};for(let[n,a]of Object.entries(e))n!==`$ref`&&(u[n]=ZA(a,t,o,r,i));if(up(l)){let e=i?.has(n)===!0;!e&&l[`x-circular-ref`]===void 0&&r?.set(n,l);let a={...l,...u,"x-original-ref":n};return e&&(a[`x-allof-cycle`]=!0),ej(a,t)}return l}return Object.fromEntries(Object.entries(e).map(([e,n])=>[e,ZA(n,t,o,r,i,e===`allOf`&&Array.isArray(n))]))}function QA(e,t,n,r){let i=`openapi`in t?t.openapi:void 0,a=typeof i==`string`&&i.startsWith(`3.0`)?`3.0.x`:`3.1.x`,o=ZA(e,t,r,n,new Set),s=up(o)?ej(o,t):e,c=yA(s,{mergeCombinarySibling:!0,applyAdditionalPropertiesToSiblings:!1,rules:iA(a)});return up(c)?c:s}function Sae(e,t){let n=[],r=new Set,i=t=>{let r=XA(e,t);if(up(r)&&Array.isArray(r.allOf))for(let e of r.allOf)up(e)&&typeof e.$ref==`string`&&n.push(e.$ref)};for(i(t);n.length>0;){let e=n.pop();if(e===t)return!0;r.has(e)||(r.add(e),i(e))}return!1}function $A(e,t){if(!Array.isArray(e.allOf))return[];let n=[],r=e=>{n.includes(e)||n.push(e)};for(let n of e.allOf){if(!up(n))continue;if(Array.isArray(n.allOf)){let e=n[`x-original-ref`];n.discriminator&&typeof e==`string`&&!Sae(t,e)&&r(e);for(let e of $A(n,t))r(e);continue}let e=n[`x-original-ref`];typeof e==`string`&&r(e)}return n}function ej(e,t){let n=$A(e,t);return n.length>0&&(e[`x-parentRefs`]=n),e}function tj(e){let t=rj.get(e);if(t)return t;let n=e.components?.schemas,r={};if(n&&typeof n==`object`)for(let[e,t]of Object.entries(n)){if(!up(t)||!Array.isArray(t.allOf))continue;let n=typeof t[`x-discriminator-value`]==`string`?t[`x-discriminator-value`]:e,i=`#/components/schemas/${is(e)}`;for(let e of t.allOf)up(e)&&typeof e.$ref==`string`&&(r[e.$ref]??=[]).push({ref:i,value:n})}return rj.set(e,r),r}function nj(e,t){if(!up(e)){if(Array.isArray(e))for(let n of e)nj(n,t);return}for(let[n,r]of Object.entries(e))n===`$ref`&&typeof r==`string`?t.add(r):nj(r,t);let n=e.discriminator??e[`x-discriminator`],r=up(n)?n.mapping:void 0;if(up(r))for(let e of Object.values(r))typeof e==`string`&&t.add(e)}function Cae(e){let t=new Set,n=0,r=new Map,i=new Map,a=new Set,o=[];for(let s of e.keys()){if(r.has(s))continue;let c=[{node:s,edge:0}];for(;c.length>0;){let s=c[c.length-1],{node:l}=s;s.edge===0&&(r.set(l,n),i.set(l,n),n++,o.push(l),a.add(l));let u=e.get(l)??[];if(s.edge<u.length){let t=u[s.edge];if(s.edge++,!e.has(t))continue;r.has(t)?a.has(t)&&i.set(l,Math.min(i.get(l)??0,r.get(t)??0)):c.push({node:t,edge:0});continue}if((i.get(l)??0)===(r.get(l)??0)){let n=[],r=``;do r=o.pop()??l,a.delete(r),n.push(r);while(r!==l);let i=(e.get(n[0])??[]).includes(n[0]);if(n.length>1||i)for(let e of n)t.add(e)}c.pop();let d=c[c.length-1];d&&i.set(d.node,Math.min(i.get(d.node)??0,i.get(l)??0))}}return t}function wae(e){let t=ij.get(e);if(t)return t;let n=e.components?.schemas,r=new Map;if(n&&typeof n==`object`){let e=e=>`#/components/schemas/${is(e)}`,t=e=>e.replace(/^#\/components\/schemas\//,``).replace(/~1/g,`/`).replace(/~0/g,`~`),i=e=>{let r=n[t(e)];return up(r)&&!!(r.discriminator||r[`x-discriminator`])};for(let[t,i]of Object.entries(n)){let n=new Set;nj(i,n),r.set(e(t),[...n])}for(let[t,a]of Object.entries(n))if(up(a)&&Array.isArray(a.allOf))for(let n of a.allOf)up(n)&&typeof n.$ref==`string`&&i(n.$ref)&&r.get(n.$ref)?.push(e(t))}let i=Cae(r);return ij.set(e,i),i}var rj,ij,aj,oj,sj=o((()=>{cae(),B(),pp(),os(),bae(),rj=new WeakMap,ij=new WeakMap,aj=rs.JSON_SCHEMA,oj={id:aj,process(e,t,n){let r=new Map,i=n?.rootJsonPointer??`#`;return yae(QA(e,t,r,i.startsWith(`#/`)&&e.$ref!==i?new Set([i]):void 0),{prepareVariant:e=>QA(e,t,r),propertyRefCache:new Map,variantResolutionCache:new Map,implicitDiscriminatorChildren:tj(t),exampleSerializer:n?.exampleSerializer,sortRequiredPropsFirst:n?.sortRequiredPropsFirst,activeRefs:i.startsWith(`#/`)?new Set([i]):new Set,depth:0,recursiveRefs:wae(t)},i)}}}));sj();var Tae=`graphql-schema`,cj=new WeakMap;function Eae(e,t,n){let r=n?.dialectId??aj,i;switch(r){case aj:i=oj;break;case Tae:default:i=oj}let a=n?.rootJsonPointer??`#`;if(n?.exampleSerializer)return i.process(e,t,n);let o=cj.get(e);if(o?.dialectId===i.id&&o?.rootJsonPointer===a&&o?.sortRequiredPropsFirst===n?.sortRequiredPropsFirst)return o.result;let s=i.process(e,t,n);return cj.set(e,{dialectId:i.id,rootJsonPointer:a,sortRequiredPropsFirst:n?.sortRequiredPropsFirst,result:s}),s}var lj=new WeakMap;function Dae({schemaId:e,schema:t,level:n=1,expandByDefault:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o,rootJsonPointer:s,exampleSerializer:c}){let l=I(kc(e??``)),{sortRequiredPropsFirst:u}=I(ds),d=tg(),f=ng(useContext(wc),``),p=s??(e?`#/${e}`:`#`),m=t??l?.data,h;return m&&(!c&&lj.has(m)?h=lj.get(m):(h=Eae(m,d,{rootJsonPointer:p,exampleSerializer:c,sortRequiredPropsFirst:u}),h&&!c&&lj.set(m,h))),LD(f,!!h?.isExpandable),h?jsx(ZO,{property:h,level:n,expandByDefault:r,skipReadOnly:i,skipWriteOnly:a,onOneOfChange:o}):jsx(Fragment$1,{})}var uj=memo(Dae);F();var Oae=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M13 12V14H3V12H2V14C2 14.2652 2.10536 14.5196 2.29289 14.7071C2.48043 14.8946 2.73478 15 3 15H13C13.2652 15 13.5196 14.8946 13.7071 14.7071C13.8946 14.5196 14 14.2652 14 14V12H13Z`}),jsx(`path`,{d:`M13 7L12.295 6.295L8.5 10.085V1H7.5V10.085L3.705 6.295L3 7L8 12L13 7Z`})]})).attrs({"data-component-name":`icons/DownloadIcon/DownloadIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),jo();function kae({data:e,dataTestId:t=`download-button`}){let{useTranslate:n}=sr(),{translate:r}=n(),i=r(`button.download.tooltipText`,`Download description`);return jsx(`div`,{"data-component-name":`Buttons/DownloadButton`,children:jsx(zg,{tip:i,placement:`top`,arrowPosition:`right`,children:jsx(Aae,{href:e,target:`_blank`,download:!0,rel:`noreferrer`,"aria-label":i,children:jsx(ta,{variant:`text`,size:`small`,"aria-hidden":!0,tabIndex:-1,icon:jsx(Oae,{}),"data-testid":t})})})})}var Aae=styled.a`
  text-decoration: none;
  border-radius: var(--button-border-radius);

  &:focus-visible {
    outline: 1px solid var(--button-border-color-focused);
  }
`;F();var jae=styled(e=>jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M15.5 5.5V10.5H14.5L13.5 7.5V10.5H12.5V5.5H13.5L14.5 8.5V5.5H15.5Z`}),jsx(`path`,{d:`M10.6667 10.5H9.33325C9.11234 10.4997 8.90054 10.4119 8.74433 10.2557C8.58812 10.0995 8.50025 9.88766 8.5 9.66675V6.33325C8.50025 6.11234 8.58812 5.90054 8.74433 5.74433C8.90054 5.58812 9.11234 5.50025 9.33325 5.5H10.6667C10.8877 5.50025 11.0995 5.58812 11.2557 5.74433C11.4119 5.90054 11.4997 6.11234 11.5 6.33325V9.66675C11.4997 9.88766 11.4119 10.0995 11.2557 10.2557C11.0995 10.4119 10.8877 10.4997 10.6667 10.5ZM9.5 9.5H10.5V6.5H9.5V9.5Z`}),jsx(`path`,{d:`M6.66675 10.5H4.5V9.5H6.5V8.5H5.5C5.23486 8.49974 4.98066 8.39429 4.79319 8.20681C4.60571 8.01934 4.50026 7.76514 4.5 7.5V6.33325C4.50025 6.11234 4.58812 5.90054 4.74433 5.74433C4.90054 5.58812 5.11234 5.50025 5.33325 5.5H7.5V6.5H5.5V7.5H6.5C6.76514 7.50026 7.01934 7.60571 7.20681 7.79319C7.39429 7.98066 7.49974 8.23486 7.5 8.5V9.66675C7.49975 9.88766 7.41188 10.0995 7.25567 10.2557C7.09946 10.4119 6.88766 10.4997 6.66675 10.5Z`}),jsx(`path`,{d:`M2.66675 10.5H1.33325C1.11234 10.4997 0.900541 10.4119 0.744331 10.2557C0.588121 10.0995 0.500251 9.88766 0.5 9.66675V8.5H1.5V9.5H2.5V5.5H3.5V9.66675C3.49975 9.88766 3.41188 10.0995 3.25567 10.2557C3.09946 10.4119 2.88766 10.4997 2.66675 10.5Z`})]})).attrs({"data-component-name":`icons/JsonIcon/JsonIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var dj=styled(e=>jsx(`svg`,{viewBox:`0 0 10 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M9.85 3.65006L6.35 0.150055C6.30601 0.101196 6.25192 0.0624773 6.19149 0.036578C6.13106 0.0106787 6.06572 -0.00178282 6 5.53814e-05H1C0.735023 0.000833625 0.481121 0.10644 0.293753 0.293808C0.106385 0.481176 0.000778244 0.735078 0 1.00006V13.0001C0.000778244 13.265 0.106385 13.5189 0.293753 13.7063C0.481121 13.8937 0.735023 13.9993 1 14.0001H9C9.26498 13.9993 9.51888 13.8937 9.70625 13.7063C9.89362 13.5189 9.99922 13.265 10 13.0001V4.00006C10.0018 3.93433 9.98938 3.869 9.96348 3.80857C9.93758 3.74813 9.89886 3.69405 9.85 3.65006ZM6 1.20006L8.8 4.00006H6V1.20006ZM9 13.0001H1V1.00006H5V4.00006C5.00078 4.26503 5.10638 4.51893 5.29375 4.7063C5.48112 4.89367 5.73502 4.99928 6 5.00006H9V13.0001Z`})})).attrs({"data-component-name":`icons/FileIcon/FileIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var fj=styled(e=>jsxs(`svg`,{width:`14`,height:`16`,viewBox:`0 0 14 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,color:`#E535AB`,children:[jsx(`path`,{d:`M0.723804 11.7744L1.29883 12.1064L7.70483 1.01125L7.1298 0.679253L0.723804 11.7744Z`,fill:`#22242B`}),jsx(`path`,{d:`M13.4043 10.8882H0.592285V11.5522H13.4043V10.8882Z`,fill:`#E535AB`}),jsx(`path`,{d:`M0.845506 11.2609L7.25391 14.9609L7.58591 14.3859L1.17751 10.6859L0.845506 11.2609Z`,fill:`#E535AB`}),jsx(`path`,{d:`M6.4124 1.61787L12.8208 5.31787L13.1528 4.74285L6.7444 1.04285L6.4124 1.61787Z`,fill:`#E535AB`}),jsx(`path`,{d:`M0.847688 4.74041L1.17969 5.31543L7.58809 1.61543L7.25609 1.04041L0.847688 4.74041Z`,fill:`#E535AB`}),jsx(`path`,{d:`M6.29664 1.01125L12.7026 12.1064L13.2777 11.7744L6.87166 0.679253L6.29664 1.01125Z`,fill:`#E535AB`}),jsx(`path`,{d:`M1.7641 4.2998H1.1001V11.6998H1.7641V4.2998Z`,fill:`#E535AB`}),jsx(`path`,{d:`M12.9003 4.2998H12.2363V11.6998H12.9003V4.2998Z`,fill:`#E535AB`}),jsx(`path`,{d:`M6.85111 14.1774L7.14111 14.6797L12.7147 11.4617L12.4247 10.9594L6.85111 14.1774Z`,fill:`#E535AB`}),jsx(`path`,{d:`M13.7802 11.9162C13.3962 12.5842 12.5402 12.8122 11.8722 12.4282C11.2042 12.0442 10.9762 11.1882 11.3602 10.5202C11.7442 9.85218 12.6002 9.62418 13.2682 10.0082C13.9402 10.3962 14.1682 11.2482 13.7802 11.9162Z`,fill:`#E535AB`}),jsx(`path`,{d:`M2.63619 5.48014C2.25219 6.14814 1.39619 6.37614 0.728188 5.99215C0.0601878 5.60814 -0.167812 4.75214 0.216188 4.08414C0.600188 3.41614 1.45619 3.18814 2.12419 3.57214C2.79219 3.96014 3.02019 4.81214 2.63619 5.48014Z`,fill:`#E535AB`}),jsx(`path`,{d:`M0.220094 11.9162C-0.163906 11.2482 0.064094 10.3962 0.732094 10.0082C1.40009 9.62418 2.25209 9.85218 2.64009 10.5202C3.02409 11.1882 2.79609 12.0402 2.12809 12.4282C1.45609 12.8122 0.604094 12.5842 0.220094 11.9162Z`,fill:`#E535AB`}),jsx(`path`,{d:`M11.3641 5.48014C10.9801 4.81214 11.2081 3.96014 11.8761 3.57214C12.5441 3.18814 13.3961 3.41614 13.7841 4.08414C14.1681 4.75214 13.9401 5.60415 13.2721 5.99215C12.6041 6.37614 11.7481 6.14814 11.3641 5.48014Z`,fill:`#E535AB`}),jsx(`path`,{d:`M7 15.832C6.228 15.832 5.604 15.208 5.604 14.436C5.604 13.664 6.228 13.04 7 13.04C7.772 13.04 8.396 13.664 8.396 14.436C8.396 15.204 7.772 15.832 7 15.832Z`,fill:`#E535AB`}),jsx(`path`,{d:`M7 2.95997C6.228 2.95997 5.604 2.33597 5.604 1.56397C5.604 0.791969 6.228 0.167969 7 0.167969C7.772 0.167969 8.396 0.791969 8.396 1.56397C8.396 2.33597 7.772 2.95997 7 2.95997Z`,fill:`#E535AB`})]})).attrs({"data-component-name":`icons/GraphqlIcon/GraphqlIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Mae=styled(e=>jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M12.85 4.65L9.35 1.15C9.25 1.05 9.15 1 9 1H4C3.45 1 3 1.45 3 2V14C3 14.55 3.45 15 4 15H12C12.55 15 13 14.55 13 14V5C13 4.85 12.95 4.75 12.85 4.65ZM9 2.2L11.8 5H9V2.2ZM12 14H4V2H8V5C8 5.55 8.45 6 9 6H12V14Z`}),jsx(`path`,{d:`M11 11H5V12H11V11Z`}),jsx(`path`,{d:`M11 8H5V9H11V8Z`})]})).attrs({"data-component-name":`icons/DocumentIcon/DocumentIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`,pj=({header:e,title:t,actions:n,active:r,withCheckmark:i,children:a})=>jsxs(Nae,{children:[jsxs(Pae,{children:[e&&(typeof e==`string`?jsx(Fae,{children:e}):e),jsxs(mj,{$active:r,suppressHydrationWarning:!0,children:[i&&r&&jsx(Lae,{"data-testid":`panel-item-checkmark`}),` `,t]}),a]}),jsx(Iae,{children:n?.map(e=>e)})]}),Nae=styled$1.span`
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  position: relative;
  width: 100%;
`,Pae=styled$1.span`
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  flex: 1;
`,Fae=styled$1.span`
  text-align: left;
  color: var(--menu-content-title-color);
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
`,mj=styled$1.div`
  margin: 0;
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: ${({$active:e})=>e&&`var(--font-weight-medium)`};
`,Iae=styled$1.div`
  display: flex;
  gap: var(--spacing-xs);
`,hj=styled$1.div`
  & > span {
    border-bottom: 1px solid var(--border-color-secondary);
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
  }

  & > span:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
`,gj=styled$1.span`
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-medium);
`,Lae=styled$1(yO)`
  width: 14px;
  height: 14px;
  position: absolute;
  left: -18px;
  bottom: 3px;
`,Rae=styled$1.div`
  display: flex;
  justify-content: start;
  align-items: center;
  gap: var(--spacing-xxs);
`,zae=styled$1.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
`,Bae=keyframes`
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
`,Vae=css`
  animation: ${Bae} 0.2s;
`,_j=styled.div.withConfig({shouldForwardProp:e=>![`animate`,`hidden`].includes(e)}).attrs({"data-component-name":`Panel/PanelBody`})`
  ${({animate:e})=>e&&Vae};
  ${({hidden:e})=>e&&`visibility: hidden`};

  background-color: var(--panel-body-bg-color);

  font-family: var(--panel-body-font-family-local);
  font-size: var(--panel-body-font-size-local);
  font-weight: var(--panel-body-font-weight-local);
  border: var(--panel-body-border-local);
  padding: var(--panel-body-padding-local);
  color: var(--panel-body-text-color);

  border-top-left-radius: var(--panel-border-radius);
  border-top-right-radius: var(--panel-border-radius);
  border-bottom-right-radius: var(--panel-border-radius);
  border-bottom-left-radius: var(--panel-border-radius);
`,vj=styled.div.withConfig({shouldForwardProp:e=>![`isExpandable`,`expanded`,`disabled`,`toggle`].includes(e)}).attrs(({toggle:e})=>({"data-component-name":`Panel/PanelHeader`,onClick:e}))`
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-unit);
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  white-space: var(--panel-heading-white-space-local);
  color: var(--panel-heading-text-color);

  cursor: ${({isExpandable:e=!0})=>e?`pointer`:`unset`};

  line-height: var(--panel-heading-line-height-local);
  font-size: var(--panel-heading-font-size-local);
  font-family: var(--panel-heading-font-family-local);
  padding: var(--panel-heading-padding-local);
  border: var(--panel-heading-border);
  border-bottom: ${({isExpandable:e=!0})=>e?`none`:`var(--panel-heading-border-bottom)`};
  background-color: var(--panel-heading-bg-color);

  border-top-left-radius: var(--panel-border-radius);
  border-top-right-radius: var(--panel-border-radius);
  border-bottom-right-radius: ${({expanded:e,isExpandable:t=!0})=>e||!t?`0`:`var(--panel-border-radius)`};
  border-bottom-left-radius: ${({expanded:e,isExpandable:t=!0})=>e||!t?`0`:`var(--panel-border-radius)`};

  pointer-events: ${({disabled:e})=>e?`none`:`auto`};
`,yj=styled.span.attrs(({className:e})=>({"data-component-name":`Panel/PanelHeaderTitle`,className:e}))`
  margin-right: 5px;
  font-weight: var(--panel-heading-font-weight-local);
  line-height: var(--line-height-base);
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--panel-heading-text-color);
`;function bj({expanded:e=!0,isExpandable:t=!0,renderChildrenHidden:n=!1,header:r,footer:i,className:a=`panel-default`,children:o,onToggle:s,description:c}){let[l,u]=useState(e),[d,f]=useState(!1),[p,m]=useState(e);p!==e&&(m(e),u(e));let h=({target:e})=>{e instanceof HTMLAnchorElement||!t||(f(!0),u(!l),s?.(!l))};return jsxs(Hae,{className:a,"data-testid":typeof r==`string`?(`panel-`+r).replace(/ /g,`-`).toLowerCase():null,"data-component-name":`Panel/Panel`,children:[r&&(typeof r==`function`?r({expanded:l,toggle:h}):jsx(vj,{"data-testid":`panel-header`,toggle:h,expanded:l,isExpandable:t,children:jsxs(Uae,{children:[jsx(yj,{"data-testid":`title`,children:r}),t&&jsx(l?qg:bg,{color:`--panel-chevron-icon-color`}),c]})})),(l||n)&&jsx(_j,{"data-testid":`panel-body`,hidden:!l,animate:d,children:o}),i]})}var Hae=styled.div`
  background-color: var(--panel-bg-color);
  color: var(--panel-text-color);
  font-family: var(--panel-font-family-local);
  font-size: var(--panel-font-size-local);
  font-weight: var(--panel-font-weight-local);
  border-radius: var(--panel-border-radius-local);
  border: var(--panel-border-local);

  ${vj} + ${_j} {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  &:not(:last-child) {
    margin-bottom: var(--panel-gap-vertical);
  }
`,Uae=styled.div`
  display: inline-flex;
  align-items: center;
`,xj=styled$1(bj)`
  [data-component-name='Panel/PanelBody'] {
    padding: var(--spacing-sm) 0 0;
  }
`,Sj=styled$1(bj)`
  [data-component-name='Panel/PanelHeader'],
  [data-component-name='Panel/PanelBody'] {
    padding: var(--spacing-sm) var(--spacing-md);
  }
`,Cj=styled$1(f_)`
  border: none;
  margin: 0;
  --code-block-padding: var(--spacing-xs) 0 var(--spacing-xs) 20px;

  .code-block-header {
    border-bottom: 0;
    padding-right: var(--spacing-sm);
    margin-top: 0;
  }
`,wj=styled$1(T_)`
  --code-block-padding: var(--spacing-xs) 0 var(--spacing-xs) 20px;
`;function Tj(e,t,n){return t?e(t,n??t):n??``}B(),Ds();function Wae({node:e}){let t=fb(),n=jE(),r=e.children.filter(e=>e.kind===z.DOWNLOAD),i={yaml:jsx(Mae,{}),json:jsx(jae,{}),file:jsx(dj,{}),graphql:jsx(fj,{}),gql:jsx(fj,{})},a=Tj(t,e.titleTranslationKey,e.title),o=useCallback((e,t)=>{n.sendDownloadDefinitionClickedMessage([HE(e,t)])},[n]);return jsx(Sj,{header:a,className:`panel-api-docs`,isExpandable:!1,children:jsx(Jae,{children:r.map(({label:e,url:t})=>{let n=ws(e||t),r=i[n]||jsx(dj,{}),a=()=>o(e,t);return jsx(pj,{title:jsxs(Gae,{children:[r,jsx(Kae,{href:t,target:`_blank`,download:t.startsWith(`blob:`)&&e||!0,rel:`noreferrer`,onClick:a,children:e})]}),actions:[jsx(qae,{onClick:a,children:jsx(kae,{data:t})},`${e}-download`)]},`${e}-${t}`)})})})}var Gae=styled$1.div`
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
`,Kae=styled$1.a`
  color: var(--text-color-secondary);
  text-decoration: none;
  font-weight: var(--link-font-weight);
`,qae=styled$1.div`
  display: flex;
`,Jae=styled$1(hj)`
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);

  & > span {
    padding-bottom: var(--spacing-sm);
    margin-bottom: 0;
  }
`;F();var Ej=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M5 3V4H11.295L3 12.295L3.705 13L12 4.705V11H13V3H5Z`})})).attrs({"data-component-name":`icons/ArrowUpRightIcon/ArrowUpRightIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),jo();function Yae({data:e,dataTestId:t=`new-tab-button`}){let{useTranslate:n}=sr(),{translate:r}=n();return jsx(`div`,{"data-component-name":`Buttons/NewTabButton`,children:jsx(zg,{tip:r(`button.externalLink.tooltipText`,`Open in new tab`),placement:`top`,arrowPosition:`right`,children:jsx(ta,{onClick:()=>{window.open(e,`_blank`)},icon:jsx(Ej,{}),"data-testid":t,"aria-label":`Open in new tab`,size:`small`,variant:`text`})})})}F();var Xae=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M14 3H2C1.73478 3 1.48043 3.10536 1.29289 3.29289C1.10536 3.48043 1 3.73478 1 4V12C1 12.2652 1.10536 12.5196 1.29289 12.7071C1.48043 12.8946 1.73478 13 2 13H14C14.2652 13 14.5196 12.8946 14.7071 12.7071C14.8946 12.5196 15 12.2652 15 12V4C15 3.73478 14.8946 3.48043 14.7071 3.29289C14.5196 3.10536 14.2652 3 14 3ZM12.9 4L8 7.39L3.1 4H12.9ZM2 12V4.455L7.715 8.41C7.7987 8.46806 7.89813 8.49918 8 8.49918C8.10187 8.49918 8.2013 8.46806 8.285 8.41L14 4.455V12H2Z`})})).attrs({"data-component-name":`icons/EmailIcon/EmailIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),jo();function Zae({data:e,dataTestId:t=`email-button`}){let{useTranslate:n}=sr(),{translate:r}=n();return jsx(`div`,{"data-component-name":`Buttons/EmailButton`,children:jsx(zg,{tip:r(`button.email.tooltipText`,`Send email`),placement:`top`,arrowPosition:`right`,children:jsx(ta,{onClick:()=>{window.location.href=`mailto:${e}`},icon:jsx(Xae,{}),size:`small`,variant:`text`,"data-testid":t,"aria-label":`Email`})})})}B();function Qae({node:e}){let t=e,n=fb(),r=t.children.map((e,t)=>{let r=Tj(n,e.titleTranslationKey,e.title),i=Tj(n,e.labelTranslationKey,e.label);return e.kind===z.EXTERNAL_LINK?jsx(pj,{header:e.title?jsx(gj,{children:r}):void 0,title:jsx(Dj,{children:jsx(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,children:i})}),actions:[...e.withCopyButton?[jsx(Hg,{data:e.copyContent||e.url},`copy-${t}`)]:[],jsx(Yae,{data:e.url},`new-tab-${t}`)]},`${e.url}-${t}`):e.kind===z.EMAIL?jsx(pj,{header:e.title?jsx(gj,{children:r}):void 0,title:jsx(Dj,{children:jsx(`a`,{href:`mailto:`+e.email,children:i})}),actions:[...e.withCopyButton?[jsx(Hg,{data:e.copyContent||e.email},`copy-${t}`)]:[],jsx(Zae,{data:e.email},`email-${t}`)]},`${e.email}-${t}`):e.kind===z.ATTRIBUTE?jsx(pj,{header:e.title?jsx(gj,{children:r}):void 0,title:e.value},`${e.label}-${t}`):null}).filter(Boolean);if(!(r.length>0))return null;let i=Tj(n,e.titleTranslationKey,e.title);return jsx(Sj,{header:i,className:`panel-api-docs`,isExpandable:!1,children:jsx(hj,{children:r})})}var Dj=styled$1.div`
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  overflow: hidden;
  text-overflow: ellipsis;

  a {
    color: var(--link-color-primary);
    text-decoration: none;
    font-weight: var(--link-font-weight);

    &:hover {
      text-decoration: underline;
    }
  }
`,Oj=styled$1.span`
  background: var(--tag-bg-color);
  padding: 0 var(--spacing-xxs);
  font-family: var(--font-family-monospaced);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  border-radius: var(--tag-border-radius);
  color: var(--text-color-secondary);
  display: inline-flex;
  word-break: var(--code-word-break);
`;function $ae({sign:e,className:t,color:n}){return jsx(eoe,{className:t,$color:n,children:e})}var eoe=styled$1.span`
  background-color: var(--bg-color);
  border-radius: 50%;
  border: 1px solid ${({$color:e})=>e||`var(--border-color-primary)`};
  font-size: var(--font-size-lg);
  line-height: var(--font-size-lg);
  color: ${({$color:e})=>e||`var(--text-color-secondary)`};
  width: 20px;
  height: 20px;
`;function toe({expanded:e,label:t,color:n,className:r,onClick:i}){return jsxs(`button`,{className:r,onClick:i,type:`button`,children:[jsx($ae,{sign:e?`-`:`+`,color:n}),jsx(noe,{children:t})]})}var noe=styled$1.span`
  width: max-content;
`,kj=styled$1(toe)`
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  gap: var(--spacing-xxs, 4px);
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  min-height: 24px;
`;qf();function roe({expandByDefault:e,level:t,expandable:n=!1,expandText:r,hideText:i,hideDivider:a=!1,children:o,expandedAll:s,isNestedArray:c}){let[l,u]=useState((e||c)??!1),d=Pe(s)?l:s,f=d?j_(t):void 0;return n?c?jsxs(Fragment$1,{children:[jsx(ooe,{children:`Array [`}),jsx(jj,{$isArrayInsideArray:c,className:`view-nested-wrapper`,children:jsx(Aj,{$color:f,children:o})})]}):jsx(Fragment$1,{children:jsxs(jj,{$divider:!a&&!d,className:`view-nested-wrapper`,children:[jsx(aoe,{expanded:d,label:d?i||``:r||``,color:f,onClick:()=>{u(e=>!e)}}),d&&jsx(Aj,{$color:f,children:o})]})}):o}var ioe=memo(roe),aoe=styled$1(kj)`
  margin: var(--spacing-xxs) 0 var(--spacing-xs);
  width: 100%;
`,Aj=styled$1.div`
  padding-left: var(--schema-nested-offset);
  border-left: 1px solid ${({$color:e})=>e||`var(--border-color-primary)`};
  margin: -10px 0 0 9px;
  ${({$color:e})=>e&&css`
      .schema-name {
        color: ${e};
      }
    `}
`,jj=styled$1.div`
  width: 100%;
  ${({$isArrayInsideArray:e})=>e&&css`
      padding-top: var(--schema-property-details-spacing);
    `}

  ${({$divider:e})=>e&&css`
      border-bottom: 1px solid var(--border-color-primary);
      padding-bottom: var(--schema-property-details-spacing);
    `}
`,ooe=styled$1.span`
  padding: 0 var(--spacing-xs);
  border-radius: var(--tag-border-radius);
  border: 1px solid var(--border-color-secondary);
  background-color: var(--bg-color);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--tag-basic-content-color);
`;F();var Mj=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M8.5 11V7H6.5V8H7.5V11H6V12H10V11H8.5Z`}),jsx(`path`,{d:`M8 4C7.85167 4 7.70666 4.04399 7.58333 4.1264C7.45999 4.20881 7.36386 4.32595 7.30709 4.46299C7.25033 4.60004 7.23548 4.75084 7.26441 4.89632C7.29335 5.04181 7.36478 5.17544 7.46967 5.28033C7.57456 5.38522 7.7082 5.45665 7.85369 5.48559C7.99917 5.51453 8.14997 5.49968 8.28701 5.44291C8.42406 5.38615 8.54119 5.29002 8.6236 5.16668C8.70602 5.04334 8.75 4.89834 8.75 4.75C8.75 4.55109 8.67098 4.36033 8.53033 4.21967C8.38968 4.07902 8.19892 4 8 4Z`}),jsx(`path`,{d:`M8 15C6.61553 15 5.26216 14.5895 4.11101 13.8203C2.95987 13.0511 2.06266 11.9579 1.53285 10.6788C1.00303 9.3997 0.86441 7.99224 1.13451 6.63437C1.4046 5.2765 2.07129 4.02922 3.05026 3.05026C4.02922 2.07129 5.2765 1.4046 6.63437 1.13451C7.99224 0.86441 9.3997 1.00303 10.6788 1.53285C11.9579 2.06266 13.0511 2.95987 13.8203 4.11101C14.5895 5.26216 15 6.61553 15 8C15 9.85652 14.2625 11.637 12.9497 12.9497C11.637 14.2625 9.85652 15 8 15ZM8 2C6.81332 2 5.65328 2.3519 4.66658 3.01119C3.67989 3.67047 2.91085 4.60755 2.45673 5.7039C2.0026 6.80026 1.88378 8.00666 2.11529 9.17054C2.3468 10.3344 2.91825 11.4035 3.75736 12.2426C4.59648 13.0818 5.66558 13.6532 6.82946 13.8847C7.99335 14.1162 9.19975 13.9974 10.2961 13.5433C11.3925 13.0892 12.3295 12.3201 12.9888 11.3334C13.6481 10.3467 14 9.18669 14 8C14 6.4087 13.3679 4.88258 12.2426 3.75736C11.1174 2.63214 9.5913 2 8 2Z`})]})).attrs({"data-component-name":`icons/InformationIcon/InformationIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na();var soe=({description:e})=>{let[t,n]=useState(!1);return useEffect(()=>{let e=()=>{t&&n(!1)};if(t)return document.addEventListener(`touchmove`,e,{passive:!0}),()=>{document.removeEventListener(`touchmove`,e)}},[t]),jsx(zg,{tip:e,placement:`bottom`,arrowPosition:`left`,isOpen:t,children:jsx(ta,{size:`small`,variant:`ghost`,icon:jsx(Mj,{}),"data-testid":`server-item-description-tooltip`,onClick:()=>n(!0),onBlur:()=>n(!1),onFocus:()=>n(!0),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),onTouchCancel:()=>n(!1)})})};function Nj(e,t=!1){let n=e;t&&n.startsWith(`//`)&&(n=`http:`+e);try{return URL?.parse?URL?.parse(n):new URL(n)}catch(e){return console.error(`Invalid URL: %s`,n,e),null}}function Pj(e){try{let t=new URL(e),n=t.pathname;if(n.endsWith(`/`))return t.origin+n;let r=n.lastIndexOf(`/`);return r===-1?t.origin+`/`:(n=n.substring(0,r+1),t.origin+n)}catch(t){console.error(`Invalid URL: %s`,e,t);return}}var Fj=o((()=>{}));function Ij(e){return e.endsWith(`/`)?e.substring(0,e.length-1):e}function Lj(e){return/(?:^[a-z][a-z0-9+.-]*:|\/\/)/i.test(e)}function coe(e,t){let n;if(t.startsWith(`//`))n=`${Nj(e,!0)?.protocol||`https:`}${t}`;else if(Lj(t))n=t;else if(!t.startsWith(`/`))n=Ij(e)+`/`+t;else{let r=Nj(e);r?(r.pathname=t,n=r.toString()):n=t}return Ij(n)}function Rj(e){return e.charAt(0).toUpperCase()+e.slice(1)}function zj(e){try{if(!e)return``;let t=new URL(e);return t.search=``,t.hash=``,t.toString()}catch{return e}}function Bj(e){return e.replace(/["\\]/g,`\\$&`)}function loe(e){return e&&e.replace(/#/g,`_`).toLowerCase()}function Vj(e){return e?.match(Hj)?.pop()}var Hj,Uj=o((()=>{Fj(),Hj=/^#\/components\/(schemas|pathItems)\/([^/]+)$/}));Uj(),Fj();function uoe(e){let t=zj(e);if(!t||t.endsWith(`/`))return t;let n=t.lastIndexOf(`/`);return n===-1?``:t.slice(0,n)}function doe(e){return e===void 0?zj((()=>{if(!Xf)return globalThis.SSR_HOSTNAME||``;let e=window.location.href;return e.endsWith(`.html`)&&Pj(e)||e})()):Lj(e)?Pj(e):uoe(e)}function Wj(e,t){let n=doe(t);return n?coe(n,e):e}function foe(e,t){let n=t;return n.length===0&&(n=[{url:`/`}]),n.map(t=>({...t,url:Wj(t.url,e),description:t.description||``}))}function poe({server:e}){let t=fb(),n=Wj(e.url),r=Object.keys(e.variables||{}).length,i=r===1?`variable`:`variables`,a=`${r||``} ${t(i,i)}`,o=!!e.name&&!!e.description;return jsxs(pj,{children:[jsxs(Rae,{children:[jsx(gj,{"data-testid":`server-panel-item-name`,children:e.name||e.description}),o&&jsx(soe,{description:e.description})]}),jsxs(zae,{children:[jsx(mj,{suppressHydrationWarning:!0,children:n}),jsx(Hg,{data:n},n)]}),e.variables&&jsx(ioe,{expandText:`${t(`actions.show`,`Show`)} ${a}`,hideText:`${t(`actions.hide`,`Hide`)} ${a}`,expandByDefault:!1,expandable:!0,hideDivider:!0,children:jsx(moe,{children:Object.entries(e.variables||{}).map(([e,n])=>jsxs(hoe,{children:[jsx(_oe,{children:e}),jsxs(Gj,{children:[t(`default`,`Default`),` `,jsx(Oj,{className:`tag-grey`,children:n.default})]}),n.description&&(typeof n.description==`string`?jsx(`div`,{children:n.description}):jsx(goe,{source:n.description})),n.enum&&jsxs(Gj,{children:[t(`enum`,`Enum`),` `,jsx(voe,{children:n.enum.map(e=>jsx(Oj,{className:`tag-grey`,children:e},e))})]})]},e))})})]},e.url)}var moe=styled$1.div`
  padding-left: var(--spacing-xxs);
  & > div {
    border-bottom: 1px solid var(--border-color-secondary);
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-sm);
  }

  & > div:first-child {
    margin-top: var(--spacing-sm);
    padding-top: 0;
  }

  & > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
`,hoe=styled$1.div`
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
`,goe=styled$1(pv)`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-primary);
`,Gj=styled$1.span`
  display: flex;
  gap: var(--spacing-xxs);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-primary);
`,_oe=styled$1(Gj)`
  padding-bottom: var(--spacing-xxs);
  font-weight: var(--font-weight-semibold);
`,voe=styled$1.span`
  display: flex;
  gap: var(--spacing-xxs);
  flex-wrap: wrap;
`;function yoe({node:e}){let t=e.children[0],n=fb(),r=t?.servers??[],i=Tj(n,e.titleTranslationKey,e.title);return jsx(Sj,{header:i,className:`panel-api-docs`,isExpandable:!1,children:jsx(hj,{children:r.map(e=>jsx(boe,{server:e},e.url))})})}var boe=memo(function({server:e}){return jsx(poe,{server:e})});F();var Kj=styled(e=>jsx(`svg`,{viewBox:`0 0 16 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 2.01318C5.35105 2.01318 2.5 2.63918 2.5 4.01318V13.0132C2.5 14.3872 5.35105 15.0132 8 15.0132C10.649 15.0132 13.5 14.3872 13.5 13.0132V4.01318C13.5 2.63918 10.649 2.01318 8 2.01318ZM8 3.01318C10.8988 3.01318 12.3974 3.73023 12.4984 4.01318C12.3974 4.29613 10.8988 5.01318 8 5.01318C5.07935 5.01318 3.5803 4.28538 3.5 4.02198V4.01953C3.5803 3.74098 5.07935 3.01318 8 3.01318ZM3.5 5.22703C4.56395 5.76073 6.3213 6.01318 8 6.01318C9.6787 6.01318 11.4361 5.76073 12.5 5.22703V7.00683C12.4197 7.28538 10.9207 8.01318 8 8.01318C5.07495 8.01318 3.57545 7.28318 3.5 7.01318V5.22703ZM3.5 8.22703C4.56395 8.76073 6.3213 9.01318 8 9.01318C9.6787 9.01318 11.4361 8.76073 12.5 8.22703V10.0068C12.4197 10.2854 10.9207 11.0132 8 11.0132C5.07495 11.0132 3.57545 10.2832 3.5 10.0132V8.22703ZM8 14.0132C5.07495 14.0132 3.57545 13.2832 3.5 13.0132V11.227C4.56395 11.7607 6.3213 12.0132 8 12.0132C9.6787 12.0132 11.4361 11.7607 12.5 11.227V13.0068C12.4197 13.2854 10.9207 14.0132 8 14.0132Z`})})).attrs({"data-component-name":`icons/DatabaseIcon/DatabaseIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var qj=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`g`,{clipPath:`url(#clip0_8551_41)`,children:jsx(`path`,{d:`M6.7631 1.83344C6.59429 1.66741 6.35877 1.56488 6.09695 1.56488C5.83611 1.56488 5.60241 1.66741 5.43559 1.83344H5.43079C5.26247 1.99867 5.1577 2.22933 5.1577 2.48462C5.1577 2.74087 5.26247 2.96959 5.43079 3.13385L5.43559 3.13757C5.60241 3.30279 5.83611 3.40436 6.09695 3.40436C6.35877 3.40436 6.59429 3.30279 6.7631 3.13757L6.76559 3.13385C6.93473 2.96959 7.03851 2.74087 7.03851 2.48462C7.03851 2.22933 6.93473 1.99867 6.76559 1.83344H6.7631ZM6.09695 14.4233C6.35877 14.4233 6.59429 14.3189 6.7631 14.1557L6.76559 14.1508C6.93473 13.9878 7.03851 13.7572 7.03851 13.5037C7.03851 13.2474 6.93473 13.0177 6.76559 12.8517H6.7631C6.59429 12.6837 6.35877 12.5822 6.09695 12.5822C5.83611 12.5822 5.60241 12.6837 5.43559 12.8517H5.43079C5.26247 13.0177 5.1577 13.2474 5.1577 13.5037C5.1577 13.7572 5.26247 13.9878 5.43079 14.1508L5.43559 14.1557C5.60241 14.3189 5.83611 14.4233 6.09695 14.4233ZM11.217 11.6368C11.4499 11.5771 11.6607 11.4308 11.7893 11.2097L11.8067 11.1774C11.9211 10.9677 11.9419 10.7257 11.8809 10.5112C11.8193 10.2815 11.668 10.0784 11.4426 9.95123L11.4295 9.94264C11.2099 9.82488 10.9597 9.79929 10.7298 9.86003C10.4961 9.91705 10.2862 10.0698 10.1583 10.2891C10.0287 10.5063 10.0015 10.7569 10.0636 10.9876C10.1277 11.2144 10.2774 11.4194 10.5014 11.5476H10.5029C10.7273 11.6738 10.9815 11.6966 11.217 11.6368ZM7.06134 7.05157C6.81441 6.81054 6.47413 6.65957 6.09695 6.65957C5.72125 6.65957 5.3818 6.81054 5.13536 7.05157C4.89008 7.29179 4.73881 7.62402 4.73881 7.9922C4.73881 8.36136 4.89008 8.69456 5.13536 8.93754C5.3818 9.17663 5.72125 9.32662 6.09695 9.32662C6.47413 9.32662 6.81441 9.17663 7.06134 8.93754C7.30712 8.69456 7.45839 8.36136 7.45839 7.9922C7.45839 7.62402 7.30712 7.29179 7.06134 7.05157ZM6.51915 5.4839C7.06565 5.57201 7.55736 5.82827 7.93257 6.1984H7.93554C7.99513 6.2572 8.05338 6.32086 8.10717 6.38533L9.04542 5.85403C8.91931 5.48098 8.91352 5.09092 9.0148 4.72549C9.1487 4.23565 9.47309 3.79717 9.95934 3.52196L9.9754 3.51256C10.4564 3.24578 11.0032 3.1907 11.4969 3.32175C11.9967 3.45263 12.4477 3.77157 12.7284 4.24715V4.24813C13.0078 4.72079 13.0646 5.2636 12.9312 5.75149C12.7983 6.241 12.4724 6.68241 11.9866 6.95567L11.8585 7.02986H11.8454C11.3961 7.23947 10.9019 7.27187 10.4481 7.15508C10.0754 7.05821 9.73343 6.85508 9.46581 6.56562L8.52905 7.0953C8.63663 7.37424 8.69637 7.6752 8.69637 7.9922C8.69637 8.30823 8.63663 8.61292 8.52905 8.8938L9.46581 9.42154C9.73343 9.12835 10.0754 8.92895 10.4481 8.83209C10.9479 8.69829 11.5022 8.75531 11.9866 9.03149L12.0176 9.04574V9.04769C12.4856 9.32468 12.7997 9.75377 12.9312 10.2378C13.0646 10.7228 13.0078 11.2657 12.7284 11.7394L12.7115 11.7726L12.7095 11.7696C12.4288 12.2263 11.9866 12.5357 11.4984 12.6666C10.9974 12.7957 10.4433 12.7406 9.95934 12.4683V12.4644C9.47309 12.1892 9.1487 11.7497 9.0148 11.261C8.91352 10.8966 8.91931 10.5063 9.04542 10.1335L8.10717 9.60377C8.05338 9.66841 7.99513 9.72915 7.93554 9.78795L7.93257 9.7907C7.55736 10.1591 7.06565 10.4153 6.51915 10.5007V11.5618C6.90858 11.6415 7.25763 11.8323 7.53121 12.0999L7.53254 12.1028C7.89913 12.4597 8.12604 12.957 8.12604 13.5037C8.12604 14.0486 7.89913 14.5428 7.53254 14.9016L7.53121 14.9073C7.16214 15.2661 6.65553 15.4881 6.09695 15.4881C5.54134 15.4881 5.03407 15.2661 4.66599 14.9073H4.66466V14.9016C4.29757 14.5428 4.07017 14.0486 4.07017 13.5037C4.07017 12.957 4.29757 12.4597 4.66466 12.1028V12.0999H4.66599C4.93907 11.8323 5.28862 11.6415 5.67706 11.5618V10.5007C5.13006 10.4153 4.63984 10.1591 4.26513 9.7907L4.26116 9.78795C3.79278 9.32759 3.5 8.69456 3.5 7.9922C3.5 7.29179 3.79278 6.65876 4.26116 6.1984H4.26513C4.63984 5.82827 5.13006 5.57201 5.67706 5.4839V4.42744C5.28862 4.34483 4.93907 4.15418 4.66599 3.88836H4.66466V3.88545C4.29757 3.52487 4.07017 3.03131 4.07017 2.48462C4.07017 1.94068 4.29757 1.44242 4.66466 1.08363L4.66599 1.08184C5.03407 0.722079 5.54134 0.5 6.09695 0.5C6.65553 0.5 7.16214 0.722079 7.53121 1.08184V1.08363H7.53254C7.89913 1.44242 8.12604 1.94068 8.12604 2.48462C8.12604 3.03131 7.89913 3.52487 7.53254 3.88545L7.53121 3.88836C7.25763 4.15418 6.90858 4.34483 6.51915 4.42744V5.4839ZM11.7893 4.77959L11.7816 4.76825C11.652 4.5546 11.4454 4.41222 11.217 4.3505C10.9815 4.28976 10.7273 4.31551 10.5014 4.4417H10.5029C10.2774 4.56691 10.1267 4.77198 10.0636 5.00167C10.0015 5.22942 10.0287 5.48098 10.1583 5.70014L10.1626 5.70597C10.2925 5.92222 10.4991 6.06736 10.7298 6.12616C10.9616 6.18982 11.22 6.16325 11.4426 6.0361L11.4547 6.03043C11.6738 5.9023 11.8198 5.70014 11.8809 5.47807C11.9429 5.24934 11.9183 4.99876 11.7893 4.77959Z`,fill:`#1A1919`})}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_8551_41`,children:jsx(`rect`,{width:`9.5`,height:`15`,fill:`white`,transform:`translate(3.5 0.5)`})})})]})).attrs({"data-component-name":`icons/KafkaIcon/KafkaIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Jj=styled(e=>jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`g`,{clipPath:`url(#clip0_15358_36168)`,children:jsx(`path`,{d:`M13.1 6.8695H9.555C9.2715 6.8355 9.0555 6.586 9.0555 6.292V2.572C9.056 2.255 8.7985 2 8.484 2H7.2435C6.926 2 6.671 2.2575 6.671 2.5725V6.3315C6.6555 6.6155 6.4215 6.8435 6.1405 6.8695H5.212C4.939 6.836 4.728 6.607 4.71 6.33V2.5725C4.71 2.255 4.4525 2 4.138 2H2.897C2.58 2 2.325 2.2575 2.325 2.5725V7.442V13.4275C2.325 13.745 2.5825 14 2.897 14H4.1375H7.2425H8.483H13.1025C13.42 14 13.675 13.7425 13.675 13.4275V7.442C13.673 7.125 13.4175 6.8695 13.1 6.8695ZM11.4665 10.9745C11.4665 11.292 11.209 11.5495 10.8945 11.5495H9.6545C9.3365 11.5495 9.081 11.292 9.081 10.9745V9.804C9.081 9.486 9.3385 9.2295 9.6545 9.2295H10.8945C11.2125 9.2295 11.4665 9.487 11.4665 9.804V10.9745Z`,fill:`#1A1C21`})}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_15358_36168`,children:jsx(`rect`,{width:`12`,height:`12`,fill:`white`,transform:`translate(2 2)`})})})]})).attrs({"data-component-name":`icons/RabbitMQIcon/RabbitMQIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na();var Yj=({expanded:e})=>{let t=fb();return jsxs(xoe,{children:[jsx(`span`,{children:t(`moreDetails`,`More details`)}),jsx(ta,{icon:jsx(e?qg:bg,{}),size:`small`,variant:`ghost`,"aria-label":`More details`})]})},xoe=styled$1.span`
  cursor: pointer;
  align-items: center;
  display: flex;
  & > span {
    color: var(--link-color-primary);
  }

  & path {
    fill: var(--link-color-primary);
  }
`,Soe=new Set([`color`,`fontFamily`,`fontSize`,`fontStyle`,`fontWeight`,`lineHeight`,`letterSpacing`,`marginBottom`,`marginTop`,`textAlign`]),Xj=styled.span.withConfig({shouldForwardProp:e=>!Soe.has(e)}).attrs({"data-component-name":`Typography/Typography`})`
  color: ${({color:e})=>e||`var(--text-color-primary)`};
  font-family: ${({fontFamily:e})=>e||`var(--font-family-base)`};
  font-size: ${({fontSize:e})=>e||`var(--font-size-base)`};
  font-style: ${({fontStyle:e})=>e};
  font-weight: ${({fontWeight:e})=>e||`var(--font-weight-regular)`};
  line-height: ${({lineHeight:e})=>e||`var(--line-height-base)`};
  letter-spacing: ${({letterSpacing:e})=>e};
  margin-bottom: ${({marginBottom:e})=>e};
  margin-top: ${({marginTop:e})=>e};
  text-align: ${({textAlign:e})=>e};
`;function Zj(e,t){useEffect(()=>{let n=n=>{e.current&&!e.current.contains(n.target)&&t()},r=e=>{e.key===`Escape`&&t()};return document.addEventListener(`mousedown`,n),document.addEventListener(`keydown`,r),()=>{document.removeEventListener(`mousedown`,n),document.removeEventListener(`keydown`,r)}},[t,e])}var Coe=e=>typeof e==`string`?e:e?.raw||``;function woe({externalDocs:e,compact:t}){if(!e||!e.url)return null;let n=Coe(e.description);return jsx(Toe,{$compact:!!t,"data-testid":`external-documentation`,children:jsx(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,"aria-label":n||e.url,children:n||e.url})})}var Qj=memo(woe),Toe=styled$1.div`
  ${k_};
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  ${({$compact:e})=>e?``:`margin: var(--spacing-md) 0 0`}

  a {
    font-size: inherit;
  }
`;na();var Eoe=styled$1(bj)`
  margin-top: var(--spacing-xs);
  border: var(--panel-border, 1px solid var(--border-color-primary));
  border-radius: var(--panel-border-radius, var(--border-radius));
  font-size: var(--font-size-base);

  &&& {
    margin-bottom: var(--spacing-lg);
  }
`,Doe=styled$1.div`
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xs);
  color: var(--link-color-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--layer-color, var(--bg-color));
  border-bottom: var(--panel-border, 1px solid var(--border-color-primary));
  border-radius: var(--panel-border-radius, var(--border-radius))
    var(--panel-border-radius, var(--border-radius)) 0 0;
`,Ooe=styled$1(ta)`
  margin-left: auto;
  font-size: var(--font-size-sm);
`,koe=styled$1.span`
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-color-primary);
`,Aoe=styled$1.div`
  display: block;
  overflow: hidden;
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--text-color-primary);
  line-height: var(--line-height-base);
`,joe=styled$1.span`
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xxs);
  text-decoration: ${e=>e.$deprecated?`line-through`:`none`};
`,$j=styled$1.span`
  color: var(--text-color-description);
  line-height: var(--line-height-base);
`,Moe=styled$1.span`
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xxs);
  margin-left: var(--spacing-xxs);
  color: var(--text-color-secondary);
  line-height: var(--line-height-base);
`,Noe=styled$1.div`
  background: var(--bg-color-modal-overlay, rgba(0, 0, 0, 0.4));
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-index-popover, 200);
  left: 0;
  top: 0;
  pointer-events: auto;
`,Poe=styled$1.div`
  background: var(--bg-color);
  box-shadow: var(--bg-raised-shadow, 0 8px 32px rgba(0, 0, 0, 0.15));
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  width: 720px;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  overflow-y: scroll;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);

  .tag-grey span {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
  }
`,Foe=styled$1(ta)`
  position: absolute;
  right: var(--spacing-md);
  top: var(--spacing-md);
`,Ioe=styled$1(Xj)`
  display: flex;
  align-items: center;
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  margin-bottom: var(--spacing-lg);

  svg {
    margin-right: var(--spacing-xs);
  }
`,Loe=styled$1.div`
  background: var(--layer-color, var(--bg-color));
  padding: var(--spacing-base);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color-secondary, var(--border-color-primary));
  width: 100%;
  margin-top: var(--spacing-base);
`,Roe=styled$1.div`
  display: flex;
  align-items: center;
  gap: var(--spacing-xxs);
  margin: 0 0 var(--spacing-xs);
`,zoe=styled$1.p`
  font-size: var(--font-size-base);
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-base);
`,Boe=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-description);
  margin-bottom: var(--spacing-xs);
`,Voe=styled$1.div`
  width: 100%;
  margin-top: var(--spacing-md);
`,Hoe=styled$1.div`
  margin-bottom: var(--spacing-xs);
`,Uoe=styled$1.span`
  color: var(--text-color-primary);
  font-weight: var(--font-weight-medium);
`,Woe=styled$1.div`
  padding-left: var(--spacing-xs);
  margin-bottom: var(--spacing-xxs);
`,Goe=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--text-color-secondary);
`,Koe=styled$1.div`
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  flex: 1;
`,qoe=styled$1.div`
  flex: 1;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  word-break: break-word;
`,eM=styled$1.a`
  color: var(--link-color-primary);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
`,tM=styled$1.div`
  margin-top: var(--spacing-xxs);
`,Joe=styled$1.span`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-secondary);
  display: block;
  margin-bottom: var(--spacing-xxs);
`,Yoe=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xxs);
`,nM=styled$1.span`
  display: inline-block;
  font-size: var(--font-size-sm);
  font-family: var(--font-family-monospaced);
  padding: 0 var(--spacing-xxs);
  border-radius: var(--tag-border-radius);
  background: var(--tag-bg-color, var(--border-color-secondary));
  color: var(--text-color-secondary);
`,Xoe=styled$1.button`
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xxs);
  border: 0;
  padding: 0;
  margin-top: var(--spacing-xxs);
  margin-bottom: var(--spacing-xxs);
  background: transparent;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  cursor: pointer;
`,Zoe=styled$1.div`
  max-height: ${e=>e.$isOpen?`1000px`:`0`};
  opacity: ${e=>e.$isOpen?`1`:`0`};
  overflow: hidden;
  transition:
    max-height 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
`,Qoe=styled$1.span`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: ${e=>e.$isOpen?`rotate(90deg)`:`rotate(0deg)`};
  transition: transform 0.3s ease-in-out;
`,rM=styled$1.div`
  border-radius: var(--tag-border-radius);
  padding: 0 var(--spacing-xxs);
  font-family: var(--font-family-monospaced);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-primary);
  background-color: var(--tag-bg-color, var(--border-color-secondary));
  width: fit-content;
`,$oe=styled$1(rM)`
  color: var(--color-warm-grey-8);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin-bottom: var(--spacing-xs);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xxs);
`;function iM({label:e}){return jsxs(ese,{children:[jsx(rM,{className:`tag-grey`,children:e}),` `,jsx(`hr`,{})]})}var ese=styled$1.div`
  font-size: var(--font-size-sm);
  width: 100%;
  display: flex;
  align-items: center;
  margin: var(--spacing-base) 0;

  hr {
    height: 1px;
    border: none;
    background: var(--border-color-primary);
    width: 100%;
    margin-left: var(--spacing-xs);
  }
`;function aM(e,t){return e.length>t}function tse(e,t){return aM(e,t)?`${e.slice(0,t)}...`:e}function oM(e){return!e||e.length===0?[]:Array.from(new Set(e.map(e=>e.trim()).filter(Boolean)))}function sM({text:e,maxChars:t=32,tip:n,ariaLabel:r,arrowPosition:i=`center`,large:a=!1}){let o=tse(e,t),s=n??(aM(e,t)?e:void 0);return s?jsx(lM,{children:jsx(zg,{placement:`bottom`,arrowPosition:i,tip:s,children:jsx(nse,{role:`button`,tabIndex:0,"aria-label":r??e,children:jsx(nM,{children:jsx(cM,{$large:a,children:o})})})})}):jsx(lM,{children:jsx(nM,{children:jsx(cM,{$large:a,children:o})})})}var cM=styled$1.span`
  display: inline-flex;
  font-family: var(--font-family-base);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 16rem;
  color: var(--color-warm-grey-8);
  padding: ${({$large:e})=>e?`0 var(--spacing-xxs)`:``};
  &&& {
    font-size: ${({$large:e})=>e?`var(--font-size-base)`:`var(--font-size-sm)`};
  }
`,nse=styled$1.span`
  cursor: default;

  &:focus-visible {
    outline: 1px solid var(--link-color-primary);
    border-radius: var(--border-radius-md);
  }
`,lM=styled$1.span`
  display: inline-block;
  vertical-align: baseline;
  line-height: var(--line-height-base);
  margin: calc(var(--spacing-unit) / 2) var(--spacing-xxs) calc(var(--spacing-unit) / 2) 0;
  &:last-child {
    margin-right: 0;
  }
`,uM=24,rse=new Set([`http`,`apiKey`,`httpApiKey`,`oauth2`,`openIdConnect`,`mutualTLS`]);function dM({scheme:e}){let t=fb(),{type:n,name:r}=e;return!n||!r?null:jsxs(Loe,{children:[jsxs(Roe,{children:[jsx(zoe,{children:r}),e.deprecated&&jsx(W_,{children:t(`badges.deprecated`,`deprecated`)})]}),e.description&&jsx(Boe,{children:typeof e.description==`string`?e.description:jsx(pv,{source:e.description})}),jsxs(Voe,{children:[n===`http`&&jsx(ise,{scheme:e,translate:t}),(n===`apiKey`||n===`httpApiKey`)&&jsx(ase,{scheme:e,translate:t}),n===`oauth2`&&jsx(ose,{scheme:e,translate:t}),n===`openIdConnect`&&jsx(cse,{scheme:e,translate:t}),!rse.has(n)&&jsxs(Fragment$1,{children:[jsx(fM,{label:`Scheme type:`,value:n}),jsx(pM,{scopes:e.scopes,translate:t})]})]})]})}function ise({scheme:e,translate:t}){return jsxs(Fragment$1,{children:[jsx(fM,{label:t(`httpAuthorizationScheme`,`HTTP Authorization Scheme`),value:e.type}),jsx(fM,{label:t(`bearerFormat`,`Bearer Format`),value:e.bearerFormat}),jsx(pM,{scopes:e.scopes,translate:t})]})}function ase({scheme:e,translate:t}){if(!e.paramName)return jsxs(Fragment$1,{children:[jsx(fM,{label:`Scheme type:`,value:e.type}),jsx(fM,{label:`Location:`,value:e.in}),jsx(pM,{scopes:e.scopes,translate:t})]});let n=e.in?`${e.in.charAt(0).toUpperCase()+e.in.slice(1)} `:``;return jsxs(Fragment$1,{children:[jsx(fM,{label:`${n}${t(`parameterName`,`parameter name`)}:`,value:e.paramName}),jsx(pM,{scopes:e.scopes,translate:t})]})}function ose({scheme:e,translate:t}){let n=e.flows;if(!n)return jsx(Fragment$1,{});let r=use(n),i=Object.entries(n).filter(([,e])=>e!=null);return jsxs(Fragment$1,{children:[e.oauth2MetadataUrl&&jsx(fM,{label:`${t(`oauth2MetadataUrl`,`OAuth2 Metadata URL`)}:`,value:jsx(eM,{href:e.oauth2MetadataUrl,target:`_blank`,rel:`noopener noreferrer`,children:e.oauth2MetadataUrl})}),i.map(([n,r])=>jsx(sse,{flowType:n,flow:r,requiredScopes:e.scopes,translate:t},n)),jsx(pM,{scopes:e.scopes,scopeDescriptions:r,translate:t})]})}function sse({flowType:e,flow:t,requiredScopes:n,translate:r}){let[i,a]=useState(!1),o=jE(),{authorizationUrl:s,tokenUrl:c,refreshUrl:l,deviceAuthorizationUrl:u,scopes:d}=t,f=lse(n,d);return jsxs(Hoe,{children:[jsxs($oe,{children:[jsx(`span`,{children:r(`flowType`,`Flow type`)}),jsx(Uoe,{children:e})]}),jsxs(Woe,{children:[s&&jsx(fM,{label:`${r(`authorizationUrl`,`Authorization URL`)}:`,value:jsx(eM,{href:s,children:s})}),u&&jsx(fM,{label:`${r(`deviceAuthorizationUrl`,`Device Authorization URL`)}:`,value:jsx(eM,{href:u,children:u})}),c&&jsx(fM,{label:`${r(`tokenUrl`,`Token URL`)}:`,value:jsx(eM,{href:c,children:c})}),l&&jsx(fM,{label:`${r(`refreshUrl`,`Refresh URL`)}:`,value:jsx(eM,{href:l,children:l})}),f.length>0&&jsxs(tM,{children:[jsxs(Xoe,{type:`button`,onClick:()=>{let t=!i;tD.has(e)&&o.sendSecurityOptionalScopesExpandedMessage([{...VE.securityOptionalScopesToggle,expanded:t,flow:e,optionalScopesCount:f.length,requiredScopesCount:oM(n).length}]),a(t)},children:[i?r(`hideOptionalScopes`,`Hide optional scopes`):r(`showOptionalScopes`,`Show optional scopes`),jsx(Qoe,{$isOpen:i,children:jsx(bg,{size:`var(--font-size-base)`,color:`var(--tree-content-color-default)`})})]}),jsx(Zoe,{$isOpen:i,children:f.map(([e,t])=>jsx(fM,{label:jsx(sM,{text:e,maxChars:uM,large:!0}),value:t||` `},e))})]})]})]})}function cse({scheme:e,translate:t}){return jsxs(Fragment$1,{children:[e.openIdConnectUrl&&jsx(fM,{label:t(`connectUrl`,`Connect URL`),value:jsx(eM,{href:e.openIdConnectUrl,target:`_blank`,rel:`noopener noreferrer`,children:e.openIdConnectUrl})}),jsx(pM,{scopes:e.scopes,translate:t})]})}function fM({label:e,value:t}){return t?jsxs(Goe,{children:[jsx(Koe,{children:e}),jsx(qoe,{children:t})]}):null}function lse(e,t){if(!t)return[];let n=new Set(oM(e));return Object.entries(t).filter(([e])=>!n.has(e.trim()))}function pM({scopes:e,scopeDescriptions:t,translate:n}){let r=oM(e);return r.length===0?null:t&&t.size>0?jsxs(Fragment$1,{children:[jsx(fM,{label:n(`requiredScopes`,`Required scopes`),value:` `}),r.map(e=>jsx(fM,{label:jsx(sM,{text:e,maxChars:uM,large:!0}),value:t.get(e)||` `},e))]}):jsxs(tM,{children:[jsx(Joe,{children:n(`requiredScopes`,`Required scopes`)}),jsx(Yoe,{children:r.map(e=>jsx(sM,{text:e,maxChars:uM,large:!0},e))})]})}function use(e){if(!e)return null;let t=new Map;return Object.values(e).forEach(e=>{e?.scopes&&Object.entries(e.scopes).forEach(([e,n])=>{let r=e.trim();r&&!t.has(r)&&t.set(r,n)})}),t.size>0?t:null}var mM=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
`,hM=styled$1.span`
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-lg);
`,gM=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-xxs) / 2);
`,_M=styled$1.span`
  color: var(--text-color-description);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,vM=styled$1.span`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,yM=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,bM=styled$1.span`
  display: flex;
  flex-direction: column;
`;lb();var dse=e=>{let t=e.title||e.summary||e.description;return jsxs(mM,{children:[jsx(hM,{children:`Info`}),e.url&&jsxs(gM,{children:[jsx(_M,{children:`Host:`}),jsx(vM,{children:jsx(bM,{children:e.url.split(` `).map((e,t)=>jsx(`span`,{children:e},t))})})]}),e.pathname&&jsxs(gM,{children:[jsx(_M,{children:`Pathname:`}),jsx(vM,{children:e.pathname})]}),jsxs(gM,{children:[jsx(_M,{children:`Protocol${e.protocolVersion?` and version`:``}:`}),jsx(vM,{children:`${e.protocol}${e.protocolVersion?`, ${e.protocolVersion}`:``}`})]}),t&&jsxs(Fragment$1,{children:[jsx(xM,{}),e.title&&jsxs(gM,{children:[jsx(_M,{children:`Title:`}),jsx(vM,{children:e.title})]}),e.summary&&jsxs(gM,{children:[jsx(_M,{children:`Summary:`}),jsx(vM,{children:e.summary})]}),e.description&&jsxs(gM,{children:[jsx(_M,{children:`Description:`}),typeof e.description==`string`?jsx(vM,{children:e.description}):jsx(vM,{children:jsx(pv,{source:e.description})})]})]}),e.externalDocs?.url&&jsx(yM,{children:jsx(Qj,{externalDocs:{url:e.externalDocs.url,description:e.externalDocs.description==null?void 0:ib(e.externalDocs.description)||void 0},compact:!0})})]})},fse=e=>jsxs(mM,{children:[jsx(hM,{children:`Variables`}),e.map(({key:e,value:t},n,r)=>jsxs(Fragment$1,{children:[jsxs(gM,{children:[jsx(_se,{children:e}),t.default&&jsxs(SM,{children:[`Default`,jsx(xb,{size:`small`,borderless:!0,textTransform:`none`,children:t.default})]}),t.description&&(typeof t.description==`string`?jsx(CM,{children:t.description}):jsx(CM,{children:jsx(pv,{source:t.description})})),t.enum&&jsxs(SM,{children:[`Enum`,jsx(vse,{children:t.enum.map(e=>jsx(xb,{size:`small`,borderless:!0,textTransform:`none`,children:e},e))})]})]}),n<r.length-1&&jsx(xM,{})]},e))]}),pse=e=>jsxs(mM,{children:[jsx(hM,{children:`Tags`}),e.map((e,t,n)=>jsxs(Fragment$1,{children:[jsxs(gM,{children:[jsx(vM,{children:e.name}),e.description&&(typeof e.description==`string`?jsx(_M,{children:e.description}):jsx(_M,{children:jsx(pv,{source:e.description})})),e.externalDocs&&jsx(yM,{children:jsx(Qj,{externalDocs:{url:e.externalDocs.url,description:e.externalDocs.description?e.externalDocs.description.toString():void 0},compact:!0})})]}),t<n.length-1&&jsx(xM,{})]},e.name))]}),mse=e=>jsxs(mM,{children:[jsx(hM,{children:`Security`}),e.map((e,t)=>jsxs(Fragment$1,{children:[t>0&&jsx(iM,{label:`or`}),e.schemes.map((e,t)=>jsxs(Fragment$1,{children:[t>0&&jsx(iM,{label:`and`}),jsx(dM,{scheme:e})]},`${e.name}-${t}`))]},t))]}),hse=({broker:e})=>{let t=Object.entries(e.variables||{}).map(([e,t])=>({key:e,value:t})),n=e.tags&&e.tags.length>0,r=t.length>0;return jsxs(gse,{"data-component-name":`BrokerOverviewSection/BrokerOverviewSection`,children:[dse(e),r&&jsxs(Fragment$1,{children:[jsx(xM,{}),fse(t)]}),n&&e.tags&&jsxs(Fragment$1,{children:[jsx(xM,{}),pse(e.tags)]}),e.security&&e.security.length>0&&jsxs(Fragment$1,{children:[jsx(xM,{}),mse(e.security)]})]})},gse=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
`,xM=styled$1.div`
  border-bottom: 1px solid var(--border-color-secondary);
`,SM=styled$1.span`
  display: flex;
  gap: var(--spacing-xxs);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-primary);
`,_se=styled$1(SM)`
  padding-bottom: var(--spacing-xxs);
  font-weight: var(--font-weight-semibold);
`,CM=styled$1.p`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-primary);
  margin: 0;
`,vse=styled$1.span`
  display: flex;
  gap: var(--spacing-xxs);
  flex-wrap: wrap;
`,yse=({binding:e,jsonSamplesDepth:t})=>{let{key:n,value:r}=e;switch(n){case`kafka`:return jsxs(Fragment$1,{children:[r.schemaRegistryUrl&&jsxs(gM,{children:[jsx(_M,{"data-testid":`schema-registry-url-label`,children:`Schema Registry URL:`}),jsx(yM,{children:jsx(Qj,{externalDocs:{url:r.schemaRegistryUrl},compact:!0})})]}),r.schemaRegistryUrl&&jsxs(gM,{children:[jsx(_M,{"data-testid":`schema-registry-vendor-label`,children:`Schema Registry Vendor:`}),jsx(vM,{"data-testid":`schema-registry-vendor-value`,children:r.schemaRegistryVendor})]}),r.bindingVersion&&jsxs(gM,{children:[jsx(_M,{"data-testid":`binding-version-label`,children:`Binding Version:`}),jsx(vM,{"data-testid":`binding-version-value`,children:r.bindingVersion})]})]});default:return jsx(T_,{data:r,expandLevel:t})}},bse=({broker:e,panelLabel:t})=>{let{jsonSamplesDepth:n}=I(ds),r=useMemo(()=>Object.entries(e.bindings||{}).map(([e,t])=>({key:e,value:t}))[0],[e.bindings]);return jsxs(mM,{"data-component-name":`BrokerBindingsSection/BrokerBindingsSection`,children:[jsxs(hM,{children:[t,` Configuration`]}),yse({binding:r,jsonSamplesDepth:n})]})};na(),zi(),qf();var xse=[{label:`Overview`,value:0}],Sse=({protocol:e})=>{switch(e){case`kafka`:return jsx(qj,{size:`24px`});case`amqp`:return jsx(Jj,{size:`24px`});default:return jsx(Kj,{size:`24px`})}},Cse=({broker:e,onClose:t,panelLabel:n})=>{let[r,i]=useState(0),a=useRef(null),o=useId();Zj(a,t),see(a);let s=[...xse];return e.bindings&&s.push({label:`Configuration`,value:2}),jsx(wse,{"data-component-name":`BrokerModal/BrokerModal`,children:jsxs(Tse,{ref:a,tabIndex:0,role:`dialog`,"aria-modal":`true`,"aria-labelledby":o,children:[jsx(Ese,{onClick:t,"data-testid":`close`,variant:`ghost`,icon:jsx(Ri,{})}),jsxs(Dse,{id:o,children:[jsx(Sse,{protocol:e.protocol||``}),e.protocol,`: `,e.name]}),jsx(dO,{value:r,onChange:({value:e})=>i(e),options:s}),jsxs(Ose,{children:[r===0&&jsx(hse,{broker:e}),r===2&&jsx(bse,{broker:e,panelLabel:n})]})]})})},wse=styled$1.div`
  background: var(--bg-color-modal-overlay);
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-index-popover);
  left: 0;
  top: 0;
  pointer-events: auto;
`,Tse=styled$1.div`
  background: var(--bg-color);
  box-shadow: var(--bg-raised-shadow);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  width: 720px;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  overflow-y: scroll;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  .tag-grey span {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
  }
`,Ese=styled$1(ta)`
  position: absolute;
  right: var(--spacing-md);
  top: var(--spacing-md);
`,Dse=styled$1(Xj)`
  display: flex;
  align-items: center;
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  margin-bottom: var(--spacing-lg);
  svg {
    margin-right: var(--spacing-xs);
  }
`,Ose=styled$1.div`
  padding-top: var(--spacing-base);
  width: 100%;
`;qf(),Ni();function kse(e){switch(e){case`kafka`:return jsx(qj,{size:`20px`});case`amqp`:return jsx(Jj,{size:`20px`});default:return jsx(Kj,{size:`20px`})}}var Ase=memo(function({broker:e,showMoreDetailsButton:t,onOpenModal:n}){return jsxs(zse,{"data-component-name":`BrokerPanel/BrokerItem`,children:[jsxs(Fse,{children:[jsx(Pse,{children:kse(e.protocol)}),jsx(Ise,{children:e.name})]}),e.url&&jsxs(Lse,{children:[jsx(bM,{children:e.url.split(` `).map((e,t)=>jsx(`span`,{children:e},t))}),jsx(Hg,{data:e.url},e.url)]}),!t&&jsx(Rse,{onClick:()=>n(e),children:jsx(Yj,{expanded:!1})})]})});function jse({node:e}){let t=e.children[0],n=t?.brokers??[],r=fb(),i=jE(),a=Tj(r,e.titleTranslationKey,e.title),o=t?.panelLabel||a||`Brokers`,s=!e.title,[c,l]=useState(null),u=useRef(null);lr(c!==null);let d=useCallback(e=>{i.sendServerModalOpenedMessage([{...VE.serverModalButton,protocol:eD(e.protocol),serversCount:n.length}]),u.current=document.activeElement instanceof HTMLElement?document.activeElement:null,l(e)},[i,n.length]),f=useCallback(()=>{l(null),u.current?.focus()},[]),p=jsx(Bse,{children:n.map(e=>jsx(Ase,{broker:e,showMoreDetailsButton:s,onOpenModal:d},e.name))}),m=c&&jsx(Mi,{mountId:`api-content`,children:jsx(Cse,{broker:c,onClose:f,panelLabel:o})});return s?jsxs(Nse,{children:[p,m]}):jsxs(Mse,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:[p,m]})}var Mse=styled$1(bj)`
  [data-component-name='Panel/PanelBody'] {
    padding: 0;
  }
`,Nse=styled$1.div`
  background-color: var(--layer-color);
  border: var(--panel-border);
  border-radius: var(--panel-border-radius);
  overflow: hidden;

  &:not(:last-child) {
    margin-bottom: var(--panel-gap-vertical);
  }
`,Pse=styled$1.div`
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
`,Fse=styled$1.div`
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-xxs);
`,Ise=styled$1.span`
  font-weight: var(--font-weight-semibold);
`,Lse=styled$1.span`
  padding-left: var(--spacing-lg);
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
`,Rse=styled$1.div`
  padding-left: var(--spacing-lg);
`,zse=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--panel-body-text-color);
`,Bse=styled$1.div`
  > *:not(:last-child) {
    border-bottom: var(--panel-border-local, 1px solid var(--border-color-secondary));
  }
`;function wM(e){let{bindingVersion:t,...n}=e;return n}var TM=styled$1(bj)`
  [data-component-name='Panel/PanelBody'] {
    background-color: var(--layer-color-ontonal);
    padding: 0;

    > *:not(:last-child) {
      border-bottom: var(--panel-border-local);
    }

    & div {
      border-bottom: none;
    }
  }
`,EM=styled$1(TM)`
  [data-component-name='Panel/PanelBody'] {
    & div {
      padding: 0;
    }

    .code-block-header {
      padding-right: var(--spacing-sm);
    }
  }
`,DM=styled$1.div`
  min-height: 40px;
  padding: var(--spacing-xs) var(--spacing-md);
  align-items: center;
  display: flex;
  width: 100%;
  gap: var(--spacing-md);

  & > *:first-child {
    flex: 1;
  }

  & > *:nth-child(2) {
    flex: 2;
  }
`,OM=styled$1.span`
  color: var(--text-color-description);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,kM=styled$1.span`
  display: inline-flex;
  align-items: center;
`,AM=styled$1(xb)`
  text-transform: none;
`,jM=styled$1.div`
  padding: var(--spacing-xs) var(--spacing-md);
`,MM=styled$1.div`
  padding: var(--spacing-sm) var(--spacing-md);
`,Vse={"cleanup.policy":`Cleanup policy`,"retention.ms":`Retention, ms`,"retention.bytes":`Retention, bytes`,"delete.retention.ms":`Delete retention, ms`,"max.message.bytes":`Max message bytes`,"confluent.key.schema.validation":`Confluent key schema validation`,"confluent.key.subject.name.strategy":`Confluent key subject name strategy`,"confluent.value.schema.validation":`Confluent value schema validation`,"confluent.value.subject.name.strategy":`Confluent value subject name strategy`},Hse=memo(function({topicConfiguration:e}){return jsx(Gse,{children:Object.entries(e).map(([e,t])=>jsxs(Kse,{children:[jsx(`span`,{children:Vse[e]??e}),jsx(`span`,{children:Array.isArray(t)?t.join(`, `):String(t)})]},e))})}),NM=memo(function({bindingValue:e,jsonSamplesDepth:t}){return jsx(MM,{children:jsx(T_,{data:wM(e),expandLevel:t})})});function Use({node:e}){let t=e.children[0],[n,r]=useState(!1),{jsonSamplesDepth:i}=I(ds),a=hD();if(!t)return jsx(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1});let{bindingKey:o,bindingValue:s}=t;if(o===`kafka`){let t=s,{topicConfiguration:o}=t,c=o&&Object.keys(o).length>0,l=t.topic||t.partitions!=null||t.replicas!=null||c,u=t.groupId||t.clientId;return jsxs(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:[t.topic&&jsxs(DM,{children:[jsx(OM,{children:`Topic`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.topic})})]}),t.partitions!=null&&jsxs(DM,{children:[jsx(OM,{children:`Partitions`}),jsx(kM,{children:jsx(AM,{borderless:!0,color:`blue`,children:t.partitions})})]}),t.replicas!=null&&jsxs(DM,{children:[jsx(OM,{children:`Replicas`}),jsx(kM,{children:jsx(AM,{borderless:!0,color:`green`,children:t.replicas})})]}),t.groupId&&jsxs(DM,{children:[jsx(OM,{children:`Group ID`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.groupId.enum?t.groupId.enum.join(`, `):t.groupId.type})})]}),t.clientId&&jsxs(DM,{children:[jsx(OM,{children:`Client ID`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.clientId.enum?t.clientId.enum.join(`, `):t.clientId.type})})]}),c&&jsxs(Fragment$1,{children:[jsx(Wse,{onClick:()=>{let e=!n;a({depth:0,expanded:e,childCount:Object.keys(o??{}).length,kind:`binding`}),r(e)},children:jsx(Yj,{expanded:n})}),n&&jsx(Hse,{topicConfiguration:o})]}),!l&&!u&&jsx(NM,{bindingValue:s,jsonSamplesDepth:i})]})}return jsx(EM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:jsx(NM,{bindingValue:s,jsonSamplesDepth:i})})}var Wse=styled$1.div`
  min-height: 40px;
  padding: var(--spacing-xs) var(--spacing-md);
  align-items: center;
  display: flex;
  width: 100%;
  gap: var(--spacing-md);
  background-color: var(--layer-color);
  cursor: pointer;

  &:hover {
    background-color: var(--layer-color-ontonal-hover);
  }
`,Gse=styled$1.div`
  padding-left: var(--spacing-xs);
  background-color: var(--layer-color);

  & div {
    border-bottom: none;
  }
`,Kse=styled$1.div`
  min-height: 30px;
  padding: var(--spacing-xs) var(--spacing-md);
  align-items: start;
  display: flex;
  width: 100%;
  gap: var(--spacing-md);

  & > * {
    flex: 1;
  }
`;function qse({node:e}){let t=e.children[0],{jsonSamplesDepth:n}=I(ds);if(!t)return jsx(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1});let{bindingKey:r,bindingValue:i,groupIdSchemaId:a,clientIdSchemaId:o}=t;return r===`kafka`&&(a||o)?jsxs(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:[a&&jsx(jM,{children:jsx(uj,{schemaId:a,expandByDefault:!0,level:1})}),o&&jsx(jM,{children:jsx(uj,{schemaId:o,expandByDefault:!0,level:1})})]}):jsx(EM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:jsx(MM,{children:jsx(T_,{data:wM(i),expandLevel:n})})})}var Jse=memo(function({keySchemaId:e,bindingValue:t,messageKey:n}){let r=useMemo(()=>n?{asyncSection:`messages`,messageKey:n,t:`bindings`}:null,[n]);return jsxs(Fragment$1,{children:[e&&jsx(jM,{children:jsx(wc.Provider,{value:r,children:jsx(uj,{schemaId:e,expandByDefault:!0,level:1})})}),t.schemaIdLocation&&jsxs(DM,{children:[jsx(OM,{children:`Schema ID Location`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.schemaIdLocation})})]}),t.schemaIdPayloadEncoding&&jsxs(DM,{children:[jsx(OM,{children:`Schema ID payload encoding`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.schemaIdPayloadEncoding})})]}),t.schemaLookupStrategy&&jsxs(DM,{children:[jsx(OM,{children:`Schema lookup strategy`}),jsx(kM,{children:jsx(AM,{borderless:!0,children:t.schemaLookupStrategy})})]})]})}),Yse=memo(function({bindingValue:e,jsonSamplesDepth:t}){return jsx(MM,{children:jsx(T_,{data:wM(e),expandLevel:t})})});function Xse({node:e}){let t=e.children[0],{jsonSamplesDepth:n}=I(ds),r=useContext(bc)??``,i=I(useMemo(()=>np({itemId:r,key:`activeMessageKey`}),[r]));if(!t)return jsx(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1});let{bindingsByMessageKey:a}=t,o=Object.keys(a),s=i&&a[i]?i:o[0],c=s?a[s]:void 0;if(!c)return null;let{bindingKey:l,bindingValue:u,keySchemaId:d}=c;return l===`kafka`?jsx(TM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:jsx(Jse,{keySchemaId:d,bindingValue:u,messageKey:s})}):jsx(EM,{header:e.title,className:`panel-api-docs`,isExpandable:!1,children:jsx(Yse,{bindingValue:u,jsonSamplesDepth:n})})}var Zse=styled$1(e=>{let t=`list-icon-clip-${useId().replace(/[^a-zA-Z0-9-]/g,``)}`;return jsxs(`svg`,{viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"data-component-name":`icons/ListIcon/ListIcon`,...e,children:[jsxs(`g`,{clipPath:`url(#${t})`,children:[jsx(`path`,{d:`M0 11H22`,strokeLinecap:`round`}),jsx(`circle`,{cx:`4`,cy:`11`,r:`4`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:t,children:jsx(`rect`,{width:`22`,height:`22`,fill:`white`})})})]})}).withConfig({shouldForwardProp:e=>e!==`size`})`
  path,
  circle {
    fill: currentColor;
    stroke: currentColor;
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;function Qse(e){let t=[];return e.exchanges.length>0&&t.push(`${e.exchanges.length} exchange${e.exchanges.length>1?`s`:``}`),e.queues.length>0&&t.push(`${e.queues.length} queue${e.queues.length>1?`s`:``}`),t.length===0?``:`Used in ${t.join(` and `)}`}var PM=memo(function({reference:e,to:t,isActive:n,onReferencedInClick:r}){let i=useCallback(()=>r(e.label),[r,e.label]);return jsxs(tce,{children:[jsx(nce,{size:`22px`,color:n?`var(--color-info-border)`:`var(--border-color-primary)`}),jsx(rce,{to:t,onClick:i,children:e.label})]})});function $se({node:e}){let t=e.children[0],n=useContext(bc)??``,r=I(Mh),i=useCallback(e=>(r??[]).some(t=>t.endsWith(e.toLowerCase())),[r]),a=vc(),o=jE(),s=Qo(RE),c=I(useMemo(()=>np({itemId:n,key:`activeMessageKey`}),[n])),l=useCallback(()=>{s(`referencedIn`),o.sendReferencedInClickedMessage([{...VE.asyncapiDocsChannelLink,fromKind:`channel`,toKind:`channel`}])},[o,s]);if(!t)return jsx(Fragment$1,{});let{referencesByMessageKey:u}=t,d=Object.keys(u),f=c&&u[c]?c:d[0],p=f?u[f]:void 0;if(!p||p.exchanges.length===0&&p.queues.length===0)return jsx(Fragment$1,{});let m=Qse(p),h=p.exchanges.map(e=>({reference:e,to:a(e.link)})),g=p.queues.map(e=>({reference:e,to:a(e.link)}));return jsxs(ece,{header:m,className:`panel-api-docs`,isExpandable:!1,children:[h.length>0&&jsxs(FM,{children:[jsx(IM,{children:`Exchanges`}),h.map(({reference:e,to:t})=>{let n=i(e.key);return jsx(PM,{reference:e,to:t,isActive:n,onReferencedInClick:l},e.key)})]}),g.length>0&&jsxs(FM,{children:[jsx(IM,{children:`Queues`}),g.map(({reference:e,to:t})=>{let n=i(e.key);return jsx(PM,{reference:e,to:t,isActive:n,onReferencedInClick:l},e.key)})]})]})}var ece=styled$1(bj)`
  [data-component-name='Panel/PanelBody'] {
    background-color: var(--layer-color-ontonal);
    padding: 0;
    display: flex;
    flex-direction: column;
  }
`,FM=styled$1.div`
  display: flex;
  flex-direction: column;
  padding: var(--spacing-xxs) 0;

  &:not(:last-child) {
    border-bottom: var(--panel-border-local);
  }
`,IM=styled$1(Xj)`
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  padding: var(--spacing-xxs) var(--spacing-md);
`,tce=styled$1.div`
  display: flex;
  align-items: center;
  padding: var(--spacing-xxs) var(--spacing-md);
`,nce=styled$1(Zse)`
  margin-right: var(--spacing-xs);
  flex-shrink: 0;
`,rce=styled$1(Link)`
  text-decoration: var(--link-decoration);
  color: var(--link-color-primary);
  font-weight: var(--link-font-weight);
  font-size: var(--font-size-base);

  &:visited {
    color: var(--link-color-visited);
    text-decoration: var(--link-decoration-visited);
  }

  &:hover {
    color: var(--link-color-primary-hover);
    text-decoration: var(--link-decoration-hover);
  }
`;na(),F();var LM=8,ice=memo(function({item:e,deprecatedLabel:t}){return jsx(zg,{disabled:!e.summary,tip:e.summary,placement:`left`,children:jsx(VM,{to:e.href,variant:`outlined`,size:`large`,children:jsxs(`span`,{children:[e.prefix&&jsx(dce,{color:e.prefix.color,children:e.prefix.name}),jsx(HM,{children:e.title}),e.badges&&e.badges.map(e=>jsx(zg,{disabled:!e.description,tip:e.description,placement:`top`,children:jsx(RM,{color:e.color,children:e.name})},e.name)),e.deprecated&&jsx(RM,{$deprecated:!0,children:t})]})})})});function ace(){return jsxs(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:[jsx(`path`,{d:`M7.125 3L6.59471 3.53029L8.31446 5.25H3.75C3.55109 5.25 3.36032 5.32902 3.21967 5.46967C3.07902 5.61032 3 5.80109 3 6V10.5H3.75V6H8.31446L6.59471 7.71971L7.125 8.25L9.75 5.625L7.125 3Z`,fill:`currentColor`}),jsx(`path`,{d:`M3.75 1.5H3V4.5H3.75V1.5Z`,fill:`currentColor`})]})}var oce=memo(function({item:e}){return jsxs(fce,{to:e.href,variant:`outlined`,size:`large`,children:[jsx(mce,{children:jsx(ace,{})}),jsxs(`span`,{children:[jsx(HM,{children:e.title}),e.summary&&e.summary!==e.title&&jsx(pce,{children:e.summary})]})]})});function sce({node:e}){let t=fb(),n=vc(),[r,i]=useState(!1),a=t(`badges.deprecated`,`deprecated`),o=t(`actions.show`,`Show`),s=t(`actions.more`,`more`),c=useMemo(()=>{let r=[];for(let i of e.children){let e=(i.items??[]).map(e=>({...e,href:xe(n(e.link))}));if(e.length===0)continue;let a=Tj(t,i.titleTranslationKey,i.title)??``;r.push({title:a,items:e,isChildTag:e.every(e=>e.childTag)})}return r},[e.children,n,t]),l=useMemo(()=>c.reduce((e,t)=>e+(t.isChildTag?0:t.items.length),0),[c]),u=!r&&l>LM?l-LM:0,{operationSections:d,childTagSections:f}=useMemo(()=>{let e=r?1/0:LM,t=[],n=[];for(let r of c){if(r.isChildTag){n.push(r);continue}if(e<=0)continue;let i=r.items.slice(0,e);e-=i.length,i.length>0&&t.push({...r,items:i})}return{operationSections:t,childTagSections:n}},[c,r]);return jsxs(cce,{$isStacked:!0,"data-testid":`items-navigation-list`,children:[d.map((e,t)=>jsxs(Fragment,{children:[e.title&&jsx(zM,{children:e.title}),e.items.map((e,n)=>jsx(ice,{item:e,deprecatedLabel:a},`op-${t}-${n}`))]},`op-${t}`)),!r&&!!u&&jsxs(BM,{variant:`link`,size:`large`,"data-testid":`show-more-operations`,fullWidth:!0,onClick:()=>i(!0),children:[o,` `,u,` `,s,`...`]}),f.length>0&&jsxs(Fragment$1,{children:[d.length>0&&jsx(uce,{}),jsx(lce,{children:f.map((e,t)=>jsxs(Fragment,{children:[e.title&&jsx(zM,{children:e.title}),e.items.map((e,n)=>jsx(oce,{item:e},`group-${t}-${n}`))]},`group-${t}`))})]})]})}var cce=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);

  & a {
    display: flex;
    width: 100%;
  }
`,lce=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
`,uce=styled$1.div`
  position: relative;
  height: 1px;
  margin: var(--spacing-xs) 0;
  background: var(--border-color-secondary);

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-color-secondary);
    transform: translateY(-50%);
  }

  &::before {
    left: 0;
  }

  &::after {
    right: 0;
  }
`,dce=styled$1(Cb)`
  line-height: var(--line-height-base);
`,RM=styled$1(Die)`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 0 var(--spacing-xxs);
`,zM=styled$1.span`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-primary);
  margin: var(--spacing-sm) 0 var(--spacing-xxs) 0;
`,BM=styled$1(ta)`
  & + & {
    margin-left: 0;
  }
`,VM=styled$1(BM)`
  border-radius: var(--border-radius-lg);
  background: var(--bg-color);
  justify-content: space-between;
  width: 100%;

  & > span {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-unit);
    overflow-x: hidden;
  }

  &:hover {
    background: var(--bg-color);
  }

  &:hover::after {
    content: '→';
    line-height: var(--line-height-base);
  }
`,HM=styled$1.span`
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-primary);
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
`,fce=styled$1(VM)`
  justify-content: flex-start;
  align-items: center;
  gap: var(--spacing-xs);
  padding-left: var(--spacing-base);

  &:hover::after {
    margin-left: auto;
  }
`,pce=styled$1.span`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
`,mce=styled$1.div`
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--badge-audience-bg-color);
  color: var(--icon-color-primary);

  svg {
    width: 12px;
    height: 12px;
  }
`;Km();function UM(e){let[t,n]=$o(Sh),r=useContext(bc)??``,i=I(useMemo(()=>np({itemId:r,key:`activeMessageKey`}),[r])),a=e.mediaTypeSchemas,o=a?Object.keys(a):e.mediaTypes??[],s=t&&o.includes(t)?t:o[0],c=a?.[s??``],l=`messagesByKey`in e?e.messagesByKey:void 0,u=i||(l?Object.keys(l)[0]:void 0),d=l&&u?l[u]:void 0,f=!!d,p=c?.schemaId??(f?d.schemaId:e.schemaId),m=I(qm),h=c?.exampleIds??(f?d?.exampleIds:`exampleIds`in e?e.exampleIds:void 0),g=useMemo(()=>h?.filter(e=>m[e]!==void 0),[h,m]),_=useCallback(e=>n(e),[n]);return{mediaTypes:o,activeMediaType:s,effectiveSchemaId:p,effectiveExampleIds:g,encoding:c?.encoding,isMessageWithoutPayload:f&&!p&&!g?.length,onMediaTypeChange:_}}function WM(e,t){let n=I(Oc),r=rp(useContext(bc)??``,t),i=I(useMemo(()=>ap(r),[r])),a=I(useMemo(()=>op(r),[r])),o=useMemo(()=>e?vm(e,n):void 0,[e,n]),s=o?.[Cm(o,i,a)];if(!s||!e||!n[s.schemaId])return e;let c=n[e]?.data;return(s.picks.length>1?fm(c):dm(c,n[s.schemaId].data))?e:s.schemaId}function GM(e,t,n){let r=Bm(t),i=WM(r?void 0:e,n);return r?e:i}function KM(e,t){let n=I(Oc),r=useContext(bc),i=rp(r??``,t),a=I(useMemo(()=>ap(i),[i])),o=I(useMemo(()=>op(i),[i])),s=Qo(tp(i)),c=useMemo(()=>{if(!e)return;let t=vm(e,n,{includeNested:!0});if(!(!t||t.length<2))return t},[e,n]),l=useCallback(e=>{let t=c?.[e];t&&r&&s(e=>bm(e,t.picks))},[c,r,s]);if(c)return{options:c.map(e=>({key:e.key,label:e.label})),activeIdx:Cm(c,a,o),onSelect:l,kind:c[0].picks[0].axis.kind,optionMeta:c.map(e=>({isDefaultMapping:e.isDefaultMapping,isDeprecated:e.isDeprecated}))}}function qM(e){let t=jE();return useCallback(n=>()=>{t.sendCopyCodeSnippetClickedMessage([{...VE.copyCodeSnippetButton,snippetType:e,...n?{language:QE(n)}:{}}])},[t,e])}var JM=1e3;na();var YM=styled$1(vj)`
  flex-wrap: nowrap;
  column-gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);

  > :first-child {
    min-width: 0;
  }

  > :last-child {
    flex-shrink: 0;
  }
`,hce=styled$1(ta)`
  display: inline-flex;
  overflow-x: hidden;
  font-weight: var(--font-weight-regular);
  min-width: 0;
  max-width: 100%;
`,gce=styled$1.div`
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  overflow-x: hidden;
  font-weight: var(--font-weight-regular);
  min-width: 0;
  max-width: 100%;
`,XM=styled$1(xb)`
  text-transform: uppercase;
  background-color: unset;
  border: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-family-monospaced);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  align-self: flex-end;
`,ZM=styled$1.span`
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  min-width: 0;
  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
`,QM=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);
  border-bottom: 1px solid var(--border-color-secondary);
`,$M=styled$1.div`
  padding: 0 var(--spacing-md, 16px) var(--spacing-xs, 8px);
`,_ce=styled$1.select`
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  background-color: var(--panel-samples-dropdown-bg-color, rgba(255, 255, 255, 0.12));
  color: var(--panel-samples-text-color, #cfd8dc);
  border: var(--panel-samples-dropdown-border, 1px solid rgba(255, 255, 255, 0.2));
  border-radius: var(--border-radius-md, 6px);
  padding: var(--docs-dropdown-padding, 8px 12px);
  font-size: var(--docs-dropdown-font-size, 14px);
  line-height: var(--line-height-base, 1.5);
  opacity: 1;
  cursor: default;
`,vce=styled$1(Xg)`
  > div {
    min-width: 100%;
    max-width: 100%;
  }
`,yce=styled$1(t_)`
  /* The portalled menu wrapper gets the trigger width as an inline min-width;
     width: 0 keeps the menu content from growing the wrapper past it, so the
     menu ends up exactly as wide as the trigger. */
  width: 0;
  min-width: 100%;
`,bce=styled$1($g)`
  --dropdown-menu-item-justify-content: space-between;

  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-xxs) var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,eN=styled$1.span`
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
`,xce=styled$1(yO)`
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
`,Sce=styled$1(ta)`
  width: 100%;
  justify-content: space-between;
  background-color: var(--bg-color);
  color: var(--text-color-primary);
  border: var(--panel-samples-dropdown-border);
  border-radius: var(--border-radius-md);
  padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
  font-size: var(--docs-dropdown-font-size, 14px);
  line-height: var(--line-height-base, 1.5);
  font-family: var(--font-family-base, inherit);

  &:hover,
  &:focus {
    background-color: var(--bg-color);
  }
`,Cce=styled$1.div`
  border-top: 1px solid var(--border-color-secondary, rgba(255, 255, 255, 0.1));
  margin-top: var(--spacing-xs, 8px);
`,wce=styled$1.div`
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--panel-samples-text-color, #cfd8dc);
`,Tce=styled$1.div`
  margin: 0 var(--spacing-md) var(--spacing-sm);
`;function tN(e,t=`root`,{compact:n=!1}={}){if(e==null)return``;if(typeof e!=`object`)return String(e);let r=Array.isArray(e)?e:{[t]:e};return(n?rN:nN).build(r).trimEnd()}var nN,rN,iN=o((()=>{Ul(),nN=new Vl({format:!0,cdataPropName:`#cdata`}),rN=new Vl({cdataPropName:`#cdata`})}));function aN(e,t){if(t==null)return``;let n=e.style??Ece(e.in),r=e.explode??n===`form`;switch(e.in){case`path`:return Dce(e.name,n,r,t);case`query`:case`querystring`:return Oce(e.name,n,r,t);case`header`:return kce(n,r,t);case`cookie`:return Ace(e.name,n,r,t);default:return oN(t)}}function oN(e){return typeof e==`object`&&e?JSON.stringify(e):String(e)}function Ece(e){switch(e){case`query`:case`querystring`:case`cookie`:return`form`;case`path`:case`header`:return`simple`;default:return`simple`}}function Dce(e,t,n,r){if(Array.isArray(r)){let i=n?t===`label`?`.`:t===`matrix`?`;${e}=`:`,`:t===`label`?`.`:`,`;return(t===`label`?`.`:t===`matrix`?`;${e}=`:``)+r.map(oN).join(i)}if(typeof r==`object`&&r){let i=Object.entries(r);return t===`label`?`.`+i.map(([e,t])=>n?`${e}=${oN(t)}`:`${e},${oN(t)}`).join(`.`):t===`matrix`?n?i.map(([e,t])=>`;${e}=${oN(t)}`).join(``):`;${e}=`+i.map(([e,t])=>`${e},${oN(t)}`).join(`,`):n?i.map(([e,t])=>`${e}=${oN(t)}`).join(`,`):i.map(([e,t])=>`${e},${oN(t)}`).join(`,`)}return t===`label`?`.`+String(r):t===`matrix`?`;${e}=${String(r)}`:String(r)}function Oce(e,t,n,r){if(Array.isArray(r))return t===`form`?n?r.map(t=>`${encodeURIComponent(e)}=${encodeURIComponent(oN(t))}`).join(`&`):`${encodeURIComponent(e)}=${r.map(e=>encodeURIComponent(oN(e))).join(`,`)}`:t===`spaceDelimited`?`${encodeURIComponent(e)}=${r.map(e=>encodeURIComponent(oN(e))).join(`%20`)}`:t===`pipeDelimited`?`${encodeURIComponent(e)}=${r.map(e=>encodeURIComponent(oN(e))).join(`|`)}`:`${encodeURIComponent(e)}=${r.map(e=>encodeURIComponent(oN(e))).join(`,`)}`;if(typeof r==`object`&&r){let i=Object.entries(r);if(t===`deepObject`)return i.map(([t,n])=>`${encodeURIComponent(e)}[${encodeURIComponent(t)}]=${encodeURIComponent(oN(n??``))}`).join(`&`);if(t===`form`&&n)return i.map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(oN(t??``))}`).join(`&`);let a=t===`spaceDelimited`?`%20`:t===`pipeDelimited`?`|`:`,`;return`${encodeURIComponent(e)}=${i.flatMap(([e,t])=>[encodeURIComponent(e),encodeURIComponent(oN(t??``))]).join(a)}`}return`${encodeURIComponent(e)}=${encodeURIComponent(String(r))}`}function kce(e,t,n){if(Array.isArray(n))return n.map(oN).join(`,`);if(typeof n==`object`&&n){let e=Object.entries(n);return t?e.map(([e,t])=>`${e}=${oN(t)}`).join(`,`):e.map(([e,t])=>`${e},${oN(t)}`).join(`,`)}return String(n)}function Ace(e,t,n,r){if(Array.isArray(r))return n?r.map(t=>`${e}=${oN(t)}`).join(`; `):`${e}=${r.map(oN).join(`,`)}`;if(typeof r==`object`&&r){let t=Object.entries(r);return n?t.map(([e,t])=>`${e}=${oN(t)}`).join(`; `):`${e}=${t.map(([e,t])=>`${e},${oN(t)}`).join(`,`)}`}return`${e}=${String(r)}`}var sN=o((()=>{}));function jce(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>{let{contentType:n,style:r,explode:i,allowReserved:a}=t??{};return[e,{contentType:n,style:r,explode:i,allowReserved:a}]}))}function Mce(e,t={}){return e==null?``:typeof e==`object`?(Array.isArray(e)?e.map((e,t)=>[String(t),e]):Object.entries(e)).map(([e,n])=>{let r=t[e]??{},{contentType:i,style:a,explode:o,allowReserved:s}=r;if(Pce(r)){let t=aN({name:e,in:`query`,style:a,explode:o},Fce(n)).replace(dN,encodeURIComponent);return s?t.replace(uN,decodeURIComponent).replace(fN,`%`):t}return(Array.isArray(n)?n:[n]).filter(e=>Ice(e,i)).map(t=>{let n=Nce(t,i,r.xmlName??e);return`${encodeURIComponent(e)}=${encodeURIComponent(n)}`}).join(`&`)}).filter(Boolean).join(`&`):String(e)}function Nce(e,t,n){return t&&/xml/i.test(t)&&V(e)?tN(e,n,{compact:!0}):t&&/json/i.test(t)?typeof e==`string`&&Lce(e)?e:JSON.stringify(e)??``:lN(e)}function Pce(e){return e.style!==void 0||e.explode!==void 0||e.allowReserved!==void 0}function Fce(e){let t=Array.isArray(e)?e.filter(cN):V(e)?Object.fromEntries(Object.entries(e).filter(([,e])=>cN(e))):e;return cN(t)&&(typeof t!=`object`||Object.keys(t).length!==0)?t:void 0}function Ice(e,t){return cN(e)||t!==void 0&&/json/i.test(t)}function cN(e){return e!=null}function lN(e){return e==null?``:typeof e==`object`?JSON.stringify(e):String(e)}function Lce(e){try{let t=JSON.parse(e);return typeof t==`object`&&!!t}catch{return!1}}var uN,dN,fN,pN=o((()=>{ME(),sN(),iN(),uN=/%(?:3A|2F|3F|40|24|2C|3B)/gi,dN=/[|[\]]/g,fN=/%25(?=[0-9A-F]{2})/gi}));Km(),iN(),pN(),B();function mN({selection:e,label:t}){if(!e)return null;let{options:n,activeIdx:r,onSelect:i,kind:a,optionMeta:o}=e;return jsx($M,{children:jsx(_N,{value:String(r),onChange:e=>i(Number(e)),"aria-label":t??(a===`discriminator`?`Discriminator`:`Variant`),options:n.map((e,t)=>{let n=o[t]?.isDefaultMapping?jsx(hO,{label:e.label}):void 0;return{key:e.key,value:String(t),label:e.label,labelNode:n}})})})}function hN({exampleIds:e,selectedIdx:t,onSelect:n}){let r=I(qm),i=I(fs),a=jE();return!e||e.length<2?null:jsx($M,{children:jsx(_N,{value:String(t),onChange:t=>{let r=Number(t);i===es.ASYNCAPI?a.sendSwitchExampleClickedMessage([{...VE.switchExampleButton,index:r,numberOfExamples:e.length}]):a.sendExamplesSwitcherClickedMessage([{...VE.examplesSwitcherButton,exampleNumber:r,totalExamples:e.length}]),n(r)},"aria-label":`Example`,options:e.map((e,t)=>({key:e,value:String(t),label:r[e]?.summary??`Example ${t+1}`}))})})}function gN({mediaTypes:e,value:t,onChange:n,label:r}){return e.length===0?null:e.length===1?jsx($M,{children:jsx(_ce,{value:e[0],"aria-label":r,disabled:!0,children:jsx(`option`,{value:e[0],children:e[0]})})}):jsx($M,{children:jsx(_N,{value:t,onChange:n,"aria-label":r,options:e.map(e=>({value:e,label:e}))})})}function _N({value:e,onChange:t,options:n,"aria-label":r}){let i=n.find(t=>t.value===e)??n[0];return jsx(vce,{withArrow:!0,alignment:`start`,portalled:!0,trigger:jsx(Sce,{variant:`outlined`,size:`small`,type:`button`,"aria-label":r,children:jsx(eN,{children:i?.labelNode??i?.label})}),children:jsx(yce,{children:n.map(e=>jsx(bce,{active:e.value===i?.value,onAction:()=>t(e.value),suffix:e.value===i?.value?jsx(xce,{}):void 0,children:jsx(eN,{children:e.labelNode??e.label})},e.key??e.value))})})}function vN({description:e}){return e?jsx(Tce,{children:jsx(pv,{source:e})}):null}function yN({payload:e,emptyMessage:t=`// No sample`,mediaType:n,encoding:r,snippetType:i=`response`}){let{jsonSamplesExpandLevel:a}=I(ds),o=qM(i);if(e==null)return jsx(Cj,{lang:`text`,source:t,header:{controls:!1}});let s=Bm(n),c=Vm(n);if(c&&!s){let t=typeof e==`string`?Rce(e)??e:e;return jsx(wj,{data:t,expandLevel:a,maxStringLength:JM})}if(typeof e==`object`&&e){if(n?.includes(`xml`)){let t=tN(e);return jsx(Cj,{lang:`xml`,source:t,highlightedHtml:zce(t),header:{className:`code-block-header`,controls:{copy:{onClick:o(`xml`)}}}})}if(Wm(n))return jsx(Cj,{lang:`text`,source:Mce(e,r),header:{className:`code-block-header`,controls:{copy:{onClick:o(`text`)}}}});if(s||n&&!c){let t=JSON.stringify(e,null,2);return jsx(Cj,{lang:Hm(n),source:t,header:{className:`code-block-header`,controls:{copy:{onClick:o(Hm(n))}}}})}return jsx(wj,{data:e,expandLevel:a,maxStringLength:JM})}let l=n?Hm(n):`text`;return jsx(Cj,{lang:l,source:String(e),maxDisplayLength:JM,header:{className:`code-block-header`,controls:{copy:{onClick:o(l)}}}})}function Rce(e){let t=e.trim();if(t&&/^[{[]/.test(t))try{return JSON.parse(t)}catch{return}}function zce(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function Bce(e){let{url:t,variables:n}=e;if(n)for(let e in n){let r=n[e].default;r!==void 0&&(t=t.replaceAll(`{${e}}`,r))}return t}function bN(e){return t=>({...t,eventType:e})}var xN={CodeSampleLanguageSwitched:`CodeSampleLanguageSwitched`,CodeSampleCopied:`CodeSampleCopied`,OperationServerExpanded:`OperationServerExpanded`,TargetServerSwitched:`TargetServerSwitched`},Vce=bN(xN.TargetServerSwitched),Hce=({operation:e,serverUrl:t})=>Vce({resource:`Redocly_CodeSample`,action:`TargetServerSwitched`,operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,serverUrl:t});qf();function Uce(e=``,t=``,n=`/`){return e.endsWith(n)&&e!==n&&(e=e.slice(0,-n.length)),t.startsWith(n)&&(t=t.slice(n.length)),!e||!t||e===n?e+t:e+n+t}var Wce=styled$1($g)`
  padding: calc(var(--spacing-unit) * 1.5) var(--spacing-xs) calc(var(--spacing-unit) * 1.5)
    var(--spacing-lg);
  @media screen and (max-width: ${k.large}) {
    max-width: 280px;
  }
`,Gce=styled$1(Hg)`
  :hover {
    background-color: var(--dropdown-menu-item-bg-color-hover);
  }
`;function SN({servers:e,method:t,path:n}){let[r,i]=$o(vh),{events:a}=I(ds),o=jE(),s=r[0],c=I(yh),l=![`get`,`post`,`put`,`delete`,`patch`,`head`,`options`,`trace`,`query`,`x-query`].includes(t.toLowerCase()),u=cn({httpVerb:t.toLowerCase(),isAdditionalOperation:l}),d=useMemo(()=>e.map(e=>{let t=Wj(e.url);return{...e,resolvedUrl:Bce(e),envUrl:t,envName:String(Yf({...e,url:t}))}}),[e]),f=useMemo(()=>{let e=d.find(e=>e.url===s.server||e.resolvedUrl===s.server||e.envUrl===s.server);return e?e.resolvedUrl:d[0]?.resolvedUrl??``},[s.server,d]);useEffect(()=>{if(!s.server&&d.length>0){let e=(c?d.find(e=>e.envName===c):void 0)??d[0];i({...!c&&{environment:e.envName},environments:{[e.envName]:{server:e.envUrl}}})}},[]);let p=useCallback(e=>{e.stopPropagation()},[]),m=useCallback(r=>()=>{if(e.length<=1)return;let s=r.envName;o.sendSwitchServersClickedMessage([{...VE.switchServersButton,index:d.indexOf(r),total:e.length,protocol:eD(r.url)}]),i({environment:s,environments:{[s]:{server:r.envUrl}}}),a?.targetServerSwitch?.(Hce({operation:{id:`${t}:${n}`,path:n,httpVerb:t,name:`${t.toUpperCase()} ${n}`},serverUrl:r.url}))},[e.length,i,o,a,t,n,d]),h=n.includes(`{$`);if(e.length===0||h)return jsxs(gce,{children:[jsx(XM,{color:u,children:t}),jsx(ZM,{children:n})]});let g=jsxs(hce,{variant:`ghost`,children:[jsx(XM,{color:u,children:t}),jsx(ZM,{children:n})]}),_=d.map(e=>{let t=Wj(e.resolvedUrl),r=Uce(t,n);return jsx(Wce,{onAction:m(e),children:jsx(pj,{header:e.name||e.description||t,title:r,actions:[jsx(Gce,{data:r,toasterPlacement:`left`,onCopyClick:p},r)],active:e.resolvedUrl===f,withCheckmark:!0})},e.url)});return jsx(Xg,{trigger:g,withArrow:!0,alignment:`start`,children:jsx(t_,{children:_})})}var CN=styled$1(e=>jsxs(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 21`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsxs(`g`,{clipPath:`url(#clip0_3789_6604)`,children:[jsx(`path`,{d:`M22.2305 2.73601C21.6963 2.73601 21.264 2.30296 21.264 1.76946C21.264 1.2352 21.6963 0.802917 22.2305 0.802917C22.764 0.802917 23.1971 1.2352 23.1971 1.76946C23.1971 2.30296 22.764 2.73601 22.2305 2.73601ZM12.6313 19.2502C12.097 19.2502 11.6647 18.8172 11.6647 18.2837C11.6647 17.7494 12.097 17.3171 12.6313 17.3171C13.1648 17.3171 13.5971 17.7494 13.5971 18.2837C13.5971 18.8172 13.1648 19.2502 12.6313 19.2502ZM22.2305 0C21.2533 0 20.4611 0.792261 20.4611 1.76946C20.4611 1.97799 20.5136 2.17206 20.5798 2.35776L12.2789 16.585C11.4768 16.7532 10.8618 17.4313 10.8618 18.2837C10.8618 19.2609 11.6541 20.0531 12.6313 20.0531C13.6077 20.0531 14.4 19.2609 14.4 18.2837C14.4 18.0873 14.3475 17.9077 14.2889 17.7312L22.6316 3.45749C23.4094 3.27103 24 2.60434 24 1.76946C24 0.792261 23.2077 0 22.2305 0Z`,className:`path-primary`}),jsx(`path`,{d:`M14.9906 2.73601C14.4563 2.73601 14.024 2.30296 14.024 1.76946C14.024 1.2352 14.4563 0.802917 14.9906 0.802917C15.5241 0.802917 15.9564 1.2352 15.9564 1.76946C15.9564 2.30296 15.5241 2.73601 14.9906 2.73601ZM5.39059 19.2502C4.85708 19.2502 4.42404 18.8172 4.42404 18.2837C4.42404 17.7494 4.85708 17.3171 5.39059 17.3171C5.92485 17.3171 6.35713 17.7494 6.35713 18.2837C6.35713 18.8172 5.92485 19.2502 5.39059 19.2502ZM14.9906 0C14.0126 0 13.2211 0.792261 13.2211 1.76946C13.2211 1.97799 13.2736 2.17206 13.3399 2.35776L5.03898 16.585C4.23606 16.7532 3.62112 17.4313 3.62112 18.2837C3.62112 19.2609 4.41339 20.0531 5.39059 20.0531C6.36779 20.0531 7.16005 19.2609 7.16005 18.2837C7.16005 18.0873 7.10754 17.9077 7.04894 17.7312L15.3917 3.45749C16.1695 3.27103 16.7601 2.60434 16.7601 1.76946C16.7601 0.792261 15.967 0 14.9906 0Z`,className:`path-secondary`}),jsx(`path`,{d:`M1.76946 5.69424C2.30296 5.69424 2.73601 6.12729 2.73601 6.66079C2.73601 7.19429 2.30296 7.62733 1.76946 7.62733C1.2352 7.62733 0.802917 7.19429 0.802917 6.66079C0.802917 6.12729 1.2352 5.69424 1.76946 5.69424ZM1.76946 8.43025C2.74666 8.43025 3.53892 7.63799 3.53892 6.66079C3.53892 6.4652 3.48565 6.28483 3.42705 6.10826C3.19264 5.4058 2.55031 4.89133 1.76946 4.89133C1.64465 4.89133 1.53506 4.93775 1.41709 4.96286C0.614936 5.1303 0 5.8084 0 6.66079C0 7.63799 0.792261 8.43025 1.76946 8.43025Z`,className:`path-secondary`}),jsx(`path`,{d:`M0.802917 12.8436C0.802917 12.3094 1.23596 11.8771 1.76946 11.8771C2.30296 11.8771 2.73601 12.3094 2.73601 12.8436C2.73601 13.3771 2.30296 13.8094 1.76946 13.8094C1.23596 13.8094 0.802917 13.3771 0.802917 12.8436ZM3.53892 12.8436C3.53892 12.6473 3.48565 12.4677 3.42705 12.2911C3.19264 11.5886 2.55107 11.0742 1.76946 11.0742C1.64465 11.0742 1.53506 11.1206 1.41709 11.145C0.614936 11.3131 0 11.9912 0 12.8436C0 13.8201 0.792261 14.6131 1.76946 14.6131C2.74666 14.6131 3.53892 13.8201 3.53892 12.8436Z`,className:`path-secondary`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_3789_6604`,children:jsx(`rect`,{width:`24`,height:`20.0531`,fill:`white`})})})]})).attrs({"data-component-name":`icons/CurlIcon/CurlIcon`})`
  .path-primary {
    fill: #0c544c;
  }

  .path-secondary {
    fill: #073551;
  }

  html.dark & .path-primary,
  html.dark & .path-secondary {
    fill: #ffffff;
  }
`,wN=styled$1(()=>jsxs(`svg`,{width:`17`,height:`18`,viewBox:`0 0 17 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[jsx(`g`,{id:`Logo_C_sharp 1`,clipPath:`url(#clip0_6336_15430)`,children:jsxs(`g`,{id:`Group`,children:[jsx(`path`,{id:`Vector`,d:`M16.1225 5.27827C16.1224 4.9764 16.0578 4.70965 15.9272 4.48071C15.799 4.25559 15.6069 4.0669 15.3493 3.91771C13.2227 2.69152 11.0941 1.46909 8.96823 0.241649C8.3951 -0.0892265 7.83941 -0.077164 7.27054 0.258461C6.4241 0.757648 2.18629 3.18559 0.923477 3.91702C0.403414 4.21809 0.150352 4.67884 0.150227 5.27771C0.149414 7.74365 0.150227 10.2095 0.149414 12.6755C0.149414 12.9708 0.211352 13.2323 0.336164 13.4578C0.464477 13.6898 0.659227 13.8836 0.922789 14.0362C2.18566 14.7676 6.42404 17.1954 7.27029 17.6947C7.83941 18.0305 8.3951 18.0425 8.96841 17.7115C11.0944 16.484 13.2231 15.2616 15.35 14.0355C15.6135 13.883 15.8083 13.689 15.9366 13.4572C16.0612 13.2317 16.1233 12.9701 16.1233 12.6748C16.1233 12.6748 16.1233 7.74427 16.1225 5.27827Z`,fill:`#A179DC`}),jsx(`path`,{id:`Vector_2`,d:`M8.16056 8.95312L0.335938 13.4584C0.46425 13.6903 0.659 13.8842 0.922562 14.0368C2.18544 14.7682 6.42381 17.1959 7.27006 17.6953C7.83919 18.0311 8.39487 18.0431 8.96819 17.7121C11.0941 16.4846 13.2229 15.2622 15.3497 14.036C15.6133 13.8835 15.8081 13.6895 15.9364 13.4577L8.16056 8.95312Z`,fill:`#280068`}),jsx(`path`,{id:`Vector_3`,d:`M16.1218 5.27705C16.1217 4.97518 16.0572 4.70843 15.9266 4.47949L8.16016 8.95137L15.936 13.456C16.0606 13.2305 16.1225 12.9689 16.1227 12.6736C16.1227 12.6736 16.1227 7.74305 16.1218 5.27705Z`,fill:`#390091`}),jsx(`path`,{id:`Vector_4`,d:`M12.768 7.26837V8.11048H13.6101V7.26837H14.0312V8.11048H14.8733V8.53153H14.0312V9.37363H14.8733V9.79469H14.0312V10.6368H13.6101V9.79469H12.768V10.6368H12.347V9.79469H11.5049V9.37363H12.347V8.53153H11.5049V8.11048H12.347V7.26837H12.768ZM13.6101 8.53153H12.768V9.37363H13.6101V8.53153Z`,fill:`white`}),jsx(`path`,{id:`Vector_5`,d:`M8.17777 3.03809C10.3743 3.03809 12.292 4.23098 13.3191 6.00409L13.3091 5.98702L10.7248 7.47504C10.2157 6.61294 9.28223 6.03116 8.2115 6.01918L8.17777 6.01899C6.54492 6.01899 5.22114 7.3427 5.22114 8.97555C5.22114 9.50953 5.3635 10.0101 5.61108 10.4424C6.12071 11.3321 7.07876 11.9322 8.17777 11.9322C9.28357 11.9322 10.2471 11.3245 10.7541 10.4253L10.7418 10.4468L13.3222 11.9417C12.3063 13.6998 10.4149 14.889 8.24391 14.9127L8.17777 14.9131C5.97436 14.9131 4.05119 13.7128 3.02661 11.9304C2.52643 11.0602 2.24023 10.0513 2.24023 8.97555C2.24023 5.69642 4.8985 3.03809 8.17777 3.03809Z`,fill:`white`})]})}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_6336_15430`,children:jsx(`rect`,{width:`16`,height:`18`,fill:`white`,transform:`translate(0.149414)`})})})]}))({dataComponentName:`icons/CSharpIcon`}),Kce=styled$1(()=>jsxs(`svg`,{width:`17`,height:`18`,viewBox:`0 0 17 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[jsx(`g`,{id:`nodejs-seeklogo.com 1`,clipPath:`url(#clip0_6336_14396)`,children:jsx(`g`,{id:`Group`,children:jsx(`path`,{id:`Vector`,d:`M8.72232 17.9666C8.47473 17.9666 8.24365 17.9006 8.02907 17.785L5.8338 16.4811C5.50368 16.2995 5.66874 16.2335 5.76777 16.2005C6.21343 16.0519 6.29596 16.0189 6.75812 15.7548C6.80764 15.7218 6.87366 15.7383 6.92318 15.7713L8.60678 16.7782C8.6728 16.8112 8.75533 16.8112 8.80485 16.7782L15.3907 12.9653C15.4567 12.9323 15.4897 12.8663 15.4897 12.7838V5.17458C15.4897 5.09205 15.4567 5.02603 15.3907 4.99302L8.80485 1.19667C8.73882 1.16366 8.6563 1.16366 8.60678 1.19667L2.02095 4.99302C1.95493 5.02603 1.92191 5.10856 1.92191 5.17458V12.7838C1.92191 12.8498 1.95493 12.9323 2.02095 12.9653L3.82009 14.0052C4.79393 14.5004 5.40465 13.9227 5.40465 13.345V5.83481C5.40465 5.73578 5.48717 5.63674 5.60272 5.63674H6.44451C6.54355 5.63674 6.64258 5.71927 6.64258 5.83481V13.345C6.64258 14.6489 5.93283 15.4082 4.69489 15.4082C4.31526 15.4082 4.01816 15.4082 3.17636 14.9956L1.44325 14.0052C1.01409 13.7576 0.75 13.2955 0.75 12.8003V5.19109C0.75 4.69591 1.01409 4.23375 1.44325 3.98616L8.02907 0.173311C8.44172 -0.0577704 9.00292 -0.0577704 9.41556 0.173311L16.0014 3.98616C16.4305 4.23375 16.6946 4.69591 16.6946 5.19109V12.8003C16.6946 13.2955 16.4305 13.7576 16.0014 14.0052L9.41556 17.8181C9.20099 17.9171 8.9534 17.9666 8.72232 17.9666ZM10.7525 12.7343C7.86401 12.7343 7.26981 11.4138 7.26981 10.2914C7.26981 10.1924 7.35233 10.0933 7.46788 10.0933H8.32618C8.42521 10.0933 8.50774 10.1593 8.50774 10.2584C8.63979 11.1332 9.01942 11.5623 10.769 11.5623C12.1555 11.5623 12.7497 11.2487 12.7497 10.506C12.7497 10.0768 12.5847 9.7632 10.4224 9.54863C8.62328 9.36706 7.50089 8.97092 7.50089 7.53491C7.50089 6.19794 8.62328 5.40566 10.5049 5.40566C12.6177 5.40566 13.6576 6.13192 13.7896 7.71648C13.7896 7.766 13.7731 7.81551 13.7401 7.86503C13.7071 7.89804 13.6576 7.93105 13.608 7.93105H12.7497C12.6672 7.93105 12.5847 7.86503 12.5682 7.7825C12.3701 6.87468 11.8584 6.57758 10.5049 6.57758C8.98641 6.57758 8.80485 7.10576 8.80485 7.5019C8.80485 7.98057 9.01942 8.12912 11.0661 8.39322C13.0964 8.65731 14.0537 9.03695 14.0537 10.4564C14.0372 11.909 12.8488 12.7343 10.7525 12.7343Z`,fill:`#539E43`})})}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_6336_14396`,children:jsx(`rect`,{width:`15.9446`,height:`18`,fill:`white`,transform:`translate(0.75)`})})})]}))({dataComponentName:`icons/NodeJSIcon`}),qce=styled$1(()=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#clip0_6336_14297)`,children:[jsx(`path`,{d:`M14 0H0V14H14V0Z`,fill:`#F7DF1E`}),jsx(`path`,{d:`M9.40475 10.9376C9.68675 11.398 10.0536 11.7365 10.7025 11.7365C11.2476 11.7365 11.5959 11.464 11.5959 11.0876C11.5959 10.6365 11.2381 10.4767 10.6381 10.2142L10.3092 10.0731C9.35986 9.66867 8.72919 9.16201 8.72919 8.0909C8.72919 7.10423 9.48097 6.35312 10.6559 6.35312C11.4923 6.35312 12.0936 6.64423 12.527 7.40645L11.5025 8.06423C11.277 7.65979 11.0336 7.50045 10.6559 7.50045C10.2705 7.50045 10.0263 7.7449 10.0263 8.06423C10.0263 8.4589 10.2707 8.61867 10.8352 8.86312L11.1641 9.00401C12.2819 9.48334 12.913 9.97201 12.913 11.0707C12.913 12.2551 11.9825 12.904 10.733 12.904C9.51119 12.904 8.72186 12.3218 8.33563 11.5587L9.40475 10.9376ZM4.75741 11.0516C4.96408 11.4182 5.15208 11.7282 5.60408 11.7282C6.0363 11.7282 6.30897 11.5591 6.30897 10.9016V6.42823H7.62452V10.9193C7.62452 12.2816 6.82586 12.9016 5.66008 12.9016C4.60675 12.9016 3.99675 12.3565 3.68652 11.6999L4.75741 11.0516Z`,fill:`black`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_6336_14297`,children:jsx(`rect`,{width:`14`,height:`14`,fill:`white`})})})]}))({dataComponentName:`icons/JavaScriptIcon`});qf();var Jce=styled$1(()=>{let e=Kf(),t=t=>e(t);return jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#${t(`clip0_6336_14290`)})`,children:[jsx(`path`,{d:`M5.5928 9.36167e-05C5.12601 0.00226256 4.68024 0.0420729 4.28801 0.111479C3.13253 0.315613 2.92274 0.742882 2.92274 1.53084V2.57149H5.65327V2.91838H2.92274H1.898C1.10444 2.91838 0.409568 3.39536 0.192222 4.30273C-0.0584838 5.3428 -0.069604 5.99182 0.192222 7.07781C0.386317 7.88618 0.849843 8.46217 1.64341 8.46217H2.58223V7.21466C2.58223 6.3134 3.36201 5.51842 4.28801 5.51842H7.01535C7.77454 5.51842 8.38061 4.89333 8.38061 4.13088V1.53084C8.38061 0.790854 7.75634 0.234979 7.01535 0.111479C6.54628 0.0333971 6.05959 -0.00207535 5.5928 9.36167e-05ZM4.11616 0.837072C4.3982 0.837072 4.62853 1.07116 4.62853 1.35899C4.62853 1.6458 4.3982 1.87773 4.11616 1.87773C3.8331 1.87773 3.60378 1.6458 3.60378 1.35899C3.60378 1.07116 3.8331 0.837072 4.11616 0.837072Z`,fill:`url(#${t(`paint0_linear_6336_14290`)})`}),jsx(`path`,{d:`M8.72123 2.91797V4.13047C8.72123 5.07051 7.92426 5.86171 7.01545 5.86171H4.28811C3.54105 5.86171 2.92285 6.5011 2.92285 7.24925V9.84929C2.92285 10.5893 3.56632 11.0245 4.28811 11.2368C5.15244 11.491 5.98129 11.5369 7.01545 11.2368C7.70287 11.0378 8.38071 10.6373 8.38071 9.84929V8.80864H5.65337V8.46176H8.38071H9.74598C10.5395 8.46176 10.8353 7.90823 11.1112 7.0774C11.3963 6.22208 11.3842 5.39955 11.1112 4.30232C10.9151 3.51232 10.5406 2.91797 9.74598 2.91797H8.72123ZM7.1873 9.50241C7.47036 9.50241 7.69967 9.73434 7.69967 10.0211C7.69967 10.309 7.47036 10.5431 7.1873 10.5431C6.90526 10.5431 6.67493 10.309 6.67493 10.0211C6.67493 9.73434 6.90526 9.50241 7.1873 9.50241Z`,fill:`url(#${t(`paint1_linear_6336_14290`)})`})]}),jsxs(`defs`,{children:[jsxs(`linearGradient`,{id:t(`paint0_linear_6336_14290`),x1:`-3.4002e-08`,y1:`-2.95366e-08`,x2:`6.29629`,y2:`5.36531`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#5A9FD4`}),jsx(`stop`,{offset:`1`,stopColor:`#306998`})]}),jsxs(`linearGradient`,{id:t(`paint1_linear_6336_14290`),x1:`7.12169`,y1:`9.93365`,x2:`4.86282`,y2:`6.76831`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#FFD43B`}),jsx(`stop`,{offset:`1`,stopColor:`#FFE873`})]}),jsx(`clipPath`,{id:t(`clip0_6336_14290`),children:jsx(`rect`,{width:`11.5`,height:`11.5`,fill:`white`})})]})]})})({dataComponentName:`icons/PythonIcon`});qf();var Yce=styled$1(()=>{let e=Kf(),t=t=>e(t);return jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,preserveAspectRatio:`xMidYMid`,width:`724`,height:`561`,viewBox:`0 0 724 561`,children:[jsxs(`defs`,{children:[jsxs(`linearGradient`,{id:t(`gradientFill-1`),x1:`0`,x2:`1`,y1:`0`,y2:`1`,gradientUnits:`objectBoundingBox`,spreadMethod:`pad`,children:[jsx(`stop`,{offset:`0`,stopColor:`rgb(203,206,208)`,stopOpacity:`1`}),jsx(`stop`,{offset:`1`,stopColor:`rgb(132,131,139)`,stopOpacity:`1`})]}),jsxs(`linearGradient`,{id:t(`gradientFill-2`),x1:`0`,x2:`1`,y1:`0`,y2:`1`,gradientUnits:`objectBoundingBox`,spreadMethod:`pad`,children:[jsx(`stop`,{offset:`0`,stopColor:`rgb(39,109,195)`,stopOpacity:`1`}),jsx(`stop`,{offset:`1`,stopColor:`rgb(22,92,170)`,stopOpacity:`1`})]})]}),jsx(`path`,{d:`M361.453,485.937 C162.329,485.937 0.906,377.828 0.906,244.469 C0.906,111.109 162.329,3.000 361.453,3.000 C560.578,3.000 722.000,111.109 722.000,244.469 C722.000,377.828 560.578,485.937 361.453,485.937 ZM416.641,97.406 C265.289,97.406 142.594,171.314 142.594,262.484 C142.594,353.654 265.289,427.562 416.641,427.562 C567.992,427.562 679.687,377.033 679.687,262.484 C679.687,147.971 567.992,97.406 416.641,97.406 Z`,fill:`url(#${t(`gradientFill-1`)})`,fillRule:`evenodd`}),jsx(`path`,{d:`M550.000,377.000 C550.000,377.000 571.822,383.585 584.500,390.000 C588.899,392.226 596.510,396.668 602.000,402.500 C607.378,408.212 610.000,414.000 610.000,414.000 L696.000,559.000 L557.000,559.062 L492.000,437.000 C492.000,437.000 478.690,414.131 470.500,407.500 C463.668,401.969 460.755,400.000 454.000,400.000 C449.298,400.000 420.974,400.000 420.974,400.000 L421.000,558.974 L298.000,559.026 L298.000,152.938 L545.000,152.938 C545.000,152.938 657.500,154.967 657.500,262.000 C657.500,369.033 550.000,377.000 550.000,377.000 ZM496.500,241.024 L422.037,240.976 L422.000,310.026 L496.500,310.002 C496.500,310.002 531.000,309.895 531.000,274.877 C531.000,239.155 496.500,241.024 496.500,241.024 Z`,fill:`url(#${t(`gradientFill-2`)})`,fillRule:`evenodd`})]})})({dataComponentName:`icons/RIcon`});qf();var Xce=styled$1(()=>{let e=Kf(),t=t=>e(t);return jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 10 10`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#clip0_6351_16623)`,children:[jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7.74747 6.58131L2.03809 9.97151L9.43066 9.46987L10 2.01562L7.74747 6.58131Z`,fill:`url(#${t(`paint0_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.4423 9.46549L8.8069 5.07999L7.07617 7.36535L9.4423 9.46549Z`,fill:`url(#${t(`paint1_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.45103 9.46503L4.79606 9.09961L2.0625 9.96222L9.45103 9.46503Z`,fill:`url(#${t(`paint2_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M2.06988 9.96392L3.23275 6.1543L0.673828 6.70146L2.06988 9.96392Z`,fill:`url(#${t(`paint3_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7.07647 7.37869L6.00647 3.1875L2.94434 6.05784L7.07647 7.37869Z`,fill:`url(#${t(`paint4_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.75724 3.24496L6.86268 0.880859L6.05664 3.48672L9.75724 3.24496Z`,fill:`url(#${t(`paint5_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.40341 0.0380086L6.701 0.978805L5.62695 0.0253906L8.40341 0.0380086Z`,fill:`url(#${t(`paint6_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M0 7.97912L0.713168 6.67845L0.136274 5.12897L0 7.97912Z`,fill:`url(#${t(`paint7_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M0.0976562 5.08L0.678083 6.72639L3.20016 6.16055L6.07959 3.48453L6.89218 0.903447L5.61267 0L3.43733 0.814112C2.75197 1.45157 1.42204 2.71286 1.37409 2.73659C1.32665 2.76081 0.49588 4.33099 0.0976562 5.08Z`,fill:`white`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M2.13575 2.1231C3.62114 0.650327 5.53604 -0.219808 6.27091 0.521624C7.00533 1.26306 6.2265 3.0649 4.74111 4.53717C3.25572 6.00943 1.36454 6.92752 0.630172 6.18609C-0.104699 5.44516 0.65036 3.59536 2.13575 2.1231Z`,fill:`url(#${t(`paint8_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M2.06934 9.96236L3.22312 6.14062L7.05495 7.37163C5.6695 8.67078 4.12859 9.76905 2.06934 9.96236Z`,fill:`url(#${t(`paint9_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.08496 3.47728L7.06866 7.37371C8.22598 6.15683 9.26469 4.8486 9.7734 3.23047L6.08496 3.47728Z`,fill:`url(#${t(`paint10_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.76328 3.25002C10.157 2.06191 10.2478 0.357474 8.39141 0.0410156L6.86816 0.882382L9.76328 3.25002Z`,fill:`url(#${t(`paint11_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M0 7.96238C0.0545097 9.92326 1.46924 9.95249 2.07187 9.9697L0.679857 6.71875L0 7.96238Z`,fill:`#9E1209`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.08984 3.48401C6.97916 4.03062 8.77147 5.12839 8.80781 5.14858C8.86428 5.18037 9.58053 3.94078 9.74305 3.24023L6.08984 3.48401Z`,fill:`url(#${t(`paint12_radial_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M3.22168 6.14062L4.7641 9.11645C5.67613 8.62182 6.39031 8.01919 7.04442 7.37365L3.22168 6.14062Z`,fill:`url(#${t(`paint13_radial_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M0.673622 6.72331L0.455078 9.32564C0.867434 9.8889 1.43474 9.93786 2.0298 9.89395C1.59928 8.82243 0.739235 6.6799 0.673622 6.72331Z`,fill:`url(#${t(`paint14_linear_6351_16623`)})`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.85938 0.889009L9.92352 1.31903C9.76 0.626051 9.2578 0.17887 8.4018 0.0390625L6.85938 0.889009Z`,fill:`url(#${t(`paint15_linear_6351_16623`)})`})]}),jsxs(`defs`,{children:[jsxs(`linearGradient`,{id:t(`paint0_linear_6351_16623`),x1:`8.78586`,y1:`10.8784`,x2:`6.67627`,y2:`7.15383`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#FB7655`}),jsx(`stop`,{offset:`0.41`,stopColor:`#E42B1E`}),jsx(`stop`,{offset:`0.99`,stopColor:`#990000`}),jsx(`stop`,{offset:`1`,stopColor:`#990000`})]}),jsxs(`linearGradient`,{id:t(`paint1_linear_6351_16623`),x1:`9.83628`,y1:`7.75033`,x2:`7.11749`,y2:`5.92586`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#871101`}),jsx(`stop`,{offset:`0.99`,stopColor:`#911209`}),jsx(`stop`,{offset:`1`,stopColor:`#911209`})]}),jsxs(`linearGradient`,{id:t(`paint2_linear_6351_16623`),x1:`7.66112`,y1:`10.9916`,x2:`4.94241`,y2:`9.16714`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#871101`}),jsx(`stop`,{offset:`0.99`,stopColor:`#911209`}),jsx(`stop`,{offset:`1`,stopColor:`#911209`})]}),jsxs(`linearGradient`,{id:t(`paint3_linear_6351_16623`),x1:`1.95361`,y1:`6.4299`,x2:`2.37508`,y2:`9.16906`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`white`}),jsx(`stop`,{offset:`0.23`,stopColor:`#E57252`}),jsx(`stop`,{offset:`0.46`,stopColor:`#DE3B20`}),jsx(`stop`,{offset:`0.99`,stopColor:`#A60003`}),jsx(`stop`,{offset:`1`,stopColor:`#A60003`})]}),jsxs(`linearGradient`,{id:t(`paint4_linear_6351_16623`),x1:`4.85231`,y1:`3.87267`,x2:`5.00761`,y2:`6.66815`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`white`}),jsx(`stop`,{offset:`0.23`,stopColor:`#E4714E`}),jsx(`stop`,{offset:`0.56`,stopColor:`#BE1A0D`}),jsx(`stop`,{offset:`0.99`,stopColor:`#A80D00`}),jsx(`stop`,{offset:`1`,stopColor:`#A80D00`})]}),jsxs(`linearGradient`,{id:t(`paint5_linear_6351_16623`),x1:`7.42458`,y1:`1.28721`,x2:`7.88948`,y2:`3.2907`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`white`}),jsx(`stop`,{offset:`0.18`,stopColor:`#E46342`}),jsx(`stop`,{offset:`0.4`,stopColor:`#C82410`}),jsx(`stop`,{offset:`0.99`,stopColor:`#A80D00`}),jsx(`stop`,{offset:`1`,stopColor:`#A80D00`})]}),jsxs(`linearGradient`,{id:t(`paint6_linear_6351_16623`),x1:`6.00479`,y1:`0.581667`,x2:`8.00815`,y2:`-0.420014`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`white`}),jsx(`stop`,{offset:`0.54`,stopColor:`#C81F11`}),jsx(`stop`,{offset:`0.99`,stopColor:`#BF0905`}),jsx(`stop`,{offset:`1`,stopColor:`#BF0905`})]}),jsxs(`linearGradient`,{id:t(`paint7_linear_6351_16623`),x1:`0.197007`,y1:`5.73133`,x2:`0.361894`,y2:`7.38217`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`white`}),jsx(`stop`,{offset:`0.31`,stopColor:`#DE4024`}),jsx(`stop`,{offset:`0.99`,stopColor:`#BF190B`}),jsx(`stop`,{offset:`1`,stopColor:`#BF190B`})]}),jsxs(`linearGradient`,{id:t(`paint8_linear_6351_16623`),x1:`-0.936764`,y1:`7.82917`,x2:`6.81425`,y2:`-0.141038`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#BD0012`}),jsx(`stop`,{offset:`0.07`,stopColor:`white`}),jsx(`stop`,{offset:`0.17`,stopColor:`white`}),jsx(`stop`,{offset:`0.27`,stopColor:`#C82F1C`}),jsx(`stop`,{offset:`0.33`,stopColor:`#820C01`}),jsx(`stop`,{offset:`0.46`,stopColor:`#A31601`}),jsx(`stop`,{offset:`0.72`,stopColor:`#B31301`}),jsx(`stop`,{offset:`0.99`,stopColor:`#E82609`}),jsx(`stop`,{offset:`1`,stopColor:`#E82609`})]}),jsxs(`linearGradient`,{id:t(`paint9_linear_6351_16623`),x1:`5.00048`,y1:`8.63258`,x2:`2.6658`,y2:`8.05637`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#8C0C01`}),jsx(`stop`,{offset:`0.54`,stopColor:`#990C00`}),jsx(`stop`,{offset:`0.99`,stopColor:`#A80D0E`}),jsx(`stop`,{offset:`1`,stopColor:`#A80D0E`})]}),jsxs(`linearGradient`,{id:t(`paint10_linear_6351_16623`),x1:`9.01061`,y1:`5.83051`,x2:`6.93656`,y2:`3.9716`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#7E110B`}),jsx(`stop`,{offset:`0.99`,stopColor:`#9E0C00`}),jsx(`stop`,{offset:`1`,stopColor:`#9E0C00`})]}),jsxs(`linearGradient`,{id:t(`paint11_linear_6351_16623`),x1:`9.77255`,y1:`2.41961`,x2:`8.73942`,y2:`1.31512`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#79130D`}),jsx(`stop`,{offset:`0.99`,stopColor:`#9E120B`}),jsx(`stop`,{offset:`1`,stopColor:`#9E120B`})]}),jsxs(`radialGradient`,{id:t(`paint12_radial_6351_16623`),cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(7.2589 4.00782) scale(2.54164 2.54164)`,children:[jsx(`stop`,{stopColor:`#A80D00`}),jsx(`stop`,{offset:`0.99`,stopColor:`#7E0E08`}),jsx(`stop`,{offset:`1`,stopColor:`#7E0E08`})]}),jsxs(`radialGradient`,{id:t(`paint13_radial_6351_16623`),cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(3.73964 7.35654) scale(3.37878)`,children:[jsx(`stop`,{stopColor:`#A30C00`}),jsx(`stop`,{offset:`0.99`,stopColor:`#800E08`}),jsx(`stop`,{offset:`1`,stopColor:`#800E08`})]}),jsxs(`linearGradient`,{id:t(`paint14_linear_6351_16623`),x1:`1.3459`,y1:`9.96087`,x2:`0.503971`,y2:`7.10447`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#8B2114`}),jsx(`stop`,{offset:`0.43`,stopColor:`#9E100A`}),jsx(`stop`,{offset:`0.99`,stopColor:`#B3100C`}),jsx(`stop`,{offset:`1`,stopColor:`#B3100C`})]}),jsxs(`linearGradient`,{id:t(`paint15_linear_6351_16623`),x1:`7.80527`,y1:`0.494718`,x2:`9.69282`,y2:`1.32791`,gradientUnits:`userSpaceOnUse`,children:[jsx(`stop`,{stopColor:`#B31000`}),jsx(`stop`,{offset:`0.44`,stopColor:`#910F08`}),jsx(`stop`,{offset:`0.99`,stopColor:`#791C12`}),jsx(`stop`,{offset:`1`,stopColor:`#791C12`})]}),jsx(`clipPath`,{id:`clip0_6351_16623`,children:jsx(`rect`,{width:`10`,height:`9.97224`,fill:`white`})})]})]})})({dataComponentName:`icons/RubyIcon`}),Zce=styled$1(()=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`22`,height:`12`,viewBox:`0 0 22 12`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#clip0_6351_15636)`,children:[jsx(`mask`,{id:`mask0_6351_15636`,maskUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`21`,height:`12`,children:jsx(`path`,{d:`M0.394531 5.6623C0.394531 8.62697 4.96343 11.0304 10.5992 11.0304C16.235 11.0304 20.804 8.62697 20.804 5.6623C20.804 2.69767 16.235 0.294237 10.5992 0.294237C4.96343 0.294237 0.394531 2.69767 0.394531 5.6623Z`,fill:`white`})}),jsx(`g`,{mask:`url(#mask0_6351_15636)`,children:jsx(`path`,{d:`M0.394531 5.6623C0.394531 8.62697 4.96343 11.0304 10.5992 11.0304C16.235 11.0304 20.804 8.62697 20.804 5.6623C20.804 2.69767 16.235 0.294237 10.5992 0.294237C4.96343 0.294237 0.394531 2.69767 0.394531 5.6623Z`,fill:`url(#paint0_radial_6351_15636)`})}),jsx(`mask`,{id:`mask1_6351_15636`,maskUnits:`userSpaceOnUse`,x:`-1`,y:`-1`,width:`23`,height:`13`,children:jsx(`path`,{d:`M-0.0302734 -0.315971H21.2295V11.6427H-0.0302734V-0.315971Z`,fill:`white`})}),jsx(`g`,{mask:`url(#mask1_6351_15636)`,children:jsx(`path`,{d:`M10.6 10.6319C16.0157 10.6319 20.4061 8.40699 20.4061 5.66241C20.4061 2.91786 16.0157 0.692893 10.6 0.692893C5.18435 0.692893 0.793945 2.91786 0.793945 5.66241C0.793945 8.40699 5.18435 10.6319 10.6 10.6319Z`,fill:`#777BB3`})}),jsx(`mask`,{id:`mask2_6351_15636`,maskUnits:`userSpaceOnUse`,x:`-1`,y:`-1`,width:`23`,height:`13`,children:jsx(`path`,{d:`M-0.0302734 -0.315971H21.2295V11.6427H-0.0302734V-0.315971Z`,fill:`white`})}),jsxs(`g`,{mask:`url(#mask2_6351_15636)`,children:[jsx(`path`,{d:`M5.93929 6.27975C6.3846 6.27975 6.71705 6.19763 6.92739 6.03575C7.13549 5.87552 7.27921 5.59793 7.35454 5.21071C7.42478 4.84878 7.39802 4.59606 7.27504 4.45968C7.14929 4.32038 6.87742 4.24974 6.46698 4.24974H5.75533L5.36081 6.27975H5.93929ZM3.61167 8.78036C3.57864 8.78036 3.54727 8.7656 3.52627 8.74006C3.50523 8.71456 3.4967 8.68097 3.50301 8.64852L4.54858 3.26894C4.5587 3.21694 4.60428 3.17937 4.65728 3.17937H6.91075C7.61896 3.17937 8.1461 3.37166 8.47744 3.75098C8.81055 4.13229 8.91341 4.6653 8.78316 5.33517C8.73016 5.60808 8.63899 5.86153 8.51221 6.08845C8.38528 6.31563 8.21752 6.52583 8.01352 6.71333C7.76933 6.94187 7.49295 7.10759 7.19281 7.20511C6.89742 7.30133 6.51807 7.35013 6.0653 7.35013H5.15283L4.89225 8.69075C4.88213 8.74279 4.83659 8.78036 4.78358 8.78036H3.61167Z`,fill:`black`}),jsx(`path`,{d:`M5.84699 4.36107H6.46737C6.96273 4.36107 7.1348 4.46976 7.19326 4.53454C7.29026 4.64209 7.30857 4.86886 7.24623 5.19031C7.17618 5.55018 7.04633 5.80533 6.86023 5.94861C6.6697 6.09529 6.35996 6.16963 5.93967 6.16963H5.49551L5.84699 4.36107ZM6.91113 3.06924H4.65763C4.55162 3.06924 4.46049 3.14438 4.44027 3.24843L3.3947 8.62801C3.38208 8.69294 3.39913 8.76007 3.44117 8.81112C3.48324 8.86217 3.54592 8.89169 3.61206 8.89169H4.78393C4.88997 8.89169 4.9811 8.81655 5.00133 8.7125L5.24449 7.46145H6.06568C6.53008 7.46145 6.92102 7.41081 7.22755 7.31097C7.5428 7.20855 7.83283 7.03489 8.08954 6.79483C8.30184 6.59951 8.47671 6.38027 8.60922 6.14312C8.74176 5.90591 8.83699 5.64138 8.89224 5.35688C9.02936 4.65176 8.91797 4.08712 8.5612 3.67876C8.2079 3.27431 7.65271 3.06924 6.91113 3.06924ZM5.22684 6.39108H5.93967C6.41215 6.39108 6.76408 6.30209 6.99532 6.12408C7.22659 5.94603 7.38257 5.64887 7.46363 5.23246C7.54117 4.83266 7.50585 4.55052 7.35766 4.38616C7.20928 4.22181 6.91257 4.13961 6.46737 4.13961H5.66444L5.22684 6.39108ZM6.91113 3.29069C7.58904 3.29069 8.08359 3.4686 8.39444 3.82444C8.70526 4.18028 8.79886 4.67697 8.67484 5.31466C8.6238 5.57734 8.53747 5.81751 8.41592 6.03509C8.29423 6.25282 8.13534 6.45191 7.93898 6.63243C7.70498 6.85142 7.44502 7.00747 7.15898 7.10041C6.87293 7.1936 6.5086 7.24 6.06568 7.24H5.0619L4.78393 8.67024H3.61206L4.65763 3.29069H6.91113Z`,fill:`white`}),jsx(`path`,{d:`M11.4707 7.35074C11.4376 7.35074 11.4063 7.33597 11.3853 7.31043C11.3642 7.28493 11.3557 7.25138 11.362 7.2189L11.8245 4.83865C11.8685 4.61228 11.8576 4.44981 11.794 4.38116C11.755 4.33919 11.6379 4.2688 11.2917 4.2688H10.4538L9.87231 7.26112C9.8622 7.31316 9.81662 7.35074 9.76361 7.35074H8.60097C8.5679 7.35074 8.53656 7.33597 8.51552 7.31043C8.49449 7.28493 8.48596 7.25134 8.49227 7.2189L9.53784 1.83932C9.54795 1.78731 9.59354 1.74974 9.64654 1.74974H10.8092C10.8423 1.74974 10.8736 1.7645 10.8946 1.79001C10.9157 1.81555 10.9242 1.8491 10.9179 1.88158L10.6656 3.17998H11.567C12.2537 3.17998 12.7193 3.30104 12.9905 3.55011C13.267 3.80419 13.3532 4.21045 13.2469 4.75774L12.7605 7.26112C12.7504 7.31316 12.7048 7.35074 12.6518 7.35074H11.4707Z`,fill:`black`}),jsx(`path`,{d:`M10.8086 1.63955H9.64594C9.5399 1.63955 9.44877 1.7147 9.42855 1.81874L8.38298 7.19833C8.37036 7.26325 8.38741 7.33039 8.42949 7.38143C8.47156 7.43248 8.53423 7.46201 8.60038 7.46201H9.76302C9.86903 7.46201 9.96019 7.38686 9.98042 7.28281L10.5445 4.38007H11.2911C11.6367 4.38007 11.7093 4.45389 11.7122 4.45706C11.7331 4.47962 11.7607 4.58407 11.7152 4.81808L11.2527 7.19833C11.2401 7.26325 11.2571 7.33039 11.2992 7.38143C11.3413 7.43248 11.4039 7.46201 11.4701 7.46201H12.6512C12.7572 7.46201 12.8484 7.38686 12.8686 7.28281L13.355 4.77943C13.4692 4.1918 13.3715 3.75099 13.0649 3.46915C12.7722 3.20041 12.2821 3.06979 11.5664 3.06979H10.7993L11.026 1.90327C11.0386 1.83834 11.0216 1.77117 10.9795 1.72016C10.9374 1.66911 10.8747 1.63955 10.8086 1.63955ZM10.8086 1.86101L10.5306 3.29124H11.5664C12.2181 3.29124 12.6676 3.405 12.915 3.63221C13.1624 3.85958 13.2365 4.22797 13.1376 4.73721L12.6512 7.24055H11.4701L11.9326 4.86034C11.9852 4.58957 11.9659 4.40487 11.8745 4.3064C11.7831 4.20793 11.5886 4.15862 11.2911 4.15862H10.3619L9.76302 7.24055H8.60038L9.64594 1.86101H10.8086Z`,fill:`white`}),jsx(`path`,{d:`M15.0867 6.27975C15.5321 6.27975 15.8645 6.19763 16.0748 6.03575C16.2829 5.87556 16.4267 5.59796 16.502 5.21071C16.5723 4.84878 16.5455 4.59606 16.4225 4.45968C16.2967 4.32038 16.0249 4.24974 15.6144 4.24974H14.9028L14.5083 6.27975H15.0867ZM12.7592 8.78036C12.7261 8.78036 12.6948 8.7656 12.6738 8.74006C12.6527 8.71456 12.6442 8.68097 12.6505 8.64852L13.696 3.26894C13.7062 3.21694 13.7517 3.17937 13.8048 3.17937H16.0582C16.7665 3.17937 17.2936 3.37166 17.6249 3.75098C17.958 4.13225 18.0609 4.66526 17.9307 5.33517C17.8776 5.60808 17.7864 5.86153 17.6597 6.08845C17.5327 6.31563 17.365 6.52583 17.161 6.71333C16.9168 6.94187 16.6404 7.10759 16.3403 7.20511C16.0449 7.30133 15.6655 7.35013 15.2128 7.35013H14.3002L14.0398 8.69075C14.0296 8.74279 13.9841 8.78036 13.931 8.78036H12.7592Z`,fill:`black`}),jsx(`path`,{d:`M14.9934 4.36107H15.6138C16.1092 4.36107 16.2812 4.46976 16.3397 4.53454C16.4367 4.64209 16.4551 4.86887 16.3927 5.19027C16.3226 5.55018 16.1927 5.80533 16.0067 5.94861C15.8162 6.09529 15.5064 6.16963 15.0861 6.16963H14.642L14.9934 4.36107ZM16.0576 3.06924H13.8041C13.6981 3.06924 13.607 3.14438 13.5868 3.24843L12.5412 8.62801C12.5286 8.69294 12.5456 8.76007 12.5877 8.81112C12.6297 8.86217 12.6924 8.89169 12.7585 8.89169H13.9304C14.0364 8.89169 14.1276 8.81655 14.1478 8.7125L14.3909 7.46145H15.2121C15.6765 7.46145 16.0675 7.41081 16.374 7.31097C16.6892 7.20855 16.9794 7.03486 17.2361 6.79476C17.4484 6.59947 17.6232 6.38027 17.7557 6.14312C17.8882 5.90591 17.9834 5.64138 18.0387 5.35688C18.1758 4.65173 18.0644 4.08709 17.7076 3.67872C17.3544 3.27431 16.7992 3.06924 16.0576 3.06924ZM14.3733 6.39108H15.0861C15.5586 6.39108 15.9105 6.30209 16.1418 6.12408C16.3731 5.94603 16.529 5.64887 16.6101 5.23246C16.6877 4.83266 16.6523 4.55052 16.5041 4.38616C16.3557 4.22181 16.059 4.13961 15.6138 4.13961H14.8109L14.3733 6.39108ZM16.0576 3.29069C16.7355 3.29069 17.23 3.4686 17.5409 3.82444C17.8517 4.18028 17.9453 4.67697 17.8213 5.31466C17.7702 5.57734 17.6839 5.81751 17.5624 6.03509C17.4407 6.25282 17.2818 6.45191 17.0854 6.63243C16.8514 6.85142 16.5915 7.00747 16.3054 7.10041C16.0194 7.1936 15.655 7.24 15.2121 7.24H14.2083L13.9304 8.67024H12.7585L13.8041 3.29069H16.0576Z`,fill:`white`})]})]}),jsxs(`defs`,{children:[jsxs(`radialGradient`,{id:`paint0_radial_6351_15636`,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(6.52149 2.18148) scale(13.4002)`,children:[jsx(`stop`,{stopColor:`#AEB2D5`}),jsx(`stop`,{offset:`0.3`,stopColor:`#AEB2D5`}),jsx(`stop`,{offset:`0.75`,stopColor:`#484C89`}),jsx(`stop`,{offset:`1`,stopColor:`#484C89`})]}),jsx(`clipPath`,{id:`clip0_6351_15636`,children:jsx(`rect`,{width:`21`,height:`11.3267`,fill:`white`,transform:`translate(0.0996094)`})})]})]}))({dataComponentName:`icons/PHPIcon`}),Qce=styled$1(()=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`21`,height:`19`,viewBox:`0 0 12 5`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#clip0_6351_16646)`,children:[jsx(`path`,{d:`M1.33603 1.58431C1.31445 1.58431 1.30906 1.57353 1.31985 1.55735L1.4331 1.41173C1.44389 1.39555 1.47086 1.38477 1.49243 1.38477H3.41779C3.43936 1.38477 3.44476 1.40095 3.43397 1.41712L3.34229 1.55735C3.3315 1.57353 3.30454 1.58971 3.28836 1.58971L1.33603 1.58431Z`,fill:`#3B3C45`}),jsx(`path`,{d:`M0.521573 2.08627C0.5 2.08627 0.494607 2.07548 0.505393 2.0593L0.61865 1.91368C0.629436 1.89751 0.656402 1.88672 0.677975 1.88672H3.13726C3.15884 1.88672 3.16962 1.9029 3.16423 1.91908L3.12108 2.04851C3.11569 2.07009 3.09412 2.08087 3.07255 2.08087L0.521573 2.08627Z`,fill:`#00ACD7`}),jsx(`path`,{d:`M1.82626 2.57845C1.80469 2.57845 1.79929 2.56227 1.81008 2.54609L1.88559 2.41127C1.89637 2.39509 1.91794 2.37891 1.93952 2.37891H3.01815C3.03973 2.37891 3.05051 2.39509 3.05051 2.41666L3.03972 2.54609C3.03972 2.56767 3.01815 2.58385 3.00197 2.58385L1.82626 2.57845Z`,fill:`#00ACD7`}),jsx(`path`,{d:`M7.42518 1.49193C7.08541 1.57822 6.8535 1.64294 6.51913 1.72923C6.43823 1.7508 6.43284 1.75619 6.36273 1.6753C6.28183 1.58361 6.2225 1.52429 6.10925 1.47036C5.76948 1.30317 5.44049 1.35171 5.13308 1.55125C4.76635 1.78855 4.57758 2.13911 4.58298 2.57596C4.58837 3.00741 4.885 3.36336 5.31106 3.42269C5.67779 3.47122 5.9852 3.34179 6.2279 3.06674C6.27643 3.00741 6.31958 2.94269 6.37351 2.86719C6.17936 2.86719 5.93666 2.86719 5.33263 2.86719C5.21937 2.86719 5.19241 2.79708 5.23016 2.70539C5.30027 2.5382 5.42971 2.25776 5.50521 2.11754C5.52139 2.08518 5.55914 2.03125 5.64004 2.03125C5.91509 2.03125 6.92901 2.03125 7.60316 2.03125C7.59237 2.17686 7.59237 2.32248 7.5708 2.46809C7.51147 2.8564 7.36586 3.21235 7.12856 3.52516C6.74025 4.03751 6.23329 4.3557 5.5915 4.442C5.06297 4.51211 4.57219 4.40964 4.14074 4.08605C3.74164 3.78403 3.51513 3.38493 3.4558 2.88876C3.38569 2.3009 3.55827 1.77237 3.91422 1.30856C4.29714 0.806995 4.8041 0.488798 5.42431 0.375541C5.93127 0.283857 6.41666 0.343182 6.8535 0.639807C7.13934 0.828568 7.34428 1.08744 7.47911 1.40024C7.51147 1.44878 7.4899 1.47575 7.42518 1.49193Z`,fill:`#00ACD7`}),jsx(`path`,{d:`M9.21072 4.4733C8.71994 4.46252 8.2723 4.3223 7.89478 3.9987C7.57658 3.72365 7.37704 3.3731 7.31232 2.95782C7.21524 2.34839 7.38243 1.80907 7.74916 1.32908C8.14287 0.811337 8.61747 0.541679 9.25925 0.428422C9.80936 0.331345 10.3271 0.385277 10.7963 0.703474C11.2224 0.994705 11.4866 1.38841 11.5567 1.90615C11.6484 2.63423 11.4381 3.22748 10.9365 3.73444C10.5806 4.09578 10.1437 4.3223 9.64217 4.42477C9.49655 4.45173 9.35094 4.45712 9.21072 4.4733ZM10.4943 2.29446C10.4889 2.22435 10.4889 2.17042 10.4781 2.11649C10.381 1.58256 9.89026 1.28054 9.3779 1.39919C8.87634 1.51245 8.55275 1.83065 8.4341 2.33761C8.33702 2.75827 8.54196 3.18433 8.93027 3.35692C9.2269 3.48635 9.52352 3.47017 9.80936 3.32456C10.2354 3.10344 10.4673 2.75827 10.4943 2.29446Z`,fill:`#00ACD7`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_6351_16646`,children:jsx(`rect`,{width:`11.0769`,height:`4.5`,fill:`white`,transform:`translate(0.5)`})})})]}))({dataComponentName:`icons/GOIcon`}),TN=styled$1(()=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`19`,height:`19`,viewBox:`0 0 19 19`,fill:`none`,children:[jsxs(`g`,{clipPath:`url(#clip0_6351_16166)`,children:[jsx(`path`,{d:`M9.11124 3.58526C8.27951 4.17023 7.33687 4.83324 6.83177 5.93016C5.95448 7.8439 8.62693 9.93138 8.74115 10.0193C8.7677 10.0397 8.79948 10.0499 8.83115 10.0499C8.8648 10.0499 8.89848 10.0384 8.92583 10.0155C8.97888 9.97114 8.99393 9.89576 8.96208 9.83438C8.95241 9.81575 7.99313 7.95246 8.02878 6.61574C8.0414 6.15017 8.69295 5.62201 9.38272 5.06285C10.0145 4.55069 10.7306 3.97023 11.1496 3.29118C12.0694 1.79647 11.0471 0.326724 11.0367 0.312028C10.996 0.255005 10.9211 0.234368 10.857 0.262458C10.793 0.290724 10.7575 0.359947 10.7721 0.428396C10.7742 0.438134 10.973 1.41007 10.4198 2.41143C10.1919 2.82522 9.69115 3.17741 9.11124 3.58526Z`,fill:`#DB380E`}),jsx(`path`,{d:`M12.6158 4.2449C12.6744 4.20071 12.6917 4.12009 12.6562 4.05576C12.6206 3.99142 12.5433 3.96305 12.4746 3.98913C12.3333 4.04285 9.01465 5.32209 9.01465 6.86774C9.01465 7.93322 9.46978 8.49608 9.80212 8.90713C9.93248 9.06835 10.045 9.20757 10.0821 9.32644C10.1865 9.66896 9.93916 10.2881 9.83513 10.4977C9.80514 10.558 9.81984 10.6311 9.87085 10.6751C9.89841 10.6989 9.93283 10.711 9.96728 10.711C9.9966 10.711 10.0261 10.7022 10.0515 10.6845C10.1086 10.6449 11.4461 9.69923 11.2062 8.55992C11.1168 8.12686 10.904 7.81046 10.7163 7.53125C10.4254 7.09865 10.2153 6.78618 10.534 6.20905C10.9074 5.53587 12.5986 4.25769 12.6158 4.2449Z`,fill:`#DB380E`}),jsx(`path`,{d:`M3.97636 10.7348C3.91948 10.9052 3.94634 11.0741 4.05395 11.2236C4.41371 11.7231 5.68802 11.9981 7.64229 11.9981C7.6424 11.9981 7.64247 11.9981 7.64254 11.9981C7.90734 11.9981 8.1869 11.9929 8.47325 11.9826C11.5978 11.8708 12.7567 10.8974 12.8045 10.856C12.8566 10.8109 12.8705 10.7358 12.8381 10.675C12.8057 10.6143 12.7359 10.5838 12.6691 10.6022C11.5687 10.9026 9.51388 11.0093 8.08864 11.0093C6.49384 11.0093 5.68166 10.8944 5.48281 10.8096C5.58484 10.6695 6.21414 10.4193 6.99394 10.2659C7.06847 10.2513 7.11969 10.1825 7.11231 10.1069C7.10493 10.0313 7.04144 9.97363 6.96546 9.97363C6.50836 9.97363 4.21599 10.0103 3.97636 10.7348Z`,fill:`#73A1FB`}),jsx(`path`,{d:`M14.4317 9.7334C13.7872 9.7334 13.1761 10.0564 13.1503 10.0701C13.0908 10.102 13.0605 10.1704 13.0769 10.236C13.0933 10.3016 13.1522 10.3477 13.2199 10.3478C13.2335 10.3478 14.5945 10.3589 14.7178 11.1365C14.827 11.8074 13.4301 12.8943 12.8826 13.2566C12.8234 13.2957 12.8005 13.3713 12.8279 13.4367C12.8513 13.4924 12.9055 13.5272 12.9639 13.5272C12.9741 13.5272 12.9844 13.5261 12.9947 13.5239C13.1246 13.4961 16.1731 12.8243 15.8507 11.0495C15.6541 9.96174 14.9705 9.7334 14.4317 9.7334Z`,fill:`#73A1FB`}),jsx(`path`,{d:`M12.3413 13.0394C12.352 12.9825 12.3283 12.9247 12.281 12.8915L11.55 12.3795C11.5144 12.3545 11.4694 12.3467 11.4275 12.3578C11.4199 12.3597 10.6555 12.5607 9.54578 12.6839C9.10534 12.7333 8.61202 12.7594 8.11906 12.7594C7.0096 12.7594 6.28418 12.629 6.17853 12.5334C6.16454 12.5065 6.16897 12.4943 6.17147 12.4875C6.19066 12.4342 6.29353 12.3708 6.35984 12.3457C6.43307 12.3185 6.47255 12.239 6.44977 12.1644C6.42705 12.0896 6.35003 12.0456 6.27402 12.0638C5.5408 12.2408 5.18227 12.4882 5.20836 12.7992C5.25469 13.3507 6.532 13.6337 7.61183 13.7086C7.76711 13.7192 7.93505 13.7246 8.11087 13.7246C8.11098 13.7246 8.11105 13.7246 8.11115 13.7246C9.90673 13.7246 12.2086 13.1612 12.2316 13.1554C12.2878 13.1417 12.3307 13.0963 12.3413 13.0394Z`,fill:`#73A1FB`}),jsx(`path`,{d:`M6.83099 14.2232C6.88636 14.1872 6.9109 14.1188 6.89124 14.0557C6.87166 13.9927 6.8127 13.9513 6.74647 13.9522C6.64821 13.9548 5.78498 13.9937 5.72454 14.5433C5.70626 14.7076 5.7533 14.8576 5.86443 14.9893C6.17437 15.3566 7.01102 15.5749 8.42174 15.6567C8.58863 15.6667 8.75815 15.6718 8.92567 15.6718C10.7192 15.6718 11.9271 15.1102 11.9777 15.0863C12.0267 15.0631 12.0591 15.0149 12.0619 14.9608C12.0648 14.9066 12.0378 14.8553 11.9915 14.827L11.0678 14.263C11.0357 14.2435 10.9974 14.237 10.9608 14.2445C10.955 14.2458 10.3685 14.3674 9.48332 14.4876C9.31584 14.5103 9.1061 14.5219 8.86 14.5219C7.97582 14.5219 6.99235 14.3774 6.80374 14.2828C6.801 14.2652 6.80448 14.2428 6.83099 14.2232Z`,fill:`#73A1FB`}),jsx(`path`,{d:`M8.08944 17.3678C12.1976 17.3643 14.4025 16.6338 14.8273 16.174C14.9776 16.0114 14.9939 15.8574 14.9811 15.7568C14.9495 15.5093 14.7241 15.3578 14.6985 15.3413C14.6369 15.3017 14.5541 15.3121 14.506 15.3675C14.458 15.423 14.4569 15.5041 14.5051 15.5595C14.531 15.5929 14.5459 15.6486 14.4702 15.7245C14.3004 15.8831 12.5877 16.3645 9.73617 16.5091C9.34555 16.5294 8.93583 16.5397 8.51849 16.5398C5.96533 16.5398 4.0968 16.1901 3.85152 15.9863C3.94605 15.8504 4.60699 15.6334 5.30987 15.5107C5.38908 15.4968 5.44259 15.4222 5.43032 15.3427C5.41805 15.2633 5.34482 15.2087 5.26477 15.219C5.24494 15.2217 5.17765 15.2257 5.09974 15.2305C3.94001 15.3013 2.59981 15.4592 2.52988 16.0567C2.50865 16.2388 2.56275 16.4041 2.69076 16.5479C3.00397 16.8999 3.90422 17.3678 8.0893 17.3678C8.08937 17.3678 8.08937 17.3678 8.08944 17.3678Z`,fill:`#73A1FB`}),jsx(`path`,{d:`M15.6342 16.3037C15.5762 16.2768 15.5075 16.2904 15.4642 16.3372C15.4582 16.3437 14.8406 16.9895 12.9835 17.3688C12.2725 17.5113 10.9379 17.5835 9.0169 17.5835C7.09226 17.5835 5.26086 17.5078 5.24261 17.507C5.16611 17.5033 5.10068 17.5589 5.09028 17.6342C5.07984 17.7094 5.12835 17.7804 5.20222 17.798C5.22127 17.8025 7.14056 18.2521 9.76478 18.2521C11.0234 18.2521 12.2482 18.1499 13.4052 17.9482C15.5624 17.57 15.7134 16.5003 15.7188 16.455C15.7263 16.3916 15.6922 16.3306 15.6342 16.3037Z`,fill:`#73A1FB`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:`clip0_6351_16166`,children:jsx(`rect`,{width:`18`,height:`18`,fill:`white`,transform:`translate(0.200195 0.25)`})})})]}))({dataComponentName:`icons/JavaIcon`}),EN=styled$1(()=>jsxs(`svg`,{width:`32`,height:`32`,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[jsx(`circle`,{cx:`16`,cy:`16`,r:`12`,fill:`#1F7CFF`}),jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.05 12.22C11.05 10.9939 12.0439 10 13.27 10C13.5682 10 13.81 10.2418 13.81 10.54C13.81 10.8382 13.5682 11.08 13.27 11.08C12.6404 11.08 12.13 11.5904 12.13 12.22V14.6409C12.13 15.15 11.9423 15.6306 11.6179 16C11.9423 16.3694 12.13 16.85 12.13 17.3591V19.78C12.13 20.4096 12.6404 20.92 13.27 20.92C13.5682 20.92 13.81 21.1618 13.81 21.46C13.81 21.7582 13.5682 22 13.27 22C12.0439 22 11.05 21.0061 11.05 19.78V17.3591C11.05 16.9909 10.8435 16.6539 10.5159 16.4867C10.3351 16.3996 10.21 16.2145 10.21 16C10.21 15.7855 10.3351 15.6004 10.5158 15.5133C10.8435 15.3461 11.05 15.0091 11.05 14.6409V12.22ZM18.73 10C19.9561 10 20.95 10.9939 20.95 12.22V14.6409C20.95 15.0091 21.1566 15.3461 21.4842 15.5133C21.6649 15.6004 21.79 15.7855 21.79 16C21.79 16.2145 21.6649 16.3996 21.4842 16.4867C21.1566 16.6539 20.95 16.9909 20.95 17.3591V19.78C20.95 21.0061 19.9561 22 18.73 22C18.4318 22 18.19 21.7582 18.19 21.46C18.19 21.1618 18.4318 20.92 18.73 20.92C19.3596 20.92 19.87 20.4096 19.87 19.78V17.3591C19.87 16.85 20.0577 16.3694 20.3821 16C20.0577 15.6306 19.87 15.15 19.87 14.6409V12.22C19.87 11.5904 19.3596 11.08 18.73 11.08C18.4318 11.08 18.19 10.8382 18.19 10.54C18.19 10.2418 18.4318 10 18.73 10Z`,fill:`white`})]}))({dataComponentName:`icons/PayloadIcon`});na();var $ce=styled$1(t_)`
  position: absolute;
  right: 0;
`,ele=styled$1.span`
  max-width: 150px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 var(--spacing-xxs);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: ${({$active:e})=>e?`var(--font-weight-medium)`:`var(--font-weight-regular)`};
`,DN=styled$1.span`
  width: 100%;
  display: inherit;
  gap: inherit;
  flex-direction: inherit;
  justify-content: inherit;
  align-items: inherit;
`,tle=styled$1.span`
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
`,nle=styled$1($g)`
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xs);
  padding: calc(var(--spacing-unit) * 1.5) var(--spacing-xs) calc(var(--spacing-unit) * 1.5)
    var(--spacing-sm);
  width: ${({$width:e=204})=>e}px;
  fill: var(--menu-content-color-active);

  ${DN} {
    width: auto;
    justify-content: flex-start;
  }
`,rle=styled$1(ta)`
  display: inline-flex;

  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
`,ile=styled$1.span`
  display: inline-flex;
  align-items: center;
  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--text-color-secondary);
`,ale={payload:jsx(EN,{}),json:jsx(EN,{}),curl:jsx(CN,{}),bash:jsx(CN,{}),csharp:jsx(wN,{}),csharpnewtonsoft:jsx(wN,{}),node:jsx(Kce,{}),javascript:jsx(qce,{}),python:jsx(Jce,{}),r:jsx(Yce,{}),ruby:jsx(Xce,{}),php:jsx(Zce,{}),go:jsx(Qce,{}),java:jsx(TN,{}),java8:jsx(TN,{})},ole=({item:e,active:t,withCheckmark:n,withIcon:r})=>{let i=ale[qE(e)];return jsxs(Fragment$1,{children:[jsxs(DN,{children:[r&&jsx(tle,{children:i}),jsx(ele,{$active:t,title:e.title,children:e.title})]}),n&&t&&jsx(yO,{})]})},ON=({samples:e,activeTab:t,onChange:n,trigger:r,width:i,withArrow:a=!0,withCheckmark:o=!0,withIcon:s=!0})=>{let c=jE(),l=useCallback(t=>()=>{let r=e.find(({key:e})=>e===t.key);r&&(c.sendSelectLanguageClickedMessage([{...VE.selectLanguageButton,language:QE(r.key)}]),n(r.key))},[n,e,c]),u=useMemo(()=>e.map(e=>jsx(nle,{$width:i,onAction:l(e),children:jsx(ole,{item:e,active:t===e.key,withCheckmark:o,withIcon:s})},e.key)),[t,l,e,i,o,s]),d=e.find(({key:e})=>e===t);if(u.length<=1)return r??jsx(ile,{children:d?.title});let f=r||jsx(rle,{variant:`ghost`,children:d?.title});return jsx(Xg,{trigger:f,withArrow:a,alignment:`end`,portalled:!0,children:jsx($ce,{children:u})})},kN=`payload`,sle=styled$1.div`
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
`;function cle({node:e}){let t=fb(),n=I(np({itemId:useContext(bc)??``,key:`selectedCallback`})),r=e.callbackName,i=e.definitionSamples,a=r!=null&&n===r,{mediaTypes:o,activeMediaType:s,effectiveSchemaId:c,effectiveExampleIds:l,encoding:u,onMediaTypeChange:d}=UM(e),f={t:`request`,cb:r,schemaId:c},p=Xh(GM(c,s,f),l,`response`,s,f),m=Yh(l),[h,g]=useState(0),[_,v]=useState(kN);useEffect(()=>g(0),[l,s]);let y=p[h]??p[0],b=m[h]?.description,x=useMemo(()=>{let e=[{key:kN,lang:`json`,title:`Payload`}];if(i)for(let t of i){let n=`x-${t.lang}`;e.push({key:n,lang:t.lang,title:t.label||t.lang})}return e},[i]),S=useMemo(()=>{if(_!==kN&&i)return i.find(e=>`x-${e.lang}`===_)},[_,i]),C=qM(`response`),w=useCallback(e=>v(e),[]);return a?jsx(xj,{className:`panel-callback-samples`,header:()=>jsxs(YM,{isExpandable:!1,children:[jsx(sle,{children:jsx(SN,{servers:e.servers??[],method:(e.httpVerb??`post`).toUpperCase(),path:e.path??`Callback`})}),jsx(ON,{activeTab:_,samples:x,onChange:w})]}),isExpandable:!1,children:S?jsx(Cj,{lang:YE(S.lang),source:S.source,header:{className:`code-block-header`,controls:{copy:{onClick:C(S.lang)}}}}):jsxs(Fragment$1,{children:[jsx(gN,{mediaTypes:o,value:s,onChange:d,label:t(`contentType`,`Payload media type`)}),jsx(hN,{exampleIds:l,selectedIdx:h,onSelect:g}),jsx(vN,{description:b}),jsx(yN,{payload:y,emptyMessage:`// No callback payload`,mediaType:s,encoding:u})]})}):null}function AN(e,t,n){if(t&&e?.length)return e.find(e=>n(e)?.key===t)??e.find(e=>e===t)}var lle=bN(xN.CodeSampleLanguageSwitched),ule=({operation:e,sample:t})=>{let n=typeof t.lang==`string`?t.lang:``,r=typeof t.label==`string`?t.label:``;return lle({resource:`Redocly_CodeSample`,action:`LanguageSwitched`,operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,label:r||n,lang:n})},dle=bN(xN.CodeSampleCopied),fle=({operation:e,type:t,lang:n=``,label:r=``,activeMimeName:i,activeExampleName:a})=>dle({resource:`Redocly_CodeSample`,action:`CodeSampleCopied`,operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,exampleId:a,exampleMimeType:i,label:r,lang:n,type:t});function ple(e,t){return e.filter(e=>e.key===`payload`||t.has(e.key))}var jN=UE.find(e=>e.key===`payload`)??UE[0],MN={key:jN.key,lang:jN.lang,title:jN.label},NN=[MN];function mle(e,t){let[{activeLanguage:n,languages:r},i]=$o(Ah),a=e.isWebhook?`payload`:n||`curl`,o=e.definitionSamples,s=useMemo(()=>{if(!o?.length)return o;let e=new Set((r??[]).map(e=>e.key));return o.filter(t=>e.has(KE(t)))},[o,r]),c=useMemo(()=>{let n=(r??[]).map(({key:e,lang:t,title:n})=>({key:e,lang:t,title:n})),i=t?n:n.filter(e=>e.key!==`payload`),a=new Set(s?.map(e=>KE(e))??[]);e.isWebhook&&(i=i.filter(e=>e.key===`payload`||a.has(e.key)));let o=ple(i,a);return o.length?o:[n.find(e=>e.key===MN.key)??MN]},[t,r,e.isWebhook,s]);return{languages:c,filteredDefinitionSamples:s,activeLanguage:c.some(e=>e.key===a)?a:c[0]?.key??a,setLanguage:i}}Km();function hle({node:e}){let t=I(ds),n=fb(),r=e.source,i=I(qm),{mediaTypes:a,activeMediaType:o,effectiveSchemaId:s,effectiveExampleIds:c,encoding:l,onMediaTypeChange:u}=UM(e),d=e.isWebhook?`response`:`request`,f={t:`request`,schemaId:s},p=KM(c?.length?void 0:s,f),m=WM(s,f),h=Xh(Bm(o)?s:m,c,d,o,f),g=useContext(bc)??``,_=Qo(tp(g)),v=I(np({itemId:g,key:`activeExampleKey`}));eg(g,c);let y=`${o}|${c?.join(`,`)}`,b=AN(c,v||void 0,e=>i[e]),x=b?c?.indexOf(b)??-1:-1,[S,C]=useState({contentKey:y,idx:0}),w=x>=0?x:S.contentKey===y?S.idx:0;(S.idx!==w||S.contentKey!==y)&&C({contentKey:y,idx:w});let T=useCallback(e=>{C({contentKey:y,idx:e});let t=c?.[e],n=t?i[t]?.key:void 0;_({activeExampleKey:n??``})},[y,c,i,_]),E=h[w]??h[0],{languages:D,filteredDefinitionSamples:O,activeLanguage:k,setLanguage:ee}=mle(e,(c?.length??0)>0||!!s),te=c?.[w],ne=te?i[te]?.key??te:void 0,re=useMemo(()=>E,[E]),ie=useMemo(()=>{if(k===`payload`)return``;let e=O?.find(e=>KE(e)===k);return e?e.source:`// ${n(`unsupportedLanguage`,`Language is not supported.`)}`},[k,O,n]),ae=D.find(e=>e.key===k)??D[0],oe=e.definitionSamples?.find(e=>KE(e)===k),se=oe?.lang??ae?.lang,ce=se&&YE(se),le=qM(`request`),ue=useCallback(e=>()=>{le(e)(),t.events?.codeSamplesCopy?.(fle({operation:{id:`${r.method}:${r.path}`,path:r.path,httpVerb:r.method,name:`${r.method.toUpperCase()} ${r.path}`},type:`request`,lang:e??``,label:ae?.title??``,activeMimeName:o??``,activeExampleName:ne}))},[le,t.events,r.method,r.path,ae,o,ne]),de=useCallback(n=>{ee(n);let i=(e.isWebhook?NN:D).find(e=>e.key===n);t.events?.codeSamplesLanguageSwitch&&i&&t.events.codeSamplesLanguageSwitch(ule({operation:{id:`${r.method}:${r.path}`,path:r.path,httpVerb:r.method,name:`${r.method.toUpperCase()} ${r.path}`},sample:{lang:i.lang,label:i.title}}))},[ee,D,e.isWebhook,t.events,r.method,r.path]),fe=r.method,pe=r.path,me=k===`payload`,he=!me&&!!oe,ge=(c?.length??0)>0;return jsx(Fragment$1,{children:jsxs(xj,{className:`panel-request-samples`,header:()=>jsxs(YM,{isExpandable:!1,children:[jsx(SN,{servers:e.servers??[],method:fe,path:pe}),jsx(ON,{activeTab:k,samples:e.isWebhook?NN:D,onChange:de})]}),isExpandable:!1,children:[a.length>1&&jsx(gN,{mediaTypes:a,value:o,onChange:u,label:me?n(`contentType`,`Payload media type`):n(`contentType`,`Request media type`)}),!he&&!ge&&jsx(mN,{selection:p}),jsx(hN,{exampleIds:c,selectedIdx:w,onSelect:T}),jsx(vN,{description:i[te??``]?.description}),me?jsx(yN,{payload:re,emptyMessage:`// ${n(`noRequestPayload`,`No request payload`)}`,mediaType:o,encoding:l,snippetType:`request`}):jsx(Cj,{lang:ce,source:ie,header:{className:`code-block-header`,controls:{copy:{onClick:ue(se)}}}})]})})}function PN(e){return`${IN}${e}`}function FN(e){return`${LN}${e}`}var IN,LN,RN=o((()=>{IN=`types/`,LN=`directives/`}));RN();var zN=new Set([`edges`,`nodes`,`node`,`pageInfo`]);function gle(e){return t=>e[PN(t)]?.data}function BN(e,t,n){let r=e.graphqlMeta?.rootTypes[t];if(r)return(e.schemaStore[PN(r)]?.data)?.fields?.find(e=>e.name===n)}function VN(e){let t=e.trim();return t.endsWith(`!`)?{kind:`non-null`,ofType:VN(t.slice(0,-1))}:t.startsWith(`[`)&&t.endsWith(`]`)?{kind:`list`,ofType:VN(t.slice(1,-1))}:{kind:`named`,name:t}}function HN(e){return`  `.repeat(e)}function _le(e){switch(e){case`Int`:return 40;case`Float`:return 40;case`String`:return`Example String`;case`Boolean`:return!0;case`ID`:return`9cfb1c81-4c79-452f-b1f5-8ee6571276b4`;default:return`Example Custom Scalar`}}function UN(e,t,n,r=0){return WN(VN(e),t,n,r,new Set)}function WN(e,t,n,r,i){return e.kind===`non-null`?WN(e.ofType,t,n,r,i):e.kind===`list`?[WN(e.ofType,t,n,r,i)]:GN(e.name,t,n,r,i)}function GN(e,t,n,r,i){let a=t(e);if(!a||a.variant===`scalar`)return _le(e);if(a.variant===`object`||a.variant===`interface`)return KN(a,t,n,r,!0,i);if(a.variant===`input`)return KN(a,t,n,r,!1,i);if(a.variant===`union`){let e=a.possibleTypes?.[0];return e?GN(e,t,n,r,i):{}}return a.variant===`enum`?a.enumValues?.[0]?.name:{}}function KN(e,t,n,r,i,a){if(r===n||a.has(e.name))return{__typename:e.name};let o=new Set(a).add(e.name),s={};for(let a of e.fields??[]){let e=VN(a.type.display);s[a.name]=i&&zN.has(a.name)?WN(e,t,n,r,o):WN(e,t,n,r+1,new Set)}return s}var vle={argumentsHere:`Arguments Here`,fragment:`Fragment`};function yle(e,t){return e.length===0?``:t?`(\n${e.map(e=>`${HN(1)}$${e.name}: ${e.type.display}`).join(`
`)}\n)`:`(${e.map(e=>`$${e.name}: ${e.type.display}`).join(`, `)})`}function ble(e,t,n,r,i){if(e.length===0)return``;if(r>0){let e=HN(n+1),t=HN(n);return`(\n${e}# ${i.argumentsHere}\n${t})`}if(t){let t=HN(n),r=HN(n+1);return`(\n${e.map(e=>`${r}${e.name}: $${e.name}`).join(`
`)}\n${t})`}return`(${e.map(e=>`${e.name}: $${e.name}`).join(`, `)})`}function qN(e,t,n,r,i,a,o,s){let c=t(e);if(!c)return``;if(c.variant===`object`||c.variant===`interface`)return xle(c,t,n,r,i,a,o,s);if(c.variant===`union`){let e=c.possibleTypes?.[0];return e?qN(e,t,n,r,i,a,o,s):``}return``}function xle(e,t,n,r,i,a,o,s){let c=HN(r);if(a===i||s.has(e.name)){let t=HN(r+1);return`{\n${t}__typename\n${t}# ...${e.name}${o.fragment}\n${c}}`}let l=new Set(s).add(e.name);return`{\n${(e.fields??[]).map(e=>{let s=zN.has(e.name);return JN(e,t,n,r+1,i,s?a:a+1,o,s?l:new Set)}).join(`
`)}\n${c}}`}function JN(e,t,n,r,i,a,o,s){let c=ble(e.args??[],n,r,a,o),l=qN(e.type.name,t,n,r,i,a,o,s),u=l?` `:``;return`${HN(r)}${e.name}${c}${u}${l}`}function Sle(e,t,n,r,i,a={}){let o=t.args??[],s=i??o.length>4,c=yle(o,s),l=JN(t,n,s,1,r,0,{...vle,...a},new Set);return`${e} ${t.name}${c} {\n${l}\n}`}function YN(e,t,n){let r={};for(let i of e)r[i.name]=UN(i.type.display,t,n);return r}function Cle(e,t,n){return{data:UN(e,t,n)}}RN();function wle(e,t={}){let n={},r=new Set(Object.values(t));function i(e,t){n[e]||(n[e]=[]),n[e].push(t)}for(let t of Object.values(e)){if(!t.id.startsWith(`types/`))continue;let e=t.data;if(!r.has(e.name)){for(let t of e.fields??[])i(t.type.name,{name:e.name,field:t.name});for(let t of e.possibleTypes??[])i(t,{name:e.name})}}return n}RN();var XN=Bo(e=>gle(e(Oc))),ZN=Dc(e=>Bo(t=>t(Oc)[PN(e)]?.data)),Tle=Dc(e=>Bo(t=>t(Oc)[FN(e)]?.data));function QN(e,t){return e&&t?`${e}:${t}`:``}function Ele(e){let t=e.indexOf(`:`),n=e.slice(0,t);if(!(t<1||n!==`query`&&n!==`mutation`&&n!==`subscription`))return{operationType:n,operationName:e.slice(t+1)}}var $N=Dc(e=>Bo(t=>{let n=Ele(e);return n&&BN(t(ms),n.operationType,n.operationName)})),eP=Bo(e=>{let t=e(ls),n={};function r(e){for(let t of e)t.content?.meta?.name&&`routeSlug`in t&&t.routeSlug&&(n[t.content.meta.name]=t.routeSlug),`items`in t&&Array.isArray(t.items)&&r(t.items)}return r(t),n}),Dle=Bo(e=>wle(e(Oc),e(ms).graphqlMeta?.rootTypes)),Ole={query:`querySample`,mutation:`mutationSample`,subscription:`subscriptionSample`};function kle({node:e}){let t=I(XN),{jsonSamplesDepth:n,samplesMaxInlineArgs:r}=I(ds),i=fb(),a=e.graphqlOperationData,o=qM(`request`),s=I($N(QN(a?.operationType,a?.operationName))),{queryString:c,variablesData:l,hasVariables:u}=useMemo(()=>{if(!a)return{queryString:`# No schema available`,variablesData:{},hasVariables:!1};if(!s)return{queryString:`# Operation "${a.operationName}" not found`,variablesData:{},hasVariables:!1};let e=s.args??[],o=e.length>r;return{queryString:Sle(a.operationType,s,t,n,o,{argumentsHere:i(`arguments.here`,`Arguments Here`),fragment:i(`content.fragment`,`Fragment`)}),variablesData:YN(e,t,n),hasVariables:e.length>0}},[s,a,t,n,r,i]),d=i(a?Ole[a.operationType]??`querySample`:`querySample`,`Query sample`);return jsxs(xj,{className:`panel-response-samples`,header:()=>jsx(QM,{children:jsx(yj,{children:d})}),isExpandable:!1,children:[jsx(Cj,{lang:`graphql`,source:c,header:{className:`code-block-header`,controls:{copy:{onClick:o(`graphql`)}}}}),u&&jsx(Cce,{children:jsx(wj,{data:l,expandLevel:1/0,title:jsx(wce,{children:i(`variables`,`Variables`)})})})]})}function Ale({node:e}){let t=I(XN),{jsonSamplesDepth:n}=I(ds),r=fb(),i=e.graphqlOperationData,a=I($N(QN(i?.operationType,i?.operationName))),o=useMemo(()=>a?Cle(a.type.display,t,n):null,[a,t,n]);return o?jsx(xj,{className:`panel-response-samples`,header:()=>jsx(QM,{children:jsx(yj,{children:r(`responseSample`,`Response sample`)})}),isExpandable:!1,children:jsx(wj,{data:o,expandLevel:1/0})}):jsx(Fragment$1,{})}function jle({node:e}){let t=I(XN),{jsonSamplesDepth:n}=I(ds),r=fb(),i=e.graphqlOperationData,{sampleData:a,isInput:o}=useMemo(()=>{if(!i)return{sampleData:null,isInput:!1};let e=t(i.typeName);return e?{sampleData:UN(i.typeName,t,n),isInput:e.variant===`input`}:{sampleData:null,isInput:!1}},[t,i,n]);return a==null?jsx(Fragment$1,{}):jsx(xj,{className:`panel-response-samples`,header:()=>jsx(QM,{children:jsx(yj,{children:o?r(`requestSample`,`Request sample`):r(`responseSample`,`Response sample`)})}),isExpandable:!1,children:jsx(wj,{data:a,expandLevel:1/0})})}function Mle({node:e}){let t=I(XN),{jsonSamplesDepth:n}=I(ds),r=fb(),i=e.graphqlOperationData,a=I($N(QN(i?.operationType,i?.operationName))),o=useMemo(()=>{let e=a?.args??[];return e.length===0?null:YN(e,t,n)},[a,t,n]);return o?jsx(xj,{className:`panel-response-samples`,header:()=>jsx(QM,{children:jsx(yj,{children:r(`variables`,`Variables`)})}),isExpandable:!1,children:jsx(wj,{data:o,expandLevel:1/0})}):jsx(Fragment$1,{})}function tP({node:e}){let{mediaTypes:t,activeMediaType:n,effectiveSchemaId:r,effectiveExampleIds:i,encoding:a,isMessageWithoutPayload:o,onMediaTypeChange:s}=UM(e),c=fb(),l=KM(i?.length?void 0:r),u=GM(r,n),d=Xh(u,i,void 0,n),f=Xh(u,void 0,void 0,n),p=Yh(i),[m,h]=useState(0);useEffect(()=>h(0),[i,n]);let g=(m<d.length?d[m]:d[0])??f[0],_=p[m]?.description,v=p[m]?.headers;return d.length===0&&!o?jsx(Fragment$1,{}):jsxs(xj,{className:`panel-response-samples`,header:()=>jsx(Nle,{isExpandable:!1,children:e.panelLabel??c(`payload`,`Payload`)}),isExpandable:!1,children:[jsx(gN,{mediaTypes:t,value:n,onChange:s,label:c(`contentType`,`Payload media type`)}),!i?.length&&jsx(mN,{selection:l}),jsx(hN,{exampleIds:i,selectedIdx:m,onSelect:h}),jsx(vN,{description:_}),v&&jsxs(Fragment$1,{children:[jsx(nP,{children:c(`header`,`Headers`)}),jsx(yN,{payload:v,mediaType:`application/json`}),jsx(nP,{children:c(`payload`,`Payload`)})]}),jsx(yN,{payload:g,emptyMessage:`// No payload sample`,mediaType:n,encoding:a})]})}var nP=styled$1.div`
  margin: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
`,Nle=styled$1(vj)`
  font-weight: var(--font-weight-regular);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);
`;function Ple(e){return e.startsWith(`2`)?`var(--status-code-200-bg-color, var(--color-success-base, #00B200))`:e.startsWith(`3`)?`var(--status-code-300-bg-color, var(--color-warning-base, #EB8700))`:e.startsWith(`4`)?`var(--status-code-400-bg-color, var(--color-error-base, #E20C0C))`:e.startsWith(`5`)?`var(--status-code-500-bg-color, var(--color-error-base, #E20C0C))`:`var(--status-code-100-bg-color, var(--color-info-base, #6c757d))`}var rP=styled$1.div`
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
`,iP=styled$1.button`
  display: inline-flex;
  align-items: center;
  padding: 0 var(--spacing-sm);
  height: 24px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: ${({$active:e})=>e?`var(--font-weight-bold)`:`var(--font-weight-regular)`};
  line-height: var(--line-height-base);
  color: ${({$active:e})=>e?`var(--text-color-primary)`:`var(--text-color-secondary)`};
  background-color: ${({$active:e})=>e?`var(--tab-bg-color-filled, var(--border-color-secondary))`:`transparent`};

  &::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 4px;
    background-color: ${({$code:e})=>Ple(e)};
    border: 1px solid var(--bg-color, #fff);
  }

  &:hover {
    color: var(--text-color-primary);
  }
`;function Fle(e,t,n){if(t===void 0||!e?.length)return;let r=e=>n[e];for(let n of e){for(let[e,i]of Object.entries(n.mediaTypeContent??{}))if(AN(i.exampleIds,t,r))return{code:n.code,mediaType:e};if(AN(n.exampleIds,t,r))return{code:n.code}}}function Ile({node:e}){let{responseCodes:t}=e,n=fb(),r=jE(),i=useContext(bc)??``,a=Qo(tp(i)),o=useCallback(e=>{r.sendResponseCodeTabClickedMessage([{...VE.responseCodeTab,statusClass:$E(e),total:t?.length??0}]),a({activeResponseCode:e})},[r,t?.length,a]),s=I(np({itemId:i,key:`activeResponseCode`})),c=I(np({itemId:i,key:`activeExampleKey`})),l=I(qm),u=useMemo(()=>Fle(t,void 0,l),[t,void 0,l]),d=s||u?.code||t?.[0]?.code,f=t?.find(e=>e.code===d)??t?.[0],p=useMemo(()=>f?.mediaTypeContent?Object.keys(f.mediaTypeContent):f?.mediaTypes??[],[f]),[m,h]=$o(Sh),[g,_]=useState(!1),v=u&&u.code===d&&u.mediaType&&p.includes(u.mediaType)?u.mediaType:void 0,y=!g&&v?v:m&&p.includes(m)?m:v??p[0],b=f?.mediaTypeContent?.[y??``],x=!!t?.length,S=b?.schemaId??f?.schemaId??(x?void 0:e.schemaId),C=b?.exampleIds??f?.exampleIds??(x?void 0:e.exampleIds);eg(i,C);let w=!t?.length||!!(S||C?.length),T=p.length>0?y??p[0]:`application/json`,E={t:`response`,c:d,schemaId:S},D=KM(C?.length?void 0:S,E),O=Xh(GM(S,T,E),C,e.isEvent?`request`:`response`,T,E),k=Yh(C),ee=`${d}|${y}|${C?.join(`,`)}`,te=AN(C,c||void 0,e=>l[e]),ne=te?C?.indexOf(te)??-1:-1,re=AN(C,void 0,e=>l[e]),ie=re?C?.indexOf(re)??-1:-1,[ae,oe]=useState({}),se=ae[ee],ce=ne>=0?ne:se?.picked?se.idx:ie>=0?ie:se?.idx??0;if(!se||se.idx!==ce){let e=se?.picked??!1;oe(t=>({...t,[ee]:{idx:ce,picked:e}}))}let le=useCallback(e=>{oe(t=>({...t,[ee]:{idx:e,picked:!0}}));let t=C?.[e],n=t?l[t]?.key:void 0;a({activeExampleKey:n??``})},[ee,C,l,a]),ue=O[ce]??O[0],de=k[ce]?.description,fe=useCallback(()=>{if(!e.hideHeaderTitle||t?.length)return jsxs(QM,{children:[!e.hideHeaderTitle&&jsx(yj,{children:n(`response`,`Response`)}),t&&t.length>0&&jsx(rP,{children:t.map(e=>{let n=e.code===(d??t[0]?.code);return jsx(iP,{type:`button`,$active:n,$code:e.code,onClick:()=>o(e.code),children:e.code},e.code)})})]})},[t,d,e.hideHeaderTitle,n,o]);return O.length===0&&!t?.length?jsx(Fragment$1,{}):jsxs(xj,{className:`panel-response-samples`,header:fe,isExpandable:!1,children:[jsx(gN,{mediaTypes:p,value:y,onChange:e=>{_(!0),h(e)},label:n(`contentType`,`Response media type`)}),!C?.length&&jsx(mN,{selection:D}),jsx(hN,{exampleIds:C,selectedIdx:ce,onSelect:le}),jsx(vN,{description:de}),jsx(yN,{payload:ue,emptyMessage:w?`// ${n(`noResponseExample`,`No response sample`)}`:n(`noResponseContent`,`No content`),mediaType:T,encoding:b?.encoding})]})}var Lle={"code-sample":hle,"callback-payload":cle,response:Ile,payload:tP,"graphql-query":kle,"graphql-response":Ale,"graphql-type-sample":jle,"graphql-variables":Mle};function aP({node:e}){return jsx(Fragment$1,{children:e.children.map((e,t)=>{let n=Lle[e.kind];return jsx(n||tP,{node:e},t)})})}function Rle(e){let{title:t,icon:n,description:r,className:i}=e;return jsxs(zle,{"data-component-name":`Dropdown/DropdownMenuItemContent`,className:i,children:[n?jsx(Ble,{children:n}):null,jsxs(Vle,{children:[jsx(Hle,{children:t}),r?jsx(Ule,{children:r}):null]})]})}var zle=styled.div`
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--dropdown-menu-item-content-gap);
  padding: var(--dropdown-menu-item-content-padding);
`,Ble=styled.div`
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--dropdown-menu-item-content-icon-size);
  height: var(--dropdown-menu-item-content-icon-size);
  color: var(--dropdown-menu-item-content-icon-color);
  border: var(--dropdown-menu-item-content-icon-border);
  border-radius: var(--dropdown-menu-item-content-icon-border-radius);
`,Vle=styled.div`
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--dropdown-menu-item-content-text-gap);
`,Hle=styled.div`
  display: flex;
  align-items: center;
  gap: var(--dropdown-menu-item-content-title-icon-gap);
  font-weight: var(--dropdown-menu-item-content-title-font-weight);
  font-size: var(--dropdown-menu-item-content-title-font-size);
  line-height: var(--dropdown-menu-item-content-title-line-height);
  color: var(--dropdown-menu-item-content-title-color);
`,Ule=styled.div`
  font-weight: var(--dropdown-menu-item-content-description-font-weight);
  font-size: var(--dropdown-menu-item-content-description-font-size);
  line-height: var(--dropdown-menu-item-content-description-line-height);
  color: var(--dropdown-menu-item-content-description-color);
`;F();var oP=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M13 14H3C2.73489 13.9996 2.48075 13.8942 2.29329 13.7067C2.10583 13.5193 2.00036 13.2651 2 13V3C2.00036 2.73489 2.10583 2.48075 2.29329 2.29329C2.48075 2.10583 2.73489 2.00036 3 2H8V3H3V13H13V8H14V13C13.9996 13.2651 13.8942 13.5193 13.7067 13.7067C13.5193 13.8942 13.2651 13.9996 13 14Z`}),jsx(`path`,{d:`M10 1V2H13.293L9 6.293L9.707 7L14 2.707V6H15V1H10Z`})]})).attrs({"data-component-name":`icons/LaunchIcon/LaunchIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;function sP(e){let{pageAction:t,className:n}=e;return jsx(Wle,{"data-component-name":`PageActions/PageActionsMenuItem`,className:n,children:jsx(Rle,{icon:jsx(t.iconComponent,{}),title:jsxs(Fragment$1,{children:[t.title,`link`in t?jsx(oP,{color:`var(--page-actions-menu-item-title-icon-color)`,size:`14px`}):null]}),description:t.description})})}var Wle=styled.div`
  --dropdown-menu-item-content-gap: var(--page-actions-menu-item-gap);
  --dropdown-menu-item-content-padding: var(--page-actions-menu-item-padding);
  --dropdown-menu-item-content-icon-size: var(--page-actions-menu-item-icon-wrapper-size);
  --dropdown-menu-item-content-icon-color: var(--page-actions-menu-item-icon-color);
  --dropdown-menu-item-content-icon-border: 1px solid var(--page-actions-menu-item-icon-border-color);
  --dropdown-menu-item-content-icon-border-radius: var(--page-actions-menu-item-icon-border-radius);
  --dropdown-menu-item-content-text-gap: var(--page-actions-menu-item-text-gap);
  --dropdown-menu-item-content-title-icon-gap: var(--page-actions-menu-item-title-icon-gap);
  --dropdown-menu-item-content-title-font-weight: var(--page-actions-menu-item-title-font-weight);
  --dropdown-menu-item-content-title-font-size: var(--page-actions-menu-item-title-font-size);
  --dropdown-menu-item-content-title-line-height: var(--page-actions-menu-item-title-line-height);
  --dropdown-menu-item-content-title-color: var(--page-actions-menu-item-title-color);
  --dropdown-menu-item-content-description-font-weight: var(
    --page-actions-menu-item-description-font-weight
  );
  --dropdown-menu-item-content-description-font-size: var(
    --page-actions-menu-item-description-font-size
  );
  --dropdown-menu-item-content-description-line-height: var(
    --page-actions-menu-item-description-line-height
  );
  --dropdown-menu-item-content-description-color: var(--page-actions-menu-item-description-color);
`;function Gle(e){let{variant:t=`outlined`,className:n=``,children:r,size:i=`medium`}=e;return jsx(Kle,{"data-component-name":`Button/ButtonGroup`,className:`button-group-${t} button-group-size-${i} ${n}`,children:r})}var Kle=styled.div`
  display: flex;
  line-height: var(--button-line-height);

  & > .button,
  & > * > .button {
    border-radius: 0;
  }

  & > .button:first-child,
  & > *:first-child > .button {
    border-top-left-radius: var(--button-border-radius);
    border-bottom-left-radius: var(--button-border-radius);
  }

  & > .button:last-child,
  & > *:last-child > .button {
    border-top-right-radius: var(--button-border-radius);
    border-bottom-right-radius: var(--button-border-radius);
  }

  /* Adjacent segments share a single divider line: the leading segment drops its
     own right border and the trailing one draws the divider as its left border. */
  & > .button:not(:last-child),
  & > *:not(:last-child) > .button {
    border-right-style: none;
    border-right-width: 0;
  }

  & > .button:not(:first-child),
  & > *:not(:first-child) > .button {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: color-mix(
      in srgb,
      var(--button-group-divider-color) calc(var(--button-group-divider-opacity) * 100%),
      transparent
    );
  }

  & > .button:not(:first-child):disabled,
  & > *:not(:first-child) > .button:disabled {
    border-left-color: var(--button-group-divider-color-disabled);
  }
`;na();function cP(e){let{button:t,children:n,variant:r,size:i,tone:a,placement:o=`bottom`,alignment:s=`end`,portalled:c,closeOnSelect:l=!0,disabled:u,toggleAriaLabel:d,onOpen:f,onClose:p,className:m}=e,h=typeof n==`function`||React.Children.toArray(n).length>0,g=useRef(null);return jsx(qle,{"data-component-name":`SplitButton/SplitButton`,className:m,ref:g,children:jsxs(Gle,{variant:r,size:i,children:[t,h?jsx(Jle,{closeOnClick:l,placement:o,alignment:s,portalled:c,alignmentAnchorRef:g,withArrow:!0,onOpen:f,onClose:p,trigger:jsx(ta,{"aria-label":d,"aria-haspopup":`menu`,variant:r,size:i,tone:a,disabled:u}),children:n}):null]})})}var qle=styled.div`
  position: relative;
  display: inline-flex;

  /* Themed button margins must not split the group apart. Direct-child chains
     keep the rule off buttons rendered inside the dropdown menu. */
  > * > .button,
  > * > * > .button {
    margin: 0;
  }
`,Jle=styled(Xg)`
  position: static;
`;na(),Bt(),F(),_o(),mo();var Yle={"mcp-cursor":{option:`cursor`,titleKey:`page.actions.connectMcp.cursor`,title:`Connect to Cursor`,descriptionKey:`page.actions.connectMcp.cursorDescription`,description:`Install MCP server on Cursor`,Icon:go},"mcp-vscode":{option:`vscode`,titleKey:`page.actions.connectMcp.vscode`,title:`Connect to VS Code`,descriptionKey:`page.actions.connectMcp.vscodeDescription`,description:`Install MCP server on VS Code`,Icon:po}};function Xle({actions:e,mcpUrl:t}){let n=fb(),r=jE(),[i,...a]=e.map(e=>Yle[e]).filter(e=>e!==void 0).map(e=>({buttonText:n(e.titleKey,e.title),title:n(e.titleKey,e.title),description:n(e.descriptionKey,e.description),iconComponent:e.Icon,onClick:()=>{r.sendConnectMcpClickedMessage([{...VE.connectMcp,option:e.option}]),window.open(D(e.option,{serverName:x,url:t}),`_blank`)}}));return!i||!(`onClick`in i)?null:jsx(cP,{portalled:!0,variant:`outlined`,size:`medium`,toggleAriaLabel:n(`page.actions.moreActions`,`More actions`),button:jsx(ta,{variant:`outlined`,icon:jsx(i.iconComponent,{}),onClick:i.onClick,children:i.buttonText}),children:a.length?jsx(t_,{children:a.map(e=>jsx($g,{onAction:()=>`onClick`in e&&e.onClick(),children:jsx(sP,{pageAction:e})},e.title))}):null})}B();function Zle({node:e}){let t=e,n=fb(),r=t.children,i=Tj(n,e.titleTranslationKey,e.title);return jsx(Sj,{header:i,className:`panel-api-docs`,isExpandable:!1,children:jsx(tue,{children:r.map((e,t)=>jsx($le,{item:e,translate:n},Qle(e,t)))})})}function Qle(e,t){return e.kind===z.ATTRIBUTE?`${e.label}-${t}`:e.kind===z.TAGS?`${e.title||`tags`}-${t}`:e.kind===z.EXTERNAL_LINK?`${e.url}-${t}`:e.kind===z.CONNECT_MCP_BUTTON?`${e.mcpUrl}-${t}`:`mcp-item-${t}`}var $le=memo(function({item:e,translate:t}){let n=Tj(t,e.titleTranslationKey,e.title),r=`label`in e?Tj(t,e.labelTranslationKey,e.label):``;return e.kind===z.ATTRIBUTE?jsxs(lP,{children:[jsx(uP,{children:e.title||r}),jsx(nue,{children:e.value})]}):e.kind===z.TAGS?jsxs(lP,{children:[jsx(uP,{children:n||`Tags`}),jsx(rue,{children:e.tags.map(e=>jsxs(iue,{$variant:e.color===`green`?`success`:void 0,children:[e.icon===`checkmark`&&jsx(eue,{}),` `,e.text]},e.text))})]}):e.kind===z.EXTERNAL_LINK?jsxs(lP,{children:[jsx(uP,{children:n||`Link`}),jsx(oue,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,children:e.label})]}):e.kind===z.CONNECT_MCP_BUTTON?jsx(aue,{children:jsx(Xle,{actions:e.actions,mcpUrl:e.mcpUrl})}):null});function eue(){return jsx(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,children:jsx(`polyline`,{points:`20 6 9 17 4 12`})})}var tue=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
`,lP=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
`,uP=styled$1.span`
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color-secondary);
  line-height: var(--line-height-sm);
`,nue=styled$1.span`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-monospaced);
  color: var(--text-color-primary);
`,rue=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xxs);
`,iue=styled$1.span`
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xxs);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 0 var(--spacing-xxs);
  border-radius: var(--tag-border-radius);
  font-family: var(--font-family-monospaced);
  background: ${({$variant:e})=>e===`success`?`var(--badge-ok-bg-color, var(--tag-bg-color))`:`var(--tag-bg-color, var(--border-color-secondary))`};
  color: ${({$variant:e})=>e===`success`?`var(--badge-ok-text-color, var(--text-color-secondary))`:`var(--text-color-secondary)`};
`,aue=styled$1.div`
  & button {
    width: 100%;
  }
  > div {
    padding: 0;
  }
`,oue=styled$1.a`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-monospaced);
  color: var(--link-color-primary);
  text-decoration: none;
  word-break: break-all;

  &:hover {
    text-decoration: underline;
  }
`,sue={"openapi.mcp.inputExample":`Input example`,"openapi.mcp.outputExample":`Output example`,"openapi.mcp.argumentsExample":`Arguments example`,"openapi.mcp.exampleTitle":`Resource content`},cue=styled$1(f_)`
  border: none;
  padding: 0 8px;
  margin-bottom: 0;
  --code-block-padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-sm);
`;function lue({node:e}){let t=fb();return jsx(Fragment$1,{children:e.children.map((e,n)=>jsx(xj,{className:`panel-response-samples`,header:t(e.headerTitleTranslationKey,sue[e.headerTitleTranslationKey]),isExpandable:!1,children:e.language?jsx(cue,{source:String(e.data),header:{title:e.language,controls:{copy:{}}}}):jsx(wj,{data:e.data,expandLevel:1/0})},n))})}var dP=styled$1.div`
  border: 1px solid var(--border-color-secondary, var(--border-color-primary));
  border-radius: var(--panel-border-radius);
  background-color: var(--panel-bg-color, var(--bg-color));
  margin-top: var(--spacing-base);
`,fP=styled$1.div`
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  padding: calc(var(--spacing-sm, 12px) + 2px) var(--spacing-md) calc(var(--spacing-xs) + 2px);
  border-bottom: 1px solid var(--border-color-secondary, var(--border-color-primary));
`,pP=styled$1.div`
  display: flex;
  flex-direction: column;
  padding: var(--spacing-sm, 12px) var(--spacing-md) var(--spacing-md);
  gap: var(--spacing-xs);
  max-height: 400px;
  overflow-y: auto;
`,mP=styled$1.div`
  display: flex;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-md, var(--line-height-base));
  color: var(--text-color-secondary);
  align-items: center;
`,uue=styled$1.svg`
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: var(--spacing-sm, 12px);

  path,
  circle {
    fill: var(--border-color-primary);
    stroke: var(--border-color-primary);
  }
`;function hP(){let e=`panel-list-icon-clip-${useId().replace(/[^a-zA-Z0-9-]/g,``)}`;return jsxs(uue,{viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[jsxs(`g`,{clipPath:`url(#${e})`,children:[jsx(`path`,{d:`M0 11H22`,strokeLinecap:`round`}),jsx(`circle`,{cx:`4`,cy:`11`,r:`4`})]}),jsx(`defs`,{children:jsx(`clipPath`,{id:e,children:jsx(`rect`,{width:`22`,height:`22`,fill:`white`})})})]})}function due({node:e}){let t=e.children[0],n=fb(),r=I(Dle),i=I(eP),a=vc(),o=jE(),s=I(XN),c=Qo(RE),l=t?.graphqlTypeName?s(t.graphqlTypeName)?.variant??`other`:`other`,u=useCallback(e=>{c(`referencedIn`),o.sendReferencedInClickedMessage([{...VE.graphqlDocsReferencedInLink,fromKind:l,toKind:s(e)?.variant??`other`}])},[o,c,s,l]),d=useMemo(()=>t?.graphqlTypeName?r[t.graphqlTypeName]??[]:t?.references??[],[t,r]),f=useMemo(()=>d.flatMap(e=>{let t=i[e.name];return t?[{reference:e,typeTo:a(t),fieldTo:e.field?a(`${t}#${e.name}-${e.field}`):void 0}]:[]}),[d,i,a]);if(d.length===0)return null;let p=Tj(n,e.titleTranslationKey,e.title);return jsxs(dP,{className:`panel-api-docs`,children:[jsx(fP,{children:p}),jsx(pP,{children:f.map(({reference:e,typeTo:t,fieldTo:n})=>jsx(fue,{reference:e,typeTo:t,fieldTo:n,onReferencedInClick:u},`${e.name}.${e.field??``}`))})]})}var fue=memo(function({reference:e,typeTo:t,fieldTo:n,onReferencedInClick:r}){let i=useCallback(()=>r(e.name),[r,e.name]),a=useCallback(()=>r(e.name),[r,e.name]);return jsxs(pue,{children:[jsx(hP,{}),jsxs(mue,{children:[jsx(gP,{to:t,onClick:i,children:e.name}),e.field&&n&&jsxs(hue,{children:[`.`,jsx(`wbr`,{}),jsx(gP,{to:n,onClick:a,children:e.field})]})]})]})}),pue=styled$1(mP)`
  align-items: flex-start;
`,mue=styled$1.span`
  overflow-wrap: anywhere;
`,gP=styled$1(Link)`
  color: var(--link-color-primary, var(--text-color-secondary));
  text-decoration: none;
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
`,hue=styled$1.span`
  color: var(--text-color-secondary);

  a {
    color: var(--text-color-secondary);
  }
`;function gue({node:e}){let t=e.children[0],n=fb(),r=t?.locations??[];if(r.length===0)return null;let i=Tj(n,e.titleTranslationKey,e.title);return jsxs(dP,{className:`panel-api-docs`,children:[jsx(fP,{children:i}),jsx(pP,{children:r.map(e=>jsxs(mP,{"data-testid":`location-item`,children:[jsx(hP,{}),e]},e))})]})}B();var _ue=[z.EXTERNAL_LINK,z.EMAIL,z.ATTRIBUTE],vue=[z.TAGS,z.CONNECT_MCP_BUTTON],yue=[z.PAYLOAD,z.CODE_SAMPLE,z.CALLBACK_PAYLOAD,z.RESPONSE,z.GRAPHQL_QUERY,z.GRAPHQL_RESPONSE,z.GRAPHQL_VARIABLES,z.GRAPHQL_TYPE_SAMPLE],bue={[z.DOWNLOAD]:Wae,[z.SERVERS]:yoe,[z.BROKERS]:jse,[z.CHANNEL_BINDING]:Use,[z.OPERATION_BINDING]:qse,[z.MESSAGE_BINDING]:Xse,[z.MESSAGE_REFERENCES]:$se,[z.PAYLOAD]:aP,[z.CODE_SAMPLE]:aP,[z.CALLBACK_PAYLOAD]:aP,[z.RESPONSE]:aP,[z.GRAPHQL_QUERY]:aP,[z.GRAPHQL_RESPONSE]:aP,[z.GRAPHQL_VARIABLES]:aP,[z.GRAPHQL_TYPE_SAMPLE]:aP,[z.REFERENCES]:due,[z.LOCATIONS]:gue,[z.GROUP_ITEMS]:sce,[z.MCP_EXAMPLE]:lue};function xue(e,t){return e.children.length>0&&e.children.every(e=>e.kind===t)}function _P(e,t){if(!xue(e,t))return null;let Component=bue[t];return Component({node:e})}function Sue(e){if(!e?.children?.length)return null;let t=e.children.map(e=>e.kind),n=new Set(t);if(t.some(e=>vue.includes(e)))return jsx(Zle,{node:e});if(t.every(e=>_ue.includes(e)))return jsx(Qae,{node:e});if(t.length>0&&t.every(e=>yue.includes(e)))return jsx(aP,{node:e});if(n.size===1){let[t]=n;switch(t){case z.DOWNLOAD:return _P(e,z.DOWNLOAD);case z.SERVERS:return _P(e,z.SERVERS);case z.BROKERS:return _P(e,z.BROKERS);case z.CHANNEL_BINDING:return _P(e,z.CHANNEL_BINDING);case z.OPERATION_BINDING:return _P(e,z.OPERATION_BINDING);case z.MESSAGE_BINDING:return _P(e,z.MESSAGE_BINDING);case z.MESSAGE_REFERENCES:return _P(e,z.MESSAGE_REFERENCES);case z.PAYLOAD:return _P(e,z.PAYLOAD);case z.CODE_SAMPLE:return _P(e,z.CODE_SAMPLE);case z.CALLBACK_PAYLOAD:return _P(e,z.CALLBACK_PAYLOAD);case z.RESPONSE:return _P(e,z.RESPONSE);case z.GRAPHQL_QUERY:return _P(e,z.GRAPHQL_QUERY);case z.GRAPHQL_RESPONSE:return _P(e,z.GRAPHQL_RESPONSE);case z.GRAPHQL_VARIABLES:return _P(e,z.GRAPHQL_VARIABLES);case z.GRAPHQL_TYPE_SAMPLE:return _P(e,z.GRAPHQL_TYPE_SAMPLE);case z.REFERENCES:return _P(e,z.REFERENCES);case z.LOCATIONS:return _P(e,z.LOCATIONS);case z.GROUP_ITEMS:return _P(e,z.GROUP_ITEMS);case z.MCP_EXAMPLE:return _P(e,z.MCP_EXAMPLE);default:return null}}return null}function Cue({node:e}){return Sue(e)}var wue=memo(Cue);pe(),qf(),eu();var vP=`middle-panel`,yP=`right-panel`,bP=memo(({children:e,panels:t,sectionId:n})=>{let r=I(Ch),i=r===fe.STACKED,a=useMemo(()=>t?.map((e,t)=>{let n=e.children?.[0]?.kind||`panel`;return jsx(wue,{node:e},`${n}-${t}`)}),[t]),o=n?{[Xl]:n}:{};return jsx(Fragment$1,{children:a?jsxs(Tue,{$layout:r,...o,children:[jsx(xP,{$isStacked:i,"data-testid":vP,children:e}),a&&jsx(Eue,{$isStacked:i,"data-testid":yP,children:a})]}):jsx(xP,{$isStacked:i,"data-testid":vP,...o,children:e})})}),Tue=styled$1.div`
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 0;

  @media screen and (min-width: ${k.large}) {
    flex-direction: ${({$layout:e})=>e===fe.STACKED?`column`:`row`};
  }

  @media print {
    flex-direction: column;
  }
`,xP=styled$1.div`
  ${({$isStacked:e})=>css`
      display: flex;
      flex-direction: column;
      width: 100%;
      min-width: 0;
      padding: var(--spacing-sm) var(--panel-gap-horizontal);
      margin-bottom: var(--spacing-xs);

      &:empty {
        display: none;
      }

      @media screen and (min-width: ${k.large}) {
        width: ${e?`100%`:`calc(100% - var(--panel-samples-width))`};
        padding-left: calc(var(--panel-gap-horizontal) * 2);
        padding-right: ${e?`var(--panel-gap-vertical)`:`var(--panel-gap-horizontal)`};
        padding-top: 0;
        padding-bottom: ${e?`var(--spacing-vertical)`:0};
      }

      @media screen and (max-width: ${k.small}) {
        padding-top: 0;
        padding-bottom: var(--spacing-vertical);
      }

      @media print {
        width: 100%;
        padding-top: var(--spacing-vertical);
        padding-bottom: var(--spacing-vertical);
      }
    `}

  & + & {
    padding-top: 0;
  }

  & [data-testid="${vP}"] {
    padding-left: 0;
    padding-right: 0;
  }
  & [data-testid="${yP}"] {
    padding-left: 0;
    padding-right: 0;
  }
`,Eue=styled$1.div`
  margin-left: auto;
  --code-block-padding: var(--spacing-xs) 0 var(--spacing-xs) 20px;
  color: var(--panel-samples-text-color);
  width: 100%;
  height: fit-content;
  padding-top: var(--panel-gap-vertical);
  padding-bottom: var(--panel-gap-vertical);
  padding-left: var(--panel-gap-horizontal);
  padding-right: var(--panel-gap-horizontal);
  margin-bottom: var(--spacing-sm);

  & > [data-component-name='Panel/Panel']:not(:last-child) {
    margin-bottom: var(--spacing-sm);
  }

  &:has([data-component-name='BrokerPanel/BrokerItem']) {
    padding-top: var(--spacing-lg);
    padding-bottom: 0;
  }

  position: sticky;
  z-index: var(--panel-z-index);
  top: calc(var(--navbar-stack-height) + var(--panel-gap-vertical));

  &:has([data-testid='items-navigation-list']) {
    position: static;
  }

  &:empty {
    display: none;
  }

  @media screen and (min-width: ${k.large}) {
    width: ${({$isStacked:e})=>e?`100%`:`var(--panel-samples-width)`};
    padding-top: 0;
    padding-bottom: 0;
    padding-left: ${({$isStacked:e})=>e?`calc(var(--panel-gap-horizontal) * 2)`:`var(--panel-gap-horizontal)`};
    padding-right: ${({$isStacked:e})=>e?`var(--panel-gap-horizontal)`:`calc(var(--panel-gap-horizontal) * 2)`};
  }

  @media print {
    width: 100%;
    padding-top: var(--spacing-vertical);
    padding-bottom: var(--spacing-vertical);
  }
`;B(),os(),Up();function Due(e){return!vp(e,e.type||mp(e))}function Oue({schemaRef:e,exampleRef:t,showReadOnly:n=!0,showWriteOnly:r=!1}){let i=as(e),a=as(t),o=I(kc(i??``)),s=useMemo(()=>a?[a]:void 0,[a]),c=Xh(i,s,`response`,`application/json`),l=useMemo(()=>({pathOnly:!0,t:`response`,schemaId:i}),[i]),u=useMemo(()=>{let e=o?.data,t=e?.description;if(t&&(typeof t!=`string`||t.trim())&&e&&Due(e))return t},[o?.data]),d=c.length>0,f=useMemo(()=>{if(i&&o&&d)return[{children:[{kind:z.RESPONSE,schemaId:i,exampleIds:s,hideHeaderTitle:!0,examples:[]}]}]},[i,o,d,s]);return!i||!o?jsx(Fragment$1,{}):jsx(`div`,{"data-testid":`schema-definition`,children:jsxs(bP,{panels:f,children:[u?jsx(Aue,{children:jsx(pv,{source:u})}):null,jsx(wc.Provider,{value:l,children:jsx(uj,{expandByDefault:!0,level:1,schemaId:i,skipReadOnly:!n,skipWriteOnly:!r})})]})})}var kue=memo(Oue),Aue=styled$1.div`
  margin-bottom: var(--spacing-vertical);
  p:last-child {
    margin-bottom: 0;
  }
`;F(),Bt(),Ns();function jue({level:e,id:t,children:n,deepLinkHash:r,"data-source":i,"data-hash":a,className:o}){let s=I(ps),c=vc(),l=t?.toLowerCase();return createElement(`h${e}`,{id:l,className:se(Dt,`md`,o),"data-component-name":`Markdoc/Heading/Heading`,"data-source":i,"data-hash":a},jsxs(Mue,{children:[l&&jsx(vb,{to:c(Os(s,r??l)),label:`link to ${t}`}),jsx(`span`,{children:n})]}))}var Mue=styled$1.div`
  position: relative;
  display: flex;
  align-items: center;
  ${bb}
`,Nue=memo(jue);F();var SP=styled.h4.attrs(({className:e})=>({"data-component-name":`Typography/H4`,className:e}))`
  color: var(--h4-text-color);
  margin: var(--h4-margin-top) 0 var(--h4-margin-bottom);

  ${ne(`h4`)};
`,CP=styled$1.section`
  padding-bottom: calc(var(--spacing-base) * 2);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
`,wP=styled$1.div`
  margin: calc(var(--spacing-unit) * 2) 0;

  & + & {
    margin-top: calc(var(--spacing-base) * 2);
  }
`,TP=styled$1.div`
  margin: 1em 0;
`,EP=styled$1.div`
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xs);
  ${bb}
`,DP=styled$1(SP)`
  margin: 0;
`;B(),lb();function OP(e){let t=fv(),n=Cc();return useMemo(()=>{if(!e)return null;let r=t.parse(e);return n&&r&&typeof r==`object`&&qy(r,n),r},[t,e,n])}function Pue(e){try{return ql(e,{quiet:!0})}catch{return{}}}function kP(e,t){return{children:[{kind:z.MCP_EXAMPLE,headerTitleTranslationKey:t===`output`?`openapi.mcp.outputExample`:t===`arguments`?`openapi.mcp.argumentsExample`:`openapi.mcp.inputExample`,data:Pue(e)}]}}function Fue(e){let t=e.text??e.blob;return t===void 0?null:{children:[{kind:z.MCP_EXAMPLE,headerTitleTranslationKey:`openapi.mcp.exampleTitle`,data:t,language:e.mimeType}]}}function AP(e){return e.length?{type:`object`,properties:Object.fromEntries(e.map(e=>[e.name,{type:`string`,example:e.example??`string`,description:typeof e.description==`string`?e.description:void 0}])),required:e.filter(e=>e.required).map(e=>e.name)}:null}_c();function Iue({name:e}){let t=I(ms),n=fb(),r=useMemo(()=>t.mcp?.tools?.find(t=>t.name===e),[t.mcp,e]),i=OP(r?.description),a=useMemo(()=>r?.inputSchema?[kP(r.inputSchema,`input`)]:void 0,[r?.inputSchema]),o=useMemo(()=>r?.outputSchema?[kP(r.outputSchema,`output`)]:void 0,[r?.outputSchema]),s=Ec(`input-schema`),c=useMemo(()=>({t:`input-schema`}),[]),l=Ec(`output-schema`),u=useMemo(()=>({t:`output-schema`}),[]);return r?jsxs(CP,{children:[jsx(bP,{children:jsxs(wP,{children:[jsxs(`p`,{children:[n(`openapi.mcp.toolName`,`Tool name`),`: `,jsx(`code`,{children:r.name})]}),i?jsx(pv,{source:i}):null]})}),r.inputSchema&&jsx(bP,{panels:a,children:jsxs(wP,{children:[jsx(EP,{id:$s(s),children:jsxs(DP,{children:[s&&jsx(vb,{to:s,label:`link to Input schema`}),n(`openapi.mcp.inputSchema`,`Input schema`)]})}),jsx(wc.Provider,{value:c,children:jsx(uj,{schema:r.inputSchema,expandByDefault:!0})})]})}),r.outputSchema&&jsx(bP,{panels:o,children:jsxs(wP,{children:[jsx(EP,{id:$s(l),children:jsxs(DP,{children:[l&&jsx(vb,{to:l,label:`link to Output schema`}),n(`openapi.mcp.outputSchema`,`Output schema`)]})}),jsx(wc.Provider,{value:u,children:jsx(uj,{schema:r.outputSchema,expandByDefault:!0})})]})})]}):null}var Lue=memo(Iue),jP=styled$1(xb)`
  text-transform: none;
`;function Rue({name:e}){let t=I(ms),n=fb(),r=useMemo(()=>t.mcp?.resources?.find(t=>t.name===e),[t.mcp,e]),i=OP(r?.description),a=useMemo(()=>{if(!r)return;let e=Fue(r);return e?[e]:void 0},[r]);return r?jsxs(CP,{children:[i?jsx(bP,{children:jsx(wP,{children:jsx(pv,{source:i})})}):null,jsx(bP,{panels:a,children:jsxs(wP,{children:[jsxs(TP,{children:[n(`openapi.mcp.uriTitle`,`Resource URI`),`:`,` `,jsx(jP,{children:r.uri})]}),jsxs(TP,{children:[n(`openapi.mcp.mimeTypeTitle`,`Resource MIME type`),`:`,` `,jsx(jP,{children:r.mimeType})]})]})})]}):null}var zue=memo(Rue);_c();function Bue({name:e}){let t=I(ms),n=fb(),r=useMemo(()=>t.mcp?.prompts?.find(t=>t.name===e),[t.mcp,e]),i=OP(r?.description),a=useMemo(()=>r?.arguments?.length?AP(r.arguments):null,[r]),o=useMemo(()=>a?[kP(a,`arguments`)]:void 0,[a]),s=Ec(`arguments`),c=useMemo(()=>({t:`arguments`}),[]);return r?jsxs(CP,{children:[i?jsx(bP,{children:jsx(wP,{children:jsx(pv,{source:i})})}):null,a&&jsx(bP,{panels:o,children:jsxs(wP,{children:[jsx(EP,{id:$s(s),children:jsxs(DP,{children:[s&&jsx(vb,{to:s,label:`link to Arguments`}),n(`openapi.mcp.inputSchema`,`Arguments`)]})}),jsx(wc.Provider,{value:c,children:jsx(uj,{schema:a,expandByDefault:!0})})]})})]}):null}var Vue={SchemaDefinition:kue,McpTool:Lue,McpResource:zue,McpPrompt:memo(Bue),Heading:Nue},Hue=Object.create,MP=Object.defineProperty,Uue=Object.getOwnPropertyDescriptor,Wue=Object.getOwnPropertyNames,Gue=Object.getPrototypeOf,Kue=Object.prototype.hasOwnProperty,NP=e=>MP(e,`__esModule`,{value:!0}),H=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},PP=(e,t)=>{for(var n in NP(e),t)MP(e,n,{get:t[n],enumerable:!0})},que=(e,t,n)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let r of Wue(t))!Kue.call(e,r)&&r!=="default"&&MP(e,r,{get:()=>t[r],enumerable:!(n=Uue(t,r))||n.enumerable});return e},FP=e=>que(NP(MP(e==null?{}:Hue(Gue(e)),`default`,e&&e.__esModule&&`default`in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),IP=H({"src/grammar/tag.js"(e,t){function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){this.message=e,this.expected=t,this.found=n,this.location=i,this.name=`SyntaxError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,r)}n(r,Error),r.buildMessage=function(e,t,n){var r={literal:function(e){return`"`+a(e.text)+`"`},class:function(e){var t=e.parts.map(function(e){return Array.isArray(e)?o(e[0])+`-`+o(e[1]):o(e)});return`[`+(e.inverted?`^`:``)+t+`]`},any:function(){return`any character`},end:function(){return`end of input`},other:function(e){return e.description},not:function(e){return`not `+s(e.expected)}};function i(e){return e.charCodeAt(0).toString(16).toUpperCase()}function a(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+i(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+i(e)})}function o(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+i(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+i(e)})}function s(e){return r[e.type](e)}function c(e){var t=e.map(s),n,r;if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function l(e){return e?`"`+a(e)+`"`:`end of input`}return`Expected `+c(e)+` but `+l(t)+` found.`};function i(e,t){t=t===void 0?{}:t;var n={},i={Top:_t},a=_t,o=`/`,s=`.`,c=`#`,l=`=`,u=`(`,d=`)`,f=`,`,p=`[`,m=`]`,h=`null`,g=`true`,_=`false`,v=`{`,y=`}`,b=`:`,x=`-`,S=`"`,C=`\\`,w=`n`,T=`r`,E=`t`,D=/^[$@]/,O=/^[0-9]/,k=/^[^\0-\x1F"\\]/,ee=/^[a-zA-Z0-9_\-]/,te=/^[ \n\t]/,ne=st(`/`,!1),re=lt(`tag name`),ie=lt(`class`),ae=lt(`id`),oe=st(`=`,!1),se=st(`(`,!1),ce=st(`)`,!1),le=st(`,`,!1),ue=lt(`variable`),de=lt(`null`),fe=lt(`boolean`),pe=st(`[`,!1),me=st(`]`,!1),he=st(`{`,!1),ge=st(`}`,!1),_e=st(`:`,!1),ve=lt(`number`),ye=lt(`string`),be=lt(`identifier`),xe=lt(`whitespace`),Se=function(e){return{type:`variable`,meta:{variable:e}}},Ce=function(e){return{type:`annotation`,meta:{attributes:e}}},we=function(e,t){return t},Te=function(e,t,n,r){t&&(n||=[],n.unshift({type:`attribute`,name:`primary`,value:t}));let[i,a]=r?[`tag`,0]:[`tag_open`,1];return{type:i,nesting:a,meta:{tag:e,attributes:n}}},Ee=function(e){return{type:`tag_close`,nesting:-1,meta:{tag:e}}},De=function(e,t){return e?[e,...t]:[]},Oe=function(e){return e},ke=function(e){return e},Ae=function(e){return e},je=function(e){return e},Me=function(e){return{type:`class`,name:e,value:!0}},Ne=function(e){return{type:`attribute`,name:`id`,value:e}},Pe=function(e,t){return{type:`attribute`,name:e,value:t}},Fe=function(e,t,n){return t?[t,...n]:[]},Ie=function(e,t){let n={};for(let[e,{name:r,value:i}]of t.entries())n[r||e]=i;return new Xt(e,n)},Le=function(e){return e},Re=function(e,t){return{name:e,value:t}},ze=function(e){return e},Be=function(e,t,n){return e===`@`?[t,...n]:new Yt([t,...n])},Ve=function(){return null},He=function(){return!0},Ue=function(){return!1},We=function(e,t){return[e,...t]},Ge=function(e){return e||[]},Ke=function(e,t){return Object.assign(e,...t)},qe=function(e){return e||{}},Je=function(e,t){return e===`$$mdtype`?{}:{[e]:t}},Ye=function(){return parseFloat(ot())},Xe=function(e){return e.join(``)},Ze=function(){return`
`},Qe=function(){return`\r`},$e=function(){return`	`},et=function(e){return e},A=0,tt=0,nt=[{line:1,column:1}],rt=[],it=0,at;if(`startRule`in t){if(!(t.startRule in i))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);a=i[t.startRule]}function ot(){return e.substring(tt,A)}function st(e,t){return{type:`literal`,text:e,ignoreCase:t}}function ct(){return{type:`end`}}function lt(e){return{type:`other`,description:e}}function ut(t){var n=nt[t],r;if(n)return n;for(r=t-1;!nt[r];)r--;for(n=nt[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return nt[t]=n,n}var dt=typeof t.filename==`string`&&t.filename.length>0;function ft(e,n){var r={};dt&&(r.filename=t.filename);var i=ut(e);r.start={offset:e,line:i.line,column:i.column};var a=ut(n);return r.end={offset:n,line:a.line,column:a.column},r}function pt(){rt.push({pos:A,variants:[]})}function mt(e){var t=rt[rt.length-1];A<t.pos||(A>t.pos&&(t.pos=A,t.variants=[]),t.variants.push(e))}function ht(e,t,n){return new r(r.buildMessage(e,t,n),e,t,n)}function gt(){var t=rt[0],n=t.pos;return ht(t.variants,n<e.length?e.charAt(n):null,n<e.length?ft(n,n+1):ft(n,n))}function _t(){var e=vt();return e===n&&(e=yt(),e===n&&(e=bt(),e===n&&(e=xt()))),e}function vt(){var e=A,t=Nt();return t===n&&(t=kt()),t!==n&&(tt=e,t=Se(t)),e=t,e}function yt(){var e=A,t=Ct(),r,i;if(t!==n){for(r=[],i=Jt();i!==n;)r.push(i),i=Jt();tt=e,e=Ce(t)}else A=e,e=n;return e}function bt(){var t,r,i,a,s,c,l,u=function(e){it===0&&mt(e)};if(t=A,r=St(),r!==n){for(i=[],a=Jt();a!==n;)i.push(a),a=Jt();for(a=A,s=Ft(),s===n?(A=a,a=n):(c=Jt(),c===n&&(c=null),tt=a,a=we(r,s)),a===n&&(a=null),s=Ct(),s===n&&(s=null),c=[],l=Jt();l!==n;)c.push(l),l=Jt();u(ne),e.charCodeAt(A)===47?(l=o,A++):l=n,l===n&&(l=null),tt=t,t=Te(r,a,s,l)}else A=t,t=n;return t}function xt(){var t=A,r,i;return function(e){it===0&&mt(e)}(ne),e.charCodeAt(A)===47?(r=o,A++):r=n,r===n?(A=t,t=n):(i=St(),i===n?(A=t,t=n):(tt=t,t=Ee(i))),t}function St(){var e;return function(e){it===0&&mt(e)}(re),it++,e=qt(),it--,e}function Ct(){var e=A,t=Tt(),r,i;if(t!==n){for(r=[],i=wt();i!==n;)r.push(i),i=wt();tt=e,e=De(t,r)}else A=e,e=n;return e}function wt(){var e=A,t=[],r=Jt();if(r!==n)for(;r!==n;)t.push(r),r=Jt();else t=n;return t===n?(A=e,e=n):(r=Tt(),r===n?(A=e,e=n):(tt=e,e=Oe(r))),e}function Tt(){var e=A,t=Dt();return t!==n&&(tt=e,t=ke(t)),e=t,e===n&&(e=A,t=Et(),t!==n&&(tt=e,t=Ae(t)),e=t,e===n&&(e=A,t=Ot(),t!==n&&(tt=e,t=je(t)),e=t)),e}function Et(){var t,r,i;return function(e){it===0&&mt(e)}(ie),it++,t=A,e.charCodeAt(A)===46?(r=s,A++):r=n,r===n?(A=t,t=n):(i=qt(),i===n?(A=t,t=n):(tt=t,t=Me(i))),it--,t}function Dt(){var t,r,i;return function(e){it===0&&mt(e)}(ae),it++,t=A,e.charCodeAt(A)===35?(r=c,A++):r=n,r===n?(A=t,t=n):(i=qt(),i===n?(A=t,t=n):(tt=t,t=Ne(i))),it--,t}function Ot(){var t=A,r=qt(),i,a;return r===n?(A=t,t=n):(function(e){it===0&&mt(e)}(oe),e.charCodeAt(A)===61?(i=l,A++):i=n,i===n?(A=t,t=n):(a=Ft(),a===n?(A=t,t=n):(tt=t,t=Pe(r,a)))),t}function kt(){var t,r,i,a,o,s,c,l,f=function(e){it===0&&mt(e)};if(t=A,r=qt(),r!==n){if(f(se),e.charCodeAt(A)===40?(i=u,A++):i=n,i!==n){for(a=[],o=Jt();o!==n;)a.push(o),o=Jt();for(o=A,s=At(),s===n&&(s=null),c=[],l=jt();l!==n;)c.push(l),l=jt();tt=o,o=Fe(r,s,c),f(ce),e.charCodeAt(A)===41?(s=d,A++):s=n,s===n?(A=t,t=n):(tt=t,t=Ie(r,o))}else A=t,t=n}else A=t,t=n;return t}function At(){var t=A,r=A,i=qt(),a;return i===n?(A=r,r=n):(function(e){it===0&&mt(e)}(oe),e.charCodeAt(A)===61?(a=l,A++):a=n,a===n?(A=r,r=n):(tt=r,r=Le(i))),r===n&&(r=null),i=Ft(),i===n?(A=t,t=n):(tt=t,t=Re(r,i)),t}function jt(){var t,r,i,a,o,s=function(e){it===0&&mt(e)};for(t=A,r=[],i=Jt();i!==n;)r.push(i),i=Jt();if(s(le),e.charCodeAt(A)===44?(i=f,A++):i=n,i!==n){for(a=[],o=Jt();o!==n;)a.push(o),o=Jt();o=At(),o===n?(A=t,t=n):(tt=t,t=ze(o))}else A=t,t=n;return t}function Mt(){var t,r,i,a=function(e){it===0&&mt(e)};for(t=A,r=[],i=Jt();i!==n;)r.push(i),i=Jt();return a(le),e.charCodeAt(A)===44?(i=f,A++):i=n,i===n?(A=t,t=n):(r=[r,i],t=r),t===n&&(t=null),t}function Nt(){var t,r,i,a,o;if(function(e){it===0&&mt(e)}(ue),it++,t=A,D.test(e.charAt(A))?(r=e.charAt(A),A++):r=n,r!==n){if(i=qt(),i!==n){for(a=[],o=Pt();o!==n;)a.push(o),o=Pt();tt=t,t=Be(r,i,a)}else A=t,t=n}else A=t,t=n;return it--,t}function Pt(){var t=A,r,i,a;return e.charCodeAt(A)===46?(r=s,A++):r=n,r===n?(A=t,t=n):(i=qt(),i===n?(A=t,t=n):(tt=t,t=Le(i))),t===n&&(t=A,e.charCodeAt(A)===91?(r=p,A++):r=n,r===n?(A=t,t=n):(i=Ut(),i===n&&(i=Wt()),i===n?(A=t,t=n):(e.charCodeAt(A)===93?(a=m,A++):a=n,a===n?(A=t,t=n):(tt=t,t=ze(i))))),t}function Ft(){var e=It();return e===n&&(e=Lt(),e===n&&(e=Wt(),e===n&&(e=Ut(),e===n&&(e=Rt(),e===n&&(e=Bt(),e===n&&(e=kt(),e===n&&(e=Nt()))))))),e}function It(){var t,r;return function(e){it===0&&mt(e)}(de),it++,t=A,e.substr(A,4)===h?(r=h,A+=4):r=n,r!==n&&(tt=t,r=Ve()),t=r,it--,t}function Lt(){var t,r;return function(e){it===0&&mt(e)}(fe),it++,t=A,e.substr(A,4)===g?(r=g,A+=4):r=n,r!==n&&(tt=t,r=He()),t=r,t===n&&(t=A,e.substr(A,5)===_?(r=_,A+=5):r=n,r!==n&&(tt=t,r=Ue()),t=r),it--,t}function Rt(){var t,r,i,a,o,s,c,l=function(e){it===0&&mt(e)};if(t=A,l(pe),e.charCodeAt(A)===91?(r=p,A++):r=n,r!==n){for(i=[],a=Jt();a!==n;)i.push(a),a=Jt();if(a=A,o=Ft(),o!==n){for(s=[],c=zt();c!==n;)s.push(c),c=zt();c=Mt(),tt=a,a=We(o,s)}else A=a,a=n;for(a===n&&(a=null),o=[],s=Jt();s!==n;)o.push(s),s=Jt();l(me),e.charCodeAt(A)===93?(s=m,A++):s=n,s===n?(A=t,t=n):(tt=t,t=Ge(a))}else A=t,t=n;return t}function zt(){var t,r,i,a,o,s=function(e){it===0&&mt(e)};for(t=A,r=[],i=Jt();i!==n;)r.push(i),i=Jt();if(s(le),e.charCodeAt(A)===44?(i=f,A++):i=n,i!==n){for(a=[],o=Jt();o!==n;)a.push(o),o=Jt();o=Ft(),o===n?(A=t,t=n):(tt=t,t=ze(o))}else A=t,t=n;return t}function Bt(){var t,r,i,a,o,s,c,l=function(e){it===0&&mt(e)};if(t=A,l(he),e.charCodeAt(A)===123?(r=v,A++):r=n,r!==n){for(i=[],a=Jt();a!==n;)i.push(a),a=Jt();if(a=A,o=Ht(),o!==n){for(s=[],c=Vt();c!==n;)s.push(c),c=Vt();c=Mt(),tt=a,a=Ke(o,s)}else A=a,a=n;for(a===n&&(a=null),o=[],s=Jt();s!==n;)o.push(s),s=Jt();l(ge),e.charCodeAt(A)===125?(s=y,A++):s=n,s===n?(A=t,t=n):(tt=t,t=qe(a))}else A=t,t=n;return t}function Vt(){var t,r,i,a,o,s=function(e){it===0&&mt(e)};for(t=A,r=[],i=Jt();i!==n;)r.push(i),i=Jt();if(s(le),e.charCodeAt(A)===44?(i=f,A++):i=n,i!==n){for(a=[],o=Jt();o!==n;)a.push(o),o=Jt();o=Ht(),o===n?(A=t,t=n):(tt=t,t=Oe(o))}else A=t,t=n;return t}function Ht(){var t,r,i,a,o,s=function(e){it===0&&mt(e)};if(t=A,r=qt(),r===n&&(r=Wt()),r!==n){if(s(_e),e.charCodeAt(A)===58?(i=b,A++):i=n,i!==n){for(a=[],o=Jt();o!==n;)a.push(o),o=Jt();o=Ft(),o===n?(A=t,t=n):(tt=t,t=Je(r,o))}else A=t,t=n}else A=t,t=n;return t}function Ut(){var t,r,i,a,o,c,l;if(function(e){it===0&&mt(e)}(ve),it++,t=A,e.charCodeAt(A)===45?(r=x,A++):r=n,r===n&&(r=null),i=[],O.test(e.charAt(A))?(a=e.charAt(A),A++):a=n,a!==n)for(;a!==n;)i.push(a),O.test(e.charAt(A))?(a=e.charAt(A),A++):a=n;else i=n;if(i!==n){if(a=A,e.charCodeAt(A)===46?(o=s,A++):o=n,o!==n){if(c=[],O.test(e.charAt(A))?(l=e.charAt(A),A++):l=n,l!==n)for(;l!==n;)c.push(l),O.test(e.charAt(A))?(l=e.charAt(A),A++):l=n;else c=n;c===n?(A=a,a=n):(o=[o,c],a=o)}else A=a,a=n;a===n&&(a=null),tt=t,t=Ye()}else A=t,t=n;return it--,t}function Wt(){var t,r,i,a;if(function(e){it===0&&mt(e)}(ye),it++,t=A,e.charCodeAt(A)===34?(r=S,A++):r=n,r!==n){for(i=[],a=Gt();a!==n;)i.push(a),a=Gt();e.charCodeAt(A)===34?(a=S,A++):a=n,a===n?(A=t,t=n):(tt=t,t=Xe(i))}else A=t,t=n;return it--,t}function Gt(){var t;return k.test(e.charAt(A))?(t=e.charAt(A),A++):t=n,t===n&&(t=Kt()),t}function Kt(){var t=A,r,i,a;return e.charCodeAt(A)===92?(r=C,A++):r=n,r===n?(A=t,t=n):(e.charCodeAt(A)===34?(i=S,A++):i=n,i===n&&(e.charCodeAt(A)===92?(i=C,A++):i=n,i===n&&(i=A,e.charCodeAt(A)===110?(a=w,A++):a=n,a!==n&&(tt=i,a=Ze()),i=a,i===n&&(i=A,e.charCodeAt(A)===114?(a=T,A++):a=n,a!==n&&(tt=i,a=Qe()),i=a,i===n&&(i=A,e.charCodeAt(A)===116?(a=E,A++):a=n,a!==n&&(tt=i,a=$e()),i=a)))),i===n?(A=t,t=n):(tt=t,t=et(i))),t}function qt(){var t,r,i;if(function(e){it===0&&mt(e)}(be),it++,t=A,r=[],ee.test(e.charAt(A))?(i=e.charAt(A),A++):i=n,i!==n)for(;i!==n;)r.push(i),ee.test(e.charAt(A))?(i=e.charAt(A),A++):i=n;else r=n;return t=r===n?r:e.substring(t,A),it--,t}function Jt(){var t;return function(e){it===0&&mt(e)}(xe),it++,te.test(e.charAt(A))?(t=e.charAt(A),A++):t=n,it--,t}let{Variable:Yt,Function:Xt}=t;if(pt(),at=a(),at!==n&&A===e.length)return at;throw at!==n&&A<e.length&&mt(ct()),gt()}t.exports={SyntaxError:r,parse:i}}}),Jue=H({"node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,amp:`&`,AMP:`&`,andand:`⩕`,And:`⩓`,and:`∧`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angmsd:`∡`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,apacir:`⩯`,ap:`≈`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,barwed:`⌅`,Barwed:`⌆`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,Because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxdl:`┐`,boxdL:`╕`,boxDl:`╖`,boxDL:`╗`,boxdr:`┌`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxh:`─`,boxH:`═`,boxhd:`┬`,boxHd:`╤`,boxhD:`╥`,boxHD:`╦`,boxhu:`┴`,boxHu:`╧`,boxhU:`╨`,boxHU:`╩`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxul:`┘`,boxuL:`╛`,boxUl:`╜`,boxUL:`╝`,boxur:`└`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxv:`│`,boxV:`║`,boxvh:`┼`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`,boxvl:`┤`,boxvL:`╡`,boxVl:`╢`,boxVL:`╣`,boxvr:`├`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,bprime:`‵`,breve:`˘`,Breve:`˘`,brvbar:`¦`,bscr:`𝒷`,Bscr:`ℬ`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsolb:`⧅`,bsol:`\\`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,cap:`∩`,Cap:`⋒`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,CenterDot:`·`,cfr:`𝔠`,Cfr:`ℭ`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cir:`○`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,colon:`:`,Colon:`∷`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,conint:`∮`,Conint:`∯`,ContourIntegral:`∮`,copf:`𝕔`,Copf:`ℂ`,coprod:`∐`,Coproduct:`∐`,copy:`©`,COPY:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,cross:`✗`,Cross:`⨯`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cupbrcap:`⩈`,cupcap:`⩆`,CupCap:`≍`,cup:`∪`,Cup:`⋓`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dagger:`†`,Dagger:`‡`,daleth:`ℸ`,darr:`↓`,Darr:`↡`,dArr:`⇓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,ddagger:`‡`,ddarr:`⇊`,DD:`ⅅ`,dd:`ⅆ`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,diamond:`⋄`,Diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrowBar:`⤓`,downarrow:`↓`,DownArrow:`↓`,Downarrow:`⇓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVectorBar:`⥖`,DownLeftVector:`↽`,DownRightTeeVector:`⥟`,DownRightVectorBar:`⥗`,DownRightVector:`⇁`,DownTeeArrow:`↧`,DownTee:`⊤`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,Ecirc:`Ê`,ecirc:`ê`,ecir:`≖`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,edot:`ė`,eDot:`≑`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp13:` `,emsp14:` `,emsp:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,escr:`ℯ`,Escr:`ℰ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,ExponentialE:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,forall:`∀`,ForAll:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,Fscr:`ℱ`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,ge:`≥`,gE:`≧`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,gescc:`⪩`,ges:`⩾`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,gg:`≫`,Gg:`⋙`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gla:`⪥`,gl:`≷`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gnE:`≩`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gtcc:`⪧`,gtcir:`⩺`,gt:`>`,GT:`>`,Gt:`≫`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,harrcir:`⥈`,harr:`↔`,hArr:`⇔`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,Hfr:`ℌ`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,Hopf:`ℍ`,horbar:`―`,HorizontalLine:`─`,hscr:`𝒽`,Hscr:`ℋ`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,Ifr:`ℑ`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,Im:`ℑ`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,incare:`℅`,in:`∈`,infin:`∞`,infintie:`⧝`,inodot:`ı`,intcal:`⊺`,int:`∫`,Int:`∬`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,Iscr:`ℐ`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,lang:`⟨`,Lang:`⟪`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,larrb:`⇤`,larrbfs:`⤟`,larr:`←`,Larr:`↞`,lArr:`⇐`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,latail:`⤙`,lAtail:`⤛`,lat:`⪫`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lBarr:`⤎`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,lE:`≦`,LeftAngleBracket:`⟨`,LeftArrowBar:`⇤`,leftarrow:`←`,LeftArrow:`←`,Leftarrow:`⇐`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVectorBar:`⥙`,LeftDownVector:`⇃`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTeeArrow:`↤`,LeftTee:`⊣`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangleBar:`⧏`,LeftTriangle:`⊲`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVectorBar:`⥘`,LeftUpVector:`↿`,LeftVectorBar:`⥒`,LeftVector:`↼`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,lescc:`⪨`,les:`⩽`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,llarr:`⇇`,ll:`≪`,Ll:`⋘`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoustache:`⎰`,lmoust:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lnE:`≨`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftrightarrow:`⟷`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longmapsto:`⟼`,longrightarrow:`⟶`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,Lscr:`ℒ`,lsh:`↰`,Lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,ltcc:`⪦`,ltcir:`⩹`,lt:`<`,LT:`<`,Lt:`≪`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,midast:`*`,midcir:`⫰`,mid:`∣`,middot:`·`,minusb:`⊟`,minus:`−`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,Mscr:`ℳ`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natural:`♮`,naturals:`ℕ`,natur:`♮`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,nearhk:`⤤`,nearr:`↗`,neArr:`⇗`,nearrow:`↗`,ne:`≠`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nharr:`↮`,nhArr:`⇎`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlarr:`↚`,nlArr:`⇍`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nleftarrow:`↚`,nLeftarrow:`⇍`,nleftrightarrow:`↮`,nLeftrightarrow:`⇎`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,nopf:`𝕟`,Nopf:`ℕ`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangleBar:`⧐̸`,NotRightTriangle:`⋫`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,nparallel:`∦`,npar:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,nprec:`⊀`,npreceq:`⪯̸`,npre:`⪯̸`,nrarrc:`⤳̸`,nrarr:`↛`,nrArr:`⇏`,nrarrw:`↝̸`,nrightarrow:`↛`,nRightarrow:`⇏`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwarr:`↖`,nwArr:`⇖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,Ocirc:`Ô`,ocirc:`ô`,ocir:`⊚`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,orarr:`↻`,Or:`⩔`,or:`∨`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,otimesas:`⨶`,Otimes:`⨷`,otimes:`⊗`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,para:`¶`,parallel:`∥`,par:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plus:`+`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,popf:`𝕡`,Popf:`ℙ`,pound:`£`,prap:`⪷`,Pr:`⪻`,pr:`≺`,prcue:`≼`,precapprox:`⪷`,prec:`≺`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,pre:`⪯`,prE:`⪳`,precsim:`≾`,prime:`′`,Prime:`″`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportional:`∝`,Proportion:`∷`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,Qopf:`ℚ`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,QUOT:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,Rang:`⟫`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarr:`→`,Rarr:`↠`,rArr:`⇒`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,rAtail:`⤜`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rBarr:`⤏`,RBarr:`⤐`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,Re:`ℜ`,rect:`▭`,reg:`®`,REG:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,Rfr:`ℜ`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrowBar:`⇥`,rightarrow:`→`,RightArrow:`→`,Rightarrow:`⇒`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVectorBar:`⥕`,RightDownVector:`⇂`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTeeArrow:`↦`,RightTee:`⊢`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangleBar:`⧐`,RightTriangle:`⊳`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVectorBar:`⥔`,RightUpVector:`↾`,RightVectorBar:`⥓`,RightVector:`⇀`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoustache:`⎱`,rmoust:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,Ropf:`ℝ`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,rscr:`𝓇`,Rscr:`ℛ`,rsh:`↱`,Rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,scap:`⪸`,Scaron:`Š`,scaron:`š`,Sc:`⪼`,sc:`≻`,sccue:`≽`,sce:`⪰`,scE:`⪴`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdotb:`⊡`,sdot:`⋅`,sdote:`⩦`,searhk:`⤥`,searr:`↘`,seArr:`⇘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,solbar:`⌿`,solb:`⧄`,sol:`/`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,square:`□`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squ:`□`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,Sub:`⋐`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,Subset:`⋐`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succapprox:`⪸`,succ:`≻`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,sum:`∑`,Sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,Sup:`⋑`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,Supset:`⋑`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swarr:`↙`,swArr:`⇙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:`	`,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,Therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,ThinSpace:` `,thinsp:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,tilde:`˜`,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,timesbar:`⨱`,timesb:`⊠`,times:`×`,timesd:`⨰`,tint:`∭`,toea:`⤨`,topbot:`⌶`,topcir:`⫱`,top:`⊤`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,TRADE:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,uarr:`↑`,Uarr:`↟`,uArr:`⇑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrowBar:`⤒`,uparrow:`↑`,UpArrow:`↑`,Uparrow:`⇑`,UpArrowDownArrow:`⇅`,updownarrow:`↕`,UpDownArrow:`↕`,Updownarrow:`⇕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,upsi:`υ`,Upsi:`ϒ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTeeArrow:`↥`,UpTee:`⊥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,vArr:`⇕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vBar:`⫨`,Vbar:`⫫`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,vdash:`⊢`,vDash:`⊨`,Vdash:`⊩`,VDash:`⊫`,Vdashl:`⫦`,veebar:`⊻`,vee:`∨`,Vee:`⋁`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,Verbar:`‖`,vert:`|`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,Wedge:`⋀`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xharr:`⟷`,xhArr:`⟺`,Xi:`Ξ`,xi:`ξ`,xlarr:`⟵`,xlArr:`⟸`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrarr:`⟶`,xrArr:`⟹`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,yuml:`ÿ`,Yuml:`Ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,zfr:`𝔷`,Zfr:`ℨ`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,Zopf:`ℤ`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}}}),LP=H({"node_modules/markdown-it/lib/common/entities.js"(e,t){t.exports=Jue()}}),RP=H({"node_modules/uc.micro/categories/P/regex.js"(e,t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),Yue=H({"node_modules/mdurl/encode.js"(e,t){var n={};function r(e){var t,r,i=n[e];if(i)return i;for(i=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?i.push(r):i.push(`%`+(`0`+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}function i(e,t,n){var a,o,s,c,l,u=``;for(typeof t!=`string`&&(n=t,t=i.defaultChars),n===void 0&&(n=!0),l=r(t),a=0,o=e.length;a<o;a++){if(s=e.charCodeAt(a),n&&s===37&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){u+=e.slice(a,a+3),a+=2;continue}if(s<128){u+=l[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<o&&(c=e.charCodeAt(a+1),c>=56320&&c<=57343)){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+=`%EF%BF%BD`;continue}u+=encodeURIComponent(e[a])}return u}i.defaultChars=`;/?:@&=+$,-_.!~*'()#`,i.componentChars=`-_.!~*'()`,t.exports=i}}),Xue=H({"node_modules/mdurl/decode.js"(e,t){var n={};function r(e){var t,r,i=n[e];if(i)return i;for(i=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),i.push(r);for(t=0;t<e.length;t++)r=e.charCodeAt(t),i[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2);return i}function i(e,t){var n;return typeof t!=`string`&&(t=i.defaultChars),n=r(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,a,o,s,c,l=``;for(t=0,r=e.length;t<r;t+=3){if(i=parseInt(e.slice(t+1,t+3),16),i<128){l+=n[i];continue}if((i&224)==192&&t+3<r&&(a=parseInt(e.slice(t+4,t+6),16),(a&192)==128)){c=i<<6&1984|a&63,l+=c<128?`��`:String.fromCharCode(c),t+=3;continue}if((i&240)==224&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),(a&192)==128&&(o&192)==128)){c=i<<12&61440|a<<6&4032|o&63,l+=c<2048||c>=55296&&c<=57343?`���`:String.fromCharCode(c),t+=6;continue}if((i&248)==240&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),(a&192)==128&&(o&192)==128&&(s&192)==128)){c=i<<18&1835008|a<<12&258048|o<<6&4032|s&63,c<65536||c>1114111?l+=`����`:(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),t+=9;continue}l+=`�`}return l})}i.defaultChars=`;/?:@&=+$,#`,i.componentChars=``,t.exports=i}}),Zue=H({"node_modules/mdurl/format.js"(e,t){t.exports=function(e){var t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}}}),Que=H({"node_modules/mdurl/parse.js"(e,t){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
`,`	`],s=[`/`,`?`,`#`],c=255,l=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function p(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}n.prototype.parse=function(e,t){var n,i,p,m,h,g=e;if(g=g.trim(),!t&&e.split(`#`).length===1){var _=a.exec(g);if(_)return this.pathname=_[1],_[2]&&(this.search=_[2]),this}var v=r.exec(g);if(v&&(v=v[0],p=v.toLowerCase(),this.protocol=v,g=g.substr(v.length)),(t||v||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(h=g.substr(0,2)===`//`,h&&!(v&&d[v])&&(g=g.substr(2),this.slashes=!0)),!d[v]&&(h||v&&!f[v])){var y=-1;for(n=0;n<s.length;n++)m=g.indexOf(s[n]),m!==-1&&(y===-1||m<y)&&(y=m);var b,x=y===-1?g.lastIndexOf(`@`):g.lastIndexOf(`@`,y);for(x!==-1&&(b=g.slice(0,x),g=g.slice(x+1),this.auth=b),y=-1,n=0;n<o.length;n++)m=g.indexOf(o[n]),m!==-1&&(y===-1||m<y)&&(y=m);y===-1&&(y=g.length),g[y-1]===`:`&&y--;var S=g.slice(0,y);g=g.slice(y),this.parseHost(S),this.hostname=this.hostname||``;var C=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!C){var w=this.hostname.split(/\./);for(n=0,i=w.length;n<i;n++){var T=w[n];if(T&&!T.match(l)){for(var E=``,D=0,O=T.length;D<O;D++)T.charCodeAt(D)>127?E+=`x`:E+=T[D];if(!E.match(l)){var k=w.slice(0,n),ee=w.slice(n+1),te=T.match(u);te&&(k.push(te[1]),ee.unshift(te[2])),ee.length&&(g=ee.join(`.`)+g),this.hostname=k.join(`.`);break}}}}this.hostname.length>c&&(this.hostname=``),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var ne=g.indexOf(`#`);ne!==-1&&(this.hash=g.substr(ne),g=g.slice(0,ne));var re=g.indexOf(`?`);return re!==-1&&(this.search=g.substr(re),g=g.slice(0,re)),g&&(this.pathname=g),f[p]&&this.hostname&&!this.pathname&&(this.pathname=``),this},n.prototype.parseHost=function(e){var t=i.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=p}}),zP=H({"node_modules/mdurl/index.js"(e,t){t.exports.encode=Yue(),t.exports.decode=Xue(),t.exports.format=Zue(),t.exports.parse=Que()}}),BP=H({"node_modules/uc.micro/properties/Any/regex.js"(e,t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),VP=H({"node_modules/uc.micro/categories/Cc/regex.js"(e,t){t.exports=/[\0-\x1F\x7F-\x9F]/}}),$ue=H({"node_modules/uc.micro/categories/Cf/regex.js"(e,t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),HP=H({"node_modules/uc.micro/categories/Z/regex.js"(e,t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),ede=H({"node_modules/uc.micro/index.js"(e){e.Any=BP(),e.Cc=VP(),e.Cf=$ue(),e.P=RP(),e.Z=HP()}}),UP=H({"node_modules/markdown-it/lib/common/utils.js"(e){function t(e){return Object.prototype.toString.call(e)}function n(e){return t(e)===`[object String]`}var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!=`object`)throw TypeError(t+`must be object`);Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function o(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function s(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=RegExp(l.source+`|&([a-z#][a-z0-9]{1,31});`,`gi`),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,f=LP();function p(e,t){var n=0;return i(f,t)?f[t]:t.charCodeAt(0)===35&&d.test(t)&&(n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10),s(n))?c(n):e}function m(e){return e.indexOf(`\\`)<0?e:e.replace(l,`$1`)}function h(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(u,function(e,t,n){return t||p(e,n)})}var g=/[&<>"]/,_=/[&<>"]/g,v={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`};function y(e){return v[e]}function b(e){return g.test(e)?e.replace(_,y):e}var x=/[.?*+^$[\]\\(){}|-]/g;function S(e){return e.replace(x,`\\$&`)}function C(e){switch(e){case 9:case 32:return!0}return!1}function w(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=RP();function E(e){return T.test(e)}function D(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function O(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=zP(),e.lib.ucmicro=ede(),e.assign=a,e.isString=n,e.has=i,e.unescapeMd=m,e.unescapeAll=h,e.isValidEntityCode=s,e.fromCodePoint=c,e.escapeHtml=b,e.arrayReplaceAt=o,e.isSpace=C,e.isWhiteSpace=w,e.isMdAsciiPunct=D,e.isPunctChar=E,e.escapeRE=S,e.normalizeReference=O}}),tde=H({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(e,t){t.exports=function(e,t,n){var r,i,a,o,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<c;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}}return i&&(s=e.pos),e.pos=l,s}}}),nde=H({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(e,t){var n=UP().unescapeAll;t.exports=function(e,t,r){var i,a,o=0,s=t,c={ok:!1,pos:0,lines:0,str:``};if(e.charCodeAt(t)===60){for(t++;t<r;){if(i=e.charCodeAt(t),i===10||i===60)return c;if(i===62)return c.pos=t+1,c.str=n(e.slice(s+1,t)),c.ok=!0,c;if(i===92&&t+1<r){t+=2;continue}t++}return c}for(a=0;t<r&&(i=e.charCodeAt(t),!(i===32||i<32||i===127));){if(i===92&&t+1<r){if(e.charCodeAt(t+1)===32)break;t+=2;continue}if(i===40&&(a++,a>32))return c;if(i===41){if(a===0)break;a--}t++}return s===t||a!==0?c:(c.str=n(e.slice(s,t)),c.lines=o,c.pos=t,c.ok=!0,c)}}}),rde=H({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(e,t){var n=UP().unescapeAll;t.exports=function(e,t,r){var i,a,o=0,s=t,c={ok:!1,pos:0,lines:0,str:``};if(t>=r||(a=e.charCodeAt(t),a!==34&&a!==39&&a!==40))return c;for(t++,a===40&&(a=41);t<r;){if(i=e.charCodeAt(t),i===a)return c.pos=t+1,c.lines=o,c.str=n(e.slice(s+1,t)),c.ok=!0,c;if(i===40&&a===41)return c;i===10?o++:i===92&&t+1<r&&(t++,e.charCodeAt(t)===10&&o++),t++}return c}}}),ide=H({"node_modules/markdown-it/lib/helpers/index.js"(e){e.parseLinkLabel=tde(),e.parseLinkDestination=nde(),e.parseLinkTitle=rde()}}),ade=H({"node_modules/markdown-it/lib/renderer.js"(e,t){var n=UP().assign,r=UP().unescapeAll,i=UP().escapeHtml,a={};a.code_inline=function(e,t,n,r,a){var o=e[t];return`<code`+a.renderAttrs(o)+`>`+i(e[t].content)+`</code>`},a.code_block=function(e,t,n,r,a){var o=e[t];return`<pre`+a.renderAttrs(o)+`><code>`+i(e[t].content)+`</code></pre>
`},a.fence=function(e,t,n,a,o){var s=e[t],c=s.info?r(s.info).trim():``,l=``,u=``,d,f,p,m,h;return c&&(p=c.split(/(\s+)/g),l=p[0],u=p.slice(2).join(``)),d=n.highlight&&n.highlight(s.content,l,u)||i(s.content),d.indexOf(`<pre`)===0?d+`
`:c?(f=s.attrIndex(`class`),m=s.attrs?s.attrs.slice():[],f<0?m.push([`class`,n.langPrefix+l]):(m[f]=m[f].slice(),m[f][1]+=` `+n.langPrefix+l),h={attrs:m},`<pre><code`+o.renderAttrs(h)+`>`+d+`</code></pre>
`):`<pre><code`+o.renderAttrs(s)+`>`+d+`</code></pre>
`},a.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
`:`<br>
`},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content};function o(){this.rules=n({},a)}o.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` `+i(e.attrs[t][0])+`="`+i(e.attrs[t][1])+`"`;return r},o.prototype.renderToken=function(e,t,n){var r,i=``,a=!1,o=e[t];return o.hidden?``:(o.block&&o.nesting!==-1&&t&&e[t-1].hidden&&(i+=`
`),i+=(o.nesting===-1?`</`:`<`)+o.tag,i+=this.renderAttrs(o),o.nesting===0&&n.xhtmlOut&&(i+=` /`),o.block&&(a=!0,o.nesting===1&&t+1<e.length&&(r=e[t+1],(r.type===`inline`||r.hidden||r.nesting===-1&&r.tag===o.tag)&&(a=!1))),i+=a?`>
`:`>`,i)},o.prototype.renderInline=function(e,t,n){for(var r,i=``,a=this.rules,o=0,s=e.length;o<s;o++)r=e[o].type,a[r]===void 0?i+=this.renderToken(e,o,t):i+=a[r](e,o,t,n,this);return i},o.prototype.renderInlineAsText=function(e,t,n){for(var r=``,i=0,a=e.length;i<a;i++)e[i].type===`text`?r+=e[i].content:e[i].type===`image`?r+=this.renderInlineAsText(e[i].children,t,n):e[i].type===`softbreak`&&(r+=`
`);return r},o.prototype.render=function(e,t,n){var r,i,a,o=``,s=this.rules;for(r=0,i=e.length;r<i;r++)a=e[r].type,a===`inline`?o+=this.renderInline(e[r].children,t,n):s[a]===void 0?o+=this.renderToken(e,r,t,n):o+=s[e[r].type](e,r,t,n,this);return o},t.exports=o}}),WP=H({"node_modules/markdown-it/lib/ruler.js"(e,t){function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[``];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},n.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(r===-1)throw Error(`Parser rule not found: `+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},n.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},n.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]},t.exports=n}}),ode=H({"node_modules/markdown-it/lib/rules_core/normalize.js"(e,t){var n=/\r\n?|\n/g,r=/\0/g;t.exports=function(e){var t=e.src.replace(n,`
`);t=t.replace(r,`�`),e.src=t}}}),sde=H({"node_modules/markdown-it/lib/rules_core/block.js"(e,t){t.exports=function(e){var t;e.inlineMode?(t=new e.Token(`inline`,``,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}}}),cde=H({"node_modules/markdown-it/lib/rules_core/inline.js"(e,t){t.exports=function(e){for(var t=e.tokens,n,r=0,i=t.length;r<i;r++)n=t[r],n.type===`inline`&&e.md.inline.parse(n.content,e.md,e.env,n.children)}}}),lde=H({"node_modules/markdown-it/lib/rules_core/linkify.js"(e,t){var n=UP().arrayReplaceAt;function r(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}t.exports=function(e){var t,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=e.tokens,x;if(e.md.options.linkify){for(a=0,o=b.length;a<o;a++)if(b[a].type===`inline`&&e.md.linkify.pretest(b[a].content))for(s=b[a].children,g=0,t=s.length-1;t>=0;t--){if(l=s[t],l.type===`link_close`){for(t--;s[t].level!==l.level&&s[t].type!==`link_open`;)t--;continue}if(l.type===`html_inline`&&(r(l.content)&&g>0&&g--,i(l.content)&&g++),!(g>0)&&l.type===`text`&&e.md.linkify.test(l.content)){for(f=l.content,x=e.md.linkify.match(f),u=[],h=l.level,m=0,d=0;d<x.length;d++)_=x[d].url,v=e.md.normalizeLink(_),e.md.validateLink(v)&&(y=x[d].text,y=x[d].schema?x[d].schema===`mailto:`&&!/^mailto:/i.test(y)?e.md.normalizeLinkText(`mailto:`+y).replace(/^mailto:/,``):e.md.normalizeLinkText(y):e.md.normalizeLinkText(`http://`+y).replace(/^http:\/\//,``),p=x[d].index,p>m&&(c=new e.Token(`text`,``,0),c.content=f.slice(m,p),c.level=h,u.push(c)),c=new e.Token(`link_open`,`a`,1),c.attrs=[[`href`,v]],c.level=h++,c.markup=`linkify`,c.info=`auto`,u.push(c),c=new e.Token(`text`,``,0),c.content=y,c.level=h,u.push(c),c=new e.Token(`link_close`,`a`,-1),c.level=--h,c.markup=`linkify`,c.info=`auto`,u.push(c),m=x[d].lastIndex);m<f.length&&(c=new e.Token(`text`,``,0),c.content=f.slice(m),c.level=h,u.push(c)),b[a].children=s=n(s,t,u)}}}}}}),ude=H({"node_modules/markdown-it/lib/rules_core/replacements.js"(e,t){var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,r=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,a={c:`©`,r:`®`,p:`§`,tm:`™`};function o(e,t){return a[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type===`text`&&!r&&(n.content=n.content.replace(i,o)),n.type===`link_open`&&n.info===`auto`&&r--,n.type===`link_close`&&n.info===`auto`&&r++}function c(e){var t,r,i=0;for(t=e.length-1;t>=0;t--)r=e[t],r.type===`text`&&!i&&n.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&i--,r.type===`link_close`&&r.info===`auto`&&i++}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(r.test(e.tokens[t].content)&&s(e.tokens[t].children),n.test(e.tokens[t].content)&&c(e.tokens[t].children))}}}),dde=H({"node_modules/markdown-it/lib/rules_core/smartquotes.js"(e,t){var n=UP().isWhiteSpace,r=UP().isPunctChar,i=UP().isMdAsciiPunct,a=/['"]/,o=/['"]/g,s=`’`;function c(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,t){var a,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E=[],D,O;for(a=0;a<e.length;a++){for(l=e[a],m=e[a].level,w=E.length-1;w>=0&&!(E[w].level<=m);w--);if(E.length=w+1,l.type===`text`){u=l.content,f=0,p=u.length;OUTER:for(;f<p&&(o.lastIndex=f,d=o.exec(u),d);){if(S=C=!0,f=d.index+1,T=d[0]===`'`,g=32,d.index-1>=0)g=u.charCodeAt(d.index-1);else for(w=a-1;w>=0&&e[w].type!==`softbreak`&&e[w].type!==`hardbreak`;w--)if(e[w].content){g=e[w].content.charCodeAt(e[w].content.length-1);break}if(_=32,f<p)_=u.charCodeAt(f);else for(w=a+1;w<e.length&&e[w].type!==`softbreak`&&e[w].type!==`hardbreak`;w++)if(e[w].content){_=e[w].content.charCodeAt(0);break}if(v=i(g)||r(String.fromCharCode(g)),y=i(_)||r(String.fromCharCode(_)),b=n(g),x=n(_),x?S=!1:y&&(b||v||(S=!1)),b?C=!1:v&&(x||y||(C=!1)),_===34&&d[0]===`"`&&g>=48&&g<=57&&(C=S=!1),S&&C&&(S=v,C=y),!S&&!C){T&&(l.content=c(l.content,d.index,s));continue}if(C){for(w=E.length-1;w>=0&&(h=E[w],!(E[w].level<m));w--)if(h.single===T&&E[w].level===m){h=E[w],T?(D=t.md.options.quotes[2],O=t.md.options.quotes[3]):(D=t.md.options.quotes[0],O=t.md.options.quotes[1]),l.content=c(l.content,d.index,O),e[h.token].content=c(e[h.token].content,h.pos,D),f+=O.length-1,h.token===a&&(f+=D.length-1),u=l.content,p=u.length,E.length=w;continue OUTER}}S?E.push({token:a,pos:d.index,single:T,level:m}):C&&T&&(l.content=c(l.content,d.index,s))}}}}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&a.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}}}),GP=H({"node_modules/markdown-it/lib/token.js"(e,t){function n(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content=``,this.markup=``,this.info=``,this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},n.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},n.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+` `+t},t.exports=n}}),fde=H({"node_modules/markdown-it/lib/rules_core/state_core.js"(e,t){var n=GP();function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=n,t.exports=r}}),pde=H({"node_modules/markdown-it/lib/parser_core.js"(e,t){var n=WP(),r=[[`normalize`,ode()],[`block`,sde()],[`inline`,cde()],[`linkify`,lde()],[`replacements`,ude()],[`smartquotes`,dde()]];function i(){this.ruler=new n;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1])}i.prototype.process=function(e){var t,n,r=this.ruler.getRules(``);for(t=0,n=r.length;t<n;t++)r[t](e)},i.prototype.State=fde(),t.exports=i}}),mde=H({"node_modules/markdown-it/lib/rules_block/table.js"(e,t){var n=UP().isSpace;function r(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t=[],n=0,r=e.length,i,a=!1,o=0,s=``;for(i=e.charCodeAt(n);n<r;)i===124&&(a?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s=``,o=n+1)),a=i===92,n++,i=e.charCodeAt(n);return t.push(s+e.substring(o)),t}t.exports=function(e,t,a,o){var s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;if(t+2>a||(f=t+1,e.sCount[f]<e.blkIndent)||!e.md.options.allowIndentation&&e.sCount[f]-e.blkIndent>=4||(l=e.bMarks[f]+e.tShift[f],l>=e.eMarks[f])||(C=e.src.charCodeAt(l++),C!==124&&C!==45&&C!==58)||l>=e.eMarks[f]||(w=e.src.charCodeAt(l++),w!==124&&w!==45&&w!==58&&!n(w))||C===45&&n(w))return!1;for(;l<e.eMarks[f];){if(s=e.src.charCodeAt(l),s!==124&&s!==45&&s!==58&&!n(s))return!1;l++}for(c=r(e,t+1),p=c.split(`|`),g=[],u=0;u<p.length;u++){if(_=p[u].trim(),!_){if(u===0||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(_))return!1;_.charCodeAt(_.length-1)===58?g.push(_.charCodeAt(0)===58?`center`:`right`):_.charCodeAt(0)===58?g.push(`left`):g.push(``)}if(c=r(e,t).trim(),c.indexOf(`|`)===-1||!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||(p=i(c),p.length&&p[0]===``&&p.shift(),p.length&&p[p.length-1]===``&&p.pop(),m=p.length,m===0||m!==g.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType=`table`,S=e.md.block.ruler.getRules(`blockquote`),h=e.push(`table_open`,`table`,1),h.map=v=[t,0],h=e.push(`thead_open`,`thead`,1),h.map=[t,t+1],h=e.push(`tr_open`,`tr`,1),h.map=[t,t+1],u=0;u<p.length;u++)h=e.push(`th_open`,`th`,1),g[u]&&(h.attrs=[[`style`,`text-align:`+g[u]]]),h=e.push(`inline`,``,0),h.content=p[u].trim(),h.children=[],h=e.push(`th_close`,`th`,-1);for(h=e.push(`tr_close`,`tr`,-1),h=e.push(`thead_close`,`thead`,-1),f=t+2;f<a&&!(e.sCount[f]<e.blkIndent);f++){for(x=!1,u=0,d=S.length;u<d;u++)if(S[u](e,f,a,!0)){x=!0;break}if(x||(c=r(e,f).trim(),!c)||!e.md.options.allowIndentation&&e.sCount[f]-e.blkIndent>=4)break;for(p=i(c),p.length&&p[0]===``&&p.shift(),p.length&&p[p.length-1]===``&&p.pop(),f===t+2&&(h=e.push(`tbody_open`,`tbody`,1),h.map=y=[t+2,0]),h=e.push(`tr_open`,`tr`,1),h.map=[f,f+1],u=0;u<m;u++)h=e.push(`td_open`,`td`,1),g[u]&&(h.attrs=[[`style`,`text-align:`+g[u]]]),h=e.push(`inline`,``,0),h.content=p[u]?p[u].trim():``,h.children=[],h=e.push(`td_close`,`td`,-1);h=e.push(`tr_close`,`tr`,-1)}return y&&(h=e.push(`tbody_close`,`tbody`,-1),y[1]=f),h=e.push(`table_close`,`table`,-1),v[1]=f,e.parentType=b,e.line=f,!0}}}),hde=H({"node_modules/markdown-it/lib/rules_block/code.js"(e,t){t.exports=function(e,t,n){if(e.md.options.allowIndentation)return!1;var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}return e.line=i,a=e.push(`code_block`,`code`,0),a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
`,a.map=[t,e.line],!0}}}),gde=H({"node_modules/markdown-it/lib/rules_block/fence.js"(e,t){t.exports=function(e,t,n,r){var i,a,o,s,c,l,u,d=!1,f=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||f+3>p||(i=e.src.charCodeAt(f),i!==126&&i!==96)||(c=f,f=e.skipChars(f,i),a=f-c,a<3)||(u=e.src.slice(c,f),o=e.src.slice(f,p),i===96&&o.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(s=t;s++,!(s>=n||(f=c=e.bMarks[s]+e.tShift[s],p=e.eMarks[s],f<p&&e.sCount[s]<e.blkIndent));)if(e.src.charCodeAt(f)===i&&!(!e.md.options.allowIndentation&&e.sCount[s]-e.blkIndent>=4)&&(f=e.skipChars(f,i),!(f-c<a)&&(f=e.skipSpaces(f),!(f<p)))){d=!0;break}return a=e.sCount[t],e.line=s+ +!!d,l=e.push(`fence`,`code`,0),l.info=o,l.content=e.getLines(t+1,s,a,!0),l.markup=u,l.map=[t,e.line],!0}}}),_de=H({"node_modules/markdown-it/lib/rules_block/blockquote.js"(e,t){var n=UP().isSpace;t.exports=function(e,t,r,i){var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.lineMax,E=e.bMarks[t]+e.tShift[t],D=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(E++)!==62)return!1;if(i)return!0;for(c=p=e.sCount[t]+1,e.src.charCodeAt(E)===32?(E++,c++,p++,a=!1,b=!0):e.src.charCodeAt(E)===9?(b=!0,(e.bsCount[t]+p)%4==3?(E++,c++,p++,a=!1):a=!0):b=!1,m=[e.bMarks[t]],e.bMarks[t]=E;E<D&&(o=e.src.charCodeAt(E),n(o));)o===9?p+=4-(p+e.bsCount[t]+ +!!a)%4:p++,E++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+ +!!b,u=E>=D,v=[e.sCount[t]],e.sCount[t]=p-c,y=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],S=e.md.block.ruler.getRules(`blockquote`),_=e.parentType,e.parentType=`blockquote`,f=t+1;f<r&&(w=e.sCount[f]<e.blkIndent,E=e.bMarks[f]+e.tShift[f],D=e.eMarks[f],!(E>=D));f++){if(e.src.charCodeAt(E++)===62&&!w){for(c=p=e.sCount[f]+1,e.src.charCodeAt(E)===32?(E++,c++,p++,a=!1,b=!0):e.src.charCodeAt(E)===9?(b=!0,(e.bsCount[f]+p)%4==3?(E++,c++,p++,a=!1):a=!0):b=!1,m.push(e.bMarks[f]),e.bMarks[f]=E;E<D&&(o=e.src.charCodeAt(E),n(o));)o===9?p+=4-(p+e.bsCount[f]+ +!!a)%4:p++,E++;u=E>=D,h.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+ +!!b,v.push(e.sCount[f]),e.sCount[f]=p-c,y.push(e.tShift[f]),e.tShift[f]=E-e.bMarks[f];continue}if(u)break;for(x=!1,s=0,l=S.length;s<l;s++)if(S[s](e,f,r,!0)){x=!0;break}if(x){e.lineMax=f,e.blkIndent!==0&&(m.push(e.bMarks[f]),h.push(e.bsCount[f]),y.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}m.push(e.bMarks[f]),h.push(e.bsCount[f]),y.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}for(g=e.blkIndent,e.blkIndent=0,C=e.push(`blockquote_open`,`blockquote`,1),C.markup=`>`,C.map=d=[t,0],e.md.block.tokenize(e,t,f),C=e.push(`blockquote_close`,`blockquote`,-1),C.markup=`>`,e.lineMax=T,e.parentType=_,d[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=m[s],e.tShift[s+t]=y[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=h[s];return e.blkIndent=g,!0}}}),vde=H({"node_modules/markdown-it/lib/rules_block/hr.js"(e,t){var n=UP().isSpace;t.exports=function(e,t,r,i){var a,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||(a=e.src.charCodeAt(l++),a!==42&&a!==45&&a!==95))return!1;for(o=1;l<u;){if(s=e.src.charCodeAt(l++),s!==a&&!n(s))return!1;s===a&&o++}return o<3?!1:i?!0:(e.line=t+1,c=e.push(`hr`,`hr`,0),c.map=[t,e.line],c.markup=Array(o+1).join(String.fromCharCode(a)),!0)}}}),yde=H({"node_modules/markdown-it/lib/rules_block/list.js"(e,t){var n=UP().isSpace;function r(e,t){var r,i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o;return r=e.src.charCodeAt(i++),r!==42&&r!==45&&r!==43||i<a&&(o=e.src.charCodeAt(i),!n(o))?-1:i}function i(e,t){var r,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o||(r=e.src.charCodeAt(a++),r<48||r>57))return-1;for(;;){if(a>=o)return-1;if(r=e.src.charCodeAt(a++),r>=48&&r<=57){if(a-i>=10)return-1;continue}if(r===41||r===46)break;return-1}return a<o&&(r=e.src.charCodeAt(a),!n(r))?-1:a}function a(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&e.tokens[n].type===`paragraph_open`&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}t.exports=function(e,t,n,o){var s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,ee,te,ne,re,ie,ae=!1,oe=!0;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||!e.md.options.allowIndentation&&e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&e.parentType===`paragraph`&&e.sCount[t]>=e.blkIndent&&(ae=!0),(k=i(e,t))>=0){if(p=!0,te=e.bMarks[t]+e.tShift[t],y=Number(e.src.slice(te,k-1)),ae&&y!==1)return!1}else if((k=r(e,t))>=0)p=!1;else return!1;if(ae&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(k-1),o)return!0;for(_=e.tokens.length,p?(ie=e.push(`ordered_list_open`,`ol`,1),y!==1&&(ie.attrs=[[`start`,y]])):ie=e.push(`bullet_list_open`,`ul`,1),ie.map=g=[t,0],ie.markup=String.fromCharCode(v),x=t,ee=!1,re=e.md.block.ruler.getRules(`list`),w=e.parentType,e.parentType=`list`;x<n;){for(O=k,b=e.eMarks[x],f=S=e.sCount[x]+k-(e.bMarks[t]+e.tShift[t]);O<b;){if(s=e.src.charCodeAt(O),s===9)S+=4-(S+e.bsCount[x])%4;else if(s===32)S++;else break;O++}if(c=O,d=c>=b?1:S-f,!e.md.options.allowIndentation&&d>4&&(d=1),u=f+d,ie=e.push(`list_item_open`,`li`,1),ie.markup=String.fromCharCode(v),ie.map=m=[t,0],p&&(ie.info=e.src.slice(te,k-1)),D=e.tight,E=e.tShift[t],T=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=S,c>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),(!e.tight||ee)&&(oe=!1),ee=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=T,e.tight=D,ie=e.push(`list_item_close`,`li`,-1),ie.markup=String.fromCharCode(v),x=t=e.line,m[1]=x,c=e.bMarks[t],x>=n||e.sCount[x]<e.blkIndent||!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)break;for(ne=!1,l=0,h=re.length;l<h;l++)if(re[l](e,x,n,!0)){ne=!0;break}if(ne)break;if(p){if(k=i(e,x),k<0)break;te=e.bMarks[x]+e.tShift[x]}else if(k=r(e,x),k<0)break;if(v!==e.src.charCodeAt(k-1))break}return ie=p?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),ie.markup=String.fromCharCode(v),g[1]=x,e.line=x,e.parentType=w,oe&&a(e,_),!0}}}),bde=H({"node_modules/markdown-it/lib/rules_block/reference.js"(e,t){var n=UP().normalizeReference,r=UP().isSpace;t.exports=function(e,t,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=0,C=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],T=t+1;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(C)!==91)return!1;for(;++C<w;)if(e.src.charCodeAt(C)===93&&e.src.charCodeAt(C-1)!==92){if(C+1===w||e.src.charCodeAt(C+1)!==58)return!1;break}for(l=e.lineMax,b=e.md.block.ruler.getRules(`reference`),h=e.parentType,e.parentType=`reference`;T<l&&!e.isEmpty(T);T++)if(!(!e.md.options.allowIndentation&&e.sCount[T]-e.blkIndent>3)&&!(e.sCount[T]<0)){for(y=!1,d=0,f=b.length;d<f;d++)if(b[d](e,T,l,!0)){y=!0;break}if(y)break}for(v=e.getLines(t,T,e.blkIndent,!1).trim(),w=v.length,C=1;C<w;C++){if(o=v.charCodeAt(C),o===91)return!1;if(o===93){m=C;break}o===10?S++:o===92&&(C++,C<w&&v.charCodeAt(C)===10&&S++)}if(m<0||v.charCodeAt(m+1)!==58)return!1;for(C=m+2;C<w;C++)if(o=v.charCodeAt(C),o===10)S++;else if(!r(o))break;if(g=e.md.helpers.parseLinkDestination(v,C,w),!g.ok||(u=e.md.normalizeLink(g.str),!e.md.validateLink(u)))return!1;for(C=g.pos,S+=g.lines,s=C,c=S,_=C;C<w;C++)if(o=v.charCodeAt(C),o===10)S++;else if(!r(o))break;for(g=e.md.helpers.parseLinkTitle(v,C,w),C<w&&_!==C&&g.ok?(x=g.str,C=g.pos,S+=g.lines):(x=``,C=s,S=c);C<w&&(o=v.charCodeAt(C),r(o));)C++;if(C<w&&v.charCodeAt(C)!==10&&x)for(x=``,C=s,S=c;C<w&&(o=v.charCodeAt(C),r(o));)C++;return C<w&&v.charCodeAt(C)!==10||(p=n(v.slice(1,m)),!p)?!1:a?!0:(e.env.references===void 0&&(e.env.references={}),e.env.references[p]===void 0&&(e.env.references[p]={title:x,href:u}),e.parentType=h,e.line=t+S+1,!0)}}}),xde=H({"node_modules/markdown-it/lib/common/html_blocks.js"(e,t){t.exports=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.section.source.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`)}}),KP=H({"node_modules/markdown-it/lib/common/html_re.js"(e,t){var n=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,r=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,i=RegExp(`^(?:`+n+`|`+r+`|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),a=RegExp(`^(?:`+n+`|`+r+`)`);t.exports.HTML_TAG_RE=i,t.exports.HTML_OPEN_CLOSE_TAG_RE=a}}),Sde=H({"node_modules/markdown-it/lib/rules_block/html_block.js"(e,t){var n=xde(),r=KP().HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(`+n.join(`|`)+`)(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(r.source+`\\s*$`),/^$/,!1]];t.exports=function(e,t,n,r){var a,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(c=e.src.slice(l,u),a=0;a<i.length&&!i[a][0].test(c);a++);if(a===i.length)return!1;if(r)return i[a][2];if(o=t+1,!i[a][1].test(c)){for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),i[a][1].test(c)){c.length!==0&&o++;break}}return e.line=o,s=e.push(`html_block`,``,0),s.map=[t,o],s.content=e.getLines(t,o,e.blkIndent,!0),!0}}}),Cde=H({"node_modules/markdown-it/lib/rules_block/heading.js"(e,t){var n=UP().isSpace;t.exports=function(e,t,r,i){var a,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4||(a=e.src.charCodeAt(l),a!==35||l>=u))return!1;for(o=1,a=e.src.charCodeAt(++l);a===35&&l<u&&o<=6;)o++,a=e.src.charCodeAt(++l);return o>6||l<u&&!n(a)?!1:i?!0:(u=e.skipSpacesBack(u,l),s=e.skipCharsBack(u,35,l),s>l&&n(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,c=e.push(`heading_open`,`h`+String(o),1),c.markup=`########`.slice(0,o),c.map=[t,e.line],c=e.push(`inline`,``,0),c.content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],c=e.push(`heading_close`,`h`+String(o),-1),c.markup=`########`.slice(0,o),!0)}}}),wde=H({"node_modules/markdown-it/lib/rules_block/lheading.js"(e,t){t.exports=function(e,t,n){var r,i,a,o,s,c,l,u,d,f=t+1,p,m=e.md.block.ruler.getRules(`paragraph`);if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=`paragraph`;f<n&&!e.isEmpty(f);f++)if(!(!e.md.options.allowIndentation&&e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f],l=e.eMarks[f],c<l&&(d=e.src.charCodeAt(c),(d===45||d===61)&&(c=e.skipChars(c,d),c=e.skipSpaces(c),c>=l)))){u=d===61?1:2;break}if(!(e.sCount[f]<0)){for(i=!1,a=0,o=m.length;a<o;a++)if(m[a](e,f,n,!0)){i=!0;break}if(i)break}}return u?(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,s=e.push(`heading_open`,`h`+String(u),1),s.markup=String.fromCharCode(d),s.map=[t,e.line],s=e.push(`inline`,``,0),s.content=r,s.map=[t,e.line-1],s.children=[],s=e.push(`heading_close`,`h`+String(u),-1),s.markup=String.fromCharCode(d),e.parentType=p,!0):!1}}}),Tde=H({"node_modules/markdown-it/lib/rules_block/paragraph.js"(e,t){t.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules(`paragraph`),u=e.lineMax;for(s=e.parentType,e.parentType=`paragraph`;c<u&&!e.isEmpty(c);c++)if(!(!e.md.options.allowIndentation&&e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push(`paragraph_open`,`p`,1),o.map=[t,e.line],o=e.push(`inline`,``,0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push(`paragraph_close`,`p`,-1),e.parentType=s,!0}}}),Ede=H({"node_modules/markdown-it/lib/rules_block/state_block.js"(e,t){var n=GP(),r=UP().isSpace;function i(e,t,n,i){var a,o,s,c,l,u,d,f;for(this.src=e,this.md=t,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=`root`,this.level=0,this.result=``,o=this.src,f=!1,s=c=u=d=0,l=o.length;c<l;c++){if(a=o.charCodeAt(c),!f){if(r(a)){u++,a===9?d+=4-d%4:d++;continue}f=!0}(a===10||c===l-1)&&(a!==10&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(d),this.bsCount.push(0),f=!1,u=0,d=0,s=c+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,r){var i=new n(e,t,r);return i.block=!0,r<0&&this.level--,i.level=this.level,r>0&&this.level++,this.tokens.push(i),i},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),r(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,i){var a,o,s,c,l,u,d,f=e;if(e>=t)return``;for(u=Array(t-e),a=0;f<t;f++,a++){for(o=0,d=c=this.bMarks[f],l=f+1<t||i?this.eMarks[f]+1:this.eMarks[f];c<l&&o<n;){if(s=this.src.charCodeAt(c),r(s))s===9?o+=4-(o+this.bsCount[f])%4:o++;else if(c-d<this.tShift[f])o++;else break;c++}o>n?u[a]=Array(o-n+1).join(` `)+this.src.slice(c,l):u[a]=this.src.slice(c,l)}return u.join(``)},i.prototype.Token=n,t.exports=i}}),Dde=H({"node_modules/markdown-it/lib/parser_block.js"(e,t){var n=WP(),r=[[`table`,mde(),[`paragraph`,`reference`]],[`code`,hde()],[`fence`,gde(),[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,_de(),[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,vde(),[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,yde(),[`paragraph`,`reference`,`blockquote`]],[`reference`,bde()],[`html_block`,Sde(),[`paragraph`,`reference`,`blockquote`]],[`heading`,Cde(),[`paragraph`,`reference`,`blockquote`]],[`lheading`,wde()],[`paragraph`,Tde()]];function i(){this.ruler=new n;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1],{alt:(r[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,i,a=this.ruler.getRules(``),o=a.length,s=t,c=!1,l=e.md.options.maxNesting;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=l){e.line=n;break}for(i=0;i<o&&(r=a[i](e,s,n,!1),!r);i++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),s=e.line,s<n&&e.isEmpty(s)&&(c=!0,s++,e.line=s)}},i.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},i.prototype.State=Ede(),t.exports=i}}),Ode=H({"node_modules/markdown-it/lib/rules_inline/text.js"(e,t){function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}}}),kde=H({"node_modules/markdown-it/lib/rules_inline/newline.js"(e,t){var n=UP().isSpace;t.exports=function(e,t){var r,i,a,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(r=e.pending.length-1,i=e.posMax,!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0)}else e.push(`softbreak`,`br`,0)}for(o++;o<i&&n(e.src.charCodeAt(o));)o++;return e.pos=o,!0}}}),Ade=H({"node_modules/markdown-it/lib/rules_inline/escape.js"(e,t){var n=UP().isSpace,r=[];for(i=0;i<256;i++)r.push(0);var i;`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){r[e.charCodeAt(0)]=1}),t.exports=function(e,t){var i,a=e.pos,o=e.posMax;if(e.src.charCodeAt(a)!==92)return!1;if(a++,a<o){if(i=e.src.charCodeAt(a),i<256&&r[i]!==0)return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(i===10){for(t||e.push(`hardbreak`,`br`,0),a++;a<o&&(i=e.src.charCodeAt(a),n(i));)a++;return e.pos=a,!0}}return t||(e.pending+=`\\`),e.pos++,!0}}}),jde=H({"node_modules/markdown-it/lib/rules_inline/backticks.js"(e,t){t.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;for(n=u,u++,r=e.posMax;u<r&&e.src.charCodeAt(u)===96;)u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;for(o=s=u;(o=e.src.indexOf("`",s))!==-1;){for(s=o+1;s<r&&e.src.charCodeAt(s)===96;)s++;if(l=s-o,l===c)return t||(a=e.push(`code_inline`,`code`,0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g,` `).replace(/^ (.+) $/,`$1`)),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}}}),qP=H({"node_modules/markdown-it/lib/rules_inline/strikethrough.js"(e,t){t.exports.tokenize=function(e,t){var n,r,i,a,o,s=e.pos,c=e.src.charCodeAt(s);if(t||c!==126||(r=e.scanDelims(e.pos,!0),a=r.length,o=String.fromCharCode(c),a<2))return!1;for(a%2&&(i=e.push(`text`,``,0),i.content=o,a--),n=0;n<a;n+=2)i=e.push(`text`,``,0),i.content=o+o,e.delimiters.push({marker:c,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0};function n(e,t){var n,r,i,a,o,s=[],c=t.length;for(n=0;n<c;n++)i=t[n],i.marker===126&&i.end!==-1&&(a=t[i.end],o=e.tokens[i.token],o.type=`s_open`,o.tag=`s`,o.nesting=1,o.markup=`~~`,o.content=``,o=e.tokens[a.token],o.type=`s_close`,o.tag=`s`,o.nesting=-1,o.markup=`~~`,o.content=``,e.tokens[a.token-1].type===`text`&&e.tokens[a.token-1].content===`~`&&s.push(a.token-1));for(;s.length;){for(n=s.pop(),r=n+1;r<e.tokens.length&&e.tokens[r].type===`s_close`;)r++;r--,n!==r&&(o=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=o)}}t.exports.postProcess=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(e,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(e,r[t].delimiters)}}}),JP=H({"node_modules/markdown-it/lib/rules_inline/emphasis.js"(e,t){t.exports.tokenize=function(e,t){var n,r,i,a=e.pos,o=e.src.charCodeAt(a);if(t||o!==95&&o!==42)return!1;for(r=e.scanDelims(e.pos,o===42),n=0;n<r.length;n++)i=e.push(`text`,``,0),i.content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0};function n(e,t){for(var n=t.length-1,r,i,a,o,s;n>=0;n--)r=t[n],(r.marker===95||r.marker===42)&&r.end!==-1&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),a=e.tokens[r.token],a.type=s?`strong_open`:`em_open`,a.tag=s?`strong`:`em`,a.nesting=1,a.markup=s?o+o:o,a.content=``,a=e.tokens[i.token],a.type=s?`strong_close`:`em_close`,a.tag=s?`strong`:`em`,a.nesting=-1,a.markup=s?o+o:o,a.content=``,s&&(e.tokens[t[n-1].token].content=``,e.tokens[t[r.end+1].token].content=``,n--))}t.exports.postProcess=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(e,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(e,r[t].delimiters)}}}),Mde=H({"node_modules/markdown-it/lib/rules_inline/link.js"(e,t){var n=UP().normalizeReference,r=UP().isSpace;t.exports=function(e,t){var i,a,o,s,c,l,u,d,f,p=``,m=``,h=e.pos,g=e.posMax,_=e.pos,v=!0;if(e.src.charCodeAt(e.pos)!==91||(c=e.pos+1,s=e.md.helpers.parseLinkLabel(e,e.pos,!0),s<0))return!1;if(l=s+1,l<g&&e.src.charCodeAt(l)===40){for(v=!1,l++;l<g&&(a=e.src.charCodeAt(l),r(a)||a===10);l++);if(l>=g)return!1;if(_=l,u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),u.ok){for(p=e.md.normalizeLink(u.str),e.md.validateLink(p)?l=u.pos:p=``,_=l;l<g&&(a=e.src.charCodeAt(l),r(a)||a===10);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<g&&_!==l&&u.ok)for(m=u.str,l=u.pos;l<g&&(a=e.src.charCodeAt(l),r(a)||a===10);l++);}(l>=g||e.src.charCodeAt(l)!==41)&&(v=!0),l++}if(v){if(e.env.references===void 0)return!1;if(l<g&&e.src.charCodeAt(l)===91?(_=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?o=e.src.slice(_,l++):l=s+1):l=s+1,o||=e.src.slice(c,s),d=e.env.references[n(o)],!d)return e.pos=h,!1;p=d.href,m=d.title}return t||(e.pos=c,e.posMax=s,f=e.push(`link_open`,`a`,1),f.attrs=i=[[`href`,p]],m&&i.push([`title`,m]),e.md.inline.tokenize(e),f=e.push(`link_close`,`a`,-1)),e.pos=l,e.posMax=g,!0}}}),Nde=H({"node_modules/markdown-it/lib/rules_inline/image.js"(e,t){var n=UP().normalizeReference,r=UP().isSpace;t.exports=function(e,t){var i,a,o,s,c,l,u,d,f,p,m,h,g,_=``,v=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),c<0))return!1;if(u=c+1,u<y&&e.src.charCodeAt(u)===40){for(u++;u<y&&(a=e.src.charCodeAt(u),r(a)||a===10);u++);if(u>=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(_=e.md.normalizeLink(f.str),e.md.validateLink(_)?u=f.pos:_=``),g=u;u<y&&(a=e.src.charCodeAt(u),r(a)||a===10);u++);if(f=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&g!==u&&f.ok)for(p=f.str,u=f.pos;u<y&&(a=e.src.charCodeAt(u),r(a)||a===10);u++);else p=``;if(u>=y||e.src.charCodeAt(u)!==41)return e.pos=v,!1;u++}else{if(e.env.references===void 0)return!1;if(u<y&&e.src.charCodeAt(u)===91?(g=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?s=e.src.slice(g,u++):u=c+1):u=c+1,s||=e.src.slice(l,c),d=e.env.references[n(s)],!d)return e.pos=v,!1;_=d.href,p=d.title}return t||(o=e.src.slice(l,c),e.md.inline.parse(o,e.md,e.env,h=[]),m=e.push(`image`,`img`,0),m.attrs=i=[[`src`,_],[`alt`,``]],m.children=h,m.content=o,p&&i.push([`title`,p])),e.pos=u,e.posMax=y,!0}}}),Pde=H({"node_modules/markdown-it/lib/rules_inline/autolink.js"(e,t){var n=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,r=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;t.exports=function(e,t){var i,a,o,s,c,l,u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;for(c=e.pos,l=e.posMax;;){if(++u>=l||(s=e.src.charCodeAt(u),s===60))return!1;if(s===62)break}return i=e.src.slice(c+1,u),r.test(i)?(a=e.md.normalizeLink(i),e.md.validateLink(a)?(t||(o=e.push(`link_open`,`a`,1),o.attrs=[[`href`,a]],o.markup=`autolink`,o.info=`auto`,o=e.push(`text`,``,0),o.content=e.md.normalizeLinkText(i),o=e.push(`link_close`,`a`,-1),o.markup=`autolink`,o.info=`auto`),e.pos+=i.length+2,!0):!1):n.test(i)?(a=e.md.normalizeLink(`mailto:`+i),e.md.validateLink(a)?(t||(o=e.push(`link_open`,`a`,1),o.attrs=[[`href`,a]],o.markup=`autolink`,o.info=`auto`,o=e.push(`text`,``,0),o.content=e.md.normalizeLinkText(i),o=e.push(`link_close`,`a`,-1),o.markup=`autolink`,o.info=`auto`),e.pos+=i.length+2,!0):!1):!1}}}),Fde=H({"node_modules/markdown-it/lib/rules_inline/html_inline.js"(e,t){var n=KP().HTML_TAG_RE;function r(e){var t=e|32;return t>=97&&t<=122}t.exports=function(e,t){var i,a,o,s,c=e.pos;return!e.md.options.html||(o=e.posMax,e.src.charCodeAt(c)!==60||c+2>=o)||(i=e.src.charCodeAt(c+1),i!==33&&i!==63&&i!==47&&!r(i))||(a=e.src.slice(c).match(n),!a)?!1:(t||(s=e.push(`html_inline`,``,0),s.content=e.src.slice(c,c+a[0].length)),e.pos+=a[0].length,!0)}}}),Ide=H({"node_modules/markdown-it/lib/rules_inline/entity.js"(e,t){var n=LP(),r=UP().has,i=UP().isValidEntityCode,a=UP().fromCodePoint,o=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var c,l,u,d=e.pos,f=e.posMax;if(e.src.charCodeAt(d)!==38)return!1;if(d+1<f){if(c=e.src.charCodeAt(d+1),c===35){if(u=e.src.slice(d).match(o),u)return t||(l=u[1][0].toLowerCase()===`x`?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=i(l)?a(l):a(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(s),u&&r(n,u[1]))return t||(e.pending+=n[u[1]]),e.pos+=u[0].length,!0}return t||(e.pending+=`&`),e.pos++,!0}}}),Lde=H({"node_modules/markdown-it/lib/rules_inline/balance_pairs.js"(e,t){function n(e,t){var n,r,i,a,o,s,c,l,u={},d=t.length;if(d){var f=0,p=-2,m=[];for(n=0;n<d;n++)if(i=t[n],m.push(0),(t[f].marker!==i.marker||p!==i.token-1)&&(f=n),p=i.token,i.length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1,-1,-1,-1]),o=u[i.marker][(i.open?3:0)+i.length%3],r=f-m[f]-1,s=r;r>o;r-=m[r]+1)if(a=t[r],a.marker===i.marker&&a.open&&a.end<0&&(c=!1,(a.close||i.open)&&(a.length+i.length)%3==0&&(a.length%3!=0||i.length%3!=0)&&(c=!0),!c)){l=r>0&&!t[r-1].open?m[r-1]+1:0,m[n]=n-r+l,m[r]=l,i.open=!1,a.end=n,a.close=!1,s=-1,p=-2;break}s!==-1&&(u[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}t.exports=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(e,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(e,r[t].delimiters)}}}),Rde=H({"node_modules/markdown-it/lib/rules_inline/text_collapse.js"(e,t){t.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}}),zde=H({"node_modules/markdown-it/lib/rules_inline/state_inline.js"(e,t){var n=GP(),r=UP().isWhiteSpace,i=UP().isPunctChar,a=UP().isMdAsciiPunct;function o(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=``,this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}o.prototype.pushPending=function(){var e=new n(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e},o.prototype.push=function(e,t,r){this.pending&&this.pushPending();var i=new n(e,t,r),a=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],a={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(a),i},o.prototype.scanDelims=function(e,t){var n=e,o,s,c,l,u,d,f,p,m,h=!0,g=!0,_=this.posMax,v=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n<_&&this.src.charCodeAt(n)===v;)n++;return c=n-e,s=n<_?this.src.charCodeAt(n):32,f=a(o)||i(String.fromCharCode(o)),m=a(s)||i(String.fromCharCode(s)),d=r(o),p=r(s),p?h=!1:m&&(d||f||(h=!1)),d?g=!1:f&&(p||m||(g=!1)),t?(l=h,u=g):(l=h&&(!g||f),u=g&&(!h||m)),{can_open:l,can_close:u,length:c}},o.prototype.Token=n,t.exports=o}}),Bde=H({"node_modules/markdown-it/lib/parser_inline.js"(e,t){var n=WP(),r=[[`text`,Ode()],[`newline`,kde()],[`escape`,Ade()],[`backticks`,jde()],[`strikethrough`,qP().tokenize],[`emphasis`,JP().tokenize],[`link`,Mde()],[`image`,Nde()],[`autolink`,Pde()],[`html_inline`,Fde()],[`entity`,Ide()]],i=[[`balance_pairs`,Lde()],[`strikethrough`,qP().postProcess],[`emphasis`,JP().postProcess],[`text_collapse`,Rde()]];function a(){var e;for(this.ruler=new n,e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1]);for(this.ruler2=new n,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(``),a=i.length,o=e.md.options.maxNesting,s=e.cache;if(s[r]!==void 0){e.pos=s[r];return}if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(``),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&(t=r[n](e,!1),!t);n++);if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(``),o=a.length,i=0;i<o;i++)a[i](s)},a.prototype.State=zde(),t.exports=a}}),Vde=H({"node_modules/linkify-it/lib/re.js"(e,t){t.exports=function(e){var t={};t.src_Any=BP().source,t.src_Cc=VP().source,t.src_Z=HP().source,t.src_P=RP().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(`|`),t.src_ZCc=[t.src_Z,t.src_Cc].join(`|`);var n=`[><|]`;return t.src_pseudo_letter=`(?:(?!`+n+`|`+t.src_ZPCc+`)`+t.src_Any+`)`,t.src_ip4=`(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)`,t.src_auth=`(?:(?:(?!`+t.src_ZCc+`|[@/\\[\\]()]).)+@)?`,t.src_port=`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`,t.src_host_terminator=`(?=$|`+n+`|`+t.src_ZPCc+`)(?!-|_|:\\d|\\.-|\\.(?!$|`+t.src_ZPCc+`))`,t.src_path=`(?:[/?#](?:(?!`+t.src_ZCc+`|`+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+`|\\]).)*\\]|\\((?:(?!`+t.src_ZCc+`|[)]).)*\\)|\\{(?:(?!`+t.src_ZCc+`|[}]).)*\\}|\\"(?:(?!`+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+`|[']).)+\\'|\\'(?=`+t.src_pseudo_letter+`|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!`+t.src_ZCc+`|[.]).|`+(e&&e[`---`]?`\\-(?!--(?:[^-]|$))(?:-*)|`:`\\-+|`)+`,(?!`+t.src_ZCc+`).|;(?!`+t.src_ZCc+`).|\\!+(?!`+t.src_ZCc+`|[!]).|\\?(?!`+t.src_ZCc+`|[?]).)+|\\/)?`,t.src_email_name=`[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*`,t.src_xn=`xn--[a-z0-9\\-]{1,59}`,t.src_domain_root=`(?:`+t.src_xn+`|`+t.src_pseudo_letter+`{1,63})`,t.src_domain=`(?:`+t.src_xn+`|(?:`+t.src_pseudo_letter+`)|(?:`+t.src_pseudo_letter+`(?:-|`+t.src_pseudo_letter+`){0,61}`+t.src_pseudo_letter+`))`,t.src_host=`(?:(?:(?:(?:`+t.src_domain+`)\\.)*`+t.src_domain+`))`,t.tpl_host_fuzzy=`(?:`+t.src_ip4+`|(?:(?:(?:`+t.src_domain+`)\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:`+t.src_domain+`)\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:`+t.src_ZPCc+`|>|$))`,t.tpl_email_fuzzy=`(^|`+n+`|"|\\(|`+t.src_ZCc+`)(`+t.src_email_name+`@`+t.tpl_host_fuzzy_strict+`)`,t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+`)`,t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+`)`,t}}}),Hde=H({"node_modules/linkify-it/index.js"(e,t){function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function r(e){return Object.prototype.toString.call(e)}function i(e){return r(e)===`[object String]`}function a(e){return r(e)===`[object Object]`}function o(e){return r(e)===`[object RegExp]`}function s(e){return r(e)===`[object Function]`}function c(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}var l={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function u(e){return Object.keys(e||{}).reduce(function(e,t){return e||l.hasOwnProperty(t)},!1)}var d={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=RegExp(`^\\/\\/`+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,`i`)),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":`http:`,"ftp:":`http:`,"//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=RegExp(`^`+n.re.src_auth+`(?:localhost|(?:(?:`+n.re.src_domain+`)\\.)+`+n.re.src_domain_root+`)`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,`i`)),n.re.no_http.test(r)?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=RegExp(`^`+n.re.src_email_name+`@`+n.re.src_host_strict,`i`)),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},f=`a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]`,p=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`.split(`|`);function m(e){e.__index__=-1,e.__text_cache__=``}function h(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function g(){return function(e,t){t.normalize(e)}}function _(e){var t=e.re=Vde()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(f),n.push(t.src_xn),t.src_tlds=n.join(`|`);function r(e){return e.replace(`%TLDS%`,t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),`i`),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),`i`),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),`i`),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),`i`);var l=[];e.__compiled__={};function u(e,t){throw Error(`(LinkifyIt) Invalid schema "`+e+`": `+t)}Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(n!==null){var r={validate:null,link:null};if(e.__compiled__[t]=r,a(n)){o(n.validate)?r.validate=h(n.validate):s(n.validate)?r.validate=n.validate:u(t,n),s(n.normalize)?r.normalize=n.normalize:n.normalize?u(t,n):r.normalize=g();return}if(i(n)){l.push(t);return}u(t,n)}}),l.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[``]={validate:null,normalize:g()};var d=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(c).join(`|`);e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+d+`)`,`i`),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+d+`)`,`ig`),e.re.pretest=RegExp(`(`+e.re.schema_test.source+`)|(`+e.re.host_fuzzy_test.source+`)|@`,`i`),m(e)}function v(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function y(e,t){var n=new v(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function b(e,t){if(!(this instanceof b))return new b(e,t);t||u(e)&&(t=e,e={}),this.__opts__=n({},l,t),this.__index__=-1,this.__last_index__=-1,this.__schema__=``,this.__text_cache__=``,this.__schemas__=n({},d,e),this.__compiled__={},this.__tlds__=p,this.__tlds_replaced__=!1,this.re={},_(this)}b.prototype.add=function(e,t){return this.__schemas__[e]=t,_(this),this},b.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},b.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,s,c,l;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(e))!==null;)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__[`http:`]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__=``,this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`]&&(l=e.indexOf(`@`),l>=0&&(r=e.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__=`mailto:`,this.__index__=a,this.__last_index__=o))),this.__index__>=0},b.prototype.pretest=function(e){return this.re.pretest.test(e)},b.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},b.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(y(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(y(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},b.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),_(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_(this),this)},b.prototype.normalize=function(e){e.schema||(e.url=`http://`+e.url),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:`+e.url)},b.prototype.onCompile=function(){},t.exports=b}}),Ude=H({"node_modules/punycode/punycode.js"(e,t){var n=2147483647,r=36,i=1,a=/^xn--/,o=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},l=r-i,u=Math.floor,d=String.fromCharCode;function f(e){throw RangeError(c[e])}function p(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function m(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(s,`.`);let i=p(e.split(`.`),t).join(`.`);return r+i}function h(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var g=e=>String.fromCodePoint(...e),_=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:r},v=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},y=function(e,t,n){let i=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>l*26>>1;i+=r)e=u(e/l);return u(i+(l+1)*e/(e+38))},b=function(e){let t=[],a=e.length,o=0,s=128,c=72,l=e.lastIndexOf(`-`);l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&f(`not-basic`),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<a;){let l=o;for(let t=1,s=r;;s+=r){d>=a&&f(`invalid-input`);let l=_(e.charCodeAt(d++));(l>=r||l>u((n-o)/t))&&f(`overflow`),o+=l*t;let p=s<=c?i:s>=c+26?26:s-c;if(l<p)break;let m=r-p;t>u(n/m)&&f(`overflow`),t*=m}let p=t.length+1;c=y(o-l,p,l==0),u(o/p)>n-s&&f(`overflow`),s+=u(o/p),o%=p,t.splice(o++,0,s)}return String.fromCodePoint(...t)},x=function(e){let t=[];e=h(e);let a=e.length,o=128,s=0,c=72;for(let n of e)n<128&&t.push(d(n));let l=t.length,p=l;for(l&&t.push(`-`);p<a;){let a=n;for(let t of e)t>=o&&t<a&&(a=t);let m=p+1;a-o>u((n-s)/m)&&f(`overflow`),s+=(a-o)*m,o=a;for(let a of e)if(a<o&&++s>n&&f(`overflow`),a==o){let e=s;for(let n=r;;n+=r){let a=n<=c?i:n>=c+26?26:n-c;if(e<a)break;let o=e-a,s=r-a;t.push(d(v(a+o%s,0))),e=u(o/s)}t.push(d(v(e,0))),c=y(s,m,p==l),s=0,++p}++s,++o}return t.join(``)};t.exports={version:`2.1.0`,ucs2:{decode:h,encode:g},decode:b,encode:x,toASCII:function(e){return m(e,function(e){return o.test(e)?`xn--`+x(e):e})},toUnicode:function(e){return m(e,function(e){return a.test(e)?b(e.slice(4).toLowerCase()):e})}}}}),Wde=H({"node_modules/markdown-it/lib/presets/default.js"(e,t){t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}}}),Gde=H({"node_modules/markdown-it/lib/presets/zero.js"(e,t){t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`text_collapse`]}}}}}),Kde=H({"node_modules/markdown-it/lib/presets/commonmark.js"(e,t){t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`text_collapse`]}}}}}),YP=H({"node_modules/markdown-it/lib/index.js"(e,t){var n=UP(),r=ide(),i=ade(),a=pde(),o=Dde(),s=Bde(),c=Hde(),l=zP(),u=Ude(),d={default:Wde(),zero:Gde(),commonmark:Kde()},f=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!p.test(t)}var h=[`http:`,`https:`,`mailto:`];function g(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||h.indexOf(t.protocol)>=0))try{t.hostname=u.toASCII(t.hostname)}catch{}return l.encode(l.format(t))}function _(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||h.indexOf(t.protocol)>=0))try{t.hostname=u.toUnicode(t.hostname)}catch{}return l.decode(l.format(t),l.decode.defaultChars+`%`)}function v(e,t){if(!(this instanceof v))return new v(e,t);t||n.isString(e)||(t=e||{},e=`default`),this.inline=new s,this.block=new o,this.core=new a,this.renderer=new i,this.linkify=new c,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=_,this.utils=n,this.helpers=n.assign({},r),this.options={},this.configure(e),t&&this.set(t)}v.prototype.set=function(e){return n.assign(this.options,e),this},v.prototype.configure=function(e){var t=this,r;if(n.isString(e)&&(r=e,e=d[r],!e))throw Error('Wrong `markdown-it` preset "'+r+`", check name`);if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},v.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): `+r);return this},v.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): `+r);return this},v.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},v.prototype.parse=function(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},v.prototype.render=function(e,t){return t||={},this.renderer.render(this.parse(e,t),this.options,t)},v.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},v.prototype.renderInline=function(e,t){return t||={},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=v}}),qde=H({"node_modules/markdown-it/index.js"(e,t){t.exports=YP()}}),XP={};PP(XP,{getAstValues:()=>QP,isAst:()=>ZP,isFunction:()=>Jde,isVariable:()=>Yde,resolve:()=>$P});function ZP(e){return!!e?.$$mdtype}function Jde(e){return e?.$$mdtype===`Function`}function Yde(e){return e?.$$mdtype===`Variable`}function*QP(e){if(typeof e==`object`&&e){if(Array.isArray(e))for(let t of e)yield*QP(t);if(ZP(e)&&(yield e),Object.getPrototypeOf(e)===Object.prototype)for(let t of Object.values(e))yield*QP(t)}}function $P(e,t={}){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(e=>$P(e,t));if(ZP(e)&&e?.resolve instanceof Function)return e.resolve(t);if(Object.getPrototypeOf(e)!==Object.prototype)return e;let n={};for(let[r,i]of Object.entries(e))n[r]=$P(i,t);return n}var eF=class{constructor(e=`div`,t={},n=[]){this.$$mdtype=`Tag`,this.name=e,this.attributes=t,this.children=n}};eF.isTag=e=>e?.$$mdtype===`Tag`;var Xde=class{validate(e,t,n){return typeof e==`string`||typeof e==`object`?[]:[{id:`attribute-type-invalid`,level:`error`,message:`Attribute '${n}' must be type 'string | object'`}]}transform(e){if(!e||typeof e==`string`)return e;let t=[];for(let[n,r]of Object.entries(e??{}))r&&t.push(n);return t.join(` `)}},Zde=class{validate(e){return typeof e==`string`&&e.match(/^[a-zA-Z]/)?[]:[{id:`attribute-value-invalid`,level:`error`,message:`The 'id' attribute must start with a letter`}]}},tF=FP(IP()),nF=class{constructor(e=[]){this.$$mdtype=`Variable`,this.path=e}resolve({variables:e}={}){return e instanceof Function?e(this.path):this.path.reduce((e={},t)=>e[t],e)}},rF=class{constructor(e,t){this.$$mdtype=`Function`,this.name=e,this.parameters=t}resolve(e={}){let t=e?.functions?.[this.name];if(!t)return null;let n=$P(this.parameters,e);return t.transform?.(n,e)}},Qde;(function(e){e[e.normal=0]=`normal`,e[e.string=1]=`string`,e[e.escape=2]=`escape`})(Qde||={});var iF=`{%`,aF=`%}`,$de=/^[a-zA-Z0-9_-]+$/;function oF(e){return typeof e==`string`&&$de.test(e)}function sF(e){return e&&typeof e==`object`&&typeof e.then==`function`}function cF(e,t=0){let n=0;for(let r=t;r<e.length;r++){let t=e[r];switch(n){case 1:switch(t){case`"`:n=0;break;case`\\`:n=2}break;case 2:n=1;break;case 0:if(t===`"`)n=1;else if(e.startsWith(aF,r))return r}}return null}function lF(e,t,n){try{return(0,tF.parse)(e,{Variable:nF,Function:rF})}catch(e){if(!(e instanceof tF.SyntaxError))throw e;let{message:r,location:{start:i,end:a}}=e;return{type:`error`,meta:{error:{message:r,location:{start:{line:t,character:i.offset+n},end:{line:t+1,character:a.offset+n}}}}}}}function uF(e,t=0){let n=t+1,r=[],i=0;for(let t=0;t<e.length;t++){if(e[t]===`
`){n++;continue}if(!e.startsWith(iF,t))continue;let a=cF(e,t);if(a==null){t+=iF.length;continue}let o=e.slice(t,a+aF.length),s=e.slice(t+iF.length,a),c=e.lastIndexOf(`
`,t),l=e.indexOf(`
`,a),u=e.slice(c,l),d=lF(s.trim(),n,t-c),f=u.trim()===o?c:t,p=e.slice(i,f);r.push({type:`text`,start:i,end:t-1,content:p}),r.push({map:[n,n+1],position:{start:t-c,end:t-c+o.length},start:t,end:t+o.length-1,info:o,...d}),i=a+aF.length,t=i-1}return r.push({type:`text`,start:i,end:e.length-1,content:e.slice(i)}),r}var dF={class:{type:Xde,render:!0},id:{type:Zde,render:!0}},fF={findSchema(e,{nodes:t={},tags:n={}}={}){return e.tag?n[e.tag]:t[e.type]},attributes(e,t={}){let n=this.findSchema(e,t)??{},r={},i={...dF,...n.attributes};for(let[n,a]of Object.entries(i)){if(a.render==0)continue;let i=typeof a.render==`string`?a.render:n,o=e.attributes[n];if(typeof a.type==`function`){let e=new a.type;e.transform&&(o=e.transform(o,t))}o=o===void 0?a.default:o,o!==void 0&&(r[i]=o)}if(n.slots)for(let[i,a]of Object.entries(n.slots)){if(a.render===!1)continue;let n=typeof a.render==`string`?a.render:i;e.slots[i]&&(r[n]=this.node(e.slots[i],t))}return r},children(e,t={}){let n=e.children.flatMap(e=>this.node(e,t));return n.some(sF)?Promise.all(n):n},node(e,t={}){let n=this.findSchema(e,t)??{};if(n&&n.transform instanceof Function)return n.transform(e,t);let r=this.children(e,t);if(!n||!n.render)return r;let i=this.attributes(e,t);return sF(i)||sF(r)?Promise.all([i,r]).then(e=>new eF(n.render,...e)):new eF(n.render,i,r)}},pF=class{constructor(e=`node`,t={},n=[],r){this.$$mdtype=`Node`,this.errors=[],this.lines=[],this.inline=!1,this.attributes=t,this.children=n,this.type=e,this.tag=r,this.annotations=[],this.slots={}}*walk(){for(let e of[...Object.values(this.slots),...this.children])yield e,yield*e.walk()}push(e){this.children.push(e)}resolve(e={}){return Object.assign(new pF,this,{children:this.children.map(t=>t.resolve(e)),attributes:$P(this.attributes,e),slots:Object.fromEntries(Object.entries(this.slots).map(([t,n])=>[t,n.resolve(e)]))})}findSchema(e={}){return fF.findSchema(this,e)}transformAttributes(e={}){return fF.attributes(this,e)}transformChildren(e){return fF.children(this,e)}transform(e){return fF.node(this,e)}},mF={Function:rF,Node:pF,Variable:nF};function hF(e,t){if(!t)return t;let n=mF[t.$$mdtype];return n?Object.assign(new n,t):t}function gF(e){return JSON.parse(e,hF)}var _F={...mF,...XP,fromJSON:gF},vF=` `,yF=`, `,bF=`
`,xF=`.`,SF=`-`,CF=80,wF=[`strong`,`em`,`s`],TF=(e,t)=>Math.max(e,t),EF=(e,t=2)=>({...e,indent:(e.indent||0)+t});function*DF(e,t){for(let n of e.children)yield*zF(n,t)}function*OF(e){yield[...e].join(``).trim()}function*kF(e){yield`| ${e.join(` | `)} |`}function AF(e){if(e!==void 0)return _F.isAst(e)?BF(e):e===null?`null`:Array.isArray(e)?`[`+e.map(AF).join(yF)+`]`:typeof e==`object`?`{`+Object.entries(e).map(([e,t])=>`${oF(e)?e:`"${e}"`}: ${AF(t)}`).join(yF)+`}`:JSON.stringify(e)}function jF(e){let t=AF(e.value);if(t!==void 0)return e.name===`primary`?t:e.name===`id`&&typeof e.value==`string`&&oF(e.value)?`#`+e.value:e.type===`class`&&oF(e.name)?`.`+e.name:`${e.name}=${t}`}function*MF(e){for(let[t,n]of Object.entries(e.attributes))if(t===`class`&&typeof n==`object`&&!_F.isAst(n))for(let e of Object.keys(n))yield jF({type:`class`,name:e,value:n});else yield jF({type:`attribute`,name:t,value:n})}function*NF(e){e.annotations.length&&(yield iF+vF,yield e.annotations.map(jF).join(vF),yield vF+aF)}function*PF(e){yield`$`,yield e.path.map((e,t)=>t===0?e:oF(e)?`.`+e:typeof e==`number`?`[${e}]`:`["${e}"]`).join(``)}function*FF(e){yield e.name,yield`(`,yield Object.values(e.parameters).map(AF).join(yF),yield`)`}function*IF(e){let t;do{let{value:n,done:r}=e.next();if(r)return;t=n.trimStart()}while(!t.length);yield t,yield*e}function*LF(e,t){yield e.replace(t,`\\$&`).replace(RegExp(`\xA0`,`g`),`&nbsp;`)}function*RF(e,t={}){let n={...t,parent:e},r=vF.repeat(n.indent||0);switch(e.type){case`document`:e.attributes.frontmatter&&e.attributes.frontmatter.length&&(yield`---`+bF+e.attributes.frontmatter+bF+`---`+bF+bF),yield*IF(DF(e,n));break;case`heading`:yield bF,yield r,yield`#`.repeat(e.attributes.level||1),yield vF,yield*IF(DF(e,n)),yield*NF(e),yield bF;break;case`paragraph`:yield bF,yield*DF(e,n),yield*NF(e),yield bF;break;case`inline`:yield r,yield*DF(e,n);break;case`image`:yield`!`,yield`[`,yield*zF(e.attributes.alt,n),yield`]`,yield`(`,yield*typeof e.attributes.src==`string`?LF(e.attributes.src,/[()]/g):zF(e.attributes.src,n),e.attributes.title&&(yield vF+`"${e.attributes.title}"`),yield`)`;break;case`link`:yield`[`,yield*DF(e,n),yield`]`,yield`(`,yield*typeof e.attributes.href==`string`?LF(e.attributes.href,/[()]/g):zF(e.attributes.href,n),e.attributes.title&&(yield vF+`"${e.attributes.title}"`),yield`)`;break;case`text`:{let{content:r}=e.attributes;_F.isAst(r)?(yield iF+vF,yield*zF(r,n),yield vF+aF):t.parent&&wF.includes(t.parent.type)?yield*LF(r,/[*_~]/g):yield*LF(r,/^[*>#]/);break}case`blockquote`:{let t=`>`+vF;yield e.children.map(e=>BF(e,n).trimStart()).map(e=>bF+r+t+e).join(r+t);break}case`hr`:yield bF,yield r,yield`---`,yield bF;break;case`fence`:{yield bF,yield r;let t=(e.attributes.content.match(/`{3,}/g)||[]).map(e=>e.length).reduce(TF,0),n="`".repeat(t?t+1:3),i=!e.attributes.content.endsWith(bF);yield n,e.attributes.language&&(yield e.attributes.language),e.annotations.length&&(yield vF),yield*NF(e),yield bF,yield r,yield e.attributes.content.split(bF).join(bF+r),i&&(yield bF),yield n,yield bF;break}case`tag`:{e.inline||(yield bF,yield r);let i=iF+vF,a=[...MF(e)].filter(e=>e!==void 0),o=[i+e.tag,...a],s=o.join(vF),c=s.length+i.length*2>(t.maxTagOpeningWidth||CF);yield(!e.inline&&c?o.join(bF+vF.repeat(i.length)+r):s)+vF+(e.children.length?``:`/`)+aF,e.children.length&&(yield*DF(e,n.allowIndentation?EF(n):n),e.inline||(yield r),yield iF+vF+`/`+e.tag+vF+aF),e.inline||(yield bF);break}case`list`:{let i=e.children.some(e=>e.children.some(e=>e.type===`paragraph`));for(let a=0;a<e.children.length;a++){let o=(()=>{if(!e.attributes.ordered)return e.attributes.marker??SF;let n=`1`,r=e.attributes.start??1;return a===0&&(n=r.toString()),t.orderedListMode===`increment`&&(n=(parseInt(r)+a).toString()),`${n}${e.attributes.marker??xF}`})(),s=BF(e.children[a],EF(n,o.length+1));(!i||a===e.children.length-1)&&(s=s.trim()),yield bF+r+o+` `+s}yield bF;break}case`item`:for(let t=0;t<e.children.length;t++)yield*zF(e.children[t],n),t===0&&(yield*NF(e));break;case`strong`:yield e.attributes.marker??`**`,yield*OF(DF(e,n)),yield e.attributes.marker??`**`;break;case`em`:yield e.attributes.marker??`*`,yield*OF(DF(e,n)),yield e.attributes.marker??`*`;break;case`code`:yield"`",yield*OF(zF(e.attributes.content,n)),yield"`";break;case`s`:yield`~~`,yield*OF(DF(e,n)),yield`~~`;break;case`hardbreak`:yield`\\`+bF,yield r;break;case`softbreak`:yield bF,yield r;break;case`table`:{let i=[...DF(e,EF(n))];if(t.parent&&t.parent.type===`tag`&&t.parent.tag===`table`){for(let e=0;e<i.length;e++){let t=i[e];if(typeof t==`string`)t.trim().length&&(yield bF,yield t);else{e!==0&&(yield bF,yield r+`---`);for(let e of t)yield bF+r+SF+` `+e}}yield bF}else{let e=[];for(let t of i)for(let n=0;n<t.length;n++)e[n]=e[n]?Math.max(e[n],t[n].length):t[n].length;let[t,...n]=i;yield bF,yield*kF(t.map((t,n)=>t+vF.repeat(e[n]-t.length))),yield bF,yield*kF(t.map((t,n)=>`-`.repeat(e[n]))),yield bF;for(let t of n)yield*kF(t.map((t,n)=>t+vF.repeat(e[n]-t.length))),yield bF}break}case`thead`:{let[t]=[...DF(e,n)];yield t||[];break}case`tr`:yield[...DF(e,n)];break;case`td`:case`th`:yield[...DF(e,n),...NF(e)].join(``).trim();break;case`tbody`:yield*DF(e,n);break;case`comment`:yield`<!-- `+e.attributes.content+` -->
`}}function*zF(e,t={}){switch(typeof e){case`undefined`:break;case`boolean`:case`number`:case`string`:yield e.toString();break;case`object`:if(e===null)break;if(Array.isArray(e)){for(let n of e)yield*zF(n,t);break}switch(e.$$mdtype){case`Function`:yield*FF(e);break;case`Node`:yield*RF(e,t);break;case`Variable`:yield*PF(e);break;default:throw Error(`Unimplemented: "${e.$$mdtype}"`)}}}function BF(e,t){let n=``;for(let r of zF(e,t))n+=r;return n.trimStart()}function VF(e){return e!==!1&&e!=null}function HF(e){let t=[{condition:e.attributes.primary,children:[]}];for(let n of e.children)n.type===`tag`&&n.tag===`else`?t.push({condition:`primary`in n.attributes?n.attributes.primary:!0,children:[]}):t[t.length-1].children.push(n);return t}var UF={attributes:{primary:{type:Object,render:!1}},transform(e,t){let n=HF(e);for(let{condition:e,children:r}of n)if(VF(e)){let e=r.flatMap(e=>e.transform(t));return e.some(sF)?Promise.all(e).then(e=>e.flat()):e}return[]}},WF={selfClosing:!0,attributes:{primary:{type:Object,render:!1}}},GF={and:{transform(e){return Object.values(e).every(e=>VF(e))}},or:{transform(e){return Object.values(e).find(e=>VF(e))!==void 0}},not:{parameters:{0:{required:!0}},transform(e){return!VF(e[0])}},equals:{transform(e){let t=Object.values(e);return t.every(e=>e===t[0])}},default:{transform(e){return e[0]===void 0?e[1]:e[0]}},debug:{transform(e){return JSON.stringify(e[0],null,2)}}};function KF(e,t=`td`){e.type=`tr`,e.attributes={};for(let n of e.children)n.type=t;return e}function qF(e){for(let t of e.walk()){if(t.type!==`tag`||t.tag!==`table`)continue;let[e,...n]=t.children;if(!e||e.type===`table`)continue;let r=new _F.Node(`table`,t.attributes,[new _F.Node(`thead`),new _F.Node(`tbody`)]),[i,a]=r.children;e.type===`list`&&i.push(KF(e,`th`));for(let e of n){if(e.type===`list`)KF(e);else if(e.type===`tag`&&e.tag===`if`){let t=[];for(let n of e.children)n.type!==`hr`&&(n.type===`list`&&KF(n),t.push(n));e.children=t}else continue;a.push(e)}t.children=[r]}}var JF=[qF],YF={ordered_list:`list`,bullet_list:`list`,code_inline:`code`,list_item:`item`,variable:`text`};function XF(e,t){for(let n of t){e.annotations.push(n);let{name:t,value:r,type:i}=n;i===`attribute`?(e.attributes[t]!==void 0&&e.errors.push({id:`duplicate-attribute`,level:`warning`,message:`Attribute '${t}' already set`}),e.attributes[t]=r):i===`class`&&(e.attributes.class?e.attributes.class[t]=r:e.attributes.class={[t]:r})}}function ZF(e,t){switch(t){case`heading`:return{level:Number(e.tag.replace(`h`,``))};case`list`:{let t=e.attrs?Object.fromEntries(e.attrs):void 0,n=e.type.startsWith(`ordered`);return n&&t?.start?{ordered:!0,start:t.start,marker:e.markup}:{ordered:n,marker:e.markup}}case`link`:{let t=Object.fromEntries(e.attrs);return t.title?{href:t.href,title:t.title}:{href:t.href}}case`image`:{let t=Object.fromEntries(e.attrs);return t.title?{alt:e.content,src:t.src,title:t.title}:{alt:e.content,src:t.src}}case`em`:case`strong`:return{marker:e.markup};case`text`:case`code`:case`comment`:return{content:(e.meta||{}).variable||e.content};case`fence`:{let[t]=e.info.split(` `,1);return t===``||t===iF?{content:e.content}:{content:e.content,language:t}}case`td`:case`th`:if(e.attrs){let t=Object.fromEntries(e.attrs),n;if(t.style&&(t.style.includes(`left`)?n=`left`:t.style.includes(`center`)?n=`center`:t.style.includes(`right`)&&(n=`right`)),n)return{align:n}}return{};default:return{}}}function QF(e,t,n,r,i,a){if(e.type===`frontmatter`){t[0].attributes.frontmatter=e.content;return}if(e.hidden||e.type===`text`&&e.content===``)return;let o=e.errors||[],s=t[t.length-1],{tag:c,attributes:l,error:u}=e.meta||{};if(e.type===`annotation`)return a?XF(a,l):s.errors.push({id:`no-inline-annotations`,level:`error`,message:`Can't apply inline annotations to '${s.type}'`});let d=e.type.replace(/_(open|close)$/,``);if(YF[d]&&(d=YF[d]),d===`error`){let{message:e,location:t}=u;o.push({id:`parse-error`,level:`critical`,message:e,location:t})}if(e.nesting<0){if(s.type===d&&s.tag===c)return s.lines&&e.map&&s.lines.push(...e.map),t.pop();o.push({id:`missing-opening`,level:`critical`,message:`Node '${d}' is missing opening`})}let f=ZF(e,d),p=new pF(d,f,void 0,c||void 0),{position:m={}}=e;if(p.errors=o,i!==!1&&(p.lines=e.map||s.lines||[],p.location={file:n,start:{line:p.lines[0],character:m.start},end:{line:p.lines[1],character:m.end}}),a&&(p.inline=!0),l&&[`tag`,`fence`,`image`].includes(d)&&XF(p,l),r&&c===`slot`&&typeof p.attributes.primary==`string`?s.slots[p.attributes.primary]=p:s.push(p),e.nesting>0&&t.push(p),Array.isArray(e.children)){if(p.type===`inline`&&(a=s),t.push(p),d!==`image`)for(let o of e.children)QF(o,t,n,r,i,a);t.pop()}}function $F(e,t){let n=new pF(`document`),r=[n];typeof t==`string`&&(t={file:t});for(let n of e)QF(n,r,t?.file,t?.slots,t?.location);if(r.length>1)for(let e of r.slice(1))e.errors.push({id:`missing-closing`,level:`critical`,message:`Node '${e.tag||e.type}' is missing closing`});for(let e of JF)e(n);return n}var eI={};PP(eI,{blockquote:()=>oI,code:()=>xI,comment:()=>TI,document:()=>tI,em:()=>_I,error:()=>EI,fence:()=>aI,hardbreak:()=>CI,heading:()=>nI,hr:()=>lI,image:()=>iI,inline:()=>yI,item:()=>sI,link:()=>bI,list:()=>cI,node:()=>DI,paragraph:()=>rI,s:()=>vI,softbreak:()=>wI,strong:()=>gI,table:()=>uI,tbody:()=>mI,td:()=>dI,text:()=>SI,th:()=>fI,thead:()=>hI,tr:()=>pI});var tI={render:`article`,children:[`heading`,`paragraph`,`image`,`table`,`tag`,`fence`,`blockquote`,`comment`,`list`,`hr`],attributes:{frontmatter:{render:!1}}},nI={children:[`inline`],attributes:{level:{type:Number,render:!1,required:!0}},transform(e,t){return new eF(`h${e.attributes.level}`,e.transformAttributes(t),e.transformChildren(t))}},rI={render:`p`,children:[`inline`]},iI={render:`img`,attributes:{src:{type:String,required:!0},alt:{type:String},title:{type:String}}},aI={render:`pre`,attributes:{content:{type:String,render:!1,required:!0},language:{type:String,render:`data-language`},process:{type:Boolean,render:!1,default:!0}},transform(e,t){return new eF(`pre`,e.transformAttributes(t),e.children.length?e.transformChildren(t):[e.attributes.content])}},oI={render:`blockquote`,children:[`heading`,`paragraph`,`image`,`table`,`tag`,`fence`,`blockquote`,`list`,`hr`]},sI={render:`li`,children:[`inline`,`heading`,`paragraph`,`image`,`table`,`tag`,`fence`,`blockquote`,`list`,`hr`]},cI={children:[`item`],attributes:{ordered:{type:Boolean,render:!1,required:!0},start:{type:Number},marker:{type:String,render:!1}},transform(e,t){return new eF(e.attributes.ordered?`ol`:`ul`,e.transformAttributes(t),e.transformChildren(t))}},lI={render:`hr`},uI={render:`table`},dI={render:`td`,children:[`inline`,`heading`,`paragraph`,`image`,`table`,`tag`,`fence`,`blockquote`,`list`,`hr`],attributes:{align:{type:String},colspan:{type:Number,render:`colSpan`},rowspan:{type:Number,render:`rowSpan`}}},fI={render:`th`,attributes:{width:{type:String},align:{type:String},colspan:{type:Number,render:`colSpan`},rowspan:{type:Number,render:`rowSpan`}}},pI={render:`tr`,children:[`th`,`td`]},mI={render:`tbody`,children:[`tr`,`tag`]},hI={render:`thead`,children:[`tr`]},gI={render:`strong`,children:[`em`,`s`,`link`,`code`,`text`,`tag`],attributes:{marker:{type:String,render:!1}}},_I={render:`em`,children:[`strong`,`s`,`link`,`code`,`text`,`tag`],attributes:{marker:{type:String,render:!1}}},vI={render:`s`,children:[`strong`,`em`,`link`,`code`,`text`,`tag`]},yI={children:[`strong`,`em`,`s`,`code`,`text`,`tag`,`link`,`image`,`hardbreak`,`softbreak`,`comment`]},bI={render:`a`,children:[`strong`,`em`,`s`,`code`,`text`,`tag`],attributes:{href:{type:String,required:!0},title:{type:String}}},xI={render:`code`,attributes:{content:{type:String,render:!1,required:!0}},transform(e,t){return new eF(`code`,e.transformAttributes(t),[e.attributes.content])}},SI={attributes:{content:{type:String,required:!0}},transform(e){return e.attributes.content}},CI={render:`br`},wI={transform(){return` `}},TI={attributes:{content:{type:String,required:!0}}},EI={},DI={},{escapeHtml:OI}=(0,FP(qde()).default)().utils,kI=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function AI(e){if(typeof e==`string`||typeof e==`number`)return OI(String(e));if(Array.isArray(e))return e.map(AI).join(``);if(typeof e!=`object`||!e||!eF.isTag(e))return``;let{name:t,attributes:n,children:r=[]}=e;if(!t)return AI(r);let i=`<${t}`;for(let[e,t]of Object.entries(n??{}))i+=` ${e.toLowerCase()}="${OI(String(t))}"`;return i+=`>`,kI.has(t)?i:(r.length&&(i+=AI(r)),i+=`</${t}>`,i)}function jI(e,t){return typeof e==`string`&&e[0]===e[0].toUpperCase()?t instanceof Function?t(e):t[e]:e}function MI(e,React,{components:t={},resolveTagName:n=jI}={}){function r(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(e=>r(e));if(e.$$mdtype===`Tag`)return i(e);if(typeof e!=`object`)return e;let t={};for(let[n,i]of Object.entries(e))t[n]=r(i);return t}function i(e){if(Array.isArray(e))return React.createElement(React.Fragment,null,...e.map(i));if(typeof e!=`object`||!e||!eF.isTag(e))return e;let{name:a,attributes:{class:o,...s}={},children:c=[]}=e;return o&&(s.className=o),React.createElement(n(a,t),Object.keys(s).length==0?null:r(s),...c.map(i))}return i(e)}function NI(e,t){return typeof e==`string`?e[0]===e[0].toUpperCase()?t instanceof Function?t(e):t[e]:e:`Fragment`}function PI(e){return e.map(II).join(`, `)}function FI(e){return typeof e!=`object`||!e?JSON.stringify(e):Array.isArray(e)?`[${e.map(e=>FI(e)).join(`, `)}]`:e.$$mdtype===`Tag`?II(e):typeof e==`object`?`{${Object.entries(e).map(([e,t])=>[JSON.stringify(e),FI(t)].join(`: `)).join(`, `)}}`:JSON.stringify(e)}function II(e){if(Array.isArray(e))return`React.createElement(React.Fragment, null, ${PI(e)})`;if(typeof e!=`object`||!e||!eF.isTag(e))return JSON.stringify(e);let{name:t,attributes:{class:n,...r}={},children:i=[]}=e;return n&&(r.className=n),`React.createElement(
    tagName(${JSON.stringify(t)}, components),
    ${Object.keys(r).length==0?`null`:FI(r)},
    ${PI(i)})`}function LI(e,{resolveTagName:t=NI}={}){if(t.name!==`tagName`)throw Error(`resolveTagName must be named tagName`);return`
  (({components = {}} = {}) => {
    ${t}
    return ${II(e)};
  })
`}var RI={html:AI,react:MI,reactStatic:LI},zI={else:WF,if:UF,partial:{inline:!1,selfClosing:!0,attributes:{file:{type:class{validate(e,t){let{partials:n={}}=t;return n[e]?[]:[{id:`attribute-value-invalid`,level:`error`,message:`Partial \`${e}\` not found. The 'file' attribute must be set in \`config.partials\``}]}},render:!1,required:!0},variables:{type:Object,render:!1}},transform(e,t){let{partials:n={}}=t,{file:r,variables:i}=e.attributes,a=n[r];if(!a)return null;let o={...t,variables:{...t.variables,...i,"$$partial:filename":r}},s=e=>e.resolve(o).transformChildren(o);return Array.isArray(a)?a.flatMap(s):s(a)}},slot:{attributes:{primary:{type:String,required:!0}}},table:{children:[`table`],inline:!1}},BI=FP(YP()),VI=FP(IP());function HI(e,t,n){try{let{type:n,meta:r,nesting:i=0}=(0,VI.parse)(t,{Variable:nF,Function:rF}),a=e.push(n,``,i);return a.info=t,a.meta=r,e.delimiters||=[],a}catch(t){if(!(t instanceof VI.SyntaxError))throw t;let{message:r,location:{start:i,end:a}}=t,o=n?{start:{offset:i.offset+n},end:{offset:a.offset+n}}:null,s=e.push(`error`,``,0);return s.meta={error:{message:r,location:o}},s}}function UI(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(!e.src.startsWith(iF,i))return!1;let o=cF(e.src,i),s=e.src.slice(0,a).trim().length;if(!o||o<s-aF.length)return!1;let c=i+iF.length,l=e.src.slice(c,o).trim(),u=e.src.slice(i,o+aF.length).split(`
`).length;if(l[0]===`$`)return!1;if(r)return!0;let d=HI(e,l,c);return d.map=[t,t+u],e.line+=u,!0}function WI(e,t){if(!e.src.startsWith(iF,e.pos))return!1;let n=cF(e.src,e.pos);if(!n)return!1;let r=e.src.slice(e.pos+iF.length,n);return t||HI(e,r.trim()),e.pos=n+aF.length,!0}function GI(e){let t;for(t of e.tokens)if(t.type===`fence`){if(t.info.includes(iF)){let e=t.info.indexOf(iF),n=cF(t.info,e),r=t.info.slice(e+iF.length,n);try{let{meta:e}=(0,VI.parse)(r.trim(),{Variable:nF,Function:rF});t.meta=e}catch(e){if(!(e instanceof VI.SyntaxError))throw e;t.errors||(t.errors=[]),t.errors.push({id:`fence-tag-error`,level:`error`,message:`Syntax error in fence tag: ${e.message}`})}}t?.meta?.attributes?.find(e=>e.name===`process`&&!e.value)||(t.children=uF(t.content,t.map[0]))}}function KI(e){e.block.ruler.before(`paragraph`,`annotations`,UI,{alt:[`paragraph`,`blockquote`]}),e.inline.ruler.push(`containers`,WI),e.core.ruler.push(`annotations`,GI)}var qI=`---`;function JI(e,t){return e.src.slice(e.bMarks[t],e.eMarks[t]).trim()}function YI(e,t){for(let n=1;n<t;n++)if(JI(e,n)===qI)return n}function XI(e,t,n,r){if(t!=0||JI(e,0)!=qI)return!1;let i=YI(e,n);if(!i)return!1;if(r)return!0;let a=e.push(`frontmatter`,``,0);return a.content=e.src.slice(e.eMarks[0],e.bMarks[i]).trim(),a.map=[0,i],a.hidden=!0,e.line=i+1,!0}function ZI(e){e.block.ruler.before(`hr`,`frontmatter`,XI)}var QI=`<!--`,$I=`-->`;function eL(e,t,n,r){let i=e.bMarks[t]+e.tShift[t];if(!e.src.startsWith(QI,i))return!1;let a=e.src.indexOf($I,i);if(a===-1)return!1;if(r)return!0;let o=e.src.slice(i+QI.length,a),s=o.split(`
`).length,c=e.push(`comment`,``,0);return c.content=o.trim(),c.map=[t,t+s],e.line+=s,!0}function tL(e,t){if(!e.src.startsWith(QI,e.pos))return!1;let n=e.src.indexOf($I,e.pos);if(n===-1)return!1;if(t)return!0;let r=e.src.slice(e.pos+QI.length,n),i=e.push(`comment`,``,0);return i.content=r.trim(),e.pos=n+$I.length,!0}function nL(e){e.block.ruler.before(`table`,`comment`,eL,{alt:[`paragraph`]}),e.inline.ruler.push(`comment`,tL)}var rL=class{constructor(e={}){this.parser=new BI.default(e),this.parser.use(KI,`annotations`,{}),this.parser.use(ZI,`frontmatter`,{}),this.parser.disable([`lheading`,`code`]),e.allowComments&&this.parser.use(nL,`comments`,{})}tokenize(e){return this.parser.parse(e.toString(),{})}},iL={String,Number,Array,Object,Boolean};function aL(e,t,n,r){if(!e)return!0;if(_F.isFunction(t)&&n.validation?.validateFunctions){let r=n.functions?.[t.name];return r?.returns?Array.isArray(r.returns)?r.returns.find(t=>t===e)!==void 0:r.returns===e:!0}if(_F.isAst(t))return!0;if(Array.isArray(e))return e.some(e=>aL(e,t,n,r));if(typeof e==`string`&&(e=iL[e]),typeof e==`function`){let i=new e;if(i.validate)return i.validate(t,n,r)}return t!=null&&t.constructor===e}function oL(e){return typeof e==`string`?e:Array.isArray(e)?e.map(oL).join(` | `):e.name}function sL(e,t){let n=t.functions?.[e.name],r=[];if(!n)return[{id:`function-undefined`,level:`critical`,message:`Undefined function: '${e.name}'`}];if(n.validate&&r.push(...n.validate(e,t)),n.parameters)for(let[i,a]of Object.entries(e.parameters)){let o=n.parameters?.[i];if(!o){r.push({id:`parameter-undefined`,level:`error`,message:`Invalid parameter: '${i}'`});continue}if((!_F.isAst(a)||_F.isFunction(a))&&o.type){let n=aL(o.type,a,t,i);n===!1?r.push({id:`parameter-type-invalid`,level:`error`,message:`Parameter '${i}' of '${e.name}' must be type of '${oL(o.type)}'`}):Array.isArray(n)&&r.push(...n)}}for(let[t,{required:i}]of Object.entries(n.parameters??{}))i&&e.parameters[t]===void 0&&r.push({id:`parameter-missing-required`,level:`error`,message:`Missing required parameter: '${t}'`});return r}function cL(e,t){return e.length<=t?JSON.stringify(e):`[${e.slice(0,t).map(e=>JSON.stringify(e)).join(`,`)}, ... ${e.length-t} more]`}function lL(e,t){let n=e.findSchema(t),r=[...e.errors||[]];if(!n)return r.push({id:e.tag?`tag-undefined`:`node-undefined`,level:`critical`,message:e.tag?`Undefined tag: '${e.tag}'`:`Undefined node: '${e.type}'`}),r;n.inline!=null&&e.inline!==n.inline&&r.push({id:`tag-placement-invalid`,level:`critical`,message:`'${e.tag}' tag should be ${n.inline?`inline`:`block`}`}),n.selfClosing&&e.children.length>0&&r.push({id:`tag-selfclosing-has-children`,level:`critical`,message:`'${e.tag}' tag should be self-closing`});let i={...dF,...n.attributes};for(let t of Object.keys(e.slots))n.slots?.[t]||r.push({id:`slot-undefined`,level:`error`,message:`Invalid slot: '${t}'`});for(let[n,a]of Object.entries(e.attributes)){let e=i[n];if(!e){r.push({id:`attribute-undefined`,level:`error`,message:`Invalid attribute: '${n}'`});continue}let{type:o,matches:s,errorLevel:c}=e;if(_F.isAst(a)){if(_F.isFunction(a)&&t.validation?.validateFunctions)r.push(...sL(a,t));else if(_F.isVariable(a)&&t.variables){let e=!1,n=t.variables;for(let t of a.path){if(!Object.prototype.hasOwnProperty.call(n,t)){e=!0;break}n=n[t]}e&&r.push({id:`variable-undefined`,level:`error`,message:`Undefined variable: '${a.path.join(`.`)}'`})}else continue}if(a=a,o){let e=aL(o,a,t,n);e===!1&&r.push({id:`attribute-type-invalid`,level:c||`error`,message:`Attribute '${n}' must be type of '${oL(o)}'`}),Array.isArray(e)&&r.push(...e)}if(typeof s==`function`&&(s=s(t)),Array.isArray(s)&&!s.includes(a)&&r.push({id:`attribute-value-invalid`,level:c||`error`,message:`Attribute '${n}' must match one of ${cL(s,8)}. Got '${a}' instead.`}),s instanceof RegExp&&!s.test(a)&&r.push({id:`attribute-value-invalid`,level:c||`error`,message:`Attribute '${n}' must match ${s}. Got '${a}' instead.`}),typeof e.validate==`function`){let i=e.validate(a,t,n);Array.isArray(i)&&r.push(...i)}}for(let[t,{required:n}]of Object.entries(i))n&&e.attributes[t]===void 0&&r.push({id:`attribute-missing-required`,level:`error`,message:`Missing required attribute: '${t}'`});if(n.slots)for(let[t,{required:i}]of Object.entries(n.slots))i&&e.slots[t]===void 0&&r.push({id:`slot-missing-required`,level:`error`,message:`Missing required slot: '${t}'`});for(let{type:t}of e.children)n.children&&t!==`error`&&!n.children.includes(t)&&r.push({id:`child-invalid`,level:`warning`,message:`Can't nest '${t}' in '${e.tag||e.type}'`});if(n.validate){let i=n.validate(e,t);if(sF(i))return i.then(e=>r.concat(e));r.push(...i)}return r}function*uL(e,t=[]){yield[e,t];for(let n of[...Object.values(e.slots),...e.children])yield*uL(n,[...t,e])}function dL(e,t){let n=[...uL(e)].map(([e,n])=>{let{type:r,lines:i,location:a}=e,o=lL(e,{...t,validation:{...t.validation,parents:n}});return sF(o)?o.then(e=>e.map(e=>({type:r,lines:i,location:a,error:e}))):o.map(e=>({type:r,lines:i,location:a,error:e}))});return n.some(sF)?Promise.all(n).then(e=>e.flat()):n.flat()}var fL=new rL;function pL(e={}){return{...e,tags:{...zI,...e.tags},nodes:{...eI,...e.nodes},functions:{...GF,...e.functions}}}function mL(e,t){return typeof e==`string`&&(e=fL.tokenize(e)),$F(e,t)}function hL(e,t){return Array.isArray(e)?e.flatMap(e=>e.resolve(t)):e.resolve(t)}function gL(e,t){let n=pL(t),r=hL(e,n);return Array.isArray(r)?r.flatMap(e=>e.transform(n)):r.transform(n)}function _L(e,t){return dL(e,pL(t))}function vL(e,t={},...n){return{name:e,attributes:t,children:n}}var yL=class{constructor(e){this.parse=mL,this.resolve=e=>hL(e,this.config),this.transform=e=>gL(e,this.config),this.validate=e=>_L(e,this.config),this.config=e}};yL.nodes=eI,yL.tags=zI,yL.functions=GF,yL.globalAttributes=dF,yL.renderers=RI,yL.transforms=JF,yL.Ast=_F,yL.Tag=eF,yL.Tokenizer=rL,yL.parseTags=uF,yL.transformer=fF,yL.validator=lL,yL.parse=mL,yL.transform=gL,yL.validate=_L,yL.createElement=vL,yL.truthy=VF,yL.format=BF;var bL={script:`HtmlScript`},xL={schema:{attributes:{name:{type:String,required:!0},attrs:{type:Object}},transform(e,t){let{name:n,attrs:r}=e.attributes,i=e.transformChildren(t);return new yL.Tag(bL[n]||n,r,i)}},tagName:`html`},SL={mcpTool:{render:`McpTool`,attributes:{name:{type:String},id:{type:String}}},mcpResource:{render:`McpResource`,attributes:{name:{type:String},id:{type:String}}},mcpPrompt:{render:`McpPrompt`,attributes:{name:{type:String},id:{type:String}}}},CL={render:`SchemaDefinition`,attributes:{schemaRef:{type:String},exampleRef:{type:String},showReadOnly:{type:Boolean},showWriteOnly:{type:Boolean},htmlWrap:{type:String,default:!1}}};Bt(),Ds(),lb();function wL(e){let t=EL(e).trim();return t?`section/${Ss(t)}`:void 0}var TL={html:xL.schema,schemaDefinition:CL,...SL};function EL(e){return e.map(e=>typeof e==`string`?e:yL.Tag.isTag(e)?EL(e.children):``).join(``)}function DL(e){return e.map(e=>yL.Tag.isTag(e)?e.name===`th`?new yL.Tag(`th`,{...e.attributes,"data-label":EL(e.children)},e.children):new yL.Tag(e.name,e.attributes,DL(e.children)):e)}var OL={table:{transform(e,t){let n=e.transformAttributes(t),r=e.transformChildren(t);return new yL.Tag(`div`,{className:`md-table-wrapper`},[new yL.Tag(`table`,{...n,className:`md`},DL(r))])}},heading:{children:[`inline`],attributes:{id:{type:String},level:{type:Number,required:!0,default:1},deepLinkHash:{type:String}},transform(e,t){let n=e.transformAttributes(t),r=e.transformChildren(t),i=t.variables?.[ob],a=wL(r),o=typeof n.id==`string`?{id:n.id}:a&&i?Wy(a,i):{id:a};return new yL.Tag(`Heading`,{...n,...o,level:e.attributes.level===1?2:e.attributes.level},r)}}},kL={HtmlScript:()=>null},AL={tags:TL,nodes:OL,components:Vue};function jL(e){return{...e,...AL,components:{...kL,...e?.components,...AL.components},tags:{...AL.tags,...e?.tags},nodes:{...AL.nodes,...e?.nodes,heading:AL.nodes.heading}}}var ML=e=>e.type===`document`&&e.children?.length?e.children.map(NL):NL(e);function NL(e){let t={$$mdtype:`Node`,type:e.type};return e.tag!==void 0&&(t.tag=e.tag),e.inline&&(t.inline=!0),e.errors&&e.errors.length>0&&(t.errors=e.errors),e.slots&&Object.keys(e.slots).length>0&&(t.slots=Object.fromEntries(Object.entries(e.slots).map(([e,t])=>[e,NL(t)]))),t.attributes=e.attributes??{},t.children=e.children?e.children.map(NL):[],t}var PL=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),FL=new Uint16Array(`Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0))),IL=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),LL=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function RL(e){return e>=55296&&e<=57343||e>1114111?65533:IL.get(e)??e}var zL;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(zL||={});var BL=32,VL;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(VL||={});function HL(e){return e>=zL.ZERO&&e<=zL.NINE}function UL(e){return e>=zL.UPPER_A&&e<=zL.UPPER_F||e>=zL.LOWER_A&&e<=zL.LOWER_F}function WL(e){return e>=zL.UPPER_A&&e<=zL.UPPER_Z||e>=zL.LOWER_A&&e<=zL.LOWER_Z||HL(e)}function GL(e){return e===zL.EQUALS||WL(e)}var KL;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(KL||={});var qL;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(qL||={});var JL=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=KL.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qL.Strict}startEntity(e){this.decodeMode=e,this.state=KL.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case KL.EntityStart:return e.charCodeAt(t)===zL.NUM?(this.state=KL.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=KL.NamedEntity,this.stateNamedEntity(e,t));case KL.NumericStart:return this.stateNumericStart(e,t);case KL.NumericDecimal:return this.stateNumericDecimal(e,t);case KL.NumericHex:return this.stateNumericHex(e,t);case KL.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|BL)===zL.LOWER_X?(this.state=KL.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=KL.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(HL(r)||UL(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(HL(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===zL.SEMI)this.consumed+=1;else if(this.decodeMode===qL.Strict)return 0;return this.emitCodePoint(RL(this.result),this.consumed),this.errors&&(e!==zL.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&VL.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=XL(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===qL.Attribute&&(i===0||GL(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&VL.VALUE_LENGTH)>>14,i!==0){if(a===zL.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==qL.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&VL.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~VL.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case KL.NamedEntity:return this.result!==0&&(this.decodeMode!==qL.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case KL.NumericDecimal:return this.emitNumericEntity(0,2);case KL.NumericHex:return this.emitNumericEntity(0,3);case KL.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case KL.EntityStart:return 0}}};function YL(e){let t=``,n=new JL(e,e=>t+=LL(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function XL(e,t,n,r){let i=(t&VL.BRANCH_LENGTH)>>7,a=t&VL.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}YL(PL),YL(FL);var U;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(U||={});var W;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.BeforeEntity=25]=`BeforeEntity`,e[e.BeforeNumericEntity=26]=`BeforeNumericEntity`,e[e.InNamedEntity=27]=`InNamedEntity`,e[e.InNumericEntity=28]=`InNumericEntity`,e[e.InHexEntity=29]=`InHexEntity`})(W||={});function ZL(e){return e===U.Space||e===U.NewLine||e===U.Tab||e===U.FormFeed||e===U.CarriageReturn}function QL(e){return e===U.Slash||e===U.Gt||ZL(e)}function $L(e){return e>=U.Zero&&e<=U.Nine}function eR(e){return e>=U.LowerA&&e<=U.LowerZ||e>=U.UpperA&&e<=U.UpperZ}function tR(e){return e>=U.UpperA&&e<=U.UpperF||e>=U.LowerA&&e<=U.LowerF}var nR;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(nR||={});var rR={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},iR=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=W.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=W.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=e,this.decodeEntities=t,this.entityTrie=e?FL:PL}reset(){this.state=W.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=W.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(e){e===U.Lt||!this.decodeEntities&&this.fastForwardTo(U.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=W.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===U.Amp&&(this.state=W.BeforeEntity)}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?QL(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=W.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===U.Gt||ZL(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===rR.TitleEnd?this.decodeEntities&&e===U.Amp&&(this.state=W.BeforeEntity):this.fastForwardTo(U.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===U.Lt)}stateCDATASequence(e){e===rR.Cdata[this.sequenceIndex]?++this.sequenceIndex===rR.Cdata.length&&(this.state=W.InCommentLike,this.currentSequence=rR.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=W.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===rR.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=W.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!QL(e):eR(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=W.SpecialStartSequence}stateBeforeTagName(e){if(e===U.ExclamationMark)this.state=W.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===U.Questionmark)this.state=W.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=e|32;this.sectionStart=this.index,!this.xmlMode&&t===rR.TitleEnd[2]?this.startSpecial(rR.TitleEnd,3):this.state=!this.xmlMode&&t===rR.ScriptEnd[2]?W.BeforeSpecialS:W.InTagName}else e===U.Slash?this.state=W.BeforeClosingTagName:(this.state=W.Text,this.stateText(e))}stateInTagName(e){QL(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){ZL(e)||(e===U.Gt?this.state=W.Text:(this.state=this.isTagStartChar(e)?W.InClosingTagName:W.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===U.Gt||ZL(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=W.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.state=W.Text,this.baseState=W.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===U.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=W.InSpecialTag,this.sequenceIndex=0):this.state=W.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===U.Slash?this.state=W.InSelfClosingTag:ZL(e)||(this.state=W.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===U.Gt?(this.cbs.onselfclosingtag(this.index),this.state=W.Text,this.baseState=W.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ZL(e)||(this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===U.Eq||QL(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=W.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===U.Eq?this.state=W.BeforeAttributeValue:e===U.Slash||e===U.Gt?(this.cbs.onattribend(nR.NoValue,this.index),this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e)):ZL(e)||(this.cbs.onattribend(nR.NoValue,this.index),this.state=W.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===U.DoubleQuote?(this.state=W.InAttributeValueDq,this.sectionStart=this.index+1):e===U.SingleQuote?(this.state=W.InAttributeValueSq,this.sectionStart=this.index+1):ZL(e)||(this.sectionStart=this.index,this.state=W.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===U.DoubleQuote?nR.Double:nR.Single,this.index),this.state=W.BeforeAttributeName):this.decodeEntities&&e===U.Amp&&(this.baseState=this.state,this.state=W.BeforeEntity)}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,U.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,U.SingleQuote)}stateInAttributeValueNoQuotes(e){ZL(e)||e===U.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(nR.Unquoted,this.index),this.state=W.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===U.Amp&&(this.baseState=this.state,this.state=W.BeforeEntity)}stateBeforeDeclaration(e){e===U.OpeningSquareBracket?(this.state=W.CDATASequence,this.sequenceIndex=0):this.state=e===U.Dash?W.BeforeComment:W.InDeclaration}stateInDeclaration(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=W.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=W.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===U.Dash?(this.state=W.InCommentLike,this.currentSequence=rR.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=W.InDeclaration}stateInSpecialComment(e){(e===U.Gt||this.fastForwardTo(U.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=W.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=e|32;t===rR.ScriptEnd[3]?this.startSpecial(rR.ScriptEnd,4):t===rR.StyleEnd[3]?this.startSpecial(rR.StyleEnd,4):(this.state=W.InTagName,this.stateInTagName(e))}stateBeforeEntity(e){this.entityExcess=1,this.entityResult=0,e===U.Number?this.state=W.BeforeNumericEntity:e===U.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=W.InNamedEntity,this.stateInNamedEntity(e))}stateInNamedEntity(e){if(this.entityExcess+=1,this.trieIndex=XL(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let t=this.trieCurrent&VL.VALUE_LENGTH;if(t){let n=(t>>14)-1;if(!this.allowLegacyEntity()&&e!==U.Semi)this.trieIndex+=n;else{let e=this.index-this.entityExcess+1;e>this.sectionStart&&this.emitPartial(this.sectionStart,e),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,n===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult!==0)switch((this.entityTrie[this.entityResult]&VL.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~VL.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(e){(e|32)===U.LowerX?(this.entityExcess++,this.state=W.InHexEntity):(this.state=W.InNumericEntity,this.stateInNumericEntity(e))}emitNumericEntity(e){let t=this.index-this.entityExcess-1;t+2+Number(this.state===W.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint(RL(this.entityResult))),this.state=this.baseState}stateInNumericEntity(e){e===U.Semi?this.emitNumericEntity(!0):$L(e)?(this.entityResult=this.entityResult*10+(e-U.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(e){e===U.Semi?this.emitNumericEntity(!0):$L(e)?(this.entityResult=this.entityResult*16+(e-U.Zero),this.entityExcess++):tR(e)?(this.entityResult=this.entityResult*16+((e|32)-U.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===W.Text||this.baseState===W.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===W.Text||this.state===W.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===W.InAttributeValueDq||this.state===W.InAttributeValueSq||this.state===W.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case W.Text:this.stateText(e);break;case W.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case W.InSpecialTag:this.stateInSpecialTag(e);break;case W.CDATASequence:this.stateCDATASequence(e);break;case W.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case W.InAttributeName:this.stateInAttributeName(e);break;case W.InCommentLike:this.stateInCommentLike(e);break;case W.InSpecialComment:this.stateInSpecialComment(e);break;case W.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case W.InTagName:this.stateInTagName(e);break;case W.InClosingTagName:this.stateInClosingTagName(e);break;case W.BeforeTagName:this.stateBeforeTagName(e);break;case W.AfterAttributeName:this.stateAfterAttributeName(e);break;case W.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case W.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case W.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case W.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case W.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case W.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case W.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case W.InDeclaration:this.stateInDeclaration(e);break;case W.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case W.BeforeComment:this.stateBeforeComment(e);break;case W.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case W.InNamedEntity:this.stateInNamedEntity(e);break;case W.BeforeEntity:this.stateBeforeEntity(e);break;case W.InHexEntity:this.stateInHexEntity(e);break;case W.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()}finish(){this.state===W.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.state===W.InCommentLike?this.currentSequence===rR.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===W.InNumericEntity&&this.allowLegacyEntity()||this.state===W.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===W.InTagName||this.state===W.BeforeAttributeName||this.state===W.BeforeAttributeValue||this.state===W.AfterAttributeName||this.state===W.InAttributeName||this.state===W.InAttributeValueSq||this.state===W.InAttributeValueDq||this.state===W.InAttributeValueNq||this.state===W.InClosingTagName||this.cbs.ontext(this.sectionStart,e)}emitPartial(e,t){this.baseState!==W.Text&&this.baseState!==W.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)}emitCodePoint(e){this.baseState!==W.Text&&this.baseState!==W.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)}},aR=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),oR=new Set([`p`]),sR=new Set([`thead`,`tbody`]),cR=new Set([`dd`,`dt`]),lR=new Set([`rt`,`rp`]),uR=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`li`,new Set([`li`])],[`p`,oR],[`h1`,oR],[`h2`,oR],[`h3`,oR],[`h4`,oR],[`h5`,oR],[`h6`,oR],[`select`,aR],[`input`,aR],[`output`,aR],[`button`,aR],[`datalist`,aR],[`textarea`,aR],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,cR],[`dt`,cR],[`address`,oR],[`article`,oR],[`aside`,oR],[`blockquote`,oR],[`details`,oR],[`div`,oR],[`dl`,oR],[`fieldset`,oR],[`figcaption`,oR],[`figure`,oR],[`footer`,oR],[`form`,oR],[`header`,oR],[`hr`,oR],[`main`,oR],[`nav`,oR],[`ol`,oR],[`pre`,oR],[`section`,oR],[`table`,oR],[`ul`,oR],[`rt`,lR],[`rp`,lR],[`tbody`,sR],[`tfoot`,sR]]),dR=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),fR=new Set([`math`,`svg`]),pR=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),mR=/\s|\//,hR=class{constructor(e,t={}){var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=t.lowerCaseTags??!t.xmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??!t.xmlMode,this.tokenizer=new(t.Tokenizer??iR)(this.options,this),(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}ontext(e,t){var n,r;let i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t}ontextentity(e){var t,n;let r=this.tokenizer.getSectionStart();this.endIndex=r-1,(n=(t=this.cbs).ontext)==null||n.call(t,LL(e)),this.startIndex=r}isVoidElement(e){return!this.options.xmlMode&&dR.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;let a=!this.options.xmlMode&&uR.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){let e=this.stack.pop();(n=(t=this.cbs).onclosetag)==null||n.call(t,e,!0)}this.isVoidElement(e)||(this.stack.push(e),fR.has(e)?this.foreignContext.push(!0):pR.has(e)&&this.foreignContext.push(!1)),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,i,a,o,s;this.endIndex=t;let c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(fR.has(c)||pR.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c===`br`&&((r=(n=this.cbs).onopentagname)==null||r.call(n,`br`),(a=(i=this.cbs).onopentag)==null||a.call(i,`br`,{},!0),(s=(o=this.cbs).onclosetag)==null||s.call(o,`br`,!1));else{let e=this.stack.lastIndexOf(c);if(e!==-1){if(this.cbs.onclosetag){let t=this.stack.length-e;for(;t--;)this.cbs.onclosetag(this.stack.pop(),t!==0)}else this.stack.length=e}else!this.options.xmlMode&&c===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;let r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.pop())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=LL(e)}onattribend(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===nR.Double?`"`:e===nR.Single?`'`:e===nR.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(mR),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1}oncdata(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;let p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=this.stack.length;e>0;this.cbs.onclosetag(this.stack[--e],!0));}(t=(e=this.cbs).onend)==null||t.call(e)}reset(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}},gR={for:`htmlFor`,class:`className`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,allowfullscreen:`allowFullScreen`,allowtransparency:`allowTransparency`,autocomplete:`autoComplete`,autoplay:`autoPlay`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,charset:`charSet`,classid:`classID`,colspan:`colSpan`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,crossorigin:`crossOrigin`,datetime:`dateTime`,enctype:`encType`,formaction:`formAction`,formenctype:`formEncType`,formmethod:`formMethod`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,hreflang:`hrefLang`,"http-equiv":`httpEquiv`,inputmode:`inputMode`,keyparams:`keyParams`,keytype:`keyType`,marginheight:`marginHeight`,marginwidth:`marginWidth`,maxlength:`maxLength`,mediagroup:`mediaGroup`,minlength:`minLength`,novalidate:`noValidate`,playsinline:`playsInline`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rowspan:`rowSpan`,spellcheck:`spellCheck`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,tabindex:`tabIndex`,usemap:`useMap`,autocapitalize:`autoCapitalize`,autocorrect:`autoCorrect`,autosave:`autoSave`,itemprop:`itemProp`,itemscope:`itemScope`,itemtype:`itemType`,itemid:`itemID`,itemref:`itemRef`,"accent-height":`accentHeight`,"alignment-baseline":`alignmentBaseline`,"arabic-form":`arabicForm`,"baseline-shift":`baselineShift`,"cap-height":`capHeight`,"clip-path":`clipPath`,"clip-rule":`clipRule`,"color-interpolation":`colorInterpolation`,"color-interpolation-filters":`colorInterpolationFilters`,"color-profile":`colorProfile`,"color-rendering":`colorRendering`,"dominant-baseline":`dominantBaseline`,"enable-background":`enableBackground`,"fill-opacity":`fillOpacity`,"fill-rule":`fillRule`,"flood-color":`floodColor`,"flood-opacity":`floodOpacity`,"font-family":`fontFamily`,"font-size":`fontSize`,"font-size-adjust":`fontSizeAdjust`,"font-stretch":`fontStretch`,"font-style":`fontStyle`,"font-variant":`fontVariant`,"font-weight":`fontWeight`,"glyph-name":`glyphName`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,"glyph-orientation-vertical":`glyphOrientationVertical`,"horiz-adv-x":`horizAdvX`,"horiz-origin-x":`horizOriginX`,"image-rendering":`imageRendering`,"letter-spacing":`letterSpacing`,"lighting-color":`lightingColor`,"marker-end":`markerEnd`,"marker-mid":`markerMid`,"marker-start":`markerStart`,"overline-position":`overlinePosition`,"overline-thickness":`overlineThickness`,"paint-order":`paintOrder`,"panose-1":`panose1`,"pointer-events":`pointerEvents`,"rendering-intent":`renderingIntent`,"shape-rendering":`shapeRendering`,"stop-color":`stopColor`,"stop-opacity":`stopOpacity`,"strikethrough-position":`strikethroughPosition`,"strikethrough-thickness":`strikethroughThickness`,"stroke-dasharray":`strokeDasharray`,"stroke-dashoffset":`strokeDashoffset`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"stroke-miterlimit":`strokeMiterlimit`,"stroke-opacity":`strokeOpacity`,"stroke-width":`strokeWidth`,"text-anchor":`textAnchor`,"text-decoration":`textDecoration`,"text-rendering":`textRendering`,"underline-position":`underlinePosition`,"underline-thickness":`underlineThickness`,"unicode-bidi":`unicodeBidi`,"unicode-range":`unicodeRange`,"units-per-em":`unitsPerEm`,"v-alphabetic":`vAlphabetic`,"v-hanging":`vHanging`,"v-ideographic":`vIdeographic`,"v-mathematical":`vMathematical`,"vector-effect":`vectorEffect`,"vert-adv-y":`vertAdvY`,"vert-origin-x":`vertOriginX`,"vert-origin-y":`vertOriginY`,"word-spacing":`wordSpacing`,"writing-mode":`writingMode`,"x-height":`xHeight`,"xlink:actuate":`xlinkActuate`,"xlink:arcrole":`xlinkArcrole`,"xlink:href":`xlinkHref`,"xlink:role":`xlinkRole`,"xlink:show":`xlinkShow`,"xlink:title":`xlinkTitle`,"xlink:type":`xlinkType`,"xml:base":`xmlBase`,"xmlns:xlink":`xmlnsXlink`,"xml:lang":`xmlLang`,"xml:space":`xmlSpace`};function _R(e,t){let n={};for(let[r,i]of Object.entries(e))switch(r){case`value`:t===`input`||t===`textarea`?n.defaultValue=i:n.value=i;break;case`checked`:t===`input`?n.defaultChecked=!0:n.checked=i;break;case`style`:n.style=yR(i);break;default:n[gR[r]||r]=i}return n}function vR(e){return e.match(/^--/)?e:e.replace(/-[a-z]/g,e=>e[1].toUpperCase())}function yR(e){return e.split(`;`).filter(e=>e.trim().length).reduce((e,t)=>{let n=t.indexOf(`:`),r=n===-1?t:t.slice(0,n),i=n===-1?``:t.slice(n+1);return e[vR(r.trim())]=i.trim(),e},{})}var bR=/^[a-zA-Z][a-zA-Z:_.\-\d]*$/;function xR(e){let t=[],n=[],r=null,i=``,a=()=>i.slice(o.startIndex,o.endIndex+1),o=new hR({onopentag(e,i){let o=bR.test(e);if(n.push({name:e,token:r,element:o}),!o){t.push({type:`text`,content:a()});return}t.push({type:`tag_open`,nesting:1,meta:{tag:`html`,attributes:[{type:`attribute`,name:`name`,value:e},{type:`attribute`,name:`attrs`,value:_R(i,e)}]}})},ontext(e){e?.trim().length>0&&t.push({type:`text`,content:e})},onclosetag(e,r){if(n.pop()?.element===!1){r||t.push({type:`text`,content:a()});return}t.push({type:`tag_close`,nesting:-1,meta:{tag:`html`}})}});for(let n of e){if(n.type.startsWith(`html`)){r=n,i+=n.content,o.write(n.content);continue}n.type===`inline`&&(n.children=xR(n.children)),t.push(n)}for(let e of n)e.element&&(t.push({type:`error`,meta:{error:{message:`HTML tag <${e.name}> is not closed, opened at`,location:e?.token?.map?{start:{line:e.token.map[0]},end:{line:e.token.map[1]}}:void 0}}}),t.push({type:`tag_close`,nesting:-1,meta:{tag:`html`}}));return t}lb();var SR=new yL.Tokenizer({html:!0,allowIndentation:!0,allowComments:!0});SR.parser.block.ruler.getRules(`reference`).length=0;var CR=(e,t)=>{let n=SR.tokenize(Xre(e,t));return ML(yL.parse(xR(n)))},wR=styled$1(mb)`
  margin: 0;
`;function TR(e){let t=e&&{tags:e.tags,nodes:e.nodes,partials:e.partials,variables:e.variables,functions:e.functions},n=e?{components:e.components??{}}:void 0;return e=>{if(typeof e==`string`)return jsx(Fragment$1,{children:e});let r=yL.Ast.fromJSON(JSON.stringify(e)),i=yL.transform(r,t),a=Array.isArray(i)?i:i.children;return jsx(Fragment$1,{children:a.map((e,t)=>jsx(Fragment,{children:jsx(wR,{children:yL.renderers.react(e,React,n),as:`div`})},e?.attributes?.id||t))})}}function ER(e,t){return{parse:e=>typeof e==`string`?CR(e,t):e,render:TR(jL(e))}}function DR({imageUrl:e,href:t,altText:n,backgroundColor:r,dataTestId:i,className:a}={}){if(!e)return null;let o=jsx(OR,{src:e,alt:n||`logo`});return jsx(kR,{"data-testid":i,style:{backgroundColor:r},"data-component-name":`SidebarLogo/SidebarLogo`,className:a,children:t?jsx(AR,{href:t,children:o}):o})}var OR=styled.img`
  max-height: var(--sidebar-logo-max-height);
  max-width: var(--sidebar-logo-max-width);
  padding: var(--sidebar-logo-padding);
  width: 100%;
  display: block;
`,kR=styled.div`
  text-align: center;
  line-height: 0;
`,AR=styled.a`
  display: inline-block;
`;function jR(e){return!1}function MR(e){return{}}function NR(e){return!1}function PR(e){return{sectionRbac:void 0,entries:e?Object.entries(e):[]}}var FR=o((()=>{}));function IR(e,t){let n=ZR.get(e)??0;for(;`${t}_${n}`in e;)n++;return ZR.set(e,n+1),`${t}_${n}`}function LR(e,t){return e==null?String(e):typeof e==`object`?(t||=new Set,t.has(e)?`"[Circular]"`:(t.add(e),Array.isArray(e)?`[`+e.map(e=>LR(e,t)).join(`,`)+`]`:V(e)?`{`+Object.keys(e).sort().map(n=>JSON.stringify(n)+`:`+LR(e[n],t)).join(`,`)+`}`:`{}`)):JSON.stringify(e)}function RR(e,t,n){let r=zR(n);if(n.id&&e[n.id])return n.id;if(!n.id){let i=LR(n.data),a=t[i];if(a)return a;let o=IR(e,`schema`);return e[o]={...r,id:o},t[i]=o,o}e[n.id]={...r,id:n.id};let i=LR(n.data);return t[i]||(t[i]=n.id),n.id}function zR(e){return e.data,e}function BR(e){return typeof e==`string`||typeof e==`object`&&e?e:void 0}function VR(e,t){let n=t.id??IR(e,`example`);return e[n]||(e[n]={...t,id:n}),n}function HR(e,t){return e[t.id]||(e[t.id]=t),t.id}function UR(e){return{schemaStore:{},exampleStore:{},securitySchemeStore:{},hashIndex:{},document:e}}function WR(e){return V(e)?e:{}}function GR(e,t,n){if(V(t)){if(typeof t.$ref==`string`){let r=t.$ref,i=Vj(r);return i&&n?.has(i)?{type:`object`,title:i}:XR(e,r)}return t}}function KR(e){return V(e)&&typeof e.$ref==`string`}function qR(e,t){let n=new Set,r=t;for(;KR(r);){if(n.has(r.$ref))return;n.add(r.$ref),r=GR(e,r)}return V(r)?r:void 0}function JR(e,t){if(!t?.content)return;let n=KR(t.content)?GR(e,t.content):t.content;if(!n)return;let r={};for(let[t,i]of Object.entries(n)){let n=qR(e,i);n&&(r[t]=n)}let i=YR(r,t);return i&&Object.keys(i).length>0?i:void 0}function YR(e,t){if(!e)return e;let n=t[`x-examples`];if(n){let t={...e};for(let e of Object.keys(n))t[e]={...t[e],examples:n[e]};return t}let r=t[`x-example`];if(r){let t={...e};for(let e of Object.keys(r))t[e]={...t[e],example:r[e]};return t}return e}function XR(e,t){if(!t.startsWith(`#/`))return;let n=t.slice(2).split(`/`).map(e=>e.replace(/~1/g,`/`).replace(/~0/g,`~`)),r=e;for(let e of n){if(!V(r))return;r=r[e]}return V(r)?r:void 0}var ZR,QR=o((()=>{Uj(),FR(),ME(),ZR=new WeakMap}));QR();var $R=Bo(null);Hs();function ez(e,t=`/`){let n=Qo($R),{routes:r,routeIndex:i}=useMemo(()=>{let n=[],r=[],i=[];return Is({apiItems:e,allRoutes:n,tagsWithItems:r,parentTag:null,allTagsWithItems:i}),{routes:n,routeIndex:{...Ps(n,r,t,i)}}},[e,t]);return useEffect(()=>{n(i)},[i,n]),{routes:r,routeIndex:i}}function tz(){let e=useLocation(),t=Qo(Mh);useEffect(()=>{let n=e.pathname.toLowerCase();t(e=>e.includes(n)?e:[...e,n])},[e.pathname,t])}qf();var nz=[`wheel`,`touchmove`,`keydown`,`mousedown`],rz=new Set([`ArrowUp`,`ArrowDown`,`PageUp`,`PageDown`,`Home`,`End`,` `]);function iz(e){return e.type===`mousedown`?e.target===document.documentElement:e.type!==`keydown`||rz.has(e.key)}var az=200;function oz(){let e=0,t=0;return n=>{if(n.type===`wheel`){let{deltaY:r,deltaMode:i}=n;return!Number.isFinite(r)||(t&&n.timeStamp-t>az&&(e=0),t=n.timeStamp,e+=Math.abs(r)*(i===1?16:i===2?48:1),e>=48)}return iz(n)}}function sz(e){let t=useRef(!1);return useEffect(()=>{if(!Ie)return;t.current=!1;let e=oz(),n=n=>{e(n)&&(t.current=!0)};for(let e of nz)window.addEventListener(e,n,{passive:!0});return()=>{for(let e of nz)window.removeEventListener(e,n)}},[e]),t}qf(),Ds(),Ns();function cz(e){window.history.replaceState({},``,e),window.dispatchEvent(new Event(Vh))}function lz(){let e=useLocation(),t=Qo(jh),n=I(ps),r=Yn(e,!1,!1),i=useHref(ks(bs(r||`/`))),a=sz(e.key);useEffect(()=>{t(null)},[e.pathname,t]),useEffect(()=>{Ie&&r&&a.current&&(t(r),(r===n||!window.location.pathname.includes(r)&&!window.location.hash.includes(r))&&cz(i))},[r,i,n,t,a])}B();var uz={httpItem:`operation`,channelOperation:`operation`,query:`operation`,mutation:`operation`,subscription:`operation`,channel:`channel`,message:`message`,schema:`schema`,object:`type`,interface:`type`,input:`type`,union:`type`,enum:`type`,scalar:`type`,directive:`type`};function dz(e){return!e||e.contentType===ts.OVERVIEW?`root`:e.contentType===ts.GROUP?`group`:(e.itemVariant&&uz[e.itemVariant])??`other`}function fz(e){return e?dz(e.content):`other`}Hs();function pz(e,t){let n=jE(),r=Go(),{pathname:i}=useLocation(),a=useRef(!1);useEffect(()=>{if(a.current)return;a.current=!0;let{items:o,store:s,definition:c}=r.get(cs);n.sendInitialMessage([ID({uri:SE(),layout:r.get(Ch),typeOfUsage:n.typeOfUsage,items:o,apiStore:s,definition:c,hostname:window.location.hostname,landedOn:fz(Fs(e,i)),buildTimings:t?.buildTimings,options:t?.options})])},[])}Hs();var mz=2e3;function hz(e){let t=jE(),n=Go(),{pathname:r}=useLocation(),i=useRef(t);i.current=t;let a=useRef(e);a.current=e;let o=useRef(null);useEffect(()=>{if(typeof window>`u`)return;let e=()=>{n.set(RE,`history`)};return window.addEventListener(`popstate`,e),()=>window.removeEventListener(`popstate`,e)},[n]),useEffect(()=>{if(typeof window>`u`)return;let e=o.current===null;if(o.current===r)return;o.current=r;let t=SE(),s=n.get(ds),c=s.specType===`asyncapi`&&s.protocol?eD(s.protocol):void 0,l=Fs(a.current,r);i.current.sendViewedMessage([{id:t,object:`page`,uri:t,layout:n.get(Ch),kind:fz(l),via:e?`load`:gz(n),...c?{protocol:c}:{}}])},[r,n])}function gz(e){let t=e.get(LE);return e.set(LE,null),t&&performance.now()-t.at<mz?t.via:`link`}var _z=-1,vz=()=>_z,yz=e=>{addEventListener(`pageshow`,t=>{t.persisted&&(_z=t.timeStamp,e(t))},!0)},bz=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`)(t.value,n),e(t)))}},xz=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},Sz=()=>{let e=performance.getEntriesByType(`navigation`)[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},Cz=()=>Sz()?.activationStart??0,wz=-1,Tz=new Set,Ez=()=>document.visibilityState!==`hidden`||document.prerendering?1/0:0,Dz=e=>{if(document.visibilityState===`hidden`){if(e.type===`visibilitychange`)for(let e of Tz)e();isFinite(wz)||(wz=e.type===`visibilitychange`?e.timeStamp:0,removeEventListener(`prerenderingchange`,Dz,!0))}},Oz=(e=!1)=>{if(e&&(wz=1/0),wz<0){let e=Cz();wz=(document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).find(t=>t.name===`hidden`&&t.startTime>=e)?.startTime)??Ez(),addEventListener(`visibilitychange`,Dz,!0),addEventListener(`prerenderingchange`,Dz,!0),yz(()=>{setTimeout(()=>{wz=Ez()})})}return{get firstHiddenTime(){return wz},onHidden(e){Tz.add(e)}}},kz=(e,t=-1,n,r=0,i,a,o)=>{let s=Sz(),c=s?.navigationId||0,l=`navigate`;return n?l=n:vz()>=0?l=`back-forward-cache`:s&&(document.prerendering||Cz()>0?l=`prerender`:document.wasDiscarded?l=`restore`:s.type&&(l=s.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+0xe8d4a51000}`,navigationType:l,navigationId:r||c,navigationInteractionId:i,navigationURL:a||s?.name,navigationStartTime:o||0}},Az=new WeakMap;function jz(e,t){let n=Az.get(t);return n||(n=new WeakMap,Az.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var Mz=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;let t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},Nz=(e,t,n={})=>{try{let r=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(r.length>0){let e=new PerformanceObserver(e=>{queueMicrotask(()=>{let n=e.getEntries();r.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(let t of r)e.observe({type:t,buffered:!0,...n});return e}}catch{}},Pz=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes(`soft-navigation`)&&typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint==`function`&&e&&e.reportSoftNavs,Fz=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){let t=e.keys().next().value;t!==void 0&&e.delete(t)}},Iz=e=>{let t=!1;return()=>{t||=(e(),!0)}},Lz=class{l},Rz=e=>{document.prerendering?addEventListener(`prerenderingchange`,e,!0):e()},zz=[1800,3e3],Bz=(e,t={})=>{let n=Pz(t);Rz(()=>{let r=jz(t,Lz),i=Oz(),a,o=kz(`FCP`),s=Nz([`paint`],e=>{for(let t of e)t.name===`first-contentful-paint`&&(s.disconnect(),t.startTime<i.firstHiddenTime&&(o.value=Math.max(t.startTime-Cz(),0),o.entries.push(t),o.navigationId=t.navigationId||o.navigationId,a(!0)))});s&&(a=bz(e,o,zz,t.reportAllChanges),yz(n=>{o=kz(`FCP`,-1,`back-forward-cache`,o.navigationId,o.navigationInteractionId,o.navigationURL,vz()),a=bz(e,o,zz,t.reportAllChanges),xz(()=>{o.value=performance.now()-n.timeStamp,a(!0)})})),n&&Nz([`soft-navigation`],n=>{n.forEach(n=>{r.l&&n.navigationId&&Fz(r.l,n),o=kz(`FCP`,Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0),`soft-navigation`,n.navigationId,n.interactionId,n.name,n.startTime),a=bz(e,o,zz,t.reportAllChanges),a(!0)})},t)})},Vz=[.1,.25],Hz=(e,t={})=>{let n=Oz();Bz(Iz(()=>{let r,i=kz(`CLS`,0),a=jz(t,Mz),o=(n,o,s,c,l)=>{i=kz(`CLS`,0,n,o,s,c,l),a.i=0,r=bz(e,i,Vz,t.reportAllChanges)},s=(e=!1)=>{a.i>i.value&&(i.value=a.i,i.entries=a.o),r(e)},c=e=>{s(!0),o(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime)},l=e=>{for(let t of e)t.entryType===`soft-navigation`?c(t):a.h(t);s()},u=[`layout-shift`];Pz(t)&&u.push(`soft-navigation`);let d=Nz(u,l);d&&(r=bz(e,i,Vz,t.reportAllChanges),n.onHidden(()=>{l(d.takeRecords()),r(!0)}),yz(()=>{o(`back-forward-cache`,i.navigationId,i.navigationInteractionId,i.navigationURL,vz()),xz(r)}),setTimeout(r))}))},Uz=0,Wz=1/0,Gz=0,Kz=e=>{for(let t of e)t.interactionId&&(Wz=Math.min(Wz,t.interactionId),Gz=Math.max(Gz,t.interactionId),Uz=Gz?(Gz-Wz)/7+1:0)},qz,Jz=()=>qz?Uz:performance.interactionCount??0,Yz=()=>{`interactionCount`in performance||qz||(qz=Nz([`event`],Kz,{durationThreshold:0}))},Xz=class{u=0;v=[];m=new Map;p;T;_(){return Jz()-this.u}M(){this.u=Jz(),this.v.length=0,this.m.clear()}L(e){let t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||n!==-1||e!==`soft-navigation`&&e!==`back-forward-cache`?this.v[n]:{P:8,id:-1,entries:[]}}h(e){if(this.p?.(e),!e.interactionId)return;let t=this.v.at(-1),n=this.m.get(e.interactionId);if(n||this.v.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.m.set(n.id,n),this.v.push(n)),this.v.sort((e,t)=>t.P-e.P),this.v.length>10){let e=this.v.splice(10);for(let t of e)this.m.delete(t.id)}this.T?.(n)}}},Zz=e=>{let t=`requestIdleCallback`in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState===`hidden`)e();else{let i=Iz(e),a=-1,o=()=>{r(a),i()};addEventListener(`visibilitychange`,o,{once:!0,capture:!0}),a=n(()=>{removeEventListener(`visibilitychange`,o,{capture:!0}),i()},{timeout:t})}},Qz=[200,500],$z=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!(`interactionId`in PerformanceEventTiming.prototype))return;let n=Oz();Rz(()=>{Yz();let r,i=kz(`INP`),a=jz(t,Xz),o=(n,o,s,c,l)=>{a.M(),i=kz(`INP`,-1,n,o,s,c,l),r=bz(e,i,Qz,t.reportAllChanges)},s=()=>{let e=a.L(i.navigationType);e&&e.P!==i.value&&(i.value=e.P,i.entries=e.entries,r())},c=e=>{s(),r(!0),o(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime)},l=(e,t=!1)=>{Zz(()=>{for(let t of e)t.entryType===`soft-navigation`?c(t):a.h(t);s(),t&&r(!0)})},u=[`event`,`first-input`];Pz(t)&&u.push(`soft-navigation`);let d=Nz(u,l,{...t,durationThreshold:t.durationThreshold??40});r=bz(e,i,Qz,t.reportAllChanges),d&&(n.onHidden(()=>{l(d.takeRecords(),!0)}),yz(()=>{o(`back-forward-cache`,i.navigationId,i.navigationInteractionId,i.navigationURL,vz())}))})},eB=class{p;l;h(e){this.p?.(e)}},tB=[2500,4e3],nB=(e,t={})=>{let n=!1,r=Pz(t);Rz(()=>{let i,a=Oz(),o=kz(`LCP`),s=jz(t,eB),c=(r,s,c,l,u)=>{o=kz(`LCP`,-1,r,s,c,l,u),i=bz(e,o,tB,t.reportAllChanges),n=!1,r===`soft-navigation`&&(a=Oz(!0))},l=e=>{s.l&&e.navigationId&&Fz(s.l,e),n||i(!0),c(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime);let t=e.getLargestInteractionContentfulPaint?.();t&&u([t])},u=e=>{t.reportAllChanges||r||(e=e.slice(-1));for(let t of e){if(!t)continue;if(t.entryType===`soft-navigation`){l(t);continue}let e=0,n=[],r=t.startTime;if(t.entryType===`largest-contentful-paint`)e=Math.max(t.startTime-Cz(),0),s.h(t),n=[t];else if(t.entryType===`interaction-contentful-paint`){let i=t;if(!o.navigationId||`interactionId`in i&&i.interactionId!=o.navigationInteractionId)continue;r=i.largestContentfulPaint?.renderTime||0,e=Math.max(r-t.startTime,0),i.largestContentfulPaint&&(s.h(i.largestContentfulPaint),n=[i.largestContentfulPaint])}r<a.firstHiddenTime&&(o.value=e,o.entries=n,i())}},d=[`largest-contentful-paint`];r&&d.push(`interaction-contentful-paint`,`soft-navigation`);let f=Nz(d,u);if(f){i=bz(e,o,tB,t.reportAllChanges);let a=[`keydown`,`click`,`visibilitychange`],s=e=>{if(e.isTrusted&&!n){let e=o.id;Zz(()=>{if(!n){if(!r){f.disconnect();for(let e of a)removeEventListener(e,s,{capture:!0})}e===o.id&&(n=!0,i(!0))}})}};for(let e of a)addEventListener(e,s,{capture:!0});yz(r=>{c(`back-forward-cache`,o.navigationId,o.navigationInteractionId,o.navigationURL,vz()),i=bz(e,o,tB,t.reportAllChanges),xz(()=>{o.value=performance.now()-r.timeStamp,n=!0,i(!0)})})}})},rB=[800,1800],iB=e=>{document.prerendering?Rz(()=>iB(e)):document.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>iB(e),!0)},aB=(e,t={})=>{let n=Pz(t),r=kz(`TTFB`),i=bz(e,r,rB,t.reportAllChanges);iB(()=>{let a=Sz();if(a){let o=a.responseStart;r.value=Math.max(o-Cz(),0),r.entries=[a],i(!0),yz(()=>{r=kz(`TTFB`,0,`back-forward-cache`,r.navigationId,r.navigationInteractionId,r.navigationURL,vz()),i=bz(e,r,rB,t.reportAllChanges),i(!0)}),n&&Nz([`soft-navigation`],n=>{n.forEach(n=>{n.navigationId&&(r=kz(`TTFB`,0,`soft-navigation`,n.navigationId,n.interactionId,n.name,n.startTime),r.entries=[n],i=bz(e,r,rB,t.reportAllChanges),i(!0))})},t)}})};function oB(){let e=jE(),t=useRef(e);t.current=e;let n=useRef(!1);useEffect(()=>{if(typeof window>`u`||n.current)return;n.current=!0;let e=SE(),r={},i=!1,a=!1,o=()=>{!i&&a&&r.cls!==void 0&&r.lcp!==void 0&&r.fcp!==void 0&&r.ttfb!==void 0&&(i=!0,t.current.sendPerformanceMetricsMessage([{id:`metrics`,object:`metrics`,uri:e,cls:r.cls,lcp:r.lcp,fcp:r.fcp,ttfb:r.ttfb,...r.inp===void 0?{}:{inp:r.inp}}]),t.current.forceFlush())},s=e=>{(e.type!==`visibilitychange`||document.visibilityState===`hidden`)&&(a=!0,o())};return document.addEventListener(`visibilitychange`,s),window.addEventListener(`pagehide`,s),Hz(e=>{r.cls=e.value,o()}),nB(e=>{r.lcp=e.value,o()}),Bz(e=>{r.fcp=e.value,o()}),aB(e=>{r.ttfb=e.value,o()}),$z(e=>{r.inp=e.value,o()}),()=>{document.removeEventListener(`visibilitychange`,s),window.removeEventListener(`pagehide`,s),a=!0,o()}},[])}var sB=1e3;function cB(){let e=jE(),t=Go(),n=useRef(e);n.current=e,useEffect(()=>{if(typeof document>`u`)return;let e=performance.now(),r=SE(),i,a=t.sub(jh,()=>{let e=t.get(jh);e&&t.set(FE,e)}),o=()=>{let a=t.get(NE),o=performance.now(),s=a.hiddenMs+(a.hiddenSince===void 0?0:o-a.hiddenSince),c=Math.max(0,Math.round(o-e)),l=Math.max(0,Math.round(c-s));i&&l-i.visibleMs<sB&&a.interactions===i.interactions&&a.sections.size===i.sections||(i={visibleMs:l,interactions:a.interactions,sections:a.sections.size},n.current.sendPageTimeMessage([{id:r,object:`page`,uri:r,durationMs:c,visibleMs:l,...a.firstInteractionMs===void 0?{}:{firstInteractionMs:Math.max(0,Math.round(a.firstInteractionMs-e))},sectionsViewed:a.sections.size,sidebarClicks:a.sidebarClicks,schemaExpands:a.schemaExpands,...a.maxSchemaDepth>0?{maxSchemaDepth:a.maxSchemaDepth}:{},searches:a.searches,interactions:a.interactions,hiddenCount:a.hiddenCount,cappedEvents:a.cappedEvents}]),n.current.forceFlush())},s=()=>{let e=document.visibilityState===`hidden`;t.set(IE,e),e&&o()};return document.addEventListener(`visibilitychange`,s),window.addEventListener(`pagehide`,o),()=>{a(),document.removeEventListener(`visibilitychange`,s),window.removeEventListener(`pagehide`,o),o()}},[t])}function lB(e,t){pz(e,t),hz(e),oB(),cB()}pe(),F();function uB({layout:e,collapsedSidebar:t,children:n,...r}){return jsx(dB,{"data-component-name":`Layout/ThreePanelLayout`,...r,$layout:e,$collapsedSidebar:t,children:n})}var dB=styled.div.attrs({"data-component-name":`Layout/ThreePanelLayout`})`
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 100%;

  ${({$layout:e=fe.THREE_PANEL})=>css`
      max-width: ${e===fe.THREE_PANEL?`100%`:``};

      @media screen and (min-width: ${k.small}) {
        max-width: var(--layout-${e}-small-max-width);
      }

      @media screen and (min-width: ${k.medium}) {
        max-width: var(--layout-${e}-medium-max-width);
      }

      @media screen and (min-width: ${k.large}) {
        max-width: var(--layout-${e}-large-max-width);
      }

      @media print {
        width: 100%;
        padding: 0;
      }
    `};
`,fB=typeof window<`u`&&typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`overflow-anchor`,`auto`);function pB({ref:e,mounted:t,placeholderHeight:n}){let r=useRef(t);useLayoutEffect(()=>{if(fB)return;if(!t){r.current=!1;return}if(r.current)return;r.current=!0;let i=e.current;if(!i)return;let a=i.getBoundingClientRect();if(a.top>=0)return;let o=a.height-n;o!==0&&window.scrollBy(0,o)},[t,e,n])}eu();var mB=new Set;function hB(e){mB.add(e)}var gB=`0px 0px 200px 0px`,_B=100;function vB({sectionId:e,eager:t=!1,children:n}){let[r,i]=useState(()=>t||mB.has(e));t&&!r&&i(!0);let a=useRef(null),o=useRef(null);return pB({ref:o,mounted:r,placeholderHeight:_B}),useEffect(()=>{r&&mB.add(e)},[r,e]),useEffect(()=>{if(r)return;let e=a.current;if(!e||typeof IntersectionObserver>`u`)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(startTransition(()=>i(!0)),t.disconnect())},{rootMargin:gB});return t.observe(e),()=>t.disconnect()},[r,e]),r?jsx(SB,{ref:o,children:n}):jsx(xB,{ref:a,[Xl]:e})}var yB=memo(vB,(e,t)=>e.sectionId===t.sectionId&&e.eager===t.eager&&bB(e.children)===bB(t.children));function bB(e){return isValidElement(e)?e.props.content:e}var xB=styled$1.div`
  min-height: var(--lazy-section-min-height, ${_B}px);
  contain-intrinsic-size: var(--lazy-section-min-height, ${_B}px);
  content-visibility: auto;
`,SB=styled$1.div`
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: auto var(--lazy-section-min-height, ${_B}px);
`;F();var CB=styled(e=>jsx(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M7 13L7.705 12.295L3.915 8.5H14V7.5H3.915L7.705 3.705L7 3L2 8L7 13Z`})})).attrs({"data-component-name":`icons/ArrowLeftIcon/ArrowLeftIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),qf(),F();function wB({routingBasePath:e}){let t=useLocation(),n=xe(yc(e||`/`)),r=db();return jsxs(TB,{className:`not-found-page`,children:[jsx(EB,{children:`404`}),jsx(DB,{children:r(`page.apiNotFound.title`,`No page at this address`)}),jsxs(OB,{children:[r(`page.apiNotFound.description`,`There's no page at`),` `,jsx(AB,{children:t.pathname}),`.`,jsx(`br`,{}),r(`page.apiNotFound.hint`,`It may have been moved or deleted.`)]}),jsx(kB,{children:jsx(ta,{variant:`primary`,size:`medium`,to:n,icon:jsx(CB,{}),children:r(`page.apiNotFound.backButton`,`Back to docs`)})})]})}var TB=styled$1.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(100vh - var(--navbar-height, 0px) - var(--banner-height, 0px));
  min-height: calc(100dvh - var(--navbar-height, 0px) - var(--banner-height, 0px));
  max-width: var(--page-404-max-width);
  margin: 0 var(--page-404-margin-horizontal);
  padding: var(--page-404-margin-vertical) 0;
  font-family: var(--page-404-font-family);

  @media screen and (max-width: ${k.small}) {
    margin: 0 var(--spacing-lg);
  }
`,EB=styled$1.div`
  color: var(--page-404-status-text-color);
  font-family: var(--font-family-monospaced);
  font-size: var(--page-404-status-font-size);
  line-height: var(--page-404-status-line-height);
  font-weight: var(--page-404-status-font-weight);
`,DB=styled$1.h1`
  margin: var(--spacing-xs) 0 0;
  color: var(--page-404-title-text-color);
  font-size: 32px;
  line-height: 40px;
  font-weight: var(--page-404-title-font-weight);
`,OB=styled$1.p`
  margin: var(--spacing-lg) 0 0;
  color: var(--page-404-description-text-color);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-weight: var(--page-404-description-font-weight);
`,kB=styled$1.div`
  margin-top: var(--spacing-xl);
`,AB=styled$1.code`
  font-family: var(--font-family-monospaced);
  font-weight: var(--font-weight-bold);
  overflow-wrap: anywhere;
`;function jB(...e){return Component=>e.reduceRight((e,t)=>t(e),Component)}function MB(e){function t(t){return useContext(bc)===t.itemPath?jsx(e,{...t}):jsx(bc.Provider,{value:t.itemPath,children:jsx(e,{...t})})}return t.displayName=`WithItemId(${NB(e)})`,t}function NB(e){return e.displayName||e.name||`Component`}function PB({content:e,itemPath:t}){let{children:n}=e||{};return jsx(IB,{children:n?.map((e,n)=>jsx(Fragment,{children:jsx(E1,{type:e.nodeType,node:e},`${t}-${e.nodeType}`)},`${t}-${e.nodeType}`))})}var FB=jB(MB,memo)(PB),IB=styled$1.div`
  padding: var(--spacing-xs) 0 var(--spacing-xxl) 0;
  border-bottom: 1px solid var(--border-color-secondary);

  [data-testid='middle-panel'] > :first-child {
    padding-top: calc(var(--spacing-unit) * 7);
  }
  [data-component-name='Markdown/Markdown'] :is(h1, h2, h3, h4, h5, h6) {
    padding-top: var(--spacing-xs);
  }
`;Ns(),eu();function LB({content:e,itemPath:t,sectionId:n}){let{children:r}=e||{},i=I(ps),a=n?{[Xl]:n}:{},o=t?js(t,i):void 0;return jsxs(BB,{id:o,...a,"data-item-kind":e.itemVariant,"data-has-divider":e.showDivider||void 0,children:[r?.map((e,n)=>jsx(Fragment,{children:jsx(E1,{type:e.nodeType,node:e,itemPath:t})},`${t}-${e.nodeType}-${n}`)),e.showDivider&&jsx(bP,{children:jsx(zB,{})})]})}var RB=jB(MB,memo)(LB),zB=styled$1.div`
  border-bottom: 1px solid var(--border-color-secondary);
`,BB=styled$1.div`
  padding-top: calc(var(--spacing-unit) * 16);
  padding-bottom: var(--spacing-base);
  border-bottom: 1px solid var(--border-color-secondary);
  width: 100%;

  &[data-item-kind^='channel'] {
    padding-top: calc(var(--spacing-unit) * 16);
    padding-bottom: 0;

  }

  &[data-item-kind='channel'],
  &[data-has-divider] {
    border-bottom: none;
  }

  &[data-item-kind='channelOperation']:not([data-has-divider]) {
    border-bottom: 1px solid var(--border-color-secondary);
  }
`;qf();var VB=10,HB=40;function UB(e,t,n,r){if(!e.length||t<=0)return VB;let i=Math.max(0,t-(n?HB:0));r.textContent=`/`;let a=r.scrollWidth,o=(e.length-1)*a,s=Math.max(...e.map(e=>e.name.length),VB),c=VB,l=s,u=VB;for(;c<=l;){let t=Math.floor((c+l)/2);e.reduce((e,n)=>(r.textContent=at(n.name,t),e+r.scrollWidth),0)+o<=i?(u=t,c=t+1):l=t-1}return u}qf();var WB=25,GB=3,KB=16;function qB({breadcrumb:e,onClick:t,maxLength:n}){let r=e.name.length>n,i=at(e.name,n);return jsx(zg,{tip:e.name,placement:`bottom`,disabled:!r,children:jsx($B,{onClick:()=>t(e.href),children:i})})}function JB({breadcrumbs:e,onClick:t,maxLength:n}){let r=e[0],i=e[e.length-1],a=e.slice(1,-1);return jsxs(Fragment$1,{children:[jsx(qB,{breadcrumb:r,onClick:t,maxLength:n}),jsx(eV,{children:`/`}),jsx(Xg,{trigger:jsx(tV,{children:`...`}),closeOnClick:!0,alignment:`end`,children:jsx(t_,{children:a.map(e=>jsx($g,{onAction:()=>t(e.href),children:e.name},e.href))})}),jsx(eV,{children:`/`}),jsx(qB,{breadcrumb:i,onClick:t,maxLength:n})]})}function YB({breadcrumbs:e,onClick:t,maxLength:n}){return jsx(Fragment$1,{children:e.map((r,i)=>jsxs(Fragment,{children:[jsx(qB,{breadcrumb:r,onClick:t,maxLength:n}),i!==e.length-1&&jsx(eV,{children:`/`})]},r.href))})}function XB({breadcrumbs:e,onClick:t}){let n=useRef(null),r=useRef(null),[i,a]=useState(WB),o=e.length>GB,s=useMemo(()=>o?[e[0],e[e.length-1]]:e,[e,o]),c=useCallback(()=>{let e=n.current,t=e?.parentElement;if(!e||!t||!r.current)return;let i=getComputedStyle(t),c=parseFloat(i.paddingLeft||`0`)+parseFloat(i.paddingRight||`0`),l=t.clientWidth-c,u=t.parentElement?.querySelector(`[data-component-name="PageActions/PageActions"]`);if(u){let t=u.getBoundingClientRect().left-e.getBoundingClientRect().left-KB;t>0&&(l=Math.min(l,t))}let d=UB(s,l,o,r.current);a(d)},[s,o]);return useLayoutEffect(()=>{c();let e=new ResizeObserver(c),t=n.current?.parentElement;return t&&e.observe(t),()=>{e.disconnect()}},[c]),e.length?jsxs(Fragment$1,{children:[jsx(ZB,{ref:r,"aria-hidden":`true`}),jsx(QB,{ref:n,"data-component-name":`Breadcrumbs`,children:jsx(o?JB:YB,{breadcrumbs:e,onClick:t,maxLength:i})})]}):null}var ZB=styled$1.span`
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  font-size: var(--font-size-sm);
`,QB=styled$1.nav`
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--spacing-xxs);
  max-width: 100%;
  /* No overflow: hidden here — it would clip the collapsed "..." dropdown menu,
     which the theme Dropdown renders inline (absolute, not portaled). Truncation
     is handled per-crumb via trimText + the button's text-overflow: ellipsis. */
`,$B=styled$1.button`
  background: none;
  border: none;
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-color-secondary);
  border-radius: var(--breadcrumbs-border-radius);
  cursor: pointer;
  padding: 1px calc(var(--spacing-xxs) / 2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;

  &:hover {
    color: var(--text-color-primary);
    text-decoration: underline;
  }
`,eV=styled$1.span`
  line-height: var(--line-height-sm);
  padding: 0 calc(var(--spacing-xxs) / 2);
  color: var(--text-color-secondary);
  font-size: var(--font-size-sm);
`,tV=styled$1($B)`
  text-align: center;
  overflow: visible;
`;Ds(),Ns();function nV(e,t){let n=xs(ks(t)),r=ks(e);return[r,xs(r)].some(e=>n===e||n.endsWith(e)||n.includes(e+`/`))}function rV(e){let t=useLocation();return useMemo(()=>nV(e,t.pathname),[e,t.pathname])}pe(),na(),qf(),Ns(),eu(),B();function iV(e,t){let n=t.split(`/`).filter(Boolean),r=e.length,i=n.slice(0,n.length-r);return e.map((e,t)=>({label:e.label,link:`/`+[...i,...n.slice(i.length,i.length+t)].join(`/`)}))}function aV(e){for(let t of e?.children??[]){let e=t?.panels;if(Array.isArray(e)&&e.some(e=>e?.children?.some(e=>e?.kind===z.GROUP_ITEMS)))return!0}return!1}function oV({content:e,itemPath:t,sectionId:n}){let{meta:r,children:i}=e||{},a=fb(),o=useNavigate(),s=rV(t),c=yc(t),l=vc(),u=I(Ch)===fe.STACKED,d=useMemo(()=>aV(e),[e]),f=useMemo(()=>r?.breadcrumbs?iV(r.breadcrumbs,t).map(e=>({name:e.label,href:l(e.link)})):void 0,[r?.breadcrumbs,t,l]),p=a(`actions.show`,`Show`),m=I(ps),h=n?{[Xl]:n}:{},g=t?js(t,m):void 0;return jsxs(cV,{id:g,...h,$isExpanded:s,$isExpandable:d,children:[f&&f.length>0&&jsx(uV,{$isStacked:u,children:jsx(XB,{breadcrumbs:f,onClick:o})}),i.map((e,n)=>jsx(E1,{type:e.nodeType,node:e,itemPath:t},`${t}-${e.nodeType}-${n}`)),!s&&d&&jsxs(lV,{type:`button`,variant:`text`,size:`medium`,onClick:()=>o(c,{state:{expandInPlace:!0}}),children:[`+ `,p]})]})}var sV=jB(MB,memo)(oV),cV=styled$1.div`
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: calc(var(--spacing-unit) * 16);
  padding-bottom: ${({$isExpanded:e,$isExpandable:t})=>e||!t?`var(--spacing-lg)`:`0`};

  blockquote {
    margin-top: var(--spacing-sm);
  }

  [data-testid="external-documentation"] {
    margin: var(--spacing-xxs) 0 0;
  }

  ${({$isExpanded:e,$isExpandable:t})=>(!e||!t)&&`
    border-bottom: 1px solid var(--border-color-secondary);
  `}

  /* Collapsed operation-groups get the grey layer background; leaf/expanded stay white. */
  ${({$isExpanded:e,$isExpandable:t})=>!e&&t&&`
    background-color: var(--layer-color);
    --code-block-bg-color: var(--bg-color);
    --code-block-controls-bg-color: var(--bg-color);
  `}
`,lV=styled$1(ta)`
  margin: var(--spacing-md) var(--spacing-xl) var(--spacing-xxs);
  width: calc(100% - var(--spacing-xl) * 2);

  @media screen and (min-width: ${k.medium}) {
    --button-margin-md: calc(var(--spacing-xl) * 2);

    margin-left: var(--button-margin-md);
    margin-right: var(--button-margin-md);
    width: calc(100% - var(--button-margin-md) * 2);
  }
`,uV=styled$1.div`
  width: 100%;
  min-width: 0;
  padding: var(--spacing-sm) var(--panel-gap-horizontal) 0;

  @media screen and (min-width: ${k.large}) {
    width: ${({$isStacked:e})=>e?`100%`:`calc(100% - var(--panel-samples-width))`};
    padding-left: calc(var(--panel-gap-horizontal) * 2);
    padding-right: var(--panel-gap-horizontal);
  }
`;F();var dV=styled.h1.attrs(({className:e})=>({"data-component-name":`Typography/H1`,className:e}))`
  color: var(--h1-text-color);
  margin: var(--h1-margin-top) 0 var(--h1-margin-bottom);

  ${ne(`h1`)};
`;F();var fV=styled.h2.attrs(({className:e})=>({"data-component-name":`Typography/H2`,className:e}))`
  color: var(--h2-text-color);
  margin: var(--h2-margin-top) 0 var(--h2-margin-bottom);

  ${ne(`h2`)};
`;F();var pV=styled.h3.attrs(({className:e})=>({"data-component-name":`Typography/H3`,className:e}))`
  color: var(--h3-text-color);
  margin: var(--h3-margin-top) 0 var(--h3-margin-bottom);

  ${ne(`h3`)};
`;function mV({className:e}){return jsx(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 32 32`,children:jsx(`path`,{d:`M23,20l-1.4141,1.4141L24.1719,24H6V4H4V24a2.0023,2.0023,0,0,0,2,2H24.1719l-2.586,2.5859L23,30l5-5Z`})})}var hV=styled$1(mV)`
  flex: none;
  fill: var(--icon-color-primary, currentColor);
`,gV=styled$1.div`
  margin-top: calc(var(--spacing-unit, 4px) / 2);
  margin-bottom: var(--spacing-base);
  color: var(--text-color-primary);
  overflow-wrap: break-word;

  p {
    margin: 0;
  }
`,_V=styled$1(gV)`
  margin-bottom: 0;
  color: var(--text-color-secondary);
`,vV=styled$1.div`
  padding: var(--spacing-base) 0;

  ${({$showBorder:e})=>e?css`
          border-bottom: 1px solid var(--border-color-primary);
        `:css`
          padding-bottom: 0;
        `}

  &:first-of-type {
    padding-top: var(--spacing-sm);
  }
`,yV=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  color: var(--schemas-property-name-text-color, var(--text-color-primary));
  font-size: var(--schemas-property-name-font-size, var(--font-size-base));
  font-family: var(--schemas-property-name-font-family, var(--font-family-monospaced));
  line-height: var(--line-height-base);

  svg {
    visibility: hidden;
  }

  &:hover svg {
    visibility: visible;
  }

  & > * + * {
    margin-right: var(--spacing-xxs);
  }
`,bV=styled$1.span`
  position: relative;
  color: var(--schemas-property-name-text-color, var(--text-color-primary));
  font-size: var(--schemas-property-name-font-size, var(--font-size-base));
  font-family: var(
    --schemas-property-name-font-family,
    var(--font-family-monospaced)
  );
  font-weight: var(--font-weight-bold);
  overflow-wrap: anywhere;
  ${({$isDeprecated:e})=>e&&`text-decoration: line-through;`}
`,xV=styled$1.div`
  border-bottom: 1px solid var(--border-color-primary);
  padding: var(--spacing-sm) 0;
`,SV=styled$1.div`
  display: flex;
  flex-direction: column;
  ${({$contrast:e})=>e&&css`
      border-radius: var(--panel-border-radius, var(--border-radius));
      background-color: var(--schema-nested-background-color, transparent);
    `};
`,CV=styled$1.span`
  border: 1px solid
    var(--schema-inline-border-color, var(--border-color-primary));
  border-radius: var(--border-radius);
  padding: 2px 4px;
  background-color: var(--schema-inline-background-color, transparent);
  color: var(--schema-inline-code-text-color, var(--text-color-primary));
  font-family: var(--font-family-monospaced);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  ${({$required:e})=>e&&css`
      &:after {
        content: '*';
        vertical-align: text-bottom;
        color: var(--schema-property-required-label-text-color, var(--color-error-base, #d32f2f));
      }
    `}
`,wV=styled$1.div`
  display: flex;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-md, var(--line-height-base));
  color: var(--text-color-secondary);
`,TV=styled$1.span`
  display: inline-block;
  color: var(--text-color-secondary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin-right: var(--spacing-xxs, 4px);
`,EV=styled$1.span`
  font-size: ${({$size:e=`base`})=>`var(--font-size-${e})`};
  line-height: ${({$size:e=`base`})=>`var(--line-height-${e})`};
  white-space: normal;
  color: var(--text-color-description, var(--text-color-secondary));
  font-weight: var(--font-weight-bold);
  word-break: normal;
  overflow-wrap: anywhere;
  display: inline-block;
`,DV=styled$1.div`
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-unit, 4px);
  margin-bottom: var(--spacing-base);
`,OV=styled$1.span`
  font-weight: var(--font-weight-regular);
  font-size: var(--schema-property-labels-font-size, var(--font-size-sm));
  line-height: var(--line-height-base);
  margin-right: var(--spacing-xxs, 4px);
  color: ${({$type:e})=>e===`error`?`var(--schema-property-required-label-text-color, var(--color-error-base, #d32f2f))`:`var(--color-${e}-text)`};
`;function kV({typeRef:e,inline:t=!1,size:n=`base`,deprecated:r=!1,required:i=!1,className:a}){let o=I(eP),s=vc(),c=fb(),l=e.display.endsWith(`!`),u=o[e.name];return jsxs(jV,{className:a,"data-testid":`return-type`,$inline:t,$size:n,children:[u?jsx(MV,{to:s(u),children:e.display}):jsx(`span`,{children:e.display}),l&&jsxs(Fragment$1,{children:[jsx(NV,{children:`,`}),jsx(TV,{children:c(`nonNull`,`non-null`)})]}),r&&jsx(OV,{"data-testid":`deprecated`,$type:`warning`,children:c(`badges.deprecated`,`deprecated`)}),i&&jsx(OV,{"data-testid":`required-arg`,$type:`error`,children:c(`required`,`required`)})]})}var AV=memo(kV),jV=styled$1.div`
  display: ${({$inline:e})=>e?`inline-block`:`block`};
  min-width: 0;
  font-size: ${({$size:e})=>`var(--font-size-${e})`};
  line-height: ${({$size:e})=>`var(--line-height-${e})`};
  font-family: var(--font-family-base);
  overflow-wrap: anywhere;
`,MV=styled$1(Link)`
  color: var(--link-color-primary, var(--text-color-secondary));
  text-decoration: none;
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
`,NV=styled$1.span`
  margin-right: var(--spacing-xxs, 4px);
`;function PV({returnType:e,operationName:t,operationType:n}){let r=I($N(QN(n,t)));return e?jsx(Fragment$1,{children:r&&jsxs(DV,{"data-gql-return-type-details":!0,children:[jsx(hV,{}),jsx(AV,{typeRef:r.type,size:`lg`})]})}):null}var FV=memo(PV);_c();var IV=memo(function({routingBasePath:e,relativePath:t,itemId:n,label:r}){let i=vc(),a=I(np({itemId:n,key:`activeResponseCode`})),o=useMemo(()=>{let n=a?Ys(`responses`,void 0,a):`responses`;return i(Gs(e,t,n))},[e,t,a,i]);return jsx(vb,{to:o,label:r})}),LV=memo(function({codes:e,itemId:t,firstCode:n}){let r=I(np({itemId:t,key:`activeResponseCode`})),i=Qo(tp(t)),a=jE(),o=r||n,s=e.includes(o)?o:e[0],c=t=>{a.sendResponseCodeTabClickedMessage([{...VE.responseCodeTab,statusClass:$E(t),total:e.length}]),i({activeResponseCode:t})},l=(t,n)=>{let r=e.length-1,i={ArrowRight:n===r?0:n+1,ArrowLeft:n===0?r:n-1,Home:0,End:r}[t.key];i!==void 0&&(t.preventDefault(),c(e[i]),(t.currentTarget.parentElement?.children[i])?.focus())};return jsx(rP,{role:`tablist`,"aria-label":`Response status`,"data-response-codes-tablist":!0,children:e.map((e,t)=>jsx(iP,{type:`button`,role:`tab`,"aria-selected":e===o,tabIndex:e===s?0:-1,$active:e===o,$code:e,onClick:()=>c(e),onKeyDown:e=>l(e,t),children:e},e))})}),RV=Symbol(`NOT_RESOLVED`)
/*! js-yaml 5.4.1 https://github.com/nodeca/js-yaml @license MIT */
;function zV(e,t){return{tagName:e,nodeKind:`scalar`,implicit:t.implicit??!1,matchByTagPrefix:t.matchByTagPrefix??!1,implicitFirstChars:t.implicitFirstChars??null,resolve:t.resolve,identify:t.identify,represent:t.represent??(e=>String(e)),representTagName:t.representTagName??(()=>e)}}function BV(e,t){let n=t.finalize===void 0;return{tagName:e,nodeKind:`sequence`,implicit:!1,matchByTagPrefix:t.matchByTagPrefix??!1,create:t.create,addItem:t.addItem,finalize:t.finalize??(e=>e),carrierIsResult:n,identify:t.identify,represent:t.represent??(e=>e),representTagName:t.representTagName??(()=>e)}}function VV(e,t){let n=t.finalize===void 0;return{tagName:e,nodeKind:`mapping`,implicit:!1,matchByTagPrefix:t.matchByTagPrefix??!1,create:t.create,addPair:t.addPair,has:t.has,keys:t.keys,get:t.get,finalize:t.finalize??(e=>e),carrierIsResult:n,identify:t.identify,represent:t.represent??(e=>e),representTagName:t.representTagName??(()=>e)}}var HV=zV(`tag:yaml.org,2002:str`,{resolve:e=>e,identify:e=>typeof e==`string`}),UV=[``,`~`,`null`,`Null`,`NULL`],WV=zV(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>UV.indexOf(e)===-1?RV:null,identify:e=>e===null,represent:()=>`null`}),GV=zV(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[`n`],resolve:(e,t)=>e===`null`||t&&e===``?null:RV,identify:e=>e===null,represent:()=>`null`}),KV=[``,`~`,`null`,`Null`,`NULL`],qV=zV(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>KV.indexOf(e)===-1?RV:null,identify:e=>e===null,represent:()=>`null`}),JV=[`true`,`True`,`TRUE`],YV=[`false`,`False`,`FALSE`],XV=zV(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`T`,`f`,`F`],resolve:e=>JV.indexOf(e)!==-1||YV.indexOf(e)===-1&&RV,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),ZV=[`true`],QV=[`false`],$V=zV(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`f`],resolve:e=>ZV.indexOf(e)!==-1||QV.indexOf(e)===-1&&RV,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),eH=[`true`,`True`,`TRUE`,`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`],tH=[`false`,`False`,`FALSE`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],nH=zV(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`y`,`Y`,`n`,`N`,`t`,`T`,`f`,`F`,`o`,`O`],resolve:e=>eH.indexOf(e)!==-1||tH.indexOf(e)===-1&&RV,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),rH=RegExp(`^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$`),iH=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function aH(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function oH(e,t){if(t){if(!iH.test(e))return RV}else if(!rH.test(e))return RV;let n=aH(e);return Number.isFinite(n)?n:RV}var sH=zV(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:oH,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),cH=RegExp(`^-?(?:0|[1-9][0-9]*)$`),lH=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function uH(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function dH(e,t){if(t){if(!lH.test(e))return RV}else if(!cH.test(e))return RV;let n=uH(e);return Number.isFinite(n)?n:RV}var fH=zV(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:dH,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),pH=RegExp(`^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$`);function mH(e){let t=e.replace(/_/g,``),n=1;if((t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`))return n*parseInt(t.slice(2),2);if(t.startsWith(`0x`))return n*parseInt(t.slice(2),16);if(t.includes(`:`)){let e=0;for(let n of t.split(`:`))e=e*60+Number(n);return n*e}return t!==`0`&&t[0]===`0`?n*parseInt(t,8):n*parseInt(t,10)}function hH(e){if(!pH.test(e))return RV;let t=mH(e);return Number.isFinite(t)?t:RV}var gH=zV(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:hH,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),_H=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),vH=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function yH(e){if(!_H.test(e))return RV;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)||vH.test(e)?r:RV}function bH(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var xH=zV(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:yH,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:bH}),SH=RegExp(`^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$`),CH=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function wH(e,t){if(t){if(!CH.test(e))return RV;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)?r:RV}if(!SH.test(e))return RV;let n=Number(e);return Number.isFinite(n)?n:RV}function TH(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var EH=zV(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:wH,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:TH}),DH=RegExp(`^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),OH=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function kH(e){if(!DH.test(e))return RV;let t=e.toLowerCase().replace(/_/g,``),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=0;if(t.includes(`:`)){for(let e of t.split(`:`))r=r*60+Number(e);r*=n}else r=n*parseFloat(t);return Number.isFinite(r)||OH.test(e)?r:RV}function AH(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var jH=zV(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:kH,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:AH}),MH=zV(`tag:yaml.org,2002:merge`,{implicit:!0,implicitFirstChars:[`<`],resolve:(e,t)=>e===`<<`||t&&e===``?`<<`:RV,identify:()=>!1}),NH=/^[A-Za-z0-9+/]*={0,2}$/;function PH(e){let t=e.replace(/\s/g,``);if(t.length%4!=0||!NH.test(t))return RV;let n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r}function FH(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var IH=zV(`tag:yaml.org,2002:binary`,{resolve:PH,identify:e=>Object.prototype.toString.call(e)===`[object Uint8Array]`,represent:FH}),LH=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),RH=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function zH(e,t,n,r=0,i=0,a=0,o=0){let s=new Date(Date.UTC(e,t,n,r,i,a,o));return s.setUTCFullYear(e,t,n),s}function BH(e){let t=LH.exec(e);if(t===null&&(t=RH.exec(e)),t===null)return RV;let n=+t[1],r=t[2]-1,i=+t[3];if(!t[4]){let e=zH(n,r,i);return e.getUTCFullYear()!==n||e.getUTCMonth()!==r||e.getUTCDate()!==i?RV:e}let a=+t[4],o=+t[5],s=+t[6],c=0;if(a>23||o>59||s>59)return RV;if(t[7]){let e=t[7].slice(0,3);for(;e.length<3;)e+=`0`;c=+e}let l=zH(n,r,i,a,o,s,c);if(l.getUTCFullYear()!==n||l.getUTCMonth()!==r||l.getUTCDate()!==i)return RV;if(t[9]){let e=+t[10],n=+(t[11]||0);if(e>23||n>59)return RV;let r=(e*60+n)*6e4;l.setTime(l.getTime()-(t[9]===`-`?-r:r))}return l}var VH=zV(`tag:yaml.org,2002:timestamp`,{implicit:!0,implicitFirstChars:[...`0123456789`],resolve:BH,identify:e=>e instanceof Date,represent:e=>e.toISOString()}),HH=BV(`tag:yaml.org,2002:seq`,{create:()=>[],addItem:(e,t)=>{e.push(t)},identify:Array.isArray});function UH(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function WH(e,t){let n={};for(let r of t)e[r]!==void 0&&(n[r]=e[r]);return n}var GH=BV(`tag:yaml.org,2002:omap`,{create:()=>({list:[],seen:new Set}),addItem:(e,t)=>{let n;if(t instanceof Map){if(t.size!==1)return`cannot resolve an ordered map item`;n=t.keys().next().value}else if(UH(t)){let e=Object.keys(t);if(e.length!==1)return`cannot resolve an ordered map item`;n=e[0]}else return`cannot resolve an ordered map item`;return e.seen.has(n)?`duplicate key in ordered map`:(e.seen.add(n),e.list.push(t),``)},finalize:e=>e.list,identify:()=>!1}),KH=BV(`tag:yaml.org,2002:pairs`,{create:()=>[],addItem:(e,t)=>{if(t instanceof Map)return t.size===1?(e.push(t.entries().next().value),``):`cannot resolve a pairs item`;if(Object.prototype.toString.call(t)!==`[object Object]`)return`cannot resolve a pairs item`;let n=t,r=Object.keys(n);return r.length===1?(e.push([r[0],n[r[0]]]),``):`cannot resolve a pairs item`},identify:()=>!1}),qH=VV(`tag:yaml.org,2002:map`,{create:()=>({}),identify:UH,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{if(typeof t==`object`&&t)return`object-based map does not support complex keys`;let r=String(t);return r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``},has:(e,t)=>typeof t==`object`&&t?!1:Object.prototype.hasOwnProperty.call(e,String(t)),keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}}),JH=VV(`tag:yaml.org,2002:set`,{create:()=>new Set,identify:e=>e instanceof Set,represent:e=>{let t=new Map;for(let n of e)t.set(n,null);return t},addPair:(e,t,n)=>n===null?(e.add(t),``):`cannot resolve a set item`,has:(e,t)=>e.has(t),keys:e=>e.keys(),get:()=>null});function YH(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}function XH(){return{scalar:[],sequence:[],mapping:[]}}function ZH(e){let t=[];for(let n of e){let e=t.length;for(let r=0;r<t.length;r++){let i=t[r];if(i.nodeKind===n.nodeKind&&i.tagName===n.tagName&&i.matchByTagPrefix===n.matchByTagPrefix){e=r;break}}t[e]=n}return t}var QH=class e{tags;implicitScalarTags;implicitScalarByFirstChar;implicitScalarAnyFirstChar;defaultScalarTag;defaultSequenceTag;defaultMappingTag;exact;prefix;constructor(e){let t=ZH(e),n=[],r=YH(),i=XH();for(let e of t){if(e.nodeKind===`scalar`&&e.implicit){if(e.matchByTagPrefix)throw Error(`Implicit scalar tags cannot match by tag prefix`);n.push(e)}switch(e.nodeKind){case`scalar`:e.matchByTagPrefix?i.scalar.push(e):r.scalar[e.tagName]=e;break;case`sequence`:e.matchByTagPrefix?i.sequence.push(e):r.sequence[e.tagName]=e;break;case`mapping`:e.matchByTagPrefix?i.mapping.push(e):r.mapping[e.tagName]=e}}let a=n.filter(e=>e.implicitFirstChars===null),o=new Set;for(let e of n)if(e.implicitFirstChars!==null)for(let t of e.implicitFirstChars)o.add(t);let s=new Map;for(let e of o)s.set(e,n.filter(t=>t.implicitFirstChars===null||t.implicitFirstChars.indexOf(e)!==-1));let c=r.scalar[`tag:yaml.org,2002:str`];if(!c)throw Error(`schema does not define the default scalar tag (tag:yaml.org,2002:str)`);this.tags=t,this.implicitScalarTags=n,this.implicitScalarByFirstChar=s,this.implicitScalarAnyFirstChar=a,this.defaultScalarTag=c,this.defaultSequenceTag=r.sequence[`tag:yaml.org,2002:seq`],this.defaultMappingTag=r.mapping[`tag:yaml.org,2002:map`],this.exact=r,this.prefix=i}lookupScalarTag(e){let t=this.exact.scalar[e];if(t)return t;for(let t of this.prefix.scalar)if(e.startsWith(t.tagName))return t}lookupSequenceTag(e){let t=this.exact.sequence[e];if(t)return t;for(let t of this.prefix.sequence)if(e.startsWith(t.tagName))return t}lookupMappingTag(e){let t=this.exact.mapping[e];if(t)return t;for(let t of this.prefix.mapping)if(e.startsWith(t.tagName))return t}resolveImplicitScalarTag(e){let t=this.implicitScalarByFirstChar.get(e.charAt(0))??this.implicitScalarAnyFirstChar;for(let n of t){let t=n.resolve(e,!1,n.tagName);if(t!==RV)return{value:t,tag:n}}let n=this.defaultScalarTag;return{value:n.resolve(e,!1,n.tagName),tag:n}}withTags(...t){let n=[];for(let e of t)n=n.concat(e);return new e([...this.tags,...n])}},$H=new QH([HV,HH,qH]);new QH([...$H.tags,GV,$V,fH,EH]);var eU=new QH([...$H.tags,WV,XV,sH,xH]),tU=new QH([...$H.tags,qV,nH,gH,jH,VH,MH,IH,GH,KH,JH]).withTags({...gH,resolve:(e,t,n)=>{let r=gH.resolve(e,t,n);return r===RV?sH.resolve(e,t,n):r}},{...jH,resolve:(e,t,n)=>{let r=jH.resolve(e,t,n);return r===RV?xH.resolve(e,t,n):r}});VV(`tag:yaml.org,2002:map`,{create:()=>new Map,addPair:(e,t,n)=>(e.set(t,n),``),has:(e,t)=>e.has(t),keys:e=>e.keys(),get:(e,t)=>e.get(t),identify:e=>e instanceof Map||UH(e),represent:e=>{if(e instanceof Map)return e;let t=new Map,n=e;for(let e of Object.keys(n))t.set(e,n[e]);return t}});function nU(e){if(Array.isArray(e)){let t=Array.prototype.slice.call(e);for(let e=0;e<t.length;e++){if(Array.isArray(t[e]))return null;typeof t[e]==`object`&&Object.prototype.toString.call(t[e])===`[object Object]`&&(t[e]=`[object Object]`)}return String(t)}return typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`?`[object Object]`:String(e)}VV(`tag:yaml.org,2002:map`,{create:()=>({}),identify:UH,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{let r=nU(t);return r===null?`nested arrays are not supported inside keys`:(r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``)},has:(e,t)=>{let n=nU(t);return n!==null&&Object.prototype.hasOwnProperty.call(e,n)},keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}});var rU={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function iU(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function aU(e,t){return` `.repeat(Math.max(t-e.length,0))+e}function oU(e,t){if(!e.buffer)return null;let n={...rU,...t},r=/\r?\n|\r|\0/g,i=[0],a=[],o,s=-1;for(;o=r.exec(e.buffer);)a.push(o.index),i.push(o.index+o[0].length),e.position<=o.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);let c=``,l=Math.min(e.line+n.linesAfter,a.length).toString().length,u=n.maxLength-(n.indent+l+3);for(let t=1;t<=n.linesBefore&&!(s-t<0);t++){let r=iU(e.buffer,i[s-t],a[s-t],e.position-(i[s]-i[s-t]),u);c=`${` `.repeat(n.indent)}${aU((e.line-t+1).toString(),l)} | ${r.str}\n${c}`}let d=iU(e.buffer,i[s],a[s],e.position,u);c+=`${` `.repeat(n.indent)}${aU((e.line+1).toString(),l)} | ${d.str}\n`,c+=`${`-`.repeat(n.indent+l+3+d.pos)}^\n`;for(let t=1;t<=n.linesAfter&&!(s+t>=a.length);t++){let r=iU(e.buffer,i[s+t],a[s+t],e.position-(i[s]-i[s+t]),u);c+=`${` `.repeat(n.indent)}${aU((e.line+t+1).toString(),l)} | ${r.str}\n`}return c.replace(/\n$/,``)}function sU(e,t){let n=``;return e.mark?(e.mark.name&&(n+=`in "${e.mark.name}" `),n+=`(${e.mark.line+1}:${e.mark.column+1})`,!t&&e.mark.snippet&&(n+=`\n\n${e.mark.snippet}`),`${e.reason} ${n}`):e.reason}var cU=class e extends Error{reason;mark;constructor(e,t){super(),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=sU(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${sU(this,e)}`}static throwAt(t,n,r,i=``){let a=0,o=0;for(let e=0;e<n;e++){let n=t.charCodeAt(e);n===10?(a++,o=e+1):n===13&&(a++,t.charCodeAt(e+1)===10&&e++,o=e+1)}let s={name:i,buffer:t,position:n,line:a,column:n-o};throw s.snippet=oU(s),new e(r,s)}},lU={DOCUMENT:1,SEQUENCE:2,MAPPING:3,SCALAR:4,ALIAS:5,POP:6},uU={PLAIN:1,SINGLE_QUOTED:2,DOUBLE_QUOTED:3,LITERAL_BLOCK:4,FOLDED_BLOCK:5},dU={BLOCK:1,FLOW:2},fU={CLIP:1,STRIP:2,KEEP:3},pU=-1;function mU(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return`	`;case 9:return`	`;case 110:return`
`;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`…`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}var hU=Array(256),gU=Array(256);for(let e=0;e<256;e++)hU[e]=+!!mU(e),gU[e]=mU(e);function _U(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function vU(e){return e>=48&&e<=57?e-48:(e|32)-97+10}function yU(e){return e===120?2:e===117?4:8}function bU(e,t,n){let r=0;for(;t<n;){let n=e.charCodeAt(t);if(n===10)r++,t++;else if(n===13)r++,t++,e.charCodeAt(t)===10&&t++;else if(n===32||n===9)t++;else break}return{position:t,breaks:r}}function xU(e){return e===1?` `:`
`.repeat(e-1)}function SU(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===10||t===13){r+=e.slice(a,o);let t=bU(e,i,n);r+=xU(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,o)}function CU(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===39)r+=e.slice(a,i)+`'`,i+=2,a=o=i;else if(t===10||t===13){r+=e.slice(a,o);let t=bU(e,i,n);r+=xU(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,n)}function wU(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===92){r+=e.slice(a,i),i++;let t=e.charCodeAt(i);if(t===10||t===13)i=bU(e,i,n).position;else if(t<256&&hU[t])r+=gU[t],i++;else{let n=yU(t),a=0;for(;n>0;n--){i++;let t=vU(e.charCodeAt(i));a=(a<<4)+t}r+=_U(a),i++}a=o=i}else if(t===10||t===13){r+=e.slice(a,o);let t=bU(e,i,n);r+=xU(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,n)}function TU(e,t,n,r,i,a){let o=r<0?0:r,s=e.slice(t,n).replace(/\r\n?/g,`
`),c=s===``?[]:(s.endsWith(`
`)?s.slice(0,-1):s).split(`
`),l=``,u=!1,d=0,f=!1;for(let e of c){let t=0;for(;t<o&&e.charCodeAt(t)===32;)t++;if(r<0||t>=e.length){d++;continue}let n=e.slice(o),i=n.charCodeAt(0);a?i===32||i===9?(f=!0,l+=`
`.repeat(u?1+d:d)):f?(f=!1,l+=`
`.repeat(d+1)):d===0?u&&(l+=` `):l+=`
`.repeat(d):l+=`
`.repeat(u?1+d:d),l+=n,u=!0,d=0}return i===fU.KEEP?l+=`
`.repeat(u?1+d:d):i!==fU.STRIP&&u&&(l+=`
`),l}function EU(e,t){if(t.valueStart===pU)return``;let{valueStart:n,valueEnd:r}=t;if(t.fast)return e.slice(n,r);switch(t.style){case uU.SINGLE_QUOTED:return CU(e,n,r);case uU.DOUBLE_QUOTED:return wU(e,n,r);case uU.LITERAL_BLOCK:return TU(e,n,r,t.indent,t.chomping,!1);case uU.FOLDED_BLOCK:return TU(e,n,r,t.indent,t.chomping,!0);default:return SU(e,n,r)}}var DU=Object.assign(Object.create(null),{"!":`!`,"!!":`tag:yaml.org,2002:`});function OU(e){return encodeURI(e).replace(/!/g,`%21`)}function kU(e,t){if(e.startsWith(`!<`)&&e.endsWith(`>`))return decodeURIComponent(e.slice(2,-1));let n=e.indexOf(`!`,1),r=n===-1?`!`:e.slice(0,n+1),i=t?.[r]??DU[r]??r;return decodeURIComponent(i)+decodeURIComponent(e.slice(r.length))}function AU(e){let t=e;return t.charCodeAt(0)===33?(t=t.slice(1),`!${OU(t)}`):t.slice(0,18)===`tag:yaml.org,2002:`?`!!${OU(t.slice(18))}`:`!<${OU(t)}>`}var jU=-1,MU=`tag:yaml.org,2002:merge`,NU={filename:``,schema:eU,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};function PU(e){return`tagStart`in e&&e.tagStart!==jU?e.tagStart:`anchorStart`in e&&e.anchorStart!==jU?e.anchorStart:`valueStart`in e&&e.valueStart!==jU?e.valueStart:`start`in e?e.start:0}function FU(e,t){cU.throwAt(e.source,e.position,t,e.filename)}function IU(e,t,n,r){try{return n.finalize(r)}catch(n){if(n instanceof cU)throw n;cU.throwAt(e.source,t,n instanceof Error?n.message:String(n),e.filename)}}function LU(e,t){let n=EU(e.source,t),r=t.tagStart===jU?``:e.source.slice(t.tagStart,t.tagEnd),i=e.schema.defaultScalarTag;if(r!==``){if(r===`!`)return{value:n,tag:i};let t=kU(r,e.tagHandlers),a=e.schema.lookupScalarTag(t);if(a){let r=a.resolve(n,!0,t);return r===RV&&FU(e,`cannot resolve a node with !<${t}> explicit tag`),{value:r,tag:a}}let o=e.schema.lookupMappingTag(t)??e.schema.lookupSequenceTag(t);if(o){n!==``&&FU(e,`cannot resolve a node with !<${t}> explicit tag`);let r=o.create(t);return{value:o.carrierIsResult?r:IU(e,e.position,o,r),tag:o}}FU(e,`unknown scalar tag !<${t}>`)}return t.style===uU.PLAIN?e.schema.resolveImplicitScalarTag(n):{value:i.resolve(n,!1,i.tagName),tag:i}}function RU(e,t,n){let r=t.tagStart===jU?``:e.source.slice(t.tagStart,t.tagEnd);return r===``||r===`!`?n:kU(r,e.tagHandlers)}function zU(e){return e.nodeKind===`mapping`}function BU(e){e.totalMergeKeys++,e.maxTotalMergeKeys!==-1&&e.totalMergeKeys>e.maxTotalMergeKeys&&FU(e,`merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`)}function VU(e,t,n,r){BU(e);for(let i of r.keys(n)){if(BU(e),t.tag.has(t.value,i))continue;let a=t.tag.addPair(t.value,i,r.get(n,i));a&&FU(e,a),t.overridable??=new Set,t.overridable.add(i)}}function HU(e,t,n,r){if(e.position=t.keyPosition,zU(r))VU(e,t,n,r);else if(r.nodeKind===`sequence`&&Array.isArray(n)){n.length>100&&FU(e,`abnormal merge sequence size`);for(let r of n){let n=e.nodeTags.get(r);n||FU(e,`cannot merge mappings; the provided source object is unacceptable`),VU(e,t,r,n)}}else FU(e,`cannot merge mappings; the provided source object is unacceptable`)}function UU(e,t,n,r,i){if(e.position=t.keyPosition,t.keyIsMerge){HU(e,t,r,i);return}!e.json&&t.tag.has(t.value,n)&&!t.overridable?.has(n)&&FU(e,`duplicated mapping key`);let a=t.tag.addPair(t.value,n,r);a&&FU(e,a),t.overridable?.delete(n)}function WU(e,t,n){let r=e.frames[e.frames.length-1];if(r.kind===`document`)r.value=t,r.hasValue=!0;else if(r.kind===`sequence`){zU(n)&&e.nodeTags.set(t,n);let i=r.tag.addItem(r.value,t,r.index++);i&&FU(e,i)}else if(r.hasKey){let i=r.key;r.key=void 0,r.hasKey=!1,UU(e,r,i,t,n)}else r.key=t,r.keyPosition=e.position,r.hasKey=!0,r.keyIsMerge=n.tagName===MU}function GU(e,t,n,r,i){if(t.anchorStart!==jU){let a={value:n,tag:r,isValueFinal:i};return e.anchors.set(e.source.slice(t.anchorStart,t.anchorEnd),a),a}return null}function KU(e,t){let n={...NU,...t,events:e,documents:[],eventIndex:0,position:0,frames:[],anchors:new Map,nodeTags:new Map,tagHandlers:Object.create(null),totalMergeKeys:0,aliasCount:0};for(;n.eventIndex<n.events.length;){let e=n.events[n.eventIndex++];switch(n.position=PU(e),e.type){case lU.DOCUMENT:n.anchors=new Map,n.nodeTags=new Map,n.aliasCount=0,n.tagHandlers=Object.create(null);for(let t of e.directives)t.kind===`tag`&&(n.tagHandlers[t.handle]=t.prefix);n.frames.push({kind:`document`,position:n.position,value:void 0,hasValue:!1});break;case lU.SCALAR:{let{value:t,tag:r}=LU(n,e);GU(n,e,t,r,!0),WU(n,t,r);break}case lU.SEQUENCE:{let t=RU(n,e,`tag:yaml.org,2002:seq`),r=n.schema.lookupSequenceTag(t);r||FU(n,`unknown sequence tag !<${t}>`);let i=r.create(t),a=GU(n,e,i,r,r.carrierIsResult);n.frames.push({kind:`sequence`,position:n.position,value:i,tag:r,anchor:a,index:0});break}case lU.MAPPING:{let t=RU(n,e,`tag:yaml.org,2002:map`),r=n.schema.lookupMappingTag(t);r||FU(n,`unknown mapping tag !<${t}>`);let i=r.create(t),a=GU(n,e,i,r,r.carrierIsResult);n.frames.push({kind:`mapping`,position:n.position,value:i,tag:r,anchor:a,key:void 0,keyPosition:n.position,hasKey:!1,keyIsMerge:!1,overridable:null});break}case lU.ALIAS:{n.maxAliases!==-1&&++n.aliasCount>n.maxAliases&&FU(n,`aliases exceeded maxAliases (${n.maxAliases})`);let t=n.source.slice(e.anchorStart,e.anchorEnd),r=n.anchors.get(t);r||FU(n,`unidentified alias "${t}"`),r.isValueFinal||FU(n,`recursive alias "${t}" is not supported for tag ${r.tag.tagName} because it uses finalize()`),WU(n,r.value,r.tag);break}case lU.POP:{let e=n.frames.pop();if(e.kind===`mapping`&&e.hasKey&&(n.position=e.keyPosition,FU(n,`incomplete mapping pair in event stream`)),e.kind===`document`)n.documents.push(e.value);else{let t=e.tag.carrierIsResult?e.value:IU(n,e.position,e.tag,e.value);e.anchor&&(e.anchor.value=t,e.anchor.isValueFinal=!0),WU(n,t,e.tag)}break}}}return n.documents}var qU=-1,JU=Object.prototype.hasOwnProperty,YU=1,XU=2,ZU=3,QU=4,$U=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,eW=/[,\[\]{}]/,tW=/^(?:!|!!|![0-9A-Za-z-]+!)$/,nW=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,rW=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,iW=RegExp(`^(?:${nW})*$`),aW=RegExp(`^(?:${rW})+$`),oW=RegExp(`^(?:!(?:${nW})*|${rW}(?:${nW})*)$`),sW={filename:``,maxDepth:100};function cW(e,t,n){e.events.push({type:lU.DOCUMENT,explicitStart:t,explicitEnd:n,directives:e.directives})}function lW(e,t,n,r,i,a,o){e.events.push({type:lU.SEQUENCE,start:t,anchorStart:n,anchorEnd:r,tagStart:i,tagEnd:a,style:o})}function uW(e,t,n,r,i,a,o){e.events.push({type:lU.MAPPING,start:t,anchorStart:n,anchorEnd:r,tagStart:i,tagEnd:a,style:o})}function dW(e,t){e.events.splice(t.eventsLength,0,{type:lU.MAPPING,start:t.position,anchorStart:qU,anchorEnd:qU,tagStart:qU,tagEnd:qU,style:dU.FLOW})}function fW(e,t,n,r,i,a,o,s,c=fU.CLIP,l=-1,u=!1){e.events.push({type:lU.SCALAR,valueStart:t,valueEnd:n,anchorStart:r,anchorEnd:i,tagStart:a,tagEnd:o,style:s,chomping:c,indent:l,fast:u})}function pW(e,t,n){e.events.push({type:lU.ALIAS,anchorStart:t,anchorEnd:n})}function mW(e){e.events.push({type:lU.POP})}function hW(e){fW(e,qU,qU,qU,qU,qU,qU,uU.PLAIN)}function gW(){return{anchorStart:qU,anchorEnd:qU,tagStart:qU,tagEnd:qU}}function _W(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,eventsLength:e.events.length}}function vW(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.events.length=t.eventsLength}function yW(e,t){cU.throwAt(e.input.slice(0,e.length),e.position,t,e.filename)}function bW(e){return e===10||e===13}function xW(e){return e===9||e===32}function SW(e){return xW(e)||bW(e)}function CW(e){return e===0||SW(e)}function wW(e){return e===44||e===91||e===93||e===123||e===125}function TW(e){return e>=48&&e<=57?e-48:-1}function EW(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}function DW(e){return e===120?2:e===117?4:e===85?8:0}function OW(e){return e===48||e===97||e===98||e===116||e===9||e===110||e===118||e===102||e===114||e===101||e===32||e===34||e===47||e===92||e===78||e===95||e===76||e===80}function kW(e){e.input.charCodeAt(e.position)===10?e.position++:(e.position++,e.input.charCodeAt(e.position)===10&&e.position++),e.line++,e.lineStart=e.position,e.lineIndent=0,e.firstTabInLine=-1}function AW(e,t){let n=0,r=e.input.charCodeAt(e.position),i=e.position===e.lineStart||SW(e.input.charCodeAt(e.position-1));for(;r!==0;){for(;xW(r);)i=!0,r===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),r=e.input.charCodeAt(++e.position);if(t&&i&&r===35)do r=e.input.charCodeAt(++e.position);while(!bW(r)&&r!==0);if(!bW(r))break;for(kW(e),n++,i=!0,r=e.input.charCodeAt(e.position);r===32;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return n}function jW(e,t=e.position){let n=e.input.charCodeAt(t);if((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)){let n=e.input.charCodeAt(t+3);return n===0||SW(n)}return!1}function MW(e){e.position===e.lineStart&&e.input.charCodeAt(e.position)===65279&&(e.position++,e.lineStart=e.position)}function NW(e){if(e.position!==e.lineStart)return!1;if(jW(e))return!0;if(e.input.charCodeAt(e.position)!==65279)return!1;let t=_W(e);MW(e),AW(e,!0);let n=e.input.charCodeAt(e.position),r=e.position===e.lineStart&&(n===37||n===45&&jW(e));return vW(e,t),r}function PW(e){let t=e.input.charCodeAt(e.position);for(;t!==0&&!bW(t);)t=e.input.charCodeAt(++e.position)}function FW(e,t,n){$U.test(e.input.slice(t,n))&&yW(e,`the stream contains non-printable characters`)}function IW(e,t,n){if(e.input.charCodeAt(e.position)!==33)return!1;t.tagStart!==qU&&yW(e,`duplication of a tag property`);let r=e.position,i=!1,a=!1,o=`!`,s=e.input.charCodeAt(++e.position);s===60?(i=!0,s=e.input.charCodeAt(++e.position)):s===33&&(a=!0,o=`!!`,s=e.input.charCodeAt(++e.position));let c=e.position,l;if(i){for(;s!==0&&s!==62;)s=e.input.charCodeAt(++e.position);s!==62&&yW(e,`unexpected end of the stream within a verbatim tag`),l=e.input.slice(c,e.position),e.position++}else{for(;s!==0&&!SW(s)&&!(n&&wW(s));)s===33&&(a?yW(e,`tag suffix cannot contain exclamation marks`):(o=e.input.slice(c-1,e.position+1),tW.test(o)||yW(e,`named tag handle cannot contain such characters`),a=!0,c=e.position+1)),s=e.input.charCodeAt(++e.position);l=e.input.slice(c,e.position),eW.test(l)&&yW(e,`tag suffix cannot contain flow indicator characters`)}return l&&!(i?iW.test(l):aW.test(l))&&yW(e,`tag name cannot contain such characters: ${l}`),!i&&o!==`!`&&o!==`!!`&&!JU.call(e.tagHandlers,o)&&yW(e,`undeclared tag handle "${o}"`),t.tagStart=r,t.tagEnd=e.position,!0}function LW(e,t){if(e.input.charCodeAt(e.position)!==38)return!1;t.anchorStart!==qU&&yW(e,`duplication of an anchor property`),e.position++;let n=e.position;for(;e.input.charCodeAt(e.position)!==0&&!SW(e.input.charCodeAt(e.position))&&!wW(e.input.charCodeAt(e.position));)e.position++;return e.position===n&&yW(e,`name of an anchor node must contain at least one character`),t.anchorStart=n,t.anchorEnd=e.position,!0}function RW(e,t){if(e.input.charCodeAt(e.position)!==42)return!1;(t.anchorStart!==qU||t.tagStart!==qU)&&yW(e,`alias node should not have any properties`),e.position++;let n=e.position;for(;e.input.charCodeAt(e.position)!==0&&!SW(e.input.charCodeAt(e.position))&&!wW(e.input.charCodeAt(e.position));)e.position++;return e.position===n&&yW(e,`name of an alias node must contain at least one character`),pW(e,n,e.position),!0}function zW(e,t){AW(e,!1),e.lineIndent<t&&yW(e,`deficient indentation`)}function BW(e,t,n){if(e.input.charCodeAt(e.position)!==39)return!1;e.position++;let r=e.position,i=!0;for(;e.input.charCodeAt(e.position)!==0;){let a=e.input.charCodeAt(e.position);if(a===39){if(e.input.charCodeAt(e.position+1)===39){i=!1,e.position+=2;continue}let t=e.position;return e.position++,fW(e,r,t,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,uU.SINGLE_QUOTED,fU.CLIP,-1,i),!0}bW(a)?(i=!1,zW(e,t)):e.position===e.lineStart&&jW(e)?yW(e,`unexpected end of the document within a single quoted scalar`):a!==9&&a<32?yW(e,`expected valid JSON character`):e.position++}yW(e,`unexpected end of the stream within a single quoted scalar`)}function VW(e,t,n){if(e.input.charCodeAt(e.position)!==34)return!1;e.position++;let r=e.position,i=!0;for(;e.input.charCodeAt(e.position)!==0;){let a=e.input.charCodeAt(e.position);if(a===34){let t=e.position;return e.position++,fW(e,r,t,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,uU.DOUBLE_QUOTED,fU.CLIP,-1,i),!0}if(a===92){i=!1;let n=e.input.charCodeAt(++e.position);if(bW(n))zW(e,t);else if(OW(n))e.position++;else{let t=DW(n);for(t===0&&yW(e,`unknown escape sequence`);t-->0;)e.position++,EW(e.input.charCodeAt(e.position))<0&&yW(e,`expected hexadecimal character`);e.position++}}else bW(a)?(i=!1,zW(e,t)):e.position===e.lineStart&&jW(e)?yW(e,`unexpected end of the document within a double quoted scalar`):a!==9&&a<32?yW(e,`expected valid JSON character`):e.position++}yW(e,`unexpected end of the stream within a double quoted scalar`)}function HW(e,t,n){let r=e.input.charCodeAt(e.position),i=fU.CLIP,a=-1,o=!1;if(r!==124&&r!==62)return!1;let s=r===124?uU.LITERAL_BLOCK:uU.FOLDED_BLOCK;for(e.position++;e.input.charCodeAt(e.position)!==0;){let n=e.input.charCodeAt(e.position),r=TW(n);if(n===43||n===45)i!==fU.CLIP&&yW(e,`repeat of a chomping mode identifier`),i=n===43?fU.KEEP:fU.STRIP,e.position++;else if(r>=0)r===0&&yW(e,`bad explicit indentation width of a block scalar; it cannot be less than one`),o&&yW(e,`repeat of an indentation width identifier`),a=t+r-1,o=!0,e.position++;else break}let c=!1;for(;xW(e.input.charCodeAt(e.position));)c=!0,e.position++;c&&e.input.charCodeAt(e.position)===35&&PW(e),bW(e.input.charCodeAt(e.position))?kW(e):e.input.charCodeAt(e.position)!==0&&yW(e,`a line break is expected`);let l=o?a:-1,u=0,d=e.position,f=e.position;for(;e.input.charCodeAt(e.position)!==0;){let n=e.position,r=0;for(;e.input.charCodeAt(n+r)===32;)r++;let i=e.input.charCodeAt(n+r);if(i===0){l>=0?r>l&&(f=n+r):r>0&&(f=n+r);break}if(NW(e))break;if(!o&&l===-1&&bW(i)&&(u=Math.max(u,r)),!o&&l===-1&&!bW(i)&&(i===9&&r<t&&(e.position=n+r,yW(e,`tab characters must not be used in indentation`)),r<u&&(e.position=n+r,yW(e,`bad indentation of a mapping entry`))),l===-1&&i!==0&&!bW(i)&&r<t){e.lineIndent=r,e.position=n+r;break}!o&&i!==0&&!bW(i)&&l===-1&&(l=r);let a=l===-1?t+1:l;if(i!==0&&!bW(i)&&r<a){e.lineIndent=r,e.position=n+r;break}PW(e),f=e.position,bW(e.input.charCodeAt(e.position))&&(kW(e),f=e.position)}return FW(e,d,f),fW(e,d,f,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,s,i,l),!0}function UW(e,t){let n=e.input.charCodeAt(e.position),r=t===YU;if(n===0||SW(n)||n===35||n===38||n===42||n===33||n===124||n===62||n===39||n===34||n===37||n===64||n===96||r&&wW(n))return!1;if(n===63||n===45){let t=e.input.charCodeAt(e.position+1);if(CW(t)||r&&wW(t))return!1}return!0}function WW(e,t,n,r){if(!UW(e,n))return!1;let i=e.position,a=e.position,o=e.input.charCodeAt(e.position),s=n===YU,c=!1;for(;o!==0&&!NW(e);){if(o===58){let t=e.input.charCodeAt(e.position+1);if(CW(t)||s&&wW(t))break}else if(o===35){if(SW(e.input.charCodeAt(e.position-1)))break}else if(s&&wW(o))break;else if(bW(o)){let n=e.position,r=e.line,i=e.lineStart,a=e.lineIndent;if(AW(e,!1),e.lineIndent>=t){c=!0,o=e.input.charCodeAt(e.position);continue}e.position=n,e.line=r,e.lineStart=i,e.lineIndent=a;break}xW(o)||(a=e.position+1),o=e.input.charCodeAt(++e.position)}return a!==i&&(FW(e,i,a),fW(e,i,a,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,uU.PLAIN,fU.CLIP,-1,!c),!0)}function GW(e,t){let n=e.line;AW(e,!0),(e.line>n&&e.lineIndent<t||e.firstTabInLine!==-1&&e.lineIndent<t)&&yW(e,`deficient indentation`)}function KW(e,t,n){let r=e.input.charCodeAt(e.position),i=r===123,a=e.position,o=!0;if(r!==91&&r!==123)return!1;let s=i?125:93;for(i?uW(e,a,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,dU.FLOW):lW(e,a,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,dU.FLOW),e.position++;e.input.charCodeAt(e.position)!==0;){GW(e,t);let n=e.input.charCodeAt(e.position);if(n===s)return e.position++,mW(e),!0;o?n===44&&yW(e,`expected the node content, but found ','`):yW(e,`missed comma between flow collection entries`);let r=!1,a=!1;n===63&&SW(e.input.charCodeAt(e.position+1))&&(r=a=!0,e.position+=1,GW(e,t));let c=e.line,l=_W(e),u=YW(e,t,YU,!1,!0);GW(e,t),n=e.input.charCodeAt(e.position),(i||a||e.line===c)&&n===58?(r=!0,e.position++,GW(e,t),i||dW(e,l),u||hW(e),YW(e,t,YU,!1,!0)||hW(e),GW(e,t),i||mW(e)):i&&r?(u||hW(e),hW(e)):i?hW(e):r&&(dW(e,l),u||hW(e),hW(e),mW(e)),n=e.input.charCodeAt(e.position),n===44?(o=!0,e.position++):o=!1}yW(e,`unexpected end of the stream within a flow collection`)}function qW(e,t,n){if(e.firstTabInLine!==-1||e.input.charCodeAt(e.position)!==45||!CW(e.input.charCodeAt(e.position+1)))return!1;for(lW(e,e.position,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,dU.BLOCK);e.input.charCodeAt(e.position)===45&&CW(e.input.charCodeAt(e.position+1));){e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,yW(e,`tab characters must not be used in indentation`));let n=e.line;e.position++;let r=AW(e,!0)>0;if(e.firstTabInLine!==-1&&e.input.charCodeAt(e.position)===45&&CW(e.input.charCodeAt(e.position+1))&&yW(e,`bad indentation of a sequence entry`),r&&e.lineIndent<=t?hW(e):YW(e,t,ZU,!1,!0),AW(e,!0),e.lineIndent<t||e.position>=e.length)break;e.lineIndent>t&&yW(e,`bad indentation of a sequence entry`),e.line===n&&e.input.charCodeAt(e.position)===45&&CW(e.input.charCodeAt(e.position+1))&&yW(e,`bad indentation of a sequence entry`)}return mW(e),!0}function JW(e,t,n,r){let i=!1,a=!1,o=!1,s=!1;if(e.firstTabInLine!==-1)return!1;let c=e.input.charCodeAt(e.position);for(;c!==0;){!i&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,yW(e,`tab characters must not be used in indentation`));let l=e.input.charCodeAt(e.position+1),u=e.line;if((c===63||c===58)&&CW(l))o||=(uW(e,e.position,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,dU.BLOCK),!0),c===63?(i&&hW(e),a=!0,i=!0):i?i=!1:(hW(e),a=!0,i=!1),e.position+=1,s=!0;else{i&&=(hW(e),!1);let t=_W(e);if(!YW(e,n,XU,!1,!0))break;if(e.line===u){for(c=e.input.charCodeAt(e.position);xW(c);)c=e.input.charCodeAt(++e.position);if(c===58){if(c=e.input.charCodeAt(++e.position),CW(c)||yW(e,`a whitespace character is expected after the key-value separator within a block mapping`),!o){for(vW(e,t),uW(e,t.position,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,dU.BLOCK),o=!0,YW(e,n,XU,!1,!0),c=e.input.charCodeAt(e.position);xW(c);)c=e.input.charCodeAt(++e.position);e.position++}a=!0,i=!1,s=!1}else if(a)yW(e,`expected ':' after a mapping key`);else return r.anchorStart!==qU||r.tagStart!==qU?(vW(e,t),!1):!0}else if(a)yW(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return r.anchorStart!==qU||r.tagStart!==qU?(vW(e,t),!1):!0}if(YW(e,t,QU,!0,s)&&(s=!1),i||(s&&=(hW(e),!1)),AW(e,!0),c=e.input.charCodeAt(e.position),(e.line===u||e.lineIndent>t)&&c!==0)yW(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return a?(i&&hW(e),o&&mW(e),!0):!1}function YW(e,t,n,r,i,a=!0){e.depth>=e.maxDepth&&yW(e,`nesting exceeded maxDepth (${e.maxDepth})`),e.depth++;let o=1,s=!1,c=!1,l=null,u=gW(),d=n===QU||n===ZU,f=d,p=d;if(r&&AW(e,!0)&&(s=!0,o=e.lineIndent>t?1:e.lineIndent===t?0:-1),o===1)for(;;){let r=e.input.charCodeAt(e.position),i=_W(e);if(s&&o!==1&&(r===33||r===38))break;if(s&&p&&(u.tagStart!==qU||u.anchorStart!==qU)&&(r===33||r===38)){let n=_W(e),r=t+1;if(JW(e,e.position-e.lineStart,r,u)&&e.events[n.eventsLength]?.type===lU.MAPPING)return e.depth--,!0;vW(e,n)}if(s&&(r===33&&u.tagStart!==qU||r===38&&u.anchorStart!==qU)||!IW(e,u,n===YU)&&!LW(e,u))break;l===null&&(l=i),AW(e,!0)?(s=!0,f=p,o=e.lineIndent>t?1:e.lineIndent===t?0:-1):f=!1}if(f&&=s||i,o===1||n===QU){let r=n===YU||n===XU?t:t+1,i=e.position-e.lineStart;if(o===1){if(f&&(qW(e,i,u)||JW(e,i,r,u))||KW(e,r,u))c=!0;else{let t=e.input.charCodeAt(e.position);if(l!==null&&a&&p&&!f&&t!==124&&t!==62){let t=_W(e),n=l.position-l.lineStart;vW(e,l),JW(e,n,r,gW())&&e.events[t.eventsLength]?.type===lU.MAPPING?c=!0:vW(e,t)}!c&&(d&&HW(e,r,u)||BW(e,r,u)||VW(e,r,u)||RW(e,u)||WW(e,r,n,u))&&(c=!0)}}else o===0&&(c=f&&qW(e,i,u))}return d&&=!c,!c&&(u.anchorStart!==qU||u.tagStart!==qU||d)&&(fW(e,qU,qU,u.anchorStart,u.anchorEnd,u.tagStart,u.tagEnd,uU.PLAIN),c=!0),e.depth--,c||u.anchorStart!==qU||u.tagStart!==qU}function XW(e){if(e.lineIndent>0||e.input.charCodeAt(e.position)!==37)return!1;e.position++;let t=e.position;for(;e.input.charCodeAt(e.position)!==0&&!SW(e.input.charCodeAt(e.position));)e.position++;let n=e.input.slice(t,e.position),r=[];for(n.length===0&&yW(e,`directive name must not be less than one character in length`);e.input.charCodeAt(e.position)!==0&&!bW(e.input.charCodeAt(e.position));){for(;xW(e.input.charCodeAt(e.position));)e.position++;if(e.input.charCodeAt(e.position)===35||bW(e.input.charCodeAt(e.position))||e.input.charCodeAt(e.position)===0)break;let t=e.position;for(;e.input.charCodeAt(e.position)!==0&&!SW(e.input.charCodeAt(e.position));)e.position++;r.push(e.input.slice(t,e.position))}if(bW(e.input.charCodeAt(e.position))&&kW(e),n===`YAML`){e.directives.some(e=>e.kind===`yaml`)&&yW(e,`duplication of %YAML directive`),r.length!==1&&yW(e,`YAML directive accepts exactly one argument`);let t=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);t===null&&yW(e,`ill-formed argument of the YAML directive`),parseInt(t[1],10)!==1&&yW(e,`unacceptable YAML version of the document`),e.directives.push({kind:`yaml`,version:r[0]})}else if(n===`TAG`){r.length!==2&&yW(e,`TAG directive accepts exactly two arguments`);let[t,n]=r;tW.test(t)||yW(e,`ill-formed tag handle (first argument) of the TAG directive`),JU.call(e.tagHandlers,t)&&yW(e,`there is a previously declared suffix for "${t}" tag handle`),oW.test(n)||yW(e,`ill-formed tag prefix (second argument) of the TAG directive`),e.tagHandlers[t]=n,e.directives.push({kind:`tag`,handle:t,prefix:n})}return!0}function ZW(e){e.directives=[],e.tagHandlers=Object.create(null);let t=!1;for(AW(e,!0);XW(e);)t=!0,AW(e,!0);let n=!1,r=!1,i=!0;if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45&&CW(e.input.charCodeAt(e.position+3))){n=!0;let t=e.line;e.position+=3,AW(e,!0),i=e.line>t}else t&&yW(e,`directives end mark is expected`);let a=e.events.length;if(!n&&e.position===e.lineStart&&e.input.charCodeAt(e.position)===46&&jW(e)){e.position+=3,AW(e,!0);return}if(cW(e,n,!1),YW(e,e.lineIndent-1,QU,!1,i,i)||hW(e),AW(e,!0),e.position===e.lineStart&&jW(e)&&(r=e.input.charCodeAt(e.position)===46,r)){let t=e.line;e.position+=3,AW(e,!0),e.line===t&&e.position<e.length&&yW(e,`end of the stream or a document separator is expected`)}let o=e.events[a];o?.type===lU.DOCUMENT&&(o.explicitEnd=r),mW(e),!r&&e.position<e.length&&!NW(e)&&yW(e,`end of the stream or a document separator is expected`)}function QW(e,t){let n=e.length,r={...sW,...t,input:`${e}\0`,length:n,position:0,line:0,lineStart:0,lineIndent:0,firstTabInLine:-1,depth:0,directives:[],tagHandlers:Object.create(null),events:[]},i=e.indexOf(`\0`);for(i!==-1&&cU.throwAt(e,i,`null byte is not allowed in input`,r.filename);r.position<r.length&&(MW(r),AW(r,!0),!(r.position>=r.length));){let e=r.position;ZW(r),r.position===e&&yW(r,`can not read a document`)}return r.events}var $W={...sW,...NU};function eG(e,t={}){let n={...$W,...t},r=String(e),i=Object.keys(sW),a=Object.keys(NU);return KU(QW(r,WH(n,i)),{...WH(n,a),source:r})}function tG(e,t,n){let r=null;typeof t==`function`?r=t:typeof t==`object`&&t&&(n=t);let i=eG(e,n);if(r===null)return i;for(let e of i)r(e)}function nG(e,t){let n=eG(e,t);if(n.length===0)throw new cU(`expected a document, but the input is empty`);if(n.length===1)return n[0];throw new cU(`expected a single document in the stream, but found more`)}var rG=Symbol(`INVALID`);function iG(e){let t=new Set([e.defaultScalarTag,e.defaultSequenceTag,e.defaultMappingTag].filter(e=>e!==void 0)),n=e.implicitScalarTags,r=e.tags.filter(e=>!(e.nodeKind===`scalar`&&e.implicit)&&!t.has(e)),i=e.tags.filter(e=>t.has(e));return[...n.map(e=>({tag:e,implicitTag:!0})),...r.map(e=>({tag:e,implicitTag:!1})),...i.map(e=>({tag:e,implicitTag:!0}))]}function aG(e,t){for(let n=0,r=e.representTypes.length;n<r;n+=1){let{tag:r,implicitTag:i}=e.representTypes[n];if(r.identify(t)){let e;return e=r.matchByTagPrefix?r.representTagName(t):r.tagName,{tag:r,tagName:e,implicitTag:i}}}return null}function oG(e,t){if(!e.noRefs&&typeof t==`object`&&t){let n=e.refs.get(t);if(n)return n.anchor===void 0&&(n.anchor=`ref_${e.refCounter++}`),{kind:`alias`,anchor:n.anchor}}let n=aG(e,t);if(!n){if(t===void 0||e.skipInvalid)return rG;throw new cU(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`)}let{tag:r,tagName:i,implicitTag:a}=n,o=a?i:AU(i);if(r.nodeKind===`scalar`)return{kind:`scalar`,tag:o,tagged:!a,style:uU.PLAIN,value:r.represent(t)};if(r.nodeKind===`sequence`){let n=r.represent(t),i={kind:`sequence`,tag:o,tagged:!a,style:dU.BLOCK,items:[]};e.noRefs||e.refs.set(t,i);for(let t=0,r=n.length;t<r;t+=1){let r=oG(e,n[t]);r===rG&&n[t]===void 0&&(r=oG(e,null)),r!==rG&&i.items.push(r)}return i}let s=r.represent(t),c={kind:`mapping`,tag:o,tagged:!a,style:dU.BLOCK,items:[]};e.noRefs||e.refs.set(t,c);for(let[t,n]of s){let r=oG(e,t);if(r===rG)continue;let i=oG(e,n);i!==rG&&c.items.push({key:r,value:i})}return c}function sG(e,t,n={}){let r=oG({representTypes:iG(t),noRefs:n.noRefs??!1,skipInvalid:n.skipInvalid??!1,refs:new Map,refCounter:0},e);return[{contents:r===rG?null:r,directives:[]}]}var cG=Symbol(`visit:break`),lG=Symbol(`visit:skip`);function uG(e,t,n){let r=t(e,n);if(r===cG)return!0;if(r===lG)return!1;let i=n.depth+1;switch(e.kind){case`sequence`:for(let n of e.items)if(uG(n,t,{depth:i,parent:e,isKey:!1}))return!0;break;case`mapping`:for(let{key:n,value:r}of e.items)if(uG(n,t,{depth:i,parent:e,isKey:!0})||uG(r,t,{depth:i,parent:e,isKey:!1}))return!0}return!1}function dG(e,t){for(let n of e)if(n.contents&&uG(n.contents,t,{depth:0,parent:null,isKey:!1}))return}function fG(e,t){return!!(e&1<<t)}var pG={applyQuoteFlowKeysOption:hG,doubleQuoteForInvisibles:gG,doubleQuoteWhitespaceOnly:_G,applyForceQuotesOption:vG,tryLongOrMultilineAsBlock:yG,quoteInvalidPlain:bG,fallbackToDoubleQuoted:xG};function mG(e){return e.presenterOptions.quoteStyle===`single`&&fG(e.allowedStylesMask,uU.SINGLE_QUOTED)?uU.SINGLE_QUOTED:uU.DOUBLE_QUOTED}function hG(e){e.presenterOptions.quoteFlowKeys&&e.isKey&&e.flowOnly&&e.style===uU.PLAIN&&(e.style=uU.DOUBLE_QUOTED)}function gG(e){e.style===uU.PLAIN&&/[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value)&&(e.style=uU.DOUBLE_QUOTED)}function _G(e){e.style===uU.PLAIN&&/^\s+$/.test(e.node.value)&&(e.style=uU.DOUBLE_QUOTED)}function vG(e){e.presenterOptions.forceQuotes&&(e.isKey||e.style!==uU.PLAIN||(e.style=e.node.value.includes(`
`)?uU.DOUBLE_QUOTED:mG(e)))}function yG(e){if(e.style!==uU.PLAIN||e.isKey)return;let t=e.node.value,n=t.indexOf(`
`)!==-1;if(!fG(e.allowedStylesMask,uU.LITERAL_BLOCK)){n&&(e.style=uU.DOUBLE_QUOTED);return}let r=e.presenterOptions.lineWidth;if(r===-1){n&&(e.style=uU.LITERAL_BLOCK);return}let i=Math.max(Math.min(r,40),r-e.shiftOfContent),a=0,o=!1;for(;a<=t.length;){let e=t.length,n=t.indexOf(`
`,a);n!==-1&&(e=n);let r=t.slice(a,e);if(r.length>i&&r[0]!==` `&&/ [^ \t]/.test(r)&&(o=!0),n===-1)break;a=n+1}o?e.style=uU.FOLDED_BLOCK:n&&(e.style=uU.LITERAL_BLOCK)}function bG(e){e.style===uU.PLAIN&&!fG(e.allowedStylesMask,uU.PLAIN)&&(e.style=mG(e))}function xG(e){fG(e.allowedStylesMask,e.style)||(e.style=uU.DOUBLE_QUOTED)}function SG(e,t){return e|1<<t}var CG=`[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]`,wG=`[\\n\\r]`,TG=`\\uFEFF`,EG=`[ \\t]`,DG=`(?:(?!(?:${wG}|${TG}))${CG})`,OG=`(?:(?!${EG})${DG})`,kG=`[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]`,AG=`[-?:,\\[\\]{}#&*!|>'"%@\`]`,jG=`[,\\[\\]{}]`,MG=OG,NG=`(?:(?!${jG})${OG})`,PG=`(?:(?:(?!${AG})${OG})|[?:-](?=${MG}))`,FG=`(?:(?:(?!${AG})${OG})|[?:-](?=${NG}))`,IG=`(?:(?:(?![:#])${MG})|:(?=${MG}))#*`,LG=`(?:(?:(?![:#])${NG})|:(?=${NG}))#*`,RG=`(?:${EG}*${IG})*`,zG=`(?:${EG}*${LG})*`,BG=`${PG}#*${RG}`,VG=`${FG}#*${zG}`,HG=BG,UG=VG,WG=`\\n+${IG}${RG}`,GG=`\\n+${LG}${zG}`,KG=`${BG}(?:${WG})*`,qG=`${VG}(?:${GG})*`,JG=RegExp(`^(?:${KG})$`,`u`),YG=RegExp(`^(?:${qG})$`,`u`),XG=RegExp(`^(?:${HG})$`,`u`),ZG=RegExp(`^(?:${UG})$`,`u`),QG=RegExp(`^(?:${kG})*$`,`u`),$G=RegExp(`^(?:${kG}|\\n)*$`,`u`),eK=RegExp(`^(?:${DG}|\\n)*$`,`u`),tK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/,nK=/^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;function rK(e){let t=e.node.value;if(t!==``){if(!(e.isKey?e.flowOnly?ZG:XG:e.flowOnly?YG:JG).test(t)||e.shiftOfFirstLine===0&&tK.test(t))return!1;if(e.shiftOfContent===0){let e=t.indexOf(`
`);if(e!==-1){let n=t.slice(e+1);if(nK.test(n))return!1}}}let n=e.presenterOptions.schema.resolveImplicitScalarTag(t).tag.tagName;return!(!e.node.tagged&&n!==e.node.tag||!e.node.tagged&&t===`=`&&n===e.presenterOptions.schema.defaultScalarTag.tagName)}function iK(e){let t=e.node.value;if(!(e.isKey?QG:$G).test(t)||/[ \t]\n|\n[ \t]/.test(t))return!1;if(!e.isKey&&e.shiftOfContent===0){let e=t.indexOf(`
`);if(e!==-1&&nK.test(t.slice(e+1)))return!1}return!0}function aK(e){if(e.flowOnly||!eK.test(e.node.value))return!1;let t=e.shiftOfContent-e.shiftOfParent;return!(t<1||t>9&&/^\n* /.test(e.node.value)||e.shiftOfContent===0&&nK.test(e.node.value))}function oK(e){let t=SG(0,uU.DOUBLE_QUOTED);rK(e)&&(t=SG(t,uU.PLAIN)),iK(e)&&(t=SG(t,uU.SINGLE_QUOTED)),aK(e)&&(t=SG(SG(t,uU.LITERAL_BLOCK),uU.FOLDED_BLOCK)),e.allowedStylesMask=t}function sK(e){switch(e.style){case uU.PLAIN:return cK(e);case uU.SINGLE_QUOTED:return lK(e);case uU.LITERAL_BLOCK:return uK(e);case uU.FOLDED_BLOCK:return dK(e);case uU.DOUBLE_QUOTED:return fK(e)}}function cK(e){return pK(e.node.value,e.shiftOfContent)}function lK(e){return`'${pK(e.node.value,e.shiftOfContent).replace(/'/g,`''`)}'`}function uK(e){let t=e.node.value;return`|`+gK(t,e.shiftOfParent,e.shiftOfContent)+_K(mK(t,e.shiftOfContent))}function dK(e){let t=e.node.value,n=e.presenterOptions.lineWidth,r=1/0;return n!==-1&&(r=Math.max(Math.min(n,40),n-e.shiftOfContent)),`>`+gK(t,e.shiftOfParent,e.shiftOfContent)+_K(mK(bK(t,r),e.shiftOfContent))}function fK(e){return`"${CK(e.node.value)}"`}function pK(e,t){let n=e.indexOf(`
`);if(n===-1)return e;let r=` `.repeat(t),i=e.slice(0,n),a=/(\n+)([^\n]*)/g;a.lastIndex=n;let o;for(;o=a.exec(e);){let e=o[1].length,t=o[2];i+=`
`.repeat(e+1)+r+t}return i}function mK(e,t){let n=` `.repeat(t),r=0,i=``,a=e.length;for(;r<a;){let t,o=e.indexOf(`
`,r);o===-1?(t=e.slice(r),r=a):(t=e.slice(r,o+1),r=o+1),t.length&&t!==`
`&&(i+=n),i+=t}return i}function hK(e){return/^\n* /.test(e)}function gK(e,t,n){let r=hK(e)?String(n-t):``,i=e[e.length-1]===`
`;return`${r}${i&&(e[e.length-2]===`
`||e===`
`)?`+`:i?``:`-`}\n`}function _K(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function vK(e){return e===` `||e===`	`}function yK(e,t){if(e===``||vK(e[0]))return e;let n=/ [^ \t]/g,r,i=0,a,o=0,s=0,c=``;for(;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`\n${e.slice(i,a)}`,i=a+1),o=s;return c+=`
`,e.length-i>t&&o>i?c+=`${e.slice(i,o)}\n${e.slice(o+1)}`:c+=e.slice(i),c.slice(1)}function bK(e,t){let n=/(\n+)([^\n]*)/g,r=e.indexOf(`
`);r===-1&&(r=e.length),n.lastIndex=r;let i=yK(e.slice(0,r),t),a=e[0]===`
`||vK(e[0]),o,s;for(;s=n.exec(e);){let e=s[1],n=s[2];o=n!==``&&vK(n[0]),i+=e+(!a&&!o&&n!==``?`
`:``)+yK(n,t),a=o}return i}var xK=/["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;function SK(e){switch(e){case`\0`:return`\\0`;case`\x07`:return`\\a`;case`\b`:return`\\b`;case`	`:return`\\t`;case`
`:return`\\n`;case`\v`:return`\\v`;case`\f`:return`\\f`;case`\r`:return`\\r`;case`\x1B`:return`\\e`;case`"`:return`\\"`;case`\\`:return`\\\\`;case`…`:return`\\N`;case`\xA0`:return`\\_`;case`\u2028`:return`\\L`;case`\u2029`:return`\\P`}let t=e.charCodeAt(0),n=t.toString(16).toUpperCase();return t<=255?`\\x${`0`.repeat(2-n.length)}${n}`:`\\u${`0`.repeat(4-n.length)}${n}`}function CK(e){return e.replace(xK,SK)}var wK=10,TK={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:`single`,forceQuotes:!1,scalarStyleRules:Object.keys(pG).map(e=>Reflect.get(pG,e)),tagBeforeAnchor:!1};function EK(e){return e.tagged?e.tag:AU(e.tag)}function DK(e){let t={...TK,...e};return t.flowSkipColonSpace&&(t.quoteFlowKeys=!0),{...t,defaultScalarTagName:t.schema.defaultScalarTag.tagName,openEnded:!1}}function OK(e,t){return`\n${` `.repeat(e.indent*t)}`}function kK(e,t,n,r,i,a){return{node:t,parent:n,level:r,isKey:i,flowOnly:a,shiftOfParent:r===0?-1:e.indent*(r-1),shiftOfContent:e.indent*Math.max(1,r),shiftOfFirstLine:r===0?0:e.indent*r,presenterOptions:e,allowedStylesMask:0,style:t.style}}function AK(e,t,n){let r=``;for(let i=0,a=n.items.length;i<a;i+=1){let a=FK(e,t,n.items[i],n,{}).text;i>0&&(r+=`,${e.flowSkipCommaSpace?``:` `}`),r+=a}let i=e.flowBracketPadding&&n.items.length>0?` `:``;return`[${i}${r}${i}]`}function jK(e,t,n,r){let i=``;for(let a=0,o=n.items.length;a<o;a+=1){let o=FK(e,t+1,n.items[a],n,{block:!0,compact:e.seqInlineFirst,isblockseq:!0}).text;(!r||i!==``)&&(i+=OK(e,t)),o===``||wK===o.charCodeAt(0)?i+=`-`:i+=`- `,i+=o}return i}function MK(e,t,n){let r=``;for(let{key:i,value:a}of n.items){let o=``;r!==``&&(o+=`,${e.flowSkipCommaSpace?``:` `}`);let s=FK(e,t,i,n,{iskey:!0}),c=s.text,l=FK(e,t,a,n,{}).text,u=e.flowSkipColonSpace||l===``?``:` `,d=i.kind===`scalar`&&s.noBody&&(i.tagged||i.anchor!==void 0),f=i.kind===`alias`||d?` `:``;o+=`${c}${f}:${u}${l}`,r+=o}let i=e.flowBracketPadding&&r!==``?` `:``;return`{${i}${r}${i}}`}function NK(e,t,n,r){let i=``;for(let a=0,o=n.items.length;a<o;a+=1){let o=``;(!r||i!==``)&&(o+=OK(e,t));let{key:s,value:c}=n.items[a],l=(s.kind===`mapping`||s.kind===`sequence`)&&s.style===dU.BLOCK&&s.items.length!==0||s.kind===`scalar`&&(s.style===uU.LITERAL_BLOCK||s.style===uU.FOLDED_BLOCK),u=l?FK(e,t+1,s,n,{block:!0,compact:!0,isblockseq:!PK(e,s,t+1)}):FK(e,t+1,s,n,{block:!0,compact:!0,iskey:!0}),d=u.text,f=s.kind===`scalar`&&s.value.indexOf(`
`)!==-1,p=d.length>1024&&/^[\s\S]{1025}/u.test(d),m=l||f||p;m&&(d&&wK===d.charCodeAt(0)?o+=`?`:o+=`? `),o+=d,m&&(o+=OK(e,t));let h=FK(e,t+1,c,n,{block:!0,compact:m,isblockseq:m&&!PK(e,c,t+1)}).text,g=s.kind===`scalar`&&u.noBody&&(s.tagged||s.anchor!==void 0),_=!m&&(s.kind===`alias`||g)?` `:``;h===``||wK===h.charCodeAt(0)?o+=`${_}:`:o+=`${_}: `,o+=h,i+=o}return i}function PK(e,t,n){return t.kind===`alias`||t.tagged||t.anchor!==void 0||e.indent<2&&n>0}function FK(e,t,n,r,i){if(n.kind===`alias`)return e.openEnded=!1,{text:`*${n.anchor}`,noBody:!1};let{block:a=!1,iskey:o=!1,isblockseq:s=!1}=i,c=i.compact??!1,l=n.anchor!==void 0;PK(e,n,t)&&(c=!1);let u,d=n.tagged,f=a&&(n.kind===`mapping`||n.kind===`sequence`)&&n.style===dU.BLOCK&&n.items.length!==0;if(n.kind===`mapping`)u=f?NK(e,t,n,c):MK(e,t,n);else if(n.kind===`sequence`)u=f?e.seqNoIndent&&!s&&t>0?jK(e,t-1,n,c):jK(e,t,n,c):AK(e,t,n);else{let i=kK(e,n,r,t,o,!a);oK(i);for(let t of e.scalarStyleRules)t(i);u=sK(i),e.openEnded=(i.style===uU.LITERAL_BLOCK||i.style===uU.FOLDED_BLOCK)&&(n.value===`
`||n.value.endsWith(`

`)),d=n.tagged||u===``&&i.flowOnly&&r?.kind===`sequence`&&!l||i.style!==uU.PLAIN&&n.tag!==e.defaultScalarTagName}(n.kind===`mapping`||n.kind===`sequence`)&&!f&&(e.openEnded=!1),f&&c&&t>0&&e.indent>2&&(u=`${` `.repeat(e.indent-2)}${u}`);let p=u===``,m=u;if(d||l){let t=[],r=d?EK(n):null,i=l?`&${n.anchor}`:null;e.tagBeforeAnchor?(r!==null&&t.push(r),i!==null&&t.push(i)):(i!==null&&t.push(i),r!==null&&t.push(r));let a=u===``||u.charCodeAt(0)===wK?``:` `;m=`${t.join(` `)}${a}${u}`}return{text:m,noBody:p}}function IK(e){return(e.kind===`sequence`||e.kind===`mapping`)&&e.style===dU.BLOCK&&e.items.length!==0&&!e.tagged&&e.anchor===void 0}function LK(e){let t=``;for(let n of e.directives){if(n.kind===`yaml`){t+=`%YAML ${n.version}\n`;continue}let{handle:e,prefix:r}=n;t+=`%TAG ${e} ${r}\n`}return t}function RK(e,t){let n=DK(t),r=``,i=!1;for(let t=0;t<e.length;t+=1){let a=e[t];n.openEnded=!1;let o=LK(a),s=o!==``,c=a.explicitStart||s||t>0&&!i;if(r+=o,a.contents===null)c&&(r+=`---
`);else if(c){let e=FK(n,0,a.contents,null,{block:!0,compact:!0}).text,t=e===``?``:s||IK(a.contents)?`
`:` `;r+=`---${t}${e}\n`}else r+=FK(n,0,a.contents,null,{block:!0,compact:!0}).text+`
`;i=a.explicitEnd||n.openEnded,i&&(r+=`...
`)}return r}var zK={...TK,schema:tU,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:()=>{}};function BK(e,t){let n=String(e),r=String(t);return n<r?-1:+(n>r)}function VK(e,t={}){let n={...zK,...t},r=sG(e,n.schema,{noRefs:n.noRefs,skipInvalid:n.skipInvalid});if(n.flowLevel>=0&&dG(r,(e,t)=>{if(!(t.depth<n.flowLevel))return(e.kind===`sequence`||e.kind===`mapping`)&&(e.style=dU.FLOW),lG}),n.sortKeys){let e=n.sortKeys===!0?BK:n.sortKeys;dG(r,t=>{t.kind===`mapping`&&t.items.sort((t,n)=>e(t.key.kind===`scalar`?t.key.value:``,n.key.kind===`scalar`?n.key.value:``))})}return n.transform(r),RK(r,{...WH(n,Object.keys(TK)),schema:n.schema})}lU.DOCUMENT,lU.SEQUENCE,lU.MAPPING,lU.SCALAR,lU.ALIAS,lU.POP,uU.PLAIN,uU.SINGLE_QUOTED,uU.DOUBLE_QUOTED,uU.LITERAL_BLOCK,uU.FOLDED_BLOCK,dU.BLOCK,dU.FLOW,fU.CLIP,fU.STRIP,fU.KEEP;function HK(e){let[t,n]=String(e??``).split(`.`).map(e=>Number.parseInt(e,10));return t===3&&n>=1}function UK(e,t,n){if(t&&typeof t==`object`)return typeof t.$ref==`string`?WK(e,t,HK(n),[]):t}function WK(e,t,n,r){let i=t.$ref;if(typeof i!=`string`)return t;if(r.includes(i)){let t=XR(e,i);return{...t?{...t}:{},"x-circular-ref":!0}}let a=XR(e,i);if(!a)throw Error(`Failed to resolve $ref "${i}" for path item`);let o;if(o=typeof a.$ref==`string`?WK(e,a,n,[...r,i]):{...a},n){let{$ref:e,...n}=t;Object.keys(n).length>0&&(o={...o,...n})}return o}var GK=o((()=>{})),KK,qK,JK,YK=o((()=>{KK=u(zc(),1),qK=KK.default.parse,JK=class e{static baseName(t=``,n=1){let r=e.parse(t);return r[r.length-n]}static dirName(t,n=1){let r=e.parse(t);return KK.default.compile(r.slice(0,r.length-n))}static relative(t,n){let r=e.parse(t);return e.parse(n).slice(r.length)}static parse(e=``){let t=e;return t.charAt(0)===`#`&&(t=t.substring(1)),qK(t)}static join(t,n){let r=e.parse(t).concat(n);return KK.default.compile(r)}static get(e,t){return KK.default.get(e,t)}static compile(e){return KK.default.compile(e)}static escape(e){return KK.default.escape(e)}},KK.default.parse=JK.parse,Object.assign(JK,KK.default)}));function XK(e){return ZK.has(e.toLowerCase())}var ZK,QK=o((()=>{ZK=new Set([`get`,`post`,`put`,`delete`,`patch`,`head`,`options`,`trace`,`query`,`x-query`])}));GK(),YK(),QK(),QR(),os();var $K=`#/components/`;function eq(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}function tq(e,t,n){let r=new Map,i=new Map,a=[...t],o=new WeakSet,s,c=()=>{if(s)return s;s=new Map;let t=V(e.components)?e.components.schemas:void 0;if(V(t)){let e=`${$K}schemas/`;for(let[n,r]of Object.entries(t))if(V(r)&&Array.isArray(r.allOf))for(let i of r.allOf){if(!V(i)||typeof i.$ref!=`string`||!i.$ref.startsWith(e))continue;let r=eq(i.$ref.slice(e.length)),a=t[r];if(!V(a)||!(a.discriminator||a[`x-discriminator`]))continue;let o=s.get(r)??[];o.push(n),s.set(r,o)}}return s},l=(t,n)=>{let i=eq(n),o=r.get(t);if(o||(o=new Set,r.set(t,o)),o.has(i))return;let s=XR(e,`${$K}${t}/${n}`);if(s&&(o.add(i),a.push(s),t===`schemas`&&(s.discriminator||s[`x-discriminator`])))for(let e of c().get(i)??[])l(`schemas`,is(e))},u=t=>{if(t.startsWith($K)){let[e,n]=t.slice(13).split(`/`);if(e&&n){l(e,n);return}}if(!n?.(t)&&t.startsWith(`#/`)){if(i.has(t))return;let n=XR(e,t);if(!n)return;i.set(t,n),a.push(n);return}};for(;a.length;){let e=a.pop();if(Array.isArray(e)){a.push(...e);continue}if(!V(e)||o.has(e))continue;o.add(e);for(let[t,n]of Object.entries(e)){if(t===`$ref`&&typeof n==`string`){u(n);continue}if(t===`security`&&Array.isArray(n)){for(let e of n)if(V(e))for(let t of Object.keys(e))l(`securitySchemes`,is(t))}a.push(n)}let t=e.discriminator??e[`x-discriminator`],n=V(t)?t.mapping:void 0;if(V(n))for(let e of Object.values(n))typeof e==`string`&&(e.startsWith(`#/`)?u(e):l(`schemas`,is(e)))}return{keep:r,inlineTargets:i}}function nq(e,t){let n=e.components;if(!V(n)||t.size===0)return;let r={};for(let[e,i]of Object.entries(n)){let n=t.get(e);if(!n?.size||!V(i))continue;let a={};for(let[e,t]of Object.entries(i))n.has(e)&&(a[e]=t);Object.keys(a).length&&(r[e]=a)}return Object.keys(r).length?r:void 0}QR();var rq=new Set([`x-circular-ref`,`x-allof-cycle`,`x-original-ref`]);function iq(e,t){let n=new WeakSet,r=new Set,i=e=>{if(Array.isArray(e)){if(n.has(e))throw Error(`spec-slice: circular object graph in the source document`);n.add(e);let t=e.map(i);return n.delete(e),t}if(!V(e))return e;if(n.has(e))throw Error(`spec-slice: circular object graph in the source document`);let a=typeof e.$ref==`string`?e.$ref:void 0;if(a&&t.has(a)){if(r.has(a))return{};r.add(a),n.add(e);let o=i(t.get(a));r.delete(a);let s={};for(let[t,n]of Object.entries(e))t===`$ref`||rq.has(t)||n===void 0||(s[t]=i(n));return n.delete(e),V(o)?{...o,...s}:o}n.add(e);let o={};for(let[t,n]of Object.entries(e))rq.has(t)||n===void 0||(o[t]=i(n));return n.delete(e),o};return i(e)}function aq(e){return e.length>sq?`${e.slice(0,sq)} ... trimmed`:e}function oq(e){let{info:t}=e;V(t)&&typeof t.description==`string`&&(e.info={...t,description:aq(t.description)})}var sq,cq=o((()=>{QR(),sq=100}));QR(),os(),eu(),cq();var lq=[`openapi`,`info`,`jsonSchemaDialect`,`externalDocs`,`servers`,`security`];function uq(e){let t=e.startsWith(`/`)||e.startsWith(`#`)?e:`/${e}`;try{return JK.parse(t)}catch{return[]}}function dq(e,t){let n=uq(e);if(!(n.length<3||n[0]!==`paths`))return{kind:`operation`,pathName:n[1],httpVerb:n[2],source:t?`webhooks`:`paths`}}function fq(e,t){if(typeof e.openapi!=`string`)return;if(t.kind===`document`)return{document:iq(e,new Map)};let n=pq(e,t);if(!n)return;let{draft:r,extraSeeds:i=[]}=n,a=tq(e,[r,...i]),o=nq(e,a.keep);return o&&(r.components=o),{document:iq(r,a.inlineTargets)}}function pq(e,t){let n={};for(let t of lq)e[t]!==void 0&&(n[t]=e[t]);if(oq(n),t.kind===`schema`){let r=V(e.components)?e.components.schemas:void 0;return!V(r)||!(t.name in r)?void 0:(n.paths={},{draft:n,extraSeeds:[{$ref:`#/components/schemas/${is(t.name)}`}]})}let r=e[`x-webhooks`]?`x-webhooks`:`webhooks`,i=e[`x-webhooks`]??e.webhooks,a,o;if(t.kind===`operation`){a=new Map,o=new Map;let n=hq(e,t.source===`webhooks`?i:e.paths,t.pathName,t.httpVerb);if(!n)return;(t.source===`webhooks`?o:a).set(t.pathName,n)}else if(t.kind===`tag`){if(a=_q(e,e.paths,t.tagName,!1),o=_q(e,i,t.tagName,!0),a.size===0&&o.size===0)return}else return;let s=new Set;for(let e of[...a.values(),...o.values()])for(let{operation:t}of e.operations){let e=t.tags;if(Array.isArray(e))for(let t of e)typeof t==`string`&&s.add(t)}let c=bq(e,s);c.length&&(n.tags=c);let l=xq(e,s);return l.length&&(n[`x-tagGroups`]=l),n.paths=yq(a),o.size&&(n[r]=yq(o)),{draft:n}}function mq(e,t){if(V(t))try{let n=UK(e,t,e.openapi);return V(n)?n:void 0}catch{return}}function hq(e,t,n,r){if(!V(t))return;let i=mq(e,t[n]);if(!i)return;let a=i[r];if(V(a))return{pathItem:i,operations:[{operation:a,verbKey:r,isAdditional:!1}]};if(r===`query`&&V(i[`x-query`]))return{pathItem:i,operations:[{operation:i[`x-query`],verbKey:`x-query`,isAdditional:!1}]};let o=V(i.additionalOperations)?i.additionalOperations[r]:void 0;if(V(o))return{pathItem:i,operations:[{operation:o,verbKey:r,isAdditional:!0}]}}function gq(e,t,n){return(Array.isArray(e.tags)&&e.tags.length>0?e.tags:[n?Zl:``]).includes(t)}function _q(e,t,n,r){let i=new Map;if(!V(t))return i;for(let a of Object.keys(t)){let o=mq(e,t[a]);if(!o)continue;let s=[];for(let[e,t]of Object.entries(o))XK(e)&&V(t)&&gq(t,n,r)&&s.push({operation:t,verbKey:e,isAdditional:!1});if(V(o.additionalOperations))for(let[e,t]of Object.entries(o.additionalOperations))V(t)&&gq(t,n,r)&&s.push({operation:t,verbKey:e,isAdditional:!0});s.length&&i.set(a,{pathItem:o,operations:s})}return i}var vq=[`summary`,`description`,`parameters`,`servers`];function yq(e){let t={};for(let[n,{pathItem:r,operations:i}]of e){let e={};for(let t of vq)r[t]!==void 0&&(e[t]=r[t]);let a={};for(let{operation:t,verbKey:n,isAdditional:r}of i)r?a[n]=t:e[n]=t;Object.keys(a).length&&(e.additionalOperations=a),t[n]=e}return t}function bq(e,t){let n=Array.isArray(e.tags)?e.tags:[],r=new Map;for(let e of n)V(e)&&typeof e.name==`string`&&r.set(e.name,e);let i=new Set,a=e=>{if(i.has(e))return;let t=r.get(e);t&&(i.add(e),typeof t.parent==`string`&&a(t.parent))};for(let e of t)a(e);return n.filter(e=>V(e)&&i.has(e.name))}function xq(e,t){let n=e[`x-tagGroups`];if(!Array.isArray(n))return[];let r=[];for(let e of n){if(!V(e)||!Array.isArray(e.tags))continue;let n=e.tags.filter(e=>typeof e==`string`&&t.has(e));n.length&&r.push({...e,tags:n})}return r}QR(),cq();function Sq(e){return typeof e.asyncapi==`string`&&e.asyncapi.startsWith(`3.`)}var Cq=[`asyncapi`,`id`,`info`,`defaultContentType`,`servers`];function wq(e){let t=uq(e);if(!(t.length<2)){if(t[0]===`channels`)return{kind:`channel`,channelId:t[1]};if(t[0]===`operations`)return{kind:`async-operation`,operationId:t[1]}}}function Tq(e,t){if(!Sq(e))return;if(t.kind===`document`)return{document:iq(e,new Map)};let n=Oq(e,t);if(!n)return;let{keptChannels:r,keptOperations:i}=n,a={};for(let t of Cq)e[t]!==void 0&&(a[t]=e[t]);oq(a);let o=V(e.channels)?e.channels:{},s=V(e.operations)?e.operations:{},c={};for(let[e,t]of Object.entries(o))r.has(e)&&(c[e]=t);let l={};for(let[e,t]of Object.entries(s))i.has(e)&&(l[e]=t);a.channels=c,Object.keys(l).length&&(a.operations=l);let u=tq(e,[a],t=>{if(t.startsWith(`#/servers/`))return e.servers!==void 0;let n=uq(t);return n[0]===`channels`?r.has(n[1]):n[0]===`operations`&&i.has(n[1])}),d=nq(e,u.keep);return d&&(a.components=d),{document:iq(a,u.inlineTargets)}}function Eq(e){if(!V(e)||!V(e.channel))return;let t=e.channel.$ref;if(typeof t!=`string`)return;let n=uq(t);return n[0]===`channels`&&n.length>=2?n[1]:void 0}function Dq(e,t){return!V(e)||!Array.isArray(e.tags)?!1:e.tags.some(e=>V(e)&&e.name===t)}function Oq(e,t){let n=V(e.channels)?e.channels:{},r=V(e.operations)?e.operations:{},i=new Set,a=new Set,o=e=>{for(let[t,n]of Object.entries(r))Eq(n)===e&&a.add(t)};switch(t.kind){case`channel`:if(!(t.channelId in n))return;i.add(t.channelId),o(t.channelId);break;case`async-operation`:{let e=r[t.operationId];if(!V(e))return;a.add(t.operationId);let o=Eq(e);o&&o in n&&i.add(o);break}case`tag`:for(let[e,r]of Object.entries(n))Dq(r,t.tagName)&&(i.add(e),o(e));if(i.size===0)return;break;default:return}for(let t of a){let a=r[t];if(!V(a))continue;let o=kq(e,a.reply),s=V(o?.channel)?o.channel.$ref:void 0;if(typeof s!=`string`)continue;let c=uq(s);c[0]===`channels`&&c[1]&&c[1]in n&&i.add(c[1])}return{keptChannels:i,keptOperations:a}}function kq(e,t){if(V(t)){if(typeof t.$ref==`string`&&t.$ref.startsWith(`#/`)){let n=XR(e,t.$ref);return V(n)?n:void 0}return t}}var Aq,jq,Mq,Nq,Pq,Fq,Iq=o((()=>{B(),Aq=new Set([`String`,`Int`,`Float`,`Boolean`,`ID`]),jq=new Set([`skip`,`include`,`deprecated`,`specifiedBy`,`oneOf`]),Mq=[L.QUERY,L.MUTATION,L.SUBSCRIPTION,L.DIRECTIVE,L.OBJECT,L.INTERFACE,L.UNION,L.ENUM,L.INPUT,L.SCALAR],Nq={ITEMS:`items`,QUERIES:`queries`,MUTATIONS:`mutations`,SUBSCRIPTIONS:`subscriptions`,TYPES:`types`,DIRECTIVES:`directives`},Pq=[Nq.ITEMS,Nq.QUERIES,Nq.MUTATIONS,Nq.SUBSCRIPTIONS,Nq.TYPES,Nq.DIRECTIVES],Fq={[L.QUERY]:`Queries`,[L.MUTATION]:`Mutations`,[L.SUBSCRIPTION]:`Subscriptions`,[L.DIRECTIVE]:`Directives`,[L.OBJECT]:`Objects`,[L.INTERFACE]:`Interfaces`,[L.INPUT]:`Inputs`,[L.UNION]:`Unions`,[L.ENUM]:`Enums`,[L.SCALAR]:`Scalars`}}));B(),Iq();function Lq(e,t,n,r){if(t){if(t.contentType===ts.OVERVIEW)return{kind:`document`};switch(e){case es.OPENAPI:return Rq(t);case es.ASYNCAPI:return Uq(t,n);case es.GRAPHQL:return t.contentType===ts.GROUP?Hq(n,r):Vq(t);default:return}}}function Rq(e){if(e.contentType===ts.GROUP){let t=e.meta?.name;return typeof t==`string`?{kind:`tag`,tagName:t}:void 0}if(e.contentType===ts.ITEM){if(e.itemVariant===L.HTTP_ITEM&&e.meta?.pointer)return dq(e.meta.pointer,e.meta.isWebhook);if(e.itemVariant===L.SCHEMA&&e.meta?.name)return{kind:`schema`,name:e.meta.name}}}var zq={[L.QUERY]:`query`,[L.MUTATION]:`mutation`,[L.SUBSCRIPTION]:`subscription`},Bq=new Set([L.OBJECT,L.INTERFACE,L.INPUT,L.UNION,L.ENUM,L.SCALAR]);function Vq(e){if(e.contentType!==ts.ITEM||!e.itemVariant)return;let t=e.meta?.name;if(typeof t!=`string`||!t)return;let n=zq[e.itemVariant];if(n)return{kind:`graphql-operation`,operationType:n,name:t};if(Bq.has(e.itemVariant))return Aq.has(t)?void 0:{kind:`graphql-type`,name:t};if(e.itemVariant===L.DIRECTIVE)return jq.has(t)?void 0:{kind:`graphql-directive`,name:t}}function Hq(e,t){if(!t?.length)return;let n=[],r=new Set;for(let e of t){let t=e?Vq(e):void 0;if(!t)continue;let i=`${t.kind}/${`operationType`in t?t.operationType:``}/${t.name}`;r.has(i)||(r.add(i),n.push(t))}return n.length?{kind:`graphql-group`,label:e,members:n}:void 0}function Uq(e,t){if(e.contentType===ts.GROUP)return t?{kind:`tag`,tagName:t}:void 0;if(e.contentType===ts.ITEM&&(e.itemVariant===L.CHANNEL||e.itemVariant===L.CHANNEL_OPERATION)&&e.meta?.pointer)return wq(e.meta.pointer)}var Wq={chatgpt:`https://chatgpt.com`,claude:`https://claude.ai/new`},Gq={yaml:`Read the yaml and answer questions based on the content.

`,graphql:`Read the GraphQL SDL and answer questions based on the content.

`};function Kq(e,t,n=`yaml`){let r=new URL(e);r.searchParams.set(`q`,`${Gq[n]}${t}`);let i=r.toString();return i.length<=8e3?i:void 0}function qq(e){switch(e.kind){case`operation`:return`the ${e.httpVerb.toUpperCase()} ${e.pathName} operation`;case`tag`:return`the "${e.tagName}" operations`;case`schema`:return`the ${e.name} schema`;case`channel`:return`the "${e.channelId}" channel`;case`async-operation`:return`the "${e.operationId}" operation`;case`graphql-operation`:return`the ${e.name} ${e.operationType}`;case`graphql-type`:return`the ${e.name} type`;case`graphql-directive`:return`the @${e.name} directive`;case`graphql-group`:return e.label?`the "${e.label}" section`:void 0;default:return}}function Jq(e,t,n){let r=qq(n),i=r?`answer questions about ${r}`:`answer questions based on the content`,a=new URL(e);return a.searchParams.set(`q`,`Read ${t} and ${i}.`),a.toString()}function Yq(e,{scope:t,contentKind:n,title:r,specUrl:i}){let a=qq(t);return a?`${r?`# ${r}\n\n`:``}This is a subset of the full specification${i?`, which you can find here: ${i}`:``}, limited to ${a}.\n\n\`\`\`${n}\n${e.trimEnd()}\n\`\`\`\n`:e}function Xq(e,t){if(!e)throw Error(t)}var Zq=o((()=>{}));function Qq(e){return typeof e==`object`&&!!e}var $q=o((()=>{}));function eJ(e,t){if(!e)throw Error(t??`Unexpected invariant triggered.`)}var tJ=o((()=>{}));function nJ(e,t){let n=0,r=1;for(let i of e.body.matchAll(rJ)){if(typeof i.index==`number`||eJ(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}var rJ,iJ=o((()=>{tJ(),rJ=/\r\n|[\n\r]/g}));function aJ(e){return oJ(e.source,nJ(e.source,e.start))}function oJ(e,t){let n=e.locationOffset.column-1,r=``.padStart(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=t.line===1?n:0,c=t.column+s,l=`${e.name}:${o}:${c}\n`,u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){let e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return l+sJ([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>[`|`,e]),[`|`,`^`.padStart(t)],[`|`,n[e+1]]])}return l+sJ([[`${o-1} |`,u[i-1]],[`${o} |`,d],[`|`,`^`.padStart(c)],[`${o+1} |`,u[i+1]]])}function sJ(e){let t=e.filter(([e,t])=>t!==void 0),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?` `+t:``)).join(`
`)}var cJ=o((()=>{iJ()}));function lJ(e){let t=e[0];return t==null||`kind`in t||`length`in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}function uJ(e){return e===void 0||e.length===0?void 0:e}var G,dJ=o((()=>{$q(),iJ(),cJ(),G=class e extends Error{constructor(t,...n){let{nodes:r,source:i,positions:a,path:o,originalError:s,extensions:c}=lJ(n);super(t),this.name=`GraphQLError`,this.path=o??void 0,this.originalError=s??void 0,this.nodes=uJ(Array.isArray(r)?r:r?[r]:void 0);let l=uJ(this.nodes?.map(e=>e.loc).filter(e=>e!=null));this.source=i??l?.[0]?.source,this.positions=a??l?.map(e=>e.start),this.locations=a&&i?a.map(e=>nJ(i,e)):l?.map(e=>nJ(e.source,e.start));let u=Qq(s?.extensions)?s?.extensions:void 0;this.extensions=c??u??Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),s!=null&&s.stack?Object.defineProperty(this,"stack",{value:s.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return`GraphQLError`}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+=`

`+aJ(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+=`

`+oJ(this.source,t);return e}toJSON(){let e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}}));function fJ(e,t,n){return new G(`Syntax Error: ${n}`,{source:e,positions:[t]})}var pJ=o((()=>{dJ()}));function mJ(e){let t=e?.kind;return typeof t==`string`&&vJ.has(t)}var hJ,gJ,_J,vJ,yJ,bJ=o((()=>{hJ=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return`Location`}toJSON(){return{start:this.start,end:this.end}}},gJ=class{constructor(e,t,n,r,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return`Token`}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},_J={Name:[],Document:[`definitions`],OperationDefinition:[`description`,`name`,`variableDefinitions`,`directives`,`selectionSet`],VariableDefinition:[`description`,`variable`,`type`,`defaultValue`,`directives`],Variable:[`name`],SelectionSet:[`selections`],Field:[`alias`,`name`,`arguments`,`directives`,`selectionSet`],Argument:[`name`,`value`],FragmentSpread:[`name`,`directives`],InlineFragment:[`typeCondition`,`directives`,`selectionSet`],FragmentDefinition:[`description`,`name`,`variableDefinitions`,`typeCondition`,`directives`,`selectionSet`],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[`values`],ObjectValue:[`fields`],ObjectField:[`name`,`value`],Directive:[`name`,`arguments`],NamedType:[`name`],ListType:[`type`],NonNullType:[`type`],SchemaDefinition:[`description`,`directives`,`operationTypes`],OperationTypeDefinition:[`type`],ScalarTypeDefinition:[`description`,`name`,`directives`],ObjectTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],FieldDefinition:[`description`,`name`,`arguments`,`type`,`directives`],InputValueDefinition:[`description`,`name`,`type`,`defaultValue`,`directives`],InterfaceTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],UnionTypeDefinition:[`description`,`name`,`directives`,`types`],EnumTypeDefinition:[`description`,`name`,`directives`,`values`],EnumValueDefinition:[`description`,`name`,`directives`],InputObjectTypeDefinition:[`description`,`name`,`directives`,`fields`],DirectiveDefinition:[`description`,`name`,`arguments`,`directives`,`locations`],SchemaExtension:[`directives`,`operationTypes`],DirectiveExtension:[`name`,`directives`],ScalarTypeExtension:[`name`,`directives`],ObjectTypeExtension:[`name`,`interfaces`,`directives`,`fields`],InterfaceTypeExtension:[`name`,`interfaces`,`directives`,`fields`],UnionTypeExtension:[`name`,`directives`,`types`],EnumTypeExtension:[`name`,`directives`,`values`],InputObjectTypeExtension:[`name`,`directives`,`fields`],TypeCoordinate:[`name`],MemberCoordinate:[`name`,`memberName`],ArgumentCoordinate:[`name`,`fieldName`,`argumentName`],DirectiveCoordinate:[`name`],DirectiveArgumentCoordinate:[`name`,`argumentName`]},vJ=new Set(Object.keys(_J)),(function(e){e.QUERY=`query`,e.MUTATION=`mutation`,e.SUBSCRIPTION=`subscription`})(yJ||={})})),K,xJ=o((()=>{(function(e){e.QUERY=`QUERY`,e.MUTATION=`MUTATION`,e.SUBSCRIPTION=`SUBSCRIPTION`,e.FIELD=`FIELD`,e.FRAGMENT_DEFINITION=`FRAGMENT_DEFINITION`,e.FRAGMENT_SPREAD=`FRAGMENT_SPREAD`,e.INLINE_FRAGMENT=`INLINE_FRAGMENT`,e.VARIABLE_DEFINITION=`VARIABLE_DEFINITION`,e.SCHEMA=`SCHEMA`,e.SCALAR=`SCALAR`,e.OBJECT=`OBJECT`,e.FIELD_DEFINITION=`FIELD_DEFINITION`,e.ARGUMENT_DEFINITION=`ARGUMENT_DEFINITION`,e.INTERFACE=`INTERFACE`,e.UNION=`UNION`,e.ENUM=`ENUM`,e.ENUM_VALUE=`ENUM_VALUE`,e.INPUT_OBJECT=`INPUT_OBJECT`,e.INPUT_FIELD_DEFINITION=`INPUT_FIELD_DEFINITION`,e.DIRECTIVE_DEFINITION=`DIRECTIVE_DEFINITION`})(K||={})})),q,SJ=o((()=>{(function(e){e.NAME=`Name`,e.DOCUMENT=`Document`,e.OPERATION_DEFINITION=`OperationDefinition`,e.VARIABLE_DEFINITION=`VariableDefinition`,e.SELECTION_SET=`SelectionSet`,e.FIELD=`Field`,e.ARGUMENT=`Argument`,e.FRAGMENT_SPREAD=`FragmentSpread`,e.INLINE_FRAGMENT=`InlineFragment`,e.FRAGMENT_DEFINITION=`FragmentDefinition`,e.VARIABLE=`Variable`,e.INT=`IntValue`,e.FLOAT=`FloatValue`,e.STRING=`StringValue`,e.BOOLEAN=`BooleanValue`,e.NULL=`NullValue`,e.ENUM=`EnumValue`,e.LIST=`ListValue`,e.OBJECT=`ObjectValue`,e.OBJECT_FIELD=`ObjectField`,e.DIRECTIVE=`Directive`,e.NAMED_TYPE=`NamedType`,e.LIST_TYPE=`ListType`,e.NON_NULL_TYPE=`NonNullType`,e.SCHEMA_DEFINITION=`SchemaDefinition`,e.OPERATION_TYPE_DEFINITION=`OperationTypeDefinition`,e.SCALAR_TYPE_DEFINITION=`ScalarTypeDefinition`,e.OBJECT_TYPE_DEFINITION=`ObjectTypeDefinition`,e.FIELD_DEFINITION=`FieldDefinition`,e.INPUT_VALUE_DEFINITION=`InputValueDefinition`,e.INTERFACE_TYPE_DEFINITION=`InterfaceTypeDefinition`,e.UNION_TYPE_DEFINITION=`UnionTypeDefinition`,e.ENUM_TYPE_DEFINITION=`EnumTypeDefinition`,e.ENUM_VALUE_DEFINITION=`EnumValueDefinition`,e.INPUT_OBJECT_TYPE_DEFINITION=`InputObjectTypeDefinition`,e.DIRECTIVE_DEFINITION=`DirectiveDefinition`,e.SCHEMA_EXTENSION=`SchemaExtension`,e.DIRECTIVE_EXTENSION=`DirectiveExtension`,e.SCALAR_TYPE_EXTENSION=`ScalarTypeExtension`,e.OBJECT_TYPE_EXTENSION=`ObjectTypeExtension`,e.INTERFACE_TYPE_EXTENSION=`InterfaceTypeExtension`,e.UNION_TYPE_EXTENSION=`UnionTypeExtension`,e.ENUM_TYPE_EXTENSION=`EnumTypeExtension`,e.INPUT_OBJECT_TYPE_EXTENSION=`InputObjectTypeExtension`,e.TYPE_COORDINATE=`TypeCoordinate`,e.MEMBER_COORDINATE=`MemberCoordinate`,e.ARGUMENT_COORDINATE=`ArgumentCoordinate`,e.DIRECTIVE_COORDINATE=`DirectiveCoordinate`,e.DIRECTIVE_ARGUMENT_COORDINATE=`DirectiveArgumentCoordinate`})(q||={})}));function CJ(e){return e===9||e===32}function wJ(e){return e>=48&&e<=57}function TJ(e){return e>=97&&e<=122||e>=65&&e<=90}function EJ(e){return TJ(e)||e===95}function DJ(e){return TJ(e)||wJ(e)||e===95}var OJ=o((()=>{}));function kJ(e){let t=2**53-1,n=null,r=-1;for(let i=0;i<e.length;++i){let a=e[i],o=AJ(a);o!==a.length&&(n??=i,r=i,i!==0&&o<t&&(t=o))}return e.map((e,n)=>n===0?e:e.slice(t)).slice(n??0,r+1)}function AJ(e){let t=0;for(;t<e.length&&CJ(e.charCodeAt(t));)++t;return t}function jJ(e,t){let n=e.replace(/"""/g,`\\"""`),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,a=r.length>1&&r.slice(1).every(e=>e.length===0||CJ(e.charCodeAt(0))),o=n.endsWith(`\\"""`),s=e.endsWith(`"`)&&!o,c=e.endsWith(`\\`),l=s||c,u=!(t!=null&&t.minimize)&&(!i||e.length>70||l||a||o),d=``,f=i&&CJ(e.charCodeAt(0));return(u&&!f||a)&&(d+=`
`),d+=n,(u||l)&&(d+=`
`),`"""`+d+`"""`}var MJ=o((()=>{OJ()})),J,NJ=o((()=>{(function(e){e.SOF=`<SOF>`,e.EOF=`<EOF>`,e.BANG=`!`,e.DOLLAR=`$`,e.AMP=`&`,e.PAREN_L=`(`,e.PAREN_R=`)`,e.DOT=`.`,e.SPREAD=`...`,e.COLON=`:`,e.EQUALS=`=`,e.AT=`@`,e.BRACKET_L=`[`,e.BRACKET_R=`]`,e.BRACE_L=`{`,e.PIPE=`|`,e.BRACE_R=`}`,e.NAME=`Name`,e.INT=`Int`,e.FLOAT=`Float`,e.STRING=`String`,e.BLOCK_STRING=`BlockString`,e.COMMENT=`Comment`})(J||={})}));function PJ(e){return e===J.BANG||e===J.DOLLAR||e===J.AMP||e===J.PAREN_L||e===J.PAREN_R||e===J.DOT||e===J.SPREAD||e===J.COLON||e===J.EQUALS||e===J.AT||e===J.BRACKET_L||e===J.BRACKET_R||e===J.BRACE_L||e===J.PIPE||e===J.BRACE_R}function FJ(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function IJ(e,t){return LJ(e.charCodeAt(t))&&RJ(e.charCodeAt(t+1))}function LJ(e){return e>=55296&&e<=56319}function RJ(e){return e>=56320&&e<=57343}function zJ(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return J.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return e===`"`?`'"'`:`"${e}"`}return`U+`+n.toString(16).toUpperCase().padStart(4,`0`)}function BJ(e,t,n,r,i){let a=e.line,o=1+n-e.lineStart;return new gJ(t,n,r,a,o,i)}function VJ(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return HJ(e,i);case 33:return BJ(e,J.BANG,i,i+1);case 36:return BJ(e,J.DOLLAR,i,i+1);case 38:return BJ(e,J.AMP,i,i+1);case 40:return BJ(e,J.PAREN_L,i,i+1);case 41:return BJ(e,J.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return BJ(e,J.SPREAD,i,i+3);break;case 58:return BJ(e,J.COLON,i,i+1);case 61:return BJ(e,J.EQUALS,i,i+1);case 64:return BJ(e,J.AT,i,i+1);case 91:return BJ(e,J.BRACKET_L,i,i+1);case 93:return BJ(e,J.BRACKET_R,i,i+1);case 123:return BJ(e,J.BRACE_L,i,i+1);case 124:return BJ(e,J.PIPE,i,i+1);case 125:return BJ(e,J.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?ZJ(e,i):GJ(e,i)}if(wJ(t)||t===45)return UJ(e,i,t);if(EJ(t))return QJ(e,i);throw fJ(e.source,i,t===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:FJ(t)||IJ(n,i)?`Unexpected character: ${zJ(e,i)}.`:`Invalid character: ${zJ(e,i)}.`)}return BJ(e,J.EOF,r,r)}function HJ(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(e===10||e===13)break;if(FJ(e))++i;else if(IJ(n,i))i+=2;else break}return BJ(e,J.COMMENT,t,i,n.slice(t+1,i))}function UJ(e,t,n){let r=e.source.body,i=t,a=n,o=!1;if(a===45&&(a=r.charCodeAt(++i)),a===48){if(a=r.charCodeAt(++i),wJ(a))throw fJ(e.source,i,`Invalid number, unexpected digit after 0: ${zJ(e,i)}.`)}else i=WJ(e,i,a),a=r.charCodeAt(i);if(a===46&&(o=!0,a=r.charCodeAt(++i),i=WJ(e,i,a),a=r.charCodeAt(i)),(a===69||a===101)&&(o=!0,a=r.charCodeAt(++i),(a===43||a===45)&&(a=r.charCodeAt(++i)),i=WJ(e,i,a),a=r.charCodeAt(i)),a===46||EJ(a))throw fJ(e.source,i,`Invalid number, expected digit but got: ${zJ(e,i)}.`);return BJ(e,o?J.FLOAT:J.INT,t,i,r.slice(t,i))}function WJ(e,t,n){if(!wJ(n))throw fJ(e.source,t,`Invalid number, expected digit but got: ${zJ(e,t)}.`);let r=e.source.body,i=t+1;for(;wJ(r.charCodeAt(i));)++i;return i}function GJ(e,t){let n=e.source.body,r=n.length,i=t+1,a=i,o=``;for(;i<r;){let r=n.charCodeAt(i);if(r===34)return o+=n.slice(a,i),BJ(e,J.STRING,t,i+1,o);if(r===92){o+=n.slice(a,i);let t=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?KJ(e,i):qJ(e,i):XJ(e,i);o+=t.value,i+=t.size,a=i;continue}if(r===10||r===13)break;if(FJ(r))++i;else if(IJ(n,i))i+=2;else throw fJ(e.source,i,`Invalid character within String: ${zJ(e,i)}.`)}throw fJ(e.source,i,`Unterminated string.`)}function KJ(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(e===125){if(i<5||!FJ(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|YJ(e),r<0)break}throw fJ(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function qJ(e,t){let n=e.source.body,r=JJ(n,t+2);if(FJ(r))return{value:String.fromCodePoint(r),size:6};if(LJ(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){let e=JJ(n,t+8);if(RJ(e))return{value:String.fromCodePoint(r,e),size:12}}throw fJ(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function JJ(e,t){return YJ(e.charCodeAt(t))<<12|YJ(e.charCodeAt(t+1))<<8|YJ(e.charCodeAt(t+2))<<4|YJ(e.charCodeAt(t+3))}function YJ(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function XJ(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:`"`,size:2};case 92:return{value:`\\`,size:2};case 47:return{value:`/`,size:2};case 98:return{value:`\b`,size:2};case 102:return{value:`\f`,size:2};case 110:return{value:`
`,size:2};case 114:return{value:`\r`,size:2};case 116:return{value:`	`,size:2}}throw fJ(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function ZJ(e,t){let n=e.source.body,r=n.length,i=e.lineStart,a=t+3,o=a,s=``,c=[];for(;a<r;){let r=n.charCodeAt(a);if(r===34&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34){s+=n.slice(o,a),c.push(s);let r=BJ(e,J.BLOCK_STRING,t,a+3,kJ(c).join(`
`));return e.line+=c.length-1,e.lineStart=i,r}if(r===92&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34&&n.charCodeAt(a+3)===34){s+=n.slice(o,a),o=a+1,a+=4;continue}if(r===10||r===13){s+=n.slice(o,a),c.push(s),r===13&&n.charCodeAt(a+1)===10?a+=2:++a,s=``,o=a,i=a;continue}if(FJ(r))++a;else if(IJ(n,a))a+=2;else throw fJ(e.source,a,`Invalid character within String: ${zJ(e,a)}.`)}throw fJ(e.source,a,`Unterminated string.`)}function QJ(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r&&DJ(n.charCodeAt(i));)++i;return BJ(e,J.NAME,t,i,n.slice(t,i))}var $J,eY=o((()=>{pJ(),bJ(),MJ(),OJ(),NJ(),$J=class{constructor(e){let t=new gJ(J.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return`Lexer`}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==J.EOF)do if(e.next)e=e.next;else{let t=VJ(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===J.COMMENT);return e}}}));function Y(e){return tY(e,[])}function tY(e,t){switch(typeof e){case`string`:return JSON.stringify(e);case`function`:return e.name?`[function ${e.name}]`:`[function]`;case`object`:return nY(e,t);default:return String(e)}}function nY(e,t){if(e===null)return`null`;if(t.includes(e))return`[Circular]`;let n=[...t,e];if(rY(e)){let t=e.toJSON();if(t!==e)return typeof t==`string`?t:tY(t,n)}else if(Array.isArray(e))return aY(e,n);return iY(e,n)}function rY(e){return typeof e.toJSON==`function`}function iY(e,t){let n=Object.entries(e);return n.length===0?`{}`:t.length>cY?`[`+oY(e)+`]`:`{ `+n.map(([e,n])=>e+`: `+tY(n,t)).join(`, `)+` }`}function aY(e,t){if(e.length===0)return`[]`;if(t.length>cY)return`[Array]`;let n=Math.min(sY,e.length),r=e.length-n,i=[];for(let r=0;r<n;++r)i.push(tY(e[r],t));return r===1?i.push(`... 1 more item`):r>1&&i.push(`... ${r} more items`),`[`+i.join(`, `)+`]`}function oY(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,``).replace(/]$/,``);if(t===`Object`&&typeof e.constructor==`function`){let t=e.constructor.name;if(typeof t==`string`&&t!==``)return t}return t}var sY,cY,lY=o((()=>{sY=10,cY=2})),uY,dY,fY=o((()=>{lY(),uY=globalThis.process&&!0,dY=uY?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e==`object`&&e){let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:e.constructor?.name)){let t=Y(e);throw Error(`Cannot use ${n} "${t}" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.`)}}return!1}}));function pY(e){return dY(e,mY)}var mY,hY=o((()=>{Zq(),lY(),fY(),mY=class{constructor(e,t=`GraphQL request`,n={line:1,column:1}){typeof e==`string`||Xq(!1,`Body must be a string. Received: ${Y(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Xq(!1,`line in locationOffset is 1-indexed and must be positive.`),this.locationOffset.column>0||Xq(!1,`column in locationOffset is 1-indexed and must be positive.`)}get[Symbol.toStringTag](){return`Source`}}}));function gY(e,t){let n=new yY(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function _Y(e){let t=e.value;return vY(e.kind)+(t==null?``:` "${t}"`)}function vY(e){return PJ(e)?`"${e}"`:e}var yY,bY=o((()=>{pJ(),bJ(),xJ(),SJ(),eY(),hY(),NJ(),yY=class{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=pY(e)?e:new mY(e);this._lexer=new $J(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(J.NAME);return this.node(e,{kind:q.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:q.DOCUMENT,definitions:this.many(J.SOF,this.parseDefinition,J.EOF)})}parseDefinition(){if(this.peek(J.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===J.BRACE_L)throw fJ(this._lexer.source,this._lexer.token.start,`Unexpected description, descriptions are not supported on shorthand queries.`);if(t.kind===J.NAME){switch(t.value){case`schema`:return this.parseSchemaDefinition();case`scalar`:return this.parseScalarTypeDefinition();case`type`:return this.parseObjectTypeDefinition();case`interface`:return this.parseInterfaceTypeDefinition();case`union`:return this.parseUnionTypeDefinition();case`enum`:return this.parseEnumTypeDefinition();case`input`:return this.parseInputObjectTypeDefinition();case`directive`:return this.parseDirectiveDefinition()}switch(t.value){case`query`:case`mutation`:case`subscription`:return this.parseOperationDefinition();case`fragment`:return this.parseFragmentDefinition()}if(e)throw fJ(this._lexer.source,this._lexer.token.start,`Unexpected description, only GraphQL definitions support descriptions.`);if(t.value===`extend`)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(J.BRACE_L))return this.node(e,{kind:q.OPERATION_DEFINITION,operation:yJ.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseDescription(),n=this.parseOperationType(),r;return this.peek(J.NAME)&&(r=this.parseName()),this.node(e,{kind:q.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(J.NAME);switch(e.value){case`query`:return yJ.QUERY;case`mutation`:return yJ.MUTATION;case`subscription`:return yJ.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(J.PAREN_L,this.parseVariableDefinition,J.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:q.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(J.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(J.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(J.DOLLAR),this.node(e,{kind:q.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:q.SELECTION_SET,selections:this.many(J.BRACE_L,this.parseSelection,J.BRACE_R)})}parseSelection(){return this.peek(J.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(J.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:q.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(J.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(J.PAREN_L,t,J.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(J.COLON),this.node(t,{kind:q.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(J.SPREAD);let t=this.expectOptionalKeyword(`on`);return!t&&this.peek(J.NAME)?this.node(e,{kind:q.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:q.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return this.expectKeyword(`fragment`),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:q.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:q.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value===`on`)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case J.BRACKET_L:return this.parseList(e);case J.BRACE_L:return this.parseObject(e);case J.INT:return this.advanceLexer(),this.node(t,{kind:q.INT,value:t.value});case J.FLOAT:return this.advanceLexer(),this.node(t,{kind:q.FLOAT,value:t.value});case J.STRING:case J.BLOCK_STRING:return this.parseStringLiteral();case J.NAME:switch(this.advanceLexer(),t.value){case`true`:return this.node(t,{kind:q.BOOLEAN,value:!0});case`false`:return this.node(t,{kind:q.BOOLEAN,value:!1});case`null`:return this.node(t,{kind:q.NULL});default:return this.node(t,{kind:q.ENUM,value:t.value})}case J.DOLLAR:if(e){if(this.expectToken(J.DOLLAR),this._lexer.token.kind===J.NAME){let e=this._lexer.token.value;throw fJ(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:q.STRING,value:e.value,block:e.kind===J.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:q.LIST,values:this.any(J.BRACKET_L,()=>this.parseValueLiteral(e),J.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:q.OBJECT,fields:this.any(J.BRACE_L,()=>this.parseObjectField(e),J.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(J.COLON),this.node(t,{kind:q.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(J.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(J.AT),this.node(t,{kind:q.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(J.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(J.BRACKET_R),t=this.node(e,{kind:q.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(J.BANG)?this.node(e,{kind:q.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:q.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(J.STRING)||this.peek(J.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`schema`);let n=this.parseConstDirectives(),r=this.many(J.BRACE_L,this.parseOperationTypeDefinition,J.BRACE_R);return this.node(e,{kind:q.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(J.COLON);let n=this.parseNamedType();return this.node(e,{kind:q.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`scalar`);let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:q.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`type`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:q.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword(`implements`)?this.delimitedMany(J.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(J.BRACE_L,this.parseFieldDefinition,J.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(J.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:q.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(J.PAREN_L,this.parseInputValueDef,J.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(J.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(J.EQUALS)&&(i=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(e,{kind:q.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`interface`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:q.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`union`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:q.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(J.EQUALS)?this.delimitedMany(J.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`enum`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:q.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(J.BRACE_L,this.parseEnumValueDefinition,J.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:q.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value===`true`||this._lexer.token.value===`false`||this._lexer.token.value===`null`)throw fJ(this._lexer.source,this._lexer.token.start,`${_Y(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`input`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:q.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(J.BRACE_L,this.parseInputValueDef,J.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===J.NAME)switch(e.value){case`schema`:return this.parseSchemaExtension();case`scalar`:return this.parseScalarTypeExtension();case`type`:return this.parseObjectTypeExtension();case`interface`:return this.parseInterfaceTypeExtension();case`union`:return this.parseUnionTypeExtension();case`enum`:return this.parseEnumTypeExtension();case`input`:return this.parseInputObjectTypeExtension();case`directive`:if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`schema`);let t=this.parseConstDirectives(),n=this.optionalMany(J.BRACE_L,this.parseOperationTypeDefinition,J.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:q.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`scalar`);let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:q.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`type`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:q.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`interface`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:q.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`union`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:q.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`enum`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:q.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`input`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:q.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`directive`),this.expectToken(J.AT);let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:q.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`directive`),this.expectToken(J.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],a=this.expectOptionalKeyword(`repeatable`);this.expectKeyword(`on`);let o=this.parseDirectiveLocations();return this.node(e,{kind:q.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:i,repeatable:a,locations:o})}parseDirectiveLocations(){return this.delimitedMany(J.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(K,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e=this._lexer.token,t=this.expectOptionalToken(J.AT),n=this.parseName(),r;!t&&this.expectOptionalToken(J.DOT)&&(r=this.parseName());let i;return(t||r)&&this.expectOptionalToken(J.PAREN_L)&&(i=this.parseName(),this.expectToken(J.COLON),this.expectToken(J.PAREN_R)),t?i?this.node(e,{kind:q.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:i}):this.node(e,{kind:q.DIRECTIVE_COORDINATE,name:n}):r?i?this.node(e,{kind:q.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:i}):this.node(e,{kind:q.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:q.TYPE_COORDINATE,name:n})}node(e,t){return this._options.noLocation!==!0&&(t.loc=new hJ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw fJ(this._lexer.source,t.start,`Expected ${vY(e)}, found ${_Y(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===J.NAME&&t.value===e)this.advanceLexer();else throw fJ(this._lexer.source,t.start,`Expected "${e}", found ${_Y(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===J.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return fJ(this._lexer.source,t.start,`Unexpected ${_Y(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==J.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw fJ(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}}));function xY(e,t){let[n,r]=t?[e,t]:[void 0,e],i=` Did you mean `;n&&(i+=n+` `);let a=r.map(e=>`"${e}"`);switch(a.length){case 0:return``;case 1:return i+a[0]+`?`;case 2:return i+a[0]+` or `+a[1]+`?`}let o=a.slice(0,SY),s=o.pop();return i+o.join(`, `)+`, or `+s+`?`}var SY,CY=o((()=>{SY=5}));function wY(e){return e}var TY=o((()=>{}));function EY(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}var DY=o((()=>{}));function OY(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}var kY=o((()=>{}));function AY(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}var jY=o((()=>{}));function MY(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),a=t.charCodeAt(r);if(NY(i)&&NY(a)){let o=0;do++n,o=o*10+i-PY,i=e.charCodeAt(n);while(NY(i)&&o>0);let s=0;do++r,s=s*10+a-PY,a=t.charCodeAt(r);while(NY(a)&&s>0);if(o<s)return-1;if(o>s)return 1}else{if(i<a)return-1;if(i>a)return 1;++n,++r}}return e.length-t.length}function NY(e){return!isNaN(e)&&PY<=e&&e<=FY}var PY,FY,IY=o((()=>{PY=48,FY=57}));function LY(e,t){let n=Object.create(null),r=new zY(e),i=Math.floor(e.length*.4)+1;for(let e of t){let t=r.measure(e,i);t!==void 0&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let r=n[e]-n[t];return r===0?MY(e,t):r})}function RY(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}var zY,BY=o((()=>{IY(),zY=class{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=RY(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=RY(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let a=r.length,o=i.length;if(a-o>t)return;let s=this._rows;for(let e=0;e<=o;e++)s[0][e]=e;for(let e=1;e<=a;e++){let n=s[(e-1)%3],a=s[e%3],c=a[0]=e;for(let t=1;t<=o;t++){let o=r[e-1]===i[t-1]?0:1,l=Math.min(n[t]+1,a[t-1]+1,n[t-1]+o);if(e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]){let n=s[(e-2)%3][t-2];l=Math.min(l,n+1)}l<c&&(c=l),a[t]=l}if(c>t)return}let c=s[a%3][o];return c<=t?c:void 0}}}));function VY(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}var HY=o((()=>{}));function UY(e){return`"${e.replace(GY,WY)}"`}function WY(e){return KY[e.charCodeAt(0)]}var GY,KY,qY=o((()=>{GY=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g,KY=`\\u0000.\\u0001.\\u0002.\\u0003.\\u0004.\\u0005.\\u0006.\\u0007.\\b.\\t.\\n.\\u000B.\\f.\\r.\\u000E.\\u000F.\\u0010.\\u0011.\\u0012.\\u0013.\\u0014.\\u0015.\\u0016.\\u0017.\\u0018.\\u0019.\\u001A.\\u001B.\\u001C.\\u001D.\\u001E.\\u001F...\\"..........................................................\\\\...................................\\u007F.\\u0080.\\u0081.\\u0082.\\u0083.\\u0084.\\u0085.\\u0086.\\u0087.\\u0088.\\u0089.\\u008A.\\u008B.\\u008C.\\u008D.\\u008E.\\u008F.\\u0090.\\u0091.\\u0092.\\u0093.\\u0094.\\u0095.\\u0096.\\u0097.\\u0098.\\u0099.\\u009A.\\u009B.\\u009C.\\u009D.\\u009E.\\u009F`.split(`.`)}));function JY(e,t,n=_J){let r=new Map;for(let e of Object.values(q))r.set(e,XY(t,e));let i,a=Array.isArray(e),o=[e],s=-1,c=[],l=e,u,d,f=[],p=[];do{s++;let e=s===o.length,m=e&&c.length!==0;if(e){if(u=p.length===0?void 0:f[f.length-1],l=d,d=p.pop(),m){if(a){l=l.slice();let e=0;for(let[t,n]of c){let r=t-e;n===null?(l.splice(r,1),e++):l[r]=n}}else{l={...l};for(let[e,t]of c)l[e]=t}}s=i.index,o=i.keys,c=i.edits,a=i.inArray,i=i.prev}else if(d){if(u=a?s:o[s],l=d[u],l==null)continue;f.push(u)}let h;if(!Array.isArray(l)){if(mJ(l)||Xq(!1,`Invalid AST Node: ${Y(l)}.`),h=(e?r.get(l.kind)?.leave:r.get(l.kind)?.enter)?.call(t,l,u,d,f,p),h===ZY)break;if(h===!1){if(!e){f.pop();continue}}else if(h!==void 0&&(c.push([u,h]),!e)){if(mJ(h))l=h;else{f.pop();continue}}}h===void 0&&m&&c.push([u,l]),e?f.pop():(i={inArray:a,index:s,keys:o,edits:c,prev:i},a=Array.isArray(l),o=a?l:n[l.kind]??[],s=-1,c=[],d&&p.push(d),d=l)}while(i!==void 0);return c.length===0?e:c[c.length-1][1]}function YY(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(q)){let i=!1,a=Array(e.length).fill(void 0),o=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=XY(e[t],r);i||=n!=null||s!=null,a[t]=n,o[t]=s}i&&(n[r]={enter(...n){let r=n[0];for(let i=0;i<e.length;i++)if(t[i]===null){let o=a[i]?.apply(e[i],n);if(o===!1)t[i]=r;else if(o===ZY)t[i]=ZY;else if(o!==void 0)return o}},leave(...n){let r=n[0];for(let i=0;i<e.length;i++)if(t[i]===null){let r=o[i]?.apply(e[i],n);if(r===ZY)t[i]=ZY;else if(r!==void 0&&r!==!1)return r}else t[i]===r&&(t[i]=null)}})}return n}function XY(e,t){let n=e[t];return typeof n==`object`?n:typeof n==`function`?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}var ZY,QY=o((()=>{Zq(),lY(),bJ(),SJ(),ZY=Object.freeze({})}));function $Y(e){return JY(e,aX)}function X(e,t=``){return e?.filter(e=>e).join(t)??``}function eX(e){return tX(`{
`,nX(X(e,`
`)),`
}`)}function tX(e,t,n=``){return t!=null&&t!==``?e+t+n:``}function nX(e){return tX(`  `,e.replace(/\n/g,`
  `))}function rX(e){return e?.some(e=>e.includes(`
`))??!1}var iX,aX,oX=o((()=>{MJ(),qY(),QY(),iX=80,aX={Name:{leave:e=>e.value},Variable:{leave:e=>`$`+e.name},Document:{leave:e=>X(e.definitions,`

`)},OperationDefinition:{leave(e){let t=rX(e.variableDefinitions)?tX(`(
`,X(e.variableDefinitions,`
`),`
)`):tX(`(`,X(e.variableDefinitions,`, `),`)`),n=tX(``,e.description,`
`)+X([e.operation,X([e.name,t]),X(e.directives,` `)],` `);return(n===`query`?``:n+` `)+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>tX(``,i,`
`)+e+`: `+t+tX(` = `,n)+tX(` `,X(r,` `))},SelectionSet:{leave:({selections:e})=>eX(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let a=tX(``,e,`: `)+t,o=a+tX(`(`,X(n,`, `),`)`);return o.length>iX&&(o=a+tX(`(
`,nX(X(n,`
`)),`
)`)),X([o,X(r,` `),i],` `)}},Argument:{leave:({name:e,value:t})=>e+`: `+t},FragmentSpread:{leave:({name:e,directives:t})=>`...`+e+tX(` `,X(t,` `))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>X([`...`,tX(`on `,e),X(t,` `),n],` `)},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:a})=>tX(``,a,`
`)+`fragment ${e}${tX(`(`,X(n,`, `),`)`)} on ${t} ${tX(``,X(r,` `),` `)}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?jJ(e):UY(e)},BooleanValue:{leave:({value:e})=>e?`true`:`false`},NullValue:{leave:()=>`null`},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>`[`+X(e,`, `)+`]`},ObjectValue:{leave:({fields:e})=>`{`+X(e,`, `)+`}`},ObjectField:{leave:({name:e,value:t})=>e+`: `+t},Directive:{leave:({name:e,arguments:t})=>`@`+e+tX(`(`,X(t,`, `),`)`)},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>`[`+e+`]`},NonNullType:{leave:({type:e})=>e+`!`},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>tX(``,e,`
`)+X([`schema`,X(t,` `),eX(n)],` `)},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+`: `+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>tX(``,e,`
`)+X([`scalar`,t,X(n,` `)],` `)},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>tX(``,e,`
`)+X([`type`,t,tX(`implements `,X(n,` & `)),X(r,` `),eX(i)],` `)},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>tX(``,e,`
`)+t+(rX(n)?tX(`(
`,nX(X(n,`
`)),`
)`):tX(`(`,X(n,`, `),`)`))+`: `+r+tX(` `,X(i,` `))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>tX(``,e,`
`)+X([t+`: `+n,tX(`= `,r),X(i,` `)],` `)},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>tX(``,e,`
`)+X([`interface`,t,tX(`implements `,X(n,` & `)),X(r,` `),eX(i)],` `)},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>tX(``,e,`
`)+X([`union`,t,X(n,` `),tX(`= `,X(r,` | `))],` `)},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>tX(``,e,`
`)+X([`enum`,t,X(n,` `),eX(r)],` `)},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>tX(``,e,`
`)+X([t,X(n,` `)],` `)},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>tX(``,e,`
`)+X([`input`,t,X(n,` `),eX(r)],` `)},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:i,locations:a})=>tX(``,e,`
`)+`directive @`+t+(rX(n)?tX(`(
`,nX(X(n,`
`)),`
)`):tX(`(`,X(n,`, `),`)`))+tX(` `,X(r,` `))+(i?` repeatable`:``)+` on `+X(a,` | `)},SchemaExtension:{leave:({directives:e,operationTypes:t})=>X([`extend schema`,X(e,` `),eX(t)],` `)},ScalarTypeExtension:{leave:({name:e,directives:t})=>X([`extend scalar`,e,X(t,` `)],` `)},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>X([`extend type`,e,tX(`implements `,X(t,` & `)),X(n,` `),eX(r)],` `)},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>X([`extend interface`,e,tX(`implements `,X(t,` & `)),X(n,` `),eX(r)],` `)},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>X([`extend union`,e,X(t,` `),tX(`= `,X(n,` | `))],` `)},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>X([`extend enum`,e,X(t,` `),eX(n)],` `)},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>X([`extend input`,e,X(t,` `),eX(n)],` `)},DirectiveExtension:{leave:({name:e,directives:t})=>X([`extend directive @`+e,X(t,` `)],` `)},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>X([e,tX(`.`,t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>X([e,tX(`.`,t),tX(`(`,n,`:)`)])},DirectiveCoordinate:{leave:({name:e})=>X([`@`,e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>X([`@`,e,tX(`(`,t,`:)`)])}}}));function sX(e,t){switch(e.kind){case q.NULL:return null;case q.INT:return parseInt(e.value,10);case q.FLOAT:return parseFloat(e.value);case q.STRING:case q.ENUM:case q.BOOLEAN:return e.value;case q.LIST:return e.values.map(e=>sX(e,t));case q.OBJECT:return OY(e.fields,e=>e.name.value,e=>sX(e.value,t));case q.VARIABLE:return t?.[e.name.value]}}var cX=o((()=>{kY(),SJ()}));function lX(e){if(e??Xq(!1,`Must provide name.`),typeof e==`string`||Xq(!1,`Expected name to be a string.`),e.length===0)throw new G(`Expected name to be a non-empty string.`);for(let t=1;t<e.length;++t)if(!DJ(e.charCodeAt(t)))throw new G(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!EJ(e.charCodeAt(0)))throw new G(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function uX(e){if(e===`true`||e===`false`||e===`null`)throw new G(`Enum values cannot be named: ${e}`);return lX(e)}var dX=o((()=>{Zq(),dJ(),OJ()}));function fX(e){return pX(e)||mX(e)||hX(e)||gX(e)||_X(e)||vX(e)||yX(e)||bX(e)}function pX(e){return dY(e,GX)}function mX(e){return dY(e,KX)}function hX(e){return dY(e,qX)}function gX(e){return dY(e,JX)}function _X(e){return dY(e,YX)}function vX(e){return dY(e,XX)}function yX(e){return dY(e,UX)}function bX(e){return dY(e,WX)}function xX(e){return pX(e)||_X(e)||vX(e)||TX(e)&&xX(e.ofType)}function SX(e){return pX(e)||_X(e)}function CX(e){return mX(e)||hX(e)||gX(e)}function wX(e){return hX(e)||gX(e)}function TX(e){return yX(e)||bX(e)}function EX(e){return fX(e)&&!bX(e)}function DX(e){if(e)return bX(e)?e.ofType:e}function OX(e){if(e){let t=e;for(;TX(t);)t=t.ofType;return t}}function kX(e){return typeof e==`function`?e():e}function AX(e){return typeof e==`function`?e():e}function jX(e){let t=kX(e.interfaces??[]);return Array.isArray(t)||Xq(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),t}function MX(e){let t=AX(e.fields);return PX(t)||Xq(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),AY(t,(t,n)=>{PX(t)||Xq(!1,`${e.name}.${n} field config must be an object.`),t.resolve==null||typeof t.resolve==`function`||Xq(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${Y(t.resolve)}.`);let r=t.args??{};return PX(r)||Xq(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:lX(n),description:t.description,type:t.type,args:NX(r),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:VY(t.extensions),astNode:t.astNode}})}function NX(e){return Object.entries(e).map(([e,t])=>({name:lX(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:VY(t.extensions),astNode:t.astNode}))}function PX(e){return Qq(e)&&!Array.isArray(e)}function FX(e){return AY(e,e=>({description:e.description,type:e.type,args:IX(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function IX(e){return OY(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function LX(e){return bX(e.type)&&e.defaultValue===void 0}function RX(e){let t=kX(e.types);return Array.isArray(t)||Xq(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}function zX(e,t){return xY(`the enum value`,LY(t,e.getValues().map(e=>e.name)))}function BX(e,t){return PX(t)||Xq(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,n])=>(PX(n)||Xq(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${Y(n)}.`),{name:uX(t),description:n.description,value:n.value===void 0?t:n.value,deprecationReason:n.deprecationReason,extensions:VY(n.extensions),astNode:n.astNode}))}function VX(e){let t=AX(e.fields);return PX(t)||Xq(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),AY(t,(t,n)=>(!(`resolve`in t)||Xq(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:lX(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:VY(t.extensions),astNode:t.astNode}))}function HX(e){return bX(e.type)&&e.defaultValue===void 0}var UX,WX,GX,KX,qX,JX,YX,XX,ZX=o((()=>{Zq(),CY(),TY(),lY(),fY(),$q(),DY(),kY(),jY(),BY(),HY(),dJ(),SJ(),oX(),cX(),dX(),UX=class{constructor(e){fX(e)||Xq(!1,`Expected ${Y(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return`GraphQLList`}toString(){return`[`+String(this.ofType)+`]`}toJSON(){return this.toString()}},WX=class{constructor(e){EX(e)||Xq(!1,`Expected ${Y(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return`GraphQLNonNull`}toString(){return String(this.ofType)+`!`}toJSON(){return this.toString()}},GX=class{constructor(e){let t=e.parseValue??wY;this.name=lX(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=e.serialize??wY,this.parseValue=t,this.parseLiteral=e.parseLiteral??((e,n)=>t(sX(e,n))),this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],e.specifiedByURL==null||typeof e.specifiedByURL==`string`||Xq(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${Y(e.specifiedByURL)}.`),e.serialize==null||typeof e.serialize==`function`||Xq(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&(typeof e.parseValue==`function`&&typeof e.parseLiteral==`function`||Xq(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return`GraphQLScalarType`}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},KX=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this._fields=()=>MX(e),this._interfaces=()=>jX(e),e.isTypeOf==null||typeof e.isTypeOf==`function`||Xq(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${Y(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return`GraphQLObjectType`}getFields(){return typeof this._fields==`function`&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces==`function`&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:FX(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},qX=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this._fields=MX.bind(void 0,e),this._interfaces=jX.bind(void 0,e),e.resolveType==null||typeof e.resolveType==`function`||Xq(!1,`${this.name} must provide "resolveType" as a function, but got: ${Y(e.resolveType)}.`)}get[Symbol.toStringTag](){return`GraphQLInterfaceType`}getFields(){return typeof this._fields==`function`&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces==`function`&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:FX(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},JX=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this._types=RX.bind(void 0,e),e.resolveType==null||typeof e.resolveType==`function`||Xq(!1,`${this.name} must provide "resolveType" as a function, but got: ${Y(e.resolveType)}.`)}get[Symbol.toStringTag](){return`GraphQLUnionType`}getTypes(){return typeof this._types==`function`&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},YX=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this._values=typeof e.values==`function`?e.values:BX(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return`GraphQLEnumType`}getValues(){return typeof this._values==`function`&&(this._values=BX(this.name,this._values())),this._values}getValue(e){return this._nameLookup===null&&(this._nameLookup=EY(this.getValues(),e=>e.name)),this._nameLookup[e]}serialize(e){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(e=>[e.value,e])));let t=this._valueLookup.get(e);if(t===void 0)throw new G(`Enum "${this.name}" cannot represent value: ${Y(e)}`);return t.name}parseValue(e){if(typeof e!=`string`){let t=Y(e);throw new G(`Enum "${this.name}" cannot represent non-string value: ${t}.`+zX(this,t))}let t=this.getValue(e);if(t==null)throw new G(`Value "${e}" does not exist in "${this.name}" enum.`+zX(this,e));return t.value}parseLiteral(e,t){if(e.kind!==q.ENUM){let t=$Y(e);throw new G(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+zX(this,t),{nodes:e})}let n=this.getValue(e.value);if(n==null){let t=$Y(e);throw new G(`Value "${t}" does not exist in "${this.name}" enum.`+zX(this,t),{nodes:e})}return n.value}toConfig(){let e=OY(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},XX=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this.isOneOf=e.isOneOf??!1,this._fields=VX.bind(void 0,e)}get[Symbol.toStringTag](){return`GraphQLInputObjectType`}getFields(){return typeof this._fields==`function`&&(this._fields=this._fields()),this._fields}toConfig(){let e=AY(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}}));function QX(e,t,n){return t===n?!0:bX(n)?bX(t)?QX(e,t.ofType,n.ofType):!1:bX(t)?QX(e,t.ofType,n):yX(n)?yX(t)?QX(e,t.ofType,n.ofType):!1:!yX(t)&&wX(n)&&(hX(t)||mX(t))&&e.isSubType(n,t)}function $X(e,t,n){return t===n?!0:wX(t)?wX(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):wX(n)?e.isSubType(n,t):!1}var eZ=o((()=>{ZX()}));function tZ(e){return cZ.some(({name:t})=>e.name===t)}function nZ(e){if(Qq(e)){if(typeof e.valueOf==`function`){let t=e.valueOf();if(!Qq(t))return t}if(typeof e.toJSON==`function`)return e.toJSON()}return e}var rZ,iZ,aZ,oZ,sZ,cZ,lZ=o((()=>{lY(),$q(),dJ(),SJ(),oX(),ZX(),rZ=new GX({name:`Int`,description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=nZ(e);if(typeof t==`boolean`)return+!!t;let n=t;if(typeof t==`string`&&t!==``&&(n=Number(t)),typeof n!=`number`||!Number.isInteger(n))throw new G(`Int cannot represent non-integer value: ${Y(t)}`);if(n>2147483647||n<-2147483648)throw new G(`Int cannot represent non 32-bit signed integer value: `+Y(t));return n},parseValue(e){if(typeof e!=`number`||!Number.isInteger(e))throw new G(`Int cannot represent non-integer value: ${Y(e)}`);if(e>2147483647||e<-2147483648)throw new G(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==q.INT)throw new G(`Int cannot represent non-integer value: ${$Y(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new G(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),iZ=new GX({name:`Float`,description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=nZ(e);if(typeof t==`boolean`)return+!!t;let n=t;if(typeof t==`string`&&t!==``&&(n=Number(t)),typeof n!=`number`||!Number.isFinite(n))throw new G(`Float cannot represent non numeric value: ${Y(t)}`);return n},parseValue(e){if(typeof e!=`number`||!Number.isFinite(e))throw new G(`Float cannot represent non numeric value: ${Y(e)}`);return e},parseLiteral(e){if(e.kind!==q.FLOAT&&e.kind!==q.INT)throw new G(`Float cannot represent non numeric value: ${$Y(e)}`,e);return parseFloat(e.value)}}),aZ=new GX({name:`String`,description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=nZ(e);if(typeof t==`string`)return t;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`number`&&Number.isFinite(t))return t.toString();throw new G(`String cannot represent value: ${Y(e)}`)},parseValue(e){if(typeof e!=`string`)throw new G(`String cannot represent a non string value: ${Y(e)}`);return e},parseLiteral(e){if(e.kind!==q.STRING)throw new G(`String cannot represent a non string value: ${$Y(e)}`,{nodes:e});return e.value}}),oZ=new GX({name:`Boolean`,description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=nZ(e);if(typeof t==`boolean`)return t;if(Number.isFinite(t))return t!==0;throw new G(`Boolean cannot represent a non boolean value: ${Y(t)}`)},parseValue(e){if(typeof e!=`boolean`)throw new G(`Boolean cannot represent a non boolean value: ${Y(e)}`);return e},parseLiteral(e){if(e.kind!==q.BOOLEAN)throw new G(`Boolean cannot represent a non boolean value: ${$Y(e)}`,{nodes:e});return e.value}}),sZ=new GX({name:`ID`,description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=nZ(e);if(typeof t==`string`)return t;if(Number.isInteger(t))return String(t);throw new G(`ID cannot represent value: ${Y(e)}`)},parseValue(e){if(typeof e==`string`)return e;if(typeof e==`number`&&Number.isInteger(e))return e.toString();throw new G(`ID cannot represent value: ${Y(e)}`)},parseLiteral(e){if(e.kind!==q.STRING&&e.kind!==q.INT)throw new G(`ID cannot represent a non-string and non-integer value: `+$Y(e),{nodes:e});return e.value}}),cZ=Object.freeze([aZ,rZ,iZ,oZ,sZ])}));function uZ(e){return dY(e,dZ)}var dZ,fZ,pZ,mZ,hZ,gZ,_Z,vZ,yZ=o((()=>{Zq(),fY(),$q(),HY(),xJ(),dX(),ZX(),lZ(),dZ=class{constructor(e){this.name=lX(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=e.isRepeatable??!1,this.deprecationReason=e.deprecationReason,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],Array.isArray(e.locations)||Xq(!1,`@${e.name} locations must be an Array.`);let t=e.args??{};Qq(t)&&!Array.isArray(t)||Xq(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=NX(t)}get[Symbol.toStringTag](){return`GraphQLDirective`}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:IX(this.args),isRepeatable:this.isRepeatable,deprecationReason:this.deprecationReason,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return`@`+this.name}toJSON(){return this.toString()}},fZ=new dZ({name:`include`,description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[K.FIELD,K.FRAGMENT_SPREAD,K.INLINE_FRAGMENT],args:{if:{type:new WX(oZ),description:`Included when true.`}}}),pZ=new dZ({name:`skip`,description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[K.FIELD,K.FRAGMENT_SPREAD,K.INLINE_FRAGMENT],args:{if:{type:new WX(oZ),description:`Skipped when true.`}}}),mZ=`No longer supported`,hZ=new dZ({name:`deprecated`,description:`Marks an element of a GraphQL schema as no longer supported.`,locations:[K.FIELD_DEFINITION,K.ARGUMENT_DEFINITION,K.INPUT_FIELD_DEFINITION,K.ENUM_VALUE,K.DIRECTIVE_DEFINITION],args:{reason:{type:aZ,description:`Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).`,defaultValue:mZ}}}),gZ=new dZ({name:`specifiedBy`,description:`Exposes a URL that specifies the behavior of this scalar.`,locations:[K.SCALAR],args:{url:{type:new WX(aZ),description:`The URL that specifies the behavior of this scalar.`}}}),_Z=new dZ({name:`oneOf`,description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[K.INPUT_OBJECT],args:{}}),vZ=Object.freeze([fZ,pZ,hZ,gZ,_Z])}));function bZ(e){return typeof e==`object`&&typeof e?.[Symbol.iterator]==`function`}var xZ=o((()=>{}));function SZ(e,t){if(bX(t)){let n=SZ(e,t.ofType);return n?.kind===q.NULL?null:n}if(e===null)return{kind:q.NULL};if(e===void 0)return null;if(yX(t)){let n=t.ofType;if(bZ(e)){let t=[];for(let r of e){let e=SZ(r,n);e!=null&&t.push(e)}return{kind:q.LIST,values:t}}return SZ(e,n)}if(vX(t)){if(!Qq(e))return null;let n=[];for(let r of Object.values(t.getFields())){let t=SZ(e[r.name],r.type);t&&n.push({kind:q.OBJECT_FIELD,name:{kind:q.NAME,value:r.name},value:t})}return{kind:q.OBJECT,fields:n}}if(SX(t)){let n=t.serialize(e);if(n==null)return null;if(typeof n==`boolean`)return{kind:q.BOOLEAN,value:n};if(typeof n==`number`&&Number.isFinite(n)){let e=String(n);return CZ.test(e)?{kind:q.INT,value:e}:{kind:q.FLOAT,value:e}}if(typeof n==`string`)return _X(t)?{kind:q.ENUM,value:n}:t===sZ&&CZ.test(n)?{kind:q.INT,value:n}:{kind:q.STRING,value:n};throw TypeError(`Cannot convert value to AST: ${Y(n)}.`)}eJ(!1,`Unexpected input type: `+Y(t))}var CZ,wZ=o((()=>{lY(),tJ(),xZ(),$q(),SJ(),ZX(),lZ(),CZ=/^-?(?:0|[1-9][0-9]*)$/}));function TZ(e){return FZ.some(({name:t})=>e.name===t)}var EZ,DZ,OZ,kZ,AZ,jZ,MZ,NZ,PZ,FZ,IZ=o((()=>{lY(),tJ(),xJ(),oX(),wZ(),ZX(),lZ(),EZ=new KX({name:`__Schema`,description:`A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.`,fields:()=>({description:{type:aZ,resolve:e=>e.description},types:{description:`A list of all types supported by this server.`,type:new WX(new UX(new WX(kZ))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:`The type that query operations will be rooted at.`,type:new WX(kZ),resolve:e=>e.getQueryType()},mutationType:{description:`If this server supports mutation, the type that mutation operations will be rooted at.`,type:kZ,resolve:e=>e.getMutationType()},subscriptionType:{description:`If this server support subscription, the type that subscription operations will be rooted at.`,type:kZ,resolve:e=>e.getSubscriptionType()},directives:{description:`A list of all directives supported by this server.`,type:new WX(new UX(new WX(DZ))),args:{includeDeprecated:{type:new WX(oZ),defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.getDirectives():e.getDirectives().filter(e=>e.deprecationReason==null)}})}),DZ=new KX({name:`__Directive`,description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.

In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new WX(aZ),resolve:e=>e.name},description:{type:aZ,resolve:e=>e.description},isRepeatable:{type:new WX(oZ),resolve:e=>e.isRepeatable},locations:{type:new WX(new UX(new WX(OZ))),resolve:e=>e.locations},args:{type:new WX(new UX(new WX(jZ))),args:{includeDeprecated:{type:oZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(e=>e.deprecationReason==null)}},isDeprecated:{type:new WX(oZ),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:aZ,resolve:e=>e.deprecationReason}})}),OZ=new YX({name:`__DirectiveLocation`,description:`A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.`,values:{QUERY:{value:K.QUERY,description:`Location adjacent to a query operation.`},MUTATION:{value:K.MUTATION,description:`Location adjacent to a mutation operation.`},SUBSCRIPTION:{value:K.SUBSCRIPTION,description:`Location adjacent to a subscription operation.`},FIELD:{value:K.FIELD,description:`Location adjacent to a field.`},FRAGMENT_DEFINITION:{value:K.FRAGMENT_DEFINITION,description:`Location adjacent to a fragment definition.`},FRAGMENT_SPREAD:{value:K.FRAGMENT_SPREAD,description:`Location adjacent to a fragment spread.`},INLINE_FRAGMENT:{value:K.INLINE_FRAGMENT,description:`Location adjacent to an inline fragment.`},VARIABLE_DEFINITION:{value:K.VARIABLE_DEFINITION,description:`Location adjacent to a variable definition.`},SCHEMA:{value:K.SCHEMA,description:`Location adjacent to a schema definition.`},SCALAR:{value:K.SCALAR,description:`Location adjacent to a scalar definition.`},OBJECT:{value:K.OBJECT,description:`Location adjacent to an object type definition.`},FIELD_DEFINITION:{value:K.FIELD_DEFINITION,description:`Location adjacent to a field definition.`},ARGUMENT_DEFINITION:{value:K.ARGUMENT_DEFINITION,description:`Location adjacent to an argument definition.`},INTERFACE:{value:K.INTERFACE,description:`Location adjacent to an interface definition.`},UNION:{value:K.UNION,description:`Location adjacent to a union definition.`},ENUM:{value:K.ENUM,description:`Location adjacent to an enum definition.`},ENUM_VALUE:{value:K.ENUM_VALUE,description:`Location adjacent to an enum value definition.`},INPUT_OBJECT:{value:K.INPUT_OBJECT,description:`Location adjacent to an input object type definition.`},INPUT_FIELD_DEFINITION:{value:K.INPUT_FIELD_DEFINITION,description:`Location adjacent to an input object field definition.`},DIRECTIVE_DEFINITION:{value:K.DIRECTIVE_DEFINITION,description:`Location adjacent to a directive definition.`}}}),kZ=new KX({name:`__Type`,description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new WX(PZ),resolve(e){if(pX(e))return NZ.SCALAR;if(mX(e))return NZ.OBJECT;if(hX(e))return NZ.INTERFACE;if(gX(e))return NZ.UNION;if(_X(e))return NZ.ENUM;if(vX(e))return NZ.INPUT_OBJECT;if(yX(e))return NZ.LIST;if(bX(e))return NZ.NON_NULL;eJ(!1,`Unexpected type: "${Y(e)}".`)}},name:{type:aZ,resolve:e=>`name`in e?e.name:void 0},description:{type:aZ,resolve:e=>`description`in e?e.description:void 0},specifiedByURL:{type:aZ,resolve:e=>`specifiedByURL`in e?e.specifiedByURL:void 0},fields:{type:new UX(new WX(AZ)),args:{includeDeprecated:{type:oZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(mX(e)||hX(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>e.deprecationReason==null)}}},interfaces:{type:new UX(new WX(kZ)),resolve(e){if(mX(e)||hX(e))return e.getInterfaces()}},possibleTypes:{type:new UX(new WX(kZ)),resolve(e,t,n,{schema:r}){if(wX(e))return r.getPossibleTypes(e)}},enumValues:{type:new UX(new WX(MZ)),args:{includeDeprecated:{type:oZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(_X(e)){let n=e.getValues();return t?n:n.filter(e=>e.deprecationReason==null)}}},inputFields:{type:new UX(new WX(jZ)),args:{includeDeprecated:{type:oZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(vX(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>e.deprecationReason==null)}}},ofType:{type:kZ,resolve:e=>`ofType`in e?e.ofType:void 0},isOneOf:{type:oZ,resolve:e=>{if(vX(e))return e.isOneOf}}})}),AZ=new KX({name:`__Field`,description:`Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.`,fields:()=>({name:{type:new WX(aZ),resolve:e=>e.name},description:{type:aZ,resolve:e=>e.description},args:{type:new WX(new UX(new WX(jZ))),args:{includeDeprecated:{type:oZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(e=>e.deprecationReason==null)}},type:{type:new WX(kZ),resolve:e=>e.type},isDeprecated:{type:new WX(oZ),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:aZ,resolve:e=>e.deprecationReason}})}),jZ=new KX({name:`__InputValue`,description:`Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.`,fields:()=>({name:{type:new WX(aZ),resolve:e=>e.name},description:{type:aZ,resolve:e=>e.description},type:{type:new WX(kZ),resolve:e=>e.type},defaultValue:{type:aZ,description:`A GraphQL-formatted string representing the default value for this input value.`,resolve(e){let{type:t,defaultValue:n}=e,r=SZ(n,t);return r?$Y(r):null}},isDeprecated:{type:new WX(oZ),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:aZ,resolve:e=>e.deprecationReason}})}),MZ=new KX({name:`__EnumValue`,description:`One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.`,fields:()=>({name:{type:new WX(aZ),resolve:e=>e.name},description:{type:aZ,resolve:e=>e.description},isDeprecated:{type:new WX(oZ),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:aZ,resolve:e=>e.deprecationReason}})}),(function(e){e.SCALAR=`SCALAR`,e.OBJECT=`OBJECT`,e.INTERFACE=`INTERFACE`,e.UNION=`UNION`,e.ENUM=`ENUM`,e.INPUT_OBJECT=`INPUT_OBJECT`,e.LIST=`LIST`,e.NON_NULL=`NON_NULL`})(NZ||={}),PZ=new YX({name:`__TypeKind`,description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:NZ.SCALAR,description:`Indicates this type is a scalar.`},OBJECT:{value:NZ.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:NZ.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:NZ.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:NZ.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:NZ.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:NZ.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:NZ.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),new WX(EZ),new WX(aZ),new WX(aZ),FZ=Object.freeze([EZ,DZ,OZ,kZ,AZ,jZ,MZ,PZ])}));function LZ(e,t){let n=OX(e);if(!t.has(n)){if(t.add(n),gX(n))for(let e of n.getTypes())LZ(e,t);else if(mX(n)||hX(n)){for(let e of n.getInterfaces())LZ(e,t);for(let e of Object.values(n.getFields())){LZ(e.type,t);for(let n of e.args)LZ(n.type,t)}}else if(vX(n))for(let e of Object.values(n.getFields()))LZ(e.type,t)}return t}var RZ,zZ=o((()=>{Zq(),lY(),$q(),HY(),bJ(),ZX(),yZ(),IZ(),RZ=class{constructor(e){this.__validationErrors=e.assumeValid===!0?[]:void 0,Qq(e)||Xq(!1,`Must provide configuration object.`),!e.types||Array.isArray(e.types)||Xq(!1,`"types" must be Array if provided but got: ${Y(e.types)}.`),!e.directives||Array.isArray(e.directives)||Xq(!1,`"directives" must be Array if provided but got: ${Y(e.directives)}.`),this.description=e.description,this.extensions=VY(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes??[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=e.directives??vZ;let t=new Set(e.types);if(e.types!=null)for(let n of e.types)t.delete(n),LZ(n,t);this._queryType!=null&&LZ(this._queryType,t),this._mutationType!=null&&LZ(this._mutationType,t),this._subscriptionType!=null&&LZ(this._subscriptionType,t);for(let e of this._directives)if(uZ(e))for(let n of e.args)LZ(n.type,t);LZ(EZ,t),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(let e of t){if(e==null)continue;let t=e.name;if(t||Xq(!1,`One of the provided types for building the Schema is missing a name.`),this._typeMap[t]!==void 0)throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,hX(e)){for(let t of e.getInterfaces())if(hX(t)){let n=this._implementationsMap[t.name];n===void 0&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if(mX(e)){for(let t of e.getInterfaces())if(hX(t)){let n=this._implementationsMap[t.name];n===void 0&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return`GraphQLSchema`}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case yJ.QUERY:return this.getQueryType();case yJ.MUTATION:return this.getMutationType();case yJ.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return gX(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){return this._implementationsMap[e.name]??{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(n===void 0){if(n=Object.create(null),gX(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return n[t.name]!==void 0}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}}));function BZ(e,t){switch(t.kind){case q.LIST_TYPE:{let n=BZ(e,t.type);return n&&new UX(n)}case q.NON_NULL_TYPE:{let n=BZ(e,t.type);return n&&new WX(n)}case q.NAMED_TYPE:return e.getType(t.name.value)}}var VZ=o((()=>{SJ(),ZX()}));function HZ(e){return e.kind===q.OPERATION_DEFINITION||e.kind===q.FRAGMENT_DEFINITION}function UZ(e){return e.kind===q.SCHEMA_DEFINITION||WZ(e)||e.kind===q.DIRECTIVE_DEFINITION}function WZ(e){return e.kind===q.SCALAR_TYPE_DEFINITION||e.kind===q.OBJECT_TYPE_DEFINITION||e.kind===q.INTERFACE_TYPE_DEFINITION||e.kind===q.UNION_TYPE_DEFINITION||e.kind===q.ENUM_TYPE_DEFINITION||e.kind===q.INPUT_OBJECT_TYPE_DEFINITION}function GZ(e){return e.kind===q.SCHEMA_EXTENSION||e.kind===q.DIRECTIVE_EXTENSION||KZ(e)}function KZ(e){return e.kind===q.SCALAR_TYPE_EXTENSION||e.kind===q.OBJECT_TYPE_EXTENSION||e.kind===q.INTERFACE_TYPE_EXTENSION||e.kind===q.UNION_TYPE_EXTENSION||e.kind===q.ENUM_TYPE_EXTENSION||e.kind===q.INPUT_OBJECT_TYPE_EXTENSION}var qZ=o((()=>{SJ()}));function JZ(e){return{Document(t){for(let n of t.definitions)if(!HZ(n)){let t=n.kind===q.SCHEMA_DEFINITION||n.kind===q.SCHEMA_EXTENSION?`schema`:`"`+n.name.value+`"`;e.reportError(new G(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}var YZ=o((()=>{dJ(),SJ(),qZ()}));function XZ(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),i=t.name.value,a=xY(`to use an inline fragment on`,ZZ(r,n,i));a===``&&(a=xY(QZ(n,i))),e.reportError(new G(`Cannot query field "${i}" on type "${n.name}".`+a,{nodes:t}))}}}}function ZZ(e,t,n){if(!wX(t))return[];let r=new Set,i=Object.create(null);for(let a of e.getPossibleTypes(t))if(a.getFields()[n]){r.add(a),i[a.name]=1;for(let e of a.getInterfaces())e.getFields()[n]&&(r.add(e),i[e.name]=(i[e.name]??0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return r===0?hX(t)&&e.isSubType(t,n)?-1:hX(n)&&e.isSubType(n,t)?1:MY(t.name,n.name):r}).map(e=>e.name)}function QZ(e,t){return mX(e)||hX(e)?LY(t,Object.keys(e.getFields())):[]}var $Z=o((()=>{CY(),IY(),BY(),dJ(),ZX()}));function eQ(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=BZ(e.getSchema(),n);if(t&&!CX(t)){let t=$Y(n);e.reportError(new G(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=BZ(e.getSchema(),t.typeCondition);if(n&&!CX(n)){let n=$Y(t.typeCondition);e.reportError(new G(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}var tQ=o((()=>{dJ(),oX(),ZX(),VZ()}));function nQ(e){return{...rQ(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,a=LY(n,r.args.map(e=>e.name));e.reportError(new G(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+xY(a),{nodes:t}))}}}}function rQ(e){let t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():vZ;for(let e of r)t[e.name]=e.args.map(e=>e.name);let i=e.getDocument().definitions;for(let e of i)if(e.kind===q.DIRECTIVE_DEFINITION){let n=e.arguments??[];t[e.name.value]=n.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let a=LY(n,i);e.reportError(new G(`Unknown argument "${n}" on directive "@${r}".`+xY(a),{nodes:t}))}}return!1}}}var iQ=o((()=>{CY(),BY(),dJ(),SJ(),yZ()}));function aQ(e){let t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():vZ;for(let e of r)t[e.name]=e.locations;let i=e.getDocument().definitions;for(let e of i)e.kind===q.DIRECTIVE_DEFINITION&&(t[e.name.value]=e.locations.map(e=>e.value));return{Directive(n,r,i,a,o){let s=n.name.value,c=t[s];if(!c){e.reportError(new G(`Unknown directive "@${s}".`,{nodes:n}));return}let l=efe(o);l&&!c.includes(l)&&e.reportError(new G(`Directive "@${s}" may not be used on ${l}.`,{nodes:n}))}}}function efe(e){let t=e[e.length-1];switch(`kind`in t||eJ(!1),t.kind){case q.OPERATION_DEFINITION:return tfe(t.operation);case q.FIELD:return K.FIELD;case q.FRAGMENT_SPREAD:return K.FRAGMENT_SPREAD;case q.INLINE_FRAGMENT:return K.INLINE_FRAGMENT;case q.FRAGMENT_DEFINITION:return K.FRAGMENT_DEFINITION;case q.VARIABLE_DEFINITION:return K.VARIABLE_DEFINITION;case q.SCHEMA_DEFINITION:case q.SCHEMA_EXTENSION:return K.SCHEMA;case q.SCALAR_TYPE_DEFINITION:case q.SCALAR_TYPE_EXTENSION:return K.SCALAR;case q.OBJECT_TYPE_DEFINITION:case q.OBJECT_TYPE_EXTENSION:return K.OBJECT;case q.FIELD_DEFINITION:return K.FIELD_DEFINITION;case q.INTERFACE_TYPE_DEFINITION:case q.INTERFACE_TYPE_EXTENSION:return K.INTERFACE;case q.UNION_TYPE_DEFINITION:case q.UNION_TYPE_EXTENSION:return K.UNION;case q.ENUM_TYPE_DEFINITION:case q.ENUM_TYPE_EXTENSION:return K.ENUM;case q.ENUM_VALUE_DEFINITION:return K.ENUM_VALUE;case q.INPUT_OBJECT_TYPE_DEFINITION:case q.INPUT_OBJECT_TYPE_EXTENSION:return K.INPUT_OBJECT;case q.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return`kind`in t||eJ(!1),t.kind===q.INPUT_OBJECT_TYPE_DEFINITION?K.INPUT_FIELD_DEFINITION:K.ARGUMENT_DEFINITION}case q.DIRECTIVE_DEFINITION:case q.DIRECTIVE_EXTENSION:return K.DIRECTIVE_DEFINITION;default:eJ(!1,`Unexpected kind: `+Y(t.kind))}}function tfe(e){switch(e){case yJ.QUERY:return K.QUERY;case yJ.MUTATION:return K.MUTATION;case yJ.SUBSCRIPTION:return K.SUBSCRIPTION}}var oQ=o((()=>{lY(),tJ(),dJ(),bJ(),xJ(),SJ(),yZ()}));function nfe(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new G(`Unknown fragment "${n}".`,{nodes:t.name}))}}}var sQ=o((()=>{dJ()}));function cQ(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)WZ(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,a,o,s,c){let l=t.name.value;if(!n[l]&&!r[l]){let n=c[2]??o,r=n!=null&&rfe(n);if(r&&lQ.includes(l))return;let a=LY(l,r?lQ.concat(i):i);e.reportError(new G(`Unknown type "${l}".`+xY(a),{nodes:t}))}}}}function rfe(e){return`kind`in e&&(UZ(e)||GZ(e))}var lQ,uQ=o((()=>{CY(),BY(),dJ(),qZ(),IZ(),lZ(),lQ=[...cZ,...FZ].map(e=>e.name)}));function ife(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===q.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new G(`This anonymous operation must be the only defined operation.`,{nodes:n}))}}}var dQ=o((()=>{dJ(),SJ()}));function afe(e){let t=e.getSchema(),n=t?.astNode??t?.getQueryType()??t?.getMutationType()??t?.getSubscriptionType(),r=0;return{SchemaDefinition(t){if(n){e.reportError(new G(`Cannot define a new schema within a schema extension.`,{nodes:t}));return}r>0&&e.reportError(new G(`Must provide only one schema definition.`,{nodes:t})),++r}}}var fQ=o((()=>{dJ()}));function ofe(e){function t(n,r=Object.create(null),i=0){if(n.kind===q.FRAGMENT_SPREAD){let a=n.name.value;if(r[a]===!0)return!1;let o=e.getFragment(a);if(!o)return!1;try{return r[a]=!0,t(o,r,i)}finally{r[a]=void 0}}if(n.kind===q.FIELD&&(n.name.value===`fields`||n.name.value===`interfaces`||n.name.value===`possibleTypes`||n.name.value===`inputFields`)&&(i++,i>=pQ))return!0;if(`selectionSet`in n&&n.selectionSet){for(let e of n.selectionSet.selections)if(t(e,r,i))return!0}return!1}return{Field(n){if((n.name.value===`__schema`||n.name.value===`__type`)&&t(n))return e.reportError(new G(`Maximum introspection depth exceeded`,{nodes:[n]})),!1}}}var pQ,mQ=o((()=>{dJ(),SJ(),pQ=3}));function sfe(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(e){return i(e),!1}};function i(a){if(t[a.name.value])return;let o=a.name.value;t[o]=!0;let s=e.getFragmentSpreads(a.selectionSet);if(s.length!==0){r[o]=n.length;for(let t of s){let a=t.name.value,o=r[a];if(n.push(t),o===void 0){let t=e.getFragment(a);t&&i(t)}else{let t=n.slice(o),r=t.slice(0,-1).map(e=>`"`+e.name.value+`"`).join(`, `);e.reportError(new G(`Cannot spread fragment "${a}" within itself`+(r===``?`.`:` via ${r}.`),{nodes:t}))}n.pop()}r[o]=void 0}}}var hQ=o((()=>{dJ()}));function cfe(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let r=e.getRecursiveVariableUsages(n);for(let{node:i}of r){let r=i.name.value;t[r]!==!0&&e.reportError(new G(n.name?`Variable "$${r}" is not defined by operation "${n.name.value}".`:`Variable "$${r}" is not defined.`,{nodes:[i,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}var gQ=o((()=>{dJ()}));function lfe(e){let t=[],n=[];return{OperationDefinition(e){return t.push(e),!1},FragmentDefinition(e){return n.push(e),!1},Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;r[n]!==!0&&e.reportError(new G(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}var _Q=o((()=>{dJ()}));function ufe(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null),i=e.getRecursiveVariableUsages(n);for(let{node:e}of i)r[e.name.value]=!0;for(let i of t){let t=i.variable.name.value;r[t]!==!0&&e.reportError(new G(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}var vQ=o((()=>{dJ()}));function yQ(e){switch(e.kind){case q.OBJECT:return{...e,fields:dfe(e.fields)};case q.LIST:return{...e,values:e.values.map(yQ)};case q.INT:case q.FLOAT:case q.STRING:case q.BOOLEAN:case q.NULL:case q.ENUM:case q.VARIABLE:return e}}function dfe(e){return e.map(e=>({...e,value:yQ(e.value)})).sort((e,t)=>MY(e.name.value,t.name.value))}var bQ=o((()=>{IY(),SJ()}));function xQ(e){return Array.isArray(e)?e.map(([e,t])=>`subfields "${e}" conflict because `+xQ(t)).join(` and `):e}function ffe(e){let t=new jQ,n=new MQ,r=new Map;return{SelectionSet(i){let a=pfe(e,r,t,n,e.getParentType(),i);for(let[[t,n],r,i]of a){let a=xQ(n);e.reportError(new G(`Fields "${t}" conflict because ${a}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:r.concat(i)}))}}}}function pfe(e,t,n,r,i,a){let o=[],[s,c]=OQ(e,t,i,a);if(hfe(e,o,t,n,r,s),c.length!==0)for(let i=0;i<c.length;i++){SQ(e,o,t,n,r,!1,s,c[i]);for(let a=i+1;a<c.length;a++)CQ(e,o,t,n,r,!1,c[i],c[a])}return o}function SQ(e,t,n,r,i,a,o,s){if(r.has(o,s,a))return;r.add(o,s,a);let c=e.getFragment(s);if(!c)return;let[l,u]=kQ(e,n,c);if(o!==l){wQ(e,t,n,r,i,a,o,l);for(let s of u)SQ(e,t,n,r,i,a,o,s)}}function CQ(e,t,n,r,i,a,o,s){if(o===s||i.has(o,s,a))return;i.add(o,s,a);let c=e.getFragment(o),l=e.getFragment(s);if(!c||!l)return;let[u,d]=kQ(e,n,c),[f,p]=kQ(e,n,l);wQ(e,t,n,r,i,a,u,f);for(let s of p)CQ(e,t,n,r,i,a,o,s);for(let o of d)CQ(e,t,n,r,i,a,o,s)}function mfe(e,t,n,r,i,a,o,s,c){let l=[],[u,d]=OQ(e,t,a,o),[f,p]=OQ(e,t,s,c);wQ(e,l,t,n,r,i,u,f);for(let a of p)SQ(e,l,t,n,r,i,u,a);for(let a of d)SQ(e,l,t,n,r,i,f,a);for(let a of d)for(let o of p)CQ(e,l,t,n,r,i,a,o);return l}function hfe(e,t,n,r,i,a){for(let[o,s]of Object.entries(a))if(s.length>1)for(let a=0;a<s.length;a++)for(let c=a+1;c<s.length;c++){let l=TQ(e,n,r,i,!1,o,s[a],s[c]);l&&t.push(l)}}function wQ(e,t,n,r,i,a,o,s){for(let[c,l]of Object.entries(o)){let o=s[c];if(o)for(let s of l)for(let l of o){let o=TQ(e,n,r,i,a,c,s,l);o&&t.push(o)}}}function TQ(e,t,n,r,i,a,o,s){let[c,l,u]=o,[d,f,p]=s,m=i||c!==d&&mX(c)&&mX(d);if(!m){let e=l.name.value,t=f.name.value;if(e!==t)return[[a,`"${e}" and "${t}" are different fields`],[l],[f]];if(!gfe(l,f))return[[a,`they have differing arguments`],[l],[f]]}let h=u?.type,g=p?.type;if(h&&g&&DQ(h,g))return[[a,`they return conflicting types "${Y(h)}" and "${Y(g)}"`],[l],[f]];let _=l.selectionSet,v=f.selectionSet;if(_&&v)return _fe(mfe(e,t,n,r,m,OX(h),_,OX(g),v),a,l,f)}function gfe(e,t){let n=e.arguments,r=t.arguments;if(n===void 0||n.length===0)return r===void 0||r.length===0;if(r===void 0||r.length===0||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return n!==void 0&&EQ(t)===EQ(n)})}function EQ(e){return $Y(yQ(e))}function DQ(e,t){return yX(e)?!yX(t)||DQ(e.ofType,t.ofType):yX(t)?!0:bX(e)?!bX(t)||DQ(e.ofType,t.ofType):bX(t)?!0:SX(e)||SX(t)?e!==t:!1}function OQ(e,t,n,r){let i=t.get(r);if(i)return i;let a=Object.create(null),o=Object.create(null);AQ(e,n,r,a,o);let s=[a,Object.keys(o)];return t.set(r,s),s}function kQ(e,t,n){return t.get(n.selectionSet)||OQ(e,t,BZ(e.getSchema(),n.typeCondition),n.selectionSet)}function AQ(e,t,n,r,i){for(let a of n.selections)switch(a.kind){case q.FIELD:{let e=a.name.value,n;(mX(t)||hX(t))&&(n=t.getFields()[e]);let i=a.alias?a.alias.value:e;r[i]||(r[i]=[]),r[i].push([t,a,n]);break}case q.FRAGMENT_SPREAD:i[a.name.value]=!0;break;case q.INLINE_FRAGMENT:{let n=a.typeCondition;AQ(e,n?BZ(e.getSchema(),n):t,a.selectionSet,r,i);break}}}function _fe(e,t,n,r){if(e.length>0)return[[t,e.map(([e])=>e)],[n,...e.map(([,e])=>e).flat()],[r,...e.map(([,,e])=>e).flat()]]}var jQ,MQ,NQ=o((()=>{lY(),dJ(),SJ(),oX(),ZX(),bQ(),VZ(),jQ=class{constructor(){this._data=new Map}has(e,t,n){let r=this._data.get(e)?.get(t);return r===void 0?!1:n?!0:n===r}add(e,t,n){let r=this._data.get(e);r===void 0?this._data.set(e,new Map([[t,n]])):r.set(t,n)}},MQ=class{constructor(){this._orderedPairSet=new jQ}has(e,t,n){return e<t?this._orderedPairSet.has(e,t,n):this._orderedPairSet.has(t,e,n)}add(e,t,n){e<t?this._orderedPairSet.add(e,t,n):this._orderedPairSet.add(t,e,n)}}}));function vfe(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if(CX(n)&&CX(r)&&!$X(e.getSchema(),n,r)){let i=Y(r),a=Y(n);e.reportError(new G(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${a}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=yfe(e,n),i=e.getParentType();if(r&&i&&!$X(e.getSchema(),r,i)){let a=Y(i),o=Y(r);e.reportError(new G(`Fragment "${n}" cannot be spread here as objects of type "${a}" can never be of type "${o}".`,{nodes:t}))}}}}function yfe(e,t){let n=e.getFragment(t);if(n){let t=BZ(e.getSchema(),n.typeCondition);if(CX(t))return t}}var PQ=o((()=>{lY(),dJ(),ZX(),eZ(),VZ()}));function bfe(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)WZ(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){let i=r.name.value,a=n[i],o=t?.getType(i),s;if(a?s=FQ[a.kind]:o&&(s=xfe(o)),s){if(s!==r.kind){let t=Sfe(r.kind);e.reportError(new G(`Cannot extend non-${t} type "${i}".`,{nodes:a?[a,r]:r}))}}else{let a=LY(i,Object.keys({...n,...t?.getTypeMap()}));e.reportError(new G(`Cannot extend type "${i}" because it is not defined.`+xY(a),{nodes:r.name}))}}}function xfe(e){if(pX(e))return q.SCALAR_TYPE_EXTENSION;if(mX(e))return q.OBJECT_TYPE_EXTENSION;if(hX(e))return q.INTERFACE_TYPE_EXTENSION;if(gX(e))return q.UNION_TYPE_EXTENSION;if(_X(e))return q.ENUM_TYPE_EXTENSION;if(vX(e))return q.INPUT_OBJECT_TYPE_EXTENSION;eJ(!1,`Unexpected type: `+Y(e))}function Sfe(e){switch(e){case q.SCALAR_TYPE_EXTENSION:return`scalar`;case q.OBJECT_TYPE_EXTENSION:return`object`;case q.INTERFACE_TYPE_EXTENSION:return`interface`;case q.UNION_TYPE_EXTENSION:return`union`;case q.ENUM_TYPE_EXTENSION:return`enum`;case q.INPUT_OBJECT_TYPE_EXTENSION:return`input object`;default:eJ(!1,`Unexpected kind: `+Y(e))}}var FQ,IQ=o((()=>{CY(),lY(),tJ(),BY(),dJ(),SJ(),qZ(),ZX(),FQ={[q.SCALAR_TYPE_DEFINITION]:q.SCALAR_TYPE_EXTENSION,[q.OBJECT_TYPE_DEFINITION]:q.OBJECT_TYPE_EXTENSION,[q.INTERFACE_TYPE_DEFINITION]:q.INTERFACE_TYPE_EXTENSION,[q.UNION_TYPE_DEFINITION]:q.UNION_TYPE_EXTENSION,[q.ENUM_TYPE_DEFINITION]:q.ENUM_TYPE_EXTENSION,[q.INPUT_OBJECT_TYPE_DEFINITION]:q.INPUT_OBJECT_TYPE_EXTENSION}}));function Cfe(e){return{...LQ(e),Field:{leave(t){let n=e.getFieldDef();if(!n)return!1;let r=new Set(t.arguments?.map(e=>e.name.value));for(let i of n.args)if(!r.has(i.name)&&LX(i)){let r=Y(i.type);e.reportError(new G(`Field "${n.name}" argument "${i.name}" of type "${r}" is required, but it was not provided.`,{nodes:t}))}}}}}function LQ(e){let t=Object.create(null),n=e.getSchema()?.getDirectives()??vZ;for(let e of n)t[e.name]=EY(e.args.filter(LX),e=>e.name);let r=e.getDocument().definitions;for(let e of r)if(e.kind===q.DIRECTIVE_DEFINITION){let n=e.arguments??[];t[e.name.value]=EY(n.filter(wfe),e=>e.name.value)}return{Directive:{leave(n){let r=n.name.value,i=t[r];if(i){let t=n.arguments??[],a=new Set(t.map(e=>e.name.value));for(let[t,o]of Object.entries(i))if(!a.has(t)){let i=fX(o.type)?Y(o.type):$Y(o.type);e.reportError(new G(`Directive "@${r}" argument "${t}" of type "${i}" is required, but it was not provided.`,{nodes:n}))}}}}}}function wfe(e){return e.type.kind===q.NON_NULL_TYPE&&e.defaultValue==null}var RQ=o((()=>{lY(),DY(),dJ(),SJ(),oX(),ZX(),yZ()}));function Tfe(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if(SX(OX(n))){if(r){let i=t.name.value,a=Y(n);e.reportError(new G(`Field "${i}" must not have a selection since type "${a}" has no subfields.`,{nodes:r}))}}else if(!r){let r=t.name.value,i=Y(n);e.reportError(new G(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}else if(r.selections.length===0){let r=t.name.value,i=Y(n);e.reportError(new G(`Field "${r}" of type "${i}" must have at least one field selected.`,{nodes:t}))}}}}}var zQ=o((()=>{lY(),dJ(),ZX()}));function BQ(e,t,n){if(e){if(e.kind===q.VARIABLE){let r=e.name.value;if(n==null||n[r]===void 0||!HQ(n,r))return;let i=n[r];return i===null&&bX(t)?void 0:i}if(bX(t))return e.kind===q.NULL?void 0:BQ(e,t.ofType,n);if(e.kind===q.NULL)return null;if(yX(t)){let r=t.ofType;if(e.kind===q.LIST){let t=[];for(let i of e.values)if(VQ(i,n)){if(bX(r))return;t.push(null)}else{let e=BQ(i,r,n);if(e===void 0)return;t.push(e)}return t}let i=BQ(e,r,n);return i===void 0?void 0:[i]}if(vX(t)){if(e.kind!==q.OBJECT)return;let r=Object.create(null),i=EY(e.fields,e=>e.name.value);for(let e of Object.values(t.getFields())){let t=i[e.name];if(!t||VQ(t.value,n)){if(e.defaultValue!==void 0)r[e.name]=e.defaultValue;else if(bX(e.type))return;continue}let a=BQ(t.value,e.type,n);if(a===void 0)return;r[e.name]=a}if(t.isOneOf){let e=Object.keys(r);if(e.length!==1||r[e[0]]===null)return}return r}if(SX(t)){let r;try{r=t.parseLiteral(e,n)}catch{return}return r===void 0?void 0:r}eJ(!1,`Unexpected input type: `+Y(t))}}function VQ(e,t){return e.kind===q.VARIABLE&&(t==null||t[e.name.value]===void 0||!HQ(t,e.name.value))}function HQ(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var UQ=o((()=>{lY(),tJ(),DY(),SJ(),ZX()}));function Efe(e,t,n){let r=Object.create(null),i=EY(t.arguments??[],e=>e.name.value);for(let a of e.args){let e=a.name,o=a.type,s=i[e];if(!s){if(a.defaultValue!==void 0)r[e]=a.defaultValue;else if(bX(o))throw new G(`Argument "${e}" of required type "${Y(o)}" was not provided.`,{nodes:t});continue}let c=s.value,l=c.kind===q.NULL;if(c.kind===q.VARIABLE){let t=c.name.value;if(n==null||!Dfe(n,t)){if(a.defaultValue!==void 0)r[e]=a.defaultValue;else if(bX(o))throw new G(`Argument "${e}" of required type "${Y(o)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:c});continue}l=n[t]==null}if(l&&bX(o))throw new G(`Argument "${e}" of non-null type "${Y(o)}" must not be null.`,{nodes:c});let u=BQ(c,o,n);if(u===void 0)throw new G(`Argument "${e}" has invalid value ${$Y(c)}.`,{nodes:c});r[e]=u}return{...r}}function WQ(e,t,n){let r=t.directives?.find(t=>t.name.value===e.name);if(r)return Efe(e,r,n)}function Dfe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var GQ=o((()=>{lY(),DY(),dJ(),SJ(),oX(),ZX(),UQ()}));function Ofe(e,t,n,r,i){let a=new Map;return KQ(e,t,n,r,i,a,new Set),a}function KQ(e,t,n,r,i,a,o){for(let s of i.selections)switch(s.kind){case q.FIELD:{if(!qQ(n,s))continue;let e=kfe(s),t=a.get(e);t===void 0?a.set(e,[s]):t.push(s);break}case q.INLINE_FRAGMENT:if(!qQ(n,s)||!JQ(e,s,r))continue;KQ(e,t,n,r,s.selectionSet,a,o);break;case q.FRAGMENT_SPREAD:{let i=s.name.value;if(o.has(i)||!qQ(n,s))continue;o.add(i);let c=t[i];if(!c||!JQ(e,c,r))continue;KQ(e,t,n,r,c.selectionSet,a,o);break}}}function qQ(e,t){return WQ(pZ,t,e)?.if!==!0&&WQ(fZ,t,e)?.if!==!1}function JQ(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=BZ(e,r);return i===n?!0:wX(i)?e.isSubType(i,n):!1}function kfe(e){return e.alias?e.alias.value:e.name.value}var YQ=o((()=>{SJ(),ZX(),yZ(),VZ(),GQ()}));function Afe(e){return{OperationDefinition(t){if(t.operation===`subscription`){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,a=Object.create(null),o=e.getDocument(),s=Object.create(null);for(let e of o.definitions)e.kind===q.FRAGMENT_DEFINITION&&(s[e.name.value]=e);let c=Ofe(n,s,a,r,t.selectionSet);if(c.size>1){let t=[...c.values()].slice(1).flat();e.reportError(new G(i==null?`Anonymous Subscription must select only one top level field.`:`Subscription "${i}" must select only one top level field.`,{nodes:t}))}for(let t of c.values())t[0].name.value.startsWith(`__`)&&e.reportError(new G(i==null?`Anonymous Subscription must not select an introspection top level field.`:`Subscription "${i}" must not select an introspection top level field.`,{nodes:t}))}}}}}var XQ=o((()=>{dJ(),SJ(),YQ()}));function ZQ(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);i===void 0?n.set(e,[r]):i.push(r)}return n}var QQ=o((()=>{}));function jfe(e){return{DirectiveDefinition(e){let t=e.arguments??[];return n(`@${e.name.value}`,t)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){let t=e.name.value,r=e.fields??[];for(let e of r){let r=e.name.value,i=e.arguments??[];n(`${t}.${r}`,i)}return!1}function n(t,n){let r=ZQ(n,e=>e.name.value);for(let[n,i]of r)i.length>1&&e.reportError(new G(`Argument "${t}(${n}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}var $Q=o((()=>{QQ(),dJ()}));function e$(e){return{Field:t,Directive:t};function t(t){let n=ZQ(t.arguments??[],e=>e.name.value);for(let[t,r]of n)r.length>1&&e.reportError(new G(`There can be only one argument named "${t}".`,{nodes:r.map(e=>e.name)}))}}var t$=o((()=>{QQ(),dJ()}));function Mfe(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;if(n!=null&&n.getDirective(i)){e.reportError(new G(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return t[i]?e.reportError(new G(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}}var n$=o((()=>{dJ()}));function r$(e){let t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():vZ;for(let e of r)t[e.name]=!e.isRepeatable;let i=e.getDocument().definitions;for(let e of i)e.kind===q.DIRECTIVE_DEFINITION&&(t[e.name.value]=!e.repeatable);let a=Object.create(null),o=Object.create(null),s=Object.create(null);return{enter(n){if(!(`directives`in n)||!n.directives)return;let r;if(n.kind===q.SCHEMA_DEFINITION||n.kind===q.SCHEMA_EXTENSION)r=a;else if(WZ(n)||KZ(n)){let e=n.name.value;r=o[e],r===void 0&&(o[e]=r=Object.create(null))}else if(n.kind===q.DIRECTIVE_DEFINITION||n.kind===q.DIRECTIVE_EXTENSION){let e=n.name.value;r=s[e],r===void 0&&(s[e]=r=Object.create(null))}else r=Object.create(null);for(let i of n.directives){let n=i.name.value;t[n]&&(r[n]?e.reportError(new G(`The directive "@${n}" can only be used once at this location.`,{nodes:[r[n],i]})):r[n]=i)}}}}var i$=o((()=>{dJ(),SJ(),qZ(),yZ()}));function Nfe(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){let i=t.name.value;r[i]||(r[i]=Object.create(null));let a=t.values??[],o=r[i];for(let t of a){let r=t.name.value,a=n[i];_X(a)&&a.getValue(r)?e.reportError(new G(`Enum value "${i}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):o[r]?e.reportError(new G(`Enum value "${i}.${r}" can only be defined once.`,{nodes:[o[r],t.name]})):o[r]=t.name}return!1}}var a$=o((()=>{dJ(),ZX()}));function Pfe(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){let i=t.name.value;r[i]||(r[i]=Object.create(null));let a=t.fields??[],o=r[i];for(let t of a){let r=t.name.value;Ffe(n[i],r)?e.reportError(new G(`Field "${i}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):o[r]?e.reportError(new G(`Field "${i}.${r}" can only be defined once.`,{nodes:[o[r],t.name]})):o[r]=t.name}return!1}}function Ffe(e,t){return mX(e)||hX(e)||vX(e)?e.getFields()[t]!=null:!1}var o$=o((()=>{dJ(),ZX()}));function Ife(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new G(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}var s$=o((()=>{dJ()}));function c$(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||eJ(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new G(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}var l$=o((()=>{tJ(),dJ()}));function Lfe(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new G(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}var u$=o((()=>{dJ()}));function Rfe(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){let i=t.operationTypes??[];for(let t of i){let i=t.operation,a=n[i];r[i]?e.reportError(new G(`Type for ${i} already defined in the schema. It cannot be redefined.`,{nodes:t})):a?e.reportError(new G(`There can be only one ${i} type in schema.`,{nodes:[a,t]})):n[i]=t}return!1}}var d$=o((()=>{dJ()}));function zfe(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;if(n!=null&&n.getType(i)){e.reportError(new G(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[i]?e.reportError(new G(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}var f$=o((()=>{dJ()}));function Bfe(e){return{OperationDefinition(t){let n=ZQ(t.variableDefinitions??[],e=>e.variable.name.value);for(let[t,r]of n)r.length>1&&e.reportError(new G(`There can be only one variable named "$${t}".`,{nodes:r.map(e=>e.variable.name)}))}}}var p$=o((()=>{QQ(),dJ()}));function Vfe(e){return{ListValue(t){if(!yX(DX(e.getParentInputType())))return m$(e,t),!1},ObjectValue(t){let n=OX(e.getInputType());if(!vX(n))return m$(e,t),!1;let r=EY(t.fields,e=>e.name.value);for(let i of Object.values(n.getFields()))if(!r[i.name]&&HX(i)){let r=Y(i.type);e.reportError(new G(`Field "${n.name}.${i.name}" of required type "${r}" was not provided.`,{nodes:t}))}n.isOneOf&&Hfe(e,t,n,r)},ObjectField(t){let n=OX(e.getParentInputType());if(!e.getInputType()&&vX(n)){let r=LY(t.name.value,Object.keys(n.getFields()));e.reportError(new G(`Field "${t.name.value}" is not defined by type "${n.name}".`+xY(r),{nodes:t}))}},NullValue(t){let n=e.getInputType();bX(n)&&e.reportError(new G(`Expected value of type "${Y(n)}", found ${$Y(t)}.`,{nodes:t}))},EnumValue:t=>m$(e,t),IntValue:t=>m$(e,t),FloatValue:t=>m$(e,t),StringValue:t=>m$(e,t),BooleanValue:t=>m$(e,t)}}function m$(e,t){let n=e.getInputType();if(!n)return;let r=OX(n);if(!SX(r)){let r=Y(n);e.reportError(new G(`Expected value of type "${r}", found ${$Y(t)}.`,{nodes:t}));return}try{if(r.parseLiteral(t,void 0)===void 0){let r=Y(n);e.reportError(new G(`Expected value of type "${r}", found ${$Y(t)}.`,{nodes:t}))}}catch(r){let i=Y(n);r instanceof G?e.reportError(r):e.reportError(new G(`Expected value of type "${i}", found ${$Y(t)}; `+r.message,{nodes:t,originalError:r}))}}function Hfe(e,t,n,r){let i=Object.keys(r);if(i.length!==1){e.reportError(new G(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}let a=r[i[0]]?.value;(!a||a.kind===q.NULL)&&e.reportError(new G(`Field "${n.name}.${i[0]}" must be non-null.`,{nodes:[t]}))}var h$=o((()=>{CY(),lY(),DY(),BY(),dJ(),SJ(),oX(),ZX()}));function Ufe(e){return{VariableDefinition(t){let n=BZ(e.getSchema(),t.type);if(n!==void 0&&!xX(n)){let n=t.variable.name.value,r=$Y(t.type);e.reportError(new G(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}var g$=o((()=>{dJ(),oX(),ZX(),VZ()}));function Wfe(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let r=e.getRecursiveVariableUsages(n);for(let{node:n,type:i,defaultValue:a,parentType:o}of r){let r=n.name.value,s=t[r];if(s&&i){let t=e.getSchema(),c=BZ(t,s.type);if(c&&!Gfe(t,c,s.defaultValue,i,a)){let t=Y(c),a=Y(i);e.reportError(new G(`Variable "$${r}" of type "${t}" used in position expecting type "${a}".`,{nodes:[s,n]}))}vX(o)&&o.isOneOf&&EX(c)&&e.reportError(new G(`Variable "$${r}" is of type "${c}" but must be non-nullable to be used for OneOf Input Object "${o}".`,{nodes:[s,n]}))}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function Gfe(e,t,n,r,i){if(bX(r)&&!bX(t)){if((n==null||n.kind===q.NULL)&&i===void 0)return!1;let a=r.ofType;return QX(e,t,a)}return QX(e,t,r)}var _$=o((()=>{lY(),dJ(),SJ(),ZX(),eZ(),VZ()})),v$,y$,b$=o((()=>{YZ(),$Z(),tQ(),iQ(),oQ(),sQ(),uQ(),dQ(),fQ(),mQ(),hQ(),gQ(),_Q(),vQ(),NQ(),PQ(),IQ(),RQ(),zQ(),XQ(),$Q(),t$(),n$(),i$(),a$(),o$(),s$(),l$(),u$(),d$(),f$(),p$(),h$(),g$(),_$(),v$=Object.freeze([ofe]),Object.freeze([JZ,Lfe,ife,Afe,cQ,eQ,Ufe,Tfe,XZ,Ife,nfe,lfe,vfe,sfe,Bfe,cfe,ufe,aQ,r$,nQ,e$,Vfe,Cfe,Wfe,ffe,c$,...v$]),y$=Object.freeze([afe,Rfe,zfe,Nfe,Pfe,jfe,Mfe,cQ,aQ,r$,bfe,rQ,e$,c$,LQ])})),x$,S$,C$=o((()=>{SJ(),x$=class{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return`ASTValidationContext`}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(let e of this.getDocument().definitions)e.kind===q.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];let n=[e],r;for(;r=n.pop();)for(let e of r.selections)e.kind===q.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&n.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];let n=Object.create(null),r=[e.selectionSet],i;for(;i=r.pop();)for(let e of this.getFragmentSpreads(i)){let i=e.name.value;if(n[i]!==!0){n[i]=!0;let e=this.getFragment(i);e&&(t.push(e),r.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}},S$=class extends x${constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return`SDLValidationContext`}getSchema(){return this._schema}}}));function Kfe(e,t,n=y$){let r=[],i=new S$(e,t,e=>{r.push(e)});return JY(e,YY(n.map(e=>e(i)))),r}function qfe(e){let t=Kfe(e);if(t.length!==0)throw Error(t.map(e=>e.message).join(`

`))}var w$=o((()=>{jY(),bJ(),QY(),b$(),C$(),AY(_J,e=>e.filter(e=>e!==`description`))})),Jfe=o((()=>{zZ(),ZX(),yZ(),lZ(),IZ(),lY(),dJ(),bJ(),eZ(),dX()})),Yfe=o((()=>{hY(),iJ(),cJ(),SJ(),NJ(),eY(),bY(),oX(),QY(),bJ(),qZ(),xJ()}));function Xfe(e,t,n){let r=[],i=Object.create(null),a=Object.create(null),o=[],s,c=[];for(let e of t.definitions)if(e.kind===q.SCHEMA_DEFINITION)s=e;else if(e.kind===q.SCHEMA_EXTENSION)c.push(e);else if(WZ(e))r.push(e);else if(KZ(e)){let t=e.name.value,n=i[t];i[t]=n?n.concat([e]):[e]}else if(e.kind===q.DIRECTIVE_DEFINITION)o.push(e);else if(e.kind===q.DIRECTIVE_EXTENSION){let t=e.name.value,n=a[t];a[t]=n?n.concat([e]):[e]}if(Object.keys(i).length===0&&r.length===0&&Object.keys(a).length===0&&o.length===0&&c.length===0&&s==null)return e;let l=Object.create(null);for(let t of e.types)l[t.name]=g(t);for(let e of r){let t=e.name.value;l[t]=D$[t]??oe(e)}let u=Object.create(null);for(let t of e.directives)u[t.name]=E(t);let d={query:e.query&&m(e.query),mutation:e.mutation&&m(e.mutation),subscription:e.subscription&&m(e.subscription),...s&&T([s]),...T(c)},f=Object.values(u);return{description:s?.description?.value,...d,types:Object.values(l),directives:[...f.map(h),...o.map(k)],extensions:Object.create(null),astNode:s??e.astNode,extensionASTNodes:e.extensionASTNodes.concat(c),assumeValid:n?.assumeValid??!1};function p(e){return yX(e)?new UX(p(e.ofType)):bX(e)?new WX(p(e.ofType)):m(e)}function m(e){return l[e.name]}function h(e){let t=e.toConfig();return new dZ({...t,args:AY(t.args,w)})}function g(e){if(TZ(e)||tZ(e))return e;if(pX(e))return y(e);if(mX(e))return b(e);if(hX(e))return x(e);if(gX(e))return S(e);if(_X(e))return v(e);if(vX(e))return _(e);eJ(!1,`Unexpected type: `+Y(e))}function _(e){let t=e.toConfig(),n=i[t.name]??[];return new XX({...t,fields:()=>({...AY(t.fields,e=>({...e,type:p(e.type)})),...ne(n)}),extensionASTNodes:t.extensionASTNodes.concat(n)})}function v(e){let t=e.toConfig(),n=i[e.name]??[];return new YX({...t,values:{...t.values,...re(n)},extensionASTNodes:t.extensionASTNodes.concat(n)})}function y(e){let t=e.toConfig(),n=i[t.name]??[],r=t.specifiedByURL;for(let e of n)r=E$(e)??r;return new GX({...t,specifiedByURL:r,extensionASTNodes:t.extensionASTNodes.concat(n)})}function b(e){let t=e.toConfig(),n=i[t.name]??[];return new KX({...t,interfaces:()=>[...e.getInterfaces().map(m),...ie(n)],fields:()=>({...AY(t.fields,C),...ee(n)}),extensionASTNodes:t.extensionASTNodes.concat(n)})}function x(e){let t=e.toConfig(),n=i[t.name]??[];return new qX({...t,interfaces:()=>[...e.getInterfaces().map(m),...ie(n)],fields:()=>({...AY(t.fields,C),...ee(n)}),extensionASTNodes:t.extensionASTNodes.concat(n)})}function S(e){let t=e.toConfig(),n=i[t.name]??[];return new JX({...t,types:()=>[...e.getTypes().map(m),...ae(n)],extensionASTNodes:t.extensionASTNodes.concat(n)})}function C(e){return{...e,type:p(e.type),args:e.args&&AY(e.args,w)}}function w(e){return{...e,type:p(e.type)}}function T(e){let t={};for(let n of e){let e=n.operationTypes??[];for(let n of e)t[n.operation]=D(n.type)}return t}function E(e){let t=e.toConfig(),n=a[t.name]??[],r=t.deprecationReason??n.map(e=>T$(e)).find(e=>e!=null);return new dZ({...t,deprecationReason:r,extensionASTNodes:t.extensionASTNodes.concat(n)})}function D(e){let t=e.name.value,n=D$[t]??l[t];if(n===void 0)throw Error(`Unknown type: "${t}".`);return n}function O(e){return e.kind===q.LIST_TYPE?new UX(O(e.type)):e.kind===q.NON_NULL_TYPE?new WX(O(e.type)):D(e)}function k(e){let t=a[e.name.value]??[],n=T$(e)??t.map(e=>T$(e)).find(e=>e!=null);return new dZ({name:e.name.value,description:e.description?.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:te(e.arguments),deprecationReason:n,astNode:e,extensionASTNodes:t})}function ee(e){let t=Object.create(null);for(let n of e){let e=n.fields??[];for(let n of e)t[n.name.value]={type:O(n.type),description:n.description?.value,args:te(n.arguments),deprecationReason:T$(n),astNode:n}}return t}function te(e){let t=e??[],n=Object.create(null);for(let e of t){let t=O(e.type);n[e.name.value]={type:t,description:e.description?.value,defaultValue:BQ(e.defaultValue,t),deprecationReason:T$(e),astNode:e}}return n}function ne(e){let t=Object.create(null);for(let n of e){let e=n.fields??[];for(let n of e){let e=O(n.type);t[n.name.value]={type:e,description:n.description?.value,defaultValue:BQ(n.defaultValue,e),deprecationReason:T$(n),astNode:n}}}return t}function re(e){let t=Object.create(null);for(let n of e){let e=n.values??[];for(let n of e)t[n.name.value]={description:n.description?.value,deprecationReason:T$(n),astNode:n}}return t}function ie(e){return e.flatMap(e=>e.interfaces?.map(D)??[])}function ae(e){return e.flatMap(e=>e.types?.map(D)??[])}function oe(e){let t=e.name.value,n=i[t]??[];switch(e.kind){case q.OBJECT_TYPE_DEFINITION:{let r=[e,...n];return new KX({name:t,description:e.description?.value,interfaces:()=>ie(r),fields:()=>ee(r),astNode:e,extensionASTNodes:n})}case q.INTERFACE_TYPE_DEFINITION:{let r=[e,...n];return new qX({name:t,description:e.description?.value,interfaces:()=>ie(r),fields:()=>ee(r),astNode:e,extensionASTNodes:n})}case q.ENUM_TYPE_DEFINITION:{let r=[e,...n];return new YX({name:t,description:e.description?.value,values:re(r),astNode:e,extensionASTNodes:n})}case q.UNION_TYPE_DEFINITION:{let r=[e,...n];return new JX({name:t,description:e.description?.value,types:()=>ae(r),astNode:e,extensionASTNodes:n})}case q.SCALAR_TYPE_DEFINITION:return new GX({name:t,description:e.description?.value,specifiedByURL:E$(e),astNode:e,extensionASTNodes:n});case q.INPUT_OBJECT_TYPE_DEFINITION:{let r=[e,...n];return new XX({name:t,description:e.description?.value,fields:()=>ne(r),astNode:e,extensionASTNodes:n,isOneOf:Zfe(e)})}}}}function T$(e){return WQ(hZ,e)?.reason}function E$(e){return WQ(gZ,e)?.url}function Zfe(e){return!!WQ(_Z,e)}var D$,O$=o((()=>{lY(),tJ(),DY(),jY(),SJ(),qZ(),ZX(),yZ(),IZ(),lZ(),GQ(),UQ(),D$=EY([...cZ,...FZ],e=>e.name)}));function k$(e,t){e!=null&&e.kind===q.DOCUMENT||Xq(!1,`Must provide valid Document AST.`),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&qfe(e);let n=Xfe({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(n.astNode==null)for(let e of n.types)switch(e.name){case`Query`:n.query=e;break;case`Mutation`:n.mutation=e;break;case`Subscription`:n.subscription=e}let r=[...n.directives,...vZ.filter(e=>n.directives.every(t=>t.name!==e.name))];return new RZ({...n,directives:r})}var Qfe=o((()=>{Zq(),SJ(),yZ(),zZ(),w$(),O$()})),$fe=o((()=>{SJ(),dJ(),bY(),lY(),bJ(),ZX(),IZ(),eZ(),yZ(),zZ(),YQ(),GQ(),lZ(),UQ(),Qfe(),O$(),IY(),MJ(),oX(),wZ(),VZ(),cX(),QY(),CY(),BY(),eY(),hY(),NJ(),dX(),bQ()})),A$=o((()=>{bY(),lY(),dJ(),bJ(),eZ(),ZX(),yZ(),IZ(),zZ(),w$(),SJ(),YQ(),GQ(),Jfe(),Yfe(),C$(),b$(),YZ(),$Z(),tQ(),iQ(),oQ(),sQ(),uQ(),dQ(),hQ(),gQ(),_Q(),vQ(),NQ(),PQ(),RQ(),zQ(),XQ(),t$(),i$(),s$(),l$(),u$(),p$(),h$(),g$(),_$(),mQ(),fQ(),d$(),f$(),a$(),o$(),$Q(),n$(),IQ(),pJ(),$fe()})),epe=c({extractGraphqlSlice:()=>ape});function j$(e){return N$.has(e.kind)}function M$(e){return P$.has(e.kind)}function tpe(e){let t={typeDefs:new Map,typeExts:new Map,directiveDefs:new Map,schemaExts:[]};for(let n of e.definitions)if(j$(n))t.typeDefs.set(n.name.value,n);else if(M$(n)){let e=n.name.value,r=t.typeExts.get(e)??[];r.push(n),t.typeExts.set(e,r)}else n.kind===q.DIRECTIVE_DEFINITION?t.directiveDefs.set(n.name.value,n):n.kind===q.SCHEMA_DEFINITION?t.schemaDef=n:n.kind===q.SCHEMA_EXTENSION&&t.schemaExts.push(n);return t}function npe(e){let t={typeNames:[],directiveNames:[],operationFields:new Map},n=e=>{if(e.kind===`graphql-type`)t.typeNames.push(e.name);else if(e.kind===`graphql-directive`)t.directiveNames.push(e.name);else{let n=t.operationFields.get(e.operationType)??[];n.push(e.name),t.operationFields.set(e.operationType,n)}};if(e.kind===`graphql-type`||e.kind===`graphql-directive`||e.kind===`graphql-operation`)return n(e),t;if(e.kind===`graphql-group`)return e.members.forEach(n),t}function rpe(e,t){let n=F$[t];for(let t of[e.schemaDef,...e.schemaExts])for(let e of t?.operationTypes??[])if(e.operation===n)return e.type.name.value;return L$[t]}function ipe(e,t,n){let r=[],i=new Set,a=[t,...e.typeExts.get(t.name.value)??[]];for(let e of a)if(e.kind===q.OBJECT_TYPE_DEFINITION||e.kind===q.OBJECT_TYPE_EXTENSION)for(let t of e.fields??[]){let e=t.name.value;n.has(e)&&!i.has(e)&&(i.add(e),r.push(t))}return r}function ape(e,t){let n=npe(t);if(!n)return;let r;try{r=gY(e,{noLocation:!0})}catch{return}let i=tpe(r),a=new Map,o=[],s=!1;for(let e of I$){let t=n.operationFields.get(e);if(!t?.length)continue;let r=rpe(i,e),c=i.typeDefs.get(r);if(c?.kind!==q.OBJECT_TYPE_DEFINITION)continue;let l=ipe(i,c,new Set(t));if(!l.length)continue;let u=a.get(r);a.set(r,{kind:q.OBJECT_TYPE_DEFINITION,name:c.name,description:c.description,directives:c.directives,fields:u?[...u.fields??[],...l]:l}),o.push({kind:q.OPERATION_TYPE_DEFINITION,operation:F$[e],type:{kind:q.NAMED_TYPE,name:{kind:q.NAME,value:r}}}),r!==L$[e]&&(s=!0)}let c=o.length&&(i.schemaDef||s)?{kind:q.SCHEMA_DEFINITION,description:i.schemaDef?.description&&{...i.schemaDef.description,value:aq(i.schemaDef.description.value)},directives:i.schemaDef?.directives,operationTypes:o}:void 0,l=new Set,u=new Set,d=[],f=e=>{if(l.has(e))return;let t=i.typeDefs.get(e);if(!t)return;l.add(e);let n=a.get(e);if(n){d.push(n);return}d.push(t,...i.typeExts.get(e)??[])},p=e=>{if(u.has(e))return;let t=i.directiveDefs.get(e);t&&(u.add(e),d.push(t))};c&&d.push(c);for(let e of a.keys())f(e);for(let e of n.typeNames)f(e);for(let e of n.directiveNames)p(e);if(l.size===0&&u.size===0)return;for(;d.length;){let e=d.pop();e&&JY(e,{NamedType(e){f(e.name.value)},Directive(e){p(e.name.value)}})}let m=[],h=!1;for(let e of r.definitions)if(e.kind===q.SCHEMA_DEFINITION)c&&(m.push(c),h=!0);else if(j$(e)){let t=e.name.value;l.has(t)&&m.push(a.get(t)??e)}else if(M$(e)){let t=e.name.value;l.has(t)&&!a.has(t)&&m.push(e)}else e.kind===q.DIRECTIVE_DEFINITION&&u.has(e.name.value)&&m.push(e);if(c&&!h&&m.unshift(c),m.length!==0)return $Y({kind:q.DOCUMENT,definitions:m})}var N$,P$,F$,I$,L$,ope=o((()=>{A$(),cq(),N$=new Set([q.SCALAR_TYPE_DEFINITION,q.OBJECT_TYPE_DEFINITION,q.INTERFACE_TYPE_DEFINITION,q.UNION_TYPE_DEFINITION,q.ENUM_TYPE_DEFINITION,q.INPUT_OBJECT_TYPE_DEFINITION]),P$=new Set([q.SCALAR_TYPE_EXTENSION,q.OBJECT_TYPE_EXTENSION,q.INTERFACE_TYPE_EXTENSION,q.UNION_TYPE_EXTENSION,q.ENUM_TYPE_EXTENSION,q.INPUT_OBJECT_TYPE_EXTENSION]),F$={query:yJ.QUERY,mutation:yJ.MUTATION,subscription:yJ.SUBSCRIPTION},I$=[`query`,`mutation`,`subscription`],L$={query:`Query`,mutation:`Mutation`,subscription:`Subscription`}}));QR(),B();async function R$(e,t,n){switch(e){case es.GRAPHQL:{if(typeof t!=`string`)return;if(n.kind===`document`)return t;let{extractGraphqlSlice:e}=await Promise.resolve().then(()=>(ope(),epe));return e(t,n)}case es.OPENAPI:if(V(t)){let e=fq(t,n);if(e)return VK(e.document,{noRefs:!0,lineWidth:-1})}return;case es.ASYNCAPI:if(V(t)){let e=Tq(t,n);if(e)return VK(e.document,{noRefs:!0,lineWidth:-1})}return;default:return}}B(),QR();function spe(e,t,n){let r=t.toLowerCase(),i=e.routeIndexByPath.get(t)??e.routeIndexByPath.get(r);return i===void 0?r===n.toLowerCase()?e.rootPage:void 0:e.allRoutes[i]}function cpe(e){let t=I(hs),n=I(gs),{downloadUrls:r}=I(ds),i=I($R),a=I(fs),o=I(ps);return useMemo(()=>{if(!t||!i)return null;let s=spe(i,e,o??``),c=s?i.tagByPath.get(s.path)?.items.map(e=>e.content):void 0,l=Lq(a,s?.content,s?.label,c);if(!l)return null;let u=a===es.GRAPHQL?`graphql`:`yaml`,d=[V(t)&&V(t.info)&&t.info.title,s?.label].filter(e=>typeof e==`string`&&e).join(` – `)||void 0;return{getText:async()=>{let n=await R$(a,t,l);if(n===void 0)throw Error(`Copy for LLM: no content produced for "${e}"`);return n},contentKind:u,scope:l,specUrl:n??r?.[0]?.url,title:d}},[t,n,r,i,a,o,e])}na(),no(),ao(),co(),Ii(),qf();var lpe=1e3;function z$(e){if(e)try{return new URL(e,document.baseURI).toString()}catch{return}}function upe({pageSlug:e}){let t=fb(),n=jE(),r=cpe(e),[i,a]=useState(`idle`),o=useRef(void 0);if(useEffect(()=>()=>clearTimeout(o.current),[]),!r)return null;let s=(e,t,r)=>{n.sendPageActionsClickedMessage([{...VE.pageActions,actionType:e,outcome:t,...r?{tier:r}:{}}])},c=async()=>{if(i!==`processing`){a(`processing`);try{let e=Yq(await r.getText(),{...r,specUrl:z$(r.specUrl)});m.copyCustom(e),a(`done`),s(`copy`,`copied`),clearTimeout(o.current),o.current=setTimeout(()=>a(`idle`),lpe)}catch(e){console.error(e),a(`idle`),s(`copy`,`failed`)}}},l=async e=>{let t=Wq[e],n=window.open(``,`_blank`),i;try{let a=await r.getText(),o=z$(r.specUrl),c=Kq(t,a,r.contentKind),l=c??(o?Jq(t,o,r.scope):void 0);if(i=c?`inline`:l?`fetch`:void 0,!l){n?.close(),s(e,`unavailable`);return}n?n.location.href=l:window.open(l,`_blank`),s(e,`opened`,i)}catch(t){n?.close(),console.error(t),s(e,`failed`,i)}},u={buttonText:t(`page.actions.copyButtonText`,`Copy`),title:t(`page.actions.copyTitle`,`Copy for LLM`),description:t(`page.actions.copyDescription`,r.contentKind===`graphql`?`Copy page as GraphQL SDL for LLMs`:`Copy page as YAML for LLMs`),iconComponent:to,onClick:c},d=jsx(ta,{variant:`outlined`,icon:dpe(i),onClick:c,children:u.buttonText});if(!r.specUrl)return jsx(B$,{"data-testid":`page-actions`,children:d});let f=[u,{buttonText:t(`page.actions.claudeButtonText`,`Open in Claude`),title:t(`page.actions.claudeTitle`,`Open in Claude`),description:t(`page.actions.claudeDescription`,`Get insights from Claude`),iconComponent:so,onClick:()=>l(`claude`)},{buttonText:t(`page.actions.chatGptButtonText`,`Open in ChatGPT`),title:t(`page.actions.chatGptTitle`,`Open in ChatGPT`),description:t(`page.actions.chatGptDescription`,`Get insights from ChatGPT`),iconComponent:io,onClick:()=>l(`chatgpt`)}].map((e,t)=>jsx($g,{onAction:()=>`onClick`in e?e.onClick():void 0,children:jsx(sP,{pageAction:e})},`${e.title}-${t}`));return jsx(B$,{"data-testid":`page-actions`,children:jsx(cP,{portalled:!0,variant:`outlined`,size:`medium`,toggleAriaLabel:t(`page.actions.moreActions`,`More actions`),button:d,children:jsx(fpe,{children:f})})})}function dpe(e){switch(e){case`processing`:return jsx(Fn,{color:`var(--page-actions-processing-icon-color)`});case`done`:return jsx(Fi,{color:`var(--page-actions-done-icon-color)`});default:return jsx(to,{})}}var B$=styled$1.div`
  margin-left: auto;
  padding-left: var(--page-actions-padding-left);
  --button-color: var(--page-actions-button-text-color);

  .button-group-size-medium .button.button-size-medium {
    --button-icon-left-padding: var(--page-actions-button-padding);
  }
`,fpe=styled$1(t_)`
  --dropdown-menu-max-height: var(--page-actions-dropdown-max-height);
`;function ppe({pageSlug:e}){return jsx(upe,{pageSlug:e})}na();var V$=({itemId:e,deepLinkKeys:t})=>{let n=fb(),r=I(useMemo(()=>Eu(tp(e),e=>{let n=Object.entries(e.collapsibles).filter(([e])=>t.includes(lp(e)));return n.length>0&&n.every(([,e])=>e)}),[e,t])),i=Qo(tp(e)),[a,startTransition]=useTransition(),o=jE();return jsx(mpe,{"data-testid":`schema-expand-all-button`,icon:jsx(Wg,{$collapse:r}),iconPosition:`right`,size:`small`,variant:`ghost`,onClick:()=>{let e=!r;o.sendExpandCollapseAllClickedMessage([{...VE.expandCollapseAllButton,isExpanded:e}]),startTransition(()=>{i(n=>({expandableSections:{...n.expandableSections,...Object.fromEntries(t.map(t=>[t,e]))},collapsibles:{...n.collapsibles,...Object.fromEntries(Object.keys(n.collapsibles).filter(e=>t.includes(lp(e))).map(t=>[t,e]))}}))})},style:{opacity:a?.6:1},children:r?n(`openapi.collapseAll`,`Collapse all`):n(`openapi.expandAll`,`Expand all`)})},mpe=styled$1(ta)`
  margin-left: auto;
`;B();var hpe={responses:`response`};function H$(e,t){if(!e||!t)return!1;let n=hpe[t]??t;return e.split(`&`).some(e=>{let t=e.indexOf(`=`);return(t===-1?e:e.slice(t+1))===n})}function U$(e){let t=I(lre(useContext(bc)??``));return useMemo(()=>e?t.filter(t=>H$(t,e)):[],[t,e])}function W$(e){let t=useContext(bc)??``;return I(useMemo(()=>Eu(tp(t),t=>!!e&&Object.keys(t.collapsibles).some(t=>H$(lp(t),e))),[t,e]))}function gpe(e,t){return useMemo(()=>{if(t===`responses`&&e?.nodeType===R.CONTAINER)return e.children.find(e=>e.nodeType===R.ITEM&&e.variant===`responses`)?.responses?.map(e=>e.code)},[e,t])}B(),qf(),Ns(),Ds(),_c();function _pe({node:e,path:t,parentNode:n}){let{level:r,label:i,badges:a,deprecated:o,graphqlReturnType:s,graphqlArgs:c,graphqlDeprecated:l,graphqlOperationType:u,showPageActions:d=!1,deepLinkSuffix:f,protocolTag:p,isWebhook:m}=e,h=I(fs),g=fb(),_=h===es.GRAPHQL,v=o||_&&l,y=I(ps),b=vc(),x=useContext(bc),S=gpe(n,f),C=S?.[0]||``,w=Tj(g,e.labelTranslationKey,e.label),T=useMemo(()=>t?Ms(t,y):``,[t,y]),E=useMemo(()=>T?b(f?Gs(y,T,f):Os(y,bs(T.toLowerCase()))):``,[T,y,f,b]),D=f===`responses`&&!!S&&S.length>0&&!!t,O=U$(f),k=W$(f),ee=useMemo(()=>a?.filter(e=>e.position===`before`)??[],[a]),te=useMemo(()=>a?.filter(e=>e.position!==`before`)??[],[a]),ne=useMemo(()=>!E||r<=1?null:D?jsx(IV,{routingBasePath:y,relativePath:T,itemId:x??``,label:`link to ${w}`}):jsx(vb,{to:E,label:`link to ${w}`}),[E,r,D,y,T,x,w]),re=useMemo(()=>{let e=jsxs(Fragment$1,{children:[ne,ee.map(Tb),w,te.map(Tb)]});switch(r){case 1:return jsx(Epe,{$inline:_,children:e});case 2:return jsxs(Dpe,{$inline:_,children:[e,v&&jsxs(Fragment$1,{children:[` `,jsx(wb,{$deprecated:!0,children:g(`badges.deprecated`,`deprecated`)})]}),m&&jsx(wb,{$webhook:!0,children:g(`badges.webhook`,`Webhook`)})]});case 3:return jsx(Ope,{$inline:_,children:e});case 4:return jsx(kpe,{$inline:_,children:e});case 5:return jsx(Ape,{$inline:_,children:e});default:return null}},[ne,ee,w,te,r,v,g,m,_]),ie=!_&&r===4&&f===`responses`;return jsxs(Fragment$1,{children:[p&&jsx(wpe,{color:p.color,borderless:!0,children:p.label}),jsxs(vpe,{id:f?$s(E):void 0,$spacingBeforeResponses:ie,$isAsyncApi:h===es.ASYNCAPI,children:[jsxs(xpe,{$badgeCount:S?.length??0,children:[_?jsxs(Tpe,{children:[re,c&&c.length>0&&jsx(Spe,{"data-testid":`collapsed-args`,$size:`lg`,children:`(${c.length===1?c[0].name:`...args`})`})]}):re,S&&S.length>0&&jsx(LV,{codes:S,itemId:x??``,firstCode:C}),O.length>0&&k&&x&&jsx(V$,{itemId:x,deepLinkKeys:O})]}),d&&jsx(Cpe,{children:jsx(ppe,{pageSlug:t||y})})]}),_&&jsx(FV,{returnType:s,operationName:i,operationType:u})]})}var vpe=styled$1.div`
  container-type: inline-size;
  container-name: api-docs-heading;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-base);
  ${bb}
  margin-bottom: var(--spacing-base);
  flex-wrap: nowrap;
  gap: var(--spacing-xs);

  &:has(h4) {
    margin-bottom: ${({$spacingBeforeResponses:e})=>e?`var(--spacing-base)`:`var(--spacing-xs)`};
  }

  ${({$isAsyncApi:e})=>e&&css`
      &:has(h4) {
        margin-top: var(--spacing-md);
        margin-bottom: 0;
      }
    `}

  &:has(+ [data-gql-return-type-details]) {
    margin-bottom: 0;
  }

  ${({$spacingBeforeResponses:e})=>e&&css`
      margin-top: var(--spacing-xl);
    `}

  @media screen and (max-width: ${k.small}) {
    gap: 0;
  }
`,ype=250,bpe=64,xpe=styled$1.div`
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: var(--spacing-xs);
  flex: 1 1 auto;
  min-width: 0;
  & > *:has(+ [data-response-codes-tablist]) {
    margin-right: var(--spacing-base);
  }

  ${({$badgeCount:e})=>!!e&&css`
      @container api-docs-heading (max-width: ${ype+e*bpe}px) {
        & > [data-response-codes-tablist] {
          order: 1;
          flex-basis: 100%;
        }
      }
    `}
`,Spe=styled$1(EV)`
  margin-left: var(--spacing-xs);
`,Cpe=styled$1.div`
  flex-shrink: 0;
  margin-left: auto;
`,wpe=styled$1(Cb)`
  display: block;
  align-self: flex-start;
  margin-top: var(--spacing-md);
`,Tpe=styled$1.div`
  display: block;
  min-width: 0;
  flex: 1 1 auto;
`,G$=css`
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  position: relative;
  margin: 0;

  & [data-deep-link-anchor] {
    position: absolute;
    top: 0;
    left: 0;
    height: 1lh;
  }
  ${({$inline:e})=>e?css`
          display: inline;

          & > [data-component-name='Tag/Tag'] {
            vertical-align: middle;
          }
        `:css`
          display: flex;
          align-items: center;
          gap: var(--spacing-xs);
          flex-wrap: wrap;
        `}
`,Epe=styled$1(dV)`
  ${G$}
  & + [data-component-name="Markdown/Markdown"] {
    margin-top: var(--h1-margin-bottom);
  }
`,Dpe=styled$1(fV)`
  ${G$}
`,Ope=styled$1(pV)`
  ${G$}
`,kpe=styled$1(SP)`
  ${G$}
`,Ape=styled$1.h5`
  ${G$}
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-lg);
  color: var(--text-color-primary);
`,K$=memo(_pe);function jpe({node:e}){let t=fb();return jsx(Mpe,{children:Tj(t,e.labelTranslationKey,e.label)})}var Mpe=styled$1.p`
  margin: 0;
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`;function Npe({node:e}){return jsx(pv,{source:e.content})}F();var Ppe=styled(e=>jsxs(`svg`,{width:`18`,height:`18`,viewBox:`0 0 18 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M9 1.125C7.44248 1.125 5.91992 1.58686 4.62489 2.45218C3.32985 3.31749 2.32049 4.5474 1.72445 5.98637C1.12841 7.42534 0.972461 9.00874 1.27632 10.5363C1.58018 12.0639 2.3302 13.4671 3.43154 14.5685C4.53288 15.6698 5.93607 16.4198 7.46367 16.7237C8.99127 17.0275 10.5747 16.8716 12.0136 16.2756C13.4526 15.6795 14.6825 14.6702 15.5478 13.3751C16.4131 12.0801 16.875 10.5575 16.875 9C16.875 6.91142 16.0453 4.90838 14.5685 3.43153C13.0916 1.95469 11.0886 1.125 9 1.125ZM9 15.75C7.66498 15.75 6.35994 15.3541 5.2499 14.6124C4.13987 13.8707 3.27471 12.8165 2.76382 11.5831C2.25293 10.3497 2.11925 8.99251 2.3797 7.68314C2.64015 6.37377 3.28303 5.17103 4.22703 4.22703C5.17104 3.28302 6.37377 2.64015 7.68314 2.3797C8.99252 2.11925 10.3497 2.25292 11.5831 2.76381C12.8165 3.2747 13.8707 4.13987 14.6124 5.2499C15.3541 6.35993 15.75 7.66498 15.75 9C15.75 10.7902 15.0388 12.5071 13.773 13.773C12.5071 15.0388 10.7902 15.75 9 15.75Z`}),jsx(`path`,{d:`M9.5625 4.5H8.4375V10.6875H9.5625V4.5Z`}),jsx(`path`,{d:`M9 12.375C8.83313 12.375 8.67 12.4245 8.53124 12.5172C8.39249 12.6099 8.28434 12.7417 8.22048 12.8959C8.15662 13.05 8.13991 13.2197 8.17247 13.3834C8.20502 13.547 8.28538 13.6974 8.40338 13.8154C8.52138 13.9334 8.67172 14.0137 8.8354 14.0463C8.99907 14.0788 9.16872 14.0621 9.32289 13.9983C9.47707 13.9344 9.60884 13.8263 9.70156 13.6875C9.79427 13.5488 9.84375 13.3856 9.84375 13.2188C9.84375 12.995 9.75486 12.7804 9.59662 12.6221C9.43839 12.4639 9.22378 12.375 9 12.375Z`})]})).attrs({"data-component-name":`icons/WarningCycleIcon/WarningCycleIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Fpe=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M7 10.707L4.5 8.2065L5.2065 7.5L7 9.293L10.7925 5.5L11.5 6.2075L7 10.707Z`}),jsx(`path`,{d:`M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM8 14C6.81332 14 5.65328 13.6481 4.66658 12.9888C3.67989 12.3295 2.91085 11.3925 2.45673 10.2961C2.0026 9.19974 1.88378 7.99334 2.11529 6.82946C2.3468 5.66557 2.91825 4.59647 3.75736 3.75736C4.59648 2.91824 5.66558 2.3468 6.82946 2.11529C7.99335 1.88378 9.19975 2.0026 10.2961 2.45672C11.3925 2.91085 12.3295 3.67988 12.9888 4.66658C13.6481 5.65327 14 6.81331 14 8C14 9.5913 13.3679 11.1174 12.2426 12.2426C11.1174 13.3679 9.5913 14 8 14Z`})]})).attrs({"data-component-name":`icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var Ipe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M1 8C1 9.38447 1.41054 10.7378 2.17971 11.889C2.94888 13.0401 4.04213 13.9373 5.32122 14.4672C6.6003 14.997 8.00776 15.1356 9.36563 14.8655C10.7235 14.5954 11.9708 13.9287 12.9497 12.9497C13.9287 11.9708 14.5954 10.7235 14.8655 9.36563C15.1356 8.00776 14.997 6.6003 14.4672 5.32122C13.9373 4.04213 13.0401 2.94888 11.889 2.17971C10.7378 1.41054 9.38447 1 8 1C6.14348 1 4.36301 1.7375 3.05025 3.05025C1.7375 4.36301 1 6.14348 1 8ZM12.575 11.875L4.125 3.425C5.27532 2.4675 6.74196 1.97449 8.23708 2.04273C9.7322 2.11097 11.1478 2.73554 12.2062 3.79385C13.2645 4.85216 13.889 6.2678 13.9573 7.76292C14.0255 9.25804 13.5325 10.7247 12.575 11.875ZM4.12 12.58C2.90916 11.5518 2.1555 10.0853 2.02428 8.5022C1.89306 6.9191 2.39499 5.34858 3.42 4.135L11.865 12.58C10.7821 13.495 9.4102 13.997 7.9925 13.997C6.5748 13.997 5.20289 13.495 4.12 12.58Z`})})).attrs({"data-component-name":`icons/ErrorIcon/ErrorIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var q$={warning:Ppe,success:Fpe,danger:Ipe,info:Mj,idea:styled(e=>jsxs(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`16`,viewBox:`0 0 12 16`,fill:`none`,...e,children:[jsx(`path`,{d:`M8.44309 12.375H2.81809V13.5H8.44309V12.375Z`}),jsx(`path`,{d:`M7.31809 14.625H3.94309V15.75H7.31809V14.625Z`}),jsx(`path`,{d:`M5.63059 0C4.13874 0 2.708 0.592632 1.65311 1.64752C0.59822 2.70242 0.00558778 4.13316 0.00558778 5.625C-0.0324517 6.4425 0.124148 7.25735 0.462504 8.00252C0.80086 8.74768 1.3113 9.40187 1.95184 9.91125C2.51434 10.4344 2.81809 10.7325 2.81809 11.25H3.94309C3.94309 10.215 3.31871 9.63562 2.71121 9.07875C2.18548 8.67615 1.76648 8.15078 1.49091 7.54866C1.21535 6.94654 1.09163 6.28603 1.13059 5.625C1.13059 4.43153 1.60469 3.28693 2.44861 2.44302C3.29252 1.59911 4.43711 1.125 5.63059 1.125C6.82406 1.125 7.96865 1.59911 8.81257 2.44302C9.65648 3.28693 10.1306 4.43153 10.1306 5.625C10.1689 6.28652 10.0443 6.94734 9.76775 7.5495C9.49119 8.15166 9.0711 8.67676 8.54434 9.07875C7.94246 9.64125 7.31809 10.2037 7.31809 11.25H8.44309C8.44309 10.7325 8.74121 10.4344 9.30934 9.90563C9.94943 9.39711 10.4596 8.74389 10.798 7.99971C11.1364 7.25552 11.2932 6.44163 11.2556 5.625C11.2556 4.88631 11.1101 4.15486 10.8274 3.47241C10.5447 2.78995 10.1304 2.16985 9.60806 1.64752C9.08573 1.12519 8.46564 0.71086 7.78318 0.428178C7.10073 0.145495 6.36927 0 5.63059 0Z`})]})).attrs({"data-component-name":`icons/IdeaIcon/IdeaIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`};function J$({type:e=`info`,name:t,children:n,className:r,"data-source":i,"data-hash":a}){let o=q$[e]||q$.info;return jsxs(Lpe,{$type:e,className:r,"data-component-name":`Admonition/Admonition`,"data-source":i,"data-hash":a,children:[jsx(o,{color:`--admonition-${e}-icon-color`}),jsxs(Rpe,{children:[t?jsx(zpe,{$type:e,children:t}):null,n?jsx(Y$,{children:n}):null]})]})}var Y$=styled.div`
  & > p:first-child {
    margin-top: 0;
  }

  & > p:last-child {
    margin-bottom: 0;
  }
`,Lpe=styled.div`
  display: flex;
  flex-direction: row;
  gap: var(--admonition-gap);
  margin: var(--admonition-margin);
  padding: var(--admonition-padding);
  border-radius: var(--admonition-border-radius);
  font-size: var(--admonition-font-size);
  font-weight: var(--admonition-font-weight);
  line-height: var(--admonition-line-height);

  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;

  ${({$type:e})=>css`
    background-color: var(--admonition-${e}-bg-color);
    color: var(--admonition-${e}-text-color);
    border: var(--admonition-${e}-border);
  `};

  &:not(:has(${Y$})) {
    --admonition-heading-font-size: var(--admonition-font-size);
    --admonition-heading-line-height: var(--admonition-line-height);

    align-items: center;
    gap: calc(var(--spacing-xxs) * 1.5);
  }

  svg {
    width: var(--admonition-icon-size);
    height: var(--admonition-icon-size);
    flex-shrink: 0;
    margin: var(--admonition-icon-margin);

    fill: ${({$type:e})=>`var(--admonition-${e}-icon-color)`};

    background-image: ${({$type:e})=>`var(--admonition-${e}-icon)`};
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
`,Rpe=styled.div`
  display: flex;
  flex-direction: column;
  gap: var(--admonition-text-gap);
  width: 100%;
`,zpe=styled.div`
  letter-spacing: var(--admonition-heading-letter-spacing);
  color: ${({$type:e})=>`var(--admonition-${e}-heading-text-color)`};

  && {
    font-size: var(--admonition-heading-font-size);
    font-weight: var(--admonition-heading-font-weight);
    line-height: var(--admonition-heading-line-height);
    text-transform: var(--admonition-heading-transform);
  }
`;function Bpe({node:e}){let t=Tj(fb(),e.nameTranslationKey,e.name)||void 0;return jsx(J$,{type:e.admonitionType,name:t,children:e.content&&jsx(pv,{source:e.content})})}function Vpe({node:e}){let t=fb(),{rows:n}=e;return n.length===0?null:jsxs(mb,{children:[jsx(pV,{children:t(`info.metadata.title`,`Metadata`)}),jsxs(`table`,{className:`md`,children:[jsx(`thead`,{children:jsxs(`tr`,{children:[jsx(`th`,{scope:`col`,children:t(`key`,`Key`)}),jsx(`th`,{scope:`col`,children:t(`value`,`Value`)})]})}),jsx(`tbody`,{children:n.map(({key:e,value:t})=>jsxs(`tr`,{children:[jsx(`td`,{children:e}),jsx(`td`,{children:t})]},e))})]})]})}var Hpe=memo(Vpe);function Upe({node:e,itemPath:t,sectionId:n}){let{children:r,panels:i}=e;return jsx(bP,{panels:i,sectionId:n,children:r?.map((n,r)=>jsx(E1,{type:n.nodeType,node:n,parentNode:e,itemPath:t},`${e.nodeType}_${n.nodeType}_${r}`))})}var X$=memo(Upe);sN(),Ds();function Wpe({node:e}){let t=e.parameters,n=e.variant,r=Sc(),i=useMemo(()=>({t:`request`,in:n,cb:r}),[n,r]);return!t||t.length===0?jsx(Fragment$1,{}):jsx(wc.Provider,{value:i,children:jsx(qpe,{children:t.map((e,t)=>jsx(Kpe,{param:e},`${e.name}-${t}`))})})}function Gpe(e){if(e.in)return t=>xs(aN(e,t))}function Kpe({param:e}){let t=I(kc(e.schemaId))?.data,n={allOf:[{...e.deprecated===void 0?{}:{deprecated:e.deprecated},...e.description==null?{}:{description:e.description}},t,{...e.example==null?{}:{example:e.example},...e.examples?{examples:e.examples}:{}}],...e.badges?.length?{"x-badges":e.badges}:{},...e.extensions},r={type:`object`,required:e.required?[e.name]:[],properties:{[e.name]:n}};return jsx(uj,{schema:r,level:1,exampleSerializer:Gpe(e)})}var qpe=styled$1.div`
  display: flex;
  flex-direction: column;
`;na();function Jpe({mediaTypes:e,value:t,onChange:n,deepLink:r,headingId:i,required:a}){let o=fb(),s=useCallback(e=>n(e),[n]);if(!e.length)return null;let c=t&&e.includes(t)?t:e[0],l=e.length>1,u=o(`body`,`Body`);return jsxs(Ype,{id:i,children:[r?jsx(vb,{to:r,label:`link to ${u}`}):null,u,l?jsx(Xg,{portalled:!0,trigger:jsx(ta,{variant:`ghost`,size:`large`,type:`button`,children:jsx(Q$,{"data-testid":`dropdown-item-media-type`,children:c})}),withArrow:!0,children:jsx(t_,{children:e.map(e=>jsx(Zpe,{active:e===c,onAction:()=>s(e),suffix:e===c&&jsx(Xpe,{}),children:jsx(Q$,{children:e})},e))})}):jsx($pe,{children:e[0]}),a?jsx(Qpe,{children:o(`required`,`required`)}):null]})}var Z$=memo(Jpe),Ype=styled$1.div`
  position: relative;
  display: flex;
  align-items: center;
  font-weight: var(--font-weight-semibold);
  color: var(--text-color-primary);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-md);
  line-height: var(--line-height-lg);
  padding: 0 0 var(--spacing-xxs);

  & > * + * {
    margin-left: var(--spacing-xxs);
  }

  & button:not(:has(*)) {
    font-family: var(--font-family-monospaced);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-lg);
  }

  ${bb}

  & [data-component-name='Dropdown/Dropdown'] svg {
    visibility: visible;
  }
`,Q$=styled$1.span`
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
`,Xpe=styled$1(yO)`
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
`,Zpe=styled$1($g)`
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-xxs) var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,Qpe=styled$1.span`
  color: var(--schema-property-required-label-text-color, #e20c0c);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
`,$pe=styled$1.span`
  margin-right: var(--spacing-unit);
  cursor: default;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-color-primary);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
`;_c();function eme({node:e}){let t=e.mediaTypeSchemas?Object.keys(e.mediaTypeSchemas):e.mediaTypes,[n,r]=$o(Sh);$h(useContext(bc)??void 0,t);let i=n&&t?.includes(n)?n:t?.[0],a=e.mediaTypeSchemas?.[i??``]?.schemaId??e.schemaId,o=I(kc(a??``)),s=t&&t.length>0,c=t&&t.length>1,l=e.variant===`querystring-body`||e.variant===`body`&&!e.isEvent,u=Ec(useMemo(()=>Ys(`request`,`body`),[])),d=Sc(),f=useMemo(()=>({t:`request`,cb:d,ct:c?i:void 0,schemaId:a}),[d,c,i,a]);return jsxs(tme,{id:$s(u),children:[s&&t&&jsx(Z$,{mediaTypes:t,value:i,onChange:r,deepLink:u,required:e.required}),e.description?jsx(nme,{children:jsx(pv,{source:e.description})}):null,o&&jsx(wc.Provider,{value:f,children:jsx(uj,{schemaId:a,expandByDefault:!0,level:1,skipReadOnly:l,skipWriteOnly:!l})})]})}var tme=styled$1.div`
  display: flex;
  flex-direction: column;
`,nme=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-description);

  p {
    margin-top: var(--spacing-xxs);
    margin-bottom: 0;
  }
`,rme=memo(eme);_c(),QR();function ime({node:e}){let t=e.responses,n=fb(),r=useContext(bc),i=I(np({itemId:r??``,key:`activeResponseCode`})),a=Qo(tp(r??``)),o=useMemo(()=>t?.map(e=>e.code),[t]),s=Qh(r??void 0,o,`c`),c=zh(),l=i||s||t?.[0]?.code||``;useEffect(()=>{s&&a({activeResponseCode:s})},[s,a,c]);let u=Zh(l,`body`),d=Zh(l,`headers`),{mediaTypes:f,mediaType:p,mediaTypeContent:m,schemaId:h,summary:g,description:_,headers:v,headerSchemaId:y}=t?.find(e=>e.code===l)??t?.[0]??{},b=m?Object.keys(m):f??(p?[p]:[]),[x,S]=$o(Sh);$h(r??void 0,b);let C=x&&b.includes(x)?x:b[0],w=m?.[C]?.schemaId??h,T=Sc(),E=useMemo(()=>({t:`response`,c:l,cb:T,ct:b.length>1?C:void 0,schemaId:w}),[l,T,b.length,C,w]);return!t||t.length===0?jsx(Fragment$1,{}):jsx(ame,{children:jsxs(ome,{children:[g&&jsx($$,{children:jsx(pv,{source:g})}),_&&jsx($$,{children:jsx(pv,{source:_})}),jsxs(wc.Provider,{value:E,children:[(y||V(v))&&jsxs(lme,{children:[jsxs(sme,{id:$s(d),children:[d&&jsx(vb,{to:d,label:`link to ${n(`header`,`Headers`)}`}),jsx(cme,{children:n(`header`,`Headers`)})]}),y?jsx(uj,{schemaId:y,expandByDefault:!0,level:1}):jsx(uj,{schema:v,expandByDefault:!0,level:1})]}),b.length>0&&jsx(Z$,{headingId:$s(u),mediaTypes:b,value:C,onChange:S,deepLink:u}),w&&jsx(uj,{schemaId:w,expandByDefault:!0,level:1,skipWriteOnly:!0})]})]})})}var ame=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
`,ome=styled$1.div`
  display: flex;
  flex-direction: column;
`,$$=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-description);
`,sme=styled$1.span`
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--spacing-md);
  padding: var(--spacing-xxs) 0;
  ${bb}
`,cme=styled$1.span`
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  line-height: var(--line-height-lg);
  color: var(--text-color-primary);
`,lme=styled$1.div`
  &:not(:last-child) {
    margin-bottom: var(--spacing-lg);
  }
`;function ume({node:e}){return e.schemaId?jsx(uj,{schemaId:e.schemaId,expandByDefault:!0}):jsx(Fragment$1,{})}var dme=memo(ume);gv();function e1(e){return e?typeof e==`string`?mv(e)?e:jsx(pv,{source:e}):Array.isArray(e)||typeof e==`object`?jsx(pv,{source:e}):String(e):null}function fme({node:e}){let t=e.values,n=fb();return!t||t.length===0?jsx(Fragment$1,{}):jsx(mme,{children:t.map(e=>jsxs(hme,{children:[jsxs(gme,{children:[jsx(_me,{children:e.name}),e.deprecated&&jsx(W_,{children:n(`badges.deprecated`,`deprecated`)}),e.type&&jsx(vme,{children:e.type})]}),pme(e.description)&&jsx(yme,{children:e1(e.description)})]},e.name))})}function pme(e){return e==null||e===``?!1:!Array.isArray(e)||e.length>0}var mme=styled$1.div`
  display: flex;
  flex-direction: column;
`,hme=styled$1.div`
  border-bottom: 1px solid var(--border-color-primary, #e0e0e0);
  padding: var(--spacing-sm, 8px) 0;
`,gme=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--spacing-xxs, 4px);
`,_me=styled$1.div`
  display: flex;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-sm, var(--line-height-base));
  color: var(--text-color-primary);
`,vme=styled$1.span`
  font-size: var(--font-size-base);
  color: var(--text-color-secondary);
`,yme=styled$1(_V)`
  font-size: 14px;
  line-height: var(--line-height-sm, var(--line-height-base));
  margin-top: calc(var(--spacing-unit, 4px) / 2);
`;qf(),lb(),eu(),_c(),QR();var bme=3;function xme({node:e}){let t=e.messages;return!t||t.length===0?jsx(Fragment$1,{}):jsx(Sme,{messages:t})}function Sme({messages:e}){let t=useContext(bc),n=Qo(tp(t??``)),r=I(useMemo(()=>np({itemId:t??``,key:`activeMessageKey`}),[t])),i=useMemo(()=>e.map(e=>e.name),[e]),a=Qh(t??void 0,i,`m`),o=zh(),s=useRef(void 0),c=useRef(o),l=a!==void 0&&(a!==s.current||o!==c.current)?a:r||e[0].name,u=useMemo(()=>e.find(e=>e.name===l)??e[0],[e,l]);useEffect(()=>{a&&n({activeMessageKey:a}),s.current=a,c.current=o},[a,o,n]);let d=jE(),f=useMemo(()=>e.map(e=>({value:e.name,label:e.label||e.name})),[e]),p=useRef(null),[m,h]=useState(!1);useEffect(()=>{let e=()=>{let e=p.current;if(!e)return;let t=e.querySelectorAll(`[role="tab"]`),n=Array.from(t).some(e=>{let t=e;return t.offsetWidth<t.scrollWidth});h(n)};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[f]);let g=e.length>bme||e.length>1&&m,_=useCallback(e=>{d.sendSwitchMessageClickedMessage([{...VE.switchMessageButton,index:i.indexOf(e),total:i.length}]),n({activeMessageKey:e})},[d,n,i]),v=Ec(useMemo(()=>u?.name?Xs({section:`messages`,messageKey:u.name}):``,[u?.name])),y=useMemo(()=>t?`${t}/messages`:void 0,[t]);return jsxs(`div`,{...y?{[Xl]:y}:{},children:[jsx(wme,{children:e.length>1?jsxs(Fragment$1,{children:[`Accepts `,jsx(Tme,{children:`one of`}),` the following messages:`]}):jsx(Fragment$1,{children:`Accepts the following message:`})}),jsxs(Eme,{id:$s(v),children:[v&&jsx(Dme,{children:jsx(vb,{to:v,label:`link to Message selector`})}),g?jsx(CO,{value:l,options:f,onChange:e=>{e.value!==void 0&&_(e.value)}}):jsx(dO,{ref:p,size:`small`,value:l,options:f,onChange:e=>{e.value!==void 0&&_(e.value)}})]}),u&&jsx(Cme,{message:u})]})}function Cme({message:e}){let t=fb(),n=t(`header`,`Headers`),r=useMemo(()=>e.name?{asyncSection:`messages`,messageKey:e.name,t:`headers`}:null,[e.name]),i=useMemo(()=>e.name?{asyncSection:`messages`,messageKey:e.name,t:`payload`}:null,[e.name]),a=useMemo(()=>e.name?Xs({section:`messages`,messageKey:e.name,subsection:`headers`}):``,[e.name]),o=useMemo(()=>e.name?Xs({section:`messages`,messageKey:e.name,subsection:`payload`}):``,[e.name]),s=Ec(a),c=Ec(o),l=e.payloadLabel??t(`payload`,`Payload`),u=e.externalDocs?.description==null?void 0:ib(e.externalDocs.description);return jsxs(Ome,{children:[e.summary&&jsx(kme,{children:e.summary}),e.description&&jsx(t1,{children:jsx(pv,{source:e.description})}),e.externalDocs?.url&&jsx(Ame,{children:jsx(Qj,{externalDocs:{url:e.externalDocs.url,description:u||void 0},compact:!0})}),e.correlationId&&jsxs(t1,{children:[jsx(`strong`,{children:`Correlation ID`}),` `,jsx(`code`,{children:e.correlationId.location}),e.correlationId.description&&jsx(pv,{source:e.correlationId.description})]}),(e.headerSchemaId||V(e.headers))&&jsxs(n1,{id:$s(s),children:[jsxs(r1,{children:[s&&jsx(vb,{to:s,label:`link to ${n}`}),n]}),jsx(wc.Provider,{value:r,children:e.headerSchemaId?jsx(uj,{schemaId:e.headerSchemaId,expandByDefault:!0}):jsx(uj,{schema:e.headers,expandByDefault:!0})})]}),(e.schemaId||V(e.payload))&&jsxs(n1,{id:$s(c),children:[jsxs(r1,{children:[c&&jsx(vb,{to:c,label:`link to ${l}`}),l,e.contentType&&jsx(jme,{children:e.contentType})]}),jsx(wc.Provider,{value:i,children:e.schemaId?jsx(uj,{schemaId:e.schemaId,expandByDefault:!0}):jsx(uj,{schema:e.payload,expandByDefault:!0})})]})]})}var wme=styled$1.p`
  margin: 0 0 var(--spacing-sm, 12px);
  color: var(--text-color-secondary, #666);
  font-size: var(--font-size-base, 14px);

  @media screen and (max-width: ${k.small}) {
    margin-top: var(--spacing-xs);
  }
`,Tme=styled$1.span`
  font-weight: var(--font-weight-bold, 700);
`,Eme=styled$1.div`
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xs);
  ${bb}

  @media screen and (max-width: ${k.small}) {
    margin-top: var(--spacing-xl);
  }
`,Dme=styled$1.span`
  position: relative;
  display: inline-flex;
  align-items: center;
`,Ome=styled$1.div`
  padding: var(--spacing-xs, 8px) 0;
`,kme=styled$1.div`
  font-size: var(--font-size-base, 14px);
  color: var(--text-color-secondary, #666);
`,t1=styled$1.div`
  margin-top: var(--spacing-xxs, 4px);
  font-size: var(--font-size-base, 14px);
  color: var(--text-color-secondary, #666);
`,Ame=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
`,n1=styled$1.div`
  margin-top: var(--spacing-lg);
`,r1=styled$1.h4`
  font-size: var(--font-size-md, 16px);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-color-primary, #333);
  margin: 0;

  @media screen and (max-width: ${k.small}) {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xs);
  }
  ${bb}
`,jme=styled$1.span`
  margin: 0px var(--spacing-xs);
  color: var(--text-color-primary);
  line-height: var(--line-height-lg);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-lg);
`;B(),_c(),lb();function Mme(e){return{delete:`del`,options:`opts`}[e]||e}function Nme(e){return e.target instanceof Element&&e.target.closest(`a`)!==null}function Pme({operation:e,callbackId:t,isExpanded:n,onToggle:r}){let{httpVerb:i,pathName:a,summary:o,operationId:s,description:c,deprecated:l,contentChildren:u,externalDocs:d,extensions:f}=e,p=o||s||c&&ib(c).substring(0,50)||a||`<no summary>`,m=Ys(dc,t),h=Ec(m),g=useRef(null),_=Ec(`${m}/${pc}`),v=Ec(`${m}/${mc}`),y=fb(),b=y(`callbackRequest`,`Callback Request`),x=y(`callbackResponse`,`Callback Response`),S=y(`badges.deprecated`,`deprecated`);return jsx(Rme,{header:({expanded:e,toggle:n})=>jsxs(zme,{ref:g,expanded:e,toggle:e=>{Nme(e)||(n?.(e),r(t))},id:$s(h),children:[h&&jsx(vb,{to:h,label:`link to ${p}`}),jsxs(Ime,{children:[jsx(Bme,{type:`button`,"aria-expanded":e,"aria-label":p,children:jsx(Vme,{$expanded:e,"aria-hidden":`true`})}),jsxs(Lme,{children:[jsx(Hme,{$deprecated:l,children:p}),jsx(Ume,{color:i,children:Mme(i)}),l?jsx(wb,{$deprecated:!0,children:S}):null]})]})]}),expanded:n,className:`panel-response-callback`,children:jsxs(Wme,{children:[c&&jsx(Kme,{children:jsx(pv,{source:c})}),d&&jsx(qme,{href:d.url,target:`_blank`,rel:`noopener noreferrer`,children:d.description||d.url}),f&&Object.keys(f).length>0&&jsx(Jme,{children:Object.entries(f).map(([e,t])=>jsxs(Yme,{children:[jsxs(`strong`,{children:[e,`:`]}),` `,typeof t==`string`?t:JSON.stringify(t)]},e))}),u&&u.length>0&&jsxs(xc.Provider,{value:t,children:[jsxs(i1,{id:$s(_),children:[_&&jsx(vb,{to:_,label:`link to ${b}`}),b]}),u.filter(e=>e.nodeType===R.ITEM&&e.variant!==`responses`).map((e,t)=>jsx(S1,{node:e},t)),u.filter(e=>e.nodeType===R.ITEM&&e.variant===`responses`).map((e,t)=>jsxs(`div`,{children:[jsxs(i1,{id:$s(v),children:[v&&jsx(vb,{to:v,label:`link to ${x}`}),x]}),jsx(S1,{node:e})]},`resp-${t}`))]}),jsx(Gme,{})]})})}function Fme({node:e}){let t=e.callback,n=useContext(bc)??``,r=I(np({itemId:n,key:`selectedCallback`})),i=Qo(tp(n)),a=Jh(),o=Cc(),s=t?.callbackId,c=lte(a,o,s)?s:void 0;useEffect(()=>{c&&i({selectedCallback:c})},[c,i]);let l=useCallback(e=>{i(t=>({selectedCallback:t.selectedCallback===e?``:e}))},[i]);return t?jsx(`div`,{children:jsx(Pme,{operation:t,callbackId:t.callbackId,isExpanded:r===t.callbackId,onToggle:l},t.callbackId)}):jsx(Fragment$1,{})}var Ime=styled$1.div`
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  max-width: calc(100% - 9px - var(--spacing-unit));
  justify-content: flex-start;
`,Lme=styled$1.div`
  flex: 1;
  min-width: 0;
  line-height: var(--line-height-base);
`,Rme=styled$1(bj)`
  border-bottom: 1px solid var(--border-color-primary);
  border-radius: 0;
  &:not(:last-child) {
    margin-bottom: 0;
  }
`,zme=styled$1(vj)`
  padding: var(--spacing-sm) 0 var(--spacing-sm) calc(var(--spacing-unit) / 2);
  margin: 0;
  border-radius: 0;
  line-height: var(--line-height-base);
  position: relative;

  & > [${yb}] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }

  ${bb}
`,Bme=styled$1.button`
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  gap: var(--spacing-xxs);
  color: var(--text-color-secondary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
`,Vme=styled$1.span`
  position: relative;
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color-primary);
  border-radius: 50%;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--text-color-secondary);
    border-radius: var(--border-width);
  }

  &::before {
    width: var(--spacing-xs);
    height: var(--border-width);
  }

  &::after {
    width: var(--border-width);
    height: var(--spacing-xs);
    opacity: ${({$expanded:e})=>+!e};
  }
`,Hme=styled$1(yj)`
  text-decoration: ${({$deprecated:e})=>e?`line-through`:`none`};
  display: inline;
  margin: 0 4px 0 0;
  color: var(--panel-response-callback-heading-text-color);
  font-weight: var(--font-weight-medium);
  word-break: break-all;
`,Ume=styled$1(Cb)`
  white-space: nowrap;
  vertical-align: middle;
`,Wme=styled$1.div`
  position: relative;
  .property:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
`,Gme=styled$1.div`
  position: absolute;
  height: calc(100% + 15px);
  border-left: 1px solid var(--border-color-primary);
  top: -15px;
  left: -13px;
  z-index: 0;
`,Kme=styled$1.div`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-primary);
  margin-bottom: var(--spacing-sm);

  p:first-of-type {
    margin-top: 0;
  }
  p:last-of-type {
    margin-bottom: 0;
  }
`,qme=styled$1.a`
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--link-color-primary);
  margin-bottom: var(--spacing-sm);
`,Jme=styled$1.div`
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
`,Yme=styled$1.div`
  padding: var(--spacing-xxs) 0;
`,i1=styled$1.h4`
  position: relative;
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--h4-line-height);
  padding: 0;
  color: var(--h4-text-color);
  display: flex;
  align-items: center;
  margin: var(--spacing-sm) 0 var(--spacing-xs) 0;
  ${bb}
`;function Xme({expanded:e,level:t,expandText:n,collapseText:r,children:i,collapsedArgs:a=[],onClick:o}){let s=e?j_(t):void 0;return jsxs(Zme,{$expanded:e,children:[jsxs(Qme,{children:[jsx(nhe,{expanded:e,label:e?r:n,color:s,onClick:o}),!e&&a.length>0&&jsx($me,{children:a.map(e=>jsxs(ehe,{children:[e.name,e.required&&jsx(the,{children:`*`})]},e.name))})]}),e&&jsx(rhe,{$color:s,children:i})]})}var a1=memo(Xme),Zme=styled$1.div`
  width: 100%;
  margin: var(--spacing-xxs, 4px) 0;
  display: flex;
  flex-direction: row;

  &:last-child {
    margin-bottom: 0;
  }

  ${({$expanded:e})=>e&&css`
      flex-direction: column;
    `}
`,Qme=styled$1.div`
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacing-xxs, 4px);
`,$me=styled$1.div`
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xxs, 4px);
  align-items: baseline;
`,ehe=styled$1.span`
  color: var(--schema-inline-code-text-color, var(--text-color-primary));
  background-color: var(--bg-color-active, #f0f0f0);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 0 var(--spacing-xs, 8px);
  border-radius: var(--border-radius);
`,the=styled$1.span`
  color: var(--color-error-base, #d32f2f);
`,nhe=styled$1(kj)``,rhe=styled$1.div`
  position: relative;
  padding-left: var(--schema-nested-offset, 10px);
  margin: 0 0 0 10px;

  &:before {
    content: '';
    height: calc(100% + 1px);
    position: absolute;
    top: -1px;
    left: -0.5px;
    border-left: 1px solid ${({$color:e})=>e||`var(--border-color-primary)`};
  }
`;function ihe({name:e,contrast:t,fieldExpandLevel:n,expanded:r,parentPath:i}){let a=I(ZN(e)),o=a?.fields??[];return o.length===0?null:jsx(Fragment$1,{children:o.map(o=>jsx(b1,{field:o,contrast:t,fieldExpandLevel:n,parentTypeName:i??e,parentRequiresScopes:a?.requiresScopes??null,expanded:r},o.name))})}var ahe=memo(ihe);function ohe({name:e}){let t=I(ZN(e)),n=t?.variant===`enum`?t.enumValues??[]:[];return n.length===0?null:jsx(Fragment$1,{children:n.map(e=>jsxs(xV,{children:[jsx(che,{children:e.name}),e.description&&jsx(_V,{children:e1(e.description)})]},e.name))})}var she=memo(ohe),che=styled$1(wV)`
  color: var(--text-color-primary);
`;function lhe({typeNames:e}){let t=I(XN),n=I(eP),r=vc();return jsx(Fragment$1,{children:e.map(e=>{let i=t(e),a=n[e];return jsxs(xV,{children:[jsx(uhe,{to:a?r(a):`#`,children:e}),i?.description&&jsx(_V,{children:e1(i.description)})]},e)})})}var o1=memo(lhe),uhe=styled$1(Link)`
  color: var(--link-color-primary, var(--text-color-secondary));
  text-decoration: none;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);

  &:hover {
    text-decoration: underline;
  }
`;function dhe({name:e}){let t=I(ZN(e)),n=t?.variant===`union`?t.possibleTypes??[]:[];return n.length===0?null:jsx(o1,{typeNames:n})}var fhe=memo(dhe);function phe({typeName:e,contrast:t,fieldExpandLevel:n=0,expanded:r,parentPath:i}){let a=I(ZN(e));return a?a.variant===`enum`?jsx(she,{name:e}):a.variant===`scalar`?a.description?jsx(_V,{children:e1(a.description)}):null:a.variant===`object`||a.variant===`interface`||a.variant===`input`?jsx(ahe,{name:e,contrast:t,fieldExpandLevel:n,expanded:r,parentPath:i}):a.variant===`union`?jsx(fhe,{name:e}):null:null}var s1=memo(phe);function mhe({args:e,fieldExpandLevel:t=0,parentName:n,title:r,expanded:i}){return jsxs(Fragment$1,{children:[r&&jsx(`h4`,{style:{fontSize:`var(--font-size-base)`,fontWeight:`var(--font-weight-semibold)`,margin:`0 0 var(--spacing-xxs, 4px)`},children:r}),e.map(e=>jsx(b1,{field:e,isArgument:!0,fieldExpandLevel:t,parentTypeName:n,expanded:i},e.name))]})}var hhe=memo(mhe);F();var c1=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M7 8.295L5.705 7L5 7.705L7 9.705L11 5.705L10.295 5L7 8.295Z`}),jsx(`path`,{d:`M8 15L4.9121 13.3535C4.03174 12.8852 3.29552 12.186 2.78248 11.3309C2.26944 10.4758 1.99893 9.49718 2 8.5V2C2.00028 1.73487 2.10573 1.48068 2.2932 1.2932C2.48068 1.10572 2.73487 1.00028 3 1H13C13.2651 1.00028 13.5193 1.10572 13.7068 1.2932C13.8943 1.48068 13.9997 1.73487 14 2V8.5C14.0011 9.49718 13.7306 10.4758 13.2175 11.3309C12.7045 12.186 11.9683 12.8852 11.0879 13.3535L8 15ZM3 2V8.5C2.99914 9.3159 3.22048 10.1166 3.64028 10.8163C4.06007 11.5159 4.66246 12.088 5.3828 12.4712L8 13.8666L10.6172 12.4712C11.3375 12.088 11.9399 11.5159 12.3597 10.8163C12.7795 10.1166 13.0009 9.3159 13 8.5V2H3Z`})]})).attrs({"data-component-name":`icons/SecurityIcon/SecurityIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),zi();function l1({scopeGroup:e}){return jsx(She,{children:e.map((t,n)=>jsxs(Fragment,{children:[jsx(Che,{children:t}),n<e.length-1&&jsx(whe,{children:`and`})]},t))})}function u1({label:e}){return jsxs(The,{children:[jsx(Ehe,{children:e}),jsx(`hr`,{})]})}function ghe({scopes:e,onClose:t,parentScopes:n}){let r=useRef(null),i=fb();Zj(r,t);let a=!!n?.length,o=jsx(vhe,{children:jsxs(yhe,{ref:r,tabIndex:0,children:[jsx(bhe,{onClick:t,"data-testid":`close`,variant:`ghost`,icon:jsx(Ri,{})}),jsxs(xhe,{children:[jsx(c1,{size:`24px`}),i(`requiredScopes`,`Required scopes`)]}),a&&jsxs(d1,{children:[jsx(f1,{children:i(`objectScopes`,`Object scopes`)}),n?.map(e=>jsx(l1,{scopeGroup:e},e.join(`,`)))]}),a&&jsx(u1,{label:`and`}),jsxs(d1,{children:[a&&jsx(f1,{children:i(`fieldScopes`,`Field scopes`)}),e.map((t,n)=>jsxs(Fragment,{children:[jsx(l1,{scopeGroup:t}),n<e.length-1&&jsx(u1,{label:`or`})]},t.join(`,`)))]})]})});return Xf?createPortal(o,document.body):o}var _he=memo(ghe),vhe=styled$1.div`
  background: var(--bg-color-modal-overlay, rgba(0, 0, 0, 0.4));
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-index-popover, 200);
  left: 0;
  top: 0;
  pointer-events: auto;
`,yhe=styled$1.div`
  background: var(--bg-color);
  box-shadow: var(--bg-raised-shadow, 0 8px 32px rgba(0, 0, 0, 0.15));
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  width: 720px;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  overflow-y: auto;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
`,bhe=styled$1(ta)`
  position: absolute;
  right: var(--spacing-md);
  top: var(--spacing-md);
`,xhe=styled$1.div`
  display: flex;
  align-items: center;
  font-size: var(--h4-font-size, 20px);
  font-weight: var(--h4-font-weight, var(--font-weight-bold));
  margin-bottom: var(--spacing-md);
  svg {
    margin-right: var(--spacing-xs);
  }
`,d1=styled$1.div`
  background: var(--layer-color, var(--bg-color));
  padding: var(--spacing-base);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color-secondary, var(--border-color-primary));
  width: 100%;
`,f1=styled$1.p`
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  margin: 0 0 var(--spacing-sm) 0;
`,She=styled$1.div`
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  flex-wrap: wrap;
`,Che=styled$1.span`
  display: inline-block;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-monospaced);
  padding: 0 var(--spacing-xxs, 4px);
  border-radius: var(--tag-border-radius);
  background: var(--tag-bg-color, var(--border-color-secondary));
  color: var(--text-color-secondary);
`,whe=styled$1.p`
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin: 0;
`,The=styled$1.div`
  font-size: var(--font-size-sm);
  width: 100%;
  display: flex;
  align-items: center;
  margin: var(--spacing-xs) 0;
  text-transform: none;

  hr {
    height: 1px;
    border: none;
    background: var(--border-color-primary);
    width: 100%;
    margin-left: var(--spacing-xs);
  }
`,Ehe=styled$1.span`
  background-color: var(--bg-color);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  white-space: nowrap;
`;function p1(e){useEffect(()=>{if(!e)return;let{body:t}=document,n=window.innerWidth-document.documentElement.clientWidth,r=t.style.overflow,i=t.style.paddingRight;return t.style.overflow=`hidden`,n>0&&(t.style.paddingRight=`${n}px`),()=>{t.style.overflow=r,t.style.paddingRight=i}},[e])}na();function Dhe({directive:e,isItem:t=!1}){let[n,r]=useState(!1),i=fb(),a=jE();p1(n);let o=()=>{let n=e?.scopes??[];a.sendRequiredScopesModalOpenedMessage([{...VE.requiredScopesButton,level:t?`item`:`field`,alternativesCount:n.length,scopesCount:n.reduce((e,t)=>e+t.length,0),isCombined:n.some(e=>e.length>1)}]),r(!0)},s=e??null;if(!useMemo(()=>s?!(s.scopes.length===0&&(s.parentScopes??[]).length>0):!1,[s]))return null;let c=t?jsx(Ohe,{children:jsxs(khe,{children:[jsx(c1,{}),jsx(Ahe,{children:i(`requiredScopes`,`Required scopes`)}),jsx(jhe,{onClick:o,variant:`link`,children:i(`viewSecurityDetails`,`View details`)})]})}):jsx(Mhe,{variant:`outlined`,fullWidth:!1,icon:jsx(c1,{}),onClick:o,children:jsx(Nhe,{children:i(`requiredScopes`,`Required scopes`)})});return jsxs(Fragment$1,{children:[c,n&&s&&jsx(_he,{scopes:s.scopes,parentScopes:s.parentScopes,onClose:()=>r(!1)})]})}var m1=memo(Dhe),Ohe=styled$1.div`
  background-color: var(--layer-color, var(--bg-color));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color-secondary, var(--border-color-primary));
  width: 100%;
  margin: var(--spacing-base) 0 var(--spacing-lg);
`,khe=styled$1.div`
  color: var(--link-color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xxs, 4px);
`,Ahe=styled$1.span`
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-color-primary);
  margin-left: var(--spacing-xxs, 4px);
  font-size: var(--font-size-base);
`,jhe=styled$1(ta)`
  margin-left: auto;
  font-size: var(--font-size-sm);
`,Mhe=styled$1(ta)`
  background-color: var(--layer-color, var(--bg-color));
  color: var(--link-color-primary);
  border-color: var(--border-color-secondary, var(--border-color-primary));
  align-self: flex-start;
  padding: var(--spacing-xxs, 4px) var(--spacing-xs);
  margin-top: var(--spacing-xs);

  &:hover {
    background-color: var(--button-bg-color-secondary, var(--layer-color));
    color: var(--link-color-primary);
    border-color: var(--border-color-secondary, var(--border-color-primary));
  }
`,Nhe=styled$1.span`
  color: var(--text-color-primary);
`;function h1(e,t){return!e&&!t?null:e&&!t?{scopes:e.scopes}:!e&&t?{scopes:[],parentScopes:t.scopes}:{scopes:e?.scopes??[],parentScopes:t?.scopes??[]}}function Phe(e){return!e||e.variant===`scalar`}function g1(e){return e?.variant===`object`||e?.variant===`interface`||e?.variant===`input`}function _1(e,t,n,r){return t>=n?!1:(e.args?.length??0)>0||!Phe(r(e.type.name))}function v1(e,t,n,r){return g1(e)?(e.fields??[]).some(e=>_1(e,t,n,r)):!1}function Fhe(e,t){let n=t(e);return g1(n)?n.fields?.length??0:0}_c();var y1=72;function Ihe({field:e,contrast:t,isArgument:n,fieldExpandLevel:r,parentTypeName:i,parentRequiresScopes:a,expanded:o}){let{fieldExpandLevel:s,schemasExpansionLevel:c}=I(ds),l=I(XN),u=fv(),d=fb(),f=hD(),p=r+1,m=i?`${i}.${e.name}`:e.name,h=Jh(),g=useRef(h);h&&(g.current=h);let _=Qs(g.current,m),v=uv(r,c,0),[y,b]=useState(void 0),[x,S]=useState(void 0);useEffect(()=>{b(void 0),S(void 0)},[o]);let C=y??o??(_||v),w=x??o??(_||v),T=!!e.deprecationReason,E=useMemo(()=>e.deprecationReason?u.parse(e.deprecationReason)??null:null,[e.deprecationReason,u]),D=!!n&&!!e.required,O=e.args??[],k=O.length>0,ee=Fhe(e.type.name,l),te=ee*y1,ne=O.length*y1,re=()=>{let e=!w;f({depth:r,expanded:e,childCount:O.length,kind:`arguments`}),S(e)},ie=()=>{let e=!C;f({depth:r,expanded:e,childCount:ee,kind:`returnType`}),b(e)},ae=_1(e,r,s,l),oe=!ae||!C,se=n?i?`arg-${i}-${e.name}`:`arg-${e.name}`:i?`${i}-${e.name}`:e.name,ce=O.map(e=>({name:e.name,required:!!e.required})),le=useMemo(()=>a===void 0?null:h1(e.requiresScopes,a),[e.requiresScopes,a]),ue=Ec(useMemo(()=>Zs({t:n?`argument`:`field`,path:m,arg:n?e.name:void 0}),[m,n,e.name]));return jsx(`div`,{id:$s(ue)??se,children:jsxs(vV,{$showBorder:oe,children:[jsxs(yV,{children:[ue&&jsx(vb,{to:ue,label:`link to ${e.name}`,variant:`field`}),jsx(bV,{$isDeprecated:T,children:e.name}),jsx(AV,{typeRef:e.type,inline:!k,deprecated:T,required:D})]}),e.defaultValue!==void 0&&jsxs(_V,{children:[d(`defaultValue`,`Default`),`:`,` `,jsx(CV,{children:JSON.stringify(e.defaultValue)})]}),e.description&&jsx(_V,{children:e1(e.description)}),E&&jsx(J$,{type:`warning`,name:d(`deprecationReason`,`Deprecation reason`),children:jsx(pv,{source:E})}),ae&&jsxs(SV,{$contrast:!t,children:[k&&jsx(a1,{expanded:w,level:r,expandText:d(`arguments.show`,`Show arguments`),collapseText:d(`arguments.hide`,`Hide arguments`),collapsedArgs:ce,onClick:re,children:jsx(UD,{forceMount:_||v,estimatedHeight:ne,children:jsx(hhe,{args:O,fieldExpandLevel:p,parentName:m,expanded:o})})}),jsx(a1,{expanded:C,level:r,expandText:d(`returnTypes.show`,`Show return type`),collapseText:d(`returnTypes.hide`,`Hide return type`),onClick:ie,children:jsx(UD,{forceMount:_||v,estimatedHeight:te,children:jsx(s1,{typeName:e.type.name,contrast:!t,fieldExpandLevel:p,expanded:o,parentPath:m})})})]}),jsx(m1,{directive:le})]})})}var b1=memo(Ihe);function Lhe({node:e}){let{fieldExpandLevel:t}=I(ds),n=I(XN),r=e.graphqlTypeName,i=I(ZN(r??``)),a=i?.fields??[],o=v1(i,0,t,n),s=LD(e.variant,o);return zD(RD(o?e.variant:void 0),!!s),a.length===0?jsx(Fragment$1,{}):jsx(Fragment$1,{children:a.map(e=>jsx(b1,{field:e,fieldExpandLevel:0,parentTypeName:r,parentRequiresScopes:i?.requiresScopes??null,expanded:s},e.name))})}function x1({node:e}){let{fieldExpandLevel:t}=I(ds),n=I(XN),r=I($N(QN(e.graphqlOperationType,e.graphqlFieldName))),i=I(Tle(e.graphqlTypeName&&e.graphqlOperationType==null&&e.graphqlFieldName==null?e.graphqlTypeName??``:``)),a=r?.args??null,o=i?.args??null,s=(a?.length?a:o)??null,c=!!s&&s.some(e=>_1(e,0,t,n)),l=LD(e.variant,c);if(zD(RD(c?e.variant:void 0),!!l),a&&a.length>0)return jsx(Fragment$1,{children:a.map(t=>jsx(b1,{field:t,isArgument:!0,fieldExpandLevel:0,parentTypeName:e.graphqlFieldName,parentRequiresScopes:r?r.requiresScopes??null:void 0,expanded:l},t.name))});if(o&&o.length>0){let e=`@${i?.name}`;return jsx(Fragment$1,{children:o.map(t=>jsx(b1,{field:t,isArgument:!0,fieldExpandLevel:0,parentTypeName:e,expanded:l},t.name))})}return jsx(Fragment$1,{})}function Rhe({node:e}){let{fieldExpandLevel:t}=I(ds),n=I(XN),r=e.graphqlTypeName,i=I($N(QN(e.graphqlOperationType,e.graphqlFieldName))),a=v1(I(ZN(r??``)),0,t,n),o=LD(e.variant,a);return zD(RD(a?e.variant:void 0),!!o),i?jsxs(`div`,{children:[jsxs(zhe,{children:[jsx(hV,{}),jsx(AV,{typeRef:i.type})]}),jsx(s1,{typeName:r??``,fieldExpandLevel:0,expanded:o})]}):r?jsx(s1,{typeName:r,fieldExpandLevel:0,expanded:o}):jsx(Fragment$1,{})}var zhe=styled$1.div`
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-unit, 4px);
  margin-bottom: var(--spacing-xs, 8px);
  color: var(--link-color-primary, var(--text-color-secondary));
`;function Bhe({node:e}){let t=e.graphqlTypeNames;return!t||t.length===0?jsx(Fragment$1,{}):jsx(o1,{typeNames:t})}function Vhe({node:e}){let t=e.graphqlInterfaceNames;return!t||t.length===0?jsx(Fragment$1,{}):jsx(o1,{typeNames:t})}function Hhe({node:e}){let t=e.graphqlTypeNames;return!t||t.length===0?jsx(Fragment$1,{}):jsx(o1,{typeNames:t})}function Uhe({node:e}){let t=I($N(QN(e.graphqlOperationType,e.graphqlFieldName))),n=I(ZN(e.graphqlTypeName??``));if(!e.graphqlTypeName)return jsx(Fragment$1,{});let r=h1(e.graphqlFieldName&&e.graphqlOperationType?t?.requiresScopes:n?.requiresScopes,void 0);return r?jsx(m1,{directive:r,isItem:!0}):jsx(Fragment$1,{})}_c();function Whe({label:e,deepLink:t,suffix:n}){let r=useContext(bc),i=U$(n),a=W$(n);return jsxs(Ghe,{id:$s(t),children:[t&&jsx(vb,{to:t,label:`link to ${e}`}),jsx(Khe,{children:e}),i.length>0&&a&&r&&jsx(V$,{itemId:r,deepLinkKeys:i})]})}var Ghe=styled$1.div`
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--spacing-xs);
  ${bb}
`,Khe=styled$1.h5`
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-lg);
  color: var(--text-color-primary);
  margin: 0 0 var(--spacing-xxs);
  padding: 0;
`;_c();function qhe({node:e}){let t=fb(),n=useMemo(()=>Zhe(e.variant),[e.variant]),r=useMemo(()=>[`return-type`,`possible-types`,`graphql-fields`,`values`].includes(e.variant),[e.variant]),i=Ec(n);if(e.variant===`requires-scopes`)return jsx(Uhe,{node:e});let a=Tj(t,e.labelTranslationKey,e.label);return jsxs(Yhe,{$hasMarginTop:r,children:[e.label&&e.variant!==`body`&&e.variant!==`responses`&&jsx(Whe,{label:a,deepLink:i,suffix:n}),jsx(Jhe,{itemNode:e})]})}function Jhe({itemNode:e}){switch(e.variant){case`headers`:case`query`:case`querystring`:case`path`:case`parameters`:case`cookies`:return jsx(Wpe,{node:e});case`body`:case`querystring-body`:return jsx(rme,{node:e});case`responses`:return jsx(ime,{node:e});case`fields`:case`properties`:return jsx(dme,{node:e});case`arguments`:return jsx(x1,{node:e});case`values`:return jsx(fme,{node:e});case`messages`:return jsx(xme,{node:e});case`callback`:return jsx(Fme,{node:e});case`graphql-fields`:return jsx(Lhe,{node:e});case`graphql-args`:return jsx(x1,{node:e});case`return-type`:return jsx(Rhe,{node:e});case`possible-types`:return jsx(Bhe,{node:e});case`implements`:return jsx(Vhe,{node:e});case`implemented-by`:return jsx(Hhe,{node:e});default:return jsx(Fragment$1,{})}}var Yhe=styled$1.div`
  margin-bottom: var(--spacing-lg);

  &:last-child {
    margin-bottom: 0;
  }

  ${({$hasMarginTop:e})=>e&&css`
      margin-top: var(--spacing-lg);
    `}
`,S1=memo(qhe),Xhe={path:`path`,query:`query`,querystring:`querystring`,"querystring-body":`querystring`,headers:`header`,cookies:`cookie`};function Zhe(e){let t=Xhe[e];return t?Ys(`request`,t):e}zi();function Qhe({requirements:e,onClose:t}){let[n,r]=useState(0),i=useRef(null),a=fb();Zj(i,t);let o=e[n]||e[0],s=jsx(Noe,{children:jsxs(Poe,{ref:i,tabIndex:0,children:[jsx(Foe,{onClick:t,variant:`ghost`,icon:jsx(Ri,{})}),jsxs(Ioe,{children:[jsx(c1,{size:`24px`}),a(`security`,`Security`)]}),e.length>1&&jsx(dO,{value:n,onChange:({value:e})=>r(e),options:$he(e).map((e,t)=>({label:e,value:t}))}),o.schemes.map((e,t)=>jsxs(Fragment,{children:[jsx(dM,{scheme:e}),t!==o.schemes.length-1&&jsx(iM,{label:`and`})]},e.name))]})});return Xf?createPortal(s,document.body):s}function $he(e){let t=e.map(e=>e.schemes.map(e=>e.name).join(` and `));return t.map((n,r)=>{let i=e[r].schemes.flatMap(e=>e.scopes??[]);return t.indexOf(n)!==t.lastIndexOf(n)&&i.length>0?`${n} (${i.join(`, `)})`:n})}var C1=4,ege=32;function tge({scopes:e}){let t=fb(),n=oM(e);if(n.length===0)return null;let r=n.slice(0,C1),i=n.slice(C1),a=i.length;return jsxs(Fragment$1,{children:[r.map(e=>jsx(sM,{text:e,maxChars:ege},e)),a>0&&jsx(sM,{arrowPosition:`left`,text:`+${a}`,tip:jsx(nge,{children:i.map(e=>jsx(`div`,{children:e},e))}),ariaLabel:t(`showMoreScopes`,`Show ${a} more scopes`)})]})}var nge=styled$1.div`
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
`;qi();function rge({requirements:e}){let[t,n]=useState(!1),r=fb(),i=jE(),a=useRef(null),o=e.reduce((e,t)=>e+t.schemes.length,0),s=e.some(e=>e.schemes.length>1),c=useMemo(()=>{let{schemeTypes:t,oauth2Flows:n}=aD(e.flatMap(e=>e.schemes));return{schemesCount:o,isCombined:s,schemeTypes:t,...Object.keys(n).length?{oauth2Flows:n}:{},alternativesCount:e.length}},[e,o,s]),l=useCallback(()=>{a.current=Date.now(),i.sendViewSecurityDetailsClickedMessage([{...VE.redocSecurityButton,...c}]),n(!0)},[i,c]),u=useCallback(()=>{let e=a.current?Date.now()-a.current:0;a.current=null,i.sendViewSecurityDetailsClosedMessage([{...VE.redocSecurityButtonClose,...c,timeInModalMs:e}]),n(!1)},[i,c]);return p1(t),jsxs(Fragment$1,{children:[jsx(Eoe,{header:()=>jsxs(Doe,{children:[jsx(c1,{}),jsx(koe,{children:r(`security`,`Security`)}),jsx(Ooe,{onClick:l,variant:`link`,children:r(`viewSecurityDetails`,`View security details`)})]}),isExpandable:!1,children:jsx(Aoe,{children:e.map((t,n)=>{let i=e.length>1&&t.schemes.length>1,a=t.schemes.map((e,n)=>jsxs(Fragment,{children:[jsxs(joe,{$deprecated:e.deprecated,children:[e.name,e.deprecated&&jsx(zg,{tip:`Deprecated`,children:jsx(Ki,{color:`var(--badge-deprecated-bg-color)`})})]}),e.scopes&&e.scopes.length>0&&jsxs(Moe,{children:[`(`,r(`requiredScopes`,`Required scopes`),`:`,` `,jsx(tge,{scopes:e.scopes}),`)`]}),n<t.schemes.length-1&&jsx($j,{children:` and `})]},e.name));return jsxs(Fragment,{children:[i&&jsx(`span`,{children:`(`}),a,i&&jsx(`span`,{children:`)`}),n<e.length-1&&jsx($j,{children:` or `})]},n)})})}),t&&jsx(Qhe,{requirements:e,onClose:u})]})}function ige({node:e}){let{requirements:t}=e;return!t||t.length===0?jsx(Fragment$1,{}):jsx(rge,{requirements:t})}function age({node:e}){return jsx(gb,{extensions:e.extensions})}var oge=memo(age);lb();function sge({node:e}){let t=ib(e.description);return jsx(Qj,{externalDocs:{url:e.url,description:t||void 0}})}var cge=memo(sge);F();var lge=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M4.74999 4.00001H10.05C10.1739 4.60703 10.5188 5.14642 11.0178 5.5136C11.5168 5.88079 12.1344 6.04962 12.7508 5.98735C13.3672 5.92508 13.9385 5.63615 14.354 5.17658C14.7694 4.71701 14.9995 4.11954 14.9995 3.50001C14.9995 2.88047 14.7694 2.283 14.354 1.82343C13.9385 1.36386 13.3672 1.07493 12.7508 1.01267C12.1344 0.950396 11.5168 1.11922 11.0178 1.48641C10.5188 1.85359 10.1739 2.39298 10.05 3.00001H4.74999C4.02065 3.00001 3.32117 3.28974 2.80545 3.80546C2.28972 4.32119 1.99999 5.02066 1.99999 5.75001C1.99999 6.47935 2.28972 7.17882 2.80545 7.69455C3.32117 8.21027 4.02065 8.50001 4.74999 8.50001H10.25C10.7141 8.50001 11.1592 8.68438 11.4874 9.01257C11.8156 9.34076 12 9.78588 12 10.25C12 10.7141 11.8156 11.1593 11.4874 11.4874C11.1592 11.8156 10.7141 12 10.25 12H5.94999C5.82609 11.393 5.4812 10.8536 4.9822 10.4864C4.4832 10.1192 3.86563 9.9504 3.24923 10.0127C2.63283 10.0749 2.06151 10.3639 1.64603 10.8234C1.23054 11.283 1.0005 11.8805 1.0005 12.5C1.0005 13.1195 1.23054 13.717 1.64603 14.1766C2.06151 14.6362 2.63283 14.9251 3.24923 14.9873C3.86563 15.0496 4.4832 14.8808 4.9822 14.5136C5.4812 14.1464 5.82609 13.607 5.94999 13H10.25C10.9793 13 11.6788 12.7103 12.1945 12.1945C12.7103 11.6788 13 10.9794 13 10.25C13 9.52066 12.7103 8.82119 12.1945 8.30546C11.6788 7.78974 10.9793 7.50001 10.25 7.50001H4.74999C4.28586 7.50001 3.84075 7.31563 3.51256 6.98744C3.18437 6.65925 2.99999 6.21413 2.99999 5.75001C2.99999 5.28588 3.18437 4.84076 3.51256 4.51257C3.84075 4.18438 4.28586 4.00001 4.74999 4.00001ZM12.5 2.00001C12.7967 2.00001 13.0867 2.08798 13.3333 2.2528C13.58 2.41762 13.7723 2.65189 13.8858 2.92598C13.9993 3.20007 14.029 3.50167 13.9712 3.79264C13.9133 4.08361 13.7704 4.35089 13.5607 4.56067C13.3509 4.77044 13.0836 4.91331 12.7926 4.97118C12.5017 5.02906 12.2001 4.99936 11.926 4.88582C11.6519 4.77229 11.4176 4.58003 11.2528 4.33336C11.088 4.08669 11 3.79668 11 3.50001C11 3.10218 11.158 2.72065 11.4393 2.43935C11.7206 2.15804 12.1022 2.00001 12.5 2.00001ZM3.49999 14C3.20332 14 2.91331 13.912 2.66664 13.7472C2.41996 13.5824 2.22771 13.3481 2.11417 13.074C2.00064 12.7999 1.97094 12.4983 2.02882 12.2074C2.08669 11.9164 2.22955 11.6491 2.43933 11.4393C2.64911 11.2296 2.91639 11.0867 3.20736 11.0288C3.49833 10.971 3.79993 11.0007 4.07402 11.1142C4.34811 11.2277 4.58238 11.42 4.7472 11.6667C4.91202 11.9133 4.99999 12.2033 4.99999 12.5C4.99999 12.8978 4.84196 13.2794 4.56065 13.5607C4.27935 13.842 3.89782 14 3.49999 14Z`,fill:`#1A1C21`})})).attrs({"data-component-name":`icons/CurveAutoColonIcon/CurveAutoColonIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;function uge({node:e}){return jsxs(fge,{"data-component-name":`ChannelAddress/ChannelAddressItem`,"data-testid":`channel-address`,children:[jsx(pge,{children:jsx(lge,{size:`14px`})}),jsxs(mge,{borderless:!0,children:[`name: `,jsx(`span`,{children:e.address})]})]})}var dge=memo(uge),fge=styled$1.div`
  display: flex;
  gap: var(--spacing-xxs);
  align-items: flex-start;
  margin: 0 0 var(--spacing-sm) 0;
`,pge=styled$1.div`
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: var(--layer-color-hover);
`,mge=styled$1(xb)`
  margin: 0;
  min-width: 0;
  background-color: var(--layer-color-hover);
  color: inherit;
  text-transform: none;

  & ${Sb} {
    display: block;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }

  & span {
    font-weight: var(--font-weight-semibold);
  }
`;_c(),Ns();function hge({node:e}){let t=I(ps),n=vc(),r=jE(),i=t=>{r.sendMessageClickedMessage([{...VE.messageLink,index:t,total:e.messages.length}])},a=r=>n(Gs(t,As(e.channelLink),Xs({section:`messages`,messageKey:r})));return e.messages.length?jsxs(_ge,{"data-component-name":`Operation/MessageLinks`,children:[jsx(vge,{children:`Messages`}),jsx(yge,{children:e.messages.map((e,t)=>jsx(bge,{to:a(e.name),onClick:()=>i(t),children:jsxs(xge,{borderless:!0,textTransform:`none`,children:[e.label,jsx(Ej,{size:`12px`})]})},e.name))})]}):null}var gge=memo(hge),_ge=styled$1.div`
  margin-top: var(--spacing-sm);
`,vge=styled$1.div`
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
  margin: 0;
`,yge=styled$1.div`
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) 0;
`,bge=styled$1(Link)`
  display: flex;
  color: inherit;
  text-decoration: none;

  &:visited,
  &:hover {
    color: inherit;
    text-decoration: none;
  }
`,xge=styled$1(xb)`
  background-color: var(--layer-color-hover);
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xxs);
`;eu(),Ns(),B();var Sge={[ts.OVERVIEW]:FB,[ts.GROUP]:sV,[ts.ITEM]:RB},w1=memo(function({node:e,itemPath:t}){let{children:n,sectionId:r}=e,i=I(ps),a=n?.map((n,r)=>jsx(E1,{type:n.nodeType,node:n,parentNode:e,itemPath:t},`${e.nodeType}_${n.nodeType}_${r}`)),o=r?{[Xl]:ks(Os(i,r))}:{};return jsx(`div`,{id:t,...o,children:a})}),Cge={[R.CONTAINER]:X$,[R.OVERVIEW_SECTION_WRAPPER]:w1,[R.HEADER]:K$,[R.EMPTY_MESSAGE]:jpe,[R.ITEM]:S1,[R.SECURITY]:ige,[R.MARKDOC]:Npe,[R.ADMONITION]:Bpe,[R.EXTERNAL_DOCS]:cge,[R.CHANNEL_ADDRESS]:dge,[R.MESSAGE_LINKS]:gge,[R.INFO_METADATA]:Hpe,[R.EXTENSIONS]:oge},T1={...Sge,...Cge};function E1(e){let{type:t,...n}=e;if(t===R.HEADER){let{node:e,parentNode:t,itemPath:r=``}=n;return jsx(K$,{node:e,path:r,parentNode:t})}if(t===ts.GROUP||t===ts.ITEM||t===ts.OVERVIEW){let{content:e,itemPath:r,sectionId:i}=n,a=T1[t];return jsx(a,{content:e,itemPath:r,sectionId:i})}if(t===R.OVERVIEW_SECTION_WRAPPER){let{node:e,itemPath:t}=n;return jsx(w1,{node:e,itemPath:t})}if(t===R.CONTAINER){let{node:e,itemPath:t,sectionId:r}=n;return jsx(X$,{node:e,itemPath:t,sectionId:r})}let{itemPath:r,sectionId:i,...a}=n;if(t===R.ITEM)return jsx(S1,{node:a.node});let o={...a,itemPath:r},Component=T1[t];return jsx(Component,{...o})}B();function wge(e,t){return t?t===e||t.startsWith(e+`/`):!1}var Tge=memo(function({entry:e,activePath:t,entryEager:n,eagerOpSlug:r,shouldRenderOps:i,opsStartIndex:a=0,renderEntrySection:o=!0}){let s=e.content.contentType===ts.GROUP;return jsxs(Fragment$1,{children:[o&&jsx(yB,{sectionId:e.sectionId,eager:n,children:jsx(E1,{sectionId:e.sectionId,type:e.content.contentType??ts.OVERVIEW,content:e.content,itemPath:e.path})}),i&&e.children.slice(a).map(e=>e.content===null||s&&!wge(e.gatePath,t)?null:jsx(yB,{sectionId:e.path,eager:e.path===r,children:jsx(E1,{sectionId:e.path,type:e.content.contentType,content:e.content,itemPath:e.path})},e.path))]})});qf(),eu(),_c(),Ns();function Ege({activeRoute:e,routeIndex:t,basePath:n,isHydrated:r}){let i=useLocation(),a=useNavigate(),o=useNavigationType(),s=e?.path;useEffect(()=>{if(!Ie||!(`scrollRestoration`in window.history))return;let e=window.history.scrollRestoration;return window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=e}},[]),useLayoutEffect(()=>{if(!Ie)return;let{hash:e,pathname:r}=i,c=e?Ks(e):``,l=c||s?e:`#${js(r,n)??``}`;if(l&&!(c&&D1(c))){let i=lc(l,n,t);if(i&&i!==r+e){a(i,{replace:!0});return}}if(c||s){if(c&&o!==`POP`&&i.state?.smoothScroll){let e=document.getElementById(c);if(e){e.scrollIntoView({block:`start`,behavior:Age()?`auto`:`smooth`});return}}if(c||o!==`PUSH`||!i.state?.expandInPlace){if(!c&&O1(s)===document.querySelector(`[data-section-id]`)){window.scrollTo(0,0);return}return kge(Dge(c,s))}}},[i,o,s,r,a,n,t])}function Dge(e,t){if(!e)return()=>O1(t);let n=!1;return()=>{let r=D1(e);return r?(n=!0,r):n?null:O1(t)}}var Oge=48;function kge(e){let t=e();if(t?.scrollIntoView({block:`start`}),typeof ResizeObserver>`u`)return()=>{};let n=document.documentElement,r=new AbortController,i=t?t.getBoundingClientRect().top:0,a=n.scrollHeight;function o(e){t=e,e.scrollIntoView({block:`start`}),i=e.getBoundingClientRect().top,a=n.scrollHeight}let s=0,c=new ResizeObserver(([t])=>{if(t.contentRect.height===s)return;s=t.contentRect.height;let n=e();n&&o(n),c.unobserve(document.body),requestAnimationFrame(()=>{r.signal.aborted||c.observe(document.body)})});c.observe(document.body);function l(){t&&(Math.abs(t.getBoundingClientRect().top-i)<=Oge||(n.scrollHeight===a?f():o(t)))}let u=oz();function d(e){u(e)&&f()}function f(){c.disconnect(),r.abort()}let p={capture:!0,passive:!0,signal:r.signal};window.addEventListener(`scroll`,l,p);for(let e of nz)window.addEventListener(e,d,p);return f}function Age(){return window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1}function D1(e){if(!e)return null;let t=e.split(`&`)[0],n=t===e?[e]:[e,t];for(let e of n){let t=document.getElementById(e)??jge(e);if(t)return t}return null}function jge(e){return Mge(e)??Nge(e)}function Mge(e){if(e.includes(`[]`))return null;for(let t of document.querySelectorAll(`[id*="[]"]`))if(rc(t.id)===e)return t;return null}function Nge(e){if(e.includes(`/callbacks/`))return null;for(let t of document.querySelectorAll(`[id*="/callbacks/"]`))if(ste(t.id)===e)return t;return null}function O1(e){if(!e)return null;let t=e.replace(/["\\]/g,`\\$&`);return document.querySelector(`[${Xl}="${t}"]`)}_c();function Pge(e,t){let n=useNavigate();return useCallback(r=>{if(r.button!==0||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey)return;let i=r.target.closest(`a`);if(!i||i.origin!==window.location.origin)return;let a=lc(i.hash,e,t);a&&a!==window.location.pathname&&(r.preventDefault(),n(a))},[e,t,n])}function Fge(){let[e,t]=useState(!1);return useEffect(()=>{t(!0)},[]),e}B(),Hs();function Ige({routeIndex:e,basePath:t}){let n=I(Ch),r=I(kh),i=useLocation(),a=Fge(),o=useMemo(()=>Fs(e,i.pathname),[e,i.pathname]),s=useMemo(()=>Rs(e),[e]),c=useMemo(()=>Bs(o,e),[o,e]);useEffect(()=>{c.forEach(e=>hB(e))},[c]),Ege({activeRoute:o,routeIndex:e,basePath:t,isHydrated:a});let l=Pge(t,e),u=o?.path,d=useMemo(()=>{if(a||!u)return s;let e=s.findIndex(e=>e.sectionId===u||e.children.some(e=>e.path===u));return e>0?s.slice(e):s},[s,u,a]);return!o&&e.allRoutes.length>0?jsx(wB,{routingBasePath:t}):jsx(uB,{className:`api-content`,id:`api-content`,layout:n,collapsedSidebar:r,onClickCapture:l,children:d.map(e=>{let t=e.children.findIndex(e=>e.path===u),n=!a&&t>0?t:0,r=a||t===-1;return jsx(Tge,{entry:e,activePath:u,entryEager:c.has(e.sectionId),eagerOpSlug:e.children.find(e=>c.has(e.path))?.path??null,opsStartIndex:n,renderEntrySection:r,shouldRenderOps:e.sectionId===u||e.children.some(e=>e.path===u)||e.children.length>0&&e.content.contentType!==ts.GROUP},e.sectionId)})})}var Lge=memo(Ige);Bt(),Ea();function Rge({title:e,expanded:t=!1,className:n,children:r,"data-source":i,"data-hash":a}){let o=useContext(Si);return jsxs(zge,{className:n,open:t,name:o??void 0,"data-component-name":pt,"data-source":i,"data-hash":a,children:[jsxs(Bge,{children:[jsx(bg,{color:`--md-accordion-chevron-icon-color`,size:`var(--md-accordion-chevron-icon-size)`}),e]}),jsx(Hge,{children:jsx(Si.Provider,{value:null,children:r})})]})}var zge=styled.details`
  margin: var(--md-accordion-margin);
  border: var(--md-accordion-border);
  border-radius: var(--md-accordion-border-radius);
  font-family: var(--md-accordion-font-family);
  overflow: hidden;

  &[open] > summary svg {
    transform: rotate(90deg);
  }
`,Bge=styled.summary`
  display: flex;
  align-items: center;
  gap: var(--md-accordion-gap);
  cursor: pointer;
  list-style: none;

  background-color: var(--md-accordion-header-bg-color);
  color: var(--md-accordion-header-text-color);
  font-weight: var(--md-accordion-header-font-weight);
  font-size: var(--md-accordion-header-font-size);
  line-height: var(--md-accordion-header-line-height);
  padding: var(--md-accordion-header-padding);

  &::-webkit-details-marker {
    display: none;
  }

  &:hover {
    background-color: var(--md-accordion-header-bg-color-hover);
  }

  &:focus-visible {
    outline: none;
    position: relative;

    &::after {
      content: '';
      position: absolute;
      inset: 2px;
      border: 1px solid var(--button-border-color-focused);
      border-radius: calc(var(--md-accordion-border-radius) - 2px);
      pointer-events: none;
    }
  }

  svg {
    flex-shrink: 0;
    transition: transform 0.15s ease-out;
  }
`,Vge=keyframes`
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
`,Hge=styled.div`
  padding: var(--md-accordion-body-padding);
  background-color: var(--md-accordion-body-bg-color);
  color: var(--md-accordion-body-text-color);
  font-size: var(--md-accordion-body-font-size);
  line-height: var(--md-accordion-body-line-height);

  details[open] > & {
    animation: ${Vge} 0.15s ease-out;
  }

  > :first-child {
    margin-top: 0;
  }

  > :last-child {
    margin-bottom: 0;
  }
`;qf();var Uge=class extends Component{static contextType=kE;constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`[api-docs] Rendering error:`,e,t.componentStack);let n=this.context;try{n.sendErrorMessage([{id:`errorBoundaryCatch`,object:`error`,uri:SE(),...n.typeOfUsage?{typeOfUsage:n.typeOfUsage}:{},details:dD(e,t.componentStack)}])}catch(e){console.error(`[api-docs] error telemetry failed:`,e)}}render(){return this.state.hasError?this.props.fallback?this.props.fallback:jsx(Wge,{role:`alert`,className:`api-docs-error-page`,children:jsxs(Gge,{children:[jsx(Kge,{children:`Something went wrong rendering the API documentation.`}),jsx(qge,{title:`Error details`,expanded:!1,children:jsx(Jge,{children:this.state.error?.message})}),jsx(Yge,{children:jsx(Xge,{type:`button`,onClick:()=>window.location.reload(),children:`Reload page`})})]})}):this.props.children}},Wge=styled$1.div`
  box-sizing: border-box;
  min-height: calc(100vh - var(--navbar-height, 0px) - var(--banner-height, 0px));
  min-height: calc(100dvh - var(--navbar-height, 0px) - var(--banner-height, 0px));
  background: var(--bg-color, #ffffff);
  font-family: var(--font-family-base, system-ui, sans-serif);
  color: var(--text-color-primary, #1a1c21);
`,Gge=styled$1.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: inherit;
  max-width: 620px;
  margin: 0 calc(var(--spacing-xxl, 48px) * 2);
  padding: var(--spacing-xl, 32px) 0;

  @media screen and (max-width: ${k.small}) {
    margin: 0 var(--spacing-lg, 24px);
  }
`,Kge=styled$1.h1`
  margin: 0;
  color: var(--text-color-primary, #1a1c21);
  font-size: 32px;
  line-height: 40px;
  font-weight: var(--font-weight-bold, 700);
`,qge=styled$1(Rge)`
  margin: var(--spacing-lg, 24px) 0 0;
`,Jge=styled$1.div`
  color: var(--text-color-secondary, #3b3c45);
  font-family: var(--font-family-monospaced, monospace);
  font-size: var(--font-size-lg, 16px);
  line-height: var(--line-height-lg, 24px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
`,Yge=styled$1.div`
  margin-top: var(--spacing-xl, 32px);
`,Xge=styled$1.button`
  display: inline-flex;
  align-items: center;
  padding: 5px var(--spacing-base, 16px);
  border: none;
  border-radius: var(--border-radius-lg, 8px);
  background: var(--button-bg-color-primary, #3e63dd);
  color: #ffffff;
  font-family: inherit;
  font-size: var(--font-size-base, 14px);
  line-height: var(--line-height-base, 22px);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;

  &:hover {
    filter: brightness(1.08);
  }
`;pe(),B();function k1(e,t){return e===void 0?t??!1:typeof e==`string`?e!==`false`:e}function A1(e){return e===!0||String(e)===`true`}function Zge(e,t=0){return typeof e==`string`?parseInt(e,10):typeof e==`number`?e:t}function j1(e,t=0){return typeof e==`string`?parseInt(e,10):typeof e==`number`?Math.ceil(e):t}function M1(e,t){return e===void 0?t:e===`all`?1/0:j1(e,t)}function Qge(e){let t=e;return t.length>1&&t.endsWith(`/`)&&(t=t.slice(0,-1)),t.startsWith(`/`)||(t=`/`+t),t}function $ge(e){if(e===void 0)return!1;if(e===``)return!0;if(typeof e!=`string`)return e;switch(e){case`true`:return!0;case`false`:return!1;default:return e.split(`,`).map(e=>e.trim()).filter(Boolean)}}function e_e(e){return/^-?\d+(\.\d+)?$/.test(e)}function t_e(e){return typeof e==`number`?()=>e:typeof e==`string`&&e_e(e)?()=>parseFloat(e):typeof e==`function`?()=>{let t=e();return typeof t==`number`?t:0}:()=>0}function n_e(e){let t=typeof e==`object`&&e?e:{},n=t.languages??UE.map(({label:e})=>({lang:e}));return{...t,languages:n.map(e=>({...e,key:KE(e),label:e.label??e.lang}))}}function r_e(e){return Array.isArray(e)?e:typeof e==`string`?e.split(`,`).map(e=>e.trim()):[]}function N1(e,t){let n=P1(e).map(e=>typeof e==`string`?{url:e}:e),r=n.filter(e=>typeof e==`object`&&!!e&&`url`in e&&typeof e.url==`string`);return r.length!==n.length&&console.warn(`Ignoring "downloadUrls" entries without a string "url":`,e),r.map(e=>({...e,title:typeof e.title==`string`?e.title:i_e(e.url,t)}))}function P1(e){if(Array.isArray(e))return e;if(typeof e==`string`){let t=e.trim();if(!t)return[];if(!/^[[{]/.test(t))return[{url:t}];try{return P1(JSON.parse(t))}catch{return console.warn(`Ignoring "downloadUrls": not valid JSON:`,e),[]}}return typeof e==`object`&&e?[e]:(e!=null&&console.warn(`Ignoring "downloadUrls": expected an array of { url, title? }:`,e),[])}function i_e(e,t){let n=e.split(`?`)[0].split(/[\\/]/).pop();if(n&&[`yaml`,`json`,`gql`,`graphql`].some(e=>n.includes(e)))return n;switch(t){case es.OPENAPI:return`openapi.yaml`;case es.ASYNCAPI:return`asyncapi.yaml`;case es.GRAPHQL:return`graphql.gql`;default:return`description.json`}}function a_e(e){return e===void 0?mh:e===fe.STACKED?fe.STACKED:fe.THREE_PANEL}var o_e=typeof window<`u`?BrowserRouter:MemoryRouter;function F1(e){let t=memo(t=>useInRouterContext()?jsx(e,{...t}):jsx(o_e,{children:jsx(e,{...t})}));return t.displayName=`WithRouter(${s_e(e)})`,t}function s_e(e){return e.displayName||e.name||`RedoclyApiDocs`}function I1(e,t){if(!t||t.size===0)return e;if(Array.isArray(e))return e.map(e=>I1(e,t));if(!V(e))return e;if(typeof e.$ref==`string`){let n=Vj(e.$ref);return n&&t.has(n)?{type:`object`,title:n}:e}let n={};for(let[r,i]of Object.entries(e))n[r]=I1(i,t);return n}var L1=o((()=>{QR(),Uj()}));function R1(e){if(e)return e.dataValue===void 0?e.serializedValue===void 0?e.value:e.serializedValue:e.dataValue}function z1(e){return e?e.dataValue!==void 0||e.serializedValue!==void 0||e.value!==void 0:!1}var B1=o((()=>{}));function c_e(e){let t=e.components?.schemas;if(!t||typeof t!=`object`)return;let n=tj(e);for(let[e,r]of Object.entries(t)){if(!V(r))continue;let i=r,{discriminator:a}=i;if(!a?.propertyName||a.mapping||a[`x-explicitMappingOnly`]||Array.isArray(i.oneOf)||Array.isArray(i.anyOf))continue;let o=n[`#/components/schemas/${is(e)}`];if(!o?.length)continue;let s={};for(let{ref:e,value:t}of o)s[t]=e;t[e]={...i,discriminator:{...a,mapping:s}}}}function V1(e,t,n){let{schemaStore:r,exampleStore:i,securitySchemeStore:a,hashIndex:o}=t,{ignoreNamedSchemas:s}=n,c=t.document;c_e(e);let l=e.components;if(!l)return{schemaStore:r,exampleStore:i,securitySchemeStore:a};if(l.schemas){let{sectionRbac:e,entries:t}=PR(l.schemas);for(let[n,i]of t){let t=I1(GR(c,i,s)??i,s);V(t)&&RR(r,o,{id:`components/schemas/${n}`,kind:rs.JSON_SCHEMA,title:typeof t.title==`string`?t.title:n,data:t,...MR(e)})}}if(l.examples){let{sectionRbac:e,entries:t}=PR(l.examples);for(let[n,r]of t){let t=GR(c,r,s)??r;t&&typeof t==`object`&&VR(i,{id:`components/examples/${n}`,value:R1(t),summary:typeof t.summary==`string`?t.summary:void 0,description:BR(t.description),externalValue:t.externalValue,...MR(e)})}}if(l.securitySchemes){let{sectionRbac:e,entries:t}=PR(l.securitySchemes);for(let[r,i]of t){if(!i||typeof i!=`object`)continue;let t=GR(c,i,s)??i;t&&HR(a,{id:r,type:t.type,scheme:t.scheme,bearerFormat:t.bearerFormat,description:t.description?_v(t.description,n):void 0,in:t.in,paramName:t.name,openIdConnectUrl:t.openIdConnectUrl,oauth2MetadataUrl:t.oauth2MetadataUrl,deprecated:t.deprecated,flows:t.flows,...MR(e)})}}return{schemaStore:r,exampleStore:i,securitySchemeStore:a}}var H1=o((()=>{B(),os(),sj(),QR(),FR(),L1(),vv(),B1()}));H1();var l_e={};eu(),B();function U1(e){let t={...e,...l_e},n=t.basePath||t.routingBasePath;return{specType:t.specType,metadata:t.metadata??{},downloadUrls:N1(t.downloadUrls??[],t.specType),schemaDefinitionsTagName:t.schemaDefinitionsTagName,jsonSamplesExpandLevel:M1(t.jsonSamplesExpandLevel,2)??2,generatedSamplesMaxDepth:j1(t.generatedSamplesMaxDepth,8),hideDownloadButtons:k1(t.hideDownloadButtons,!1),hideLoading:k1(t.hideLoading,!1),hideSchemaTitles:k1(t.hideSchemaTitles,!1),hideSchemaPattern:k1(t.hideSchemaPattern,!1),maxDisplayedEnumValues:Zge(t.maxDisplayedEnumValues,10),onlyRequiredInSamples:k1(t.onlyRequiredInSamples,!1),[Yl.ON_DEEP_LINK_CLICK]:t.onDeepLinkClick??null,basePath:n?Qge(n):``,schemasExpansionLevel:M1(t.schemasExpansionLevel),sortRequiredPropsFirst:k1(t.sortRequiredPropsFirst??t.requiredPropsFirst,!1),scrollYOffset:t_e(t.scrollYOffset),showExtensions:$ge(t.showExtensions),sanitize:k1(t.sanitize,!1),skipBundle:k1(t.skipBundle,!1),ignoreNamedSchemas:new Set(r_e(t.ignoreNamedSchemas)),markdownParser:t.markdownParser,codeSamples:n_e(t.codeSamples),layout:a_e(t.layout),events:t.events??{},hidePropertiesPrefix:k1(t?.hidePropertiesPrefix,!1),jsonSamplesDepth:j1(t.jsonSamplesDepth,t.specType===es.ASYNCAPI?3:1),samplesMaxInlineArgs:j1(t.samplesMaxInlineArgs,2),fieldExpandLevel:j1(t.fieldExpandLevel,4),menu:t.menu,showBuiltInScalars:k1(t.showBuiltInScalars,!1),showBuiltInDirectives:k1(t.showBuiltInDirectives,!1),info:t.info,markdown:t.markdown,apiLogo:t.apiLogo,protocol:t.protocol}}function u_e(e){let t=foe(void 0,e);return Object.fromEntries(t.map(e=>[String(Yf(e)),{server:e.url,...Object.fromEntries(Object.entries(e.variables??{}).map(([e,t])=>[e,t.default||``]))}]))}pe(),QR();var d_e={ignoreNamedSchemas:[`java.io.ObjectStreamField`],maxDisplayedEnumValues:10};function W1(e,t){return U1({...d_e,...e,basePath:t})}var G1=new WeakSet;function K1(e){G1.has(e)||(G1.add(e),e.sub(_h,()=>void 0))}function q1(e,t){if(!t?.servers?.length)return;K1(e);let n=u_e(t.servers),r=e.get(_h).environments??{},i={};for(let[e,t]of Object.entries(n)){let n=r[e],a=n?Object.fromEntries(Object.entries(t).filter(([e])=>!(e in n))):t;Object.keys(a).length>0&&(i[e]=a)}Object.keys(i).length!==0&&e.set(vh,{environments:i})}function J1(e){let t=memo(t=>{let{items:n,options:r,store:i,layout:a,basePath:o=``,spec:s,specUrl:c}=t,l=Go(),u=l===Uo()?void 0:l,d=useMemo(()=>W1(r,o),[r,o]),f=a??d.layout;useLayoutEffect(()=>{if(u){let e=u.get(cs);q1(u,i??e.store),u.set(Ch,f),u.set(cs,{items:n,store:i??e.store,options:d,definition:s??e.definition,definitionUrl:c??e.definitionUrl})}},[f,d,u,n,i,s,c]);let p=useMemo(()=>{if(u)return null;let e={items:n,store:i,options:d,definition:s,definitionUrl:c},t=Vo();return t.set(cs,e),K1(t),t.set(Ch,f),q1(t,i),t},[u,n,i,d,f]);return u||!p?jsx(e,{...t}):jsx(Ko,{store:p,children:jsx(e,{...t})})});return t.displayName=`WithStoreProvider(${f_e(e)})`,t}function f_e(e){return e.displayName||e.name||`Component`}function p_e(e,t){let n=UR(WR(e));return V1(e,n,t),{schemaStore:n.schemaStore,exampleStore:n.exampleStore,securitySchemeStore:n.securitySchemeStore,mcp:n.document[`x-mcp`]}}memo(function({children:e,definition:t,apiStore:n,options:r}){let i=useMemo(()=>{let e=W1({specType:`openapi`,...r},r?.basePath??``),i;if(n)i=n;else if(t)i=p_e(t,e);else throw Error(`StoreProvider requires either apiStore or definition`);let a=Vo();return a.set(cs,{items:[],store:i,options:e}),K1(a),a.set(Ch,fe.STACKED),q1(a,i),a},[n,t,r]);return jsx(Ko,{store:i,children:e})}),qf();var Y1=e=>{let{items:t=[],basePath:n,markdownAdapter:r,telemetryConfig:i,initialTelemetry:a}=e,{routeIndex:o}=ez(t,n),s=A1(e.options?.disableTelemetry),c=zE({...i,...s?{disabled:!0}:{}});return jsx(kre,{value:r,children:jsxs(kE.Provider,{value:c,children:[jsx(m_e,{routeIndex:o,initialTelemetry:a}),jsx(h_e,{routeIndex:o,basePath:n})]})})};function m_e({routeIndex:e,initialTelemetry:t}){return tz(),Hh(),lz(),lB(e,t),null}var h_e=({routeIndex:e,basePath:t})=>jsxs(Fragment$1,{children:[jsx(Gf,{}),jsx(lie,{}),jsx(Uge,{children:jsx(Lge,{routeIndex:e,basePath:t})})]}),RedoclyApiDocs=jB(J1,F1,memo)(Y1);typeof crypto<`u`&&typeof crypto.randomUUID!=`function`&&(crypto.randomUUID=function(){let e=crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e,e=>e.toString(16).padStart(2,`0`)).join(``);return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}),F();var g_e=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M8 1C4.1 1 1 4.1 1 8C1 11.9 4.1 15 8 15C11.9 15 15 11.9 15 8C15 4.1 11.9 1 8 1ZM10.7 11.5L8 8.8L5.3 11.5L4.5 10.7L7.2 8L4.5 5.3L5.3 4.5L8 7.2L10.7 4.5L11.5 5.3L8.8 8L11.5 10.7L10.7 11.5Z`})})).attrs({"data-component-name":`icons/CloseFilledIcon/CloseFilledIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }
  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;na(),jo(),F();function __e({placeholder:e,value:t,onChange:n,isLoading:r,showReturnButton:i,inputRef:a,onReturn:o,onSubmit:s,className:c}){let{useTelemetry:l}=sr(),{addSearchHistoryItem:u}=yr(),d=l(),{onKeyDown:f}=Wa({onEnter:e=>s?.(e),onClear:()=>u(t)});return jsxs(v_e,{"data-component-name":`Search/SearchInput`,className:c,children:[i?jsx(ta,{icon:jsx(yg,{}),onClick:o}):jsx(t&&r?Fn:bO,{size:`24px`,color:`--search-input-icon-color`}),jsx(y_e,{value:t,ref:a,placeholder:e,onChange:e=>{n(e.target.value)},onClick:e=>e.stopPropagation(),onKeyDown:f}),!!t&&jsx(b_e,{variant:`ghost`,onClick:()=>{n(``),u(t),d.sendSearchInputResetClickedMessage([Ve(`searchInputReset`,`search`)])},icon:jsx(g_e,{}),tabIndex:-1})]})}var v_e=styled.div`
  display: flex;
  flex-grow: 1;
  align-items: center;
  padding: var(--search-input-padding);
  height: var(--search-input-height);
  gap: var(--search-input-gap);
`,y_e=styled.input`
  width: 100%;
  outline: none;
  background-color: var(--search-input-bg-color);
  border-radius: var(--search-input-border-radius);
  border: var(--search-input-border);
  color: var(--search-input-text-color);
  font-size: var(--search-input-font-size);
  font-family: var(--search-input-font-family);
  font-weight: var(--search-input-font-weight);
  line-height: var(--search-input-line-height);

  &::placeholder {
    color: var(--search-input-placeholder-color);
  }

  // Keep at least 16px on mobile so iOS Safari doesn't auto-zoom the viewport on focus.
  @media screen and (max-width: ${k.small}) {
    font-size: max(16px, var(--search-input-font-size));
  }
`,b_e=styled(ta)`
  color: var(--color-warm-grey-5);
`,X1=styled(xb).attrs({className:`tag-http`,"data-component-name":`Tags/HttpTag`})`
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin: var(--http-tag-margin);
  padding: var(--http-tag-padding);

  width: var(--http-tag-width);
  height: var(--http-tag-height);

  font-size: var(--http-tag-font-size);
  font-family: var(--http-tag-font-family);
  font-weight: var(--http-tag-font-weight);
  line-height: var(--http-tag-line-height);
  border: var(--http-tag-border);
  background-color: var(--http-tag-bg-color);
`;F(),jo(),zi(),na();function Z1(e){let{src:t,srcSet:n,images:r,alt:i,className:a,width:o,height:s,border:c,caption:l,framed:u,style:d,withLightbox:f,lightboxStyle:p}=e,m=useRef(null),h=useRef(null),[g,_]=useState(void 0),v=useMemo(()=>n?Me(n):new Map,[n]),y=useCallback(e=>{e.stopPropagation(),e.key===`Escape`&&_(void 0)},[]),b=useCallback((e,t)=>{f&&!g&&(h.current=t,_(e))},[f,g]),x=e=>f?{role:`button`,tabIndex:0,"aria-label":i?void 0:`Open image`,onClick:t=>b(e,t.currentTarget),onKeyDown:t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),b(e,t.currentTarget))}}:{},S=useCallback(()=>{_(void 0)},[]);lr(!!g),useEffect(()=>{g?m.current?.focus():(h.current?.focus(),h.current=null)},[g]);let C={...f&&{cursor:`pointer`},...c&&{border:c},...typeof d==`string`?Zt(d):d},w=typeof p==`string`?Zt(p):p,T=t?jsx(`img`,{src:t,alt:i,className:a,width:o,height:s,style:C,...x(t)}):Array.from(v).map(([e,t])=>jsx(w_e,{$colorMode:e,src:t,alt:i,className:a,width:o,height:s,$withLightbox:f,style:C,...x(t)},e)),E=Array.isArray(r)&&r.length>0,D=E?r.slice(0,3):[],O=E?jsx(S_e,{children:D.map((e,t)=>jsx(`img`,{src:e,alt:i,style:f?{cursor:`pointer`}:void 0,...x(e)},`${e}-${t}`))}):null,k=!!l;return jsxs(Fragment$1,{children:[g?jsxs(O_e,{ref:m,onClick:S,onKeyDown:y,tabIndex:0,children:[jsx(T_e,{style:w}),jsxs(D_e,{children:[jsx(E_e,{variant:`secondary`,"aria-label":`Close image`,onClick:S,children:jsx(Ri,{})}),jsx(Z1,{src:g,alt:i})]})]}):null,u||k||E?jsxs(x_e,{"data-component-name":`Image/Image`,$framed:u,$gallery:E,children:[E?O:T,k?jsx(C_e,{children:l}):null]}):T]})}var x_e=styled.figure`
  display: ${({$gallery:e})=>e?`block`:`inline-block`};
  margin: 0;
  ${({$gallery:e})=>e?`width: 100%;`:``}
  max-width: 100%;

  ${({$framed:e})=>e&&css`
      padding: var(--image-frame-padding);
      border: var(--border-width) var(--border-style) var(--image-frame-border-color);
      border-radius: var(--image-frame-border-radius);
      background-color: var(--image-frame-bg-color);
    `}

  > img {
    display: block;
    max-width: 100%;
    height: auto;
    background: transparent center / cover no-repeat;

    ${({$framed:e})=>e&&css`
        border-radius: var(--image-frame-image-border-radius);
      `}
  }
`,S_e=styled.div`
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--image-gallery-border-radius);

  img {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    background: var(--image-gallery-image-bg-color) 50% / cover no-repeat;
  }
`,C_e=styled.figcaption`
  padding: var(--image-caption-padding);
  color: var(--image-caption-text-color);
  font-size: var(--image-caption-font-size);
  line-height: var(--image-caption-line-height);
  font-weight: var(--image-caption-font-weight);
  text-align: center;
`,w_e=styled.img`
  html:not(.${e=>e.$colorMode}) && {
    display: none;
  }
  ${({$withLightbox:e})=>e&&`
    cursor: pointer;
  `}
`,T_e=styled.div`
  background-color: var(--image-lightbox-overlay-bg-color);
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  height: 100%;
  width: 100%;
  z-index: -1;
`,E_e=styled(ta)`
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: var(--image-lightbox-close-offset);
  width: var(--image-lightbox-close-size);
  height: var(--image-lightbox-close-size);
  border-radius: var(--image-lightbox-close-border-radius);
  z-index: 1;

  svg {
    width: var(--image-lightbox-close-icon-size);
    height: var(--image-lightbox-close-icon-size);
  }
`,D_e=styled.div`
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  margin: auto;
  width: fit-content;
  height: fit-content;
  max-width: var(--image-lightbox-content-max-width);
  max-height: var(--image-lightbox-content-max-height);
`,O_e=styled.div`
  display: grid;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: var(--z-index-overlay);

  &:focus {
    outline: none;
  }

  img {
    cursor: pointer;
    display: block;
    max-width: var(--image-lightbox-image-max-width);
    max-height: var(--image-lightbox-image-max-height);
    border-radius: var(--image-lightbox-image-border-radius);
    background:
      var(--image-lightbox-image-bg-placeholder) center / cover no-repeat,
      var(--image-frame-bg-color);
    box-shadow: var(--image-lightbox-image-shadow);
  }
`;function Q1(e,t){let n=e.indexOf(`<mark>`),r=e.indexOf(`</mark>`);if(n!==-1&&r!==-1){let i=e.slice(0,n),a=e.slice(n+6,r),o=e.slice(r+7,e.length);return t=[...t,i,{entry:a},...Q1(o,t)]}return[...t,e]}function $1(e){if(!Array.isArray(e)){let t=Q1(e,[]);return t.length===1?e:jsx(`span`,{children:t.map((e,t)=>typeof e==`object`?jsx(e0,{children:e.entry},t):e)})}let[t,n,r]=e;return jsxs(`span`,{"data-component-name":`Search/SearchHighlight`,children:[t,jsx(e0,{children:n}),r]})}var e0=styled.span`
  background-color: var(--search-highlight-bg-color);
  color: var(--search-highlight-text-color);
`;function k_e({fileRawContent:e,className:t}){return jsx(`span`,{className:t,"data-component-name":`Markdoc/InlineSvg/InlineSvg`,dangerouslySetInnerHTML:{__html:e}})}Ut(),F();var A_e=`image-slash`;function t0({icon:e,srcSet:t,rawContent:n,size:r,color:i,alt:a,className:o}){if(t)return jsx(M_e,{srcSet:t,alt:a,className:o});let s=e&&typeof e==`string`?tn(e):null;return n?jsx(N_e,{fileRawContent:n,className:o}):s?.type===`link`?jsx(j_e,{src:s.value,alt:a,className:o}):s?.type===`font-awesome`?jsx(Ht,{name:s.name,type:s.style,size:r,color:i,className:o}):s?.type===`invalid`?jsx(Ht,{name:A_e,size:r,color:i,className:o}):e}var j_e=styled.img`
  width: var(--icon-width, 16px);
  height: var(--icon-height, 16px);
  display: inline-block;
  vertical-align: middle;
`,M_e=styled(Z1)`
  width: var(--icon-width, 16px);
  height: var(--icon-height, 16px);
`,N_e=styled(k_e)`
  width: var(--icon-width, 16px);
  height: var(--icon-height, 16px);
  display: inline-block;

  svg {
    width: 100%;
    height: 100%;
    fill: var(--icon-color, currentColor);
  }
`;function P_e({icon:e,iconRawContent:t,children:n,deprecated:r,color:i,...a}){return jsxs(F_e,{...a,$color:i,$deprecated:r,"data-component-name":`Badge/Badge`,children:[e||t?jsx(I_e,{icon:e,rawContent:t}):null,n]})}var F_e=styled.span`
  display: inline-block;
  padding: 0 var(--spacing-xs);
  vertical-align: middle;
  line-height: var(--line-height-base);
  color: var(--badge-text-color);
  background-color: ${({$color:e})=>e||`var(--badge-bg-color)`};
  border-radius: var(--badge-border-radius);
  margin: 0 0 0 0.5em;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);

  ${({$deprecated:e})=>e&&css`
      color: var(--badge-deprecated-text-color);
      background-color: var(--badge-deprecated-bg-color);
      border-radius: var(--badge-deprecated-border-radius);
    `}
`,I_e=styled(t0)`
  --icon-width: var(--font-size-sm);
  --icon-height: var(--font-size-sm);
  margin-right: var(--spacing-xxs);
  flex-shrink: 0;
  vertical-align: middle;

  /* For inline SVG to align properly */
  svg {
    display: block;
  }
`,n0=styled(Xj).attrs({"data-component-name":`icons/ReturnKeyIcon/ReturnKeyIcon`})`
  margin-left: auto;

  ::after {
    content: '⏎';
  }
`;Yi(),F(),jo();function L_e({onClick:e,item:t,className:n,product:r,innerRef:i}){let a=useRef(null),{useTranslate:o}=sr(),{translate:s}=o();useEffect(()=>{t.active&&a.current?.focus()},[t.active]);let{document:c,highlight:l}=t,u=l.parameters&&l.parameters.length?l.parameters[0]:null,d=c.path&&c.path?.length>1,f=cn({isAdditionalOperation:c.isAdditionalOperation,httpVerb:c.httpMethod||``});return jsxs(R_e,{className:n,to:c.url,onClick:e,tabIndex:0,innerRef:e=>{a.current=e,P(i,e)},"data-component-name":`Search/SearchItem`,children:[jsxs(z_e,{children:[jsxs(B_e,{children:[r&&jsxs(q_e,{"data-testid":`search-item-product-tag`,children:[jsx(Z1,{src:r.icon}),r.name]}),c.httpMethod?jsxs(U_e,{children:[jsx(J_e,{color:f,children:c.httpMethod.toUpperCase()}),jsx(`span`,{children:l.httpPath?$1(l.httpPath):c.httpPath})]}):null,jsxs(V_e,{children:[jsx(H_e,{children:l.title?$1(l.title):c.title}),c.deprecated?jsx(r0,{deprecated:!0,children:s(`search.searchItem.deprecated`,`Deprecated`)}):null,c.badges?c.badges.map(({name:e,color:t})=>jsx(r0,{color:t||`var(--color-info-base)`,children:e},e)):null]}),jsx(W_e,{children:l.text?$1(l.text):at(c.text)})]}),u?jsxs(K_e,{children:[jsxs(`div`,{children:[$1(u.place),` → `,u.path?.length?jsxs(Fragment$1,{children:[$1(u.path.join(` → `)),` → `]}):null,$1(u.name)]}),jsx(`div`,{children:$1(u.description)}),u.enum?jsxs(`div`,{children:[s(`search.searchItem.enum`,`Enum`),`: `,$1(u.enum)]}):null,u.example?jsxs(`div`,{children:[s(`search.searchItem.example`,`Example`),`: `,$1(u.example)]}):null]}):d&&jsx(G_e,{children:l.path&&l.path.length?$1(l.path.join(` → `)):c.path?.join(` → `)})]}),jsx(n0,{color:`var(--search-item-text-color)`})]})}var R_e=styled(Ji)`
  display: flex;
  padding: var(--search-item-padding);
  color: var(--search-item-text-color);
  background-color: var(--search-item-bg-color);
  transition: background-color 0.3s ease;
  text-decoration: none;
  white-space: normal;
  outline: none;
  border-top: 1px solid var(--search-item-border-color);
  border-bottom: 1px solid var(--search-item-border-color);
  border-radius: var(--search-item-border-radius);

  ${n0} {
    align-self: center;
    opacity: 0;
  }

  &:hover,
  &:focus {
    color: var(--search-item-text-color-hover);
    background-color: var(--search-item-bg-color-hover);

    ${n0} {
      opacity: 1;
    }
  }

  &:focus {
    border-top: 1px solid var(--search-item-border-color-focused);
    border-bottom: 1px solid var(--search-item-border-color-focused);
  }
`,z_e=styled.section`
  flex: 1 1 auto;
`,B_e=styled.div`
  position: relative;
`,V_e=styled.div`
  display: flex;
  align-items: center;
`,H_e=styled.div`
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--search-item-title-text-color);
  padding: var(--search-item-title-padding);
  font-size: var(--search-item-title-font-size);
  font-weight: var(--search-item-title-font-weight);
  line-height: var(--search-item-title-line-height);
`,r0=styled(P_e)`
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-regular);
`,U_e=styled.div`
  display: inline-flex;
  align-items: baseline;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-regular);
  color: var(--search-item-path-text-color);
  gap: var(--search-item-gap);
`,W_e=styled.div`
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
`,G_e=styled.div`
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-regular);
  margin-top: var(--spacing-sm);
`,K_e=styled.div`
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-regular);
  margin-top: var(--spacing-sm);

  &:first-child {
    padding-top: 0;
  }
`,q_e=styled.div`
  position: absolute;
  display: flex;
  align-items: center;
  right: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
  padding: var(--search-item-title-padding);
  gap: var(--spacing-xs);

  img {
    width: var(--search-item-product-icon-size);
    height: var(--search-item-product-icon-size);
  }
`,J_e=styled(X1)`
  --http-tag-width: auto;
  --http-tag-font-weight: var(--font-weight-semibold);
`;function i0({combination:e,text:t,className:n}){return jsxs(Y_e,{"data-component-name":`Search/SearchShortcut`,className:n,children:[jsx(X_e,{children:e}),t]})}var Y_e=styled.div`
  display: flex;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-sm);
  color: var(--search-item-text-color);
  gap: var(--spacing-xs);
`,X_e=styled.span`
  background: var(--bg-color-active);
  border-radius: var(--border-radius);
  padding: 0px var(--spacing-xxs);
`;qf(),Bt(),na();function a0(e){let t=e.trim();return t?t.split(/\s+/).length:0}function Z_e({onClose:e,search:t,isReady:n}){let r=jE(),i=Qo(RE),a=useContext(Di)?.searchSessionId,o=useRef(null),s=useRef(null),c=useRef(null),l=useRef(null),[u,d]=useState(``),[f,p]=useState(``);useEffect(()=>{if(!u){p(``);return}let e=setTimeout(()=>p(u),500);return()=>clearTimeout(e)},[u]);let[m,h]=useState({query:``,items:[]}),g=!!u&&m.query!==u,_=g?[]:m.items;useEffect(()=>{if(!f){h({query:``,items:[]}),o.current=null;return}let e=!1;return Promise.resolve(t(f)).then(t=>{e||(h({query:f,items:t}),n&&o.current!==f&&(o.current=f,r.sendSearchQueryMessage([{...VE.searchQuery,resultCount:t.length,wordCount:a0(f),...a?{searchSessionId:a}:{}}])))}),()=>{e=!0}},[f,t,n,r,a]);let[v,y]=useState(-1);useEffect(()=>{if(v<0){s.current?.focus();return}(l.current?.querySelectorAll(`:scope > a`))?.[v]?.focus()},[v]);let b=useCallback(e=>{(e.key===`ArrowDown`||e.key===`ArrowUp`)&&_.length&&(e.preventDefault(),y(t=>{let n=t+(e.key===`ArrowDown`?1:-1);return Math.max(-1,Math.min(n,_.length-1))}))},[_.length]);useEffect(()=>{requestAnimationFrame(()=>{s.current?.focus()})},[]),lr(!0),$n(c,e);let x=useCallback(t=>{let n=t.target;typeof n.className==`string`&&n.className?.includes(` overlay`)&&e()},[e]),S=jsx(Q_e,{onClick:x,onKeyDown:b,className:`overlay`,ref:c,"data-testid":`search-dialog`,children:jsxs($_e,{children:[jsx(eve,{children:jsx(__e,{value:u,onChange:e=>{if(d(e),y(-1),e===``)return r.sendSearchInputResetClickedMessage([{...VE.searchInputResetButton}])},placeholder:`Search docs...`,isLoading:!n,inputRef:s,onSubmit:()=>{},"data-translation-key":`search.label`,"data-testid":`search-input`})}),jsx(tve,{ref:l,children:u?g?jsx(o0,{"data-testid":`search-message`,children:`Searching...`}):_.length?_.map((t,n)=>jsx(L_e,{item:n===v?{...t,active:!0}:t,onClick:()=>{r.sendSearchResultClickedMessage([{...BE(`search`,`searchResultItem_${n}`),wordCount:a0(u),totalResults:_.length,index:n,...t.document.kind?{kind:t.document.kind}:{},...a?{searchSessionId:a}:{}}]),i(`search`),e()},"data-testid":`search-item`},n)):jsx(o0,{"data-testid":`search-message`,children:`No results`}):jsx(o0,{"data-testid":`search-message`,children:`Search endpoints, schemas, and more...`})}),jsxs(nve,{children:[jsxs(rve,{children:[jsx(i0,{"data-translation-key":`search.keys.navigate`,combination:`↑↓`,text:`to navigate`}),jsx(i0,{"data-translation-key":`search.keys.select`,combination:`⏎`,text:`to select`}),jsx(i0,{"data-translation-key":`search.keys.exit`,combination:`Esc`,text:`to exit`})]}),jsx(ive,{"data-translation-key":`search.cancel`,variant:`secondary`,size:`small`,onClick:e,children:`Cancel`})]})]})});return createPortal(S,document.body)}var Q_e=styled$1.div`
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color-modal-overlay);
  z-index: var(--z-index-overlay);

  @media screen and (max-width: ${k.small}) {
    align-items: start;
    position: fixed;
    overflow: hidden;
    overscroll-behavior: none;
  }
`,$_e=styled$1.div`
  display: flex;
  flex-direction: column;
  overflow: auto;
  width: 100vw;
  height: 100vh;
  background: var(--search-modal-bg-color);
  box-shadow: var(--search-modal-box-shadow);
  border-radius: 0;

  @media screen and (max-width: ${k.small}) {
    min-height: -webkit-fill-available !important;
    min-height: 100dvh !important;
    height: auto !important;
    width: 100vw !important;
  }

  @media screen and (min-width: ${k.small}) {
    border-radius: var(--search-modal-border-radius);
    width: var(--search-modal-width);
    min-height: var(--search-modal-min-height);
    min-width: var(--search-modal-min-width);
    max-width: 95vw;
    max-height: 95vh;
    height: var(--search-modal-min-height);
    resize: both;
  }
`,eve=styled$1.header`
  display: flex;
  align-items: center;
  border-bottom: var(--search-modal-border);
  background-color: var(--search-modal-header-bg-color);
  padding: var(--search-modal-header-padding);
`,tve=styled$1.div`
  display: flex;
  flex-direction: column;
  overflow: auto;
  flex-grow: 1;
`,o0=styled$1.div`
  display: flex;
  height: 40%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: var(--search-message-font-size);
  font-weight: var(--search-message-font-weight);
  line-height: var(--search-message-line-height);
  color: var(--search-message-text-color);
  gap: var(--search-message-gap);
  padding: var(--search-message-padding, var(--spacing-md));
`,nve=styled$1.footer`
  display: flex;
  gap: var(--search-modal-footer-gap);
  padding: var(--search-modal-footer-padding);
  border-top: var(--search-modal-border);
`,rve=styled$1.div`
  display: none;
  justify-content: flex-start;
  align-items: center;
  gap: var(--search-shortcuts-gap);

  @media screen and (min-width: ${k.small}) {
    display: flex;
  }
`,ive=styled$1(ta)`
  width: 100%;

  @media screen and (min-width: ${k.small}) {
    display: none;
  }
`;na();function ave({onClick:e,onIntent:t,isReady:n,className:r,variant:i=`input`}){let a=db(),[o,s]=useState(!1);return useEffect(()=>{s(typeof navigator<`u`&&navigator.userAgent.includes(`Mac`))},[]),jsx(ove,{onClick:e,onPointerEnter:t,className:r,"data-testid":`search-trigger`,children:i===`button`?jsx(sve,{variant:`text`,size:`medium`,icon:jsx(bO,{}),"aria-label":`Search trigger button`}):jsxs(cve,{children:[jsx(bO,{}),n?jsxs(Fragment$1,{children:[a(`search.navbar.label`,`Search `),o?`⌘K`:`Ctrl+K`]}):jsx(`span`,{children:a(`loading`,`Loading...`)})]})})}var ove=styled$1.div`
  color: var(--search-trigger-color);
  line-height: var(--search-trigger-line-height);
  flex-grow: 1;
  cursor: pointer;

  svg {
    width: var(--search-trigger-icon-size);
    height: var(--search-trigger-icon-size);
  }
`,sve=styled$1(ta)`
  display: inline-flex;
`,cve=styled$1.div`
  display: inline-flex;
  align-items: center;
  justify-content: left;
  gap: var(--search-trigger-gap);
  width: 100%;
  border: var(--search-trigger-border-width) var(--search-trigger-border-style)
    var(--search-trigger-border-color);
  border-radius: var(--search-trigger-border-radius);
  background: var(--search-trigger-bg-color);
  padding: var(--search-trigger-padding);

  &:hover {
    border-color: var(--search-trigger-border-color-hover);
  }
`;_c();function s0({slug:e,type:t,in:n,contentType:r,responseCode:i,fieldPath:a,scope:o}){if(!e)return``;let s=a.join(`/`)||void 0;return o.pathOnly?s?Ws(e,Us({path:s})):``:Ws(e,Js({t,in:n,c:i,cb:o.callbackId,ct:r,path:s}))}function lve(e,t,n,r){if(!e)return``;let i=Us({m:t,t:n,path:r.join(`/`)||void 0});return Ws(e,i?`messages&${i}`:`messages`)}var c0=200;function l0(e){return{description:``,mediaType:void 0,type:``,required:!1,example:void 0,enum:void 0,...e}}function uve(e){return e.length>c0?`${e.slice(0,c0)}…`:e}function u0(e,t,n){return[...Array.isArray(e.path)?e.path:[],e.name.toString()].join(`.`)+e.description+e.place+(e.enum?.join(`,`)??``)+(t??``)+(n??``)}var dve=`request fields`,fve=`request body`,pve=`schema fields`,d0=`description`,f0=`callback`,mve=`message`,p0=`message payload`,m0=`message headers`,h0=`message bindings`,g0=`server`,hve=`server variables`,_0=`overview`,gve=`metadata`,_ve=`security`,vve=`request examples`,yve=`message examples`,v0=`arguments`,bve=`input schema`,xve=`output schema`,Sve=`arguments`;function Cve(e){switch(e){case`query`:return`query parameters`;case`path`:return`path parameters`;case`headers`:return`header parameters`;case`cookies`:return`cookie parameters`;case`parameters`:return`channel parameters`;default:return e?`${e} parameters`:`parameters`}}function y0(e){switch(e){case`body`:return dve;case`responses`:return`response fields`;case`graphql-fields`:return`fields`;case`graphql-args`:return v0;case`return-type`:return`return type fields`;case`possible-types`:return`possible types`;case`implemented-by`:return`implemented by`;default:return e??`fields`}}function wve(e){return`response ${e}`}function Tve(e){return`response ${e} fields`}function Eve(e){return`response ${e} headers`}function Dve(e){return`response ${e} examples`}function b0(e,t){return t?`${f0} ${e}`:e}function Ove(e){let t=e.match(/(?:^|\s)response (\S+) /);return t?t[1]:void 0}function kve(e){switch(e){case p0:return`payload`;case m0:return`headers`;case h0:return`bindings`;default:return}}function Ave(e){return e.endsWith(d0)}function jve(e){return e.endsWith(` examples`)}FR(),B(),_c();var Mve=10,Nve=class{#e;#t;#n;constructor(e){this.#e=e.schemaStore,this.#t=e.document,this.#n=e.formatDescription}extractSchemaFields({schemaId:e,...t},n={}){let r=this.#e?.[e];r&&r.kind===rs.JSON_SCHEMA&&(jR(r)||this.extractSchemaNodeFields(r.data,t,n))}extractSchemaNodeFields(e,{place:t,paramsMap:n,slug:r,mediaType:i,hasMultipleMediaTypes:a=!1,isResponse:o=!1,linkType:s,visited:c=new Set},l={}){this.#a(e,{path:[],linkPath:[],depth:0},{place:t,mediaType:i,deepLinkContentType:a?i:void 0,isResponse:o,linkType:s,paramsMap:n,visited:c,slug:r,scope:l})}resolveParameterType(e){let t=this.#e?.[e];if(!t||t.kind!==rs.JSON_SCHEMA)return`unknown`;let n=t.data,r=this.resolveEffectiveSchema(n);return this.#r(r)}resolveEffectiveSchema(e){if(e.allOf){let t=this.#s(e.allOf);return e.description&&(t.description=e.description),t}if(e.$ref){let t=this.#i(e.$ref);if(t){let n={...t};return e.description&&(n.description=e.description),n}}return e}#r(e){return Array.isArray(e.type)?e.type.join(` | `):e.type?e.type:e.properties||e.additionalProperties?`object`:e.items?`array`:e.enum?`string`:`any`}#i(e){if(!e.startsWith(`#/`))return;let t=e.slice(2).split(`/`),n=this.#t;for(let e of t){if(typeof n!=`object`||!n)return;n=n[e]}return typeof n==`object`&&n?n:void 0}#a(e,t,n){if(t.depth>Mve||jR(e))return;let r=(e,t)=>this.#a(e,t,n);if(e.$ref){this.#o(e.$ref,r,t,n.visited);return}if(e.allOf){r(this.#s(e.allOf,n.visited),t);return}let i=e.discriminator??e[`x-discriminator`];if(i?.propertyName&&!t.inDiscriminatorVariant){this.#v(e,i,r,t);return}let a=e.oneOf??e.anyOf;if(a){this.#c(e,a,r,t,n.visited);return}if(e.if&&(e.then||e.else)){this.#l(e,r,t);return}e.properties&&this.#u(e,r,t,n),this.#_(e,r,t,n.visited)}#o(e,t,n,r){if(r.has(e))return;r.add(e);let i=this.#i(e);i&&t(i,n)}#s(e,t){let n={};for(let r of e){let e=r;if(r.$ref){if(t){if(t.has(r.$ref))continue;t.add(r.$ref)}e=this.#i(r.$ref)}if(!e)continue;let i=n.properties,a=n.required;Object.assign(n,e),(i||e.properties)&&(n.properties={...i||{},...e.properties||{}}),(a||e.required)&&(n.required=[...a||[],...e.required||[]])}return delete n.allOf,n}#c(e,t,n,r,i){e.properties&&n({...e,oneOf:void 0,anyOf:void 0},{...r,linkPath:ec(r.linkPath,`&oneof=0`)}),t.forEach((e,t)=>{if(e.$ref){if(i.has(e.$ref))return;i.add(e.$ref)}let a=e.$ref?this.#i(e.$ref):e;a&&n(a,{...r,linkPath:ec(r.linkPath,`&oneof=${t}`),depth:r.depth+1})})}#l(e,t,n){let{if:r,then:i,else:a,...o}=e;[{allOf:[o,i??{},r??{}]},{allOf:[o,a??{}]}].forEach((e,r)=>{t(e,{...n,linkPath:ec(n.linkPath,`&oneof=${r}`),depth:n.depth+1})})}#u(e,t,n,r){let{isResponse:i,paramsMap:a,visited:o,scope:s}=r,c=e.required||[],l=Ove(r.place),u=r.linkType??(i?`response`:`request`),d=kve(r.place);for(let[f,p]of Object.entries(e.properties??{})){if(jR(p))continue;let e=this.#d(p,o);if(!e)continue;let m=this.#f(e,o),h=this.resolveEffectiveSchema(e);if(!this.#p(e,h,i,s.pathOnly))continue;let g=e.additionalProperties!==void 0&&!e.properties,_=f===n.discriminatorPropertyName,v=[...n.path,f],y=this.#m(f,_,n),b=this.#h(f,e,h,y,{requiredList:c,responseCode:l,type:u,asyncSubsection:d,frame:n,ctx:r}),x=u0(_?{...b,enum:void 0}:b,s.callbackId,s.messageKey),S=a[x];if(S!=null){_&&b.enum&&(S.enum=[...new Set([...S.enum??[],...b.enum])]);continue}a[x]=b,!m&&!_&&!g&&t(h,{path:v,linkPath:y,depth:n.depth+1})}}#d(e,t){if(!e.$ref)return e;if(!t.has(e.$ref))return t.add(e.$ref),this.#i(e.$ref)}#f(e,t){if(!e.allOf)return!1;let n=!1;for(let r of e.allOf)r.$ref?t.has(r.$ref)||(t.add(r.$ref),n=!0):n=!0;return!n}#p(e,t,n,r){if(jR(e)||jR(t))return!1;let i=!r;return!(i&&t.readOnly&&!n||i&&t.writeOnly&&n)}#m(e,t,n){return[...t&&n.discriminatorLinkPath?n.discriminatorLinkPath:n.linkPath,e]}#h(e,t,n,r,i){let{requiredList:a,responseCode:o,type:s,asyncSubsection:c,frame:l,ctx:u}=i,d=t.description??n.description,f=d?this.#n(d):``,p=t.example??n.example,m=p===void 0?void 0:uve(typeof p==`string`?p:JSON.stringify(p)),h=this.#g(e,t,n,l);return{name:e,description:f,place:u.place,mediaType:u.mediaType,path:l.path,type:this.#r(n),required:a.includes(e),deepLink:c?lve(u.slug,u.scope.messageKey,c,r):s0({slug:u.slug,type:s,contentType:u.deepLinkContentType,responseCode:o,fieldPath:r,scope:u.scope}),example:m,enum:h}}#g(e,t,n,r){if(Array.isArray(n.enum)&&n.enum.length)return n.enum.map(String);let i=t.const??n.const;if(i!==void 0)return[String(i)];if(e===r.discriminatorPropertyName&&r.discriminatorValues?.length)return r.discriminatorValues}#_(e,t,n,r){if(!e.items||typeof e.items!=`object`||Array.isArray(e.items))return;if(e.items.$ref){if(r.has(e.items.$ref))return;r.add(e.items.$ref)}let i=e.items.$ref?this.#i(e.items.$ref):e.items;i&&t(i,{...n,linkPath:tc(n.linkPath),depth:n.depth+1})}#v(e,t,n,r){let i=this.#y(e,t),a=(e,n)=>({...r,linkPath:ec(r.linkPath,`&d=${e}`),inDiscriminatorVariant:!0,discriminatorPropertyName:t.propertyName,discriminatorLinkPath:r.linkPath,discriminatorValues:n});if(e.properties){let t=i.flatMap(e=>e.value===void 0?[]:[e.value]);n({...e,discriminator:void 0,"x-discriminator":void 0,oneOf:void 0,anyOf:void 0},i.length?a(0,t.length?t:void 0):r)}i.forEach((e,t)=>{n(e.schema,{...a(t,e.value===void 0?void 0:[e.value]),depth:r.depth+1})})}#y(e,t){let n=e.oneOf??e.anyOf??[],r=Object.entries(t.mapping??{});if(r.length===0)return n.map(e=>({schema:e}));let i=e=>n.find(t=>t.$ref===e||t[`x-original-ref`]===e)??this.#i(e)??{},a=r.filter(([,e])=>e!==t.defaultMapping).map(([e,t])=>({schema:i(t),value:e}));if(t.defaultMapping){let e=r.find(([,e])=>e===t.defaultMapping);a.push({schema:i(t.defaultMapping),value:e?.[0]})}return a}};B(),lb();function Pve(e){let t=[],n=e=>{for(let r of e)if(r.nodeType===R.MARKDOC){let e=r;if(Fve(e.content))continue;let n=$y(e.content);n&&t.push(n)}else(r.nodeType===R.CONTAINER||r.nodeType===R.OVERVIEW_SECTION_WRAPPER)&&n(r.children)};return n(e),t.join(` `).trim()}function Fve(e){let t=!1,n=!1,r=e=>{e.type===`code`&&e.attributes?.content?t=!0:e.type===`text`&&e.attributes?.content&&(n=!0);for(let t of e.children??[])r(t)},i=Array.isArray(e)?e:[e];for(let e of i)r(e);return t&&!n}function x0(e,t){e.paramsMap[u0(t,e.scope.callbackId)]=t}function S0(e,t){return t?e.formatDescription(t):``}function Ive(e,t){return{...e,scope:{...e.scope,...t}}}FR();var Lve=new Set([`query`,`path`,`headers`,`cookies`,`querystring`,`parameters`]);function Rve(e){return Lve.has(e??``)?e:void 0}var zve={matches:e=>!!e.parameters?.length,extract(e,t){for(let n of e.parameters??[])jR(n)||x0(t,l0({name:n.name,description:S0(t,n.description),place:b0(Cve(e.variant),t.scope.callbackId),type:t.walker.resolveParameterType(n.schemaId),required:n.required??!1,deepLink:s0({slug:t.slug,type:`request`,in:Rve(e.variant),fieldPath:[n.name],scope:t.scope})}))}};RN();var Bve=new Set([`graphql-fields`,`graphql-args`,`return-type`]);function Vve(e){return Bve.has(e.variant)&&!!e.graphqlTypeName}function Hve(e,t){let{schemaStore:n}=t;if(!n||!e.graphqlTypeName)return;let r=e=>n[PN(e)]?.data;switch(e.variant){case`graphql-fields`:{let t=r(e.graphqlTypeName)?.fields;return t?{fields:t}:void 0}case`graphql-args`:{if(e.graphqlOperationType&&e.graphqlFieldName){let r=BN({schemaStore:n,graphqlMeta:t.graphqlMeta},e.graphqlOperationType,e.graphqlFieldName);return r?.args?{fields:r.args}:void 0}let r=n[FN(e.graphqlTypeName)]?.data;return r?.args?{fields:r.args}:void 0}case`return-type`:{let i=r(e.graphqlTypeName);return i?{type:{display:(e.graphqlOperationType&&e.graphqlFieldName?BN({schemaStore:n,graphqlMeta:t.graphqlMeta},e.graphqlOperationType,e.graphqlFieldName):void 0)?.type.display??i.name,description:i.description},fields:i.fields??[]}:void 0}default:return}}_c();function Uve(e){return e.variant===`graphql-args`?e.graphqlFieldName?e.graphqlFieldName:e.graphqlTypeName?`@${e.graphqlTypeName}`:void 0:e.graphqlTypeName}var Wve={matches:Vve,extract(e,t){let n=Hve(e,{schemaStore:t.schemaStore,graphqlMeta:t.graphqlMeta})?.fields;n?.length&&Gve(n,b0(y0(e.variant),t.scope.callbackId),e,t)}};function Gve(e,t,n,r){let i=n.variant===`graphql-args`,a=n.variant!==`return-type`,o=Uve(n),s=e=>r.slug&&o?Ws(r.slug,e):void 0;for(let n of e){let e=`${o}.${n.name}`;if(x0(r,l0({name:n.name,description:S0(r,n.description),place:t,path:[],type:n.type.display,deepLink:s(Zs(i?{t:`argument`,path:e,arg:n.name}:{t:`field`,path:e}))})),a)for(let t of n.args??[])x0(r,l0({name:t.name,description:S0(r,t.description),place:v0,path:[n.name],type:t.type.display,deepLink:s(Zs({t:`argument`,path:`${e}.${t.name}`,arg:t.name}))}))}}_c();var C0=e=>(e??[]).map(e=>({name:e})),w0={values:e=>e.values??[],"possible-types":e=>C0(e.graphqlTypeNames),implements:e=>C0(e.graphqlInterfaceNames),"implemented-by":e=>C0(e.graphqlTypeNames)},Kve={matches:e=>e.variant in w0,extract(e,t){qve(w0[e.variant]?.(e)??[],b0(y0(e.variant),t.scope.callbackId),e.variant,t)}};function qve(e,t,n,r){for(let i of e)x0(r,l0({name:i.name,description:S0(r,i.description),place:t,type:i.type??``,deepLink:r.slug?Ws(r.slug,n):void 0}))}FR(),_c();var Jve={matches:e=>!!e.mediaTypeSchemas||!!e.schemaId||e.variant===`body`&&!!e.description,extract(e,t){if(e.variant===`body`&&Yve(e,t),!t.hasSchemas)return;let n=b0(y0(e.variant),t.scope.callbackId),r=e.variant===`responses`;if(e.mediaTypeSchemas){let i=Object.entries(e.mediaTypeSchemas).filter(([,e])=>!jR(e)&&e.schemaId);for(let[e,a]of i)t.walker.extractSchemaFields({schemaId:a.schemaId,place:n,paramsMap:t.paramsMap,slug:t.slug,mediaType:e,hasMultipleMediaTypes:i.length>1,isResponse:r},t.scope)}else e.schemaId&&t.walker.extractSchemaFields({schemaId:e.schemaId,place:n,paramsMap:t.paramsMap,slug:t.slug,isResponse:r,visited:t.visited},t.scope)}};function Yve(e,t){let n=S0(t,e.description);if(!n)return;let r=Ys(`request`,`body`),i=t.scope.callbackId?`${Ys(dc,t.scope.callbackId)}/${r}`:r;x0(t,l0({name:e.mediaTypes?.join(`, `)||`body`,description:n,place:b0(fve,t.scope.callbackId),type:`unknown`,deepLink:t.slug?Ws(t.slug,i):void 0}))}lb(),Ds();function T0(e,t){if(!e||typeof e==`string`||!t.slug)return;let n=Array.isArray(e)?e:e.children??[],r,i=[],a=()=>{r&&(x0(t,l0({name:r.name,description:i.join(` `).trim(),place:b0(d0,t.scope.callbackId),deepLink:`/${t.slug}#${r.id}`.toLowerCase()})),r=void 0,i=[])};for(let e of n){if(e.type===`heading`){a();let t=$y(e),n=typeof e.attributes?.id==`string`&&e.attributes.id?e.attributes.id:t?`section/${Ss(t)}`:``;t&&n&&(r={id:n,name:t});continue}if(r){let n=S0(t,e);n&&i.push(n)}}a()}FR(),_c();var Xve={matches:e=>!!e.responses?.length,extract(e,t){for(let n of e.responses??[])jR(n)||(Zve(n,t),t.hasSchemas&&Qve(n,t))}};function Zve(e,t){e.description&&typeof e.description!=`string`&&T0(e.description,t);let n=[S0(t,e.summary),S0(t,e.description)].filter(Boolean).join(` `).trim();if(!n)return;let r=Ys(`response`,void 0,e.code),i=t.scope.callbackId?`${Ys(dc,t.scope.callbackId)}/${r}`:r;x0(t,l0({name:e.code,description:n,place:b0(wve(e.code),t.scope.callbackId),type:`unknown`,deepLink:t.slug?Ws(t.slug,i):void 0}))}function Qve(e,t){let n=b0(Tve(e.code),t.scope.callbackId),r=e.mediaTypeContent?Object.entries(e.mediaTypeContent).filter(([,e])=>!jR(e)&&e.schemaId).map(([e,t])=>[e,t.schemaId]):e.schemaId?[[e.mediaType,e.schemaId]]:[],i=r.length>1;for(let[e,a]of r)t.walker.extractSchemaFields({schemaId:a,place:n,paramsMap:t.paramsMap,slug:t.slug,mediaType:e,hasMultipleMediaTypes:i,isResponse:!0},t.scope);if(e.headerSchemaId){let[n]=r[0]??[];t.walker.extractSchemaFields({schemaId:e.headerSchemaId,place:b0(Eve(e.code),t.scope.callbackId),paramsMap:t.paramsMap,slug:t.slug,mediaType:n,hasMultipleMediaTypes:i,isResponse:!0},t.scope)}}FR(),B();function E0(e,t){if(t.isOverview)for(let[n,r]of Object.entries(e??{}))x0(t,l0({name:n,description:[S0(t,r.description),r.default?`default ${r.default}`:``,r.enum?.length?`enum: ${r.enum.join(`, `)}`:``].filter(Boolean).join(` `),place:hve,type:`unknown`}))}function $ve(e,t){for(let n of e.panels??[])for(let e of n.children??[])switch(e.kind){case z.SERVERS:for(let n of e.servers)jR(n)||(x0(t,l0({name:n.name??n.url,description:[n.name?n.url:``,S0(t,n.description)].filter(Boolean).join(` `),place:g0,type:`unknown`})),E0(n.variables,t));break;case z.ATTRIBUTE:{let n=e;x0(t,l0({name:n.title??n.label,description:n.value,place:_0,type:`unknown`}));break}case z.EXTERNAL_LINK:{let n=e;x0(t,l0({name:n.title??n.label,description:[n.title?n.label:``,n.url].filter(Boolean).join(` `),place:_0,type:`unknown`}));break}case z.EMAIL:{let n=e;x0(t,l0({name:n.title??n.label,description:n.email,place:_0,type:`unknown`}));break}}}function eye(e,t){for(let n of e.rows)x0(t,l0({name:n.key,description:n.value,place:gve,type:`unknown`}))}FR(),B(),_c();var tye={matches:e=>!!e.messages?.length,extract(e,t){if(t.hasSchemas)for(let n of e.messages??[])jR(n)||nye(n,t)}};function nye(e,t){x0(t,l0({name:e.name,description:[S0(t,e.description),e.summary].filter(Boolean).join(` `),place:mve,type:`unknown`,deepLink:t.slug?Ws(t.slug,Xs({section:`messages`,messageKey:e.name})):void 0}));let n={...t.scope,messageKey:e.name},r=new Set;e.schemaId&&t.walker.extractSchemaFields({schemaId:e.schemaId,place:p0,paramsMap:t.paramsMap,slug:t.slug,mediaType:e.contentType,visited:r},n),e.headerSchemaId&&t.walker.extractSchemaFields({schemaId:e.headerSchemaId,place:m0,paramsMap:t.paramsMap,slug:t.slug,visited:r},n)}function rye(e,t){if(t.hasSchemas)for(let n of e.panels??[])for(let e of n.children??[]){if(e.kind!==z.MESSAGE_BINDING)continue;let n=e.bindingsByMessageKey??{};for(let[e,r]of Object.entries(n))r?.keySchemaId&&t.walker.extractSchemaFields({schemaId:r.keySchemaId,place:h0,paramsMap:t.paramsMap,slug:t.slug,visited:new Set},{...t.scope,messageKey:e})}}function D0(e){for(let t of e){if(t.nodeType===R.CHANNEL_ADDRESS)return t.address;if(t.nodeType===R.CONTAINER){let e=D0(t.children);if(e)return e}}}function iye(e,t){for(let n of e.panels??[])for(let e of n.children??[])if(e.kind===z.BROKERS)for(let n of e.brokers)!jR(n)&&n.name&&(x0(t,l0({name:n.name,description:[n.url,n.title,n.summary,S0(t,n.description)].filter(Boolean).join(` `),place:g0,type:`unknown`})),E0(n.variables,t))}FR(),_c();var aye={matches:e=>e.variant===`body`&&O0({exampleIds:e.exampleIds,mediaTypeContent:e.mediaTypeSchemas})||!!e.responses?.some(e=>O0(e))||!!e.messages?.some(e=>e.exampleIds?.length),extract(e,t){if(t.exampleStore){e.variant===`body`&&k0(t,{exampleIds:e.exampleIds,mediaTypeContent:e.mediaTypeSchemas},{place:vve,suffix:Ys(`request`,`body`)});for(let n of e.responses??[])jR(n)||k0(t,n,{place:Dve(n.code),suffix:Ys(`response`,void 0,n.code)});for(let n of e.messages??[])jR(n)||A0(t,n.exampleIds??[],{place:yve,suffix:Xs({section:`messages`,messageKey:n.name}),callbackScoped:!1,selectable:!1})}}};function O0(e){return oye(e).length>0}function k0(e,t,n){A0(e,t.exampleIds??[],n);let r=Object.entries(t.mediaTypeContent??{}).filter(([,e])=>!jR(e)),i=t=>{let n=e.exampleStore?.[t];return n?.summary??n?.key},a=t=>(t.exampleIds??[]).filter(t=>{let n=e.exampleStore?.[t];return!!n&&!jR(n)}),o=new Map;for(let[,e]of r)for(let t of new Set(a(e).map(i)))t&&o.set(t,(o.get(t)??0)+1);let s=new Set;for(let[t,c]of r)for(let l of a(c)){let a=i(l);if(!a||s.has(a))continue;let c=(o.get(a)??0)>1;c&&s.add(a);let u=r.length>1&&!c?`${n.suffix}&ct=${t}`:n.suffix;A0(e,[l],{...n,suffix:u})}}function oye(e){let t=new Set(e.exampleIds??[]);for(let n of Object.values(e.mediaTypeContent??{}))for(let e of n.exampleIds??[])t.add(e);return[...t]}function A0(e,t,n){let{callbackId:r}=e.scope,i=n.callbackScoped===!1||!r?n.suffix:`${Ys(dc,r)}/${n.suffix}`;for(let a of t){let t=e.exampleStore?.[a];if(!t||jR(t))continue;let o=t.summary??t.key;if(!o)continue;let s=n.selectable!==!1&&t.key&&!/[/&]/.test(t.key)?`&ex=${t.key}`:``;x0(e,l0({name:o,description:S0(e,t.description),place:b0(n.place,r),type:`unknown`,deepLink:e.slug?Ws(e.slug,`${i}${s}`):void 0}))}}_c();function sye(e,t,n){let r=[e.summary??``,S0(t,e.description)].filter(Boolean).join(` `).trim();x0(t,l0({name:e.callbackName,description:r,place:f0,type:`unknown`,deepLink:t.slug?Ws(t.slug,Ys(dc,e.callbackId)):void 0}));let i=Ive(t,{callbackId:e.callbackId});e.description&&typeof e.description!=`string`&&T0(e.description,i),e.contentChildren?.length&&n(e.contentChildren,i)}var cye=new Set([`tool`,`rsrc`,`prompt`]);function lye(e,t,n){let r=`httpVerb`in e?e.httpVerb:void 0,i=e.content?.meta?.name;if(!r||!cye.has(r)||typeof i!=`string`)return;let a=t?.[`x-mcp`],o={},s=e=>typeof e==`string`?S0(n,e):``,c=(e,t,r)=>{e&&typeof e==`object`&&n.walker.extractSchemaNodeFields(e,{place:t,paramsMap:o,slug:n.slug,linkType:r})},l=``;if(r===`tool`){let e=a?.tools?.find(e=>e.name===i);if(!e)return;l=s(e.description),c(e.inputSchema,bve,`input-schema`),c(e.outputSchema,xve,`output-schema`)}else if(r===`rsrc`){let e=a?.resources?.find(e=>e.name===i);if(!e)return;l=[s(e.description),e.uri,e.mimeType].filter(Boolean).join(` `)}else{let e=a?.prompts?.find(e=>e.name===i);if(!e)return;l=s(e.description),c(AP(e.arguments??[]),Sve,`arguments`)}return{text:l,parameters:Object.values(o)}}FR();function uye(e,t){for(let n of e.requirements)for(let e of n.schemes)jR(e)||x0(t,l0({name:e.name,description:[e.type,e.scheme,e.bearerFormat,e.in?`in ${e.in}`:``,e.paramName,e.scopes?.length?`scopes: ${e.scopes.join(`, `)}`:``].filter(Boolean).join(` `),place:_ve,type:`unknown`}))}B();function dye(e,t,n){let r=`components/schemas/${e}`,i=t?.[r];if(!i||i.kind!==rs.JSON_SCHEMA)return{parameters:[],description:``};let a={};n.walker.extractSchemaFields({schemaId:r,place:pve,paramsMap:a,slug:n.slug},{pathOnly:!0});let o=n.walker.resolveEffectiveSchema(i.data);return{parameters:Object.values(a),description:S0(n,o.description)}}var fye=[zve,Wve,Kve,Jve,Xve,tye,aye];function pye(e){return fye.filter(t=>t.matches(e))}FR(),B(),lb(),Ns();var mye=class{#e=[];#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r={}){this.#t=e,this.#n=t,this.#r=n,this.#i=r.formatDescription??$y,this.#a=r.exampleStore,this.#o=r.graphqlMeta,this.#s=new Nve({schemaStore:t,document:n,formatDescription:this.#i})}addItem(e,t=[]){if(e.link&&e.content)try{switch(e.content.contentType){case ts.OVERVIEW:this.#l(e,this.#t,t);break;case ts.GROUP:case ts.ITEM:this.#l(e,e.link,t)}}catch(t){console.error(`Cannot add item to api-docs search indexer [${e.label}, ${e.link}]:`,t.message)}}getResult(){return this.#e}#c(e,t){return{slug:e,scope:{},paramsMap:{},visited:new Set,walker:this.#s,formatDescription:this.#i,hasSchemas:!!this.#n&&!!this.#r,exampleStore:this.#a,schemaStore:this.#n,graphqlMeta:this.#o,isOverview:t}}#l(e,t,n=[]){if(!e.content)return;let r=js(t,this.#t)??``,i=e.content.children,a=this.#c(r,e.content.contentType===ts.OVERVIEW),o=Pve(i),s=this.#u(i,a),c=e.content.meta?.name,l=e.content.itemVariant===L.SCHEMA&&typeof c==`string`;if(l){let e=dye(c,this.#n,a);s=[...s,...e.parameters],e.description&&(o=[o,e.description].filter(Boolean).join(` `))}let u=lye(e,this.#r,a);u&&(s=[...s,...u.parameters],o=[o,u.text].filter(Boolean).join(` `));let d=`httpPath`in e&&e.httpPath?e.httpPath:D0(i),f={id:t,url:t,title:e.label??``,text:o,path:n,kind:dz(e.content),deprecated:e.content.meta?.deprecated,...`httpVerb`in e&&e.httpVerb?{httpMethod:e.httpVerb}:{},...d?{httpPath:d}:{},...`badges`in e&&Array.isArray(e.badges)&&e.badges.length?{badges:e.badges}:{},...`isAdditionalOperation`in e&&e.isAdditionalOperation?{isAdditionalOperation:!0}:{},...l?{isSchemaDefinition:!0}:{},...MR(void 0),...s.length&&{parameters:s}};this.#e.push(f)}#u(e,t){let n=(e,t)=>{for(let r of e)if(r.nodeType===R.ITEM){let e=r;if(jR(e))continue;if(e.variant===`callback`&&e.callback){sye(e.callback,t,n);continue}for(let n of pye(e))n.extract(e,t)}else if(r.nodeType===R.MARKDOC)T0(r.content,t);else if(r.nodeType===R.SECURITY)uye(r,t);else if(r.nodeType===R.INFO_METADATA)eye(r,t);else if(r.nodeType===R.CONTAINER){let e=r;if(jR(e))continue;rye(e,t),n(e.children,t),iye(e,t),$ve(e,t)}else r.nodeType===R.OVERVIEW_SECTION_WRAPPER&&n(r.children,t)};return n(e,t),Object.values(t.paramsMap)}},hye=/[\p{L}\p{N}_-]/u;function j0(e){return e!==void 0&&hye.test(e)}function gye(e){let t=[...new Set(e.toLowerCase().split(/\s+/g).filter(Boolean))];return t.some(e=>e.length>=2)?t:[]}function M0(e,t){if(t.length>=3)return e.includes(t);for(let n=e.indexOf(t);n!==-1;n=e.indexOf(t,n+1))if(!j0(e[n-1])&&(t.length>=2||!j0(e[n+t.length])))return!0;return!1}function N0(e,t){if(!t)return``;let n=_ye(e);if(!n.length)return t;let r=150+e.length;if(t.length<=r)return L0(n,t);let{start:i,end:a}=yye(t,vye(F0(n,t),r)??{start:0,end:0},r),o=L0(n,t.slice(i,a));return`${i>0?`...`:``}${o}${a<t.length?`...`:``}`}function P0(e,t){if(!t)return;let n=N0(e,t);return n.includes(`<mark>`)?n:void 0}function _ye(e){return gye(e).sort((e,t)=>t.length-e.length)}function F0(e,t){let n=t.toLowerCase(),r=[];for(let t of e)for(let e=n.indexOf(t);e!==-1;e=n.indexOf(t,e+1)){let i=!j0(n[e-1]);if(!i&&t.length<3||t.length<2&&j0(n[e+t.length]))continue;let a=e+t.length;if(i)for(;j0(n[a]);)a++;r.push({start:e,end:a,word:t})}return r.sort((e,t)=>e.start-t.start||e.end-t.end)}function vye(e,t){let n;for(let r=0;r<e.length;r++){let i=new Set,a=e[r].end;for(let n=r;n<e.length&&e[n].end-e[r].start<=t;n++)i.has(e[n].word)||(i.add(e[n].word),a=e[n].end);let o=a-e[r].start;(!n||i.size>n.count||i.size===n.count&&o<n.end-n.start)&&(n={start:e[r].start,end:a,count:i.size})}return n&&{start:n.start,end:n.end}}function yye(e,t,n){let r=Math.max(n,t.end-t.start),i=r-(t.end-t.start),a=Math.min(e.length,Math.max(0,Math.floor(t.start-i/2))+r);return{start:bye(e,Math.max(0,a-r),t.start),end:xye(e,a,t.end)}}function bye(e,t,n){let r=t;if(r>0&&!I0(e[r-1]))for(;r<n&&!I0(e[r]);)r++;for(;r<n&&I0(e[r]);)r++;return r}function xye(e,t,n){let r=t;if(r<e.length&&!I0(e[r]))for(;r>n&&!I0(e[r]);)r--;for(;r>n&&I0(e[r-1]);)r--;return r}function I0(e){return e!==void 0&&/\s/.test(e)}function L0(e,t){let n=F0(e,t);if(!n.length)return t;let r=[];for(let e of n){let n=r[r.length-1];n&&(e.start<=n.end||!t.slice(n.end,e.start).trim())?n.end=Math.max(n.end,e.end):r.push({start:e.start,end:e.end})}let i=``,a=0;for(let e of r)i+=`${t.slice(a,e.start)}<mark>${t.slice(e.start,e.end)}</mark>`,a=e.end;return i+t.slice(a)}var Sye=[`title`,`httpPath`,`paramNames`,`all`],R0={titleExact:2e3,titlePrefix:800,titleAllWords:400,titlePartial:150,paramNameExact:250,paramNamePartial:120,sectionTitleExact:180,sectionTitlePartial:90,paramValue:40,paramPlace:5,titleCoverage:100,httpPath:60,httpMethod:50,text:10,deprecated:-40},z0=s(((e,t)=>{t.exports={}})),Z;function B0(e,t,n){let r=typeof n,i=typeof e;if(r!==`undefined`){if(i!==`undefined`){if(n){if(i===`function`&&r===i)return function(t){return e(n(t))};if(t=e.constructor,t===n.constructor){if(t===Array)return n.concat(e);if(t===Map){var a=new Map(n);for(var o of e)a.set(o[0],o[1]);return a}if(t===Set){o=new Set(n);for(a of e.values())o.add(a);return o}}}return e}return n}return i===`undefined`?t:e}function V0(e,t){return e===void 0?t:e}function H0(){return Object.create(null)}function U0(e){return typeof e==`string`}function W0(e){return typeof e==`object`}function G0(e,t){if(U0(t))e=e[t];else for(let n=0;e&&n<t.length;n++)e=e[t[n]];return e}var Cye=/[^\p{L}\p{N}]+/u,wye=/(\d{3})/g,Tye=/(\D)(\d{3})/g,Eye=/(\d{3})(\D)/g,K0=/[\u0300-\u036f]/g;function q0(e={}){if(!this||this.constructor!==q0)return new q0(...arguments);if(arguments.length)for(e=0;e<arguments.length;e++)this.assign(arguments[e]);else this.assign(e)}Z=q0.prototype,Z.assign=function(e){this.normalize=B0(e.normalize,!0,this.normalize);let t=e.include,n=t||e.exclude||e.split,r;if(n||n===``){if(typeof n==`object`&&n.constructor!==RegExp){let e=``;r=!t,t||(e+=`\\p{Z}`),n.letter&&(e+=`\\p{L}`),n.number&&(e+=`\\p{N}`,r=!!t),n.symbol&&(e+=`\\p{S}`),n.punctuation&&(e+=`\\p{P}`),n.control&&(e+=`\\p{C}`),(n=n.char)&&(e+=typeof n==`object`?n.join(``):n);try{this.split=RegExp(`[`+(t?`^`:``)+e+`]+`,`u`)}catch{this.split=/\s+/}}else this.split=n,r=n===!1||`a1a`.split(n).length<2;this.numeric=B0(e.numeric,r)}else{try{this.split=B0(this.split,Cye)}catch{this.split=/\s+/}this.numeric=B0(e.numeric,B0(this.numeric,!0))}if(this.prepare=B0(e.prepare,null,this.prepare),this.finalize=B0(e.finalize,null,this.finalize),n=e.filter,this.filter=typeof n==`function`?n:B0(n&&new Set(n),null,this.filter),this.dedupe=B0(e.dedupe,!0,this.dedupe),this.matcher=B0((n=e.matcher)&&new Map(n),null,this.matcher),this.mapper=B0((n=e.mapper)&&new Map(n),null,this.mapper),this.stemmer=B0((n=e.stemmer)&&new Map(n),null,this.stemmer),this.replacer=B0(e.replacer,null,this.replacer),this.minlength=B0(e.minlength,1,this.minlength),this.maxlength=B0(e.maxlength,1024,this.maxlength),this.rtl=B0(e.rtl,!1,this.rtl),(this.cache=n=B0(e.cache,!0,this.cache))&&(this.F=null,this.L=typeof n==`number`?n:2e5,this.B=new Map,this.D=new Map,this.I=this.H=128),this.h=``,this.J=null,this.A=``,this.K=null,this.matcher)for(let e of this.matcher.keys())this.h+=(this.h?`|`:``)+e;if(this.stemmer)for(let e of this.stemmer.keys())this.A+=(this.A?`|`:``)+e;return this},Z.addStemmer=function(e,t){return this.stemmer||=new Map,this.stemmer.set(e,t),this.A+=(this.A?`|`:``)+e,this.K=null,this.cache&&J0(this),this},Z.addFilter=function(e){return typeof e==`function`?this.filter=e:(this.filter||=new Set,this.filter.add(e)),this.cache&&J0(this),this},Z.addMapper=function(e,t){return typeof e==`object`?this.addReplacer(e,t):e.length>1?this.addMatcher(e,t):(this.mapper||=new Map,this.mapper.set(e,t),this.cache&&J0(this),this)},Z.addMatcher=function(e,t){return typeof e==`object`?this.addReplacer(e,t):e.length<2&&(this.dedupe||this.mapper)?this.addMapper(e,t):(this.matcher||=new Map,this.matcher.set(e,t),this.h+=(this.h?`|`:``)+e,this.J=null,this.cache&&J0(this),this)},Z.addReplacer=function(e,t){return typeof e==`string`?this.addMatcher(e,t):(this.replacer||=[],this.replacer.push(e,t),this.cache&&J0(this),this)},Z.encode=function(e,t){if(this.cache&&e.length<=this.H){if(this.F){if(this.B.has(e))return this.B.get(e)}else this.F=setTimeout(J0,50,this)}this.normalize&&(e=typeof this.normalize==`function`?this.normalize(e):K0?e.normalize(`NFKD`).replace(K0,``).toLowerCase():e.toLowerCase()),this.prepare&&(e=this.prepare(e)),this.numeric&&e.length>3&&(e=e.replace(Tye,`$1 $2`).replace(Eye,`$1 $2`).replace(wye,`$1 `));let n=!(this.dedupe||this.mapper||this.filter||this.matcher||this.stemmer||this.replacer),r=[],i=H0(),a,o,s=this.split||this.split===``?e.split(this.split):[e];for(let e=0,l,u;e<s.length;e++)if((l=u=s[e])&&!(l.length<this.minlength||l.length>this.maxlength)){if(t){if(i[l])continue;i[l]=1}else{if(a===l)continue;a=l}if(n)r.push(l);else if(!this.filter||(typeof this.filter==`function`?this.filter(l):!this.filter.has(l))){if(this.cache&&l.length<=this.I){if(this.F){var c=this.D.get(l);if(c||c===``){c&&r.push(c);continue}}else this.F=setTimeout(J0,50,this)}if(this.stemmer){this.K||=RegExp(`(?!^)(`+this.A+`)$`);let e;for(;e!==l&&l.length>2;)e=l,l=l.replace(this.K,e=>this.stemmer.get(e))}if(l&&(this.mapper||this.dedupe&&l.length>1)){c=``;for(let e=0,t=``,n,r;e<l.length;e++)n=l.charAt(e),n===t&&this.dedupe||((r=this.mapper&&this.mapper.get(n))||r===``?r===t&&this.dedupe||!(t=r)||(c+=r):c+=t=n);l=c}if(this.matcher&&l.length>1&&(this.J||=RegExp(`(`+this.h+`)`,`g`),l=l.replace(this.J,e=>this.matcher.get(e))),l&&this.replacer)for(c=0;l&&c<this.replacer.length;c+=2)l=l.replace(this.replacer[c],this.replacer[c+1]);if(this.cache&&u.length<=this.I&&(this.D.set(u,l),this.D.size>this.L&&(this.D.clear(),this.I=this.I/1.1|0)),l){if(l!==u){if(t){if(i[l])continue;i[l]=1}else{if(o===l)continue;o=l}}r.push(l)}}}return this.finalize&&(r=this.finalize(r)||r),this.cache&&e.length<=this.H&&(this.B.set(e,r),this.B.size>this.L&&(this.B.clear(),this.H=this.H/1.1|0)),r};function J0(e){e.F=null,e.B.clear(),e.D.clear()}function Y0(e,t,n){n||(t||typeof e!=`object`?typeof t==`object`&&(n=t,t=0):n=e),n&&(e=n.query||e,t=n.limit||t);let r=``+(t||0);n&&(r+=(n.offset||0)+!!n.context+!!n.suggest+(n.resolve!==!1)+(n.resolution||this.resolution)+(n.boost||0)),e=(``+e).toLowerCase(),this.cache||=new X0;let i=this.cache.get(e+r);if(!i){let a=n&&n.cache;a&&(n.cache=!1),i=this.search(e,t,n),a&&(n.cache=a),this.cache.set(e+r,i)}return i}function X0(e){this.limit=e&&e!==!0?e:1e3,this.cache=new Map,this.h=``}X0.prototype.set=function(e,t){this.cache.set(this.h=e,t),this.cache.size>this.limit&&this.cache.delete(this.cache.keys().next().value)},X0.prototype.get=function(e){let t=this.cache.get(e);return t&&this.h!==e&&(this.cache.delete(e),this.cache.set(this.h=e,t)),t},X0.prototype.remove=function(e){for(let t of this.cache){let n=t[0];t[1].includes(e)&&this.cache.delete(n)}},X0.prototype.clear=function(){this.cache.clear(),this.h=``};var Z0={normalize:!1,numeric:!1,dedupe:!1},Q0={},$0=new Map([[`b`,`p`],[`v`,`f`],[`w`,`f`],[`z`,`s`],[`x`,`s`],[`d`,`t`],[`n`,`m`],[`c`,`k`],[`g`,`k`],[`j`,`k`],[`q`,`k`],[`i`,`e`],[`y`,`e`],[`u`,`o`]]),e2=new Map([[`ae`,`a`],[`oe`,`o`],[`sh`,`s`],[`kh`,`k`],[`th`,`t`],[`ph`,`f`],[`pf`,`f`]]),t2=[/([^aeo])h(.)/g,`$1$2`,/([aeo])h([^aeo]|$)/g,`$1$2`,/(.)\1+/g,`$1`],n2={a:``,e:``,i:``,o:``,u:``,y:``,b:1,f:1,p:1,v:1,c:2,g:2,j:2,k:2,q:2,s:2,x:2,z:2,ß:2,d:3,t:3,l:4,m:5,n:5,r:6},r2={Exact:Z0,Default:Q0,Normalize:Q0,LatinBalance:{mapper:$0},LatinAdvanced:{mapper:$0,matcher:e2,replacer:t2},LatinExtra:{mapper:$0,replacer:t2.concat([/(?!^)[aeo]/g,``]),matcher:e2},LatinSoundex:{dedupe:!1,include:{letter:!0},finalize:function(e){for(let n=0;n<e.length;n++){var t=e[n];let r=t.charAt(0),i=n2[r];for(let e=1,n;e<t.length&&(n=t.charAt(e),n===`h`||n===`w`||!(n=n2[n])||n===i||(r+=n,i=n,r.length!==4));e++);e[n]=r}}},CJK:{split:``},LatinExact:Z0,LatinDefault:Q0,LatinSimple:Q0};function i2(e,t,n,r){let i=[];for(let a=0,o;a<e.index.length;a++)if(o=e.index[a],t>=o.length)t-=o.length;else{t=o[r?`splice`:`slice`](t,n);let a=t.length;if(a&&(i=i.length?i.concat(t):t,n-=a,r&&(e.length-=a),!n))break;t=0}return i}function a2(e){if(!this||this.constructor!==a2)return new a2(e);this.index=e?[e]:[],this.length=e?e.length:0;let t=this;return new Proxy([],{get(e,n){if(n===`length`)return t.length;if(n===`push`)return function(e){t.index[t.index.length-1].push(e),t.length++};if(n===`pop`)return function(){if(t.length)return t.length--,t.index[t.index.length-1].pop()};if(n===`indexOf`)return function(e){let n=0;for(let r=0,i,a;r<t.index.length;r++){if(i=t.index[r],a=i.indexOf(e),a>=0)return n+a;n+=i.length}return-1};if(n===`includes`)return function(e){for(let n=0;n<t.index.length;n++)if(t.index[n].includes(e))return!0;return!1};if(n===`slice`)return function(e,n){return i2(t,e||0,n||t.length,!1)};if(n===`splice`)return function(e,n){return i2(t,e||0,n||t.length,!0)};if(n===`constructor`)return Array;if(typeof n!=`symbol`)return(e=t.index[n/2**31|0])&&e[n]},set(e,n,r){return e=n/2**31|0,(t.index[e]||(t.index[e]=[]))[n]=r,t.length++,!0}})}a2.prototype.clear=function(){this.index.length=0},a2.prototype.push=function(){};function o2(e=8){if(!this||this.constructor!==o2)return new o2(e);this.index=H0(),this.h=[],this.size=0,e>32?(this.B=l2,this.A=BigInt(e)):(this.B=c2,this.A=e)}o2.prototype.get=function(e){let t=this.index[this.B(e)];return t&&t.get(e)},o2.prototype.set=function(e,t){var n=this.B(e);let r=this.index[n];r?(n=r.size,r.set(e,t),(n-=r.size)&&this.size++):(this.index[n]=r=new Map([[e,t]]),this.h.push(r),this.size++)};function s2(e=8){if(!this||this.constructor!==s2)return new s2(e);this.index=H0(),this.h=[],this.size=0,e>32?(this.B=l2,this.A=BigInt(e)):(this.B=c2,this.A=e)}s2.prototype.add=function(e){var t=this.B(e);let n=this.index[t];n?(t=n.size,n.add(e),(t-=n.size)&&this.size++):(this.index[t]=n=new Set([e]),this.h.push(n),this.size++)},Z=o2.prototype,Z.has=s2.prototype.has=function(e){let t=this.index[this.B(e)];return t&&t.has(e)},Z.delete=s2.prototype.delete=function(e){let t=this.index[this.B(e)];t&&t.delete(e)&&this.size--},Z.clear=s2.prototype.clear=function(){this.index=H0(),this.h=[],this.size=0},Z.values=s2.prototype.values=function*(){for(let e=0;e<this.h.length;e++)for(let t of this.h[e].values())yield t},Z.keys=s2.prototype.keys=function*(){for(let e=0;e<this.h.length;e++)for(let t of this.h[e].keys())yield t},Z.entries=s2.prototype.entries=function*(){for(let e=0;e<this.h.length;e++)for(let t of this.h[e].entries())yield t};function c2(e){let t=2**this.A-1;if(typeof e==`number`)return e&t;let n=0,r=this.A+1;for(let i=0;i<e.length;i++)n=(n*r^e.charCodeAt(i))&t;return this.A===32?n+2**31:n}function l2(e){let t=BigInt(2)**this.A-BigInt(1);var n=typeof e;if(n===`bigint`)return e&t;if(n===`number`)return BigInt(e)&t;n=BigInt(0);let r=this.A+BigInt(1);for(let i=0;i<e.length;i++)n=(n*r^BigInt(e.charCodeAt(i)))&t;return n}var u2,d2;async function Dye(e){e=e.data;var t=e.task;let n=e.id,r=e.args;switch(t){case`init`:d2=e.options||{},(t=e.factory)?(Function(`return `+t)()(self),u2=new self.FlexSearch.Index(d2),delete self.FlexSearch):u2=new Y2(d2),postMessage({id:n});break;default:let i;t===`export`&&(r[1]?(r[0]=d2.export,r[2]=0,r[3]=1):r=null),t===`import`?r[0]&&(e=await d2.import.call(u2,r[0]),u2.import(r[0],e)):((i=r&&u2[t].apply(u2,r))&&i.then&&(i=await i),i&&i.await&&(i=await i.await),t===`search`&&i.result&&(i=i.result)),postMessage(t===`search`?{id:n,msg:i}:{id:n})}}function f2(e){g2.call(e,`add`),g2.call(e,`append`),g2.call(e,`search`),g2.call(e,`update`),g2.call(e,`remove`),g2.call(e,`searchCache`)}var p2,m2,h2;function Oye(){p2=h2=0}function g2(e){this[e+`Async`]=function(){let t=arguments;var n=t[t.length-1];let r;if(typeof n==`function`&&(r=n,delete t[t.length-1]),p2?h2||=Date.now()-m2>=this.priority*this.priority*3:(p2=setTimeout(Oye,0),m2=Date.now()),h2){let n=this;return new Promise(r=>{setTimeout(function(){r(n[e+`Async`].apply(n,t))},0)})}let i=this[e].apply(this,t);return n=i.then?i:new Promise(e=>e(i)),r&&n.then(r),n}}var _2=0;function v2(e={},t){function n(n){function o(e){e=e.data||e;let t=e.id,n=t&&a.h[t];n&&(n(e.msg),delete a.h[t])}if(this.worker=n,this.h=H0(),this.worker)return i?this.worker.on(`message`,o):this.worker.onmessage=o,e.config?new Promise(function(t){_2>1e9&&(_2=0),a.h[++_2]=function(){t(a)},a.worker.postMessage({id:_2,task:`init`,factory:r,options:e})}):(this.priority=e.priority||4,this.encoder=t||null,this.worker.postMessage({task:`init`,factory:r,options:e}),this)}if(!this||this.constructor!==v2)return new v2(e);let r=typeof self<`u`?self._factory:typeof window<`u`?window._factory:null;r&&=r.toString();let i=typeof window>`u`,a=this,o=kye(r,i,e.worker);return o.then?o.then(function(e){return n.call(a,e)}):n.call(this,o)}y2(`add`),y2(`append`),y2(`search`),y2(`update`),y2(`remove`),y2(`clear`),y2(`export`),y2(`import`),v2.prototype.searchCache=Y0,f2(v2.prototype);function y2(e){v2.prototype[e]=function(){let t=this,n=[].slice.call(arguments);var r=n[n.length-1];let i;return typeof r==`function`&&(i=r,n.pop()),r=new Promise(function(r){e===`export`&&typeof n[0]==`function`&&(n[0]=null),_2>1e9&&(_2=0),t.h[++_2]=r,t.worker.postMessage({task:e,id:_2,args:n})}),i?(r.then(i),this):r}}function kye(e,t,n){return t?typeof module<`u`?new(z0()).Worker(__dirname+`/worker/node.js`):Promise.resolve().then(()=>u(z0(),1)).then(function(e){return new e.Worker(import.meta.dirname+`/node/node.mjs`)}):e?new window.Worker(URL.createObjectURL(new Blob([`onmessage=`+Dye.toString()],{type:`text/javascript`}))):new window.Worker(typeof n==`string`?n:import.meta.url.replace(`/worker.js`,`/worker/worker.js`).replace(`flexsearch.bundle.module.min.js`,`module/worker/worker.js`).replace(`flexsearch.bundle.module.min.mjs`,`module/worker/worker.js`),{type:`module`})}M2.prototype.add=function(e,t,n){if(W0(e)&&(t=e,e=G0(t,this.key)),t&&(e||e===0)){if(!n&&this.reg.has(e))return this.update(e,t);for(let a=0,o;a<this.field.length;a++){o=this.B[a];var r=this.index.get(this.field[a]);if(typeof o==`function`){var i=o(t);i&&r.add(e,i,n,!0)}else i=o.G,(!i||i(t))&&(o.constructor===String?o=[``+o]:U0(o)&&(o=[o]),x2(t,o,this.D,0,r,e,o[0],n))}if(this.tag)for(r=0;r<this.A.length;r++){var a=this.A[r];i=this.tag.get(this.F[r]);let s=H0();if(typeof a==`function`){if(a=a(t),!a)continue}else{var o=a.G;if(o&&!o(t))continue;a.constructor===String&&(a=``+a),a=G0(t,a)}if(i&&a){U0(a)&&(a=[a]);for(let t=0,r,c;t<a.length;t++)if(r=a[t],!s[r]&&(s[r]=1,(o=i.get(r))?c=o:i.set(r,c=[]),!n||!c.includes(e))){if(c.length===2**31-1){if(o=new a2(c),this.fastupdate)for(let e of this.reg.values())e.includes(c)&&(e[e.indexOf(c)]=o);i.set(r,c=o)}c.push(e),this.fastupdate&&((o=this.reg.get(e))?o.push(c):this.reg.set(e,[c]))}}}if(this.store&&(!n||!this.store.has(e))){let r;if(this.h){r=H0();for(let e=0,i;e<this.h.length;e++){if(i=this.h[e],(n=i.G)&&!n(t))continue;let a;if(typeof i==`function`){if(a=i(t),!a)continue;i=[i.O]}else if(U0(i)||i.constructor===String){r[i]=t[i];continue}b2(t,r,i,0,i[0],a)}}this.store.set(e,r||t)}this.worker&&(this.fastupdate||this.reg.add(e))}return this};function b2(e,t,n,r,i,a){if(e=e[i],r===n.length-1)t[i]=a||e;else if(e){if(e.constructor===Array)for(t=t[i]=Array(e.length),i=0;i<e.length;i++)b2(e,t,n,r,i);else t=t[i]||(t[i]=H0()),i=n[++r],b2(e,t,n,r,i)}}function x2(e,t,n,r,i,a,o,s){if(e=e[o]){if(r===t.length-1){if(e.constructor===Array){if(n[r]){for(t=0;t<e.length;t++)i.add(a,e[t],!0,!0);return}e=e.join(` `)}i.add(a,e,s,!0)}else if(e.constructor===Array)for(o=0;o<e.length;o++)x2(e,t,n,r,i,a,o,s);else o=t[++r],x2(e,t,n,r,i,a,o,s)}}function S2(e,t,n,r){if(!e.length)return e;if(e.length===1)return e=e[0],e=n||e.length>t?e.slice(n,n+t):e,r?j2.call(this,e):e;let i=[];for(let a=0,o,s;a<e.length;a++)if((o=e[a])&&(s=o.length)){if(n){if(n>=s){n-=s;continue}o=o.slice(n,n+t),s=o.length,n=0}if(s>t&&(o=o.slice(0,t),s=t),!i.length&&s>=t)return r?j2.call(this,o):o;if(i.push(o),t-=s,!t)break}return i=i.length>1?[].concat.apply([],i):i[0],r?j2.call(this,i):i}function C2(e,t,n,r){var i=r[0];if(i[0]&&i[0].query)return e[t].apply(e,i);if(!(t!==`and`&&t!==`not`||e.result.length||e.await||i.suggest))return r.length>1&&(i=r[r.length-1]),(r=i.resolve)?e.await||e.result:e;let a=[],o=0,s=0,c,l,u,d,f;for(t=0;t<r.length;t++)if(i=r[t]){var p=void 0;if(i.constructor===E2)p=i.await||i.result;else if(i.then||i.constructor===Array)p=i;else{o=i.limit||0,s=i.offset||0,u=i.suggest,l=i.resolve,c=((d=i.highlight||e.highlight)||i.enrich)&&l,p=i.queue;let n=i.async||p,r=i.index,m=i.query;if(r?e.index||=r:r=e.index,m||i.tag){let o=i.field||i.pluck;if(o&&(!m||e.query&&!d||(e.query=m,e.field=o,e.highlight=d),r=r.index.get(o)),p&&(f||e.await)){f=1;let o,s=e.C.length,c=new Promise(function(e){o=e});(function(t,r){c.h=function(){r.index=null,r.resolve=!1;let i=n?t.searchAsync(r):t.search(r);return i.then?i.then(function(t){return e.C[s]=t=t.result||t,o(t),t}):(i=i.result||i,o(i),i)}})(r,Object.assign({},i)),e.C.push(c),a[t]=c;continue}i.resolve=!1,i.index=null,p=n?r.searchAsync(i):r.search(i),i.resolve=l,i.index=r}else if(i.and)p=w2(i,`and`,r);else if(i.or)p=w2(i,`or`,r);else if(i.not)p=w2(i,`not`,r);else if(i.xor)p=w2(i,`xor`,r);else continue}p.await?(f=1,p=p.await):p.then?(f=1,p=p.then(function(e){return e.result||e})):p=p.result||p,a[t]=p}if(f&&!e.await&&(e.await=new Promise(function(t){e.return=t})),f){let t=Promise.all(a).then(function(r){for(let i=0;i<e.C.length;i++)if(e.C[i]===t){e.C[i]=function(){return n.call(e,r,o,s,c,l,u,d)};break}D2(e)});e.C.push(t)}else if(e.await)e.C.push(function(){return n.call(e,a,o,s,c,l,u,d)});else return n.call(e,a,o,s,c,l,u,d);return l?e.await||e.result:e}function w2(e,t,n){e=e[t];let r=e[0]||e;return r.index||=n,n=new E2(r),e.length>1&&(n=n[t].apply(n,e.slice(1))),n}E2.prototype.or=function(){return C2(this,`or`,Aye,arguments)};function Aye(e,t,n,r,i,a,o){return e.length&&(this.result.length&&e.push(this.result),e.length<2?this.result=e[0]:(this.result=k2(e,t,n,!1,this.h),n=0)),i&&(this.await=null),i?this.resolve(t,n,r,o):this}E2.prototype.and=function(){return C2(this,`and`,jye,arguments)};function jye(e,t,n,r,i,a,o){if(!a&&!this.result.length)return i?this.result:this;let s;if(e.length){if(this.result.length&&e.unshift(this.result),e.length<2)this.result=e[0];else{let r=0;for(let t=0,n,i;t<e.length;t++)if((n=e[t])&&(i=n.length))r<i&&(r=i);else if(!a){r=0;break}r?(this.result=O2(e,r,t,n,a,this.h,i),s=!0):this.result=[]}}else a||(this.result=e);return i&&(this.await=null),i?this.resolve(t,n,r,o,s):this}E2.prototype.xor=function(){return C2(this,`xor`,Mye,arguments)};function Mye(e,t,n,r,i,a,o){if(e.length){if(this.result.length&&e.unshift(this.result),e.length<2)this.result=e[0];else{a:{a=n;var s=this.h;let r=[],o=H0(),c=0;for(let t=0,n;t<e.length;t++)if(n=e[t]){c<n.length&&(c=n.length);for(let e=0,t;e<n.length;e++)if(t=n[e])for(let e=0,n;e<t.length;e++)n=t[e],o[n]=o[n]?2:1}for(let n=0,l,u=0;n<c;n++)for(let c=0,d;c<e.length;c++)if((d=e[c])&&(l=d[n])){for(let d=0,f;d<l.length;d++)if(f=l[d],o[f]===1){if(a)a--;else if(i){if(r.push(f),r.length===t){e=r;break a}}else{let i=n+(c?s:0);if(r[i]||(r[i]=[]),r[i].push(f),++u===t){e=r;break a}}}}e=r}this.result=e,s=!0}}else a||(this.result=e);return i&&(this.await=null),i?this.resolve(t,n,r,o,s):this}E2.prototype.not=function(){return C2(this,`not`,Nye,arguments)};function Nye(e,t,n,r,i,a,o){if(!a&&!this.result.length)return i?this.result:this;if(e.length&&this.result.length){a:{a=n;var s=[];e=new Set(e.flat().flat());for(let n=0,r,o=0;n<this.result.length;n++)if(r=this.result[n]){for(let c=0,l;c<r.length;c++)if(l=r[c],!e.has(l)){if(a)a--;else if(i){if(s.push(l),s.length===t){e=s;break a}}else if(s[n]||(s[n]=[]),s[n].push(l),++o===t){e=s;break a}}}e=s}this.result=e,s=!0}return i&&(this.await=null),i?this.resolve(t,n,r,o,s):this}function T2(e,t,n,r,i){let a,o,s;typeof i==`string`?(a=i,i=``):a=i.template,o=a.indexOf(`$1`),s=a.substring(o+2),o=a.substring(0,o);let c=i&&i.boundary,l=!i||i.clip!==!1,u=i&&i.merge&&s&&o&&RegExp(s+` `+o,`g`);i&&=i.ellipsis;var d=0;if(typeof i==`object`){var f=i.template;d=f.length-2,i=i.pattern}typeof i!=`string`&&(i=i===!1?``:`...`),d&&(i=f.replace(`$1`,i)),f=i.length-d;let p,m;typeof c==`object`&&(p=c.before,p===0&&(p=-1),m=c.after,m===0&&(m=-1),c=c.total||9e5),d=new Map;for(let re=0,ie,ae,oe;re<t.length;re++){let se;if(r)se=t,oe=r;else{var h=t[re];if(oe=h.field,!oe)continue;se=h.result}ae=n.get(oe),ie=ae.encoder,h=d.get(ie),typeof h!=`string`&&(h=ie.encode(e),d.set(ie,h));for(let e=0;e<se.length;e++){var g=se[e].doc;if(!g||(g=G0(g,oe),!g))continue;var _=g.trim().split(/\s+/);if(!_.length)continue;g=``;var v=[];let t=[];for(var y=-1,b=-1,x=0,S=0;S<_.length;S++){var C=_[S],w=ie.encode(C);w=w.length>1?w.join(` `):w[0];let e;if(w&&C){for(var T=C.length,E=(ie.split?C.replace(ie.split,``):C).length-w.length,D=``,O=0,k=0;k<h.length;k++){var ee=h[k];if(ee){var te=ee.length;te+=E<0?0:E,O&&te<=O||(ee=w.indexOf(ee),ee>-1&&(D=(ee?C.substring(0,ee):``)+o+C.substring(ee,ee+te)+s+(ee+te<T?C.substring(ee+te):``),O=te,e=!0))}}D&&(c&&(y<0&&(y=g.length+ +!!g),b=g.length+ +!!g+D.length,x+=T,t.push(v.length),v.push({match:D})),g+=(g?` `:``)+D)}if(!e)C=_[S],g+=(g?` `:``)+C,c&&v.push({text:C});else if(c&&x>=c)break}if(x=t.length*(a.length-2),p||m||c&&g.length-x>c){if(x=c+x-f*2,S=b-y,p>0&&(S+=p),m>0&&(S+=m),S<=x)_=p?y-(p>0?p:0):y-((x-S)/2|0),v=m?b+(m>0?m:0):_+x,l||(_>0&&g.charAt(_)!==` `&&g.charAt(_-1)!==` `&&(_=g.indexOf(` `,_),_<0&&(_=0)),v<g.length&&g.charAt(v-1)!==` `&&g.charAt(v)!==` `&&(v=g.lastIndexOf(` `,v),v<b?v=b:++v)),g=(_?i:``)+g.substring(_,v)+(v<g.length?i:``);else{for(b=[],y={},x={},S={},C={},w={},D=E=T=0,k=O=1;;){var ne=void 0;for(let e=0,n;e<t.length;e++){if(n=t[e],D){if(E!==D){if(S[e+1])continue;if(n+=D,y[n]){T-=f,x[e+1]=1,S[e+1]=1;continue}if(n>=v.length-1){if(n>=v.length){S[e+1]=1,n>=_.length&&(x[e+1]=1);continue}T-=f}if(g=v[n].text,te=m&&w[e]){if(te>0){if(g.length>te){if(S[e+1]=1,l)g=g.substring(0,te);else continue}(te-=g.length)||(te=-1),w[e]=te}else{S[e+1]=1;continue}}if(T+g.length+1<=c)g=` `+g,b[e]+=g;else if(l)ne=c-T-1,ne>0&&(g=` `+g.substring(0,ne),b[e]+=g),S[e+1]=1;else{S[e+1]=1;continue}}else{if(S[e])continue;if(n-=E,y[n]){T-=f,S[e]=1,x[e]=1;continue}if(n<=0){if(n<0){S[e]=1,x[e]=1;continue}T-=f}if(g=v[n].text,te=p&&C[e]){if(te>0){if(g.length>te){if(S[e]=1,l)g=g.substring(g.length-te);else continue}(te-=g.length)||(te=-1),C[e]=te}else{S[e]=1;continue}}if(T+g.length+1<=c)g+=` `,b[e]=g+b[e];else if(l)ne=g.length+1-(c-T),ne>=0&&ne<g.length&&(g=g.substring(ne)+` `,b[e]=g+b[e]),S[e]=1;else{S[e]=1;continue}}}else{g=v[n].match,p&&(C[e]=p),m&&(w[e]=m),e&&T++;let t;if(n?!e&&f&&(T+=f):(x[e]=1,S[e]=1),n>=_.length-1||n<v.length-1&&v[n+1].match?t=1:f&&(T+=f),T-=a.length-2,!e||T+g.length<=c)b[e]=g;else{ne=O=k=x[e]=0;break}t&&(x[e+1]=1,S[e+1]=1)}T+=g.length,ne=y[n]=1}if(ne)E===D?D++:E++;else{if(E===D?O=0:k=0,!O&&!k)break;O?(E++,D=E):D++}}g=``;for(let e=0,t;e<b.length;e++)t=(x[e]?e?` `:``:(e&&!i?` `:``)+i)+b[e],g+=t;i&&!x[b.length]&&(g+=i)}}u&&(g=g.replace(u,` `)),se[e].highlight=g}if(r)break}return t}function E2(e,t){if(!this||this.constructor!==E2)return new E2(e,t);let n=0,r,i,a,o,s,c;if(e&&e.index){let r=e;if(t=r.index,n=r.boost||0,i=r.query){a=r.field||r.pluck,o=r.highlight;let n=r.resolve;e=r.async||r.queue,r.resolve=!1,r.index=null,e=e?t.searchAsync(r):t.search(r),r.resolve=n,r.index=t,e=e.result||e}else e=[]}if(e&&e.then){let t=this;e=e.then(function(e){t.C[0]=t.result=e.result||e,D2(t)}),r=[e],e=[],s=new Promise(function(e){c=e})}this.index=t||null,this.result=e||[],this.h=n,this.C=r||[],this.await=s||null,this.return=c||null,this.highlight=o||null,this.query=i||``,this.field=a||``}Z=E2.prototype,Z.limit=function(e){if(this.await){let t=this;this.C.push(function(){return t.limit(e).result})}else if(this.result.length){let t=[];for(let n=0,r;n<this.result.length;n++)if(r=this.result[n]){if(r.length<=e){if(t[n]=r,e-=r.length,!e)break}else{t[n]=r.slice(0,e);break}}this.result=t}return this},Z.offset=function(e){if(this.await){let t=this;this.C.push(function(){return t.offset(e).result})}else if(this.result.length){let t=[];for(let n=0,r;n<this.result.length;n++)(r=this.result[n])&&(r.length<=e?e-=r.length:(t[n]=r.slice(e),e=0));this.result=t}return this},Z.boost=function(e){if(this.await){let t=this;this.C.push(function(){return t.boost(e).result})}else this.h+=e;return this};function D2(e,t){let n=e.result;var r=e.await;e.await=null;for(let t=0,i;t<e.C.length;t++)if(i=e.C[t]){if(typeof i==`function`)n=i(),e.C[t]=n=n.result||n,t--;else if(i.h)n=i.h(),e.C[t]=n=n.result||n,t--;else if(i.then)return e.await=r}return r=e.return,e.C=[],e.return=null,t||r(n),n}Z.resolve=function(e,t,n,r,i){let a=this.await?D2(this,!0):this.result;if(a.then){let o=this;return a.then(function(){return o.resolve(e,t,n,r,i)})}return a.length&&(typeof e==`object`?(r=e.highlight||this.highlight,n=!!r||e.enrich,t=e.offset,e=e.limit):(r||=this.highlight,n=!!r||n),a=i?n?j2.call(this.index,a):a:S2.call(this.index,a,e||100,t,n)),this.finalize(a,r)},Z.finalize=function(e,t){if(e.then){let n=this;return e.then(function(e){return n.finalize(e,t)})}t&&e.length&&this.query&&(e=T2(this.query,e,this.index.index,this.field,t));let n=this.return;return this.highlight=this.index=this.result=this.C=this.await=this.return=null,this.query=this.field=``,n&&n(e),e};function O2(e,t,n,r,i,a,o){let s=e.length,c=[],l,u;l=H0();for(let d=0,f,p,m,h;d<t;d++)for(let t=0;t<s;t++)if(m=e[t],d<m.length&&(f=m[d]))for(let e=0;e<f.length;e++){if(p=f[e],(u=l[p])?l[p]++:(u=0,l[p]=1),h=c[u]||(c[u]=[]),!o){let e=d+(t||!i?0:a||0);h=h[e]||(h[e]=[])}if(h.push(p),o&&n&&u===s-1&&h.length-r===n)return r?h.slice(r):h}if(e=c.length){if(i)c=c.length>1?k2(c,n,r,o,a):(c=c[0])&&n&&c.length>n||r?c.slice(r,n+r):c;else{if(e<s)return[];if(c=c[e-1],n||r){if(o)(c.length>n||r)&&(c=c.slice(r,n+r));else{i=[];for(let e=0,t;e<c.length;e++)if(t=c[e]){if(r&&t.length>r)r-=t.length;else if((n&&t.length>n||r)&&(t=t.slice(r,n+r),n-=t.length,r&&(r-=t.length)),i.push(t),!n)break}c=i}}}}return c}function k2(e,t,n,r,i){let a=[],o=H0(),s;var c=e.length;let l;if(r){for(i=c-1;i>=0;i--)if(l=(r=e[i])&&r.length){for(c=0;c<l;c++)if(s=r[c],!o[s]){if(o[s]=1,n)n--;else if(a.push(s),a.length===t)return a}}}else for(let u=c-1,d,f=0;u>=0;u--){d=e[u];for(let e=0;e<d.length;e++)if(l=(r=d[e])&&r.length){for(let d=0;d<l;d++)if(s=r[d],!o[s]){if(o[s]=1,n)n--;else{let n=(e+(u<c-1&&i||0))/(u+1)|0;if((a[n]||(a[n]=[])).push(s),++f===t)return a}}}}return a}function Pye(e,t,n,r,i){let a=H0(),o=[];for(let e=0,n;e<t.length;e++){n=t[e];for(let e=0;e<n.length;e++)a[n[e]]=1}if(i){for(let t=0,i;t<e.length;t++)if(i=e[t],a[i]){if(r)r--;else if(o.push(i),a[i]=0,n&&--n===0)break}}else for(let n=0,r,i;n<e.result.length;n++)for(r=e.result[n],t=0;t<r.length;t++)i=r[t],a[i]&&((o[n]||(o[n]=[])).push(i),a[i]=0);return o}M2.prototype.search=function(e,t,n,r){n||(!t&&W0(e)?(n=e,e=``):W0(t)&&(n=t,t=0));let i=[];var a=[];let o,s,c,l,u,d,f=0,p=!0,m;if(n){n.constructor===Array&&(n={index:n}),e=n.query||e,o=n.pluck,s=n.merge,l=n.boost,d=o||n.field||(d=n.index)&&(d.index?null:d);var h=this.tag&&n.tag;c=n.suggest,p=n.resolve!==!1,u=n.cache,m=p&&this.store&&n.highlight;var g=!!m||p&&this.store&&n.enrich;t=n.limit||t;var _=n.offset||0;if(t||=p?100:0,h&&(!this.db||!r)){h.constructor!==Array&&(h=[h]);var v=[];for(let e=0,t;e<h.length;e++)if(t=h[e],t.field&&t.tag){var y=t.tag;if(y.constructor===Array)for(var b=0;b<y.length;b++)v.push(t.field,y[b]);else v.push(t.field,y)}else{y=Object.keys(t);for(let e=0,n,r;e<y.length;e++)if(n=y[e],r=t[n],r.constructor===Array)for(b=0;b<r.length;b++)v.push(n,r[b]);else v.push(n,r)}if(h=v,!e){if(a=[],v.length)for(h=0;h<v.length;h+=2){if(this.db){if(r=this.index.get(v[h]),!r)continue;a.push(r=r.db.tag(v[h+1],t,_,g))}else r=Fye.call(this,v[h],v[h+1],t,_,g);i.push(p?{field:v[h],tag:v[h+1],result:r}:[r])}if(a.length){let e=this;return Promise.all(a).then(function(t){for(let e=0;e<t.length;e++)p?i[e].result=t[e]:i[e]=t[e];return p?i:new E2(i.length>1?O2(i,1,0,0,c,l):i[0],e)})}return p?i:new E2(i.length>1?O2(i,1,0,0,c,l):i[0],this)}}p||o||!(d||=this.field)||(U0(d)?o=d:(d.constructor===Array&&d.length===1&&(d=d[0]),o=d.field||d.index)),d&&d.constructor!==Array&&(d=[d])}d||=this.field;let x;v=(this.worker||this.db)&&!r&&[];for(let o=0,s,l,C;o<d.length;o++){if(l=d[o],this.db&&this.tag&&!this.B[o])continue;let w;if(U0(l)||(w=l,l=w.field,e=w.query||e,t=V0(w.limit,t),_=V0(w.offset,_),c=V0(w.suggest,c),m=p&&this.store&&V0(w.highlight,m),g=!!m||p&&this.store&&V0(w.enrich,g),u=V0(w.cache,u)),r)s=r[o];else{y=w||n||{},b=y.enrich;var S=this.index.get(l);if(h&&(this.db&&(y.tag=h,y.field=d,x=S.db.support_tag_search),!x&&b&&(y.enrich=!1),x||(y.limit=0,y.offset=0)),s=u?S.searchCache(e,h&&!x?0:t,y):S.search(e,h&&!x?0:t,y),h&&!x&&(y.limit=t,y.offset=_),b&&(y.enrich=b),v){v[o]=s;continue}}if(C=(s=s.result||s)&&s.length,h&&C){if(y=[],b=0,this.db&&r){if(!x)for(S=d.length;S<r.length;S++){let e=r[S];if(e&&e.length)b++,y.push(e);else if(!c)return p?i:new E2(i,this)}}else for(let e=0,t,n;e<h.length;e+=2){if(t=this.tag.get(h[e]),!t){if(c)continue;return p?i:new E2(i,this)}if((t&&=t.get(h[e+1]))&&t.length)b++,y.push(t);else if(!c)return p?i:new E2(i,this)}if(b){if(s=Pye(s,y,t,_,p),C=s.length,!C&&!c)return p?s:new E2(s,this);b--}}if(C)a[f]=l,i.push(s),f++;else if(d.length===1)return p?i:new E2(i,this)}if(v){if(this.db&&h&&h.length&&!x)for(g=0;g<h.length;g+=2){if(a=this.index.get(h[g]),!a){if(c)continue;return p?i:new E2(i,this)}v.push(a.db.tag(h[g+1],t,_,!1))}let r=this;return Promise.all(v).then(function(i){return n&&(n.resolve=p),i.length&&(i=r.search(e,t,n,i)),i})}if(!f)return p?i:new E2(i,this);if(o&&(!g||!this.store))return i=i[0],p?i:new E2(i,this);for(v=[],_=0;_<a.length;_++){if(h=i[_],g&&h.length&&h[0].doc===void 0&&(this.db?v.push(h=this.index.get(this.field[0]).db.enrich(h)):h=j2.call(this,h)),o)return p?m?T2(e,h,this.index,o,m):h:new E2(h,this);i[_]={field:a[_],result:h}}if(g&&this.db&&v.length){let t=this;return Promise.all(v).then(function(n){for(let e=0;e<n.length;e++)i[e].result=n[e];return m&&(i=T2(e,i,t.index,o,m)),s?A2(i):i})}return m&&(i=T2(e,i,this.index,o,m)),s?A2(i):i};function A2(e){let t=[],n=H0(),r=H0();for(let i=0,a,o,s,c,l,u,d;i<e.length;i++){a=e[i],o=a.field,s=a.result;for(let e=0;e<s.length;e++)l=s[e],typeof l==`object`?c=l.id:l={id:c=l},(u=n[c])?u.push(o):(l.field=n[c]=[o],t.push(l)),(d=l.highlight)&&(u=r[c],u||(r[c]=u={},l.highlight=u),u[o]=d)}return t}function Fye(e,t,n,r,i){return e=this.tag.get(e),!e||(e=e.get(t),!e)?[]:(t=e.length-r,t>0&&((n&&t>n||r)&&(e=e.slice(r,r+n)),i&&(e=j2.call(this,e))),e)}function j2(e){if(!this||!this.store)return e;if(this.db)return this.index.get(this.field[0]).db.enrich(e);let t=Array(e.length);for(let n=0,r;n<e.length;n++)r=e[n],t[n]={id:r,doc:this.store.get(r)};return t}function M2(e){if(!this||this.constructor!==M2)return new M2(e);let t=e.document||e.doc||e,n,r;if(this.B=[],this.field=[],this.D=[],this.key=(n=t.key||t.id)&&N2(n,this.D)||`id`,(r=e.keystore||0)&&(this.keystore=r),this.fastupdate=!!e.fastupdate,this.reg=!this.fastupdate||e.worker||e.db?r?new s2(r):new Set:r?new o2(r):new Map,this.h=(n=t.store||null)&&n&&n!==!0&&[],this.store=n?r?new o2(r):new Map:null,this.cache=(n=e.cache||null)&&new X0(n),e.cache=!1,this.worker=e.worker||!1,this.priority=e.priority||4,this.index=Iye.call(this,e,t),this.tag=null,(n=t.tag)&&(typeof n==`string`&&(n=[n]),n.length)){this.tag=new Map,this.A=[],this.F=[];for(let e=0,t,r;e<n.length;e++){if(t=n[e],r=t.field||t,!r)throw Error(`The tag field from the document descriptor is undefined.`);t.custom?this.A[e]=t.custom:(this.A[e]=N2(r,this.D),t.filter&&(typeof this.A[e]==`string`&&(this.A[e]=new String(this.A[e])),this.A[e].G=t.filter)),this.F[e]=r,this.tag.set(r,new Map)}}if(this.worker){this.fastupdate=!1,e=[];for(let t of this.index.values())t.then&&e.push(t);if(e.length){let t=this;return Promise.all(e).then(function(e){let n=0;for(let r of t.index.entries()){let i=r[0],a=r[1];a.then&&(a=e[n],t.index.set(i,a),n++)}return t})}}else e.db&&(this.fastupdate=!1,this.mount(e.db))}Z=M2.prototype,Z.mount=function(e){let t=this.field;if(this.tag)for(let e=0,r;e<this.F.length;e++){r=this.F[e];var n=void 0;this.index.set(r,n=new Y2({},this.reg)),t===this.field&&(t=t.slice(0)),t.push(r),n.tag=this.tag.get(r)}n=[];let r={db:e.db,type:e.type,fastupdate:e.fastupdate};for(let i=0,a,o;i<t.length;i++){r.field=o=t[i],a=this.index.get(o);let s=new e.constructor(e.id,r);s.id=e.id,n[i]=s.mount(a),a.document=!0,i?a.bypass=!0:a.store=this.store}let i=this;return this.db=Promise.all(n).then(function(){i.db=!0})},Z.commit=async function(){let e=[];for(let t of this.index.values())e.push(t.commit());await Promise.all(e),this.reg.clear()},Z.destroy=function(){let e=[];for(let t of this.index.values())e.push(t.destroy());return Promise.all(e)};function Iye(e,t){let n=new Map,r=t.index||t.field||t;U0(r)&&(r=[r]);for(let t=0,a,o;t<r.length;t++){if(a=r[t],U0(a)||(o=a,a=a.field),o=W0(o)?Object.assign({},e,o):e,this.worker){var i=void 0;i=(i=o.encoder)&&i.encode?i:new q0(typeof i==`string`?r2[i]:i||{}),i=new v2(o,i),n.set(a,i)}this.worker||n.set(a,new Y2(o,this.reg)),o.custom?this.B[t]=o.custom:(this.B[t]=N2(a,this.D),o.filter&&(typeof this.B[t]==`string`&&(this.B[t]=new String(this.B[t])),this.B[t].G=o.filter)),this.field[t]=a}if(this.h){e=t.store,U0(e)&&(e=[e]);for(let t=0,n,r;t<e.length;t++)n=e[t],r=n.field||n,n.custom?(this.h[t]=n.custom,n.custom.O=r):(this.h[t]=N2(r,this.D),n.filter&&(typeof this.h[t]==`string`&&(this.h[t]=new String(this.h[t])),this.h[t].G=n.filter))}return n}function N2(e,t){let n=e.split(`:`),r=0;for(let i=0;i<n.length;i++)e=n[i],e[e.length-1]===`]`&&(e=e.substring(0,e.length-2))&&(t[r]=!0),e&&(n[r++]=e);return r<n.length&&(n.length=r),r>1?n:n[0]}Z.append=function(e,t){return this.add(e,t,!0)},Z.update=function(e,t){return this.remove(e).add(e,t)},Z.remove=function(e){W0(e)&&(e=G0(e,this.key));for(var t of this.index.values())t.remove(e,!0);if(this.reg.has(e)){if(this.tag&&!this.fastupdate)for(let n of this.tag.values())for(let r of n){t=r[0];let i=r[1],a=i.indexOf(e);a>-1&&(i.length>1?i.splice(a,1):n.delete(t))}this.store&&this.store.delete(e),this.reg.delete(e)}return this.cache&&this.cache.remove(e),this},Z.clear=function(){let e=[];for(let t of this.index.values()){let n=t.clear();n.then&&e.push(n)}if(this.tag)for(let e of this.tag.values())e.clear();return this.store&&this.store.clear(),this.cache&&this.cache.clear(),e.length?Promise.all(e):this},Z.contain=function(e){return this.db?this.index.get(this.field[0]).db.has(e):this.reg.has(e)},Z.cleanup=function(){for(let e of this.index.values())e.cleanup();return this},Z.get=function(e){return this.db?this.index.get(this.field[0]).db.enrich(e).then(function(e){return e[0]&&e[0].doc||null}):this.store.get(e)||null},Z.set=function(e,t){return typeof e==`object`&&(t=e,e=G0(t,this.key)),this.store.set(e,t),this},Z.searchCache=Y0,Z.export=Lye,Z.import=Rye,f2(M2.prototype);function P2(e,t=0){let n=[],r=[];t&&=25e4/t*5e3|0;for(let i of e.entries())r.push(i),r.length===t&&(n.push(r),r=[]);return r.length&&n.push(r),n}function F2(e,t){t||=new Map;for(let n=0,r;n<e.length;n++)r=e[n],t.set(r[0],r[1]);return t}function I2(e,t=0){let n=[],r=[];t&&=25e4/t*1e3|0;for(let i of e.entries())r.push([i[0],P2(i[1])[0]||[]]),r.length===t&&(n.push(r),r=[]);return r.length&&n.push(r),n}function L2(e,t){t||=new Map;for(let n=0,r,i;n<e.length;n++)r=e[n],i=t.get(r[0]),t.set(r[0],F2(r[1],i));return t}function R2(e){let t=[],n=[];for(let r of e.keys())n.push(r),n.length===25e4&&(t.push(n),n=[]);return n.length&&t.push(n),t}function z2(e,t){t||=new Set;for(let n=0;n<e.length;n++)t.add(e[n]);return t}function B2(e,t,n,r,i,a,o=0){let s=r&&r.constructor===Array;var c=s?r.shift():r;if(!c)return this.export(e,t,i,a+1);if((c=e((t?t+`.`:``)+(o+1)+`.`+n,JSON.stringify(c)))&&c.then){let l=this;return c.then(function(){return B2.call(l,e,t,n,s?r:null,i,a,o+1)})}return B2.call(this,e,t,n,s?r:null,i,a,o+1)}function Lye(e,t,n=0,r=0){if(n<this.field.length){let i=this.field[n];if((t=this.index.get(i).export(e,i,n,r=1))&&t.then){let r=this;return t.then(function(){return r.export(e,i,n+1)})}return this.export(e,i,n+1)}let i,a;switch(r){case 0:i=`reg`,a=R2(this.reg),t=null;break;case 1:i=`tag`,a=this.tag&&I2(this.tag,this.reg.size),t=null;break;case 2:i=`doc`,a=this.store&&P2(this.store),t=null;break;default:return}return B2.call(this,e,t,i,a||null,n,r)}function Rye(e,t){var n=e.split(`.`);n[n.length-1]===`json`&&n.pop();let r=n.length>2?n[0]:``;if(n=n.length>2?n[2]:n[1],this.worker&&r)return this.index.get(r).import(e);if(t){if(typeof t==`string`&&(t=JSON.parse(t)),r)return this.index.get(r).import(n,t);switch(n){case`reg`:this.fastupdate=!1,this.reg=z2(t,this.reg);for(let e=0,t;e<this.field.length;e++)t=this.index.get(this.field[e]),t.fastupdate=!1,t.reg=this.reg;if(this.worker){t=[];for(let n of this.index.values())t.push(n.import(e));return Promise.all(t)}break;case`tag`:this.tag=L2(t,this.tag);break;case`doc`:this.store=F2(t,this.store)}}}function V2(e,t){let n=``;for(let r of e.entries()){e=r[0];let i=r[1],a=``;for(let e=0,n;e<i.length;e++){n=i[e]||[``];let r=``;for(let e=0;e<n.length;e++)r+=(r?`,`:``)+(t===`string`?`"`+n[e]+`"`:n[e]);r=`[`+r+`]`,a+=(a?`,`:``)+r}a=`["`+e+`",[`+a+`]]`,n+=(n?`,`:``)+a}return n}Y2.prototype.remove=function(e,t){let n=this.reg.size&&(this.fastupdate?this.reg.get(e):this.reg.has(e));if(n){if(this.fastupdate){for(let t=0,r,i;t<n.length;t++)if((r=n[t])&&(i=r.length)){if(r[i-1]===e)r.pop();else{let t=r.indexOf(e);t>=0&&r.splice(t,1)}}}else H2(this.map,e),this.depth&&H2(this.ctx,e);t||this.reg.delete(e)}return this.db&&(this.commit_task.push({del:e}),this.M&&X2(this)),this.cache&&this.cache.remove(e),this};function H2(e,t){let n=0;var r=t===void 0;if(e.constructor===Array){for(let i=0,a,o,s;i<e.length;i++)if((a=e[i])&&a.length){if(r)return 1;if(o=a.indexOf(t),o>=0){if(a.length>1)return a.splice(o,1),1;if(delete e[i],n)return 1;s=1}else{if(s)return 1;n++}}}else for(let i of e.entries())r=i[0],H2(i[1],t)?n++:e.delete(r);return n}var zye={memory:{resolution:1},performance:{resolution:3,fastupdate:!0,context:{depth:1,resolution:1}},match:{tokenize:`forward`},score:{resolution:9,context:{depth:2,resolution:3}}};Y2.prototype.add=function(e,t,n,r){if(t&&(e||e===0)){if(!r&&!n&&this.reg.has(e))return this.update(e,t);r=this.depth,t=this.encoder.encode(t,!r);let l=t.length;if(l){let u=H0(),d=H0(),f=this.resolution;for(let p=0;p<l;p++){let m=t[this.rtl?l-1-p:p];var i=m.length;if(i&&(r||!d[m])){var a=this.score?this.score(t,m,p,null,0):W2(f,l,p),o=``;switch(this.tokenize){case`tolerant`:if(U2(this,d,m,a,e,n),i>2){for(let t=1,r,s,c,l;t<i-1;t++)r=m.charAt(t),s=m.charAt(t+1),c=m.substring(0,t)+s,l=m.substring(t+2),o=c+r+l,U2(this,d,o,a,e,n),o=c+l,U2(this,d,o,a,e,n);U2(this,d,m.substring(0,m.length-1),a,e,n)}break;case`full`:if(i>2){for(let r=0,c;r<i;r++)for(a=i;a>r;a--){o=m.substring(r,a),c=this.rtl?i-1-r:r;var s=this.score?this.score(t,m,p,o,c):W2(f,l,p,i,c);U2(this,d,o,s,e,n)}break}case`bidirectional`:case`reverse`:if(i>1){for(s=i-1;s>0;s--){o=m[this.rtl?i-1-s:s]+o;var c=this.score?this.score(t,m,p,o,s):W2(f,l,p,i,s);U2(this,d,o,c,e,n)}o=``}case`forward`:if(i>1){for(s=0;s<i;s++)o+=m[this.rtl?i-1-s:s],U2(this,d,o,a,e,n);break}default:if(U2(this,d,m,a,e,n),r&&l>1&&p<l-1)for(i=this.N,o=m,a=Math.min(r+1,this.rtl?p+1:l-p),s=1;s<a;s++){m=t[this.rtl?l-1-p-s:p+s],c=this.bidirectional&&m>o;let r=this.score?this.score(t,o,p,m,s-1):W2(i+(l/2>i?0:1),l,p,a-1,s-1);U2(this,u,c?o:m,r,e,n,c?m:o)}}}}this.fastupdate||this.reg.add(e)}}return this.db&&(this.commit_task.push(n?{ins:e}:{del:e}),this.M&&X2(this)),this};function U2(e,t,n,r,i,a,o){let s,c;if(!(s=t[n])||o&&!s[o]){if(o?(t=s||(t[n]=H0()),t[o]=1,c=e.ctx,(s=c.get(o))?c=s:c.set(o,c=e.keystore?new o2(e.keystore):new Map)):(c=e.map,t[n]=1),(s=c.get(n))?c=s:c.set(n,c=s=[]),a){for(let n=0,a;n<s.length;n++)if((a=s[n])&&a.includes(i)){if(n<=r)return;a.splice(a.indexOf(i),1),e.fastupdate&&(t=e.reg.get(i))&&t.splice(t.indexOf(a),1);break}}if(c=c[r]||(c[r]=[]),c.push(i),c.length===2**31-1){if(t=new a2(c),e.fastupdate)for(let n of e.reg.values())n.includes(c)&&(n[n.indexOf(c)]=t);s[r]=c=t}e.fastupdate&&((r=e.reg.get(i))?r.push(c):e.reg.set(i,[c]))}}function W2(e,t,n,r,i){return n&&e>1?t+(r||0)<=e?n+(i||0):(e-1)/(t+(r||0))*(n+(i||0))+1|0:0}Y2.prototype.search=function(e,t,n){if(n||(t||typeof e!=`object`?typeof t==`object`&&(n=t,t=0):(n=e,e=``)),n&&n.cache)return n.cache=!1,e=this.searchCache(e,t,n),n.cache=!0,e;let r=[],i,a,o,s=0,c,l,u,d,f;n&&(e=n.query||e,t=n.limit||t,s=n.offset||0,a=n.context,o=n.suggest,f=(c=n.resolve)&&n.enrich,u=n.boost,d=n.resolution,l=this.db&&n.tag),c===void 0&&(c=this.resolve),a=this.depth&&a!==!1;let p=this.encoder.encode(e,!a);if(i=p.length,t||=c?100:0,i===1)return K2.call(this,p[0],``,t,s,c,f,l);if(i===2&&a&&!o)return K2.call(this,p[1],p[0],t,s,c,f,l);let m=H0(),h=0,g;if(a&&(g=p[0],h=1),d||d===0||(d=g?this.N:this.resolution),this.db){if(this.db.search&&(n=this.db.search(this,p,t,s,o,c,f,l),n!==!1))return n;let e=this;return async function(){for(let t,n;h<i;h++){if((n=p[h])&&!m[n]){if(m[n]=1,t=await J2(e,n,g,0,0,!1,!1),t=q2(t,r,o,d)){r=t;break}g&&(o&&t&&r.length||(g=n))}o&&g&&h===i-1&&!r.length&&(d=e.resolution,g=``,h=-1,m=H0())}return G2(r,d,t,s,o,u,c)}()}for(let e,t;h<i;h++){if((t=p[h])&&!m[t]){if(m[t]=1,e=J2(this,t,g,0,0,!1,!1),e=q2(e,r,o,d)){r=e;break}g&&(o&&e&&r.length||(g=t))}o&&g&&h===i-1&&!r.length&&(d=this.resolution,g=``,h=-1,m=H0())}return G2(r,d,t,s,o,u,c)};function G2(e,t,n,r,i,a,o){let s=e.length,c=e;if(s>1)c=O2(e,t,n,r,i,a,o);else if(s===1)return o?S2.call(null,e[0],n,r):new E2(e[0],this);return o?c:new E2(c,this)}function K2(e,t,n,r,i,a,o){return e=J2(this,e,t,n,r,i,a,o),this.db?e.then(function(e){return i?e||[]:new E2(e,this)}):e&&e.length?i?S2.call(this,e,n,r):new E2(e,this):i?[]:new E2([],this)}function q2(e,t,n,r){let i=[];if(e&&e.length){if(e.length<=r){t.push(e);return}for(let t=0,n;t<r;t++)(n=e[t])&&(i[t]=n);if(i.length){t.push(i);return}}if(!n)return i}function J2(e,t,n,r,i,a,o,s){let c;return n&&(c=e.bidirectional&&t>n)&&(c=n,n=t,t=c),e.db?e.db.get(t,n,r,i,a,o,s):(e=n?(e=e.ctx.get(n))&&e.get(t):e.map.get(t),e)}function Y2(e,t){if(!this||this.constructor!==Y2)return new Y2(e);if(e){var n=U0(e)?e:e.preset;n&&(e=Object.assign({},zye[n],e))}else e={};n=e.context;let r=n===!0?{depth:1}:n||{},i=U0(e.encoder)?r2[e.encoder]:e.encode||e.encoder||{};this.encoder=i.encode?i:typeof i==`object`?new q0(i):{encode:i},this.resolution=e.resolution||9,this.tokenize=n=(n=e.tokenize)&&n!=="default"&&n!==`exact`&&n||`strict`,this.depth=n===`strict`&&r.depth||0,this.bidirectional=r.bidirectional!==!1,this.fastupdate=!!e.fastupdate,this.score=e.score||null,(n=e.keystore||0)&&(this.keystore=n),this.map=n?new o2(n):new Map,this.ctx=n?new o2(n):new Map,this.reg=t||(this.fastupdate?n?new o2(n):new Map:n?new s2(n):new Set),this.N=r.resolution||3,this.rtl=i.rtl||e.rtl||!1,this.cache=(n=e.cache||null)&&new X0(n),this.resolve=e.resolve!==!1,(n=e.db)&&(this.db=this.mount(n)),this.M=e.commit!==!1,this.commit_task=[],this.commit_timer=null,this.priority=e.priority||4}Z=Y2.prototype,Z.mount=function(e){return this.commit_timer&&=(clearTimeout(this.commit_timer),null),e.mount(this)},Z.commit=function(){return this.commit_timer&&=(clearTimeout(this.commit_timer),null),this.db.commit(this)},Z.destroy=function(){return this.commit_timer&&=(clearTimeout(this.commit_timer),null),this.db.destroy()};function X2(e){e.commit_timer||=setTimeout(function(){e.commit_timer=null,e.db.commit(e)},1)}Z.clear=function(){return this.map.clear(),this.ctx.clear(),this.reg.clear(),this.cache&&this.cache.clear(),this.db?(this.commit_timer&&clearTimeout(this.commit_timer),this.commit_timer=null,this.commit_task=[],this.db.clear()):this},Z.append=function(e,t){return this.add(e,t,!0)},Z.contain=function(e){return this.db?this.db.has(e):this.reg.has(e)},Z.update=function(e,t){let n=this,r=this.remove(e);return r&&r.then?r.then(()=>n.add(e,t)):this.add(e,t)},Z.cleanup=function(){return this.fastupdate?(H2(this.map),this.depth&&H2(this.ctx),this):this},Z.searchCache=Y0,Z.export=function(e,t,n=0,r=0){let i,a;switch(r){case 0:i=`reg`,a=R2(this.reg);break;case 1:i=`cfg`,a=null;break;case 2:i=`map`,a=P2(this.map,this.reg.size);break;case 3:i=`ctx`,a=I2(this.ctx,this.reg.size);break;default:return}return B2.call(this,e,t,i,a,n,r)},Z.import=function(e,t){if(t)switch(typeof t==`string`&&(t=JSON.parse(t)),e=e.split(`.`),e[e.length-1]===`json`&&e.pop(),e.length===3&&e.shift(),e=e.length>1?e[1]:e[0],e){case`reg`:this.fastupdate=!1,this.reg=z2(t,this.reg);break;case`map`:this.map=F2(t,this.map);break;case`ctx`:this.ctx=L2(t,this.ctx)}},Z.serialize=function(e=!0){let t=``,n=``,r=``;if(this.reg.size){let e;for(var i of this.reg.keys())e||=typeof i,t+=(t?`,`:``)+(e===`string`?`"`+i+`"`:i);t=`index.reg=new Set([`+t+`]);`,n=V2(this.map,e),n=`index.map=new Map([`+n+`]);`;for(let t of this.ctx.entries()){i=t[0];let n=V2(t[1],e);n=`new Map([`+n+`])`,n=`["`+i+`",`+n+`]`,r+=(r?`,`:``)+n}r=`index.ctx=new Map([`+r+`]);`}return e?`function inject(index){`+t+n+r+`}`:t+n+r},f2(Y2.prototype);var Z2=typeof window<`u`&&(window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),Q2=[`map`,`ctx`,`tag`,`reg`,`cfg`],$2=H0();function e4(e,t={}){if(!this||this.constructor!==e4)return new e4(e,t);typeof e==`object`&&(t=e,e=e.name),e||console.info(`Default storage space was used, because a name was not passed.`),this.id=`flexsearch`+(e?`:`+e.toLowerCase().replace(/[^a-z0-9_\-]/g,``):``),this.field=t.field?t.field.toLowerCase().replace(/[^a-z0-9_\-]/g,``):``,this.type=t.type,this.fastupdate=this.support_tag_search=!1,this.db=null,this.h={}}Z=e4.prototype,Z.mount=function(e){return e.index?e.mount(this):(e.db=this,this.open())},Z.open=function(){if(this.db)return this.db;let e=this;navigator.storage&&navigator.storage.persist&&navigator.storage.persist(),$2[e.id]||($2[e.id]=[]),$2[e.id].push(e.field);let t=Z2.open(e.id,1);return t.onupgradeneeded=function(){let t=e.db=this.result;for(let n=0,r;n<Q2.length;n++){r=Q2[n];for(let n=0,i;n<$2[e.id].length;n++)i=$2[e.id][n],t.objectStoreNames.contains(r+(r===`reg`?``:i?`:`+i:``))||t.createObjectStore(r+(r===`reg`?``:i?`:`+i:``))}},e.db=n4(t,function(t){e.db=t,e.db.onversionchange=function(){e.close()}})},Z.close=function(){this.db&&this.db.close(),this.db=null},Z.destroy=function(){return n4(Z2.deleteDatabase(this.id))},Z.clear=function(){let e=[];for(let t=0,n;t<Q2.length;t++){n=Q2[t];for(let t=0,r;t<$2[this.id].length;t++)r=$2[this.id][t],e.push(n+(n===`reg`?``:r?`:`+r:``))}let t=this.db.transaction(e,`readwrite`);for(let n=0;n<e.length;n++)t.objectStore(e[n]).clear();return n4(t)},Z.get=function(e,t,n=0,r=0,i=!0,a=!1){e=this.db.transaction((t?`ctx`:`map`)+(this.field?`:`+this.field:``),`readonly`).objectStore((t?`ctx`:`map`)+(this.field?`:`+this.field:``)).get(t?t+`:`+e:e);let o=this;return n4(e).then(function(e){let t=[];if(!e||!e.length)return t;if(i){if(!n&&!r&&e.length===1)return e[0];for(let i=0,a;i<e.length;i++)if((a=e[i])&&a.length){if(r>=a.length){r-=a.length;continue}let e=n?r+Math.min(a.length-r,n):a.length;for(let n=r;n<e;n++)t.push(a[n]);if(r=0,t.length===n)break}return a?o.enrich(t):t}return e})},Z.tag=function(e,t=0,n=0,r=!1){e=this.db.transaction(`tag`+(this.field?`:`+this.field:``),`readonly`).objectStore(`tag`+(this.field?`:`+this.field:``)).get(e);let i=this;return n4(e).then(function(e){return!e||!e.length||n>=e.length?[]:!t&&!n?e:(e=e.slice(n,n+t),r?i.enrich(e):e)})},Z.enrich=function(e){typeof e!=`object`&&(e=[e]);let t=this.db.transaction(`reg`,`readonly`).objectStore(`reg`),n=[];for(let r=0;r<e.length;r++)n[r]=n4(t.get(e[r]));return Promise.all(n).then(function(t){for(let n=0;n<t.length;n++)t[n]={id:e[n],doc:t[n]?JSON.parse(t[n]):null};return t})},Z.has=function(e){return e=this.db.transaction(`reg`,`readonly`).objectStore(`reg`).getKey(e),n4(e).then(function(e){return!!e})},Z.search=null,Z.info=function(){},Z.transaction=function(e,t,n){e+=e===`reg`?``:this.field?`:`+this.field:``;let r=this.h[e+`:`+t];if(r)return n.call(this,r);let i=this.db.transaction(e,t);this.h[e+`:`+t]=r=i.objectStore(e);let a=n.call(this,r);return this.h[e+`:`+t]=null,n4(i).finally(function(){return a})},Z.commit=async function(e){let t=e.commit_task,n=[];e.commit_task=[];for(let e=0,r;e<t.length;e++)r=t[e],r.del&&n.push(r.del);n.length&&await this.remove(n),e.reg.size&&(await this.transaction(`map`,`readwrite`,function(t){for(let n of e.map){let e=n[0],r=n[1];r.length&&(t.get(e).onsuccess=function(){let n=this.result;var i;if(n&&n.length){let e=Math.max(n.length,r.length);for(let t=0,a,o;t<e;t++)if((o=r[t])&&o.length){if((a=n[t])&&a.length)for(i=0;i<o.length;i++)a.push(o[i]);else n[t]=o;i=1}}else n=r,i=1;i&&t.put(n,e)})}}),await this.transaction(`ctx`,`readwrite`,function(t){for(let n of e.ctx){let e=n[0],r=n[1];for(let n of r){let r=n[0],i=n[1];i.length&&(t.get(e+`:`+r).onsuccess=function(){let n=this.result;var a;if(n&&n.length){let e=Math.max(n.length,i.length);for(let t=0,r,o;t<e;t++)if((o=i[t])&&o.length){if((r=n[t])&&r.length)for(a=0;a<o.length;a++)r.push(o[a]);else n[t]=o;a=1}}else n=i,a=1;a&&t.put(n,e+`:`+r)})}}}),e.store?await this.transaction(`reg`,`readwrite`,function(t){for(let n of e.store){let e=n[0],r=n[1];t.put(typeof r==`object`?JSON.stringify(r):1,e)}}):e.bypass||await this.transaction(`reg`,`readwrite`,function(t){for(let n of e.reg.keys())t.put(1,n)}),e.tag&&await this.transaction(`tag`,`readwrite`,function(t){for(let n of e.tag){let e=n[0],r=n[1];r.length&&(t.get(e).onsuccess=function(){let n=this.result;n=n&&n.length?n.concat(r):r,t.put(n,e)})}}),e.map.clear(),e.ctx.clear(),e.tag&&e.tag.clear(),e.store&&e.store.clear(),e.document||e.reg.clear())};function t4(e,t,n){let r=e.value,i,a=0;for(let e=0,o;e<r.length;e++){if(o=n?r:r[e]){for(let n=0,a,s;n<t.length;n++)if(s=t[n],a=o.indexOf(s),a>=0){if(i=1,o.length>1)o.splice(a,1);else{r[e]=[];break}}a+=o.length}if(n)break}a?i&&e.update(r):e.delete(),e.continue()}Z.remove=function(e){return typeof e!=`object`&&(e=[e]),Promise.all([this.transaction(`map`,`readwrite`,function(t){t.openCursor().onsuccess=function(){let t=this.result;t&&t4(t,e)}}),this.transaction(`ctx`,`readwrite`,function(t){t.openCursor().onsuccess=function(){let t=this.result;t&&t4(t,e)}}),this.transaction(`tag`,`readwrite`,function(t){t.openCursor().onsuccess=function(){let t=this.result;t&&t4(t,e,!0)}}),this.transaction(`reg`,`readwrite`,function(t){for(let n=0;n<e.length;n++)t.delete(e[n])})])};function n4(e,t){return new Promise((n,r)=>{e.onsuccess=e.oncomplete=function(){t&&t(this.result),t=null,n(this.result)},e.onerror=e.onblocked=r,e=null})}var r4={Index:Y2,Charset:r2,Encoder:q0,Document:M2,Worker:v2,Resolver:E2,IndexedDB:e4,Language:{}},Bye=`/**!\r
 * FlexSearch.js v0.8.212 (Bundle)\r
 * Author and Copyright: Thomas Wilkerling\r
 * Licence: Apache-2.0\r
 * Hosted by Nextapps GmbH\r
 * https://github.com/nextapps-de/flexsearch\r
 */
(function _f(self){'use strict';if(typeof module!=='undefined')self=module;else if(typeof process !== 'undefined')self=process;self._factory=_f;var w;function H(a,c,b){const e=typeof b,d=typeof a;if(e!=="undefined"){if(d!=="undefined"){if(b){if(d==="function"&&e===d)return function(k){return a(b(k))};c=a.constructor;if(c===b.constructor){if(c===Array)return b.concat(a);if(c===Map){var f=new Map(b);for(var g of a)f.set(g[0],g[1]);return f}if(c===Set){g=new Set(b);for(f of a.values())g.add(f);return g}}}return a}return b}return d==="undefined"?c:a}function aa(a,c){return typeof a==="undefined"?c:a}function I(){return Object.create(null)}
function M(a){return typeof a==="string"}function ba(a){return typeof a==="object"}function ca(a,c){if(M(c))a=a[c];else for(let b=0;a&&b<c.length;b++)a=a[c[b]];return a};const ea=/[^\\p{L}\\p{N}]+/u,fa=/(\\d{3})/g,ha=/(\\D)(\\d{3})/g,ia=/(\\d{3})(\\D)/g,ja=/[\\u0300-\\u036f]/g;function ka(a={}){if(!this||this.constructor!==ka)return new ka(...arguments);if(arguments.length)for(a=0;a<arguments.length;a++)this.assign(arguments[a]);else this.assign(a)}w=ka.prototype;
w.assign=function(a){this.normalize=H(a.normalize,!0,this.normalize);let c=a.include,b=c||a.exclude||a.split,e;if(b||b===""){if(typeof b==="object"&&b.constructor!==RegExp){let d="";e=!c;c||(d+="\\\\p{Z}");b.letter&&(d+="\\\\p{L}");b.number&&(d+="\\\\p{N}",e=!!c);b.symbol&&(d+="\\\\p{S}");b.punctuation&&(d+="\\\\p{P}");b.control&&(d+="\\\\p{C}");if(b=b.char)d+=typeof b==="object"?b.join(""):b;try{this.split=new RegExp("["+(c?"^":"")+d+"]+","u")}catch(f){this.split=/\\s+/}}else this.split=b,e=b===!1||"a1a".split(b).length<
2;this.numeric=H(a.numeric,e)}else{try{this.split=H(this.split,ea)}catch(d){this.split=/\\s+/}this.numeric=H(a.numeric,H(this.numeric,!0))}this.prepare=H(a.prepare,null,this.prepare);this.finalize=H(a.finalize,null,this.finalize);b=a.filter;this.filter=typeof b==="function"?b:H(b&&new Set(b),null,this.filter);this.dedupe=H(a.dedupe,!0,this.dedupe);this.matcher=H((b=a.matcher)&&new Map(b),null,this.matcher);this.mapper=H((b=a.mapper)&&new Map(b),null,this.mapper);this.stemmer=H((b=a.stemmer)&&new Map(b),
null,this.stemmer);this.replacer=H(a.replacer,null,this.replacer);this.minlength=H(a.minlength,1,this.minlength);this.maxlength=H(a.maxlength,1024,this.maxlength);this.rtl=H(a.rtl,!1,this.rtl);if(this.cache=b=H(a.cache,!0,this.cache))this.F=null,this.L=typeof b==="number"?b:2E5,this.B=new Map,this.D=new Map,this.I=this.H=128;this.h="";this.J=null;this.A="";this.K=null;if(this.matcher)for(const d of this.matcher.keys())this.h+=(this.h?"|":"")+d;if(this.stemmer)for(const d of this.stemmer.keys())this.A+=
(this.A?"|":"")+d;return this};w.addStemmer=function(a,c){this.stemmer||(this.stemmer=new Map);this.stemmer.set(a,c);this.A+=(this.A?"|":"")+a;this.K=null;this.cache&&Q(this);return this};w.addFilter=function(a){typeof a==="function"?this.filter=a:(this.filter||(this.filter=new Set),this.filter.add(a));this.cache&&Q(this);return this};
w.addMapper=function(a,c){if(typeof a==="object")return this.addReplacer(a,c);if(a.length>1)return this.addMatcher(a,c);this.mapper||(this.mapper=new Map);this.mapper.set(a,c);this.cache&&Q(this);return this};w.addMatcher=function(a,c){if(typeof a==="object")return this.addReplacer(a,c);if(a.length<2&&(this.dedupe||this.mapper))return this.addMapper(a,c);this.matcher||(this.matcher=new Map);this.matcher.set(a,c);this.h+=(this.h?"|":"")+a;this.J=null;this.cache&&Q(this);return this};
w.addReplacer=function(a,c){if(typeof a==="string")return this.addMatcher(a,c);this.replacer||(this.replacer=[]);this.replacer.push(a,c);this.cache&&Q(this);return this};
w.encode=function(a,c){if(this.cache&&a.length<=this.H)if(this.F){if(this.B.has(a))return this.B.get(a)}else this.F=setTimeout(Q,50,this);this.normalize&&(typeof this.normalize==="function"?a=this.normalize(a):a=ja?a.normalize("NFKD").replace(ja,"").toLowerCase():a.toLowerCase());this.prepare&&(a=this.prepare(a));this.numeric&&a.length>3&&(a=a.replace(ha,"$1 $2").replace(ia,"$1 $2").replace(fa,"$1 "));const b=!(this.dedupe||this.mapper||this.filter||this.matcher||this.stemmer||this.replacer);let e=
[],d=I(),f,g,k=this.split||this.split===""?a.split(this.split):[a];for(let l=0,m,p;l<k.length;l++)if((m=p=k[l])&&!(m.length<this.minlength||m.length>this.maxlength)){if(c){if(d[m])continue;d[m]=1}else{if(f===m)continue;f=m}if(b)e.push(m);else if(!this.filter||(typeof this.filter==="function"?this.filter(m):!this.filter.has(m))){if(this.cache&&m.length<=this.I)if(this.F){var h=this.D.get(m);if(h||h===""){h&&e.push(h);continue}}else this.F=setTimeout(Q,50,this);if(this.stemmer){this.K||(this.K=new RegExp("(?!^)("+
this.A+")$"));let u;for(;u!==m&&m.length>2;)u=m,m=m.replace(this.K,r=>this.stemmer.get(r))}if(m&&(this.mapper||this.dedupe&&m.length>1)){h="";for(let u=0,r="",t,n;u<m.length;u++)t=m.charAt(u),t===r&&this.dedupe||((n=this.mapper&&this.mapper.get(t))||n===""?n===r&&this.dedupe||!(r=n)||(h+=n):h+=r=t);m=h}this.matcher&&m.length>1&&(this.J||(this.J=new RegExp("("+this.h+")","g")),m=m.replace(this.J,u=>this.matcher.get(u)));if(m&&this.replacer)for(h=0;m&&h<this.replacer.length;h+=2)m=m.replace(this.replacer[h],
this.replacer[h+1]);this.cache&&p.length<=this.I&&(this.D.set(p,m),this.D.size>this.L&&(this.D.clear(),this.I=this.I/1.1|0));if(m){if(m!==p)if(c){if(d[m])continue;d[m]=1}else{if(g===m)continue;g=m}e.push(m)}}}this.finalize&&(e=this.finalize(e)||e);this.cache&&a.length<=this.H&&(this.B.set(a,e),this.B.size>this.L&&(this.B.clear(),this.H=this.H/1.1|0));return e};function Q(a){a.F=null;a.B.clear();a.D.clear()};function la(a,c,b){b||(c||typeof a!=="object"?typeof c==="object"&&(b=c,c=0):b=a);b&&(a=b.query||a,c=b.limit||c);let e=""+(c||0);b&&(e+=(b.offset||0)+!!b.context+!!b.suggest+(b.resolve!==!1)+(b.resolution||this.resolution)+(b.boost||0));a=(""+a).toLowerCase();this.cache||(this.cache=new ma);let d=this.cache.get(a+e);if(!d){const f=b&&b.cache;f&&(b.cache=!1);d=this.search(a,c,b);f&&(b.cache=f);this.cache.set(a+e,d)}return d}function ma(a){this.limit=a&&a!==!0?a:1E3;this.cache=new Map;this.h=""}
ma.prototype.set=function(a,c){this.cache.set(this.h=a,c);this.cache.size>this.limit&&this.cache.delete(this.cache.keys().next().value)};ma.prototype.get=function(a){const c=this.cache.get(a);c&&this.h!==a&&(this.cache.delete(a),this.cache.set(this.h=a,c));return c};ma.prototype.remove=function(a){for(const c of this.cache){const b=c[0];c[1].includes(a)&&this.cache.delete(b)}};ma.prototype.clear=function(){this.cache.clear();this.h=""};const na={normalize:!1,numeric:!1,dedupe:!1};const oa={};const ra=new Map([["b","p"],["v","f"],["w","f"],["z","s"],["x","s"],["d","t"],["n","m"],["c","k"],["g","k"],["j","k"],["q","k"],["i","e"],["y","e"],["u","o"]]);const sa=new Map([["ae","a"],["oe","o"],["sh","s"],["kh","k"],["th","t"],["ph","f"],["pf","f"]]),ta=[/([^aeo])h(.)/g,"$1$2",/([aeo])h([^aeo]|$)/g,"$1$2",/(.)\\1+/g,"$1"];const ua={a:"",e:"",i:"",o:"",u:"",y:"",b:1,f:1,p:1,v:1,c:2,g:2,j:2,k:2,q:2,s:2,x:2,z:2,"\\u00df":2,d:3,t:3,l:4,m:5,n:5,r:6};var va={Exact:na,Default:oa,Normalize:oa,LatinBalance:{mapper:ra},LatinAdvanced:{mapper:ra,matcher:sa,replacer:ta},LatinExtra:{mapper:ra,replacer:ta.concat([/(?!^)[aeo]/g,""]),matcher:sa},LatinSoundex:{dedupe:!1,include:{letter:!0},finalize:function(a){for(let b=0;b<a.length;b++){var c=a[b];let e=c.charAt(0),d=ua[e];for(let f=1,g;f<c.length&&(g=c.charAt(f),g==="h"||g==="w"||!(g=ua[g])||g===d||(e+=g,d=g,e.length!==4));f++);a[b]=e}}},CJK:{split:""},LatinExact:na,LatinDefault:oa,LatinSimple:oa};function wa(a,c,b,e){let d=[];for(let f=0,g;f<a.index.length;f++)if(g=a.index[f],c>=g.length)c-=g.length;else{c=g[e?"splice":"slice"](c,b);const k=c.length;if(k&&(d=d.length?d.concat(c):c,b-=k,e&&(a.length-=k),!b))break;c=0}return d}
function xa(a){if(!this||this.constructor!==xa)return new xa(a);this.index=a?[a]:[];this.length=a?a.length:0;const c=this;return new Proxy([],{get(b,e){if(e==="length")return c.length;if(e==="push")return function(d){c.index[c.index.length-1].push(d);c.length++};if(e==="pop")return function(){if(c.length)return c.length--,c.index[c.index.length-1].pop()};if(e==="indexOf")return function(d){let f=0;for(let g=0,k,h;g<c.index.length;g++){k=c.index[g];h=k.indexOf(d);if(h>=0)return f+h;f+=k.length}return-1};
if(e==="includes")return function(d){for(let f=0;f<c.index.length;f++)if(c.index[f].includes(d))return!0;return!1};if(e==="slice")return function(d,f){return wa(c,d||0,f||c.length,!1)};if(e==="splice")return function(d,f){return wa(c,d||0,f||c.length,!0)};if(e==="constructor")return Array;if(typeof e!=="symbol")return(b=c.index[e/2**31|0])&&b[e]},set(b,e,d){b=e/2**31|0;(c.index[b]||(c.index[b]=[]))[e]=d;c.length++;return!0}})}xa.prototype.clear=function(){this.index.length=0};xa.prototype.push=function(){};
function R(a=8){if(!this||this.constructor!==R)return new R(a);this.index=I();this.h=[];this.size=0;a>32?(this.B=Aa,this.A=BigInt(a)):(this.B=Ba,this.A=a)}R.prototype.get=function(a){const c=this.index[this.B(a)];return c&&c.get(a)};R.prototype.set=function(a,c){var b=this.B(a);let e=this.index[b];e?(b=e.size,e.set(a,c),(b-=e.size)&&this.size++):(this.index[b]=e=new Map([[a,c]]),this.h.push(e),this.size++)};
function S(a=8){if(!this||this.constructor!==S)return new S(a);this.index=I();this.h=[];this.size=0;a>32?(this.B=Aa,this.A=BigInt(a)):(this.B=Ba,this.A=a)}S.prototype.add=function(a){var c=this.B(a);let b=this.index[c];b?(c=b.size,b.add(a),(c-=b.size)&&this.size++):(this.index[c]=b=new Set([a]),this.h.push(b),this.size++)};w=R.prototype;w.has=S.prototype.has=function(a){const c=this.index[this.B(a)];return c&&c.has(a)};
w.delete=S.prototype.delete=function(a){const c=this.index[this.B(a)];c&&c.delete(a)&&this.size--};w.clear=S.prototype.clear=function(){this.index=I();this.h=[];this.size=0};w.values=S.prototype.values=function*(){for(let a=0;a<this.h.length;a++)for(let c of this.h[a].values())yield c};w.keys=S.prototype.keys=function*(){for(let a=0;a<this.h.length;a++)for(let c of this.h[a].keys())yield c};w.entries=S.prototype.entries=function*(){for(let a=0;a<this.h.length;a++)for(let c of this.h[a].entries())yield c};
function Ba(a){let c=2**this.A-1;if(typeof a=="number")return a&c;let b=0,e=this.A+1;for(let d=0;d<a.length;d++)b=(b*e^a.charCodeAt(d))&c;return this.A===32?b+2**31:b}function Aa(a){let c=BigInt(2)**this.A-BigInt(1);var b=typeof a;if(b==="bigint")return a&c;if(b==="number")return BigInt(a)&c;b=BigInt(0);let e=this.A+BigInt(1);for(let d=0;d<a.length;d++)b=(b*e^BigInt(a.charCodeAt(d)))&c;return b};let Ca,Da;
async function Ea(a){a=a.data;var c=a.task;const b=a.id;let e=a.args;switch(c){case "init":Da=a.options||{};(c=a.factory)?(Function("return "+c)()(self),Ca=new self.FlexSearch.Index(Da),delete self.FlexSearch):Ca=new T(Da);postMessage({id:b});break;default:let d;c==="export"&&(e[1]?(e[0]=Da.export,e[2]=0,e[3]=1):e=null);c==="import"?e[0]&&(a=await Da.import.call(Ca,e[0]),Ca.import(e[0],a)):((d=e&&Ca[c].apply(Ca,e))&&d.then&&(d=await d),d&&d.await&&(d=await d.await),c==="search"&&d.result&&(d=d.result));
postMessage(c==="search"?{id:b,msg:d}:{id:b})}};function Fa(a){Ga.call(a,"add");Ga.call(a,"append");Ga.call(a,"search");Ga.call(a,"update");Ga.call(a,"remove");Ga.call(a,"searchCache")}let Ha,Ia,Ja;function Ka(){Ha=Ja=0}
function Ga(a){this[a+"Async"]=function(){const c=arguments;var b=c[c.length-1];let e;typeof b==="function"&&(e=b,delete c[c.length-1]);Ha?Ja||(Ja=Date.now()-Ia>=this.priority*this.priority*3):(Ha=setTimeout(Ka,0),Ia=Date.now());if(Ja){const f=this;return new Promise(g=>{setTimeout(function(){g(f[a+"Async"].apply(f,c))},0)})}const d=this[a].apply(this,c);b=d.then?d:new Promise(f=>f(d));e&&b.then(e);return b}};let V=0;
function La(a={},c){function b(k){function h(l){l=l.data||l;const m=l.id,p=m&&f.h[m];p&&(p(l.msg),delete f.h[m])}this.worker=k;this.h=I();if(this.worker){d?this.worker.on("message",h):this.worker.onmessage=h;if(a.config)return new Promise(function(l){V>1E9&&(V=0);f.h[++V]=function(){l(f)};f.worker.postMessage({id:V,task:"init",factory:e,options:a})});this.priority=a.priority||4;this.encoder=c||null;this.worker.postMessage({task:"init",factory:e,options:a});return this}}if(!this||this.constructor!==La)return new La(a);
let e=typeof self!=="undefined"?self._factory:typeof window!=="undefined"?window._factory:null;e&&(e=e.toString());const d=typeof window==="undefined",f=this,g=Ma(e,d,a.worker);return g.then?g.then(function(k){return b.call(f,k)}):b.call(this,g)}W("add");W("append");W("search");W("update");W("remove");W("clear");W("export");W("import");La.prototype.searchCache=la;Fa(La.prototype);
function W(a){La.prototype[a]=function(){const c=this,b=[].slice.call(arguments);var e=b[b.length-1];let d;typeof e==="function"&&(d=e,b.pop());e=new Promise(function(f){a==="export"&&typeof b[0]==="function"&&(b[0]=null);V>1E9&&(V=0);c.h[++V]=f;c.worker.postMessage({task:a,id:V,args:b})});return d?(e.then(d),this):e}}
function Ma(a,c,b){return c?typeof module!=="undefined"?new(require("worker_threads")["Worker"])(__dirname+"/node/node.js"):import("worker_threads").then(function(worker){return new worker["Worker"]((1,eval)("import.meta.dirname")+"/node/node.mjs")}):a?new window.Worker(URL.createObjectURL(new Blob(["onmessage="+Ea.toString()],{type:"text/javascript"}))):new window.Worker(typeof b==="string"?b:(0,eval)("import.meta.url").replace("/worker.js","/worker/worker.js").replace("flexsearch.bundle.module.min.js",
"module/worker/worker.js").replace("flexsearch.bundle.module.min.mjs","module/worker/worker.js"),{type:"module"})};Na.prototype.add=function(a,c,b){ba(a)&&(c=a,a=ca(c,this.key));if(c&&(a||a===0)){if(!b&&this.reg.has(a))return this.update(a,c);for(let k=0,h;k<this.field.length;k++){h=this.B[k];var e=this.index.get(this.field[k]);if(typeof h==="function"){var d=h(c);d&&e.add(a,d,b,!0)}else if(d=h.G,!d||d(c))h.constructor===String?h=[""+h]:M(h)&&(h=[h]),Oa(c,h,this.D,0,e,a,h[0],b)}if(this.tag)for(e=0;e<this.A.length;e++){var f=this.A[e];d=this.tag.get(this.F[e]);let k=I();if(typeof f==="function"){if(f=f(c),!f)continue}else{var g=
f.G;if(g&&!g(c))continue;f.constructor===String&&(f=""+f);f=ca(c,f)}if(d&&f){M(f)&&(f=[f]);for(let h=0,l,m;h<f.length;h++)if(l=f[h],!k[l]&&(k[l]=1,(g=d.get(l))?m=g:d.set(l,m=[]),!b||!m.includes(a))){if(m.length===2**31-1){g=new xa(m);if(this.fastupdate)for(let p of this.reg.values())p.includes(m)&&(p[p.indexOf(m)]=g);d.set(l,m=g)}m.push(a);this.fastupdate&&((g=this.reg.get(a))?g.push(m):this.reg.set(a,[m]))}}}if(this.store&&(!b||!this.store.has(a))){let k;if(this.h){k=I();for(let h=0,l;h<this.h.length;h++){l=
this.h[h];if((b=l.G)&&!b(c))continue;let m;if(typeof l==="function"){m=l(c);if(!m)continue;l=[l.O]}else if(M(l)||l.constructor===String){k[l]=c[l];continue}Ra(c,k,l,0,l[0],m)}}this.store.set(a,k||c)}this.worker&&(this.fastupdate||this.reg.add(a))}return this};function Ra(a,c,b,e,d,f){a=a[d];if(e===b.length-1)c[d]=f||a;else if(a)if(a.constructor===Array)for(c=c[d]=Array(a.length),d=0;d<a.length;d++)Ra(a,c,b,e,d);else c=c[d]||(c[d]=I()),d=b[++e],Ra(a,c,b,e,d)}
function Oa(a,c,b,e,d,f,g,k){if(a=a[g])if(e===c.length-1){if(a.constructor===Array){if(b[e]){for(c=0;c<a.length;c++)d.add(f,a[c],!0,!0);return}a=a.join(" ")}d.add(f,a,k,!0)}else if(a.constructor===Array)for(g=0;g<a.length;g++)Oa(a,c,b,e,d,f,g,k);else g=c[++e],Oa(a,c,b,e,d,f,g,k)};function Sa(a,c,b,e){if(!a.length)return a;if(a.length===1)return a=a[0],a=b||a.length>c?a.slice(b,b+c):a,e?Ta.call(this,a):a;let d=[];for(let f=0,g,k;f<a.length;f++)if((g=a[f])&&(k=g.length)){if(b){if(b>=k){b-=k;continue}g=g.slice(b,b+c);k=g.length;b=0}k>c&&(g=g.slice(0,c),k=c);if(!d.length&&k>=c)return e?Ta.call(this,g):g;d.push(g);c-=k;if(!c)break}d=d.length>1?[].concat.apply([],d):d[0];return e?Ta.call(this,d):d};function Ua(a,c,b,e){var d=e[0];if(d[0]&&d[0].query)return a[c].apply(a,d);if(!(c!=="and"&&c!=="not"||a.result.length||a.await||d.suggest))return e.length>1&&(d=e[e.length-1]),(e=d.resolve)?a.await||a.result:a;let f=[],g=0,k=0,h,l,m,p,u;for(c=0;c<e.length;c++)if(d=e[c]){var r=void 0;if(d.constructor===X)r=d.await||d.result;else if(d.then||d.constructor===Array)r=d;else{g=d.limit||0;k=d.offset||0;m=d.suggest;l=d.resolve;h=((p=d.highlight||a.highlight)||d.enrich)&&l;r=d.queue;let t=d.async||r,n=d.index,
q=d.query;n?a.index||(a.index=n):n=a.index;if(q||d.tag){const x=d.field||d.pluck;x&&(!q||a.query&&!p||(a.query=q,a.field=x,a.highlight=p),n=n.index.get(x));if(r&&(u||a.await)){u=1;let v;const A=a.C.length,D=new Promise(function(F){v=F});(function(F,E){D.h=function(){E.index=null;E.resolve=!1;let B=t?F.searchAsync(E):F.search(E);if(B.then)return B.then(function(z){a.C[A]=z=z.result||z;v(z);return z});B=B.result||B;v(B);return B}})(n,Object.assign({},d));a.C.push(D);f[c]=D;continue}else d.resolve=!1,
d.index=null,r=t?n.searchAsync(d):n.search(d),d.resolve=l,d.index=n}else if(d.and)r=Va(d,"and",n);else if(d.or)r=Va(d,"or",n);else if(d.not)r=Va(d,"not",n);else if(d.xor)r=Va(d,"xor",n);else continue}r.await?(u=1,r=r.await):r.then?(u=1,r=r.then(function(t){return t.result||t})):r=r.result||r;f[c]=r}u&&!a.await&&(a.await=new Promise(function(t){a.return=t}));if(u){const t=Promise.all(f).then(function(n){for(let q=0;q<a.C.length;q++)if(a.C[q]===t){a.C[q]=function(){return b.call(a,n,g,k,h,l,m,p)};break}Wa(a)});
a.C.push(t)}else if(a.await)a.C.push(function(){return b.call(a,f,g,k,h,l,m,p)});else return b.call(a,f,g,k,h,l,m,p);return l?a.await||a.result:a}function Va(a,c,b){a=a[c];const e=a[0]||a;e.index||(e.index=b);b=new X(e);a.length>1&&(b=b[c].apply(b,a.slice(1)));return b};X.prototype.or=function(){return Ua(this,"or",Xa,arguments)};function Xa(a,c,b,e,d,f,g){a.length&&(this.result.length&&a.push(this.result),a.length<2?this.result=a[0]:(this.result=Ya(a,c,b,!1,this.h),b=0));d&&(this.await=null);return d?this.resolve(c,b,e,g):this};X.prototype.and=function(){return Ua(this,"and",Za,arguments)};function Za(a,c,b,e,d,f,g){if(!f&&!this.result.length)return d?this.result:this;let k;if(a.length)if(this.result.length&&a.unshift(this.result),a.length<2)this.result=a[0];else{let h=0;for(let l=0,m,p;l<a.length;l++)if((m=a[l])&&(p=m.length))h<p&&(h=p);else if(!f){h=0;break}h?(this.result=$a(a,h,c,b,f,this.h,d),k=!0):this.result=[]}else f||(this.result=a);d&&(this.await=null);return d?this.resolve(c,b,e,g,k):this};X.prototype.xor=function(){return Ua(this,"xor",ab,arguments)};
function ab(a,c,b,e,d,f,g){if(a.length)if(this.result.length&&a.unshift(this.result),a.length<2)this.result=a[0];else{a:{f=b;var k=this.h;const h=[],l=I();let m=0;for(let p=0,u;p<a.length;p++)if(u=a[p]){m<u.length&&(m=u.length);for(let r=0,t;r<u.length;r++)if(t=u[r])for(let n=0,q;n<t.length;n++)q=t[n],l[q]=l[q]?2:1}for(let p=0,u,r=0;p<m;p++)for(let t=0,n;t<a.length;t++)if(n=a[t])if(u=n[p])for(let q=0,x;q<u.length;q++)if(x=u[q],l[x]===1)if(f)f--;else if(d){if(h.push(x),h.length===c){a=h;break a}}else{const v=
p+(t?k:0);h[v]||(h[v]=[]);h[v].push(x);if(++r===c){a=h;break a}}a=h}this.result=a;k=!0}else f||(this.result=a);d&&(this.await=null);return d?this.resolve(c,b,e,g,k):this};X.prototype.not=function(){return Ua(this,"not",bb,arguments)};
function bb(a,c,b,e,d,f,g){if(!f&&!this.result.length)return d?this.result:this;if(a.length&&this.result.length){a:{f=b;var k=[];a=new Set(a.flat().flat());for(let h=0,l,m=0;h<this.result.length;h++)if(l=this.result[h])for(let p=0,u;p<l.length;p++)if(u=l[p],!a.has(u))if(f)f--;else if(d){if(k.push(u),k.length===c){a=k;break a}}else if(k[h]||(k[h]=[]),k[h].push(u),++m===c){a=k;break a}a=k}this.result=a;k=!0}d&&(this.await=null);return d?this.resolve(c,b,e,g,k):this};function cb(a,c,b,e,d){let f,g,k;typeof d==="string"?(f=d,d=""):f=d.template;g=f.indexOf("$1");k=f.substring(g+2);g=f.substring(0,g);let h=d&&d.boundary,l=!d||d.clip!==!1,m=d&&d.merge&&k&&g&&new RegExp(k+" "+g,"g");d=d&&d.ellipsis;var p=0;if(typeof d==="object"){var u=d.template;p=u.length-2;d=d.pattern}typeof d!=="string"&&(d=d===!1?"":"...");p&&(d=u.replace("$1",d));u=d.length-p;let r,t;typeof h==="object"&&(r=h.before,r===0&&(r=-1),t=h.after,t===0&&(t=-1),h=h.total||9E5);p=new Map;for(let Pa=0,
da,gb,pa;Pa<c.length;Pa++){let qa;if(e)qa=c,pa=e;else{var n=c[Pa];pa=n.field;if(!pa)continue;qa=n.result}gb=b.get(pa);da=gb.encoder;n=p.get(da);typeof n!=="string"&&(n=da.encode(a),p.set(da,n));for(let ya=0;ya<qa.length;ya++){var q=qa[ya].doc;if(!q)continue;q=ca(q,pa);if(!q)continue;var x=q.trim().split(/\\s+/);if(!x.length)continue;q="";var v=[];let za=[];var A=-1,D=-1,F=0;for(var E=0;E<x.length;E++){var B=x[E],z=da.encode(B);z=z.length>1?z.join(" "):z[0];let y;if(z&&B){var C=B.length,J=(da.split?
B.replace(da.split,""):B).length-z.length,G="",N=0;for(var O=0;O<n.length;O++){var P=n[O];if(P){var L=P.length;L+=J<0?0:J;N&&L<=N||(P=z.indexOf(P),P>-1&&(G=(P?B.substring(0,P):"")+g+B.substring(P,P+L)+k+(P+L<C?B.substring(P+L):""),N=L,y=!0))}}G&&(h&&(A<0&&(A=q.length+(q?1:0)),D=q.length+(q?1:0)+G.length,F+=C,za.push(v.length),v.push({match:G})),q+=(q?" ":"")+G)}if(!y)B=x[E],q+=(q?" ":"")+B,h&&v.push({text:B});else if(h&&F>=h)break}F=za.length*(f.length-2);if(r||t||h&&q.length-F>h)if(F=h+F-u*2,E=D-
A,r>0&&(E+=r),t>0&&(E+=t),E<=F)x=r?A-(r>0?r:0):A-((F-E)/2|0),v=t?D+(t>0?t:0):x+F,l||(x>0&&q.charAt(x)!==" "&&q.charAt(x-1)!==" "&&(x=q.indexOf(" ",x),x<0&&(x=0)),v<q.length&&q.charAt(v-1)!==" "&&q.charAt(v)!==" "&&(v=q.lastIndexOf(" ",v),v<D?v=D:++v)),q=(x?d:"")+q.substring(x,v)+(v<q.length?d:"");else{D=[];A={};F={};E={};B={};z={};G=J=C=0;for(O=N=1;;){var U=void 0;for(let y=0,K;y<za.length;y++){K=za[y];if(G)if(J!==G){if(E[y+1])continue;K+=G;if(A[K]){C-=u;F[y+1]=1;E[y+1]=1;continue}if(K>=v.length-
1){if(K>=v.length){E[y+1]=1;K>=x.length&&(F[y+1]=1);continue}C-=u}q=v[K].text;if(L=t&&z[y])if(L>0){if(q.length>L)if(E[y+1]=1,l)q=q.substring(0,L);else continue;(L-=q.length)||(L=-1);z[y]=L}else{E[y+1]=1;continue}if(C+q.length+1<=h)q=" "+q,D[y]+=q;else if(l)U=h-C-1,U>0&&(q=" "+q.substring(0,U),D[y]+=q),E[y+1]=1;else{E[y+1]=1;continue}}else{if(E[y])continue;K-=J;if(A[K]){C-=u;E[y]=1;F[y]=1;continue}if(K<=0){if(K<0){E[y]=1;F[y]=1;continue}C-=u}q=v[K].text;if(L=r&&B[y])if(L>0){if(q.length>L)if(E[y]=1,
l)q=q.substring(q.length-L);else continue;(L-=q.length)||(L=-1);B[y]=L}else{E[y]=1;continue}if(C+q.length+1<=h)q+=" ",D[y]=q+D[y];else if(l)U=q.length+1-(h-C),U>=0&&U<q.length&&(q=q.substring(U)+" ",D[y]=q+D[y]),E[y]=1;else{E[y]=1;continue}}else{q=v[K].match;r&&(B[y]=r);t&&(z[y]=t);y&&C++;let Qa;K?!y&&u&&(C+=u):(F[y]=1,E[y]=1);K>=x.length-1?Qa=1:K<v.length-1&&v[K+1].match?Qa=1:u&&(C+=u);C-=f.length-2;if(!y||C+q.length<=h)D[y]=q;else{U=N=O=F[y]=0;break}Qa&&(F[y+1]=1,E[y+1]=1)}C+=q.length;U=A[K]=1}if(U)J===
G?G++:J++;else{J===G?N=0:O=0;if(!N&&!O)break;N?(J++,G=J):G++}}q="";for(let y=0,K;y<D.length;y++)K=(F[y]?y?" ":"":(y&&!d?" ":"")+d)+D[y],q+=K;d&&!F[D.length]&&(q+=d)}m&&(q=q.replace(m," "));qa[ya].highlight=q}if(e)break}return c};function X(a,c){if(!this||this.constructor!==X)return new X(a,c);let b=0,e,d,f,g,k,h;if(a&&a.index){const l=a;c=l.index;b=l.boost||0;if(d=l.query){f=l.field||l.pluck;g=l.highlight;const m=l.resolve;a=l.async||l.queue;l.resolve=!1;l.index=null;a=a?c.searchAsync(l):c.search(l);l.resolve=m;l.index=c;a=a.result||a}else a=[]}if(a&&a.then){const l=this;a=a.then(function(m){l.C[0]=l.result=m.result||m;Wa(l)});e=[a];a=[];k=new Promise(function(m){h=m})}this.index=c||null;this.result=a||[];this.h=b;this.C=
e||[];this.await=k||null;this.return=h||null;this.highlight=g||null;this.query=d||"";this.field=f||""}w=X.prototype;w.limit=function(a){if(this.await){const c=this;this.C.push(function(){return c.limit(a).result})}else if(this.result.length){const c=[];for(let b=0,e;b<this.result.length;b++)if(e=this.result[b])if(e.length<=a){if(c[b]=e,a-=e.length,!a)break}else{c[b]=e.slice(0,a);break}this.result=c}return this};
w.offset=function(a){if(this.await){const c=this;this.C.push(function(){return c.offset(a).result})}else if(this.result.length){const c=[];for(let b=0,e;b<this.result.length;b++)if(e=this.result[b])e.length<=a?a-=e.length:(c[b]=e.slice(a),a=0);this.result=c}return this};w.boost=function(a){if(this.await){const c=this;this.C.push(function(){return c.boost(a).result})}else this.h+=a;return this};
function Wa(a,c){let b=a.result;var e=a.await;a.await=null;for(let d=0,f;d<a.C.length;d++)if(f=a.C[d])if(typeof f==="function")b=f(),a.C[d]=b=b.result||b,d--;else if(f.h)b=f.h(),a.C[d]=b=b.result||b,d--;else if(f.then)return a.await=e;e=a.return;a.C=[];a.return=null;c||e(b);return b}
w.resolve=function(a,c,b,e,d){let f=this.await?Wa(this,!0):this.result;if(f.then){const g=this;return f.then(function(){return g.resolve(a,c,b,e,d)})}f.length&&(typeof a==="object"?(e=a.highlight||this.highlight,b=!!e||a.enrich,c=a.offset,a=a.limit):(e=e||this.highlight,b=!!e||b),f=d?b?Ta.call(this.index,f):f:Sa.call(this.index,f,a||100,c,b));return this.finalize(f,e)};
w.finalize=function(a,c){if(a.then){const e=this;return a.then(function(d){return e.finalize(d,c)})}c&&a.length&&this.query&&(a=cb(this.query,a,this.index.index,this.field,c));const b=this.return;this.highlight=this.index=this.result=this.C=this.await=this.return=null;this.query=this.field="";b&&b(a);return a};function $a(a,c,b,e,d,f,g){const k=a.length;let h=[],l,m;l=I();for(let p=0,u,r,t,n;p<c;p++)for(let q=0;q<k;q++)if(t=a[q],p<t.length&&(u=t[p]))for(let x=0;x<u.length;x++){r=u[x];(m=l[r])?l[r]++:(m=0,l[r]=1);n=h[m]||(h[m]=[]);if(!g){let v=p+(q||!d?0:f||0);n=n[v]||(n[v]=[])}n.push(r);if(g&&b&&m===k-1&&n.length-e===b)return e?n.slice(e):n}if(a=h.length)if(d)h=h.length>1?Ya(h,b,e,g,f):(h=h[0])&&b&&h.length>b||e?h.slice(e,b+e):h;else{if(a<k)return[];h=h[a-1];if(b||e)if(g){if(h.length>b||e)h=h.slice(e,b+
e)}else{d=[];for(let p=0,u;p<h.length;p++)if(u=h[p])if(e&&u.length>e)e-=u.length;else{if(b&&u.length>b||e)u=u.slice(e,b+e),b-=u.length,e&&(e-=u.length);d.push(u);if(!b)break}h=d}}return h}
function Ya(a,c,b,e,d){const f=[],g=I();let k;var h=a.length;let l;if(e)for(d=h-1;d>=0;d--){if(l=(e=a[d])&&e.length)for(h=0;h<l;h++)if(k=e[h],!g[k])if(g[k]=1,b)b--;else if(f.push(k),f.length===c)return f}else for(let m=h-1,p,u=0;m>=0;m--){p=a[m];for(let r=0;r<p.length;r++)if(l=(e=p[r])&&e.length)for(let t=0;t<l;t++)if(k=e[t],!g[k])if(g[k]=1,b)b--;else{let n=(r+(m<h-1?d||0:0))/(m+1)|0;(f[n]||(f[n]=[])).push(k);if(++u===c)return f}}return f}
function db(a,c,b,e,d){const f=I(),g=[];for(let k=0,h;k<c.length;k++){h=c[k];for(let l=0;l<h.length;l++)f[h[l]]=1}if(d)for(let k=0,h;k<a.length;k++){if(h=a[k],f[h])if(e)e--;else if(g.push(h),f[h]=0,b&&--b===0)break}else for(let k=0,h,l;k<a.result.length;k++)for(h=a.result[k],c=0;c<h.length;c++)l=h[c],f[l]&&((g[k]||(g[k]=[])).push(l),f[l]=0);return g};I();Na.prototype.search=function(a,c,b,e){b||(!c&&ba(a)?(b=a,a=""):ba(c)&&(b=c,c=0));let d=[];var f=[];let g;let k,h,l,m,p;let u=0,r=!0,t;if(b){b.constructor===Array&&(b={index:b});a=b.query||a;g=b.pluck;k=b.merge;l=b.boost;p=g||b.field||(p=b.index)&&(p.index?null:p);var n=this.tag&&b.tag;h=b.suggest;r=b.resolve!==!1;m=b.cache;t=r&&this.store&&b.highlight;var q=!!t||r&&this.store&&b.enrich;c=b.limit||c;var x=b.offset||0;c||(c=r?100:0);if(n&&(!this.db||!e)){n.constructor!==Array&&(n=[n]);var v=[];for(let B=
0,z;B<n.length;B++)if(z=n[B],z.field&&z.tag){var A=z.tag;if(A.constructor===Array)for(var D=0;D<A.length;D++)v.push(z.field,A[D]);else v.push(z.field,A)}else{A=Object.keys(z);for(let C=0,J,G;C<A.length;C++)if(J=A[C],G=z[J],G.constructor===Array)for(D=0;D<G.length;D++)v.push(J,G[D]);else v.push(J,G)}n=v;if(!a){f=[];if(v.length)for(n=0;n<v.length;n+=2){if(this.db){e=this.index.get(v[n]);if(!e)continue;f.push(e=e.db.tag(v[n+1],c,x,q))}else e=eb.call(this,v[n],v[n+1],c,x,q);d.push(r?{field:v[n],tag:v[n+
1],result:e}:[e])}if(f.length){const B=this;return Promise.all(f).then(function(z){for(let C=0;C<z.length;C++)r?d[C].result=z[C]:d[C]=z[C];return r?d:new X(d.length>1?$a(d,1,0,0,h,l):d[0],B)})}return r?d:new X(d.length>1?$a(d,1,0,0,h,l):d[0],this)}}r||g||!(p=p||this.field)||(M(p)?g=p:(p.constructor===Array&&p.length===1&&(p=p[0]),g=p.field||p.index));p&&p.constructor!==Array&&(p=[p])}p||(p=this.field);let F;v=(this.worker||this.db)&&!e&&[];for(let B=0,z,C,J;B<p.length;B++){C=p[B];if(this.db&&this.tag&&
!this.B[B])continue;let G;M(C)||(G=C,C=G.field,a=G.query||a,c=aa(G.limit,c),x=aa(G.offset,x),h=aa(G.suggest,h),t=r&&this.store&&aa(G.highlight,t),q=!!t||r&&this.store&&aa(G.enrich,q),m=aa(G.cache,m));if(e)z=e[B];else{A=G||b||{};D=A.enrich;var E=this.index.get(C);n&&(this.db&&(A.tag=n,A.field=p,F=E.db.support_tag_search),!F&&D&&(A.enrich=!1),F||(A.limit=0,A.offset=0));z=m?E.searchCache(a,n&&!F?0:c,A):E.search(a,n&&!F?0:c,A);n&&!F&&(A.limit=c,A.offset=x);D&&(A.enrich=D);if(v){v[B]=z;continue}}J=(z=
z.result||z)&&z.length;if(n&&J){A=[];D=0;if(this.db&&e){if(!F)for(E=p.length;E<e.length;E++){let N=e[E];if(N&&N.length)D++,A.push(N);else if(!h)return r?d:new X(d,this)}}else for(let N=0,O,P;N<n.length;N+=2){O=this.tag.get(n[N]);if(!O)if(h)continue;else return r?d:new X(d,this);if(P=(O=O&&O.get(n[N+1]))&&O.length)D++,A.push(O);else if(!h)return r?d:new X(d,this)}if(D){z=db(z,A,c,x,r);J=z.length;if(!J&&!h)return r?z:new X(z,this);D--}}if(J)f[u]=C,d.push(z),u++;else if(p.length===1)return r?d:new X(d,
this)}if(v){if(this.db&&n&&n.length&&!F)for(q=0;q<n.length;q+=2){f=this.index.get(n[q]);if(!f)if(h)continue;else return r?d:new X(d,this);v.push(f.db.tag(n[q+1],c,x,!1))}const B=this;return Promise.all(v).then(function(z){b&&(b.resolve=r);z.length&&(z=B.search(a,c,b,z));return z})}if(!u)return r?d:new X(d,this);if(g&&(!q||!this.store))return d=d[0],r?d:new X(d,this);v=[];for(x=0;x<f.length;x++){n=d[x];q&&n.length&&typeof n[0].doc==="undefined"&&(this.db?v.push(n=this.index.get(this.field[0]).db.enrich(n)):
n=Ta.call(this,n));if(g)return r?t?cb(a,n,this.index,g,t):n:new X(n,this);d[x]={field:f[x],result:n}}if(q&&this.db&&v.length){const B=this;return Promise.all(v).then(function(z){for(let C=0;C<z.length;C++)d[C].result=z[C];t&&(d=cb(a,d,B.index,g,t));return k?fb(d):d})}t&&(d=cb(a,d,this.index,g,t));return k?fb(d):d};
function fb(a){const c=[],b=I(),e=I();for(let d=0,f,g,k,h,l,m,p;d<a.length;d++){f=a[d];g=f.field;k=f.result;for(let u=0;u<k.length;u++)if(l=k[u],typeof l!=="object"?l={id:h=l}:h=l.id,(m=b[h])?m.push(g):(l.field=b[h]=[g],c.push(l)),p=l.highlight)m=e[h],m||(e[h]=m={},l.highlight=m),m[g]=p}return c}function eb(a,c,b,e,d){a=this.tag.get(a);if(!a)return[];a=a.get(c);if(!a)return[];c=a.length-e;if(c>0){if(b&&c>b||e)a=a.slice(e,e+b);d&&(a=Ta.call(this,a))}return a}
function Ta(a){if(!this||!this.store)return a;if(this.db)return this.index.get(this.field[0]).db.enrich(a);const c=Array(a.length);for(let b=0,e;b<a.length;b++)e=a[b],c[b]={id:e,doc:this.store.get(e)};return c};function Na(a){if(!this||this.constructor!==Na)return new Na(a);const c=a.document||a.doc||a;let b,e;this.B=[];this.field=[];this.D=[];this.key=(b=c.key||c.id)&&hb(b,this.D)||"id";(e=a.keystore||0)&&(this.keystore=e);this.fastupdate=!!a.fastupdate;this.reg=!this.fastupdate||a.worker||a.db?e?new S(e):new Set:e?new R(e):new Map;this.h=(b=c.store||null)&&b&&b!==!0&&[];this.store=b?e?new R(e):new Map:null;this.cache=(b=a.cache||null)&&new ma(b);a.cache=!1;this.worker=a.worker||!1;this.priority=a.priority||
4;this.index=ib.call(this,a,c);this.tag=null;if(b=c.tag)if(typeof b==="string"&&(b=[b]),b.length){this.tag=new Map;this.A=[];this.F=[];for(let d=0,f,g;d<b.length;d++){f=b[d];g=f.field||f;if(!g)throw Error("The tag field from the document descriptor is undefined.");f.custom?this.A[d]=f.custom:(this.A[d]=hb(g,this.D),f.filter&&(typeof this.A[d]==="string"&&(this.A[d]=new String(this.A[d])),this.A[d].G=f.filter));this.F[d]=g;this.tag.set(g,new Map)}}if(this.worker){this.fastupdate=!1;a=[];for(const d of this.index.values())d.then&&
a.push(d);if(a.length){const d=this;return Promise.all(a).then(function(f){let g=0;for(const k of d.index.entries()){const h=k[0];let l=k[1];l.then&&(l=f[g],d.index.set(h,l),g++)}return d})}}else a.db&&(this.fastupdate=!1,this.mount(a.db))}w=Na.prototype;
w.mount=function(a){let c=this.field;if(this.tag)for(let f=0,g;f<this.F.length;f++){g=this.F[f];var b=void 0;this.index.set(g,b=new T({},this.reg));c===this.field&&(c=c.slice(0));c.push(g);b.tag=this.tag.get(g)}b=[];const e={db:a.db,type:a.type,fastupdate:a.fastupdate};for(let f=0,g,k;f<c.length;f++){e.field=k=c[f];g=this.index.get(k);const h=new a.constructor(a.id,e);h.id=a.id;b[f]=h.mount(g);g.document=!0;f?g.bypass=!0:g.store=this.store}const d=this;return this.db=Promise.all(b).then(function(){d.db=
!0})};w.commit=async function(){const a=[];for(const c of this.index.values())a.push(c.commit());await Promise.all(a);this.reg.clear()};w.destroy=function(){const a=[];for(const c of this.index.values())a.push(c.destroy());return Promise.all(a)};
function ib(a,c){const b=new Map;let e=c.index||c.field||c;M(e)&&(e=[e]);for(let f=0,g,k;f<e.length;f++){g=e[f];M(g)||(k=g,g=g.field);k=ba(k)?Object.assign({},a,k):a;if(this.worker){var d=void 0;d=(d=k.encoder)&&d.encode?d:new ka(typeof d==="string"?va[d]:d||{});d=new La(k,d);b.set(g,d)}this.worker||b.set(g,new T(k,this.reg));k.custom?this.B[f]=k.custom:(this.B[f]=hb(g,this.D),k.filter&&(typeof this.B[f]==="string"&&(this.B[f]=new String(this.B[f])),this.B[f].G=k.filter));this.field[f]=g}if(this.h){a=
c.store;M(a)&&(a=[a]);for(let f=0,g,k;f<a.length;f++)g=a[f],k=g.field||g,g.custom?(this.h[f]=g.custom,g.custom.O=k):(this.h[f]=hb(k,this.D),g.filter&&(typeof this.h[f]==="string"&&(this.h[f]=new String(this.h[f])),this.h[f].G=g.filter))}return b}function hb(a,c){const b=a.split(":");let e=0;for(let d=0;d<b.length;d++)a=b[d],a[a.length-1]==="]"&&(a=a.substring(0,a.length-2))&&(c[e]=!0),a&&(b[e++]=a);e<b.length&&(b.length=e);return e>1?b:b[0]}w.append=function(a,c){return this.add(a,c,!0)};
w.update=function(a,c){return this.remove(a).add(a,c)};w.remove=function(a){ba(a)&&(a=ca(a,this.key));for(var c of this.index.values())c.remove(a,!0);if(this.reg.has(a)){if(this.tag&&!this.fastupdate)for(let b of this.tag.values())for(let e of b){c=e[0];const d=e[1],f=d.indexOf(a);f>-1&&(d.length>1?d.splice(f,1):b.delete(c))}this.store&&this.store.delete(a);this.reg.delete(a)}this.cache&&this.cache.remove(a);return this};
w.clear=function(){const a=[];for(const c of this.index.values()){const b=c.clear();b.then&&a.push(b)}if(this.tag)for(const c of this.tag.values())c.clear();this.store&&this.store.clear();this.cache&&this.cache.clear();return a.length?Promise.all(a):this};w.contain=function(a){return this.db?this.index.get(this.field[0]).db.has(a):this.reg.has(a)};w.cleanup=function(){for(const a of this.index.values())a.cleanup();return this};
w.get=function(a){return this.db?this.index.get(this.field[0]).db.enrich(a).then(function(c){return c[0]&&c[0].doc||null}):this.store.get(a)||null};w.set=function(a,c){typeof a==="object"&&(c=a,a=ca(c,this.key));this.store.set(a,c);return this};w.searchCache=la;w.export=jb;w.import=kb;Fa(Na.prototype);function lb(a,c=0){let b=[],e=[];c&&(c=25E4/c*5E3|0);for(const d of a.entries())e.push(d),e.length===c&&(b.push(e),e=[]);e.length&&b.push(e);return b}function mb(a,c){c||(c=new Map);for(let b=0,e;b<a.length;b++)e=a[b],c.set(e[0],e[1]);return c}function nb(a,c=0){let b=[],e=[];c&&(c=25E4/c*1E3|0);for(const d of a.entries())e.push([d[0],lb(d[1])[0]||[]]),e.length===c&&(b.push(e),e=[]);e.length&&b.push(e);return b}
function ob(a,c){c||(c=new Map);for(let b=0,e,d;b<a.length;b++)e=a[b],d=c.get(e[0]),c.set(e[0],mb(e[1],d));return c}function pb(a){let c=[],b=[];for(const e of a.keys())b.push(e),b.length===25E4&&(c.push(b),b=[]);b.length&&c.push(b);return c}function qb(a,c){c||(c=new Set);for(let b=0;b<a.length;b++)c.add(a[b]);return c}
function rb(a,c,b,e,d,f,g=0){const k=e&&e.constructor===Array;var h=k?e.shift():e;if(!h)return this.export(a,c,d,f+1);if((h=a((c?c+".":"")+(g+1)+"."+b,JSON.stringify(h)))&&h.then){const l=this;return h.then(function(){return rb.call(l,a,c,b,k?e:null,d,f,g+1)})}return rb.call(this,a,c,b,k?e:null,d,f,g+1)}
function jb(a,c,b=0,e=0){if(b<this.field.length){const g=this.field[b];if((c=this.index.get(g).export(a,g,b,e=1))&&c.then){const k=this;return c.then(function(){return k.export(a,g,b+1)})}return this.export(a,g,b+1)}let d,f;switch(e){case 0:d="reg";f=pb(this.reg);c=null;break;case 1:d="tag";f=this.tag&&nb(this.tag,this.reg.size);c=null;break;case 2:d="doc";f=this.store&&lb(this.store);c=null;break;default:return}return rb.call(this,a,c,d,f||null,b,e)}
function kb(a,c){var b=a.split(".");b[b.length-1]==="json"&&b.pop();const e=b.length>2?b[0]:"";b=b.length>2?b[2]:b[1];if(this.worker&&e)return this.index.get(e).import(a);if(c){typeof c==="string"&&(c=JSON.parse(c));if(e)return this.index.get(e).import(b,c);switch(b){case "reg":this.fastupdate=!1;this.reg=qb(c,this.reg);for(let d=0,f;d<this.field.length;d++)f=this.index.get(this.field[d]),f.fastupdate=!1,f.reg=this.reg;if(this.worker){c=[];for(const d of this.index.values())c.push(d.import(a));return Promise.all(c)}break;
case "tag":this.tag=ob(c,this.tag);break;case "doc":this.store=mb(c,this.store)}}}function sb(a,c){let b="";for(const e of a.entries()){a=e[0];const d=e[1];let f="";for(let g=0,k;g<d.length;g++){k=d[g]||[""];let h="";for(let l=0;l<k.length;l++)h+=(h?",":"")+(c==="string"?'"'+k[l]+'"':k[l]);h="["+h+"]";f+=(f?",":"")+h}f='["'+a+'",['+f+"]]";b+=(b?",":"")+f}return b};T.prototype.remove=function(a,c){const b=this.reg.size&&(this.fastupdate?this.reg.get(a):this.reg.has(a));if(b){if(this.fastupdate)for(let e=0,d,f;e<b.length;e++){if((d=b[e])&&(f=d.length))if(d[f-1]===a)d.pop();else{const g=d.indexOf(a);g>=0&&d.splice(g,1)}}else tb(this.map,a),this.depth&&tb(this.ctx,a);c||this.reg.delete(a)}this.db&&(this.commit_task.push({del:a}),this.M&&ub(this));this.cache&&this.cache.remove(a);return this};
function tb(a,c){let b=0;var e=typeof c==="undefined";if(a.constructor===Array)for(let d=0,f,g,k;d<a.length;d++){if((f=a[d])&&f.length){if(e)return 1;g=f.indexOf(c);if(g>=0){if(f.length>1)return f.splice(g,1),1;delete a[d];if(b)return 1;k=1}else{if(k)return 1;b++}}}else for(let d of a.entries())e=d[0],tb(d[1],c)?b++:a.delete(e);return b};const vb={memory:{resolution:1},performance:{resolution:3,fastupdate:!0,context:{depth:1,resolution:1}},match:{tokenize:"forward"},score:{resolution:9,context:{depth:2,resolution:3}}};T.prototype.add=function(a,c,b,e){if(c&&(a||a===0)){if(!e&&!b&&this.reg.has(a))return this.update(a,c);e=this.depth;c=this.encoder.encode(c,!e);const l=c.length;if(l){const m=I(),p=I(),u=this.resolution;for(let r=0;r<l;r++){let t=c[this.rtl?l-1-r:r];var d=t.length;if(d&&(e||!p[t])){var f=this.score?this.score(c,t,r,null,0):wb(u,l,r),g="";switch(this.tokenize){case "tolerant":Y(this,p,t,f,a,b);if(d>2){for(let n=1,q,x,v,A;n<d-1;n++)q=t.charAt(n),x=t.charAt(n+1),v=t.substring(0,n)+x,A=t.substring(n+
2),g=v+q+A,Y(this,p,g,f,a,b),g=v+A,Y(this,p,g,f,a,b);Y(this,p,t.substring(0,t.length-1),f,a,b)}break;case "full":if(d>2){for(let n=0,q;n<d;n++)for(f=d;f>n;f--){g=t.substring(n,f);q=this.rtl?d-1-n:n;var k=this.score?this.score(c,t,r,g,q):wb(u,l,r,d,q);Y(this,p,g,k,a,b)}break}case "bidirectional":case "reverse":if(d>1){for(k=d-1;k>0;k--){g=t[this.rtl?d-1-k:k]+g;var h=this.score?this.score(c,t,r,g,k):wb(u,l,r,d,k);Y(this,p,g,h,a,b)}g=""}case "forward":if(d>1){for(k=0;k<d;k++)g+=t[this.rtl?d-1-k:k],Y(this,
p,g,f,a,b);break}default:if(Y(this,p,t,f,a,b),e&&l>1&&r<l-1)for(d=this.N,g=t,f=Math.min(e+1,this.rtl?r+1:l-r),k=1;k<f;k++){t=c[this.rtl?l-1-r-k:r+k];h=this.bidirectional&&t>g;const n=this.score?this.score(c,g,r,t,k-1):wb(d+(l/2>d?0:1),l,r,f-1,k-1);Y(this,m,h?g:t,n,a,b,h?t:g)}}}}this.fastupdate||this.reg.add(a)}}this.db&&(this.commit_task.push(b?{ins:a}:{del:a}),this.M&&ub(this));return this};
function Y(a,c,b,e,d,f,g){let k,h;if(!(k=c[b])||g&&!k[g]){g?(c=k||(c[b]=I()),c[g]=1,h=a.ctx,(k=h.get(g))?h=k:h.set(g,h=a.keystore?new R(a.keystore):new Map)):(h=a.map,c[b]=1);(k=h.get(b))?h=k:h.set(b,h=k=[]);if(f)for(let l=0,m;l<k.length;l++)if((m=k[l])&&m.includes(d)){if(l<=e)return;m.splice(m.indexOf(d),1);a.fastupdate&&(c=a.reg.get(d))&&c.splice(c.indexOf(m),1);break}h=h[e]||(h[e]=[]);h.push(d);if(h.length===2**31-1){c=new xa(h);if(a.fastupdate)for(let l of a.reg.values())l.includes(h)&&(l[l.indexOf(h)]=
c);k[e]=h=c}a.fastupdate&&((e=a.reg.get(d))?e.push(h):a.reg.set(d,[h]))}}function wb(a,c,b,e,d){return b&&a>1?c+(e||0)<=a?b+(d||0):(a-1)/(c+(e||0))*(b+(d||0))+1|0:0};T.prototype.search=function(a,c,b){b||(c||typeof a!=="object"?typeof c==="object"&&(b=c,c=0):(b=a,a=""));if(b&&b.cache)return b.cache=!1,a=this.searchCache(a,c,b),b.cache=!0,a;let e=[],d,f,g,k=0,h,l,m,p,u;b&&(a=b.query||a,c=b.limit||c,k=b.offset||0,f=b.context,g=b.suggest,u=(h=b.resolve)&&b.enrich,m=b.boost,p=b.resolution,l=this.db&&b.tag);typeof h==="undefined"&&(h=this.resolve);f=this.depth&&f!==!1;let r=this.encoder.encode(a,!f);d=r.length;c=c||(h?100:0);if(d===1)return xb.call(this,r[0],"",c,
k,h,u,l);if(d===2&&f&&!g)return xb.call(this,r[1],r[0],c,k,h,u,l);let t=I(),n=0,q;f&&(q=r[0],n=1);p||p===0||(p=q?this.N:this.resolution);if(this.db){if(this.db.search&&(b=this.db.search(this,r,c,k,g,h,u,l),b!==!1))return b;const x=this;return async function(){for(let v,A;n<d;n++){if((A=r[n])&&!t[A]){t[A]=1;v=await yb(x,A,q,0,0,!1,!1);if(v=zb(v,e,g,p)){e=v;break}q&&(g&&v&&e.length||(q=A))}g&&q&&n===d-1&&!e.length&&(p=x.resolution,q="",n=-1,t=I())}return Ab(e,p,c,k,g,m,h)}()}for(let x,v;n<d;n++){if((v=
r[n])&&!t[v]){t[v]=1;x=yb(this,v,q,0,0,!1,!1);if(x=zb(x,e,g,p)){e=x;break}q&&(g&&x&&e.length||(q=v))}g&&q&&n===d-1&&!e.length&&(p=this.resolution,q="",n=-1,t=I())}return Ab(e,p,c,k,g,m,h)};function Ab(a,c,b,e,d,f,g){let k=a.length,h=a;if(k>1)h=$a(a,c,b,e,d,f,g);else if(k===1)return g?Sa.call(null,a[0],b,e):new X(a[0],this);return g?h:new X(h,this)}
function xb(a,c,b,e,d,f,g){a=yb(this,a,c,b,e,d,f,g);return this.db?a.then(function(k){return d?k||[]:new X(k,this)}):a&&a.length?d?Sa.call(this,a,b,e):new X(a,this):d?[]:new X([],this)}function zb(a,c,b,e){let d=[];if(a&&a.length){if(a.length<=e){c.push(a);return}for(let f=0,g;f<e;f++)if(g=a[f])d[f]=g;if(d.length){c.push(d);return}}if(!b)return d}
function yb(a,c,b,e,d,f,g,k){let h;b&&(h=a.bidirectional&&c>b)&&(h=b,b=c,c=h);if(a.db)return a.db.get(c,b,e,d,f,g,k);a=b?(a=a.ctx.get(b))&&a.get(c):a.map.get(c);return a};function T(a,c){if(!this||this.constructor!==T)return new T(a);if(a){var b=M(a)?a:a.preset;b&&(a=Object.assign({},vb[b],a))}else a={};b=a.context;const e=b===!0?{depth:1}:b||{},d=M(a.encoder)?va[a.encoder]:a.encode||a.encoder||{};this.encoder=d.encode?d:typeof d==="object"?new ka(d):{encode:d};this.resolution=a.resolution||9;this.tokenize=b=(b=a.tokenize)&&b!=="default"&&b!=="exact"&&b||"strict";this.depth=b==="strict"&&e.depth||0;this.bidirectional=e.bidirectional!==!1;this.fastupdate=!!a.fastupdate;
this.score=a.score||null;(b=a.keystore||0)&&(this.keystore=b);this.map=b?new R(b):new Map;this.ctx=b?new R(b):new Map;this.reg=c||(this.fastupdate?b?new R(b):new Map:b?new S(b):new Set);this.N=e.resolution||3;this.rtl=d.rtl||a.rtl||!1;this.cache=(b=a.cache||null)&&new ma(b);this.resolve=a.resolve!==!1;if(b=a.db)this.db=this.mount(b);this.M=a.commit!==!1;this.commit_task=[];this.commit_timer=null;this.priority=a.priority||4}w=T.prototype;
w.mount=function(a){this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null);return a.mount(this)};w.commit=function(){this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null);return this.db.commit(this)};w.destroy=function(){this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null);return this.db.destroy()};function ub(a){a.commit_timer||(a.commit_timer=setTimeout(function(){a.commit_timer=null;a.db.commit(a)},1))}
w.clear=function(){this.map.clear();this.ctx.clear();this.reg.clear();this.cache&&this.cache.clear();return this.db?(this.commit_timer&&clearTimeout(this.commit_timer),this.commit_timer=null,this.commit_task=[],this.db.clear()):this};w.append=function(a,c){return this.add(a,c,!0)};w.contain=function(a){return this.db?this.db.has(a):this.reg.has(a)};w.update=function(a,c){const b=this,e=this.remove(a);return e&&e.then?e.then(()=>b.add(a,c)):this.add(a,c)};
w.cleanup=function(){if(!this.fastupdate)return this;tb(this.map);this.depth&&tb(this.ctx);return this};w.searchCache=la;w.export=function(a,c,b=0,e=0){let d,f;switch(e){case 0:d="reg";f=pb(this.reg);break;case 1:d="cfg";f=null;break;case 2:d="map";f=lb(this.map,this.reg.size);break;case 3:d="ctx";f=nb(this.ctx,this.reg.size);break;default:return}return rb.call(this,a,c,d,f,b,e)};
w.import=function(a,c){if(c)switch(typeof c==="string"&&(c=JSON.parse(c)),a=a.split("."),a[a.length-1]==="json"&&a.pop(),a.length===3&&a.shift(),a=a.length>1?a[1]:a[0],a){case "reg":this.fastupdate=!1;this.reg=qb(c,this.reg);break;case "map":this.map=mb(c,this.map);break;case "ctx":this.ctx=ob(c,this.ctx)}};
w.serialize=function(a=!0){let c="",b="",e="";if(this.reg.size){let f;for(var d of this.reg.keys())f||(f=typeof d),c+=(c?",":"")+(f==="string"?'"'+d+'"':d);c="index.reg=new Set(["+c+"]);";b=sb(this.map,f);b="index.map=new Map(["+b+"]);";for(const g of this.ctx.entries()){d=g[0];let k=sb(g[1],f);k="new Map(["+k+"])";k='["'+d+'",'+k+"]";e+=(e?",":"")+k}e="index.ctx=new Map(["+e+"]);"}return a?"function inject(index){"+c+b+e+"}":c+b+e};Fa(T.prototype);const Bb=typeof window!=="undefined"&&(window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),Cb=["map","ctx","tag","reg","cfg"],Db=I();
function Eb(a,c={}){if(!this||this.constructor!==Eb)return new Eb(a,c);typeof a==="object"&&(c=a,a=a.name);a||console.info("Default storage space was used, because a name was not passed.");this.id="flexsearch"+(a?":"+a.toLowerCase().replace(/[^a-z0-9_\\-]/g,""):"");this.field=c.field?c.field.toLowerCase().replace(/[^a-z0-9_\\-]/g,""):"";this.type=c.type;this.fastupdate=this.support_tag_search=!1;this.db=null;this.h={}}w=Eb.prototype;w.mount=function(a){if(a.index)return a.mount(this);a.db=this;return this.open()};
w.open=function(){if(this.db)return this.db;let a=this;navigator.storage&&navigator.storage.persist&&navigator.storage.persist();Db[a.id]||(Db[a.id]=[]);Db[a.id].push(a.field);const c=Bb.open(a.id,1);c.onupgradeneeded=function(){const b=a.db=this.result;for(let e=0,d;e<Cb.length;e++){d=Cb[e];for(let f=0,g;f<Db[a.id].length;f++)g=Db[a.id][f],b.objectStoreNames.contains(d+(d!=="reg"?g?":"+g:"":""))||b.createObjectStore(d+(d!=="reg"?g?":"+g:"":""))}};return a.db=Z(c,function(b){a.db=b;a.db.onversionchange=
function(){a.close()}})};w.close=function(){this.db&&this.db.close();this.db=null};w.destroy=function(){const a=Bb.deleteDatabase(this.id);return Z(a)};w.clear=function(){const a=[];for(let b=0,e;b<Cb.length;b++){e=Cb[b];for(let d=0,f;d<Db[this.id].length;d++)f=Db[this.id][d],a.push(e+(e!=="reg"?f?":"+f:"":""))}const c=this.db.transaction(a,"readwrite");for(let b=0;b<a.length;b++)c.objectStore(a[b]).clear();return Z(c)};
w.get=function(a,c,b=0,e=0,d=!0,f=!1){a=this.db.transaction((c?"ctx":"map")+(this.field?":"+this.field:""),"readonly").objectStore((c?"ctx":"map")+(this.field?":"+this.field:"")).get(c?c+":"+a:a);const g=this;return Z(a).then(function(k){let h=[];if(!k||!k.length)return h;if(d){if(!b&&!e&&k.length===1)return k[0];for(let l=0,m;l<k.length;l++)if((m=k[l])&&m.length){if(e>=m.length){e-=m.length;continue}const p=b?e+Math.min(m.length-e,b):m.length;for(let u=e;u<p;u++)h.push(m[u]);e=0;if(h.length===b)break}return f?
g.enrich(h):h}return k})};w.tag=function(a,c=0,b=0,e=!1){a=this.db.transaction("tag"+(this.field?":"+this.field:""),"readonly").objectStore("tag"+(this.field?":"+this.field:"")).get(a);const d=this;return Z(a).then(function(f){if(!f||!f.length||b>=f.length)return[];if(!c&&!b)return f;f=f.slice(b,b+c);return e?d.enrich(f):f})};
w.enrich=function(a){typeof a!=="object"&&(a=[a]);const c=this.db.transaction("reg","readonly").objectStore("reg"),b=[];for(let e=0;e<a.length;e++)b[e]=Z(c.get(a[e]));return Promise.all(b).then(function(e){for(let d=0;d<e.length;d++)e[d]={id:a[d],doc:e[d]?JSON.parse(e[d]):null};return e})};w.has=function(a){a=this.db.transaction("reg","readonly").objectStore("reg").getKey(a);return Z(a).then(function(c){return!!c})};w.search=null;w.info=function(){};
w.transaction=function(a,c,b){a+=a!=="reg"?this.field?":"+this.field:"":"";let e=this.h[a+":"+c];if(e)return b.call(this,e);let d=this.db.transaction(a,c);this.h[a+":"+c]=e=d.objectStore(a);const f=b.call(this,e);this.h[a+":"+c]=null;return Z(d).finally(function(){return f})};
w.commit=async function(a){let c=a.commit_task,b=[];a.commit_task=[];for(let e=0,d;e<c.length;e++)d=c[e],d.del&&b.push(d.del);b.length&&await this.remove(b);a.reg.size&&(await this.transaction("map","readwrite",function(e){for(const d of a.map){const f=d[0],g=d[1];g.length&&(e.get(f).onsuccess=function(){let k=this.result;var h;if(k&&k.length){const l=Math.max(k.length,g.length);for(let m=0,p,u;m<l;m++)if((u=g[m])&&u.length){if((p=k[m])&&p.length)for(h=0;h<u.length;h++)p.push(u[h]);else k[m]=u;h=
1}}else k=g,h=1;h&&e.put(k,f)})}}),await this.transaction("ctx","readwrite",function(e){for(const d of a.ctx){const f=d[0],g=d[1];for(const k of g){const h=k[0],l=k[1];l.length&&(e.get(f+":"+h).onsuccess=function(){let m=this.result;var p;if(m&&m.length){const u=Math.max(m.length,l.length);for(let r=0,t,n;r<u;r++)if((n=l[r])&&n.length){if((t=m[r])&&t.length)for(p=0;p<n.length;p++)t.push(n[p]);else m[r]=n;p=1}}else m=l,p=1;p&&e.put(m,f+":"+h)})}}}),a.store?await this.transaction("reg","readwrite",
function(e){for(const d of a.store){const f=d[0],g=d[1];e.put(typeof g==="object"?JSON.stringify(g):1,f)}}):a.bypass||await this.transaction("reg","readwrite",function(e){for(const d of a.reg.keys())e.put(1,d)}),a.tag&&await this.transaction("tag","readwrite",function(e){for(const d of a.tag){const f=d[0],g=d[1];g.length&&(e.get(f).onsuccess=function(){let k=this.result;k=k&&k.length?k.concat(g):g;e.put(k,f)})}}),a.map.clear(),a.ctx.clear(),a.tag&&a.tag.clear(),a.store&&a.store.clear(),a.document||
a.reg.clear())};function Fb(a,c,b){const e=a.value;let d,f=0;for(let g=0,k;g<e.length;g++){if(k=b?e:e[g]){for(let h=0,l,m;h<c.length;h++)if(m=c[h],l=k.indexOf(m),l>=0)if(d=1,k.length>1)k.splice(l,1);else{e[g]=[];break}f+=k.length}if(b)break}f?d&&a.update(e):a.delete();a.continue()}
w.remove=function(a){typeof a!=="object"&&(a=[a]);return Promise.all([this.transaction("map","readwrite",function(c){c.openCursor().onsuccess=function(){const b=this.result;b&&Fb(b,a)}}),this.transaction("ctx","readwrite",function(c){c.openCursor().onsuccess=function(){const b=this.result;b&&Fb(b,a)}}),this.transaction("tag","readwrite",function(c){c.openCursor().onsuccess=function(){const b=this.result;b&&Fb(b,a,!0)}}),this.transaction("reg","readwrite",function(c){for(let b=0;b<a.length;b++)c.delete(a[b])})])};
function Z(a,c){return new Promise((b,e)=>{a.onsuccess=a.oncomplete=function(){c&&c(this.result);c=null;b(this.result)};a.onerror=a.onblocked=e;a=null})};const Gb={Index:T,Charset:va,Encoder:ka,Document:Na,Worker:La,Resolver:X,IndexedDB:Eb,Language:{}},Hb=typeof self!=="undefined"?self:typeof global!=="undefined"?global:self;let Ib;(Ib=Hb.define)&&Ib.amd?Ib([],function(){return Gb}):typeof Hb.exports==="object"?Hb.exports=Gb:Hb.FlexSearch=Gb;}(this||self));
`;function i4(e){return Array.isArray(e)?e.join(` `):e??``}function a4(e){return e==null?``:(Array.isArray(e)?e.filter(e=>e!=null).map(String).join(`
`):String(e)).toLowerCase()}var o4={document:{id:`id`,index:Sye},tokenize:`forward`,context:{depth:2,resolution:9}};function Vye(){if(typeof window>`u`||typeof Worker>`u`)return!1;let e=globalThis;try{return e._factory??=Function(Bye),!0}catch{return!1}}function Hye(e){if(e)try{return new r4.Document({...o4,worker:!0})}catch{}return new r4.Document({...o4,worker:!1})}function Uye(){return Hye(Vye())}function Wye(e){let t=e.parameters??[],n=[e.title,e.text,e.httpMethod,e.httpPath];for(let e of t)n.push(e.name,e.description,e.place,e.type,e.example,e.enum);return{...e,paramNames:t.map(e=>i4(e.name)).join(` `),all:n.map(i4).filter(Boolean).join(` `)}}async function Gye(e,t){let n=new Set,r=await e.search(t,{limit:500});for(let e of r)for(let t of e.result)n.add(t);return n}var Kye=6,s4=7,c4=function(e){return e[e.Name=0]=`Name`,e[e.Description=1]=`Description`,e[e.Path=2]=`Path`,e[e.Example=3]=`Example`,e[e.Enum=4]=`Enum`,e[e.Place=5]=`Place`,e}({});function l4(e){let t=e.parameters??[],n=[],r=new Uint32Array(t.length*s4),i=0;return t.forEach((e,t)=>{let a=[a4(e.name),a4(e.description),a4(e.path),a4(e.example),a4(e.enum),a4(e.place)];a.forEach((e,n)=>{r[t*s4+n]=i,i+=e.length+1}),r[t*s4+Kye]=i-1,n.push(a.join(`
`))}),{title:a4(e.title),text:a4(e.text),httpMethod:a4(e.httpMethod),httpPath:a4(e.httpPath),path:a4(e.path),parameters:n.join(`
`),bounds:r}}function u4(e,t,n){let r=e.bounds[t*s4+n],i=e.bounds[t*s4+n+1]-+(n<5);return e.parameters.slice(r,i)}function d4(e,t,n){if(!t)return[];let{parameters:r,bounds:i}=e,a=new Set;for(let e of n.words){let n=e.length>=3,o=e.length<2,s=r.indexOf(e);for(;s!==-1;){if(!n&&j0(r[s-1])||o&&j0(r[s+e.length])){s=r.indexOf(e,s+1);continue}let c=qye(i,t,s);if(a.add(c),c+1>=t)break;s=r.indexOf(e,i[(c+1)*s4])}}return[...a].sort((e,t)=>e-t)}function qye(e,t,n){let r=0,i=t-1;for(;r<i;){let t=r+i+1>>1;e[t*s4]<=n?r=t:i=t-1}return r}function Jye(e){let t=e.toLowerCase().trim(),n=t.split(/\s+/g).filter(Boolean);return{text:t,words:n.some(e=>e.length>=2)?n:[]}}function f4(e,t){if(!t)return 0;let n=0;for(let r of e.words)M0(t,r)&&n++;return n/e.words.length}function Yye(e,t){return Math.max(...t.map(t=>f4(e,t)))}function p4(e,t){return f4(e,t)===1}function m4(e,t){return!!t&&e.words.some(e=>M0(t,e))}var Xye=[{when:(e,t,n)=>e===n.text,bonus:R0.titleExact},{when:(e,t,n)=>e.startsWith(n.text),bonus:R0.titlePrefix},{when:(e,t,n)=>n.words.every(t=>M0(e,t)),bonus:R0.titleAllWords},{when:(e,t)=>t.fields.includes(`title`),bonus:R0.titlePartial}],Zye=[{when:(e,t)=>t.fields.includes(`httpMethod`),bonus:R0.httpMethod},{when:(e,t)=>t.fields.includes(`httpPath`),bonus:R0.httpPath},{when:(e,t)=>t.fields.includes(`text`),bonus:R0.text},{when:e=>!!e.deprecated,bonus:R0.deprecated}];function Qye(e,t,n){return Xye.find(r=>r.when(e,t,n))?.bonus??0}function $ye(e,t){return Math.round(R0.titleCoverage*t.text.length/e.length)}function ebe(e,t){return Zye.filter(n=>n.when(e,t)).reduce((e,t)=>e+t.bonus,0)}var tbe={exact:R0.paramNameExact,partial:R0.paramNamePartial},nbe={exact:R0.sectionTitleExact,partial:R0.sectionTitlePartial},rbe=[c4.Description,c4.Path,c4.Example,c4.Enum];function h4(e,t,n,r){let i=Qye(e.title,n,r);return(i?i+$ye(e.title,r):0)+ebe(t,n)+n.parameterScore}function g4(e,t,n,r){let i=(t.parameters??[])[n],a=t=>u4(e,n,t),o=Ave(i.place)?nbe:tbe;if(a(c4.Name)===r.text)return o.exact;let s=o.partial*f4(r,a(c4.Name))**2,c=R0.paramValue*Yye(r,rbe.map(a))**2;return s||c?s+c:m4(r,a(c4.Place))?R0.paramPlace:0}_c();function ibe(e,t,n){let r=[];m4(n,e.title)&&r.push(`title`),e.httpMethod&&n.words.some(t=>t.length>=2&&e.httpMethod.startsWith(t))&&r.push(`httpMethod`),m4(n,e.httpPath)&&r.push(`httpPath`),m4(n,e.text)&&r.push(`text`),m4(n,e.path)&&r.push(`path`);let i=sbe(e,t,n);return i&&r.push(`parameters`),{fields:r,parameter:i?.parameter,parameterScore:i?.score??0}}function abe(e,t,n){if(p4(n,e.title)||p4(n,e.text)||p4(n,e.httpPath)||p4(n,e.path))return!0;let r=t.parameters??[],i=[c4.Name,c4.Description,c4.Path,c4.Example,c4.Enum];for(let t of d4(e,r.length,n))if(i.some(r=>p4(n,u4(e,t,r))))return!0;return!1}function _4(e){return e?.deepLink?ac(e.deepLink,`m`):void 0}function obe(e,t,n,r){if(!n.parameter)return[];let i=_4(n.parameter);if(i===void 0)return[];let a=new Map,o=t.parameters??[];for(let n of d4(e,o.length,r)){let s=o[n],c=_4(s);if(c===void 0||c===i)continue;let l=g4(e,t,n,r);if(!l)continue;let u=a.get(c),d=u!==void 0&&l===u.score&&(s.path?.length??0)<(u.parameter.path?.length??0);(!u||l>u.score||d)&&a.set(c,{parameter:s,score:l})}return[...a.values()]}function sbe(e,t,n){let r,i=t.parameters??[];for(let a of d4(e,i.length,n)){let o=g4(e,t,a,n);o&&(!r||o>r.score||o===r.score&&cbe(e,t,a,r.index,n))&&(r={parameter:i[a],score:o,index:a})}return r&&{parameter:r.parameter,score:r.score}}function cbe(e,t,n,r,i){let a=v4(i,u4(e,n,c4.Description)),o=v4(i,u4(e,r,c4.Description));if(a!==o)return a>o;let s=t.parameters??[];return(s[n].path?.length??0)<(s[r].path?.length??0)}function v4(e,t){let n=t.replace(/\s+/g,` `),r=0;for(let t=1;t<e.words.length;t++)n.includes(`${e.words[t-1]} ${e.words[t]}`)&&r++;return r}function lbe(e,t,n){let r=new Map;e.forEach(e=>{let i=ube(e,t,n);if(!i)return;let a=r.get(i);a?a.push(e):r.set(i,[e])});let i=new Set;for(let e of r.values()){e.sort((e,t)=>y4(e,t)?-1:+!!y4(t,e));let[t,...n]=e;if(t.document.isSchemaDefinition){t.score=Math.max(...e.map(e=>e.score)),n.sort((e,t)=>Number(!!e.document.isSchemaDefinition)-Number(!!t.document.isSchemaDefinition)||t.score-e.score);for(let e of n.slice(3))i.add(e)}}let a=e.filter(e=>!i.has(e));return a.sort((e,t)=>t.score-e.score),a}function ube(e,t,n){let{document:r,match:i}=e;if(!i.fields.includes(`parameters`))return;let a=a4(i.parameter?.description).trim();if(!a)return;let o=n(r),s=f4(t,a);if(!(Math.max(f4(t,o.title),f4(t,o.text),f4(t,o.httpPath),f4(t,o.path))>=s))return`${a4(i.parameter?.name)}\u0000${a}`}function y4(e,t){if(!!e.document.isSchemaDefinition!=!!t.document.isSchemaDefinition)return!!e.document.isSchemaDefinition;let n=e.match.parameter?.path?.length??0,r=t.match.parameter?.path?.length??0;return n===r?e.score>t.score:n<r}function dbe(e,t,n,r){return p4(r,e.title)||p4(r,e.text)&&!fbe(r,n.parameter)?t:pbe(t,n.parameter?.deepLink)}function fbe(e,t){return!t||jve(t.place)?!1:p4(e,a4(t.description))||p4(e,a4(t.name))}function pbe(e,t){let n=t?.split(`#`)[1];return n?{...e,url:`${e.url}#${n}`}:e}function mbe(e,t,n){let r={};for(let i of n.fields)i===`title`?r.title=N0(t,i4(e.title)):i===`httpPath`?r.httpPath=N0(t,i4(e.httpPath)):i===`text`?r.text=N0(t,i4(e.text)):i===`path`?r.path=(e.path??[]).map(e=>N0(t,e)):i===`parameters`&&n.parameter&&(r.parameters=[{name:N0(t,i4(n.parameter.name)),description:N0(t,i4(n.parameter.description)),place:N0(t,n.parameter.place),path:(n.parameter.path??[]).map(e=>N0(t,e)),...hbe(t,n.parameter)}]);return r}function hbe(e,t){return{enum:P0(e,(t.enum??[]).join(`, `)),example:P0(e,i4(t.example))}}var gbe=class{_index=Uye();_documents=new Map;_lowerDocuments=new Map;addDocument(e){this._documents.set(e.id,e),this._lowerDocuments.set(e.id,l4(e)),this._index.add(e.id,Wye(e))}async search(e){let t=Jye(e);if(!t.words.length)return[];let n=await Gye(this._index,e);return lbe(this.rankCandidates(n,t),t,this.lowered).slice(0,100).map(({document:n,match:r})=>({document:dbe(this.lowered(n),n,r,t),highlight:mbe(n,e,r)}))}rankCandidates(e,t){let n=[],r=[];for(let i of e){let e=this._documents.get(i);e&&this.appendCandidates(e,t,n,r)}if(!n.length)for(let[r,i]of this._documents)e.has(r)||abe(this.lowered(i),i,t)&&this.appendCandidates(i,t,n,[]);let i=n.length?n:r;return i.sort((e,t)=>t.score-e.score),i}appendCandidates(e,t,n,r){let i=this.lowered(e),a=ibe(i,e,t),o={document:e,match:a,score:h4(i,e,a,t)};if((a.fields.length?n:r).push(o),a.fields.length)for(let r of obe(i,e,a,t)){let a={fields:[`parameters`],parameter:r.parameter,parameterScore:r.score};n.push({document:e,match:a,score:h4(i,e,a,t)})}}lowered=e=>this._lowerDocuments.get(e.id)??l4(e)},b4=8;async function _be(e,t,n,r){let i=new mye(n,t.schemaStore,r,{exampleStore:t.exampleStore,graphqlMeta:t.graphqlMeta}),a=Date.now()+b4,o=async()=>{Date.now()<a||(await new Promise(e=>setTimeout(e,0)),a=Date.now()+b4)},s=async(e,t)=>{for(let n of e)i.addItem(n,t),await o(),n.items?.length&&await s(n.items,n.label?[...t,n.label]:t)};await s(e,[]);let c=i.getResult(),l=new gbe;for(let e of c)l.addDocument(e),await o();return{search:e=>l.search(e)}}function vbe(e){if(typeof window>`u`||typeof window.requestIdleCallback!=`function`)return()=>{};let t=window.requestIdleCallback(e);return()=>window.cancelIdleCallback(t)}function ybe(e,t,n,r){let[i,a]=useState(null),[o,s]=useState(!1),c=useRef(null);useEffect(()=>{let i=!1,o=!1;s(!1),a(null);let l=()=>{o||i||(o=!0,_be(e,t,n,r).then(e=>{i||(a(e),s(!0))}).catch(e=>{console.error(`Failed to initialize search:`,e),!i&&s(!0)}))};c.current=l;let u=vbe(l);return()=>{i=!0,c.current=null,u()}},[e,t,n,r]);let l=useCallback(()=>{c.current?.()},[]);return{search:useCallback(e=>i?i.search(e):Promise.resolve([]),[i]),isReady:o,ensureIndex:l}}qf();function bbe({items:e,store:t,basePath:n,document:r}){let i=jE(),{isOpen:a,onOpen:o,onClose:s}=bee(),{search:c,isReady:l,ensureIndex:u}=ybe(e,t,n,r),d=useRef(!1),f=useRef(!1);return useEffect(()=>{a&&u()},[a,u]),useEffect(()=>{a&&!f.current&&!d.current&&i.sendSearchOpenedMessage([{...VE.searchDialog,method:`shortcut`}]),f.current=a,a||(d.current=!1)},[a,i]),jsxs(Sbe,{children:[jsx(ave,{isReady:l,onIntent:u,onClick:()=>{d.current=!0,u(),o(),i.sendSearchOpenedMessage([{...VE.searchDialog,method:`click`}])}}),a&&jsx(Z_e,{onClose:s,search:c,isReady:l})]})}function xbe(e){return jsx(Oi,{children:jsx(bbe,{...e})})}var Sbe=styled$1.div`
  display: flex;
  margin: var(--sidebar-margin-horizontal, 16px);
`;F();var Cbe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M9 3L8.285 3.6965L12.075 7.5H2V8.5H12.075L8.285 12.2865L9 13L14 8L9 3Z`})})).attrs({"data-component-name":`icons/ArrowRightIcon/ArrowRightIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;jo(),Yi(),Bt(),F();function wbe(e){let t=e.parentElement;for(;t&&t!==document.body;){let{overflowY:e}=getComputedStyle(t);if((e===`auto`||e===`scroll`)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null}function Tbe(e){let{item:t,depth:n,className:r,onClick:i}=e,{useTranslate:a,useTelemetry:o}=sr(),{translate:s}=a(),c=We(t),l=useRef(null),u=useRef(null),{isExpanded:d,canUnmount:f,style:p,handleExpand:m}=eee({...e,type:c,labelRef:u,nestedMenuRef:l}),h=o(),g=c===ge.DrillDown,_=c===ge.Separator,v=c===ge.Group,y=v&&!g,b=!!t.httpVerb||c===ge.Operation;useEffect(()=>{let e=u.current;if(!t.active||!e)return;let n=wbe(e);if(!n)return;let r=n.getBoundingClientRect(),i=e.getBoundingClientRect(),a=i.height;i.top<r.top+a?n.scrollTop-=r.top+a-i.top:i.bottom>r.bottom-a&&(n.scrollTop+=i.bottom-(r.bottom-a))},[t.active]);let x=()=>{h.sendSidebarItemClickedMessage([{...Ve(`sidebarItem`,`sidebar`),label:t.label,type:t.type===`link`||t.type===`group`?t.type:void 0}]),i?.(),v&&m()},S=e=>{e.key===`Enter`&&x()},C=y?jsx(d?qg:bg,{size:`var(--menu-item-label-chevron-size)`,color:`--tree-content-color-default`}):null,w=cn({isAdditionalOperation:t.isAdditionalOperation,deprecated:t.deprecated,httpVerb:t.httpVerb||``}),T=t.label&&jsxs(Abe,{$active:t.active,$deprecated:t.deprecated,$depth:n,$withChevron:y,$isSeparator:_,onClick:x,onKeyDown:S,ref:u,role:t.link||_?`none`:`link`,tabIndex:!t.link&&!_?0:void 0,"data-testid":`menu-item-label`,"data-active":t.active,children:[y?jsx(Dbe,{children:C}):null,jsx(Nbe,{icon:t.icon,srcSet:t.srcSet}),jsxs(jbe,{children:[jsxs(Ibe,{children:[t.badges?.filter(({position:e})=>e===`before`).map(({name:e,color:t,icon:n})=>jsx(S4,{color:x4(t)?void 0:t,$bgColor:x4(t)?t:void 0,icon:n&&jsx(C4,{icon:n}),children:e},e)),jsx(Lbe,{$active:t.active,$isSeparator:_,"data-text":s(t.labelTranslationKey,t.label),children:s(t.labelTranslationKey,t.label)}),t.badges?.filter(({position:e})=>e!==`before`).map(({name:e,color:t,icon:n})=>jsx(S4,{color:x4(t)?void 0:t,$bgColor:x4(t)?t:void 0,icon:n&&jsx(C4,{icon:n}),children:e},e)),t.external?jsx(oP,{size:`var(--menu-item-external-icon-size)`}):null]}),t.sublabel?jsx(Mbe,{children:s(t.subLabelTranslationKey,t.sublabel)}):null]}),g?jsx(Cbe,{size:`12px`}):null,b?jsx(X1,{color:w||``,children:t.httpVerb===`hook`?`event`:t.httpVerb}):null]});return jsxs(Obe,{"data-component-name":`Menu/MenuItem`,className:Ebe({type:c,item:t,className:r}),role:`listitem`,children:[t.link?jsx(Pbe,{to:t.link,external:t.external,target:t.target,languageInsensitive:t.languageInsensitive,onKeyDown:S,children:T}):T,v?jsx(kbe,{$isExpanded:d,$depth:n,ref:l,style:p,children:d||!f?e.children:null}):null,t.separatorLine?jsx(Fbe,{$depth:n,$linePosition:t.linePosition??`bottom`}):null]})}function x4(e){return e?e.startsWith(`#`)||e.startsWith(`rgb`)||e.startsWith(`hsl`):!1}function Ebe({type:e,item:t,className:n}){let r=[n,`menu-item-type-${e}`];return e===ge.Separator&&r.push(`menu-item-type-${e}-${t.variant||`primary`}`),t.menuStyle===`drilldown-header`&&(r.push(`menu-item-type-drilldown-header`),t.link&&r.push(`menu-item-type-drilldown-header-link`)),r.filter(e=>e).join(` `).trim()}var Dbe=styled.div`
  flex-shrink: 0;
`,Obe=styled.div`
  display: flex;
  flex-direction: column;
  background-color: var(--menu-item-bg-color);
  font-family: var(--menu-item-font-family);
  font-size: var(--menu-item-font-size);
  font-weight: var(--menu-item-font-weight);
  line-height: var(--menu-item-line-height);
  color: var(--menu-item-text-color);

  .tag-http {
    align-self: flex-start;
    margin-left: auto;
  }

  &.menu-item-type-separator {
    pointer-events: none;
  }

  > a {
    text-decoration: none;
    color: var(--menu-item-text-color);
  }
`,kbe=styled.div`
  order: 1;
  position: relative;

  &:hover:has(&:hover)::before {
    display: none;
  }

  &:hover::before {
    content: '';
    position: absolute;
    bottom: var(--spacing-unit);
    top: 0;
    z-index: var(--z-index-surface);
    left: ${({$depth:e})=>`calc(
        var(--menu-item-label-margin-horizontal) +
        var(--menu-item-padding-horizontal) +
        (var(--menu-item-label-chevron-size) / 2 - 1px) +
        var(--menu-item-nested-offset) * ${e})
      `};
    border: 0.5px solid var(--menu-item-border-color-hover);
  }
`,Abe=styled.li`
  display: flex;
  position: relative;
  cursor: pointer;
  order: 1;
  align-items: var(--menu-item-label-align-items);
  transition: var(--menu-item-label-transition);
  word-break: var(--menu-item-label-word-break);
  border-radius: var(--menu-item-label-border-radius);
  margin: var(--menu-item-label-margin);
  padding: var(--menu-item-label-padding);
  gap: var(--menu-item-label-gap);

  padding-left: ${({$withChevron:e,$depth:t,$isSeparator:n})=>`calc(
      var(--menu-item-padding-horizontal) +
      ${e?`0px`:`var(--menu-item-label-chevron-offset) + `+(n?`var(--menu-item-separator-offest)`:`0px`)} +
      ${t?`var(--menu-item-nested-offset) * `+t:`0px`}
    )`};

  &:hover {
    color: var(--menu-item-color-hover);
    background: var(--menu-item-bg-color-hover);

    ${qg} path {
      fill: var(--menu-item-color-hover);
    }
    ${bg} path {
      fill: var(--menu-item-color-hover);
    }
  }

  ${({$active:e,$deprecated:t})=>e&&css`
      color: ${t?`var(--menu-content-color-disabled)`:`var(--menu-item-color-active)`};
      background-color: var(--menu-item-bg-color-active);

      ${qg} path {
        fill: var(--menu-item-color-active);
      }
      ${bg} path {
        fill: var(--menu-item-color-active);
      }

      &:hover {
        color: var(--menu-item-color-active-hover);
        background: var(--menu-item-bg-color-active-hover);
      }
    `};

  ${({$deprecated:e})=>e&&css`
      color: var(--menu-content-color-disabled);

      &:hover {
        color: var(--menu-content-color-disabled);
      }
    `};

  &:empty {
    padding: 0;
  }
`,jbe=styled.div`
  display: flex;
  flex-direction: column;
  flex-grow: 1;
`,Mbe=styled.div`
  margin: var(--menu-item-sublabel-margin);
  color: var(--menu-item-sublabel-text-color);
  font-weight: var(--menu-item-sublabel-font-weight);
  font-size: var(--menu-item-sublabel-font-size);
  font-family: var(--menu-item-sublabel-font-family);
`,Nbe=styled(t0)`
  --icon-width: var(--menu-item-icon-size);
  --icon-height: var(--menu-item-icon-size);
  margin: var(--menu-item-icon-margin);
  flex-shrink: 0;
  overflow: hidden;
`,Pbe=styled(Ji)`
  order: 1;
`,Fbe=styled.div`
  height: var(--menu-item-separator-line-height);
  background-color: var(--menu-item-separator-line-bg-color);
  margin: ${({$depth:e})=>`
    var(--menu-item-padding-vertical)
    var(--sidebar-margin-horizontal)
    var(--menu-item-padding-vertical)
    calc(var(--sidebar-margin-horizontal) +
    ${e?`var(--menu-item-nested-offset) * `+e:`0px`})
  `};
  order: ${({$linePosition:e})=>e===`top`?0:1};
`,Ibe=styled.span`
  & > * {
    margin-right: var(--spacing-xxs);
  }
`,Lbe=styled.span`
  display: inline-block;
  max-width: 100%;
  font-weight: var(--menu-item-font-weight);

  &::before {
    content: attr(data-text);
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: ${({$isSeparator:e})=>e?`var(--menu-item-font-weight)`:`var(--menu-item-font-weight-active)`};
  }

  ${({$active:e})=>e&&css`
      font-weight: var(--menu-item-font-weight-active);
    `}
`,S4=styled(xb)`
  ${({$bgColor:e})=>e&&`background-color: ${e};`} /* for backward compatibility */
  margin-left: 0;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 0 var(--spacing-xxs);
  max-width: 90px;

  --tag-padding: 0 var(--spacing-xxs);
  --tag-content-padding: 0;
  --tag-font-size: var(--font-size-sm);
  --tag-line-height: var(--line-height-sm);
  vertical-align: middle;

  ${Sb} {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
  }
`,C4=styled(t0)`
  --icon-width: var(--font-size-sm);
  --icon-height: var(--font-size-sm);
  margin-right: var(--spacing-xxs);
  flex-shrink: 0;
`,Rbe=React.memo(Tbe,(e,t)=>e.item===t.item&&e.depth===t.depth&&e.isMobile===t.isMobile&&e.className===t.className);F(),jo();function zbe({item:e,className:t}){let{useTranslate:n,useTelemetry:r}=sr(),{translate:i}=n(),a=r();return jsx(Bbe,{"data-component-name":`Menu/MenuSelect`,className:t,role:`listitem`,children:jsx(Vbe,{alignment:`start`,trigger:jsxs(Hbe,{type:`button`,children:[jsx(Ube,{children:i(e.labelTranslationKey,e.label)}),jsx(w4,{size:`var(--menu-select-icon-size)`,color:`--menu-select-icon-color`})]}),children:jsx(Wbe,{children:e.items.map((e,t)=>{let n=`${e.link||e.label}-${t}`,r=e.active?jsx(Gbe,{size:`var(--menu-select-option-checkmark-size)`}):null,o=jsxs(Kbe,{$active:e.active,children:[e.icon||e.srcSet?jsx(qbe,{icon:e.icon,srcSet:e.srcSet}):null,i(e.labelTranslationKey,e.label),e.external?jsx(oP,{size:`var(--menu-select-option-external-icon-size)`}):null]});return e.link?jsx(T4,{to:e.link,external:e.external,target:e.target===`_blank`?`_blank`:void 0,active:e.active,"aria-current":e.active?`page`:void 0,prefix:r,onAction:()=>a.sendSidebarItemClickedMessage([{...Ve(`sidebarItem`,`sidebar`),label:e.label,type:`link`}]),children:o},n):jsx(T4,{active:e.active,prefix:r,dataAttributes:{"aria-disabled":`true`},children:o},n)})})})})}var Bbe=styled.div`
  margin: var(--menu-select-margin);
`,Vbe=styled(Xg)`
  --dropdown-menu-padding-top: var(--menu-select-menu-offset);
  --dropdown-menu-padding: var(--menu-select-menu-padding);
  --dropdown-menu-border-radius: var(--menu-select-menu-border-radius);
  --dropdown-menu-item-gap: var(--menu-select-option-gap);
  --dropdown-menu-item-border-radius: var(--menu-select-option-border-radius);
  --dropdown-menu-item-bg-color-active: var(--menu-select-option-bg-color-active);
  --dropdown-menu-item-color-active: var(--menu-select-option-text-color-active);

  width: 100%;

  > * {
    min-width: 100%;
  }
`,w4=styled(qg)`
  transition: var(--menu-select-transition);
`,Hbe=styled.button`
  display: flex;
  align-items: center;
  gap: var(--menu-select-gap);
  box-sizing: border-box;
  width: 100%;
  height: var(--menu-select-height);
  padding: 0 var(--menu-select-padding-horizontal);
  border: var(--menu-select-border);
  border-radius: var(--menu-select-border-radius);
  background-color: var(--menu-select-bg-color);
  color: var(--menu-select-text-color);
  font-family: inherit;
  font-size: var(--menu-select-font-size);
  line-height: var(--menu-select-line-height);
  text-align: left;
  cursor: pointer;

  &:focus-visible {
    outline: 1px solid var(--menu-select-border-color-focused);
  }

  &[aria-expanded='true'] ${w4} {
    transform: rotate(180deg);
  }
`,Ube=styled.span`
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
`,Wbe=styled(t_)`
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
`,T4=styled($g)`
  position: relative;
  box-sizing: border-box;
  padding: var(--menu-select-option-padding);

  &[aria-disabled='true'] {
    cursor: default;
    pointer-events: none;
  }
`,Gbe=styled(yO)`
  position: absolute;
  top: 50%;
  left: var(--menu-select-option-checkmark-offset);
  transform: translateY(-50%);
`,Kbe=styled.span`
  display: inline-flex;
  align-items: center;
  gap: var(--menu-select-option-content-gap);
  font-weight: ${({$active:e})=>e?`var(--menu-select-option-font-weight-active)`:`var(--menu-select-option-font-weight)`};
`,qbe=styled(t0)`
  --icon-width: var(--menu-select-option-icon-size);
  --icon-height: var(--menu-select-option-icon-size);
  flex-shrink: 0;
`;Bt(),F();function E4({depth:e=0,items:t,className:n,isMobile:r,onDrilldownOpen:i}){let a=t.find(({active:e})=>e);return jsx(Jbe,{className:n,"data-component-name":`Menu/Menu`,children:t.map((t,n)=>We(t)===ge.Select?jsx(zbe,{item:t},`${t.label}-${n}`):jsx(Rbe,{item:t,activeItem:a,isMobile:r,depth:e,onClick:()=>{We(t)===ge.DrillDown&&i?.({previousLink:a?.link,item:t})},children:t.items?.length?jsx(E4,{items:t.items,depth:e+1,isMobile:r,onDrilldownOpen:i}):null},`${t.link||t.label}-${n}`))})}var Jbe=styled.ul`
  padding: var(--menu-padding);
  margin: var(--menu-margin);
  list-style: var(--menu-list-style);
  color: var(--menu-content-color);
  position: relative;
`;Ds();var Ybe=[];function D4(e,t,n,r){return e.map(e=>Xbe(e,t,n,r))}function Xbe(e,t,n,r){let i=r.get(e),a=e.items??[],o=a.length?D4(a,t,n,r):Ybe,s=Qbe(e.link??e.routeSlug),c=s&&xs(s).toLowerCase(),l=!!c&&(t===c||t===c+`/`),u=o.some(e=>e.active||e.hasActiveSubItem),d=Tj(n,e.labelTranslationKey,e.label);if(i&&i.active===l&&i.hasActiveSubItem===u&&i.label===d&&Zbe(i.items,o))return i;let f={type:e.type,label:d,link:s,httpVerb:`httpVerb`in e?e.httpVerb:void 0,isAdditionalOperation:`isAdditionalOperation`in e?e.isAdditionalOperation:void 0,badges:`badges`in e?e.badges:void 0,deprecated:`deprecated`in e?e.deprecated:void 0,separatorLine:`separatorLine`in e?e.separatorLine:void 0,linePosition:`linePosition`in e?e.linePosition:void 0,expanded:`expanded`in e?e.expanded:void 0,icon:`icon`in e?e.icon:void 0,srcSet:`srcSet`in e?e.srcSet:void 0,variant:`variant`in e?e.variant:void 0,active:l,hasActiveSubItem:u,modified:!0,items:o};return r.set(e,f),f}function Zbe(e,t){return e===t||e.length===t.length&&e.every((e,n)=>e===t[n])}function Qbe(e){return e&&e.replace(/\/{2,}/g,`/`)}Ds(),Hs();function $be({items:e}){let{pathname:t}=useLocation(),n=I(jh),r=I($R),i=fb(),a=useRef(new WeakMap);return useMemo(()=>{let o=r&&Fs(r,t)?.path;return D4(e,xs(n??o??t).toLowerCase(),i,a.current)},[e,t,n,r,i])}var exe=memo(({items:e,className:t})=>{let n=$be({items:e}),r=yD();return jsx(txe,{className:t,onClick:r,children:jsx(E4,{items:n})})}),txe=styled$1.div`
  flex: 1;
  overflow-y: auto;
`;F();var nxe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M14.685 5.92C14.5508 5.48498 14.3732 5.06454 14.155 4.665C13.8323 4.07201 13.4265 3.52818 12.95 3.05C11.971 2.07111 10.7237 1.40449 9.36586 1.13445C8.00801 0.864415 6.60058 1.00308 5.32154 1.53291C4.0425 2.06275 2.94929 2.95996 2.18015 4.11109C1.41101 5.26221 1.00049 6.61556 1.00049 8C1.00049 9.38444 1.41101 10.7378 2.18015 11.8889C2.94929 13.04 4.0425 13.9373 5.32154 14.4671C6.60058 14.9969 8.00801 15.1356 9.36586 14.8656C10.7237 14.5955 11.971 13.9289 12.95 12.95C13.4265 12.4718 13.8323 11.928 14.155 11.335C14.3732 10.9355 14.5508 10.515 14.685 10.08C15.1065 8.72538 15.1065 7.27463 14.685 5.92ZM1.99998 8C1.99998 6.4087 2.63212 4.88258 3.75734 3.75736C4.88256 2.63214 6.40868 2 7.99998 2V14C6.40868 14 4.88256 13.3679 3.75734 12.2426C2.63212 11.1174 1.99998 9.5913 1.99998 8Z`})})).attrs({"data-component-name":`icons/ContrastIcon/ContrastIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var rxe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M6.75126 2.7068C6.52204 3.68541 6.49085 4.69999 6.65953 5.69083C6.82821 6.68168 7.19334 7.62878 7.73346 8.47643C8.27357 9.32407 8.97776 10.0551 9.80458 10.6266C10.6314 11.1981 11.5642 11.5984 12.548 11.8041C12.0307 12.3392 11.4112 12.765 10.7263 13.0561C10.0413 13.3472 9.30482 13.4977 8.56056 13.4987C8.49131 13.4987 8.42146 13.5013 8.35166 13.4987C7.05599 13.4529 5.81731 12.9547 4.85075 12.0906C3.88418 11.2265 3.25081 10.0512 3.06063 8.76875C2.87044 7.48629 3.13547 6.17773 3.80967 5.07034C4.48387 3.96295 5.52466 3.12669 6.75126 2.7068ZM7.49001 1.5C7.46074 1.50005 7.43153 1.50266 7.40271 1.5078C5.81059 1.79059 4.37942 2.65251 3.38485 3.92753C2.39029 5.20254 1.90269 6.80048 2.01597 8.41355C2.12925 10.0266 2.8354 11.5407 3.9984 12.6642C5.1614 13.7877 6.69899 14.4412 8.31501 14.4986C8.39706 14.5016 8.47911 14.4986 8.56046 14.4986C9.60987 14.4992 10.644 14.2471 11.5754 13.7636C12.5068 13.2801 13.308 12.5794 13.9115 11.7208C13.9604 11.6469 13.9889 11.5613 13.9943 11.4728C13.9996 11.3842 13.9815 11.2958 13.9418 11.2165C13.902 11.1372 13.8421 11.0698 13.7681 11.021C13.694 10.9722 13.6084 10.9438 13.5198 10.9387C12.5209 10.851 11.5555 10.5349 10.6983 10.0146C9.84106 9.49439 9.11494 8.784 8.57605 7.93837C8.03716 7.09274 7.69993 6.13452 7.59045 5.13777C7.48096 4.14102 7.60213 3.13245 7.94461 2.19C7.97375 2.1146 7.98445 2.03332 7.97582 1.95295C7.96719 1.87257 7.93949 1.79542 7.89501 1.72792C7.85054 1.66042 7.79058 1.60452 7.72014 1.56487C7.64969 1.52523 7.57079 1.50299 7.49001 1.5Z`})})).attrs({"data-component-name":`icons/MoonIcon/MoonIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var ixe=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M8 6.00293C8.39556 6.00293 8.78224 6.12023 9.11114 6.33999C9.44004 6.55975 9.69638 6.87211 9.84776 7.23756C9.99913 7.60301 10.0387 8.00515 9.96157 8.39311C9.8844 8.78107 9.69392 9.13744 9.41421 9.41714C9.13451 9.69685 8.77814 9.88733 8.39018 9.9645C8.00222 10.0417 7.60009 10.0021 7.23463 9.85069C6.86918 9.69931 6.55682 9.44297 6.33706 9.11407C6.1173 8.78517 6 8.39849 6 8.00293C6.0006 7.47268 6.2115 6.96432 6.58644 6.58937C6.96139 6.21443 7.46975 6.00353 8 6.00293ZM8 5.00293C7.40666 5.00293 6.82664 5.17888 6.33329 5.50852C5.83994 5.83817 5.45542 6.3067 5.22836 6.85488C5.0013 7.40306 4.94189 8.00626 5.05764 8.5882C5.1734 9.17014 5.45912 9.70469 5.87868 10.1243C6.29824 10.5438 6.83279 10.8295 7.41473 10.9453C7.99667 11.061 8.59987 11.0016 9.14805 10.7746C9.69623 10.5475 10.1648 10.163 10.4944 9.66964C10.8241 9.17629 11 8.59627 11 8.00293C11 7.20728 10.6839 6.44422 10.1213 5.88161C9.55871 5.319 8.79565 5.00293 8 5.00293Z`}),jsx(`path`,{d:`M3.40382 2.6997L2.69679 3.40674L4.4497 5.15966L5.15674 4.45262L3.40382 2.6997Z`}),jsx(`path`,{d:`M3.5 7.50293H1V8.50293H3.5V7.50293Z`}),jsx(`path`,{d:`M4.4497 10.8462L2.69678 12.5991L3.40382 13.3062L5.15674 11.5532L4.4497 10.8462Z`}),jsx(`path`,{d:`M8.5 12.5029H7.5V15.0029H8.5V12.5029Z`}),jsx(`path`,{d:`M11.5503 10.8462L10.8433 11.5532L12.5962 13.3062L13.3032 12.5991L11.5503 10.8462Z`}),jsx(`path`,{d:`M15 7.50293H12.5V8.50293H15V7.50293Z`}),jsx(`path`,{d:`M12.5962 2.69971L10.8433 4.45263L11.5503 5.15966L13.3032 3.40674L12.5962 2.69971Z`}),jsx(`path`,{d:`M8.5 1.00293H7.5V3.50293H8.5V1.00293Z`})]})).attrs({"data-component-name":`icons/MoonIcon/MoonIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;Bt();function axe(e){return jsx(sxe,{...e,"data-component-name":`ColorModeSwitcher/ColorModeIcon`})}function oxe({mode:e,className:t}){switch(e){case _e.DARK:return jsx(ixe,{"data-testid":`dark`});case _e.LIGHT:return jsx(rxe,{"data-testid":`light`});default:return jsx(nxe,{"data-testid":`custom`,className:t+(e?` `+e:``)})}}var sxe=styled(oxe)`
  box-sizing: border-box;
`;F();var cxe=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M14 15H2C1.73487 14.9997 1.48068 14.8943 1.2932 14.7068C1.10572 14.5193 1.00028 14.2651 1 14V10C1.00028 9.73487 1.10572 9.48068 1.2932 9.2932C1.48068 9.10572 1.73487 9.00028 2 9H14C14.2651 9.00028 14.5193 9.10572 14.7068 9.2932C14.8943 9.48068 14.9997 9.73487 15 10V14C14.9997 14.2651 14.8943 14.5193 14.7068 14.7068C14.5193 14.8943 14.2651 14.9997 14 15ZM2 10V14H14V10H2Z`}),jsx(`path`,{d:`M14 7H2C1.73487 6.99972 1.48068 6.89428 1.2932 6.7068C1.10572 6.51932 1.00028 6.26513 1 6V2C1.00028 1.73487 1.10572 1.48068 1.2932 1.2932C1.48068 1.10572 1.73487 1.00028 2 1H14C14.2651 1.00028 14.5193 1.10572 14.7068 1.2932C14.8943 1.48068 14.9997 1.73487 15 2V6C14.9997 6.26513 14.8943 6.51932 14.7068 6.7068C14.5193 6.89428 14.2651 6.99972 14 7ZM2 2V6H14V2H2Z`})]})).attrs({"data-component-name":`icons/HorizontalViewIcon/HorizontalViewIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var lxe=styled(e=>jsxs(`svg`,{viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[jsx(`path`,{d:`M6 15H2C1.73487 14.9997 1.48068 14.8943 1.2932 14.7068C1.10572 14.5193 1.00028 14.2651 1 14V2C1.00028 1.73487 1.10572 1.48068 1.2932 1.2932C1.48068 1.10572 1.73487 1.00028 2 1H6C6.26513 1.00028 6.51932 1.10572 6.7068 1.2932C6.89428 1.48068 6.99972 1.73487 7 2V14C6.99972 14.2651 6.89428 14.5193 6.7068 14.7068C6.51932 14.8943 6.26513 14.9997 6 15ZM2 2V14H6V2H2Z`}),jsx(`path`,{d:`M14 15H10C9.73487 14.9997 9.48068 14.8943 9.2932 14.7068C9.10572 14.5193 9.00028 14.2651 9 14V2C9.00028 1.73487 9.10572 1.48068 9.2932 1.2932C9.48068 1.10572 9.73487 1.00028 10 1H14C14.2651 1.00028 14.5193 1.10572 14.7068 1.2932C14.8943 1.48068 14.9997 1.73487 15 2V14C14.9997 14.2651 14.8943 14.5193 14.7068 14.7068C14.5193 14.8943 14.2651 14.9997 14 15ZM10 2V14H14V2H10Z`})]})).attrs({"data-component-name":`icons/VerticalViewIcon/VerticalViewIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var uxe=styled.span.withConfig({shouldForwardProp:e=>e!==`collapsedSidebar`})`
  display: flex;
  position: relative;
  flex-direction: ${({collapsedSidebar:e})=>e?`column`:`row`};
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: var(--border-radius);
  background: var(--segmented-buttons-bg-color-main);
  z-index: 1;
  padding: calc(var(--spacing-unit) / 2);
`,O4=styled(zg).withConfig({shouldForwardProp:e=>e!==`active`})`
  width: 20px;
  height: 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: ${({active:e})=>e&&`var(--segmented-buttons-bg-color-inner)`};
`,dxe=styled.span.withConfig({shouldForwardProp:e=>e!==`iconCount`&&e!==`isCollapsed`})`
  display: none;
  justify-content: flex-end;
  bottom: 0;
  flex-direction: row;
  gap: var(--spacing-xs);
  align-items: center;
  margin-left: var(--sidebar-controls-margin-left);
  z-index: 2;
  background: var(--sidebar-bg-color);

  ${({isCollapsed:e})=>e&&css`
      flex-direction: column;
      margin-left: 0;
      gap: var(--sidebar-controls-collapsed-gap);
      padding: var(--sidebar-controls-collapsed-padding-vertical)
        var(--sidebar-controls-collapsed-padding-horizontal);
    `}

  @media screen and (min-width: ${k.small}) {
    display: flex;
  }

  @media print {
    display: none;
  }
`,fxe=styled.span.withConfig({shouldForwardProp:e=>e!==`isCollapsed`})`
  display: flex;
  bottom: 0;
  flex-direction: ${({isCollapsed:e})=>e?`column-reverse`:`row`};
  gap: ${({isCollapsed:e})=>e?`10px`:`var(--spacing-xs)`};
  align-items: center;
`;jo();var pxe=({layout:e,onClick:t,collapsedSidebar:n})=>{let{useTranslate:r}=sr(),{translate:i}=r(),a=e===fe.STACKED,o=e===fe.THREE_PANEL;return jsxs(uxe,{onClick:t,collapsedSidebar:n,children:[jsx(O4,{placement:n?`right`:`top`,arrowPosition:n?`center`:`right`,active:a,tip:a?i(`sidebar.actions.singleColumn`,`Single column`):i(`sidebar.actions.changeToSingleColumn`,`Switch to single column`),children:jsx(cxe,{size:`14px`,color:`--segmented-buttons-content-color`})}),jsx(O4,{active:o,placement:n?`right`:`top`,arrowPosition:n?`center`:`right`,tip:o?i(`sidebar.actions.twoColumns`,`Two columns`):i(`sidebar.actions.changeToTwoColumns`,`Switch to two columns`),children:jsx(lxe,{size:`14px`,color:`--segmented-buttons-content-color`})})]})};F();var mxe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M14 2H2C1.45 2 1 2.45 1 3V13C1 13.55 1.45 14 2 14H14C14.55 14 15 13.55 15 13V3C15 2.45 14.55 2 14 2ZM5 13H2V3H5V13ZM14 7.5H8.9L10.7 5.7L10 5L7 8L10 11L10.7 10.3L8.9 8.5H14V13H6V3H14V7.5Z`})})).attrs({"data-component-name":`icons/SidePanelCloseIcon/SidePanelCloseIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;F();var hxe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{d:`M14 2H2C1.45 2 1 2.45 1 3V13C1 13.55 1.45 14 2 14H14C14.55 14 15 13.55 15 13V3C15 2.45 14.55 2 14 2ZM5 13H2V3H5V13ZM14 13H6V8.5H11.1L9.3 10.3L10 11L13 8L10 5L9.3 5.7L11.1 7.5H6V3H14V13Z`})})).attrs({"data-component-name":`icons/SidePanelOpenIcon/SidePanelOpenIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;pe(),jo(),na(),F();var gxe=({layout:e,hideCollapseSidebarButton:t=!1,collapsedSidebar:n,isApiDocs:r,onChangeViewClick:i,onChangeCollapseSidebarClick:a,requestAccessButton:o,className:s})=>{let{useTelemetry:c,useTranslate:l}=sr(),{translate:u}=l(),d=c();return jsxs(dxe,{className:s,isCollapsed:n,"data-component-name":`Sidebar/SidebarActions`,children:[!t&&jsx(zg,{placement:n?`right`:`top`,tip:n?u(`sidebar.actions.show`,`Show sidebar`):u(`sidebar.actions.hide`,`Hide sidebar`),children:jsx(ta,{onClick:()=>{a(),n?d.sendSidebarExpandedMessage([Ve(`sidebarExpand`,`button`)]):d.sendSidebarCollapsedMessage([Ve(`sidebarCollapse`,`button`)])},size:`small`,variant:`outlined`,"aria-label":n?`Show sidebar`:`Hide sidebar`,icon:jsx(n?hxe:mxe,{})})}),r&&jsx(fxe,{isCollapsed:n,children:jsx(pxe,{collapsedSidebar:n,layout:e,onClick:()=>{i(),d.sendChangeLayoutClickedMessage([Ve(`changeLayout`,`button`)])}})}),!n&&o]})};function k4({full:e=!1}){let[t,n]=useState(!1);return useEffect(()=>{n(!0)},[]),t?jsx(`img`,{alt:`redocly logo`,onError:()=>n(!1),src:e?`https://cdn.redoc.ly/redoc/logo-mini-full.svg`:`https://cdn.redoc.ly/redoc/logo-mini.svg`}):null}pe(),Bt(),na(),qf();var _xe=()=>{let[e,t]=$o(Ch),[n,r]=$o(kh),i=jE();return jsxs(vxe,{$collapsedSidebar:n,children:[jsx(xxe,{$collapsedSidebar:n,children:jsx(`a`,{target:`_blank`,rel:`noopener noreferrer`,href:`https://redocly.com/redoc/`,onClick:()=>{i.sendLogoClickedMessage([{...VE.redoclyAttribution}])},children:n?jsx(k4,{}):jsxs(Fragment$1,{children:[jsx(`p`,{children:`API docs by`}),jsx(k4,{full:!0})]})})}),jsxs(bxe,{$collapsedSidebar:n,children:[jsx(yxe,{collapsedSidebar:n}),jsx(gxe,{layout:e,onChangeViewClick:()=>{let n=e===fe.STACKED?fe.THREE_PANEL:fe.STACKED;i.sendChangeLayoutClickedMessage([{...VE.changeLayoutButton,layoutType:n}]),t(n)},collapsedSidebar:n,onChangeCollapseSidebarClick:()=>{let e=!n;i.sendSidebarCollapsedMessage([{...VE.sidebarCollapse,collapsed:e}]),r(e)},isApiDocs:!0})]})]})},vxe=styled$1.div`
  display: flex;
  flex-direction: ${({$collapsedSidebar:e})=>e?`column`:`row`};
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-unit);
  position: sticky;
  top: calc(100vh);
  padding: var(--spacing-sm) var(--spacing-md);
`,yxe=({collapsedSidebar:e})=>{let[t,n]=$o(Oh),r=jE();return jsx(zg,{placement:e?`right`:`top`,tip:`Switch color mode`,children:jsx(ta,{"data-testid":`color-mode-switcher`,onClick:()=>{let e=t===_e.DARK?_e.LIGHT:_e.DARK;r.sendColorModeSwitchedMessage([{...VE.colorMode,mode:e}]),n(e)},"aria-label":t,size:`small`,variant:`outlined`,icon:jsx(axe,{mode:t})})})},bxe=styled$1.span`
  display: inline-flex;
  flex-direction: ${({$collapsedSidebar:e})=>e?`column`:`row`};
  align-items: center;
  gap: var(--spacing-unit);
`,xxe=styled$1.span`
  text-align: center;
  width: ${({$collapsedSidebar:e})=>e?`24px`:`auto`};
  height: ${({$collapsedSidebar:e})=>e?`24px`:`auto`};
  display: inline-flex;
  justify-content: center;
  bottom: 0;
  background: var(--color-blue-1);
  padding: ${({$collapsedSidebar:e})=>e?`0px`:`2px 8px`};
  margin-bottom: ${({$collapsedSidebar:e})=>e?`var(--spacing-unit)`:`0`};

  border-radius: 21px;
  &:hover {
    background: var(--color-blue-2);
  }
  a,
  a:visited,
  a:hover {
    color: var(--sidebar-text-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  img {
    height: ${({$collapsedSidebar:e})=>e?`14px`:`12px`};
    user-select: none;
  }
  p {
    font-size: calc(var(--font-size-xl) / 2);
    line-height: var(--line-height-sm);
    margin: 0;
    margin-right: 4px;
  }
  @media screen and (min-width: ${k.small}) {
    position: sticky;
    z-index: auto;
  }
`;F();var Sxe=styled(e=>jsx(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 3.5H14.5V4.5H1.5V3.5ZM1.5 7.5H14.5V8.5H1.5V7.5ZM1.5 11.5H14.5V12.5H1.5V11.5Z`})})).attrs({"data-component-name":`icons/MenuIcon/MenuIcon`})`
  path {
    fill: ${({color:e})=>g(e)};
  }

  height: ${({size:e})=>e||`16px`};
  width: ${({size:e})=>e||`16px`};
`;qf(),zi();var Cxe=()=>{let[e,t]=$o(Th),n=useCallback(()=>{t(!e)},[e,t]);return jsx(wxe,{type:`button`,onClick:n,"aria-label":e?`Close navigation menu`:`Open navigation menu`,"aria-expanded":e,"data-testid":`floating-button`,children:jsx(e?Ri:Sxe,{size:`24px`})})},wxe=styled$1.button`
  border: none;
  outline: none;
  user-select: none;
  background-color: var(--sidebar-bg-color, #fff);
  color: var(--color-primary-base, var(--color-blueberry-6));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 44px;
  z-index: 100;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  padding: 0;

  svg path {
    fill: var(--color-primary-base, var(--color-blueberry-6));
  }

  @media screen and (max-width: ${k.small}) {
    display: flex;
  }

  @media print {
    display: none;
  }
`;qf();var Txe=[`menu-item-type-group`,`menu-item-type-drilldown`];function Exe({className:e,children:t,collapsedSidebar:n=!1}){let[r,i]=$o(Th);useEffect(()=>{if(!r)return;let e=window.matchMedia(`(min-width: ${k.small})`),t=()=>{e.matches&&i(!1)};return t(),e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[r,i]),p1(r);let a=useCallback(e=>{if(!r)return;let t=e.target.closest(`a`);if(!t)return;let n=t.closest(`[data-component-name="Menu/MenuItem"]`);n&&Txe.some(e=>n.classList.contains(e))||i(!1)},[r,i]);return jsxs(Fragment$1,{children:[jsxs(Oxe,{className:e,$collapsedSidebar:n,$open:r,onClick:a,children:[n&&!r?null:t,jsx(_xe,{})]}),jsx(Cxe,{})]})}var Dxe=memo(Exe),Oxe=styled$1.div`
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  top: var(--navbar-stack-height, 0px);
  height: calc(100vh - var(--navbar-stack-height, 0px));
  height: calc(100dvh - var(--navbar-stack-height, 0px));
  flex-direction: column;
  background: var(--sidebar-bg-color, #fff);
  border-right: 1px solid var(--sidebar-border-color, #e0e0e0);

  [data-component-name='SidebarLogo/SidebarLogo'] {
    padding: var(--spacing-md, 16px) var(--spacing-sm, 12px);
  }

  [data-component-name='SidebarLogo/SidebarLogo'] img {
    /* Keep the logo compact inside the full-width mobile drawer. */
    max-width: min(140px, var(--sidebar-logo-max-width, 285px));
  }

  /* Mobile: full-width drawer toggled by the floating hamburger button. */
  position: fixed;
  z-index: 20;
  width: 100%;
  display: ${({$open:e})=>e?`flex`:`none`};

  @media screen and (min-width: ${k.small}) {
    position: sticky;
    z-index: auto;
    display: flex;

    [data-component-name='SidebarLogo/SidebarLogo'] img {
      max-width: var(--sidebar-logo-max-width, 285px);
    }

    ${({$collapsedSidebar:e})=>e?css`
            width: auto;
          `:css`
            width: var(--sidebar-width, 260px);
          `}
  }

  @media print {
    display: none;
  }
`;function kxe({scrollYOffset:e}){let t=Math.max(e?.()??0,0);return{"--navbar-height":`${t}px`,"--navbar-stack-height":`${t}px`}}function A4(e,t){if(e?.url)return{imageUrl:e.url,href:e.href||t,altText:e.altText,backgroundColor:e.backgroundColor}}var j4=o((()=>{}));j4(),Bt();var Axe=`try{var m=localStorage.getItem("${gh}");if(m!=="${_e.LIGHT}"&&m!=="${_e.DARK}")m=matchMedia("(prefers-color-scheme: dark)").matches?"${_e.DARK}":"${_e.LIGHT}";document.documentElement.classList.add(m)}catch(e){}`;function jxe(){return jsx(`div`,{hidden:!0,dangerouslySetInnerHTML:{__html:`<script>${Axe}<\/script>`}})}var M4={codeSnippet:{report:{hide:!0}},navigation:{actions:{items:[`mcp-cursor`,`mcp-vscode`]}}};function N4(e){return e}function P4({fallbackLanguage:e=`plaintext`,languages:t}){let n=new Map,r=new Map;for(let e of t){let t=R4(e.name);n.set(t,e),r.set(t,t);for(let n of e.aliases||[])r.set(R4(n),t)}let i=R4(e);function a(e){return r.get(R4(e||i))||i}function o(e,t,i=0){let s=n.get(a(t));return!s||i>24?[]:Mxe(e.length,s.tokenize(e,{hasLanguage(e){let t=r.get(R4(e));return!!(t&&n.has(t))},tokenize(e,t){return o(e,t,i+1)}}))}function s(e,t={}){let n=a(t.lang),r=o(e,n);return{code:e,lang:n,tokens:r.length?Nxe(e,r):[{value:e}]}}function c(e,t={}){let n=s(e,t),r=I4(F4(n.tokens,t));return{...n,html:`<pre class="th-code th-code--${U4(n.lang)}${t.lineNumbers?` th-code--line-numbers`:``}" data-language="${U4(n.lang)}"><code>${r}</code></pre>`}}function l({code:e,decorations:t,lang:n,lineNumbers:r,title:i}){let a=e.trimEnd(),o=c(a,{decorations:t,lang:n,lineNumbers:r});return{copyText:a,htmlMarkup:o.html,lang:o.lang,title:i,tokens:o.tokens}}return{highlight:c,highlightToHtml(e,t={}){return c(e,t).html},listLanguages(){return[...n.keys()]},normalizeLanguage:a,renderCodeBlockData:l,tokenize:s}}function F4(e,t={}){let n=e.map(e=>e.value).join(``),r=t.decorations||[],i=r.filter(Pxe),a=r.filter(Fxe);if(!(t.lineNumbers||a.length))return z4(e,0,n.length,i);let o=[],s=Ixe(n);for(let t=0;t<s.length;t++){let r=t+1,c=s[t],l=s[t+1]??n.length,u=l>c&&n[l-1]===`
`,d=u?l-1:l,f=a.filter(e=>Lxe(e.lines,r));o.push({type:`element`,classNames:[`th-line`,...f.flatMap(e=>V4(e.className))],data:{...Rxe(f),line:String(r)},children:z4(e,c,d,i)}),u&&o.push({type:`text`,value:`
`})}return o}function I4(e){let t=``;for(let n of e){if(n.type===`text`){t+=L4(n.value);continue}let e=n.classNames.map(U4).join(` `),r=Object.entries(n.data||{}).map(([e,t])=>` data-${U4(H4(e))}="${U4(t)}"`).join(``);t+=`<span${e?` class="${e}"`:``}${r}>${I4(n.children)}</span>`}return t}function L4(e){return e.replaceAll(`&`,`&amp;`).replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`).replaceAll(`"`,`&quot;`).replaceAll(`'`,`&#39;`)}function R4(e){return e.trim().toLowerCase()}function Mxe(e,t){let n=[],r=t.map(t=>({...t,start:Math.max(0,Math.min(e,t.start)),end:Math.max(0,Math.min(e,t.end))})).sort((e,t)=>e.start-t.start),i=0;for(let e of r)e.start>=e.end||e.start<i||(n.push(e),i=e.end);return n}function Nxe(e,t){let n=[],r=0;for(let i of t)i.start>r&&n.push({value:e.slice(r,i.start)}),n.push({className:i.className,value:e.slice(i.start,i.end)}),r=i.end;return r<e.length&&n.push({value:e.slice(r)}),n}function z4(e,t,n,r){let i=[],a=0;for(let o of e){let e=a+o.value.length,s=Math.max(t,a),c=Math.min(n,e);if(s<c){let e=new Set([s,c]);for(let t of r){let[n,r]=t.range;r<=s||n>=c||(e.add(Math.max(s,n)),e.add(Math.min(c,r)))}let t=[...e].sort((e,t)=>e-t);for(let e=0;e<t.length-1;e++){let n=t[e],s=t[e+1],c={type:`text`,value:o.value.slice(n-a,s-a)};o.className&&(c={type:`element`,classNames:[`th-token`,`th-${o.className}`],children:[c]});let l=r.filter(e=>e.range[0]<=n&&e.range[1]>=s);for(let e of l)c={type:`element`,classNames:[`th-decoration`,...V4(e.className)],data:B4(e.data),children:[c]};i.push(c)}}if(a=e,a>=n)break}return i}function Pxe(e){return`range`in e}function Fxe(e){return`lines`in e}function Ixe(e){let t=[0];for(let n=0;n<e.length;n++)e[n]===`
`&&n+1<e.length&&t.push(n+1);return t}function Lxe(e,t){return typeof e==`number`?e===t:t>=e[0]&&t<=e[1]}function Rxe(e){let t={};for(let n of e)Object.assign(t,B4(n.data));return t}function B4(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[zxe(e),String(t)]))}function zxe(e){return H4(e).replace(/[^a-z0-9_.:-]/gi,`-`)}function V4(e){return e?.trim().split(/\s+/).filter(Boolean)||[]}function H4(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function U4(e){return L4(e)}function W4(e){return t=>G4(t,e)}function G4(e,t,n=[]){let r=[...n],i=new Uint8Array(e.length);for(let e of n)i.fill(1,e.start,e.end);for(let n of t){if(`collect`in n){for(let t of n.collect(e))q4(r,i,t);continue}let t=Bxe(n.regex),a;for(;a=t.exec(e);){let e=n.group?a[n.group]:a[0];if(!e){a[0].length||t.lastIndex++;continue}let o=n.group?a[0].indexOf(e):0,s=a.index+o;q4(r,i,{start:s,end:s+e.length,className:typeof n.className==`function`?n.className(a):n.className})}}return r}function K4(e,t){return e.map(e=>({...e,start:e.start+t,end:e.end+t}))}function q4(e,t,n){return n.start>=n.end||n.start<0||n.end>t.length||Vxe(t,n.start,n.end)?!1:(e.push(n),t.fill(1,n.start,n.end),!0)}function Bxe(e){return new RegExp(e.source,e.flags.includes(`g`)?e.flags:`${e.flags}g`)}function Vxe(e,t,n){for(let r=t;r<n;r++)if(e[r])return!0;return!1}var Hxe=N4({name:`apache`,tokenize:W4([{className:`comment`,regex:/^\s*#.*$/gm},{className:`tag`,regex:/<\/?\s*([A-Za-z][\w.-]*)/g,group:1},{className:`keyword`,regex:/^\s*(?:AllowOverride|DirectoryIndex|DocumentRoot|ErrorLog|Header|Include|Listen|LogLevel|Options|ProxyPass|Redirect|Require|RewriteCond|RewriteEngine|RewriteRule|ServerAlias|ServerName|SetEnv|SSLEngine)\b/gim},{className:`string`,regex:/\b(?:[A-Za-z0-9.-]+\.[A-Za-z]{2,}|\*:\d+)\b/g},{className:`number`,regex:/\b\d+\b/g}])}),Uxe=N4({name:`css`,tokenize:W4([{className:e=>e[0].startsWith(`/*`)?`comment`:`string`,regex:/\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{className:`variable`,regex:/--[A-Za-z0-9_-]+/g},{className:`selector`,regex:/(^|[}\n])\s*([^@{}\n][^{}\n]*)(?=\s*\{)/g,group:2},{className:`property`,regex:/(?:^|[;{]\s*)([A-Za-z-]+)(?=\s*:)/gm,group:1},{className:`function`,regex:/\b[A-Za-z-]+(?=\()/g},{className:`number`,regex:/\b\d+(?:\.\d+)?(?:px|rem|em|%|s|ms|vh|vw|deg)?\b/g}])}),Wxe=N4({name:`diff`,aliases:[`patch`],tokenize:W4([{className:`meta`,regex:/^(?:@@|diff |index |--- |\+\+\+ ).*$/gm},{className:`deleted`,regex:/^-.*$/gm},{className:`inserted`,regex:/^\+.*$/gm}])}),Gxe=N4({name:`dockerfile`,aliases:[`docker`],tokenize:W4([{className:`comment`,regex:/^\s*#.*$/gm},{className:`keyword`,regex:/^\s*(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\b/gim},{className:`string`,regex:/\b[A-Za-z0-9._/-]+:[A-Za-z0-9._-]+\b/g},{className:`variable`,regex:/\$\{?[A-Za-z_][A-Za-z0-9_]*\}?/g},{className:`command`,regex:/\b(?:bun|npm|npx|pnpm|yarn|node|apt|apt-get|apk)\b/g}])});function J4(e,t,n=`html`){let r=[],i=[],a=0;for(;a<e.length;){if(e.startsWith(`<!--`,a)){let t=e.indexOf(`-->`,a+4),n=t<0?e.length:t+3;r.push({start:a,end:n,className:`comment`}),a=n;continue}if(n===`ejs`&&e.startsWith(`<%`,a)){let t=e.indexOf(`%>`,a+2),n=t<0?e.length:t;i.push({start:a+2,end:n,lang:`js`}),a=t<0?e.length:t+2;continue}if(e[a]!==`<`){a++;continue}let t=e[a+1]===`/`,o=a+(t?2:1),s=/^[A-Za-z][\w:.-]*/.exec(e.slice(o));if(!s){a++;continue}let c=Xxe(e,o+s[0].length);if(c<0){a++;continue}let l=s[0].toLowerCase();if(r.push({start:o,end:o+s[0].length,className:`tag`}),t||Kxe(e,o+s[0].length,c,r),!t&&(l===`script`||l===`style`)){let t=`</${l}`,n=e.toLowerCase().indexOf(t,c+1);if(n>=0){let t=qxe(l,e.slice(a,c+1));i.push({start:c+1,end:n,lang:t})}}a=c+1}n===`vue`&&Jxe(e,`{{`,`}}`,`js`,i),n===`svelte`&&Yxe(e,i);for(let n of i)n.start>=n.end||!t.hasLanguage(n.lang)||r.push(...K4(t.tokenize(e.slice(n.start,n.end),n.lang),n.start));return r}function Kxe(e,t,n,r){let i=e.slice(t,n),a=/\s([:@A-Za-z_][\w:.-]*)(?=\s*(?:=|\/?>))/g,o;for(;o=a.exec(i);){let e=o[0].indexOf(o[1]),n=t+o.index+e;r.push({start:n,end:n+o[1].length,className:`attr`})}let s=t;for(;s<n;){let t=e[s];if(t!==`"`&&t!==`'`){s++;continue}let i=Y4(e,s,t,n);r.push({start:s,end:i,className:`string`}),s=i}}function qxe(e,t){if(e===`style`)return`css`;let n=/\blang\s*=\s*["']?([\w-]+)/i.exec(t)?.[1];return n===`ts`||n===`typescript`?`ts`:`js`}function Jxe(e,t,n,r,i){let a=0;for(;(a=e.indexOf(t,a))>=0;){let o=e.indexOf(n,a+t.length);if(o<0)return;i.push({start:a+t.length,end:o,lang:r}),a=o+n.length}}function Yxe(e,t){let n=0;for(;n<e.length;){if(e[n]!==`{`||e[n+1]===`#`){n++;continue}let r=e.indexOf(`}`,n+1);if(r<0)return;t.push({start:n+1,end:r,lang:`js`}),n=r+1}}function Xxe(e,t){let n=t;for(;n<e.length;)if(e[n]===`"`||e[n]===`'`)n=Y4(e,n,e[n],e.length);else if(e[n]===`>`)return n;else n++;return-1}function Y4(e,t,n,r){let i=t+1;for(;i<r;)if(e[i]===`\\`)i+=2;else if(e[i]===n)return i+1;else i++;return r}var Zxe=N4({name:`ejs`,tokenize:(e,t)=>J4(e,t,`ejs`)}),Qxe=N4({name:`env`,aliases:[`dotenv`],tokenize:W4([{className:`comment`,regex:/^\s*#.*$/gm},{className:`property`,regex:/^(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)(?=\s*=)/gm,group:1},{className:`string`,regex:/=\s*(.*)$/gm,group:1}])}),$xe=N4({name:`html`,aliases:[`htm`,`xml`,`angular-html`],tokenize:(e,t)=>J4(e,t)}),eSe=N4({name:`http`,tokenize:W4([{className:`comment`,regex:/^\s*#.*$/gm},{className:`keyword`,regex:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PUT|TRACE)\b/gm},{className:`meta`,regex:/\bHTTP\/\d(?:\.\d)?\b/g},{className:`property`,regex:/^[A-Za-z][A-Za-z0-9-]+(?=:)/gm},{className:`string`,regex:/(?:https?:\/\/[^\s]+|\/[^\s]*|[A-Za-z-]+\/[A-Za-z0-9.+-]+)/g},{className:`number`,regex:/\b\d{3}\b/g}])}),tSe=[{className:`function`,regex:/@[A-Za-z_$][\w$]*/g},{className:`keyword`,regex:RegExp(`\\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|infer|instanceof|interface|is|keyof|let|module|namespace|new|of|override|package|private|protected|public|readonly|return|satisfies|set|static|super|switch|this|throw|try|type|typeof|using|var|while|with|yield)\\b`,`g`)},{className:`literal`,regex:/\b(?:false|null|true|undefined|NaN|Infinity)\b/g},{className:`number`,regex:/\b(?:0x[\da-f](?:_?[\da-f])*n?|0b[01](?:_?[01])*n?|0o[0-7](?:_?[0-7])*n?|\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:e[+-]?\d(?:_?\d)*)?n?)\b/gi},{className:`function`,regex:/\bfunction\s*\*?\s*([A-Za-z_$][\w$]*)/g,group:1},{className:`function`,regex:/(^|[^.A-Za-z0-9_$])([A-Za-z_$][\w$]*)\s*(?=\()/g,group:2},{className:`type`,regex:/\b(?:Array|Record|Promise|Readonly|Set|Map|WeakMap|WeakSet|string|number|boolean|bigint|symbol|object|unknown|never|void|any|[A-Z][A-Za-z0-9_$]*)\b/g},{className:`property`,regex:/(?:\.|\?\.)([A-Za-z_$][\w$]*)/g,group:1}];function X4(e,jsx=!1,t=!1){let n=jsx?new Uint8Array(e.length):void 0,r=[];Z4(e,jsx,t,n,r);let i=G4(e,tSe,r);return n?i.filter(e=>!n[e.start]):i}function Z4(e,jsx,t,n,r,i=0,a=e.length,o=!1){let s=[],c=0;for(;i<a;){let l=s.at(-1),u=c>(l||0),d=e[i],f=e[i+1];if(u){if(d===`{`){s.push(c),i++;continue}if(d!==`<`){let t=i;for(;i<e.length&&e[i]!==`<`&&e[i]!==`{`;)i++;n.fill(1,t,i);continue}}if(o&&!s.length&&!c&&d===`>`)return i;if(d===`/`&&f===`/`){let t=t3(e,i+2);r.push({start:i,end:t,className:`comment`}),i=t;continue}if(d===`/`&&f===`*`){let t=e.indexOf(`*/`,i+2),n=t<0?e.length:t+2;r.push({start:i,end:n,className:`comment`}),i=n;continue}if(d===`'`||d===`"`){let t=e3(e,i,d,o&&!s.length);r.push({start:i,end:t,className:`string`}),i=t;continue}if(d==="`"){i=nSe(e,i,r,jsx,t);continue}if(d===`/`&&!(jsx&&e[i-1]===`<`)&&oSe(e,i)){let t=sSe(e,i);if(t>i+1){r.push({start:i,end:t,className:`literal`}),i=t;continue}}if(!jsx){i++;continue}if(!u&&d===`{`&&(s.length||o)){s.push(s.length?l:c),i++;continue}if(!u&&s.length&&d===`}`){s.pop(),i++;continue}if(d!==`<`){i++;continue}if(e.startsWith(`</>`,i)){c--,i+=3;continue}if(e.startsWith(`<>`,i)&&(u||$4(e,i,t))){c++,i+=2;continue}let p=e[i+1]===`/`,m=i+(p?2:1),h=/^[A-Za-z][\w:.-]*/.exec(e.slice(m));if(!h||!p&&!u&&!$4(e,i,t)){i++;continue}let g=Z4(e,!0,t,n,r,m+h[0].length,a,!0);if(g<0||aSe(e,i,g,p)){i++;continue}r.push({start:m,end:m+h[0].length,className:`tag`}),p||iSe(e,m+h[0].length,g,r);let _=/\/\s*$/.test(e.slice(m,g));p?c--:_||c++,i=g+1}return-1}function nSe(e,t,n,jsx,r){let i=t,a=t+1;for(;a<e.length;){if(e[a]===`\\`){a+=2;continue}if(e[a]==="`")return n.push({start:i,end:a+1,className:`string`}),a+1;if(e[a]===`$`&&e[a+1]===`{`){i<a&&n.push({start:i,end:a,className:`string`}),n.push({start:a,end:a+2,className:`operator`});let t=Q4(e,a+2),o=t<0?e.length:t,s=e.slice(a+2,o);if(n.push(...K4(X4(s,jsx,r),a+2)),t<0)return e.length;n.push({start:t,end:t+1,className:`operator`}),a=t+1,i=a;continue}a++}return i<e.length&&n.push({start:i,end:e.length,className:`string`}),e.length}function Q4(e,t){let n=1,r=t;for(;r<e.length;){let t=e[r],i=e[r+1];if(t===`'`||t===`"`){r=e3(e,r,t);continue}if(t==="`"){r=rSe(e,r);continue}if(t===`/`&&i===`/`){r=t3(e,r+2);continue}if(t===`/`&&i===`*`){let t=e.indexOf(`*/`,r+2);r=t<0?e.length:t+2;continue}if(t===`{`&&n++,t===`}`&&--n===0)return r;r++}return-1}function rSe(e,t){let n=t+1;for(;n<e.length;)if(e[n]===`\\`)n+=2;else if(e[n]==="`")return n+1;else if(e[n]===`$`&&e[n+1]===`{`){let t=Q4(e,n+2);n=t<0?e.length:t+1}else n++;return e.length}function iSe(e,t,n,r){let i=e.slice(t,n),a=/\s([:@A-Za-z_$][\w$:.-]*)(?=\s*(?:=|\/?>))/g,o;for(;o=a.exec(i);){let e=t+o.index+1;r.push({start:e,end:e+o[1].length,className:`attr`})}}function $4(e,t,n){if(n&&/^\s*$/.test(e.slice(e.lastIndexOf(`
`,t-1)+1,t)))return!0;let r=e.slice(0,t).trimEnd();return!r||/\b(?:return|case|yield)$/.test(r)?!0:/(?:[=([{,:;!&|?]|>)$/.test(r)}function aSe(e,t,n,r){if(r)return!1;let i=e.slice(t+1,n),a=e.slice(n+1).trimStart();return/\s+extends\s+/.test(i)||a[0]===`(`&&!i.trimEnd().endsWith(`/`)}function oSe(e,t){let n=e.slice(0,t).trimEnd();return!n||/\b(?:case|delete|in|instanceof|of|return|throw|typeof|void|yield)$/.test(n)?!0:/[=([{,:;!&|?~+*%^<>-]$/.test(n)}function sSe(e,t){let n=!1,r=t+1;for(;r<e.length&&e[r]!==`
`;)if(e[r]===`\\`)r+=2;else if(e[r]===`[`)n=!0,r++;else if(e[r]===`]`)n=!1,r++;else if(e[r]===`/`&&!n){for(r++;/[a-z]/i.test(e[r]||``);)r++;return r}else r++;return t+1}function e3(e,t,n,r=!1){let i=t+1;for(;i<e.length;)if(e[i]===`\\`)i+=2;else if(e[i]===n)return i+1;else if(!r&&e[i]===`
`)return i;else i++;return e.length}function t3(e,t){let n=e.indexOf(`
`,t);return n<0?e.length:n}var cSe=N4({name:`js`,aliases:[`javascript`,`mjs`,`cjs`,`js-vue`],tokenize:e=>X4(e)}),lSe=N4({name:`json`,aliases:[`jsonc`,`json5`],tokenize:W4([{className:e=>e[0].startsWith(`//`)||e[0].startsWith(`/*`)?`comment`:e[1]?`property`:`string`,regex:/\/\/[^\n]*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"\\])*")(?=\s*:)|"(?:\\.|[^"\\])*"/g},{className:`literal`,regex:/\b(?:false|null|true)\b/g},{className:`number`,regex:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/gi}])}),uSe=N4({name:`jsx`,tokenize:e=>X4(e,!0)}),dSe=N4({name:`markdown`,aliases:[`md`],tokenize(e,t){return G4(e,[{className:`heading`,regex:/^#{1,6}\s.*$/gm},{className:`heading`,regex:/^.+\n(?:=+|-+)\s*$/gm},{className:`code-inline`,regex:/`[^`\n]+`/g},{className:`link`,regex:/!?\[[^\]]+\]\([^)]+\)/g},{className:`meta`,regex:/^\s{0,3}(?:>|[-*+] |\d+\. )/gm}],fSe(e,t))}});function fSe(e,t){let n=[],r=/^( {0,3})(`{3,}|~{3,})\s*([^\n]*)$/gm,i;for(;i=r.exec(e);){let a=i[2],o=e.indexOf(`
`,i.index+i[0].length);if(o<0)break;let s=RegExp(`^ {0,3}${a[0]}{${a.length},}\\s*$`,`gm`);s.lastIndex=o+1;let c=s.exec(e),l=c?.index??e.length,u=i[3].trim().split(/\s+/)[0],d=u&&t.hasLanguage(u)?K4(t.tokenize(e.slice(o+1,l),u),o+1):[];n.push({start:i.index,end:o,className:`meta`}),n.push(...pSe(o+1,l,d)),c&&n.push({start:c.index,end:c.index+c[0].length,className:`meta`}),r.lastIndex=c?c.index+c[0].length:e.length}return n}function pSe(e,t,n){let r=[],i=e;for(let e of[...n].sort((e,t)=>e.start-t.start))e.start>i&&r.push({start:i,end:e.start,className:`code-inline`}),r.push(e),i=e.end;return i<t&&r.push({start:i,end:t,className:`code-inline`}),r}var mSe=N4({name:`mermaid`,tokenize:W4([{className:`comment`,regex:/^\s*%%.*$/gm},{className:`keyword`,regex:/^\s*(?:classDiagram|erDiagram|flowchart|gantt|gitGraph|graph|journey|mindmap|pie|quadrantChart|requirementDiagram|sequenceDiagram|stateDiagram-v2|timeline)\b/gm},{className:`operator`,regex:/-->>?|---|==>|-.->|<--?>|:::|\|/g},{className:`string`,regex:/"(?:\\.|[^"\\])*"/g}])}),hSe=N4({name:`nginx`,tokenize:W4([{className:`comment`,regex:/#.*$/gm},{className:`string`,regex:/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{className:`keyword`,regex:/\b(?:add_header|client_max_body_size|events|http|include|listen|location|map|proxy_pass|proxy_set_header|return|server|server_name|ssl_certificate|ssl_certificate_key|upstream)\b/g},{className:`variable`,regex:/\$[A-Za-z_][A-Za-z0-9_]*/g},{className:`number`,regex:/\b\d+\b/g},{className:`string`,regex:/(?:\/[^\s;{}]*|https?:\/\/[^\s;{}]+)/g}])}),gSe=N4({name:`plaintext`,aliases:[`text`,`txt`,`-->`],tokenize:()=>[]}),_Se=N4({name:`python`,aliases:[`py`],tokenize(e){return G4(e,[{className:e=>e[0].startsWith(`#`)?`comment`:`string`,regex:/#[^\n]*|(?:br|rb|fr|rf|[rubf])?(?:"""[\s\S]*?"""|'''[\s\S]*?'''|"(?:\\.|[^"\\\n])*"|'(?:\\.|[^'\\\n])*')/gi},{className:`keyword`,regex:/\b(?:and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{className:`literal`,regex:/\b(?:False|None|True|NotImplemented|Ellipsis)\b/g},{className:`function`,regex:/@[A-Za-z_][\w.]*/g},{className:`function`,regex:/\bdef\s+([A-Za-z_]\w*)/g,group:1},{className:`type`,regex:/\b(?:bool|bytes|dict|float|frozenset|int|list|object|set|str|tuple|type)\b/g},{className:`number`,regex:/\b(?:0x[\da-f_]+|0b[01_]+|0o[0-7_]+|\d[\d_]*(?:\.\d[\d_]*)?(?:e[+-]?\d[\d_]*)?j?)\b/gi}])}}),vSe=N4({name:`scheme`,aliases:[`scm`,`racket`],tokenize:W4([{className:`comment`,regex:/;[^\n]*|#\|[\s\S]*?\|#/g},{className:`string`,regex:/"(?:\\.|[^"\\])*"/g},{className:`keyword`,regex:/\b(?:and|begin|case|cond|define|delay|do|else|if|lambda|let|let\*|letrec|or|quasiquote|quote|set!|unquote)\b/g},{className:`literal`,regex:/#(?:t|f|true|false)\b/g},{className:`number`,regex:/(?:^|[\s(])(-?\d+(?:\.\d+)?)(?=[\s)])/g,group:1},{className:`function`,regex:/\(define\s+\(([A-Za-z_+\-*/<>=!?][\w+\-*/<>=!?]*)/g,group:1}])}),ySe=N4({name:`shell`,aliases:[`bash`,`sh`,`zsh`,`cmd`,`console`],tokenize(e){return G4(e,[{collect:bSe},{className:`variable`,regex:/\$[A-Za-z_][A-Za-z0-9_]*|\b[A-Z_][A-Z0-9_]*(?==)/g},{className:`keyword`,regex:/\b(?:case|do|done|elif|else|esac|export|fi|for|function|if|in|select|then|time|until|while)\b/g},{className:`command`,regex:/(^|[\n;|&])\s*([A-Za-z0-9_./-]+)(?=\s|$)/g,group:2}])}});function bSe(e){let t=[];xSe(e,t);let n=0;for(;n<e.length;){if(CSe(n,t)){n=t.find(e=>e.start<=n&&e.end>n).end;continue}let r=e[n];if(r===`"`||r===`'`){let i=r,a=n+1;for(;a<e.length;)if(e[a]===`\\`&&i===`"`)a+=2;else if(e[a]===i){a++;break}else a++;t.push({start:n,end:a,className:`string`}),n=a;continue}if(r===`$`&&e[n+1]===`{`){let r=e.indexOf(`}`,n+2),i=r<0?e.length:r+1;t.push({start:n,end:i,className:`variable`}),n=i;continue}if(r===`#`&&(n===0||e[n-1]===`
`||/[\s;|&()]/.test(e[n-1]))){let r=e.indexOf(`
`,n),i=r<0?e.length:r;t.push({start:n,end:i,className:`comment`}),n=i;continue}n++}return t}function xSe(e,t){let n=/<<-?\s*(['"]?)([A-Za-z_][A-Za-z0-9_]*)\1/g,r;for(;r=n.exec(e);){if(e[r.index-1]===`<`||SSe(e,r.index))continue;let n=e.indexOf(`
`,r.index+r[0].length);if(n<0)continue;let i=n+1,a=RegExp(`^\\t*${wSe(r[2])}\\s*$`,`m`).exec(e.slice(i));if(!a){t.push({start:i,end:e.length,className:`string`});continue}let o=i+a.index;o>i&&t.push({start:i,end:o,className:`string`});let s=i+a.index;t.push({start:s,end:s+a[0].length,className:`meta`})}}function SSe(e,t){let n=e.lastIndexOf(`
`,t-1)+1,r=``;for(let i=n;i<t;i++)e[i]===`\\`&&r!==`'`?i++:r&&e[i]===r?r=``:!r&&(e[i]===`"`||e[i]===`'`)&&(r=e[i]);return!!r}function CSe(e,t){return t.some(t=>t.start<=e&&t.end>e)}function wSe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}var TSe=N4({name:`sql`,tokenize:W4([{className:e=>e[0].startsWith(`--`)||e[0].startsWith(`/*`)?`comment`:`string`,regex:/--[^\n]*|\/\*[\s\S]*?\*\/|'(?:''|[^'])*'|"(?:""|[^"])*"/g},{className:`keyword`,regex:/\b(?:add|all|alter|and|as|asc|begin|between|by|case|check|column|commit|constraint|create|cross|database|default|delete|desc|distinct|drop|else|end|exists|foreign|from|full|group|having|index|inner|insert|into|join|key|left|like|limit|not|null|on|or|order|outer|primary|references|returning|right|rollback|select|set|table|then|union|unique|update|using|values|view|when|where|with)\b/gi},{className:`literal`,regex:/\b(?:false|null|true)\b/gi},{className:`number`,regex:/\b\d+(?:\.\d+)?\b/g},{className:`function`,regex:/\b[A-Za-z_][A-Za-z0-9_]*(?=\s*\()/g}])}),ESe=N4({name:`svelte`,tokenize:(e,t)=>J4(e,t,`svelte`)}),DSe=N4({name:`toml`,tokenize:W4([{className:e=>e[0].startsWith(`#`)?`comment`:`string`,regex:/#[^\n]*|"""[\s\S]*?"""|'''[\s\S]*?'''|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{className:`heading`,regex:/^\s*\[\[?[^\]]+\]\]?/gm},{className:`property`,regex:/^\s*([A-Za-z0-9_.-]+)(?=\s*=)/gm,group:1},{className:`literal`,regex:/\b(?:false|true)\b/g},{className:`number`,regex:/\b\d+(?:\.\d+)?\b/g}])}),OSe=N4({name:`ts`,aliases:[`typescript`,`angular-ts`],tokenize:e=>X4(e)}),kSe=new Set([`@catch`,`@case`,`@default`,`@else`,`@empty`,`@for`,`@if`,`@pending`,`@switch`,`@try`]),ASe=N4({name:`tsrx`,aliases:[`octane`],tokenize(e){let t=X4(e,!0,!0).map(t=>t.className===`function`&&kSe.has(e.slice(t.start,t.end))?{...t,className:`keyword`}:t),n=/@\{/g,r;for(;r=n.exec(e);){let e={start:r.index,end:r.index+r[0].length,className:`keyword`};t.some(t=>jSe(t,e))||t.push(e)}return t}});function jSe(e,t){return e.start<t.end&&t.start<e.end}var MSe=N4({name:`tsx`,tokenize:e=>X4(e,!0)}),NSe=N4({name:`vue`,tokenize:(e,t)=>J4(e,t,`vue`)}),PSe=N4({name:`yaml`,aliases:[`yml`],tokenize(e){let t=[...FSe(e),...ISe(e)];return G4(e,[{className:`property`,regex:/^[ \t-]*([A-Za-z0-9_.-]+)(?=\s*:)/gm,group:1},{collect:LSe},{className:`literal`,regex:/\b(?:false|null|true|yes|no|on|off|~)\b/gi},{className:`number`,regex:/\b\d+(?:\.\d+)?\b/g}],t)}});function FSe(e){let t=[],n=/^(\s*)[\w.-]+:\s*[>|][+-]?\s*(?:#.*)?$/gm,r;for(;r=n.exec(e);){let n=e.indexOf(`
`,r.index+r[0].length);if(n<0)continue;let i=r[1].length,a=n+1;for(;a<e.length;){let t=e.indexOf(`
`,a),n=t<0?e.length:t,r=e.slice(a,n);if(r.trim()&&(r.match(/^\s*/)?.[0].length||0)<=i)break;a=t<0?e.length:t+1}a>n+1&&t.push({start:n+1,end:a,className:`string`})}return t}function ISe(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===`"`||r===`'`){let i=r,a=n+1;for(;a<e.length&&e[a]!==`
`;)if(e[a]===`\\`&&i===`"`)a+=2;else if(e[a]===i){a++;break}else a++;t.push({start:n,end:a,className:`string`}),n=a;continue}if(r===`#`&&(n===0||e[n-1]===`
`||/\s/.test(e[n-1]))){let r=e.indexOf(`
`,n),i=r<0?e.length:r;t.push({start:n,end:i,className:`comment`}),n=i;continue}n++}return t}function LSe(e){let t=[],n=/:\s*([^\n]*)/g,r;for(;r=n.exec(e);){let n=r[1],i=n.trimEnd();if(!i)continue;let a=r.index+r[0].indexOf(n),o=a+i.length,s=/\s+#/.exec(i);for(s&&(o=a+s.index);o>a&&/\s/.test(e[o-1]);)o--;o>a&&t.push({start:a,end:o,className:`string`})}return t}var n3=[Hxe,Uxe,Wxe,Gxe,Zxe,Qxe,$xe,eSe,cSe,lSe,uSe,dSe,mSe,hSe,gSe,_Se,vSe,ySe,TSe,ESe,DSe,OSe,ASe,MSe,NSe,PSe];P4({languages:n3});function RSe(e,t){let n=[],r=new Uint8Array(e.length);for(let{className:i,regex:a,group:o}of t)for(let t of e.matchAll(a)){let e=o?t[o]:t[0];if(!e)continue;let a=t.index+(o?t[0].indexOf(e):0),s=a+e.length;r.subarray(a,s).some(Boolean)||(r.fill(1,a,s),n.push({className:typeof i==`function`?i(t):i,start:a,end:s}))}return n}function r3(e,t){return{className:e,regex:RegExp(`\\b(?:${t.split(` `).join(`|`)})\\b`,`g`)}}function i3(e,t){return{className:e=>t.test(e[0])?`comment`:`string`,regex:e}}var a3=i3(/\/\/[^\n]*|\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\\n])*"|'(?:\\.|[^'\\\n])*'/g,/^\/[/*]/),o3=i3(/\/\/[^\n]*|\/\*[\s\S]*?\*\/|"""[\s\S]*?"""|"(?:\\.|[^"\\\n])*"|'(?:\\.|[^'\\\n])*'/g,/^\/[/*]/),s3={className:`number`,regex:/\b(?:0x[\da-f_']+|0b[01_']+|\d[\d_']*(?:\.\d[\d_]*)?(?:e[+-]?\d[\d_]*)?[a-z]*)\b/gi},c3={className:`function`,regex:/\b([A-Za-z_]\w*)(?=\s*\()/g,group:1},l3={className:`type`,regex:/\b[A-Z]\w*\b/g},u3={className:`meta`,regex:/@[A-Za-z_][\w.]*/g},d3={className:`meta`,regex:/^[ \t]*#[ \t]*\w+/gm},f3=`auto break case const continue default do else enum extern for goto if inline register restrict return sizeof static struct switch typedef union volatile while`,p3=`bool char double float int long short signed unsigned void size_t`;function m3(e,t,n){return N4({name:e,aliases:t,tokenize:e=>RSe(e,n)})}var zSe=[m3(`c`,[`cpp`,`c++`,`cc`,`h`,`hpp`],[a3,d3,r3(`keyword`,`${f3} alignas alignof catch class constexpr const_cast decltype delete dynamic_cast explicit friend mutable namespace new noexcept operator private protected public reinterpret_cast static_assert static_cast template this throw try typeid typename using virtual`),r3(`type`,p3),r3(`literal`,`true false NULL nullptr`),c3,s3]),m3(`objective-c`,[`objectivec`,`objc`],[a3,d3,{className:`keyword`,regex:/@[A-Za-z]+/g},r3(`keyword`,`${f3} self super id instancetype`),r3(`type`,`${p3} BOOL NSInteger NSUInteger`),r3(`literal`,`YES NO nil Nil NULL`),c3,s3]),m3(`csharp`,[`c#`,`cs`,`c#+newtonsoft`,`dotnet`],[a3,d3,r3(`keyword`,`abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach get goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref return sealed set sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using value var virtual volatile when where while yield`),r3(`type`,`bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort void`),r3(`literal`,`true false null`),c3,l3,s3]),m3(`java`,[`java8+apache`],[a3,u3,r3(`keyword`,`abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package permits private protected public record return sealed static strictfp super switch synchronized this throw throws transient try var volatile while yield`),r3(`type`,`boolean byte char double float int long short void`),r3(`literal`,`true false null`),c3,l3,s3]),m3(`kotlin`,[`kt`,`kts`],[o3,u3,r3(`keyword`,`abstract annotation as break by catch class companion const constructor continue crossinline data do else enum external final finally for fun get if import in infix init inline inner interface internal is lateinit noinline object open operator out override package private protected public reified return sealed set super suspend tailrec this throw try typealias val var vararg when where while`),r3(`literal`,`true false null`),c3,l3,s3]),m3(`scala`,[`sc`],[o3,u3,r3(`keyword`,`abstract case catch class def do else end enum export extends final finally for forSome given if implicit import lazy match new object override package private protected return sealed super then this throw trait try type using val var while with yield`),r3(`literal`,`true false null`),c3,l3,s3]),m3(`swift`,[],[o3,u3,{className:`meta`,regex:/#\w+/g},r3(`keyword`,`actor any as associatedtype async await break case catch class continue default defer deinit do else enum extension fallthrough fileprivate for func guard if import in init inout internal is let open operator private protocol public repeat rethrows return self Self some static struct subscript super switch throw throws try typealias var where while`),r3(`literal`,`true false nil`),c3,l3,s3]),m3(`go`,[`golang`],[i3(/\/\/[^\n]*|\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\\n])*"|`[^`]*`|'(?:\\.|[^'\\\n])*'/g,/^\/[/*]/),r3(`keyword`,`break case chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var`),r3(`type`,`any bool byte complex64 complex128 error float32 float64 int int8 int16 int32 int64 rune string uint uint8 uint16 uint32 uint64 uintptr`),r3(`literal`,`true false nil iota`),c3,s3]),m3(`graphql`,[`gql`],[i3(/#[^\n]*|"""[\s\S]*?"""|"(?:\\.|[^"\\\n])*"/g,/^#/),r3(`keyword`,`directive enum extend fragment implements input interface mutation on query repeatable scalar schema subscription type union`),r3(`literal`,`true false null`),{className:`variable`,regex:/\$\w+/g},{className:`meta`,regex:/@\w+/g},l3,s3]),m3(`perl`,[`pl`],[i3(/#[^\n]*|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,/^#/),{className:`variable`,regex:/[$@%][A-Za-z_][\w:]*/g},r3(`keyword`,`and cmp do else elsif eq foreach for ge gt if last le local lt my ne next no not or our package print qq qw redo require return sub unless until use while xor`),c3,s3]),m3(`php`,[],[i3(/\/\/[^\n]*|#(?!\[)[^\n]*|\/\*[\s\S]*?\*\/|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,/^(?:\/[/*]|#)/),{className:`meta`,regex:/<\?(?:php|=)?|\?>/g},{className:`variable`,regex:/\$\w+/g},r3(`keyword`,`abstract and array as break callable case catch class clone const continue declare default do echo else elseif empty enum extends final finally fn for foreach function global goto if implements include include_once instanceof insteadof interface isset list match namespace new or print private protected public readonly require require_once return static switch throw trait try unset use var while xor yield`),{className:`literal`,regex:/\b(?:true|false|null)\b/gi},c3,l3,s3]),m3(`ruby`,[`rb`],[i3(/^=begin[\s\S]*?^=end|#[^\n]*|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/gm,/^(?:=begin|#)/),{className:`literal`,regex:/(?<![:\w]):[A-Za-z_]\w*[?!]?/g},{className:`variable`,regex:/@{1,2}\w+|\$\w+/g},r3(`keyword`,`alias and attr_accessor attr_reader attr_writer begin break case class def defined do else elsif end ensure extend for if in include lambda module next not or private proc protected public puts raise redo require require_relative rescue retry return self super then undef unless until when while yield`),r3(`literal`,`true false nil`),l3,s3])];Km();var BSe=P4({languages:[...n3,...zSe]}),VSe={"application/json-seq":`json`,clike:`plaintext`,curl:`shell`,"json-seq":`json`,jsonl:`json`,"multipart-mixed":`http`,"multipart/mixed":`http`,ndjson:`json`,"node.js":`js`,sse:`yaml`,viml:`plaintext`},HSe={attr:`--code-block-tokens-attr-name-color`,"code-inline":`--code-block-tokens-default-color`,command:`--code-block-tokens-function-color`,comment:`--code-block-tokens-comment-color`,deleted:`--code-block-tokens-deleted-color`,function:`--code-block-tokens-function-color`,heading:`--code-block-tokens-keyword-color`,inserted:`--code-block-tokens-inserted-color`,keyword:`--code-block-tokens-keyword-color`,link:`--code-block-tokens-link-color`,literal:`--code-block-tokens-boolean-color`,meta:`--code-block-tokens-comment-color`,number:`--code-block-tokens-number-color`,operator:`--code-block-tokens-operator-color`,property:`--code-block-tokens-property-string-color`,selector:`--code-block-tokens-selector-color`,string:`--code-block-tokens-string-color`,tag:`--code-block-tokens-tag-color`,type:`--code-block-tokens-class-name-color`,variable:`--code-block-tokens-variable-color`},USe={yaml:{property:`--code-block-tokens-tag-color`}};function WSe(e){let t=Um(e?.trim());return VSe[t]??t}function GSe(e,t){for(let n of e){let e=n.slice(3),r=USe[t]?.[e]??HSe[e];if(r)return r}}function h3(e,t){let n=``;for(let r of e){if(r.type===`text`){n+=L4(r.value);continue}let e=r.classNames.includes(`th-line`),i=GSe(r.classNames,t.language),a=i?` style="color: var(${i})"`:``,o=``;for(let[e,t]of Object.entries(r.data??{}))o+=` data-${e}="${L4(t)}"`;t.lineNumberOffset!==void 0&&r.data?.line&&(o+=` data-line-number="${t.lineNumberOffset+Number(r.data.line)}"`);let s=(e?[...r.classNames,`line`]:r.classNames).map(L4).join(` `);n+=`<span class="${s}"${a}${o}>${h3(r.children,t)}</span>`}return n}function KSe(e,t,n){let{startLineNumber:r=1,withLineNumbers:i}=n??{},a=BSe.tokenize(e,{lang:WSe(t)}),o=h3(F4(a.tokens,{lineNumbers:!0}),{language:a.lang,lineNumberOffset:i?r-1:void 0}),s=L4(a.lang);return`<code class="th-code th-code--${s}" data-language="${s}">${o}</code>`}var qSe={highlight:KSe};function JSe(){return qSe}B();var YSe={[L.QUERY]:`QUERY`,[L.MUTATION]:`MUTATION`,[L.SUBSCRIPTION]:`SUBSCRIPTION`};function XSe(e){if(!e)return;let t=uq(e),n=t.findIndex(e=>e===`paths`||e===`webhooks`);return n>=0?t[n+1]:void 0}function ZSe(e){if(e.httpVerb)return e.httpVerb.toUpperCase();let t=e.content?.itemVariant;return t?YSe[t]:void 0}function QSe(e,t=e=>e){let n=[],r=(e,i)=>{for(let a of e){let e=ZSe(a);if(e&&a.link){let r=a.content?.meta,o=XSe(r?.pointer);n.push({method:e,title:a.label??``,url:t(a.link),...o?{path:o}:{},...i?{section:i}:{},...r?.deprecated===!0?{deprecated:!0}:{}})}a.items&&r(a.items,a.label||i)}};return r(e),n}function $Se(e,t){let n=t.url?.trim()??``,r=t.method?.trim().toLowerCase()??``,i=t.path?.trim()??``;if(n)return e.find(e=>e.url===n||e.url.endsWith(n));if(r||i)return e.find(e=>(!r||e.method.toLowerCase()===r)&&(!i||e.path===i||e.title===i))}function eCe(e,t){let n=t.trim().toLowerCase();return n?e.filter(e=>[e.method,e.path,e.title,e.section].filter(e=>!!e).join(` `).toLowerCase().includes(n)):e}var g3=24e3;function _3(e){return{content:[{type:`text`,text:e.length>24e3?`${e.slice(0,g3)}\n\n[truncated: the full text is longer than ${g3} characters]`:e}]}}function v3(e){return _3(JSON.stringify(e,null,2))}function y3(e){return{content:[{type:`text`,text:e}],isError:!0}}QR();function tCe(e){return e===`serverValues`||e.startsWith(`x-default`)}function nCe(e){return{servers:(e.servers??[]).map(e=>({url:e.url,...e.description?{description:e.description}:{}})),securitySchemes:Object.entries(e.securitySchemeStore??{}).map(([e,t])=>({id:e,...V(t)?Object.fromEntries(Object.entries(t).filter(([e])=>!tCe(e))):{}}))}}function rCe(){if(typeof document>`u`)return;let e=document.modelContext??navigator.modelContext;return typeof e?.registerTool==`function`?e:void 0}async function iCe(e,t,n){let r=rCe();if(!r)return[];let i=[];for(let a of e){if(t.aborted)break;try{await r.registerTool({name:a.name,title:a.title,description:a.description,...a.inputSchema?{inputSchema:a.inputSchema}:{},...a.annotations?{annotations:a.annotations}:{},execute:(e,t)=>aCe(a,e,t,n)},{signal:t}),i.push(a.name)}catch(e){console.warn(`WebMCP: failed to register the "${a.name}" tool`,e)}}return i.length&&n?.registered(i.length),i}async function aCe(e,t,n,r){let i=`answered`;try{let r=await e.execute(oCe(t),n);return r.isError&&(i=`rejected`),r}catch(t){i=`failed`;let n=t instanceof Error?t.message:String(t);return y3(`The "${e.name}" tool failed: ${n}`)}finally{r?.called(e.name,i)}}function oCe(e){let t=typeof e==`string`?sCe(e):e;return typeof t==`object`&&t&&!Array.isArray(t)?t:{}}function sCe(e){try{return JSON.parse(e)}catch{return}}function cCe({items:e,specType:t,definition:n}){return async r=>{let i=b3(e,r.url),a=Lq(t,i?.content,i?.label);return a?await R$(t,n,a):void 0}}function b3(e,t){for(let n of e){if(n.link===t)return n;let e=n.items?b3(n.items,t):void 0;if(e)return e}}var x3=100,lCe=500;function uCe(e,t,n){let r=typeof e==`number`?e:Number(e);return!Number.isFinite(r)||r<=0?t:Math.min(Math.floor(r),n)}function dCe({items:e,store:t,resolveDocUrl:n,getOperationDetail:r}){let i=QSe(e,n);return[{name:`list_api_operations`,title:`List API operations`,description:`List the operations of the API documented on this page, with their method, path and documentation URL. Optionally filter by a keyword.`,inputSchema:{type:`object`,properties:{query:{type:`string`,description:`Keyword to filter by summary, path or method`},limit:{type:`integer`,description:`Maximum number of operations, ${x3} by default`}},additionalProperties:!1},annotations:{readOnlyHint:!0,untrustedContentHint:!0},execute:async e=>{let n=typeof e.query==`string`?e.query:``,r=eCe(i,n);return v3({specType:t.specType,operationCount:r.length,operations:r.slice(0,uCe(e.limit,x3,lCe))})}},{name:`get_api_operation`,title:`Get an API operation`,description:`Return the full reference for one operation of the API on this page: parameters, request body, responses and examples. Identify it by method and path, or by its documentation URL.`,inputSchema:{type:`object`,properties:{method:{type:`string`,description:`HTTP method, for example GET`},path:{type:`string`,description:`Operation path, for example /museum-hours`},url:{type:`string`,description:`Documentation URL of the operation`}},additionalProperties:!1},annotations:{readOnlyHint:!0,untrustedContentHint:!0},execute:async(e,t)=>{let n=typeof e.url==`string`?e.url:void 0,a=typeof e.method==`string`?e.method:void 0,o=typeof e.path==`string`?e.path:void 0;if(!n&&!a&&!o)return y3(`Identify the operation by method and path, or by its documentation URL.`);let s=$Se(i,{url:n,method:a,path:o});if(!s)return y3(`No such operation on this page. Call list_api_operations to see what is available.`);let c=`# ${s.method} ${s.path??s.title}\n\nDocumentation: ${s.url}\n`,l=await r?.(s,t);return _3(l?`${c}\n${l}`:`${c}\n${JSON.stringify(s,null,2)}`)}},{name:`get_api_authentication`,title:`Get API authentication`,description:`Return the servers and authentication schemes of the API on this page: scheme types, OAuth flows and scopes. Credentials are never included.`,inputSchema:{type:`object`,properties:{},additionalProperties:!1},annotations:{readOnlyHint:!0},execute:async()=>v3(nCe(t))}]}function fCe(e){let t=I(ms),n=I(fs),r=I(hs);useEffect(()=>{let i=new AbortController;return iCe(dCe({items:e,store:t,getOperationDetail:r?cCe({items:e,specType:n,definition:r}):void 0}),i.signal),()=>i.abort()},[e,t,n,r])}qf(),QR(),Ns();var pCe=({children:e})=>{let t=useMemo(()=>({hooks:{useCodeHighlight:JSe,...M4?{useCurrentProduct:()=>void 0}:{}},...M4?{config:M4}:{}}),[]);return jsx(In.Provider,{value:t,children:e})},RedoclyApiDocsStandalone=jB(J1,F1,memo)(({items:e,store:t,basePath:n=`/`,options:r,logo:i,telemetryConfig:a,markdownAdapter:o,spec:s,buildTimings:c})=>{let l=ks(n),u=I(ds),d=I(ms),f=A1(r?.disableTelemetry),p=zE({...a,...f?{disabled:!0}:{}}),m=useMemo(()=>({buildTimings:c,options:FD(r)}),[c,r]),h=useMemo(()=>o??ER(void 0,u),[o,u]),g=I(kh);I(Oh),fCe(e);let _=A4(i)??u.apiLogo??d.logo,v=useMemo(()=>kxe(u),[u]);return jsxs(pCe,{children:[jsx(jxe,{}),jsx(kE.Provider,{value:p,children:jsxs(mCe,{style:v,children:[jsxs(Dxe,{className:`menu-content`,collapsedSidebar:g,children:[jsx(DR,{dataTestId:`logo`,..._}),jsx(xbe,{items:e,store:t,basePath:l,document:V(s)?s:void 0}),jsx(exe,{items:e})]}),jsx(hCe,{children:jsx(Y1,{items:e,basePath:l,markdownAdapter:h,telemetryConfig:a,initialTelemetry:m})})]})})]})}),mCe=styled$1.div`
  display: flex;
  position: relative;
  min-height: 100vh;
  text-align: left;
  background-color: var(--bg-color);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
  color: var(--text-color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  [data-section-id] {
    scroll-margin-top: calc(var(--navbar-stack-height, 0px) + var(--banner-height, 0px));
  }

  [id]:not([data-section-id]):has([data-deep-link-anchor]) {
    scroll-margin-top: calc(
      var(--navbar-stack-height, 0px) + var(--banner-height, 0px) +
        var(--deep-link-scroll-gap, var(--spacing-xl))
    );
  }

  * {
    box-sizing: border-box;
  }
`,hCe=styled$1.main`
  flex: 1;
  min-width: 0;
`,S3,C3,w3,T3=o((()=>{S3=[`tools`,`resources`,`prompts`],C3=`experimental`,w3=[`mcp-cursor`,`mcp-vscode`]}));function E3(e){return e.kind===`badge`||e.kind===`audience`}function gCe({document:e,options:t,basePath:n,storeCtx:r,processContent:i=!0}){let a=new Map;for(let t of e.tags||[]){let e=t;a.set(t.name,{tag:e,operations:[],description:t.description,children:[]})}for(let t of e.tags||[]){let e=t;e.parent&&!E3(t)&&a.get(e.parent)?.children.push(t.name)}t?.schemaDefinitionsTagName&&_Ce(a,t.schemaDefinitionsTagName);let o=(e.tags||[]).filter(E3),s={document:e,options:t,basePath:n,tagsMap:a,collectedTagOrder:[],downloadUrls:t.downloadUrls,storeCtx:r,badgeTags:o,processContent:i};return vCe(e,s),yCe(e,s),s}function _Ce(e,t){e.has(t)||e.set(t,{tag:{name:t},operations:[],children:[]})}function vCe(e,t){e.paths&&O3(e.paths,!1,t);let n=e[`x-webhooks`]||e.webhooks;n&&O3(n,!0,t)}function yCe(e,t){let n=e[`x-mcp`];if(n)for(let e of S3){let r=n[e];if(r?.length)for(let n of r){let r=n.tags&&n.tags.length>0?n.tags:[Rj(e)];for(let e of r)t.tagsMap.has(e)||(t.tagsMap.set(e,{tag:{name:e},operations:[],children:[]}),t.collectedTagOrder.push(e))}}}function D3(e,t){return{...t,summary:t.summary??e.summary,description:t.description??e.description,servers:t.servers??e.servers}}function O3(e,t,n){let r=n.document,i=n.document.openapi;for(let[a,o]of Object.entries(e)){if(!o)continue;let e;try{e=UK(r,o,i)}catch{console.warn(`[OpenAPI] Skipping path "${a}": failed to resolve path item $ref`);continue}if(!e)continue;let s=e.parameters??[];for(let r of Object.keys(e).filter(XK)){let i=e[r];i&&typeof i==`object`&&A3(D3(e,i),a,r,t,!1,n,s)}let c=e.additionalOperations;if(c)for(let[r,i]of Object.entries(c))A3(D3(e,i),a,r,t,!0,n,s)}}function k3(e){return typeof e==`object`&&e?e:{}}function bCe(e,t,n,r){if(!e.length&&!t?.length||!e.length)return t;if(!t?.length)return e;let i=new Set(t.map(e=>{let t=k3(GR(n,e,r)??e);return`${t.in}:${t.name}`})),a=[...t];for(let t of e){let e=k3(GR(n,t,r)??t),o=`${e.in}:${e.name}`;i.has(o)||a.push(t)}return a}function A3(e,t,n,r,i,a,o=[]){let s=e.tags?.length?e.tags:r?[Zl]:[``],c=xCe(a.badgeTags,e,t,n,r,i,s,o,a);for(let e of s){let t=a.tagsMap.get(e);t||(t={tag:{name:e},operations:[],children:[]},a.tagsMap.set(e,t),a.collectedTagOrder.push(e)),!E3(t.tag)&&(t.tag[`x-traitTag`]||t.operations.push(c))}}function j3(e){return e.toLowerCase()===`x-query`?`query`:e}function xCe(e,t,n,r,i,a,o,s=[],c){let{options:l,storeCtx:u}=c,d=t.externalDocs,f=t[`x-badges`]?.map(e=>({name:e.name,color:e.color,position:e.position}))??[];if(t.tags&&e.length>0)for(let n of t.tags){let t=e.find(e=>e.name===n);t&&f.push({name:t.summary??t.name,color:t.kind===`audience`?`grey`:`blue`,icon:t.kind===`audience`?`user-group`:void 0,position:`after`,description:typeof t.description==`string`?t.description:void 0})}return{...t,pointer:JK.compile([`paths`,n,r]),pathName:n,httpVerb:j3(r),operationId:t.operationId,summary:t.summary,description:_v(t.description,l),deprecated:t.deprecated,isWebhook:i,isAdditionalOperation:a,tags:o,parameters:bCe(s,t.parameters,u.document,l.ignoreNamedSchemas),requestBody:t.requestBody,responses:t.responses,servers:t.servers,security:t.security??c.document.security,callbacks:SCe(t.callbacks,u?.document??{},l.ignoreNamedSchemas),externalDocs:d?{url:d.url,description:d.description}:void 0,"x-badges":f.length>0?f:void 0}}function SCe(e,t,n){if(!e||typeof e!=`object`)return;let r=[];for(let[i,a]of Object.entries(e)){let e=GR(t,a,n)??a;if(!e||typeof e!=`object`)continue;let o=e;for(let[e,t]of Object.entries(o)){if(NR(e)||!t||typeof t!=`object`)continue;let n=t.servers,a=t.parameters,o=[];for(let[r,i]of Object.entries(t)){if(!ZK.has(r.toLowerCase())||!i||typeof i!=`object`)continue;let t=i,s={httpVerb:j3(r.toLowerCase()),pathName:e,summary:t.summary,operationId:t.operationId,description:t.description,deprecated:t.deprecated,requestBody:t.requestBody,responses:t.responses,security:t.security,servers:t.servers??n,parameters:t.parameters??a,externalDocs:t.externalDocs};for(let[e,n]of Object.entries(t))e.startsWith(`x-`)&&!(e in s)&&(s[e]=n);o.push(s)}o.length>0?r.push({name:i,url:e,operations:o,...MR(void 0)}):r.push({name:i,url:e,...MR(void 0)})}}return r.length>0?r:void 0}var CCe=o((()=>{vv(),YK(),eu(),T3(),Uj(),QR(),GK(),QK(),FR()}));function wCe(e){return{title:`Download OpenAPI description`,titleTranslationKey:`download.description.title`,children:e.map(e=>({kind:z.DOWNLOAD,label:e.title||e.url,url:e.url}))}}var TCe=o((()=>{B()}));function ECe(e){let t=[];return e?.contact?.url&&t.push({kind:z.EXTERNAL_LINK,title:`URL`,titleTranslationKey:`info.contact.url`,label:e.contact.url,url:e.contact.url}),e?.contact?.email&&t.push({kind:z.EMAIL,title:e.contact.name||`E-mail`,titleTranslationKey:e.contact.name?void 0:`info.contact.name`,email:e.contact.email,label:e.contact.email,withCopyButton:!0,copyContent:e.contact.email}),e?.license?.url&&(e.license.identifier||e.license.name)&&t.push({kind:z.EXTERNAL_LINK,title:`License`,titleTranslationKey:`info.license`,label:e.license.identifier||e.license.name||``,url:e.license.url}),!e?.license?.url&&(e?.license?.identifier||e?.license?.name)&&t.push({kind:z.ATTRIBUTE,title:`License`,titleTranslationKey:`info.license`,label:e.license?.identifier||e.license?.name||`License`,value:e.license?.identifier||e.license?.name||`License`}),e?.termsOfService&&t.push({kind:z.EXTERNAL_LINK,label:`Terms of Service`,labelTranslationKey:`info.termsOfService`,url:e.termsOfService}),{title:`Overview`,titleTranslationKey:`info.title`,children:t}}var DCe=o((()=>{B()}));function OCe(e){let t=e?.[`x-mcp`];if(!t)return null;let n=(t?.servers??e.servers??[])[0]?.url??``,r=[];if(t?.protocolVersion&&r.push({kind:z.ATTRIBUTE,label:`Protocol version`,labelTranslationKey:`mcp.protocolVersion`,value:t?.protocolVersion??``,withCopyButton:!0,copyContent:t?.protocolVersion??``}),t?.capabilities&&typeof t.capabilities==`object`){let e=Object.keys(t.capabilities).filter(e=>e!==C3).map(e=>({text:e,color:`green`,icon:`checkmark`}));e.length>0&&r.push({kind:z.TAGS,title:`Capabilities`,titleTranslationKey:`mcp.capabilities`,tags:e})}return t?.capabilities?.experimental&&r.push({kind:z.ATTRIBUTE,title:`Experimental capabilities`,titleTranslationKey:`mcp.experimentalCapabilities`,label:`Value`,labelTranslationKey:`value`,value:JSON.stringify(t.capabilities.experimental),withCopyButton:!0,copyContent:JSON.stringify(t.capabilities.experimental)}),r.push({kind:z.EXTERNAL_LINK,title:`Endpoint`,titleTranslationKey:`mcp.endpoint`,label:n,url:n,withCopyButton:!0,copyContent:n}),r.push({kind:z.CONNECT_MCP_BUTTON,title:`Connect`,actions:w3,mcpUrl:n}),{title:`MCP server`,titleTranslationKey:`mcp.title`,children:r}}var kCe=o((()=>{B(),T3()}));function ACe(e){return!e||e.length===0?null:{title:`Servers`,titleTranslationKey:`servers.title`,children:[{kind:z.SERVERS,servers:e,mode:`default`}]}}var jCe=o((()=>{B()}));function MCe({document:e,description:t,sectionChildren:n,options:r}){let{downloadUrls:i,hideDownloadButtons:a}=r,o=e.info,s=vs(o?.title)??`API Documentation`,c=o?.version?`${s} (${o.version})`:s,l=[];!a&&i?.length&&l.push(wCe(i)),l.push(ECe(o));let u=OCe(e);u&&l.push(u);let d=ACe((e.servers??[]).map(e=>Object.assign({},e,{description:typeof e.description==`string`?e.description:void 0})));d&&l.push(d);let f={nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.HEADER,level:1,label:c,showPageActions:!0}],sectionId:`/`},p=_v(o.summary,r);p&&f.children.push({nodeType:R.MARKDOC,content:p});let m=_v(t,r);m&&f.children.push({nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.MARKDOC,content:m}],sectionId:`/`});let h=r,g=e.externalDocs||o?.externalDocs;if(g?.url){let e=_v(g.description,h)??[];f.children.push({nodeType:R.EXTERNAL_DOCS,url:g.url,description:e})}let _=[f];_.push(...n);let v={nodeType:R.CONTAINER,panels:l,children:_},y={name:s};return{contentType:ts.OVERVIEW,meta:y,children:[v]}}var NCe=o((()=>{B(),Ds(),vv(),TCe(),DCe(),kCe(),jCe()}));function M3(e){let t=null;return{run(e,n){let r=t;t=e;try{return n()}finally{t=r}},get(){if(!t)throw Error(`${e} context is not available outside of a build`);return t}}}var N3=o((()=>{})),P3,F3=o((()=>{N3(),P3=M3(`OpenAPI`)}));function PCe(e){let t=P3.get(),{basePath:n}=t,r=Vy(e.info?.description,t.options),{sectionItems:i,sectionChildren:a}=Xy(e.info?.description,n,t.options),o=MCe({document:e,description:r,sectionChildren:a,options:t.options}),s=vs(e.info?.title);return[{type:`link`,label:s||`Overview`,labelTranslationKey:s?void 0:`openapi.info.title`,link:n,routeSlug:n,content:o},...i]}var FCe=o((()=>{lb(),NCe(),F3(),Ds()}));function I3(e,t){let n=e.tags?.length===1&&e.tags[0]===``,r={slug:ks(Os(t,((e.operationId?n?Os(`other`,bs(e.operationId)):bs(e.operationId):loe(RCe(e.pointer)))||`${e.httpVerb}${bs(e.pathName)}`).toLowerCase())),label:vs(e.summary)??vs(e.operationId)??vs(e.pathName)??`Unknown Operation`,deprecated:e.deprecated??!1,httpVerb:e.httpVerb,httpPath:e.pathName,isAdditionalOperation:e.isAdditionalOperation??!1,isWebhook:e.isWebhook??!1};return e?.[`x-badges`]&&(r.badges=e[`x-badges`]),r}function ICe(e,t){let{operationId:n,summary:r}=e;return r||n||eb(e.description,t)}function LCe({deprecated:e,isAdditionalOperation:t,httpVerb:n}){return e?`http-deprecated`:t?`http-additional-operation`:n}function RCe(e){return e?e.startsWith(`/`)?e.slice(1):e:``}function L3(e,t){return e&&e.length>0?e:t??[]}var R3=o((()=>{eu(),Ds(),lb(),Ns(),Uj()}));function zCe({tag:e,tagName:t,headerLabel:n,description:r,operations:i,schemasItems:a,mcpItems:o,tagSlug:s,basePath:c,breadcrumbs:l,childTags:u,markdownOptions:d}){let f={nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:2,label:n??t,showPageActions:!0}],panels:[]},p=[],m=[],h=[],g=[];for(let e of i){let{slug:t,badges:n,deprecated:r,httpVerb:i,isAdditionalOperation:a,isWebhook:o}=I3(e,s),l={name:i,color:LCe({httpVerb:i,deprecated:r,isAdditionalOperation:a})},u={title:e.pathName,summary:ICe(e,d),prefix:l,badges:n??[],link:ks(Ms(t,c)),deprecated:r,...MR(void 0)};o?(r?g:h).push(u):(r?m:p).push(u)}let _=[...p,...m],v=[...h,...g],y=[];if(u&&u.length>0){let e=u.map(e=>({title:e.displayName,summary:e.summary,link:ks(Ms(e.slug,c)),deprecated:!1,childTag:!0}));y.push({kind:z.GROUP_ITEMS,title:``,items:e})}if(a&&a.length>0&&y.push({kind:z.GROUP_ITEMS,title:`Schemas`,titleTranslationKey:`schemas`,items:a}),_.length>0&&y.push({kind:z.GROUP_ITEMS,title:`Operations`,titleTranslationKey:`operations`,items:_}),v.length>0&&y.push({kind:z.GROUP_ITEMS,title:Ql,titleTranslationKey:`webhooks`,items:v}),o){for(let[e,t]of Object.entries(o))if(t.length>0){let{title:n,translationKey:r}=z3[e];y.push({kind:z.GROUP_ITEMS,title:n,titleTranslationKey:r,items:t})}}if(y.length>0){let e={children:y};f.panels?.push(e)}let b=Hy(r,d,{sliceAtFirstHeading:!0}),x=b.some(e=>e.kind===`schemaDefinition`),S=[];for(let e of b){if(!x){f.children?.push(e.node);continue}S.push(e.kind===`schemaDefinition`?e.node:{nodeType:R.CONTAINER,children:[e.node],panels:[]})}if(e.externalDocs){let t=_v(e.externalDocs.description,d)??[];f.children?.push({nodeType:R.EXTERNAL_DOCS,url:e.externalDocs.url,description:t})}let C=[f,...S];return{contentType:ts.GROUP,meta:{name:t,breadcrumbs:l},children:C}}var z3,BCe=o((()=>{eu(),B(),Ns(),vv(),lb(),R3(),FR(),z3={tools:{title:`MCP Tools`,translationKey:`openapi.mcp.tools`},resources:{title:`MCP Resources`,translationKey:`openapi.mcp.resources`},prompts:{title:`MCP Prompts`,translationKey:`openapi.mcp.prompts`}}}));function B3(e){return e==="default"||/^\d+$/.test(e)||/^[1-5]xx$/i.test(e)}var V3=o((()=>{}));function H3(e,t,n){if(Wm(e))return U3(jce(t.encoding),t.schema,n)}function VCe(e,t,n={},r){let i=e.toLowerCase().includes($l.MULTIPART);if(!t||!i&&!Wm(e))return;let a={};for(let[e,r]of Object.entries(t)){if(!r||typeof r!=`object`)continue;let t=i?UCe(r.headers,n):void 0,o={...typeof r.style==`string`&&{style:r.style},...typeof r.explode==`boolean`&&{explode:r.explode},...typeof r.allowReserved==`boolean`&&{allowReserved:r.allowReserved},...typeof r.contentType==`string`&&{contentType:r.contentType},...t&&{headers:t}};Object.keys(o).length>0&&(a[e]=o)}if(Object.keys(a).length!==0)return i?a:U3(a,r,n)}function U3(e,t,n){if(e)return Object.fromEntries(Object.entries(e).map(([e,r])=>{let i=/xml/i.test(r.contentType??``)?HCe(t,e,n):void 0;return[e,i&&i!==e?{...r,xmlName:i}:r]}))}function HCe(e,t,n){let r=W3(W3(e,n).map(e=>V(e.properties)?e.properties[t]:void 0).find(V),n),i=r.map(e=>e.items).find(V);return(i?W3(i,n):r).map(e=>V(e.xml)?e.xml.name:void 0).find(e=>typeof e==`string`&&e!==``)}function W3(e,t,n=new Set){if(!V(e)||n.has(e))return[];n.add(e);let r=typeof e.$ref==`string`?GR(t,e):void 0,i=Array.isArray(e.allOf)?e.allOf:[];return[e,...W3(r,t,n),...i.flatMap(e=>W3(e,t,n))]}function UCe(e,t){if(!e||typeof e!=`object`)return;let n={};for(let[r,i]of Object.entries(e))G3.has(r.toLowerCase())||/[\r\n]/.test(r)||(n[r]=WCe(GR(t,i)??i).split(/[\r\n]+/).map(e=>e.trim()).filter(Boolean).join(` `));return Object.keys(n).length>0?n:void 0}function WCe(e){let t=e?.schema??{},n=[e?.example,t.example,t.default,Array.isArray(t.enum)?t.enum[0]:void 0].find(e=>e!=null);if(n!==void 0)return lN(n);switch(t.type){case`integer`:case`number`:return`0`;case`boolean`:return`true`;default:return`string`}}var G3,K3=o((()=>{eu(),pN(),Km(),QR(),G3=new Set([`content-type`,`content-disposition`])}));function GCe(e,t,n){return I1(GR(t,e,n)??e,n)}function KCe(e,t,n,r,i){let a=t?.document??{},o=qCe(e,a),s=JCe(e,a,t,n),c=YCe(e,t),l=XCe(e,a,t,n),u=e.responses,d=u?Object.keys(u).filter(B3):void 0;return{kind:z.CODE_SAMPLE,operationType:r?`webhook`:`http`,method:e.httpVerb?.toUpperCase()??`GET`,path:e.pathName??`/`,servers:o,parameters:s,security:c,requestBody:l,responseCodes:d,pointer:e.pathName,...i&&{href:i},...e.operationId&&{openApiOperationId:e.operationId},...e.summary&&{summary:e.summary}}}function qCe(e,t){let n=t.servers,r=L3(e.servers,n).map(e=>({url:e.url??``,name:e.name,description:typeof e.description==`string`?e.description:void 0,variables:e.variables&&Object.keys(e.variables).length>0?Object.fromEntries(Object.entries(e.variables).map(([e,t])=>[e,{default:t.default,enum:t.enum}])):void 0}));return r.length>0?r:[{url:`/`}]}function JCe(e,t,n,r){let i=(e.parameters??[]).map(e=>GCe(e,t,r)),a={path:[],query:[],querystring:[],header:[],cookie:[]};for(let e of i){let i=e.in;if(!i||!a[i])continue;let o=JR(t,e),s=o?Object.keys(o)[0]:void 0,c=s&&o?o[s]?.schema:e.schema,l=c&&typeof c==`object`?GR(t,c,r)??c:c,u;l&&n&&(u=RR(n.schemaStore,n.hashIndex,{kind:rs.JSON_SCHEMA,data:l}));let d=l&&typeof l==`object`&&`example`in l?l.example:void 0,f;if(e.examples&&typeof e.examples==`object`)for(let n of Object.values(e.examples)){if(!n||typeof n!=`object`)continue;let e=GR(t,n,r)??n;if(z1(e)){f=R1(e);break}}a[i].push({name:e.name??``,in:i,required:e.required,example:e.example??f??d,schemaId:u,serializationMime:s,style:e.style,explode:e.explode,allowReserved:e.allowReserved})}return a}function YCe(e,t){let n=e.security,r=[];if(!n||!t)return r;for(let e of n){let n=Object.keys(e),i=n.map(e=>t.securitySchemeStore[e]).filter(Boolean).map(e=>({id:e.id,type:e.type,name:e.paramName,in:e.in,scheme:e.scheme,bearerFormat:e.bearerFormat,openIdConnectUrl:e.openIdConnectUrl,flows:e.flows}));if(i.length>0){let t=n.flatMap(t=>e[t]??[]);r.push({schemes:i,scopes:t})}}return r}function XCe(e,t,n,r){let i=e.requestBody,a=JR(t,i?GR(t,i,r)??i:void 0);if(!a||!n)return;let o={};for(let[i,s]of Object.entries(a)){let a,c=s.itemSchema,l=s.schema??c;if(l){let e=GR(t,l,r)??l;a=RR(n.schemaStore,n.hashIndex,{kind:rs.JSON_SCHEMA,data:e})}let u=e.pointer?`${e.pointer}/requestBody/content/${is(i)}`.replace(/^\//,``):void 0,d=[];if(s.example!==void 0&&d.push(VR(n.exampleStore,{value:s.example,...u&&{id:`${u}/example`}})),s.examples){s.examples;for(let[e,i]of Object.entries(s.examples)){if(NR(e))continue;let a=GR(t,i,r);if(a){let t=VR(n.exampleStore,{value:R1(a),key:e,summary:typeof a.summary==`string`?a.summary:e,description:BR(a.description),externalValue:typeof a.externalValue==`string`?a.externalValue:void 0,...MR(void 0),...u&&{id:`${u}/examples/${is(e)}`}});d.push(t)}}}let f=VCe(i,s.encoding,t,s.schema);o[i]={schemaId:a,...d.length>0&&{exampleIds:d},...f&&{encoding:f}}}return o}var ZCe=o((()=>{B(),FR(),QR(),V3(),os(),L1(),K3(),R3(),B1()}));function QCe(){let e=new Map;return(t,n)=>{let r=`${t}/${n}`,i=e.get(r)??0;return e.set(r,i+1),i===0?r:`${r}~${i}`}}function $Ce(e,t){let{options:n,storeCtx:r,basePath:i}=P3.get(),a=e.summary||e.operationId||e.pathName||`Unknown Operation`,o=[],s=e.isWebhook||!1,c=[{nodeType:R.HEADER,level:2,label:a,badges:e[`x-badges`],isWebhook:s,deprecated:e.deprecated,showPageActions:!0}],l=Eb(e,n.showExtensions);Object.keys(l).length>0&&c.push({nodeType:R.EXTENSIONS,extensions:l}),o.push({nodeType:R.CONTAINER,children:c,panels:[]});let u=n.ignoreNamedSchemas,d=e[`x-codeSamples`]?.map(({lang:e,label:t,source:n})=>({lang:e,label:t,source:n})),f=L3(e.servers,r?.document?.servers).filter(e=>typeof e?.url==`string`).map(e=>({url:e.url??``,name:e.name,description:typeof e.description==`string`?e.description:void 0,variables:e.variables&&Object.keys(e.variables).length>0?Object.fromEntries(Object.entries(e.variables).map(([e,t])=>[e,{default:t.default}])):void 0,...MR(void 0)})),p=X3(e,u,s),m=Ms(t,i),h=[];e.description&&(qy(e.description,m,$3),h=Hy(e.description,n));let g=h.some(e=>e.kind===`schemaDefinition`),_=p.find(e=>e.nodeType===R.ITEM&&e.variant===`body`),v=cwe(e,u,s,m||void 0),y=_?.schemaId,b=_?.mediaTypes,x=_?.mediaTypeSchemas,S=[{children:[{kind:z.CODE_SAMPLE,source:v,definitionSamples:d?.length?d:void 0,isWebhook:s,servers:!s&&f?.length?f:void 0,schemaId:y,exampleIds:_?.exampleIds,mediaTypes:b,mediaTypeSchemas:x,examples:_?.exampleIds?.map(()=>({}))??[]}],...MR(void 0)}];if(p.length>0||h.length>0){if(g){o.push({nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:4,label:`Request`,labelTranslationKey:`request`,deepLinkSuffix:$3}],panels:[]});for(let e of h)e.kind===`schemaDefinition`?o.push(e.node):o.push({nodeType:R.CONTAINER,children:[e.node],panels:[]});o.push({nodeType:R.CONTAINER,children:[...p],panels:S})}else o.push({nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:4,label:`Request`,labelTranslationKey:`request`,deepLinkSuffix:$3},...h.map(e=>e.node),...p],panels:S})}else o.push({nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:4,label:`Request`,labelTranslationKey:`request`,deepLinkSuffix:$3},{nodeType:R.EMPTY_MESSAGE,label:`No request data`,labelTranslationKey:`noRequestData`}],panels:S});if(e.responses){let t=Z3(e,n,m,u);if(t){let n=t.responses?.some(e=>e.schemaId||(e.exampleIds?.length??0)>0),r=t?.responses?.map(e=>({code:e.code,schemaId:e.schemaId,exampleIds:e.exampleIds,mediaTypes:e.mediaTypes,mediaTypeContent:e.mediaTypeContent,...MR(void 0)})),i=[];n&&i.push({children:[{kind:z.RESPONSE,responseCodes:r,...s&&{isEvent:!0},examples:[]}]}),e.responses,o.push({nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:4,label:`Responses`,labelTranslationKey:`responses`,deepLinkSuffix:`responses`},t],panels:i.length>0?i:[],...MR(void 0)})}}Array.isArray(e.callbacks)&&e.callbacks.length>0&&o.push(...ewe(e,m,u));let C=p.some(e=>{let t=e;return t.variant===`body`&&((t.exampleIds?.length??0)>0||!!t.schemaId)})||(d?.length??0)>0;return{contentType:ts.ITEM,itemVariant:L.HTTP_ITEM,meta:{name:a,deprecated:e.deprecated,isWebhook:e.isWebhook||!1,pointer:e.pointer,hasSamples:C},children:o}}function ewe(e,t,n){let r=[{nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:4,label:`Callbacks`,labelTranslationKey:`callbacks`,deepLinkSuffix:t6}],panels:[]}],i=QCe();for(let a of e.callbacks??[])if(a.operations)for(let o of a.operations){let s=o.httpVerb??`post`,c=i(a.name,s);r.push(twe(e,a,o,c,t,n))}return r}function twe(e,t,n,r,i,a){let{options:o}=P3.get(),s=n.httpVerb??`post`,c={pointer:e.pointer+`/callbacks/`+t.name+`/`+s,pathName:n.pathName??t.url??``,httpVerb:s,summary:n.summary,deprecated:n.deprecated,isWebhook:!1,isAdditionalOperation:!1,tags:[],parameters:n.parameters,requestBody:n.requestBody,responses:n.responses,servers:n.servers,security:n.security},l=X3(c,a,!0),u=Z3(c,o,`${i}/callbacks/${r}`,a),d=[...l];u&&d.push(u);let f=n.externalDocs,p=Eb(n,o.showExtensions),m;n.description&&(m=_v(n.description,o),qy(m??[],i,`${t6}/${r}`));let h={httpVerb:s,pathName:c.pathName,summary:c.summary,operationId:typeof n.operationId==`string`?n.operationId:void 0,description:m,deprecated:c.deprecated,callbackName:t.name,callbackId:r,externalDocs:f?{url:f.url,description:f.description}:void 0,extensions:Object.keys(p).length>0?p:void 0,contentChildren:d.length>0?d:void 0},g=nwe(n,c,r,a);return{nodeType:R.CONTAINER,children:[{nodeType:R.ITEM,variant:`callback`,callback:h,pointer:e.pointer+`/callbacks`}],panels:g,...MR(void 0)}}function nwe(e,t,n,r){let{storeCtx:i}=P3.get(),a=[];if(!e.requestBody||!(`content`in e.requestBody))return a;let o=i?.document??{},s=JR(o,GR(o,e.requestBody,r)??e.requestBody);if(!s)return a;let c=Object.keys(s),l=!1,u={};for(let[e,n]of Object.entries(s)){let a,s=q3(n.schema,o,r);s&&(a=RR(i.schemaStore,i.hashIndex,{kind:rs.JSON_SCHEMA,data:s}));let c=`${t.pointer}/requestBody/content/${is(e)}`.replace(/^\//,``),d=[];if(n.example!==void 0){let e=VR(i.exampleStore,{value:n.example,id:`${c}/example`});d.push(e),l=!0}if(n.examples)for(let[e,t]of Object.entries(n.examples)){let n=GR(o,t,r);if(n&&z1(n)){let t=VR(i.exampleStore,{value:R1(n),summary:n.summary??e,description:BR(n.description),id:`${c}/examples/${is(e)}`});d.push(t),l=!0}}let f=H3(e,n,o);u[e]={schemaId:a,exampleIds:d.length>0?d:void 0,...f&&{encoding:f}},a&&(l=!0)}let d=e[`x-codeSamples`];if(!(l||(d?.length??0)>0))return a;let f=e.servers?.filter(e=>e.url).map(({url:e,name:t,description:n,variables:r})=>({url:e,name:t,description:n,variables:r}));return a.push({children:[{kind:z.CALLBACK_PAYLOAD,callbackName:n,path:t.pathName,httpVerb:t.httpVerb,servers:f?.length?f:void 0,definitionSamples:d,mediaTypes:c.length>0?c:void 0,mediaTypeSchemas:Object.keys(u).length>0?u:void 0,examples:[]}]}),a}function rwe(e,t,n){let r=GR(t,e,n)??e,{$ref:i,...a}=e;return I1(typeof i==`string`?{...r,...a}:r,n)}function q3(e,t,n){if(!e||typeof e!=`object`)return;let r=e;return I1(GR(t,r,n)??r,n)}function iwe(e,t,n){if(!e||typeof e!=`object`)return;let r={},i=[];for(let[a,o]of Object.entries(e)){if(NR(a))continue;let e=GR(t,o,n)??o,s=JR(t,e),c=s?s[Object.keys(s)[0]]:void 0,l=q3(e.schema??c?.schema??c?.itemSchema,t,n);if(!l)continue;let u=Y3(e.examples,t,n);r[a]={...l,...e.description!==void 0&&{description:e.description},...e.example!==void 0&&{example:e.example},...u&&{examples:u},...MR(void 0)},e.required&&i.push(a)}if(Object.keys(r).length!==0)return{type:`object`,properties:r,...i.length>0?{required:i}:{}}}function awe(e){return typeof e==`string`||nb(e)?e:void 0}function J3(e,t){let{storeCtx:n,options:r}=P3.get(),i=n.document;return e.map(e=>{let a=e.schema,o={};if(a&&typeof a==`object`)o=a;else if(e.content&&typeof e.content==`object`){let t=JR(i,e)??{},n=Object.keys(t)[0],r=n?t[n]?.schema:void 0;r&&typeof r==`object`&&(o=r)}let s=RR(n.schemaStore,n.hashIndex,{kind:rs.JSON_SCHEMA,data:o}),c=e[`x-badges`],l=o[`x-badges`],u=Array.isArray(c)?c:Array.isArray(l)?l:void 0,d=Eb(e,r.showExtensions);return{name:String(e.name??``),in:typeof e.in==`string`?e.in:void 0,...typeof e.style==`string`&&{style:e.style},...typeof e.explode==`boolean`&&{explode:e.explode},schemaId:s,description:awe(e.description),required:e.required===!0||void 0,deprecated:e.deprecated===!0||void 0,example:e.example,examples:Y3(e.examples,i,t),...u?.length?{badges:u}:{},...Object.keys(d).length?{extensions:d}:{},...MR(void 0)}})}function Y3(e,t,n){if(!e||typeof e!=`object`)return;let r={};for(let[i,a]of Object.entries(e)){if(!a||typeof a!=`object`)continue;let e=GR(t,a,n)??a;if(!z1(e))continue;let o=R1(e);r[i]={...typeof e.summary==`string`&&{summary:e.summary},...typeof e.description==`string`&&{description:e.description},...o!==void 0&&{value:typeof o==`string`?o:JSON.stringify(o)}}}return Object.keys(r).length>0?r:void 0}function X3(e,t,n){let{storeCtx:r,options:i}=P3.get(),a=[],o=r.document,s=swe(e);if(s&&a.push(s),e.parameters&&Array.isArray(e.parameters)){let n=e.parameters.map(e=>rwe(e,o,t)),s=n.filter(e=>e.in===`header`),c=n.filter(e=>e.in===`query`),l=n.filter(e=>e.in===`path`),u=n.filter(e=>e.in===`cookie`),d=n.filter(e=>e.in===`querystring`),f=d.filter(e=>!e.content||typeof e.content!=`object`),p=d.filter(e=>e.content&&typeof e.content==`object`),m=d.length>0;l.length>0&&a.push({nodeType:R.ITEM,variant:`path`,label:`Path`,labelTranslationKey:`path`,parameters:J3(l,t),pointer:e.pointer+`/parameters`}),c.length>0&&!m&&a.push({nodeType:R.ITEM,variant:`query`,label:`Query`,labelTranslationKey:`query`,parameters:J3(c,t),pointer:e.pointer+`/parameters`}),f.length>0&&a.push({nodeType:R.ITEM,variant:`querystring`,label:`Query String`,labelTranslationKey:`querystring`,parameters:J3(f,t),pointer:e.pointer+`/parameters`});for(let n of p){let s=JR(o,n)??{},c=Object.keys(s),l={};for(let e of c){let n=s[e];if(!n)continue;let i,a=n.itemSchema,c=q3(n.schema??a,o,t);c&&(i=RR(r.schemaStore,r.hashIndex,{kind:rs.JSON_SCHEMA,data:c}));let u=Q3(n,t);l[e]={schemaId:i,exampleIds:u,...MR(void 0)}}let u=c[0],d=u?l[u]:void 0,f=_v(n.description,i);a.push({nodeType:R.ITEM,variant:`querystring-body`,label:String(n.name??``),required:n.required===!0||void 0,mediaTypes:c.length>0?c:void 0,mediaTypeSchemas:Object.keys(l).length>0?l:void 0,schemaId:d?.schemaId,exampleIds:d?.exampleIds,pointer:e.pointer+`/parameters`,...f===void 0?{}:{description:f},...MR(void 0)})}u.length>0&&a.push({nodeType:R.ITEM,variant:`cookies`,label:`Cookies`,labelTranslationKey:`cookie`,parameters:J3(u,t),pointer:e.pointer+`/parameters`}),s.length>0&&a.push({nodeType:R.ITEM,variant:`headers`,label:`Headers`,labelTranslationKey:`header`,parameters:J3(s,t),pointer:e.pointer+`/parameters`})}if(e.requestBody){let s=GR(o,e.requestBody,t)??e.requestBody,c=JR(o,s),l=c?Object.keys(c):void 0,u,d,f;if(c&&l){f={};for(let n of l){let i=c[n];if(!i)continue;let a,s=i.itemSchema,l=q3(i.schema??s,o,t);l&&(a=RR(r.schemaStore,r.hashIndex,{kind:rs.JSON_SCHEMA,data:l}));let u=Q3(i,t,`${e.pointer}/requestBody/content/${is(n)}`),d=H3(n,i,o);f[n]={schemaId:a,exampleIds:u,...d&&{encoding:d},...MR(void 0)}}let n=l[0],i=n?f[n]:void 0;u=i?.schemaId,d=i?.exampleIds}let p=_v(s.description,i);e.requestBody,a.push({nodeType:R.ITEM,variant:`body`,label:`Request Body`,labelTranslationKey:`body`,required:s.required,...n&&{isEvent:!0},mediaTypes:l,mediaTypeSchemas:f,schemaId:u,exampleIds:d,pointer:e.pointer+`/requestBody`,...p===void 0?{}:{description:p},...MR(void 0)})}return a}function Z3(e,t,n,r){if(!e.responses)return;let{storeCtx:i}=P3.get(),a=i?.document??{},o=owe(a.openapi),s=e.responses,c=Object.entries(s).filter(([e])=>B3(e)).map(([s,c])=>{let l=GR(a,c,r)??c,u,d=JR(a,l),f=d?Object.keys(d):[],p=f[0],m=p&&d?d[p]:void 0,h,g,_,v;if(d&&f.length>0){v={};for(let t of f){let n=d[t];if(!n)continue;let c,l=n.itemSchema,u=q3(n.schema??l,a,r);u&&(c=RR(i.schemaStore,i.hashIndex,{kind:rs.JSON_SCHEMA,data:u}));let f=Q3(n,r,`${e.pointer}/responses/${is(s)}/content/${is(t)}`),p=o?H3(t,n,a):void 0;v[t]={schemaId:c,exampleIds:f,...p&&{encoding:p},...MR(void 0)}}let t=p?v[p]:void 0;h=t?.schemaId,g=t?.exampleIds}else if(m){let t=m.itemSchema,n=q3(m.schema??t,a,r);n&&(u??=void 0,h=RR(i.schemaStore,i.hashIndex,{kind:rs.JSON_SCHEMA,data:n})),g=Q3(m,r,p?`${e.pointer}/responses/${is(s)}/content/${is(p)}`:void 0)}let y=iwe(l.headers,a,r);y&&(_=RR(i.schemaStore,i.hashIndex,{kind:rs.JSON_SCHEMA,data:y}));let b;l.description&&(b=_v(l.description,t),qy(b??[],n,`${e6}/${s}`));let x=l[`x-summary`]?_v(l[`x-summary`],t):void 0;return x&&qy(x,n,`${e6}/${s}/summary`),{code:s,summary:x,description:b,mediaType:p,mediaTypes:f.length>0?f:void 0,mediaTypeContent:v,schemaId:h,exampleIds:g,headers:l.headers,headerSchemaId:_,...MR(u)}});return{nodeType:R.ITEM,variant:`responses`,responses:c,pointer:e.pointer+`/responses`}}function owe(e){let[t=0,n=0]=String(e??``).split(`.`).map(Number);return t>3||t===3&&n>=2}function Q3(e,t,n){let{storeCtx:r}=P3.get(),i=[],a=r.document,o=n?.replace(/^\//,``);if(e.example!==void 0){let t=VR(r.exampleStore,{value:e.example,...o&&{id:`${o}/example`}});i.push(t)}if(e.examples&&typeof e.examples==`object`){e.examples;for(let[n,s]of Object.entries(e.examples)){if(NR(n)||!s||typeof s!=`object`)continue;let e=GR(a,s,t)??s,c=VR(r.exampleStore,{value:R1(e),key:n,summary:typeof e.summary==`string`?e.summary:n,description:BR(e.description),externalValue:typeof e.externalValue==`string`?e.externalValue:void 0,...MR(void 0),...o&&{id:`${o}/examples/${is(n)}`}});i.push(c)}}return i.length>0?i:void 0}function swe(e){let{storeCtx:t,options:n}=P3.get();if(!e.security||!Array.isArray(e.security)||e.security.length===0)return;let r=e.security.map(e=>{let r=Object.entries(e);if(r.length===0)return null;let i=t?.document?.components?.securitySchemes,a=r.map(([e,r])=>{let a=t?.securitySchemeStore[e];return i?.[e],{name:e,scopes:Array.isArray(r)?r:void 0,type:a?.type,scheme:a?.scheme,bearerFormat:a?.bearerFormat,in:a?.in,paramName:a?.paramName,description:a?.description?_v(a.description,n):a?.description,openIdConnectUrl:a?.openIdConnectUrl,oauth2MetadataUrl:a?.oauth2MetadataUrl,deprecated:a?.deprecated,flows:a?.flows,...MR(void 0)}}).filter(e=>e.name);return a.length>0?{schemes:a}:null}).filter(e=>e!==null);if(r.length!==0)return{nodeType:R.SECURITY,requirements:r}}function cwe(e,t,n,r){let{storeCtx:i}=P3.get();if(!i)throw Error(`OpenAPI store context is not initialized`);return KCe(e,i,t,n,r)}var $3,e6,t6,lwe=o((()=>{B(),lb(),vv(),FR(),QR(),L1(),V3(),Ob(),F3(),ZCe(),K3(),R3(),Ns(),os(),B1(),$3=`request`,e6=`responses`,t6=`callbacks`}));function n6({operations:e,result:t,basePath:n,parentRbac:r}){let{basePath:i}=P3.get(),a=n??i,{regular:o,regularDeprecated:s,webhooks:c,webhooksDeprecated:l}=uwe(e);for(let e of[...o,...s])r6(e,a,t,r);let u=c.length>0||l.length>0,d=o.length>0||s.length>0;u&&d&&t.push({type:`separator`,label:Ql,variant:`secondary`,content:null});for(let e of[...c,...l])r6(e,a,t,r)}function uwe(e){let t=[],n=[],r=[],i=[];for(let a of e)a.isWebhook?(a.deprecated?i:r).push(a):(a.deprecated?n:t).push(a);return{regular:t,regularDeprecated:n,webhooks:r,webhooksDeprecated:i}}function r6(e,t,n,r){let{processContent:i}=P3.get(),{slug:a,badges:o,httpPath:s,...c}=I3(e,t),l={...c,type:`link`,link:a,routeSlug:a,...MR(r),content:i?$Ce(e,a):null};o&&Object.assign(l,{badges:o}),s&&Object.assign(l,{httpPath:s}),n.push(l)}var dwe=o((()=>{eu(),lwe(),R3(),F3(),FR()}));function fwe(e,t,n){let r=t??e,i=_v(`{% schemaDefinition showWriteOnly=true schemaRef="#/components/schemas/${e}" /%}`,n),a=[{nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:2,label:r,showPageActions:!0}],panels:[]}];return i&&a.push({nodeType:R.MARKDOC,content:i}),{contentType:ts.ITEM,itemVariant:L.SCHEMA,meta:{name:e},children:a}}var pwe=o((()=>{B(),vv()}));function mwe(e,t,n){let r=t.components?.schemas;if(!r)return[];let i=n?[n]:[],a=[];for(let[t,n]of Object.entries(r)){if(NR(t))continue;let r=n[`x-tags`];(r?.length?r:i).includes(e)&&a.push(t)}return a}function hwe({tagName:e,tagSlug:t,result:n,groupItems:r}){let{document:i,options:a,processContent:o,basePath:s}=P3.get(),c=mwe(e,i,a.schemaDefinitionsTagName);i.components?.schemas;for(let e of c){let c=i.components?.schemas?.[e]?.title??e,l=ks(Os(t,bs(Ss(e).toLowerCase()||e.toLowerCase()))),u={type:`link`,label:c,link:l,routeSlug:l,httpVerb:`schema`,content:o?fwe(e,c,a):null,...MR(void 0)};n.push(u),r?.push({title:c,link:ks(Ms(l,s)),deprecated:!1,...MR(void 0)})}}var gwe=o((()=>{FR(),Ds(),Ns(),pwe(),F3()}));function _we(e,t,n,r,i){let a=`{% ${i6[e]} name="${Bj(t)}" id="${Bj(n)}" /%}`;return{contentType:ts.ITEM,meta:{name:t},children:[{nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:2,label:r,showPageActions:!0}],panels:[]},{nodeType:R.MARKDOC,content:_v(a,i)??[]}]}}var i6,vwe=o((()=>{B(),vv(),Uj(),i6={tool:`mcpTool`,rsrc:`mcpResource`,prompt:`mcpPrompt`}}));function ywe(e,t){let n=t[`x-mcp`];if(!n)return[];let r=[];for(let t of S3){let i=n[t];if(!i)continue;let a=Rj(t);for(let n of i)(n.tags?.length?n.tags:[a]).includes(e)&&r.push({entity:n,collectionType:t})}return r}function bwe({tagName:e,tagSlug:t,result:n,groupItems:r}){let{document:i,options:a,processContent:o,basePath:s}=P3.get(),c=ywe(e,i);for(let{entity:e,collectionType:i}of c){let c=a6[i],l=e.title||e.name,u=ks(Os(t,bs(Ss(e.name).toLowerCase()||e.name.toLowerCase()))),d=Os(t,Ss(e.name)),f={type:`link`,label:l,link:u,routeSlug:u,httpVerb:c,content:o?_we(c,e.name,d,l,a):null};n.push(f);let p={title:l,prefix:{name:c,color:c},link:ks(Ms(u,s)),deprecated:!1};r?.[i]?.push(p)}}var a6,xwe=o((()=>{Ds(),T3(),Uj(),Ns(),vwe(),F3(),a6={tools:`tool`,resources:`rsrc`,prompts:`prompt`}}));function Swe(e,t){let n=wwe(P3.get().tagsMap),r=Twe(e),i=e[`x-tagGroups`];n.size>0?o6(r,n,t):i?.length?Cwe(i,t):o6(r,n,t)}function Cwe(e,t){let n=P3.get();for(let r of e){t.push({type:`separator`,label:r.name,...MR(void 0),content:null});for(let e of r.tags||[]){let r=n.tagsMap.get(e);r&&u6(e,r,t,[],void 0,void 0)}}}function o6(e,t,n){let r=P3.get(),i=new Set;for(let a of e)if(!t.has(a)){let e=r.tagsMap.get(a);e&&l6(a,e,n,i)}}function s6(e){return e.kind===`badge`||e.kind===`audience`}function c6(e,t){return Os(e,bs(Ss(t).toLowerCase()))}function wwe(e){let t=new Set;for(let n of e.values()){let{tag:e}=n;e.parent&&!s6(e)&&t.add(e.name)}return t}function Twe(e){let t=P3.get(),n=(e.tags||[]).map(e=>e.name);n.includes(`webhooks`)||n.push(Zl);let r=t.options.schemaDefinitionsTagName;r&&!n.includes(r)&&n.push(r);for(let e of t.collectedTagOrder)n.includes(e)||n.push(e);return n}function l6(e,t,n,r,i=0,a,o){let s=P3.get();if(r.has(e)||s6(t.tag))return;if(i>5){console.warn(`Tags exceed the maximum nesting level.`);return}r.add(e);let c=c6(a??s.basePath,e),l=(t.tag,o),u=[];for(let e of t.children){let t=s.tagsMap.get(e);t&&l6(e,t,u,r,i+1,c,l)}u6(e,t,n,u,c,o)}function Ewe(e){let t=P3.get(),n=[],r=t.tagsMap.get(e)?.tag;for(;r?.parent;){let e=t.tagsMap.get(r.parent);if(!e)break;n.unshift({label:e.tag.summary||e.tag[`x-displayName`]||e.tag.name}),r=e.tag}return n}function u6(e,t,n,r,i,a){let o=P3.get(),{tag:s,operations:c,description:l}=t,u=a;if(e===``){n6({operations:c,result:n});return}i||=c6(o.basePath,e);let d=s.summary||s[`x-displayName`]||e,f=[],p=[];hwe({tagName:e,tagSlug:i,result:f,groupItems:p});let m={tools:[],resources:[],prompts:[]};if(bwe({tagName:e,tagSlug:i,result:f,groupItems:m}),l){let t=Ms(i,o.basePath);for(let n of Jy(l,o.options,t,!!e))f.push(Yy({heading:n,basePath:o.basePath,withContent:o.processContent}))}if(n6({operations:c,result:f,basePath:i,parentRbac:u}),f.push(...r),e===`webhooks`&&f.length===0)return;let h=Ewe(e),g=t.children.map(e=>{let t=o.tagsMap.get(e)?.tag;return{displayName:t?.summary||t?.[`x-displayName`]||e,summary:t?.summary,slug:c6(i,e)}});n.push({type:`group`,label:d,link:i,routeSlug:i,items:f,...MR(u),content:o.processContent?zCe({tag:s,tagName:e,headerLabel:d,description:l,operations:c,schemasItems:p.length>0?p:void 0,mcpItems:m,tagSlug:i,basePath:o.basePath,breadcrumbs:h.length>0?h:void 0,childTags:g.length>0?g:void 0,markdownOptions:o.options}):null})}var Dwe=o((()=>{FR(),eu(),Ds(),Ns(),lb(),BCe(),dwe(),gwe(),xwe(),F3()})),Owe=c({processOpenApiDocument:()=>jwe});function kwe(){return new Promise(e=>setTimeout(e,0))}function Awe(e){return(e.servers??[]).filter(e=>typeof e?.url==`string`).map(e=>({url:e.url,...e.name&&{name:e.name},...typeof e.description==`string`&&e.description&&{description:e.description},...e.variables&&Object.keys(e.variables).length>0&&{variables:e.variables}}))}async function jwe({document:e,basePath:t=`/`,options:n,processContent:r=!0}){let i=UR(WR(e));r&&(V1(e,i,n),await kwe());let a=gCe({document:e,options:n,basePath:t,storeCtx:i,processContent:r}),o=Awe(e),s=A4(e.info?.[`x-logo`],e.info?.contact?.url);return P3.run(a,()=>({items:Mwe(),store:{schemaStore:i.schemaStore,exampleStore:i.exampleStore,securitySchemeStore:i.securitySchemeStore,mcp:i.document[`x-mcp`],...o.length>0&&{servers:o},...s&&{logo:s}}}))}function Mwe(){let e=P3.get(),t=[...PCe(e.document)];return Swe(e.document,t),t}var Nwe=o((()=>{QR(),H1(),CCe(),FCe(),Dwe(),F3(),j4()}));function d6(e,t){switch(e){case`null`:return{type:`null`};case`boolean`:return{type:`boolean`};case`int`:case`long`:return{type:`integer`};case`float`:case`double`:return{type:`number`};case`bytes`:return{type:`string`,contentEncoding:`base64`};case`string`:return{type:`string`};default:{let n=t[e];return n?{...n}:{type:`null`}}}}function Pwe(e){return{type:`string`,enum:e.symbols,title:e.name,description:e.doc}}function Fwe(e,t){let n={},r=[];return e.fields?.forEach(e=>{n[e.name]=m6(e.type,t),e.doc&&(n[e.name].description=e.doc),e.default!==void 0&&(n[e.name].default=e.default),e.default===void 0&&!Iwe(e.type)&&r.push(e.name)}),{type:`object`,title:e.name,description:e.doc,properties:n,required:r.length>0?r:void 0,additionalProperties:!1}}function Iwe(e){return Array.isArray(e)?e.some(e=>e===`null`||typeof e==`object`&&!Array.isArray(e)&&e.type===`null`):!1}function f6(e,t){return{type:`array`,items:m6(e.items,t),description:e.doc}}function p6(e,t){return{type:`object`,additionalProperties:m6(e.values,t),description:e.doc}}function Lwe(e,t){let n=e.findIndex(e=>e===`null`||typeof e==`object`&&!Array.isArray(e)&&e.type===`null`);if(n!==-1){let r=[...e];return r.splice(n,1),r.length===1?{...m6(r[0],t),nullable:!0}:{oneOf:r.map(e=>m6(e,t)),nullable:!0}}return{oneOf:e.map(e=>m6(e,t))}}function m6(e,t){if(typeof e==`string`)return d6(e,t);if(!e)return{type:`null`};let n={};if(Array.isArray(e))n=Lwe(e,t);else if(typeof e.type==`string`)switch(e.type){case`record`:n=Fwe(e,t);break;case`enum`:n=Pwe(e);break;case`array`:n=f6(e,t);break;case`map`:n=p6(e,t);break;default:n=d6(e.type,t)}else e.items?n=f6(e,t):e.values&&(n=p6(e,t));return!Array.isArray(e)&&e.name&&(t[e.name]=n),n}function Rwe(e){return{...m6(e,{})}}var zwe=o((()=>{}));function Bwe(e){return e?g6.some(t=>e.startsWith(t)):!1}function Vwe(e){return typeof e==`object`&&!!e&&`schema`in e&&`schemaFormat`in e}function h6(e){return!e||typeof e!=`object`?e:Vwe(e)?Bwe(e.schemaFormat)?Rwe(e.schema):e.schema:e}var g6,_6=o((()=>{zwe(),g6=[`application/vnd.apache.avro`,`application/vnd.apache.avro+json`,`application/vnd.apache.avro+yaml`]}));function v6(e,t){let n=new Set,r=t;for(;KR(r);){if(n.has(r.$ref))return;n.add(r.$ref),r=XR(e,r.$ref)}return V(r)?r:void 0}var y6=o((()=>{QR(),ME()}));function b6(e,t,n){return{id:e,type:t.type,scheme:t.scheme,bearerFormat:t.bearerFormat,description:_v(t.description,n),in:t.in,paramName:t.name,openIdConnectUrl:t.openIdConnectUrl,scopes:t.scopes,flows:t.flows?Hwe(t.flows):void 0}}function Hwe({implicit:e,password:t,clientCredentials:n,authorizationCode:r}){let i=e=>e.availableScopes??{},a={};return e?.authorizationUrl&&(a.implicit={authorizationUrl:e.authorizationUrl,refreshUrl:e.refreshUrl,scopes:i(e)}),t?.tokenUrl&&(a.password={tokenUrl:t.tokenUrl,refreshUrl:t.refreshUrl,scopes:i(t)}),n?.tokenUrl&&(a.clientCredentials={tokenUrl:n.tokenUrl,refreshUrl:n.refreshUrl,scopes:i(n)}),r?.authorizationUrl&&r.tokenUrl&&(a.authorizationCode={authorizationUrl:r.authorizationUrl,tokenUrl:r.tokenUrl,refreshUrl:r.refreshUrl,scopes:i(r)}),a}function x6(e,{id:t,...n}){return{name:e,...n}}function S6(e,t,n,r){return Array.isArray(e)?e.flatMap(e=>{if(!V(e))return[];let i=Uwe(e)?Object.entries(e).flatMap(([e,n])=>{if(!Array.isArray(n))return[];let r=C6(e,t);return r?[{...r,...n.length>0?{scopes:n}:{},...MR(void 0)}]:[]}):[Wwe(e,t,n,r)].filter(e=>!!e);return i.length>0?[{schemes:i}]:[]}):[]}function Uwe(e){return!(`$ref`in e)&&typeof e.type!=`string`}function C6(e,t){let n=t.securitySchemeStore[e];return n?x6(e,n):void 0}function Wwe(e,t,n,r){if(`$ref`in e&&e.$ref.startsWith(w6)){let n=C6(JK.baseName(e.$ref),t);return n&&{...n,...MR(void 0)}}let i=v6(n,e);if(i?.type)return{...x6(i.type,b6(i.type,i,r)),...MR(void 0)}}var w6,T6=o((()=>{FR(),vv(),YK(),y6(),ME(),w6=`#/components/securitySchemes/`}));function Gwe(e,t,n){let{schemaStore:r,exampleStore:i,securitySchemeStore:a,hashIndex:o}=t,s=e.components;if(!s)return{schemaStore:r,exampleStore:i,securitySchemeStore:a};if(s.schemas){let{sectionRbac:e,entries:t}=PR(s.schemas);for(let[n,i]of t){let t=h6(i);t&&RR(r,o,{id:`components/schemas/${n}`,kind:rs.JSON_SCHEMA,title:n,data:t,...MR(e)})}}if(s.messages){let{sectionRbac:e,entries:t}=PR(s.messages);for(let[n,a]of t){let t=e;if(a.payload){let e=h6(a.payload);e&&RR(r,o,{id:`components/messages/${n}/payload`,kind:rs.JSON_SCHEMA,title:`${n} payload`,data:e,...MR(t)})}if(a.headers){let e=h6(a.headers);e&&RR(r,o,{id:`components/messages/${n}/headers`,kind:rs.JSON_SCHEMA,title:`${n} headers`,data:e,...MR(t)})}if(a.examples)for(let e=0;e<a.examples.length;e++){let r=a.examples[e];VR(i,{id:`components/messages/${n}/examples/${e}`,value:r.payload,summary:r.summary,...MR(t)})}}}if(s.securitySchemes){let{sectionRbac:t,entries:r}=PR(s.securitySchemes);for(let[i,o]of r){let r=v6(e,o);r?.type&&HR(a,{...b6(i,r,n),...MR(t)})}}return{schemaStore:r,exampleStore:i,securitySchemeStore:a}}var Kwe=o((()=>{B(),QR(),FR(),_6(),y6(),T6()}));function qwe(e){return{title:`Download AsyncAPI description`,titleTranslationKey:`download.description.title`,children:e.map(e=>({kind:z.DOWNLOAD,label:e.title,url:e.url}))}}var Jwe=o((()=>{B()})),E6=o((()=>{}));function Ywe(e){let t=[];return e?.contact?.url&&t.push({kind:z.EXTERNAL_LINK,title:`URL`,titleTranslationKey:`info.contact.url`,label:e.contact.url,url:e.contact.url}),e?.contact?.email&&t.push({kind:z.EMAIL,title:e.contact.name||`E-mail`,titleTranslationKey:e.contact.name?void 0:`info.contact.name`,email:e.contact.email,label:e.contact.email,withCopyButton:!0,copyContent:e.contact.email}),e.license?.url&&e.license.name?t.push({kind:z.EXTERNAL_LINK,title:`License`,titleTranslationKey:`info.license`,label:e.license.name,url:e.license.url}):e.license?.name&&t.push({kind:z.ATTRIBUTE,title:`License`,titleTranslationKey:`info.license`,label:e.license.name,value:e.license.name}),e.termsOfService&&t.push({kind:z.EXTERNAL_LINK,label:`Terms of Service`,labelTranslationKey:`info.termsOfService`,url:e.termsOfService}),{title:`Overview`,titleTranslationKey:`info.title`,children:t}}var Xwe=o((()=>{E6(),B()}));function D6({protocol:e,channelBindings:t}){let n=t?.amqp?.is===`routingKey`;switch(e){case`kafka`:return A6;case`amqp`:return n?j6:M6;default:return k6}}function O6(e,t){switch(e){case`kafka`:return{channel:`topic`,send:`pub`,receive:`sub`};case`amqp`:return{channel:t?.amqp?.is===`routingKey`?`exch`:`queue`,send:`pub`,receive:`cons`};default:return{channel:`channel`,send:`send`,receive:`receive`}}}var k6,A6,j6,M6,N6=o((()=>{k6={channel:`Channel`,channels:`Channels`,servers:`Servers`,server:`Server`,send:`Send`,receive:`Receive`,sendLabel:`Send`,receiveLabel:`Receive`,channelBinding:`Channel binding`,payload:`Payload`},A6={channel:`Topic`,channels:`Topics`,servers:`Brokers`,server:`Broker`,send:`Pub`,receive:`Sub`,sendLabel:`Publish`,receiveLabel:`Subscribe`,channelBinding:`Topic configuration`,payload:`Value`},j6={channel:`Exchange`,channels:`Exchanges`,servers:`Brokers`,server:`Broker`,send:`Pub`,receive:`Cons`,sendLabel:`Publish`,receiveLabel:`Consume`,channelBinding:`Exchange configuration`,payload:`Payload`},M6={channel:`Queue`,channels:`Queues`,servers:`Brokers`,server:`Broker`,send:`Pub`,receive:`Cons`,sendLabel:`Publish`,receiveLabel:`Consume`,channelBinding:`Queue configuration`,payload:`Payload`}}));function Zwe(e,t){return t&&Object.fromEntries(Object.entries(t).map(([t,n])=>[t,v6(e,n)??n]))}var Qwe=o((()=>{y6()})),P6,F6=o((()=>{N3(),P6=M3(`AsyncAPI`)}));function $we(e,t,n,r){let i=D6({protocol:t}).servers,{sectionRbac:a,entries:o}=PR(e);return{title:i,children:[{kind:z.BROKERS,panelLabel:i,brokers:o.map(([e,t])=>I6(e,t,r,n,a))}]}}function I6(e,t,n,r,i){let a=v6(n,t)??t,o=a.security?.length?S6(a.security,P6.get().storeCtx,n,r):[];return{name:e,url:a.host,description:_v(a.description,r)??[],variables:Zwe(n,a.variables),protocol:a.protocol,protocolVersion:a.protocolVersion,pathname:a.pathname,title:a.title,summary:a.summary,tags:a.tags,externalDocs:a.externalDocs,bindings:a.bindings,security:o.length>0?o:void 0,...MR(i)}}var L6=o((()=>{E6(),B(),N6(),Qwe(),vv(),FR(),T6(),F6(),y6()}));function eTe({document:e,options:t,protocol:n,sectionChildren:r}){let i=e.info,a=Vy(i?.description,t),o=[...!t.hideDownloadButtons&&t.downloadUrls?.length?[qwe(t.downloadUrls)]:[],Ywe(i),...e.servers?[$we(e.servers,n,t,e)]:[]],s={nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.HEADER,showPageActions:!0,level:1,label:`${i?.title??``} ${i?.version??``}`.trim()}],sectionId:`/`};a?.length&&s.children.push({nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.MARKDOC,content:a}],sectionId:`/`});let c=i?.externalDocs;if(c?.url){let e=_v(c.description,t)??[];s.children.push({nodeType:R.EXTERNAL_DOCS,url:c.url,description:e})}let l=[s];l.push(...r);let u={nodeType:R.CONTAINER,panels:o,children:l};return{contentType:ts.OVERVIEW,children:[u]}}var tTe=o((()=>{lb(),vv(),B(),Jwe(),Xwe(),L6()}));function nTe(e,t){let{basePath:n,document:r,options:i,protocol:a,sectionChildren:o,processContent:s=!0}=t;return{type:`link`,label:e.title??`Overview`,labelTranslationKey:e.title?void 0:`asyncapi.info.title`,link:n,routeSlug:n,content:s?eTe({document:r,options:i,protocol:a,sectionChildren:o}):null}}var rTe=o((()=>{tTe()}));function R6(e,t=new Set){if(t.has(e)||typeof e!=`object`||!e)return null;t.add(e);let n=e;for(let e of Object.keys(n)){let r=n[e];if(r&&typeof r==`object`&&`bindings`in r&&r.bindings)return Object.keys(r.bindings)[0];let i=R6(r,t);if(i)return i}return null}function iTe(e){let t=e.operations??{},n=e.channels??{},r=Object.keys(n),i={},a={};for(let[e,t]of Object.entries(n))a[e]=[],t.address&&(i[t.address]=e);for(let[e,n]of Object.entries(t)){let t=n.channel;if(!t)continue;let o;typeof t.$ref==`string`?o=JK.baseName(t.$ref):typeof t.address==`string`&&(o=i[t.address]),o&&r.includes(o)&&a[o].push(e)}return a}var aTe=o((()=>{YK()}));function oTe({document:e,options:t,basePath:n,storeCtx:r,processContent:i=!0}){return{document:e,options:t,basePath:n,storeCtx:r,protocol:R6(e),channelToOperations:iTe(e),groups:{},items:[],descriptionItems:[],channelSummaries:new Map,processContent:i}}var sTe=o((()=>{aTe()}));function z6(e,t){return vs(e?.title)??vs(e?.summary)??vs(e?.address)??t}var B6=o((()=>{Ds()}));function cTe(e,t,n){let r={exchanges:[],queues:[]};if(!e.channels)return r;for(let[i,a]of Object.entries(e.channels)){if(!a?.messages?.[t])continue;let e=`${O6(n??null,a.bindings).channel}s`,o=a.tags?.map(e=>vs(e?.name)).find(Boolean),s=o?Ss(o).toLowerCase():void 0,c=ks(s?ye(s,e,i).toLowerCase():ye(e,i).toLowerCase()),l={key:i,label:z6(a,i),link:c};a.bindings?.amqp?.is===`routingKey`?r.exchanges.push(l):r.queues.push(l)}return r}function V6(e,t,n,r,i){let{storeCtx:a}=P6.get(),o=[],s=z6(t,e),c=D6({protocol:i??null,channelBindings:t.bindings}),l=[{nodeType:R.HEADER,level:2,label:s,badges:t[`x-badges`],showPageActions:!0,protocolTag:{label:c.channel,color:c.channel.toLowerCase()}}],u=vs(t.address);u&&l.push({nodeType:R.CHANNEL_ADDRESS,address:u});let d=_v(t.summary,r);d&&l.push({nodeType:R.MARKDOC,content:d});let f=_v(t.description,r);f&&l.push({nodeType:R.MARKDOC,content:f});let p=t.externalDocs;if(p?.url&&l.push({nodeType:R.EXTERNAL_DOCS,url:p.url,description:_v(p.description,r)??[]}),t.parameters&&Object.keys(t.parameters).length>0){let{sectionRbac:r,entries:i}=PR(t.parameters),o=i.map(([e,t])=>{let r=v6(n,t)??t,i={type:r.location||`string`};return r.enum&&(i.enum=r.enum),r.default!==void 0&&(i.default=r.default),r.description&&(i.description=r.description),r.examples?.length&&(i.examples=r.examples),{name:e,in:`path`,schemaId:RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:i}),description:r.description,...MR(void 0)}});l.push({nodeType:R.HEADER,level:4,label:`Parameters`,labelTranslationKey:`parameters`,deepLinkSuffix:`parameters`,...MR(r)},{nodeType:R.ITEM,variant:`parameters`,parameters:o,pointer:`channels/${e}/parameters`,...MR(r)})}let m=[];if(n.servers&&t.servers){let e=new Set(t.servers.map(e=>v6(n,e)).filter(e=>e!==void 0)),{sectionRbac:i,entries:a}=PR(n.servers),o=a.filter(([,t])=>{let r=v6(n,t);return r!==void 0&&e.has(r)});o.length>0&&m.push({children:[{kind:z.BROKERS,panelLabel:c.servers,brokers:o.map(([e,t])=>I6(e,t,n,r,i))}]})}if(t.bindings){let e=Object.entries(t.bindings);if(e.length>0){let[t,n]=e[0];m.push({title:c.channelBinding,children:[{kind:z.CHANNEL_BINDING,panelLabel:c.channelBinding,bindingKey:t,bindingValue:n}]})}}if(o.push({nodeType:R.CONTAINER,children:l,panels:m.length>0?m:void 0}),t.messages&&Object.keys(t.messages).length>0){let{sectionRbac:s,entries:l}=PR(t.messages),u=[{nodeType:R.HEADER,level:4,label:`Messages`,labelTranslationKey:`messages`,deepLinkSuffix:`messages`}],d={},f=l.map(([e,t])=>{let i=v6(n,t)??t,o,s,l=[];if(a&&i.payload&&typeof i.payload==`object`){let e=h6(i.payload);e&&(o=RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:e}))}if(a&&i.headers&&typeof i.headers==`object`){let e=h6(i.headers);e&&(s=RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:e}))}if(a&&i.examples&&Array.isArray(i.examples)){for(let e of i.examples)if(e.payload!==void 0||e.headers){let t=VR(a.exampleStore,{value:e.payload,summary:e.summary||e.name,...e.headers?{headers:e.headers}:{}});l.push(t)}}if(a&&i.bindings){let t=Object.entries(i.bindings);for(let[n,r]of t){if(!r||typeof r!=`object`)continue;let t;if(n===`kafka`){let e=r.key;if(e&&typeof e==`object`){let n=h6(e);t=RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:{type:`object`,properties:{key:n}}})}}d[e]={bindingKey:n,bindingValue:r,keySchemaId:t,...MR(void 0)};break}}let u=i.externalDocs,f=u?.url?{url:u.url,description:_v(u.description,r)??[]}:void 0,p=v6(n,i.correlationId);return{name:e,label:i.title||i.name||e,summary:typeof i.summary==`string`?i.summary:void 0,description:_v(i.description,r),contentType:i.contentType,schemaId:o,headerSchemaId:s,exampleIds:l.length>0?l:void 0,payload:i.payload,payloadLabel:c.payload,headers:i.headers,externalDocs:f,correlationId:p?.location?{location:p.location,description:p.description}:void 0,...MR(void 0)}});u.push({nodeType:R.ITEM,variant:`messages`,messages:f,pointer:`channels/${e}/messages`});let p=f.filter(e=>!jR(e)),m=p.flatMap(e=>e.exampleIds??[]),h=p.find(e=>e.schemaId)?.schemaId,g=f.some(e=>e.schemaId||(e.exampleIds?.length??0)>0),_={};for(let e of f)_[e.name]={schemaId:e.schemaId,exampleIds:e.exampleIds,...MR(void 0)};let v=[];if(g&&v.push({children:[{kind:z.PAYLOAD,panelLabel:c.payload,exampleIds:m.length>0?m:void 0,schemaId:h,examples:m.map(()=>({})),messagesByKey:_}]}),Object.keys(d).length>0&&v.push({title:`Message configuration`,children:[{kind:z.MESSAGE_BINDING,bindingsByMessageKey:d}]}),i===`amqp`){let e={},t=!1;for(let r of f){let a=cTe(n,r.name,i);(a.exchanges.length>0||a.queues.length>0)&&(e[r.name]=a,t=!0)}t&&v.push({children:[{kind:z.MESSAGE_REFERENCES,referencesByMessageKey:e}]})}o.push({nodeType:R.CONTAINER,children:u,panels:v.length>0?v:void 0,...MR(s)})}return{contentType:ts.ITEM,itemVariant:L.CHANNEL,meta:{name:s,pointer:JK.compile([`channels`,e]),protocolTag:{label:c.channel,color:c.channel.toLowerCase()}},children:o}}var lTe=o((()=>{qf(),Ds(),Ns(),YK(),B(),QR(),FR(),vv(),N6(),y6(),_6(),B6(),F6(),L6()}));function uTe(e,t,n,r,i,a,o,s){let{basePath:c}=P6.get(),l=vs(t.title)??vs(t.summary)??e,u=D6({protocol:a??null}),d=t.action===`send`?u.sendLabel:u.receiveLabel,f=t.action===`send`?u.send:u.receive,p=[];o&&p.push({nodeType:R.HEADER,level:4,label:o}),p.push({nodeType:R.HEADER,level:5,label:l,badges:t[`x-badges`]||[],showPageActions:!0,protocolTag:{label:f,color:t.action}});let m=_v(typeof t.summary==`string`?t.summary:void 0,i);m&&p.push({nodeType:R.MARKDOC,content:m});let h=_v(t.description,i);h&&p.push({nodeType:R.MARKDOC,content:h});let g=t.externalDocs;g?.url&&p.push({nodeType:R.EXTERNAL_DOCS,url:g.url,description:_v(g.description,i)??[]});let _=S6(t.security??[],P6.get().storeCtx,n,i);_.length>0&&p.push({nodeType:R.SECURITY,requirements:_});let v=t.channel?v6(n,t.channel):void 0,y=v?.bindings;if(t.messages&&t.messages.length>0){let e=ks(Ms(r.split(`/operations/`)[0].toLowerCase(),c)),i=v?.messages??{},a=t.messages.map(e=>{let t=e.$ref,r=typeof t==`string`?JK.baseName(t):void 0,a=typeof t==`string`&&t.startsWith(`#/channels/`)&&JK.parse(t).at(-2)===`messages`&&r!==void 0&&r in i?r:Object.keys(i).find(e=>{let t=i[e].$ref;return t!==void 0&&JK.baseName(t)===r})??r,o=v6(n,e)??e;if(!a){let e=o.payload?.$ref;for(let[t,r]of Object.entries(i)){let i=v6(n,r)??r,s=i.payload?.$ref;if(e&&s&&e===s||o.title&&i.title===o.title){a=t;break}}}let s=o.title||o.name||a||`Message`;if(!a){let e=vs(o.title);a=o.name||(e?Ss(e):void 0)}return a?{name:a,label:s}:void 0}).filter(e=>!!e);a.length>0&&p.push({nodeType:R.MESSAGE_LINKS,channelLink:e,messages:a})}if(t.reply){let e=[];t.reply.address?.location&&e.push(`Address: \`${t.reply.address.location}\``);let r=v6(n,t.reply.channel);if(r?.address&&e.push(`${u.channel}: \`${r.address}\``),t.reply.messages?.length){let r=t.reply.messages.map(e=>{let t=v6(n,e);return t?.title||t?.name||e.title||e.name||`Message`}).join(`, `);e.push(`Messages: ${r}`)}e.length>0&&p.push({nodeType:R.HEADER,level:4,label:`Reply`,labelTranslationKey:`reply`,deepLinkSuffix:`reply`},{nodeType:R.MARKDOC,content:_v(e.join(`

`),i)??[]})}let b=[];if(t.bindings){let e=Object.entries(t.bindings);if(e.length>0){let[t,n]=e[0],r,i,a=P6.get().storeCtx;if(a&&t===`kafka`&&n&&typeof n==`object`){let e=n;if(e.groupId&&typeof e.groupId==`object`){let t=h6(e.groupId);r=RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:{type:`object`,properties:{groupId:t}}})}if(e.clientId&&typeof e.clientId==`object`){let t=h6(e.clientId);i=RR(a.schemaStore,a.hashIndex,{kind:rs.JSON_SCHEMA,data:{type:`object`,properties:{clientId:t}}})}}b.push({title:`Operation configuration`,children:[{kind:z.OPERATION_BINDING,bindingKey:t,bindingValue:n,groupIdSchemaId:r,clientIdSchemaId:i}]})}}let x=[{nodeType:R.CONTAINER,children:p,panels:b.length>0?b:void 0}];return{contentType:ts.ITEM,itemVariant:L.CHANNEL_OPERATION,meta:{name:l,pointer:JK.compile([`operations`,e]),protocolTag:{label:f,color:t.action},action:t.action,actionLabel:d,channelBindings:y},children:x,showDivider:s}}var dTe=o((()=>{B(),QR(),vv(),Ds(),Ns(),YK(),N6(),y6(),T6(),_6(),F6()}));function H6({operationId:e,operation:t,linkParts:n,channelBindings:r,document:i,options:a,protocol:o,groupHeaderLabel:s,processContent:c=!0,showDivider:l}){let u=O6(o??null,r),[d,...f]=n,p=d??``;for(let e of f)p=ye(p,e);return p=p.toLowerCase(),{label:vs(t.title)??vs(t.summary)??e,type:`link`,link:p,routeSlug:p,httpVerb:u[t.action]||``,badges:t?.[`x-badges`]||[],...MR(void 0),content:c?uTe(e,t,i,p,a,o,s,l):null}}var fTe=o((()=>{qf(),Ds(),N6(),FR(),dTe()}));function U6(e,t){return{label:z6(e,t)}}function W6(e,t,n){let r=e.filter(e=>t[e]?.action===`send`),i=e.filter(e=>t[e]?.action===`receive`);return[...r,...i].map(e=>r[0]===e?{operationId:e,groupHeaderLabel:n.send}:i[0]===e?{operationId:e,groupHeaderLabel:n.receive}:{operationId:e})}function pTe({channelId:e,channel:t,operationIds:n,tagName:r}){let{document:i,basePath:a,options:o,protocol:s,processContent:c}=P6.get(),l=i.operations||{},u=n.length>0,d=O6(s??null,t.bindings),f=D6({protocol:s??null,channelBindings:t.bindings}),p=`${d.channel}s`,m=Ss(r).toLowerCase(),h=ye(a,m,p,e).toLowerCase(),g=W6(n,l,{send:f.sendLabel,receive:f.receiveLabel}),{label:_}=U6(t,e);return{label:_,type:`group`,link:h,routeSlug:h,badges:t?.[`x-badges`]||[],httpVerb:d.channel,content:c?V6(e,t,i,o,s):null,...MR(void 0),...u?{items:g.map(({operationId:n,groupHeaderLabel:r},u)=>H6({operationId:n,operation:l[n],linkParts:[a,m,p,e,`operations`,n],channelBindings:t.bindings,document:i,options:o,protocol:s,groupHeaderLabel:r,processContent:c,showDivider:u!==g.length-1}))}:{}}}function mTe({channelId:e,channel:t,operationIds:n}){let{document:r,basePath:i,options:a,protocol:o,processContent:s}=P6.get(),c=r.operations||{},l=n.length>0,u=O6(o??null,t.bindings),d=D6({protocol:o??null,channelBindings:t.bindings}),f=`${u.channel}s`,p=ye(i,f,e).toLowerCase(),m=W6(n,c,{send:d.sendLabel,receive:d.receiveLabel}),{label:h}=U6(t,e);return{label:h,type:`group`,link:p,routeSlug:p,httpVerb:u.channel,badges:t?.[`x-badges`]||[],...MR(void 0),content:s?V6(e,t,r,a,o):null,...l?{items:m.map(({operationId:n,groupHeaderLabel:l},u)=>H6({operationId:n,operation:c[n],linkParts:[i,f,e,`operations`,n],channelBindings:t.bindings,document:r,options:a,protocol:o,groupHeaderLabel:l,processContent:s,showDivider:u!==m.length-1}))}:{}}}var hTe=o((()=>{qf(),Ds(),N6(),lTe(),fTe(),F6(),FR(),B6()}));function gTe({group:e,protocol:t,channelByLink:n,context:r}){let{channelSummaries:i,basePath:a}=r,o=e.filter(_Te),s=o.map(e=>D6({protocol:t,channelBindings:n.get(e.link)?.bindings})),c=new Set(s.map(e=>e.channels)),l=D6({protocol:t}),u=c.size===1?s[0]?.channels??l.channels:l.channels;return{kind:z.GROUP_ITEMS,title:u,items:o.map((e,t)=>{let n=s[t]?.channel??l.channel;return{title:e.label??e.link,summary:i.get(e.link),link:ks(Ms(e.link,a)).toLowerCase(),prefix:{name:n,color:n.toLowerCase()},deprecated:!1}})}}function _Te(e){let{link:t}=e;return typeof t==`string`&&!t.includes(`section`)}var vTe=o((()=>{B(),Ns(),N6()}));function yTe(){let e=P6.get(),{document:t,basePath:n,channelToOperations:r,protocol:i,processContent:a}=e,o=t.channels||{},s=t.components?.tags||{},c=new Map;for(let[t,a]of Object.entries(r)){let r=o[t];if(!r)continue;let s=[];for(let e of r.tags??[]){let t=vs(e?.name);t&&s.push(t)}let l=`${O6(i,r.bindings).channel}s`;for(let i of s){let o=Ss(i).toLowerCase();e.groups[i]||(e.groups[i]=[]);let s=ye(n,o,l,t).toLowerCase(),u=vs(r.summary)??eb(r.description,e.options);u&&e.channelSummaries.set(s,u),c.set(s,r),e.groups[i].push(pTe({channelId:t,channel:r,operationIds:a,tagName:i}))}s.length||e.items.push(mTe({channelId:t,channel:r,operationIds:a}))}for(let t of Object.keys(e.groups)){let r=s[t];for(let i of Jy(r?.description,e.options,Ss(t).toLowerCase()))e.groups[t].push(Yy({heading:i,basePath:n,withContent:a}))}let l=[...Object.keys(e.groups).map(t=>{let r=e.groups[t],o=ye(n,Ss(t)).toLowerCase(),l=s[t],u=e.options,d=l?.externalDocs,f=Vy(l?.description,u);return{label:t,type:`group`,link:o,routeSlug:o,items:r,content:a?{contentType:ts.GROUP,children:[{nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:2,label:t,showPageActions:!0},...f?[{nodeType:R.MARKDOC,content:f}]:[],...d?.url?[{nodeType:R.EXTERNAL_DOCS,url:d.url,description:_v(d.description,u)??[]}]:[]],panels:[{children:[gTe({group:r,protocol:i,channelByLink:c,context:e})]}]}]}:null}}),...e.items];if(t[`x-tagGroups`]&&t[`x-tagGroups`].length>0){let e=[],n=new Map;return l.forEach(e=>{e.label&&n.set(e.label,e)}),t[`x-tagGroups`].forEach(t=>{e.push({label:t.name,type:`separator`,...MR(void 0),content:null}),t.tags.forEach(t=>{let r=n.get(t);r&&e.push(r)})}),e}return l}var bTe=o((()=>{qf(),B(),Ds(),lb(),vv(),FR(),N6(),hTe(),F6(),vTe()})),xTe=c({buildAsyncApiItems:()=>G6,processAsyncApiDocument:()=>STe});function STe(e){let t=e.processContent??!0,n=UR(WR(e.document));return t&&Gwe(e.document,n,e.options),{items:G6({...e,processContent:t},n),store:{schemaStore:n.schemaStore,exampleStore:n.exampleStore,securitySchemeStore:n.securitySchemeStore}}}function G6({document:e,options:t,basePath:n,processContent:r=!0},i){let a=oTe({document:e,options:t,basePath:n,storeCtx:i,processContent:r});return P6.run(a,()=>{let{sectionItems:i,sectionChildren:o}=Xy(e.info?.description,a.basePath,a.options),s=nTe(e.info??{},{basePath:n,document:e,options:t,protocol:a.protocol,sectionChildren:o,processContent:r});a.descriptionItems.push(...i);let c=yTe();return[s,...a.descriptionItems,...c]})}var CTe=o((()=>{Kwe(),QR(),lb(),rTe(),sTe(),bTe(),F6()})),K6,q6=o((()=>{K6=/^\/(.+)\/([gimuy]*)$/}));function wTe(e,t){t?.groups?.forEach(t=>{if(t.name.includes(`/`))throw Error(`Group name ${t.name} is invalid. "/" is not allowed in group names.`);J6(t.items,`Item`,t=>!!(e.getQueryType()?.getFields()[t]??e.getMutationType()?.getFields()[t]??e.getSubscriptionType()?.getFields()[t]??e.getDirective(t)??e.getType(t))),J6(t.queries,`Query`,t=>!!e.getQueryType()?.getFields()[t]),J6(t.mutations,`Mutation`,t=>!!e.getMutationType()?.getFields()[t]),J6(t.subscriptions,`Subscription`,t=>!!e.getSubscriptionType()?.getFields()[t]),J6(t.directives,`Directive`,t=>!!e.getDirective(t)),J6(t.types,`Type`,t=>!!e.getType(t))})}function J6(e,t,n){if(!e)return;let r=[...e.includeByName??[],...e.excludeByName??[]];for(let e of r)if(typeof e==`string`&&!K6.test(e)&&!n(e))throw Error(`${t} ${e} does not exist in schema.`)}var TTe=o((()=>{q6()}));function ETe(e,t){if(!e)return;t&&wTe(t,e);let n={requireExactGroups:e.requireExactGroups,otherItemsGroupName:e.otherItemsGroupName};return Array.isArray(e.groups)&&(n.groups=e.groups.map(e=>{let t={name:e.name};for(let n of Pq){let r=e[n];r&&typeof r==`object`&&(t[n]={includeByName:Y6(r.includeByName),excludeByName:Y6(r.excludeByName)})}return t})),n}function Y6(e){if(e&&Array.isArray(e))return e.map(e=>{if(typeof e==`string`)return DTe(e);if(e instanceof RegExp)return e;if(typeof e==`object`&&e&&`source`in e){let t=e;return new RegExp(t.source,t.flags||``)}return String(e)})}function DTe(e){let t=e.match(K6);return t?new RegExp(t[1],t[2]):e}var OTe=o((()=>{Iq(),q6(),TTe()}));function kTe(e){if(!e.astNode?.directives)return null;let t=e.astNode.directives.find(e=>e.name.value===`requiresScopes`);if(!t)return null;let n=ATe(t);return!n||n.length===0?null:{scopes:n}}function ATe(e){let t=e.arguments?.find(e=>e.name.value===`scopes`);return!t||!t.value?null:jTe(t.value)}function jTe(e){if(e.kind!==q.LIST)return null;let t=[];for(let n of e.values)n.kind===q.LIST&&t.push(n.values.map(e=>e.value));return t.length>0?t:null}function MTe(e){let t=e.astNode;if(!t)return;let n=e=>t.directives?.find(t=>t.name.value===e),r=n(`redocly_info`),i=n(`redocly_contact`),a=n(`redocly_license`),o=NTe(t.description?.value);if(!r&&!i&&!a&&!o)return;let s={};if(o?.title&&(s.title=o.title),o?.description&&(s.description=o.description),r){let e=X6(r);e.title&&(s.title=e.title),e.version&&(s.version=e.version),e.description&&(s.description=e.description),e.termsOfService&&(s.termsOfService=e.termsOfService)}if(i){let{name:e,url:t,email:n}=X6(i);s.contact={name:e,url:t,email:n}}if(a){let{name:e,url:t,identifier:n}=X6(a);s.license={name:e,url:t,identifier:n}}return s}function X6(e){let t={};return e.arguments?.forEach(e=>{e.value.kind===q.STRING&&(t[e.name.value]=e.value.value)}),t}function NTe(e){let t=e?.trim();if(!t)return null;let[n,...r]=t.split(`
`);return n.trim().startsWith(`# `)?{title:n.trim().slice(2).trim()||void 0,description:r.join(`
`).trim()||void 0}:{description:t}}var Z6=o((()=>{A$()}));function PTe({document:e,options:t,basePath:n,prebuiltSchema:r,processContent:i=!0}){let a=r??k$(e),o=MTe(a);return{basePath:n,schema:a,menuConfig:ETe(t?.menu,a),options:o?{...t,info:{...o,...t?.info,contact:{...o.contact,...t?.info?.contact},license:{...o.license,...t?.info?.license}}}:t,processContent:i}}var FTe=o((()=>{A$(),OTe(),Z6()}));function ITe(e){return t=>e?.markdownParser?_v(t,e):t??void 0}function Q6(e){let t=OX(e),n=bX(e),r=n?e.ofType:e,i=yX(r),a=i?bX(r.ofType):n;return{display:String(e),name:t.name,isList:i,isNonNull:a,isListNonNull:i&&n}}function $6(e){let t=kTe(e);return t?{scopes:t.scopes}:void 0}function LTe(e){let t=ITe(e),n=e=>({name:e.name,type:Q6(e.type),description:t(e.description),deprecationReason:e.deprecationReason??void 0,defaultValue:e.defaultValue,required:LX(e)||void 0,requiresScopes:$6(e)}),r=e=>({name:e.name,type:Q6(e.type),description:t(e.description),deprecationReason:e.deprecationReason??void 0,args:e.args.length>0?e.args.map(n):void 0,requiresScopes:$6(e)}),i=e=>({name:e.name,type:Q6(e.type),description:t(e.description),deprecationReason:e.deprecationReason??void 0,defaultValue:e.defaultValue,required:HX(e)||void 0,requiresScopes:$6(e)}),a=e=>({name:e.name,description:t(e.description),deprecationReason:e.deprecationReason??void 0,requiresScopes:$6(e)});return{serializeNamedType:e=>{let n={name:e.name,description:t(e.description),requiresScopes:$6(e)};if(mX(e)||hX(e)){let t=e.getInterfaces().map(e=>e.name);return{...n,variant:mX(e)?`object`:`interface`,fields:Object.values(e.getFields()).map(r),interfaces:t.length>0?t:void 0}}return vX(e)?{...n,variant:`input`,fields:Object.values(e.getFields()).map(i),isOneOf:e.isOneOf||void 0}:gX(e)?{...n,variant:`union`,possibleTypes:e.getTypes().map(e=>e.name)}:_X(e)?{...n,variant:`enum`,enumValues:e.getValues().map(a)}:pX(e)?{...n,variant:`scalar`,specifiedByUrl:e.specifiedByURL??void 0}:{...n,variant:`scalar`}},serializeDirective:e=>({name:e.name,description:t(e.description),locations:[...e.locations],args:e.args.length>0?e.args.map(n):void 0,isRepeatable:e.isRepeatable||void 0})}}var RTe=o((()=>{A$(),Z6(),vv()}));function zTe(e,t){let n={},r={},{serializeNamedType:i,serializeDirective:a}=LTe(t);for(let t of Object.values(e.getTypeMap()))t.name.startsWith(`__`)||RR(n,r,{id:PN(t.name),kind:rs.GRAPHQL_TYPE,title:t.name,data:i(t)});for(let t of e.getDirectives())RR(n,r,{id:FN(t.name),kind:rs.GRAPHQL_TYPE,title:t.name,data:a(t)});return{schemaStore:n,exampleStore:{},securitySchemeStore:{},graphqlMeta:{rootTypes:{query:e.getQueryType()?.name,mutation:e.getMutationType()?.name,subscription:e.getSubscriptionType()?.name}}}}var BTe=o((()=>{B(),QR(),RN(),RTe()})),e8,t8=o((()=>{N3(),e8=M3(`GraphQL`)}));function VTe(e,t,n){if(n8(e,t?.excludeByName)||n8(e,n?.excludeByName))return!1;let r=t?.includeByName,i=n?.includeByName;return!r?.length&&!i?.length?!1:n8(e,r)||n8(e,i)}function n8(e,t){return t?.length?t.some(t=>HTe(e,t)):!1}function HTe(e,t){if(typeof t==`string`)return e===t;if(t instanceof RegExp)return t.test(e);if(typeof t==`object`&&t&&`source`in t){let n=t;return new RegExp(n.source,n.flags||``).test(e)}return!1}var UTe=o((()=>{}));function WTe(e,t){let n=[{nodeType:R.HEADER,level:2,label:`@${e.name}`,showPageActions:!0}],r=_v(e.description,t);r&&n.push({nodeType:R.MARKDOC,content:r}),e.args&&e.args.length>0&&n.push({nodeType:R.ITEM,variant:`graphql-args`,label:`Arguments`,labelTranslationKey:`arguments.label`,graphqlTypeName:e.name});let i=[];return e.locations&&e.locations.length>0&&i.push({title:`Locations`,titleTranslationKey:`locations`,children:[{kind:z.LOCATIONS,locations:[...e.locations]}]}),{contentType:ts.ITEM,itemVariant:L.DIRECTIVE,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:n,panels:i}]}}var GTe=o((()=>{B(),vv()}));function r8(e,t,n,r,i){let a=OX(e.type),o=`types/${a.name}`,s=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0,graphqlReturnType:e.type.toString(),graphqlArgs:e.args?.map(e=>({name:e.name})),graphqlDeprecated:!!e.deprecationReason,graphqlOperationType:n}];e.deprecationReason&&s.push({nodeType:R.ADMONITION,admonitionType:`warning`,name:`Deprecation reason`,nameTranslationKey:`deprecationReason`,content:_v(e.deprecationReason,i)});let c=_v(e.description,i);c&&s.push({nodeType:R.MARKDOC,content:c}),s.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:t,graphqlFieldName:e.name,graphqlOperationType:n}),e.args&&e.args.length>0&&s.push({nodeType:R.ITEM,variant:`graphql-args`,label:`Arguments`,labelTranslationKey:`arguments.label`,graphqlTypeName:t,graphqlFieldName:e.name,graphqlOperationType:n}),s.push({nodeType:R.ITEM,variant:`return-type`,label:`Return type`,labelTranslationKey:`returnTypes.label`,schemaId:o,graphqlTypeName:a.name,graphqlOperationType:n,graphqlFieldName:e.name});let l=[{children:[{kind:z.GRAPHQL_QUERY,graphqlOperationData:{operationType:n,operationName:e.name,typeName:a.name},schemaId:o,examples:[]}]},{children:[{kind:z.GRAPHQL_RESPONSE,graphqlOperationData:{operationType:n,operationName:e.name,typeName:a.name},schemaId:o,examples:[]}]}];return{contentType:ts.ITEM,itemVariant:r,meta:{name:t,returnType:e.type.toString(),deprecated:!!e.deprecationReason},children:[{nodeType:R.CONTAINER,children:s,panels:l}]}}var i8=o((()=>{A$(),B(),vv()}));function KTe(e,t,n){return r8(e,t,`query`,L.QUERY,n)}var qTe=o((()=>{B(),i8()}));function JTe(e,t,n){return r8(e,t,`mutation`,L.MUTATION,n)}var YTe=o((()=>{B(),i8()}));function XTe(e,t,n){return r8(e,t,`subscription`,L.SUBSCRIPTION,n)}var ZTe=o((()=>{B(),i8()}));function QTe(e,t){let n=e.getTypes(),r=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],i=_v(e.description,t);return i&&r.push({nodeType:R.MARKDOC,content:i}),r.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name}),n.length>0&&r.push({nodeType:R.ITEM,variant:`possible-types`,label:`Possible types`,labelTranslationKey:`possibleTypes`,graphqlTypeNames:n.map(e=>e.name)}),{contentType:ts.ITEM,itemVariant:L.UNION,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:r,panels:[{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}]}]}}var $Te=o((()=>{B(),vv()}));function eEe(e,t){let n=e.getValues(),r=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],i=_v(e.description,t);i&&r.push({nodeType:R.MARKDOC,content:i}),r.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name}),n.length>0&&r.push({nodeType:R.ITEM,variant:`values`,label:`Values`,labelTranslationKey:`values`,schemaId:`types/${e.name}`,values:n.map(e=>({name:e.name,description:_v(e.description,t)??[],deprecated:!!e.deprecationReason}))});let a=[{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}];return{contentType:ts.ITEM,itemVariant:L.ENUM,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:r,panels:a}]}}var tEe=o((()=>{B(),vv()}));function nEe(e,t){let n=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],r=_v(e.description,t);r&&n.push({nodeType:R.MARKDOC,content:r}),n.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name});let i=[{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}];return{contentType:ts.ITEM,itemVariant:L.SCALAR,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:n,panels:i}]}}var rEe=o((()=>{B(),vv()}));function iEe(e,t){let n=`types/${e.name}`,r=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],i=_v(e.description,t);i&&r.push({nodeType:R.MARKDOC,content:i}),r.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name});let a=e.getFields();Object.keys(a).length>0&&r.push({nodeType:R.ITEM,variant:`graphql-fields`,label:`Input Fields`,labelTranslationKey:`inputFields`,schemaId:n,graphqlTypeName:e.name});let o=[{children:[{kind:z.GRAPHQL_TYPE_SAMPLE,schemaId:n,graphqlOperationData:{operationType:`query`,operationName:e.name,typeName:e.name},examples:[]}]},{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}];return{contentType:ts.ITEM,itemVariant:L.INPUT,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:r,panels:o}]}}var aEe=o((()=>{B(),vv()}));function oEe(e,t){let n=`types/${e.name}`,r=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],i=_v(e.description,t);i&&r.push({nodeType:R.MARKDOC,content:i}),r.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name});let a=e.getFields();Object.keys(a).length>0&&r.push({nodeType:R.ITEM,variant:`graphql-fields`,label:`Fields`,labelTranslationKey:`fields`,schemaId:n,graphqlTypeName:e.name});let o=e.getInterfaces();o.length>0&&r.push({nodeType:R.ITEM,variant:`implements`,label:`Implements interfaces`,labelTranslationKey:`implementedInterfaces`,graphqlInterfaceNames:o.map(e=>e.name)});let s=[{children:[{kind:z.GRAPHQL_TYPE_SAMPLE,schemaId:n,graphqlOperationData:{operationType:`query`,operationName:e.name,typeName:e.name},examples:[]}]},{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}];return{contentType:ts.ITEM,itemVariant:L.OBJECT,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:r,panels:s}]}}var sEe=o((()=>{B(),vv()}));function cEe(e,t){let n=`types/${e.name}`,r=[{nodeType:R.HEADER,level:2,label:e.name,showPageActions:!0}],i=_v(e.description,t);i&&r.push({nodeType:R.MARKDOC,content:i}),r.push({nodeType:R.ITEM,variant:`requires-scopes`,graphqlTypeName:e.name});let a=e.getFields();Object.keys(a).length>0&&r.push({nodeType:R.ITEM,variant:`graphql-fields`,label:`Fields`,labelTranslationKey:`fields`,schemaId:n,graphqlTypeName:e.name});let o=e.getInterfaces();o.length>0&&r.push({nodeType:R.ITEM,variant:`implements`,label:`Implements interfaces`,labelTranslationKey:`implementedInterfaces`,graphqlInterfaceNames:o.map(e=>e.name)});let{schema:s}=e8.get(),{objects:c,interfaces:l}=s.getImplementations(e),u=[...c,...l].map(e=>e.name);u.length>0&&r.push({nodeType:R.ITEM,variant:`implemented-by`,label:`Implemented by`,labelTranslationKey:`implementedBy`,graphqlTypeNames:u});let d=[{children:[{kind:z.GRAPHQL_TYPE_SAMPLE,schemaId:n,graphqlOperationData:{operationType:`query`,operationName:e.name,typeName:e.name},examples:[]}]},{title:`Referenced in`,titleTranslationKey:`referenced`,children:[{kind:z.REFERENCES,graphqlTypeName:e.name,references:[]}]}];return{contentType:ts.ITEM,itemVariant:L.INTERFACE,meta:{name:e.name},children:[{nodeType:R.CONTAINER,children:r,panels:d}]}}var lEe=o((()=>{B(),vv(),t8()}));function a8(e){let t=e8.get(),n=`${e.variant}:${e.name}`;if(e.processedItems?.has(n)||(e.filter||e.menuCommonFilter)&&!VTe(e.name,e.filter,e.menuCommonFilter))return null;let r=Os(e.parentPath?e.parentPath:Os(t.basePath,o8[e.variant]),Ss(e.name.toLowerCase())),i=e.label??e.name;if(e.processedItems?.add(n),!t.processContent)return{type:`link`,label:i,link:r,routeSlug:r,...e.deprecated&&{deprecated:!0},content:null};let a=uEe({variant:e.variant,source:e.source,name:e.name,markdownOptions:t.options}),o=dEe(e.source);return o&&a?.meta&&(a.meta.position=o),{type:`link`,label:i,link:r,routeSlug:r,...e.deprecated&&{deprecated:!0},content:a}}function uEe({variant:e,source:t,name:n,markdownOptions:r}){switch(e){case L.DIRECTIVE:return WTe(t,r);case L.QUERY:return KTe(t,n,r);case L.MUTATION:return JTe(t,n,r);case L.SUBSCRIPTION:return XTe(t,n,r);case L.UNION:return QTe(t,r);case L.ENUM:return eEe(t,r);case L.SCALAR:return nEe(t,r);case L.INPUT:return iEe(t,r);case L.OBJECT:return oEe(t,r);case L.INTERFACE:return cEe(t,r);default:return}}function dEe(e){let t=e?.astNode?.loc;if(t?.startToken)return{start:{lineNumber:t.startToken.line,column:t.startToken.column},end:t.endToken?{lineNumber:t.endToken.line,column:t.endToken.column}:void 0}}var o8,s8=o((()=>{B(),Ds(),Ns(),UTe(),GTe(),qTe(),YTe(),ZTe(),$Te(),tEe(),rEe(),aEe(),sEe(),lEe(),t8(),o8={[L.QUERY]:`queries`,[L.MUTATION]:`mutations`,[L.SUBSCRIPTION]:`subscriptions`,[L.DIRECTIVE]:`directives`,[L.OBJECT]:`objects`,[L.INTERFACE]:`interfaces`,[L.UNION]:`unions`,[L.ENUM]:`enums`,[L.INPUT]:`inputs`,[L.SCALAR]:`scalars`}}));function c8(e){return e.filter(e=>!e.name.startsWith(`__`))}var l8=o((()=>{}));function u8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i,options:a}=e8.get(),o=a.showBuiltInDirectives===!0,s=c8(Array.from(i.getDirectives())),c=[];for(let i of s){if(!o&&jq.has(i.name))continue;let a=a8({name:i.name,variant:L.DIRECTIVE,processedItems:t,filter:e,menuCommonFilter:n,label:`@${i.name}`,source:i,parentPath:r});a&&c.push(a)}return c}var d8=o((()=>{B(),t8(),Iq(),s8(),l8()}));function f8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getTypeMap(),o=c8(Object.values(a).filter(e=>_X(e))),s=[];for(let i of o){let a=a8({name:i.name,variant:L.ENUM,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&s.push(a)}return s}var p8=o((()=>{A$(),B(),t8(),s8(),l8()}));function m8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getTypeMap(),o=Object.values(a).filter(e=>vX(e)),s=[];for(let i of o){let a=a8({name:i.name,variant:L.INPUT,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&s.push(a)}return s}var h8=o((()=>{A$(),B(),t8(),s8()}));function g8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getTypeMap(),o=Object.values(a).filter(e=>hX(e)),s=[];for(let i of o){let a=a8({name:i.name,variant:L.INTERFACE,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&s.push(a)}return s}var _8=o((()=>{A$(),B(),t8(),s8()}));function v8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getMutationType();if(!a)return[];let o=a.getFields(),s=[];for(let[i,a]of Object.entries(o)){let o=a8({name:i,variant:L.MUTATION,processedItems:t,filter:e,menuCommonFilter:n,deprecated:!!a.deprecationReason,source:a,parentPath:r});o&&s.push(o)}return s}var y8=o((()=>{B(),t8(),s8()}));function fEe(e,t){return[t.getQueryType(),t.getMutationType(),t.getSubscriptionType()].some(t=>t===e)}var pEe=o((()=>{}));function b8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getTypeMap(),o=c8(Object.values(a).filter(e=>mX(e)&&!fEe(e,i))),s=[];for(let i of o){let a=a8({name:i.name,variant:L.OBJECT,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&s.push(a)}return s}var x8=o((()=>{A$(),B(),t8(),s8(),l8(),pEe()}));function S8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getQueryType();if(!a)return[];let o=a.getFields(),s=[];for(let[i,a]of Object.entries(o)){let o=a8({name:i,variant:L.QUERY,processedItems:t,filter:e,menuCommonFilter:n,deprecated:!!a.deprecationReason,source:a,parentPath:r});o&&s.push(o)}return s}var C8=o((()=>{B(),t8(),s8()}));function w8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i,options:a}=e8.get(),o=a.showBuiltInScalars===!0,s=i.getTypeMap(),c=Object.values(s).filter(e=>pX(e)),l=[];for(let i of c){if(!o&&Aq.has(i.name))continue;let a=a8({name:i.name,variant:L.SCALAR,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&l.push(a)}return l}var T8=o((()=>{A$(),B(),t8(),Iq(),s8()}));function E8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getSubscriptionType();if(!a)return[];let o=a.getFields(),s=[];for(let[i,a]of Object.entries(o)){let o=a8({name:i,variant:L.SUBSCRIPTION,processedItems:t,filter:e,menuCommonFilter:n,deprecated:!!a.deprecationReason,source:a,parentPath:r});o&&s.push(o)}return s}var D8=o((()=>{B(),t8(),s8()}));function O8({filter:e,processedItems:t,menuCommonFilter:n,parentPath:r}={}){let{schema:i}=e8.get(),a=i.getTypeMap(),o=Object.values(a).filter(e=>gX(e)),s=[];for(let i of o){let a=a8({name:i.name,variant:L.UNION,processedItems:t,filter:e,menuCommonFilter:n,source:i,parentPath:r});a&&s.push(a)}return s}var k8=o((()=>{A$(),B(),t8(),s8()})),A8,j8=o((()=>{B(),d8(),p8(),h8(),_8(),y8(),x8(),C8(),T8(),D8(),k8(),A8={[L.QUERY]:S8,[L.MUTATION]:v8,[L.SUBSCRIPTION]:E8,[L.DIRECTIVE]:u8,[L.OBJECT]:b8,[L.INTERFACE]:g8,[L.INPUT]:m8,[L.UNION]:O8,[L.ENUM]:f8,[L.SCALAR]:w8}}));function mEe(e,t,n,r){if(r)return eb(hEe(e,t,r),n)}function hEe(e,t,n){switch(n){case L.DIRECTIVE:{let n=t.startsWith(`@`)?t.slice(1):t;return e.getDirectives().find(e=>e.name===n)?.description}case L.QUERY:return e.getQueryType()?.getFields()[t]?.description;case L.MUTATION:return e.getMutationType()?.getFields()[t]?.description;case L.SUBSCRIPTION:return e.getSubscriptionType()?.getFields()[t]?.description;case L.OBJECT:case L.INTERFACE:case L.UNION:case L.ENUM:case L.INPUT:case L.SCALAR:return e.getType(t)?.description;default:return}}var gEe=o((()=>{B(),lb()}));function _Ee(e,t,n){if(n){if(n===L.MUTATION){let n=e.getMutationType()?.getFields()[t]?.args??[];return n&&n.length>0?[{name:n.length===1?n[0].name:`(...args)`}]:void 0}if(n===L.QUERY){let n=e.getQueryType()?.getFields()[t]?.args??[];return n&&n.length>0?[{name:n.length===1?n[0].name:`(...args)`}]:void 0}}}var vEe=o((()=>{B()}));function yEe(e,t,n){let{schema:r,options:i,basePath:a}=t;return{children:[{kind:z.GROUP_ITEMS,title:`Overview`,titleTranslationKey:`info.title`,items:e.map(e=>({title:e.label??e.link,summary:mEe(r,e.label??e.link,i,n),link:ks(Ms(e.link,a)),deprecated:e.deprecated??!1,badges:_Ee(r,e.label??e.link,n)}))}]}}var bEe=o((()=>{B(),Ns(),gEe(),vEe()}));function M8({typeGroup:e,items:t,label:n,parentPath:r}){let i=e8.get(),a=n??(e?Fq[e]:`Overview`),o=n?void 0:e?N8[e]:`info.title`,s=Os(r??i.basePath,Ss(a?.toLowerCase()));return{type:`group`,label:a,labelTranslationKey:o,link:s,routeSlug:s,items:t,content:i.processContent?{contentType:ts.GROUP,children:[{nodeType:R.CONTAINER,children:[{nodeType:R.HEADER,level:2,label:a,labelTranslationKey:o,showPageActions:!0}],panels:[yEe(t,i,e)]}]}:null}}var N8,P8=o((()=>{B(),Ds(),Ns(),Iq(),bEe(),t8(),N8={[L.QUERY]:`queries`,[L.MUTATION]:`mutations`,[L.SUBSCRIPTION]:`subscriptions`,[L.DIRECTIVE]:`directives`,[L.OBJECT]:`objects`,[L.INTERFACE]:`interfaces`,[L.INPUT]:`inputs`,[L.UNION]:`unions`,[L.ENUM]:`enums`,[L.SCALAR]:`scalars`}}));function xEe(){let e=[];for(let t of Mq){let n=A8[t]();n.length>0&&e.push(M8({typeGroup:t,items:n}))}return e}var SEe=o((()=>{Iq(),j8(),P8()}));function CEe(e){return`All items in the GraphQL definition should belong to some group in strict mode. ${e} doesn't match any of the groups.`}var wEe=o((()=>{}));function TEe(){let{menuConfig:e}=e8.get();if(!e?.groups)return[];let t=[],n=new Set;for(let r of e.groups){let e=OEe(r,n);e&&t.push(e)}if(e.requireExactGroups){let e=EEe(n);if(e)throw Error(CEe(e))}else{let e=kEe(n);e&&t.push(e)}return t}function EEe(e){for(let t of Mq){let[n]=A8[t]({processedItems:e});if(n)return`${DEe(t)} ${n.label}`}}function DEe(e){return e===L.QUERY||e===L.MUTATION||e===L.SUBSCRIPTION?`Operation`:e===L.DIRECTIVE?`Directive`:`Type`}function OEe(e,t){let n=e.items,r=e.types,i=[],a=Os(e8.get().basePath,Ss(e.name?.toLowerCase())),o=(e,t)=>{if(!e)return;let n=t();n.length>0&&i.push(...n)},s=Object.entries(e).map(([e])=>e).filter(AEe);if(n)for(let e of[`queries`,`mutations`,`subscriptions`,`directives`,`types`])s.includes(e)||s.push(e);for(let i of s)switch(i){case`queries`:o(!!(e.queries||n),()=>S8({filter:e.queries,processedItems:t,menuCommonFilter:n,parentPath:a}));break;case`mutations`:o(!!(e.mutations||n),()=>v8({filter:e.mutations,processedItems:t,menuCommonFilter:n,parentPath:a}));break;case`subscriptions`:o(!!(e.subscriptions||n),()=>E8({filter:e.subscriptions,processedItems:t,menuCommonFilter:n,parentPath:a}));break;case`directives`:o(!!(e.directives||n),()=>u8({filter:e.directives,processedItems:t,menuCommonFilter:n,parentPath:a}));break;case`types`:o(!!(r||n),()=>[...b8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a}),...g8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a}),...O8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a}),...f8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a}),...m8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a}),...w8({filter:r,processedItems:t,menuCommonFilter:n,parentPath:a})])}return i.length===0?null:M8({label:e.name,items:i})}function kEe(e){let t=e8.get(),n=t.menuConfig?.otherItemsGroupName||`Other`,r=Os(t.basePath,Ss(n?.toLowerCase())),i=[];for(let t of Mq){let n=A8[t]({processedItems:e,parentPath:Os(r,Ss(Fq[t]?.toLowerCase()))});n.length>0&&i.push(M8({parentPath:r,typeGroup:t,items:n}))}return i.length===0?null:M8({label:n,items:i})}function AEe(e){return e===`queries`||e===`mutations`||e===`subscriptions`||e===`directives`||e===`types`}var jEe=o((()=>{B(),wEe(),d8(),C8(),y8(),D8(),x8(),p8(),T8(),h8(),k8(),_8(),P8(),t8(),Ns(),Ds(),Iq(),j8()}));function MEe(e){return e?.length?{title:`Download GraphQL schema`,titleTranslationKey:`download.description.title`,children:e.map(e=>({kind:z.DOWNLOAD,label:e.title||e.url,url:e.url}))}:null}var NEe=o((()=>{B()}));function PEe(e){if(!e)return null;let t=[];return e.contact?.url&&t.push({kind:z.EXTERNAL_LINK,title:`URL`,titleTranslationKey:`info.contact.url`,label:e.contact.url,url:e.contact.url}),e.contact?.email&&t.push({kind:z.EMAIL,title:e.contact.name||`E-mail`,titleTranslationKey:e.contact.name?void 0:`info.contact.name`,email:e.contact.email,label:e.contact.email,withCopyButton:!0,copyContent:e.contact.email}),e.license?.url&&(e.license.identifier||e.license.name)&&t.push({kind:z.EXTERNAL_LINK,title:`License`,titleTranslationKey:`info.license`,label:e.license.identifier||e.license.name||``,url:e.license.url}),!e.license?.url&&(e.license?.identifier||e.license?.name)&&t.push({kind:z.ATTRIBUTE,title:`License`,titleTranslationKey:`info.license`,label:e.license?.identifier||e.license?.name||`License`,value:e.license?.identifier||e.license?.name||`License`}),e.termsOfService&&t.push({kind:z.EXTERNAL_LINK,label:`Terms of Service`,labelTranslationKey:`info.termsOfService`,url:e.termsOfService}),{title:`Overview`,titleTranslationKey:`info.title`,children:t}}var FEe=o((()=>{B()}));function IEe([e,t]){return F8.includes(e)?null:Array.isArray(t)?{key:e,value:t.filter(e=>typeof e!=`object`).join(`, `)}:typeof t==`object`&&t?null:{key:e,value:String(t)}}function LEe(e){return!e||typeof e!=`object`?[]:Object.entries(e).map(e=>IEe(e)).filter(e=>e!=null)}var F8,REe=o((()=>{F8=[`title`,`description`]}));function zEe(e){let{options:{info:t,downloadUrls:n,hideDownloadButtons:r,metadata:i},markdoc:a,sectionChildren:o}=e,s=[],c=r?null:MEe(n??[]);c&&s.push(c);let l=PEe(t);l&&s.push(l);let u=t?.title??`Overview`,d={nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.HEADER,level:1,showPageActions:!0,label:t?.version?`${u} (${t.version})`:u,labelTranslationKey:t?.title||t?.version?void 0:`overview`}],sectionId:`/`};a?.length&&d.children.push({nodeType:R.OVERVIEW_SECTION_WRAPPER,children:[{nodeType:R.MARKDOC,content:a}],sectionId:`/`});let f=LEe(i);f.length>0&&d.children.push({nodeType:R.INFO_METADATA,rows:f});let p={nodeType:R.CONTAINER,panels:s,children:[d,...o]};return{contentType:ts.OVERVIEW,children:[p]}}var BEe=o((()=>{B(),NEe(),FEe(),REe()}));function VEe(e,t){let{info:n}=e.options;if(!e.processContent)return{type:`link`,label:n?.title||`Overview`,labelTranslationKey:n?.title?void 0:`graphql.info.title`,link:e.basePath,routeSlug:e.basePath,content:null};let r=Vy(n?.description||``,e.options);return{type:`link`,label:n?.title||`Overview`,labelTranslationKey:n?.title?void 0:`graphql.info.title`,link:e.basePath,routeSlug:e.basePath,content:zEe({options:e.options,markdoc:r?.length?r:void 0,sectionChildren:t})}}var HEe=o((()=>{lb(),BEe()})),UEe=c({processGraphqlDocument:()=>WEe});function WEe({document:e,options:t,basePath:n,processContent:r=!0}){let i=k$(e),a=r?zTe(i,t):{schemaStore:{},exampleStore:{},securitySchemeStore:{}},o=PTe({document:e,options:t,basePath:n,prebuiltSchema:i,processContent:r});return e8.run(o,()=>({items:GEe(),store:a}))}function GEe(){let e=e8.get(),{sectionItems:t,sectionChildren:n}=e.processContent?Xy(e.options.info?.description||``,e.basePath,e.options):{sectionItems:[],sectionChildren:[]},r=[VEe(e,n),...t];return e.menuConfig?.groups?r.push(...TEe()):r.push(...xEe()),r}var KEe=o((()=>{A$(),FTe(),BTe(),lb(),SEe(),jEe(),HEe(),t8()}));async function qEe(e){let t=e.type,n={...U1(e.options),markdownParser:e.markdownParser},r;if(JEe(e)){let{processOpenApiDocument:t}=await Promise.resolve().then(()=>(Nwe(),Owe));r=await t({...e,options:n})}else if(YEe(e)){let{processAsyncApiDocument:t}=await Promise.resolve().then(()=>(CTe(),xTe));r=t({...e,options:n})}else if(XEe(e)){let{processGraphqlDocument:t}=await Promise.resolve().then(()=>(KEe(),UEe));r=t({...e,options:n})}return r?{items:r.items,store:{...r.store,specType:t},specType:t}:{items:[],store:{schemaStore:{},exampleStore:{},securitySchemeStore:{},specType:t},specType:t}}function JEe(e){return e.type===`openapi`}function YEe(e){return e.type===`asyncapi`}function XEe(e){return e.type===`graphql`}var ZEe=createContext(void 0),QEe=s(((e,t)=>{function n(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}function r(e,t){for(var n=``,r=0,i=-1,a=0,o,s=0;s<=e.length;++s){if(s<e.length)o=e.charCodeAt(s);else if(o===47)break;else o=47;if(o===47){if(i!==s-1&&a!==1){if(i!==s-1&&a===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var c=n.lastIndexOf(`/`);if(c!==n.length-1){c===-1?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}}else if(n.length===2||n.length===1){n=``,r=0,i=s,a=0;continue}}t&&(n.length>0?n+=`/..`:n=`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1}i=s,a=0}else o===46&&a!==-1?++a:a=-1}return n}function i(e,t){var n=t.dir||t.root,r=t.base||(t.name||``)+(t.ext||``);return n?n===t.root?n+r:n+e+r:r}var a={resolve:function(){for(var e=``,t=!1,i,a=arguments.length-1;a>=-1&&!t;a--){var o;a>=0?o=arguments[a]:(i===void 0&&(i=process.cwd()),o=i),n(o),o.length!==0&&(e=o+`/`+e,t=o.charCodeAt(0)===47)}return e=r(e,!t),t?e.length>0?`/`+e:`/`:e.length>0?e:`.`},normalize:function(e){if(n(e),e.length===0)return`.`;var t=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=r(e,!t),e.length===0&&!t&&(e=`.`),e.length>0&&i&&(e+=`/`),t?`/`+e:e},isAbsolute:function(e){return n(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return`.`;for(var e,t=0;t<arguments.length;++t){var r=arguments[t];n(r),r.length>0&&(e===void 0?e=r:e+=`/`+r)}return e===void 0?`.`:a.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t||(e=a.resolve(e),t=a.resolve(t),e===t))return``;for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<t.length&&t.charCodeAt(s)===47;++s);for(var c=t.length-s,l=o<c?o:c,u=-1,d=0;d<=l;++d){if(d===l){if(c>l){if(t.charCodeAt(s+d)===47)return t.slice(s+d+1);if(d===0)return t.slice(s+d)}else o>l&&(e.charCodeAt(r+d)===47?u=d:d===0&&(u=0));break}var f=e.charCodeAt(r+d);if(f!==t.charCodeAt(s+d))break;f===47&&(u=d)}var p=``;for(d=r+u+1;d<=i;++d)(d===i||e.charCodeAt(d)===47)&&(p.length===0?p+=`..`:p+=`/..`);return p.length>0?p+t.slice(s+u):(s+=u,t.charCodeAt(s)===47&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(n(e),e.length===0)return`.`;for(var t=e.charCodeAt(0),r=t===47,i=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),t===47){if(!a){i=o;break}}else a=!1;return i===-1?r?`/`:`.`:r&&i===1?`//`:e.slice(0,i)},basename:function(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);n(e);var r=0,i=-1,a=!0,o;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return``;var s=t.length-1,c=-1;for(o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(l===47){if(!a){r=o+1;break}}else c===-1&&(a=!1,c=o+1),s>=0&&(l===t.charCodeAt(s)?--s===-1&&(i=o):(s=-1,i=c))}return r===i?i=c:i===-1&&(i=e.length),e.slice(r,i)}for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!a){r=o+1;break}}else i===-1&&(a=!1,i=o+1);return i===-1?``:e.slice(r,i)},extname:function(e){n(e);for(var t=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!a){r=s+1;break}continue}i===-1&&(a=!1,i=s+1),c===46?t===-1?t=s:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||i===-1||o===0||o===1&&t===i-1&&t===r+1?``:e.slice(t,i)},format:function(e){if(typeof e!=`object`||!e)throw TypeError(`The "pathObject" argument must be of type Object. Received type `+typeof e);return i(`/`,e)},parse:function(e){n(e);var t={root:``,dir:``,base:``,ext:``,name:``};if(e.length===0)return t;var r=e.charCodeAt(0),i=r===47,a;i?(t.root=`/`,a=1):a=0;for(var o=-1,s=0,c=-1,l=!0,u=e.length-1,d=0;u>=a;--u){if(r=e.charCodeAt(u),r===47){if(!l){s=u+1;break}continue}c===-1&&(l=!1,c=u+1),r===46?o===-1?o=u:d!==1&&(d=1):o!==-1&&(d=-1)}return o===-1||c===-1||d===0||d===1&&o===c-1&&o===s+1?c!==-1&&(t.base=t.name=s===0&&i?e.slice(1,c):e.slice(s,c)):(s===0&&i?(t.name=e.slice(1,o),t.base=e.slice(1,c)):(t.name=e.slice(s,o),t.base=e.slice(s,c)),t.ext=e.slice(o,c)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir=`/`),t},sep:`/`,delimiter:`:`,win32:null,posix:null};a.posix=a,t.exports=a})),I8=u(z0(),1),L8=u(QEe(),1),$Ee=eU.withTags(MH,IH,GH,KH,JH),eDe=(e,t)=>{let n=tG(e,{schema:$Ee,...t});if(n.length===0)return e.trim()===``?void 0:null;if(n.length>1)throw new cU(`expected a single document in the stream, but found more`);return n[0]},tDe=(e,t)=>VK(e,t);function Q(e,t={}){return{name:`${e}List`,properties:{},items:e,...t}}function $(e,t={}){return{name:`${e}Map`,properties:{},additionalProperties:()=>e,...t}}var R8={name:`SpecExtension`,properties:{},additionalProperties:{resolvable:!0}};function z8(e,t={}){let n={};for(let t of Object.keys(e))n[t]={...e[t],name:t};for(let e of Object.values(n))r(e);return n.SpecExtension=R8,n;function r(e){if(e.additionalProperties&&=i(e.additionalProperties),e.items&&=i(e.items),e.properties){let n={};for(let[r,a]of Object.entries(e.properties))n[r]=i(a),t.doNotResolveExamples&&a&&a.isExample&&(n[r]={...a,resolvable:!1});e.properties=n}}function i(e){if(typeof e==`string`){if(!n[e])throw Error(`Unknown type name found: ${e}`);return n[e]}return typeof e==`function`?(t,n)=>i(e(t,n)):B8(e)?(e={...e},r(e),e):e?.directResolveAs===void 0?e:{...e,directResolveAs:i(e.directResolveAs)??void 0}}}function B8(e){return typeof e?.name==`string`}function V8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function H8(e){return!!e}function U8(e,t){return e===``&&(e=`#/`),e[e.length-1]===`/`?e+t:e+`/`+t}function W8(e){return V8(e)&&typeof e.$ref==`string`}function G8(e){return W8(e)&&Object.keys(e).length>1}function K8(e){return V8(e)&&typeof e.externalValue==`string`}var q8=class e{source;pointer;constructor(e,t){this.source=e,this.pointer=t}child(t){return new e(this.source,U8(this.pointer,(Array.isArray(t)?t:[t]).map(Y8).join(`/`)))}key(){return Object.assign(Object.create(e.prototype),this,{reportOnKey:!0})}get absolutePointer(){return this.source.absoluteRef+(this.pointer===`#/`?``:this.pointer)}};function J8(e){let t=e.indexOf(`~`)===-1?e:e.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`);try{return decodeURIComponent(t)}catch{return t}}function Y8(e){return typeof e==`number`||e.indexOf(`/`)===-1&&e.indexOf(`~`)===-1?e:e.replaceAll(`~`,`~0`).replaceAll(`/`,`~1`)}function X8(e){let[t,n=``]=e.split(`#/`);return{uri:(t.endsWith(`#`)?t.slice(0,-1):t)||null,pointer:nDe(n)}}function nDe(e){return e.split(`/`).map(J8).filter(H8)}function rDe(e){let t=e.split(`/`);return t[t.length-1]}function iDe(e){let t=e.split(/[\/\\]/);return t[t.length-1].replace(/\.[^.]+$/,``)}function Z8(e){return e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`file://`)||e.startsWith(`data:`)}function Q8(e){return typeof e==`string`&&(e.startsWith(`#`)||Z8(e)||e.startsWith(`./`)||e.startsWith(`../`)||e.indexOf(`/`)>-1||/\.(ya?ml|json)$/i.test(e))}function aDe(e){return/^#[A-Za-z][A-Za-z0-9\-_:.]*$/.test(e)}function $8(e,t,n){if(!V8(t.node)&&n.parent){n.parent[n.key]=t.node;return}delete e.$ref,V8(t.node)&&Object.assign(e,{...t.node,...e})}var oDe=/^[0-9][0-9Xx]{2}$/,sDe={properties:{openapi:null,info:`Info`,servers:`ServerList`,security:`SecurityRequirementList`,tags:`TagList`,externalDocs:`ExternalDocs`,paths:`Paths`,components:`Components`,"x-webhooks":`WebhooksMap`,"x-tagGroups":`TagGroups`,"x-ignoredHeaderParameters":{type:`array`,items:{type:`string`}}},required:[`openapi`,`paths`,`info`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/openapi#openapi`,description:`REQUIRED. This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses. The openapi field SHOULD be used by tooling specifications and clients to interpret the OpenAPI document. This is not related to the API info.version string.`},cDe={properties:{name:{type:`string`,description:`REQUIRED. The name of the tag.`},description:{type:`string`,description:`A description for the tag.`},externalDocs:`ExternalDocs`,"x-traitTag":{type:`boolean`},"x-displayName":{type:`string`}},required:[`name`],extensionsPrefix:`x-`,description:`The Tag Object represents a tag used by the OAS. It is not mandatory to have a tag object per tag used by the OAS but each tag object can contain additional metadata.`},lDe={properties:{name:{type:`string`,description:`The display name for the tag, used in the navigation bar and as a section heading.`},tags:{type:`array`,description:`List of tags to include in this group.`,items:{type:`string`}}},extensionsPrefix:`x-`,description:`The x-tagGroups extension is used at the top level of an OpenAPI description.`,documentationLink:`https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-tag-groups#taggroup-object`},uDe={properties:{description:{type:`string`,description:`A description of the target documentation. Used as the link anchor text in Redocly. If not provided, the url is used as the link anchor text.`},url:{type:`string`,description:`REQUIRED. The URL for the target documentation.`}},required:[`url`],extensionsPrefix:`x-`,description:`Additional external documentation for this operation.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/external-docs`},dDe={properties:{url:{type:`string`,description:`REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions are made when a variable is named in { curly braces }.`},description:{type:`string`,description:`An optional string describing the host designated by the URL.`},variables:`ServerVariablesMap`},required:[`url`],extensionsPrefix:`x-`,description:`A server object to be used by the target operation.`},fDe={properties:{enum:{type:`array`,items:{type:`string`},description:`An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. If defined, the array MUST contain the default value.`},default:{type:`string`,description:`REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. Note this behavior is different than the Schema Object's treatment of default values, because in those cases parameter values are optional. If the enum is defined, the value MUST exist in the enum's values.`},description:{type:`string`,description:`An optional description for the server variable.`}},required:[`default`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/server-variables#server-variables`,description:`Server variables are used when you need to make a substitution into the server URL such as when the subdomain is unique per tenant.`},pDe={properties:{},additionalProperties:{type:`array`,items:{type:`string`}},documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/security#security-requirement-object`,description:`A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. Individual operations can override this definition. To make security optional, an empty security requirement ({}) can be included in the array.`},mDe={properties:{title:{type:`string`,description:`REQUIRED. The title of the API.`},version:{type:`string`,description:`REQUIRED. The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API implementation version).`},description:{type:`string`,description:`RECOMMENDED. A description of the API (Markdown may be used).`},termsOfService:{type:`string`,description:`A URL to the Terms of Service for the API.`},contact:`Contact`,license:`License`,"x-logo":`Logo`},required:[`title`,`version`],extensionsPrefix:`x-`,description:`REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/info#info`},hDe={properties:{url:{type:`string`},altText:{type:`string`},backgroundColor:{type:`string`},href:{type:`string`}},documentationLink:`https://redocly.com/docs-legacy/api-reference-docs/specification-extensions/x-logo#x-logo`,description:`A commonly used specification extension containing the information about the API logo.`},gDe={properties:{name:{type:`string`,description:`The identifying name of the contact person or organization.`},url:{type:`string`,description:`The URL pointing to the contact information.`},email:{type:`string`,description:`The email address of the contact person or organization.`}},extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/contact`,description:`The contact information for the exposed API.`},_De={properties:{name:{type:`string`,description:`REQUIRED. The license name used for the API.`},url:{type:`string`,description:`The URL pointing to the contact information.`}},required:[`name`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/license#license`,description:`The license information for the exposed API.`},vDe={extensionsPrefix:`x-`,properties:{},additionalProperties:(e,t)=>t.startsWith(`/`)?`PathItem`:void 0,description:`The Paths Object is a map of a paths to the path item object. A path starts with a /.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/paths#paths-object`},yDe={properties:{},additionalProperties:()=>`PathItem`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/webhooks#types`},bDe={properties:{$ref:{type:`string`,description:`Allows for a referenced definition of this path item. The referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/reference`},servers:`ServerList`,parameters:`ParameterList`,summary:{type:`string`,description:`An optional, string summary, intended to apply to all operations in this path.`},description:{type:`string`,description:`An optional, string description, intended to apply to all operations in this path.`},get:`Operation`,put:`Operation`,post:`Operation`,delete:`Operation`,options:`Operation`,head:`Operation`,patch:`Operation`,trace:`Operation`,"x-query":`Operation`},extensionsPrefix:`x-`,description:`Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/path-item#path-item-object`},xDe={properties:{name:{type:`string`,description:`REQUIRED. The name of the parameter. Parameter names are case sensitive.`},in:{enum:[`query`,`header`,`path`,`cookie`],description:`REQUIRED. The location of the parameter. Possible values are "query", "header", "path", or "cookie".`},description:{type:`string`,description:`A brief description of the parameter. This could contain examples of use.`},required:{type:`boolean`,description:`Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.`},deprecated:{type:`boolean`,description:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`},allowEmptyValue:{type:`boolean`,description:`Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty value. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Use of this property is NOT RECOMMENDED, as it is likely to be removed in a later revision.`},style:{enum:[`form`,`simple`,`label`,`matrix`,`spaceDelimited`,`pipeDelimited`,`deepObject`],description:`Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.`},explode:{type:`boolean`,description:`When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.`},allowReserved:{type:`boolean`,description:`Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false.`},schema:`Schema`,example:{isExample:!0},examples:`ExamplesMap`,content:`MediaTypesMap`},required:[`name`,`in`],requiredOneOf:[`schema`,`content`],extensionsPrefix:`x-`,description:`Describes a request parameter, which excludes the request body. A unique parameter is defined by a unique combination of the name and in values.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/parameter`},SDe={properties:{tags:{type:`array`,items:{type:`string`},description:`A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.`},summary:{type:`string`,description:`A short summary of what the operation does.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#summary`},description:{type:`string`,description:`A verbose explanation of the operation behavior.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#description`},externalDocs:`ExternalDocs`,operationId:{type:`string`,description:`Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#operationid`},parameters:`ParameterList`,security:`SecurityRequirementList`,servers:`ServerList`,requestBody:`RequestBody`,responses:`Responses`,deprecated:{type:`boolean`},callbacks:`CallbacksMap`,"x-codeSamples":`XCodeSampleList`,"x-code-samples":`XCodeSampleList`,"x-hideTryItPanel":{type:`boolean`}},required:[`responses`],extensionsPrefix:`x-`,description:`The Operation Object describes a single API operation on a path, including its parameters, responses, and request body (if applicable). Each path can support more than one operation, but those operations must be unique. A unique operation is a combination of a path and an HTTP method, so two GET or two POST methods for the same path are not allowed.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation`},CDe={properties:{lang:{type:`string`},label:{type:`string`},source:{type:`string`}},documentationLink:`https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-code-samples`,description:`Code samples are snippets of code shown alongside API operations in reference documentation, giving users a quick way to start to interact with an API from their own code. The x-codeSamples addition to OpenAPI allows you to add or override any existing code samples for a particular language or endpoint.`},wDe={properties:{description:{type:`string`,description:`A brief description of the request body. This could contain examples of use.`},required:{type:`boolean`,description:`Determines if the request body is required in the request. Defaults to false.`},content:`MediaTypesMap`},required:[`content`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/request-body`,description:`The request body is defined inside of operations (including paths and webhooks). The request body can also be defined inside of the named requestBodies object in components.`},TDe={properties:{},additionalProperties:`MediaType`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/media-type#types`},EDe={properties:{schema:`Schema`,example:{isExample:!0,description:`Example of the media type. The example object SHOULD be in the correct format as specified by the media type. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema.`},examples:`ExamplesMap`,encoding:`EncodingMap`},extensionsPrefix:`x-`,description:`The Media Type Object is one of the important building blocks of OpenAPI.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/media-type`},DDe={properties:{value:{resolvable:!1,description:`Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary.`},summary:{type:`string`},description:{type:`string`,description:`Long description for the example.`},externalValue:{type:`string`,description:`A URL that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive.`}},extensionsPrefix:`x-`,description:`Example of the media type. The example object SHOULD be in the correct format as specified by the media type. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/example`},ODe={properties:{contentType:{type:`string`,description:`The Content-Type for encoding a specific property. Default value depends on the property type: for string with format being binary – application/octet-stream; for other primitive types – text/plain; for object - application/json; for array – the default is defined based on the inner type. The value can be a specific media type (e.g. application/json), a wildcard media type (e.g. image/*), or a comma-separated list of the two types.`},headers:`HeadersMap`,style:{enum:[`form`,`simple`,`label`,`matrix`,`spaceDelimited`,`pipeDelimited`,`deepObject`],description:`Describes how a specific property value will be serialized depending on its type. See Parameter Object for details on the style property. The behavior follows the same values as query parameters, including default values. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded.`},explode:{type:`boolean`,description:`When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded.`},allowReserved:{type:`boolean`,description:`Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986] Section 2.2 :/?#[]@!$&'()*+,;= to be included without percent-encoding. The default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded.`}},extensionsPrefix:`x-`,description:`A single encoding definition applied to a single schema property.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/encoding#types`},kDe={properties:{},additionalProperties:{type:`string`},description:`The enum (short for "enumeration") fields in OpenAPI allow you to restrict the value of a field to a list of allowed values. These values need to be short and machine-readable, but that can make them harder for humans to parse and work with.`,documentationLink:`https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-enum-descriptions`},ADe={properties:{description:{type:`string`,description:`A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`},required:{type:`boolean`,description:`Determines whether this parameter is mandatory. Its default value is false.`},deprecated:{type:`boolean`},allowEmptyValue:{type:`boolean`,description:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`},style:{enum:[`form`,`simple`,`label`,`matrix`,`spaceDelimited`,`pipeDelimited`,`deepObject`]},explode:{type:`boolean`},allowReserved:{type:`boolean`},schema:`Schema`,example:{isExample:!0,description:`Example of the header's potential value. The example SHOULD match the specified schema and encoding properties if present. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema that contains an example, the example value SHALL override the example provided by the schema. To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.`},examples:`ExamplesMap`,content:`MediaTypesMap`},requiredOneOf:[`schema`,`content`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/header#header-object`,description:`The header object is used to describe a response header in the headers map.`},jDe={extensionsPrefix:`x-`,properties:{default:`Response`},additionalProperties:(e,t)=>oDe.test(t)?`Response`:void 0,description:`The list of possible responses as they are returned from executing this operation.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/named-responses`},MDe={properties:{description:{type:`string`},headers:`HeadersMap`,content:`MediaTypesMap`,links:`LinksMap`,"x-summary":{type:`string`,documentationLink:`https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-summary#openapi-extension-x-summary`,description:`Use x-summary to add a short custom text to describe the response in the API documentation.`}},required:[`description`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/response`,description:`The response object describes a single response in the Responses Map.`},NDe={properties:{operationRef:{type:`string`,description:`A relative or absolute reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI definition.`},operationId:{type:`string`,description:`The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field.`},parameters:null,requestBody:null,description:{type:`string`,description:`A description of the link.`},server:`Server`},extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/links`,description:`The Link object represents a possible design-time link for a response. The presence of a link does not guarantee the caller’s ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.`},e5=`Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.`,t5=Q(`Schema`,{name:`AllOf`,description:e5}),n5=Q(`Schema`,{name:`AnyOf`,description:e5}),r5=Q(`Schema`,{name:`OneOf`,description:e5}),PDe={properties:{externalDocs:`ExternalDocs`,discriminator:`Discriminator`,title:{type:`string`,description:`Value MUST be a string. Multiple types via an array are not supported.`},multipleOf:{type:`number`,minimum:0},maximum:{type:`number`},minimum:{type:`number`},exclusiveMaximum:{type:`boolean`},exclusiveMinimum:{type:`boolean`},maxLength:{type:`integer`,minimum:0},minLength:{type:`integer`,minimum:0},pattern:{type:`string`,description:`(This string SHOULD be a valid regular expression, according to the Ecma-262 Edition 5.1 regular expression dialect)`},maxItems:{type:`integer`,minimum:0},minItems:{type:`integer`,minimum:0},uniqueItems:{type:`boolean`},maxProperties:{type:`integer`,minimum:0},minProperties:{type:`integer`,minimum:0},required:{type:`array`,items:{type:`string`}},enum:{type:`array`},type:{enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`],description:`Value MUST be a string. Multiple types via an array are not supported.`},allOf:t5,anyOf:n5,oneOf:r5,not:`Schema`,properties:`SchemaProperties`,items:e=>Array.isArray(e)?Q(`Schema`):`Schema`,additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,description:{type:`string`,description:`CommonMark syntax MAY be used for rich text representation.`},format:{type:`string`,description:`See Data Type Formats for further details. While relying on JSON Schema's defined formats, the OAS offers a few additional predefined formats.`},default:null,nullable:{type:`boolean`},readOnly:{type:`boolean`},writeOnly:{type:`boolean`},xml:`Xml`,example:{isExample:!0},deprecated:{type:`boolean`},"x-tags":{type:`array`,items:{type:`string`}},"x-additionalPropertiesName":{type:`string`},"x-explicitMappingOnly":{type:`boolean`}},extensionsPrefix:`x-`,description:`The schema defining the content of the request, response, or parameter.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/schemas`},i5={Root:sDe,Tag:cDe,TagList:Q(`Tag`,{documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/tags`,description:`A list of tags used by the document with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.`}),TagGroups:Q(`TagGroup`),TagGroup:lDe,ExternalDocs:uDe,Server:dDe,ServerList:Q(`Server`,{description:`A list of servers available to the API.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/servers#servers`}),ServerVariable:fDe,ServerVariablesMap:$(`ServerVariable`,{description:`A map between a variable name and its value. The value is used for substitution in the server's URL template.`}),SecurityRequirement:pDe,SecurityRequirementList:Q(`SecurityRequirement`),Info:mDe,Contact:gDe,License:_De,Paths:vDe,PathItem:bDe,Parameter:xDe,ParameterList:Q(`Parameter`,{description:`A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item, the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object’s components/parameters.`}),Operation:SDe,Callback:$(`PathItem`,{extensionsPrefix:`x-`,description:`https://redocly.com/learn/openapi/openapi-visual-reference/callbacks#callback-object`}),CallbacksMap:$(`Callback`),RequestBody:wDe,MediaTypesMap:TDe,MediaType:EDe,Example:DDe,ExamplesMap:$(`Example`),Encoding:ODe,EncodingMap:$(`Encoding`),EnumDescriptions:kDe,Header:ADe,HeadersMap:$(`Header`),Responses:jDe,Response:MDe,Link:NDe,Logo:hDe,Schema:PDe,AllOf:t5,AnyOf:n5,OneOf:r5,Xml:{properties:{name:{type:`string`},namespace:{type:`string`},prefix:{type:`string`},attribute:{type:`boolean`},wrapped:{type:`boolean`}},extensionsPrefix:`x-`,description:`This MAY be used only on properties schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property.`},SchemaProperties:{properties:{},additionalProperties:`Schema`},DiscriminatorMapping:{properties:{},additionalProperties:e=>typeof e==`string`&&Q8(e)?{type:`string`,directResolveAs:`Schema`}:{type:`string`},documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/discriminator#types`},Discriminator:{properties:{propertyName:{type:`string`,description:`REQUIRED. The name of the property in the payload that will hold the discriminator value.`},mapping:`DiscriminatorMapping`},required:[`propertyName`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/discriminator#discriminator-object`,description:`When request bodies or response payloads may be one of a number of different schemas, a discriminator object can be used to aid in serialization, deserialization, and validation. The discriminator is a specific object in a schema which is used to inform the consumer of the document of an alternative schema based on the value associated with it.`},Components:{properties:{parameters:`NamedParameters`,schemas:`NamedSchemas`,responses:`NamedResponses`,examples:`NamedExamples`,requestBodies:`NamedRequestBodies`,headers:`NamedHeaders`,securitySchemes:`NamedSecuritySchemes`,links:`NamedLinks`,callbacks:`NamedCallbacks`},extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/components#components`},LinksMap:$(`Link`),NamedSchemas:$(`Schema`),NamedResponses:$(`Response`),NamedParameters:$(`Parameter`),NamedExamples:$(`Example`),NamedRequestBodies:$(`RequestBody`),NamedHeaders:$(`Header`),NamedSecuritySchemes:$(`SecurityScheme`),NamedLinks:$(`Link`),NamedCallbacks:$(`Callback`),ImplicitFlow:{properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},authorizationUrl:{type:`string`}},required:[`authorizationUrl`,`scopes`],extensionsPrefix:`x-`,description:`Configuration for the OAuth Implicit flow.`},PasswordFlow:{properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`scopes`],extensionsPrefix:`x-`,description:`Object Configuration for the OAuth Resource Owner Password flow.`},ClientCredentials:{properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`scopes`],extensionsPrefix:`x-`,description:`Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0.`},AuthorizationCode:{properties:{refreshUrl:{type:`string`},authorizationUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`},"x-usePkce":e=>typeof e==`boolean`?{type:`boolean`}:`XUsePkce`},required:[`authorizationUrl`,`tokenUrl`,`scopes`],extensionsPrefix:`x-`,description:`Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.`},OAuth2Flows:{properties:{implicit:`ImplicitFlow`,password:`PasswordFlow`,clientCredentials:`ClientCredentials`,authorizationCode:`AuthorizationCode`},extensionsPrefix:`x-`,description:`Configuration details for a supported OAuth Flow.`},SecurityScheme:{properties:{type:{enum:[`apiKey`,`http`,`oauth2`,`openIdConnect`],description:`REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "oauth2", "openIdConnect".`},description:{type:`string`,description:`A short description for security scheme.`},name:{type:`string`,description:`REQUIRED. The name of the header, query or cookie parameter to be used.`},in:{type:`string`,enum:[`query`,`header`,`cookie`],description:`REQUIRED. The location of the API key. Valid values are "query", "header" or "cookie".`},scheme:{type:`string`,description:`A short description for security scheme.`},bearerFormat:{type:`string`,description:`A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.`},flows:`OAuth2Flows`,openIdConnectUrl:{type:`string`,description:`REQUIRED. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL.`},"x-defaultClientId":{type:`string`}},required(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`];case`http`:return[`type`,`scheme`];case`oauth2`:return[`type`,`flows`];case`openIdConnect`:return[`type`,`openIdConnectUrl`];default:return[`type`]}},allowed(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`,`description`];case`http`:return[`type`,`scheme`,`bearerFormat`,`description`];case`oauth2`:return[`type`,`flows`,`description`];case`openIdConnect`:return[`type`,`openIdConnectUrl`,`description`];default:return[`type`,`description`]}},extensionsPrefix:`x-`},XCodeSample:CDe,XCodeSampleList:Q(`XCodeSample`),XUsePkce:{properties:{disableManualConfiguration:{type:`boolean`},hideClientSecretInput:{type:`boolean`}},description:`The x-usePkce allows you to enable Proof Key for Code Exchange (PKCE) for the Oauth2 or OpenID Connect authorization code flow in the Replay.`,documentationLink:`https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-use-pkce#openapi-extension-x-usepkce`},WebhooksMap:yDe},FDe={properties:{openapi:null,info:`Info`,servers:`ServerList`,security:`SecurityRequirementList`,tags:`TagList`,externalDocs:`ExternalDocs`,paths:`Paths`,webhooks:`WebhooksMap`,components:`Components`,jsonSchemaDialect:{type:`string`,description:`The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI.`}},required:[`openapi`,`info`],requiredOneOf:[`paths`,`components`,`webhooks`],extensionsPrefix:`x-`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/openapi#openapi`,description:`REQUIRED. This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses. The openapi field SHOULD be used by tooling specifications and clients to interpret the OpenAPI document. This is not related to the API info.version string.`},IDe={...i5.License,properties:{...i5.License.properties,identifier:{type:`string`,description:`An [SPDX-Licenses] expression for the API. The identifier field is mutually exclusive of the url field.`}}},LDe={...i5.Info,properties:{...i5.Info.properties,summary:{type:`string`,description:`A short summary of the API. This field MAY be used by tooling as required.`}}},RDe={...i5.Components,properties:{...i5.Components.properties,pathItems:`NamedPathItems`}},zDe={properties:{tags:{type:`array`,items:{type:`string`},description:`A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.`},summary:{type:`string`,description:`A short summary of what the operation does.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#summary`},description:{type:`string`,description:`A verbose explanation of the operation behavior.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#description`},externalDocs:`ExternalDocs`,operationId:{type:`string`,description:`Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive.`,documentationLink:`https://redocly.com/learn/openapi/openapi-visual-reference/operation#operationid`},parameters:`ParameterList`,security:`SecurityRequirementList`,servers:`ServerList`,requestBody:`RequestBody`,responses:`Responses`,deprecated:{type:`boolean`},callbacks:`CallbacksMap`,"x-codeSamples":`XCodeSampleList`,"x-code-samples":`XCodeSampleList`,"x-hideTryItPanel":{type:`boolean`}},extensionsPrefix:`x-`,description:`The Operation Object describes a single API operation on a path, including its parameters, responses, and request body (if applicable). Each path can support more than one operation, but those operations must be unique. A unique operation is a combination of a path and an HTTP method, so two GET or two POST methods for the same path are not allowed.`},BDe={properties:{$id:{type:`string`},$anchor:{type:`string`},id:{type:`string`},$schema:{type:`string`},definitions:`NamedSchemas`,$defs:`NamedSchemas`,$vocabulary:{type:`string`},externalDocs:`ExternalDocs`,discriminator:`Discriminator`,title:{type:`string`},multipleOf:{type:`number`,minimum:0},maximum:{type:`number`},minimum:{type:`number`},exclusiveMaximum:{type:`number`},exclusiveMinimum:{type:`number`},maxLength:{type:`integer`,minimum:0},minLength:{type:`integer`,minimum:0},pattern:{type:`string`},maxItems:{type:`integer`,minimum:0},minItems:{type:`integer`,minimum:0},uniqueItems:{type:`boolean`},maxProperties:{type:`integer`,minimum:0},minProperties:{type:`integer`,minimum:0},required:{type:`array`,items:{type:`string`}},enum:{type:`array`},type:e=>Array.isArray(e)?{type:`array`,items:{enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`,`null`]}}:{enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`,`null`]},allOf:Q(`Schema`,{name:`AllOf`}),anyOf:Q(`Schema`,{name:`AnyOf`}),oneOf:Q(`Schema`,{name:`OneOf`}),not:`Schema`,if:`Schema`,then:`Schema`,else:`Schema`,dependentSchemas:$(`Schema`),dependentRequired:`DependentRequired`,prefixItems:Q(`Schema`),contains:`Schema`,minContains:{type:`integer`,minimum:0},maxContains:{type:`integer`,minimum:0},patternProperties:`PatternProperties`,propertyNames:`Schema`,unevaluatedItems:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,unevaluatedProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,summary:{type:`string`},properties:`SchemaProperties`,items:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,description:{type:`string`},format:{type:`string`},contentEncoding:{type:`string`},contentMediaType:{type:`string`},contentSchema:`Schema`,default:null,readOnly:{type:`boolean`},writeOnly:{type:`boolean`},xml:`Xml`,examples:{type:`array`},example:{isExample:!0},deprecated:{type:`boolean`},const:null,$comment:{type:`string`},"x-tags":{type:`array`,items:{type:`string`}},$dynamicAnchor:{type:`string`},$dynamicRef:{type:`string`}},extensionsPrefix:`x-`},a5={properties:{},additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`},VDe={properties:{type:{enum:[`apiKey`,`http`,`oauth2`,`openIdConnect`,`mutualTLS`]},description:{type:`string`},name:{type:`string`},in:{type:`string`,enum:[`query`,`header`,`cookie`]},scheme:{type:`string`},bearerFormat:{type:`string`},flows:`OAuth2Flows`,openIdConnectUrl:{type:`string`}},required(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`];case`http`:return[`type`,`scheme`];case`oauth2`:return[`type`,`flows`];case`openIdConnect`:return[`type`,`openIdConnectUrl`];default:return[`type`]}},allowed(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`,`description`];case`http`:return[`type`,`scheme`,`bearerFormat`,`description`];case`oauth2`:switch(e?.flows){case`implicit`:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`description`,`scopes`];case`password`:case`clientCredentials`:return[`type`,`flows`,`tokenUrl`,`refreshUrl`,`description`,`scopes`];case`authorizationCode`:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`tokenUrl`,`description`,`scopes`];default:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`tokenUrl`,`description`,`scopes`]}case`openIdConnect`:return[`type`,`openIdConnectUrl`,`description`];case`mutualTLS`:return[`type`,`description`];default:return[`type`,`description`]}},extensionsPrefix:`x-`},HDe={properties:{},additionalProperties:{type:`array`,items:{type:`string`}}},o5={...i5,Info:LDe,Root:FDe,Schema:BDe,SchemaProperties:a5,PatternProperties:a5,License:IDe,Components:RDe,NamedPathItems:$(`PathItem`),SecurityScheme:VDe,Operation:zDe,DependentRequired:HDe},UDe={...o5.Root,properties:{...o5.Root.properties,$self:{type:`string`,description:`This string MUST be in the form of a URI reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1. Implementations MUST support identifying the targets of API description URIs using the URI defined by this field when it is present. See Establishing the Base URI for the base URI behavior when $self is absent or relative, and see Appendix F for examples of using $self to resolve references.`}}},WDe={...o5.Tag,properties:{...o5.Tag.properties,kind:{type:`string`,description:`A machine-readable string to categorize what sort of tag it is. Any string value can be used; common uses are nav for Navigation, badge for visible badges, audience for APIs used by different groups. A registry of the most commonly used values is available.`},parent:{type:`string`,description:`The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references between parent and child tags MUST NOT be used.`},summary:{type:`string`,description:`A short summary of the tag, used for display purposes.`}},description:`Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.`},GDe={...o5.Server,properties:{...o5.Server.properties,name:{type:`string`,description:`An optional unique string to refer to the host designated by the URL.`}},description:`An object representing a Server.`},KDe={...o5.SecurityScheme,properties:{...o5.SecurityScheme.properties,deprecated:{type:`boolean`,description:`Declares this security scheme to be deprecated. Consumers SHOULD refrain from usage of the declared scheme. Default value is false.`},oauth2MetadataUrl:{type:`string`,description:`URL to the OAuth2 authorization server metadata [RFC8414]. TLS is required.`}},allowed(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`,`description`,`deprecated`];case`http`:return[`type`,`scheme`,`bearerFormat`,`description`,`deprecated`];case`oauth2`:switch(e?.flows){case`implicit`:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`description`,`scopes`,`oauth2MetadataUrl`,`deprecated`];case`password`:case`clientCredentials`:return[`type`,`flows`,`tokenUrl`,`refreshUrl`,`description`,`scopes`,`oauth2MetadataUrl`,`deprecated`];case`authorizationCode`:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`tokenUrl`,`description`,`scopes`,`oauth2MetadataUrl`,`deprecated`];case`deviceAuthorization`:return[`type`,`flows`,`deviceAuthorizationUrl`,`tokenUrl`];default:return[`type`,`flows`,`authorizationUrl`,`refreshUrl`,`tokenUrl`,`description`,`scopes`,`oauth2MetadataUrl`,`deprecated`]}case`openIdConnect`:return[`type`,`openIdConnectUrl`,`description`,`deprecated`];case`mutualTLS`:return[`type`,`description`,`deprecated`];default:return[`type`,`description`,`deprecated`]}},description:`Defines a security scheme that can be used by the operations.`},qDe={...o5.OAuth2Flows,properties:{...o5.OAuth2Flows.properties,deviceAuthorization:`DeviceAuthorization`}},JDe={properties:{deviceAuthorizationUrl:{type:`string`,description:`REQUIRED. The device authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`},tokenUrl:{type:`string`,description:`REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`},refreshUrl:{type:`string`,description:`The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`},scopes:$(`string`,{description:`REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.`})},required:[`deviceAuthorizationUrl`,`tokenUrl`,`scopes`],extensionsPrefix:`x-`,description:`Configuration for the OAuth Device Authorization flow.`},YDe={...i5.PathItem,properties:{...i5.PathItem.properties,query:`Operation`,additionalOperations:$(`Operation`)}},XDe={...o5.Parameter,properties:{...o5.Parameter.properties,in:{description:`REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie".`,enum:[`query`,`header`,`path`,`cookie`,`querystring`]}}},ZDe={...o5.Response,properties:{...o5.Response.properties,summary:{type:`string`,description:`A short summary of the meaning of the response.`}}},QDe={...o5.MediaType,properties:{...o5.MediaType.properties,itemSchema:`Schema`,prefixEncoding:Q(`Encoding`,{description:`A map between a property name and its encoding information, as defined under Encoding By Name. The encoding field SHALL only apply when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. This field MUST NOT be present if prefixEncoding or itemEncoding are present.`}),itemEncoding:`Encoding`}},$De={...o5.Discriminator,properties:{...o5.Discriminator.properties,defaultMapping:e=>{let t=`The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.`;return Q8(e)?{type:`string`,directResolveAs:`Schema`,description:t}:{type:`string`,description:t}}}},eOe={extensionsPrefix:`x-`,properties:{...o5.Components.properties,mediaTypes:`NamedMediaTypes`}},tOe={...o5.Example,properties:{...o5.Example.properties,dataValue:{resolvable:!1,description:`An example of the data structure that MUST be valid according to the relevant Schema Object. If this field is present, value MUST be absent.`},serializedValue:{type:`string`,description:`An example of the serialized form of the value, including encoding and escaping as described under Validating Examples. If dataValue is present, then this field SHOULD contain the serialization of the given data. Otherwise, it SHOULD be the valid serialization of a data value that itself MUST be valid as described for dataValue. This field SHOULD NOT be used if the serialization format is JSON, as the data form is easier to work with. If this field is present, value, and externalValue MUST be absent.`}}},nOe={properties:{nodeType:{type:`string`,enum:[`element`,`attribute`,`text`,`cdata`,`none`],description:`One of element, attribute, text, cdata, or none, as explained under XML Node Types. The default value is none if $ref, $dynamicRef, or type: "array" is present in the Schema Object containing the XML Object, and element otherwise.`},name:{type:`string`,description:`Sets the name of the element/attribute corresponding to the schema, replacing the name that was inferred as described under XML Node Names. This field SHALL be ignored if the nodeType is text, cdata, or none.`},namespace:{type:`string`,description:`The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.`},prefix:{type:`string`,description:`The prefix to be used for the name.`},attribute:{type:`boolean`,description:`Declares whether the property definition translates to an attribute instead of an element. Default value is false. If nodeType is present, this field MUST NOT be present.Deprecated: Use nodeType: "attribute" instead of attribute: true.`},wrapped:{type:`boolean`,description:`MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). If nodeType is present, this field MUST NOT be present. Deprecated: Use nodeType: "element" instead of wrapped: true.`}},extensionsPrefix:`x-`,description:`A metadata object that allows for more fine-tuned XML model definitions. When using a Schema Object with XML, if no XML Object is present, the behavior is determined by the XML Object’s default field values.`},rOe={...o5.Schema,properties:{...o5.Schema.properties,xml:`Xml`}},s5={...o5,Root:UDe,Tag:WDe,Server:GDe,SecurityScheme:KDe,OAuth2Flows:qDe,DeviceAuthorization:JDe,PathItem:YDe,Parameter:XDe,Response:ZDe,MediaType:QDe,Discriminator:$De,Example:tOe,Xml:nOe,Schema:rOe,Components:eOe,NamedMediaTypes:$(`MediaTypesMap`)},iOe={properties:{arazzo:{type:`string`,description:`REQUIRED. This string MUST be the version number of the Arazzo Specification that the Arazzo Description uses. The arazzo field MUST be used by tooling to interpret the Arazzo Description.`},info:`Info`,sourceDescriptions:`SourceDescriptions`,workflows:`Workflows`,components:`Components`},required:[`arazzo`,`info`,`sourceDescriptions`,`workflows`],extensionsPrefix:`x-`},aOe={properties:{},additionalProperties:`Parameter`},oOe={properties:{},additionalProperties:`SuccessActionObject`},sOe={properties:{},additionalProperties:`FailureActionObject`},cOe={properties:{inputs:`NamedInputs`,parameters:`NamedParameters`,successActions:`NamedSuccessActions`,failureActions:`NamedFailureActions`},extensionsPrefix:`x-`},lOe=$(`Schema`),uOe={properties:{title:{type:`string`,description:`REQUIRED. A human readable title of the Arazzo Description.`},description:{type:`string`,description:`A description of the purpose of the workflows defined. CommonMark syntax MAY be used for rich text representation.`},summary:{type:`string`,description:`A short summary of the Arazzo Description.`},version:{type:`string`,description:`REQUIRED. The version identifier of the Arazzo document (which is distinct from the Arazzo Specification version).`}},required:[`title`,`version`],extensionsPrefix:`x-`,description:`The object provides metadata about API workflows defined in this Arazzo document. The metadata MAY be used by the clients if needed.`},dOe={properties:{},items:e=>e?.type===`openapi`?`OpenAPISourceDescription`:`ArazzoSourceDescription`},fOe={properties:{name:{type:`string`,description:`REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`},type:{type:`string`,enum:[`openapi`],description:`The type of source description. Possible values are "openapi".`},url:{type:`string`,description:`REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.`},"x-serverUrl":{type:`string`}},required:[`name`,`type`,`url`],extensionsPrefix:`x-`,description:`Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.`},pOe={properties:{name:{type:`string`,description:`REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`},type:{type:`string`,enum:[`arazzo`],description:`The type of source description. Possible values are "arazzo".`},url:{type:`string`,description:`REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.`}},required:[`name`,`type`,`url`],extensionsPrefix:`x-`,description:`Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.`},mOe={properties:{reference:{type:`string`,description:`REQUIRED. A Runtime Expression used to reference the desired object.`},value:{}},required:[`reference`],extensionsPrefix:`x-`,description:`A simple object to allow referencing of objects contained within the Components Object. It can be used from locations within steps or workflows in the Arazzo Description. Note - Input Objects MUST use standard JSON Schema referencing via the $ref keyword while all non JSON Schema objects use this object and its expression based referencing mechanism.`},hOe={properties:{in:{type:`string`,enum:[`header`,`query`,`path`,`cookie`],description:`The location of the parameter. Possible values are "path", "query", "header", or "cookie". When the step in context specifies a workflowId, then all parameters map to workflow inputs. In all other scenarios (e.g., a step specifies an operationId), the in field MUST be specified.`},name:{type:`string`,description:`REQUIRED. The name of the parameter. Parameter names are case sensitive.`},value:{}},required:[`name`,`value`],extensionsPrefix:`x-`,description:`Describes a single step parameter. A unique parameter is defined by the combination of a name and in fields.`},gOe={properties:{},items:e=>e?.reference?`ReusableObject`:`Parameter`},_Oe={properties:{workflowId:{type:`string`,description:`REQUIRED. The unique identifier of the workflow.`},summary:{type:`string`,description:`A short summary of what the workflow does.`},description:{type:`string`,description:`A verbose explanation of the workflow behavior. CommonMark syntax MAY be used for rich text representation.`},parameters:`Parameters`,dependsOn:{type:`array`,items:{type:`string`},description:`A list of workflows that MUST be completed before this workflow can be processed. Each value provided MUST be a workflowId.`},inputs:`Schema`,outputs:`Outputs`,steps:`Steps`,successActions:`OnSuccessActionList`,failureActions:`OnFailureActionList`,"x-security":`ExtendedSecurityList`},required:[`workflowId`,`steps`],extensionsPrefix:`x-`,description:`Describes the steps to be taken across one or more APIs to achieve an objective. The workflow object MAY define inputs needed in order to execute workflow steps, where the defined steps represent a call to an API operation or another workflow, and a set of outputs.`},vOe=Q(`Workflow`),yOe=Q(`Step`),bOe={properties:{stepId:{type:`string`,description:`REQUIRED. Unique string to represent the step. The stepId MUST be unique amongst all steps described in the workflow. The stepId value is case-sensitive. Tools and libraries MAY use the stepId to uniquely identify a workflow step, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`},description:{type:`string`,description:`A description of the step. CommonMark syntax MAY be used for rich text representation.`},operationId:{type:`string`,description:`The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions. The referenced operation will be invoked by this workflow step. If multiple (non arazzo type) sourceDescriptions are defined, then the operationId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<operationId>) to avoid ambiguity or potential clashes. This field is mutually exclusive of the operationPath and workflowId fields respectively.`},operationPath:{type:`string`,description:`A reference to a Source Description Object combined with a JSON Pointer to reference an operation. This field is mutually exclusive of the operationId and workflowId fields respectively. The operation being referenced MUST be described within one of the sourceDescriptions descriptions. A Runtime Expression syntax MUST be used to identify the source description document. If the referenced operation has an operationId defined then the operationId SHOULD be preferred over the operationPath.`},workflowId:{type:`string`,description:`The workflowId referencing an existing workflow within the Arazzo Description. If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. The field is mutually exclusive of the operationId and operationPath fields respectively.`},parameters:`Parameters`,successCriteria:Q(`CriterionObject`,{description:`A list of assertions to determine the success of the step. Each assertion is described using a Criterion Object. All assertions MUST be satisfied for the step to be deemed successful.`}),onSuccess:`OnSuccessActionList`,onFailure:`OnFailureActionList`,outputs:`Outputs`,"x-operation":`ExtendedOperation`,"x-security":`ExtendedSecurityList`,requestBody:`RequestBody`},required:[`stepId`],requiredOneOf:[`x-operation`,`operationId`,`operationPath`,`workflowId`],extensionsPrefix:`x-`,description:`Describes a single workflow step which MAY be a call to an API operation (OpenAPI Operation Object) or another Workflow Object.`},xOe={properties:{},additionalProperties:{type:`string`},description:`A map between a friendly name and a dynamic output value defined using a Runtime Expression. The name MUST use keys that match the regular expression: ^[a-zA-Z0-9_.-]+$.`},SOe={properties:{contentType:{type:`string`,description:`The Content-Type for the request content. If omitted then refer to Content-Type specified at the targeted operation to understand serialization requirements.`},payload:{},replacements:Q(`Replacement`,{description:`A list of locations and values to set within a payload.`})},required:[`payload`],extensionsPrefix:`x-`,description:`A single request body describing the Content-Type and request body content to be passed by a step to an operation.`},COe={properties:{target:{type:`string`,description:`REQUIRED. A JSON Pointer or XPath Expression which MUST be resolved against the request body. Used to identify the location to inject the value.`},value:{}},required:[`target`,`value`],extensionsPrefix:`x-`,description:`Describes a location within a payload (e.g., a request body) and a value to set within the location.`},wOe={properties:{schemeName:{type:`string`,description:`REQUIRED. Name of the security scheme from your OpenAPI specification. Use with operationId or operationPath at the step level.`},values:{},scheme:`SecurityScheme`},required:[`values`],requiredOneOf:[`schemeName`,`scheme`],description:`Use the x-security extension to define authorization flows based on OpenAPI security schemes. Respect automatically constructs appropriate authorization headers, queries, or cookies based on your parameters.`},TOe={properties:{url:{type:`string`,description:`REQUIRED. A valid url including the protocol (such as http://localhost:4000/my-api or https://example.com/api/my-api).`},method:{enum:[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`,`trace`,`connect`,`query`,`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`OPTIONS`,`HEAD`,`TRACE`,`CONNECT`,`QUERY`],description:`REQUIRED. HTTP operation method. Possible values: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, CONNECT, TRACE. You can also use their lowercase equivalents.`}},required:[`url`,`method`],description:`x-operation enables you to specify a URL and HTTP method for an operation that is not described in the Arazzo sourceDescriptions section. The primary application of the x-operation extension is to facilitate calls to third-party APIs or other endpoints that are needed in a sequence of API calls.`},EOe={properties:{condition:{type:`string`,description:`REQUIRED. The condition to apply. Conditions can be simple (e.g. $statusCode == 200 which applies an operator on a value obtained from a runtime expression), or a regex, or a JSONPath expression. For regex or JSONPath, the type and context MUST be specified.`},context:{type:`string`,description:`A Runtime Expression used to set the context for the condition to be applied on. If type is specified, then the context MUST be provided (e.g. $response.body would set the context that a JSONPath query expression could be applied to).`},type:e=>{if(e)return typeof e==`string`?{enum:[`regex`,`jsonpath`,`simple`,`xpath`],description:`The type of condition to be applied.`}:e?.type===`jsonpath`?`JSONPathCriterion`:`XPathCriterion`}},required:[`condition`],description:`An object used to specify the context, conditions, and condition types that can be used to prove or satisfy assertions specified in Step Object successCriteria, Success Action Object criteria, and Failure Action Object criteria.`},DOe={properties:{type:{type:`string`,enum:[`jsonpath`]},version:{type:`string`,enum:[`draft-goessner-dispatch-jsonpath-00`]}}},OOe={properties:{type:{type:`string`,enum:[`xpath`]},version:{type:`string`,enum:[`xpath-30`,`xpath-20`,`xpath-10`]}}},kOe={properties:{name:{type:`string`,description:`REQUIRED. The name of the success action. Names are case sensitive.`},type:{type:`string`,enum:[`goto`,`end`],description:`REQUIRED. The type of action to take. Possible values are "end" or "goto".`},stepId:{type:`string`,description:`The stepId to transfer to upon success of the step. This field is only relevant when the type field value is "goto". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId.`},workflowId:{type:`string`,description:`The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon success of the step. This field is only relevant when the type field value is "goto". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId.`},criteria:Q(`CriterionObject`,{description:`A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object. All criteria assertions MUST be satisfied for the action to be executed.`})},required:[`type`,`name`],description:`A single success action which describes an action to take upon success of a workflow step.`},AOe={properties:{},items:e=>e?.type&&e?.name?`SuccessActionObject`:`ReusableObject`},jOe={properties:{name:{type:`string`,description:`REQUIRED. The name of the failure action. Names are case sensitive.`},type:{type:`string`,enum:[`goto`,`retry`,`end`],description:`REQUIRED. The type of action to take. Possible values are "end", "retry", or "goto".`},workflowId:{type:`string`,description:`The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId. When used with "retry", context transfers back upon completion of the specified workflow.`},stepId:{type:`string`,description:`The stepId to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId. When used with "retry", context transfers back upon completion of the specified step.`},retryAfter:{type:`number`,minimum:0,description:`A non-negative decimal indicating the seconds to delay after the step failure before another attempt SHALL be made. Note: if an HTTP Retry-After response header was returned to a step from a targeted operation, then it SHOULD overrule this particular field value. This field only applies when the type field value is "retry".`},retryLimit:{type:`number`,minimum:0,description:`A non-negative integer indicating how many attempts to retry the step MAY be attempted before failing the overall step. If not specified then a single retry SHALL be attempted. This field only applies when the type field value is "retry". The retryLimit MUST be exhausted prior to executing subsequent failure actions.`},criteria:Q(`CriterionObject`,{description:`A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object.`})},required:[`type`,`name`],description:`A single failure action which describes an action to take upon failure of a workflow step.`},c5={Root:iOe,Info:uOe,SourceDescriptions:dOe,OpenAPISourceDescription:fOe,ArazzoSourceDescription:pOe,Parameters:gOe,Parameter:hOe,ReusableObject:mOe,Workflows:vOe,Workflow:_Oe,Steps:yOe,Step:bOe,RequestBody:SOe,Replacement:COe,ExtendedOperation:TOe,ExtendedSecurityList:Q(`ExtendedSecurity`),ExtendedSecurity:wOe,Outputs:xOe,CriterionObject:EOe,XPathCriterion:OOe,JSONPathCriterion:DOe,SuccessActionObject:kOe,OnSuccessActionList:AOe,FailureActionObject:jOe,OnFailureActionList:{properties:{},items:e=>e?.type&&e?.name?`FailureActionObject`:`ReusableObject`},Schema:s5.Schema,NamedSchemas:$(`Schema`),ExternalDocs:s5.ExternalDocs,DiscriminatorMapping:s5.DiscriminatorMapping,Discriminator:s5.Discriminator,DependentRequired:s5.DependentRequired,SchemaProperties:s5.SchemaProperties,PatternProperties:s5.SchemaProperties,Components:cOe,NamedInputs:lOe,NamedParameters:aOe,NamedSuccessActions:oOe,NamedFailureActions:sOe,Xml:s5.Xml,SecurityScheme:s5.SecurityScheme,OAuth2Flows:s5.OAuth2Flows,ImplicitFlow:s5.ImplicitFlow,PasswordFlow:s5.PasswordFlow,ClientCredentials:s5.ClientCredentials,AuthorizationCode:s5.AuthorizationCode,DeviceAuthorization:s5.DeviceAuthorization},MOe={...c5.Root,properties:{...c5.Root.properties,$self:{type:`string`,description:`This string MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1.`}}},NOe={properties:{},items:e=>e?.type===`openapi`?`OpenAPISourceDescription`:e?.type===`asyncapi`?`AsyncAPISourceDescription`:`ArazzoSourceDescription`},POe={properties:{name:{type:`string`,description:`REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`},type:{type:`string`,enum:[`asyncapi`],description:`The type of source description. Possible values are "asyncapi".`},url:{type:`string`,description:`REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.`}},required:[`name`,`type`,`url`],extensionsPrefix:`x-`,description:`Describes a source description (such as an AsyncAPI description) that will be referenced by one or more workflows described within an Arazzo Description.`},FOe={...c5.Parameter,properties:{...c5.Parameter.properties,in:{type:`string`,enum:[`header`,`query`,`path`,`cookie`,`querystring`],description:`The location of the parameter. Possible values are "path", "query", "querystring", "header", or "cookie". When the step in context specifies a workflowId, then all parameters map to workflow inputs. In all other scenarios (e.g., a step specifies an operationId), the in field MUST be specified.`}}},IOe={...c5.Step,properties:{...c5.Step.properties,channelPath:{type:`string`,description:`A reference to a Source Description Object combined with a JSON Pointer to reference an AsyncAPI channel. This field is mutually exclusive of the operationId, operationPath, and workflowId fields respectively. A Runtime Expression syntax MUST be used to identify the source description document.`},action:{type:`string`,enum:[`send`,`receive`],description:`Describes the intent of the message flow for an AsyncAPI operation. Possible values are "send" or "receive".`},correlationId:{type:`string`,description:`A Runtime Expression used to correlate a request with a response when interacting with asynchronous APIs. Applies to "receive" steps.`},timeout:{type:`integer`,minimum:0,description:`A non-negative integer indicating the maximum amount of time (in milliseconds) to wait before timing out.`},dependsOn:{type:`array`,items:{type:`string`},description:`A list of steps that MUST be completed before this step can be executed. Each value provided MUST be a stepId.`}},requiredOneOf:[`x-operation`,`operationId`,`operationPath`,`channelPath`,`workflowId`]},LOe={properties:{type:{type:`string`,enum:[`jsonpath`]},version:{type:`string`,enum:[`rfc9535`,`draft-goessner-dispatch-jsonpath-00`]}},required:[`type`,`version`]},ROe={properties:{type:{type:`string`,enum:[`xpath`]},version:{type:`string`,enum:[`xpath-31`,`xpath-30`,`xpath-20`,`xpath-10`]}},required:[`type`,`version`]},zOe={properties:{type:{type:`string`,enum:[`jsonpointer`]},version:{type:`string`,enum:[`rfc6901`]}},required:[`type`,`version`]},BOe={properties:{type:{type:`string`,enum:[`jsonpath`,`xpath`,`jsonpointer`],description:`REQUIRED. The selector type. The options allowed are jsonpath, xpath, or jsonpointer.`},version:{type:`string`,description:`REQUIRED. A short hand string representing the version of the expression type being used.`}},required:[`type`,`version`]},VOe=e=>e?.type===`jsonpath`?`JSONPathExpression`:e?.type===`xpath`?`XPathExpression`:e?.type===`jsonpointer`?`JSONPointerExpression`:`ExpressionType`,l5=(e,t,{optional:n=!0}={})=>r=>{if(!n||r)return typeof r==`string`?{enum:e,description:t}:VOe(r)},HOe={...c5.CriterionObject,properties:{...c5.CriterionObject.properties,type:l5([`regex`,`jsonpath`,`simple`,`xpath`],`The type of condition to be applied.`)}},UOe={properties:{context:{type:`string`,description:`REQUIRED. A Runtime Expression that evaluates to structured data (e.g., $response.body) the selector is applied to.`},selector:{type:`string`,description:`REQUIRED. The selector expression (JSONPath, XPath, or JSON Pointer) used to extract data from the context.`},type:l5([`jsonpath`,`xpath`,`jsonpointer`],`The type of selector to be applied.`,{optional:!1})},required:[`context`,`selector`,`type`],extensionsPrefix:`x-`,description:`An object used to extract specific data from structured content using JSONPath, XPath, or JSON Pointer expressions.`},WOe={properties:{},additionalProperties:e=>V8(e)?`SelectorObject`:{type:`string`},description:`A map between a friendly name and a dynamic output value defined using a Runtime Expression or a Selector Object. The name MUST use keys that match the regular expression: ^[a-zA-Z0-9_.-]+$.`},GOe={...c5.Replacement,properties:{...c5.Replacement.properties,value:e=>V8(e)&&`selector`in e?`SelectorObject`:{},targetSelectorType:l5([`jsonpath`,`xpath`,`jsonpointer`],`The type of selector used in the target field.`)}},KOe={...c5.SuccessActionObject,properties:{...c5.SuccessActionObject.properties,parameters:`Parameters`}},qOe={...c5.FailureActionObject,properties:{...c5.FailureActionObject.properties,parameters:`Parameters`}},JOe={...c5,Root:MOe,SourceDescriptions:NOe,AsyncAPISourceDescription:POe,Parameter:FOe,Step:IOe,CriterionObject:HOe,JSONPathExpression:LOe,XPathExpression:ROe,JSONPointerExpression:zOe,ExpressionType:BOe,SelectorObject:UOe,Outputs:WOe,Replacement:GOe,SuccessActionObject:KOe,FailureActionObject:qOe},YOe={properties:{},description:`Protocol-specific information for an HTTP channel.`},XOe={properties:{},description:`Protocol-specific information for an HTTP server.`},ZOe={properties:{headers:`Schema`,statusCode:{type:`number`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an HTTP message, i.e., a request or a response.`},QOe={properties:{type:{type:`string`},method:{type:`string`,enum:[`GET`,`POST`,`PUT`,`PATCH`,`DELETE`,`HEAD`,`OPTIONS`,`CONNECT`,`TRACE`]},query:`Schema`,headers:`Schema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for an HTTP operation.`},$Oe={properties:{method:{type:`string`},query:`Schema`,headers:`Schema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a WebSockets channel.`},eke={properties:{},description:`Protocol-specific information for a WebSockets server.`},tke={properties:{},description:`Protocol-specific information for a WebSockets message.`},nke={properties:{},description:`Protocol-specific information for a WebSockets operation.`},rke={properties:{"cleanup.policy":{type:`array`,items:{enum:[`delete`,`compact`]}},"retention.ms":{type:`integer`},"retention.bytes":{type:`integer`},"delete.retention.ms":{type:`integer`},"max.message.bytes":{type:`integer`},"confluent.key.schema.validation":{type:`boolean`},"confluent.key.subject.name.strategy":{type:`string`},"confluent.value.schema.validation":{type:`boolean`},"confluent.value.subject.name.strategy":{type:`string`}}},ike={properties:{topic:{type:`string`},partitions:{type:`integer`},replicas:{type:`integer`},topicConfiguration:`KafkaTopicConfiguration`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a Kafka channel.`},ake={properties:{schemaRegistryUrl:{type:`string`},schemaRegistryVendor:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a Kafka server.`},oke={properties:{key:`Schema`,schemaIdLocation:{type:`string`},schemaIdPayloadEncoding:{type:`string`},schemaLookupStrategy:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a Kafka message.`},ske={properties:{groupId:`Schema`,clientId:`Schema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a Kafka operation.`},cke={properties:{destination:{type:`string`},destinationType:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an Anypoint MQ channel.`},lke={properties:{},description:`Protocol-specific information for an Anypoint MQ server.`},uke={properties:{headers:`Schema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for an Anypoint MQ message.`},dke={properties:{},description:`Protocol-specific information for an Anypoint MQ operation.`},fke={properties:{name:{type:`string`},type:{type:`string`,enum:[`topic`,`direct`,`fanout`,`default`,`headers`]},durable:{type:`boolean`},autoDelete:{type:`boolean`},vhost:{type:`string`}},description:`The AMQP exchange the channel is bound to.`},pke={properties:{name:{type:`string`},durable:{type:`boolean`},exclusive:{type:`boolean`},autoDelete:{type:`boolean`},vhost:{type:`string`}},description:`The AMQP queue the channel is bound to.`},mke={properties:{is:{type:`string`,enum:[`queue`,`routingKey`]},exchange:`AmqpChannelExchange`,queue:`AmqpChannelQueue`,bindingVersion:{type:`string`}},description:`Protocol-specific information for an AMQP 0-9-1 channel.`},hke={properties:{},description:`Protocol-specific information for an AMQP 0-9-1 server.`},gke={properties:{contentEncoding:{type:`string`},messageType:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an AMQP 0-9-1 message.`},_ke={properties:{expiration:{type:`integer`},userId:{type:`string`},cc:{type:`array`,items:{type:`string`}},priority:{type:`integer`},deliveryMode:{type:`integer`},mandatory:{type:`boolean`},bcc:{type:`array`,items:{type:`string`}},replyTo:{type:`string`},timestamp:{type:`boolean`},ack:{type:`boolean`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an AMQP 0-9-1 operation.`},vke={properties:{},description:`Protocol-specific information for an AMQP 1.0 channel.`},yke={properties:{},description:`Protocol-specific information for an AMQP 1.0 server.`},bke={properties:{},description:`Protocol-specific information for an AMQP 1.0 message.`},xke={properties:{},description:`Protocol-specific information for an AMQP 1.0 operation.`},Ske={properties:{},description:`Protocol-specific information for an MQTT channel.`},Cke={properties:{topic:{type:`string`},qos:{type:`integer`},message:{type:`string`},retain:{type:`boolean`}}},wke={properties:{clientId:{type:`string`},cleanSession:{type:`boolean`},lastWill:`MqttServerBindingLastWill`,keepAlive:{type:`integer`},sessionExpiryInterval:e=>V8(e)?`Schema`:{type:`integer`},maximumPacketSize:e=>V8(e)?`Schema`:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an MQTT server.`},Tke={properties:{payloadFormatIndicator:{type:`integer`},correlationData:`Schema`,contentType:{type:`string`},responseTopic:e=>V8(e)?`Schema`:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an MQTT message.`},Eke={properties:{qos:{type:`integer`},retain:{type:`boolean`},messageExpiryInterval:e=>V8(e)?`Schema`:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an MQTT operation.`},Dke={properties:{},description:`Protocol-specific information for an MQTT 5 channel.`},Oke={properties:{sessionExpiryInterval:e=>V8(e)?`Schema`:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an MQTT 5 server.`},kke={properties:{},description:`Protocol-specific information for an MQTT 5 message.`},Ake={properties:{},description:`Protocol-specific information for an MQTT 5 operation.`},jke={properties:{},description:`Protocol-specific information for a NATS channel.`},Mke={properties:{},description:`Protocol-specific information for a NATS server.`},Nke={properties:{},description:`Protocol-specific information for a NATS message.`},Pke={properties:{queue:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a NATS operation.`},Fke={properties:{destination:{type:`string`},destinationType:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a JMS channel.`},Ike={properties:{name:{type:`string`},value:{}},required:[`name`,`value`],description:`A name-value pair to set on the JMS ConnectionFactory implementation.`},Lke={properties:{jmsConnectionFactory:{type:`string`},properties:Q(`JmsServerBindingProperty`),clientID:{type:`string`},bindingVersion:{type:`string`}},required:[`jmsConnectionFactory`],description:`Protocol-specific information for a JMS server.`},Rke={properties:{headers:`Schema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a JMS message.`},zke={properties:{},description:`Protocol-specific information for a JMS operation.`},Bke={properties:{},description:`Protocol-specific information for a Solace channel.`},Vke={properties:{bindingVersion:{type:`string`},msgVpn:{type:`string`},clientName:{type:`string`}},description:`Protocol-specific information for a Solace server.`},Hke={properties:{},description:`Protocol-specific information for a Solace message.`},Uke={properties:{destinationType:{type:`string`,enum:[`queue`,`topic`]},deliveryMode:{type:`string`,enum:[`direct`,`persistent`]},"queue.name":{type:`string`},"queue.topicSubscriptions":{type:`array`,items:{type:`string`}},"queue.accessType":{type:`string`,enum:[`exclusive`,`nonexclusive`]},"queue.maxMsgSpoolSize":{type:`string`},"queue.maxMsgSpoolUsage":{type:`string`},"queue.maxTtl":{type:`string`},"topic.topicSubscriptions":{type:`array`,items:{type:`string`}}}},Wke={properties:{bindingVersion:{type:`string`},destinations:Q(`SolaceDestination`),dmqEligible:{type:`boolean`},priority:{type:`integer`,minimum:0},timeToLive:{type:`integer`}},description:`Protocol-specific information for a Solace operation.`},Gke={properties:{url:{type:`string`},email:{type:`string`},phone:{type:`string`},arn:{type:`string`},name:{type:`string`}},description:`Identifies an SNS resource: exactly one of url, email, phone, arn, or name.`},Kke={properties:{type:{type:`string`,enum:[`standard`,`FIFO`]},contentBasedDeduplication:{type:`boolean`}},required:[`type`],description:`Defines the ordering and deduplication properties of an SNS topic.`},qke={properties:{effect:{type:`string`,enum:[`Allow`,`Deny`]},principal:{},action:{},resource:{},condition:{type:`object`}},required:[`effect`,`principal`,`action`],description:`An SNS access-policy statement.`},Jke={properties:{statements:Q(`SnsStatement`)},required:[`statements`],description:`The security policy for an SNS topic.`},Yke={properties:{name:{type:`string`},ordering:`SnsOrdering`,policy:`SnsPolicy`,tags:{type:`object`},bindingVersion:{type:`string`}},required:[`name`],description:`Protocol-specific information for an SNS channel.`},Xke={properties:{deadLetterQueue:`SnsIdentifier`,maxReceiveCount:{type:`integer`}},required:[`deadLetterQueue`],description:`Defines where unprocessable SNS messages are moved.`},Zke={properties:{minDelayTarget:{type:`integer`},maxDelayTarget:{type:`integer`},numRetries:{type:`integer`},numNoDelayRetries:{type:`integer`},numMinDelayRetries:{type:`integer`},numMaxDelayRetries:{type:`integer`},backoffFunction:{type:`string`,enum:[`arithmetic`,`exponential`,`geometric`,`linear`]},maxReceivesPerSecond:{type:`integer`}},description:`Defines how SNS retries the delivery of messages to a subscription endpoint.`},Qke={properties:{protocol:{type:`string`,enum:[`http`,`https`,`email`,`email-json`,`sms`,`sqs`,`application`,`lambda`,`firehose`]},endpoint:`SnsIdentifier`,filterPolicy:{type:`object`},filterPolicyScope:{type:`string`,enum:[`MessageAttributes`,`MessageBody`]},rawMessageDelivery:{type:`boolean`},redrivePolicy:`SnsRedrivePolicy`,deliveryPolicy:`SnsDeliveryPolicy`,displayName:{type:`string`}},required:[`protocol`,`endpoint`,`rawMessageDelivery`],description:`Describes an SNS subscription consuming messages from a topic.`},$ke={properties:{topic:`SnsIdentifier`,consumers:Q(`SnsConsumer`),deliveryPolicy:`SnsDeliveryPolicy`,bindingVersion:{type:`string`}},required:[`consumers`],description:`Protocol-specific information for an SNS operation.`},eAe={properties:{arn:{type:`string`},name:{type:`string`}},description:`Identifies an SQS queue: exactly one of arn or name.`},tAe={properties:{deadLetterQueue:`SqsIdentifier`,maxReceiveCount:{type:`integer`}},required:[`deadLetterQueue`],description:`Defines where unprocessable SQS messages are moved.`},nAe={properties:{effect:{type:`string`,enum:[`Allow`,`Deny`]},principal:{},action:{},resource:{},condition:{type:`object`}},required:[`effect`,`principal`,`action`],description:`An SQS access-policy statement.`},rAe={properties:{statements:Q(`SqsStatement`)},required:[`statements`],description:`The security policy for an SQS queue.`},u5={properties:{name:{type:`string`},fifoQueue:{type:`boolean`},deduplicationScope:{type:`string`,enum:[`queue`,`messageGroup`]},fifoThroughputLimit:{type:`string`,enum:[`perQueue`,`perMessageGroupId`]},deliveryDelay:{type:`integer`},visibilityTimeout:{type:`integer`},receiveMessageWaitTime:{type:`integer`},messageRetentionPeriod:{type:`integer`},redrivePolicy:`SqsRedrivePolicy`,policy:`SqsPolicy`,tags:{type:`object`}},required:[`name`,`fifoQueue`],description:`Describes an SQS queue (channel-level definition).`},iAe={...u5,required:[`name`],description:`Describes an SQS queue (operation-level definition).`},aAe={properties:{queue:`SqsQueue`,deadLetterQueue:`SqsQueue`,bindingVersion:{type:`string`}},required:[`queue`],description:`Protocol-specific information for an SQS channel.`},oAe={properties:{queues:Q(`SqsOperationQueue`),bindingVersion:{type:`string`}},required:[`queues`],description:`Protocol-specific information for an SQS operation.`},sAe={properties:{},description:`Protocol-specific information for a STOMP channel.`},cAe={properties:{},description:`Protocol-specific information for a STOMP server.`},lAe={properties:{},description:`Protocol-specific information for a STOMP message.`},uAe={properties:{},description:`Protocol-specific information for a STOMP operation.`},dAe={properties:{},description:`Protocol-specific information for a Redis channel.`},fAe={properties:{},description:`Protocol-specific information for a Redis server.`},pAe={properties:{},description:`Protocol-specific information for a Redis message.`},mAe={properties:{},description:`Protocol-specific information for a Redis operation.`},hAe={properties:{},description:`Protocol-specific information for a Mercure channel.`},gAe={properties:{},description:`Protocol-specific information for a Mercure server.`},_Ae={properties:{},description:`Protocol-specific information for a Mercure message.`},vAe={properties:{},description:`Protocol-specific information for a Mercure operation.`},yAe={properties:{groupId:{type:`string`},ccdtQueueManagerName:{type:`string`},cipherSpec:{type:`string`},multiEndpointServer:{type:`boolean`},heartBeatInterval:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an IBM MQ server.`},bAe={properties:{objectName:{type:`string`},isPartitioned:{type:`boolean`},exclusive:{type:`boolean`}},required:[`objectName`],description:`Defines the properties of an IBM MQ queue.`},xAe={properties:{string:{type:`string`},objectName:{type:`string`},durablePermitted:{type:`boolean`},lastMsgRetained:{type:`boolean`}},description:`Defines the properties of an IBM MQ topic.`},SAe={properties:{destinationType:{type:`string`,enum:[`topic`,`queue`]},queue:`IbmmqChannelQueue`,topic:`IbmmqChannelTopic`,maxMsgLength:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an IBM MQ channel.`},CAe={properties:{type:{type:`string`,enum:[`string`,`jms`,`binary`]},headers:{type:`string`},description:{type:`string`},expiry:{type:`integer`},bindingVersion:{type:`string`}},description:`Protocol-specific information for an IBM MQ message.`},wAe={properties:{allowedPersistenceRegions:{type:`array`,items:{type:`string`}}},description:`Policy constraining the regions where Google Cloud Pub/Sub messages are stored.`},TAe={properties:{encoding:{type:`string`},firstRevisionId:{type:`string`},lastRevisionId:{type:`string`},name:{type:`string`}},required:[`encoding`,`name`],description:`Settings for validating Google Cloud Pub/Sub messages against a schema.`},EAe={properties:{labels:{type:`object`},messageRetentionDuration:{type:`string`},messageStoragePolicy:`GooglepubsubMessageStoragePolicy`,schemaSettings:`GooglepubsubSchemaSettings`,topic:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a Google Cloud Pub/Sub channel.`},DAe={properties:{name:{type:`string`},type:{type:`string`}},required:[`name`],description:`Identifies the Google Cloud Pub/Sub schema a message is validated against.`},OAe={properties:{attributes:{type:`object`},orderingKey:{type:`string`},schema:`GooglepubsubSchema`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a Google Cloud Pub/Sub message.`},kAe={properties:{tenant:{type:`string`},bindingVersion:{type:`string`}},description:`Protocol-specific information for a Pulsar server.`},AAe={properties:{time:{type:`integer`},size:{type:`integer`}},description:`The retention policy of a Pulsar topic.`},jAe={properties:{namespace:{type:`string`},persistence:{type:`string`,enum:[`persistent`,`non-persistent`]},compaction:{type:`integer`},"geo-replication":{type:`array`,items:{type:`string`}},retention:`PulsarRetention`,ttl:{type:`integer`},deduplication:{type:`boolean`},bindingVersion:{type:`string`}},required:[`namespace`,`persistence`],description:`Protocol-specific information for a Pulsar channel.`},MAe={properties:{rmwImplementation:{type:`string`},domainId:{type:`integer`,minimum:0}},description:`Protocol-specific information for a ROS 2 server.`},NAe={properties:{},description:`Protocol-specific information for a ROS 2 channel.`},PAe={properties:{reliability:{type:`string`,enum:[`best_effort`,`reliable`]},history:{type:`string`,enum:[`keep_last`,`keep_all`,`unknown`]},durability:{type:`string`,enum:[`transient_local`,`volatile`]},lifespan:{type:`integer`},deadline:{type:`integer`},liveliness:{type:`string`,enum:[`automatic`,`manual`]},leaseDuration:{type:`integer`}},description:`Quality of Service settings for a ROS 2 operation.`},FAe={properties:{role:{type:`string`,enum:[`publisher`,`subscriber`,`service_client`,`service_server`,`action_client`,`action_server`]},node:{type:`string`},qosPolicies:`Ros2QosPolicies`,bindingVersion:{type:`string`}},description:`Protocol-specific information for a ROS 2 operation.`},IAe={properties:{},description:`Protocol-specific information for a ROS 2 message.`},d5={HttpServerBinding:XOe,HttpChannelBinding:YOe,HttpMessageBinding:ZOe,HttpOperationBinding:QOe,WsServerBinding:eke,WsChannelBinding:$Oe,WsMessageBinding:tke,WsOperationBinding:nke,KafkaServerBinding:ake,KafkaTopicConfiguration:rke,KafkaChannelBinding:ike,KafkaMessageBinding:oke,KafkaOperationBinding:ske,AnypointmqServerBinding:lke,AnypointmqChannelBinding:cke,AnypointmqMessageBinding:uke,AnypointmqOperationBinding:dke,AmqpServerBinding:hke,AmqpChannelExchange:fke,AmqpChannelQueue:pke,AmqpChannelBinding:mke,AmqpMessageBinding:gke,AmqpOperationBinding:_ke,Amqp1ServerBinding:yke,Amqp1ChannelBinding:vke,Amqp1MessageBinding:bke,Amqp1OperationBinding:xke,MqttServerBindingLastWill:Cke,MqttServerBinding:wke,MqttChannelBinding:Ske,MqttMessageBinding:Tke,MqttOperationBinding:Eke,Mqtt5ServerBinding:Oke,Mqtt5ChannelBinding:Dke,Mqtt5MessageBinding:kke,Mqtt5OperationBinding:Ake,NatsServerBinding:Mke,NatsChannelBinding:jke,NatsMessageBinding:Nke,NatsOperationBinding:Pke,JmsServerBindingProperty:Ike,JmsServerBinding:Lke,JmsChannelBinding:Fke,JmsMessageBinding:Rke,JmsOperationBinding:zke,SolaceServerBinding:Vke,SolaceChannelBinding:Bke,SolaceMessageBinding:Hke,SolaceDestination:Uke,SolaceOperationBinding:Wke,StompServerBinding:cAe,StompChannelBinding:sAe,StompMessageBinding:lAe,StompOperationBinding:uAe,RedisServerBinding:fAe,RedisChannelBinding:dAe,RedisMessageBinding:pAe,RedisOperationBinding:mAe,MercureServerBinding:gAe,MercureChannelBinding:hAe,MercureMessageBinding:_Ae,MercureOperationBinding:vAe,SnsIdentifier:Gke,SnsOrdering:Kke,SnsStatement:qke,SnsPolicy:Jke,SnsChannelBinding:Yke,SnsRedrivePolicy:Xke,SnsDeliveryPolicy:Zke,SnsConsumer:Qke,SnsOperationBinding:$ke,SqsIdentifier:eAe,SqsRedrivePolicy:tAe,SqsStatement:nAe,SqsPolicy:rAe,SqsQueue:u5,SqsOperationQueue:iAe,SqsChannelBinding:aAe,SqsOperationBinding:oAe,IbmmqServerBinding:yAe,IbmmqChannelQueue:bAe,IbmmqChannelTopic:xAe,IbmmqChannelBinding:SAe,IbmmqMessageBinding:CAe,GooglepubsubMessageStoragePolicy:wAe,GooglepubsubSchemaSettings:TAe,GooglepubsubChannelBinding:EAe,GooglepubsubSchema:DAe,GooglepubsubMessageBinding:OAe,PulsarServerBinding:kAe,PulsarRetention:AAe,PulsarChannelBinding:jAe,ServerBindings:{extensionsPrefix:`x-`,properties:{http:`HttpServerBinding`,ws:`WsServerBinding`,kafka:`KafkaServerBinding`,anypointmq:`AnypointmqServerBinding`,amqp:`AmqpServerBinding`,amqp1:`Amqp1ServerBinding`,mqtt:`MqttServerBinding`,mqtt5:`Mqtt5ServerBinding`,nats:`NatsServerBinding`,jms:`JmsServerBinding`,solace:`SolaceServerBinding`,stomp:`StompServerBinding`,redis:`RedisServerBinding`,mercure:`MercureServerBinding`,ibmmq:`IbmmqServerBinding`,pulsar:`PulsarServerBinding`},additionalProperties:{type:`object`},description:`Map describing protocol-specific definitions for a server.`},ChannelBindings:{extensionsPrefix:`x-`,properties:{http:`HttpChannelBinding`,ws:`WsChannelBinding`,kafka:`KafkaChannelBinding`,anypointmq:`AnypointmqChannelBinding`,amqp:`AmqpChannelBinding`,amqp1:`Amqp1ChannelBinding`,mqtt:`MqttChannelBinding`,mqtt5:`Mqtt5ChannelBinding`,nats:`NatsChannelBinding`,jms:`JmsChannelBinding`,solace:`SolaceChannelBinding`,stomp:`StompChannelBinding`,redis:`RedisChannelBinding`,mercure:`MercureChannelBinding`,sns:`SnsChannelBinding`,sqs:`SqsChannelBinding`,ibmmq:`IbmmqChannelBinding`,googlepubsub:`GooglepubsubChannelBinding`,pulsar:`PulsarChannelBinding`},additionalProperties:{type:`object`},description:`Map describing protocol-specific definitions for a channel.`},MessageBindings:{extensionsPrefix:`x-`,properties:{http:`HttpMessageBinding`,ws:`WsMessageBinding`,kafka:`KafkaMessageBinding`,anypointmq:`AnypointmqMessageBinding`,amqp:`AmqpMessageBinding`,amqp1:`Amqp1MessageBinding`,mqtt:`MqttMessageBinding`,mqtt5:`Mqtt5MessageBinding`,nats:`NatsMessageBinding`,jms:`JmsMessageBinding`,solace:`SolaceMessageBinding`,stomp:`StompMessageBinding`,redis:`RedisMessageBinding`,mercure:`MercureMessageBinding`,ibmmq:`IbmmqMessageBinding`,googlepubsub:`GooglepubsubMessageBinding`},additionalProperties:{type:`object`},description:`Map describing protocol-specific definitions for a message.`},OperationBindings:{extensionsPrefix:`x-`,properties:{http:`HttpOperationBinding`,ws:`WsOperationBinding`,kafka:`KafkaOperationBinding`,anypointmq:`AnypointmqOperationBinding`,amqp:`AmqpOperationBinding`,amqp1:`Amqp1OperationBinding`,mqtt:`MqttOperationBinding`,mqtt5:`Mqtt5OperationBinding`,nats:`NatsOperationBinding`,jms:`JmsOperationBinding`,solace:`SolaceOperationBinding`,stomp:`StompOperationBinding`,redis:`RedisOperationBinding`,mercure:`MercureOperationBinding`,sns:`SnsOperationBinding`,sqs:`SqsOperationBinding`},additionalProperties:{type:`object`},description:`Map describing protocol-specific definitions for an operation.`}},LAe={Ros2ServerBinding:MAe,Ros2ChannelBinding:NAe,Ros2OperationBinding:FAe,Ros2QosPolicies:PAe,Ros2MessageBinding:IAe},f5={extensionsPrefix:`x-`,properties:{$id:{type:`string`},$schema:{type:`string`},definitions:`NamedSchemas`,externalDocs:`ExternalDocs`,discriminator:`Discriminator`,title:{type:`string`},multipleOf:{type:`number`,minimum:0},maximum:{type:`number`},minimum:{type:`number`},exclusiveMaximum:{type:`number`},exclusiveMinimum:{type:`number`},maxLength:{type:`integer`,minimum:0},minLength:{type:`integer`,minimum:0},pattern:{type:`string`},maxItems:{type:`integer`,minimum:0},minItems:{type:`integer`,minimum:0},uniqueItems:{type:`boolean`},maxProperties:{type:`integer`,minimum:0},minProperties:{type:`integer`,minimum:0},required:{type:`array`,items:{type:`string`}},enum:{type:`array`},type:e=>Array.isArray(e)?{type:`array`,items:{enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`,`null`]}}:{enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`,`null`]},allOf:Q(`Schema`),anyOf:Q(`Schema`),oneOf:Q(`Schema`),not:`Schema`,if:`Schema`,then:`Schema`,else:`Schema`,contains:`Schema`,patternProperties:{type:`object`},propertyNames:`Schema`,properties:`SchemaProperties`,items:e=>Array.isArray(e)?Q(`Schema`):`Schema`,additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,description:{type:`string`},format:{type:`string`},contentEncoding:{type:`string`},contentMediaType:{type:`string`},default:null,readOnly:{type:`boolean`},writeOnly:{type:`boolean`},examples:{type:`array`},example:{isExample:!0},deprecated:{type:`boolean`},const:null,$comment:{type:`string`},additionalItems:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,dependencies:`Dependencies`}},p5={properties:{},additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`},m5={properties:{},additionalProperties:e=>Array.isArray(e)?{type:`array`,items:{type:`string`}}:`Schema`},h5={properties:{},additionalProperties:e=>typeof e==`string`&&Q8(e)?{type:`string`,directResolveAs:`Schema`}:{type:`string`}},g5={properties:{propertyName:{type:`string`},mapping:`DiscriminatorMapping`},required:[`propertyName`]},RAe={extensionsPrefix:`x-`,properties:{asyncapi:null,info:`Info`,id:{type:`string`,description:`Identifier of the application the AsyncAPI document is defining.`},servers:`ServerMap`,channels:`ChannelMap`,components:`Components`,tags:`TagList`,externalDocs:`ExternalDocs`,defaultContentType:{type:`string`}},required:[`asyncapi`,`channels`,`info`]},zAe={extensionsPrefix:`x-`,properties:{description:{type:`string`,description:`An optional description of this channel item. CommonMark syntax can be used for rich text representation.`},subscribe:`Operation`,publish:`Operation`,parameters:`ParametersMap`,bindings:`ChannelBindings`,servers:{type:`array`,items:{type:`string`},description:`The servers on which this channel is available, specified as an optional unordered list of names (string keys) of Server Objects defined in the Servers Object (a map).`}},description:`Describes the operations available on a single channel.`},BAe={properties:{},additionalProperties:`Channel`},_5={extensionsPrefix:`x-`,properties:{name:{type:`string`,description:`REQUIRED. The name of the tag.`},description:{type:`string`,description:`A short description for the tag. CommonMark syntax can be used for rich text representation.`},externalDocs:`ExternalDocs`},required:[`name`],description:`Allows adding meta data to a single tag.`},v5={extensionsPrefix:`x-`,properties:{description:{type:`string`,description:`A short description of the target documentation. CommonMark syntax can be used for rich text representation.`},url:{type:`string`,description:`REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL.`}},required:[`url`],description:`Allows referencing an external resource for extended documentation.`},VAe={properties:{},additionalProperties:{type:`array`,items:{type:`string`}},description:`Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.`},HAe={extensionsPrefix:`x-`,properties:{url:{type:`string`,description:`REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the AsyncAPI document is being served. Variable substitutions will be made when a variable is named in {braces}.`},protocol:{type:`string`,description:`REQUIRED. The protocol this URL supports for connection. Supported protocol include, but are not limited to: amqp, amqps, http, https, ibmmq, jms, kafka, kafka-secure, anypointmq, mqtt, secure-mqtt, solace, stomp, stomps, ws, wss, mercure, googlepubsub, pulsar.`},protocolVersion:{type:`string`,description:`The version of the protocol used for connection. For instance: AMQP 0.9.1, HTTP 2.0, Kafka 1.0.0, etc.`},description:{type:`string`,description:`An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation.`},variables:`ServerVariablesMap`,security:`SecurityRequirementList`,bindings:`ServerBindings`,tags:`TagList`},required:[`url`,`protocol`],description:`An object representing a message broker, a server or any other kind of computer program capable of sending and/or receiving data. This object is used to capture details such as URIs, protocols and security configuration. Variable substitution can be used so that some details, for example usernames and passwords, can be injected by code generation tools.`},y5={properties:{},additionalProperties:(e,t)=>t.match(/^[A-Za-z0-9_\-]+$/)?`Server`:void 0},b5={extensionsPrefix:`x-`,properties:{enum:{type:`array`,items:{type:`string`},description:`An enumeration of string values to be used if the substitution options are from a limited set.`},default:{type:`string`,description:`The default value to use for substitution, and to send, if an alternate value is not supplied.`},description:{type:`string`,description:`An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.`},examples:{type:`array`,items:{type:`string`},description:`An array of examples of the server variable.`}},required:[],description:`An object representing a Server Variable for server URL template substitution.`},UAe={extensionsPrefix:`x-`,properties:{title:{type:`string`,description:`REQUIRED. The title of the application.`},version:{type:`string`,description:`REQUIRED Provides the version of the application API (not to be confused with the specification version).`},description:{type:`string`,description:`A short description of the application. CommonMark syntax can be used for rich text representation.`},termsOfService:{type:`string`,description:`A URL to the Terms of Service for the API. This MUST be in the form of an absolute URL.`},contact:`Contact`,license:`License`},required:[`title`,`version`],description:`The object provides metadata about the API. The metadata can be used by the clients if needed.`},x5={extensionsPrefix:`x-`,properties:{name:{type:`string`,description:`The identifying name of the contact person/organization.`},url:{type:`string`,description:`The URL pointing to the contact information. This MUST be in the form of an absolute URL.`},email:{type:`string`,description:`The email address of the contact person/organization. MUST be in the format of an email address.`}},description:`Contact information for the exposed API.`},S5={extensionsPrefix:`x-`,properties:{name:{type:`string`,description:`REQUIRED. The license name used for the API.`},url:{type:`string`,description:`A URL to the license used for the API. This MUST be in the form of an absolute URL.`}},required:[`name`],description:`License information for the exposed API.`},WAe={extensionsPrefix:`x-`,properties:{description:{type:`string`,description:`A verbose explanation of the parameter. CommonMark syntax can be used for rich text representation.`},schema:`Schema`,location:{type:`string`,description:`A runtime expression that specifies the location of the parameter value. Even when a definition for the target field exists, it MUST NOT be used to validate this parameter but, instead, the schema property MUST be used.`}},description:`Describes a parameter included in a channel name.`},C5={extensionsPrefix:`x-`,properties:{description:{type:`string`,description:`An optional description of the identifier. CommonMark syntax can be used for rich text representation.`},location:{type:`string`,description:`REQUIRED. A runtime expression that specifies the location of the correlation ID.`}},required:[`location`],description:`An object that specifies an identifier at design time that can used for message tracing and correlation.`},GAe={extensionsPrefix:`x-`,properties:{messageId:{type:`string`,description:`Unique string used to identify the message. The id MUST be unique among all messages described in the API. The messageId value is case-sensitive. Tools and libraries MAY use the messageId to uniquely identify a message, therefore, it is RECOMMENDED to follow common programming naming conventions.`},headers:`Schema`,payload:`Schema`,correlationId:`CorrelationId`,schemaFormat:{type:`string`,description:`A string containing the name of the schema format used to define the message payload. If omitted, implementations should parse the payload as a Schema object. When the payload is defined using a $ref to a remote file, it is RECOMMENDED the schema format includes the file encoding type to allow implementations to parse the file correctly.`},contentType:{type:`string`,description:`The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.`},name:{type:`string`,description:`A machine-friendly name for the message.`},title:{type:`string`,description:`A human-friendly title for the message.`},summary:{type:`string`,description:`A short summary of what the message is about.`},description:{type:`string`,description:`A verbose explanation of the message. CommonMark syntax can be used for rich text representation.`},tags:`TagList`,externalDocs:`ExternalDocs`,bindings:`MessageBindings`,examples:`MessageExampleList`,traits:`MessageTraitList`},additionalProperties:{},description:`Describes a message received on a given channel and operation.`},KAe={extensionsPrefix:`x-`,properties:{tags:`TagList`,summary:{type:`string`,description:`A short summary of what the operation is about.`},description:{type:`string`,description:`A verbose explanation of the operation. CommonMark syntax can be used for rich text representation.`},externalDocs:`ExternalDocs`,operationId:{type:`string`,description:`Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.`},security:`SecurityRequirementList`,bindings:`OperationBindings`},required:[],description:`Describes a trait that MAY be applied to an Operation Object. This object MAY contain any property from the Operation Object, except message and traits.`},qAe={extensionsPrefix:`x-`,properties:{messageId:{type:`string`,description:`Unique string used to identify the message. The id MUST be unique among all messages described in the API. The messageId value is case-sensitive. Tools and libraries MAY use the messageId to uniquely identify a message, therefore, it is RECOMMENDED to follow common programming naming conventions.`},headers:`Schema`,correlationId:`CorrelationId`,schemaFormat:{type:`string`,description:`A string containing the name of the schema format/language used to define the message payload. If omitted, implementations should parse the payload as a Schema object.`},contentType:{type:`string`,description:`The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.`},name:{type:`string`,description:`A verbose explanation of the message. CommonMark syntax can be used for rich text representation.`},title:{type:`string`,description:`A human-friendly title for the message.`},summary:{type:`string`,description:`A short summary of what the message is about.`},description:{type:`string`,description:`A verbose explanation of the message. CommonMark syntax can be used for rich text representation.`},tags:`TagList`,externalDocs:`ExternalDocs`,bindings:`MessageBindings`,examples:`MessageExampleList`},additionalProperties:{},description:`Describes a trait that MAY be applied to a Message Object. This object MAY contain any property from the Message Object, except payload and traits.`},JAe={extensionsPrefix:`x-`,properties:{tags:`TagList`,summary:{type:`string`,description:`A short summary of what the operation is about.`},description:{type:`string`,description:`A verbose explanation of the operation. CommonMark syntax can be used for rich text representation.`},externalDocs:`ExternalDocs`,operationId:{type:`string`,description:`Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.`},security:`SecurityRequirementList`,bindings:`OperationBindings`,traits:`OperationTraitList`,message:`Message`},required:[],description:`Describes a publish or a subscribe operation. This provides a place to document how and why messages are sent and received.`},w5={extensionsPrefix:`x-`,properties:{payload:{isExample:!0,description:`The value of this field MUST validate against the Message Object's payload field.`},summary:{type:`string`,description:`A short summary of what the example is about.`},name:{type:`string`,description:`A machine-friendly name.`},headers:{type:`object`,description:`The value of this field MUST validate against the Message Object's headers field.`}},description:`Message Example Object represents an example of a Message Object and MUST contain either headers and/or payload fields.`},YAe={extensionsPrefix:`x-`,properties:{messages:`NamedMessages`,parameters:`NamedParameters`,schemas:`NamedSchemas`,correlationIds:`NamedCorrelationIds`,messageTraits:`NamedMessageTraits`,operationTraits:`NamedOperationTraits`,securitySchemes:`NamedSecuritySchemes`,servers:`ServerMap`,serverVariables:`ServerVariablesMap`,channels:`ChannelMap`,serverBindings:`ServerBindings`,channelBindings:`ChannelBindings`,operationBindings:`OperationBindings`,messageBindings:`MessageBindings`}},XAe={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},authorizationUrl:{type:`string`}},required:[`authorizationUrl`,`scopes`],description:`Configuration for the OAuth Implicit flow.`},ZAe={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`scopes`],description:`Configuration for the OAuth Password flow.`},QAe={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`scopes`],description:`Configuration for the OAuth Client Credentials flow.`},$Ae={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},authorizationUrl:{type:`string`},scopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`authorizationUrl`,`tokenUrl`,`scopes`],description:`Configuration for the OAuth Authorization Code flow.`},T5={extensionsPrefix:`x-`,properties:{implicit:`ImplicitFlow`,password:`PasswordFlow`,clientCredentials:`ClientCredentials`,authorizationCode:`AuthorizationCode`}},eje={properties:{type:{enum:[`userPassword`,`apiKey`,`X509`,`symmetricEncryption`,`asymmetricEncryption`,`httpApiKey`,`http`,`oauth2`,`openIdConnect`,`plain`,`scramSha256`,`scramSha512`,`gssapi`]},description:{type:`string`,description:`A short description for security scheme. CommonMark syntax MAY be used for rich text representation.`},name:{type:`string`,description:`REQUIRED. The name of the header, query or cookie parameter to be used.`},in:{type:`string`,enum:[`query`,`header`,`cookie`,`user`,`password`],description:`REQUIRED. The location of the API key. Valid values are "user" and "password" for apiKey and "query", "header" or "cookie" for httpApiKey.`},scheme:{type:`string`,description:`REQUIRED. The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.`},bearerFormat:{type:`string`,description:`A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.`},flows:`SecuritySchemeFlows`,openIdConnectUrl:{type:`string`,description:`REQUIRED. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of an absolute URL.`}},required(e){switch(e?.type){case`apiKey`:return[`type`,`in`];case`httpApiKey`:return[`type`,`name`,`in`];case`http`:return[`type`,`scheme`];case`oauth2`:return[`type`,`flows`];case`openIdConnect`:return[`type`,`openIdConnectUrl`];default:return[`type`]}},allowed(e){switch(e?.type){case`apiKey`:return[`type`,`in`,`description`];case`httpApiKey`:return[`type`,`name`,`in`,`description`];case`http`:return[`type`,`scheme`,`bearerFormat`,`description`];case`oauth2`:return[`type`,`flows`,`description`];case`openIdConnect`:return[`type`,`openIdConnectUrl`,`description`];default:return[`type`,`description`]}},extensionsPrefix:`x-`,description:`Defines a security scheme that can be used by the operations.`},tje={...d5,Root:RAe,Tag:_5,TagList:Q(`Tag`),ServerMap:y5,ExternalDocs:v5,Server:HAe,ServerVariable:b5,ServerVariablesMap:$(`ServerVariable`),SecurityRequirement:VAe,SecurityRequirementList:Q(`SecurityRequirement`),Info:UAe,Contact:x5,License:S5,ChannelMap:BAe,Channel:zAe,Parameter:WAe,ParametersMap:$(`Parameter`),Operation:JAe,Schema:f5,MessageExample:w5,SchemaProperties:p5,DiscriminatorMapping:h5,Discriminator:g5,Components:YAe,NamedSchemas:$(`Schema`),NamedMessages:$(`Message`),NamedMessageTraits:$(`MessageTrait`),NamedOperationTraits:$(`OperationTrait`),NamedParameters:$(`Parameter`),NamedSecuritySchemes:$(`SecurityScheme`),NamedCorrelationIds:$(`CorrelationId`),ImplicitFlow:XAe,PasswordFlow:ZAe,ClientCredentials:QAe,AuthorizationCode:$Ae,SecuritySchemeFlows:T5,SecurityScheme:eje,Message:GAe,OperationTrait:KAe,OperationTraitList:Q(`OperationTrait`),MessageTrait:qAe,MessageTraitList:Q(`MessageTrait`),MessageExampleList:Q(`MessageExample`),CorrelationId:C5,Dependencies:m5},nje={extensionsPrefix:`x-`,properties:{asyncapi:{type:`string`,description:`REQUIRED. Specifies the AsyncAPI Specification version being used. It can be used by tooling Specifications and clients to interpret the version. The structure shall be major.minor.patch, where patch versions must be compatible with the existing major.minor tooling. Typically patch versions will be introduced to address errors in the documentation, and tooling should typically be compatible with the corresponding major.minor (1.0.*). Patch versions will correspond to patches of this document.`},info:`Info`,id:{type:`string`,description:`Identifier of the application the AsyncAPI document is defining.`},servers:`ServerMap`,channels:`NamedChannels`,components:`Components`,operations:`NamedOperations`,defaultContentType:{type:`string`,description:`Default content type to use when encoding/decoding a message's payload.`}},required:[`asyncapi`,`info`],description:`This is the root document object for the API specification. It combines resource listing and API declaration together into one document.`},rje={extensionsPrefix:`x-`,properties:{address:{type:`string`,description:`An optional string representation of this channel's address. The address is typically the "topic name", "routing key", "event type", or "path". When null or absent, it MUST be interpreted as unknown. This is useful when the address is generated dynamically at runtime or can't be known upfront. It MAY contain Channel Address Expressions. Query parameters and fragments SHALL NOT be used, instead use bindings to define them.`},messages:`NamedMessages`,title:{type:`string`,description:`A human-friendly title for the channel.`},summary:{type:`string`,description:`A short summary of the channel.`},description:{type:`string`,description:`An optional description of this channel. CommonMark syntax can be used for rich text representation.`},servers:`ServerList`,parameters:`ParametersMap`,bindings:`ChannelBindings`,tags:`TagList`,externalDocs:`ExternalDocs`},description:`Describes a shared communication channel.`},ije={extensionsPrefix:`x-`,properties:{host:{type:`string`,description:`REQUIRED. The server host name. It MAY include the port. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}.`},pathname:{type:`string`,description:`The path to a resource in the host. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}.`},protocol:{type:`string`,description:`REQUIRED. The protocol this server supports for connection.`},protocolVersion:{type:`string`,description:`The version of the protocol used for connection. For instance: AMQP 0.9.1, HTTP 2.0, Kafka 1.0.0, etc.`},description:{type:`string`,description:`An optional string describing the server. CommonMark syntax MAY be used for rich text representation.`},variables:`ServerVariablesMap`,security:`SecuritySchemeList`,bindings:`ServerBindings`,externalDocs:`ExternalDocs`,tags:`TagList`},required:[`host`,`protocol`],description:`An object representing a message broker, a server or any other kind of computer program capable of sending and/or receiving data. This object is used to capture details such as URIs, protocols and security configuration. Variable substitution can be used so that some details, for example usernames and passwords, can be injected by code generation tools.`},aje={extensionsPrefix:`x-`,properties:{title:{type:`string`,description:`REQUIRED. The title of the application.`},version:{type:`string`,description:`REQUIRED Provides the version of the application API (not to be confused with the specification version).`},description:{type:`string`,description:`A short description of the application. CommonMark syntax can be used for rich text representation.`},termsOfService:{type:`string`,description:`A URL to the Terms of Service for the API. This MUST be in the form of an absolute URL.`},contact:`Contact`,license:`License`,tags:`TagList`,externalDocs:`ExternalDocs`},required:[`title`,`version`],description:`The object provides metadata about the API. The metadata can be used by the clients if needed.`},oje={extensionsPrefix:`x-`,properties:{description:{type:`string`,description:`An optional description for the parameter. CommonMark syntax MAY be used for rich text representation.`},enum:{type:`array`,items:{type:`string`},description:`An enumeration of string values to be used if the substitution options are from a limited set.`},default:{type:`string`,description:`The default value to use for substitution, and to send, if an alternate value is not supplied.`},examples:{type:`array`,items:{type:`string`},description:`An array of examples of the parameter value.`},location:{type:`string`,description:`A runtime expression that specifies the location of the parameter value.`}},description:`Describes a parameter included in a channel address.`},sje={extensionsPrefix:`x-`,properties:{headers:e=>V8(e)&&`schema`in e?`MultiFormatSchema`:`Schema`,payload:e=>V8(e)&&`schema`in e?`MultiFormatSchema`:`Schema`,correlationId:`CorrelationId`,contentType:{type:`string`,description:`The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.`},name:{type:`string`,description:`A machine-friendly name for the message.`},title:{type:`string`,description:`A human-friendly title for the message.`},summary:{type:`string`,description:`A short summary of what the message is about.`},description:{type:`string`,description:`A verbose explanation of the message. CommonMark syntax can be used for rich text representation.`},tags:`TagList`,externalDocs:`ExternalDocs`,bindings:`MessageBindings`,examples:`MessageExampleList`,traits:`MessageTraitList`},description:`Describes a message received on a given channel and operation.`},cje={extensionsPrefix:`x-`,properties:{tags:`TagList`,title:{type:`string`,description:`A human-friendly title for the operation.`},summary:{type:`string`,description:`A short summary of what the operation is about.`},description:{type:`string`,description:`A verbose explanation of the operation. CommonMark syntax can be used for rich text representation.`},externalDocs:`ExternalDocs`,security:`SecuritySchemeList`,bindings:`OperationBindings`},required:[],description:`Describes a trait that MAY be applied to an Operation Object. This object MAY contain any property from the Operation Object, except the action, channel, messages and traits ones.`},lje={extensionsPrefix:`x-`,properties:{headers:e=>V8(e)&&`schema`in e?`MultiFormatSchema`:`Schema`,correlationId:`CorrelationId`,contentType:{type:`string`,description:`The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.`},name:{type:`string`,description:`A machine-friendly name for the message.`},title:{type:`string`,description:`A human-friendly title for the message.`},summary:{type:`string`,description:`A short summary of what the message is about.`},description:{type:`string`,description:`A verbose explanation of the message. CommonMark syntax can be used for rich text representation.`},tags:`TagList`,externalDocs:`ExternalDocs`,bindings:`MessageBindings`,examples:`MessageExampleList`},description:`Describes a trait that MAY be applied to a Message Object. This object MAY contain any property from the Message Object, except payload and traits.`},uje={extensionsPrefix:`x-`,properties:{action:{type:`string`,enum:[`send`,`receive`],description:`Required. Use send when it's expected that the application will send a message to the given channel, and receive when the application should expect receiving messages from the given channel.`},channel:`Channel`,title:{type:`string`,description:`A human-friendly title for the operation.`},tags:`TagList`,summary:{type:`string`,description:`A short summary of what the operation is about.`},description:{type:`string`,description:`A verbose explanation of the operation. CommonMark syntax can be used for rich text representation.`},externalDocs:`ExternalDocs`,operationId:{type:`string`},security:`SecuritySchemeList`,bindings:`OperationBindings`,traits:`OperationTraitList`,messages:`MessageList`,reply:`OperationReply`},required:[`action`,`channel`]},dje={extensionsPrefix:`x-`,properties:{channel:`Channel`,messages:`MessageList`,address:`OperationReplyAddress`},description:`Describes the reply part that MAY be applied to an Operation Object. If an operation implements the request/reply pattern, the reply object represents the response message.`},fje={extensionsPrefix:`x-`,properties:{location:{type:`string`,description:`REQUIRED. A runtime expression that specifies the location of the reply address.`},description:{type:`string`,description:`An optional description of the address. CommonMark syntax can be used for rich text representation.`}},required:[`location`],description:`An object that specifies where an operation has to send the reply.`},pje={extensionsPrefix:`x-`,properties:{messages:`NamedMessages`,parameters:`NamedParameters`,schemas:`NamedSchemas`,replies:`NamedOperationReplies`,replyAddresses:`NamedOperationRelyAddresses`,correlationIds:`NamedCorrelationIds`,messageTraits:`NamedMessageTraits`,operationTraits:`NamedOperationTraits`,tags:`NamedTags`,externalDocs:`NamedExternalDocs`,securitySchemes:`NamedSecuritySchemes`,servers:`ServerMap`,serverVariables:`ServerVariablesMap`,channels:`NamedChannels`,operations:`NamedOperations`,serverBindings:`ServerBindings`,channelBindings:`ChannelBindings`,operationBindings:`OperationBindings`,messageBindings:`MessageBindings`},description:`Holds a set of reusable objects for different aspects of the AsyncAPI specification. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.`},mje={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},availableScopes:{type:`object`,additionalProperties:{type:`string`}},authorizationUrl:{type:`string`}},required:[`authorizationUrl`,`availableScopes`],description:`Configuration for the OAuth Implicit flow.`},hje={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},availableScopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`availableScopes`],description:`Configuration for the OAuth Resource Owner Protected Credentials flow.`},gje={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},availableScopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`tokenUrl`,`availableScopes`],description:`Configuration for the OAuth Client Credentials flow.`},_je={extensionsPrefix:`x-`,properties:{refreshUrl:{type:`string`},authorizationUrl:{type:`string`},availableScopes:{type:`object`,additionalProperties:{type:`string`}},tokenUrl:{type:`string`}},required:[`authorizationUrl`,`tokenUrl`,`availableScopes`],description:`Configuration for the OAuth Authorization Code flow.`},vje={properties:{type:{enum:[`userPassword`,`apiKey`,`X509`,`symmetricEncryption`,`asymmetricEncryption`,`httpApiKey`,`http`,`oauth2`,`openIdConnect`,`plain`,`scramSha256`,`scramSha512`,`gssapi`],description:`REQUIRED. The type of the security scheme. Valid values are "userPassword", "apiKey", "X509", "symmetricEncryption", "asymmetricEncryption", "httpApiKey", "http", "oauth2", "openIdConnect", "plain", "scramSha256", "scramSha512", and "gssapi".`},description:{type:`string`,description:`A short description for security scheme. CommonMark syntax MAY be used for rich text representation.`},name:{type:`string`,description:`REQUIRED. The name of the header, query or cookie parameter to be used.`},in:{type:`string`,enum:[`query`,`header`,`cookie`,`user`,`password`],description:`REQUIRED. The location of the API key. Valid values are "user" and "password" for apiKey and "query", "header" or "cookie" for httpApiKey.`},scheme:{type:`string`,description:`REQUIRED. The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.`},bearerFormat:{type:`string`,description:`A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.`},flows:`SecuritySchemeFlows`,openIdConnectUrl:{type:`string`,description:`REQUIRED. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of an absolute URL.`},scopes:{type:`array`,items:{type:`string`},description:`List of the needed scope names. An empty array means no scopes are needed.`}},required(e){switch(e?.type){case`apiKey`:return[`type`,`in`];case`httpApiKey`:return[`type`,`name`,`in`];case`http`:return[`type`,`scheme`];case`oauth2`:return[`type`,`flows`];case`openIdConnect`:return[`type`,`openIdConnectUrl`];default:return[`type`]}},allowed(e){switch(e?.type){case`apiKey`:return[`type`,`in`,`description`];case`httpApiKey`:return[`type`,`name`,`in`,`description`];case`http`:return[`type`,`scheme`,`bearerFormat`,`description`];case`oauth2`:return[`type`,`flows`,`description`,`scopes`];case`openIdConnect`:return[`type`,`openIdConnectUrl`,`description`,`scopes`];default:return[`type`,`description`]}},extensionsPrefix:`x-`,description:`Defines a security scheme that can be used by the operations.`},yje={...d5.ServerBindings,properties:{...d5.ServerBindings.properties,ros2:`Ros2ServerBinding`}},bje={...d5.ChannelBindings,properties:{...d5.ChannelBindings.properties,ros2:`Ros2ChannelBinding`}},xje={...d5.OperationBindings,properties:{...d5.OperationBindings.properties,ros2:`Ros2OperationBinding`}},Sje={...d5.MessageBindings,properties:{...d5.MessageBindings.properties,ros2:`Ros2MessageBinding`}},Cje={extensionsPrefix:`x-`,properties:{schema:`Schema`,schemaFormat:{type:`string`}},description:`Represents a schema definition. Unlike the Schema Object, it supports multiple schema formats or languages.`},wje={properties:{},additionalProperties:e=>V8(e)&&`schema`in e?`MultiFormatSchema`:`Schema`},Tje={...d5,...LAe,ServerBindings:yje,ChannelBindings:bje,OperationBindings:xje,MessageBindings:Sje,CorrelationId:C5,SecuritySchemeFlows:T5,ServerVariable:b5,Contact:x5,License:S5,MessageExample:w5,Tag:_5,Dependencies:m5,Schema:f5,MultiFormatSchema:Cje,Discriminator:g5,DiscriminatorMapping:h5,SchemaProperties:p5,ServerMap:y5,ExternalDocs:v5,Root:nje,Channel:rje,Parameter:oje,Info:aje,Server:ije,MessageTrait:lje,Operation:uje,OperationReply:dje,OperationReplyAddress:fje,Components:pje,ImplicitFlow:mje,PasswordFlow:hje,ClientCredentials:gje,AuthorizationCode:_je,SecurityScheme:vje,Message:sje,OperationTrait:cje,ServerVariablesMap:$(`ServerVariable`),NamedTags:$(`Tag`),NamedExternalDocs:$(`ExternalDocs`),NamedChannels:$(`Channel`),ParametersMap:$(`Parameter`),NamedOperations:$(`Operation`),NamedOperationReplies:$(`OperationReply`),NamedOperationRelyAddresses:$(`OperationReplyAddress`),NamedSchemas:wje,NamedMessages:$(`Message`),NamedMessageTraits:$(`MessageTrait`),NamedOperationTraits:$(`OperationTrait`),NamedParameters:$(`Parameter`),NamedSecuritySchemes:$(`SecurityScheme`),NamedCorrelationIds:$(`CorrelationId`),ServerList:Q(`Server`),SecuritySchemeList:Q(`SecurityScheme`),MessageList:Q(`Message`),OperationTraitList:Q(`OperationTrait`),MessageTraitList:Q(`MessageTrait`),MessageExampleList:Q(`MessageExample`),TagList:Q(`Tag`)},Eje=/^[0-9][0-9Xx]{2}$/,Dje={properties:{swagger:{type:`string`},info:`Info`,host:{type:`string`},basePath:{type:`string`},schemes:{type:`array`,items:{type:`string`}},consumes:{type:`array`,items:{type:`string`}},produces:{type:`array`,items:{type:`string`}},paths:`Paths`,definitions:`NamedSchemas`,parameters:`NamedParameters`,responses:`NamedResponses`,securityDefinitions:`NamedSecuritySchemes`,security:`SecurityRequirementList`,tags:`TagList`,externalDocs:`ExternalDocs`,"x-servers":`XServerList`,"x-tagGroups":`TagGroups`,"x-ignoredHeaderParameters":{type:`array`,items:{type:`string`}}},required:[`swagger`,`paths`,`info`],extensionsPrefix:`x-`},E5={properties:{title:{type:`string`},description:{type:`string`},termsOfService:{type:`string`},contact:`Contact`,license:`License`,version:{type:`string`},"x-logo":`Logo`},required:[`title`,`version`],extensionsPrefix:`x-`},Oje={properties:{url:{type:`string`},altText:{type:`string`},backgroundColor:{type:`string`},href:{type:`string`}}},kje={properties:{name:{type:`string`},url:{type:`string`},email:{type:`string`}},extensionsPrefix:`x-`},Aje={properties:{name:{type:`string`},url:{type:`string`}},required:[`name`],extensionsPrefix:`x-`},jje={extensionsPrefix:`x-`,properties:{},additionalProperties:(e,t)=>t.startsWith(`/`)?`PathItem`:void 0},Mje={properties:{$ref:{type:`string`},parameters:`ParameterList`,get:`Operation`,put:`Operation`,post:`Operation`,delete:`Operation`,options:`Operation`,head:`Operation`,patch:`Operation`},extensionsPrefix:`x-`},Nje={properties:{tags:{type:`array`,items:{type:`string`}},summary:{type:`string`},description:{type:`string`},externalDocs:`ExternalDocs`,operationId:{type:`string`},consumes:{type:`array`,items:{type:`string`}},produces:{type:`array`,items:{type:`string`}},parameters:`ParameterList`,responses:`Responses`,schemes:{type:`array`,items:{type:`string`}},deprecated:{type:`boolean`},security:`SecurityRequirementList`,"x-codeSamples":`XCodeSampleList`,"x-code-samples":`XCodeSampleList`,"x-hideTryItPanel":{type:`boolean`}},required:[`responses`],extensionsPrefix:`x-`},Pje={properties:{lang:{type:`string`},label:{type:`string`},source:{type:`string`}}},Fje={properties:{url:{type:`string`},description:{type:`string`}},required:[`url`]},Ije={properties:{description:{type:`string`},url:{type:`string`}},required:[`url`],extensionsPrefix:`x-`},Lje={properties:{name:{type:`string`},in:{type:`string`,enum:[`query`,`header`,`path`,`formData`,`body`]},description:{type:`string`},required:{type:`boolean`},schema:`Schema`,type:{type:`string`,enum:[`string`,`number`,`integer`,`boolean`,`array`,`file`]},format:{type:`string`},allowEmptyValue:{type:`boolean`},items:`ParameterItems`,collectionFormat:{type:`string`,enum:[`csv`,`ssv`,`tsv`,`pipes`,`multi`]},default:null,maximum:{type:`integer`},exclusiveMaximum:{type:`boolean`},minimum:{type:`integer`},exclusiveMinimum:{type:`boolean`},maxLength:{type:`integer`},minLength:{type:`integer`},pattern:{type:`string`},maxItems:{type:`integer`},minItems:{type:`integer`},uniqueItems:{type:`boolean`},enum:{type:`array`},multipleOf:{type:`number`},"x-example":{},"x-examples":`ExamplesMap`},required(e){return!e||!e.in?[`name`,`in`]:e.in===`body`?[`name`,`in`,`schema`]:e.type===`array`?[`name`,`in`,`type`,`items`]:[`name`,`in`,`type`]},extensionsPrefix:`x-`},Rje={properties:{type:{type:`string`,enum:[`string`,`number`,`integer`,`boolean`,`array`]},format:{type:`string`},items:`ParameterItems`,collectionFormat:{type:`string`,enum:[`csv`,`ssv`,`tsv`,`pipes`,`multi`]},default:null,maximum:{type:`integer`},exclusiveMaximum:{type:`boolean`},minimum:{type:`integer`},exclusiveMinimum:{type:`boolean`},maxLength:{type:`integer`},minLength:{type:`integer`},pattern:{type:`string`},maxItems:{type:`integer`},minItems:{type:`integer`},uniqueItems:{type:`boolean`},enum:{type:`array`},multipleOf:{type:`number`}},required(e){return e&&e.type===`array`?[`type`,`items`]:[`type`]},extensionsPrefix:`x-`},zje={extensionsPrefix:`x-`,properties:{default:`Response`},additionalProperties:(e,t)=>Eje.test(t)?`Response`:void 0},Bje={properties:{description:{type:`string`},schema:`Schema`,headers:$(`Header`),examples:`Examples`,"x-summary":{type:`string`}},required:[`description`],extensionsPrefix:`x-`},Vje={properties:{},additionalProperties:{isExample:!0}},Hje={properties:{description:{type:`string`},type:{type:`string`,enum:[`string`,`number`,`integer`,`boolean`,`array`]},format:{type:`string`},items:`ParameterItems`,collectionFormat:{type:`string`,enum:[`csv`,`ssv`,`tsv`,`pipes`,`multi`]},default:null,maximum:{type:`integer`},exclusiveMaximum:{type:`boolean`},minimum:{type:`integer`},exclusiveMinimum:{type:`boolean`},maxLength:{type:`integer`},minLength:{type:`integer`},pattern:{type:`string`},maxItems:{type:`integer`},minItems:{type:`integer`},uniqueItems:{type:`boolean`},enum:{type:`array`},multipleOf:{type:`number`}},required(e){return V8(e)&&e.type===`array`?[`type`,`items`]:[`type`]},extensionsPrefix:`x-`},Uje={properties:{name:{type:`string`},description:{type:`string`},externalDocs:`ExternalDocs`,"x-traitTag":{type:`boolean`},"x-displayName":{type:`string`}},required:[`name`],extensionsPrefix:`x-`},Wje={properties:{name:{type:`string`},tags:{type:`array`,items:{type:`string`}}}},Gje={properties:{format:{type:`string`},title:{type:`string`},description:{type:`string`},default:null,multipleOf:{type:`number`},maximum:{type:`number`},minimum:{type:`number`},exclusiveMaximum:{type:`boolean`},exclusiveMinimum:{type:`boolean`},maxLength:{type:`number`},minLength:{type:`number`},pattern:{type:`string`},maxItems:{type:`number`},minItems:{type:`number`},uniqueItems:{type:`boolean`},maxProperties:{type:`number`},minProperties:{type:`number`},required:{type:`array`,items:{type:`string`}},enum:{type:`array`},type:{type:`string`,enum:[`object`,`array`,`string`,`number`,`integer`,`boolean`,`null`]},items:e=>Array.isArray(e)?Q(`Schema`):`Schema`,allOf:Q(`Schema`),properties:`SchemaProperties`,additionalProperties:e=>typeof e==`boolean`?{type:`boolean`}:`Schema`,discriminator:{type:`string`},readOnly:{type:`boolean`},xml:`Xml`,externalDocs:`ExternalDocs`,example:{isExample:!0},"x-tags":{type:`array`,items:{type:`string`}},"x-nullable":{type:`boolean`},"x-extendedDiscriminator":{type:`string`},"x-additionalPropertiesName":{type:`string`},"x-explicitMappingOnly":{type:`boolean`},"x-enumDescriptions":`EnumDescriptions`},extensionsPrefix:`x-`},Kje={Root:Dje,Tag:Uje,TagList:Q(`Tag`),TagGroups:Q(`TagGroup`),TagGroup:Wje,ExternalDocs:Ije,Example:{properties:{value:{isExample:!0},summary:{type:`string`},description:{type:`string`},externalValue:{type:`string`}},extensionsPrefix:`x-`},ExamplesMap:$(`Example`),EnumDescriptions:{properties:{},additionalProperties:{type:`string`}},SecurityRequirement:{properties:{},additionalProperties:{type:`array`,items:{type:`string`}}},SecurityRequirementList:Q(`SecurityRequirement`),Info:E5,Contact:kje,License:Aje,Logo:Oje,Paths:jje,PathItem:Mje,Parameter:Lje,ParameterItems:Rje,ParameterList:Q(`Parameter`),Operation:Nje,Examples:Vje,Header:Hje,Responses:zje,Response:Bje,Schema:Gje,Xml:{properties:{name:{type:`string`},namespace:{type:`string`},prefix:{type:`string`},attribute:{type:`boolean`},wrapped:{type:`boolean`}},extensionsPrefix:`x-`},SchemaProperties:{properties:{},additionalProperties:`Schema`},NamedSchemas:$(`Schema`),NamedResponses:$(`Response`),NamedParameters:$(`Parameter`),NamedSecuritySchemes:$(`SecurityScheme`),SecurityScheme:{properties:{type:{enum:[`basic`,`apiKey`,`oauth2`]},description:{type:`string`},name:{type:`string`},in:{type:`string`,enum:[`query`,`header`]},flow:{enum:[`implicit`,`password`,`application`,`accessCode`]},authorizationUrl:{type:`string`},tokenUrl:{type:`string`},scopes:`Scopes`,"x-defaultClientId":{type:`string`}},required(e){switch(e?.type){case`apiKey`:return[`type`,`name`,`in`];case`oauth2`:switch(e?.flow){case`implicit`:return[`type`,`flow`,`authorizationUrl`,`scopes`];case`accessCode`:return[`type`,`flow`,`authorizationUrl`,`tokenUrl`,`scopes`];case`application`:case`password`:return[`type`,`flow`,`tokenUrl`,`scopes`];default:return[`type`,`flow`,`scopes`]}default:return[`type`]}},allowed(e){switch(e?.type){case`basic`:return[`type`,`description`];case`apiKey`:return[`type`,`name`,`in`,`description`];case`oauth2`:switch(e?.flow){case`implicit`:return[`type`,`flow`,`authorizationUrl`,`description`,`scopes`];case`accessCode`:return[`type`,`flow`,`authorizationUrl`,`tokenUrl`,`description`,`scopes`];case`application`:case`password`:return[`type`,`flow`,`tokenUrl`,`description`,`scopes`];default:return[`type`,`flow`,`tokenUrl`,`authorizationUrl`,`description`,`scopes`]}default:return[`type`,`description`]}},extensionsPrefix:`x-`},Scopes:{extensionsPrefix:`x-`,properties:{},additionalProperties:{type:`string`}},XCodeSample:Pje,XCodeSampleList:Q(`XCodeSample`),XServerList:Q(`XServer`),XServer:Fje},qje={Root:{properties:{openrpc:{type:`string`,description:`REQUIRED. This string MUST be the semantic version number of the OpenRPC Specification version that the OpenRPC document uses. The openrpc field SHOULD be used by tooling specifications and clients to interpret the OpenRPC document. This is not related to the API info.version string.`},info:`Info`,servers:`ServerList`,methods:`MethodList`,components:`Components`,externalDocs:`ExternalDocs`},required:[`openrpc`,`info`,`methods`],extensionsPrefix:`x-`,description:`This is the root object of the OpenRPC document. The contents of this object represent a whole OpenRPC document. How this object is constructed or stored is outside the scope of the OpenRPC Specification.`},Info:{properties:{title:{type:`string`,description:`REQUIRED. The title of the application.`},description:{type:`string`,description:`A verbose description of the application. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},termsOfService:{type:`string`,description:`A URL to the Terms of Service for the API. MUST be in the format of a URL.`},contact:`Contact`,license:`License`,version:{type:`string`,description:`REQUIRED. The version of the OpenRPC document (which is distinct from the OpenRPC Specification version or the API implementation version).`}},required:[`title`,`version`],extensionsPrefix:`x-`,description:`REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required.`},Contact:{properties:{name:{type:`string`,description:`The identifying name of the contact person/organization.`},url:{type:`string`,description:`The URL pointing to the contact information. MUST be in the format of a URL.`},email:{type:`string`,description:`The email address of the contact person/organization. MUST be in the format of an email address.`}},extensionsPrefix:`x-`,description:`Contact information for the exposed API.`},License:{properties:{name:{type:`string`,description:`REQUIRED. The license name used for the API.`},url:{type:`string`,description:`A URL to the license used for the API. MUST be in the format of a URL.`}},required:[`name`],extensionsPrefix:`x-`,description:`License information for the exposed API.`},Server:{properties:{url:{type:`string`,description:`REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenRPC document is being served. Server Variables are passed into the Runtime Expression to produce a server URL.`},name:{type:`string`,description:`REQUIRED. A name to be used as the canonical name for the server.`},description:{type:`string`,description:`An optional string describing the host designated by the URL. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},summary:{type:`string`,description:`A short summary of what the server is.`},variables:`ServerVariablesMap`},required:[`url`],extensionsPrefix:`x-`,description:`An object representing a Server.`},ServerList:Q(`Server`),ServerVariable:{properties:{enum:{type:`array`,items:{type:`string`},description:`An enumeration of string values to be used if the substitution options are from a limited set.`},default:{type:`string`,description:`REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. Note this behavior is different than the Schema Object’s treatment of default values, because in those cases parameter values are optional.`},description:{type:`string`,description:`An optional description for the server variable. GitHub Flavored Markdown syntax MAY be used for rich text representation.`}},required:[`default`],extensionsPrefix:`x-`,description:`An object representing a Server Variable for server URL template substitution.`},ServerVariablesMap:$(`ServerVariable`),Method:{properties:{name:{type:`string`,description:`REQUIRED. The cannonical name for the method. The name MUST be unique within the methods array.`},tags:`TagList`,summary:{type:`string`,description:`A short summary of what the method does.`},description:{type:`string`,description:`A verbose explanation of the method behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},externalDocs:`ExternalDocs`,params:`ContentDescriptorList`,result:`ContentDescriptor`,deprecated:{type:`boolean`,description:`Declares this method to be deprecated. Consumers SHOULD refrain from usage of the declared method. Default value is false.`},servers:`ServerList`,errors:`ErrorList`,links:`LinkList`,paramStructure:{enum:[`by-name`,`by-position`,`either`]},examples:`ExamplePairingList`},required:[`name`,`params`],extensionsPrefix:`x-`,description:`Describes the interface for the given method name. The method name is used as the method field of the JSON-RPC body. It therefore MUST be unique.`},MethodList:Q(`Method`),ContentDescriptor:{properties:{name:{type:`string`,description:`REQUIRED. Name of the content that is being described. If the content described is a method parameter assignable by-name, this field SHALL define the parameter’s key (ie name).`},summary:{type:`string`,description:`A short summary of the content that is being described.`},description:{type:`string`,description:`A verbose explanation of the content descriptor behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},required:{type:`boolean`,description:`Determines if the content is a required field. Default value is false.`},schema:`Schema`,deprecated:{type:`boolean`,description:`Specifies that the content is deprecated and SHOULD be transitioned out of usage. Default value is false.`}},required:[`name`,`schema`],extensionsPrefix:`x-`,description:`Content Descriptors are objects that do just as they suggest - describe content. They are reusable ways of describing either parameters or result. They MUST have a schema.`},ContentDescriptorList:Q(`ContentDescriptor`),ExamplePairing:{properties:{name:{type:`string`,description:`REQUIRED Name for the example pairing.`},description:{type:`string`,description:`A verbose explanation of the example pairing.`},summary:{type:`string`,description:`Short description for the example pairing.`},params:`ExampleList`,result:`Example`},extensionsPrefix:`x-`,description:`The Example Pairing object consists of a set of example params and result. The result is what you can expect from the JSON-RPC service given the exact params.`},ExamplePairingList:Q(`ExamplePairing`),Example:{properties:{name:{type:`string`,description:`Cannonical name of the example.`},summary:{type:`string`,description:`Short description for the example.`},description:{type:`string`,description:`A verbose explanation of the example. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},value:{resolvable:!1,description:`Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON, use a string value to contain the example, escaping where necessary.`},externalValue:{type:`string`,description:`A URL that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON documents. The value field and externalValue field are mutually exclusive.`}},extensionsPrefix:`x-`,description:`The Example object is an object that defines an example that is intended to match the schema of a given Content Descriptor.`},ExampleList:Q(`Example`),Link:{properties:{name:{type:`string`,description:`REQUIRED. Canonical name of the link.`},description:{type:`string`,description:`A description of the link. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},summary:{type:`string`,description:`Short description for the link.`},method:{type:`string`,description:`The name of an existing, resolvable OpenRPC method, as defined with a unique method. This field MUST resolve to a unique Method Object. As opposed to Open Api, Relative method values ARE NOT permitted.`},params:{type:`object`,description:`A map representing parameters to pass to a method as specified with method. The key is the parameter name to be used, whereas the value can be a constant or a runtime expression to be evaluated and passed to the linked method.`},server:`Server`},required:[`name`],extensionsPrefix:`x-`,description:`The Link object represents a possible design-time link for a result. The presence of a link does not guarantee the caller’s ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between results and other methods.`},LinkList:Q(`Link`),ErrorObject:{properties:{code:{type:`integer`,description:`REQUIRED. A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.`},message:{type:`string`,description:`REQUIRED. A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.`},data:{resolvable:!1,description:`A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).`}},required:[`code`,`message`],extensionsPrefix:`x-`,description:`Defines an application level error.`},ErrorList:Q(`ErrorObject`),Components:{properties:{contentDescriptors:`NamedContentDescriptors`,schemas:`NamedSchemas`,examples:`NamedExamples`,links:`NamedLinks`,errors:`NamedErrors`,examplePairingObjects:`NamedExamplePairingObjects`,tags:`NamedTags`},extensionsPrefix:`x-`,description:`Holds a set of reusable objects for different aspects of the OpenRPC. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.`},Tag:{properties:{name:{type:`string`,description:`REQUIRED. The name of the tag.`},summary:{type:`string`,description:`A short summary of the tag.`},description:{type:`string`,description:`A verbose explanation for the tag. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},externalDocs:`ExternalDocs`},required:[`name`],extensionsPrefix:`x-`,description:`Adds metadata to a single tag that is used by the Method Object. It is not mandatory to have a Tag Object per tag defined in the Method Object instances.`},TagList:Q(`Tag`),ExternalDocs:{properties:{description:{type:`string`,description:`A verbose explanation of the target documentation. GitHub Flavored Markdown syntax MAY be used for rich text representation.`},url:{type:`string`,description:`REQUIRED. The URL for the target documentation. Value MUST be in the format of a URL.`}},required:[`url`],extensionsPrefix:`x-`,description:`Allows referencing an external resource for extended documentation.`},Schema:f5,SchemaProperties:p5,Dependencies:m5,DiscriminatorMapping:h5,Discriminator:g5,NamedContentDescriptors:$(`ContentDescriptor`),NamedSchemas:$(`Schema`),NamedExamples:$(`Example`),NamedLinks:$(`Link`),NamedErrors:$(`ErrorObject`),NamedExamplePairingObjects:$(`ExamplePairing`),NamedTags:$(`Tag`)};function D5(e,t){let n={...e};return t.forEach(e=>{delete n[e]}),n}var Jje={properties:{overlay:{type:`string`,description:`REQUIRED. This string MUST be the version number of the Overlay Specification that the Overlay document uses. The overlay field SHOULD be used by tooling to interpret the Overlay document.`},$self:{type:`string`,description:`A URI-reference for the Overlay document. It is also the base URI for resolving relative references within this document.`},info:`Info`,extends:{type:`string`,description:`URI reference that identifies the target document (such as an [OpenAPI] document) this overlay applies to.`},actions:`Actions`,components:`Components`},required:[`overlay`,`info`,`actions`],extensionsPrefix:`x-`,description:`This is the root object of the Overlay.`},Yje={properties:{title:{type:`string`,description:`REQUIRED. A human readable description of the purpose of the overlay.`},version:{type:`string`,description:`REQUIRED. A version identifer for indicating changes to the Overlay document.`},description:{type:`string`,description:`A description of the Overlay. [CommonMark] syntax MAY be used for rich text representation.`}},required:[`title`,`version`],extensionsPrefix:`x-`,description:`The object provides metadata about the Overlay. The metadata MAY be used by the clients if needed.`},Xje={properties:{},items:e=>W8(e)?`ReusableAction`:`Action`},O5={properties:{target:{type:`string`,description:`REQUIRED A JSONPath expression selecting nodes in the target document.`},description:{type:`string`,description:`A description of the action. [CommonMark] syntax MAY be used for rich text representation.`},update:{},copy:{type:`string`,description:"A JSONPath expression selecting a single node to copy into the target nodes. The copied value is merged with the target nodes like an `update` value."},remove:{type:`boolean`,description:`A boolean value that indicates that the target object or array MUST be removed from the the map or array it is contained in. The default value is false.`}},required:[`target`],extensionsPrefix:`x-`,description:`This object represents one or more changes to be applied to the target document at the location defined by the target JSONPath expression`},k5={Root:Jje,Info:Yje,Actions:Xje,Action:O5,Components:{properties:{actions:`ReusableActions`},extensionsPrefix:`x-`,description:`A set of components to reuse across the Overlay document.`},ReusableActions:$(`ReusableAction`),ReusableAction:{properties:{description:{type:`string`,description:`A description of the reusable action. [CommonMark] syntax MAY be used for rich text representation.`},fields:`ReusableActionFields`},extensionsPrefix:`x-`,description:"A reusable action. An action in `actions` references it with `$ref` and supplies the `target`."},ReusableActionFields:{properties:D5(O5.properties,[`target`]),extensionsPrefix:`x-`,description:"The fields of a reusable action: an action without a `target`."}},A5=[`oas2`,`oas3_0`,`oas3_1`,`oas3_2`,`async2`,`async3`,`arazzo1`,`arazzo1_1`,`overlay1`,`openrpc1`,`graphql`],Zje=`a-zA-Z0-9\\.\\-_`,Qje={oas2:Kje,oas3_0:i5,oas3_1:o5,oas3_2:s5,async2:tje,async3:Tje,arazzo1:c5,arazzo1_1:JOe,overlay1:k5,openrpc1:qje};function $je(e){return e===`graphql`?{}:Qje[e]}function j5(e){return/^\\\\\?\\/.test(e)?e:e.replace(/\\/g,`/`)}var eMe=`.redocly.lint-ignore.yaml`,tMe=`# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
# See https://redocly.com/docs/cli/ for more information.
`;function nMe(e){return{http:{headers:e?.http?.headers??[],customFetch:void 0}}}var rMe=/\((\d+):(\d+)\)$/,M5=class e extends Error{originalError;source;col;line;constructor(t,n){super(t.message.split(`
`)[0]),this.originalError=t,this.source=n,Object.setPrototypeOf(this,e.prototype);let[,r,i]=this.message.match(rMe)||[];this.line=parseInt(r,10),this.col=parseInt(i,10)}},iMe=[`.graphql`,`.gql`];function aMe(e){let t=e.toLowerCase();return iMe.some(e=>t.endsWith(e))}function N5(e,t){return e.hasOwnProperty(t)?e[t]:void 0}function oMe(e){return e.endsWith(`.yaml`)||e.endsWith(`.yml`)||e.endsWith(`.json`)}function P5(e,t){return e+`::`+t}function sMe(){return new Promise(e=>{setTimeout(e)})}var cMe={isatty:()=>{},createRequire:()=>{}},lMe={};async function uMe(e,t){let n={};for(let r of t.headers)dMe(e,r.matches)&&(n[r.name]=r.envVariable===void 0?r.value:lMe[r.envVariable]||``);let r=await(t.customFetch||fetch)(e,{headers:n});if(!r.ok)throw Error(`Failed to load ${e}: ${r.status} ${r.statusText}`);return{body:await r.text(),mimeType:r.headers.get(`content-type`)}}function dMe(e,t){return t.match(/^https?:\/\//)||(e=e.replace(/^https?:\/\//,``)),cMe.isMatch(e,t)}var F5=class{absoluteRef;body;mimeType;constructor(e,t,n){this.absoluteRef=e,this.body=t,this.mimeType=n}#e;#t;getAst(e){return this.#e===void 0&&(this.#e=e(this.body,{filename:this.absoluteRef})??void 0,this.#e&&this.#e.kind===0&&this.#e.value===``&&this.#e.startPosition!==1&&(this.#e.startPosition=1,this.#e.endPosition=1)),this.#e}getLines(){return this.#t===void 0&&(this.#t=this.body.split(/\r\n|[\n\r]/g)),this.#t}},fMe=class e extends Error{originalError;constructor(t){super(t.message),this.originalError=t,Object.setPrototypeOf(this,e.prototype)}},pMe=class{config;cache=new Map;constructor(e={http:{headers:[]}}){this.config=e}getFiles(){return new Set(Array.from(this.cache.keys()))}resolveExternalRef(e,t){return Z8(t)?t:e&&Z8(e)?new URL(t,e).href:L8.resolve(e?L8.dirname(e):process.cwd(),t)}async loadExternalRef(e){try{if(Z8(e)){let{body:t,mimeType:n}=await uMe(e,this.config.http);return new F5(e,t,n)}if(I8.lstatSync(e).isDirectory())throw Error(`Expected a file but received a folder at ${e}.`);return new F5(e,(await I8.promises.readFile(e,`utf-8`)).replace(/\r\n/g,`
`))}catch(e){throw e.message=e.message.replace(`, lstat`,``),new fMe(e)}}parseDocument(e,t=!1){if(aMe(e.absoluteRef)||!oMe(Z8(e.absoluteRef)?new URL(e.absoluteRef).pathname:e.absoluteRef)&&!e.mimeType?.match(/(json|yaml|openapi)/)&&!t)return{source:e,parsed:e.body};try{return{source:e,parsed:eDe(e.body,{filename:e.absoluteRef})}}catch(t){throw new M5(t,e)}}async resolveDocument(e,t,n=!1){let r=this.resolveExternalRef(e,t),i=this.cache.get(r);if(i)return i;let a=this.loadExternalRef(r).then(e=>this.parseDocument(e,n));return this.cache.set(r,a),a}};function I5(e,t){return{prev:e,node:t}}function mMe(e,t){for(;e;){if(e.node===t)return!0;e=e.prev}return!1}var L5={name:`unknown`,properties:{}},hMe={name:`scalar`,properties:{}};async function R5(e){let{rootDocument:t,externalRefResolver:n,rootType:r}=e,i=new Map,a=new Set,o=[];c(t.parsed,t,`#/`,r);let s;do s=await Promise.all(o);while(o.length!==s.length);return i;function c(e,t,r,s){let l=t.source.absoluteRef,u=new Map;d(e,s,l+r);function d(e,n,r){if(!V8(e)&&!Array.isArray(e))return;let i=`${n.name}::${r}`;if(a.has(i))return;if(a.add(i),Array.isArray(e)){let t=n.items;if(t===void 0&&n!==L5&&n!==R8)return;let i=typeof t==`function`;for(let a=0;a<e.length;a++){let o=i?t(e[a],U8(r,a)):t;if(o===void 0&&n!==L5&&n!==R8)continue;let s=o?.directResolveAs?{$ref:e[a]}:e[a];o=o?.directResolveAs||o,d(s,B8(o)?o:L5,U8(r,a))}return}let[s,l]=Object.entries(e).find(([e])=>e===`$anchor`)||[];l&&u.set(`#${l}`,e);for(let t of Object.keys(e)){let i=e[t],a=N5(n.properties,t),o=n.extensionsPrefix!==void 0&&t.startsWith(n.extensionsPrefix);a===void 0&&!o&&(a=n.additionalProperties),typeof a==`function`&&(a=a(i,t)),o&&a===void 0&&(a=R8),a===void 0&&(a=L5),!B8(a)&&a?.directResolveAs&&(a=a.directResolveAs,i={$ref:i}),a&&a.name===void 0&&a.resolvable!==!1&&(a=hMe),B8(a)&&(V8(i)||Array.isArray(i))&&d(i,a,U8(r,Y8(t)))}if(W8(e)){let r=f(t,e,{prev:null,node:e}).then(e=>{if(e.resolved){c(e.node,e.document,e.nodePointer,n);for(let t of e.chain??[])c(t.node,t.document,t.location.pointer,n)}});o.push(r)}if(K8(e)){let r=f(t,{$ref:e.externalValue},{prev:null,node:e}).then(e=>{e.resolved&&c(e.node,e.document,e.nodePointer,n)});o.push(r)}}async function f(e,t,r){if(mMe(r.prev,t))throw Error(`Self-referencing circular pointer`);if(aDe(t.$ref)){await sMe();let n={resolved:!0,isRemote:!1,node:u.get(t.$ref),document:e,nodePointer:t.$ref},r=P5(e.source.absoluteRef,t.$ref);return i.set(r,n),n}let{uri:a,pointer:o}=X8(t.$ref),s=a!==null&&n.resolveExternalRef(e.source.absoluteRef,a)!==e.source.absoluteRef,c;try{c=s?await n.resolveDocument(e.source.absoluteRef,a):e}catch(n){let r={resolved:!1,isRemote:s,document:void 0,error:n},a=P5(e.source.absoluteRef,t.$ref);return i.set(a,r),r}let l={resolved:!0,document:c,isRemote:s,node:e.parsed,nodePointer:`#/`},d=c.parsed,p=o;for(let e of p)if(V8(d)&&d[e]!==void 0)d=d[e],l.nodePointer=U8(l.nodePointer,Y8(e));else if(Array.isArray(d)&&d[+e]!==void 0)d=d[+e],l.nodePointer=U8(l.nodePointer,Y8(e));else if(W8(d)){if(l=await f(c,d,I5(r,d)),l.chain=void 0,c=l.document||c,V8(l.node))d=l.node[e],l.nodePointer=U8(l.nodePointer,Y8(e));else if(Array.isArray(l.node))d=l.node[+e],l.nodePointer=U8(l.nodePointer,Y8(e));else{d=void 0;break}}else{d=void 0;break}l.node=d,l.document=c;let m=P5(e.source.absoluteRef,t.$ref);if(l.document&&W8(d)){let e=G8(d)?{node:d,document:l.document,location:new q8(l.document.source,l.nodePointer)}:void 0;l=await f(l.document,d,I5(r,d)),e&&l.resolved&&(l={...l,chain:[e,...l.chain??[]]})}return i.set(m,l),{...l}}}}function z5(e,t){let n=new Set(t),r=0;for(let t of e)n.has(t)&&r++;return r}function gMe(e,t){let n=t.direction||t,r=t.property;for(let t=1;t<e.length;t++){let i=e[t],a=e[t-1];if(r){let n=e[t][r],o=e[t-1][r];if(!n||!o)return!1;i=n,a=o}if(typeof i==`string`&&typeof a==`string`&&(i=i.toLowerCase(),a=a.toLowerCase()),!(n===`asc`?i>=a:i<=a))return!1}return!0}function B5(e){return typeof e==`string`}function V5(e){let t=e.match(/^\/(.*)\/(.*)|(.*)/);return t&&new RegExp(t[1]||t[3],t[2])}var H5=class{constructor(){throw Error(`Schema validation is not available in this build.`)}},_Me=[`title`,`description`,`example`,`examples`,`default`,`deprecated`];function U5(e){return e===`draft4`?`id`:`$id`}function vMe(e){return e===`oas2`||e===`oas3_0`?`draft4`:`2020`}var yMe=class{instances={};sharedValidators=new Map;validate(e,t,n){let{schemaLoc:r,instancePath:i,resolve:a,allowAdditionalProperties:o,ajvContext:s,specVersion:c}=n,l=vMe(c),u=this.getValidator(t,r,a,o,l);if(!u)return{valid:!0,errors:[]};let d={instancePath:i,parentData:{fake:{}},parentDataProperty:`fake`,rootData:{},dynamicAnchors:{}};return{valid:!!u.call(s??{},e,d),errors:(u.errors||[]).map(f)};function f(e){let t=e.message,n=e.keyword===`enum`?e.params.allowedValues:void 0;n&&(t+=` ${n.map(e=>`"${e}"`).join(`, `)}`),e.keyword===`type`&&(t=`type ${t}`);let r=e.instancePath.substring(i.length+1),a=r.substring(r.lastIndexOf(`/`)+1);if(a&&(t=`\`${a}\` property ${t}`),e.keyword===`additionalProperties`||e.keyword===`unevaluatedProperties`){let n=e.params.additionalProperty||e.params.unevaluatedProperty;t=`${t} \`${n}\``,e.instancePath+=`/`+Y8(n)}return{...e,message:t,suggest:n}}}getAjv(e,t){if(!this.instances[t]){let n=U5(t),r={schemaId:n,meta:!0,allErrors:!0,strictSchema:!1,inlineRefs:!1,validateSchema:!1,discriminator:!0,allowUnionTypes:!0,validateFormats:!0,passContext:!0,logger:!1,loadSchemaSync(t,r,i){let a=decodeURI(t.split(`#`)[0]),o=e({$ref:r},a);return!o||!o.location?!1:{[n]:encodeURI(o.location.source.absoluteRef)+`#`+i,...o.node}}};this.instances[t]=new H5(r),H5(this.instances[t])}return this.instances[t]}getValidator(e,t,n,r,i){let a=this.getAjv(n,i);if(W8(e)&&!G8(e)){let r=n(e,t.source.absoluteRef);r.location&&V8(r.node)&&(e=r.node,t=r.location)}let o=V8(e)?bMe(e,i):void 0;if(o){let t=this.sharedValidators.get(o);if(t)return t;a.setDefaultUnevaluatedProperties(r);let n=a.compile(e);return this.sharedValidators.set(o,n),n}let s=encodeURI(t.absolutePointer),c=U5(i);return a.getSchema(s)||(a.setDefaultUnevaluatedProperties(r),a.addSchema({[c]:s,...e},s)),a.getSchema(s)}};function bMe(e,t){let n={...e};for(let e of _Me)delete n[e];let r=JSON.stringify(n);if(!r.includes(`"$ref"`))return`${t}:${r}`}var W5=new WeakMap,xMe=new q8(new F5(`assertion`,``),`#/schema`),SMe={pattern:(e,t,{baseLocation:n,rawValue:r})=>{if(e===void 0||V8(e))return[];let i=Array.isArray(e)?e:[e],a=V5(t);return i.map(i=>!a?.test(i)&&{message:`${JSON.stringify(i)} should match a regex ${t}`,location:B5(e)?n:V8(r)?n.child(i).key():n.key()}).filter(H8)},notPattern:(e,t,{baseLocation:n,rawValue:r})=>{if(e===void 0||V8(e))return[];let i=Array.isArray(e)?e:[e],a=V5(t);return i.map(i=>a?.test(i)&&{message:`${JSON.stringify(i)} should not match a regex ${t}`,location:B5(e)?n:V8(r)?n.child(i).key():n.key()}).filter(H8)},enum:(e,t,{baseLocation:n})=>e===void 0||V8(e)?[]:(Array.isArray(e)?e:[e]).map(r=>!t.includes(r)&&{message:`${JSON.stringify(r)} should be one of the predefined values`,location:B5(e)?n:n.child(r).key()}).filter(H8),defined:(e,t=!0,{baseLocation:n})=>{let r=e!==void 0;return(t?r:!r)?[]:[{message:t?`Should be defined`:`Should be not defined`,location:n}]},required:(e,t,{baseLocation:n})=>t.map(t=>!e.includes(t)&&{message:`${t} is required`,location:n.key()}).filter(H8),contains:(e,t,{baseLocation:n})=>{if(e===void 0||V8(e))return[];let r=Array.isArray(e)?e:[e];return t.map(e=>!r.includes(e)&&{message:`${e} should be in the list`,location:n}).filter(H8)},disallowed:(e,t,{baseLocation:n})=>e===void 0||V8(e)?[]:(Array.isArray(e)?e:[e]).map(r=>t.includes(r)&&{message:`${JSON.stringify(r)} is disallowed`,location:B5(e)?n:n.child(r).key()}).filter(H8),const:(e,t,{baseLocation:n})=>e===void 0?[]:Array.isArray(e)?e.map(r=>t!==r&&{message:`${JSON.stringify(r)} should be equal ${JSON.stringify(t)}`,location:B5(e)?n:n.child(r).key()}).filter(H8):e===t?[]:[{message:`${JSON.stringify(e)} should be equal ${JSON.stringify(t)}`,location:n}],nonEmpty:(e,t=!0,{baseLocation:n})=>{let r=e==null||e===``||Array.isArray(e)&&e.length===0;return(t?!r:r)?[]:[{message:t?`Should not be empty`:`Should be empty`,location:n}]},minLength:(e,t,{baseLocation:n})=>e===void 0||e.length>=t?[]:[{message:`Should have at least ${t} characters`,location:n}],maxLength:(e,t,{baseLocation:n})=>e===void 0||e.length<=t?[]:[{message:`Should have at most ${t} characters`,location:n}],casing:(e,t,{baseLocation:n})=>{if(e===void 0||V8(e))return[];let r=Array.isArray(e)?e:[e],i={camelCase:/^[a-z][a-zA-Z0-9]*$/g,"kebab-case":/^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/g,snake_case:/^([a-z][a-z0-9]*)(_[a-z0-9]+)*$/g,PascalCase:/^[A-Z][a-zA-Z0-9]+$/g,MACRO_CASE:/^([A-Z][A-Z0-9]*)(_[A-Z0-9]+)*$/g,"COBOL-CASE":/^([A-Z][A-Z0-9]*)(-[A-Z0-9]+)*$/g,flatcase:/^[a-z][a-z0-9]+$/g};return r.map(r=>!r.match(i[t])&&{message:`${JSON.stringify(r)} should use ${t}`,location:B5(e)?n:n.child(r).key()}).filter(H8)},sortOrder:(e,t,{baseLocation:n})=>{let r=t.direction||t,i=t.property;return Array.isArray(e)&&e.length>0&&V8(e[0])&&!i?[{message:`Please define a property to sort objects by`,location:n}]:e===void 0||gMe(e,t)?[]:[{message:`Should be sorted in ${r===`asc`?`an ascending`:`a descending`} order${i?` by property ${i}`:``}`,location:n}]},mutuallyExclusive:(e,t,{baseLocation:n})=>z5(e,t)<2?[]:[{message:`${t.join(`, `)} keys should be mutually exclusive`,location:n.key()}],mutuallyRequired:(e,t,{baseLocation:n})=>!(z5(e,t)>0)||z5(e,t)===t.length?[]:[{message:`Properties ${t.join(`, `)} are mutually required`,location:n.key()}],requireAny:(e,t,{baseLocation:n})=>z5(e,t)>=1?[]:[{message:`Should have any of ${t.join(`, `)}`,location:n.key()}],ref:(e,t,{baseLocation:n,rawValue:r})=>{if(r===void 0)return[];let i=r.hasOwnProperty(`$ref`);if(typeof t==`boolean`)return(t?i:!i)?[]:[{message:t?`should use $ref`:`should not use $ref`,location:i?n:n.key()}];let a=V5(t);return i&&a?.test(r.$ref)?[]:[{message:`$ref value should match ${t}`,location:i?n:n.key()}]},schema:(e,t,{baseLocation:n,rawValue:r,resolve:i})=>{if(e===void 0)return[];if(typeof t==`boolean`)return t?[]:[{message:`boolean schema is false`,location:n}];let a=W5.get(t);a||(a=new yMe,W5.set(t,a));let o=W8(r)&&i(r)?.location||n,s;try{({errors:s}=a.validate(e,t,{schemaLoc:xMe,instancePath:``,resolve:i,allowAdditionalProperties:!1,specVersion:`oas3_1`}))}catch(e){throw Error(`the 'schema' assertion has an invalid schema: ${e.message}`)}return s.map(e=>{let t=e.instancePath?U8(o.pointer,e.instancePath.slice(1)):o.pointer,n=new q8(o.source,t),r=e.keyword===`additionalProperties`||e.keyword===`unevaluatedProperties`;return{message:e.message,location:r?n.key():n}})}};function CMe(e){return(t,n,r)=>e.call(null,t,n,r)}function wMe(e,t){if(!e.rules)return{};let n={},r=[];for(let[i,a]of Object.entries(e.rules))if(i.startsWith(`rule/`)&&V8(a)){let e=a;if(t){G5(t,e);for(let n of e.where||[])G5(t,n)}r.push({...e,assertionId:i})}else n[i]=a;return r.length>0&&(n.assertions=r),n}function G5(e,t){for(let n of Object.keys(t.assertions||{})){let[t,r]=n.split(`/`);if(!t||!r)continue;let i=e.find(e=>e.id===t);if(!i)throw Error(`Plugin ${t} isn't found.`);if(!i.assertions||!i.assertions[r])throw Error(`Plugin ${t} doesn't export assertions function with name ${r}.`);SMe[n]=CMe(i.assertions[r])}}var TMe=class e{resolvedConfig;configPath;document;resolvedRefMap;resolve;_alias;plugins;ignore={};doNotResolveExamples;rules;preprocessors;decorators;recheck;_usedRules=new Set;_usedVersions=new Set;constructor(e,t={}){this.resolvedConfig=e,this.configPath=t.configPath,this.document=t.document,this.resolvedRefMap=t.resolvedRefMap,this.resolve=nMe(this.resolvedConfig.resolve),this._alias=t.alias,this.plugins=t.plugins||[],this.doNotResolveExamples=!!e.resolve?.doNotResolveExamples;let n=e=>wMe({rules:e},this.plugins);this.rules={oas2:n({...e.rules,...e.oas2Rules}),oas3_0:n({...e.rules,...e.oas3_0Rules}),oas3_1:n({...e.rules,...e.oas3_1Rules}),oas3_2:n({...e.rules,...e.oas3_2Rules}),async2:n({...e.rules,...e.async2Rules}),async3:n({...e.rules,...e.async3Rules}),arazzo1:n({...e.rules,...e.arazzo1Rules}),arazzo1_1:n({...e.rules,...e.arazzo1_1Rules}),overlay1:n({...e.rules,...e.overlay1Rules}),openrpc1:n({...e.rules,...e.openrpc1Rules}),graphql:n({...D5(e.rules??{},[`no-unresolved-refs`]),...e.graphqlRules})},this.preprocessors={oas2:{...e.preprocessors,...e.oas2Preprocessors},oas3_0:{...e.preprocessors,...e.oas3_0Preprocessors},oas3_1:{...e.preprocessors,...e.oas3_1Preprocessors},oas3_2:{...e.preprocessors,...e.oas3_2Preprocessors},async2:{...e.preprocessors,...e.async2Preprocessors},async3:{...e.preprocessors,...e.async3Preprocessors},arazzo1:{...e.preprocessors,...e.arazzo1Preprocessors},arazzo1_1:{...e.preprocessors,...e.arazzo1_1Preprocessors},overlay1:{...e.preprocessors,...e.overlay1Preprocessors},openrpc1:{...e.preprocessors,...e.openrpc1Preprocessors},graphql:{}},this.decorators={oas2:{...e.decorators,...e.oas2Decorators},oas3_0:{...e.decorators,...e.oas3_0Decorators},oas3_1:{...e.decorators,...e.oas3_1Decorators},oas3_2:{...e.decorators,...e.oas3_2Decorators},async2:{...e.decorators,...e.async2Decorators},async3:{...e.decorators,...e.async3Decorators},arazzo1:{...e.decorators,...e.arazzo1Decorators},arazzo1_1:{...e.decorators,...e.arazzo1_1Decorators},overlay1:{...e.decorators,...e.overlay1Decorators},openrpc1:{...e.decorators,...e.openrpc1Decorators},graphql:{}},this.recheck=e.recheck??{rules:{}},this.ignore=t.ignore??{}}forAlias(t){if(t===void 0||!V8(this.resolvedConfig?.apis?.[t]))return this;let{apis:n,...r}=this.resolvedConfig,{root:i,output:a,...o}=n[t];return new e({...r,...o},{configPath:this.configPath,document:this.document,resolvedRefMap:this.resolvedRefMap,alias:t,plugins:this.plugins,ignore:this.ignore})}clearIgnoreForRef(e){let t=this.configPath?L8.dirname(this.configPath):process.cwd(),n=Z8(e)?e:L8.resolve(t,e);delete this.ignore[n]}saveIgnore(){let e=this.configPath?L8.dirname(this.configPath):process.cwd(),t=L8.join(e,eMe),n={};for(let t of Object.keys(this.ignore)){let r=Z8(t)?t:j5(L8.relative(e,t)),i=n[r]=this.ignore[t];for(let e of Object.keys(i))i[e]=Array.from(i[e])}I8.writeFileSync(t,tMe+tDe(n))}addIgnore(e){let t=this.ignore,n=e.location[0];if(n.pointer===void 0)return;let r=t[n.source.absoluteRef]=t[n.source.absoluteRef]||{};(r[e.ruleId]=r[e.ruleId]||new Set).add(n.pointer)}addProblemToIgnore(e){let t=e.location[0];if(t.pointer===void 0)return e;let n=(this.ignore[t.source.absoluteRef]||{})[e.ruleId],r=n&&n.has(t.pointer);return r?{...e,ignored:r}:e}extendTypes(e,t){let n=e;for(let e of this.plugins)if(e.typeExtension!==void 0)switch(t){case`oas3_0`:case`oas3_1`:case`oas3_2`:if(!e.typeExtension.oas3)continue;n=e.typeExtension.oas3(n,t);break;case`oas2`:if(!e.typeExtension.oas2)continue;n=e.typeExtension.oas2(n,t);break;case`async2`:if(!e.typeExtension.async2)continue;n=e.typeExtension.async2(n,t);break;case`async3`:if(!e.typeExtension.async3)continue;n=e.typeExtension.async3(n,t);break;case`arazzo1`:case`arazzo1_1`:if(!e.typeExtension.arazzo1)continue;n=e.typeExtension.arazzo1(n,t);break;case`overlay1`:if(!e.typeExtension.overlay1)continue;n=e.typeExtension.overlay1(n,t);break;case`openrpc1`:if(!e.typeExtension.openrpc1)continue;n=e.typeExtension.openrpc1(n,t);break;case`graphql`:break;default:throw Error(`Not implemented`)}return n}getRuleSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);let n=this.rules[t][e]||`off`;return typeof n==`string`?{severity:n}:{severity:`error`,...n}}getPreprocessorSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);let n=this.preprocessors[t][e]||`off`;return typeof n==`string`?{severity:n===`on`?`error`:n}:{severity:`error`,...n}}getDecoratorSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);let n=this.decorators[t][e]||`off`;return typeof n==`string`?{severity:n===`on`?`error`:n}:{severity:`error`,...n}}getUnusedRules(){let e=[],t=[],n=[];for(let r of Array.from(this._usedVersions))e.push(...Object.keys(this.rules[r]).filter(e=>!this._usedRules.has(e))),t.push(...Object.keys(this.decorators[r]).filter(e=>!this._usedRules.has(e))),n.push(...Object.keys(this.preprocessors[r]).filter(e=>!this._usedRules.has(e)));return{rules:e,preprocessors:n,decorators:t}}getRulesForSpecVersion(e){switch(e){case`oas3`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.oas3&&e.push(t.preprocessors.oas3)),this.plugins.forEach(t=>t.rules?.oas3&&e.push(t.rules.oas3)),this.plugins.forEach(t=>t.decorators?.oas3&&e.push(t.decorators.oas3)),e}case`oas2`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.oas2&&e.push(t.preprocessors.oas2)),this.plugins.forEach(t=>t.rules?.oas2&&e.push(t.rules.oas2)),this.plugins.forEach(t=>t.decorators?.oas2&&e.push(t.decorators.oas2)),e}case`async2`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.async2&&e.push(t.preprocessors.async2)),this.plugins.forEach(t=>t.rules?.async2&&e.push(t.rules.async2)),this.plugins.forEach(t=>t.decorators?.async2&&e.push(t.decorators.async2)),e}case`async3`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.async3&&e.push(t.preprocessors.async3)),this.plugins.forEach(t=>t.rules?.async3&&e.push(t.rules.async3)),this.plugins.forEach(t=>t.decorators?.async3&&e.push(t.decorators.async3)),e}case`arazzo1`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.arazzo1&&e.push(t.preprocessors.arazzo1)),this.plugins.forEach(t=>t.rules?.arazzo1&&e.push(t.rules.arazzo1)),this.plugins.forEach(t=>t.decorators?.arazzo1&&e.push(t.decorators.arazzo1)),e}case`arazzo1_1`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.arazzo1_1&&e.push(t.preprocessors.arazzo1_1)),this.plugins.forEach(t=>t.rules?.arazzo1_1&&e.push(t.rules.arazzo1_1)),this.plugins.forEach(t=>t.decorators?.arazzo1_1&&e.push(t.decorators.arazzo1_1)),e}case`overlay1`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.overlay1&&e.push(t.preprocessors.overlay1)),this.plugins.forEach(t=>t.rules?.overlay1&&e.push(t.rules.overlay1)),this.plugins.forEach(t=>t.decorators?.overlay1&&e.push(t.decorators.overlay1)),e}case`openrpc1`:{let e=[];return this.plugins.forEach(t=>t.preprocessors?.openrpc1&&e.push(t.preprocessors.openrpc1)),this.plugins.forEach(t=>t.rules?.openrpc1&&e.push(t.rules.openrpc1)),this.plugins.forEach(t=>t.decorators?.openrpc1&&e.push(t.decorators.openrpc1)),e}case`graphql`:{let e=[];return this.plugins.forEach(t=>t.rules?.graphql&&e.push(t.rules.graphql)),e}}}skipRules(e){for(let t of e||[])for(let e of A5)if(this.rules[e][t])this.rules[e][t]=`off`;else if(Array.isArray(this.rules[e].assertions))for(let n of this.rules[e].assertions)n.assertionId===t&&(n.severity=`off`)}skipPreprocessors(e){for(let t of e||[])for(let e of A5)this.preprocessors[e][t]&&(this.preprocessors[e][t]=`off`)}skipDecorators(e){for(let t of e||[])for(let e of A5)this.decorators[e][t]&&(this.decorators[e][t]=`off`)}},K5=/^1\.[012]\.\d+(-.+)?$/;function EMe(e){return e.startsWith(`oas3`)?`oas3`:e===`oas2`?`oas2`:e===`async2`?`async2`:e===`async3`?`async3`:e===`arazzo1`||e===`arazzo1_1`?`arazzo1`:e===`overlay1`?`overlay1`:e===`openrpc1`?`openrpc1`:e===`graphql`?`graphql`:`oas3`}function q5(e){if(!V8(e))throw Error(`Document must be JSON object, got ${typeof e}`);if(typeof e.openrpc==`string`&&e.openrpc.startsWith(`1.`))return`openrpc1`;if(e.openapi&&typeof e.openapi!=`string`)throw Error(`Invalid OpenAPI version: should be a string but got "${typeof e.openapi}"`);if(typeof e.openapi==`string`&&e.openapi.startsWith(`3.0.`))return`oas3_0`;if(typeof e.openapi==`string`&&e.openapi.startsWith(`3.1.`))return`oas3_1`;if(typeof e.openapi==`string`&&e.openapi.startsWith(`3.2.`))return`oas3_2`;if(e.swagger&&e.swagger===`2.0`)return`oas2`;if(e.openapi||e.swagger)throw Error(`Unsupported OpenAPI version: ${e.openapi||e.swagger}`);if(typeof e.asyncapi==`string`&&e.asyncapi.startsWith(`2.`))return`async2`;if(typeof e.asyncapi==`string`&&e.asyncapi.startsWith(`3.`))return`async3`;if(e.asyncapi)throw Error(`Unsupported AsyncAPI version: ${e.asyncapi}`);if(typeof e.arazzo==`string`&&e.arazzo.startsWith(`1.0.`))return`arazzo1`;if(typeof e.arazzo==`string`&&e.arazzo.startsWith(`1.1.`))return`arazzo1_1`;if(e.arazzo)throw Error(`Unsupported Arazzo version: ${e.arazzo}`);if(typeof e.overlay==`string`&&K5.test(e.overlay))return`overlay1`;throw Error(`Unsupported specification`)}function DMe(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function J5(e,t,n,r){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,J5.prototype),i.expected=t,i.found=n,i.location=r,i.name=`SyntaxError`,i}DMe(J5,Error);function Y5(e,t,n){return n||=` `,e.length>t?e:(t-=e.length,n+=n.repeat(t),e+n.slice(0,t))}J5.prototype.format=function(e){var t=`Error: `+this.message;if(this.location){for(var n=null,r=0;r<e.length;r++)if(e[r].source===this.location.source){n=e[r].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,a=this.location.source&&typeof this.location.source.offset==`function`?this.location.source.offset(i):i,o=this.location.source+`:`+a.line+`:`+a.column;if(n){var s=this.location.end,c=Y5(``,a.line.toString().length,` `),l=n[i.line-1],u=(i.line===s.line?s.column:l.length+1)-i.column||1;t+=`
 --> `+o+`
`+c+` |
`+a.line+` | `+l+`
`+c+` | `+Y5(``,i.column-1,` `)+Y5(``,u,`^`)}else t+=`
 at `+o}return t},J5.buildMessage=function(e,t){var n={literal:function(e){return`"`+i(e.text)+`"`},class:function(e){var t=e.parts.map(function(e){return Array.isArray(e)?a(e[0])+`-`+a(e[1]):a(e)});return`[`+(e.inverted?`^`:``)+t.join(``)+`]`},any:function(){return`any character`},end:function(){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function a(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return n[e.type](e)}function s(e){var t=e.map(o),n,r;if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function c(e){return e?`"`+i(e)+`"`:`end of input`}return`Expected `+s(e)+` but `+c(t)+` found.`};function OMe(e,t){t=t===void 0?{}:t;var n={},r=t.grammarSource,i={jsonpath_query:On},a=On,o=`$`,s=`.`,c=`..`,l=`[`,u=`,`,d=`]`,f=`*`,p=`:`,m=`?`,h=`"`,g=`'`,_=`0`,v=`-`,y=`||`,b=`\\`,x=`u`,S=`&&`,C=`d`,w=`(`,T=`)`,E=`!`,D=`==`,O=`!=`,k=`<=`,ee=`>=`,te=`-0`,ne=`true`,re=`false`,ie=`null`,ae=`@`,oe=`e`,se=/^[\t-\n\r ]/,ce=/^[A-Z_a-z\x80-\uD7FF\uE000-\uFFFF]/,le=/^[\uD800-\uDBFF]/,ue=/^[\uDC00-\uDFFF]/,de=/^[0-9]/,fe=/^[1-9]/,pe=/^[ -!#-&(-[\]-\uD7FF\uE000-\uFFFF]/,me=/^[\/\\bfnrt]/,he=/^[A-CE-F]/i,ge=/^[0-7]/,_e=/^[8-9]/,ve=/^[A-B]/i,ye=/^[C-F]/i,be=/^[A-F]/i,xe=/^[<>]/,Se=/^[0-9_a-z]/,Ce=/^[+\-]/,we=/^[a-z]/,Te=Sn(`$`,!1),Ee=Cn([[`	`,`
`],`\r`,` `],!1,!1),De=Sn(`.`,!1),Oe=Sn(`..`,!1),ke=Sn(`[`,!1),Ae=Sn(`,`,!1),je=Sn(`]`,!1),Me=Sn(`*`,!1),Ne=Cn([[`A`,`Z`],`_`,[`a`,`z`],[`€`,`퟿`],[``,`￿`]],!1,!1),Pe=Cn([[`\ud800`,`\udbff`]],!1,!1),Fe=Cn([[`\udc00`,`\udfff`]],!1,!1),Ie=Sn(`:`,!1),Le=Sn(`?`,!1),Re=Cn([[`0`,`9`]],!1,!1),ze=Sn(`"`,!1),Be=Sn(`'`,!1),Ve=Sn(`0`,!1),He=Sn(`-`,!1),Ue=Cn([[`1`,`9`]],!1,!1),We=Sn(`||`,!1),Ge=Cn([[` `,`!`],[`#`,`&`],[`(`,`[`],[`]`,`퟿`],[``,`￿`]],!1,!1),Ke=Sn(`\\`,!1),qe=Cn([`/`,`\\`,`b`,`f`,`n`,`r`,`t`],!1,!1),Je=Sn(`u`,!1),Ye=Sn(`&&`,!1),Xe=Cn([[`A`,`C`],[`E`,`F`]],!1,!0),Ze=Sn(`D`,!0),Qe=Cn([[`0`,`7`]],!1,!1),$e=Cn([[`8`,`9`]],!1,!1),et=Cn([[`A`,`B`]],!1,!0),A=Cn([[`C`,`F`]],!1,!0),tt=Sn(`(`,!1),nt=Sn(`)`,!1),rt=Cn([[`A`,`F`]],!1,!0),it=Sn(`!`,!1),at=Sn(`==`,!1),ot=Sn(`!=`,!1),st=Sn(`<=`,!1),ct=Sn(`>=`,!1),lt=Cn([`<`,`>`],!1,!1),ut=Sn(`-0`,!1),dt=Sn(`true`,!1),ft=Sn(`false`,!1),pt=Sn(`null`,!1),mt=Sn(`@`,!1),ht=Cn([[`0`,`9`],`_`,[`a`,`z`]],!1,!1),gt=Sn(`e`,!0),_t=Cn([`+`,`-`],!1,!1),vt=Cn([[`a`,`z`]],!1,!1),yt=function(e){return{type:`JsonPathQuery`,segments:e}},bt=function(e){return e},xt=function(e){return e},St=function(e){return{type:`ChildSegment`,node:e}},Ct=function(e){return{type:`DescendantSegment`,node:e}},wt=function(e,t){return t},Tt=function(e,t){return[e,...t]},Et=function(e){return{type:`BracketedSelection`,selectors:e}},Dt=function(){return{type:`WildcardSelector`}},Ot=function(e){return{type:`MemberNameShorthand`,value:e}},kt=function(e){return{type:`NameSelector`,value:e}},At=function(e,t,n){return n},jt=function(e,t,n){return{start:e,end:t,step:n}},Mt=function(e){return{type:`SliceSelector`,start:e.start===``?null:Number.parseInt(e.start.trim(),10),end:e.end===``?null:Number.parseInt(e.end.trim(),10),step:e.step===``||e.step===null?null:Number.parseInt(e.step.trim(),10)}},Nt=function(e){return{type:`IndexSelector`,value:Number.parseInt(e,10)}},Pt=function(e){return{type:`FilterSelector`,value:e}},Ft=function(e){return e},It=function(e){return e},Lt=function(e){return e.join(``)},Rt=function(){return`"`},zt=function(e){switch(e){case`b`:return`\b`;case`f`:return`\f`;case`n`:return`
`;case`r`:return`\r`;case`t`:return`	`;case`/`:return`/`;case`\\`:return`\\`;default:return e.slice(1)}},Bt=function(){return`'`},Vt=function(e){switch(e){case`b`:return`\b`;case`f`:return`\f`;case`n`:return`
`;case`r`:return`\r`;case`t`:return`	`;case`/`:return`/`;case`\\`:return`\\`;default:return e.slice(1)}},Ht=function(e,t){return t},Ut=function(e,t){return t.length===0?e:{type:`LogicalOrExpr`,left:e,right:t.length===1?t[0]:t.slice(1).reduce((e,t)=>({type:`LogicalOrExpr`,left:e,right:t}),t[0])}},Wt=function(e,t){return t},Gt=function(e,t){return[e,...t]},Kt=function(e){return e.length===1?e[0]:{type:`LogicalAndExpr`,left:e[0],right:e.length===2?e[1]:e.slice(2).reduce((e,t)=>({type:`LogicalOrExpr`,left:e,right:t}),e[1])}},qt=function(){return String.fromCharCode(Number.parseInt(xn(),16))},Jt=function(e,t){return String.fromCharCode(Number.parseInt(e,16))+String.fromCharCode(Number.parseInt(t,16))},Yt=function(e){return e},Xt=function(e,t){return e===null?t:{type:`LogicalNotExpr`,expression:t}},Zt=function(e,t,n){return{type:`ComparisonExpr`,left:e,op:t,right:n}},Qt=function(e,t){return e===null?{type:`TestExpr`,expression:t}:{type:`LogicalNotExpr`,expression:{type:`TestExpr`,expression:t}}},$t=function(e){return{type:`FilterQuery`,value:e}},en=function(e,t,n){return n},tn=function(e,t,n){return[t,...n]},nn=function(e,t){return{type:`FunctionExpr`,name:e,arguments:t}},rn=function(e){return{type:`Literal`,value:e}},an=function(e){return{type:`RelQuery`,segments:e}},on=function(e){return Number(e)},sn=function(){return!0},cn=function(){return!1},ln=function(){return null},un=function(e){return{type:`RelSingularQuery`,segments:e}},dn=function(e){return{type:`AbsSingularQuery`,segments:e}},fn=function(e){return{type:`SingularQuerySegment`,node:e}},pn=function(e){return e},mn=function(e){return e},hn=function(e){return e},gn=function(e){return{type:`IndexSelector`,selector:e}},j=t.peg$currPos|0,M=j,_n=[{line:1,column:1}],vn=j,yn=t.peg$maxFailExpected||[],N=t.peg$silentFails|0,bn;if(t.startRule){if(!(t.startRule in i))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);a=i[t.startRule]}function xn(){return e.substring(M,j)}function Sn(e,t){return{type:`literal`,text:e,ignoreCase:t}}function Cn(e,t,n){return{type:`class`,parts:e,inverted:t,ignoreCase:n}}function wn(){return{type:`end`}}function Tn(t){var n=_n[t],r;if(n)return n;if(t>=_n.length)r=_n.length-1;else for(r=t;!_n[--r];);for(n=_n[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return _n[t]=n,n}function En(e,t,n){var i=Tn(e),a=Tn(t),o={source:r,start:{offset:e,line:i.line,column:i.column},end:{offset:t,line:a.line,column:a.column}};return n&&r&&typeof r.offset==`function`&&(o.start=r.offset(o.start),o.end=r.offset(o.end)),o}function P(e){j<vn||(j>vn&&(vn=j,yn=[]),yn.push(e))}function Dn(e,t,n){return new J5(J5.buildMessage(e,t),e,t,n)}function On(){var e=j,t=kn(),r;return t===n?(j=e,e=n):(r=An(),M=e,e=yt(r)),e}function kn(){var t;return e.charCodeAt(j)===36?(t=o,j++):(t=n,N===0&&P(Te)),t}function An(){var e=[],t=j,r;for(F(),r=jn(),r===n?(j=t,t=n):(M=t,t=bt(r));t!==n;)e.push(t),t=j,F(),r=jn(),r===n?(j=t,t=n):(M=t,t=bt(r));return e}function F(){for(var e=[],t=Mn();t!==n;)e.push(t),t=Mn();return e}function jn(){var e=Nn();return e===n&&(e=Pn()),e}function Mn(){var t=e.charAt(j);return se.test(t)?j++:(t=n,N===0&&P(Ee)),t}function Nn(){var t=j,r=Fn(),i,a;return r===n&&(r=j,e.charCodeAt(j)===46?(i=s,j++):(i=n,N===0&&P(De)),i===n?(j=r,r=n):(a=In(),a===n&&(a=Ln()),a===n?(j=r,r=n):(M=r,r=xt(a)))),r!==n&&(M=t,r=St(r)),t=r,t}function Pn(){var t=j,r,i;return e.substr(j,2)===c?(r=c,j+=2):(r=n,N===0&&P(Oe)),r===n?(j=t,t=n):(i=Fn(),i===n&&(i=In(),i===n&&(i=Ln())),i===n?(j=t,t=n):(M=t,t=Ct(i))),t}function Fn(){var t=j,r,i,a,o,s,c,f;if(e.charCodeAt(j)===91?(r=l,j++):(r=n,N===0&&P(ke)),r!==n){if(i=j,F(),a=Rn(),a!==n){for(o=[],s=j,F(),e.charCodeAt(j)===44?(c=u,j++):(c=n,N===0&&P(Ae)),c===n?(j=s,s=n):(F(),f=Rn(),f===n?(j=s,s=n):(M=s,s=wt(a,f)));s!==n;)o.push(s),s=j,F(),e.charCodeAt(j)===44?(c=u,j++):(c=n,N===0&&P(Ae)),c===n?(j=s,s=n):(F(),f=Rn(),f===n?(j=s,s=n):(M=s,s=wt(a,f)));M=i,i=Tt(a,o)}else j=i,i=n;i===n?(j=t,t=n):(F(),e.charCodeAt(j)===93?(a=d,j++):(a=n,N===0&&P(je)),a===n?(j=t,t=n):(M=t,t=Et(i)))}else j=t,t=n;return t}function In(){var t=j,r;return e.charCodeAt(j)===42?(r=f,j++):(r=n,N===0&&P(Me)),r!==n&&(M=t,r=Dt()),t=r,t}function Ln(){var t=j,r=j,i=j,a=zn(),o,s;if(a!==n){for(o=[],s=Bn();s!==n;)o.push(s),s=Bn();a=[a,o],i=a}else j=i,i=n;return r=i===n?i:e.substring(r,j),r!==n&&(M=t,r=Ot(r)),t=r,t}function Rn(){var e=Vn();return e===n&&(e=In(),e===n&&(e=Hn(),e===n&&(e=Un(),e===n&&(e=Wn())))),e}function zn(){var t=e.charAt(j),r,i;return ce.test(t)?j++:(t=n,N===0&&P(Ne)),t===n&&(t=j,r=e.charAt(j),le.test(r)?j++:(r=n,N===0&&P(Pe)),r===n?(j=t,t=n):(i=e.charAt(j),ue.test(i)?j++:(i=n,N===0&&P(Fe)),i===n?(j=t,t=n):(r=[r,i],t=r))),t}function Bn(){var e=zn();return e===n&&(e=Gn()),e}function Vn(){var e=j,t=Kn();return t!==n&&(M=e,t=kt(t)),e=t,e}function Hn(){var t=j,r=j,i=j,a=j,o=qn(),s,c,l,u,d,f;return o===n?(j=a,a=n):(s=F(),o=[o,s],a=o),a===n&&(a=null),i=e.substring(i,j),e.charCodeAt(j)===58?(a=p,j++):(a=n,N===0&&P(Ie)),a===n?(j=r,r=n):(o=F(),s=j,c=j,l=qn(),l===n?(j=c,c=n):(u=F(),l=[l,u],c=l),c===n&&(c=null),s=e.substring(s,j),c=j,e.charCodeAt(j)===58?(l=p,j++):(l=n,N===0&&P(Ie)),l===n?(j=c,c=n):(u=j,d=F(),f=qn(),f===n&&(f=null),d=[d,f],u=e.substring(u,j),M=c,c=At(i,s,u)),c===n&&(c=null),M=r,r=jt(i,s,c)),r!==n&&(M=t,r=Mt(r)),t=r,t}function Un(){var t=j,r=j,i=qn();return r=i===n?i:e.substring(r,j),r!==n&&(M=t,r=Nt(r)),t=r,t}function Wn(){var t=j,r,i;return e.charCodeAt(j)===63?(r=m,j++):(r=n,N===0&&P(Le)),r===n?(j=t,t=n):(F(),i=Zn(),i===n?(j=t,t=n):(M=t,t=Pt(i))),t}function Gn(){var t=e.charAt(j);return de.test(t)?j++:(t=n,N===0&&P(Re)),t}function Kn(){var t=j,r=j,i,a,o;if(e.charCodeAt(j)===34?(i=h,j++):(i=n,N===0&&P(ze)),i!==n){for(a=[],o=Jn();o!==n;)a.push(o),o=Jn();e.charCodeAt(j)===34?(o=h,j++):(o=n,N===0&&P(ze)),o===n?(j=r,r=n):(M=r,r=Ft(a))}else j=r,r=n;if(r===n){if(r=j,e.charCodeAt(j)===39?(i=g,j++):(i=n,N===0&&P(Be)),i!==n){for(a=[],o=Yn();o!==n;)a.push(o),o=Yn();e.charCodeAt(j)===39?(o=g,j++):(o=n,N===0&&P(Be)),o===n?(j=r,r=n):(M=r,r=It(a))}else j=r,r=n}return r!==n&&(M=t,r=Lt(r)),t=r,t}function qn(){var t,r,i,a,o;if(e.charCodeAt(j)===48?(t=_,j++):(t=n,N===0&&P(Ve)),t===n){if(t=j,e.charCodeAt(j)===45?(r=v,j++):(r=n,N===0&&P(He)),r===n&&(r=null),i=Xn(),i!==n){for(a=[],o=Gn();o!==n;)a.push(o),o=Gn();r=[r,i,a],t=r}else j=t,t=n}return t}function Jn(){var t=j,r=Qn(),i;return t=r===n?r:e.substring(t,j),t===n&&(e.charCodeAt(j)===39?(t=g,j++):(t=n,N===0&&P(Be)),t===n&&(t=j,r=$n(),r===n?(j=t,t=n):(e.charCodeAt(j)===34?(i=h,j++):(i=n,N===0&&P(ze)),i===n?(j=t,t=n):(M=t,t=Rt())),t===n&&(t=j,r=$n(),r===n?(j=t,t=n):(i=er(),i===n?(j=t,t=n):(M=t,t=zt(i)))))),t}function Yn(){var t=j,r=Qn(),i;return t=r===n?r:e.substring(t,j),t===n&&(e.charCodeAt(j)===34?(t=h,j++):(t=n,N===0&&P(ze)),t===n&&(t=j,r=$n(),r===n?(j=t,t=n):(e.charCodeAt(j)===39?(i=g,j++):(i=n,N===0&&P(Be)),i===n?(j=t,t=n):(M=t,t=Bt())),t===n&&(t=j,r=$n(),r===n?(j=t,t=n):(i=er(),i===n?(j=t,t=n):(M=t,t=Vt(i)))))),t}function Xn(){var t=e.charAt(j);return fe.test(t)?j++:(t=n,N===0&&P(Ue)),t}function Zn(){var t=j,r=tr(),i,a,o,s;if(r!==n){for(i=[],a=j,F(),e.substr(j,2)===y?(o=y,j+=2):(o=n,N===0&&P(We)),o===n?(j=a,a=n):(F(),s=tr(),s===n?(j=a,a=n):(M=a,a=Ht(r,s)));a!==n;)i.push(a),a=j,F(),e.substr(j,2)===y?(o=y,j+=2):(o=n,N===0&&P(We)),o===n?(j=a,a=n):(F(),s=tr(),s===n?(j=a,a=n):(M=a,a=Ht(r,s)));M=t,t=Ut(r,i)}else j=t,t=n;return t}function Qn(){var t=e.charAt(j),r,i;return pe.test(t)?j++:(t=n,N===0&&P(Ge)),t===n&&(t=j,r=e.charAt(j),le.test(r)?j++:(r=n,N===0&&P(Pe)),r===n?(j=t,t=n):(i=e.charAt(j),ue.test(i)?j++:(i=n,N===0&&P(Fe)),i===n?(j=t,t=n):(r=[r,i],t=r))),t}function $n(){var t;return e.charCodeAt(j)===92?(t=b,j++):(t=n,N===0&&P(Ke)),t}function er(){var t=e.charAt(j),r,i;return me.test(t)?j++:(t=n,N===0&&P(qe)),t===n&&(t=j,e.charCodeAt(j)===117?(r=x,j++):(r=n,N===0&&P(Je)),r===n?(j=t,t=n):(i=nr(),i===n?(j=t,t=n):(r=[r,i],t=r))),t}function tr(){var t=j,r=j,i=rr(),a,o,s,c;if(i!==n){for(a=[],o=j,F(),e.substr(j,2)===S?(s=S,j+=2):(s=n,N===0&&P(Ye)),s===n?(j=o,o=n):(F(),c=rr(),c===n?(j=o,o=n):(M=o,o=Wt(i,c)));o!==n;)a.push(o),o=j,F(),e.substr(j,2)===S?(s=S,j+=2):(s=n,N===0&&P(Ye)),s===n?(j=o,o=n):(F(),c=rr(),c===n?(j=o,o=n):(M=o,o=Wt(i,c)));M=r,r=Gt(i,a)}else j=r,r=n;return r!==n&&(M=t,r=Kt(r)),t=r,t}function nr(){var t=j,r=j,i=ir(),a,o,s,c;return i!==n&&(M=r,i=qt()),r=i,r===n&&(r=j,i=j,a=ar(),i=a===n?a:e.substring(i,j),i===n?(j=r,r=n):(e.charCodeAt(j)===92?(a=b,j++):(a=n,N===0&&P(Ke)),a===n?(j=r,r=n):(e.charCodeAt(j)===117?(o=x,j++):(o=n,N===0&&P(Je)),o===n?(j=r,r=n):(s=j,c=or(),s=c===n?c:e.substring(s,j),s===n?(j=r,r=n):(M=r,r=Jt(i,s)))))),r!==n&&(M=t,r=Yt(r)),t=r,t}function rr(){var e=sr();return e===n&&(e=cr(),e===n&&(e=lr())),e}function ir(){var t=j,r=Gn(),i,a,o,s;if(r===n&&(r=e.charAt(j),he.test(r)?j++:(r=n,N===0&&P(Xe))),r!==n){for(i=j,a=[],o=ur();o!==n;)a.push(o),o=a.length>=3?n:ur();a.length<3?(j=i,i=n):i=a,i===n?(j=t,t=n):(r=[r,i],t=r)}else j=t,t=n;if(t===n){if(t=j,r=e.charAt(j),r.toLowerCase()===C?j++:(r=n,N===0&&P(Ze)),r!==n){if(i=e.charAt(j),ge.test(i)?j++:(i=n,N===0&&P(Qe)),i!==n){for(a=j,o=[],s=ur();s!==n;)o.push(s),s=o.length>=2?n:ur();o.length<2?(j=a,a=n):a=o,a===n?(j=t,t=n):(r=[r,i,a],t=r)}else j=t,t=n}else j=t,t=n}return t}function ar(){var t=j,r=e.charAt(j),i,a,o,s;if(r.toLowerCase()===C?j++:(r=n,N===0&&P(Ze)),r!==n){if(i=e.charAt(j),_e.test(i)?j++:(i=n,N===0&&P($e)),i===n&&(i=e.charAt(j),ve.test(i)?j++:(i=n,N===0&&P(et))),i!==n){for(a=j,o=[],s=ur();s!==n;)o.push(s),s=o.length>=2?n:ur();o.length<2?(j=a,a=n):a=o,a===n?(j=t,t=n):(r=[r,i,a],t=r)}else j=t,t=n}else j=t,t=n;return t}function or(){var t=j,r=e.charAt(j),i,a,o,s;if(r.toLowerCase()===C?j++:(r=n,N===0&&P(Ze)),r!==n){if(i=e.charAt(j),ye.test(i)?j++:(i=n,N===0&&P(A)),i!==n){for(a=j,o=[],s=ur();s!==n;)o.push(s),s=o.length>=2?n:ur();o.length<2?(j=a,a=n):a=o,a===n?(j=t,t=n):(r=[r,i,a],t=r)}else j=t,t=n}else j=t,t=n;return t}function sr(){var t=j,r=j,i=dr(),a,o,s;return i===n?(j=r,r=n):(a=F(),i=[i,a],r=i),r===n&&(r=null),e.charCodeAt(j)===40?(i=w,j++):(i=n,N===0&&P(tt)),i===n?(j=t,t=n):(a=F(),o=Zn(),o===n?(j=t,t=n):(F(),e.charCodeAt(j)===41?(s=T,j++):(s=n,N===0&&P(nt)),s===n?(j=t,t=n):(M=t,t=Xt(r,o)))),t}function cr(){var e=j,t=fr(),r,i;return t===n?(j=e,e=n):(F(),r=pr(),r===n?(j=e,e=n):(F(),i=fr(),i===n?(j=e,e=n):(M=e,e=Zt(t,r,i)))),e}function lr(){var e=j,t=j,r=dr(),i;return r===n?(j=t,t=n):(i=F(),r=[r,i],t=r),t===n&&(t=null),r=mr(),r===n&&(r=hr()),r===n?(j=e,e=n):(M=e,e=Qt(t,r)),e}function ur(){var t=Gn();return t===n&&(t=e.charAt(j),be.test(t)?j++:(t=n,N===0&&P(rt))),t}function dr(){var t;return e.charCodeAt(j)===33?(t=E,j++):(t=n,N===0&&P(it)),t}function fr(){var e=gr();return e===n&&(e=_r(),e===n&&(e=hr())),e}function pr(){var t;return e.substr(j,2)===D?(t=D,j+=2):(t=n,N===0&&P(at)),t===n&&(e.substr(j,2)===O?(t=O,j+=2):(t=n,N===0&&P(ot)),t===n&&(e.substr(j,2)===k?(t=k,j+=2):(t=n,N===0&&P(st)),t===n&&(e.substr(j,2)===ee?(t=ee,j+=2):(t=n,N===0&&P(ct)),t===n&&(t=e.charAt(j),xe.test(t)?j++:(t=n,N===0&&P(lt)))))),t}function mr(){var e=j,t=vr();return t===n&&(t=On()),t!==n&&(M=e,t=$t(t)),e=t,e}function hr(){var t=j,r=yr(),i,a,o,s,c,l,d;if(r!==n){if(e.charCodeAt(j)===40?(i=w,j++):(i=n,N===0&&P(tt)),i!==n){if(F(),a=j,o=br(),o!==n){for(s=[],c=j,F(),e.charCodeAt(j)===44?(l=u,j++):(l=n,N===0&&P(Ae)),l===n?(j=c,c=n):(F(),d=br(),d===n?(j=c,c=n):(M=c,c=en(r,o,d)));c!==n;)s.push(c),c=j,F(),e.charCodeAt(j)===44?(l=u,j++):(l=n,N===0&&P(Ae)),l===n?(j=c,c=n):(F(),d=br(),d===n?(j=c,c=n):(M=c,c=en(r,o,d)));M=a,a=tn(r,o,s)}else j=a,a=n;a===n&&(a=null),o=F(),e.charCodeAt(j)===41?(s=T,j++):(s=n,N===0&&P(nt)),s===n?(j=t,t=n):(M=t,t=nn(r,a))}else j=t,t=n}else j=t,t=n;return t}function gr(){var e=j,t=xr();return t===n&&(t=Kn(),t===n&&(t=Sr(),t===n&&(t=Cr(),t===n&&(t=wr())))),t!==n&&(M=e,t=rn(t)),e=t,e}function _r(){var e=Tr();return e===n&&(e=Er()),e}function vr(){var e=j,t=Dr(),r;return t===n?(j=e,e=n):(r=An(),r===n?(j=e,e=n):(M=e,e=an(r))),e}function yr(){var t=j,r=j,i=Mr(),a,o;if(i!==n){for(a=[],o=Or();o!==n;)a.push(o),o=Or();i=[i,a],r=i}else j=r,r=n;return t=r===n?r:e.substring(t,j),t}function br(){var e=gr();return e===n&&(e=mr(),e===n&&(e=hr(),e===n&&(e=Zn()))),e}function xr(){var t=j,r=j,i=j,a=qn(),o,s;return a===n&&(e.substr(j,2)===te?(a=te,j+=2):(a=n,N===0&&P(ut))),a===n?(j=i,i=n):(o=kr(),o===n&&(o=null),s=Ar(),s===n&&(s=null),a=[a,o,s],i=a),r=i===n?i:e.substring(r,j),r!==n&&(M=t,r=on(r)),t=r,t}function Sr(){var t=j,r;return e.substr(j,4)===ne?(r=ne,j+=4):(r=n,N===0&&P(dt)),r!==n&&(M=t,r=sn()),t=r,t}function Cr(){var t=j,r;return e.substr(j,5)===re?(r=re,j+=5):(r=n,N===0&&P(ft)),r!==n&&(M=t,r=cn()),t=r,t}function wr(){var t=j,r;return e.substr(j,4)===ie?(r=ie,j+=4):(r=n,N===0&&P(pt)),r!==n&&(M=t,r=ln()),t=r,t}function Tr(){var e=j,t=Dr(),r;return t===n?(j=e,e=n):(r=jr(),M=e,e=un(r)),e}function Er(){var e=j,t=kn(),r;return t===n?(j=e,e=n):(r=jr(),M=e,e=dn(r)),e}function Dr(){var t;return e.charCodeAt(j)===64?(t=ae,j++):(t=n,N===0&&P(mt)),t}function Or(){var t=e.charAt(j);return Se.test(t)?j++:(t=n,N===0&&P(ht)),t}function kr(){var t=j,r,i,a;if(e.charCodeAt(j)===46?(r=s,j++):(r=n,N===0&&P(De)),r!==n){if(i=[],a=Gn(),a!==n)for(;a!==n;)i.push(a),a=Gn();else i=n;i===n?(j=t,t=n):(r=[r,i],t=r)}else j=t,t=n;return t}function Ar(){var t=j,r=e.charAt(j),i,a,o;if(r.toLowerCase()===oe?j++:(r=n,N===0&&P(gt)),r!==n){if(i=e.charAt(j),Ce.test(i)?j++:(i=n,N===0&&P(_t)),i===n&&(i=null),a=[],o=Gn(),o!==n)for(;o!==n;)a.push(o),o=Gn();else a=n;a===n?(j=t,t=n):(r=[r,i,a],t=r)}else j=t,t=n;return t}function jr(){var e=j,t=[],r=j,i;for(F(),i=Nr(),i===n&&(i=Pr()),i===n?(j=r,r=n):(M=r,r=fn(i));r!==n;)t.push(r),r=j,F(),i=Nr(),i===n&&(i=Pr()),i===n?(j=r,r=n):(M=r,r=fn(i));return M=e,t=pn(t),e=t,e}function Mr(){var t=e.charAt(j);return we.test(t)?j++:(t=n,N===0&&P(vt)),t}function Nr(){var t=j,r,i,a;return e.charCodeAt(j)===91?(r=l,j++):(r=n,N===0&&P(ke)),r===n?(j=t,t=n):(i=Vn(),i===n?(j=t,t=n):(e.charCodeAt(j)===93?(a=d,j++):(a=n,N===0&&P(je)),a===n?(j=t,t=n):(M=t,t=mn(i)))),t===n&&(t=j,e.charCodeAt(j)===46?(r=s,j++):(r=n,N===0&&P(De)),r===n?(j=t,t=n):(i=Ln(),i===n?(j=t,t=n):(M=t,t=hn(i)))),t}function Pr(){var t=j,r,i,a;return e.charCodeAt(j)===91?(r=l,j++):(r=n,N===0&&P(ke)),r===n?(j=t,t=n):(i=Un(),i===n?(j=t,t=n):(e.charCodeAt(j)===93?(a=d,j++):(a=n,N===0&&P(je)),a===n?(j=t,t=n):(M=t,t=gn(i)))),t}if(bn=a(),t.peg$library)return{peg$result:bn,peg$currPos:j,peg$FAILED:n,peg$maxFailExpected:yn,peg$maxFailPos:vn};if(bn!==n&&j===e.length)return bn;throw bn!==n&&j<e.length&&P(wn()),Dn(yn,vn<e.length?e.charAt(vn):null,vn<e.length?En(vn,vn+1):En(vn,vn))}function X5(e){return OMe(e)}var Z5=class{head=null;tail=null;size=0;push(e){let t={value:e,next:null};this.tail!==null&&(this.tail.next=t),this.tail=t,this.head===null&&(this.head=t),this.size++}pop(){if(this.head===null)return;let e=this.head.value;return this.head=this.head.next,this.head===null&&(this.tail=null),this.size--,e}};function Q5(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var $5=e=>Array.isArray(e.value),e7=e=>Q5(e.value),t7=new WeakSet,n7=e=>typeof e==`object`&&!!e&&t7.has(e),kMe=e=>{switch(typeof e){case`string`:case`number`:case`boolean`:return!0;case`object`:return e===null||Q5(e)||r7(e);default:return!1}},r7=e=>Array.isArray(e)&&!n7(e),i7=()=>{let e=[];return t7.add(e),e},a7=Symbol(`Nothing`),AMe={declaration:function(e,t){return n7(t)?t.length:0},definition:{parameters:[`NodesType`],returnType:`ValueType`}};function jMe(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);(r>=0&&r<=55295||r>=57344&&r<=1114111)&&t++}return t}var MMe={declaration:function(e,t){return typeof t==`string`?jMe(t):Array.isArray(t)?t.length:Q5(t)?Object.keys(t).length:a7},definition:{parameters:[`ValueType`],returnType:`ValueType`}};function o7(e){return e===92}function NMe(e,t){let n=!1,r=t;for(;r<e.length;){let t=e.charCodeAt(r);if(r++,o7(t)){n=!0;continue}if(t===93){if(!n)break;n=!1}}return r}function PMe(e){let t=e;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);o7(r)?n++:r===91?n=NMe(e,n):r===46&&(t=`${e.slice(0,n)}[^\n\r]${e.slice(n+1)}`)}return t}function s7({cache:e},t){let n=e.get(`regexps`)??{};if(e.has(`regexps`)||e.set(`regexps`,n),Object.hasOwn(n,t))return n[t];try{let e=RegExp(PMe(t),`u`);return n[t]=e,e}catch{return n[t]=null,null}}var FMe={declaration:function(e,t,n){return typeof t!=`string`||typeof n!=`string`?!1:s7(e,`^${n}$`)?.test(t)===!0},definition:{parameters:[`ValueType`,`ValueType`],returnType:`LogicalType`}},IMe={declaration:function(e,t,n){return typeof t!=`string`||typeof n!=`string`?!1:s7(e,n)?.test(t)===!0},definition:{parameters:[`ValueType`,`ValueType`],returnType:`LogicalType`}},LMe={declaration:function(e,t){return t.length===1?t[0]:a7},definition:{parameters:[`NodesType`],returnType:`ValueType`}},c7=[];function l7(e,t){return e===c7?c7:typeof t==`number`?[...e,t]:[...e,VMe(t)]}function RMe(e){return e?[]:c7}var zMe=/[\u0000-\u001f'\\]/g;function BMe(e){let t=e.charCodeAt(0);switch(t){case 8:return`\\b`;case 12:return`\\f`;case 10:return`\\n`;case 13:return`\\r`;case 9:return`\\t`;case 39:return`\\'`;case 92:return`\\\\`;default:return`\\u${t.toString(16).padStart(4,`0`)}`}}function VMe(e){return e.replace(zMe,BMe)}function HMe(e){let t=`$`;for(let n of e)t+=typeof n==`number`?`[${n}]`:`['${n}']`;return t}function u7(e){throw TypeError(`Unexpected node type: ${e.type}`)}function d7(e){throw TypeError(`Unexpected comparison operator: ${e}`)}function f7(e,t){throw Error(t)}function p7(e){switch(typeof e){case`object`:if(e===null)return`null`;if(n7(e))return`NodeList`;if(r7(e))return`array`;if(Q5(e))return`object`;throw TypeError(`Unknown type: ${e}`);case`string`:return`string`;case`number`:return`number`;case`boolean`:return`boolean`;default:if(e===a7)return`Nothing`;throw TypeError(`Unknown type: ${e}`)}}function UMe(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!m7(e[n],t[n]))return!1;return!0}function WMe(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.hasOwn(t,r)||!m7(e[r],t[r]))return!1;return!0}function m7(e,t){if(p7(e)!==p7(t))return!1;switch(p7(e)){case`string`:case`number`:case`boolean`:case`null`:return e===t;case`object`:return WMe(e,t);case`array`:case`NodeList`:return UMe(e,t);default:return!1}}function h7(e,t,n){switch(n){case`==`:case`>=`:case`<=`:return!n7(e)&&!n7(t)&&m7(e,t);case`<`:case`>`:return!1;case`!=`:return!h7(e,t,`==`);default:d7(n)}}function g7(e,t,n){switch(n){case`==`:case`<=`:case`>=`:return n7(e)&&(n7(t)&&m7(e,t)||t===a7);case`<`:case`>`:return!1;case`!=`:return!g7(e,t,`==`);default:d7(n)}}function _7(e,t,n){switch(n){case`==`:case`<=`:case`>=`:return t===a7||n7(t)&&t.length===0;case`<`:case`>`:return!1;case`!=`:return!_7(e,t,`==`);default:d7(n)}}function v7(e,t,n){switch(n){case`==`:return e===t;case`<`:return typeof t==`number`&&e<t;case`!=`:return!v7(e,t,`==`);case`<=`:return v7(e,t,`<`)||v7(e,t,`==`);case`>`:return typeof t==`number`&&v7(t,e,`<`);case`>=`:return typeof t==`number`&&v7(t,e,`<`)||v7(e,t,`==`);default:d7(n)}}function GMe(e,t,n){switch(n){case`==`:case`<=`:case`>=`:return m7(e,t);case`<`:case`>`:return!1;case`!=`:return!m7(e,t);default:d7(n)}}function y7(e,t,n){switch(n){case`==`:case`<=`:case`>=`:return e===t;case`<`:case`>`:return!1;case`!=`:return!y7(e,t,`==`);default:d7(n)}}function b7(e,t,n){if(typeof e!=`string`||typeof t!=`string`)return!1;switch(n){case`==`:return e===t;case`<`:{let n=0;for(;e.length>n&&t.length>n;){if(e.charCodeAt(n)===t.charCodeAt(n)){n++;continue}return e.charCodeAt(n)<t.charCodeAt(n)}return e.length<t.length}default:d7(n)}}function KMe(e,t,n){switch(n){case`==`:case`<`:return b7(e,t,n);case`!=`:return!b7(e,t,`==`);case`<=`:return b7(e,t,`<`)||b7(e,t,`==`);case`>`:return b7(t,e,`<`);case`>=`:return b7(t,e,`<`)||b7(e,t,`==`);default:d7(n)}}function qMe(e,t,n){let r=n7(e)&&e.length===1?e[0]:e,i=p7(r),a=n7(t)&&t.length===1?t[0]:t;switch(i){case`string`:return KMe(r,a,n);case`number`:return v7(r,a,n);case`boolean`:case`null`:return y7(r,a,n);case`object`:return GMe(r,a,n);case`array`:return h7(r,a,n);case`Nothing`:return _7(r,a,n);case`NodeList`:return g7(r,a,n);default:f7(i,`Unknown type`)}}function x7(e,t,n){let r=i7();switch(n.value.type){case`RelQuery`:j7(e,t.root,t.value,n.value,e=>{r.push(e)});break;case`JsonPathQuery`:j7(e,t.root,t.root,n.value,e=>{r.push(e)});break;default:u7(n.value)}return r}function JMe(e,t,n){switch(n.expression.type){case`FilterQuery`:return x7(e,t,n.expression).length>0;case`FunctionExpr`:return C7(e,t,n.expression)===!0;default:u7(n.expression)}}function S7(e,t,n){switch(n.type){case`LogicalNotExpr`:return!S7(e,t,n.expression);case`LogicalAndExpr`:return S7(e,t,n.left)&&S7(e,t,n.right);case`LogicalOrExpr`:return S7(e,t,n.left)||S7(e,t,n.right);case`TestExpr`:return JMe(e,t,n);case`ComparisonExpr`:return T7(e,t,n);default:u7(n)}}function YMe(e,t,n){switch(n.type){case`FunctionExpr`:return C7(e,t,n);case`FilterQuery`:return x7(e,t,n);case`LogicalNotExpr`:case`LogicalAndExpr`:case`LogicalOrExpr`:case`TestExpr`:return S7(e,t,n);case`Literal`:return n.value;default:u7(n)}}function XMe(e){return n7(e)?e.length===1?e[0]:a7:e}function C7(e,t,n){if(!ZMe(e.functions,n.name))return!1;let r=e.functions[n.name];if(r.definition.parameters.length!==n.arguments.length)return!1;let i=[];for(let a=0;a<n.arguments.length;a++){let o=YMe(e,t,n.arguments[a]),s=r.definition.parameters[a];switch(s){case`ValueType`:if(!n7(o)&&!kMe(o))return!1;i.push(XMe(o));break;case`NodesType`:if(!n7(o))return!1;i.push(o);break;case`LogicalType`:if(typeof o==`boolean`)i.push(o);else if(n7(o))i.push(o.length>0);else return!1;break;default:f7(s,`Unknown function argument type`)}}return r.declaration(e,...i)}function ZMe(e,t){return Object.hasOwn(e,t)}function w7(e,t,n){switch(n.type){case`Literal`:return n.value;case`RelSingularQuery`:case`AbsSingularQuery`:{let r=n.type===`RelSingularQuery`?t.value:t.root;if(n.segments.length===0)return r;let i=i7();return j7(e,t.root,r,n,e=>{i.push(e)}),i}case`FunctionExpr`:return C7(e,t,n);default:u7(n)}}function T7(e,t,n){return qMe(w7(e,t,n.left),w7(e,t,n.right),n.op)}function E7(e,t,n){if(n.value.type===`ComparisonExpr`){if(!T7(e,t,n.value))return}else if(!S7(e,t,n.value))return;e.stack.push({root:t.root,path:t.path,value:t.value,index:t.index+1})}function QMe(e,t){return e<0?t+e:e}function D7(e,t,n){let r=QMe(n.value,t.value.length);r>=0&&r<t.value.length&&e.stack.push({root:t.root,path:l7(t.path,r),value:t.value[r],index:t.index+1})}function O7(e,{root:t,path:n,value:r,index:i},a){Object.hasOwn(r,a.value)&&e.stack.push({root:t,path:l7(n,a.value),value:r[a.value],index:i+1})}function k7(e,t){return e>=0?e:t+e}function $Me(e,t,n,r){let i=k7(e,r),a=k7(t,r);if(n>=0)return[Math.min(Math.max(i,0),r),Math.min(Math.max(a,0),r)];let o=Math.min(Math.max(i,-1),r-1);return[Math.min(Math.max(a,-1),r-1),o]}function eNe(e,{root:t,path:n,value:r,index:i},a){let o=a.step??1,s=o>=0?0:r.length-1,c=o>=0?r.length:-r.length-1,[l,u]=$Me(a.start===null?s:k7(a.start,r.length),a.end===null?c:k7(a.end,r.length),o,r.length);if(o>0){let a=l;for(;a<u;)e.stack.push({root:t,path:l7(n,a),value:r[a],index:i+1}),a+=o}else if(o<0){let a=u;for(;l<a;)e.stack.push({root:t,path:l7(n,a),value:r[a],index:i+1}),a+=o}}function A7(e,{root:t,path:n,value:r,index:i}){if(Array.isArray(r))for(let a=0;a<r.length;a++)e.stack.push({root:t,path:l7(n,a),value:r[a],index:i+1});else if(Q5(r))for(let a of Object.keys(r))e.stack.push({root:t,path:l7(n,a),value:r[a],index:i+1})}function tNe(e,t,n){for(let r of n.selectors)switch(r.type){case`NameSelector`:e7(t)&&O7(e,t,r);break;case`SliceSelector`:$5(t)&&eNe(e,t,r);break;case`IndexSelector`:$5(t)&&D7(e,t,r);break;case`WildcardSelector`:A7(e,t);break;case`FilterSelector`:$5(t)?nNe(e,t,r):e7(t)&&rNe(e,t,r);break;default:u7(r)}}function nNe(e,{root:t,path:n,value:r,index:i},a){for(let o=0;o<r.length;o++)E7(e,{root:t,path:l7(n,o),value:r[o],index:i},a)}function rNe(e,{root:t,path:n,value:r,index:i},a){for(let o of Object.keys(r))E7(e,{root:t,path:l7(n,o),value:r[o],index:i},a)}function iNe(e,{root:t,path:n,value:r,index:i},a){Object.hasOwn(r,a.value)&&e.stack.push({root:t,path:l7(n,a.value),value:r[a.value],index:i+1})}function aNe(e,t,n){switch(n.type){case`BracketedSelection`:return tNe(e,t,n);case`WildcardSelector`:return A7(e,t);case`MemberNameShorthand`:e7(t)&&iNe(e,t,n);break;case`NameSelector`:e7(t)&&O7(e,t,n);break;case`IndexSelector`:$5(t)&&D7(e,t,n);break;default:u7(n)}}function j7(e,t,n,r,i){let a=new Z5;a.push({root:t,path:RMe(e.capturePaths),value:n,index:0});let o={cache:e.cache,capturePaths:!1,functions:e.functions,regexp:e.regexp,stack:a};for(;a.size>0;){let e=a.pop();if(e.index===r.segments.length){i(e.value,e.path);continue}let{path:n,value:s,index:c}=e,l=r.segments[c];if(aNe(o,e,l.node),l.type===`DescendantSegment`){if(Array.isArray(s))for(let e=0;e<s.length;e++)a.push({root:t,path:l7(n,e),value:s[e],index:c});else if(typeof s==`object`&&s)for(let e of Object.keys(s))a.push({root:t,path:l7(n,e),value:s[e],index:c})}}}function oNe(e,t,n,r){j7({cache:new Map,capturePaths:n.capturePaths,functions:{count:AMe,search:IMe,value:LMe,match:FMe,length:MMe},regexp:`i-regexp`,stack:new Z5},e,e,X5(t),r)}var sNe={capturePaths:!0};function cNe(e,t){let n=[];return oNe(e,t,sNe,(e,t)=>{n.push(HMe(t))}),n}var lNe={Root:`DefinitionRoot`,ServerVariablesMap:`ServerVariableMap`,Paths:[`PathMap`,`PathsMap`],CallbacksMap:`CallbackMap`,MediaTypesMap:`MediaTypeMap`,ExamplesMap:`ExampleMap`,EncodingMap:`EncodingsMap`,HeadersMap:`HeaderMap`,LinksMap:`LinkMap`,OAuth2Flows:`SecuritySchemeFlows`,Responses:`ResponsesMap`};function M7(e,t){let n={};n.any={enter:[],leave:[]};for(let e of Object.keys(t))n[e]={enter:[],leave:[]};n.ref={enter:[],leave:[]};for(let{ruleId:t,severity:n,message:r,visitor:i}of e)a({ruleId:t,severity:n,message:r},i,null);for(let e of Object.keys(n))n[e].enter.sort((e,t)=>t.depth-e.depth),n[e].leave.sort((e,t)=>e.depth-t.depth);return n;function r(e,t,i,a,o=[]){if(o.includes(t))return;o=[...o,t];let s=new Set;for(let n of Object.values(t.properties)){if(n===i){c(e,o);continue}V8(n)&&n.name!==void 0&&s.add(n)}t.additionalProperties&&typeof t.additionalProperties!=`function`&&(t.additionalProperties===i?c(e,o):t.additionalProperties.name!==void 0&&s.add(t.additionalProperties)),t.items&&typeof t.items!=`function`&&(t.items===i?c(e,o):t.items.name!==void 0&&s.add(t.items)),t.extensionsPrefix&&s.add(R8);for(let t of Array.from(s.values()))r(e,t,i,a,o);function c(e,t){for(let r of t.slice(1))n[r.name]=n[r.name]||{enter:[],leave:[]},n[r.name].enter.push({...e,visit:()=>void 0,depth:0,context:{isSkippedLevel:!0,seen:new Set,parent:a}})}}function i(e,t){if(Array.isArray(t)){let n=t.find(t=>e[t])||void 0;return n&&e[n]}return e[t]}function a(e,o,s,c=0){let l=Object.keys(t);if(c===0)l.push(`any`),l.push(`ref`);else{if(o.any)throw Error(`any() is allowed only on top level`);if(o.ref)throw Error(`ref() is allowed only on top level`)}for(let u of l){let l=o[u]||i(o,lNe[u]),d=n[u];if(!l)continue;let f,p,m,h=V8(l);if(u===`ref`&&h&&l.skip)throw Error(`ref() visitor does not support skip`);typeof l==`function`?f=l:h&&(f=l.enter,p=l.leave,m=l.skip);let g=+!!f+ +!!p+ +!!m,_=h&&Object.keys(l).length>g,v={activatedOn:null,type:t[u],parent:s,isSkippedLevel:!1};if(_&&a(e,l,v,c+1),s&&r(e,s.type,t[u],s),f||h){if(f&&typeof f!=`function`)throw Error(`DEV: should be function`);d.enter.push({...e,visit:f||(()=>void 0),skip:m,depth:c,context:v})}if(p){if(typeof p!=`function`)throw Error(`DEV: should be function`);d.leave.push({...e,visit:p,depth:c,context:v})}}}}function N7(e,t){return{prev:e,value:t}}function P7(e){return e?.prev??null}function uNe(e){let t={};for(;e.parent;)t[e.parent.type.name]=e.parent.activatedOn?.value.node,e=e.parent;return t}function dNe(e){let t={};for(;e.parent;)e.parent.activatedOn?.value.location&&(t[e.parent.type.name]=e.parent.activatedOn?.value.location),e=e.parent;return t}function F7(e){let{document:t,rootType:n,normalizedVisitors:r,resolvedRefMap:i,ctx:a}=e,o={},s=new Set,c=(e,t)=>`${e.name}::${t.absolutePointer}`,l=new Set,u={},d=r.any.enter,f=r.any.leave,p={},m={};for(let e of Object.keys(r))e!==`any`&&e!==`ref`&&(p[e]=d.concat(r[e]?.enter||[]),m[e]=(r[e]?.leave||[]).concat(f));h(t.parsed,n,new q8(t.source,`#/`),void 0,``);function h(e,t,n,g,_){let v=(e,t)=>{if(t??=b.source.absoluteRef,!W8(e))return{location:n,node:e};let r=P5(t,e.$ref),a=i.get(r);if(!a)return{location:void 0,node:void 0};let{resolved:o,node:s,document:c,nodePointer:l,error:u,chain:d}=a;return{location:o?new q8(c.source,l):u instanceof M5?new q8(u.source,``):void 0,node:s,error:u,chain:d}},y=n,b=n,x=W8(e),{node:S,location:C,error:w,chain:T}=v(e),E=new Set,D=G8(e)&&s.has(c(t,n));if(G8(e)&&s.add(c(t,n)),x&&!D){let i=r.ref.enter;for(let{visit:r,ruleId:o,severity:s,message:c,context:l}of i)E.add(l),r(e,{report:e=>k(o,s,c,e),resolve:v,rawNode:e,rawLocation:y,location:n,type:t,parent:g,key:_,parentLocations:{},specVersion:a.specVersion,config:a.config,getVisitorData:()=>ee(o)},{node:S,location:C,error:w,chain:T}),C?.source.absoluteRef&&a.refTypes&&a.refTypes.set(C?.source.absoluteRef,t)}if(S!==void 0&&C&&t.name!==`scalar`){let i=(e,n,r,i)=>{let a=N5(t.properties,e),o=t.extensionsPrefix!==void 0&&e.startsWith(t.extensionsPrefix);a===void 0&&!o&&(a=t.additionalProperties),typeof a==`function`&&(a=a(n,e)),o&&!B8(a)&&(a=R8),!B8(a)&&a?.directResolveAs&&(a=a.directResolveAs,n={$ref:n}),a&&a.name===void 0&&a.resolvable!==!1&&(a={name:`scalar`,properties:{}}),B8(a)&&(a.name!==`scalar`||W8(n))&&h(n,a,r.child([e]),i,e)};b=C;let a=V8(S)||Array.isArray(S)?S:n.absolutePointer,g=o[t.name]?.has?.(a),w=!1,k=p[t.name]||d.concat(r[t.name]?.enter||[]),ee=[],te=`${b.absolutePointer}${b.pointer}`;for(let{context:r,visit:i,skip:a,ruleId:o,severity:s,message:c}of k){if(l.has(te))break;if(r.isSkippedLevel)r.parent.activatedOn&&!r.parent.activatedOn.value.nextLevelTypeActivated&&!r.seen.has(e)&&(r.seen.add(e),w=!0,ee.push(r));else if(r.parent&&r.parent.activatedOn&&r.parent.activatedOn.value.node===u[r.parent.type.name]&&r.activatedOn?.value.withParentNode!==r.parent.activatedOn.value.node&&r.parent.activatedOn.value.nextLevelTypeActivated?.value!==t||!r.parent&&!g){ee.push(r);let l={node:S,location:C,nextLevelTypeActivated:null,withParentNode:r.parent?.activatedOn?.value.node,skipped:(r.parent?.activatedOn?.value.skipped||a?.(S,_,{location:n,rawLocation:y,resolve:v,rawNode:e}))??!1};r.activatedOn=N7(r.activatedOn,l);let u=r.parent;for(;u;)u.activatedOn.value.nextLevelTypeActivated=N7(u.activatedOn.value.nextLevelTypeActivated,t),u=u.parent;l.skipped||(w=!0,E.add(r),O(i,S,e,r,o,s,c))}}let ne=u[t.name];if(u[t.name]=S,w||!g){if(o[t.name]=o[t.name]||new Set,o[t.name].add(a),Array.isArray(S)){let e=t.items;if(e!==void 0){let t=typeof e==`function`;for(let n=0;n<S.length;n++){let r=C.child([n]),i=t?e(S[n],r.absolutePointer):e,a=S[n];i?.directResolveAs&&(i=i.directResolveAs,a={$ref:a}),B8(i)&&h(a,i,r,S,n)}}}else if(V8(S)){let e=Object.keys(t.properties);t.additionalProperties?e.push(...Object.keys(S).filter(t=>!e.includes(t))):t.extensionsPrefix&&e.push(...Object.keys(S).filter(n=>n.startsWith(t.extensionsPrefix)&&!e.includes(n)));for(let t of e){let e=S[t];e!==void 0&&i(t,e,C,S)}}}if(x&&T?.length){let e=T[0];s.has(c(t,e.location))||h(e.node,t,e.location,void 0,_)}if(G8(e)&&!D)for(let t of Object.keys(e))t!==`$ref`&&e[t]!==S?.[t]&&i(t,e[t],n,e);u[t.name]=ne;let re=m[t.name]||(r[t.name]?.leave||[]).concat(f);for(let e of ee.reverse())if(e.isSkippedLevel)e.seen.delete(S);else if(e.activatedOn=P7(e.activatedOn),e.parent){let t=e.parent;for(;t;)t.activatedOn.value.nextLevelTypeActivated=P7(t.activatedOn.value.nextLevelTypeActivated),t=t.parent}for(let{context:t,visit:n,ruleId:r,severity:i,message:a}of re)!t.isSkippedLevel&&E.has(t)&&O(n,S,e,t,r,i,a)}if(b=n,x&&!D){let i=r.ref.leave;for(let{visit:r,ruleId:o,severity:s,context:c,message:l}of i)E.has(c)&&r(e,{report:e=>k(o,s,l,e),resolve:v,rawNode:e,rawLocation:y,location:n,type:t,parent:g,key:_,parentLocations:{},specVersion:a.specVersion,config:a.config,getVisitorData:()=>ee(o)},{node:S,location:C,error:w,chain:T})}function O(e,n,r,i,o,s,c){e(n,{report:e=>k(o,s,c,e),resolve:v,rawNode:r,location:b,rawLocation:y,type:t,parent:g,key:_,parentLocations:dNe(i),specVersion:a.specVersion,config:a.config,ignoreNextVisitorsOnNode:()=>{l.add(`${b.absolutePointer}${b.pointer}`)},getVisitorData:()=>ee(o)},uNe(i),i)}function k(e,t,n,r){let i=(r.location?Array.isArray(r.location)?r.location:[r.location]:[{...b,reportOnKey:!1}]).map(e=>({...b,reportOnKey:!1,...e})),o=r.forceSeverity||t;o!==`off`&&a.problems.push({ruleId:r.ruleId||e,severity:o,...r,message:n?n.replace(`{{message}}`,r.message):r.message,suggest:r.suggest||[],location:i})}function ee(e){return a.visitorsData[e]=a.visitorsData[e]||{},a.visitorsData[e]}}}var fNe=`#/components/actions/`;function pNe(e,t,n){let r=z8(k5),i={problems:[],specVersion:`overlay1`,visitorsData:{}},a=new Set,{$self:o,components:s}=t.parsed,c=typeof o==`string`?n.resolveExternalRef(t.source.absoluteRef,o):t.source.absoluteRef,l=(t,r,i)=>{let o=n=>{let a=t[n];if(typeof a!=`string`){i({message:`The \`${n}\` field must be a JSONPath expression.`,location:r.child([n])});return}try{return mNe(e.parsed,a)}catch(e){i({message:`Invalid JSONPath expression: ${e.message}`,location:r.child([n])});return}},s=o(`target`);if(!s)return;if(t.remove===!0){if(s.some(({keys:e})=>e.length===0)){i({message:`Cannot remove the root of the document.`,location:r.child([`target`])});return}gNe(e.parsed,s,a);return}if(t.update!==void 0&&t.copy!==void 0){i({message:"An action can't have both `update` and `copy`.",location:r});return}let l,u;if(t.copy===void 0)l=structuredClone(t.update),u=`update`,I7(l,t=>{let r=n.resolveExternalRef(c,t),i=e.source.absoluteRef;return Z8(r)||Z8(i)?r:j5(L8.relative(L8.dirname(i),r))});else{let t=o(`copy`);if(!t)return;if(t.length!==1){i({message:`The copy expression must select exactly one node, but it selected ${t.length}.`,location:r.child([`copy`])});return}l=R7(e.parsed,t[0].keys),u=`copy`}if(l!==void 0){if(new Set(s.map(({keys:t})=>{let n=R7(e.parsed,t);return Array.isArray(n)?`array`:V8(n)?`object`:`primitive`})).size>1){i({message:`The target must select only objects, only arrays, or only primitive values.`,location:r.child([`target`])});return}for(let t of s){let n=hNe(e.parsed,t,l,a);if(n){i({message:n,location:r.child([u])});return}}}};return F7({document:t,rootType:r.Root,normalizedVisitors:M7([{severity:`error`,ruleId:`overlay`,visitor:{Root({actions:e},{report:t,location:n}){if(!Array.isArray(e)){t({message:"The overlay must have a list of `actions`.",location:n.child([`actions`])});return}e.forEach((e,r)=>{let i=n.child([`actions`,r]);if(!V8(e)){t({message:`An action must be an object.`,location:i});return}if(!W8(e)){l(e,i,t);return}let{$ref:a,target:o,description:c,...u}=e,d=Object.keys(u).find(e=>!e.startsWith(`x-`));if(d){t({message:`Property \`${d}\` is not expected here because it is defined alongside \`$ref\`.`,location:i.child([d]).key()});return}let f=a.startsWith(fNe)?N5(s?.actions??{},J8(a.slice(21))):void 0;if(!f){t({message:`Can't find the reusable action \`${a}\`.`,location:i.child([`$ref`])});return}l({...f.fields,target:o},i,t)})}}}],r),resolvedRefMap:new Map,ctx:i}),i.problems}function I7(e,t){if(Array.isArray(e))for(let n of e)I7(n,t);else if(V8(e))for(let[n,r]of Object.entries(e))if(n===`$ref`&&typeof r==`string`){let[n,...i]=r.split(`#`);n!==``&&(e.$ref=[t(n),...i].join(`#`))}else I7(r,t)}function mNe(e,t){return[...new Set(cNe(e,t))].map(e=>({jsonPath:e,keys:X5(e).segments.flatMap(({node:e})=>e.type===`BracketedSelection`?e.selectors.flatMap(e=>e.type===`NameSelector`||e.type===`IndexSelector`?[e.value]:[]):[])}))}function hNe(e,{jsonPath:t,keys:n},r,i){let a=R7(e,n);if(B7(a)){if(!B7(r))return V7(r,a,t);z7(e,n.slice(0,-1),i)[n[n.length-1]]=r;return}let o=z7(e,n,i);if(Array.isArray(o)){o.push(...Array.isArray(r)?structuredClone(r):[structuredClone(r)]);return}return V8(r)?L7(o,r,t,i):V7(r,o,t)}function L7(e,t,n,r){for(let[i,a]of Object.entries(t)){let t=e[i];if(!Object.hasOwn(e,i))e[i]=structuredClone(a);else if(V8(t)&&V8(a)){let t=L7(z7(e,[i],r),a,`${n}['${i}']`,r);if(t)return t}else if(Array.isArray(t)&&Array.isArray(a))e[i]=[...t,...structuredClone(a)];else if(B7(t)&&B7(a))e[i]=a;else return V7(a,t,`${n}['${i}']`)}}function gNe(e,t,n){let r=t.map(({keys:t})=>({parent:z7(e,t.slice(0,-1),n),key:t[t.length-1]})),i=e=>typeof e==`number`?e:-1;r.sort((e,t)=>i(t.key)-i(e.key));for(let{parent:e,key:t}of r)Array.isArray(e)?e.splice(t,1):delete e[t]}function R7(e,t){return t.reduce((e,t)=>e[t],e)}function z7(e,t,n){let r=e;for(let e of t){if(!n.has(r[e])){let t=Object.assign(Array.isArray(r[e])?[]:{},r[e]);n.add(t),r[e]=t}r=r[e]}return r}function B7(e){return!V8(e)&&!Array.isArray(e)}function V7(e,t,n){let r=e=>e===null?`null`:Array.isArray(e)?`array`:typeof e;return`Cannot apply ${r(e)} to ${r(t)} at ${n}.`}function H7(e,t,n){let r=e.error;r instanceof M5&&t({message:`Failed to parse: `+r.message,location:{source:r.source,pointer:void 0,start:{col:r.col,line:r.line}}});let i=e.error?.message;t({location:n,message:`Can't resolve $ref${i?`: `+i:``}`,reference:`https://redocly.com/docs/cli/rules/oas/no-unresolved-refs`})}function _Ne(e){return e.trim().split(/\s+/).map(e=>e.replace(/^[a-z]/,e=>e.toUpperCase())).join(``)}function vNe(e){let t=V8(e)&&B5(e.title)?e.title.trim():``;return{title:t,name:_Ne(t).replace(RegExp(`[^${Zje}]`,`g`),`-`)}}function U7(e,t){let n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&U7(e[r],t[r]););return r===-1}if(!n||typeof e==`object`){for(n in r=0,e)if(Object.prototype.hasOwnProperty.call(e,n)&&++r&&!Object.prototype.hasOwnProperty.call(t,n)||!(n in t)||!U7(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function W7(e){return e.chain?.[0]??{node:e.node,location:e.location}}function G7(e,t){switch(t){case`oas3`:switch(e){case`Schema`:return`schemas`;case`Parameter`:return`parameters`;case`Response`:return`responses`;case`Example`:return`examples`;case`RequestBody`:return`requestBodies`;case`Header`:return`headers`;case`SecuritySchema`:return`securitySchemes`;case`Link`:return`links`;case`Callback`:return`callbacks`;case`MediaTypesMap`:return`mediaTypes`;default:return null}case`oas2`:switch(e){case`Schema`:return`definitions`;case`Parameter`:return`parameters`;case`Response`:return`responses`;default:return null}case`async2`:switch(e){case`Schema`:return`schemas`;case`Parameter`:return`parameters`;default:return null}case`async3`:switch(e){case`Schema`:return`schemas`;case`Parameter`:return`parameters`;default:return null}case`arazzo1`:switch(e){case`Root.workflows_items.parameters_items`:case`Root.workflows_items.steps_items.parameters_items`:return`parameters`;default:return null}case`overlay1`:return null;case`openrpc1`:switch(e){case`ContentDescriptor`:return`contentDescriptors`;case`Schema`:return`schemas`;case`Example`:return`examples`;case`Link`:return`links`;case`ErrorObject`:return`errors`;case`ExamplePairing`:return`examplePairingObjects`;case`Tag`:return`tags`;default:return null}default:return null}}function yNe({version:e,dereference:t,rootDocument:n,resolvedRefMap:r,keepUrlRefs:i,componentRenamingConflicts:a=`warn`,componentNamesStrategy:o=`basename`}){let s,c,l=new Map,u=G7(`Schema`,e),d={ref:{leave(r,a,o){if(!o.location||o.node===void 0){H7(o,a.report,a.location);return}let s=W7(o);if(s.location.source===n.source&&s.location.source===a.location.source&&a.type.name!==`scalar`&&!t){X8(r.$ref).uri!==null&&r.$ref!==s.location.pointer&&(r.$ref=s.location.pointer);return}if(i&&Z8(r.$ref))return;let c=G7(a.type.name,e);c?t?(p(c,s,a),$8(r,s,a)):(r.$ref=p(c,s,a),f(r,o,a)):$8(r,s,a)}},Example:{leave(e,t){if(K8(e)&&e.value===void 0){let n=t.resolve({$ref:e.externalValue});if(!n.location||n.node===void 0){H7(n,t.report,t.location);return}if(i&&Z8(e.externalValue))return;e.value=t.resolve({$ref:e.externalValue}).node,delete e.externalValue}}},Root:{enter(t,n){c=n.location,e===`oas3`?s=t.components=t.components||{}:e===`oas2`?s=t:(e===`async2`||e===`async3`||e===`arazzo1`||e===`openrpc1`)&&(s=t.components=t.components||{})}}};e===`oas3`&&(d.Discriminator={leave(e,t){if(typeof e.defaultMapping!=`string`||!Q8(e.defaultMapping))return;let n=t.resolve({$ref:e.defaultMapping});if(!n.location||n.node===void 0){H7(n,t.report,t.location.child(`defaultMapping`));return}e.defaultMapping=p(u,W7(n),t)},DiscriminatorMapping:{leave(e,t){for(let n of Object.keys(e)){let r=e[n];if(!Q8(r))continue;let i=t.resolve({$ref:r});if(!i.location||i.node===void 0){H7(i,t.report,t.location.child(n));return}e[n]=p(u,W7(i),t)}}}});function f(e,t,i){let a={resolved:!0,isRemote:!1,node:t.node,chain:t.chain,document:n,nodePointer:e.$ref};r.set(P5(i.location.source.absoluteRef,e.$ref),a),r.set(P5(n.source.absoluteRef,e.$ref),a)}function p(t,n,r){s[t]=s[t]||{};let i=_(n,t,r);return s[t][i]=n.node,e===`oas3`||e===`async2`||e===`async3`||e===`openrpc1`?`#/components/${t}/${i}`:`#/${t}/${i}`}function m(e,t,n){if(W8(e)){let r=n.resolve(e,c.absolutePointer);if((r.location&&W7(r).location)?.absolutePointer===t.location.absolutePointer)return!0}return U7(e,t.node)}function h(e,t,n){let{title:r,name:i}=vNe(e.node),o=e.location.child(`title`);return r===``?{key:i,problem:{message:"Schema must define a `title` when using `--component-names-strategy title`.",location:e.location,forceSeverity:`error`}}:t[i]&&!m(t[i],e,n)?{key:i,problem:{message:`Title "${r}" maps to component name \`${i}\`, already used by another schema. Rename one of the titles.`,location:o,from:l.get(i),forceSeverity:a}}:{key:i}}function g(e,t,n){let r=rDe(e.location.pointer)||iDe(e.location.source.absoluteRef),i=r;for(let a=2;t[i]&&!m(t[i],e,n);a++)i=`${r}-${a}`;return{name:i,prevName:r}}function _(e,t,n){let r=s[t];if(o===`title`&&t===u){let{key:t,problem:i}=h(e,r,n);if(!i)return l.set(t,e.location.child(`title`)),t;let{name:a}=g(e,r,n);return r[a]||(n.report(i),l.set(a,e.location)),a}let{name:i,prevName:c}=g(e,r,n);return!r[i]&&c!==i&&n.report({message:`Two schemas are referenced with the same name but different content. Renamed ${c} to ${i}.`,location:n.location,forceSeverity:a}),i}return d}function bNe(e){return e!==void 0}var xNe=o((()=>{}));function K7(e,t,n,r){return e.flatMap(e=>Object.keys(e).map(i=>{let a=e[i],o=n===`rules`?t.getRuleSettings(i,r):n===`preprocessors`?t.getPreprocessorSettings(i,r):t.getDecoratorSettings(i,r);if(o.severity===`off`)return;let s=o.severity,c=o.message,l=a(o);return Array.isArray(l)?l.map(e=>({severity:s,ruleId:i,message:c,visitor:e})):{severity:s,message:c,ruleId:i,visitor:l}})).flatMap(e=>e).filter(bNe)}o((()=>{xNe()}))();function q7(e){return V8(e)&&Object.keys(e).length===0}var SNe=[`definitions`,`parameters`,`responses`,`securityDefinitions`],CNe=()=>{let e=new Map;function t(t,n){let r=`${t}/${n}`;e.set(r,{usedIn:e.get(r)?.usedIn??[],componentType:t,name:n})}function n(e){if(!e.startsWith(`#/`))return;let[t,n]=X8(e).pointer;if(t&&n&&SNe.includes(t))return`${t}/${n}`}function r(t,n=new Set){let i=n.size;for(let[r,{usedIn:i,name:a,componentType:o}]of e)!i.some(e=>e!==r&&!n.has(e))&&o&&(n.add(r),delete t[o][a],e.delete(r),q7(t[o])&&delete t[o]);return n.size>i?r(t,n):n.size}return{ref:{leave(t,{location:r,type:i,key:a}){if([`Schema`,`Parameter`,`Response`,`SecurityScheme`].includes(i.name)){let i=n(t.$ref);if(!i)return;let o=n(r.pointer)??r.pointer,s=e.get(i);s?s.usedIn.push(o):e.set(i,{usedIn:[o],name:a.toString()})}}},Root:{leave(e,t){let n=t.getVisitorData();n.removedCount=r(e)}},NamedSchemas:{Schema(e,{key:n}){e.allOf||t(`definitions`,n.toString())}},NamedParameters:{Parameter(e,{key:n}){t(`parameters`,n.toString())}},NamedResponses:{Response(e,{key:n}){t(`responses`,n.toString())}},NamedSecuritySchemes:{SecurityScheme(e,{key:n}){t(`securityDefinitions`,n.toString())}},SecurityRequirement(t){for(let n of Object.keys(t)){let t=`securityDefinitions/${n}`,r=e.get(t);r?r.usedIn.push(`SecurityRequirement`):e.set(t,{usedIn:[`SecurityRequirement`],name:n})}}}};function wNe(e,t){return t in e}function J7(e){if(!e.startsWith(`#/components/`))return;let[t,n,r]=X8(e).pointer;if(n&&r)return`${n}/${r}`}var TNe=()=>{let e=new Map;function t(t,n,r=!1){let i=`${t}/${n}`;e.set(i,{usedIn:e.get(i)?.usedIn??[],componentType:t,name:n,referencesDiscriminator:r})}function n(t,r=new Set){let i=r.size;for(let[n,{usedIn:i,name:a,componentType:o,referencesDiscriminator:s}]of e)if(!(i.some(e=>e!==n&&!r.has(e))||s)&&o&&t.components&&wNe(t.components,o)){r.add(n);let i=t.components[o];delete i[a],e.delete(n),q7(i)&&delete t.components[o]}return r.size>i?n(t,r):r.size}return{ref:{leave(t,{location:n,type:r,key:i}){if([`Schema`,`Header`,`Parameter`,`Response`,`Example`,`RequestBody`,`MediaTypesMap`,`SecurityScheme`].includes(r.name)){let r=J7(t.$ref);if(!r)return;let a=J7(n.pointer)??n.pointer,o=e.get(r);o?o.usedIn.push(a):e.set(r,{usedIn:[a],name:i.toString()})}}},Root:{leave(e,t){let r=t.getVisitorData();r.removedCount=n(e),q7(e.components)&&delete e.components}},NamedSchemas:{Schema(e,n){let r=e.allOf?.some(e=>W8(e)&&n.resolve(e)?.node?.discriminator);t(`schemas`,n.key.toString(),r)}},NamedParameters:{Parameter(e,{key:n}){t(`parameters`,n.toString())}},NamedResponses:{Response(e,{key:n}){t(`responses`,n.toString())}},NamedExamples:{Example(e,{key:n}){t(`examples`,n.toString())}},NamedRequestBodies:{RequestBody(e,{key:n}){t(`requestBodies`,n.toString())}},NamedHeaders:{Header(e,{key:n}){t(`headers`,n.toString())}},NamedMediaTypes:{MediaTypesMap(e,{key:n}){t(`mediaTypes`,n.toString())}},NamedSecuritySchemes:{SecurityScheme(e,{key:n}){t(`securitySchemes`,n.toString())}},SecurityRequirement(t){for(let n of Object.keys(t)){let t=`securitySchemes/${n}`,r=e.get(t);r?r.usedIn.push(`SecurityRequirement`):e.set(t,{usedIn:[`SecurityRequirement`],name:n})}}}},Y7=class extends Error{};async function ENe(e){let{document:t,config:n,types:r,externalRefResolver:i,dereference:a=!1,removeUnusedComponents:o=!1,keepUrlRefs:s=!1,componentRenamingConflicts:c,componentNamesStrategy:l=`basename`,overlays:u=[]}=e,d=q5(t.parsed),f=EMe(d),p=n.getRulesForSpecVersion(f),m=z8(n.extendTypes(r,d),n),h=K7(p,n,`preprocessors`,d),g=K7(p,n,`decorators`,d),_={problems:[],specVersion:d,config:n,refTypes:new Map,visitorsData:{}},v=await R5({rootDocument:t,rootType:m.Root,externalRefResolver:i});h.length>0&&(F7({document:t,rootType:m.Root,normalizedVisitors:M7(h,m),resolvedRefMap:v,ctx:_}),v=await R5({rootDocument:t,rootType:m.Root,externalRefResolver:i}));let y=(e,n)=>({severity:`error`,ruleId:`bundler`,visitor:yNe({version:f,dereference:n,rootDocument:t,resolvedRefMap:e,keepUrlRefs:s,componentRenamingConflicts:c,componentNamesStrategy:l})}),b=g.filter(e=>e.ruleId!==`remove-unused-components`);if(F7({document:t,rootType:m.Root,normalizedVisitors:M7(u.length>0?[y(v,!1)]:[y(v,a),...b],m),resolvedRefMap:v,ctx:_}),u.length>0){for(let e of u){let n=await i.resolveDocument(null,e,!0).catch(t=>{throw new Y7(`Failed to load overlay at ${e}: ${t.message}`)});if(n instanceof Error)throw n;let r=V8(n.parsed)?n.parsed.overlay:void 0;if(typeof r!=`string`||!K5.test(r))throw new Y7(`${e} is not an Overlay 1.0, 1.1, or 1.2 document.`);_.problems.push(...pNe(t,n,i))}let e=await R5({rootDocument:t,rootType:m.Root,externalRefResolver:i}),n={..._,problems:[]};F7({document:t,rootType:m.Root,normalizedVisitors:M7([y(e,a),...b],m),resolvedRefMap:e,ctx:n});let r=new Set(_.problems.map(({ruleId:e,message:t})=>`${e}:${t}`));_.problems.push(...n.problems.filter(({ruleId:e,message:t})=>!r.has(`${e}:${t}`)))}if(o||n.getDecoratorSettings(`remove-unused-components`,d).severity!==`off`){let e=await R5({rootDocument:t,rootType:m.Root,externalRefResolver:i}),n=M7([{severity:`error`,ruleId:`remove-unused-components`,visitor:f===`oas2`?CNe({}):TNe({})}],m);F7({document:t,rootType:m.Root,normalizedVisitors:n,resolvedRefMap:e,ctx:_})}return{bundle:t,problems:_.problems.map(e=>n.addProblemToIgnore(e)),fileDependencies:i.getFiles(),rootType:m.Root,refTypes:_.refTypes,visitorsData:_.visitorsData}}function DNe(e={}){return new TMe({rules:{},preprocessors:{},decorators:{},plugins:[]},{configPath:e.configPath})}async function ONe(e){let{ref:t,doc:n,externalRefResolver:r=new pMe(e.config.resolve),base:i=null}=e;if(!(t||n))throw Error(`Document or reference is required.
`);let a=n===void 0?await r.resolveDocument(i,t,!0):n;if(a instanceof Error)throw a;return e.collectSpecData?.(a),ENe({document:a,...e,externalRefResolver:r,types:$je(q5(a.parsed))})}qf();async function kNe(e){let t=DNe(),n={config:t,base:Ie?document.baseURI||window.location.href:globalThis.process===void 0?``:globalThis.process.cwd()},r;if(Ie){let e=globalThis.fetch,n=async(...t)=>{let n=await e(...t);return r=n.status,n};t.resolve.http.customFetch=n}typeof e==`object`&&e?n.doc=ANe(e,Ie&&n.base||``):n.ref=e;let i;try{({bundle:{parsed:i}}=await ONe(n))}catch(e){let t=pD(e);throw new fD(r!==void 0&&r>=400?`fetch`:/yaml|json|parse|unexpected token/i.test(t)?`parse`:`bundle`,t,r)}return i}function ANe(e,t){return{source:{absoluteRef:t},parsed:e}}ME();var X7=[`allOf`,`oneOf`,`anyOf`,`not`];function Z7(e){let t=new WeakSet,n=(e,r)=>{if(V(e)&&!t.has(e)){t.add(e),MNe(e,r),e.items!==void 0&&n(e.items,e),V(e.additionalItems)&&n(e.additionalItems,e),V(e.additionalProperties)&&n(e.additionalProperties,e);for(let t of[`properties`,`patternProperties`,`allOf`,`anyOf`,`oneOf`]){let r=e[t];if(V(r)||Array.isArray(r))for(let t of Object.values(r))n(t,e)}e.not&&n(e.not,e)}};n(e,{})}function jNe(e){for(let[t,n]of[[`exclusiveMinimum`,`minimum`],[`exclusiveMaximum`,`maximum`]])typeof e[t]==`boolean`&&(e[t]&&typeof e[n]==`number`?(e[t]=e[n],delete e[n]):delete e[t])}function MNe(e,t){let n=e[`x-required`];Array.isArray(n)&&(e.required=[...Array.isArray(e.required)?e.required:[],...n],delete e[`x-required`]);for(let t of[`anyOf`,`oneOf`,`not`])e[`x-${t}`]&&(e[t]=e[`x-${t}`],delete e[`x-${t}`]);let r=e[`x-nullable`]===!0||e.nullable===!0;typeof e[`x-nullable`]==`boolean`&&delete e[`x-nullable`],typeof e.nullable==`boolean`&&delete e.nullable;let i=e[`x-discriminator`];if(V(i)&&typeof i.propertyName==`string`){e.discriminator=i,delete e[`x-discriminator`];let t=V(i.mapping)?i.mapping:{};for(let[e,n]of Object.entries(t))typeof n==`string`&&n.startsWith(`#/definitions/`)&&(t[e]=n.replace(`#/definitions/`,`#/components/schemas/`))}if(typeof e.discriminator==`string`&&(e.discriminator={propertyName:e.discriminator}),Array.isArray(e.items)){let t=e.items;e.items=t.length===0?{}:t.length===1?t[0]:{anyOf:t}}if(Array.isArray(e.type)&&(e.type.length===0?delete e.type:e.type.length===1&&(e.type=e.type[0])),(Array.isArray(e.type)?e.type:[e.type]).includes(`array`)&&!e.items&&(e.items={}),e.type===`file`&&(e.type=`string`,e.format=`binary`),typeof e.required==`boolean`&&(e.required&&e.name&&(t.required===void 0&&(t.required=[]),Array.isArray(t.required)&&t.required.push(e.name)),delete e.required),V(e.xml)&&e.xml.namespace===``&&delete e.xml.namespace,delete e.allowEmptyValue,jNe(e),r){if(typeof e.$ref==`string`){let t=e.$ref,n={...e};delete n.$ref;for(let t of Object.keys(e))delete e[t];Object.assign(e,{anyOf:[{$ref:t},{type:`null`}]},n)}else if(typeof e.type==`string`&&e.type!==`null`)e.type=[e.type,`null`];else if(Array.isArray(e.type)&&!e.type.includes(`null`))e.type=[...e.type,`null`];else if(e.type===void 0){let t={};for(let n of X7)e[n]!==void 0&&(t[n]=e[n]);if(Object.keys(t).length===0)return;let n={...e};for(let e of X7)delete n[e];for(let t of Object.keys(e))delete e[t];Object.assign(e,{anyOf:[t,{type:`null`}]},n)}}}ME();function Q7(e){let[t=``,...n]=e.replace(`[]`,`Array`).split(`/`);return[t.replace(/[^A-Za-z0-9_.-]+/g,`_`),...n].join(`/`)}function $7(e){return Q7(e.split(`/`).join(`_`))}function e9(e){return e.toLowerCase().replace(/[-_ /.](.)/g,(e,t)=>t.toUpperCase())}function t9(e,t,n){for(let r of Object.keys(e)){let i=Q7(r);if(i!==r){if(e[i])throw Error(`Duplicate sanitised ${t} name ${i}`);e[i]=e[r],delete e[r]}n(e[i])}}function n9(e){if(Array.isArray(e)){for(let t of e)if(V(t))for(let e of Object.keys(t)){let n=Q7(e);n!==e&&(t[n]=t[e],delete t[e])}}}function r9(e,t,n,r){if(Array.isArray(t)){t.forEach((n,r)=>r9(e,n,t,String(r)));return}if(V(t))for(let i of Object.keys(t)){if(!Object.hasOwn(t,i))continue;let a=t[i];i===`$ref`&&typeof a==`string`?FNe(e,t,a,n,r):i===`x-ms-odata`&&typeof a==`string`&&a.startsWith(`#/`)?t[i]=i9(e,a):(i===`discriminator`||i===`x-discriminator`)&&PNe(e,a);let o=t[i];typeof o==`object`&&o&&r9(e,o,t,i)}}function NNe(e,t){let[n=``,...r]=t.split(`/`);return[e.schemaNames.get(c9(n))??n,...r].join(`/`)}function i9(e,t){return`#/components/schemas/${NNe(e,t.replace(`#/definitions/`,``).replace(`#/components/schemas/`,``))}`}function PNe(e,t){let n=a9(a9(t)?.mapping);if(n)for(let[t,r]of Object.entries(n))typeof r==`string`&&(r.startsWith(`#/definitions/`)||r.startsWith(`#/components/schemas/`)?n[t]=i9(e,r):r.startsWith(`#`)||(n[t]=e.schemaNames.get(r)??r))}function FNe(e,t,n,r,i){if(delete t[`x-miro`],!n.startsWith(`#/components/`)){if(n===`#/consumes`||n===`#/produces`)delete t.$ref,RNe(r,i,o9(e.doc[n.slice(2)]));else if(n.startsWith(`#/definitions/`)){let[r=``,...i]=n.slice(14).split(`/`);t.$ref=`#/components/schemas/${[e.schemaNames.get(c9(l9(r)))??r,...i].join(`/`)}`}else n.startsWith(`#/parameters/`)?t.$ref=`#/components/parameters/${Q7(c9(n.slice(13)))}`:n.startsWith(`#/responses/`)?t.$ref=`#/components/responses/${Q7(c9(n.slice(12)))}`:n.startsWith(`#`)&&(t.$ref=LNe(e,n)??n)}}var INe=/^#\/paths\/[^/]+$/;function LNe(e,t){if(INe.test(t))return;let n=e.refMap.get(t);if(n!==void 0)return n;let r=f9(e.doc,t);if(r===void 0||r===!1)return;let i=t.replace(`/properties/headers/`,``).replace(`/properties/responses/`,``).replace(`/properties/parameters/`,``).replace(`/properties/schemas/`,``),a=i.lastIndexOf(`/schema`),o=e=>i.indexOf(e)>a,s=o(`/headers/`)?`headers`:o(`/responses/`)?`responses`:o(`/example`)?`examples`:o(`/x-`)?`extensions`:o(`/parameters/`)?`parameters`:`schemas`;if(s===`responses`||s===`extensions`)return;let c=o9(r);s===`schemas`&&Z7(c);let l=s.slice(0,-1);s===`parameters`&&V(c)&&typeof c.name==`string`&&c.name&&c.name===Q7(c.name)&&(l=encodeURIComponent(c.name));let u=1;for(;f9(e.doc,`#/components/${s}/${l}${u}`);)u++;let d=`#/components/${s}/${l}${u}`,f=d;return s===`examples`&&(c={value:c},f=`${d}/value`),p9(e.doc,d,c),e.refMap.set(t,f),f}function a9(e){return V(e)?e:void 0}function o9(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function s9(e,t,n){e[n]=e[t],delete e[t]}function RNe(e,t,n){Array.isArray(e)?e[Number(t)]=n:e[t]=n}function c9(e){try{return decodeURIComponent(e)}catch{return e}}function zNe(e){return e.replaceAll(`~`,`~0`).replaceAll(`/`,`~1`)}function l9(e){return e.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`)}function BNe(e){let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)|0;return t}function u9(e){if(!e||e===`#`)return[];let t=e;if(t.includes(`#`)){let[e=``,n=``]=t.split(`#`);if(e)return;t=c9(n.slice(1))}return t.startsWith(`/`)&&(t=t.slice(1)),t.split(`/`).map(l9)}function d9(e){return String(Number.parseInt(e,10))===e}function f9(e,t){let n=u9(t);if(!n)return;let r=e;for(let e of n)if(Array.isArray(r)&&d9(e))r=r[Number(e)];else if(V(r)&&Object.hasOwn(r,e))r=r[e];else return;return r}function p9(e,t,n){let r=u9(t);if(!r?.length)return;let i=e;for(let[e,t]of r.entries()){let a=e===r.length-1;if(Array.isArray(i)&&d9(t))a&&(i[Number(t)]=n),i=i[Number(t)];else if(V(i)){if(a)i[t]=n;else if(!Object.hasOwn(i,t)){let n=r[e+1];i[t]=n===`0`||n===`-`?[]:{}}i=i[t]}else return}}ME();var m9=[`format`,`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`minLength`,`maxLength`,`multipleOf`,`minItems`,`maxItems`,`uniqueItems`,`minProperties`,`maxProperties`,`additionalProperties`,`pattern`,`enum`,`default`];function h9(e){let t=e.$ref;typeof t==`string`&&t.startsWith(`#/parameters/`)&&(e.$ref=`#/components/parameters/${Q7(c9(t.slice(13)))}`)}function g9(e,t,n,r,i){let{doc:a}=e,o=n;o&&typeof o.consumes==`string`&&(o.consumes=[o.consumes]),Array.isArray(a.consumes)||delete a.consumes;let s=S9(o?.consumes,a.consumes),c=t;if(V(c)&&typeof c.$ref==`string`){h9(c);let t=String(c.$ref),n=e.parameters[c9(t.replace(`#/components/parameters/`,``))];if((!n||V(n)&&e.folded.has(n))&&t.startsWith(`#/`)){e.folded.add(c);let n=f9(a,t);n&&(c=n)}}if(!V(c))return o;let l=!1;if(c.name||c.in){if(typeof c[`x-deprecated`]==`boolean`&&(c.deprecated=c[`x-deprecated`],delete c[`x-deprecated`]),c[`x-example`]!==void 0&&(c.example=c[`x-example`],delete c[`x-example`]),c.in!==`body`&&!c.type&&(c.type=`string`),V(c.type)&&typeof c.type.$ref==`string`&&(c.type=f9(a,c.type.$ref)),l=c.type===`file`,V(c.description)&&typeof c.description.$ref==`string`&&(c.description=f9(a,c.description.$ref)),VNe(c),c.type&&c.type!==`body`&&c.in!==`formData`&&!(c.items&&c.schema)){let e=a9(c.schema)??{};c.schema=e,e.type=c.type,c.items&&(e.items=c.items,delete c.items,_9(e.items));for(let t of m9)c[t]!==void 0&&(e[t]=c[t]),delete c[t]}c.schema&&Z7(c.schema),c[`x-ms-skip-url-encoding`]&&c.in===`query`&&(c.allowReserved=!0,delete c[`x-ms-skip-url-encoding`])}let u={},d=!0;if(c.in===`formData`){d=!1;let t={};u.content=t;let n=s.includes(`multipart/form-data`)||v9(e,o?.parameters)||v9(e,r?.parameters);t[HNe(n)]=UNe(e,c,u,l)}else c.type===`file`&&(c.required&&(u.required=c.required),u.content={"application/octet-stream":{}},b9(c,u));if(c.in===`body`&&WNe(e,c,o,s,u),Object.keys(u).length>0&&(e.folded.add(c),o&&=GNe(e,o,r,i,u,d)),!e.folded.has(c)){delete c.type;for(let e of m9)delete c[e];c.in===`path`&&c.required!==!0&&(c.required=!0)}return o}function VNe(e){let t=e.collectionFormat;if(e.type===`array`&&!t&&(t=`csv`),!t)return;let n=e.in;t===`csv`&&(n===`query`||n===`cookie`)&&(e.style=`form`,e.explode=!1),t===`csv`&&(n===`path`||n===`header`)&&(e.style=`simple`),t===`ssv`&&n===`query`&&(e.style=`spaceDelimited`),t===`pipes`&&n===`query`&&(e.style=`pipeDelimited`),t===`multi`&&(e.explode=!0),t===`tsv`&&(e[`x-collectionFormat`]=`tsv`),delete e.collectionFormat}function _9(e){if(Array.isArray(e))for(let t of e)_9(t);else if(V(e)){typeof e.collectionFormat==`string`&&delete e.collectionFormat;for(let t of Object.values(e))_9(t)}}function HNe(e){return e?`multipart/form-data`:`application/x-www-form-urlencoded`}function v9(e,t){return Array.isArray(t)?t.some(t=>{let n=V(t)&&typeof t.$ref==`string`?e.parameters[Q7(c9(t.$ref.replace(/^#\/(?:components\/)?parameters\//,``)))]:t;return V(n)&&n.in===`formData`&&n.type===`file`}):!1}function UNe(e,t,n,r){if(t.schema)return V(t.schema)&&typeof t.schema.$ref==`string`&&e.bodyNames.set(n,x9(t.schema.$ref)),{schema:t.schema};let i={},a={type:`object`,properties:{[String(t.name)]:i}};t.description&&(i.description=t.description),t.example&&(i.example=t.example),t.type&&(i.type=t.type);for(let e of m9)t[e]!==void 0&&(i[e]=t[e]);return t.required===!0&&(a.required=[t.name],n.required=!0),t.allOf&&(i.allOf=t.allOf),t.type===`array`&&t.items&&(i.items=t.items,V(i.items)&&i.items.collectionFormat&&delete i.items.collectionFormat),r&&(i.type=`string`,i.format=`binary`),b9(t,i),Z7(i),{schema:a}}function WNe(e,t,n,r,i){let a={};if(i.content=a,t.name){let r=n?.operationId?$7(String(n.operationId)):``;e.bodyNames.set(i,r+e9(`_${String(t.name)}`))}t.description&&(i.description=t.description),t.required&&(i.required=t.required);let o=a9(t.schema),s=a9(o?.items);typeof o?.$ref==`string`?e.bodyNames.set(i,x9(o.$ref)):o?.type===`array`&&typeof s?.$ref==`string`&&e.bodyNames.set(i,`${x9(s.$ref)}Array`);for(let e of r.length?r:[`application/json`]){let n=o9(t.schema||{});Z7(n),a[String(e)]={schema:n}}b9(t,i)}function GNe(e,t,n,r,i,a){let o=t;if(o.requestBody&&a)return o;if(!o.requestBody){let e={};for(let[t,n]of Object.entries(o))e[t]=n,t===`parameters`&&(e.requestBody={});e.requestBody={},o=e,n&&r&&(n[r]=o)}let s=a9(o.requestBody);if(!s||y9(s,i,`multipart/form-data`)||y9(s,i,`application/x-www-form-urlencoded`))return o;Object.assign(s,i);let c=e.bodyNames.get(i);if(c!==void 0&&e.bodyNames.set(s,c),!e.bodyNames.get(s)){let t=a9(s.schema);typeof t?.$ref==`string`?e.bodyNames.set(s,x9(t.$ref).split(`/`).join(``)):o.operationId&&e.bodyNames.set(s,$7(String(o.operationId)))}return o}function y9(e,t,n){let r=a9(a9(a9(e.content)?.[n])?.schema),i=a9(a9(a9(t.content)?.[n])?.schema);if(!r||!i||!V(r.properties)||!V(i.properties))return!1;Object.assign(r.properties,i.properties);let a=[...Array.isArray(r.required)?r.required:[],...Array.isArray(i.required)?i.required:[]];return a.length?r.required=a:delete r.required,!0}function b9(e,t){for(let[n,r]of Object.entries(e))n.startsWith(`x-`)&&(t[n]=r)}function x9(e){return c9(e.replace(`#/components/schemas/`,``))}function S9(e,t){let n=e||t||[];return Array.isArray(n)?n.filter((e,t)=>n.indexOf(e)===t):[]}var KNe=[`items`,`minItems`,`maxItems`,`uniqueItems`];function C9(e,t,n){let r=a9(t);if(r){if(typeof r.$ref==`string`){r.$ref.startsWith(`#/responses/`)&&(r.$ref=`#/components/responses/${Q7(c9(r.$ref.slice(12)))}`);return}if((r.description===void 0||r.description===null)&&(r.description=``),r.schema!==void 0){Z7(r.schema),n&&typeof n.produces==`string`&&(n.produces=[n.produces]),e.doc.produces&&!Array.isArray(e.doc.produces)&&delete e.doc.produces;let t=S9(n?.produces,e.doc.produces),i={};r.content=i;let a=a9(r.examples);for(let e of t.length?t:[`*/*`]){let t=String(e),n={schema:o9(r.schema)};i[t]=n,a?.[t]&&(n.examples={response:{value:a[t]}},delete a[t])}delete r.schema}for(let[e,t]of Object.entries(a9(r.examples)??{})){let n=a9(r.content)??{};r.content=n;let i=a9(n[e])??{};n[e]=i,i.examples={response:{value:t}}}delete r.examples,qNe(r)}}function qNe(e){let t=a9(e.headers);if(t)for(let e of Object.keys(t))e.toLowerCase()===`status code`?delete t[e]:JNe(t[e])}function JNe(e){let t=a9(e);if(!t)return;if(t.$ref){typeof t.$ref==`string`&&t.$ref.startsWith(`#/responses/`)&&(t.$ref=`#/components/responses/${t.$ref.slice(12)}`);return}let n=a9(t.schema)??{};t.schema=n,t.type&&(n.type=t.type);let r=a9(t.items);if(r&&r.type!==`array`&&delete r.collectionFormat,t.type===`array`){let e=t.collectionFormat;e===`multi`?t.explode=!0:e===`tsv`?t[`x-collectionFormat`]=`tsv`:e!==`ssv`&&e!==`pipes`&&(t.style=`simple`),delete t.collectionFormat}else t.collectionFormat&&delete t.collectionFormat;delete t.type;for(let e of[...m9,...KNe])t[e]!==void 0&&(n[e]=t[e],delete t[e]);Z7(n)}ME();var w9=`3.2.0`,YNe=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`,`trace`,`x-amazon-apigateway-any-method`];function T9(e){let t=o9(e);if(typeof t.openapi==`string`&&t.openapi.startsWith(`3.`))return O9(t),t.paths===void 0&&(t.paths={}),t;if(t.swagger!==`2.0`&&t.swagger!==2)throw Error(`Unsupported swagger/OpenAPI version: ${String(t.openapi??t.swagger)}`);let n={openapi:w9,...t};n.openapi=w9,delete n.swagger,E9(n,!1),typeof n.schemes==`string`&&(n.schemes=[n.schemes]),XNe(n),O9(n),n.paths===void 0&&(n.paths={}),typeof n.consumes==`string`&&(n.consumes=[n.consumes]),typeof n.produces==`string`&&(n.produces=[n.produces]);let r={};n[`x-callbacks`]&&(r.callbacks=n[`x-callbacks`]);let i=r.examples={};r.headers={},n[`x-links`]&&(r.links=n[`x-links`]);let a=r.parameters=a9(n.parameters)??{},o=r.responses=a9(n.responses)??{};r.requestBodies={};let s=r.securitySchemes=a9(n.securityDefinitions)??{},c=r.schemas=a9(n.definitions)??{};for(let e of[`x-callbacks`,`x-links`,`definitions`,`responses`,`parameters`])delete n[e];delete n.securityDefinitions,n.components=r;let l={doc:n,parameters:a,examples:i,schemaNames:new Map,refMap:new Map,folded:new WeakSet,bodyNames:new WeakMap};n9(n.security),t9(s,`securityScheme`,tPe);for(let e of Object.keys(c)){let t=$7(e),n=``;if(e!==t){for(;c[`${t}${n}`];)n=n?n+1:2;c[`${t}${n}`]=c[e],delete c[e]}l.schemaNames.set(e,`${t}${n}`),Z7(c[`${t}${n}`])}r9(l,n,[],``);for(let[e,t]of l.refMap)p9(n,e,{$ref:t});t9(a,`parameter`,e=>g9(l,e)),t9(o,`response`,e=>C9(l,e));let u={};k9(l,a9(n.paths),`paths`,u),k9(l,a9(n[`x-ms-paths`]),`x-ms-paths`,u);for(let[e,t]of Object.entries(a))V(t)&&l.folded.has(t)&&delete a[e];delete n.consumes,delete n.produces,delete n.schemes;let d=r.requestBodies={},f=[],p=1;for(let e of Object.values(u)){if(e.refs.length<2)continue;let t=e.name,r=``;for(t||(t=`requestBody`,r=p++);f.includes(`${t}${r}`);)r=r?r+1:2;let i=`${t}${r}`;f.push(i),d[i]=o9(e.body);for(let t of e.refs)p9(n,t,{$ref:`#/components/requestBodies/${i}`})}for(let e of[`responses`,`parameters`,`examples`,`requestBodies`,`securitySchemes`,`headers`,`schemas`]){let t=a9(r[e]);t&&Object.keys(t).length===0&&delete r[e]}return Object.keys(r).length===0&&delete n.components,n}function E9(e,t){if(Array.isArray(e)){for(let n of e)E9(n,t);return}if(V(e))for(let n of Object.keys(e)){let r=t||n.startsWith(`example`);e[n]===null?!n.startsWith(`x-`)&&n!=="default"&&!r&&delete e[n]:E9(e[n],r)}}function XNe(e){let t=e.basePath,n=e.schemes,r=[];if(e.host){let i=typeof t==`string`?t.replace(/\/$/,``):``;for(let t of Array.isArray(n)?n:[``]){let n=t?`${String(t)}:`:``;r.push(D9(`${n}//${String(e.host)}${i}`))}}else t&&r.push(D9(String(t)));r.length&&(e.servers=r),delete e.host,delete e.basePath,Array.isArray(e[`x-servers`])&&(e.servers=e[`x-servers`],delete e[`x-servers`]);let i=a9(e[`x-ms-parameterized-host`]);if(!i)return;let a=`${String(i.hostTemplate)}${t?String(t):``}`,o={},s=a.match(/\{\w+\}/g)??[],c=i.parameters;for(let[t,n]of Object.entries(V(c)||Array.isArray(c)?c:{})){if(t.startsWith(`x-`))continue;let r=V(n)&&typeof n.$ref==`string`?o9(f9(e,n.$ref)):n;if(!V(r))continue;delete r.required,delete r.type,delete r.in,r.default===void 0&&(r.default=Array.isArray(r.enum)?r.enum[0]:`none`);let i=r.name||(s[Number(t)]??``).replace(`{`,``).replace(`}`,``);o[String(i)]=r,delete r.name}let l={url:a,variables:o},u=Array.isArray(e.servers)?e.servers:e.servers=[];if(i.useSchemePrefix===!1)u.push(l);else for(let e of Array.isArray(n)?n:[])u.push({...o9(l),url:`${String(e)}://${a}`});delete e[`x-ms-parameterized-host`]}function D9(e){let t=e.split(`{{`).join(`{`).split(`}}`).join(`}`),n={url:t},r={},i=t.indexOf(`{`);for(;i>=0;){let e=t.indexOf(`}`,i+2);if(e<0)break;r[t.slice(i+1,e)]={default:`unknown`},i=t.indexOf(`{`,e+1)}return Object.keys(r).length&&(n.variables=r),n}function O9(e){(e.info===void 0||e.info===null)&&(e.info={version:``,title:``});let t=e.info;if(!V(t))throw Error(`info must be an object`);(t.title===void 0||t.title===null)&&(t.title=``),(t.version===void 0||t.version===null)&&(t.version=``),typeof t.version!=`string`&&(t.version=String(t.version)),t.logo!==void 0&&(t[`x-logo`]=t.logo,delete t.logo),t.termsOfService!==void 0&&(t.termsOfService===null&&(t.termsOfService=``),ZNe(String(t.termsOfService))||delete t.termsOfService)}function ZNe(e){try{return!!new URL(e)}catch{return!1}}function k9(e,t,n,r){if(t)for(let i of Object.keys(t)){let a=a9(t[i]);if(a){V(a[`x-trace`])&&s9(a,`x-trace`,`trace`),a[`x-summary`]&&typeof a[`x-summary`]==`string`&&s9(a,`x-summary`,`summary`),a[`x-description`]&&typeof a[`x-description`]==`string`&&s9(a,`x-description`,`description`),Array.isArray(a[`x-servers`])&&s9(a,`x-servers`,`servers`);for(let t of Object.keys(a)){if(!YNe.includes(t))continue;let o=QNe(e,a,t);if(!o)continue;let s=a9(o.requestBody);if(!s)continue;let c=o.operationId?$7(String(o.operationId)):e9($7(t+i)),l=Q7(e.bodyNames.get(s)||c||``),u=String(BNe(JSON.stringify(s)));r[u]??={name:l,body:s,refs:[]},r[u].refs.push(`#/${n}/${encodeURIComponent(zNe(i))}/${t}/requestBody`)}if(Array.isArray(a.parameters)){for(let t of a.parameters)g9(e,t,void 0,a);a.parameters=a.parameters.filter(t=>A9(e,t))}}}}function QNe(e,t,n){let r=a9(t[n]);if(!r)return;let i=r.parameters;if(Array.isArray(i)){for(let a of Array.isArray(t.parameters)?t.parameters:[]){let o=a;V(a)&&typeof a.$ref==`string`&&(h9(a),o=f9(e.doc,String(a.$ref))),V(o)&&!i.some(e=>V(e)&&e.name===o.name&&e.in===o.in)&&(o.in===`formData`||o.in===`body`||o.type===`file`)&&(r=g9(e,o,r,t,n)??r)}for(let a of i)r=g9(e,a,r,t,n)??r;r.parameters=i.filter(t=>A9(e,t))}n9(r.security),r.responses||={default:{description:`Default response`}};for(let t of Object.values(a9(r.responses)??{}))C9(e,t,r);if(Array.isArray(r[`x-servers`]))s9(r,`x-servers`,`servers`);else if(typeof r.schemes==`string`||Array.isArray(r.schemes)){let t=typeof r.schemes==`string`?[r.schemes]:r.schemes,n=e.doc.schemes;for(let i of t){if(Array.isArray(n)&&n.includes(i))continue;let t=Array.isArray(r.servers)?r.servers:r.servers=[];for(let n of Array.isArray(e.doc.servers)?e.doc.servers:[]){let e=o9(n);V(e)&&typeof e.url==`string`&&(e.url=$Ne(e.url,String(i)));let r=V(e)?e.url:void 0;t.some(e=>V(e)&&e.url===r)||t.push(e)}}}return delete r.consumes,delete r.produces,delete r.schemes,r[`x-ms-examples`]&&ePe(e,r,t),Array.isArray(r.parameters)&&r.parameters.length===0&&delete r.parameters,r}function A9(e,t){return!!t&&!(V(t)&&e.folded.has(t))}function $Ne(e,t){let n=/^(?:[A-Za-z][A-Za-z0-9+.-]*:)?\/\/([^/?#]*)/.exec(e);if(!n)return e;let r=e.slice(n[0].length);return`${t}://${(n[1]??``).toLowerCase()}${r.startsWith(`/`)?r:`/${r}`}`}function ePe(e,t,n){for(let[r,i]of Object.entries(a9(t[`x-ms-examples`])??{})){let a=a9(i);if(!a)continue;let o=$7(r);for(let[i,o]of Object.entries(a9(a.parameters)??{})){let a=[...Array.isArray(t.parameters)?t.parameters:[],...Array.isArray(n.parameters)?n.parameters:[]];for(let t of a){let n=V(t)&&typeof t.$ref==`string`?f9(e.doc,t.$ref):t;if(!V(n)||n.name!==i||n.example)continue;let a=a9(n.examples)??{};n.examples=a,a[r]={value:o}}}for(let[n,i]of Object.entries(a9(a.responses)??{})){let a=a9(i),s=a9(a9(t.responses)?.[n]);if(a){for(let[e,t]of Object.entries(a9(a.headers)??{})){let n=a9(a9(s?.headers)?.[e]);n&&(n.example=t)}if(a.body){e.examples[o]={value:o9(a.body)};for(let e of Object.values(a9(s?.content)??{})){if(!V(e))continue;let t=a9(e.examples)??{};e.examples=t,t[r]={$ref:`#/components/examples/${o}`}}}}}}delete t[`x-ms-examples`]}function tPe(e){let t=a9(e);if(!t||(t.type===`basic`&&(t.type=`http`,t.scheme=`basic`),t.type!==`oauth2`))return;let n={},r=t.flow;r===`application`&&(r=`clientCredentials`),r===`accessCode`&&(r=`authorizationCode`),t.authorizationUrl!==void 0&&(n.authorizationUrl=j9(String(t.authorizationUrl))),typeof t.tokenUrl==`string`&&(n.tokenUrl=j9(t.tokenUrl)),n.scopes=t.scopes||{},t.flows={[String(r)]:n};for(let e of[`flow`,`authorizationUrl`,`tokenUrl`,`scopes`,`name`])delete t[e]}function j9(e){let t=e.indexOf(`?`);return(t<0?e:e.slice(0,t)).trim()||`/`}ME(),YK(),y6();var M9=[`publish`,`subscribe`];function nPe(e){return String(e.asyncapi).startsWith(`2.`)?rPe(e):(N9(e,`channels`),N9(e,`operations`),lPe(e)),e}function rPe(e){let t=new Map,n=G9(e.components),r=G9(e.channels);N9(e,`channels`,e=>iPe(structuredClone(e)));for(let t of[...Object.values(r),...Object.values(G9(n.channels))])aPe(e,t);for(let t of Object.values(G9(n.messages)))P9(e,t);e.asyncapi=`3.0.0`;let i=V(e.info)?e.info:e.info={};for(let n of[`tags`,`externalDocs`])e[n]!==void 0&&(i[n]??=e[n],delete e[n],t.set(U9([n]),U9([`info`,n])));for(let e of Object.values(G9(n.securitySchemes)))cPe(e);for(let t of[...Object.values(G9(e.servers)),...Object.values(G9(n.servers))])sPe(t);if(R9(e,n.parameters),V(n.channels)){let r=G9(n.operations);for(let[i,a]of Object.entries(n.channels))V(a)&&!W9(a)&&F9(e,[`components`,`channels`,i],a,r,t);Object.keys(r).length>0&&(n.operations=r)}let a={};for(let[n,i]of Object.entries(r))F9(e,[`channels`,n],G9(i),a,t);e.operations=a;for(let e of Object.values(G9(n.messages)))L9(e);z9(e,t)}function N9(e,t,n=structuredClone){let r=G9(e[t]),i=new Set(Object.values(r).filter(e=>V(e)&&!W9(e))),a=[];for(let[t,o]of Object.entries(r)){if(t===`__proto__`||!W9(o))continue;let s=v6(e,o);if(!s)continue;let c=i.has(s)?n(s):s;r[t]=c,i.add(c);let l=Object.fromEntries(Object.entries(o).filter(([e])=>e!==`$ref`&&e!==`__proto__`));Object.keys(l).length>0&&a.push([c,l])}let o=G9(G9(e.components)[t]);for(let[e,t]of Object.entries(o))V(t)&&i.has(t)&&(o[e]=structuredClone(t));for(let[e,t]of a)Object.assign(e,t)}function iPe(e){for(let t of M9)delete G9(e[t]).operationId;return e}function aPe(e,t){if(V(t)&&!W9(t))for(let n of M9){let r=t[n];if(V(r)){B9(e,r,`trait`);for(let t of I9(e,r.message).list)P9(e,t)}}}function P9(e,t){V(t)&&!W9(t)&&B9(e,t,`trait`)}function F9(e,t,n,r,i){let a=t[t.length-1];n.address??=a,Array.isArray(n.servers)&&(n.servers=n.servers.map(e=>({$ref:U9([`servers`,String(e)])}))),R9(e,n.parameters);let o=t.slice(0,-2).concat(`operations`),s={};for(let c of M9){let l=n[c];if(delete n[c],!V(l))continue;let u=typeof l.operationId==`string`?l.operationId:`${a}.${c}`,{list:d,oneOf:f}=I9(e,l.message),p=d.map((n,r)=>{let a=oPe(e,n)??(f?`${u}.message.${r}`:`${u}.message`);s[a]=W9(n)?n:L9(n);let o=U9([...t,`messages`,a]);return i.set(U9(f?[...t,c,`message`,`oneOf`,String(r)]:[...t,c,`message`]),o),{$ref:o}});delete l.operationId,delete l.message,l.action=c===`publish`?`receive`:`send`,l.channel={$ref:U9(t)},p.length>0&&(l.messages=p),r[u]=l,i.set(U9([...t,c]),U9([...o,u]))}Object.keys(s).length>0&&(n.messages=s)}function I9(e,t){let n=W9(t)?v6(e,t):t;return V(n)&&Array.isArray(n.oneOf)?{list:n.oneOf,oneOf:!0}:{list:t?[t]:[],oneOf:!1}}function oPe(e,t){let n=H9(e,t);if(typeof n.messageId==`string`)return n.messageId;if(!W9(t)||!t.$ref.startsWith(`#/components/messages/`))return;let r=JK.parse(t.$ref);return r.length===3?r[2]:void 0}function sPe(e){if(!V(e)||typeof e.url!=`string`)return;let t=e.url.indexOf(`://`),n=t===-1?e.url:e.url.slice(t+3),r=n.indexOf(`/`);e.host=r===-1?n:n.slice(0,r),r!==-1&&r<n.length-1&&(e.pathname=n.slice(r)),delete e.url}function cPe(e){for(let t of Object.values(G9(G9(e).flows)))V(t)&&t.scopes!==void 0&&(t.availableScopes=t.scopes,delete t.scopes)}function L9(e){return!V(e)||W9(e)?e:(delete e.messageId,e.schemaFormat!==void 0&&e.payload!==void 0&&(e.payload={schemaFormat:e.schemaFormat,schema:e.payload}),delete e.schemaFormat,e)}function R9(e,t){if(V(t))for(let n of Object.values(t)){if(!V(n)||W9(n))continue;let t=H9(e,n.schema);delete n.schema,Array.isArray(t.enum)?n.enum=t.enum:t.const!==void 0&&(n.enum=[t.const]),t.default!==void 0&&(n.default=t.default),Array.isArray(t.examples)&&(n.examples=t.examples),n.description===void 0&&t.description!==void 0&&(n.description=t.description)}}function z9(e,t){if(Array.isArray(e)){for(let n of e)z9(n,t);return}if(V(e)){if(typeof e.$ref==`string`){let n=e.$ref;for(let r=n.length;r>0;r=n.lastIndexOf(`/`,r-1)){let i=t.get(n.slice(0,r));if(i!==void 0){e.$ref=`${i}${n.slice(r)}`;break}}}for(let n of Object.values(e))z9(n,t)}}function lPe(e){let t=G9(e.components),n=[...Object.values(G9(e.channels)),...Object.values(G9(t.channels))],r=[...Object.values(G9(e.operations)),...Object.values(G9(t.operations)),...Object.values(G9(t.messages)),...n.flatMap(e=>Object.values(G9(G9(e).messages)))];for(let t of r)V(t)&&B9(e,t,`own`)}function B9(e,t,n){if(!Array.isArray(t.traits))return;let r={};for(let n of t.traits)V9(r,H9(e,n),`source`);delete t.traits,V9(t,r,n===`trait`?`source`:`target`)}function V9(e,t,n){for(let[r,i]of Object.entries(t)){if(r===`__proto__`)continue;let t=e[r];V(t)&&V(i)&&!W9(t)&&!W9(i)?V9(t,i,n):(n===`source`||t===void 0)&&(e[r]=V(i)||Array.isArray(i)?structuredClone(i):i)}}function H9(e,t){return v6(e,t)??{}}function U9(e){return`#${JK.compile(e)}`}function W9(e){return V(e)&&typeof e.$ref==`string`}function G9(e){return V(e)?e:{}}var convertSwagger2OpenAPI=async e=>T9(e),uPe=eU.withTags([MH,IH,GH,KH,JH]);function K9(e){return nG(e,{schema:uPe})}var dPe=c({parse:()=>gY}),fPe=o((()=>{A$()}));ME(),B();var pPe=/\.(graphql|gql)([?#]|$)/i,mPe=/^\s*[[{]/,hPe=/^(?:[ \t]*(?:#[^\r\n]*)?\r?\n|---[ \t]*\r?\n)*[ \t]*['"]?(?:openapi|swagger|asyncapi)['"]?[ \t]*:/;function q9(e){if(`__schema`in e||V(e.data)&&`__schema`in e.data)throw new fD(`unsupported`,`GraphQL introspection results are not supported; provide the schema as SDL`);return`asyncapi`in e?es.ASYNCAPI:es.OPENAPI}function gPe(e){return V(e)&&(`openapi`in e||`swagger`in e||`asyncapi`in e)}function _Pe(e){if(mPe.test(e)){let t;try{t=JSON.parse(e)}catch(n){if(t=vPe(e),t===void 0)throw new fD(`parse`,pD(n))}if(!V(t))throw new fD(`unsupported`,`A JSON "spec" must be an object`);return t}try{let t=K9(e);return gPe(t)?t:void 0}catch(t){if(hPe.test(e))throw new fD(`parse`,pD(t));return}}function vPe(e){try{return K9(e)}catch{return}}function yPe(e){try{return structuredClone(e)}catch{return JSON.parse(JSON.stringify(e))}}async function J9(e){let t=await kNe(e);if(!V(t))throw new fD(`unsupported`,`The spec did not resolve to an OpenAPI or AsyncAPI document`);return t}async function Y9(e){let{parse:t}=await Promise.resolve().then(()=>(fPe(),dPe));try{return{document:t(e),type:es.GRAPHQL,sdl:e}}catch(e){throw new fD(`parse`,pD(e))}}async function X9(e){let t;try{t=await fetch(e)}catch(e){throw new fD(`fetch`,pD(e),0)}if(t.ok===!1)throw new fD(`fetch`,`Request failed with status ${t.status}`,t.status);return t.text()}async function Z9(e,t){return Q9({document:t?e:await J9(e),type:q9(e)})}function Q9(e){let{document:t}=e;if(!V(t))return e;if(t.swagger!==void 0)return{...e,document:T9(t),convertedFrom:String(t.swagger)};if(e.type!==es.ASYNCAPI)return e;let n=String(t.asyncapi),r=nPe(yPe(t));return{...e,document:r,convertedFrom:n.startsWith(`2.`)?n:void 0}}function bPe(e){return`${(e.split(/[?#]/)[0].split(`/`).pop()||`asyncapi`).replace(/\.(json|ya?ml)$/i,``)}.yaml`}function xPe(e){if(typeof window>`u`||typeof URL.createObjectURL!=`function`)return;let t=VK(e,{noRefs:!0,lineWidth:-1});return URL.createObjectURL(new Blob([t],{type:`application/yaml`}))}async function SPe(e,t){if(t)throw new fD(`unsupported`,`"spec" must be an object, JSON or YAML text when "skipBundle" is enabled`);if(pPe.test(e))return Y9(await X9(e));try{let t=await J9(e);return Q9({document:t,type:q9(t)})}catch(t){let n=await X9(e);if(/^\s*<(!doctype|html)/i.test(n))throw new fD(`unsupported`,`${e} returned an HTML page instead of an API description. Check that your server serves the file at this URL.`);try{return await Y9(n)}catch{throw t}}}async function CPe({spec:e,specUrl:t,skipBundle:n}){if(typeof e==`string`){let t=e.replace(/^\uFEFF/,``),r=_Pe(t);return r?Z9(r,n):Y9(t)}if(e!==void 0)return Z9(e,n);if(t!==void 0)return SPe(t,n);throw new fD(`unsupported`,`Either "spec" or "specUrl" must be provided`)}function logoFromSpec(e){if(typeof e==`string`)return;let t=e?.info,n=t?.[`x-logo`];if(!n?.url)return;let r=t?.contact;return{url:n.url,href:n.href||r?.url,altText:n.altText,backgroundColor:n.backgroundColor}}ME(),Ns(),B();async function prepareApiDocs({spec:e,specUrl:t,options:n={},basePath:r=`/`,convertedDownload:i=!0}){let a=performance.now(),o=await CPe({spec:e,specUrl:t,skipBundle:k1(n.skipBundle,!1)}),s=Math.round(performance.now()-a),c=e===void 0&&t!==void 0&&N1(n.downloadUrls??[],o.type).length===0,l=c&&i&&o.convertedFrom&&o.type===es.ASYNCAPI?xPe(o.document):void 0,u=c&&t!==void 0?[l?{url:l,title:bPe(t)}:{url:typeof document>`u`?t:new URL(t,document.baseURI).href}]:n.downloadUrls,d={...n,downloadUrls:u,specType:o.type,metadata:{...n.metadata,type:o.type}},f=performance.now(),{items:p,store:m}=await qEe({type:o.type,document:o.document,options:d,basePath:ks(r),markdownParser:CR}),h=Math.round(performance.now()-f);return{items:p,store:{...m,convertedFrom:o.convertedFrom},options:d,specType:o.type,timings:{resolveSpecMs:s,buildItemsMs:h},document:o.type===es.GRAPHQL?o.sdl:o.document}}function wPe(e){return(Array.isArray(e.downloadUrls)?e.downloadUrls:[]).map(e=>V(e)&&typeof e.url==`string`?e.url:``).filter(e=>e.startsWith(`blob:`))}function $9(e){for(let t of e)URL.revokeObjectURL(t)}return{RedoclyApiDocs,RedocStandalone:({spec:e,specUrl:t,options:n,basePath:r=`/`,logo:i,markdownAdapter:a,onLoaded:o,children:s})=>{let[c,l]=useState(null),[u,d]=useState(null),f=useContext(ZEe),p=A1(n?.disableTelemetry),m=useMemo(()=>({...f?{typeOfUsage:f}:{},...p?{disabled:!0}:{}}),[f,p]);return useEffect(()=>{let i=!1,a=[],s=performance.now();return l(null),d(null),prepareApiDocs({spec:e,specUrl:t,options:{...n,disableTelemetry:void 0},basePath:r}).then(e=>{if(a=wPe(e.options),i){$9(a);return}l(e),o?.()}).catch(t=>{i||(d(t),o?.(t),mD(t,{source:e===void 0?`url`:`inline`,durationMs:Math.round(performance.now()-s),telemetryConfig:m}))}),()=>{i=!0,$9(a)}},[e,t,r]),u?jsxs(`div`,{role:`alert`,style:{padding:`1em`,fontFamily:`monospace`,color:`#e53e3e`},children:[`Failed to load API description: `,u.message]}):c?jsx(RedoclyApiDocsStandalone,{items:c.items,store:c.store,basePath:r,options:c.options,logo:i??logoFromSpec(c.document),markdownAdapter:a,telemetryConfig:m,spec:c.document,specUrl:t,buildTimings:c.timings}):s===void 0?k1(n?.hideLoading,!1)?null:jsx(Nee,{color:`--loading-spinner-color`}):jsx(Fragment$1,{children:s})},RedoclyApiDocsStandalone,convertSwagger2OpenAPI,logoFromSpec,prepareApiDocs}})();export{RedoclyApiDocs as Redoc,RedocStandalone,RedoclyApiDocsStandalone,ServerStyleSheet,convertSwagger2OpenAPI,logoFromSpec,prepareApiDocs};