@redocly/mock-server 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bin.js +1 -1
  2. package/package.json +2 -2
package/dist/bin.js CHANGED
@@ -1,4 +1,4 @@
1
- var ek=Object.create;var Qs=Object.defineProperty;var tk=Object.getOwnPropertyDescriptor;var rk=Object.getOwnPropertyNames;var nk=Object.getPrototypeOf,ik=Object.prototype.hasOwnProperty;var Yv=e=>{throw TypeError(e)};var ok=(e,t,r)=>t in e?Qs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mf=(e,t)=>{for(var r in t)Qs(e,r,{get:t[r],enumerable:!0})},Gv=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of rk(t))!ik.call(e,i)&&i!==r&&Qs(e,i,{get:()=>t[i],enumerable:!(n=tk(t,i))||n.enumerable});return e};var Ee=(e,t,r)=>(r=e!=null?ek(nk(e)):{},Gv(t||!e||!e.__esModule?Qs(r,"default",{value:e,enumerable:!0}):r,e)),sk=e=>Gv(Qs({},"__esModule",{value:!0}),e);var Jv=(e,t,r)=>ok(e,typeof t!="symbol"?t+"":t,r),Lf=(e,t,r)=>t.has(e)||Yv("Cannot "+r);var F=(e,t,r)=>(Lf(e,t,"read from private field"),r?r.call(e):t.get(e)),Wt=(e,t,r)=>t.has(e)?Yv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Ke=(e,t,r,n)=>(Lf(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Tn=(e,t,r)=>(Lf(e,t,"access private method"),r);var Wf=v((Hf,Kf)=>{(function(e,t){typeof require=="function"&&typeof Hf=="object"&&typeof Kf=="object"?Kf.exports=t():typeof define=="function"&&define.amd?define(function(){return t()}):e.pluralize=t()})(Hf,function(){var e=[],t=[],r={},n={},i={};function o(m){return typeof m=="string"?new RegExp("^"+m+"$","i"):m}function s(m,f){return m===f?f:m===m.toLowerCase()?f.toLowerCase():m===m.toUpperCase()?f.toUpperCase():m[0]===m[0].toUpperCase()?f.charAt(0).toUpperCase()+f.substr(1).toLowerCase():f.toLowerCase()}function a(m,f){return m.replace(/\$(\d{1,2})/g,function(h,y){return f[y]||""})}function c(m,f){return m.replace(f[0],function(h,y){var g=a(f[1],arguments);return s(h===""?m[y-1]:h,g)})}function l(m,f,h){if(!m.length||r.hasOwnProperty(m))return f;for(var y=h.length;y--;){var g=h[y];if(g[0].test(f))return c(f,g)}return f}function u(m,f,h){return function(y){var g=y.toLowerCase();return f.hasOwnProperty(g)?s(y,g):m.hasOwnProperty(g)?s(y,m[g]):l(g,y,h)}}function p(m,f,h,y){return function(g){var b=g.toLowerCase();return f.hasOwnProperty(b)?!0:m.hasOwnProperty(b)?!1:l(b,b,h)===b}}function d(m,f,h){var y=f===1?d.singular(m):d.plural(m);return(h?f+" ":"")+y}return d.plural=u(i,n,e),d.isPlural=p(i,n,e),d.singular=u(n,i,t),d.isSingular=p(n,i,t),d.addPluralRule=function(m,f){e.push([o(m),f])},d.addSingularRule=function(m,f){t.push([o(m),f])},d.addUncountableRule=function(m){if(typeof m=="string"){r[m.toLowerCase()]=!0;return}d.addPluralRule(m,"$0"),d.addSingularRule(m,"$0")},d.addIrregularRule=function(m,f){f=f.toLowerCase(),m=m.toLowerCase(),i[m]=f,n[f]=m},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(m){return d.addIrregularRule(m[0],m[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(m){return d.addPluralRule(m[0],m[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(m){return d.addSingularRule(m[0],m[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d})});var ma=v(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.feedbackConfigSchema=Jt.optionalEmailSettings=Jt.reasonsSettings=void 0;var Cx={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}};Jt.reasonsSettings={type:"object",properties:Cx,additionalProperties:!1};Jt.optionalEmailSettings={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1};Jt.feedbackConfigSchema={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:Object.assign(Object.assign({},Cx),{like:Jt.reasonsSettings,dislike:Jt.reasonsSettings,satisfied:Jt.reasonsSettings,neutral:Jt.reasonsSettings,dissatisfied:Jt.reasonsSettings}),additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:Jt.optionalEmailSettings},additionalProperties:!1}},additionalProperties:!1}});var _l=v(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.redocConfigSchema=ki.downloadUrlsSchema=void 0;var FM=ma(),BM={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},required:["languages"],additionalProperties:!1};ki.downloadUrlsSchema={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}};ki.redocConfigSchema={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:FM.feedbackConfigSchema,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:ki.downloadUrlsSchema,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:BM,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1}});var Hd=v(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.graphqlConfigSchema=void 0;var VM=ma(),UM=_l(),Io={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},zM={type:"object",properties:{name:{type:"string"},items:Io,queries:Io,mutations:Io,subscriptions:Io,types:Io,directives:Io},required:["name"],additionalProperties:!1},HM={type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:zM},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1};Ol.graphqlConfigSchema={type:"object",properties:{menu:{type:"object",properties:Object.assign({},HM.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:UM.downloadUrlsSchema,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:VM.feedbackConfigSchema},additionalProperties:!1}});var jx=v(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.deprecatedRefDocsSchema=void 0;var KM={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},WM={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},Rx={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},YM={type:"object",properties:{beforeInfo:{type:"array",items:Rx},end:{type:"array",items:Rx}}},Ii={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},Pl={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},GM={type:"object",properties:Cl(Ii.properties,["light","dark"])},JM={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},XM={type:"object",properties:{error:Pl,info:Pl,redirect:Pl,success:Pl}},QM={type:"object",properties:qo(Ii.properties,["dark"])},ZM={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},e4={type:"object",properties:{accent:Ii,border:GM,error:Ii,http:JM,primary:Ii,responses:XM,secondary:QM,success:Ii,text:ZM,tonalOffset:{type:"number"},warning:Ii}},$l={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},t4={type:"object",properties:{small:$l,medium:$l,large:$l,xlarge:$l}},Hr={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},r4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:t4})},Tx={type:"object",properties:Cl(Hr.properties,["fontSize","lineHeight"])},n4={type:"object",properties:{medium:Tx,small:Tx}},i4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:n4})},o4={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},s4={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},Nx={type:"object",properties:{fullWidth:{type:"boolean"}}},a4={type:"object",properties:{buttons:r4,httpBadges:i4,layoutControls:o4,panels:s4,tryItButton:Nx,tryItSendButton:Nx}},Al={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},c4={type:"object",properties:{maxWidth:Al}},l4={type:"object",properties:{maxWidth:Al,middlePanelMaxWidth:Al}},u4={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:c4,"three-panel":l4}},kx={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},p4={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:kx,defaultDetailsWidth:{type:"string"},examples:kx,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},qx={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},f4={type:"object",properties:Cl(qx.properties,["textTransform"])},d4={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},m4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontWeight","lineHeight"])),{activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:qx,level1items:f4,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:d4,textColor:{type:"string"},width:{type:"string"}})},El={type:"object",properties:Object.assign(Object.assign({},Hr.properties),{color:{type:"string"},transform:{type:"string"}})},h4={type:"object",properties:Object.assign(Object.assign({},Hr.properties),{backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}})},y4={type:"object",properties:qo(Hr.properties,["fontSize"])},g4={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},b4={type:"object",properties:Object.assign(Object.assign({code:h4,fieldName:Hr},Cl(Hr.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:El,heading2:El,heading3:El,headings:y4,lineHeight:{type:"string"},links:g4,optimizeSpeed:{type:"boolean"},rightPanelHeading:El,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},v4={type:"object",properties:Object.assign({color:{type:"string"}},qo(Hr.properties,["fontWeight"]))},w4={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:v4}},x4={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},S4={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Ix={type:"object",properties:{custom:{type:"string"}}},_4={type:"object",properties:{DownloadButton:Ix,NextSectionButton:Ix}},O4={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},P4={type:"object",properties:{borderRadius:{type:"string"}}},$4={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},E4={type:"object",properties:{breakpoints:Al,codeBlock:w4,colors:e4,components:a4,layout:u4,logo:x4,fab:S4,overrides:_4,rightPanel:O4,schema:p4,shape:P4,sidebar:m4,spacing:$4,typography:b4,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},A4={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:KM}},required:["languages"]};Rl.deprecatedRefDocsSchema={type:"object",properties:{theme:E4,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:A4,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:WM,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:YM,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:!1};function Cl(e,t){return Object.fromEntries(t.filter(r=>r in e).map(r=>[r,e[r]]))}function qo(e,t){return Object.fromEntries(Object.entries(e).filter(([r])=>!t.includes(r)))}});var Kd=v(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.decoratorsSchemas=lt.preprocessorSchemas=lt.ruleSchemas=lt.rulesSchema=void 0;lt.rulesSchema={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}};lt.ruleSchemas={rules:lt.rulesSchema,oas2Rules:lt.rulesSchema,oas3_0Rules:lt.rulesSchema,oas3_1Rules:lt.rulesSchema,async2Rules:lt.rulesSchema,async3Rules:lt.rulesSchema,arazzo1Rules:lt.rulesSchema,overlay1Rules:lt.rulesSchema};lt.preprocessorSchemas={preprocessors:{type:"object",additionalProperties:!0},oas2Preprocessors:{type:"object",additionalProperties:!0},oas3_0Preprocessors:{type:"object",additionalProperties:!0},oas3_1Preprocessors:{type:"object",additionalProperties:!0},async2Preprocessors:{type:"object",additionalProperties:!0},async3Preprocessors:{type:"object",additionalProperties:!0},arazzo1Preprocessors:{type:"object",additionalProperties:!0},overlay1Preprocessors:{type:"object",additionalProperties:!0}};lt.decoratorsSchemas={decorators:{type:"object",additionalProperties:!0},oas2Decorators:{type:"object",additionalProperties:!0},oas3_0Decorators:{type:"object",additionalProperties:!0},oas3_1Decorators:{type:"object",additionalProperties:!0},async2Decorators:{type:"object",additionalProperties:!0},async3Decorators:{type:"object",additionalProperties:!0},arazzo1Decorators:{type:"object",additionalProperties:!0},overlay1Decorators:{type:"object",additionalProperties:!0}}});var Tl=v(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.scorecardConfigSchema=j.catalogsConfigSchema=j.catalogSchema=j.catalogFilterSchema=j.breadcrumbsConfigSchema=j.versionPickerConfigSchema=j.userMenuConfigSchema=j.analyticsConfigSchema=j.googleAnalyticsConfigSchema=j.productGoogleAnalyticsConfigSchema=j.gtmAnalyticsConfigSchema=j.segmentAnalyticsConfigSchema=j.rudderstackAnalyticsConfigSchema=j.heapAnalyticsConfigSchema=j.fullstoryAnalyticsConfigSchema=j.amplitudeAnalyticsConfigSchema=j.openapiConfigSchema=j.markdownConfigSchema=j.codeSnippetConfigSchema=j.navigationConfigSchema=j.colorModeConfigSchema=j.searchConfigSchema=j.linksConfigSchema=j.scriptsConfigSchema=j.sidebarConfigSchema=j.footerConfigSchema=j.productsConfigSchema=j.navbarConfigSchema=j.logoConfigSchema=j.searchFiltersConfigSchema=j.searchFacetsConfigSchema=j.aiSearchConfigSchema=j.productConfigSchema=j.navItemsSchema=void 0;var Mx=_l(),C4=jx(),Wd=Kd(),ut={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},Lx={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},Yd={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}}}};j.navItemsSchema={type:"array",items:Object.assign(Object.assign({},Yd),{properties:Object.assign(Object.assign({},Yd.properties),{items:{type:"array",items:Yd}})})};j.productConfigSchema={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]};j.aiSearchConfigSchema={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1};j.searchFacetsConfigSchema={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}};j.searchFiltersConfigSchema={type:"object",properties:Object.assign({facets:j.searchFacetsConfigSchema},ut.properties),additionalProperties:!1};var R4={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]};j.logoConfigSchema={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1};j.navbarConfigSchema={type:"object",properties:Object.assign({items:j.navItemsSchema},ut.properties),additionalProperties:!1};j.productsConfigSchema={type:"object",additionalProperties:j.productConfigSchema};j.footerConfigSchema={type:"object",properties:Object.assign({items:j.navItemsSchema,copyrightText:{type:"string"},logo:ut},ut.properties),additionalProperties:!1};j.sidebarConfigSchema={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},ut.properties),additionalProperties:!1};j.scriptsConfigSchema={type:"object",properties:{head:{type:"array",items:Lx},body:{type:"array",items:Lx}},additionalProperties:!1};j.linksConfigSchema={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}};j.searchConfigSchema={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:j.aiSearchConfigSchema,filters:j.searchFiltersConfigSchema,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["\u2318+K,ctrl+K"]},suggestedPages:{type:"array",items:R4}},ut.properties),additionalProperties:!1};j.colorModeConfigSchema={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},ut.properties),additionalProperties:!1};var T4={type:"object",properties:Object.assign(Object.assign({},ut.properties),{items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude"]},default:["copy","view","chatgpt","claude"]}}),additionalProperties:!1};j.navigationConfigSchema={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},actions:T4},additionalProperties:!1};j.codeSnippetConfigSchema={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},ut.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1};j.markdownConfigSchema={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},ut.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},ut.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}};j.openapiConfigSchema=Object.assign(Object.assign({},Mx.redocConfigSchema),{properties:Object.assign(Object.assign({},Mx.redocConfigSchema.properties),C4.deprecatedRefDocsSchema.properties)});var N4={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]};j.amplitudeAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]};j.fullstoryAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]};j.heapAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]};j.rudderstackAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]};j.segmentAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]};j.gtmAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]};j.productGoogleAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]};j.googleAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:j.productGoogleAnalyticsConfigSchema}},additionalProperties:!1,required:["trackingId"]};j.analyticsConfigSchema={type:"object",properties:{adobe:N4,amplitude:j.amplitudeAnalyticsConfigSchema,fullstory:j.fullstoryAnalyticsConfigSchema,heap:j.heapAnalyticsConfigSchema,rudderstack:j.rudderstackAnalyticsConfigSchema,segment:j.segmentAnalyticsConfigSchema,gtm:j.gtmAnalyticsConfigSchema,ga:j.googleAnalyticsConfigSchema}};j.userMenuConfigSchema={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},ut.properties),additionalProperties:!1};j.versionPickerConfigSchema={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}};j.breadcrumbsConfigSchema={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1};j.catalogFilterSchema={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}};j.catalogSchema={type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:j.catalogFilterSchema},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:j.navItemsSchema,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}};j.catalogsConfigSchema={type:"object",patternProperties:{".*":j.catalogSchema}};j.scorecardConfigSchema={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:Object.assign(Object.assign(Object.assign({name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}}},Wd.ruleSchemas),Wd.preprocessorSchemas),Wd.decoratorsSchemas),additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}}}}});var Gd=v(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.entitiesCatalogConfigSchema=De.entityCatalogSpecificCatalogSchema=De.entityCatalogFilterSchema=De.entityCatalogIncludeSchema=De.entityCatalogExcludeSchema=void 0;De.entityCatalogExcludeSchema={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1};De.entityCatalogIncludeSchema={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1};De.entityCatalogFilterSchema={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1};De.entityCatalogSpecificCatalogSchema={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:De.entityCatalogIncludeSchema},excludes:{type:"array",items:De.entityCatalogExcludeSchema},filters:{type:"array",items:De.entityCatalogFilterSchema},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1};De.entitiesCatalogConfigSchema={type:"object",properties:{catalogs:{type:"object",properties:{all:De.entityCatalogSpecificCatalogSchema,services:De.entityCatalogSpecificCatalogSchema,domains:De.entityCatalogSpecificCatalogSchema,teams:De.entityCatalogSpecificCatalogSchema,users:De.entityCatalogSpecificCatalogSchema,apiDescriptions:De.entityCatalogSpecificCatalogSchema,dataSchemas:De.entityCatalogSpecificCatalogSchema,apiOperations:De.entityCatalogSpecificCatalogSchema},additionalProperties:!1}},additionalProperties:!1}});var Jd=v(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.themeConfigSchema=void 0;var k4=Hd(),I4=ma(),Qe=Tl(),q4=Gd();Nl.themeConfigSchema={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:Qe.logoConfigSchema,navbar:Qe.navbarConfigSchema,products:Qe.productsConfigSchema,footer:Qe.footerConfigSchema,sidebar:Qe.sidebarConfigSchema,scripts:Qe.scriptsConfigSchema,links:Qe.linksConfigSchema,feedback:I4.feedbackConfigSchema,search:Qe.searchConfigSchema,colorMode:Qe.colorModeConfigSchema,navigation:Qe.navigationConfigSchema,codeSnippet:Qe.codeSnippetConfigSchema,markdown:Qe.markdownConfigSchema,openapi:Qe.openapiConfigSchema,graphql:k4.graphqlConfigSchema,analytics:Qe.analyticsConfigSchema,userMenu:Qe.userMenuConfigSchema,versionPicker:Qe.versionPickerConfigSchema,breadcrumbs:Qe.breadcrumbsConfigSchema,catalog:Qe.catalogsConfigSchema,entitiesCatalog:q4.entitiesCatalogConfigSchema,catalogClassic:Qe.catalogsConfigSchema,scorecard:Qe.scorecardConfigSchema},additionalProperties:!0}});var Xd=v(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.LayoutVariant=Xt.REDOCLY_ROUTE_RBAC=Xt.REDOCLY_TEAMS_RBAC=Xt.ApigeeDevOnboardingIntegrationAuthType=Xt.AuthProviderType=Xt.DEFAULT_TEAM_CLAIM_NAME=void 0;Xt.DEFAULT_TEAM_CLAIM_NAME="https://redocly.com/sso/teams";var Dx;(function(e){e.OIDC="OIDC",e.SAML2="SAML2"})(Dx||(Xt.AuthProviderType=Dx={}));var Fx;(function(e){e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2"})(Fx||(Xt.ApigeeDevOnboardingIntegrationAuthType=Fx={}));Xt.REDOCLY_TEAMS_RBAC="redocly::teams-rbac";Xt.REDOCLY_ROUTE_RBAC="redocly::route-rbac";var Bx;(function(e){e.STACKED="stacked",e.THREE_PANEL="three-panel"})(Bx||(Xt.LayoutVariant=Bx={}))});var Vx=v(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.removePropertyRecursively=Qd;function Qd(e,t){return Object.fromEntries(Object.entries(e).map(([r,n])=>{if(r!==t)return typeof n!="object"||!n?[r,n]:Array.isArray(n)?[r,n.map(i=>typeof i=="object"?Qd(i,t):i)]:[r,Qd(n,t)]}).filter(Boolean))}});var Ux=v(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.reuniteConfigSchema=void 0;var j4={type:"object",additionalProperties:{type:"string"}},M4={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},kl={type:"string",enum:["error","warn","off"]},L4={type:"object",additionalProperties:!1,properties:{schemaCheck:kl,statusCodeCheck:kl,contentTypeCheck:kl,successCriteriaCheck:kl}},D4={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},F4={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1};Il.reuniteConfigSchema={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\.\\./)(/[a-zA-Z0-9_\\-\\./]+|./[a-zA-Z0-9_\\-\\./]+|[a-zA-Z0-9_\\-\\./]+)$"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[D4,F4]},inputs:j4,servers:M4,severity:L4},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1}});var tm=v(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.rootRedoclyConfigSchema=L.redoclyConfigSchema=L.l10nConfigSchema=L.devOnboardingAdapterConfigSchema=L.apigeeEdgeAdapterConfigSchema=L.apigeeXAdapterConfigSchema=L.apigeeAdapterAuthServiceAccountSchema=L.apigeeAdapterAuthOauth2Schema=L.graviteeAdapterConfigSchema=L.graviteeAdapterAuthIdpSchema=L.graviteeAdapterAuthStaticSchema=L.rbacConfigSchema=L.rbacScopeItemsSchema=L.apiFunctionsConfigSchema=L.seoConfigSchema=L.apiConfigSchema=L.redirectsConfigSchema=L.redirectConfigSchema=L.ssoConfigSchema=L.ssoDirectConfigSchema=L.authProviderConfigSchema=L.saml2ProviderConfigSchema=L.oidcProviderConfigSchema=L.oidcIssuerMetadataSchema=void 0;var ha=Xd(),B4=Jd(),V4=ma(),em=Hd(),U4=Vx(),z4=Ux(),Ue=Tl(),H4=Gd(),jo=Kd();L.oidcIssuerMetadataSchema={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0};L.oidcProviderConfigSchema={type:"object",properties:{type:{type:"string",const:ha.AuthProviderType.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:L.oidcIssuerMetadataSchema,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1};L.saml2ProviderConfigSchema={type:"object",properties:{type:{type:"string",const:ha.AuthProviderType.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:ha.DEFAULT_TEAM_CLAIM_NAME},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]};L.authProviderConfigSchema={oneOf:[L.oidcProviderConfigSchema,L.saml2ProviderConfigSchema],discriminator:{propertyName:"type"}};L.ssoDirectConfigSchema={type:"object",additionalProperties:L.authProviderConfigSchema};L.ssoConfigSchema={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]};L.redirectConfigSchema={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1};L.redirectsConfigSchema={type:"object",additionalProperties:L.redirectConfigSchema,default:{}};L.apiConfigSchema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema,theme:{type:"object",properties:{openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0}},jo.ruleSchemas),jo.preprocessorSchemas),jo.decoratorsSchemas),{extends:{type:"array",items:{type:"string"}}}),required:["root"]};var K4={type:"object",additionalProperties:!0},W4={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},zx={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1};L.seoConfigSchema={type:"object",properties:{title:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:zx},default:{llmstxt:zx.default},additionalProperties:!1};L.apiFunctionsConfigSchema={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1};L.rbacScopeItemsSchema={type:"object",additionalProperties:{type:"string"}};L.rbacConfigSchema={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:L.rbacScopeItemsSchema,cms:L.rbacScopeItemsSchema,reunite:L.rbacScopeItemsSchema,features:{type:"object",properties:{aiSearch:L.rbacScopeItemsSchema},additionalProperties:!1},content:{type:"object",properties:{"**":L.rbacScopeItemsSchema},additionalProperties:L.rbacScopeItemsSchema}},additionalProperties:L.rbacScopeItemsSchema};L.graviteeAdapterAuthStaticSchema={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]};L.graviteeAdapterAuthIdpSchema={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]};L.graviteeAdapterConfigSchema={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[L.graviteeAdapterAuthStaticSchema,L.graviteeAdapterAuthIdpSchema]}},additionalProperties:!1,required:["type","apiBaseUrl"]};L.apigeeAdapterAuthOauth2Schema={type:"object",properties:{type:{type:"string",const:ha.ApigeeDevOnboardingIntegrationAuthType.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]};L.apigeeAdapterAuthServiceAccountSchema={type:"object",properties:{type:{type:"string",const:ha.ApigeeDevOnboardingIntegrationAuthType.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]};L.apigeeXAdapterConfigSchema={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[L.apigeeAdapterAuthOauth2Schema,L.apigeeAdapterAuthServiceAccountSchema],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]};L.apigeeEdgeAdapterConfigSchema=Object.assign(Object.assign({},L.apigeeXAdapterConfigSchema),{properties:Object.assign(Object.assign({},L.apigeeXAdapterConfigSchema.properties),{type:{type:"string",const:"APIGEE_EDGE"}})});L.devOnboardingAdapterConfigSchema={type:"object",oneOf:[L.apigeeXAdapterConfigSchema,L.apigeeEdgeAdapterConfigSchema,L.graviteeAdapterConfigSchema],discriminator:{propertyName:"type"}};var Y4={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:L.devOnboardingAdapterConfigSchema}}};L.l10nConfigSchema={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]};var G4={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]};L.redoclyConfigSchema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:L.redirectsConfigSchema,seo:L.seoConfigSchema,rbac:L.rbacConfigSchema,apiFunctions:L.apiFunctionsConfigSchema,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:G4}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:L.apiConfigSchema},extends:{type:"array",items:{type:"string"}}},jo.ruleSchemas),jo.decoratorsSchemas),jo.preprocessorSchemas),{ssoDirect:L.ssoDirectConfigSchema,sso:L.ssoConfigSchema,residency:{type:"string"},developerOnboarding:Y4,removeAttribution:{type:"boolean"},i18n:L.l10nConfigSchema,l10n:L.l10nConfigSchema,metadata:K4,metadataGlobs:W4,ignore:{type:"array",items:{type:"string"}},theme:B4.themeConfigSchema,reunite:z4.reuniteConfigSchema,logo:Ue.logoConfigSchema,navbar:Ue.navbarConfigSchema,products:Ue.productsConfigSchema,footer:Ue.footerConfigSchema,sidebar:Ue.sidebarConfigSchema,scripts:Ue.scriptsConfigSchema,links:Ue.linksConfigSchema,feedback:V4.feedbackConfigSchema,search:Ue.searchConfigSchema,colorMode:Ue.colorModeConfigSchema,navigation:Ue.navigationConfigSchema,codeSnippet:Ue.codeSnippetConfigSchema,markdown:Ue.markdownConfigSchema,openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema,analytics:Ue.analyticsConfigSchema,userMenu:Ue.userMenuConfigSchema,versionPicker:Ue.versionPickerConfigSchema,breadcrumbs:Ue.breadcrumbsConfigSchema,catalog:Ue.catalogsConfigSchema,entitiesCatalog:H4.entitiesCatalogConfigSchema,catalogClassic:Ue.catalogsConfigSchema,scorecard:Ue.scorecardConfigSchema}),default:{redirects:{},seo:L.seoConfigSchema.default},additionalProperties:!0};var J4=Object.assign(Object.assign({},(0,U4.removePropertyRecursively)(L.redoclyConfigSchema,"default")),{additionalProperties:!1});L.rootRedoclyConfigSchema=Object.assign(Object.assign({$id:"root-redocly-config"},L.redoclyConfigSchema),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},L.redoclyConfigSchema.properties),{env:{type:"object",additionalProperties:J4}}),default:{},additionalProperties:!1})});var Hx=v(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.productConfigOverrideSchema=Dn.productThemeOverrideSchema=void 0;var pn=Jd(),X4=Tl(),Q4=tm();Dn.productThemeOverrideSchema={type:"object",properties:{logo:pn.themeConfigSchema.properties.logo,navbar:pn.themeConfigSchema.properties.navbar,footer:pn.themeConfigSchema.properties.footer,sidebar:pn.themeConfigSchema.properties.sidebar,search:pn.themeConfigSchema.properties.search,codeSnippet:pn.themeConfigSchema.properties.codeSnippet,breadcrumbs:pn.themeConfigSchema.properties.breadcrumbs,openapi:pn.themeConfigSchema.properties.openapi,feedback:pn.themeConfigSchema.properties.feedback,analytics:{type:"object",properties:{ga:X4.productGoogleAnalyticsConfigSchema}}},additionalProperties:!0,default:{}};Dn.productConfigOverrideSchema={$id:"product-config-override",type:"object",properties:Object.assign(Object.assign({},Dn.productThemeOverrideSchema.properties),{apis:{type:"object",additionalProperties:Q4.apiConfigSchema},theme:Dn.productThemeOverrideSchema}),additionalProperties:!1}});var Wx=v(Kx=>{"use strict";Object.defineProperty(Kx,"__esModule",{value:!0})});var Gx=v(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0})});var Xx=v(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0})});var Qx=v(qi=>{"use strict";var Z4=qi&&qi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),e9=qi&&qi.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Z4(t,e,r)};Object.defineProperty(qi,"__esModule",{value:!0});e9(Xx(),qi)});var eS=v(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0})});var tS=v(Kr=>{"use strict";var t9=Kr&&Kr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),ql=Kr&&Kr.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&t9(t,e,r)};Object.defineProperty(Kr,"__esModule",{value:!0});ql(Wx(),Kr);ql(Gx(),Kr);ql(Qx(),Kr);ql(eS(),Kr)});var rm=v(Se=>{"use strict";var r9=Se&&Se.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),n9=Se&&Se.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&r9(t,e,r)};Object.defineProperty(Se,"__esModule",{value:!0});Se.REDOCLY_ROUTE_RBAC=Se.REDOCLY_TEAMS_RBAC=Se.LayoutVariant=Se.DEFAULT_TEAM_CLAIM_NAME=Se.AuthProviderType=Se.ApigeeDevOnboardingIntegrationAuthType=Se.redocConfigSchema=Se.rootRedoclyConfigSchema=Se.rbacConfigSchema=Se.productConfigOverrideSchema=Se.productThemeOverrideSchema=void 0;var rS=Hx();Object.defineProperty(Se,"productThemeOverrideSchema",{enumerable:!0,get:function(){return rS.productThemeOverrideSchema}});Object.defineProperty(Se,"productConfigOverrideSchema",{enumerable:!0,get:function(){return rS.productConfigOverrideSchema}});var nS=tm();Object.defineProperty(Se,"rbacConfigSchema",{enumerable:!0,get:function(){return nS.rbacConfigSchema}});Object.defineProperty(Se,"rootRedoclyConfigSchema",{enumerable:!0,get:function(){return nS.rootRedoclyConfigSchema}});var i9=_l();Object.defineProperty(Se,"redocConfigSchema",{enumerable:!0,get:function(){return i9.redocConfigSchema}});n9(tS(),Se);var Mo=Xd();Object.defineProperty(Se,"ApigeeDevOnboardingIntegrationAuthType",{enumerable:!0,get:function(){return Mo.ApigeeDevOnboardingIntegrationAuthType}});Object.defineProperty(Se,"AuthProviderType",{enumerable:!0,get:function(){return Mo.AuthProviderType}});Object.defineProperty(Se,"DEFAULT_TEAM_CLAIM_NAME",{enumerable:!0,get:function(){return Mo.DEFAULT_TEAM_CLAIM_NAME}});Object.defineProperty(Se,"LayoutVariant",{enumerable:!0,get:function(){return Mo.LayoutVariant}});Object.defineProperty(Se,"REDOCLY_TEAMS_RBAC",{enumerable:!0,get:function(){return Mo.REDOCLY_TEAMS_RBAC}});Object.defineProperty(Se,"REDOCLY_ROUTE_RBAC",{enumerable:!0,get:function(){return Mo.REDOCLY_ROUTE_RBAC}})});var va=v(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.nil=Me._Code=Me.Name=Me.IDENTIFIER=Me._CodeOrName=void 0;Me._=oS;Me.str=sS;Me.addCodeArg=om;Me.strConcat=f9;Me.stringify=m9;Me.safeStringify=ba;Me.getProperty=h9;Me.getEsmExportName=y9;Me.regexpCode=g9;var ga=class{};Me._CodeOrName=ga;Me.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Mi=class extends ga{constructor(t){if(super(),!Me.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};Me.Name=Mi;var yr=class extends ga{constructor(t){super(),this._items=typeof t=="string"?[t]:t}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let t=this._items[0];return t===""||t==='""'}get str(){var t;return(t=this._str)!==null&&t!==void 0?t:this._str=this._items.reduce((r,n)=>`${r}${n}`,"")}get names(){var t;return(t=this._names)!==null&&t!==void 0?t:this._names=this._items.reduce((r,n)=>(n instanceof Mi&&(r[n.str]=(r[n.str]||0)+1),r),{})}};Me._Code=yr;Me.nil=new yr("");function oS(e,...t){let r=[e[0]],n=0;for(;n<t.length;)om(r,t[n]),r.push(e[++n]);return new yr(r)}var im=new yr("+");function sS(e,...t){let r=[ba(e[0])],n=0;for(;n<t.length;)r.push(im),om(r,t[n]),r.push(im,ba(e[++n]));return u9(r),new yr(r)}function om(e,t){t instanceof yr?e.push(...t._items):t instanceof Mi?e.push(t):e.push(d9(t))}function u9(e){let t=1;for(;t<e.length-1;){if(e[t]===im){let r=p9(e[t-1],e[t+1]);if(r!==void 0){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}function p9(e,t){if(t==='""')return e;if(e==='""')return t;if(typeof e=="string")return t instanceof Mi||e[e.length-1]!=='"'?void 0:typeof t!="string"?`${e.slice(0,-1)}${t}"`:t[0]==='"'?e.slice(0,-1)+t.slice(1):void 0;if(typeof t=="string"&&t[0]==='"'&&!(e instanceof Mi))return`"${e}${t.slice(1)}`}function f9(e,t){return t.emptyStr()?e:e.emptyStr()?t:sS`${e}${t}`}function d9(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:ba(Array.isArray(e)?e.join(","):e)}function m9(e){return new yr(ba(e))}function ba(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function h9(e){return typeof e=="string"&&Me.IDENTIFIER.test(e)?new yr(`.${e}`):oS`[${e}]`}function y9(e){if(typeof e=="string"&&Me.IDENTIFIER.test(e))return new yr(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}function g9(e){return new yr(e.toString())}});var cm=v(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.ValueScope=Zt.ValueScopeName=Zt.Scope=Zt.varKinds=Zt.UsedValueState=void 0;var Qt=va(),sm=class extends Error{constructor(t){super(`CodeGen: "code" for ${t} not defined`),this.value=t.value}},Ml;(function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"})(Ml||(Zt.UsedValueState=Ml={}));Zt.varKinds={const:new Qt.Name("const"),let:new Qt.Name("let"),var:new Qt.Name("var")};var Ll=class{constructor({prefixes:t,parent:r}={}){this._names={},this._prefixes=t,this._parent=r}toName(t){return t instanceof Qt.Name?t:this.name(t)}name(t){return new Qt.Name(this._newName(t))}_newName(t){let r=this._names[t]||this._nameGroup(t);return`${t}${r.index++}`}_nameGroup(t){var r,n;if(!((n=(r=this._parent)===null||r===void 0?void 0:r._prefixes)===null||n===void 0)&&n.has(t)||this._prefixes&&!this._prefixes.has(t))throw new Error(`CodeGen: prefix "${t}" is not allowed in this scope`);return this._names[t]={prefix:t,index:0}}};Zt.Scope=Ll;var Dl=class extends Qt.Name{constructor(t,r){super(r),this.prefix=t}setValue(t,{property:r,itemIndex:n}){this.value=t,this.scopePath=(0,Qt._)`.${new Qt.Name(r)}[${n}]`}};Zt.ValueScopeName=Dl;var b9=(0,Qt._)`\n`,am=class extends Ll{constructor(t){super(t),this._values={},this._scope=t.scope,this.opts={...t,_n:t.lines?b9:Qt.nil}}get(){return this._scope}name(t){return new Dl(t,this._newName(t))}value(t,r){var n;if(r.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let i=this.toName(t),{prefix:o}=i,s=(n=r.key)!==null&&n!==void 0?n:r.ref,a=this._values[o];if(a){let u=a.get(s);if(u)return u}else a=this._values[o]=new Map;a.set(s,i);let c=this._scope[o]||(this._scope[o]=[]),l=c.length;return c[l]=r.ref,i.setValue(r,{property:o,itemIndex:l}),i}getValue(t,r){let n=this._values[t];if(n)return n.get(r)}scopeRefs(t,r=this._values){return this._reduceValues(r,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Qt._)`${t}${n.scopePath}`})}scopeCode(t=this._values,r,n){return this._reduceValues(t,i=>{if(i.value===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return i.value.code},r,n)}_reduceValues(t,r,n={},i){let o=Qt.nil;for(let s in t){let a=t[s];if(!a)continue;let c=n[s]=n[s]||new Map;a.forEach(l=>{if(c.has(l))return;c.set(l,Ml.Started);let u=r(l);if(u){let p=this.opts.es5?Zt.varKinds.var:Zt.varKinds.const;o=(0,Qt._)`${o}${p} ${l} = ${u};${this.opts._n}`}else if(u=i==null?void 0:i(l))o=(0,Qt._)`${o}${u}${this.opts._n}`;else throw new sm(l);c.set(l,Ml.Completed)})}return o}};Zt.ValueScope=am});var ne=v(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});fe.CodeGen=fe.operators=fe.varKinds=fe.ValueScopeName=fe.ValueScope=fe.Scope=fe.Name=fe.regexpCode=fe.stringify=fe.getProperty=fe.nil=fe.strConcat=fe.str=fe._=void 0;fe.not=aS;fe.and=x9;fe.or=_9;var de=va(),Rr=cm(),Fn=va();Object.defineProperty(fe,"_",{enumerable:!0,get:function(){return Fn._}});Object.defineProperty(fe,"str",{enumerable:!0,get:function(){return Fn.str}});Object.defineProperty(fe,"strConcat",{enumerable:!0,get:function(){return Fn.strConcat}});Object.defineProperty(fe,"nil",{enumerable:!0,get:function(){return Fn.nil}});Object.defineProperty(fe,"getProperty",{enumerable:!0,get:function(){return Fn.getProperty}});Object.defineProperty(fe,"stringify",{enumerable:!0,get:function(){return Fn.stringify}});Object.defineProperty(fe,"regexpCode",{enumerable:!0,get:function(){return Fn.regexpCode}});Object.defineProperty(fe,"Name",{enumerable:!0,get:function(){return Fn.Name}});var Ul=cm();Object.defineProperty(fe,"Scope",{enumerable:!0,get:function(){return Ul.Scope}});Object.defineProperty(fe,"ValueScope",{enumerable:!0,get:function(){return Ul.ValueScope}});Object.defineProperty(fe,"ValueScopeName",{enumerable:!0,get:function(){return Ul.ValueScopeName}});Object.defineProperty(fe,"varKinds",{enumerable:!0,get:function(){return Ul.varKinds}});fe.operators={GT:new de._Code(">"),GTE:new de._Code(">="),LT:new de._Code("<"),LTE:new de._Code("<="),EQ:new de._Code("==="),NEQ:new de._Code("!=="),NOT:new de._Code("!"),OR:new de._Code("||"),AND:new de._Code("&&"),ADD:new de._Code("+")};var fn=class{optimizeNodes(){return this}optimizeNames(t,r){return this}},lm=class extends fn{constructor(t,r,n){super(),this.varKind=t,this.name=r,this.rhs=n}render({es5:t,_n:r}){let n=t?Rr.varKinds.var:this.varKind,i=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+r}optimizeNames(t,r){if(t[this.name.str])return this.rhs&&(this.rhs=Fo(this.rhs,t,r)),this}get names(){return this.rhs instanceof de._CodeOrName?this.rhs.names:{}}},Fl=class extends fn{constructor(t,r,n){super(),this.lhs=t,this.rhs=r,this.sideEffects=n}render({_n:t}){return`${this.lhs} = ${this.rhs};`+t}optimizeNames(t,r){if(!(this.lhs instanceof de.Name&&!t[this.lhs.str]&&!this.sideEffects))return this.rhs=Fo(this.rhs,t,r),this}get names(){let t=this.lhs instanceof de.Name?{}:{...this.lhs.names};return Vl(t,this.rhs)}},um=class extends Fl{constructor(t,r,n,i){super(t,n,i),this.op=r}render({_n:t}){return`${this.lhs} ${this.op}= ${this.rhs};`+t}},pm=class extends fn{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`${this.label}:`+t}},fm=class extends fn{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`break${this.label?` ${this.label}`:""};`+t}},dm=class extends fn{constructor(t){super(),this.error=t}render({_n:t}){return`throw ${this.error};`+t}get names(){return this.error.names}},mm=class extends fn{constructor(t){super(),this.code=t}render({_n:t}){return`${this.code};`+t}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(t,r){return this.code=Fo(this.code,t,r),this}get names(){return this.code instanceof de._CodeOrName?this.code.names:{}}},wa=class extends fn{constructor(t=[]){super(),this.nodes=t}render(t){return this.nodes.reduce((r,n)=>r+n.render(t),"")}optimizeNodes(){let{nodes:t}=this,r=t.length;for(;r--;){let n=t[r].optimizeNodes();Array.isArray(n)?t.splice(r,1,...n):n?t[r]=n:t.splice(r,1)}return t.length>0?this:void 0}optimizeNames(t,r){let{nodes:n}=this,i=n.length;for(;i--;){let o=n[i];o.optimizeNames(t,r)||(v9(t,o.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((t,r)=>Fi(t,r.names),{})}},dn=class extends wa{render(t){return"{"+t._n+super.render(t)+"}"+t._n}},hm=class extends wa{},Do=class extends dn{};Do.kind="else";var Li=class e extends dn{constructor(t,r){super(r),this.condition=t}render(t){let r=`if(${this.condition})`+super.render(t);return this.else&&(r+="else "+this.else.render(t)),r}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let r=this.else;if(r){let n=r.optimizeNodes();r=this.else=Array.isArray(n)?new Do(n):n}if(r)return t===!1?r instanceof e?r:r.nodes:this.nodes.length?this:new e(aS(t),r instanceof e?[r]:r.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,r){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(t,r),!!(super.optimizeNames(t,r)||this.else))return this.condition=Fo(this.condition,t,r),this}get names(){let t=super.names;return Vl(t,this.condition),this.else&&Fi(t,this.else.names),t}};Li.kind="if";var Di=class extends dn{};Di.kind="for";var ym=class extends Di{constructor(t){super(),this.iteration=t}render(t){return`for(${this.iteration})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iteration=Fo(this.iteration,t,r),this}get names(){return Fi(super.names,this.iteration.names)}},gm=class extends Di{constructor(t,r,n,i){super(),this.varKind=t,this.name=r,this.from=n,this.to=i}render(t){let r=t.es5?Rr.varKinds.var:this.varKind,{name:n,from:i,to:o}=this;return`for(${r} ${n}=${i}; ${n}<${o}; ${n}++)`+super.render(t)}get names(){let t=Vl(super.names,this.from);return Vl(t,this.to)}},Bl=class extends Di{constructor(t,r,n,i){super(),this.loop=t,this.varKind=r,this.name=n,this.iterable=i}render(t){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iterable=Fo(this.iterable,t,r),this}get names(){return Fi(super.names,this.iterable.names)}},xa=class extends dn{constructor(t,r,n){super(),this.name=t,this.args=r,this.async=n}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}};xa.kind="func";var Sa=class extends wa{render(t){return"return "+super.render(t)}};Sa.kind="return";var bm=class extends dn{render(t){let r="try"+super.render(t);return this.catch&&(r+=this.catch.render(t)),this.finally&&(r+=this.finally.render(t)),r}optimizeNodes(){var t,r;return super.optimizeNodes(),(t=this.catch)===null||t===void 0||t.optimizeNodes(),(r=this.finally)===null||r===void 0||r.optimizeNodes(),this}optimizeNames(t,r){var n,i;return super.optimizeNames(t,r),(n=this.catch)===null||n===void 0||n.optimizeNames(t,r),(i=this.finally)===null||i===void 0||i.optimizeNames(t,r),this}get names(){let t=super.names;return this.catch&&Fi(t,this.catch.names),this.finally&&Fi(t,this.finally.names),t}},_a=class extends dn{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}};_a.kind="catch";var Oa=class extends dn{render(t){return"finally"+super.render(t)}};Oa.kind="finally";var vm=class{constructor(t,r={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...r,_n:r.lines?`
1
+ var ek=Object.create;var Qs=Object.defineProperty;var tk=Object.getOwnPropertyDescriptor;var rk=Object.getOwnPropertyNames;var nk=Object.getPrototypeOf,ik=Object.prototype.hasOwnProperty;var Yv=e=>{throw TypeError(e)};var ok=(e,t,r)=>t in e?Qs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mf=(e,t)=>{for(var r in t)Qs(e,r,{get:t[r],enumerable:!0})},Gv=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of rk(t))!ik.call(e,i)&&i!==r&&Qs(e,i,{get:()=>t[i],enumerable:!(n=tk(t,i))||n.enumerable});return e};var Ee=(e,t,r)=>(r=e!=null?ek(nk(e)):{},Gv(t||!e||!e.__esModule?Qs(r,"default",{value:e,enumerable:!0}):r,e)),sk=e=>Gv(Qs({},"__esModule",{value:!0}),e);var Jv=(e,t,r)=>ok(e,typeof t!="symbol"?t+"":t,r),Lf=(e,t,r)=>t.has(e)||Yv("Cannot "+r);var F=(e,t,r)=>(Lf(e,t,"read from private field"),r?r.call(e):t.get(e)),Wt=(e,t,r)=>t.has(e)?Yv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Ke=(e,t,r,n)=>(Lf(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Tn=(e,t,r)=>(Lf(e,t,"access private method"),r);var Wf=v((Hf,Kf)=>{(function(e,t){typeof require=="function"&&typeof Hf=="object"&&typeof Kf=="object"?Kf.exports=t():typeof define=="function"&&define.amd?define(function(){return t()}):e.pluralize=t()})(Hf,function(){var e=[],t=[],r={},n={},i={};function o(m){return typeof m=="string"?new RegExp("^"+m+"$","i"):m}function s(m,f){return m===f?f:m===m.toLowerCase()?f.toLowerCase():m===m.toUpperCase()?f.toUpperCase():m[0]===m[0].toUpperCase()?f.charAt(0).toUpperCase()+f.substr(1).toLowerCase():f.toLowerCase()}function a(m,f){return m.replace(/\$(\d{1,2})/g,function(h,y){return f[y]||""})}function c(m,f){return m.replace(f[0],function(h,y){var g=a(f[1],arguments);return s(h===""?m[y-1]:h,g)})}function l(m,f,h){if(!m.length||r.hasOwnProperty(m))return f;for(var y=h.length;y--;){var g=h[y];if(g[0].test(f))return c(f,g)}return f}function u(m,f,h){return function(y){var g=y.toLowerCase();return f.hasOwnProperty(g)?s(y,g):m.hasOwnProperty(g)?s(y,m[g]):l(g,y,h)}}function p(m,f,h,y){return function(g){var b=g.toLowerCase();return f.hasOwnProperty(b)?!0:m.hasOwnProperty(b)?!1:l(b,b,h)===b}}function d(m,f,h){var y=f===1?d.singular(m):d.plural(m);return(h?f+" ":"")+y}return d.plural=u(i,n,e),d.isPlural=p(i,n,e),d.singular=u(n,i,t),d.isSingular=p(n,i,t),d.addPluralRule=function(m,f){e.push([o(m),f])},d.addSingularRule=function(m,f){t.push([o(m),f])},d.addUncountableRule=function(m){if(typeof m=="string"){r[m.toLowerCase()]=!0;return}d.addPluralRule(m,"$0"),d.addSingularRule(m,"$0")},d.addIrregularRule=function(m,f){f=f.toLowerCase(),m=m.toLowerCase(),i[m]=f,n[f]=m},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(m){return d.addIrregularRule(m[0],m[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(m){return d.addPluralRule(m[0],m[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(m){return d.addSingularRule(m[0],m[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d})});var ma=v(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.feedbackConfigSchema=Jt.optionalEmailSettings=Jt.reasonsSettings=void 0;var Cx={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}};Jt.reasonsSettings={type:"object",properties:Cx,additionalProperties:!1};Jt.optionalEmailSettings={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1};Jt.feedbackConfigSchema={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:Object.assign(Object.assign({},Cx),{like:Jt.reasonsSettings,dislike:Jt.reasonsSettings,satisfied:Jt.reasonsSettings,neutral:Jt.reasonsSettings,dissatisfied:Jt.reasonsSettings}),additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:Jt.optionalEmailSettings},additionalProperties:!1}},additionalProperties:!1}});var _l=v(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.redocConfigSchema=ki.downloadUrlsSchema=void 0;var FM=ma(),BM={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},required:["languages"],additionalProperties:!1};ki.downloadUrlsSchema={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}};ki.redocConfigSchema={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:FM.feedbackConfigSchema,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:ki.downloadUrlsSchema,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:BM,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1}});var Hd=v(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.graphqlConfigSchema=void 0;var VM=ma(),UM=_l(),Io={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},zM={type:"object",properties:{name:{type:"string"},items:Io,queries:Io,mutations:Io,subscriptions:Io,types:Io,directives:Io},required:["name"],additionalProperties:!1},HM={type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:zM},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1};Ol.graphqlConfigSchema={type:"object",properties:{menu:{type:"object",properties:Object.assign({},HM.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:UM.downloadUrlsSchema,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:VM.feedbackConfigSchema},additionalProperties:!1}});var jx=v(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.deprecatedRefDocsSchema=void 0;var KM={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},WM={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},Rx={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},YM={type:"object",properties:{beforeInfo:{type:"array",items:Rx},end:{type:"array",items:Rx}}},Ii={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},Pl={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},GM={type:"object",properties:Cl(Ii.properties,["light","dark"])},JM={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},XM={type:"object",properties:{error:Pl,info:Pl,redirect:Pl,success:Pl}},QM={type:"object",properties:qo(Ii.properties,["dark"])},ZM={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},e4={type:"object",properties:{accent:Ii,border:GM,error:Ii,http:JM,primary:Ii,responses:XM,secondary:QM,success:Ii,text:ZM,tonalOffset:{type:"number"},warning:Ii}},$l={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},t4={type:"object",properties:{small:$l,medium:$l,large:$l,xlarge:$l}},Hr={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},r4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:t4})},Tx={type:"object",properties:Cl(Hr.properties,["fontSize","lineHeight"])},n4={type:"object",properties:{medium:Tx,small:Tx}},i4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:n4})},o4={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},s4={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},Nx={type:"object",properties:{fullWidth:{type:"boolean"}}},a4={type:"object",properties:{buttons:r4,httpBadges:i4,layoutControls:o4,panels:s4,tryItButton:Nx,tryItSendButton:Nx}},Al={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},c4={type:"object",properties:{maxWidth:Al}},l4={type:"object",properties:{maxWidth:Al,middlePanelMaxWidth:Al}},u4={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:c4,"three-panel":l4}},kx={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},p4={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:kx,defaultDetailsWidth:{type:"string"},examples:kx,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},qx={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},f4={type:"object",properties:Cl(qx.properties,["textTransform"])},d4={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},m4={type:"object",properties:Object.assign(Object.assign({},qo(Hr.properties,["fontWeight","lineHeight"])),{activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:qx,level1items:f4,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:d4,textColor:{type:"string"},width:{type:"string"}})},El={type:"object",properties:Object.assign(Object.assign({},Hr.properties),{color:{type:"string"},transform:{type:"string"}})},h4={type:"object",properties:Object.assign(Object.assign({},Hr.properties),{backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}})},y4={type:"object",properties:qo(Hr.properties,["fontSize"])},g4={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},b4={type:"object",properties:Object.assign(Object.assign({code:h4,fieldName:Hr},Cl(Hr.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:El,heading2:El,heading3:El,headings:y4,lineHeight:{type:"string"},links:g4,optimizeSpeed:{type:"boolean"},rightPanelHeading:El,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},v4={type:"object",properties:Object.assign({color:{type:"string"}},qo(Hr.properties,["fontWeight"]))},w4={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:v4}},x4={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},S4={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Ix={type:"object",properties:{custom:{type:"string"}}},_4={type:"object",properties:{DownloadButton:Ix,NextSectionButton:Ix}},O4={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},P4={type:"object",properties:{borderRadius:{type:"string"}}},$4={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},E4={type:"object",properties:{breakpoints:Al,codeBlock:w4,colors:e4,components:a4,layout:u4,logo:x4,fab:S4,overrides:_4,rightPanel:O4,schema:p4,shape:P4,sidebar:m4,spacing:$4,typography:b4,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},A4={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:KM}},required:["languages"]};Rl.deprecatedRefDocsSchema={type:"object",properties:{theme:E4,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:A4,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:WM,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:YM,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:!1};function Cl(e,t){return Object.fromEntries(t.filter(r=>r in e).map(r=>[r,e[r]]))}function qo(e,t){return Object.fromEntries(Object.entries(e).filter(([r])=>!t.includes(r)))}});var Kd=v(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.decoratorsSchemas=lt.preprocessorSchemas=lt.ruleSchemas=lt.rulesSchema=void 0;lt.rulesSchema={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}};lt.ruleSchemas={rules:lt.rulesSchema,oas2Rules:lt.rulesSchema,oas3_0Rules:lt.rulesSchema,oas3_1Rules:lt.rulesSchema,async2Rules:lt.rulesSchema,async3Rules:lt.rulesSchema,arazzo1Rules:lt.rulesSchema,overlay1Rules:lt.rulesSchema};lt.preprocessorSchemas={preprocessors:{type:"object",additionalProperties:!0},oas2Preprocessors:{type:"object",additionalProperties:!0},oas3_0Preprocessors:{type:"object",additionalProperties:!0},oas3_1Preprocessors:{type:"object",additionalProperties:!0},async2Preprocessors:{type:"object",additionalProperties:!0},async3Preprocessors:{type:"object",additionalProperties:!0},arazzo1Preprocessors:{type:"object",additionalProperties:!0},overlay1Preprocessors:{type:"object",additionalProperties:!0}};lt.decoratorsSchemas={decorators:{type:"object",additionalProperties:!0},oas2Decorators:{type:"object",additionalProperties:!0},oas3_0Decorators:{type:"object",additionalProperties:!0},oas3_1Decorators:{type:"object",additionalProperties:!0},async2Decorators:{type:"object",additionalProperties:!0},async3Decorators:{type:"object",additionalProperties:!0},arazzo1Decorators:{type:"object",additionalProperties:!0},overlay1Decorators:{type:"object",additionalProperties:!0}}});var Tl=v(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.scorecardConfigSchema=j.catalogsConfigSchema=j.catalogSchema=j.catalogFilterSchema=j.breadcrumbsConfigSchema=j.versionPickerConfigSchema=j.userMenuConfigSchema=j.analyticsConfigSchema=j.googleAnalyticsConfigSchema=j.productGoogleAnalyticsConfigSchema=j.gtmAnalyticsConfigSchema=j.segmentAnalyticsConfigSchema=j.rudderstackAnalyticsConfigSchema=j.heapAnalyticsConfigSchema=j.fullstoryAnalyticsConfigSchema=j.amplitudeAnalyticsConfigSchema=j.openapiConfigSchema=j.markdownConfigSchema=j.codeSnippetConfigSchema=j.navigationConfigSchema=j.colorModeConfigSchema=j.searchConfigSchema=j.linksConfigSchema=j.scriptsConfigSchema=j.sidebarConfigSchema=j.footerConfigSchema=j.productsConfigSchema=j.navbarConfigSchema=j.logoConfigSchema=j.searchFiltersConfigSchema=j.searchFacetsConfigSchema=j.aiSearchConfigSchema=j.productConfigSchema=j.navItemsSchema=void 0;var Mx=_l(),C4=jx(),Wd=Kd(),ut={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},Lx={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},Yd={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}}}};j.navItemsSchema={type:"array",items:Object.assign(Object.assign({},Yd),{properties:Object.assign(Object.assign({},Yd.properties),{items:{type:"array",items:Yd}})})};j.productConfigSchema={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]};j.aiSearchConfigSchema={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1};j.searchFacetsConfigSchema={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}};j.searchFiltersConfigSchema={type:"object",properties:Object.assign({facets:j.searchFacetsConfigSchema},ut.properties),additionalProperties:!1};var R4={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]};j.logoConfigSchema={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1};j.navbarConfigSchema={type:"object",properties:Object.assign({items:j.navItemsSchema},ut.properties),additionalProperties:!1};j.productsConfigSchema={type:"object",additionalProperties:j.productConfigSchema};j.footerConfigSchema={type:"object",properties:Object.assign({items:j.navItemsSchema,copyrightText:{type:"string"},logo:ut},ut.properties),additionalProperties:!1};j.sidebarConfigSchema={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},ut.properties),additionalProperties:!1};j.scriptsConfigSchema={type:"object",properties:{head:{type:"array",items:Lx},body:{type:"array",items:Lx}},additionalProperties:!1};j.linksConfigSchema={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}};j.searchConfigSchema={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:j.aiSearchConfigSchema,filters:j.searchFiltersConfigSchema,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["\u2318+K,ctrl+K"]},suggestedPages:{type:"array",items:R4}},ut.properties),additionalProperties:!1};j.colorModeConfigSchema={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},ut.properties),additionalProperties:!1};var T4={type:"object",properties:Object.assign(Object.assign({},ut.properties),{items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude"]},default:["copy","view","chatgpt","claude"]}}),additionalProperties:!1};j.navigationConfigSchema={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},actions:T4},additionalProperties:!1};j.codeSnippetConfigSchema={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},ut.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},ut.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1};j.markdownConfigSchema={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},ut.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},ut.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},ut.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}};j.openapiConfigSchema=Object.assign(Object.assign({},Mx.redocConfigSchema),{properties:Object.assign(Object.assign({},Mx.redocConfigSchema.properties),C4.deprecatedRefDocsSchema.properties)});var N4={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]};j.amplitudeAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]};j.fullstoryAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]};j.heapAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]};j.rudderstackAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]};j.segmentAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]};j.gtmAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]};j.productGoogleAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]};j.googleAnalyticsConfigSchema={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:j.productGoogleAnalyticsConfigSchema}},additionalProperties:!1,required:["trackingId"]};j.analyticsConfigSchema={type:"object",properties:{adobe:N4,amplitude:j.amplitudeAnalyticsConfigSchema,fullstory:j.fullstoryAnalyticsConfigSchema,heap:j.heapAnalyticsConfigSchema,rudderstack:j.rudderstackAnalyticsConfigSchema,segment:j.segmentAnalyticsConfigSchema,gtm:j.gtmAnalyticsConfigSchema,ga:j.googleAnalyticsConfigSchema}};j.userMenuConfigSchema={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},ut.properties),additionalProperties:!1};j.versionPickerConfigSchema={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}};j.breadcrumbsConfigSchema={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1};j.catalogFilterSchema={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}};j.catalogSchema={type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:j.catalogFilterSchema},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:j.navItemsSchema,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}};j.catalogsConfigSchema={type:"object",patternProperties:{".*":j.catalogSchema}};j.scorecardConfigSchema={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:Object.assign(Object.assign(Object.assign({name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}}},Wd.ruleSchemas),Wd.preprocessorSchemas),Wd.decoratorsSchemas),additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}}}}});var Gd=v(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.entitiesCatalogConfigSchema=De.entityCatalogSpecificCatalogSchema=De.entityCatalogFilterSchema=De.entityCatalogIncludeSchema=De.entityCatalogExcludeSchema=void 0;De.entityCatalogExcludeSchema={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1};De.entityCatalogIncludeSchema={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1};De.entityCatalogFilterSchema={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1};De.entityCatalogSpecificCatalogSchema={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:De.entityCatalogIncludeSchema},excludes:{type:"array",items:De.entityCatalogExcludeSchema},filters:{type:"array",items:De.entityCatalogFilterSchema},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1};De.entitiesCatalogConfigSchema={type:"object",properties:{catalogs:{type:"object",properties:{all:De.entityCatalogSpecificCatalogSchema,services:De.entityCatalogSpecificCatalogSchema,domains:De.entityCatalogSpecificCatalogSchema,teams:De.entityCatalogSpecificCatalogSchema,users:De.entityCatalogSpecificCatalogSchema,apiDescriptions:De.entityCatalogSpecificCatalogSchema,dataSchemas:De.entityCatalogSpecificCatalogSchema,apiOperations:De.entityCatalogSpecificCatalogSchema},additionalProperties:!1}},additionalProperties:!1}});var Jd=v(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.themeConfigSchema=void 0;var k4=Hd(),I4=ma(),Qe=Tl(),q4=Gd();Nl.themeConfigSchema={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:Qe.logoConfigSchema,navbar:Qe.navbarConfigSchema,products:Qe.productsConfigSchema,footer:Qe.footerConfigSchema,sidebar:Qe.sidebarConfigSchema,scripts:Qe.scriptsConfigSchema,links:Qe.linksConfigSchema,feedback:I4.feedbackConfigSchema,search:Qe.searchConfigSchema,colorMode:Qe.colorModeConfigSchema,navigation:Qe.navigationConfigSchema,codeSnippet:Qe.codeSnippetConfigSchema,markdown:Qe.markdownConfigSchema,openapi:Qe.openapiConfigSchema,graphql:k4.graphqlConfigSchema,analytics:Qe.analyticsConfigSchema,userMenu:Qe.userMenuConfigSchema,versionPicker:Qe.versionPickerConfigSchema,breadcrumbs:Qe.breadcrumbsConfigSchema,catalog:Qe.catalogsConfigSchema,entitiesCatalog:q4.entitiesCatalogConfigSchema,catalogClassic:Qe.catalogsConfigSchema,scorecard:Qe.scorecardConfigSchema},additionalProperties:!0}});var Xd=v(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.LayoutVariant=Xt.REDOCLY_ROUTE_RBAC=Xt.REDOCLY_TEAMS_RBAC=Xt.ApigeeDevOnboardingIntegrationAuthType=Xt.AuthProviderType=Xt.DEFAULT_TEAM_CLAIM_NAME=void 0;Xt.DEFAULT_TEAM_CLAIM_NAME="https://redocly.com/sso/teams";var Dx;(function(e){e.OIDC="OIDC",e.SAML2="SAML2"})(Dx||(Xt.AuthProviderType=Dx={}));var Fx;(function(e){e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2"})(Fx||(Xt.ApigeeDevOnboardingIntegrationAuthType=Fx={}));Xt.REDOCLY_TEAMS_RBAC="redocly::teams-rbac";Xt.REDOCLY_ROUTE_RBAC="redocly::route-rbac";var Bx;(function(e){e.STACKED="stacked",e.THREE_PANEL="three-panel"})(Bx||(Xt.LayoutVariant=Bx={}))});var Vx=v(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.removePropertyRecursively=Qd;function Qd(e,t){return Object.fromEntries(Object.entries(e).map(([r,n])=>{if(r!==t)return typeof n!="object"||!n?[r,n]:Array.isArray(n)?[r,n.map(i=>typeof i=="object"?Qd(i,t):i)]:[r,Qd(n,t)]}).filter(Boolean))}});var Ux=v(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.reuniteConfigSchema=void 0;var j4={type:"object",additionalProperties:{type:"string"}},M4={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},kl={type:"string",enum:["error","warn","off"]},L4={type:"object",additionalProperties:!1,properties:{schemaCheck:kl,statusCodeCheck:kl,contentTypeCheck:kl,successCriteriaCheck:kl}},D4={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},F4={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1};Il.reuniteConfigSchema={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},projectUrl:{type:"string",format:"uri"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\.\\./)(/[a-zA-Z0-9_\\-\\./]+|./[a-zA-Z0-9_\\-\\./]+|[a-zA-Z0-9_\\-\\./]+)$"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[D4,F4]},inputs:j4,servers:M4,severity:L4},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1}});var tm=v(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.rootRedoclyConfigSchema=L.redoclyConfigSchema=L.l10nConfigSchema=L.devOnboardingAdapterConfigSchema=L.apigeeEdgeAdapterConfigSchema=L.apigeeXAdapterConfigSchema=L.apigeeAdapterAuthServiceAccountSchema=L.apigeeAdapterAuthOauth2Schema=L.graviteeAdapterConfigSchema=L.graviteeAdapterAuthIdpSchema=L.graviteeAdapterAuthStaticSchema=L.rbacConfigSchema=L.rbacScopeItemsSchema=L.apiFunctionsConfigSchema=L.seoConfigSchema=L.apiConfigSchema=L.redirectsConfigSchema=L.redirectConfigSchema=L.ssoConfigSchema=L.ssoDirectConfigSchema=L.authProviderConfigSchema=L.saml2ProviderConfigSchema=L.oidcProviderConfigSchema=L.oidcIssuerMetadataSchema=void 0;var ha=Xd(),B4=Jd(),V4=ma(),em=Hd(),U4=Vx(),z4=Ux(),Ue=Tl(),H4=Gd(),jo=Kd();L.oidcIssuerMetadataSchema={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0};L.oidcProviderConfigSchema={type:"object",properties:{type:{type:"string",const:ha.AuthProviderType.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:L.oidcIssuerMetadataSchema,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1};L.saml2ProviderConfigSchema={type:"object",properties:{type:{type:"string",const:ha.AuthProviderType.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:ha.DEFAULT_TEAM_CLAIM_NAME},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]};L.authProviderConfigSchema={oneOf:[L.oidcProviderConfigSchema,L.saml2ProviderConfigSchema],discriminator:{propertyName:"type"}};L.ssoDirectConfigSchema={type:"object",additionalProperties:L.authProviderConfigSchema};L.ssoConfigSchema={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]};L.redirectConfigSchema={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1};L.redirectsConfigSchema={type:"object",additionalProperties:L.redirectConfigSchema,default:{}};L.apiConfigSchema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema,theme:{type:"object",properties:{openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0}},jo.ruleSchemas),jo.preprocessorSchemas),jo.decoratorsSchemas),{extends:{type:"array",items:{type:"string"}}}),required:["root"]};var K4={type:"object",additionalProperties:!0},W4={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},zx={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1};L.seoConfigSchema={type:"object",properties:{title:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:zx},default:{llmstxt:zx.default},additionalProperties:!1};L.apiFunctionsConfigSchema={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1};L.rbacScopeItemsSchema={type:"object",additionalProperties:{type:"string"}};L.rbacConfigSchema={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:L.rbacScopeItemsSchema,cms:L.rbacScopeItemsSchema,reunite:L.rbacScopeItemsSchema,features:{type:"object",properties:{aiSearch:L.rbacScopeItemsSchema},additionalProperties:!1},content:{type:"object",properties:{"**":L.rbacScopeItemsSchema},additionalProperties:L.rbacScopeItemsSchema}},additionalProperties:L.rbacScopeItemsSchema};L.graviteeAdapterAuthStaticSchema={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]};L.graviteeAdapterAuthIdpSchema={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]};L.graviteeAdapterConfigSchema={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[L.graviteeAdapterAuthStaticSchema,L.graviteeAdapterAuthIdpSchema]}},additionalProperties:!1,required:["type","apiBaseUrl"]};L.apigeeAdapterAuthOauth2Schema={type:"object",properties:{type:{type:"string",const:ha.ApigeeDevOnboardingIntegrationAuthType.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]};L.apigeeAdapterAuthServiceAccountSchema={type:"object",properties:{type:{type:"string",const:ha.ApigeeDevOnboardingIntegrationAuthType.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]};L.apigeeXAdapterConfigSchema={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[L.apigeeAdapterAuthOauth2Schema,L.apigeeAdapterAuthServiceAccountSchema],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]};L.apigeeEdgeAdapterConfigSchema=Object.assign(Object.assign({},L.apigeeXAdapterConfigSchema),{properties:Object.assign(Object.assign({},L.apigeeXAdapterConfigSchema.properties),{type:{type:"string",const:"APIGEE_EDGE"}})});L.devOnboardingAdapterConfigSchema={type:"object",oneOf:[L.apigeeXAdapterConfigSchema,L.apigeeEdgeAdapterConfigSchema,L.graviteeAdapterConfigSchema],discriminator:{propertyName:"type"}};var Y4={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:L.devOnboardingAdapterConfigSchema}}};L.l10nConfigSchema={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]};var G4={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]};L.redoclyConfigSchema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:L.redirectsConfigSchema,seo:L.seoConfigSchema,rbac:L.rbacConfigSchema,apiFunctions:L.apiFunctionsConfigSchema,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:G4}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:L.apiConfigSchema},extends:{type:"array",items:{type:"string"}}},jo.ruleSchemas),jo.decoratorsSchemas),jo.preprocessorSchemas),{ssoDirect:L.ssoDirectConfigSchema,sso:L.ssoConfigSchema,residency:{type:"string"},developerOnboarding:Y4,removeAttribution:{type:"boolean"},i18n:L.l10nConfigSchema,l10n:L.l10nConfigSchema,metadata:K4,metadataGlobs:W4,ignore:{type:"array",items:{type:"string"}},theme:B4.themeConfigSchema,reunite:z4.reuniteConfigSchema,logo:Ue.logoConfigSchema,navbar:Ue.navbarConfigSchema,products:Ue.productsConfigSchema,footer:Ue.footerConfigSchema,sidebar:Ue.sidebarConfigSchema,scripts:Ue.scriptsConfigSchema,links:Ue.linksConfigSchema,feedback:V4.feedbackConfigSchema,search:Ue.searchConfigSchema,colorMode:Ue.colorModeConfigSchema,navigation:Ue.navigationConfigSchema,codeSnippet:Ue.codeSnippetConfigSchema,markdown:Ue.markdownConfigSchema,openapi:Ue.openapiConfigSchema,graphql:em.graphqlConfigSchema,analytics:Ue.analyticsConfigSchema,userMenu:Ue.userMenuConfigSchema,versionPicker:Ue.versionPickerConfigSchema,breadcrumbs:Ue.breadcrumbsConfigSchema,catalog:Ue.catalogsConfigSchema,entitiesCatalog:H4.entitiesCatalogConfigSchema,catalogClassic:Ue.catalogsConfigSchema,scorecard:Ue.scorecardConfigSchema}),default:{redirects:{},seo:L.seoConfigSchema.default},additionalProperties:!0};var J4=Object.assign(Object.assign({},(0,U4.removePropertyRecursively)(L.redoclyConfigSchema,"default")),{additionalProperties:!1});L.rootRedoclyConfigSchema=Object.assign(Object.assign({$id:"root-redocly-config"},L.redoclyConfigSchema),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},L.redoclyConfigSchema.properties),{env:{type:"object",additionalProperties:J4}}),default:{},additionalProperties:!1})});var Hx=v(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.productConfigOverrideSchema=Dn.productThemeOverrideSchema=void 0;var pn=Jd(),X4=Tl(),Q4=tm();Dn.productThemeOverrideSchema={type:"object",properties:{logo:pn.themeConfigSchema.properties.logo,navbar:pn.themeConfigSchema.properties.navbar,footer:pn.themeConfigSchema.properties.footer,sidebar:pn.themeConfigSchema.properties.sidebar,search:pn.themeConfigSchema.properties.search,codeSnippet:pn.themeConfigSchema.properties.codeSnippet,breadcrumbs:pn.themeConfigSchema.properties.breadcrumbs,openapi:pn.themeConfigSchema.properties.openapi,feedback:pn.themeConfigSchema.properties.feedback,analytics:{type:"object",properties:{ga:X4.productGoogleAnalyticsConfigSchema}}},additionalProperties:!0,default:{}};Dn.productConfigOverrideSchema={$id:"product-config-override",type:"object",properties:Object.assign(Object.assign({},Dn.productThemeOverrideSchema.properties),{apis:{type:"object",additionalProperties:Q4.apiConfigSchema},theme:Dn.productThemeOverrideSchema}),additionalProperties:!1}});var Wx=v(Kx=>{"use strict";Object.defineProperty(Kx,"__esModule",{value:!0})});var Gx=v(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0})});var Xx=v(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0})});var Qx=v(qi=>{"use strict";var Z4=qi&&qi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),e9=qi&&qi.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Z4(t,e,r)};Object.defineProperty(qi,"__esModule",{value:!0});e9(Xx(),qi)});var eS=v(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0})});var tS=v(Kr=>{"use strict";var t9=Kr&&Kr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),ql=Kr&&Kr.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&t9(t,e,r)};Object.defineProperty(Kr,"__esModule",{value:!0});ql(Wx(),Kr);ql(Gx(),Kr);ql(Qx(),Kr);ql(eS(),Kr)});var rm=v(Se=>{"use strict";var r9=Se&&Se.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),n9=Se&&Se.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&r9(t,e,r)};Object.defineProperty(Se,"__esModule",{value:!0});Se.REDOCLY_ROUTE_RBAC=Se.REDOCLY_TEAMS_RBAC=Se.LayoutVariant=Se.DEFAULT_TEAM_CLAIM_NAME=Se.AuthProviderType=Se.ApigeeDevOnboardingIntegrationAuthType=Se.redocConfigSchema=Se.rootRedoclyConfigSchema=Se.rbacConfigSchema=Se.productConfigOverrideSchema=Se.productThemeOverrideSchema=void 0;var rS=Hx();Object.defineProperty(Se,"productThemeOverrideSchema",{enumerable:!0,get:function(){return rS.productThemeOverrideSchema}});Object.defineProperty(Se,"productConfigOverrideSchema",{enumerable:!0,get:function(){return rS.productConfigOverrideSchema}});var nS=tm();Object.defineProperty(Se,"rbacConfigSchema",{enumerable:!0,get:function(){return nS.rbacConfigSchema}});Object.defineProperty(Se,"rootRedoclyConfigSchema",{enumerable:!0,get:function(){return nS.rootRedoclyConfigSchema}});var i9=_l();Object.defineProperty(Se,"redocConfigSchema",{enumerable:!0,get:function(){return i9.redocConfigSchema}});n9(tS(),Se);var Mo=Xd();Object.defineProperty(Se,"ApigeeDevOnboardingIntegrationAuthType",{enumerable:!0,get:function(){return Mo.ApigeeDevOnboardingIntegrationAuthType}});Object.defineProperty(Se,"AuthProviderType",{enumerable:!0,get:function(){return Mo.AuthProviderType}});Object.defineProperty(Se,"DEFAULT_TEAM_CLAIM_NAME",{enumerable:!0,get:function(){return Mo.DEFAULT_TEAM_CLAIM_NAME}});Object.defineProperty(Se,"LayoutVariant",{enumerable:!0,get:function(){return Mo.LayoutVariant}});Object.defineProperty(Se,"REDOCLY_TEAMS_RBAC",{enumerable:!0,get:function(){return Mo.REDOCLY_TEAMS_RBAC}});Object.defineProperty(Se,"REDOCLY_ROUTE_RBAC",{enumerable:!0,get:function(){return Mo.REDOCLY_ROUTE_RBAC}})});var va=v(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.nil=Me._Code=Me.Name=Me.IDENTIFIER=Me._CodeOrName=void 0;Me._=oS;Me.str=sS;Me.addCodeArg=om;Me.strConcat=f9;Me.stringify=m9;Me.safeStringify=ba;Me.getProperty=h9;Me.getEsmExportName=y9;Me.regexpCode=g9;var ga=class{};Me._CodeOrName=ga;Me.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Mi=class extends ga{constructor(t){if(super(),!Me.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};Me.Name=Mi;var yr=class extends ga{constructor(t){super(),this._items=typeof t=="string"?[t]:t}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let t=this._items[0];return t===""||t==='""'}get str(){var t;return(t=this._str)!==null&&t!==void 0?t:this._str=this._items.reduce((r,n)=>`${r}${n}`,"")}get names(){var t;return(t=this._names)!==null&&t!==void 0?t:this._names=this._items.reduce((r,n)=>(n instanceof Mi&&(r[n.str]=(r[n.str]||0)+1),r),{})}};Me._Code=yr;Me.nil=new yr("");function oS(e,...t){let r=[e[0]],n=0;for(;n<t.length;)om(r,t[n]),r.push(e[++n]);return new yr(r)}var im=new yr("+");function sS(e,...t){let r=[ba(e[0])],n=0;for(;n<t.length;)r.push(im),om(r,t[n]),r.push(im,ba(e[++n]));return u9(r),new yr(r)}function om(e,t){t instanceof yr?e.push(...t._items):t instanceof Mi?e.push(t):e.push(d9(t))}function u9(e){let t=1;for(;t<e.length-1;){if(e[t]===im){let r=p9(e[t-1],e[t+1]);if(r!==void 0){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}function p9(e,t){if(t==='""')return e;if(e==='""')return t;if(typeof e=="string")return t instanceof Mi||e[e.length-1]!=='"'?void 0:typeof t!="string"?`${e.slice(0,-1)}${t}"`:t[0]==='"'?e.slice(0,-1)+t.slice(1):void 0;if(typeof t=="string"&&t[0]==='"'&&!(e instanceof Mi))return`"${e}${t.slice(1)}`}function f9(e,t){return t.emptyStr()?e:e.emptyStr()?t:sS`${e}${t}`}function d9(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:ba(Array.isArray(e)?e.join(","):e)}function m9(e){return new yr(ba(e))}function ba(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function h9(e){return typeof e=="string"&&Me.IDENTIFIER.test(e)?new yr(`.${e}`):oS`[${e}]`}function y9(e){if(typeof e=="string"&&Me.IDENTIFIER.test(e))return new yr(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}function g9(e){return new yr(e.toString())}});var cm=v(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.ValueScope=Zt.ValueScopeName=Zt.Scope=Zt.varKinds=Zt.UsedValueState=void 0;var Qt=va(),sm=class extends Error{constructor(t){super(`CodeGen: "code" for ${t} not defined`),this.value=t.value}},Ml;(function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"})(Ml||(Zt.UsedValueState=Ml={}));Zt.varKinds={const:new Qt.Name("const"),let:new Qt.Name("let"),var:new Qt.Name("var")};var Ll=class{constructor({prefixes:t,parent:r}={}){this._names={},this._prefixes=t,this._parent=r}toName(t){return t instanceof Qt.Name?t:this.name(t)}name(t){return new Qt.Name(this._newName(t))}_newName(t){let r=this._names[t]||this._nameGroup(t);return`${t}${r.index++}`}_nameGroup(t){var r,n;if(!((n=(r=this._parent)===null||r===void 0?void 0:r._prefixes)===null||n===void 0)&&n.has(t)||this._prefixes&&!this._prefixes.has(t))throw new Error(`CodeGen: prefix "${t}" is not allowed in this scope`);return this._names[t]={prefix:t,index:0}}};Zt.Scope=Ll;var Dl=class extends Qt.Name{constructor(t,r){super(r),this.prefix=t}setValue(t,{property:r,itemIndex:n}){this.value=t,this.scopePath=(0,Qt._)`.${new Qt.Name(r)}[${n}]`}};Zt.ValueScopeName=Dl;var b9=(0,Qt._)`\n`,am=class extends Ll{constructor(t){super(t),this._values={},this._scope=t.scope,this.opts={...t,_n:t.lines?b9:Qt.nil}}get(){return this._scope}name(t){return new Dl(t,this._newName(t))}value(t,r){var n;if(r.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let i=this.toName(t),{prefix:o}=i,s=(n=r.key)!==null&&n!==void 0?n:r.ref,a=this._values[o];if(a){let u=a.get(s);if(u)return u}else a=this._values[o]=new Map;a.set(s,i);let c=this._scope[o]||(this._scope[o]=[]),l=c.length;return c[l]=r.ref,i.setValue(r,{property:o,itemIndex:l}),i}getValue(t,r){let n=this._values[t];if(n)return n.get(r)}scopeRefs(t,r=this._values){return this._reduceValues(r,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Qt._)`${t}${n.scopePath}`})}scopeCode(t=this._values,r,n){return this._reduceValues(t,i=>{if(i.value===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return i.value.code},r,n)}_reduceValues(t,r,n={},i){let o=Qt.nil;for(let s in t){let a=t[s];if(!a)continue;let c=n[s]=n[s]||new Map;a.forEach(l=>{if(c.has(l))return;c.set(l,Ml.Started);let u=r(l);if(u){let p=this.opts.es5?Zt.varKinds.var:Zt.varKinds.const;o=(0,Qt._)`${o}${p} ${l} = ${u};${this.opts._n}`}else if(u=i==null?void 0:i(l))o=(0,Qt._)`${o}${u}${this.opts._n}`;else throw new sm(l);c.set(l,Ml.Completed)})}return o}};Zt.ValueScope=am});var ne=v(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});fe.CodeGen=fe.operators=fe.varKinds=fe.ValueScopeName=fe.ValueScope=fe.Scope=fe.Name=fe.regexpCode=fe.stringify=fe.getProperty=fe.nil=fe.strConcat=fe.str=fe._=void 0;fe.not=aS;fe.and=x9;fe.or=_9;var de=va(),Rr=cm(),Fn=va();Object.defineProperty(fe,"_",{enumerable:!0,get:function(){return Fn._}});Object.defineProperty(fe,"str",{enumerable:!0,get:function(){return Fn.str}});Object.defineProperty(fe,"strConcat",{enumerable:!0,get:function(){return Fn.strConcat}});Object.defineProperty(fe,"nil",{enumerable:!0,get:function(){return Fn.nil}});Object.defineProperty(fe,"getProperty",{enumerable:!0,get:function(){return Fn.getProperty}});Object.defineProperty(fe,"stringify",{enumerable:!0,get:function(){return Fn.stringify}});Object.defineProperty(fe,"regexpCode",{enumerable:!0,get:function(){return Fn.regexpCode}});Object.defineProperty(fe,"Name",{enumerable:!0,get:function(){return Fn.Name}});var Ul=cm();Object.defineProperty(fe,"Scope",{enumerable:!0,get:function(){return Ul.Scope}});Object.defineProperty(fe,"ValueScope",{enumerable:!0,get:function(){return Ul.ValueScope}});Object.defineProperty(fe,"ValueScopeName",{enumerable:!0,get:function(){return Ul.ValueScopeName}});Object.defineProperty(fe,"varKinds",{enumerable:!0,get:function(){return Ul.varKinds}});fe.operators={GT:new de._Code(">"),GTE:new de._Code(">="),LT:new de._Code("<"),LTE:new de._Code("<="),EQ:new de._Code("==="),NEQ:new de._Code("!=="),NOT:new de._Code("!"),OR:new de._Code("||"),AND:new de._Code("&&"),ADD:new de._Code("+")};var fn=class{optimizeNodes(){return this}optimizeNames(t,r){return this}},lm=class extends fn{constructor(t,r,n){super(),this.varKind=t,this.name=r,this.rhs=n}render({es5:t,_n:r}){let n=t?Rr.varKinds.var:this.varKind,i=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+r}optimizeNames(t,r){if(t[this.name.str])return this.rhs&&(this.rhs=Fo(this.rhs,t,r)),this}get names(){return this.rhs instanceof de._CodeOrName?this.rhs.names:{}}},Fl=class extends fn{constructor(t,r,n){super(),this.lhs=t,this.rhs=r,this.sideEffects=n}render({_n:t}){return`${this.lhs} = ${this.rhs};`+t}optimizeNames(t,r){if(!(this.lhs instanceof de.Name&&!t[this.lhs.str]&&!this.sideEffects))return this.rhs=Fo(this.rhs,t,r),this}get names(){let t=this.lhs instanceof de.Name?{}:{...this.lhs.names};return Vl(t,this.rhs)}},um=class extends Fl{constructor(t,r,n,i){super(t,n,i),this.op=r}render({_n:t}){return`${this.lhs} ${this.op}= ${this.rhs};`+t}},pm=class extends fn{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`${this.label}:`+t}},fm=class extends fn{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`break${this.label?` ${this.label}`:""};`+t}},dm=class extends fn{constructor(t){super(),this.error=t}render({_n:t}){return`throw ${this.error};`+t}get names(){return this.error.names}},mm=class extends fn{constructor(t){super(),this.code=t}render({_n:t}){return`${this.code};`+t}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(t,r){return this.code=Fo(this.code,t,r),this}get names(){return this.code instanceof de._CodeOrName?this.code.names:{}}},wa=class extends fn{constructor(t=[]){super(),this.nodes=t}render(t){return this.nodes.reduce((r,n)=>r+n.render(t),"")}optimizeNodes(){let{nodes:t}=this,r=t.length;for(;r--;){let n=t[r].optimizeNodes();Array.isArray(n)?t.splice(r,1,...n):n?t[r]=n:t.splice(r,1)}return t.length>0?this:void 0}optimizeNames(t,r){let{nodes:n}=this,i=n.length;for(;i--;){let o=n[i];o.optimizeNames(t,r)||(v9(t,o.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((t,r)=>Fi(t,r.names),{})}},dn=class extends wa{render(t){return"{"+t._n+super.render(t)+"}"+t._n}},hm=class extends wa{},Do=class extends dn{};Do.kind="else";var Li=class e extends dn{constructor(t,r){super(r),this.condition=t}render(t){let r=`if(${this.condition})`+super.render(t);return this.else&&(r+="else "+this.else.render(t)),r}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let r=this.else;if(r){let n=r.optimizeNodes();r=this.else=Array.isArray(n)?new Do(n):n}if(r)return t===!1?r instanceof e?r:r.nodes:this.nodes.length?this:new e(aS(t),r instanceof e?[r]:r.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,r){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(t,r),!!(super.optimizeNames(t,r)||this.else))return this.condition=Fo(this.condition,t,r),this}get names(){let t=super.names;return Vl(t,this.condition),this.else&&Fi(t,this.else.names),t}};Li.kind="if";var Di=class extends dn{};Di.kind="for";var ym=class extends Di{constructor(t){super(),this.iteration=t}render(t){return`for(${this.iteration})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iteration=Fo(this.iteration,t,r),this}get names(){return Fi(super.names,this.iteration.names)}},gm=class extends Di{constructor(t,r,n,i){super(),this.varKind=t,this.name=r,this.from=n,this.to=i}render(t){let r=t.es5?Rr.varKinds.var:this.varKind,{name:n,from:i,to:o}=this;return`for(${r} ${n}=${i}; ${n}<${o}; ${n}++)`+super.render(t)}get names(){let t=Vl(super.names,this.from);return Vl(t,this.to)}},Bl=class extends Di{constructor(t,r,n,i){super(),this.loop=t,this.varKind=r,this.name=n,this.iterable=i}render(t){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iterable=Fo(this.iterable,t,r),this}get names(){return Fi(super.names,this.iterable.names)}},xa=class extends dn{constructor(t,r,n){super(),this.name=t,this.args=r,this.async=n}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}};xa.kind="func";var Sa=class extends wa{render(t){return"return "+super.render(t)}};Sa.kind="return";var bm=class extends dn{render(t){let r="try"+super.render(t);return this.catch&&(r+=this.catch.render(t)),this.finally&&(r+=this.finally.render(t)),r}optimizeNodes(){var t,r;return super.optimizeNodes(),(t=this.catch)===null||t===void 0||t.optimizeNodes(),(r=this.finally)===null||r===void 0||r.optimizeNodes(),this}optimizeNames(t,r){var n,i;return super.optimizeNames(t,r),(n=this.catch)===null||n===void 0||n.optimizeNames(t,r),(i=this.finally)===null||i===void 0||i.optimizeNames(t,r),this}get names(){let t=super.names;return this.catch&&Fi(t,this.catch.names),this.finally&&Fi(t,this.finally.names),t}},_a=class extends dn{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}};_a.kind="catch";var Oa=class extends dn{render(t){return"finally"+super.render(t)}};Oa.kind="finally";var vm=class{constructor(t,r={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...r,_n:r.lines?`
2
2
  `:""},this._extScope=t,this._scope=new Rr.Scope({parent:t}),this._nodes=[new hm]}toString(){return this._root.render(this.opts)}name(t){return this._scope.name(t)}scopeName(t){return this._extScope.name(t)}scopeValue(t,r){let n=this._extScope.value(t,r);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(t,r){return this._extScope.getValue(t,r)}scopeRefs(t){return this._extScope.scopeRefs(t,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(t,r,n,i){let o=this._scope.toName(r);return n!==void 0&&i&&(this._constants[o.str]=n),this._leafNode(new lm(t,o,n)),o}const(t,r,n){return this._def(Rr.varKinds.const,t,r,n)}let(t,r,n){return this._def(Rr.varKinds.let,t,r,n)}var(t,r,n){return this._def(Rr.varKinds.var,t,r,n)}assign(t,r,n){return this._leafNode(new Fl(t,r,n))}add(t,r){return this._leafNode(new um(t,fe.operators.ADD,r))}code(t){return typeof t=="function"?t():t!==de.nil&&this._leafNode(new mm(t)),this}object(...t){let r=["{"];for(let[n,i]of t)r.length>1&&r.push(","),r.push(n),(n!==i||this.opts.es5)&&(r.push(":"),(0,de.addCodeArg)(r,i));return r.push("}"),new de._Code(r)}if(t,r,n){if(this._blockNode(new Li(t)),r&&n)this.code(r).else().code(n).endIf();else if(r)this.code(r).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(t){return this._elseNode(new Li(t))}else(){return this._elseNode(new Do)}endIf(){return this._endBlockNode(Li,Do)}_for(t,r){return this._blockNode(t),r&&this.code(r).endFor(),this}for(t,r){return this._for(new ym(t),r)}forRange(t,r,n,i,o=this.opts.es5?Rr.varKinds.var:Rr.varKinds.let){let s=this._scope.toName(t);return this._for(new gm(o,s,r,n),()=>i(s))}forOf(t,r,n,i=Rr.varKinds.const){let o=this._scope.toName(t);if(this.opts.es5){let s=r instanceof de.Name?r:this.var("_arr",r);return this.forRange("_i",0,(0,de._)`${s}.length`,a=>{this.var(o,(0,de._)`${s}[${a}]`),n(o)})}return this._for(new Bl("of",i,o,r),()=>n(o))}forIn(t,r,n,i=this.opts.es5?Rr.varKinds.var:Rr.varKinds.const){if(this.opts.ownProperties)return this.forOf(t,(0,de._)`Object.keys(${r})`,n);let o=this._scope.toName(t);return this._for(new Bl("in",i,o,r),()=>n(o))}endFor(){return this._endBlockNode(Di)}label(t){return this._leafNode(new pm(t))}break(t){return this._leafNode(new fm(t))}return(t){let r=new Sa;if(this._blockNode(r),this.code(t),r.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Sa)}try(t,r,n){if(!r&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let i=new bm;if(this._blockNode(i),this.code(t),r){let o=this.name("e");this._currNode=i.catch=new _a(o),r(o)}return n&&(this._currNode=i.finally=new Oa,this.code(n)),this._endBlockNode(_a,Oa)}throw(t){return this._leafNode(new dm(t))}block(t,r){return this._blockStarts.push(this._nodes.length),t&&this.code(t).endBlock(r),this}endBlock(t){let r=this._blockStarts.pop();if(r===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-r;if(n<0||t!==void 0&&n!==t)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${t} expected`);return this._nodes.length=r,this}func(t,r=de.nil,n,i){return this._blockNode(new xa(t,r,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(xa)}optimize(t=1){for(;t-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(t){return this._currNode.nodes.push(t),this}_blockNode(t){this._currNode.nodes.push(t),this._nodes.push(t)}_endBlockNode(t,r){let n=this._currNode;if(n instanceof t||r&&n instanceof r)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${r?`${t.kind}/${r.kind}`:t.kind}"`)}_elseNode(t){let r=this._currNode;if(!(r instanceof Li))throw new Error('CodeGen: "else" without "if"');return this._currNode=r.else=t,this}get _root(){return this._nodes[0]}get _currNode(){let t=this._nodes;return t[t.length-1]}set _currNode(t){let r=this._nodes;r[r.length-1]=t}};fe.CodeGen=vm;function Fi(e,t){for(let r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function Vl(e,t){return t instanceof de._CodeOrName?Fi(e,t.names):e}function Fo(e,t,r){if(e instanceof de.Name)return n(e);if(!i(e))return e;return new de._Code(e._items.reduce((o,s)=>(s instanceof de.Name&&(s=n(s)),s instanceof de._Code?o.push(...s._items):o.push(s),o),[]));function n(o){let s=r[o.str];return s===void 0||t[o.str]!==1?o:(delete t[o.str],s)}function i(o){return o instanceof de._Code&&o._items.some(s=>s instanceof de.Name&&t[s.str]===1&&r[s.str]!==void 0)}}function v9(e,t){for(let r in t)e[r]=(e[r]||0)-(t[r]||0)}function aS(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,de._)`!${wm(e)}`}var w9=cS(fe.operators.AND);function x9(...e){return e.reduce(w9)}var S9=cS(fe.operators.OR);function _9(...e){return e.reduce(S9)}function cS(e){return(t,r)=>t===de.nil?r:r===de.nil?t:(0,de._)`${wm(t)} ${e} ${wm(r)}`}function wm(e){return e instanceof de.Name?e:(0,de._)`(${e})`}});var pe=v(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.Type=ze.mergeEvaluated=void 0;ze.toHash=P9;ze.alwaysValidSchema=$9;ze.checkUnknownRules=pS;ze.schemaHasRules=fS;ze.schemaHasRulesButRef=E9;ze.schemaRefOrVal=A9;ze.unescapeFragment=C9;ze.escapeFragment=R9;ze.escapeJsonPointer=Sm;ze.unescapeJsonPointer=dS;ze.eachItem=T9;ze.evaluatedPropsToName=mS;ze.setEvaluated=_m;ze.useFunc=N9;ze.getErrorPath=k9;ze.checkStrictMode=hS;var Ae=ne(),O9=va();function P9(e){let t={};for(let r of e)t[r]=!0;return t}function $9(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(pS(e,t),!fS(t,e.self.RULES.all))}function pS(e,t=e.schema){let{opts:r,self:n}=e;if(!r.strictSchema||typeof t=="boolean")return;let i=n.RULES.keywords;for(let o in t)i[o]||hS(e,`unknown keyword: "${o}"`)}function fS(e,t){if(typeof e=="boolean")return!e;for(let r in e)if(t[r])return!0;return!1}function E9(e,t){if(typeof e=="boolean")return!e;for(let r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}function A9({topSchemaRef:e,schemaPath:t},r,n,i){if(!i){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,Ae._)`${r}`}return(0,Ae._)`${e}${t}${(0,Ae.getProperty)(n)}`}function C9(e){return dS(decodeURIComponent(e))}function R9(e){return encodeURIComponent(Sm(e))}function Sm(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function dS(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function T9(e,t){if(Array.isArray(e))for(let r of e)t(r);else t(e)}function lS({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(i,o,s,a)=>{let c=s===void 0?o:s instanceof Ae.Name?(o instanceof Ae.Name?e(i,o,s):t(i,o,s),s):o instanceof Ae.Name?(t(i,s,o),o):r(o,s);return a===Ae.Name&&!(c instanceof Ae.Name)?n(i,c):c}}ze.mergeEvaluated={props:lS({mergeNames:(e,t,r)=>e.if((0,Ae._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,Ae._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,Ae._)`${r} || {}`).code((0,Ae._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,Ae._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,Ae._)`${r} || {}`),_m(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:mS}),items:lS({mergeNames:(e,t,r)=>e.if((0,Ae._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,Ae._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,Ae._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,Ae._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function mS(e,t){if(t===!0)return e.var("props",!0);let r=e.var("props",(0,Ae._)`{}`);return t!==void 0&&_m(e,r,t),r}function _m(e,t,r){Object.keys(r).forEach(n=>e.assign((0,Ae._)`${t}${(0,Ae.getProperty)(n)}`,!0))}var uS={};function N9(e,t){return e.scopeValue("func",{ref:t,code:uS[t.code]||(uS[t.code]=new O9._Code(t.code))})}var xm;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(xm||(ze.Type=xm={}));function k9(e,t,r){if(e instanceof Ae.Name){let n=t===xm.Num;return r?n?(0,Ae._)`"[" + ${e} + "]"`:(0,Ae._)`"['" + ${e} + "']"`:n?(0,Ae._)`"/" + ${e}`:(0,Ae._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,Ae.getProperty)(e).toString():"/"+Sm(e)}function hS(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}});var gr=v(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});var mt=ne(),I9={data:new mt.Name("data"),valCxt:new mt.Name("valCxt"),instancePath:new mt.Name("instancePath"),parentData:new mt.Name("parentData"),parentDataProperty:new mt.Name("parentDataProperty"),rootData:new mt.Name("rootData"),dynamicAnchors:new mt.Name("dynamicAnchors"),isAllOfVariant:new mt.Name("isAllOfVariant"),vErrors:new mt.Name("vErrors"),errors:new mt.Name("errors"),this:new mt.Name("this"),self:new mt.Name("self"),scope:new mt.Name("scope"),json:new mt.Name("json"),jsonPos:new mt.Name("jsonPos"),jsonLen:new mt.Name("jsonLen"),jsonPart:new mt.Name("jsonPart")};Om.default=I9});var Pa=v(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.keyword$DataError=br.keywordError=void 0;br.reportError=q9;br.reportExtraError=j9;br.resetErrorsCount=M9;br.extendErrors=L9;var ge=ne(),zl=pe(),Lt=gr();br.keywordError={message:({keyword:e})=>(0,ge.str)`must pass "${e}" keyword validation`};br.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,ge.str)`"${e}" keyword must be ${t} ($data)`:(0,ge.str)`"${e}" keyword is invalid ($data)`};function q9(e,t=br.keywordError,r,n){let{it:i}=e,{gen:o,compositeRule:s,allErrors:a}=i,c=bS(e,t,r);(n!=null?n:s||a)?yS(o,c):gS(i,(0,ge._)`[${c}]`)}function j9(e,t=br.keywordError,r){let{it:n}=e,{gen:i,compositeRule:o,allErrors:s}=n,a=bS(e,t,r);yS(i,a),o||s||gS(n,Lt.default.vErrors)}function M9(e,t){e.assign(Lt.default.errors,t),e.if((0,ge._)`${Lt.default.vErrors} !== null`,()=>e.if(t,()=>e.assign((0,ge._)`${Lt.default.vErrors}.length`,t),()=>e.assign(Lt.default.vErrors,null)))}function L9({gen:e,keyword:t,schemaValue:r,data:n,errsCount:i,it:o}){if(i===void 0)throw new Error("ajv implementation error");let s=e.name("err");e.forRange("i",i,Lt.default.errors,a=>{e.const(s,(0,ge._)`${Lt.default.vErrors}[${a}]`),e.if((0,ge._)`${s}.instancePath === undefined`,()=>e.assign((0,ge._)`${s}.instancePath`,(0,ge.strConcat)(Lt.default.instancePath,o.errorPath))),e.assign((0,ge._)`${s}.schemaPath`,(0,ge.str)`${o.errSchemaPath}/${t}`),o.opts.verbose&&(e.assign((0,ge._)`${s}.schema`,r),e.assign((0,ge._)`${s}.data`,n))})}function yS(e,t){let r=e.const("err",t);e.if((0,ge._)`${Lt.default.vErrors} === null`,()=>e.assign(Lt.default.vErrors,(0,ge._)`[${r}]`),(0,ge._)`${Lt.default.vErrors}.push(${r})`),e.code((0,ge._)`${Lt.default.errors}++`)}function gS(e,t){let{gen:r,validateName:n,schemaEnv:i}=e;i.$async?r.throw((0,ge._)`new ${e.ValidationError}(${t})`):(r.assign((0,ge._)`${n}.errors`,t),r.return(!1))}var Bi={keyword:new ge.Name("keyword"),schemaPath:new ge.Name("schemaPath"),params:new ge.Name("params"),propertyName:new ge.Name("propertyName"),message:new ge.Name("message"),schema:new ge.Name("schema"),parentSchema:new ge.Name("parentSchema")};function bS(e,t,r){let{createErrors:n}=e.it;return n===!1?(0,ge._)`{}`:D9(e,t,r)}function D9(e,t,r={}){let{gen:n,it:i}=e,o=[F9(i,r),B9(e,r)];return V9(e,t,o),n.object(...o)}function F9({errorPath:e},{instancePath:t}){let r=t?(0,ge.str)`${e}${(0,zl.getErrorPath)(t,zl.Type.Str)}`:e;return[Lt.default.instancePath,(0,ge.strConcat)(Lt.default.instancePath,r)]}function B9({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:n}){let i=n?t:(0,ge.str)`${t}/${e}`;return r&&(i=(0,ge.str)`${i}${(0,zl.getErrorPath)(r,zl.Type.Str)}`),[Bi.schemaPath,i]}function V9(e,{params:t,message:r},n){let{keyword:i,data:o,schemaValue:s,it:a}=e,{opts:c,propertyName:l,topSchemaRef:u,schemaPath:p}=a;n.push([Bi.keyword,i],[Bi.params,typeof t=="function"?t(e):t||(0,ge._)`{}`]),c.messages&&n.push([Bi.message,typeof r=="function"?r(e):r]),c.verbose&&n.push([Bi.schema,s],[Bi.parentSchema,(0,ge._)`${u}${p}`],[Lt.default.data,o]),l&&n.push([Bi.propertyName,l])}});var wS=v(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.topBoolOrEmptySchema=W9;Hl.boolOrEmptySchema=Y9;var U9=Pa(),z9=ne(),H9=gr(),K9={message:"boolean schema is false"};function W9(e){let{gen:t,schema:r,validateName:n}=e;r===!1?vS(e,!1):typeof r=="object"&&r.$async===!0?t.return(H9.default.data):(t.assign((0,z9._)`${n}.errors`,null),t.return(!0))}function Y9(e,t){let{gen:r,schema:n}=e;n===!1?(r.var(t,!1),vS(e)):r.var(t,!0)}function vS(e,t){let{gen:r,data:n}=e,i={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,U9.reportError)(i,K9,void 0,t)}});var Pm=v(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.isJSONType=X9;Kl.getRules=Q9;var G9=["string","number","integer","boolean","null","object","array"],J9=new Set(G9);function X9(e){return typeof e=="string"&&J9.has(e)}function Q9(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}});var $m=v($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.schemaHasRulesForType=Z9;$a.shouldUseGroup=xS;$a.shouldUseRule=SS;function Z9({schema:e,self:t},r){let n=t.RULES.types[r];return n&&n!==!0&&xS(e,n)}function xS(e,t){return t.rules.some(r=>SS(e,r))}function SS(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(n=>e[n]!==void 0))}});var Ea=v(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.DataType=void 0;Wr.getSchemaTypes=nL;Wr.getJSONTypes=OS;Wr.coerceAndCheckDataType=iL;Wr.checkDataType=Em;Wr.checkDataTypes=Am;Wr.reportTypeError=Cm;var eL=Pm(),tL=$m(),rL=Pa(),oe=ne(),_S=pe(),Bo;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(Bo||(Wr.DataType=Bo={}));function nL(e){let t=OS(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}function OS(e){let t=Array.isArray(e)?e:e?[e]:[];if(t.every(eL.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}function iL(e,t){let{gen:r,data:n,opts:i}=e,o=oL(t,i.coerceTypes),s=t.length>0&&!(o.length===0&&t.length===1&&(0,tL.schemaHasRulesForType)(e,t[0]));if(s){let a=Am(t,n,i.strictNumbers,Bo.Wrong);r.if(a,()=>{o.length?sL(e,t,o):Cm(e)})}return s}var PS=new Set(["string","number","integer","boolean","null"]);function oL(e,t){return t?e.filter(r=>PS.has(r)||t==="array"&&r==="array"):[]}function sL(e,t,r){let{gen:n,data:i,opts:o}=e,s=n.let("dataType",(0,oe._)`typeof ${i}`),a=n.let("coerced",(0,oe._)`undefined`);o.coerceTypes==="array"&&n.if((0,oe._)`${s} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,oe._)`${i}[0]`).assign(s,(0,oe._)`typeof ${i}`).if(Am(t,i,o.strictNumbers),()=>n.assign(a,i))),n.if((0,oe._)`${a} !== undefined`);for(let l of r)(PS.has(l)||l==="array"&&o.coerceTypes==="array")&&c(l);n.else(),Cm(e),n.endIf(),n.if((0,oe._)`${a} !== undefined`,()=>{n.assign(i,a),aL(e,a)});function c(l){switch(l){case"string":n.elseIf((0,oe._)`${s} == "number" || ${s} == "boolean"`).assign(a,(0,oe._)`"" + ${i}`).elseIf((0,oe._)`${i} === null`).assign(a,(0,oe._)`""`);return;case"number":n.elseIf((0,oe._)`${s} == "boolean" || ${i} === null
3
3
  || (${s} == "string" && ${i} && ${i} == +${i})`).assign(a,(0,oe._)`+${i}`);return;case"integer":n.elseIf((0,oe._)`${s} === "boolean" || ${i} === null
4
4
  || (${s} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(a,(0,oe._)`+${i}`);return;case"boolean":n.elseIf((0,oe._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(a,!1).elseIf((0,oe._)`${i} === "true" || ${i} === 1`).assign(a,!0);return;case"null":n.elseIf((0,oe._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(a,null);return;case"array":n.elseIf((0,oe._)`${s} === "string" || ${s} === "number"
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@redocly/mock-server",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Redocly Mock server",
5
5
  "author": "team@redocly.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "dist/bin.js",
8
8
  "dependencies": {
9
9
  "@redocly/ajv": "8.11.3",
10
- "@redocly/openapi-core": "2.0.7",
10
+ "@redocly/openapi-core": "2.1.0",
11
11
  "ajv": "8.17.1",
12
12
  "ajv-formats": "^2.1.1",
13
13
  "js-yaml": "4.1.0",