PageSourceSearch

https://docs.gcore.com/mintlify-assets/_next/static/chunks/dd09caf…?dpl=dpl_5ZEnTGVcNKTjFEbzPDf6xwjtsSMR

js gcore.com collected 2026-09-24 08:28:23 UTC 211,504 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,206558,e=>{"use strict";e.s(["NEXT_PUBLIC",()=>r,"SEARCH_REMOVED",()=>o]);var t=e.i(247167),n=e.i(839847);let r={ENV:"production",POSTHOG_KEY:"phc_eNuN6Ojnk9O7uWfC17z12AK85fNR0BY6IiGVy0Gfwzw",AUTH_ENABLED:t.default.env.NEXT_PUBLIC_AUTH_ENABLED,CUSTOM_JS_DISABLED:t.default.env.NEXT_PUBLIC_CUSTOM_JS_DISABLED,ASSET_PREFIX:"/mintlify-assets",AI_MESSAGE_HOST:"https://leaves.mintlify.com",BASE_PATH:(0,n.normalizeBasePath)(t.default.env.NEXT_PUBLIC_BASE_PATH??""),IS_LOCAL_CLIENT:"true"===t.default.env.NEXT_PUBLIC_IS_LOCAL_CLIENT,IS_SELF_HOSTED:"true"===t.default.env.NEXT_PUBLIC_IS_SELF_HOSTED,TURNSTILE_SITE_KEY:"0x4AAAAAACyMzUc-ZGkPEsa2",ENABLE_DOCS_CONFIG_OVERRIDES:"true"===t.default.env.NEXT_PUBLIC_ENABLE_DOCS_CONFIG_OVERRIDES},o="true"===t.default.env.NEXT_PUBLIC_SEARCH_REMOVED},221274,(e,t,n)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},439805,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},27493,(e,t,n)=>{var r=e.r(587547),o=e.r(221274),i=e.r(439805);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},851477,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},315262,(e,t,n)=>{t.exports=function(e,t){return e.has(t)}},206856,(e,t,n)=>{var r=e.r(27493),o=e.r(851477),i=e.r(315262);t.exports=function(e,t,n,a,s,l){var c=1&n,p=e.length,u=t.length;if(p!=u&&!(c&&u>p))return!1;var d=l.get(e),f=l.get(t);if(d&&f)return d==t&&f==e;var h=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<p;){var y=e[h],b=t[h];if(a)var v=c?a(b,y,h,t,e,l):a(y,b,h,e,t,l);if(void 0!==v){if(v)continue;g=!1;break}if(m){if(!o(t,function(e,t){if(!i(m,t)&&(y===e||s(y,e,n,a,l)))return m.push(t)})){g=!1;break}}else if(!(y===b||s(y,b,n,a,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},75331,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},899850,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},678012,(e,t,n)=>{var r=e.r(630353),o=e.r(263750),i=e.r(25172),a=e.r(206856),s=e.r(75331),l=e.r(899850),c=r?r.prototype:void 0,p=c?c.valueOf:void 0;t.exports=function(e,t,n,r,c,u,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!u(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)break;var g=d.get(e);if(g)return g==t;r|=2,d.set(e,t);var m=a(f(e),f(t),r,c,u,d);return d.delete(e),m;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}},330698,(e,t,n)=>{var r=e.r(413370),o=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),p=c.length;if(p!=r(t).length&&!l)return!1;for(var u=p;u--;){var d=c[u];if(!(l?d in t:o.call(t,d)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++u<p;){var y=e[d=c[u]],b=t[d];if(i)var v=l?i(b,y,d,t,e,s):i(y,b,d,e,t,s);if(!(void 0===v?y===b||a(y,b,n,i,s):v)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var z=e.constructor,w=t.constructor;z!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof z&&z instanceof z&&"function"==typeof w&&w instanceof w)&&(g=!1)}return s.delete(e),s.delete(t),g}},178353,(e,t,n)=>{var r=e.r(901551),o=e.r(206856),i=e.r(678012),a=e.r(330698),s=e.r(367426),l=e.r(45350),c=e.r(356956),p=e.r(3023),u="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,g,m,y){var b=l(e),v=l(t),z=b?d:s(e),w=v?d:s(t);z=z==u?f:z,w=w==u?f:w;var x=z==f,E=w==f,j=z==w;if(j&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(j&&!x)return y||(y=new r),b||p(e)?o(e,t,n,g,m,y):i(e,t,z,n,g,m,y);if(!(1&n)){var O=x&&h.call(e,"__wrapped__"),A=E&&h.call(t,"__wrapped__");
1if(O||A){var S=O?e.value():e,I=A?t.value():t;return y||(y=new r),m(S,I,n,g,y)}}return!!j&&(y||(y=new r),a(e,t,n,g,m,y))}},421885,(e,t,n)=>{var r=e.r(178353),o=e.r(877289);t.exports=function e(t,n,i,a,s){return t===n||(null!=t&&null!=n&&(o(t)||o(n))?r(t,n,i,a,e,s):t!=t&&n!=n)}},898892,(e,t,n)=>{var r=e.r(421885);t.exports=function(e,t){return r(e,t)}},590280,644017,42143,8136,265694,750962,699510,120067,127250,322986,e=>{"use strict";e.s(["LivePreviewContext",()=>r7,"LivePreviewProvider",()=>ot,"applyLivePreviewCssOverrides",()=>rK,"buildLivePreviewRequestContentMessage",()=>rJ,"isLivePreviewControllerMessage",()=>r2,"isNewLivePreviewPath",()=>r3,"mergeLivePreviewMedia",()=>rH,"parseLivePreviewNewPaths",()=>r5,"resolveLivePreviewHref",()=>r4,"resolveLivePreviewMediaSrc",()=>rG],590280);var t,n=e.i(843476);e.s(["ALLOWED_LIVE_PREVIEW_ORIGINS",()=>w,"ALLOWED_LIVE_PREVIEW_ORIGINS_STATIC",()=>b,"DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY",()=>i,"LIVE_PREVIEW_MODE_SESSION_STORAGE_KEY",()=>d,"LIVE_PREVIEW_NAVIGATE_BACK_MESSAGE_TYPE",()=>c,"LIVE_PREVIEW_NAVIGATE_FORWARD_MESSAGE_TYPE",()=>p,"LIVE_PREVIEW_PARAM",()=>l,"LIVE_PREVIEW_REFRESH_MESSAGE_TYPE",()=>u,"LIVE_PREVIEW_ROUTE_PREFIX",()=>s,"LIVE_PREVIEW_SESSIONSTORAGE_GET_MESSAGE_TYPE",()=>f,"LIVE_PREVIEW_SESSIONSTORAGE_GET_RESPONSE_MESSAGE_TYPE",()=>h,"LIVE_PREVIEW_SESSIONSTORAGE_REMOVE_MESSAGE_TYPE",()=>m,"LIVE_PREVIEW_SESSIONSTORAGE_SET_MESSAGE_TYPE",()=>g,"NAVIGATION_OVERRIDE_SESSION_STORAGE_KEY",()=>a,"appendLivePreviewParam",()=>E,"isAllowedLivePreviewOrigin",()=>z,"stripLivePreviewPrefix",()=>x],644017);var r=e.i(247167),o=e.i(876469);let i="docs-config-overrides",a="live-preview-navigation-override",s="/_live-preview",l="_mintlify-live-preview",c="LIVE_PREVIEW_NAVIGATE_BACK",p="LIVE_PREVIEW_NAVIGATE_FORWARD",u="LIVE_PREVIEW_REFRESH",d="livePreviewMode",f="LIVE_PREVIEW_SESSIONSTORAGE_GET",h="LIVE_PREVIEW_SESSIONSTORAGE_GET_RESPONSE",g="LIVE_PREVIEW_SESSIONSTORAGE_SET",m="LIVE_PREVIEW_SESSIONSTORAGE_REMOVE",y=r.default.env.NEXT_PUBLIC_LOCAL_DASHBOARD_ORIGIN??"http://localhost:3000",b=o.IS_DEV?[y]:["https://dashboard.mintlify.com","https://app.mintlify.com"],v=[];function z(e){return!!b.includes(e)||v.some(t=>t.test(e))}let w=b;function x(e){return e.includes(s)?e.replace(s,"")||"/":e}function E(e){if(!e||e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//")||e.startsWith("mailto:")||e.startsWith("tel:")||e.includes(l))return e;let t=e.indexOf("#"),n=-1!==t,r=n?e.slice(0,t):e,o=n?e.slice(t):"",i=r.includes("?")?"&":"?";return`${r}${i}${l}=true${o}`}var j=e.i(206558);e.s(["normalizeLivePreviewPath",()=>A],42143);var O=e.i(558594);function A(e,t=j.NEXT_PUBLIC.BASE_PATH){return(0,O.stripLivePreviewBasePath)(e,t)}var S=e.i(50270);let I=S.z.string().trim().nonempty(),_=S.z.union([S.z.string().min(3,"Must be a path to your logo file including the file extension"),S.z.object({light:S.z.string(),dark:S.z.string(),href:S.z.string().optional()})]),k=S.z.object({default:S.z.enum(["light","dark"]).optional(),isHidden:S.z.boolean().optional()}),P=S.z.object({display:S.z.enum(["section","breadcrumbs"]).optional()}),T=S.z.boolean(),L=S.z.record(S.z.string(),S.z.string().nonempty()),C=S.z.object({mode:S.z.enum(["auto","dark"]).optional()}),M=S.z.object({thumbsRating:S.z.boolean().optional(),suggestEdit:S.z.boolean().optional(),raiseIssue:S.z.boolean().optional()}),R=S.z.object({prompt:S.z.string().optional(),location:S.z.enum(["side","to
1p"]).optional()}),N=S.z.object({source:S.z.string(),destination:S.z.string(),permanent:S.z.boolean().optional()}),U=S.z.array(N).refine(e=>{let t=e.map(e=>e.source);return new Set(t).size===t.length},"Each source path can only be used once"),D=S.z.union([S.z.object({type:S.z.literal("link").optional(),name:S.z.string(),url:S.z.string().nonempty(),style:S.z.enum(["pill","roundedRectangle"]).optional(),arrow:S.z.boolean().optional()}).strict(),S.z.object({type:S.z.literal("github"),url:S.z.string().url("Must be a valid URL").describe("A link to your GitHub repository")}).strict()]).describe('An object containing the configuration for a Call-to-Action button. The object can have { "type": "link" } (the default) if you define a url and a name. For links to your GitHub repo, use { "type": "github" }'),B=S.z.string().url().optional().default("https://mintlify.com/docs.json").describe("The URL of the schema file"),q=e=>{if(!e||"string"!=typeof e)return!1;try{return URL.canParse(e)}catch(e){return!1}};var V=e.i(741790);function W(e){let t=V.default.posix.resolve("/",e).slice(1);return e.endsWith("/")&&t.length>0&&!t.endsWith("/")?t+"/":t}let F=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),$=S.z.object({source:F,directory:S.z.string().trim().optional()}).strict(),G=S.z.union([F,S.z.array(F),$]).describe("A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s)"),H=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),K=S.z.object({source:H,directory:S.z.string().trim().optional(),overlays:S.z.array(H).optional().describe("OpenAPI Overlay documents to apply to the source specification, in order. An empty array disables all overlays for this specification, including auto-discovered ones.")}).strict(),Y=S.z.union([H,S.z.array(S.z.union([H,K])),K]).describe("A string, an array of strings or objects, or an object of absolute or relative urls pointing to the OpenAPI file(s), optionally with OpenAPI Overlay documents to apply"),X=S.z.object({openapi:Y.optional(),asyncapi:G.optional(),params:S.z.object({expanded:S.z.enum(["all","closed"]).optional().describe("The view mode of the API parameters. Defaults to `closed`."),post:S.z.array(S.z.string()).optional().describe("OpenAPI spec field keys to render as post pills on every ParamField. For each key, the field value on the schema is surfaced as a pill (string → verbatim, boolean true → key name, array → one pill per element, object → skipped).")}).optional().describe("Configurations for the API parameters"),playground:S.z.object({display:S.z.enum(["interactive","simple","none","auth"]).optional().describe("The display mode of the API playground. Defaults to `interactive`. Use `auth` to show the playground only to authenticated users."),proxy:S.z.boolean().optional().describe("Whether to pass API requests through a proxy server. Defaults to `true`."),credentials:S.z.boolean().optional().describe("Whether to include cookies/auth for cross-origin requests when proxy is disabled. Defaults to `false`.")}).optional().describe("Configurations for the API playground"),examples:S.z.object({defaults:S.z.enum(["required","all"]).optional().describe("Whether to show only required parameters in the examples, defaults to `all`."),languages:S.z.array(S.z.string()).optional().describe("Example languages for the autogenerated API snippets"),prefill:S.z.boolean().optional().describe("Whether to prefill the API playground with the examples"),autogenerate:S.z.boolean().optional().describe("Whether to generate code samples for API endpoints. Defaults to `true`. If `false`, only manually-written code samples (from either `x-codeSamples` property in the OpenAPI spec or `<RequestExample>` components in the MDX files) will be shown.")}).optional().describe("Configurations for the autogenerated API examples"),url:S.z.enum(["full"]).optional().describe("The display mode of the base URL in the endpoint header. Set to `full` to always show the full base URL on every endpoint page."),mdx:S.z.object({auth:S.z.object({method:S.z.enum(["bearer","basic","key","cobo"]).optional().describe("Authentication method for the API"),name:S.z.string().optional().describe("Authentication name for the API")}).optional().describe("Authentication configuration for the API"),server:S.z.union([S.z.string().url(),S.z.array(S.z.string().url())]).optional().describe("Base URL(s) for the API")}).optional().describe("Configurations for API pages generated from MDX files")}).describe("API reference configuration and playground settings"),J=S.z.object({default:S.z.enum(["system","light","dark"]).optional().describe("The default light/dark mode. Defaults to `system`."),strict:S.z.boolean().optional().describe("Whether to hide the light / dark mode toggle. Defaults to `false`.")}).describe("Light / dark mode toggle settings"),Z=S.z.string().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,"Must be a hex color string, with a leading #"),Q=S.z.object({light:Z.describe("The color in hex format to use in light mode").optional(),dark:Z.describe("The color in hex format to use in dark mode").optional()}).strict(),ee=S.z.object({image:S.z.union([S.z.string().describe("Path or URL pointing to the background image file, including the file extension. Used for both light and dark mode."),S.z.object({light:S.z.string().describe("The file for the light version of the background image used in dar
1k mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the background image used in light mode, including the file extension.")}).describe("The path to the background image. Can be a single file or a pair for light and dark mode.")]).optional().describe("The background image configuration. Can be a single image for both light and dark mode, or separate images for each mode."),decoration:S.z.enum(["gradient","grid","windows"]).optional().describe("The background decoration of the theme"),color:S.z.object({light:Z.describe("The background color in light mode").optional(),dark:Z.describe("The background color in dark mode").optional()}).strict().optional().describe("The colors of the background")}).describe("Background color and decoration settings"),et=S.z.object({content:S.z.string().nonempty().describe("The text content displayed in the banner. Supports basic MDX formatting including links, bold, and italic text. Custom components are not supported."),dismissible:S.z.boolean().optional().describe("Whether to show the dismiss button on the right side of the banner"),type:S.z.enum(["info","warning","critical"]).optional().describe("The visual style of the banner. `info` uses the primary brand color for general announcements. `warning` uses an amber background for cautionary notices (maintenance, deprecations). `critical` uses a red background for urgent notices. Defaults to `info`."),color:Q.optional().describe("Override the banner background color with a custom hex color. Accepts `{ light, dark }` for theme-aware colors. When set, takes precedence over the color implied by `type`. Banner text is white, so choose a dark enough background for legibility.")}).describe("Display an announcement bar across the top of every page. When enabled, the banner is shown with the content you provide."),en=S.z.object({primary:Z.describe("The primary color"),light:Z.optional().describe("The light color. Used primary in dark mode."),dark:Z.optional().describe("The dark color. Used primary in light mode.")}).strict().describe('The colors to use in your documentation. At the very least, you must define the primary color. For example: { "colors": { "primary": "#ff0000" } }.');e.s(["contextualSchema",()=>ef],699510),e.s(["NATIVE_METADATA_TAG_KEYS_SET",()=>er,"contextualDisplayOptions",()=>ei,"contextualOptions",()=>eo],8136);let er=new Set(["title","description","keywords","url","href","noindex","rss","robots","canonical","og:site_name","og:title","og:description","og:url","og:type","og:image","og:image:width","og:image:height","twitter:card","twitter:title","twitter:description","twitter:site","twitter:image","twitter:image:width","twitter:image:height"]),eo=["copy","assistant","view","download-pdf","download-spec","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","add-mcp","cursor","vscode","devin-mcp"],ei=["header","toc"];e.s(["iconTypes",()=>ea],265694);let ea=["brands","duotone","light","regular","sharp-duotone-solid","sharp-light","sharp-regular","sharp-solid","sharp-thin","solid","thin"];e.s(["iconLibraries",()=>es,"isNotDefaultFontawesome",()=>el],750962);let es=["fontawesome","lucide","tabler"];function el(e){return"lucide"===e||"tabler"===e}let ec=S.z.string({invalid_type_error:"Anchor icon must be the name of a Font Awesome, Lucide, or Tabler icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons, https://tabler.io/icons"}).refine(e=>!e.startsWith("fa-"),"Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name"),ep=S.z.union([ec,S.z.object({style:S.z.enum(ea).optional(),name:ec,library:S.z.enum(es).optional()})]).describe("The icon to be displayed in the section"),eu=S.z.object({base:S.z.string(),query:S.z.array(S.z.object({key:S.z.string(),value:S.z.string()})).optional()}),ed=S.z.object({title:S.z.string(),description:S.z.string(),icon:ep.optional(),href:S.z.union([S.z.string(),eu])}).describe("Custom contextual option"),ef=S.z.object({options:S.z.array(S.z.union([S.z.enum
1(eo),ed])).describe("Quick actions surfaced in the page context menu, like copying the page contents or opening it in an AI assistant (ChatGPT, Claude, Cursor, etc.)").refine(e=>new Set(e).size===e.length,{message:"Each contextual option can only appear once"}),display:S.z.enum(ei).optional().default("header").describe("Where to display the contextual options: `header` (default) shows them in the top-of-page context menu, `toc` shows them in the table of contents sidebar.")}).describe("Context menu shown on each documentation page, providing quick actions for copying, viewing source, and opening the page in AI assistants and IDEs"),eh=S.z.string().trim().describe("Overview of the project. Used for SEO and AEO."),eg=S.z.object({404:S.z.object({redirect:S.z.boolean().optional().default(!0).describe("Whether to redirect to the home page, if the page is not found. When false, displays a 404 page."),title:S.z.string().optional().describe("The title of the error page"),description:S.z.string().optional().describe("The description of the error page. Supports MDX formatting including links, bold, italic text, and custom components.")})}).describe("Error pages configuration"),em=S.z.union([S.z.string().describe("Path pointing to the favicon file in your docs folder, including the file extension. The favicon will automatically be resized to the appropriate sizes."),S.z.object({light:S.z.string().describe("The file for the light version of the favicon used in dark mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the favicon used in light mode, including the file extension.")}).describe("The path to the favicon. Can be a single file or a pair for light and dark mode.")]).describe("The favicon configuration. Can be a single image path for both light and dark mode, or separate paths for each mode."),ey=["woff","woff2"],eb=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),ev=S.z.object({family:S.z.string().describe("The font family name. Any [Google Fonts](https://fonts.google.com/) family works out of the box (e.g. `Inter`, `Open Sans`, `Playfair Display`). For a self-hosted font, set `source` and `format` as well."),weight:S.z.number().optional().describe("The font weight. Typically `400` for regular and `700` for bold. Variable fonts support precise weights like `550`."),source:eb.optional().describe("URL or path to a self-hosted font file. Use this when the font is not on Google Fonts. Example: `/fonts/custom.woff2` or `https://cdn.example.com/font.woff2`."),format:S.z.enum(ey).optional().describe("File format of the self-hosted font. Required when `source` is set.")}).refine(e=>!e.source||!!e.format),ez=S.z.union([ev,S.z.object({heading:ev.optional().describe("Font settings applied to all headings (`h1`–`h6`)."),body:ev.optional().describe("Font settings applied to body text and the rest of the page.")}).strict()]).describe("Typography configuration. Use a single set of font settings for the whole site, or split into separate `heading` and `body` fonts.");e.s(["footerSocialKeys",()=>ew],120067);let ew=["x","website","facebook","youtube","discord","slack","github","linkedin","instagram","hacker-news","medium","telegram","twitter","x-twitter","earth-americas","bluesky","threads","reddit","podcast"],ex=["https:"],eE=[".svg",".exe",".zip"];function ej(e){let t=e,n=t.indexOf("#");-1!==n&&0!==n&&(t=t.substring(0,n));try{let e=new URL(t);"/"!==e.pathname&&e.pathname.endsWith("/")&&(e.pathname=e.pathname.replace(/\/+$/,""),t=e.toString())}catch(e){if(!t.startsWith("mailto:")){let e=t.indexOf("?");if(-1!==e){let n=t.substring(0,e),r=t.substring(e);t=(n.length>1&&n.endsWith("/")?n.replace(/\/+$/,""):n)+r}else t.length>1&&t.endsWith("/")&&(t=t.replace(/\/+$/,""))}}return t}let eO=S.z.string().refine(e=>{if(e.startsWith("/")||e.startsWith("#")||e.startsWith("mailto:"))return!0;try{return new URL(e),!0}catch(e){return!1}},{message:"Must be a valid URL or relative path"}).describe("A valid path or external link"),eA=S.z.string().transform(ej).refine(e=>{if(e.startsWith("//"))return!1;if(e.startsWith("/")||e.startsWith("mailto:")||e.startsWith("#"))return!0;try{let t=new URL(e),n=ex.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),o=!eE.some(e=>r.endsWith(e));return n&&o}catch(e){return!1}},{message:"Must be a valid url or relative path."}
1),eS=["https:"],eI=[".svg",".exe",".zip"],e_=S.z.string().url().transform(ej).refine(e=>{try{let t=new URL(e),n=eS.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),o=!eI.some(e=>r.endsWith(e));return n&&o}catch(e){return!1}},{message:"Must be a valid HTTPS URL."}),ek=S.z.object({label:S.z.string().nonempty("Link must have a non-empty label").describe("The label of the link"),href:eA.describe("The url of the link")}),eP=S.z.object({header:S.z.string().nonempty("Column must have a non-empty header").optional().describe("The header title of the column"),items:S.z.array(ek).min(1,"Column must have at least 1 link").describe("The links to be displayed in the column")}),eT=S.z.record(S.z.enum(ew),e_.describe("Must be a valid URL")).describe("An object in which each key is the name of a social media platform, and each value is the url to your profile."),eL=S.z.object({socials:eT.optional(),links:S.z.array(eP).min(1,"A footer must have at least 1 links column").max(4,"A footer can have a maximum of 4 links columns").optional().describe("Enable columns with links to be displayed in the footer")}).describe("Footer configurations"),eC=S.z.object({library:S.z.enum(es).describe("The icon library used for all icon properties. Defaults to `fontawesome`.")}).describe("Icon library settings"),eM=S.z.object({launchUrl:S.z.string().url("Must be a valid URL")}),eR=S.z.object({apiKey:S.z.string()}),eN=S.z.object({publicApiKey:S.z.string()}),eU=S.z.object({siteId:S.z.string()}),eD=S.z.object({measurementId:S.z.string().startsWith("G","Must start with G")}),eB=S.z.object({tagId:S.z.string().startsWith("G","Must start with G")}),eq=S.z.object({hjid:S.z.string(),hjsv:S.z.string()}),eV=S.z.object({publicApiKey:S.z.string().min(2)}),eW=S.z.object({appId:S.z.string()}),eF=S.z.object({projectToken:S.z.string(),region:S.z.enum(["us","eu","in"]).optional()}),e$=S.z.object({id:S.z.string()}),eG=S.z.object({apiKey:S.z.string().startsWith("phc_","Must start with phc_"),apiHost:S.z.string().url("Must be a valid URL").optional(),sessionRecording:S.z.boolean().optional()}),eH=S.z.object({domain:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://"),server:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://").optional()}),eK=S.z.object({appId:S.z.string()}),eY=S.z.object({writeKey:S.z.string(),apiHost:S.z.string().optional()}),eX=S.z.object({projectId:S.z.string()}),eJ=S.z.object({key:S.z.string(),cdnUrl:S.z.string().url().refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{try{let t=new URL(e);return!t.search&&!t.hash}catch(e){return!0}},"Must not contain query parameters or fragments").optional()}),eZ=S.z.object({domainScript:S.z.string().min(1,"Domain script is required"),categoryId:S.z.string().min(1,"Category ID is required").optional(),scriptSource:S.z.string().url("Must be a valid URL").refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").optional()}),eQ=S.z.object({bundleId:S.z.string().trim().regex(/^[a-zA-Z0-9_-]+$/,"Bundle ID must contain only letters, numbers, hyphens, or underscores"),analyticsPurpose:S.z.string().trim().min(1).max(100).optional()}),e0=S.z.object({appId:S.z.string().min(6,"Must be a valid Intercom app ID")}),e1=S.z.object({snippetId:S.z.string().min(6,"Must be a valid Front chat snippet id")}),e2=S.z.object({enabled:S.z.boolean().optional()}),e6=S.z.object({key:S.z.string().optional(),value:S.z.string().optional()}),e5=[".svg",".exe",".zip"];S.z.object({src:S.z.string().url("Must be a valid URL").refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{try{let{pathname:t}=new URL(e),n=decodeURIComponent(t).toLowerCase();return!e5.some(e=>n.endsWith(e))}catch(e){return!1}},"URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)"),strategy:S.z.enum(["beforeInteractive","afterInteractive","lazyOnload"]).optional()});let e3=S.z.object({adobe:eM.optional(),amplitude:eR.optional(),clarity:eX.optional(),clearbit:eN.optional(),fathom:eU.optional(),frontchat:e1.optional(),ga4:eD.optional(),gtm:eB.optional(),heap:eK.optional(),hightouch:eY.optional(),hotjar:eq.optional(),intercom:e0.optional(),koala:eV.optional(),logrocket:eW.optional(),mixpanel:eF.optional(),onetrust:eZ.optional(),pirsch:e$.optional(),posthog:eG.optional(),plausible:eH.optional(),segment:eJ.optional(),telemetry:e2.optional(),cookies:e6.optional(),transcend:eQ.optional()}).strict().describe("Configurations for official integrations"),e4=S.z.object({drilldown:S.z.boolean().optional().describe("Whether to automatically navigate to the first page when navigation groups are expanded")}).describe("Options for how users interact with links in the documentation"),e8=S.z.union([S.z.string().min(3,"Must be a path to your logo file including the file extension").describe("The logo (for both light and dark mode)"),S.z.object({light:S.z.string().describe("The file for the light version of the logo used in dar
1k mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the logo used in light mode, including the file extension."),href:eO.optional().describe("The URL to redirect to when clicking the logo. If not provided, the logo will link to the homepage.")})]).describe("The logo configuration. Can be a single image path for both light and dark mode, or separate paths for each mode with an optional click target URL."),e7=S.z.object({schema:S.z.boolean().optional().describe("Whether to include the full OpenAPI/AsyncAPI specification in API reference pages served as markdown to AI agents. Defaults to true."),instructions:S.z.union([S.z.string(),S.z.array(S.z.string())]).optional().describe("Custom instructions appended to every page served as markdown to AI agents, in addition to Mintlify's default guidance. Use this to provide product-specific directions such as preferred CLIs, workflows, or interaction patterns. Provide a single string or an array of strings (rendered as separate lines).")}).optional().describe("Configuration for markdown pages served to AI agents"),e9=S.z.object({timestamp:S.z.boolean().optional().default(!1).describe("When enabled, all pages will display the date the content was last modified. Default is `false`.")}).optional().describe("Metadata configuration for documentation pages"),te=S.z.string().trim().nonempty().describe("The name of the project"),tt=S.z.object({icon:ep.optional(),href:eO}),tn=tt.extend({label:S.z.string(),type:S.z.string().optional()}),tr=tt.extend({label:S.z.string().optional(),type:S.z.literal("github")}),to=tt.extend({label:S.z.string().optional(),type:S.z.literal("discord")}),ti=S.z.union([tr,to,tn]),ta=S.z.object({type:S.z.literal("button"),label:S.z.string(),href:eO}),ts=S.z.object({type:S.z.literal("github"),label:S.z.string().optional(),href:eO}),tl=S.z.object({type:S.z.literal("discord"),label:S.z.string().optional(),href:eO}),tc=S.z.discriminatedUnion("type",[ta,ts,tl]),tp=S.z.object({links:S.z.array(ti).optional().describe("The links in the navbar"),primary:tc.optional().describe("The primary CTA in the navbar")}).describe("Navbar content and settings"),tu=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{if("https:"!==new URL(e).protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must be a local path or a valid HTTPS URL."}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),td=S.z.object({source:tu,directory:S.z.string().trim().nonempty().transform(W).optional()}).strict(),tf=S.z.union([tu,td]).describe("A local path or HTTPS URL pointing to a GraphQL SDL schema"),th=S.z.never().optional();var tg=e.i(765106);let tm=S.z.enum(tg.SDK_FORMATS).describe("The documentation generator that produced the artifact"),ty=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{if("https:"!==new URL(e).protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must be a local path or a valid HTTPS URL."}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}).describe("Relative path or HTTPS URL of the generator artifact; directory-shaped formats accept a zip (or javadoc jar) when remote"),tb=S.z.object({format:tm,source:ty,directory:S.z.string().trim().nonempty().transform(W).optional()}).strict().describe("Generate SDK reference pages from a documentation generator artifact"),tv=S.z.never().optional(),tz=S.z.boolean().describe("Whether the current option is default hidden"),tw=S.z.union([S.z.string(),S.z.record(S.z.string(),S.z.string()).refine(e=>1===Object.keys(e).length,{message:"Related page title entries must contain exactly one link"})]),tx=S.z.union([S.z.literal(!1),S.z.array(tw)]),tE=S.z.string().nonempty().transform(W).describe("A page in the navigation. Referenced by the path to the page. Example: path/to/page."),tj=S.z.object({href:S.z.string(),title:S.z.string(),sidebarTitle:S.z.string().optional(),description:S.z.string().optional(),canonical:S.z.string().optional(),"og:title":S.z.string().optional(),"og:url":S.z.string().optional(),api:S.z.string().optional(),openapi:S.z.string().optional(),asyncapi:S.z.string().optional(),graphql:S.z.object({source:S.z.string(),kind:S.z.enum(["query","mutation","type"]),name:S.z.string()}).optional(),contentType:S.z.string().optional(),authMethod:S.z.string().optional(),auth:S.z.string().optional(),version:S.z.string().optional(),mode:S.z.string().optional(),hideFooterPagination:S.z.boolean().optional(),authors:S.z.unknown().optional(),lastUpdatedDate:S.z.string().optional(),createdDate:S.z.string().optional(),"openapi-schema":S.z.string().optional(),icon:ep.optional(),iconType:S.z.enum(ea).optional().describe("Deprecated, use icon instead"),tag:S.z.string().optional(),url:S.z.string().optional(),hideApiMarker:S.z.boolean().optional(),noindex:S.z.boolean().optional(),searchable:S.z.boolean().optional(),isPublic:S.z.boolean().optional(),public:S.z.boolean().optional(),boost:S.z.number().optional(),deprecated:S.z.boolean().optional(),hidden:S.z.boolean().optional(),groups:S.z.array(S.z.string()).optional(),robots:S.z.string().optional(),playground:S.z.enum(["interactive","simple","none","auth"]).optional(),keywords:S.z.array(S.z.string()).optional(),timestamp:S.z.boolean().optional(),related:tx.optional(),contextual:ef.optional()}).passthrough().describe("page metadata tags in the navigation"),tO=S.z.boolean().describe("When true on a hidden tab or group, descendant pages remain indexed for search, sitemap, AI assistant, and llms.txt despite being hidden from the rendered navigation. Has no effect when hidden is false."),tA=S.z.lazy(()=>S.z.union([tE,tC])),tS=S.z.lazy(()=>S.z.union([tj,tM])),tI=S.z.array(tA).describe("An array of page paths or groups"),t_=S.z.array(tS).describe("An array of page metadata or groups");var tk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let tP={directory:S.z.enum(["none","accordion","card"]).optional().describe('Directory layout for this navigation node and its desce
1ndants. "accordion" and "card" show automatic directory UI on eligible root pages; "none" disables it. Inherits recursively; descendants can override.')},tT=S.z.object(Object.assign({group:S.z.string().nonempty().describe("The name of the group"),graphql:th,sdk:tv,public:S.z.boolean().optional().describe("Whether the group is public"),boost:S.z.number().optional().describe("Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),root:tE.optional(),tag:S.z.string().optional().describe("Tag for the group"),expanded:S.z.boolean().optional().describe("Whether the group is expanded by default")},tP)),tL=e=>e.optional().catch(void 0),tC=tT.extend({sdk:tb.optional(),openapi:tL(Y),asyncapi:tL(G).describe("A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s). Ignored when openapi is also set"),pages:S.z.lazy(()=>tI).default([])}).transform(e=>{if(void 0===e.openapi||void 0===e.asyncapi)return e;let{asyncapi:t}=e;return tk(e,["asyncapi"])}).describe("Organizing by groups"),tM=S.z.object(Object.assign({group:S.z.string().nonempty().describe("The name of the group"),public:S.z.boolean().optional().describe("Whether the group is public"),boost:S.z.number().optional().describe("Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),root:tj.optional(),pages:S.z.lazy(()=>t_),tag:S.z.string().optional().describe("Tag for the group"),expanded:S.z.boolean().optional().describe("Whether the group is expanded by default")},tP)).describe("Organizing by groups"),tR=S.z.array(tC).min(1,"At least one group must be specified").describe("Organizing by groups"),tN=S.z.array(tM).min(1,"At least one group must be specified").describe("Organizing by groups"),tU=S.z.object(Object.assign({version:S.z.string().nonempty().describe("The name of the version"),graphql:th,sdk:tv,default:S.z.boolean().optional().describe("Whether this version is the default version"),tag:S.z.string().optional().describe("Tag for the version"),hidden:tz.optional()},tP)),tD=tU.extend({href:eO}),tB=S.z.union([tU.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tq=tU.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),tV=S.z.array(tB).min(1,"At least one version must be specified").describe("Organizing by versions"),tW=S.z.array(tq).min(1,"At least one version must be specified").describe("Organizing by versions"),tF=S.z.enum(["start","end"]).describe("Tab alignment in the navigation"),t$=S.z.object(Object.assign({tab:S.z.string().nonempty().describe("The name of the tab"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),align:tF.optional()},tP)),tG=t$.extend({href:eO,graphql:th,sdk:tv}),tH=S.z.union([t$.extend({graphql:tf}).strict(),t$.extend({groups:S.z.lazy(()=>tR),graphql:tf}).strict(),t$.extend({sdk:tb}).strict(),t$.extend({groups:S.z.lazy(()=>tR),sdk:tb}).strict(),t$.extend({href:eO,graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({languages:S.z.lazy(()=>nn),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({versions:S.z.lazy(()=>tV),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({dropdowns:S.z.lazy(()=>nc),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({anchors:S.z.lazy(()=>ng),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({products:S.z.lazy(()=>t3),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({groups:S.z.lazy(()=>tR),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({pages:S.z.lazy(()=>tI),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({menu:S.z.lazy(()=>t0),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tK=t$.and(S.z.object({graphql:th,sdk:tv})).and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()})),S.z.lazy(()=>S.z.object({menu:t1,global:no.optional()}))])),tY=S.z.array(tH).min(1,"At least one tab must be specified").describe("Organizing b
1y tabs"),tX=S.z.array(tK).min(1,"At least one tab must be specified").describe("Organizing by tabs"),tJ=S.z.object(Object.assign({item:S.z.string().nonempty().describe("The name of the menu item"),graphql:th,sdk:tv,icon:ep.optional(),description:S.z.string().optional().describe("The description of the menu item"),hidden:tz.optional()},tP));tJ.extend({href:eO});let tZ=S.z.union([tJ.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tQ=tJ.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),t0=S.z.array(tZ).describe("Organizing by menu"),t1=S.z.array(tQ).min(1,"At least one menu item must be specified").describe("Organizing by menu"),t2=S.z.object(Object.assign({product:S.z.string().nonempty().describe("The name of the product"),graphql:th,sdk:tv,name:S.z.string().optional().describe("Display name for the product"),icon:ep.optional(),color:Q.optional(),description:S.z.string().optional().describe("The description of the product"),hidden:tz.optional()},tP)),t6=S.z.union([t2.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({menu:S.z.lazy(()=>t0),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),t5=t2.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()})),S.z.lazy(()=>S.z.object({menu:t1,global:no.optional()}
1))])),t3=S.z.array(t6).describe("Organizing by products"),t4=S.z.array(t5).min(1,"At least one product must be specified").describe("Organizing by products"),t8=t2.extend({href:eO}),t7=S.z.object(Object.assign({language:S.z.enum(["en","cn","zh","zh-Hans","zh-Hant","zh-CN","zh-TW","es","fr","fr-CA","fr-ca","ja","jp","ja-jp","ja-JP","pt","pt-BR","de","ko","it","ru","ro","cs","id","ar","tr","hi","sv","no","da","lv","nl","uk","vi","pl","uz","he","ca","fi","hu"]).describe("The name of the language in the ISO 639-1 format"),graphql:th,sdk:tv,default:S.z.boolean().optional().describe("Whether this language is the default language"),banner:et.optional().describe("Banner configuration specific to this language"),footer:eL.optional().describe("Footer configuration specific to this language"),navbar:tp.optional().describe("Navbar configuration specific to this language"),hidden:tz.optional()},tP)),t9=t7.extend({href:eO}),ne=S.z.union([t7.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]).describe("Organizing by languages"),nt=t7.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])).describe("Organizing by languages"),nn=S.z.array(ne).min(1,"At least one language must be specified").describe("Organizing by languages"),nr=S.z.array(nt).min(1,"At least one language must be specified").describe("Organizing by languages"),no=S.z.lazy(()=>S.z.object({languages:S.z.array(t9).optional(),versions:S.z.array(tD).optional(),tabs:S.z.array(tG).optional(),dropdowns:S.z.array(na).optional(),anchors:S.z.array(nd).optional(),products:S.z.array(t8).optional()}).strict()).describe("Add external links that will appear on all sections and pages irregardless of navigation nesting"),ni=S.z.object(Object.assign({dropdown:S.z.string().nonempty().describe("The name of the dropdown"),graphql:th,sdk:tv,icon:ep.optional(),color:Q.optional(),description:S.z.string().optional().describe("The description of the dropdown"),hidden:tz.optional()},tP)),na=ni.extend({href:eO}),ns=S.z.union([ni.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),nl=ni.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}
1))])),nc=S.z.array(ns).describe("Organizing by dropdowns"),np=S.z.array(nl).min(1,"At least one dropdown must be specified").describe("Organizing by dropdowns"),nu=S.z.object(Object.assign({anchor:S.z.string().nonempty().describe("The name of the anchor"),graphql:th,sdk:tv,icon:ep.optional(),color:Q.optional(),hidden:tz.optional()},tP)),nd=nu.extend({href:eO}),nf=S.z.union([nu.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no.optional())}),nu.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({groups:S.z.lazy(()=>tR),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),nh=nu.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),ng=S.z.array(nf).min(1,"At least one anchor must be specified").describe("Organizing by anchors"),nm=S.z.array(nh).describe("Organizing by anchors"),ny=S.z.object(Object.assign({global:no.optional(),graphql:th,sdk:tv},tP)),nb=S.z.union([ny.extend({products:t3}),ny.extend({languages:nn}),ny.extend({versions:tV}),ny.extend({tabs:tY}),ny.extend({dropdowns:nc}),ny.extend({anchors:ng}),ny.extend({groups:tR}),ny.extend({pages:tI})]).describe("The navigation structure of the content");S.z.union([S.z.object({products:t4}),S.z.object({languages:nr}),S.z.object({versions:tW}),S.z.object({tabs:tX}),S.z.object({dropdowns:np}),S.z.object({anchors:nm}),S.z.object({groups:tN}),S.z.object({pages:t_})]).and(S.z.object(Object.assign({global:no.optional()},tP))).describe("The navigation structure of the content");let nv=S.z.boolean().describe("Whether the documentation is publicly accessible by default"),nz=S.z.object({prompt:S.z.string().optional().describe("The prompt to be displayed in the search bar placeholder")}).describe("Search display settings"),nw=S.z.record(S.z.string(),S.z.string().nonempty()).optional().describe("Meta tags added to every page. Must be a valid key-value pair."),nx=/^[^\s/\\?#]+$/,nE=S.z.object({path:S.z.string().nonempty().refine(function(e){return e.split("/").every(e=>nx.test(e)&&"."!==e&&".."!==e)},"Must be a slash-delimited folder path relative to the docs root, e.g. `guides/v2`. Each segment must be non-empty and must not be `.` or `..`, and the path must not start or end with a slash or contain whitespace, backslashes, `?`, or `#`.").describe("Folder path relative to the docs root, e.g. `guides/v2`. Applies to every page under that folder."),metatags:S.z.record(S.z.string(),S.z.string().nonempty()).describe("Meta tags added to every page under `path`. Must be a valid key-value pair.")}),nj=S.z.array(nE).refine(e=>{let t=e.map(e=>e.path);return new Set(t).size===t.length},"Each path can only be used once").describe("Meta tags scoped to a folder. Longer paths override shorter ones, which override `metatags`. Page frontmatter overrides both."),nO=S.z.object({id:S.z.string().url().optional().describe("Stable `@id` URL identifying your organization across pages, e.g. `https://example.com/#organization`. Defaults to `<site origin>/#organization`."),name:S.z.string().nonempty().optional().describe("Organization name. Defaults to the site name."),legalName:S.z.string().nonempty().optional().describe("Registered legal name."),url:S.z.string().url().optional().describe("Canonical organization homepage URL."),logo:S.z.string().url().optional().describe("Canonical logo URL used in structured data. Defaults to the docs logo."),sameAs:S.z.array(S.z.string().url()).optional().describe("URLs of official profiles, e.g. X, LinkedIn, GitHub.")}).describe("Organization entity emitted in structured data (JSON-LD) on every page."),nA=S.z.object({metatags:nw.optional(),paths:nj.optional(),organization:nO.optional(),indexing:S.z.enum(["navigable","all"]).optional().describe("Specify which pages to be indexed by search engines. Setting `navigable` indexes pages that are set in navigation, `all` indexes all pages. Defaults to `navigable`."),trailingSlash:S.z.boolean().optional().describe("Emit trailing-slash URLs consistently across canonical tags, `og:url`, the sitemap, and generated internal links. Does not change page routes. Defaults to `false`.")}).describe("SEO indexing configurations");var nS=e.i(505288);let nI=S.z.object({custom:S.z.array(S.z.string().describe("Path (absolute or relative) to a JSON file describing a custom Shiki language")).optional()}).describe("Custom language configuration for codeblocks"),n_=S.z.object({eyebrows:S.z.enum(["section","breadcrumbs"]).optional().describe("The eyebrows style of the content. Defaults to `section`."),codeblocks:S.z.union([S.z.enum
1(["system","dark"]).optional().describe("Match the docs light/dark mode with `system`, or always use a dark theme with `dark`."),S.z.object({theme:S.z.union([S.z.enum(nS.SHIKI_THEMES),S.z.object({light:S.z.enum(nS.SHIKI_THEMES),dark:S.z.enum(nS.SHIKI_THEMES)})]).optional(),languages:nI.optional()}).describe("Pick a custom Shiki theme. Use a single theme for both modes, or set separate light/dark themes.")]).describe('The codeblock theme configuration. Defaults to `system`. To use a built-in shiki theme, add the theme name as "theme" in the object. To use different shiki themes for light and dark modes, add "themes" in the object with "dark" and "light" keys.'),latex:S.z.boolean().optional().describe("Whether to load LaTeX stylesheets")}).describe("Styling configurations");!function(e){e.Light="light",e.Dark="dark"}(t||(t={}));let nk=S.z.object({family:S.z.string().describe('The font family, such as "Open Sans", "Playfair Display"')}).describe("The font to be used for thumbnails. Only family name is supported for Google Fonts."),nP=S.z.object({appearance:S.z.enum([t.Light,t.Dark]).optional().describe("Whether to render page thumbnails in light or dark mode. When unset, thumbnails are auto-generated from your theme colors."),background:S.z.string().optional().describe("Background image for the thumbnail. Can be an absolute URL or relative path."),fonts:nk.optional()}),nT=S.z.record(S.z.string(),S.z.string()).describe("Set of custom variables that can be re-used throughout the content"),nL={$schema:B,name:te,public:nv.optional(),description:eh.optional(),colors:en,logo:e8.optional(),favicon:em.optional(),api:X.optional(),appearance:J.optional(),background:ee.optional(),navbar:tp.optional(),navigation:nb,footer:eL.optional(),search:nz.optional(),seo:nA.optional(),fonts:ez.optional(),icons:eC.optional(),styling:n_.optional(),redirects:U.optional(),integrations:e3.optional(),banner:et.optional(),errors:eg.optional(),contextual:ef.optional(),thumbnails:nP.optional(),interaction:e4.optional(),metadata:e9.optional(),variables:nT.optional(),markdown:e7.optional()},nC=S.z.enum(["mint","maple","palm","willow","linden","almond","aspen","luma","sequoia"]).describe("Visual theme for the site. Learn more in [available themes](https://www.mintlify.com/docs/themes)."),nM=S.z.object(Object.assign({theme:S.z.literal(nC.enum.almond)},nL)),nR=S.z.object(Object.assign({theme:S.z.literal(nC.enum.aspen)},nL)),nN=S.z.object(Object.assign({theme:S.z.literal(nC.enum.linden)},nL)),nU=S.z.object(Object.assign({theme:S.z.literal(nC.enum.luma)},nL)),nD=S.z.object(Object.assign({theme:S.z.literal(nC.enum.maple)},nL)),nB=S.z.object(Object.assign({theme:S.z.literal(nC.enum.mint)},nL)),nq=S.z.object(Object.assign({theme:S.z.literal(nC.enum.palm)},nL)),nV=S.z.object(Object.assign({theme:S.z.literal(nC.enum.sequoia)},nL)),nW=S.z.object({id:S.z.string().trim().nonempty().describe("Stable identifier for the variation"),label:S.z.string().trim().nonempty().describe("Display label for the variation")}).describe("A documentation content variation"),nF=S.z.object({options:S.z.array(nW).min(1,"At least one variation option must be specified").describe("Variation options in display order. The first option is the default.")}).superRefine(({options:e},t)=>{let n=new Set;e.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:S.z.ZodIssueCode.custom,message:`Variation id "${e.id}" is duplicated. Variation ids must be unique.`,path:["options",r,"id"]}),n.add(e.id)})}).describe("Documentation content variations"),n$=S.z.object(Object.assign(Object.assign({theme:S.z.literal(nC.enum.willow)},nL),{variations:nF.optional()})),nG=S.z.discriminatedUnion("theme",[nB,nD,nq,n$,nN,nM,nR,nU,nV]),nH=S.z.object(Object.assign({theme:nC},nL)),nK=(e,t)=>{switch(e.code){case"invalid_type":if("undefined"===e.received)return{message:"This field is required"};return{message:`Invalid type. Expected field to be of type '${e.expected}', received '${e.received}'`};case"invalid_union":return{message:"Invalid type. Field did not match any types in union"}}return{message:t.defaultError}},nY=S.z.object({launchUrl:S.z.string().url("Must be a valid URL")}),nX=S.z.object({apiKey:S.z.string()}),nJ=S.z.object({publicApiKey:S.z.string()}),nZ=S.z.object({siteId:S.z.string()}),nQ=S.z.object({measurementId:S.z.string().startsWith("G","Must start with G")}),n0=S.z.object({tagId:S.z.string().startsWith("G","Must start with G")}),n1=S.z.object({hjid:S.z.string(),hjsv:S.z.string()}),n2=S.z.object({publicApiKey:S.z.string().min(2)}),n6=S.z.object({appId:S.z.string()}),n5=S.z.object({projectToken:S.z.string(),region:S.z.enum(["us","eu","in"]).optional()}),n3=S.z.object({id:S.z.string()}),n4=S.z.object({apiKey:S.z.string().startsWith("phc_","Must start with phc_"),apiHost:S.z.string().url("Must be a valid URL").optional(),sessionRecording:S.z.boolean().optional()}),n8=S.z.object({domain:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://"),server:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://").optional()}),n7=S.z.object({appId:S.z.string()}
1),n9=S.z.object({writeKey:S.z.string(),apiHost:S.z.string().optional()}),re=S.z.object({projectId:S.z.string()}),rt=S.z.object({key:S.z.string(),cdnUrl:S.z.string().url().refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{let t=new URL(e);return!t.search&&!t.hash},"Must not contain query parameters or fragments").optional()}),rn=S.z.object({adobe:nY.optional(),amplitude:nX.optional(),clarity:re.optional(),clearbit:nJ.optional(),fathom:nZ.optional(),ga4:nQ.optional(),gtm:n0.optional(),heap:n7.optional(),hightouch:n9.optional(),hotjar:n1.optional(),koala:n2.optional(),logrocket:n6.optional(),mixpanel:n5.optional(),pirsch:n3.optional(),posthog:n4.optional(),plausible:n8.optional(),segment:rt.optional()}).strict("Mintlify only supports analytics integrations from: adobe, amplitude, clarity, clearbit, fathom, ga4, gtm, heap, hotjar, koala, logrocket, mixpanel, pirsch, posthog, plausible, and segment."),rr=S.z.string().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,"Must be a hex color string, with a leading #"),ro=S.z.object({from:rr,via:rr.optional(),to:rr}),ri=S.z.union([rr,ro.strict()]),ra=S.z.string().trim().nonempty().refine(e=>e.startsWith("/")||e.startsWith("https:")||e.startsWith("http:"),"File path must start with '/' or 'https://'. Urls with 'http://' are only supported with cli option --local-schema").optional(),rs=S.z.object({name:S.z.string().trim().nonempty(),url:S.z.string().trim().nonempty(),icon:S.z.string({invalid_type_error:"Anchor icon must be the name of a Font Awesome, Lucide, or Tabler icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons, https://tabler.io/icons"}).refine(e=>!e.startsWith("fa-"),"Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name").optional(),iconType:S.z.enum(ea).optional(),color:ri.optional(),isDefaultHidden:S.z.boolean().optional(),version:S.z.string({invalid_type_error:"Version must be a string in the #.versions array"}).optional(),openapi:ra}),rl=S.z.object({name:S.z.string(),icon:S.z.string().optional(),iconType:S.z.enum(ea).optional()}).strict();e.s(["apiParamFieldOptions",()=>rc,"requestExampleLanguages",()=>rp],127250);let rc=["all","topLevel","topLevelOneOfs","none"],rp=["bash","python","javascript","php","go","java","ruby"],ru=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),rd=S.z.union([ru,S.z.array(ru)]).describe("A string or an array of strings of absolute or relative urls pointing to your OpenAPI files"),rf=S.z.object({baseUrl:S.z.union([S.z.string().url(),S.z.array(S.z.string().url())]).optional(),auth:S.z.object({method:S.z.enum(["bearer","basic","key","cobo"]).optional(),name:S.z.string().optional(),inputPrefix:S.z.string().optional()}).strict().optional(),playground:S.z.object({mode:S.z.enum(["show","simple","hide"]).optional().default("show"),disableProxy:S.z.boolean().optional()}).optional(),request:S.z.object({example:S.z.object({showOptionalParams:S.z.boolean().optional(),languages:S.z.array(S.z.union([S.z.enum(rp),S.z.string()])).optional()}).optional()}).optional(),maintainOrder:S.z.boolean().optional(),paramFields:S.z.object({expanded:S.z.enum(rc).optional(),post:S.z.array(S.z.string()).optional()}).optional()}).strict(),rh=S.z.object({style:S.z.enum(["gradient","grid","windows"]).optional()}),rg=S.z.object({primary:rr,light:rr.optional(),dark:rr.optional(),background:S.z.object({light:rr.optional(),dark:rr.optional()}).optional(),anchors:ri.optional(),ultraLight:S.z.any().optional(),ultraDark:S.z.any().optional()}).strict().describe('The colors to use in your documentation. At the very least, you must define the primary color. For example: { "colors": { "primary": "#ff0000" } }'),rm=S.z.string().describe("A path pointing to the favicon file in your docs folder, including the file extension. We recommend using an .svg or .png file. The favicon will automatically be resized to the appropriate sizes. You can also include a URL, but browser support may be limited for file extensions other than PNG"),ry=S.z.object({family:S.z.string().describe('The font family, such as "Open Sans", "Playfair Display"'),weight:S.z.number().optional().describe("The font weight, such as 400, 700. Precise font weights such as 550 are supported for variable fonts."),url:S.z.string().url().optional().describe("The font url, such as https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2"),format:S.z.enum(ey).optional().describe("The font format, can be one of woff, woff2")}).refine(e=>!e.url||!!e.format),rb=S.z.union([ry,S.z.object({headings:ry.optional(),body:ry.optional()}).strict()]),rv=S.z.object({label:S.z.string().nonempty("Link must have a non-empty label"),url:S.z.union([S.z.string().url("Must be a valid URL"),S.z.string().startsWith("/","Must be a valid relative url starting with /")])}),rz=S.z.object({title:S.z.string().nonempty("Column must have a non-empty title").optional(),links:S.z.array(rv).min(1,"Column must have at least 1 link")}),rw=S.z.union([S.z.record(S.z.enum(ew),S.z.string().url("Must be a valid URL")),S.z.array(S.z.object({type:S.z.enum(ew),url:S.z.string().url("Must be a valid URL")}))]).describe('An object in which each key is the name of a social media platform, and each value is the url to your profile. For example: { "x": "https://x.com/mintlify" }'),rx=S.z.object({socials:rw.optional(),links:S.z.array(rz).min(1,"A footer must have at least 1 links column").max(4,"A footer can have a maximum of 4 links columns").optional()}),rE=S.z.string().min(6,"Must be a valid Intercom app ID"),rj=S.z.string().min(6,"Must be a valid Front chat snippet id"),rO=S.z.object({intercom:rE.optional(),frontchat:rj.optional()}),rA=S.z.object({group:S.z.string().describe("The label for this group in the navigation sidebar"),public:S.z.boolean().optional().describe("Whether this group is public or not"),icon:S.z.string().optional(),iconType:S.z.enum(ea).optional(),version:S.z.string().optional()}).strict().extend({pages:S.z.lazy(()=>S.z.array(S.z.union([rA,S.z.string().nonempty().transform(W)])).nonempty())}),rS=S.z.array(rA).min(1),rI=S.z.object({indexHiddenPages:S.z.boolean().optional()}),r_=S.z.object({items:S.z.enum(["container","card","border","undecorated"]).optional()}),rk=S.z.object({name:S.z.string().trim().nonempty(),url:S.z.string().trim().nonempty(),version:S.z.string().optional(),isDefaultHidden:S.z.boolean().optional(),openapi:ra}).array(),rP=S.z.object({name:S.z.string(),isDefaultHidden:S.z.boolean().optional()}).strict(),rT=S.z.object({style:S.z.enum(["gradient","default"]).optional()});var rL=e.i(713238);let rC=S.z.union([S.z.string(),S.z.object({name:S.z.string().nonempty(),url:S.z.string().url().nonempty().optional(),default:S.z.literal(!0).optional(),locale:S.z.enum(rL.locales).optional()}).strict()]),rM=S.z.array(rC).min(1).refine(e=>e.filter(e=>"object"==typeof e&&e.default).length<=1,"Only one version can be set as default");function rR(){try{return window.sessionStorage.getItem("test"),!1}catch{return!0}}function rN(){return window.location.ancestorOrigins[0]||window.location.origin}S.z.object({$schema:S.z.string().url().optional().default("https://mintlify.com/schema.json"),mintlify:S.z.string().optional(),name:I,logo:_.optional(),theme:S.z.enum(["venus","quill","prism"]).optional(),layout:S.z.enum(["topnav","sidenav","solidSidenav"]).optional(),favicon:rm,openapi:rd.optional(),topbar:rT.optional(),sidebar:r_.optional(),roun
1ded:S.z.enum(["default","sharp"]).optional(),api:rf.optional(),modeToggle:k.optional(),versions:rM.optional(),metadata:L.optional(),codeBlock:C.optional(),colors:rg,eyebrow:P.optional(),topbarCtaButton:D.optional(),topbarLinks:D.array().optional(),navigation:rS,primaryTab:rP.optional(),topAnchor:rl.optional(),anchors:rs.array().optional(),tabs:rk.optional(),footer:rx.optional(),background:rh.optional(),backgroundImage:S.z.string().optional(),font:rb.optional(),feedback:M.optional(),analytics:rn.optional(),integrations:rO.optional(),isWhiteLabeled:T.optional(),search:R.optional(),redirects:U.optional(),seo:rI.optional(),footerSocials:rw.optional()}),S.z.object({sourceRef:S.z.string().nonempty().describe("The mount path of the git source to inline")}).describe("Reference to a git source navigation section").strict(),e.s(["getItem",()=>rU,"getItemAsync",()=>rD,"removeItem",()=>rq,"setItem",()=>rB],322986);let rU=e=>rR()?null:window.sessionStorage.getItem(e),rD=async e=>{if(rR())return new Promise(t=>{let n=Math.random().toString(36).substring(7),r=e=>{w.includes(e.origin)&&e.data?.type===h&&e.data?.requestId===n&&(window.removeEventListener("message",r),t(e.data.value))};window.addEventListener("message",r),setTimeout(()=>{window.removeEventListener("message",r),t(null)},5e3),window.parent.postMessage({type:f,key:e,requestId:n},rN())});return window.sessionStorage.getItem(e)},rB=(e,t)=>{if(rR())return void window.parent.postMessage({type:g,key:e,value:t},rN());window.sessionStorage.setItem(e,t)},rq=e=>{if(rR())return void window.parent.postMessage({type:m,key:e},rN());window.sessionStorage.removeItem(e)};var rV=e.i(898892),rW=e.i(618566),rF=e.i(271645);function r$(e){return"object"==typeof e&&null!==e&&"path"in e&&"dataUrl"in e&&"string"==typeof e.path&&"string"==typeof e.dataUrl}function rG({src:e,isLivePreview:t,liveMedia:n}){return e&&t&&n.has(e)?n.get(e):e}function rH(e,t){if(!Array.isArray(t))return e;let n=e;for(let r of t)r$(r)&&n.get(r.path)!==r.dataUrl&&(n===e&&(n=new Map(e)),n.set(r.path,r.dataUrl));return n}function rK(e){let t=new Map,n=new Map,r=()=>{for(let e of t.keys())e.isConnected||t.delete(e);let r=Array.from(document.querySelectorAll("style[data-custom-css-path]"));for(let n of r){let r=n.dataset.customCssPath?.replace(/^\/+/,"");r&&e.has(r)&&(t.has(n)||t.set(n,n.media),n.media="not all")}let o=r.at(-1)??null;for(let[t,i]of e){if(null===i)continue;let e=n.get(t);e||((e=document.createElement("style")).dataset.livePreviewCssPath=t,n.set(t,e)),e.textContent!==i&&(e.textContent=i);let a=r.filter(e=>e.dataset.customCssPath?.replace(/^\/+/,"")===t),s=a.at(-1)??o;s?(e.parentElement!==s.parentElement||s.nextElementSibling!==e)&&s.insertAdjacentElement("afterend",e):e.isConnected||(document.body??document.head).appendChild(e),0===a.length&&(o=e)}};r();let o=new MutationObserver(e=>{e.some(e=>[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches("style[data-custom-css-path]")||null!==e.querySelector("style[data-custom-css-path]"))))&&r()});return o.observe(document.documentElement,{childList:!0,subtree:!0}),()=>{for(let[e,n]of(o.disconnect(),t))e.media=n;for(let e of n.values())e.remove()}}function rY(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function rX(e){return"string"==typeof e?.pageId&&e.pageId.length>0?e.pageId:void 0}function rJ(e,t){let n=rX(t);return{type:O.LIVE_PREVIEW_REQUEST_CONTENT_MESSAGE_TYPE,path:e,...n?{pageId:n}:{}}}function rZ(){return window.location.pathname.includes(s)}function rQ(){let e=Array.from(window.location.ancestorOrigins??[]).find(e=>z(e))??null;if(e)return e;try{let e=document.referrer;if(e){let t=new URL(e).origin;if(z(t))return t}}catch{}return null===r1()?null:r6()[0]??null}function r0(){return null!==rQ()}function r1(){if(window.parent!==window)return window.parent;try{if(window.opener&&!window.opener.closed)return window.opener}catch{}return null}function r2(e,t){return null!==t&&e.source===t}function r6(){let e=[...b];try{let t=document.referrer;if(t){let n=new URL(t).origin;z(n)&&!e.includes(n)&&e.unshift(n)}}catch{}for(let t of Array.from(window.location.ancestorOrigins??[]))z(t)&&!e.includes(t)&&e.unshift(t);return e}function r5(e,t){return Array.isArray(e)?new Set(e.filter(e=>"string"==typeof e).map(e=>A(e,t))):new Set}function r3(e,t,n){let r=e.split(/[?#]/)[0]??"";return t.has(A(r,n))}function r4({href:e,isLivePreview:t,isLivePreviewRoutePrefix:n,newPathsKnown:r,newPreviewPaths:o,basePath:i}){return t&&(n||!r||r3(e,o,i))?E(e):e}function r8(e){return rY(e)&&"string"==typeof e.compiledSource&&rY(e.frontmatter)&&rY(e.scope)}let r7=(0,rF.createContext)({isLivePreview:!1,livePreviewUpdateId:null,compiledVersion:0,docsConfigVersion:0,navigationVersion:0,getDocsConfigOverrides:()=>void 0,getNavigationOverride:()=>void 0,clearDocsConfigOverrides:()=>{},liveMedia:new Map,compiledContent:new Map,getCompiledContent:()=>void 0,liveMetadata:new Map,liveMdxExtracts:new Map,getMdxExtracts:()=>void 0,loadingPaths:new Set,isPathLoading:()=>!1,newPreviewPaths:new Set,isNewPreviewPath:()=>!1,getLivePreviewHref:e=>e,currentPreviewPath:void 0,navigateWithinLivePreview:()=>!1,requestContentEarly:()=>{},basePath:""});function r9(){try{let e=new URL(window.location.href);return"true"===e.searchParams.get(l)||rZ()}catch{return!1}}function oe(){return r9()?new Set([A(x(window.location.pathname))]):new Set}function ot({children:e,isLivePreviewRoute:t=!1}){let r=(0,rW.useRouter)(),[o,f]=(0,rF.useState)(r9),[h,g]=(0,rF.useState)(!1),[m,y]=(0,rF.useState)(!1),[b,v]=(0,rF.useState)(r0),w=(0,rF.useMemo)(()=>t||o||h||m&&b,[b,t,h,m,o]);(0,rF.useRef)(w).current=w;let[E,I]=(0,rF.useState)(0),[_,k]=(0,rF.useState)(0),[P,T]=(0,rF.useState)(0),L=(0,rF.useMemo)(()=>`${_}-${P}-${E}`,[E,_,P]),[C,M]=(0,rF.useState)(void 0),R=(0,rF.useRef)(C),[N,U]=(0,rF.useState)(new Map),D=(0,rF.useRef)(N);D.current=N;let[B,q]=(0,rF.useState)(new Map),[V,W]=(0,rF.useState)(new Map),F=(0,rF.useRef)(V),[$,G]=(0,rF.useState)(new Map),H=(0,rF.useMemo)(()=>{let e=new Map($);for(let[t,n]of V)e.set(t,n);return e},[$,V]),K=(0,rF.useRef)(H),[Y,X]=(0,rF.useState)(new Map),[J,Z]=(0,rF.useState)(void 0),Q=(0,rF.useRef)(J),[ee,et]=(0,rF.useState)(oe),[en,er]=(0,rF.useState)(new Set),[eo,ei]=(0,rF.useState)(!1),ea=(0,rF.useRef)(en);ea.current=en;let es=(0,rF.useRef)(eo);es.current=eo;let[el,ec]=(0,rF.useState)(new Map),[ep,eu]=(0,rF.useState)(()=>(0,O.normalizeLivePreviewBasePath)(j.NEXT_PUBLIC.BASE_PATH)),[ed,ef]=(0,rF.useState)(()=>A(x(window.location.pathname))),eh=(0,rF.useRef)(ep),eg=(0,rF.useRef)(new Map),em=(0,rF.useRef)(-1),ey=(0,rF.useRef)(null),eb=(0,rF.useRef)(null),ev=(0,rF.useRef)(new Map),ez=(0,rF.useRef)(new Set),ew=(0,rF.useCallback)(e=>{let t=A(e,eh.current);et(e=>{let n=new Set(e);return n.add(t),n})},[]),ex=(0,rF.useCallback)(e=>{let t=A(e,eh.current),n=eg.current.get(t);n&&(clearTimeout(n),eg.current.delete(t)),et(e=>{let n=new Set(e);return n.delete(t),n})},[]),eE=(0,rF.useCallback)(e=>{ew(A(e,eh.current))},[ew]),ej=(0,rF.useCallback)(e=>{if(!w)return;let t=e.split(/[?#]/)[0]??"";if(!t.startsWith("/"))return;let n=rQ(),r=r1();if(!n||!r)return;let o=x(t),i=A(o,eh.current);if(i===eb.current)return;eb.current=i,eE(o);let a=K.current.get(i);r.postMessage(rJ(i,a),n)},[w,eE]),eO=(0,rF.useCallback)(e=>{let t=A(e.path,eh.current),n=e.mdxExtracts;q(n=>{let r=new Map(n);return r.set(t,{...e,path:t}),r}),G(n=>{let r=new Map(n);return r.set(t,e.metadata),r}),n&&X(e=>{let r=new Map(e);return r.set(t,n),r}),ex(t),I(e=>e+1)},[ex]);(0,rF.useEffect)(()=>{K.current=H},[H]);let eA=(0,rF.useCallback)(e=>{let t=A(e,ep),n=B.get(t);if(n)return n;let r=rX(H.get(t));if(r){let e=Array.from(B.values()).find(e=>rX(e.metadata)===r);if(e)return e}},[ep,B,H]),eS=(0,rF.useCallback)(e=>{let t=A(e,ep);return!eA(t)&&ee.has(t)},[ep,eA,ee]),eI=(0,rF.useCallback)(e=>Y.get(A(e,ep)),[ep,Y]),e_=(0,rF.useCallback)(e=>r3(e,en,ep),[ep,en]),ek=(0,rF.useCallback)(e=>r4({href:e,isLivePreview:w,isLivePreviewRoutePrefix:rZ()||t,newPathsKnown:eo,newPreviewPaths:en,basePath:ep}),[ep,w,t,eo,en]),eP=(0,rF.useCallback)(e=>{if(!w||!t)return!1;try{let t=new URL(ek(e),window.location.origin);if(t.origin!==window.location.origin)return!1;let n=(0,O.normalizeLivePreviewBasePath)(eh.current);n&&t.pathname!==n&&!t.pathname.startsWith(`${n}/`)&&(t.pathname=`${n}${t.pathname.startsWith("/")?"":"/"}${t.pathname}`),t.searchParams.set(l,"true");let r=`${t.pathname}${t.search}${t.hash}`,o=`${window.location.pathname}${window.location.search}${window.location.hash}`;if(r===o)return!0;return ej(t.pathname),window.history.pushState({},"",r),ef(A(x(t.pathname),eh.current)),!0}catch{return!1}},[ek,w,t,ej]),eT=(0,rF.useRef)(!1);(0,rF.useEffect)(()=>{let e=r0();e!==b&&v(e);let t=function(){try{let e=new URLSearchParams(window.location.search);return"true"===e.get(l)}catch{return!1}}();t&&!o&&f(!0),eT.current||(async()=>{let e=em.current,n=await rD(d);if(em.current!==e){eT.current=!0;return}if("true"===n&&y(!0),t||"true"===n){let t=await rD(i);if(em.current!==e){eT.current=!0;return}if(t)try{let e=JSON.parse(t);e&&"object"==typeof e&&(R.current=e,M(e),k(e=>e+1))}catch{R.current=void 0,M(void 0)}let n=await rD(a);if(em.current!==e){eT.current=!0;return}if(n){let e=function(e){try{var t;let n=JSON.parse(e);if(!rY(n)||(t=n.navigation,!rY(t)))return;let r={};if(void 0!==n.pageMetadata){if(!rY(n.pageMetadata))return;for(let[e,t]of Object.entries(n.pageMetadata))rY(t)&&(r[e]=t)}return{navigation:n.navigation,pageMetadata:r}}catch{return}}(n);if(e){let t=new Map(Object.entries(e.pageMetadata));Q.current=e.navigation,F.current=t,Z(e.navigation),W(t),T(e=>e+1)}}}eT.current=!0})()},[b,o]);let eL=(0,rF.useCallback)(()=>C,[C]),eC=(0,rF.useCallback)(()=>J,[J]),eM=(0,rF.useCallback)(()=>{rq(i),rq(a),R.current=void 0,Q.current=void 0,M(void 0),Z(void 0)},[]),eR=(0,rF.useCallback)(()=>{for(let e of eg.current.values())clearTimeout(e);eg.current.clear(),ev.current.clear(),ez.current.clear(),eb.current=null,F.current=ne
1w Map,eM(),U(new Map),q(new Map),W(new Map),G(new Map),X(new Map),ec(new Map),et(new Set),er(new Set),ei(!1)},[eM]),eN=(0,rF.useCallback)(e=>{let t=A(e,eh.current);q(e=>{let n=new Map(e);return n.delete(t),n}),G(e=>{let n=new Map(e);return n.delete(t),n}),X(e=>{let n=new Map(e);return n.delete(t),n});let n=ev.current.get(t)??new Set;ev.current.delete(t),U(e=>{let t=e;for(let r of n)[...ev.current.values()].some(e=>e.has(r))||ez.current.has(r)||(t===e&&(t=new Map(e)),t.delete(r));return t}),eb.current===t&&(eb.current=null),I(e=>e+1),ex(t)},[ex]);return(0,rF.useEffect)(()=>{if(o&&rB(d,"true"),!w)return;let e=r1(),t=t=>{if(z(t.origin)&&r2(t,e)&&rY(t.data)){if(new Set([O.LIVE_PREVIEW_DOCSJSON_OVERRIDE_MESSAGE_TYPE,O.LIVE_PREVIEW_COMPILED_CONTENT_UPDATE_MESSAGE_TYPE,O.LIVE_PREVIEW_CONTENT_UNAVAILABLE_MESSAGE_TYPE,O.LIVE_PREVIEW_CSS_SNAPSHOT_MESSAGE_TYPE,O.LIVE_PREVIEW_NAVIGATION_UPDATE_MESSAGE_TYPE,O.LIVE_PREVIEW_RESET_MESSAGE_TYPE]).has(String(t.data.type))){let e=t.data.generation;if("number"!=typeof e||!Number.isSafeInteger(e)||e<em.current)return;if(t.data.type===O.LIVE_PREVIEW_RESET_MESSAGE_TYPE){if("string"!=typeof t.data.basePath)return;let n=ey.current,r=Date.now();if(n&&n.generation===e&&r-n.at<5e3)return;ey.current={generation:e,at:r};let o=(0,O.normalizeLivePreviewBasePath)(t.data.basePath);eh.current=o,eu(o),em.current=e,eR(),k(e=>e+1),T(e=>e+1),I(e=>e+1);return}e>em.current&&(em.current=e,eR())}if(t.data.type===O.LIVE_PREVIEW_DOCSJSON_OVERRIDE_MESSAGE_TYPE){let e=function(e,t){if(!t||!("object"==typeof e&&null!==e&&!Array.isArray(e)))return;let{integrations:n,...r}=e,o=function(e){let t=S.z.getErrorMap();S.z.setErrorMap(nK);let n=nG.safeParse(e);return(S.z.setErrorMap(t),n.success)?Object.assign(Object.assign({},n),{warnings:[]}):n}(r);if(o.success)return o.data;console.warn("[live-preview] docs.json override failed full validation; salvaging valid fields",o.error);let i={};for(let[e,t]of Object.entries(nH.shape)){if(!(e in r))continue;let n=t.safeParse(r[e]);n.success&&(i[e]=n.data)}if(0!==Object.keys(i).length)return JSON.parse(JSON.stringify(i))}(t.data.docsJson,!0===t.data.replace);if(e){let n=!(0,rV.default)(e,R.current);n&&(R.current=e,rB(i,JSON.stringify(e)),M(e));let r=Array.isArray(t.data.media)?t.data.media.filter(r$):[],o=ez.current;ez.current=new Set(r.map(e=>e.path));let a=D.current,s=a;for(let e of o)[...ev.current.values()].some(t=>t.has(e))||ez.current.has(e)||(s===a&&(s=new Map(a)),s.delete(e));let l=(s=rH(s,r))!==a;l&&(D.current=s,U(s)),(n||l)&&k(e=>e+1)}}if(t.data.type===O.LIVE_PREVIEW_COMPILED_CONTENT_UPDATE_MESSAGE_TYPE){let{path:e,rawContent:n,mdxSource:r,mdxSourceWithNoJs:o,metadata:i,media:a,mdxExtracts:s}=t.data;if("string"==typeof e&&e.startsWith("/")&&!e.includes("..")&&r8(r)&&r8(o)&&rY(i)){let t=A(e,eh.current),l=ev.current.get(t)??new Set,c=Array.isArray(a)?a.filter(r$):[];ev.current.set(t,new Set(c.map(e=>e.path))),eO({path:e,rawContent:"string"==typeof n?n:void 0,mdxSource:r,mdxSourceWithNoJs:o,metadata:i||{},mdxExtracts:rY(s)?s:void 0}),U(e=>{let t=e;for(let n of l)[...ev.current.values()].some(e=>e.has(n))||ez.current.has(n)||(t===e&&(t=new Map(e)),t.delete(n));return rH(t,c)})}}if(t.data.type===O.LIVE_PREVIEW_CONTENT_UNAVAILABLE_MESSAGE_TYPE&&"string"==typeof t.data.path&&eN(t.data.path),t.data.type===O.LIVE_PREVIEW_CSS_SNAPSHOT_MESSAGE_TYPE&&Array.isArray(t.data.overrides)){let e=new Map;for(let n of t.data.overrides)rY(n)&&"string"==typeof n.path&&!n.path.includes("..")&&("string"==typeof n.content||null===n.content)&&e.set(n.path.replace(/^\/+/,""),n.content);ec(e)}if(t.data.type===O.LIVE_PREVIEW_NAVIGATION_UPDATE_MESSAGE_TYPE){let e=t.data.navigation;if(rY(e)){let n,r;if(rY(t.data.pageMetadata)){let e=new Map;for(let[n,r]of Object.entries(t.data.pageMetadata))rY(r)&&e.set(A(n,eh.current),r);n=e}let o=!(0,rV.default)(e,Q.current),i=void 0!==n&&!(0,rV.default)(Object.fromEntries(n),Object.fromEntries(F.current));Array.isArray(t.data.newPaths)&&(r=r5(t.data.newPaths,eh.current));let s=void 0!==r&&(!es.current||!(0,rV.default)(r,ea.current));if(!o&&!i&&!s)return;if(o||i){Q.current=e,Z(e);let t={};n&&(F.current=n,W(n),t=Object.fromEntries(n));try{rB(a,JSON.stringify({navigation:e,pageMetadata:t}))}catch{}}s&&r&&(er(r),ei(!0)),T(e=>e+1)}}if(t.data.type===c&&window.history.back(),t.data.type===p&&window.history.forward(),t.data.type===u&&window.location.reload(),t.data.type===O.LIVE_PREVIEW_INIT_MESSAGE_TYPE&&e?.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},t.origin),t.data.type===O.LIVE_PREVIEW_NAVIGATE_TO_URL_MESSAGE_TYPE&&t.data.url&&"string"==typeof t.data.url)try{let e=new URL(t.data.url.trim().replaceAll(" ","+"),window.location.origin);e.pathname===window.location.pathname||eP(e.href)||r.push(ek(e.pathname+e.search+e.hash))}catch{}}};window.addEventListener("message",t);let n=()=>{let e=rQ();if(e)return r1()?.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},e),!0;let t=r1();if(t){let e=r6();for(let n of e)try{t.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},n)}catch{}return e.length>0}return!1};n();let s=0,l=setInterval(()=>{if(++s>=3)return void clearInterval(l);n()},500);return()=>{window.removeEventListener("message",t),clearInterval(l)}},[w,o,eM,eN,eP,ek,r,eO,ew,ex,eR]),(0,rF.useEffect)(()=>
1{if(w&&0!==el.size)return rK(el)},[w,el]),(0,rF.useEffect)(()=>{if(!w)return;let e=rQ();if(!e)return;let t=r1();if(!t)return;let n=n=>{let r=x(n),o=A(r,ep);if(o===eb.current)return;eb.current=o,eE(r);let i=K.current.get(o),a=rJ(o,i);t.postMessage(a,e)},r=x(window.location.pathname);ef(A(r,ep));let o=window.location.href.replace(s,"");t.postMessage({type:O.LIVE_PREVIEW_URL_CHANGE_MESSAGE_TYPE,url:o,isBackForward:!1},e),n(r);let i=r=>{let o=x(window.location.pathname);ef(A(o,ep));let i=window.location.href.replace(s,"");t.postMessage({type:O.LIVE_PREVIEW_URL_CHANGE_MESSAGE_TYPE,url:i,isBackForward:r},e),n(o)},a=()=>{i(!0)};window.addEventListener("popstate",a);let l=window.history.pushState,c=window.history.replaceState,p=!1,u=()=>{queueMicrotask(()=>{p||i(!1)})};return window.history.pushState=function(...e){l.apply(window.history,e),u()},window.history.replaceState=function(...e){c.apply(window.history,e),u()},()=>{p=!0,window.removeEventListener("popstate",a),window.history.pushState=l,window.history.replaceState=c}},[ep,w,eE]),(0,rF.useEffect)(()=>{if(w)return;let e=r1();if(!e)return;let t=t=>{z(t.origin)&&r2(t,e)&&rY(t.data)&&t.data.type===O.LIVE_PREVIEW_INIT_MESSAGE_TYPE&&(rB(d,"true"),g(!0))};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},[w]),(0,rF.useEffect)(()=>{if(!w)return;let e=window.location.origin,t=t=>{let n=t.target;if(!(n instanceof Element))return;let r=n.closest("a");if(!r)return;let o=r.getAttribute("href");if(!o||o.startsWith("mailto:")||o.startsWith("tel:")||o.startsWith("sms:"))return;let i=0===t.button&&!t.metaKey&&!t.ctrlKey&&!t.shiftKey&&!t.altKey&&"_blank"!==r.target&&!r.hasAttribute("download");try{let n=new URL(o,e);if(n.origin===e){let e=n.pathname===window.location.pathname&&n.search===window.location.search&&n.hash!==window.location.hash;i&&!e&&eP(n.href)&&t.preventDefault();return}}catch{return}t.preventDefault(),t.stopPropagation()},n=t=>{let n=document.activeElement?.getAttribute("href");if(n)try{new URL(n,e).origin!==e&&t.preventDefault()}catch{return}};return document.addEventListener("click",t,!0),window.addEventListener("beforeunload",n),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("beforeunload",n)}},[w,eP]),(0,n.jsx)(r7.Provider,{value:{isLivePreview:w,livePreviewUpdateId:L,compiledVersion:E,docsConfigVersion:_,navigationVersion:P,getDocsConfigOverrides:eL,getNavigationOverride:eC,clearDocsConfigOverrides:eM,liveMedia:N,compiledContent:B,getCompiledContent:eA,liveMetadata:H,liveMdxExtracts:Y,getMdxExtracts:eI,loadingPaths:ee,isPathLoading:eS,newPreviewPaths:en,isNewPreviewPath:e_,getLivePreviewHref:ek,currentPreviewPath:ed,navigateWithinLivePreview:eP,requestContentEarly:ej,basePath:ep},children:e})}},237978,e=>{"use strict";e.s(["PageModeOverrideContext",()=>r,"PageModeOverrideProvider",()=>o,"useEffectivePageMetadata",()=>a,"usePageModeOverride",()=>i]);var t=e.i(843476),n=e.i(271645);let r=(0,n.createContext)({pageModeOverride:void 0,originalPageMode:void 0,setPageModeOverride:()=>{},setOriginalPageMode:()=>{}});function o({children:e}){let[o,i]=(0,n.useState)(void 0),[a,s]=(0,n.useState)(void 0),l=(0,n.useCallback)(e=>{s(e)},[]),c=(0,n.useCallback)(e=>{if(i(e),"undefined"!=typeof document){let t=void 0===e?a??"none":e||"none";document.documentElement.setAttribute("data-page-mode",t)}},[a]),p=(0,n.useMemo)(()=>({pageModeOverride:o,originalPageMode:a,setPageModeOverride:c,setOriginalPageMode:l}),[o,a,c,l]);return(0,t.jsx)(r.Provider,{value:p,children:e})}function i(){return(0,n.useContext)(r)}function a(e){let{pageModeOverride:t}=(0,n.useContext)(r);return(0,n.useMemo)(()=>void 0===t?e:{...e,mode:t||void 0},[e,t])}},803333,875081,e=>{"use strict";e.s(["useCurrentPath",()=>a],803333);var t=e.i(590280);e.s(["safeDecodeURIComponent",()=>n],875081);let n=e=>{try{return decodeURIComponent(e)}catch{return e}};var r=e.i(431392),o=e.i(618566),i=e.i(271645);function a(){let e=(0,o.useParams)()?.slug,a=(0,i.useMemo)(()=>(function(e){let t="string"==typeof e?n(e):(e=>{if(e)return e.map(e=>n(e))})(e)?.join("/");return(0,r.optionallyAddLeadingSlash)(t??"")})(e),[e]),{isLivePreview:s,currentPreviewPath:l}=(0,i.useContext)(t.LivePreviewContext);return s&&l?l:a}},628694,(e,t,n)=>{t.exports=function e(t,n){return 0===n?t:e(n,t%n)}},429965,(e,t,n)=>{var r=e.r(628694);t.exports=function(e,t){return 0===t?0:e*t/r(e,t)}},368971,(e,t,n)=>{t.exports=(function t(n,r,o){function i(s,l){if(!r[s]){if(!n[s]){var c=e.t;return!l&&c?c(s,!0):a(s,!0)}l=r[s]={exports:{}},n[s][0].call(l.exports,function(e){return i(n[s][1][e]||e)},l,l.exports,t,n,r,o)}return r[s].exports}for(var a=e.t,s=0;s<o.length;s++)i(o[s]);return i})({1:[function(e,t,n){(function(r,o,i,a,s,l,c,p,u){"use strict";var d=e("crypto");function f(e,t){var n;return void 0===(n="passthrough"!==(t=m(e,t)).algorithm?d.createHash(t.algorithm):new v).write&&(n.write=n.update,
1n.end=n.update),b(t,n).dispatch(e),n.update||n.end(""),n.digest?n.digest("buffer"===t.encoding?void 0:t.encoding):(e=n.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(n=t.exports=f).sha1=function(e){return f(e)},n.keys=function(e){return f(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return f(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return f(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=d.getHashes?d.getHashes().slice():["sha1","md5"],g=(h.push("passthrough"),["buffer","hex","binary","base64"]);function m(e,t){var n={};if(n.algorithm=(t=t||{}).algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw Error("Object argument required.");for(var r=0;r<h.length;++r)h[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=h[r]);if(-1===h.indexOf(n.algorithm))throw Error('Algorithm "'+n.algorithm+'"  not supported. supported values: '+h.join(", "));if(-1===g.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw Error('Encoding "'+n.encoding+'"  not supported. supported values: '+g.join(", "));return n}function y(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var o,a=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+a+"]");if(n.push(t),void 0!==i&&i.isBuffer&&i.isBuffer(t))return r("buffer:"),r(t);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(t),e.unorderedObjects&&(a=a.sort()),!1===e.respectType||y(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter(function(t){return!e.excludeKeys(t)})),r("object:"+a.length+":"),o=this,a.forEach(function(n){o.dispatch(n),r(":"),e.excludeValues||o.dispatch(t[n]),r(",")});if(!this["_"+s]){if(e.ignoreUnknown)return r("["+s+"]");throw Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var i=this;if(r("array:"+t.length+":"),!o||t.length<=1)return t.forEach(function(e){return i.dispatch(e)});var a=[],o=t.map(function(t){var r=new v,o=n.slice();return b(e,r,o).dispatch(t),a=a.concat(o.slice(n.length)),r.read().toString()});return n=n.concat(a),o.sort(),this._array(o,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),y(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){return r("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return r("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function v(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),b(t=m(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,n){(function(e,t,r,o,i,a,s,l,c){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array;function n(e){return 43===(e=e.charCodeAt(0))||45===e?62:47===e||95===e?63:e<48?-1:e<58?e-48+26+26:e<91?e-65:e<123?e-97+26:void 0}e.toByteArray=function(e){if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");var r,o,i=e.length,i="="===e.charAt(i-2)?2:+("="===e.charAt(i-1)),a=new t(3*e.length/4-i),s=0<i?e.length-4:e.length,l=0;function c(e){a[l++]=e}for(r=0;r<s;r+=4)c((0xff0000&(o=n(e.charAt(r))<<18|n(e.charAt(r+1))<<12|n(e.charAt(r+2))<<6|n(e.charAt(r+3))))>>16),c((65280&o)>>8),c(255&o);return 2==i?c(255&(o=n(e.charAt(r))<<2|n(e.charAt(r+1))>>4)):1==i&&(c((o=n(e.charAt(r))<<10|n(e.charAt(r+1))<<4|n(e.charAt(r+2))>>2)>>8&255),c(255&o)),a},e.fromByteArray=function(e){var t,n,r,o,i=e.length%3,a="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".charAt(e)}for(t=0,r=e.length-i;t<r;t+=3)a+=s((o=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(i){case 1:a=(a+=s((n=e[e.length-1])>>2))+s(n<<4&63)+"==";break;case 2:a=(a=(a+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(n>>4&63))+s(n<<2&63)+"="}return a}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,n){(function(t,r,o,i,a,s,l,c,p){var u=e("base64-js"),d=e("ieee754");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);var r,i,a,s,l=typeof e;if("base64"===t&&"string"==l)for(e=(s=e).trim?s.trim():s.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)r=S(e);else if("string"==l)r=o.byteLength(e,t);else{if("object"!=l)throw Error("First argument needs to be a number, array or string.");r=S(e.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(r)):((i=this).length=r,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(I(s=e)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<r;a++)o.isBuffer(e)?i[a]=e.readUInt8(a):i[a]=e[a];else if("string"==l)i.write(e,0,t);else if("number"==l&&!o._useTypedArrays&&!n)for(a=0;a<r;a++)i[a]=0;return i}function f(e,t,n,r){r||(N("boolean"==typeof n,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length"));var o,r=e.length;if(!(r<=t))return n?(o=e[t],t+1<r&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<r&&(o|=e[t+1])),o}function h(e,t,n,r){r||(N("boolean"==typeof n,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length"));var o,r=e.length;if(!(r<=t))return n?(t+2<r&&(o=e[t+2]<<16),t+1<r&&(o|=e[t+1]<<8),o|=e[t],t+3<r&&(o+=e[t+3]<<24>>>0)):(t+1<r&&(o=e[t+1]<<16),t+2<r&&(o|=e[t+2]<<8),t+3<r&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function g(e,t,n,r){if(r||(N("boolean"==typeof n,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(r=f(e,t,n,!0))?-1*(65535-r+1):r}function m(e,t,n,r){if(r||(N("boolean"==typeof n,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 0x80000000&(r=h(e,t,n,!0))?-1*(0xffffffff-r+1):r}function y(e,t,n,r){return r||(N("boolean"==typeof n,"missing or invalid endian"),N(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,23,4)}function b(e,t,n,r){return r||(N("boolean"==typeof n,"missing or invalid endian"),N(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,52,8)}function v(e,t,n,r,o){if(o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+1<e.length,"trying to write beyond buffer length"),C(t,65535)),!((o=e.length)<=n))for(var i=0,a=Math.min(o-n,2);i<a;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function z(e,t,n,r,o){if(o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+3<e.length,"trying to write beyond buffer length"),C(t,0xffffffff)),!((o=e.length)<=n))for(var i=0,a=Math.min(o-n,4);i<a;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function w(e,t,n,r,o){o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+1<e.length,"Trying to write beyond buffer length"),M(t,32767,-32768)),e.length<=n||v(e,0<=t?t:65535+t+1,n,r,o)}function x(e,t,n,r,o){o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+3<e.length,"Trying to write beyond buffer length"),M(t,0x7fffffff,-0x80000000)),e.length<=n||z(e,0<=t?t:0xffffffff+t+1,n,r,o)}function E(e,t,n,r,o){o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+3<e.length,"Trying to write beyond buffer length"),R(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||d.write(e,t,n,r,23,4)}function j(e,t,n,r,o){o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+7<e.length,"Trying to write beyond buffer length"),R(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||d.write(e,t,n,r,52,8)}n.Buffer=o,n.SlowBuffer=o,n.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=k(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=P(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},o.concat=function(e,t){if(N(I(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(i=t=0;i<e.length;i++)t+=e[i].length;for(var n=new o(t),r=0,i=0;i<e.length;i++){var a=e[i];a.copy(n,r),r+=a.length}return n},o.prototype.write=function(e,t,n,r){isFinite(t)?isFinite(n)||(r=n,n=void 0):(f=r,r=t,t=n,n=f),t=Number(t)||0;var i,a,s,l,c,p,u,d,f=this.length-t;switch((!n||f<(n=Number(n)))&&(n=f),r=String(r||"utf8").toLowerCase()){case"hex":c=function(e,t,n,r){n=Number(n)||0;var i=e.length-n;(!r||i<(r=Number(r)))&&(r=i),N((i=t.length)%2==0,"Invalid hex string"),i/2<r&&(r=i/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);N(!isNaN(s),"Invalid hex string"),e[n+a]=s}return o._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":p=this,u=t,d=n,c=o._charsWritten=T(k(e),p,u,d);break;case"ascii":case"binary":i=t,a=n,c=o._charsWritten=T(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(e),this,i,a);break;case"base64":p=this,u=t,d=n,c=o._charsWritten=T(P(e),p,u,d);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":s=t,l=n,c=o._charsWritten=T(function(e){for(var t,n,r=[],o=0;o<e.length;o++)t=(n=e.charCodeAt(o))>>8,r.push(n%=256),r.push(t);return r}(e),this,s,l);break;default:throw Error("Unknown encoding")}return c},o.prototype.toString=function(e,t,n){var r,o,i;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):this.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var o="",i=t;i<n;i++)o+=_(e[i]);return o}(this,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var i=t;i<n;i++)e[i]<=127?(r+=L(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return r+L(o)}(this,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;o++)r+=String.fromCharCode(e[o]);return r}(this,t,n);break;case"base64":i=n,r=0===(o=t)&&i===this.length?u.fromByteArray(this):u.fromByteArray(this.slice(o,i));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}(this,t,n);break;default:throw Error("Unknown encoding")}return r},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,n,r){if(t=t||0,(r=r||0===r?r:this.length)!==(n=n||0)&&0!==e.length&&0!==this.length){N(n<=r,"sourceEnd < sourceStart"),N(0<=t&&t<e.length,"targetStart out of bounds"),N(0<=n&&n<this.length,"sourceStart out of bounds"),N(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length);var i=(r=e.length-t<r-n?e.length-t+n:r)-n;if(i<100||!o._useTypedArrays)for(var a=0;a<i;a++)e[a+t]=this[a+n];else e._set(this.subarray(n,n+i),t)}},o.prototype.slice=function(e,t){var n=this.length;if(e=A(e,n,0),t=A(t,n,n),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var r=t-e,i=new o(r,void 0,!0),a=0;a<r;a++)i[a]=this[a+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return f(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return f(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return y(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return y(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,n){n||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"trying to write beyond buffer length"),C(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,n){v(this,e,t,!0,n)},o.prototype.writeUInt16BE=function(e,t,n){v(this,e,t,!1,n)},o.prototype.writeUInt32LE=function(e,t,n){z(this,e,t,!0,n)},o.prototype.writeUInt32BE=function(e,t,n){z(this,e,t,!1,n)},o.prototype.writeInt8=function(e,t,n){n||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"Trying to write beyond buffer length"),M(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},o.prototype.writeInt16LE=function(e,t,n){w(this,e,t,!0,n)},o.prototype.writeInt16BE=function(e,t,n){w(this,e,t,!1,n)},o.prototype.writeInt32LE=function(e,t,n){x(this,e,t,!0,n)},o.prototype.writeInt32BE=function(e,t,n){x(this,e,t,!1,n)},o.prototype.writeFloatLE=function(e,t,n){E(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){E(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){j(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){j(this,e,t,!1,n)},o.prototype.fill=function(e,t,n){if(t=t||0,n=n||this.length,N("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),N(t<=n,"end < start"),n!==t&&0!==this.length){N(0<=t&&t<this.length,"start out of bounds"),N(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=_(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var O=o.prototype;function A(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function S(e){return(e=~~Math.ceil(+e))<0?0:e}function I(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function _(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else for(var o=n,i=(55296<=r&&r<=57343&&n++,encodeURIComponent(e.slice(o,n+1)).substr(1).split("%")),a=0;a<i.length;a++)t.push(parseInt(i[a],16))}return t}function P(e){return u.toByteArray(e)}function T(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function L(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function C(e,t){N("number"==typeof e,"cannot write a non-number as a number"),N(0<=e,"specified a negative value for writing an unsigned value"),N(e<=t,"value is larger than maximum value for type"),N(Math.floor(e)===e,"value has a fractional component")}function M(e,t,n){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(n<=e,"value smaller than minimum allowed value"),N(Math.floor(e)===e,"value has a fractional component")}function R(e,t,n){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(n<=e,"value smaller than minimum allowed value")}function N(e,t){if(!e)throw Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=O.get,e.set=O.set,e.write=O.write,e.toString=O.toString,e.toLocaleStr
1ing=O.toString,e.toJSON=O.toJSON,e.copy=O.copy,e.slice=O.slice,e.readUInt8=O.readUInt8,e.readUInt16LE=O.readUInt16LE,e.readUInt16BE=O.readUInt16BE,e.readUInt32LE=O.readUInt32LE,e.readUInt32BE=O.readUInt32BE,e.readInt8=O.readInt8,e.readInt16LE=O.readInt16LE,e.readInt16BE=O.readInt16BE,e.readInt32LE=O.readInt32LE,e.readInt32BE=O.readInt32BE,e.readFloatLE=O.readFloatLE,e.readFloatBE=O.readFloatBE,e.readDoubleLE=O.readDoubleLE,e.readDoubleBE=O.readDoubleBE,e.writeUInt8=O.writeUInt8,e.writeUInt16LE=O.writeUInt16LE,e.writeUInt16BE=O.writeUInt16BE,e.writeUInt32LE=O.writeUInt32LE,e.writeUInt32BE=O.writeUInt32BE,e.writeInt8=O.writeInt8,e.writeInt16LE=O.writeInt16LE,e.writeInt16BE=O.writeInt16BE,e.writeInt32LE=O.writeInt32LE,e.writeInt32BE=O.writeInt32BE,e.writeFloatLE=O.writeFloatLE,e.writeFloatBE=O.writeFloatBE,e.writeDoubleLE=O.writeDoubleLE,e.writeDoubleBE=O.writeDoubleBE,e.fill=O.fill,e.inspect=O.inspect,e.toArrayBuffer=O.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var o=e("buffer").Buffer,u=new o(4);u.fill(0),t.exports={hash:function(e,t,n,r){for(var i=t(function(e,t){e.length%4!=0&&(n=e.length+(4-e.length%4),e=o.concat([e,u],n));for(var n,r=[],i=t?e.readInt32BE:e.readInt32LE,a=0;a<e.length;a+=4)r.push(i.call(e,a));return r}(e=o.isBuffer(e)?e:new o(e),r),8*e.length),t=r,a=new o(n),s=t?a.writeInt32BE:a.writeInt32LE,l=0;l<i.length;l++)s.call(a,i[l],4*l,!0);return a}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,n){(function(t,r,o,i,a,s,l,c,p){var o=e("buffer").Buffer,u=e("./sha"),d=e("./sha256"),f=e("./rng"),h={sha1:u,sha256:d,md5:e("./md5")},g=new o(64);function m(e,t){var n=h[e=e||"sha1"],r=[];return n||y("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),r.push(e),e.length,this},digest:function(e){var i=o.concat(r),i=t?function(e,t,n){o.isBuffer(t)||(t=new o(t)),o.isBuffer(n)||(n=new o(n)),t.length>64?t=e(t):t.length<64&&(t=o.concat([t,g],64));for(var r=new o(64),i=new o(64),a=0;a<64;a++)r[a]=54^t[a],i[a]=92^t[a];return n=e(o.concat([r,n])),e(o.concat([i,n]))}(n,t,i):n(i);return r=null,e?i.toString(e):i}}}function y(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests\nhttp://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),n.createHash=function(e){return m(e)},n.createHmac=m,n.randomBytes=function(e,t){if(!t||!t.call)return new o(f(e));try{t.call(this,void 0,new o(f(e)))}catch(e){t(e)}};var b,v=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],z=function(e){n[e]=function(){y("sorry,",e,"is not implemented yet")}};for(b in v)z(v[b],b)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var u=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=0x67452301,r=-0x10325477,o=-0x67452302,i=0x10325476,a=0;a<e.length;a+=16){var s=n,l=r,c=o,p=i,n=h(n,r,o,i,e[a+0],7,-0x28955b88),i=h(i,n,r,o,e[a+1],12,-0x173848aa),o=h(o,i,n,r,e[a+2],17,0x242070db),r=h(r,o,i,n,e[a+3],22,-0x3e423112);n=h(n,r,o,i,e[a+4],7,-0xa83f051),i=h(i,n,r,o,e[a+5],12,0x4787c62a),o=h(o,i,n,r,e[a+6],17,-0x57cfb9ed),r=h(r,o,i,n,e[a+7],22,-0x2b96aff),n=h(n,r,o,i,e[a+8],7,0x698098d8),i=h(i,n,r,o,e[a+9],12,-0x74bb0851),o=h(o,i,n,r,e[a+10],17,-42063),r=h(r,o,i,n,e[a+11],22,-0x76a32842),n=h(n,r,o,i,e[a+12],7,0x6b901122),i=h(i,n,r,o,e[a+13],12,-0x2678e6d),o=h(o,i,n,r,e[a+14],17,-0x5986bc72),n=g(n,r=h(r,o,i,n,e[a+15],22,0x49b40821),o,i,e[a+1],5,-0x9e1da9e),i=g(i,n,r,o,e[a+6],9,-0x3fbf4cc0),o=g(o,i,n,r,e[a+11],14,0x265e5a51),r=g(r,o,i,n,e[a+0],20,-0x16493856),n=g(n,r,o,i,e[a+5],5,-0x29d0efa3),i=g(i,n,r,o,e[a+10],9,0x2441453),o=g(o,i,n,r,e[a+15],14,-0x275e197f),r=g(r,o,i,n,e[a+4],20,-0x182c0438),n=g(n,r,o,i,e[a+9],5,0x21e1cde6),i=g(i,n,r,o,e[a+14],9,-0x3cc8f82a),o=g(o,i,n,r,e[a+3],14,-0xb2af279),r=g(r,o,i,n,e[a+8],20,0x455a14ed),n=g(n,r,o,i,e[a+13],5,-0x561c16fb),i=g(i,n,r,o,e[a+2],9,-0x3105c08),o=g(o,i,n,r,e[a+7],14,0x676f02d9),n=m(n,r=g(r,o,i,n,e[a+12],20,-0x72d5b376),o,i,e[a+5],4,-378558),i=m(i,n,r,o,e[a+8],11,-0x788e097f),o=m(o,i,n,r,e[a+11],16,0x6d9d6122),r=m(r,o,i,n,e[a+14],23,-0x21ac7f4),n=m(n,r,o,i,e[a+1],4,-0x5b4115bc),i=m(i,n,r,o,e[a+4],11,0x4bdecfa9),o=m(o,i,n,r,e[a+7],16,-0x944b4a0),r=m(r,o,i,n,e[a+10],23,-0x41404390),n=m(n,r,o,i,e[a+13],4,0x289b7ec6),i=m(i,n,r,o,e[a+0],11,-0x155ed806),o=m(o,i,n,r,e[a+3],16,-0x2b10cf7b),r=m(r,o,i,n,e[a+6],23,0x4881d05
1),n=m(n,r,o,i,e[a+9],4,-0x262b2fc7),i=m(i,n,r,o,e[a+12],11,-0x1924661b),o=m(o,i,n,r,e[a+15],16,0x1fa27cf8),n=y(n,r=m(r,o,i,n,e[a+2],23,-0x3b53a99b),o,i,e[a+0],6,-0xbd6ddbc),i=y(i,n,r,o,e[a+7],10,0x432aff97),o=y(o,i,n,r,e[a+14],15,-0x546bdc59),r=y(r,o,i,n,e[a+5],21,-0x36c5fc7),n=y(n,r,o,i,e[a+12],6,0x655b59c3),i=y(i,n,r,o,e[a+3],10,-0x70f3336e),o=y(o,i,n,r,e[a+10],15,-1051523),r=y(r,o,i,n,e[a+1],21,-0x7a7ba22f),n=y(n,r,o,i,e[a+8],6,0x6fa87e4f),i=y(i,n,r,o,e[a+15],10,-0x1d31920),o=y(o,i,n,r,e[a+6],15,-0x5cfebcec),r=y(r,o,i,n,e[a+13],21,0x4e0811a1),n=y(n,r,o,i,e[a+4],6,-0x8ac817e),i=y(i,n,r,o,e[a+11],10,-0x42c50dcb),o=y(o,i,n,r,e[a+2],15,0x2ad7d2bb),r=y(r,o,i,n,e[a+9],21,-0x14792c6f),n=b(n,s),r=b(r,l),o=b(o,c),i=b(i,p)}return[n,r,o,i]}function f(e,t,n,r,o,i){return b((t=b(b(t,e),b(r,i)))<<o|t>>>32-o,n)}function h(e,t,n,r,o,i,a){return f(t&n|~t&r,e,t,o,i,a)}function g(e,t,n,r,o,i,a){return f(t&r|n&~r,e,t,o,i,a)}function m(e,t,n,r,o,i,a){return f(t^n^r,e,t,o,i,a)}function y(e,t,n,r,o,i,a){return f(n^(t|~r),e,t,o,i,a)}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return u.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,n){(function(e,n,r,o,i,a,s,l,c){t.exports=function(e){for(var t,n=Array(e),r=0;r<e;r++)0==(3&r)&&(t=0x100000000*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var u=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i=Array(80),a=0x67452301,s=-0x10325477,l=-0x67452302,c=0x10325476,p=-0x3c2d1e10,u=0;u<e.length;u+=16){for(var d=a,g=s,m=l,y=c,b=p,v=0;v<80;v++){i[v]=v<16?e[u+v]:h(i[v-3]^i[v-8]^i[v-14]^i[v-16],1);var z=f(f(h(a,5),(z=s,r=l,o=c,(n=v)<20?z&r|~z&o:!(n<40)&&n<60?z&r|z&o|r&o:z^r^o)),f(f(p,i[v]),(n=v)<20?0x5a827999:n<40?0x6ed9eba1:n<60?-0x70e44324:-0x359d3e2a)),p=c,c=l,l=h(s,30),s=a,a=z}a=f(a,d),s=f(s,g),l=f(l,m),c=f(c,y),p=f(p,b)}return[a,s,l,c,p]}function f(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function h(e,t){return e<<t|e>>>32-t}t.exports=function(e){return u.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){function u(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){var n,r=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],o=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],i=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,s,l=0;l<e.length;l+=16){for(var c=o[0],p=o[1],d=o[2],f=o[3],m=o[4],y=o[5],b=o[6],v=o[7],z=0;z<64;z++)i[z]=z<16?e[z+l]:u(u(u(h(s=i[z-2],17)^h(s,19)^g(s,10),i[z-7]),h(s=i[z-15],7)^h(s,18)^g(s,3)),i[z-16]),n=u(u(u(u(v,h(s=m,6)^h(s,11)^h(s,25)),m&y^~m&b),r[z]),i[z]),a=u(h(a=c,2)^h(a,13)^h(a,22),c&p^c&d^p&d),v=b,b=y,y=m,m=u(f,n),f=d,d=p,p=c,c=u(n,a);o[0]=u(c,o[0]),o[1]=u(p,o[1]),o[2]=u(d,o[2]),o[3]=u(f,o[3]),o[4]=u(m,o[4]),o[5]=u(y,o[5]),o[6]=u(b,o[6]),o[7]=u(v,o[7])}return o}var f=e("./helpers"),h=function(e,t){return e>>>t|e<<32-t},g=function(e,t){return e>>>t};t.exports=function(e){return f.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,n){(function(e,t,r,o,i,a,s,l,c){n.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,p=-7,u=n?o-1:0,d=n?-1:1,o=e[t+u];for(u+=d,i=o&(1<<-p)-1,o>>=-p,p+=s;0<p;i=256*i+e[t+u],u+=d,p-=8);for(a=i&(1<<-p)-1,i>>=-p,p+=r;0<p;a=256*a+e[t+u],u+=d,p-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(o?-1:1);a+=Math.pow(2,r),i-=c}return(o?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var a,s,l=8*i-o-1,c=(1<<l)-1,p=c>>1,u=5960464477539062e-23*(23===o),d=r?0:i-1,f=r?1:-1,i=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(t+=1<=a+p?u/r:u*Math.pow(2,1-p))*r&&(a++,r/=2),c<=a+p?(s=0,a=c):1<=a+p?(s=(t*r-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));8<=o;e[n+d]=255&s,d+=f,s/=256,o-=8);for(a=a<<o|s,l+=o;0<l;e[n+d]=255&a,d+=f,a/=256,l-=8);e[n+d-f]|=128*i}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,n){(function(e,n,r,o,i,a,s,l,c){var p,u,d;function f(){}(e=t.exports={}).nextTick=(u="undefined"!=typeof window&&window.setImmediate,d="undefined"!=typeof window&&window.postMessage&&window.addEventListener,u?function(e){return window.setImmediate(e)}:d?(p=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<p.length&&p.shift()())},!0),function(e){p.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.binding=function(e){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},117831,(e,t,n)=>{"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}
1),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=n.ElementType||(n.ElementType={})),n.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},n.Root=r.Root,n.Text=r.Text,n.Directive=r.Directive,n.Comment=r.Comment,n.Script=r.Script,n.Style=r.Style,n.Tag=r.Tag,n.CDATA=r.CDATA,n.Doctype=r.Doctype},111304,(e,t,n)=>{"use strict";var r=e.e&&e.e.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.e&&e.e.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.cloneNode=n.hasChildren=n.isDocument=n.isDirective=n.isComment=n.isText=n.isCDATA=n.isTag=n.Element=n.Document=n.CDATA=n.NodeWithChildren=n.ProcessingInstruction=n.Comment=n.Text=n.DataNode=n.Node=void 0;var i=e.r(117831),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();n.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);n.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);n.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);n.Comment=c;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);n.ProcessingInstruction=p;var u=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);n.NodeWithChildren=u;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(u);n.CDATA=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9}
1,enumerable:!1,configurable:!0}),t}(u);n.Document=f;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null==(n=e["x-attribsNamespace"])?void 0:n[t],prefix:null==(r=e["x-attribsPrefix"])?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(u);function g(e){return(0,i.isTag)(e)}function m(e){return e.type===i.ElementType.CDATA}function y(e){return e.type===i.ElementType.Text}function b(e){return e.type===i.ElementType.Comment}function v(e){return e.type===i.ElementType.Directive}function z(e){return e.type===i.ElementType.Root}function w(e,t){if(void 0===t&&(t=!1),y(e))n=new l(e.data);else if(b(e))n=new c(e.data);else if(g(e)){var n,r=t?x(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(m(e)){var r=t?x(e.children):[],a=new d(r);r.forEach(function(e){return e.parent=a}),n=a}else if(z(e)){var r=t?x(e.children):[],s=new f(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(v(e)){var u=new p(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map(function(e){return w(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}n.Element=h,n.isTag=g,n.isCDATA=m,n.isText=y,n.isComment=b,n.isDirective=v,n.isDocument=z,n.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},n.cloneNode=w},907976,(e,t,n)=>{"use strict";var r=e.e&&e.e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=e.e&&e.e.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var i=e.r(117831),a=e.r(111304);o(e.r(111304),n);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();n.DomHandler=l,n.default=l},612369,(e,t,n)=>{var r,o="html",i="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,p=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var f=new d;p=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();p=function(e,t){return t?h.documentElement.querySelector(t).innerHTML=e:h.documentElement.innerHTML=e,h}}var g="object"==typeof document?document.createElement("template"):{};g.content&&(r=function(e){return g.innerHTML=e,g.content.childNodes}),t.exports=function(e){var t,n,d,f,h=e.match(s);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case o:return n=u(e),!l.test(e)&&(d=n.querySelector(i))&&d.parentNode.removeChild(d),!c.test(e)&&(d=n.querySelector(a))&&d.parentNode.removeChild(d),n.querySelectorAll(o);case i:case a:if(f=(n=p(e)).querySelectorAll(t),c.test(e)&&l.test(e))return f[0].parentNode.childNodes;return f;default:if(r)return r(e);return(d=p(e,a).querySelector(a)).childNodes}}},699235,(e,t,n)=>{n.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},73217,(e,t,n)=>{for(var r,o=e.r(907976),i=e.r(699235).CASE_SENSITIVE_TAG_NAMES,a=o.Comment,s=o.Element,l=o.ProcessingInstruction,c=o.Text,p={},u=0,d=i.length;u<d;u++)p[(r=i[u]).toLowerCase()]=r;function f(e){for(var t,n={},r=0,o=e.length;r<o;r++)n[(t=e[r]).name]=t.value;return n}n.formatAttributes=f,n.formatDOM=function e(t,n,r){n=n||null;for(var o=[],i=0,u=t.length;i<u;i++){var d,h,g=t[i];switch(g.nodeType){case 1:(h=new s(d=function(e){var t=p[e=e.toLowerCase()];return t||e}(g.nodeName),f(g.attributes))).children=e("template"===d?g.content.childNodes:g.childNodes,h);break;case 3:h=new c(g.nodeValue);break;case 8:h=new a(g.nodeValue);break;default:continue}var m=o[i-1]||null;m&&(m.next=h),h.parent=n,h.prev=m,h.next=null,o.push(h)}return r&&((h=new l(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=o[0]||null,h.parent=n,o.unshift(h),o[1]&&(o[1].prev=o[0])),o}},971883,(e,t,n)=>{var r=e.r(612369),o=e.r(73217).formatDOM,i=/<(![a-zA-Z\s]+)>/;t.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},559878,(e,t,n)=>{n.SAME=0,n.CAMELCASE=1,n.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},594555,(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}Object.defineProperty(n,"__esModule",{value:!0});var i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){i[e]=new o(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return r(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],a=t[1];i[n]=new o(n,1,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){i[e]=new o(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){i[e]=new o(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){i[e]=new o(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){i[e]=new o(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){i[e]=new o(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){i[e]=new o(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){i[e]=new o(e,5,!1,e.toLowerCase(),null,!1,!1)});var a=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode
1-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(a,s);i[t]=new o(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(a,s);i[t]=new o(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(a,s);i[t]=new o(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){i[e]=new o(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new o("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){i[e]=new o(e,1,!1,e.toLowerCase(),null,!0,!0)});var l=e.r(559878),c=l.CAMELCASE,p=l.SAME,u=l.possibleStandardNames,d=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),f=Object.keys(u).reduce(function(e,t){var n=u[t];return n===p?e[t]=t:n===c?e[t.toLowerCase()]=t:e[t]=n,e},{});n.BOOLEAN=3,n.BOOLEANISH_STRING=2,n.NUMERIC=5,n.OVERLOADED_BOOLEAN=4,n.POSITIVE_NUMERIC=6,n.RESERVED=0,n.STRING=1,n.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},n.isCustomAttribute=d,n.possibleStandardNames=f},965185,(e,t,n)=>{"use strict";n.__esModule=!0,n.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||i.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,c):e.replace(a,c)).replace(o,l))}},515511,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n.__esModule=!0;var o=r(e.r(473326)),i=e.r(965185);n.default=function(e,t){var n={};return e&&"string"==typeof e&&(0,o.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}},846335,(e,t,n)=>{var r=e.r(271645),o=e.r(515511).default,i={reactCompat:!0},a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e){if(r=e[n],o&&(i=t(n,r))&&2===i.length){a[i[0]]=i[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},312467,(e,t,n)=>{var r=e.r(594555),o=e.r(846335),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}t.exports=function(e,t){var n,c,p,u,d,f={},h=(e=e||{}).type&&s[e.type];for(n in e){if(p=e[n],r.isCustomAttribute(n)){f[n]=p;continue}if(u=l(c=n.toLowerCase())){switch(d=r.getPropertyInfo(u),-1!==i.indexOf(u)&&-1!==a.indexOf(t)&&!h&&(u=l("default"+c)),f[u]=p,d&&d.type){case r.BOOLEAN:f[u]=!0;break;case r.OVERLOADED_BOOLEAN:""===p&&(f[u]=!0)}continue}o.PRESERVE_CUSTOM_ATTRIBUTES&&(f[n]=p)}return o.setStyleProp(e.style,f),f}},454465,(e,t,n)=>{var r=e.r(271645),o=e.r(312467),i=e.r(846335),a=i.setStyleProp,s=i.canTextBeChildOfNode;t.exports=function e(t,n){for(var l,c,p,u,d,f,h=(n=n||{}).library||r,g=h.cloneElement,m=h.createElement,y=h.isValidElement,b=[],v="function"==typeof n.replace,z=n.trim,w=0,x=t.length;w<x;w++){if(c=t[w],v&&y(u=n.replace(c))){x>1&&(u=g(u,{key:u.key||w}
1)),b.push(u);continue}if("text"===c.type){if((p=!c.data.trim().length)&&c.parent&&!s(c.parent)||z&&p)continue;b.push(c.data);continue}switch(d=c.attribs,(l=c,i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&i.isCustomComponent(l.name,l.attribs))?a(d.style,d):d&&(d=o(d,c.name)),f=null,c.type){case"script":case"style":c.children[0]&&(d.dangerouslySetInnerHTML={__html:c.children[0].data});break;case"tag":"textarea"===c.name&&c.children[0]?d.defaultValue=c.children[0].data:c.children&&c.children.length&&(f=e(c.children,n));break;default:continue}x>1&&(d.key=w),b.push(m(c.name,d,f))}return 1===b.length?b[0]:b}},8452,(e,t,n)=>{var r=e.r(907976),o=e.r(971883),i=e.r(312467),a=e.r(454465);o="function"==typeof o.default?o.default:o;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:a(o(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=o,l.attributesToProps=i,l.Comment=r.Comment,l.Element=r.Element,l.ProcessingInstruction=r.ProcessingInstruction,l.Text=r.Text,t.exports=l,l.default=l},91557,117595,912710,715274,166303,259604,49859,742458,64753,863481,110683,420078,819701,939368,251650,450322,810412,e=>{"use strict";let t;e.s(["ApiReferenceContext",()=>tG,"ApiReferenceProvider",()=>tJ,"AuthContext",()=>t$,"AuthProvider",()=>tX,"DeploymentMetadataContext",()=>tW,"DeploymentMetadataProvider",()=>tH,"DocsConfigContext",()=>tF,"DocsConfigProvider",()=>tY,"OpenApiProvider",()=>tZ,"PageContext",()=>tV],91557);var n,r=e.i(843476),o=e.i(876469),i=e.i(644017),a=e.i(590280),s=e.i(237978),l=e.i(206558);e.s(["useUserInfo",()=>L],259604);var c=e.i(803333);function p(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}e.s(["ENCRYPTION_COOKIE_KEY",()=>d,"loadEncrypted",()=>y,"storeEncrypted",()=>m],912710),e.s(["default",()=>u],117595);var u=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=p({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",p({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,p({},this.attributes,t))},withConverter:function(t){return e(p({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let d="mintlify-auth-key",f=e=>{if(!/^[0-9a-fA-F]+$/.test(e)||e.length%2!=0)throw Error("Invalid hex key format");let t=new Uint8Array(e.length/2);for(let n=0;n<t.length;n++)t[n]=parseInt(e.slice(2*n,2*n+2),16);return t};async function h(e,t){let n=globalThis.crypto.getRandomValues(new Uint8Array(12)),r=await globalThis.crypto.subtle.importKey("raw",f(t),{name:"AES-GCM"},!1,["encrypt"]),o=new TextEncoder().encode(e),i=await globalThis.crypto.subtle.encrypt({name:"AES-GCM",iv:n},r,o);return JSON.stringify({iv:Array.from(n),ct:Array.from(new Uint8Array(i))})}async function g(e,t){let{iv:n,ct:r}=JSON.parse(e),o=f(t),i=await globalThis.crypto.subtle.importKey("raw",o,{name:"AES-GCM"},!1,["decrypt"]),a=await globalThis.crypto.subtle.decrypt({name:"AES-GCM",iv:new Uint8Array(n)},i,new Uint8Array(r));return new TextDecoder().decode(a)}async function m(e,t){if(void 0!==globalThis.crypto?.subtle)try{let n=b(),r=JSON.stringify(t),o=await h(r,n);localStorage.setItem(e,o)}catch{console.log("unable to encrypt credentials")}}async function y(e,t){if(void 0!==globalThis.crypto?.subtle)try{let n=b(),r=localStorage.getItem(e);if(!r)return;try{let e=await g(r,n),o=JSON.parse(e);if(!t||t(o))return o}catch(t){localStorage.removeItem(e),console.log(`unable to decrypt stored credentials: ${t}`)}}catch{return}}let b=()=>{let e=u.get(d);if(void 0!==e)return e;let t=Array.from(globalThis.crypto.getRandomValues(new Uint8Array(16)),e=>e.toString(16).padStart(2,"0")).join("");return u.set(d,t,{secure:"https:"===location.protocol,sameSite:"strict"}),t};var v=e.i(618566),z=e.i(271645);e.s(["USERINFO_LOCALSTORAGE_KEY",()=>w,"loadUserInfo",()=>x,"validateUserInfo",()=>E],715274);let w="mintlify-user-info";async function x(e){if(!e)return null;let t=await y(w,j);if(!t)return null;let n="shared-session"===e.type?o.DAY_IN_MILLISECONDS:o.TWO_WEEKS_IN_MILLISECONDS,r=t.data.expiresAt?1e3*t.data.expiresAt:t.retrievedAt+n;return Date.now()>
1r||e.invalidatedAt&&e.invalidatedAt>t.retrievedAt?null:t.data}function E(e){return!!e&&"object"==typeof e&&(!("expiresAt"in e)||"number"==typeof e.expiresAt)&&(!("groups"in e)||Array.isArray(e.groups)&&e.groups.every(e=>"string"==typeof e))&&(!("content"in e)||!!e.content&&"object"==typeof e.content)&&(!("apiPlaygroundInputs"in e)||!!e.apiPlaygroundInputs&&"object"==typeof e.apiPlaygroundInputs&&(!("header"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.header&&"object"==typeof e.apiPlaygroundInputs.header)&&(!("cookie"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.cookie&&"object"==typeof e.apiPlaygroundInputs.cookie)&&(!("query"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.query&&"object"==typeof e.apiPlaygroundInputs.query)&&(!("server"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.server&&"object"==typeof e.apiPlaygroundInputs.server)&&(!("path"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.path&&"object"==typeof e.apiPlaygroundInputs.path))}function j(e){return!!e&&"object"==typeof e&&"retrievedAt"in e&&"number"==typeof e.retrievedAt&&"data"in e&&E(e.data)}async function O(t,n,r,o){let i,[a,s]=function(e){if(A(e))return[e,null];let t=new URLSearchParams(e),n=t.get("jwt");return n&&A(n)?[n,t.get("anchor")]:[null,null]}(location.hash.slice(1));if(!a){let e=await x(t);if(e)return void await o(e);try{localStorage.removeItem(w)}catch{}return}let{importSPKI:l,jwtVerify:c}=await e.A(108387);for(let e of t.signingKeys)try{let t=178===e.publicKey.length?"ES256":"EdDSA",n=await l(e.publicKey,t),{payload:r}=await c(a,n);for(let e of["aud","exp","iat","iss","jti","nbf","sub"])delete r[e];i=r;break}catch(e){console.error(e)}E(i)&&await o(i);let p=s?`#${s}`:"";n.replace(`${r}${location.search}${p}`)}function A(e){return e.startsWith("ey")&&e.match(/\./g)?.length===2}e.s(["CODE_VERIFIER_COOKIE",()=>S,"default",()=>I],166303);let S="mintlify-pkce-code-verifier";async function I(t){let{default:n}=await e.A(566265),{code_challenge:r,code_verifier:i}=await n(),a=new URL(t.authorizationUrl);a.searchParams.append("response_type","code"),a.searchParams.append("client_id",t.clientId),a.searchParams.append("redirect_uri",window.location.origin+l.NEXT_PUBLIC.BASE_PATH+o.USERAUTH_OAUTH_CALLBACK_PATH),t.scopes.length&&a.searchParams.append("scope",t.scopes.join(" ")),a.searchParams.append("code_challenge",r),a.searchParams.append("code_challenge_method","S256");let s=new Date(Date.now()+10*o.MINUTE_IN_MILLISECONDS);u.set(S,i,{secure:!0,expires:s}),window.location.href=a.href}async function _(e,t,n){let r=new URL(window.location.href),o=r.searchParams.get("code");if(!o){let t=await x(e);if(t)return void await n(t);try{localStorage.removeItem(w)}catch{}return}let i=await k(e,o);E(i)&&await n(i),r.search="",t.push(r.toString())}async function k(e,t){let n,r,o=u.get(S);if(!o)return void console.error("missing code verifier");try{n=await P(e,t,o)}catch(e){console.error(`unable to complete oauth exchange request: ${e}`);return}try{let t=await fetch(e.apiUrl,{headers:{Authorization:`Bearer ${n}`}});r=await t.json()}catch(e){console.error(`unable to complete oauth api request: ${e}`);return}return r}async function P(e,t,n){let r=new URL(e.tokenUrl);r.searchParams.append("grant_type","authorization_code"),r.searchParams.append("client_id",e.clientId),r.searchParams.append("redirect_uri",window.location.origin),r.searchParams.append("code",t),r.searchParams.append("code_verifier",n);let o=await fetch(r,{method:"POST"}),{access_token:i}=await o.json();if("string"!=typeof i)throw Error("unable to parse access_token from oauth exchange response");return i}async function T(e,t){let n,r=await x(e);if(r)return void await t(r);try{localStorage.removeItem(w)}catch{}try{let t=await fetch(e.apiUrl,{credentials:"include"});if(!t.ok)return;n=await t.json()}catch{return}E(n)&&await t(n)}function L(e){let t=(0,v.useRouter)(),n=(0,c.useCurrentPath)(),[r,o]=(0,z.useState)(),[i,a]=(0,z.useState)(!0),[s,p]=(0,z.useState)(!0);(0,z.useEffect)(()=>{let r=async e=>{o(e);let t={retrievedAt:Date.now(),data:e};await m(w,t)},i=async()=>{try{a(!0);let e=await fetch(`${l.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/user`),t=await e.json();null!=t.user&&await r(t.user)}catch{}finally{a(!1)}};l.NEXT_PUBLIC.AUTH_ENABLED||"cli"===l.NEXT_PUBLIC.ENV||"development"===l.NEXT_PUBLIC.ENV?i():a(!1),(async()=>{p(!0);try{switch(e?.type){case"shared-session":return void await T(e,r);case"jwt":return void await O(e,t,n,r);case"oauth":return void await _(e,t,r);case void 0:try{localStorage.removeItem(w)}catch{}return}}finally{p(!1)}})()},[]);let u=i||s;return(0,z.useEffect)(()=>
1{if(!u){var e;e=r?.content,window.mintlify={...window.mintlify,user:e},window.dispatchEvent(new CustomEvent("mintlify:user",{detail:e??null}))}},[r,u]),{userInfo:r,isFetchingUserInfo:u}}var C=e.i(752473);function M(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}let R=C.divisions.filter(e=>"menu"!==e).map(e=>e.endsWith("s")?e.slice(0,-1):e);function N(e,t){let n=[e];for(let e of R){let r=t[e];r&&n.unshift(`${e}:${r}`)}return n.join("|")}function U(e,t){let n=t;for(let t of R)t in e&&"string"==typeof e[t]&&(n={...n,[t]:e[t]});return n}function D(e,t,n){let r="string"==typeof e?e:String(e.path||""),o=r.startsWith("/")?r:"/"+r,i=n.get(o),a=t.get(o),s=i?.title,l=i?.sidebarTitle,c={href:o,title:("string"==typeof s?s:void 0)??("string"==typeof l?l:void 0)??a?.title??function(e){let t=e.split("/").filter(Boolean);return(t[t.length-1]||"").replace(/-/g," ").replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}(o)},p=i?.sidebarTitle??a?.sidebarTitle;"string"==typeof p&&(c.sidebarTitle=p);let u=i?.description??a?.description;"string"==typeof u&&(c.description=u);let d=i?.icon??a?.icon;for(let e of("string"==typeof d&&(c.icon=d),["api","openapi","asyncapi","contentType","authMethod","auth","version","mode","hideFooterPagination","authors","lastUpdatedDate","createdDate","openapi-schema","tag","url","hideApiMarker","noindex","isPublic","public","deprecated"])){let t=i?.[e]??a?.[e];void 0!==t&&(c[e]=t)}return c}function B(e,t,n,r){return e.map(e=>{if("string"==typeof e)return D(e,t.pageMetadata,n);if(M(e)){if("group"in e)return q(e,t,n,r);if("path"in e)return D(e,t.pageMetadata,n)}return e})}function q(e,t,n,r){let o={...e},i=N("string"==typeof o.group?o.group:"",r),a=("openapi"in o||"asyncapi"in o)&&!("pages"in o&&o.pages);if("pages"in o&&Array.isArray(o.pages))o.pages=B(o.pages,t,n,r);else if(a){let e=t.groupPages.get(i);e&&e.length>0?o.pages=e:o.pages=[]}else"group"in o&&(o.pages=[]);return"root"in o&&o.root&&("string"==typeof o.root?o.root=D(o.root,t.pageMetadata,n):M(o.root)&&(o.root=D(o.root,t.pageMetadata,n))),o}function V(e,t,n,r){return e.map(e=>M(e)?q(e,t,n,r):e)}var W=e.i(42143),F=e.i(322986);e.s(["getClientBoundaryDocsConfig",()=>G],49859);var $=e.i(352350);function G(e){let{redirects:t,navigation:n,...r}=e;return{...r,navigation:function(e){let t={..."global"in e&&e.global?{global:e.global}:{},...e.directory?{directory:e.directory}:{}};return"languages"in e?{...t,languages:e.languages.map(e=>({language:e.language,...void 0!==e.default?{default:e.default}:{},...void 0!==e.hidden?{hidden:e.hidden}:{},...e.banner?{banner:e.banner}:{},...e.footer?{footer:e.footer}:{},...e.navbar?{navbar:e.navbar}:{},...e.directory?{directory:e.directory}:{},href:"href"in e&&"string"==typeof e.href&&e.href||((0,$.getFirstPageFromNavConfig)(e)??"/")}))}:{...t,pages:[]}}(n)}}e.s(["OpenApiReferenceContext",()=>tB,"OpenApiReferenceProvider",()=>tq],810412),e.s(["langToPresetMap",()=>X,"shikiLangToDisplayLang",()=>Z,"snippetPresets",()=>Y,"toShikiLang",()=>J],742458);let H=[{key:"bash",aliases:["curl","sh","shell"],displayName:"cURL",shikiLanguage:"bash",httpSnippet:{target:"shell"}},{key:"python",aliases:["py"],displayName:"Python",shikiLanguage:"python",httpSnippet:{target:"python",client:"requests"}},{key:"javascript",aliases:["js"],displayName:"JavaScript",shikiLanguage:"javascript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"node",aliases:["nodejs","node.js"],displayName:"Node.js",iconKey:"node",shikiLanguage:"javascript",httpSnippet:{target:"node",client:"fetch"}},{key:"php",displayName:"PHP",shikiLanguage:"php",httpSnippet:{target:"php",client:"curl"}},{key:"go",aliases:["golang"],displayName:"Go",shikiLanguage:"go",httpSnippet:{target:"go"}},{key:"java",displayName:"Java",shikiLanguage:"java",httpSnippet:{target:"java"}},{key:"ruby",aliases:["rb"],displayName:"Ruby",shikiLanguage:"ruby",httpSnippet:{target:"ruby"}},{key:"powershell",displayName:"PowerShell",shikiLanguage:"bash",httpSnippet:{target:"powershell"}},{key:"swift",displayName:"Swift",shikiLanguage:"swift",httpSnippet:{target:"swift"}},{key:"csharp",aliases:["c#"],displayName:"C#",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"dotnet",aliases:[".net",".NET","dotnet","dot-net"],displayName:".NET",iconKey:"dot-net",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}}
1,{key:"typescript",aliases:["ts"],displayName:"TypeScript",shikiLanguage:"typescript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"c",displayName:"C",shikiLanguage:"c",httpSnippet:{target:"c"}},{key:"c++",aliases:["cpp"],displayName:"C++",shikiLanguage:"c++",iconKey:"cplusplus",httpSnippet:{target:"c"}},{key:"kotlin",aliases:["kt"],displayName:"Kotlin",shikiLanguage:"kotlin",httpSnippet:{target:"kotlin"}},{key:"rust",aliases:["rs"],displayName:"Rust",shikiLanguage:"rust",httpSnippet:{target:"rust"}},{key:"dart",aliases:["flutter"],displayName:"Dart",shikiLanguage:"dart",httpSnippet:{target:"dart"}}],K=new Map;for(let e of H)for(let t of(K.set(e.key.toLowerCase(),e),null!=(n=e.aliases)?n:[]))K.set(t.toLowerCase(),e);let Y=H.filter(e=>["bash","python","javascript","php","go","java","ruby"].includes(e.key)),X=Object.fromEntries(H.flatMap(e=>{var t;return[[e.key,e],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e])]})),J=e=>{var t,n;return null!=(n=null===(t=K.get(e.toLowerCase()))||void 0===t?void 0:t.key)?n:e.toLowerCase()},Z=Object.fromEntries(H.flatMap(e=>{var t;return[[e.key,e.displayName],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e.displayName])]}));var Q=e.i(422233);let ee=e=>{let t=e=>{let t,n={};if((t="enum<string>"===e.type?"string":"enum<number>"===e.type?"number":"enum<integer>"===e.type?"integer":"file"===e.type?"string":"any"===e.type?void 0:e.type)&&(n.type=t),e.title&&(n.title=e.title),e.description&&(n.description=e.description),void 0!==e.default&&(n.default=e.default),void 0!==e.example&&(n.example=e.example),e.deprecated&&(n.deprecated=e.deprecated),e.readOnly&&(n.readOnly=e.readOnly),e.writeOnly&&(n.writeOnly=e.writeOnly),("enum<string>"===e.type||"enum<number>"===e.type||"enum<integer>"===e.type)&&(n.enum=e.enum),"string"===e.type)e.format&&(n.format=e.format),e.pattern&&(n.pattern=e.pattern),e.maxLength&&(n.maxLength=e.maxLength),e.minLength&&(n.minLength=e.minLength),"const"in e&&void 0!==e.const&&(n.const=e.const);else if("number"===e.type||"integer"===e.type)void 0!==e.minimum&&(n.minimum=e.minimum),void 0!==e.maximum&&(n.maximum=e.maximum),e.multipleOf&&(n.multipleOf=e.multipleOf),"const"in e&&void 0!==e.const&&(n.const=e.const);else if("array"===e.type)e.maxItems&&(n.maxItems=e.maxItems),e.minItems&&(n.minItems=e.minItems),e.uniqueItems&&(n.uniqueItems=e.uniqueItems),e.items&&(n.items=ee(e.items));else if("object"===e.type){if(e.maxProperties&&(n.maxProperties=e.maxProperties),e.minProperties&&(n.minProperties=e.minProperties),e.properties){n.properties={};let t=[];Object.entries(e.properties).forEach(([e,r])=>{var o;n.properties[e]=ee(r),Array.isArray(r)&&(null==(o=r[0])?void 0:o.required)&&t.push(e)}),t.length>0&&(n.required=t)}void 0!==e.additionalProperties&&("boolean"==typeof e.additionalProperties?n.additionalProperties=e.additionalProperties:n.additionalProperties=ee(e.additionalProperties))}else"file"===e.type&&(n.format=e.contentEncoding||"binary");return n};return 1===e.length?t(e[0]):{oneOf:e.map(e=>t(e))}};e.s(["addKeyIfDefined",()=>el,"combineAdditionalProperties",()=>ex,"combineDescription",()=>ew,"combineExamples",()=>ev,"combineProperties",()=>ez,"combineTitle",()=>ey,"copyAndCombineKeys",()=>eb,"copyExampleIfDefined",()=>ep,"copyKeyIfDefined",()=>ec,"dereference",()=>es,"discriminatorAndSchemaRefsMatch",()=>eE,"getFileLikeStringEncoding",()=>er,"getSchemaContentEncoding",()=>ea,"getSchemaContentMediaType",()=>ei,"mergeTypes",()=>ef,"normalizeMinMax",()=>eh,"sortSchemas",()=>ed,"structuredDataContentTypes",()=>en],64753);var et=e.i(429965);let en=["multipart/form-data","application/json","application/x-www-form-urlencoded"];function er(e){return"binary"===e.format||"base64"===e.format?e.format:"string"==typeof e.contentMediaType&&function(e){var t,n;let r=e.toLowerCase().trim();if(0===r.length)return!1;let o=null!=(n=null==(t=r.split(";",1)[0])?void 0:t.trim())?n:r;return o.startsWith("image/")||o.startsWith("audio/")||o.startsWith("video/")||eo.has(o)}(e.contentMediaType)?"base64"===e.contentEncoding||"base64url"===e.contentEncoding?"base64":"binary":void 0}let eo=new Set(["application/octet-stream","application/pdf","application/zip","application/gzip","application/x-gzip","application/x-zip-compressed","application/x-tar","application/x-7z-compressed","application/vnd.rar","application/x-rar-compressed"]);function ei(e){if(!("contentMediaType"in e))return;let t=e.contentMediaType;return"string"==typeof t?t:void 0}function ea(e){if(!("contentEncoding"in e))return;let t=e.contentEncoding;return"string"==typeof t?t:void 0}function es(e,t,n,r=5){let o=`#/components/${e}/`;if(!t.startsWith(o))return;let i=t.slice(o.length),a=null==n?void 0:n[i];return a&&"$ref"in a?r>0&&"string"==typeof a.$ref?es(e,a.$ref,n,r-1):void 0:a}
1let el=(e,t,n)=>{void 0!==t&&(n[e]=t)},ec=(e,t,n)=>{void 0!==t[e]&&(n[e]=t[e])},ep=(e,t)=>{var n;let r=void 0!==e.example?e.example:null==(n=e.examples)?void 0:n[0];void 0!==r&&(t.example=r)};function eu(e,t){var n;if("object"==typeof e&&void 0!==t){if(e.discriminator&&e.discriminator.mapping){let r=e.discriminator.mapping;if(t in r&&(null==(n=r[t])?void 0:n.description))return r[t].description}if(Array.isArray(e)){for(let n of e){let e=eu(n,t);if(e)return e}return}if("type"in e&&e.type===t&&"description"in e&&"string"==typeof e.description)return e.description;for(let[n,r]of Object.entries(e)){if(n===t&&"object"==typeof r&&null!==r&&"description"in r&&"string"==typeof r.description)return r.description;let e=eu(r,t);if(e)return e}}}function ed(e){e.sort((e,t)=>{var n,r;let o=null!=(n=e._depth)?n:0,i=null!=(r=t._depth)?r:0;return o!==i?o-i:e.type&&!t.type?-1:!e.type&&t.type?1:0})}function ef(e,t){let n=t.type;if("integer"===e.type&&"number"===n?n="integer":"number"===e.type&&"integer"===n?e.type="integer":void 0===e.type&&void 0!==n?e.type=n:void 0!==e.type&&void 0===n&&(n=e.type),e.type!==n)throw Error(`${e.type} vs ${n}`)}function eh(e){"number"==typeof e.exclusiveMaximum&&(void 0===e.maximum||e.maximum>=e.exclusiveMaximum?(e.maximum=e.exclusiveMaximum,e.exclusiveMaximum=!0):e.exclusiveMaximum=void 0),"number"==typeof e.exclusiveMinimum&&(void 0===e.minimum||e.minimum<=e.exclusiveMinimum?(e.minimum=e.exclusiveMinimum,e.exclusiveMinimum=!0):e.exclusiveMinimum=void 0)}let eg=(e,t,n,r)=>{var o;return void 0!==e[n]&&void 0!==t[n]?r(e[n],t[n]):null!=(o=e[n])?o:t[n]},em=(e,t,n,r)=>{el(e,eg(t,n,e,r),n)};function ey(e,t){void 0!=t.discriminator||void 0==t.type&&void 0!=e.title||t.isAllOf&&t.refIdentifier&&t.refIdentifier!==t.isAllOf||ec("title",t,e)}function eb(e,t){ec("refIdentifier",t,e),ec("examples",t,e),ec("format",t,e),ec("contentMediaType",t,e),ec("contentEncoding",t,e),ec("default",t,e),ec("x-default",t,e),ec("const",t,e),ec("x-mint-enum",t,e),ec("x-mint",t,e),em("multipleOf",t,e,et.default),em("maxLength",t,e,Math.min),em("minLength",t,e,Math.max),em("maxItems",t,e,Math.min),em("minItems",t,e,Math.max),em("maxProperties",t,e,Math.min),em("minProperties",t,e,Math.max),em("required",t,e,(e,t)=>t.concat(e.filter(e=>!t.includes(e)))),em("enum",t,e,(e,t)=>t.filter(t=>e.includes(t))),em("readOnly",t,e,(e,t)=>e&&t),em("writeOnly",t,e,(e,t)=>e&&t),em("deprecated",t,e,(e,t)=>e||t);let n=eg(t,e,"maximum",Math.min),r=eg(t,e,"minimum",Math.max);el("exclusiveMaximum",(e.maximum===n?e.exclusiveMaximum:void 0)||(t.maximum===n?t.exclusiveMaximum:void 0),e),el("exclusiveMinimum",(e.minimum===r?e.exclusiveMinimum:void 0)||(t.minimum===r?t.exclusiveMinimum:void 0),e),el("maximum",n,e),el("minimum",r,e)}function ev(e,t){var n,r;let o=(null==(n=e.examples)?void 0:n[0])!==void 0?e.examples[0]:e.example,i=(null==(r=t.examples)?void 0:r[0])!==void 0?t.examples[0]:t.example;o&&i&&"object"==typeof o&&"object"==typeof i?e.example=Object.assign(Object.assign({},o),i):el("example",void 0!==i?i:o,e)}function ez(e,t,n,r){t.properties&&Object.entries(t.properties).filter(([e,t])=>{if("$ref"in t){let e=es("schemas",t.$ref,n);if(!e)return!0;t=e}return(!t.readOnly||"request"!==r)&&(!t.writeOnly||"response"!==r)}).forEach(([t,n])=>{var r;let o=null!=(r=e.properties)?r:{},i=o[t];i?i.allOf.push(n):o[t]={allOf:[n]},e.properties=o})}function ew(e,t,n){var r,o;if((null==(r=e.properties)?void 0:r.type)&&t.discriminator&&!e.description){let r,i=null!=(o=e.properties.type.allOf[0])?o:{};"const"in i&&"string"==typeof i.const&&(r=i.const);let a=eu(t,r)||n.flatMap(e=>eu(e,r)).filter(Boolean)[0];a&&(e.description=a)}else e.description&&t.description&&!t.discriminator&&!e.description.includes(t.description)?e.description=`${e.description}
2${t.description}`:e.description||ec("description",t,e)}function ex(e,t){var n;if(!1===t.additionalProperties)e.additionalProperties=!1;else if(!1!==e.additionalProperties&&t.additionalProperties&&"object"==typeof t.additionalProperties){let r=null!=(n=e.additionalProperties)?n:{allOf:[]};r.allOf.push(t.additionalProperties),e.additionalProperties=r}}function eE(e){let t=e.discriminator;if(null==t||!t.mapping)return!1;{let n=Object.values(t.mapping).map(e=>e),r=[];
2"allOf"in e&&Array.isArray(e.allOf)&&e.allOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)}),"oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)}),"anyOf"in e&&Array.isArray(e.anyOf)&&e.anyOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)});let o=new Set(n),i=new Set(r);return o.size===i.size&&[...o].every(e=>i.has(e))}}e.s(["buildRecursiveParamFieldId",()=>td,"convertAnySchemaToOneOfs",()=>e5,"decodePathSegment",()=>e7,"encodeBasicAuth",()=>tc,"escapeDots",()=>e8,"filterSchemasWithConsts",()=>to,"generateSchemaOptionLabels",()=>tu,"generateSimpleSchemaLabel",()=>tp,"getBodyDefaultsFromSchema",()=>ti,"getBooleanEnumOptions",()=>eX,"getDeepObjectParentName",()=>th,"getDifferentiatedType",()=>eK,"getParametersPerSection",()=>e2,"getPrefillRequestExamples",()=>e1,"getRecursiveParentName",()=>tf,"getRequestBodyContentType",()=>e3,"getSchemaDefault",()=>e6,"getSchemaPlaceholder",()=>eJ,"getSecurityOptionInputKeyPrefix",()=>ta,"getSecuritySchemeName",()=>tl,"hasPropertyChildren",()=>e$,"isArrayObject",()=>eG,"isBasicAuth",()=>ts,"isCircularRef",()=>eV,"isEnum",()=>eY,"isFileExample",()=>tg,"isNumberSchema",()=>eQ,"isObjectArray",()=>eH,"isSchemaObject",()=>eF,"isStringSchema",()=>eZ,"mapParamInToPlaygroundInputKey",()=>e9,"mapResponseExamples",()=>e0,"unflattenInputs",()=>te],819701);var ej=e.i(462153);let eO={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},eA=new Uint8Array(16),eS=[];for(let e=0;e<256;++e)eS.push((e+256).toString(16).slice(1));let eI=function(e,n,r){if(eO.randomUUID&&!n&&!e)return eO.randomUUID();let o=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(eA)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){if((r=r||0)<0||r+16>n.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[r+e]=o[e];return n}return function(e,t=0){return(eS[e[t+0]]+eS[e[t+1]]+eS[e[t+2]]+eS[e[t+3]]+"-"+eS[e[t+4]]+eS[e[t+5]]+"-"+eS[e[t+6]]+eS[e[t+7]]+"-"+eS[e[t+8]]+eS[e[t+9]]+"-"+eS[e[t+10]]+eS[e[t+11]]+eS[e[t+12]]+eS[e[t+13]]+eS[e[t+14]]+eS[e[t+15]]).toLowerCase()}(o)};var e_=e.i(368971);let ek=({schema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o=new WeakMap})=>{if("$ref"in e){let n=t[e.$ref]||eI();e.$ref=n;return}if(o.has(e))return void o.get(e);if(o.set(e,""),"properties"in e&&e.properties&&"object"==typeof e.properties&&Object.entries(e.properties).forEach(([i,a])=>{var s;if("object"!=typeof a||null===a)return;let l=eP({childSchema:a,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.properties)?void 0:s[i])&&(e.properties[i]=l)}),"items"in e&&e.items&&"object"==typeof e.items){let i=eP({childSchema:e.items,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.items=i)}if("additionalProperties"in e&&"object"==typeof e.additionalProperties){let i=eP({childSchema:e.additionalProperties,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.additionalProperties=i)}if("oneOf"in e&&e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=eP({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.oneOf)?void 0:s[a])&&(e.oneOf[a]=l)}),"anyOf"in e&&e.anyOf&&Array.isArray(e.anyOf)&&e.anyOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=eP({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.anyOf)?void 0:s[a])&&(e.anyOf[a]=l)}),"allOf"in e&&e.allOf&&Array.isArray(e.allOf)&&e.allOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=eP({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.allOf)?void 0:s[a])&&(e.allOf[a]=l)}),"not"in e&&e.not&&"object"==typeof e.not){let i=eP({childSchema:e.not,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.not=i)}if("discriminator"in e&&e.discriminator&&"object"==typeof e.discriminator&&"mapping"in e.discriminator&&e.discriminator.mapping){let n=e.discriminator.mapping;
2for(let e of Object.keys(n)){let r=n[e];if("string"==typeof r&&r.startsWith("#/")){let o=t[r];o&&(n[e]=o)}}}},eP=({childSchema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o})=>{if("object"!=typeof e)return;if("$ref"in e){let i=t[e.$ref]||eI();if(0===Object.keys(e).filter(e=>"$ref"!==e).length)return i;let a=eI();e.$ref=i;let s=(0,e_.default)(e);return s in r?n[a]=s:(n[a]=s,r[s]=e),o.set(e,a),a}if(o.has(e)){let t=o.get(e);if(t)return t}let i=eI(),a=(0,e_.default)(e);return a in r?(n[i]=a,o.set(e,i)):(n[i]=a,ek({schema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o}),o.set(e,i),r[a]=e),i};var eT=e.i(866285);e.s(["CIRCULAR_REF_KEY",()=>eC,"MAX_SCHEMA_COMBINATION_SIZE",()=>eL,"apiPlaygroundInputKeys",()=>eN,"combinationKeys",()=>eM,"initialApiPlaygroundInputs",()=>eR,"orNullTypeString",()=>eU],863481);let eL=1e3,eC="$circularRef",eM=["properties","additionalProperties","items","oneOf","anyOf","allOf"],eR={server:{},path:{},query:{},header:{},cookie:{},body:void 0},eN={server:"server",path:"path",query:"query",header:"header",cookie:"cookie",body:"body"},eU=" | null";e.s(["getExampleBodyInputs",()=>eB],420078),e.s(["updateSchemaUniqueKeys",()=>eD],110683);let eD=(e,t,n)=>{if(!eF(e))return e;let r=Object.assign({},e);if(r.uniqueKey&&r.uniqueKey.startsWith(t)&&(r.uniqueKey=r.uniqueKey.replace(t,n)),r.oneOf&&Array.isArray(r.oneOf)&&(r.oneOf=r.oneOf.map(e=>eF(e)?eD(e,t,n):e)),r.properties&&"object"==typeof r.properties){let e={};Object.entries(r.properties).forEach(([r,o])=>{eF(o)?e[r]=eD(o,t,n):e[r]=o}),r.properties=e}return r.additionalProperties&&"object"==typeof r.additionalProperties&&eF(r.additionalProperties)&&(r.additionalProperties=eD(r.additionalProperties,t,n)),"array"===r.type&&"items"in r&&eF(r.items)&&(r.items=eD(r.items,t,n)),r},eB=({schema:e,example:t})=>(function e(t,n,r,o=[]){var i,a,s,l;let c={};if(null==n)return c;if(t.oneOf&&Array.isArray(t.oneOf)){let a=null;for(let e of t.oneOf)if(eF(e)&&function e(t,n){let r=typeof n;if(t.oneOf&&Array.isArray(t.oneOf))return t.oneOf.some(t=>!!eF(t)&&e(t,n));if(t.enum&&Array.isArray(t.enum))return t.enum.includes(n);if("string"===t.type&&"string"===r&&t.pattern&&"string"==typeof n)try{return new RegExp(t.pattern).test(n)}catch(e){return!1}if("object"===t.type&&"object"===r&&null!==n&&!Array.isArray(n)){if(t.properties&&"object"==typeof t.properties){let r=Object.keys(n),o=Object.keys(t.properties);if(t.required&&Array.isArray(t.required)&&t.required.some(e=>"string"==typeof e&&!r.includes(e)))return!1;for(let i of r)if(o.includes(i)){let r=t.properties[i],o=n[i];if(eF(r)&&!function t(n,r){if(n.enum&&Array.isArray(n.enum))return n.enum.includes(r);if(n.oneOf&&Array.isArray(n.oneOf))return n.oneOf.some(t=>!!eF(t)&&e(t,r));let o=typeof r;if("string"===n.type&&"string"!==o||"number"===n.type&&"number"!==o||"integer"===n.type&&("number"!==o||!Number.isInteger(r))||"boolean"===n.type&&"boolean"!==o||"array"===n.type&&!Array.isArray(r)||"object"===n.type&&("object"!==o||null===r||Array.isArray(r)))return!1;if("array"===n.type&&Array.isArray(r)&&eF(n.items)){for(let t of r)if(!e(n.items,t))return!1}if("object"===n.type&&null!==r&&"object"==typeof r&&!Array.isArray(r)&&n.properties){for(let[e,o]of Object.entries(n.properties))if(e in r&&eF(o)&&!t(o,r[e]))return!1}return!0}(r,o))return!1}if(r.length>0&&o.length>0)return r.some(e=>o.includes(e));if(0===r.length)return!(t.required&&Array.isArray(t.required)&&t.required.length>0)}return!0}return!!("string"===t.type&&"string"===r||"number"===t.type&&"number"===r||"integer"===t.type&&"number"===r&&Number.isInteger(n)||"boolean"===t.type&&"boolean"===r||"array"===t.type&&Array.isArray(n))}(e,n)){let t=function(e,t){if("object"===e.type&&"object"==typeof t&&null!==t&&!Array.isArray(t)&&e.properties&&"object"==typeof e.properties){let n=Object.keys(t),r=Object.keys(e.properties);return n.filter(e=>r.includes(e)).length}return 1}(e,n);(null===a||t>a.matchCount)&&(a={variant:e,matchCount:t})}let s=null!=(i=null==a?void 0:a.variant)?i:t.oneOf.length>0&&eF(t.oneOf[0])?t.oneOf[0]:null;if(s){if("object"!==s.type&&"array"!==s.type){if(s.uniqueKey){let e=eq(s.uniqueKey,o);c[`${r}.${e}`]=n}return c}return e(s,n,r,o)}}if("object"===t.type&&t.properties&&"object"==typeof n&&!Array.isArray(n))for(let[i,a]of Object.entries(t.properties)){if(!eF(a))continue;let t=n[i];if(void 0!==t){if("object"===a.type||"array"===a.type||a.oneOf)Object.assign(c,e(
2a,t,r,o));else if(a.uniqueKey){let e=eq(a.uniqueKey,o);c[`${r}.${e}`]=t}}}if("object"===t.type&&eF(t.additionalProperties)&&"object"==typeof n&&!Array.isArray(n)){let i=t.additionalProperties,l=null!=(a=i.uniqueKey)?a:"",p=null!=(s=t.uniqueKey)?s:"";for(let[a,s]of Object.entries(n)){if(!l)break;if("__proto__"===a||"constructor"===a||"prototype"===a||t.properties&&Object.prototype.hasOwnProperty.call(t.properties,a)||void 0===s)continue;let n=p?`${p}.${e8(a)}`:e8(a),u=e(eD(i,l,n),s,r,o);0===Object.keys(u).length?c[`${r}.${eq(n,o)}`]=s:Object.assign(c,u)}}if("array"===t.type&&Array.isArray(n)&&"items"in t&&eF(t.items)){let i=t.items;n.forEach((t,n)=>{Object.assign(c,e(i,t,r,[...o,n]))})}let p="object"===t.type&&(Object.keys(null!=(l=t.properties)?l:{}).length>0||eF(t.additionalProperties)),u="array"===t.type&&"items"in t&&eF(t.items);if(!p&&!u&&!t.oneOf&&t.uniqueKey){let e=eq(t.uniqueKey,o);c[`${r}.${e}`]=n}return c})(e,t,eN.body);function eq(e,t){let n=e;return t.forEach(e=>{n=n.replace("[INDEX]",e.toString())}),n}function eV(e){return"object"==typeof e&&null!==e&&eC in e&&"string"==typeof e[eC]}let eW=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),eF=e=>!!eW(e)&&("type"in e||"properties"in e||"oneOf"in e||"anyOf"in e||"allOf"in e||"items"in e||"additionalProperties"in e||"enum"in e||"const"in e||"format"in e||"pattern"in e||"minimum"in e||"maximum"in e||"minLength"in e||"maxLength"in e||"minItems"in e||"maxItems"in e||"minProperties"in e||"maxProperties"in e||"required"in e||"nullable"in e||"description"in e),e$=e=>!!eF(e)&&(!!e.properties&&Object.keys(e.properties).length>0||!!e.additionalProperties&&Object.keys(e.additionalProperties).length>0),eG=e=>eF(e)&&"array"===e.type,eH=e=>eG(e)&&eF(e.items)&&"object"===e.items.type,eK=e=>{if(e.oneOf)return"oneOf";if(e.enum)switch(e.type){case"string":return"enum<string>";case"number":return"enum<number>";case"integer":return"enum<integer>";case"boolean":return"enum<boolean>";default:return e.type}return void 0!==er(e)?"file":e.type},eY=e=>"enum"in e&&void 0!==e.enum,eX=e=>{if(e.enum&&e.enum.length>0){let t=e.enum.map(e=>"boolean"==typeof e?e:"true"===e||"false"!==e&&null).filter(e=>null!==e);if(t.length>0)return t}return[!0,!1]},eJ=e=>"placeholder"in e&&"string"==typeof e.placeholder?e.placeholder:void 0,eZ=e=>"string"===e.type,eQ=e=>"number"===e.type||"integer"===e.type,e0=e=>{var t,n;let r={};return Object.entries(null!=(n=null==(t=e.operation)?void 0:t.responses)?n:{}).forEach(([t,n])=>{var o,i;let a=null==(i=null==(o=e.dependencies)?void 0:o.responses)?void 0:i[n];a&&a.content&&(r[t]=a.content)}),r},e1=e=>{var t,n,r;let o=null==(n=null==(t=e.dependencies)?void 0:t.requestBody)?void 0:n.content;if(void 0===o)return[];let i=Object.keys(o)[0];if(!i)return[];let a=o[i],s=null==a?void 0:a.schema;if(!eF(s))return[];let l=Object.values(null!=(r=null==a?void 0:a.examples)?r:{});if(0===l.length)return[];let c=[];for(let e of l)if("value"in e){let t=eB({schema:s,example:e.value});c.push(t)}return c},e2=e=>{var t;let n=null==(t=e.dependencies)?void 0:t.parameters;if(n){let e=Object.values(n),t=e.filter(e=>!("in"in e)||"header"===e.in),r=e.filter(e=>"cookie"===e.in);return{header:t,path:e.filter(e=>
2"path"===e.in),query:e.filter(e=>"query"===e.in),cookie:r}}return{header:[],path:[],query:[],cookie:[]}},e6=e=>{let t;if(e)return"object"==typeof e&&"default"in e&&(t=e.default),"object"==typeof e&&"x-default"in e&&(t=e["x-default"]),t},e5=()=>({oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{}},{type:"null"}]}},{type:"null"}]}),e3=(e,t)=>{var n,r;let o=null==(r=null==(n=e.dependencies)?void 0:n.requestBody)?void 0:r.content;if(void 0!==o)return Object.keys(o)[t]},e4=new Set(["oneOf","items","additionalProperties"]),e8=e=>{let t=e.replace(/\./g,"\\.");return e4.has(e)||t.startsWith("\\")?`\\${t}`:t},e7=e=>e.startsWith("\\")?e.slice(1):e,e9=e=>{switch(e){case"header":default:return eN.header;case"path":return eN.path;case"query":return eN.query;case"cookie":return eN.cookie}},te=e=>{let t={server:{},header:{},path:{},query:{},cookie:{},body:void 0};return Object.entries(e).forEach(([e,n])=>{if(void 0===n)return;let r=e.split(/(?<!\\)\./).map(e=>e.replace(/\\\./g,"."));if(r.length<2){"body"===e&&(t.body=n);return}let[o,...i]=r,a=Object.values(eN);if(o&&a.includes(o))if(o!==eN.body){if(null===n)return;tr(t[o],[...i],n)}else 0==[...i].length?t.body=n:((void 0===t.body||"object"!=typeof t.body)&&(t.body={}),tr(t.body,i,n))}),tt(t)},tt=e=>{if(null==e||(0,ej.isFile)(e)||e instanceof FileList)return e;if(Array.isArray(e))return e.map(tt);if(eW(e)){if((e=>{if(!eW(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>null!==tb(e))})(e)){let t=[];for(let[n,r]of Object.entries(e)){let e=tb(n);null!==e&&t.push({index:e,value:tt(r)})}return t.sort((e,t)=>e.index-t.index),t.map(e=>e.value)}if((e=>{if(!eW(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>/^\d+$/.test(e))})(e))return Object.keys(e).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]).map(tt);let t={};for(let[n,r]of Object.entries(e))t[n]=tt(r);return t}return e},tn=new Set(["__proto__","constructor","prototype"]),tr=(e,t,n)=>{let r=[];for(let e=0;e<t.length;e++){let n=t[e];if(n&&tn.has(n))return;if("oneOf"===n){e++;continue}if("items"===n){let n=t[e+1];if(void 0!==n&&/^\d+$/.test(n))continue}if("additionalProperties"!==n&&n){let e=e7(n);if(tn.has(e))return;r.push(e)}}let o=e;for(let e=0;e<r.length;e++){let t=r[e];e===r.length-1?t&&(o[t]=n):(!t||Object.prototype.hasOwnProperty.call(o,t)&&o[t]&&"object"==typeof o[t]||(o[t]={}),t&&(o=o[t]))}},to=e=>e.filter(e=>!("enum"in e)||!e.enum||!("const"in e)||e.enum.includes(e.const)),ti=(e,t=0)=>{let n={};if("uniqueKey"in e&&void 0!==e.uniqueKey){let t=e6(e);if(void 0!==t){let r=`${eN.body}.${e.uniqueKey}`;n[r=r.replaceAll("[INDEX]","0")]=t}}if("oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let r=t<e.oneOf.length?t:0,o=e.oneOf[r];eF(o)&&Object.assign(n,ti(o,0))}return"object"===e.type&&e.properties&&Object.values(e.properties).forEach(e=>{eF(e)&&Object.assign(n,ti(e,0))}),e.additionalProperties&&"object"==typeof e.additionalProperties&&eF(e.additionalProperties)&&Object.assign(n,ti(e.additionalProperties,0)),n},ta=e=>{var t;let n="schemes"in e?null==(t=e.schemes[0])?void 0:t.scheme:e.scheme;if(!n)return"header.Authorization";let r="in"in n?n.in:"header",o="name"in n?n.name:tl(n);return`${e9(r)}.${e8(o)}`},ts=e=>e&&"type"in e&&"http"===e.type&&"basic"===e.scheme,tl=e=>e&&"type"in e&&"apiKey"===e.type?e.name:"Authorization",tc=(e,t)=>{let n=new TextEncoder().encode(`${null!=e?e:""}:${null!=t?t:""}`),r="";for(let e of n)r+=String.fromCharCode(e);return btoa(r)},tp=e=>{var t;let n=e.typeLabel,r="type"in e&&"string"==typeof e.type?e.type:void 0;return null!=(t=null!=n?n:r)?t:"unknown"},tu=e=>{if(e.length<=1)return e.map(e=>tp(e));let t=e.every(e=>"object"===e.type),n=e.map(e=>tp(e));return t?e.map((e,t)=>{var n;return null!=(n=e.title)?n:`Option ${t+1}`}):new Set(n).size===n.length?n:n.map((t,n)=>{var r,o;let i=null!=(o=null==(r=e[n])?void 0:r.title)?o:`Option ${n+1}`;return t.startsWith(`${i} \xb7 `)?t:`${i} \xb7 ${t}`})},td=(e,t,n,r)=>(0,eT.default)(`${e?`${e}-`:""}${n?`${n}-`:""}${t||""}-${r||""}`,{decamelize:!0}),tf=(e,t)=>e?`${t?`${t}`:""}${e}.`:"",th=(e,t)=>e?t?`${t}${e}][`:`${e}[`:"",tg=e=>void 0!==er(e),tm="_tupleOriginal",ty=e=>tm in e&&!0===e[tm],tb=e=>{let t=e.match(/^\[(\d+)\]$/);return t&&void 0!==t[1]?parseInt(t[1],10):null},tv=e=>{var t;let n=e.type;if("string"===e.type&&void 0!==er(e))return"file";if(Array.isArray(n))return null!=(t=n[0])?t:"string";if(!n){if(e.oneOf&&Array.isArray(e.oneOf)){let t=e.oneOf.map(e=>eF(e)&&"typeLabel"in e?e.typeLabel:void 0).filter(e=>void 0!==e);if(t.length>0){let e=new Set(t);if(1===e.size){let t=Array.from(e)[0];if(t)return t}let n=e.size===t.length?" | ":" · ";return t.join(n)}}return"any"}switch(n){case"null":return"null";case"object":if(ty(e)){if(e.title)return`${e.title} \xb7 tuple`;return"tuple"}if(e.title)return`${e.title} \xb7 object`;return"object";
2case"array":if("items"in e&&e.items&&eF(e.items)){let t="typeLabel"in e.items&&"string"==typeof e.items.typeLabel?e.items.typeLabel:tv(e.items),n=t.includes(" | ")?`(${t})`:t;if("object"===t&&e.title)return`${e.title} \xb7 object[]`;return`${n}[]`}if(e.title)return`${e.title} \xb7 array`;return"array";default:if("enum"in e&&void 0!==e.enum)return`enum<${n}>`;return"format"in e&&"string"==typeof e.format?`${n}<${e.format}>`:n}},tz=e=>{if(!eF(e))return e;let t=Object.assign({},e);if(t.oneOf&&Array.isArray(t.oneOf)&&(t.oneOf=t.oneOf.map(e=>eF(e)?tz(e):e)),"object"===t.type&&t.properties){let e={};Object.entries(t.properties).forEach(([t,n])=>{eF(n)?e[t]=tz(n):e[t]=n}),t.properties=e}return t.additionalProperties&&"object"==typeof t.additionalProperties&&eF(t.additionalProperties)&&(t.additionalProperties=tz(t.additionalProperties)),"array"===t.type&&"items"in t&&eF(t.items)&&(t.items=tz(t.items)),t.typeLabel=tv(t),t};e.s(["addUniqueKeysToSchema",()=>tw,"getParamIdFromSchema",()=>tE,"getUniqueInputKey",()=>tx],939368);let tw=(e,t="")=>{if(!eF(e))return e;let n=Object.assign(Object.assign({},e),{uniqueKey:t});if(n.oneOf&&Array.isArray(n.oneOf)&&(n.oneOf=n.oneOf.map((e,n)=>eF(e)?tw(e,t?`${t}.oneOf.${n}`:`oneOf.${n}`):e)),"object"===n.type&&n.properties){let e={};Object.entries(n.properties).forEach(([n,r])=>{if(eF(r)){let o=t?`${t}.${e8(n)}`:e8(n);e[n]=tw(r,o)}else e[n]=r}),n.properties=e}if(n.additionalProperties&&"object"==typeof n.additionalProperties&&eF(n.additionalProperties)){let e=t?`${t}.additionalProperties`:"additionalProperties";n.additionalProperties=tw(n.additionalProperties,e)}if("array"===n.type&&"items"in n&&eF(n.items)){let e=t?`${t}.items`:"items";n.items=tw(n.items,e+".[INDEX]")}return n},tx=(e,t,n,r)=>{if(!t.uniqueKey)return e;{let o=t.uniqueKey;return null==n||n.forEach(e=>{o=o.replace("[INDEX]",e.toString())}),`${e?e+".":""}${o}${void 0!==r?"."+e8(r):""}`}},tE=(e,t,n,r)=>{if(!e.uniqueKey)return td(t,n,r);let o=e.uniqueKey.replace(/\[INDEX\]/g,""),i=t?`${t}-${o}`:o;return(0,eT.default)(i,{decamelize:!0})},tj=e=>{if(!eF(e))return e;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0)return Object.assign(Object.assign({},e),{oneOf:e.oneOf.map(t=>e.isRequired?Object.assign(Object.assign({},t),{isRequired:!0}):t).map(e=>eF(e)?tj(e):e)});if("object"===e.type&&e.additionalProperties&&eF(e.additionalProperties)&&(e.additionalProperties=tj(e.additionalProperties)),"object"===e.type&&e.properties){let t=new Set(Array.isArray(e.required)?e.required:[]),n=Object.entries(e.properties).filter(e=>eF(e[1])).sort(([e],[n])=>{let r=t.has(e);return r===t.has(n)?0:r?-1:1}),r={};return n.forEach(([e,n])=>{let o=t.has(e)?Object.assign(Object.assign({},n),{isRequired:!0}):n,i=eF(o)?tj(o):o;r[e]=i}),Object.assign(Object.assign({},e),{properties:r})}return"array"===e.type&&eF(e.items)?Object.assign(Object.assign({},e),{items:tj(e.items)}):e},tO=e=>tz(tw(tj(e),""));e.s(["generateExamplesFromSchema",()=>t_,"getFirstExampleValue",()=>tL,"getWebhookExamples",()=>tC,"mdxCodeExampleToExamples",()=>tI],450322),e.s(["default",()=>tS],251650);var tA=e.i(8452);tA.default.domToReact,tA.default.htmlToDOM,tA.default.attributesToProps,tA.default.Comment,tA.default.Element,tA.default.ProcessingInstruction,tA.default.Text;let tS=tA.default,tI=e=>{var t,n;let r=[],o=null==(t=e.attributes)?void 0:t.some(e=>"dropdown"===e.name&&"false"!==e.value);return null==(n=e.children)||n.map(e=>{var t,n;let i=tS(null!=(t=e.html)?t:""),a="object"!=typeof i||Array.isArray(i)||"pre"!==i.type?void 0:null!=(n=i.props.language)?n:function(e,t){var n;let r=/language-(\w+)/.exec(null!=e?e:"");return r?null!=(n=r[1])?n:"text":null!=t?t:"text"}(i.props.className,e.filename);r.push({dropdown:o,language:a,code:i,filename:e.filename})}),r},t_=(e,t="request")=>{let n="generated";return Object.entries(e).forEach(([r,o])=>{let i={};o.examples&&Object.keys(o.examples).length>0?(Object.entries(o.examples).forEach(([e,t])=>{"$ref"in t||(i[e]={title:e,description:t.description,value:t.value})}),e[r]&&(e[r].examples=i),n="examples"):o.example?(i.Example={title:"Example",value:o.example},e[r]&&(e[r].examples=i),n="examples"):eF(o.schema)&&(i.Example=tk(o.schema,t),e[r]&&(e[r].examples=i),n="generated")}),{content:e,exampleType:n}},tk=(e,t="request")=>{var n,r;let o={title:"Example",value:void 0};if(void 0!==e.example)return o.value=e.example,o;if("examples"in e&&(null==(n=e.examples)?void 0:n[0])!==void 0)return o.value=e.examples[0],o;if(void 0!==e.default)return o.value=e.default,o;if("const"in e&&void 0!==e.const)return o.value=e.const,o;if(e.enum)return("response"===t||1===e.enum.length)&&(o.value=e.enum[0]),o;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let n=e.oneOf.find(e=>eF(e)&&"null"!==e.type),r=null!=n?n:e.oneOf[0];if(eF(r))return tk(r,t)}switch(e.type){case"string":return o.value=tT(e),o;case"boolean":return o.value=!0,o;case"number":case"integer":return o.value=tP(e),o;case"object":let i=Object.fromEntries(Object.entries(null!=(r=e.properties)?r:{}).filter(([,e])=>{var n;return!("request"===t&&eF(e))||"isRequired"in e&&!!e.isRequired||void 0!==e.default||void 0!==e.example||"examples"in e&&(null==(n=e.examples)?void 0:n[0])!==void 0||!("object"===e.type&&Array.isArray(e.required)&&e.required.length>0)}).map(([e,n])=>eF(n)?[e,tk(n,t).value]:[e,"<object>"]).filter(([,t])=>ty(e)||void 0!==t));return o.value=ty(e)?(e=>{let t=[];for(let[n,r]of Object.entries(e)){let e=tb(n);null!==e&&t.push({index:e,value:r})}return t.sort((e,t)=>
2e.index-t.index),t.map(e=>e.value)})(i):i,o;case"array":if(eF(e.items)){let n=tk(e.items,t).value;o.value=void 0!==n?[n]:[]}else o.value="<array>";return o;case"null":return o.value=null,o;default:return o.value="<unknown>",o}},tP=e=>{let t="integer"===e.type?Math.floor:e=>e;return void 0!==e.minimum&&void 0!==e.maximum?t((e.minimum+e.maximum)/2):void 0!==e.minimum?t(e.minimum+1):void 0!==e.maximum?123<e.maximum?123:t(e.maximum-1):123},tT=e=>{var t;switch(null==(t=e.format)?void 0:t.toLowerCase()){case"byte":case"base64":return"aSDinaTvuI8gbWludGxpZnk=";case"date":return"2023-12-25";case"date-time":return"2023-11-07T05:31:56Z";case"email":return"[email protected]";case"uuid":return"3c90c3cc-0d44-4b50-8888-8dd25736052a";case"ipv4":return"127.0.0.1";case"ipv6":return"2606:4700:3108::ac42:2835";default:return"<string>"}},tL=(e,t)=>{var n;let r=Object.keys(e)[t];if(r){let t=e[r],o=Object.values(null!=(n=null==t?void 0:t.examples)?n:{})[0];if(o&&"value"in o)return o.value}},tC=(e,t)=>{var n,r,o;let i=[];if(null==(r=null==(n=e.dependencies)?void 0:n.requestBody)?void 0:r.content){let n=Object.keys(e.dependencies.requestBody.content)[t],r=void 0!==n?e.dependencies.requestBody.content[n]:void 0,a=Object.entries(null!=(o=null==r?void 0:r.examples)?o:{});if(0===a.length){let n=tL(e.dependencies.requestBody.content,t);n&&i.push({language:"json",filename:"Example Request Body",code:JSON.stringify(n,null,2)})}else for(let[e,t]of a)"value"in t&&void 0!==t.value&&i.push({language:"json",filename:e,code:JSON.stringify(t.value,null,2)})}return i},tM=["apiKey","http","oauth2"];var tR=e.i(271944);let tN=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups),tU=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups)?e["x-mint"].groups:[],tD=(e,t)=>{var n;let r=Object.assign({},e);if(r.properties&&"object"==typeof r.properties){let e={};for(let[n,o]of Object.entries(r.properties))if(eF(o))if(tN(o)){if(tU(o).some(e=>t.includes(e))){let r=tD(o,t);r&&(e[n]=r)}}else{let r=tD(o,t);r&&(e[n]=r)}else e[n]=o;r.properties=e}if("items"in r&&r.items&&"object"==typeof r.items&&eF(r.items))if(tN(r.items))if(tU(r.items).some(e=>t.includes(e))){let e=tD(r.items,t);e?r.items=e:delete r.items}else delete r.items;else{let e=tD(r.items,t);e?r.items=e:delete r.items}if("oneOf"in r&&r.oneOf&&Array.isArray(r.oneOf)){let e=[];r.oneOf.forEach(n=>{if(eF(n))if(tN(n)){if(tU(n).some(e=>t.includes(e))){let r=tD(n,t);r&&e.push(r)}}else{let r=tD(n,t);r&&e.push(r)}}),r.oneOf=e}if(r.additionalProperties&&"object"==typeof r.additionalProperties&&eF(r.additionalProperties)){let e=tD(r.additionalProperties,t);e?r.additionalProperties=e:delete r.additionalProperties}if(tN(r))return tU(r).some(e=>t.includes(e))?r:void 0;if("x-mint-enum"in r&&r.enum){let e=r.enum,o=[];Object.entries(null!=(n=r["x-mint-enum"])?n:{}).forEach(([e,n])=>{Array.isArray(n)&&n.some(e=>t.includes(e))||o.push(e)}),r.enum=e.filter(e=>!o.includes(e))}return r.typeLabel=tv(r),r},tB=(0,z.createContext)({openApiReferenceData:{}});function tq({pageMetadata:e,docsConfig:t,mdxExtracts:n,openApiReferenceData:o,userInfo:i,isFetchingUserInfo:a,children:s}){let l=(0,z.useMemo)(()=>{let r=(({pageMetadata:e,openApiReferenceData:t,mdxExtracts:n,docsConfig:r})=>{var o,i,a,s,l,c,p,u,d,f,h,g,m,y,b,v,z,w,x,E,j,O,A,S,I,_,k;let P=null!=t?t:{operation:void 0};if(!t&&(null==n?void 0:n.endpoint)){let{dependencies:e,parameterUuids:t,requestBodyUuid:r,responseUuids:o}=(e=>{let t,n,r={},o=[];["query","header","cookie","path"].forEach(t=>{Object.entries(e.request.parameters[t]).forEach(([e,n])=>{let i=(0,Q.v4)();o.push(i);let a="path"===t||!!n.schema[0].required,s=ee(n.schema),l=n.schema[0].description,c=tO(Object.assign(Object.assign({},s),{isRequired:a}));r[i]=Object.assign(Object.assign(Object.assign(Object.assign({name:e,in:t,required:a},l&&{description:l}),{schema:c}),n.style&&{style:n.style}),void 0!==n.explode&&{explode:n.explode})})});let i=Object.keys(e.request.body);if(i.length>0){n=(0,Q.v4)();let r={};
2i.forEach(t=>{let n=e.request.body[t];if(!n)return;let o={schema:tO(ee(n.schemaArray))};if(n.description&&(o.description=n.description),Object.keys(n.examples).length>0){let e={};Object.entries(n.examples).forEach(([t,n])=>{e[t]=Object.assign(Object.assign(Object.assign({},n.summary&&{summary:n.summary}),n.description&&{description:n.description}),{value:n.value})}),o.examples=e}r[t]=o}),t={content:r,required:!0}}let a={},s={};return Object.entries(e.response).forEach(([e,t])=>{let n=(0,Q.v4)();s[e]=n;let r={};Object.entries(t).forEach(([e,t])=>{if(!t)return;let n={schema:tO(ee(t.schemaArray))};if(t.description&&(n.description=t.description),Object.keys(t.examples).length>0){let e={};Object.entries(t.examples).forEach(([t,n])=>{e[t]=Object.assign(Object.assign(Object.assign({},n.summary&&{summary:n.summary}),n.description&&{description:n.description}),{value:n.value})}),n.examples=e}r[e]=n}),a[n]={description:`Response ${e}`,content:r}}),{dependencies:{parameters:Object.keys(r).length>0?r:void 0,requestBody:t,responses:Object.keys(a).length>0?a:void 0,servers:{},security:{},processedSecurityOptions:[],schemas:{}},parameterUuids:o,requestBodyUuid:n,responseUuids:s}})(n.endpoint);P.dependencies=e,P.operation=((e,t)=>{var n,r,o,i,a;let s=null!=(r=null==(n=e.servers)?void 0:n.map(e=>e.url))?r:[],l={path:e.path,method:e.method,title:null!=(o=e.title)?o:"",description:null!=(i=e.description)?i:"",type:null!=(a=e.type)?a:"path",baseUrlOptions:s,deprecated:e.deprecated};return(null==t?void 0:t.parameterUuids)&&t.parameterUuids.length>0&&(l.parameters=t.parameterUuids),(null==t?void 0:t.requestBodyUuid)&&(l.requestBody=t.requestBodyUuid),(null==t?void 0:t.responseUuids)&&Object.keys(t.responseUuids).length>0&&(l.responses=t.responseUuids),l})(n.endpoint,{parameterUuids:t,requestBodyUuid:r,responseUuids:o})}if(e.description&&P.operation&&(P.operation.description=e.description),!P.operation)return P;let T=null==(i=null==(o=null==r?void 0:r.api)?void 0:o.mdx)?void 0:i.server,L=null==(s=null==(a=null==r?void 0:r.api)?void 0:a.mdx)?void 0:s.auth,C=P.operation.baseUrlOptions.length>0;"string"!=typeof T||C?Array.isArray(T)&&T.length>0&&!C&&(P.operation.baseUrlOptions=T):P.operation.baseUrlOptions=[T];let M=Object.values(null!=(c=null==(l=P.dependencies)?void 0:l.parameters)?c:{}).some(e=>"Authorization"===e.name&&"header"===e.in);if(L&&0===Object.keys(null!=(u=null==(p=P.dependencies)?void 0:p.security)?u:{}).length){let e=(({method:e,name:t})=>{let n,r=(0,Q.v4)();switch(e){case"basic":n={[r]:{Authorization:{type:"http",scheme:"basic",description:"Basic authentication header of the form `Basic <encoded-value>`, where `<encoded-value>` is the base64-encoded string `username:password`."}}};break;case"bearer":n={[r]:{Authorization:{type:"http",scheme:"bearer",description:"Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token."}}};break;case"cobo":n={[r]:{CoboAuth:{type:"apiKey",in:"header",name:"API-SECRET"}}};break;case"key":n={[r]:{Key:{name:null!=t?t:"Key",type:"apiKey",in:"header"}}}}return n})({method:L.method,name:L.name});e&&!M&&(P.dependencies||(P.dependencies={servers:{},security:{}}),P.dependencies.security=Object.assign({},e))}let R=null==(d=null==n?void 0:n.codeExamples)?void 0:d.request,N=null==(f=null==n?void 0:n.codeExamples)?void 0:f.response,U=null==(m=null==(g=null==(h=null==r?void 0:r.api)?void 0:h.examples)?void 0:g.languages)?void 0:m.map(J);P.operation.requestExampleLanguages=U;let D=(null==(b=null==(y=null==r?void 0:r.api)?void 0:y.examples)?void 0:b.defaults)==="required";P.operation.requiredOnlyExamples=D;let B=(null==(z=null==(v=null==r?void 0:r.api)?void 0:v.examples)?void 0:z.autogenerate)!==!1;B||(P.operation.disableCodeSampleGeneration=!0),R?(P.operation.requestExamples=tI(R),P.operation.requestExampleType="mdx"):"webhook"===P.operation.type?(P.operation.requestExamples=tC(P,0),P.operation.requestExampleType="webhook"):P.operation.codeSamples&&P.operation.codeSamples.length>0?P.operation.requestExampleType="codeSamples":B&&(P.operation.requestExampleType="generated"),N?(P.operation.responseEx
2amples=tI(N),P.operation.responseExampleType="mdx"):P.operation.responseExampleType="generated";let q=P.operation.baseUrlOptions.length>0,V=(null==(x=null==(w=null==r?void 0:r.api)?void 0:w.examples)?void 0:x.prefill)&&q;V&&(P.operation.prefillPlaygroundWithExample=!!V,P.operation.prefillPlaygroundExamples=e1(P)),(null==(O=null==(j=null==(E=null==r?void 0:r.api)?void 0:E.mdx)?void 0:j.auth)?void 0:O.method)==="cobo"&&(P.operation.isCobo=!0),(null==(S=null==(A=null==r?void 0:r.api)?void 0:A.playground)?void 0:S.proxy)===!1&&(P.operation.disableProxy=!0),(null==(_=null==(I=null==r?void 0:r.api)?void 0:I.playground)?void 0:_.credentials)===!0&&(P.operation.withCredentials=!0);let W=null==(k=null==r?void 0:r.api)?void 0:k.url;return W&&(P.operation.urlDisplay=W),P})({openApiReferenceData:o,mdxExtracts:n,docsConfig:t,pageMetadata:e}),a=(e=>{var t,n;let r=null!=(n=null==(t=e.dependencies)?void 0:t.security)?n:{};if(0===Object.keys(r).length)return[];let o=[];return Object.entries(r).forEach(([e,t])=>{let n=[];if(Object.entries(t).forEach(([e,t])=>{if(tM.includes(t.type)){let r=tl(t),o=(e=>{var t,n,r;switch(e.type){case"apiKey":return{title:e.name,type:"string",description:e.description,isRequired:!0,default:e["x-default"],typeLabel:"string"};case"http":return"basic"===e.scheme?{title:"Basic Auth",type:"object",description:null!=(t=e.description)?t:"Basic authentication header of the form `Basic <encoded-value>`, where `<encoded-value>` is the base64-encoded string `username:password`.",isRequired:!0,properties:{username:{type:"string",uniqueKey:"username",isRequired:!0,typeLabel:"string"},password:{type:"string",uniqueKey:"password",isRequired:!0,typeLabel:"string"}},additionalProperties:!1,default:e["x-default"]}:{title:"Bearer Auth",type:"string",isRequired:!0,description:null!=(n=e.description)?n:"Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token.",format:"bearer",default:e["x-default"],typeLabel:"string<bearer>"};case"oauth2":return{title:"OAuth2 Auth",type:"string",isRequired:!0,description:null!=(r=e.description)?r:"The access token received from the authorization server in the OAuth 2.0 flow.",format:"bearer",typeLabel:"string<bearer>"};default:return}})(t);o&&n.push({scheme:t,schema:o,schemeName:e,name:r})}}),n.length>0){let e=n.map(e=>e.schemeName).join(" & ");o.push({schemes:n,title:e})}}),o})(r);return a.length>0&&(r.dependencies||(r.dependencies={servers:{},security:{},processedSecurityOptions:[]}),r.dependencies.processedSecurityOptions=a),(null==i?void 0:i.apiPlaygroundInputs)&&r.operation&&(r.operation.userInfoPlaygroundInputs=i.apiPlaygroundInputs),r},[o,n,t,e,i]),c=(0,z.useMemo)(()=>{var e;let t=a?[]:null!=(e=null==i?void 0:i.groups)?e:[];if(l.schemaData){let e=((e,t)=>{let n=tD((0,tR.default)(e),t);return n||e})(l.schemaData,t);return Object.assign(Object.assign({},l),{schemaData:e})}return(({apiReferenceData:e,groups:t})=>{var n,r;let{dependencies:o}=e;if(!o)return e;let i=(0,tR.default)(o);if(i.parameters&&Object.keys(i.parameters).length>0&&Object.entries(i.parameters).forEach(([e,n])=>{if(n.schema&&"object"==typeof n.schema&&eF(n.schema)){let e=tD(n.schema,t);e&&(n.schema=e)}}),i.requestBody&&Object.keys(i.requestBody.content).length>0&&Object.entries(i.requestBody.content).forEach(([e,n])=>{if(n.schema){let r=tD(n.schema,t);r&&(n.schema=r,i.requestBody&&(i.requestBody.content[e]=n))}}),i.responses&&Object.keys(i.responses).length>0&&Object.entries(i.responses).forEach(([e,n])=>{n.content&&Object.entries(n.content).forEach(([e,r])=>{if(r.schema){let o=tD(r.schema,t);o&&(r.schema=o,n.content&&(n.content[e]=r))}})}),i.callbacks&&i.callbacks.length>0&&(i.callbacks=i.callbacks.map(e=>{let n=e.resolved.dependencies;return n.requestBody&&Object.keys(n.requestBody.content).length>0&&Object.entries(n.requestBody.content).forEach(([e,r])=>{if(r.schema){let o=tD(r.schema,t);o&&(r.schema=o,n.requestBody&&(n.requestBody.content[e]=r))}}),n.responses&&Object.keys(n.responses).length>0&&Object.entries(n.responses).forEach(([e,n])=>{n.content&&Object.entries(n.content).forEach(([e,r])=>
2{if(r.schema){let o=tD(r.schema,t);o&&(r.schema=o,n.content&&(n.content[e]=r))}})}),e})),(null==(n=i.requestBody)?void 0:n.exampleType)==="generated"&&(null==(r=i.requestBody)?void 0:r.content)){Object.values(i.requestBody.content).forEach(e=>{delete e.examples,delete e.example});let{content:e,exampleType:t}=t_(i.requestBody.content);i.requestBody.content=e,i.requestBody.exampleType=t}return i.responses&&Object.values(i.responses).forEach(e=>{if("generated"===e.exampleType&&e.content){Object.values(e.content).forEach(e=>{delete e.examples,delete e.example});let{content:t,exampleType:n}=t_(e.content,"response");e.content=t,e.exampleType=n}}),Object.assign(Object.assign({},e),{dependencies:i})})({apiReferenceData:l,groups:t})},[l,i,a]),p=(0,z.useMemo)(()=>({openApiReferenceData:c}),[c]);return(0,r.jsx)(tB.Provider,{value:p,children:s})}let tV=(0,z.createContext)({pageMetadata:{}}),tW=(0,z.createContext)({}),tF=(0,z.createContext)({}),t$=(0,z.createContext)({}),tG=(0,z.createContext)({apiReferenceData:{}});function tH({value:e,children:t}){return(0,r.jsx)(tW.Provider,{value:e,children:t})}function tK(e,t,n){if(!e||0===t.size)return e;let r=e=>{if(null==e)return e;if(Array.isArray(e))return e.map(r);if("object"!=typeof e)return e;let o=Object.assign({},e);if("href"in o&&"string"==typeof o.href){let e,r=(e=o.href,t.get(e)??t.get((0,W.normalizeLivePreviewPath)(e,n)));if(r){let e=r.sidebarTitle,t="string"==typeof e&&e.length>0?e:r.title;Object.assign(o,r,{href:o.href,..."string"==typeof t&&t.length>0?{title:t}:{}})}}for(let e of[...C.divisions,"groups","pages"])e in o&&Array.isArray(o[e])&&(o[e]=o[e].map(r));return o};return r(e)}function tY({value:e,children:t}){let{basePath:n="",isLivePreview:s,livePreviewUpdateId:c,getDocsConfigOverrides:p,getNavigationOverride:u,liveMetadata:d}=(0,z.useContext)(a.LivePreviewContext),f=s||o.IS_DEV||l.NEXT_PUBLIC.ENABLE_DOCS_CONFIG_OVERRIDES,h=(0,z.useMemo)(()=>{let t,r,o;if(!f)return e;if(s)t=p(),r=u();else try{let e=(0,F.getItem)(i.DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY);if(e)try{t=JSON.parse(e)}catch{}}catch{}return(o=r?tK(r,d,n):t?.navigation&&(!s||e.hasFullNav)?function(e,t,n){let r=function(e){let t=new Map,n=new Map;if(!e)return{pageMetadata:t,groupPages:n};let r=(e,o)=>{if(null==e)return;if(Array.isArray(e))return void e.forEach(e=>r(e,o));if(!M(e))return;if("href"in e&&"string"==typeof e.href){let{href:n,...r}=e;t.set(n,r)}if("group"in e&&"string"==typeof e.group){let t=N(e.group,o);"pages"in e&&Array.isArray(e.pages)&&n.set(t,e.pages)}let i=U(e,o);for(let t of[...C.divisions,"groups","pages"]){let n=e[t];t in e&&Array.isArray(n)&&n.forEach(e=>r(e,i))}"root"in e&&e.root&&"object"==typeof e.root&&r(e.root,i)};return r(e,{}),{pageMetadata:t,groupPages:n}}(t),o={};"global"in e&&e.global&&(o.global=e.global);let i=[...C.divisions,"groups","pages"],a={};for(let t of i)if(t in e){let i=e[t];Array.isArray(i)&&("pages"===t?o[t]=B(i,r,n,a):"groups"===t?o[t]=V(i,r,n,a):o[t]=function e(t,n,r,o){return t.map(t=>{if(!M(t))return t;let i={...t},a=U(i,o);for(let t of("pages"in i&&Array.isArray(i.pages)&&(i.pages=B(i.pages,n,r,a)),"groups"in i&&Array.isArray(i.groups)&&(i.groups=V(i.groups,n,r,a)),C.divisions)){let o=i[t];t in i&&Array.isArray(o)&&(i[t]=e(o,n,r,a))}return i})}(i,r,n,a))}return o}(t.navigation,e.docsNavWithMetadata,d):tK(e.docsNavWithMetadata,d,n),t||o)?{...e,docsConfig:t?G({...e.docsConfig,...t}):e.docsConfig,docsNavWithMetadata:o??e.docsNavWithMetadata}:e},[f,n,s,c,e,p,u,d]);return(0,r.jsx)(tF.Provider,{value:h,children:t})}function tX({value:e,children:t}){let{userInfo:n,isFetchingUserInfo:o}=L(e.userAuth);return(0,r.jsx)(t$.Provider,{value:{...e,userInfo:n,isFetchingUserInfo:o},children:t})}function tJ({value:e,children:t}){return(0,r.jsx)(tG.Provider,{value:e,children:t})}function tZ({pageMetadata:e,docsConfig:t,mdxExtracts:n,openApiReferenceData:o,children:i}){let a=(0,s.useEffectivePageMetadata)(e),{docsConfig:l}=(0,z.useContext)(tF),{userInfo:c,isFetchingUserInfo:p}=(0,z.useContext)(t$);return(0,r.jsx)(tq,{pageMetadata:a,docsConfig:l??t,mdxExtracts:n,openApiReferenceData:o,userInfo:c,isFetchingUserInfo:p,children:i})}tV.displayName="PageContext",tW.displayName="DeploymentMetadataContext",tF.displayName="DocsConfigContext",t$.displayName="AuthContext",tG.displayName="ApiReferenceContext"}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.