@redocly/reference-docs 2.12.3 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli/commands/redocly-docs-cli.min.js +6 -3
- package/bin/cli/commands/redocly-docs-cli.min.js.LICENSE.txt +1 -1
- package/dist/console.redocly-reference-docs.min.js +1 -1
- package/dist/oauth2-redirect.js +1 -1
- package/dist/redocly-reference-docs.min.js +9 -6
- package/lib/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.js +1 -1
- package/lib/redoc-lib/src/services/RedocNormalizedOptions.d.ts +2 -0
- package/lib/redoc-lib/src/services/RedocNormalizedOptions.js +1 -1
- package/lib/redoc-lib/src/theme.d.ts +4 -0
- package/lib/redoc-lib/src/theme.js +1 -1
- package/lib-esm/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.js +1 -1
- package/lib-esm/redoc-lib/src/services/RedocNormalizedOptions.d.ts +2 -0
- package/lib-esm/redoc-lib/src/services/RedocNormalizedOptions.js +1 -1
- package/lib-esm/redoc-lib/src/theme.d.ts +4 -0
- package/lib-esm/redoc-lib/src/theme.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var wc=Object.defineProperty,Ec=Object.defineProperties;var Pc=Object.getOwnProp
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.12.
|
|
5
|
+
* Version: "2.12.4"
|
|
6
6
|
*/(function(Pi,Ci){typeof exports=="object"&&typeof module=="object"?module.exports=Ci(require("null")):typeof define=="function"&&define.amd?define(["null"],Ci):typeof exports=="object"?exports.RedoclyReferenceDocs=Ci(require("null")):Pi.RedoclyReferenceDocs=Ci(Pi.null)})(this,function(Eo){return(()=>{var Pi={43675:function(L,c,t){"use strict";var s=this&&this.__awaiter||function(j,F,b,H){function E(q){return q instanceof b?q:new b(function(ce){ce(q)})}return new(b||(b=Promise))(function(q,ce){function te(Se){try{He(H.next(Se))}catch(ie){ce(ie)}}function Le(Se){try{He(H.throw(Se))}catch(ie){ce(ie)}}function He(Se){Se.done?q(Se.value):E(Se.value).then(te,Le)}He((H=H.apply(j,F||[])).next())})};Object.defineProperty(c,"__esModule",{value:!0}),c.mapTypeToComponent=c.bundleDocument=c.bundle=c.OasVersion=void 0;const n=t(72307),o=t(44182),i=t(68065),a=t(85241),p=t(80388),u=t(22608),l=t(45220),d=t(69443),h=t(71510),m=t(27468),y=t(75030),x=t(20348),g=t(10771),M=t(81094),A=t(54508),_=t(16350);var R;(function(j){j.Version2="oas2",j.Version3_0="oas3_0",j.Version3_1="oas3_1"})(R=c.OasVersion||(c.OasVersion={}));function I(j){return s(this,void 0,void 0,function*(){const{ref:F,doc:b,externalRefResolver:H=new o.BaseResolver(j.config.resolve),base:E=null}=j;if(!(F||b))throw new Error(`Document or reference is required.
|
|
7
7
|
`);const q=b!==void 0?b:yield H.resolveDocument(E,F,!0);if(q instanceof Error)throw q;return S(Object.assign(Object.assign({document:q},j),{config:j.config.lint,externalRefResolver:H}))})}c.bundle=I;function S(j){return s(this,void 0,void 0,function*(){const{document:F,config:b,customTypes:H,externalRefResolver:E,dereference:q=!1,skipRedoclyRegistryRefs:ce=!1,removeUnusedComponents:te=!1}=j,Le=h.detectOpenAPI(F.parsed),He=h.openAPIMajor(Le),Se=b.getRulesForOasVersion(He),ie=l.normalizeTypes(b.extendTypes((H!=null?H:He===h.OasMajorVersion.Version3)?Le===R.Version3_1?u.Oas3_1Types:a.Oas3Types:p.Oas2Types,Le),b),le=y.initRules(Se,b,"preprocessors",Le),Z=y.initRules(Se,b,"decorators",Le),X={problems:[],oasVersion:Le,refTypes:new Map,visitorsData:{}};te&&Z.push({severity:"error",ruleId:"remove-unused-components",visitor:He===h.OasMajorVersion.Version2?A.RemoveUnusedComponents({}):_.RemoveUnusedComponents({})});const ne=yield o.resolveDocument({rootDocument:F,rootType:ie.DefinitionRoot,externalRefResolver:E}),De=i.normalizeVisitors([...le,{severity:"error",ruleId:"bundler",visitor:B(He,q,ce,F,ne)},...Z],ie);return d.walkDocument({document:F,rootType:ie.DefinitionRoot,normalizedVisitors:De,resolvedRefMap:ne,ctx:X}),{bundle:F,problems:X.problems.map(_e=>b.addProblemToIgnore(_e)),fileDependencies:E.getFiles(),rootType:ie.DefinitionRoot,refTypes:X.refTypes,visitorsData:X.visitorsData}})}c.bundleDocument=S;function w(j,F){switch(F){case h.OasMajorVersion.Version3:switch(j){case"Schema":return"schemas";case"Parameter":return"parameters";case"Response":return"responses";case"Example":return"examples";case"RequestBody":return"requestBodies";case"Header":return"headers";case"SecuritySchema":return"securitySchemes";case"Link":return"links";case"Callback":return"callbacks";default:return null}case h.OasMajorVersion.Version2:switch(j){case"Schema":return"definitions";case"Parameter":return"parameters";case"Response":return"responses";default:return null}}}c.mapTypeToComponent=w;function B(j,F,b,H,E){let q;const ce={ref:{leave(le,Z,X){if(!X.location||X.node===void 0){x.reportUnresolvedRef(X,Z.report,Z.location);return}if(X.location.source===H.source&&X.location.source===Z.location.source&&Z.type.name!=="scalar"&&!F||b&&M.isRedoclyRegistryURL(le.$ref))return;const ne=w(Z.type.name,j);ne?F?(He(ne,X,Z),Le(le,X,Z)):(le.$ref=He(ne,X,Z),te(le,X,Z)):Le(le,X,Z)}},DefinitionRoot:{enter(le){j===h.OasMajorVersion.Version3?q=le.components=le.components||{}:j===h.OasMajorVersion.Version2&&(q=le)}}};j===h.OasMajorVersion.Version3&&(ce.DiscriminatorMapping={leave(le,Z){for(const X of Object.keys(le)){const ne=le[X],De=Z.resolve({$ref:ne});if(!De.location||De.node===void 0){x.reportUnresolvedRef(De,Z.report,Z.location.child(X));return}const _e=w("Schema",j);F?He(_e,De,Z):le[X]=He(_e,De,Z)}}});function te(le,Z,X){const ne=o.makeRefId(X.location.source.absoluteRef,le.$ref);E.set(ne,{document:H,isRemote:!1,node:Z.node,nodePointer:le.$ref,resolved:!0})}function Le(le,Z,X){g.isPlainObject(Z.node)?(delete le.$ref,Object.assign(le,Z.node)):X.parent[X.key]=Z.node}function He(le,Z,X){q[le]=q[le]||{};const ne=ie(Z,le,X);return q[le][ne]=Z.node,j===h.OasMajorVersion.Version3?`#/components/${le}/${ne}`:`#/${le}/${ne}`}function Se(le,Z,X){var ne;return m.isRef(le)&&((ne=X.resolve(le).location)===null||ne===void 0?void 0:ne.absolutePointer)===Z.location.absolutePointer?!0:n(le,Z.node)}function ie(le,Z,X){const[ne,De]=[le.location.source.absoluteRef,le.location.pointer],_e=q[Z];let he="";const Re=De.slice(2).split("/").filter(Boolean);for(;Re.length>0;)if(he=Re.pop()+(he?`-${he}`:""),!_e||!_e[he]||Se(_e[he],le,X))return he;if(he=m.refBaseName(ne)+(he?`_${he}`:""),!_e[he]||Se(_e[he],le,X))return he;const ze=he;let et=2;for(;_e[he]&&!Se(_e[he],le,X);)he=`${ze}-${et}`,et++;return _e[he]||X.report({message:`Two schemas are referenced with the same name but different content. Renamed ${ze} to ${he}.`,location:X.location,forceSeverity:"warn"}),he}return ce}},76877:(L,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default={rules:{"info-description":"error","info-contact":"error","info-license":"error","info-license-url":"error","tag-description":"error","tags-alphabetical":"error","parameter-description":"error","no-identical-paths":"error","no-ambiguous-paths":"error","no-path-trailing-slash":"error","path-segment-plural":"error","path-declaration-must-exist":"error","path-not-include-query":"error","path-parameters-defined":"error","operation-description":"error","operation-2xx-response":"error","operation-4xx-response":"error","operation-operationId":"error","operation-summary":"error","operation-operationId-unique":"error","operation-operationId-url-safe":"error","operation-parameters-unique":"error","operation-tag-defined":"error","operation-security-defined":"error","operation-singular-tag":"error","no-unresolved-refs":"error","no-enum-type-mismatch":"error","boolean-parameter-prefixes":"error","paths-kebab-case":"error","no-http-verbs-in-paths":"error","path-excludes-patterns":{severity:"error",patterns:[]},"request-mime-type":"error",spec:"error","no-invalid-schema-examples":"error","no-invalid-parameter-examples":"error"},oas3_0Rules:{"no-invalid-media-type-examples":"error","no-server-example.com":"error","no-server-trailing-slash":"error","no-empty-servers":"error","no-example-value-and-externalValue":"error","no-unused-components":"error","no-undefined-server-variable":"error","no-servers-empty-enum":"error"},oas3_1Rules:{"no-server-example.com":"error","no-server-trailing-slash":"error","no-empty-servers":"error","no-example-value-and-externalValue":"error","no-unused-components":"error","no-undefined-server-variable":"error","no-servers-empty-enum":"error"}}},76242:(L,c,t)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.defaultPlugin=c.builtInConfigs=void 0;const s=t(88057),n=t(76877),o=t(59016),i=t(10226),a=t(57523),p=t(10226),u=t(57523),l=t(1753),d=t(77060);c.builtInConfigs={recommended:s.default,minimal:o.default,all:n.default,"redocly-registry":{decorators:{"registry-dependencies":"on"}}},c.defaultPlugin={id:"",rules:{oas3:i.rules,oas2:a.rules},preprocessors:{oas3:p.preprocessors,oas2:u.preprocessors},decorators:{oas3:l.decorators,oas2:d.decorators},configs:c.builtInConfigs}},63777:(L,c,t)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.Config=c.LintConfig=c.DOMAINS=c.DEFAULT_REGION=c.IGNORE_FILE=void 0;const s=t(15101),n=t(26470),o=t(26470),i=t(9485),a=t(55273),p=t(10771),u=t(71510),l=t(88057);c.IGNORE_FILE=".redocly.lint-ignore.yaml";const d=`# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
|
|
8
8
|
# See https://redoc.ly/docs/cli/ for more information.
|
|
@@ -2393,7 +2393,7 @@ Repeats of \`in:${o.in}\` + \`name:${o.name}\`.`,location:p.PathItem.child(["par
|
|
|
2393
2393
|
`,wu=i.ZP.div`
|
|
2394
2394
|
outline: none;
|
|
2395
2395
|
user-select: none;
|
|
2396
|
-
background-color:
|
|
2396
|
+
background-color: ${({theme:O})=>O.fab.backgroundColor};
|
|
2397
2397
|
cursor: pointer;
|
|
2398
2398
|
position: fixed;
|
|
2399
2399
|
right: 20px;
|
|
@@ -2404,13 +2404,16 @@ Repeats of \`in:${o.in}\` + \`name:${o.name}\`.`,location:p.PathItem.child(["par
|
|
|
2404
2404
|
width: 60px;
|
|
2405
2405
|
height: 60px;
|
|
2406
2406
|
padding: 0 20px;
|
|
2407
|
+
svg {
|
|
2408
|
+
color: ${({theme:O})=>O.fab.color};
|
|
2409
|
+
}
|
|
2407
2410
|
${({theme:O})=>i.iv`
|
|
2408
2411
|
${(0,i.QG)({color:O.colors.primary.main,display:{[i.QU]:"flex",small:"none"}})}
|
|
2409
2412
|
${O.mediaQueries.print} {
|
|
2410
2413
|
display: none;
|
|
2411
2414
|
}
|
|
2412
2415
|
`}
|
|
2413
|
-
`;let sl=class extends n.Component{constructor(){super(...arguments);sa(this,"state",{offsetTop:"0px"}),sa(this,"stickyElement"),sa(this,"toggleNavMenu",()=>{this.props.menu.toggleSidebar()})}componentDidMount(){Da&&Da.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Da&&Da.remove(this.stickyElement)}getScrollYOffset(O){let C;return this.props.scrollYOffset!==void 0?C=tu.V.normalizeScrollYOffset(this.props.scrollYOffset)():C=O.scrollYOffset(),C+"px"}render(){const O=this.props.menu.sideBarOpened,C=this.state.offsetTop;return n.createElement(n.Fragment,null,n.createElement(La,{open:O,className:this.props.className,style:{top:C,height:`calc(100vh - ${C})`},ref:z=>{this.stickyElement=z}},this.props.children),n.createElement(wu,{onClick:this.toggleNavMenu},n.createElement(nu,{open:O})))}};sa(sl,"contextType",g.jI),sl=ou([s.Pi],sl);var El=Object.defineProperty,Pl=(O,C,z)=>C in O?El(O,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):O[C]=z,Eu=(O,C,z)=>(Pl(O,typeof C!="symbol"?C+"":C,z),z);class al extends n.PureComponent{constructor(){super(...arguments);Eu(this,"_mediaModel")}static getMediaType(C,z){if(!C)return{};const ge={schema:{$ref:C}};return z&&(ge.examples={example:{$ref:z}}),ge}get mediaModel(){const{parser:C,schemaRef:z,exampleRef:ge,options:We}=this.props;return this._mediaModel||(this._mediaModel=new m.MediaTypeModel(C,"json",!1,al.getMediaType(z,ge),We)),this._mediaModel}render(){const{showReadOnly:C=!0,showWriteOnly:z=!1,layout:ge,showRightPanel:We}=this.props;return n.createElement(o.$0,null,n.createElement(o.X2,{layout:ge},n.createElement(o.yX,{isStacked:ge===Q.N.STACKED},n.createElement(P.i6,null,n.createElement(Rn,{skipWriteOnly:!z,skipReadOnly:!C,schema:this.mediaModel.schema}))),We?n.createElement(o.QN,null,n.createElement(P.s$,null,n.createElement(eo,{mediaType:this.mediaModel}))):null))}}},89642:(L,c,t)=>{"use strict";t.d(c,{ApiInfo:()=>s.RJ,ApiLogo:()=>s.vp,ContentItems:()=>s.Xn,DropdownOrLabel:()=>s.Cv,DropdownWrapper:()=>s.Z_,ErrorBoundary:()=>s.SV,JsonViewer:()=>s.he,Loading:()=>s.gb,Markdown:()=>s.UG,MediaTypesSwitch:()=>s.d4,MenuItem:()=>s.sN,MenuItemLabel:()=>s.i_,MenuItemPath:()=>s.E7,OptionsContext:()=>s.jI,OptionsProvider:()=>s.fM,PayloadSamples:()=>s.UY,ResponseDetails:()=>s.Tj,SchemaDefinition:()=>s.vG,SecurityDefs:()=>s.Bv,SideMenu:()=>s.fv,SourceCodeWithFile:()=>s.sp,SourceCodeWithText:()=>s.OB,StickyResponsiveSidebar:()=>s.up,StoreContext:()=>s.xf,StoreProvider:()=>s.g3,yX:()=>n.yX,X2:()=>n.X2,QN:()=>n.QN,xF:()=>n.xF,mB:()=>n.mB,aM:()=>n.aM,u:()=>n.u,GROUP_DEPTH:()=>o.GROUP_DEPTH,MarkerService:()=>o.MarkerService,RedocNormalizedOptions:()=>o.RedocNormalizedOptions,ResponseModel:()=>o.ResponseModel,ScrollService:()=>o.ScrollService,SearchStore:()=>o.Z,SpecStore:()=>o.SpecStore,argValueToBoolean:()=>o.argValueToBoolean,IS_BROWSER:()=>i.Qg,JsonPointer:()=>i.IB,SCHEMA_DEFINITION_JSX_NAME:()=>i.Ml,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>i.B5,SECURITY_DEFINITIONS_JSX_NAME:()=>i.c7,SECURITY_SCHEMES_SECTION_PREFIX:()=>i.m$,createParsedDocument:()=>i.I2,flattenByProp:()=>i.PD,isOperationName:()=>i.eU,langFromMime:()=>i.M,loadAndBundleDefinition:()=>i.q2,querySelector:()=>i.R2,serializeParameterValue:()=>i.d$,ThemeProvider:()=>a.f6,ZERO_BREAKPOINT:()=>a.QU,createGlobalStyle:()=>a.vJ,css:()=>a.iv,mediaCSS:()=>a.QG,mediaMap:()=>a.gN,zo:()=>a.ZP});var s=t(94834),n=t(43398),o=t(99303);t.o(o,"IS_BROWSER")&&t.d(c,{IS_BROWSER:function(){return o.IS_BROWSER}}),t.o(o,"JsonPointer")&&t.d(c,{JsonPointer:function(){return o.JsonPointer}}),t.o(o,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(c,{SCHEMA_DEFINITION_JSX_NAME:function(){return o.SCHEMA_DEFINITION_JSX_NAME}}),t.o(o,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(c,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return o.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(o,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(c,{SECURITY_DEFINITIONS_JSX_NAME:function(){return o.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(o,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(c,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return o.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(o,"ThemeProvider")&&t.d(c,{ThemeProvider:function(){return o.ThemeProvider}}),t.o(o,"ZERO_BREAKPOINT")&&t.d(c,{ZERO_BREAKPOINT:function(){return o.ZERO_BREAKPOINT}}),t.o(o,"createGlobalStyle")&&t.d(c,{createGlobalStyle:function(){return o.createGlobalStyle}}),t.o(o,"createParsedDocument")&&t.d(c,{createParsedDocument:function(){return o.createParsedDocument}}),t.o(o,"css")&&t.d(c,{css:function(){return o.css}}),t.o(o,"flattenByProp")&&t.d(c,{flattenByProp:function(){return o.flattenByProp}}),t.o(o,"isOperationName")&&t.d(c,{isOperationName:function(){return o.isOperationName}}),t.o(o,"langFromMime")&&t.d(c,{langFromMime:function(){return o.langFromMime}}),t.o(o,"loadAndBundleDefinition")&&t.d(c,{loadAndBundleDefinition:function(){return o.loadAndBundleDefinition}}),t.o(o,"mediaCSS")&&t.d(c,{mediaCSS:function(){return o.mediaCSS}}),t.o(o,"mediaMap")&&t.d(c,{mediaMap:function(){return o.mediaMap}}),t.o(o,"querySelector")&&t.d(c,{querySelector:function(){return o.querySelector}}),t.o(o,"serializeParameterValue")&&t.d(c,{serializeParameterValue:function(){return o.serializeParameterValue}});var i=t(36038),a=t(23485)},23424:(L,c,t)=>{"use strict";t.d(c,{Y:()=>n});const s=typeof document!="undefined"&&document.queryCommandSupported&&document.queryCommandSupported("copy");class n{static isSupported(){return s}static selectElement(i){let a,p;document.body.createTextRange?(a=document.body.createTextRange(),a.moveToElementText(i),a.select()):document.createRange&&window.getSelection&&(p=window.getSelection(),a=document.createRange(),a.selectNodeContents(i),p.removeAllRanges(),p.addRange(a))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const i=window.getSelection();i&&i.removeAllRanges()}}static copySelected(){let i;try{i=document.execCommand("copy")}catch(a){i=!1}return i}static copyElement(i){n.selectElement(i);const a=n.copySelected();return a&&n.deselect(),a}static copyCustom(i){const a=document.createElement("textarea");a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.width="2em",a.style.height="2em",a.style.padding="0",a.style.border="none",a.style.outline="none",a.style.boxShadow="none",a.style.background="transparent",a.value=i,document.body.appendChild(a),a.select();const p=n.copySelected();return document.body.removeChild(a),p}}},94487:(L,c,t)=>{"use strict";t.d(c,{m:()=>x});var s=t(11851),n=t.n(s),o=t(26729),i=t.n(o),a=t(36038),p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=(g,M,A)=>M in g?p(g,M,{enumerable:!0,configurable:!0,writable:!0,value:A}):g[M]=A,d=(g,M,A,_)=>{for(var R=_>1?void 0:_?u(M,A):M,I=g.length-1,S;I>=0;I--)(S=g[I])&&(R=(_?S(M,A,R):S(R))||R);return _&&R&&p(M,A,R),R},h=(g,M,A)=>(l(g,typeof M!="symbol"?M+"":M,A),A);const m="hashchange";class y{constructor(){h(this,"_emiter"),h(this,"basePath"),h(this,"emit",()=>{this._emiter.emit(m,this.currentId)}),this._emiter=new(i()),this.bind()}get currentId(){return a.Qg?decodeURIComponent(window.location.hash.substring(1)):""}linkForId(M){return M?"#"+M:""}generateDeepLink(M,A){return""}subscribe(M){const A=this._emiter.addListener(m,M);return()=>A.removeListener(m,M)}bind(){a.Qg&&window.addEventListener("hashchange",this.emit,!1)}dispose(){a.Qg&&window.removeEventListener("hashchange",this.emit)}replace(M,A=!1){if(!!a.Qg&&!(M==null||M===this.currentId)){if(A){window.history.replaceState(null,"",window.location.href.split("#")[0]+this.linkForId(M));return}window.history.pushState(null,"",window.location.href.split("#")[0]+this.linkForId(M)),this.emit()}}replaceForField(M,A=!1){}}d([s.bind,s.debounce],y.prototype,"replace",1),d([s.bind,s.debounce],y.prototype,"replaceForField",1);const x=new y},51027:(L,c,t)=>{"use strict";t.d(c,{W:()=>n,l:()=>o});const s={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function n(i){Object.assign(s,i)}function o(i,a){const p=s[i];return a!==void 0?p[a]:p}},16802:(L,c,t)=>{"use strict";t.d(c,{$8:()=>nn,B2:()=>Ht});function s(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let n=s();function o(Ie){n=Ie}const i=/[&<>"']/,a=/[&<>"']/g,p=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},d=Ie=>l[Ie];function h(Ie,G){if(G){if(i.test(Ie))return Ie.replace(a,d)}else if(p.test(Ie))return Ie.replace(u,d);return Ie}const m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function y(Ie){return Ie.replace(m,(G,T)=>(T=T.toLowerCase(),T==="colon"?":":T.charAt(0)==="#"?T.charAt(1)==="x"?String.fromCharCode(parseInt(T.substring(2),16)):String.fromCharCode(+T.substring(1)):""))}const x=/(^|[^\[])\^/g;function g(Ie,G){Ie=Ie.source||Ie,G=G||"";const T={replace:(Q,de)=>(de=de.source||de,de=de.replace(x,"$1"),Ie=Ie.replace(Q,de),T),getRegex:()=>new RegExp(Ie,G)};return T}const M=/[^\w:]/g,A=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(Ie,G,T){if(Ie){let Q;try{Q=decodeURIComponent(y(T)).replace(M,"").toLowerCase()}catch(de){return null}if(Q.indexOf("javascript:")===0||Q.indexOf("vbscript:")===0||Q.indexOf("data:")===0)return null}G&&!A.test(T)&&(T=B(G,T));try{T=encodeURI(T).replace(/%25/g,"%")}catch(Q){return null}return T}const R={},I=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;function B(Ie,G){R[" "+Ie]||(I.test(Ie)?R[" "+Ie]=Ie+"/":R[" "+Ie]=H(Ie,"/",!0)),Ie=R[" "+Ie];const T=Ie.indexOf(":")===-1;return G.substring(0,2)==="//"?T?G:Ie.replace(S,"$1")+G:G.charAt(0)==="/"?T?G:Ie.replace(w,"$1")+G:Ie+G}const j={exec:function(){}};function F(Ie){let G=1,T,Q;for(;G<arguments.length;G++){T=arguments[G];for(Q in T)Object.prototype.hasOwnProperty.call(T,Q)&&(Ie[Q]=T[Q])}return Ie}function b(Ie,G){const T=Ie.replace(/\|/g,(Ce,it,ct)=>{let jt=!1,Pe=it;for(;--Pe>=0&&ct[Pe]==="\\";)jt=!jt;return jt?"|":" |"}),Q=T.split(/ \|/);let de=0;if(Q[0].trim()||Q.shift(),Q[Q.length-1].trim()||Q.pop(),Q.length>G)Q.splice(G);else for(;Q.length<G;)Q.push("");for(;de<Q.length;de++)Q[de]=Q[de].trim().replace(/\\\|/g,"|");return Q}function H(Ie,G,T){const Q=Ie.length;if(Q===0)return"";let de=0;for(;de<Q;){const Ce=Ie.charAt(Q-de-1);if(Ce===G&&!T)de++;else if(Ce!==G&&T)de++;else break}return Ie.substr(0,Q-de)}function E(Ie,G){if(Ie.indexOf(G[1])===-1)return-1;const T=Ie.length;let Q=0,de=0;for(;de<T;de++)if(Ie[de]==="\\")de++;else if(Ie[de]===G[0])Q++;else if(Ie[de]===G[1]&&(Q--,Q<0))return de;return-1}function q(Ie){Ie&&Ie.sanitize&&!Ie.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function ce(Ie,G){if(G<1)return"";let T="";for(;G>1;)G&1&&(T+=Ie),G>>=1,Ie+=Ie;return T+Ie}function te(Ie,G,T,Q){const de=G.href,Ce=G.title?h(G.title):null,it=Ie[1].replace(/\\([\[\]])/g,"$1");if(Ie[0].charAt(0)!=="!"){Q.state.inLink=!0;const ct={type:"link",raw:T,href:de,title:Ce,text:it,tokens:Q.inlineTokens(it,[])};return Q.state.inLink=!1,ct}else return{type:"image",raw:T,href:de,title:Ce,text:h(it)}}function Le(Ie,G){const T=Ie.match(/^(\s+)(?:```)/);if(T===null)return G;const Q=T[1];return G.split(`
|
|
2416
|
+
`;let sl=class extends n.Component{constructor(){super(...arguments);sa(this,"state",{offsetTop:"0px"}),sa(this,"stickyElement"),sa(this,"toggleNavMenu",()=>{this.props.menu.toggleSidebar()})}componentDidMount(){Da&&Da.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Da&&Da.remove(this.stickyElement)}getScrollYOffset(O){let C;return this.props.scrollYOffset!==void 0?C=tu.V.normalizeScrollYOffset(this.props.scrollYOffset)():C=O.scrollYOffset(),C+"px"}render(){const O=this.props.menu.sideBarOpened,C=this.state.offsetTop;return n.createElement(n.Fragment,null,n.createElement(La,{open:O,className:this.props.className,style:{top:C,height:`calc(100vh - ${C})`},ref:z=>{this.stickyElement=z}},this.props.children),!this.context.hideFab&&n.createElement(wu,{onClick:this.toggleNavMenu},n.createElement(nu,{open:O})))}};sa(sl,"contextType",g.jI),sl=ou([s.Pi],sl);var El=Object.defineProperty,Pl=(O,C,z)=>C in O?El(O,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):O[C]=z,Eu=(O,C,z)=>(Pl(O,typeof C!="symbol"?C+"":C,z),z);class al extends n.PureComponent{constructor(){super(...arguments);Eu(this,"_mediaModel")}static getMediaType(C,z){if(!C)return{};const ge={schema:{$ref:C}};return z&&(ge.examples={example:{$ref:z}}),ge}get mediaModel(){const{parser:C,schemaRef:z,exampleRef:ge,options:We}=this.props;return this._mediaModel||(this._mediaModel=new m.MediaTypeModel(C,"json",!1,al.getMediaType(z,ge),We)),this._mediaModel}render(){const{showReadOnly:C=!0,showWriteOnly:z=!1,layout:ge,showRightPanel:We}=this.props;return n.createElement(o.$0,null,n.createElement(o.X2,{layout:ge},n.createElement(o.yX,{isStacked:ge===Q.N.STACKED},n.createElement(P.i6,null,n.createElement(Rn,{skipWriteOnly:!z,skipReadOnly:!C,schema:this.mediaModel.schema}))),We?n.createElement(o.QN,null,n.createElement(P.s$,null,n.createElement(eo,{mediaType:this.mediaModel}))):null))}}},89642:(L,c,t)=>{"use strict";t.d(c,{ApiInfo:()=>s.RJ,ApiLogo:()=>s.vp,ContentItems:()=>s.Xn,DropdownOrLabel:()=>s.Cv,DropdownWrapper:()=>s.Z_,ErrorBoundary:()=>s.SV,JsonViewer:()=>s.he,Loading:()=>s.gb,Markdown:()=>s.UG,MediaTypesSwitch:()=>s.d4,MenuItem:()=>s.sN,MenuItemLabel:()=>s.i_,MenuItemPath:()=>s.E7,OptionsContext:()=>s.jI,OptionsProvider:()=>s.fM,PayloadSamples:()=>s.UY,ResponseDetails:()=>s.Tj,SchemaDefinition:()=>s.vG,SecurityDefs:()=>s.Bv,SideMenu:()=>s.fv,SourceCodeWithFile:()=>s.sp,SourceCodeWithText:()=>s.OB,StickyResponsiveSidebar:()=>s.up,StoreContext:()=>s.xf,StoreProvider:()=>s.g3,yX:()=>n.yX,X2:()=>n.X2,QN:()=>n.QN,xF:()=>n.xF,mB:()=>n.mB,aM:()=>n.aM,u:()=>n.u,GROUP_DEPTH:()=>o.GROUP_DEPTH,MarkerService:()=>o.MarkerService,RedocNormalizedOptions:()=>o.RedocNormalizedOptions,ResponseModel:()=>o.ResponseModel,ScrollService:()=>o.ScrollService,SearchStore:()=>o.Z,SpecStore:()=>o.SpecStore,argValueToBoolean:()=>o.argValueToBoolean,IS_BROWSER:()=>i.Qg,JsonPointer:()=>i.IB,SCHEMA_DEFINITION_JSX_NAME:()=>i.Ml,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>i.B5,SECURITY_DEFINITIONS_JSX_NAME:()=>i.c7,SECURITY_SCHEMES_SECTION_PREFIX:()=>i.m$,createParsedDocument:()=>i.I2,flattenByProp:()=>i.PD,isOperationName:()=>i.eU,langFromMime:()=>i.M,loadAndBundleDefinition:()=>i.q2,querySelector:()=>i.R2,serializeParameterValue:()=>i.d$,ThemeProvider:()=>a.f6,ZERO_BREAKPOINT:()=>a.QU,createGlobalStyle:()=>a.vJ,css:()=>a.iv,mediaCSS:()=>a.QG,mediaMap:()=>a.gN,zo:()=>a.ZP});var s=t(94834),n=t(43398),o=t(99303);t.o(o,"IS_BROWSER")&&t.d(c,{IS_BROWSER:function(){return o.IS_BROWSER}}),t.o(o,"JsonPointer")&&t.d(c,{JsonPointer:function(){return o.JsonPointer}}),t.o(o,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(c,{SCHEMA_DEFINITION_JSX_NAME:function(){return o.SCHEMA_DEFINITION_JSX_NAME}}),t.o(o,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(c,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return o.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(o,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(c,{SECURITY_DEFINITIONS_JSX_NAME:function(){return o.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(o,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(c,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return o.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(o,"ThemeProvider")&&t.d(c,{ThemeProvider:function(){return o.ThemeProvider}}),t.o(o,"ZERO_BREAKPOINT")&&t.d(c,{ZERO_BREAKPOINT:function(){return o.ZERO_BREAKPOINT}}),t.o(o,"createGlobalStyle")&&t.d(c,{createGlobalStyle:function(){return o.createGlobalStyle}}),t.o(o,"createParsedDocument")&&t.d(c,{createParsedDocument:function(){return o.createParsedDocument}}),t.o(o,"css")&&t.d(c,{css:function(){return o.css}}),t.o(o,"flattenByProp")&&t.d(c,{flattenByProp:function(){return o.flattenByProp}}),t.o(o,"isOperationName")&&t.d(c,{isOperationName:function(){return o.isOperationName}}),t.o(o,"langFromMime")&&t.d(c,{langFromMime:function(){return o.langFromMime}}),t.o(o,"loadAndBundleDefinition")&&t.d(c,{loadAndBundleDefinition:function(){return o.loadAndBundleDefinition}}),t.o(o,"mediaCSS")&&t.d(c,{mediaCSS:function(){return o.mediaCSS}}),t.o(o,"mediaMap")&&t.d(c,{mediaMap:function(){return o.mediaMap}}),t.o(o,"querySelector")&&t.d(c,{querySelector:function(){return o.querySelector}}),t.o(o,"serializeParameterValue")&&t.d(c,{serializeParameterValue:function(){return o.serializeParameterValue}});var i=t(36038),a=t(23485)},23424:(L,c,t)=>{"use strict";t.d(c,{Y:()=>n});const s=typeof document!="undefined"&&document.queryCommandSupported&&document.queryCommandSupported("copy");class n{static isSupported(){return s}static selectElement(i){let a,p;document.body.createTextRange?(a=document.body.createTextRange(),a.moveToElementText(i),a.select()):document.createRange&&window.getSelection&&(p=window.getSelection(),a=document.createRange(),a.selectNodeContents(i),p.removeAllRanges(),p.addRange(a))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const i=window.getSelection();i&&i.removeAllRanges()}}static copySelected(){let i;try{i=document.execCommand("copy")}catch(a){i=!1}return i}static copyElement(i){n.selectElement(i);const a=n.copySelected();return a&&n.deselect(),a}static copyCustom(i){const a=document.createElement("textarea");a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.width="2em",a.style.height="2em",a.style.padding="0",a.style.border="none",a.style.outline="none",a.style.boxShadow="none",a.style.background="transparent",a.value=i,document.body.appendChild(a),a.select();const p=n.copySelected();return document.body.removeChild(a),p}}},94487:(L,c,t)=>{"use strict";t.d(c,{m:()=>x});var s=t(11851),n=t.n(s),o=t(26729),i=t.n(o),a=t(36038),p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=(g,M,A)=>M in g?p(g,M,{enumerable:!0,configurable:!0,writable:!0,value:A}):g[M]=A,d=(g,M,A,_)=>{for(var R=_>1?void 0:_?u(M,A):M,I=g.length-1,S;I>=0;I--)(S=g[I])&&(R=(_?S(M,A,R):S(R))||R);return _&&R&&p(M,A,R),R},h=(g,M,A)=>(l(g,typeof M!="symbol"?M+"":M,A),A);const m="hashchange";class y{constructor(){h(this,"_emiter"),h(this,"basePath"),h(this,"emit",()=>{this._emiter.emit(m,this.currentId)}),this._emiter=new(i()),this.bind()}get currentId(){return a.Qg?decodeURIComponent(window.location.hash.substring(1)):""}linkForId(M){return M?"#"+M:""}generateDeepLink(M,A){return""}subscribe(M){const A=this._emiter.addListener(m,M);return()=>A.removeListener(m,M)}bind(){a.Qg&&window.addEventListener("hashchange",this.emit,!1)}dispose(){a.Qg&&window.removeEventListener("hashchange",this.emit)}replace(M,A=!1){if(!!a.Qg&&!(M==null||M===this.currentId)){if(A){window.history.replaceState(null,"",window.location.href.split("#")[0]+this.linkForId(M));return}window.history.pushState(null,"",window.location.href.split("#")[0]+this.linkForId(M)),this.emit()}}replaceForField(M,A=!1){}}d([s.bind,s.debounce],y.prototype,"replace",1),d([s.bind,s.debounce],y.prototype,"replaceForField",1);const x=new y},51027:(L,c,t)=>{"use strict";t.d(c,{W:()=>n,l:()=>o});const s={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function n(i){Object.assign(s,i)}function o(i,a){const p=s[i];return a!==void 0?p[a]:p}},16802:(L,c,t)=>{"use strict";t.d(c,{$8:()=>nn,B2:()=>Ht});function s(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let n=s();function o(Ie){n=Ie}const i=/[&<>"']/,a=/[&<>"']/g,p=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},d=Ie=>l[Ie];function h(Ie,G){if(G){if(i.test(Ie))return Ie.replace(a,d)}else if(p.test(Ie))return Ie.replace(u,d);return Ie}const m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function y(Ie){return Ie.replace(m,(G,T)=>(T=T.toLowerCase(),T==="colon"?":":T.charAt(0)==="#"?T.charAt(1)==="x"?String.fromCharCode(parseInt(T.substring(2),16)):String.fromCharCode(+T.substring(1)):""))}const x=/(^|[^\[])\^/g;function g(Ie,G){Ie=Ie.source||Ie,G=G||"";const T={replace:(Q,de)=>(de=de.source||de,de=de.replace(x,"$1"),Ie=Ie.replace(Q,de),T),getRegex:()=>new RegExp(Ie,G)};return T}const M=/[^\w:]/g,A=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(Ie,G,T){if(Ie){let Q;try{Q=decodeURIComponent(y(T)).replace(M,"").toLowerCase()}catch(de){return null}if(Q.indexOf("javascript:")===0||Q.indexOf("vbscript:")===0||Q.indexOf("data:")===0)return null}G&&!A.test(T)&&(T=B(G,T));try{T=encodeURI(T).replace(/%25/g,"%")}catch(Q){return null}return T}const R={},I=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;function B(Ie,G){R[" "+Ie]||(I.test(Ie)?R[" "+Ie]=Ie+"/":R[" "+Ie]=H(Ie,"/",!0)),Ie=R[" "+Ie];const T=Ie.indexOf(":")===-1;return G.substring(0,2)==="//"?T?G:Ie.replace(S,"$1")+G:G.charAt(0)==="/"?T?G:Ie.replace(w,"$1")+G:Ie+G}const j={exec:function(){}};function F(Ie){let G=1,T,Q;for(;G<arguments.length;G++){T=arguments[G];for(Q in T)Object.prototype.hasOwnProperty.call(T,Q)&&(Ie[Q]=T[Q])}return Ie}function b(Ie,G){const T=Ie.replace(/\|/g,(Ce,it,ct)=>{let jt=!1,Pe=it;for(;--Pe>=0&&ct[Pe]==="\\";)jt=!jt;return jt?"|":" |"}),Q=T.split(/ \|/);let de=0;if(Q[0].trim()||Q.shift(),Q[Q.length-1].trim()||Q.pop(),Q.length>G)Q.splice(G);else for(;Q.length<G;)Q.push("");for(;de<Q.length;de++)Q[de]=Q[de].trim().replace(/\\\|/g,"|");return Q}function H(Ie,G,T){const Q=Ie.length;if(Q===0)return"";let de=0;for(;de<Q;){const Ce=Ie.charAt(Q-de-1);if(Ce===G&&!T)de++;else if(Ce!==G&&T)de++;else break}return Ie.substr(0,Q-de)}function E(Ie,G){if(Ie.indexOf(G[1])===-1)return-1;const T=Ie.length;let Q=0,de=0;for(;de<T;de++)if(Ie[de]==="\\")de++;else if(Ie[de]===G[0])Q++;else if(Ie[de]===G[1]&&(Q--,Q<0))return de;return-1}function q(Ie){Ie&&Ie.sanitize&&!Ie.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function ce(Ie,G){if(G<1)return"";let T="";for(;G>1;)G&1&&(T+=Ie),G>>=1,Ie+=Ie;return T+Ie}function te(Ie,G,T,Q){const de=G.href,Ce=G.title?h(G.title):null,it=Ie[1].replace(/\\([\[\]])/g,"$1");if(Ie[0].charAt(0)!=="!"){Q.state.inLink=!0;const ct={type:"link",raw:T,href:de,title:Ce,text:it,tokens:Q.inlineTokens(it,[])};return Q.state.inLink=!1,ct}else return{type:"image",raw:T,href:de,title:Ce,text:h(it)}}function Le(Ie,G){const T=Ie.match(/^(\s+)(?:```)/);if(T===null)return G;const Q=T[1];return G.split(`
|
|
2414
2417
|
`).map(de=>{const Ce=de.match(/^\s+/);if(Ce===null)return de;const[it]=Ce;return it.length>=Q.length?de.slice(Q.length):de}).join(`
|
|
2415
2418
|
`)}class He{constructor(G){this.options=G||n}space(G){const T=this.rules.block.newline.exec(G);if(T&&T[0].length>0)return{type:"space",raw:T[0]}}code(G){const T=this.rules.block.code.exec(G);if(T){const Q=T[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:T[0],codeBlockStyle:"indented",text:this.options.pedantic?Q:H(Q,`
|
|
2416
2419
|
`)}}}fences(G){const T=this.rules.block.fences.exec(G);if(T){const Q=T[0],de=Le(Q,T[3]||"");return{type:"code",raw:Q,lang:T[2]?T[2].trim():T[2],text:de}}}heading(G){const T=this.rules.block.heading.exec(G);if(T){let Q=T[2].trim();if(/#$/.test(Q)){const Ce=H(Q,"#");(this.options.pedantic||!Ce||/ $/.test(Ce))&&(Q=Ce.trim())}const de={type:"heading",raw:T[0],depth:T[1].length,text:Q,tokens:[]};return this.lexer.inline(de.text,de.tokens),de}}hr(G){const T=this.rules.block.hr.exec(G);if(T)return{type:"hr",raw:T[0]}}blockquote(G){const T=this.rules.block.blockquote.exec(G);if(T){const Q=T[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:T[0],tokens:this.lexer.blockTokens(Q,[]),text:Q}}}list(G){let T=this.rules.block.list.exec(G);if(T){let Q,de,Ce,it,ct,jt,Pe,je,rt,pt,ft,vt,un=T[1].trim();const cn=un.length>1,qt={type:"list",raw:"",ordered:cn,start:cn?+un.slice(0,-1):"",loose:!1,items:[]};un=cn?`\\d{1,9}\\${un.slice(-1)}`:`\\${un}`,this.options.pedantic&&(un=cn?un:"[*+-]");const hn=new RegExp(`^( {0,3}${un})((?: [^\\n]*)?(?:\\n|$))`);for(;G&&(vt=!1,!(!(T=hn.exec(G))||this.rules.block.hr.test(G)));){if(Q=T[0],G=G.substring(Q.length),je=T[2].split(`
|
|
@@ -2457,7 +2460,7 @@ Repeats of \`in:${o.in}\` + \`name:${o.name}\`.`,location:p.PathItem.child(["par
|
|
|
2457
2460
|
`}strong(G){return"<strong>"+G+"</strong>"}em(G){return"<em>"+G+"</em>"}codespan(G){return"<code>"+G+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(G){return"<del>"+G+"</del>"}link(G,T,Q){if(G=_(this.options.sanitize,this.options.baseUrl,G),G===null)return Q;let de='<a href="'+h(G)+'"';return T&&(de+=' title="'+T+'"'),de+=">"+Q+"</a>",de}image(G,T,Q){if(G=_(this.options.sanitize,this.options.baseUrl,G),G===null)return Q;let de='<img src="'+G+'" alt="'+Q+'"';return T&&(de+=' title="'+T+'"'),de+=this.options.xhtml?"/>":">",de}text(G){return G}}class De{strong(G){return G}em(G){return G}codespan(G){return G}del(G){return G}html(G){return G}text(G){return G}link(G,T,Q){return""+Q}image(G,T,Q){return""+Q}br(){return""}}class _e{constructor(){this.seen={}}serialize(G){return G.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(G,T){let Q=G,de=0;if(this.seen.hasOwnProperty(Q)){de=this.seen[G];do de++,Q=G+"-"+de;while(this.seen.hasOwnProperty(Q))}return T||(this.seen[G]=de,this.seen[Q]=0),Q}slug(G,T={}){const Q=this.serialize(G);return this.getNextSafeSlug(Q,T.dryrun)}}class he{constructor(G){this.options=G||n,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new De,this.slugger=new _e}static parse(G,T){return new he(T).parse(G)}static parseInline(G,T){return new he(T).parseInline(G)}parse(G,T=!0){let Q="",de,Ce,it,ct,jt,Pe,je,rt,pt,ft,vt,un,cn,qt,hn,tr,An,Gn,Cn;const Oe=G.length;for(de=0;de<Oe;de++){if(ft=G[de],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ft.type]&&(Cn=this.options.extensions.renderers[ft.type].call({parser:this},ft),Cn!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(ft.type))){Q+=Cn||"";continue}switch(ft.type){case"space":continue;case"hr":{Q+=this.renderer.hr();continue}case"heading":{Q+=this.renderer.heading(this.parseInline(ft.tokens),ft.depth,y(this.parseInline(ft.tokens,this.textRenderer)),this.slugger);continue}case"code":{Q+=this.renderer.code(ft.text,ft.lang,ft.escaped);continue}case"table":{for(rt="",je="",ct=ft.header.length,Ce=0;Ce<ct;Ce++)je+=this.renderer.tablecell(this.parseInline(ft.header[Ce].tokens),{header:!0,align:ft.align[Ce]});for(rt+=this.renderer.tablerow(je),pt="",ct=ft.rows.length,Ce=0;Ce<ct;Ce++){for(Pe=ft.rows[Ce],je="",jt=Pe.length,it=0;it<jt;it++)je+=this.renderer.tablecell(this.parseInline(Pe[it].tokens),{header:!1,align:ft.align[it]});pt+=this.renderer.tablerow(je)}Q+=this.renderer.table(rt,pt);continue}case"blockquote":{pt=this.parse(ft.tokens),Q+=this.renderer.blockquote(pt);continue}case"list":{for(vt=ft.ordered,un=ft.start,cn=ft.loose,ct=ft.items.length,pt="",Ce=0;Ce<ct;Ce++)hn=ft.items[Ce],tr=hn.checked,An=hn.task,qt="",hn.task&&(Gn=this.renderer.checkbox(tr),cn?hn.tokens.length>0&&hn.tokens[0].type==="paragraph"?(hn.tokens[0].text=Gn+" "+hn.tokens[0].text,hn.tokens[0].tokens&&hn.tokens[0].tokens.length>0&&hn.tokens[0].tokens[0].type==="text"&&(hn.tokens[0].tokens[0].text=Gn+" "+hn.tokens[0].tokens[0].text)):hn.tokens.unshift({type:"text",text:Gn}):qt+=Gn),qt+=this.parse(hn.tokens,cn),pt+=this.renderer.listitem(qt,An,tr);Q+=this.renderer.list(pt,vt,un);continue}case"html":{Q+=this.renderer.html(ft.text);continue}case"paragraph":{Q+=this.renderer.paragraph(this.parseInline(ft.tokens));continue}case"text":{for(pt=ft.tokens?this.parseInline(ft.tokens):ft.text;de+1<Oe&&G[de+1].type==="text";)ft=G[++de],pt+=`
|
|
2458
2461
|
`+(ft.tokens?this.parseInline(ft.tokens):ft.text);Q+=T?this.renderer.paragraph(pt):pt;continue}default:{const Me='Token with "'+ft.type+'" type was not found.';if(this.options.silent){console.error(Me);return}else throw new Error(Me)}}}return Q}parseInline(G,T){T=T||this.renderer;let Q="",de,Ce,it;const ct=G.length;for(de=0;de<ct;de++){if(Ce=G[de],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[Ce.type]&&(it=this.options.extensions.renderers[Ce.type].call({parser:this},Ce),it!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(Ce.type))){Q+=it||"";continue}switch(Ce.type){case"escape":{Q+=T.text(Ce.text);break}case"html":{Q+=T.html(Ce.text);break}case"link":{Q+=T.link(Ce.href,Ce.title,this.parseInline(Ce.tokens,T));break}case"image":{Q+=T.image(Ce.href,Ce.title,Ce.text);break}case"strong":{Q+=T.strong(this.parseInline(Ce.tokens,T));break}case"em":{Q+=T.em(this.parseInline(Ce.tokens,T));break}case"codespan":{Q+=T.codespan(Ce.text);break}case"br":{Q+=T.br();break}case"del":{Q+=T.del(this.parseInline(Ce.tokens,T));break}case"text":{Q+=T.text(Ce.text);break}default:{const jt='Token with "'+Ce.type+'" type was not found.';if(this.options.silent){console.error(jt);return}else throw new Error(jt)}}}return Q}}function Re(Ie,G,T){if(typeof Ie=="undefined"||Ie===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ie!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ie)+", string expected");if(typeof G=="function"&&(T=G,G=null),G=F({},Re.defaults,G||{}),q(G),T){const Q=G.highlight;let de;try{de=X.lex(Ie,G)}catch(ct){return T(ct)}const Ce=function(ct){let jt;if(!ct)try{G.walkTokens&&Re.walkTokens(de,G.walkTokens),jt=he.parse(de,G)}catch(Pe){ct=Pe}return G.highlight=Q,ct?T(ct):T(null,jt)};if(!Q||Q.length<3||(delete G.highlight,!de.length))return Ce();let it=0;Re.walkTokens(de,function(ct){ct.type==="code"&&(it++,setTimeout(()=>{Q(ct.text,ct.lang,function(jt,Pe){if(jt)return Ce(jt);Pe!=null&&Pe!==ct.text&&(ct.text=Pe,ct.escaped=!0),it--,it===0&&Ce()})},0))}),it===0&&Ce();return}try{const Q=X.lex(Ie,G);return G.walkTokens&&Re.walkTokens(Q,G.walkTokens),he.parse(Q,G)}catch(Q){if(Q.message+=`
|
|
2459
2462
|
Please report this to https://github.com/markedjs/marked.`,G.silent)return"<p>An error occurred:</p><pre>"+h(Q.message+"",!0)+"</pre>";throw Q}}Re.options=Re.setOptions=function(Ie){return F(Re.defaults,Ie),o(Re.defaults),Re},Re.getDefaults=s,Re.defaults=n,Re.use=function(...Ie){const G=F({},...Ie),T=Re.defaults.extensions||{renderers:{},childTokens:{}};let Q;Ie.forEach(de=>{if(de.extensions&&(Q=!0,de.extensions.forEach(Ce=>{if(!Ce.name)throw new Error("extension name required");if(Ce.renderer){const it=T.renderers?T.renderers[Ce.name]:null;it?T.renderers[Ce.name]=function(...ct){let jt=Ce.renderer.apply(this,ct);return jt===!1&&(jt=it.apply(this,ct)),jt}:T.renderers[Ce.name]=Ce.renderer}if(Ce.tokenizer){if(!Ce.level||Ce.level!=="block"&&Ce.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");T[Ce.level]?T[Ce.level].unshift(Ce.tokenizer):T[Ce.level]=[Ce.tokenizer],Ce.start&&(Ce.level==="block"?T.startBlock?T.startBlock.push(Ce.start):T.startBlock=[Ce.start]:Ce.level==="inline"&&(T.startInline?T.startInline.push(Ce.start):T.startInline=[Ce.start]))}Ce.childTokens&&(T.childTokens[Ce.name]=Ce.childTokens)})),de.renderer){const Ce=Re.defaults.renderer||new ne;for(const it in de.renderer){const ct=Ce[it];Ce[it]=(...jt)=>{let Pe=de.renderer[it].apply(Ce,jt);return Pe===!1&&(Pe=ct.apply(Ce,jt)),Pe}}G.renderer=Ce}if(de.tokenizer){const Ce=Re.defaults.tokenizer||new He;for(const it in de.tokenizer){const ct=Ce[it];Ce[it]=(...jt)=>{let Pe=de.tokenizer[it].apply(Ce,jt);return Pe===!1&&(Pe=ct.apply(Ce,jt)),Pe}}G.tokenizer=Ce}if(de.walkTokens){const Ce=Re.defaults.walkTokens;G.walkTokens=function(it){de.walkTokens.call(this,it),Ce&&Ce.call(this,it)}}Q&&(G.extensions=T),Re.setOptions(G)})},Re.walkTokens=function(Ie,G){for(const T of Ie)switch(G.call(Re,T),T.type){case"table":{for(const Q of T.header)Re.walkTokens(Q.tokens,G);for(const Q of T.rows)for(const de of Q)Re.walkTokens(de.tokens,G);break}case"list":{Re.walkTokens(T.items,G);break}default:Re.defaults.extensions&&Re.defaults.extensions.childTokens&&Re.defaults.extensions.childTokens[T.type]?Re.defaults.extensions.childTokens[T.type].forEach(function(Q){Re.walkTokens(T[Q],G)}):T.tokens&&Re.walkTokens(T.tokens,G)}},Re.parseInline=function(Ie,G){if(typeof Ie=="undefined"||Ie===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Ie!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Ie)+", string expected");G=F({},Re.defaults,G||{}),q(G);try{const T=X.lexInline(Ie,G);return G.walkTokens&&Re.walkTokens(T,G.walkTokens),he.parseInline(T,G)}catch(T){if(T.message+=`
|
|
2460
|
-
Please report this to https://github.com/markedjs/marked.`,G.silent)return"<p>An error occurred:</p><pre>"+h(T.message+"",!0)+"</pre>";throw T}},Re.Parser=he,Re.parser=he.parse,Re.Renderer=ne,Re.TextRenderer=De,Re.Lexer=X,Re.lexer=X.lex,Re.Tokenizer=He,Re.Slugger=_e,Re.parse=Re;const ze=Re.options,et=Re.setOptions,Rt=Re.use,Kt=Re.walkTokens,$t=Re.parseInline,ln=null,k=he.parse,fe=X.lex;var Xe=t(36038),ut=Object.defineProperty,ue=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,P=(Ie,G,T)=>G in Ie?ut(Ie,G,{enumerable:!0,configurable:!0,writable:!0,value:T}):Ie[G]=T,Ne=(Ie,G)=>{for(var T in G||(G={}))re.call(G,T)&&P(Ie,T,G[T]);if(K)for(var T of K(G))Qe.call(G,T)&&P(Ie,T,G[T]);return Ie},Ye=(Ie,G)=>ue(Ie,xe(G)),ye=(Ie,G,T)=>(P(Ie,typeof G!="symbol"?G+"":G,T),T);const we=new Re.Renderer;Re.setOptions({renderer:we,highlight:(Ie,G)=>(0,Xe.CH)(Ie,G)});const $e="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",tt="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",bt="(?:"+$e+"|"+tt+")";function Ht(Ie){return`<!-- ReDoc-Inject: <${Ie}> -->`}class nn{constructor(G){this.options=G,ye(this,"headings",[]),ye(this,"currentTopHeading"),ye(this,"headingEnhanceRenderer"),ye(this,"originalHeadingRule"),ye(this,"parser"),ye(this,"headingRule",(T,Q,de,Ce)=>{var it,ct;return Q===1?this.currentTopHeading=this.saveHeading(T,Q):Q===2&&this.saveHeading(T,Q,(it=this.currentTopHeading)==null?void 0:it.items,(ct=this.currentTopHeading)==null?void 0:ct.id),this.originalHeadingRule(T,Q,de,Ce)}),this.headingEnhanceRenderer=new Re.Renderer,this.parser=new Re.Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule}static containsComponent(G,T){return new RegExp(bt.replace(/{component}/g,T),"gmi").test(G)}static getTextBeforeHading(G,T){const Q=G.search(new RegExp(`^(>\\s+##|##)?\\s+${T}`,"m"));return Q>-1?G.substring(0,Q):G}saveHeading(G,T,Q=this.headings,de){G=(0,Xe.Lf)(G);const Ce={id:de?`${de}/${(0,Xe.bO)(G)}`:`section/${(0,Xe.bO)(G)}`,name:G,level:T,items:[]};return Q.push(Ce),Ce}flattenHeadings(G){if(G===void 0)return[];const T=[];for(const Q of G)T.push(Q),T.push(...this.flattenHeadings(Q.items));return T}attachHeadingsDescriptions(G){const T=ct=>new RegExp(`##?\\s+${ct.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),Q=this.flattenHeadings(this.headings);if(Q.length<1)return;let de=Q[0],Ce=T(de),it=G.search(Ce);for(let ct=1;ct<Q.length;ct++){const jt=Q[ct],Pe=T(jt),je=G.substr(it+1).search(Pe)+it+1;de.description=G.substring(it,je).replace(Ce,"").trim(),de=jt,Ce=Pe,it=je}de.description=G.substring(it).replace(Ce,"").trim()}renderMd(G,T=!1){const Q=T?{renderer:this.headingEnhanceRenderer}:void 0;return Re(G.toString(),Q)}extractHeadings(G){this.renderMd(G,!0),this.attachHeadingsDescriptions(G);const T=this.headings;return this.headings=[],T}renderMdWithComponents(G){const T=this.options&&this.options.allowedMdComponents;if(!T||Object.keys(T).length===0)return[this.renderMd(G)];const Q=Object.keys(T).join("|"),de=new RegExp(bt.replace(/{component}/g,Q),"mig"),Ce=[],it=[];let ct=de.exec(G),jt=0;for(;ct;){Ce.push(G.substring(jt,ct.index)),jt=de.lastIndex;const je=ct[1]||ct[2]||ct[5],rt=T[je],pt=ct[3]||ct[6],ft=ct[4];rt&&it.push({component:rt.component,propsSelector:rt.propsSelector,props:Ye(Ne(Ne({},Ot(pt)),rt.props),{children:ft})}),ct=de.exec(G)}Ce.push(G.substring(jt));const Pe=[];for(let je=0;je<Ce.length;je++){const rt=Ce[je];rt&&Pe.push(this.renderMd(rt)),it[je]&&Pe.push(it[je])}return Pe}}function Ot(Ie){if(!Ie)return{};const G=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,T={};let Q;for(;(Q=G.exec(Ie))!==null;)if(Q[3])T[Q[1]]=Q[3];else if(Q[2]){let de;try{de=JSON.parse(Q[2])}catch(Ce){}T[Q[1]]=de}return T}},57180:(L,c,t)=>{"use strict";t.d(c,{u:()=>p});var s=t(813),n=t.n(s),o=Object.defineProperty,i=(u,l,d)=>l in u?o(u,l,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[l]=d,a=(u,l,d)=>(i(u,typeof l!="symbol"?l+"":l,d),d);class p{constructor(){a(this,"map",new Map),a(this,"prevTerm","")}add(l){this.map.set(l,new(n())(l))}delete(l){this.map.delete(l)}addOnly(l){this.map.forEach((d,h)=>{l.indexOf(h)===-1&&(d.unmark(),this.map.delete(h))});for(const d of l)this.map.has(d)||this.map.set(d,new(n())(d))}clearAll(){this.unmark(),this.map.clear()}mark(l){!l&&!this.prevTerm||(this.map.forEach(d=>{d.unmark(),d.mark(l||this.prevTerm)}),this.prevTerm=l||this.prevTerm)}unmark(){this.map.forEach(l=>l.unmark()),this.prevTerm=""}}},34405:(L,c,t)=>{"use strict";t.d(c,{t:()=>x,r:()=>g});var s=t(36038),n=t(16802),o=t(5062),i=Object.defineProperty,a=Object.defineProperties,p=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(M,A,_)=>A in M?i(M,A,{enumerable:!0,configurable:!0,writable:!0,value:_}):M[A]=_,m=(M,A)=>{for(var _ in A||(A={}))l.call(A,_)&&h(M,_,A[_]);if(u)for(var _ of u(A))d.call(A,_)&&h(M,_,A[_]);return M},y=(M,A)=>a(M,p(A));const x=0;class g{static buildStructure(A,_){const R=A.definition,I=[],S=g.getTagsWithOperations(A);return I.push(...g.addMarkdownItems(R.info.description||"",void 0,1,_)),R["x-tagGroups"]&&R["x-tagGroups"].length>0?I.push(...g.getTagGroupsItems(A,void 0,R["x-tagGroups"],S,_)):I.push(...g.getTagsItems(A,S,void 0,void 0,_)),I}static addMarkdownItems(A,_,R,I){const w=new n.$8(I).extractHeadings(A||"");w.length&&_&&_.description&&(_.description=n.$8.getTextBeforeHading(_.description,w[0].name));const B=(j,F,b=1)=>F.map(H=>{const E=new o.dZ("section",H,j);return E.depth=b,H.items&&(E.items=B(E,H.items,b+1)),n.$8.containsComponent(E.description||"",s.B5)&&(0,s.te)(E.id+"/"),E});return B(_,w,R)}static getTagGroupsItems(A,_,R,I,S){const w=[];for(const B of R){const j=new o.dZ("group",B,_);j.depth=x,j.items=g.getTagsItems(A,I,j,B,S),w.push(j)}return w}static getTagsItems(A,_,R,I,S){let w;I===void 0?w=Object.keys(_):w=I.tags;const B=w.map(F=>_[F]?(_[F].used=!0,_[F]):(console.warn(`Non-existing tag "${F}" is added to the group "${I==null?void 0:I.name}"`),null)),j=[];for(const F of B){if(!F)continue;const b=new o.dZ("tag",F,R);if(b.depth=x+1,F.name===""){const H=[...g.addMarkdownItems(F.description||"",b,b.depth+1,S),...this.getOperationsItems(A,void 0,F,b.depth+1,S)];j.push(...H);continue}b.items=[...g.addMarkdownItems(F.description||"",b,b.depth+1,S),...this.getOperationsItems(A,b,F,b.depth+1,S)],j.push(b)}return S.sortTagsAlphabetically&&j.sort((0,s.Bi)("name")),j}static getOperationsItems(A,_,R,I,S){if(R.operations.length===0)return[];const w=[];for(const B of R.operations){const j=new o.pk(A,B,_,S);j.depth=I,w.push(j)}return S.sortOperationsAlphabetically&&w.sort((0,s.Bi)("name")),w}static getTagsWithOperations(A){const _={},{definition:R}=A,I=R["x-webhooks"]||R.webhooks;for(const w of R.tags||[])_[w.name]=y(m({},w),{operations:[]});R.paths&&S(A,R.paths),I&&S(A,I,!0);function S(w,B,j){for(const F of Object.keys(B||{})){const b=B[F],H=Object.keys(b).filter(s.eU);for(const E of H){const q=b[E];if(b.$ref){const te=w.deref(b);S(w,{[F]:te},j);continue}let ce=q==null?void 0:q.tags;(!ce||!ce.length)&&(ce=[""]);for(const te of ce){let Le=_[te];Le===void 0&&(Le={name:te,operations:[]},_[te]=Le),!Le["x-traitTag"]&&Le.operations.push(y(m({},q),{pathName:F,pointer:s.IB.compile(["paths",F,E]),httpVerb:E,pathParameters:b.parameters||[],pathServers:b.servers,isWebhook:!!j}))}}}}return _}}},71790:()=>{},54785:(L,c,t)=>{"use strict";t.d(c,{X:()=>R});var s=t(8575),n=t(36038),o=t(71796),i=t(16802),a=t(98906),p=Object.defineProperty,u=Object.defineProperties,l=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(I,S,w)=>S in I?p(I,S,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[S]=w,x=(I,S)=>{for(var w in S||(S={}))h.call(S,w)&&y(I,w,S[w]);if(d)for(var w of d(S))m.call(S,w)&&y(I,w,S[w]);return I},g=(I,S)=>u(I,l(S)),M=(I,S)=>{var w={};for(var B in I)h.call(I,B)&&S.indexOf(B)<0&&(w[B]=I[B]);if(I!=null&&d)for(var B of d(I))S.indexOf(B)<0&&m.call(I,B)&&(w[B]=I[B]);return w},A=(I,S,w)=>(y(I,typeof S!="symbol"?S+"":S,w),w);class _{constructor(){A(this,"_counter",{})}reset(){this._counter={}}visit(S){this._counter[S]=this._counter[S]?this._counter[S]+1:1}exit(S){this._counter[S]=this._counter[S]&&this._counter[S]-1}visited(S){return!!this._counter[S]}}class R{constructor(S,w,B=new a.V({})){this.options=B,A(this,"definitionUrl"),A(this,"definition"),A(this,"hasSecurityDefinitions",!1),A(this,"_refCounter",new _),A(this,"allowMergeRefs",!1),A(this,"byRef",F=>{let b;if(!!this.definition){F.charAt(0)!=="#"&&(F="#"+F),F=decodeURIComponent(F);try{b=o.I.get(this.definition,F)}catch(H){}return b||{}}}),this.validate(S),this.preprocess(S),this.definition=S,this.hasSecurityDefinitions=this.containsSecurity(S),this.allowMergeRefs=S.openapi.startsWith("3.1");const j=n.Qg?window.location.href:"";typeof w=="string"&&(this.definitionUrl=(0,s.resolve)(j,w))}validate(S){if(S.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}containsSecurity(S){const w=S.info&&S.info.description||"";return i.$8.containsComponent(w,n.B5)||i.$8.containsComponent(w,n.c7)}preprocess(S){if(S.info&&this.options.hideInfoDescription){S.info.description="";return}if(!this.options.noAutoAuth&&S.info&&S.components&&S.components.securitySchemes){const w=S.info.description||"";if(!this.containsSecurity(S)){const B=(0,i.B2)(n.B5);S.info.description=(0,n.Rv)(w,"Authentication",B)}}}isRef(S){return S?(S=S,S.$ref!==void 0&&S.$ref!==null):!1}resetVisited(){this._refCounter=new _}exitRef(S){!this.isRef(S)||this._refCounter.exit(S.$ref)}deref(S,w=!1,B=!1){if(this.isRef(S)){const j=(0,n.ft)(S.$ref);if(j&&this.options.ignoreNamedSchemas.has(j))return{type:"object",title:j};const F=this.byRef(S.$ref),b=this._refCounter.visited(S.$ref);if(this._refCounter.visit(S.$ref),b&&!w)return Object.assign({},F,{"x-circular-ref":!0});let H=F;return this.isRef(F)&&(H=this.deref(F,!1,B),this.exitRef(F)),this.allowMergeRefs?this.mergeRefs(S,F,B):H}return S}mergeRefs(S,w,B){const j=S,{$ref:F}=j,b=M(j,["$ref"]),H=Object.keys(b);return H.length===0?w:B&&H.some(E=>E!=="description"&&E!=="title"&&E!=="externalDocs")?{allOf:[b,w]}:x(x({},w),b)}shallowDeref(S){if(this.isRef(S)){const w=(0,n.ft)(S.$ref);if(w&&this.options.ignoreNamedSchemas.has(w))return{type:"object",title:w};const B=this.byRef(S.$ref);return this.allowMergeRefs?this.mergeRefs(S,B,!1):B}return S}mergeAllOf(S,w,B=!1,j=new Set){var F;if(w&&j.add(w),S=this.hoistOneOfs(S),S.allOf===void 0)return S;let b=g(x({},S),{allOf:void 0,parentRefs:[],title:S.title||(0,n.ft)(w)});b.properties!==void 0&&typeof b.properties=="object"&&(b.properties=x({},b.properties)),b.items!==void 0&&typeof b.items=="object"&&(b.items=x({},b.items));const H=S.allOf.map(E=>{var q;if(E&&E.$ref&&j.has(E.$ref))return;const ce=this.deref(E,B,!0),te=E.$ref||void 0,Le=this.mergeAllOf(ce,te,B,j);return(q=b.parentRefs)==null||q.push(...Le.parentRefs||[]),{$ref:te,schema:Le}}).filter(E=>E!==void 0);for(const{$ref:E,schema:q}of H){if(b.type!==q.type&&b.type!==void 0&&q.type!==void 0&&console.warn(`Incompatible types in allOf at "${w}": "${b.type}" and "${q.type}"`),q.type!==void 0&&(b.type=q.type),q.properties!==void 0){b.properties=b.properties||{};for(const ce in q.properties)if(!b.properties[ce])b.properties[ce]=q.properties[ce];else{const te=this.mergeAllOf({allOf:[b.properties[ce],q.properties[ce]]},w+"/properties/"+ce);b.properties[ce]=te,this.exitParents(te)}}q.items!==void 0&&(b.items=b.items||{},b.items=this.mergeAllOf({allOf:[b.items,q.items]},w+"/items",!1,j)),q.required!==void 0&&(b.required=(b.required||[]).concat(q.required)),b=x(x({},q),b),E&&((F=b.parentRefs)==null||F.push(E),b.title===void 0&&(0,n.lE)(E))}return b}findDerived(S){const w={},B=this.definition.components&&this.definition.components.schemas||{};for(const j in B){const F=this.deref(B[j]);F.allOf!==void 0&&F.allOf.find(b=>b.$ref!==void 0&&S.indexOf(b.$ref)>-1)&&(w["#/components/schemas/"+j]=[F["x-discriminator-value"]||j])}return w}exitParents(S){for(const w of S.parentRefs||[])this.exitRef({$ref:w})}hoistOneOfs(S){if(S.allOf===void 0)return S;const w=S.allOf;for(let B=0;B<w.length;B++){const j=w[B];if(Array.isArray(j.oneOf)){const F=w.slice(0,B),b=w.slice(B+1);return{oneOf:j.oneOf.map(H=>{const E=this.mergeAllOf({allOf:[...F,H,...b]});return this.exitParents(E),E})}}}return S}}},98906:(L,c,t)=>{"use strict";t.d(c,{V:()=>H,m:()=>w});var s=t(68949),n=t(39895),o=t(61191);const a={spacing:{unit:5,sectionHorizontal:({spacing:E})=>E.unit*8,sectionVertical:({spacing:E})=>E.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.primary.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.primary.main),contrastText:({colors:E})=>(0,n.XV)(E.primary.main)},secondary:{main:"#E4E7EB",light:"#F5F7FA",dark:"#E4E7EB",contrastText:"#3E4C59"},accent:{main:"#59C3FF",light:"#b3dcf3",dark:"#033B73",contrastText:"#ffffff"},success:{main:"#41DE50",light:({colors:E})=>(0,n.$n)(E.tonalOffset*2,E.success.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.success.main),contrastText:({colors:E})=>(0,n.XV)(E.success.main)},warning:{main:"#ffa500",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.warning.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.error.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:E})=>E.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:E})=>E.responses.error.borderColor},redirect:{borderColor:({colors:E})=>E.warning.main,backgroundColor:({colors:E})=>(0,n.DZ)(.9,E.responses.redirect.borderColor),tabTextColor:({colors:E})=>E.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:E})=>(0,n.DZ)(.9,E.responses.info.borderColor),tabTextColor:({colors:E})=>E.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:E=>E.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:E=>E.colors.text.secondary,typeTitleColor:E=>E.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:E=>E.colors.secondary.light,caretColor:({colors:E})=>E.text.primary,caretSize:"9px"},typography:{fontSize:"14px",lineHeight:"1.5em",fontWeightRegular:"400",fontWeightBold:"600",fontWeightLight:"300",fontFamily:"Source Sans Pro, sans-serif",smoothing:"antialiased",optimizeSpeed:!0,headings:{fontFamily:({typography:E})=>E.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:E})=>E.lineHeight,fontWeight:({typography:E})=>E.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:E})=>E.primary.main,visited:({typography:E})=>E.links.color,hover:({typography:E})=>(0,n.$n)(.2,E.links.color),textDecoration:"auto"},fieldName:{fontSize:({typography:E})=>E.code.fontSize,fontFamily:({typography:E})=>E.code.fontFamily,fontWeight:({typography:E})=>E.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:E})=>E.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:E})=>E.textColor,caretSize:({sidebar:E})=>E.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:E})=>E.spacing.unit,paddingVertical:({sidebar:E})=>E.spacing.unit,offsetTop:({sidebar:E})=>E.spacing.unit*2,offsetLeft:({sidebar:E})=>E.spacing.unit*2,offsetNesting:({sidebar:E})=>E.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:E})=>E.fontFamily,fontSize:({typography:E})=>E.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:E=>E.colors.border.light,textColor:E=>E.colors.text.primary,activeTextColor:E=>E.sidebar.textColor,activeBgColor:E=>E.colors.border.light},components:{buttons:{borderRadius:({shape:E})=>E.borderRadius,hoverStyle:"",fontWeight:({typography:E})=>E.fontWeightBold,boxShadow:"none",hoverBoxShadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.1)",fontFamily:"inherit",sizes:{small:{fontSize:"12px",padding:"8px 10px",minWidth:"90px"},medium:{fontSize:"14px",padding:"8px 20px",minWidth:"120px"},large:{fontSize:"14px",padding:"12px 24px",minWidth:"150px"},xlarge:{fontSize:"16px",padding:"20px 24px",minWidth:"200px"}}},httpBadges:{borderRadius:"16px",fontFamily:({typography:E})=>E.code.fontFamily,fontWeight:({typography:E})=>E.fontWeightBold,color:({colors:E})=>E.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:E})=>E.width,maxWidth:({sidebar:E})=>E.width,gutter:"2px"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:E})=>E.panelControlsBackgroundColor},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[o.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[o.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function p(E){const q={};let ce=0;const te=(Le,He)=>{Object.keys(Le).forEach(Se=>{const ie=(He?He+".":"")+Se,le=Le[Se];typeof le=="function"?Object.defineProperty(Le,Se,{get(){if(!q[ie]){if(ce++,ce>1e3)throw new Error(`Theme probably contains circular dependency at ${ie}: ${le.toString()}`);q[ie]=le(E)}return q[ie]},enumerable:!0}):typeof le=="object"&&te(le,ie)})};return te(E,""),JSON.parse(JSON.stringify(E))}var u=t(36038),l=t(51027),d=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,A=(E,q,ce)=>q in E?d(E,q,{enumerable:!0,configurable:!0,writable:!0,value:ce}):E[q]=ce,_=(E,q)=>{for(var ce in q||(q={}))g.call(q,ce)&&A(E,ce,q[ce]);if(x)for(var ce of x(q))M.call(q,ce)&&A(E,ce,q[ce]);return E},R=(E,q)=>h(E,y(q)),I=(E,q,ce,te)=>{for(var Le=te>1?void 0:te?m(q,ce):q,He=E.length-1,Se;He>=0;He--)(Se=E[He])&&(Le=(te?Se(q,ce,Le):Se(Le))||Le);return te&&Le&&d(q,ce,Le),Le},S=(E,q,ce)=>(A(E,typeof q!="symbol"?q+"":q,ce),ce);function w(E,q){return E===void 0?q||!1:typeof E=="string"?E!=="false":E}function B(E){if(typeof E=="string")return parseInt(E,10);if(typeof E=="number")return E}function j(E){if(typeof E=="string")return parseInt(E,10);if(typeof E=="number")return Math.ceil(E)}function F(E,q=0){return E==="all"?1/0:j(E)||q}const b=class{constructor(E,q={}){S(this,"theme"),S(this,"scrollYOffset"),S(this,"hideHostname"),S(this,"hideInfoDescription"),S(this,"expandResponses"),S(this,"requiredPropsFirst"),S(this,"sortPropsAlphabetically"),S(this,"sortEnumValuesAlphabetically"),S(this,"sortOperationsAlphabetically"),S(this,"sortTagsAlphabetically"),S(this,"noAutoAuth"),S(this,"nativeScrollbars"),S(this,"pathInMiddlePanel"),S(this,"untrustedDefinition"),S(this,"hideDownloadButton"),S(this,"disableSearch"),S(this,"showChangeLayoutButton"),S(this,"onlyRequiredInSamples"),S(this,"showConsole"),S(this,"sendXUserAgentInTryIt"),S(this,"generatedPayloadSamplesMaxDepth"),S(this,"showExtensions"),S(this,"hideSingleRequestSampleTab"),S(this,"hideRequestPayloadSample"),S(this,"menuToggle"),S(this,"jsonSampleExpandLevel"),S(this,"enumSkipQuotes"),S(this,"hideSchemaTitles"),S(this,"simpleOneOfTypeLabel"),S(this,"payloadSampleIdx"),S(this,"expandSingleSchemaField"),S(this,"schemaExpansionLevel"),S(this,"samplesTabsMaxCount"),S(this,"unstable_tryItButtonOverride"),S(this,"allowedMdComponents"),S(this,"expandDefaultServerVariables"),S(this,"expandDefaultRequest"),S(this,"expandDefaultResponse"),S(this,"maxDisplayedEnumValues"),S(this,"ignoreNamedSchemas"),S(this,"unstable_ignoreMimeParameters"),S(this,"unstable_externalCodeSamples"),S(this,"hooks"),S(this,"hideSchemaPattern"),S(this,"hideOneOfDescription");var ce,te,Le,He,Se,ie;(0,s.rC)(this),E=_(_({},q),E);const le=(ce=E.theme)==null?void 0:ce.extensionsHook;((te=E.theme)==null?void 0:te.menu)&&!((Le=E.theme)==null?void 0:Le.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),E.theme.sidebar=E.theme.menu),((He=E.theme)==null?void 0:He.codeSample)&&!((Se=E.theme)==null?void 0:Se.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),E.theme.codeBlock=E.theme.codeSample),this.theme=p((0,u.PM)({},a,R(_({},E.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[X,ne]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[X]=`@media screen and (min-width: ${ne})`;this.theme.extensionsHook=le,(0,l.W)(E.labels),this.scrollYOffset=b.normalizeScrollYOffset(E.scrollYOffset),this.hideHostname=b.normalizeHideHostname(E.hideHostname),this.expandResponses=b.normalizeExpandResponses(E.expandResponses),this.requiredPropsFirst=w(E.requiredPropsFirst),this.sortPropsAlphabetically=w(E.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=w(E.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=w(E.sortOperationsAlphabetically),this.sortTagsAlphabetically=w(E.sortTagsAlphabetically),this.noAutoAuth=w(E.noAutoAuth),this.nativeScrollbars=w(E.nativeScrollbars),this.pathInMiddlePanel=w(E.pathInMiddlePanel),this.untrustedDefinition=w(E.untrustedDefinition),this.hideDownloadButton=E.hideDownloadButton===void 0?null:w(E.hideDownloadButton),this.hideInfoDescription=w(E.hideInfoDescription),this.disableSearch=w(E.disableSearch),this.onlyRequiredInSamples=w(E.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=j(E.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=w(E.sendXUserAgentInTryIt),this.showExtensions=b.normalizeShowExtensions(E.showExtensions),this.hideSingleRequestSampleTab=w(E.hideSingleRequestSampleTab),this.hideRequestPayloadSample=w(E.hideRequestPayloadSample),this.menuToggle=w(E.menuToggle,!0),this.jsonSampleExpandLevel=F(E.jsonSampleExpandLevel,2),this.enumSkipQuotes=w(E.enumSkipQuotes),this.hideSchemaTitles=w(E.hideSchemaTitles),this.simpleOneOfTypeLabel=w(E.simpleOneOfTypeLabel),this.payloadSampleIdx=b.normalizePayloadSampleIdx(E.payloadSampleIdx),this.expandSingleSchemaField=w(E.expandSingleSchemaField),this.schemaExpansionLevel=F(E.schemaExpansionLevel),this.samplesTabsMaxCount=j(E.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=E.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=w(E.unstable_ignoreMimeParameters),this.allowedMdComponents=E.allowedMdComponents||{},this.expandDefaultServerVariables=w(E.expandDefaultServerVariables),this.expandDefaultRequest=w(E.expandDefaultRequest,!0),this.expandDefaultResponse=w(E.expandDefaultResponse,!0),this.maxDisplayedEnumValues=B(E.maxDisplayedEnumValues);const Z=Array.isArray(E.ignoreNamedSchemas)?E.ignoreNamedSchemas:(ie=E.ignoreNamedSchemas)==null?void 0:ie.split(",").map(X=>X.trim());this.ignoreNamedSchemas=new Set(Z),this.unstable_externalCodeSamples=E.unstable_externalCodeSamples||[],this.hooks=E.hooks||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=w(E.hideSchemaPattern),this.hideOneOfDescription=w(E.hideOneOfDescription)}static normalizeExpandResponses(E){if(E==="all")return"all";if(typeof E=="string"){const q={};return E.split(",").forEach(ce=>{q[ce.trim()]=!0}),q}else E!==void 0&&console.warn(`expandResponses must be a string but received value "${E}" of type ${typeof E}`);return{}}static normalizeHideHostname(E){return!!E}static normalizeScrollYOffset(E){if(typeof E=="string"&&!(0,u.kE)(E)){const q=(0,u.R2)(E);q||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const ce=q&&q.getBoundingClientRect().bottom||0;return()=>ce}else{if(typeof E=="number"||(0,u.kE)(E))return()=>typeof E=="number"?E:parseFloat(E);if(typeof E=="function")return()=>{const q=E();return typeof q!="number"&&console.warn(`scrollYOffset should return number but returned value "${q}" of type ${typeof q}`),q};E!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(E){if(typeof E=="undefined")return!1;if(E==="")return!0;if(typeof E!="string")return E;switch(E){case"true":return!0;case"false":return!1;default:return E.split(",").map(q=>q.trim())}}static normalizePayloadSampleIdx(E){return typeof E=="number"?Math.max(0,E):typeof E=="string"&&isFinite(E)?parseInt(E,10):0}};let H=b;I([s.LO],H.prototype,"showConsole",2)},43339:(L,c,t)=>{"use strict";t.d(c,{a:()=>y});var s=t(11851),n=t.n(s),o=t(26729),i=t.n(o),a=t(36038),p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=(x,g,M)=>g in x?p(x,g,{enumerable:!0,configurable:!0,writable:!0,value:M}):x[g]=M,d=(x,g,M,A)=>{for(var _=A>1?void 0:A?u(g,M):g,R=x.length-1,I;R>=0;R--)(I=x[R])&&(_=(A?I(g,M,_):I(_))||_);return A&&_&&p(g,M,_),_},h=(x,g,M)=>(l(x,typeof g!="symbol"?g+"":g,M),M);const m="scroll";class y{constructor(g){this.options=g,h(this,"_scrollParent"),h(this,"_emitter"),h(this,"_prevOffsetY",0),this._scrollParent=a.Qg?window:void 0,this._emitter=new(i()),this.bind()}set prevOffsetY(g){this._prevOffsetY=g}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(m,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(m,this.handleScroll),this._emitter.removeAllListeners(m)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(g){if(g!==null)return g.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(g){if(g===null)return;const M=g.getBoundingClientRect().top;return(M>0?Math.floor(M):Math.ceil(M))<=this.options.scrollYOffset()}subscribe(g){const M=this._emitter.addListener(m,g);return()=>M.removeListener(m,g)}scrollIntoView(g,M){if(g!==null&&(g.scrollIntoView(M),this._scrollParent&&this._scrollParent.scrollBy)){const[A,_]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(A,_)}}scrollIntoViewBySelector(g,M){const A=(0,a.R2)(g);this.scrollIntoView(A,M)}handleScroll(){const M=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(m,M)}}d([s.bind,(0,a.Xo)(100)],y.prototype,"handleScroll",1)},22404:(L,c,t)=>{"use strict";t.d(c,{Z:()=>u});var s=t(52385),n=Object.defineProperty,o=(l,d,h)=>d in l?n(l,d,{enumerable:!0,configurable:!0,writable:!0,value:h}):l[d]=h,i=(l,d,h)=>(o(l,typeof d!="symbol"?d+"":d,h),h),a=(l,d,h)=>new Promise((m,y)=>{var x=A=>{try{M(h.next(A))}catch(_){y(_)}},g=A=>{try{M(h.throw(A))}catch(_){y(_)}},M=A=>A.done?m(A.value):Promise.resolve(A.value).then(x,g);M((h=h.apply(l,d)).next())});function p(){let l;if(s.Qg)try{l=t(83567)}catch(d){l=t(20027).ZP}else l=t(20027).ZP;return new l}class u{constructor(){i(this,"searchWorker",p())}indexItems(d){const h=m=>{m.forEach(y=>{y.type!=="group"&&this.add(y.name,y.description||"",y.id),h(y.items)})};h(d),this.searchWorker.done()}add(d,h,m){this.searchWorker.add(d,h,m)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(d){return this.searchWorker.search(d)}toJS(){return a(this,null,function*(){return this.searchWorker.toJS()})}load(d){this.searchWorker.load(d)}fromExternalJS(d,h){d&&h&&this.searchWorker.fromExternalJS(d,h)}}},20027:(L,c,t)=>{"use strict";t.d(c,{ZP:()=>u});var s=t(31336),n=t.n(s),o=Object.defineProperty,i=(w,B,j)=>B in w?o(w,B,{enumerable:!0,configurable:!0,writable:!0,value:j}):w[B]=j,a=(w,B,j)=>(i(w,typeof B!="symbol"?B+"":B,j),j),p=(w,B,j)=>new Promise((F,b)=>{var H=ce=>{try{q(j.next(ce))}catch(te){b(te)}},E=ce=>{try{q(j.throw(ce))}catch(te){b(te)}},q=ce=>ce.done?F(ce.value):Promise.resolve(ce.value).then(H,E);q((j=j.apply(w,B)).next())});class u{constructor(){a(this,"add",g),a(this,"done",M),a(this,"search",S),a(this,"toJS",A),a(this,"load",R),a(this,"dispose",I),a(this,"fromExternalJS",_)}}let l=[];s.tokenizer.separator=/\s+/;let d,h,m;function y(){d=new s.Builder,d.field("title"),d.field("description"),d.ref("ref"),d.pipeline.add(s.trimmer,s.stopWordFilter,s.stemmer),m=new Promise(w=>{h=w})}y();const x=w=>"*"+s.stemmer(new s.Token(w,{}))+"*";function g(w,B,j){const F=l.push(j)-1,b={title:w.toLowerCase(),description:B.toLowerCase(),ref:F};d.add(b)}function M(){return p(this,null,function*(){h(d.build())})}function A(){return p(this,null,function*(){return{store:l,index:(yield m).toJSON()}})}function _(w,B){return p(this,null,function*(){try{if(importScripts(w),!self[B])throw new Error("Broken index file format");yield R(self[B])}catch(j){console.error("Failed to load search index: "+j.message)}})}function R(w){return p(this,null,function*(){l=w.store,h(s.Index.load(w.index))})}function I(){return p(this,null,function*(){l=[],y()})}function S(w,B=0){return p(this,null,function*(){if(w.trim().length===0)return[];let j=(yield m).query(F=>{w.trim().toLowerCase().split(/\s+/).forEach(b=>{if(b.length===1)return;const H=x(b);F.term(H,{})})});return B>0&&(j=j.slice(0,B)),j.map(F=>({meta:l[F.ref],score:F.score}))})}},30960:(L,c,t)=>{"use strict";t.d(c,{p:()=>m});var s=t(34405),n=t(5062),o=t(54785),i=Object.defineProperty,a=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,l=(y,x,g)=>x in y?i(y,x,{enumerable:!0,configurable:!0,writable:!0,value:g}):y[x]=g,d=(y,x)=>{for(var g in x||(x={}))p.call(x,g)&&l(y,g,x[g]);if(a)for(var g of a(x))u.call(x,g)&&l(y,g,x[g]);return y},h=(y,x,g)=>(l(y,typeof x!="symbol"?x+"":x,g),g);class m{constructor(x,g,M){this.options=M,h(this,"parser"),h(this,"info"),h(this,"externalDocs"),h(this,"contentItems"),h(this,"securitySchemes"),h(this,"webhooks");var A,_,R;this.parser=new o.X(x,g,M),this.info=new n.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=s.r.buildStructure(this.parser,this.options),this.securitySchemes=new n.l2(this.parser);const I=d(d({},(_=(A=this.parser)==null?void 0:A.definition)==null?void 0:_["x-webhooks"]),(R=this.parser)==null?void 0:R.definition.webhooks);this.webhooks=new n.tf(this.parser,M,I)}}},13303:(L,c,t)=>{"use strict";t.d(c,{E:()=>s});const s="data-section-id",n="data-field-id"},99303:(L,c,t)=>{"use strict";t.d(c,{MarkdownRenderer:()=>n.$8,ScrollService:()=>a.a,SpecStore:()=>p.p,ClipboardService:()=>u.Y,MediaTypeModel:()=>d.$b,OperationModel:()=>d.pk,ResponseModel:()=>d.Cg,isPayloadSample:()=>d.G2,RedocNormalizedOptions:()=>h.V,argValueToBoolean:()=>h.m,GROUP_DEPTH:()=>m.t,Z:()=>y.Z,MarkerService:()=>x.u});var s=t(54785),n=t(16802),o=t(71790),i=t.n(o);t.o(o,"ClipboardService")&&t.d(c,{ClipboardService:function(){return o.ClipboardService}}),t.o(o,"GROUP_DEPTH")&&t.d(c,{GROUP_DEPTH:function(){return o.GROUP_DEPTH}}),t.o(o,"IS_BROWSER")&&t.d(c,{IS_BROWSER:function(){return o.IS_BROWSER}}),t.o(o,"JsonPointer")&&t.d(c,{JsonPointer:function(){return o.JsonPointer}}),t.o(o,"MarkerService")&&t.d(c,{MarkerService:function(){return o.MarkerService}}),t.o(o,"MediaTypeModel")&&t.d(c,{MediaTypeModel:function(){return o.MediaTypeModel}}),t.o(o,"OperationModel")&&t.d(c,{OperationModel:function(){return o.OperationModel}}),t.o(o,"RedocNormalizedOptions")&&t.d(c,{RedocNormalizedOptions:function(){return o.RedocNormalizedOptions}}),t.o(o,"ResponseModel")&&t.d(c,{ResponseModel:function(){return o.ResponseModel}}),t.o(o,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(c,{SCHEMA_DEFINITION_JSX_NAME:function(){return o.SCHEMA_DEFINITION_JSX_NAME}}),t.o(o,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(c,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return o.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(o,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(c,{SECURITY_DEFINITIONS_JSX_NAME:function(){return o.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(o,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(c,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return o.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(o,"ScrollService")&&t.d(c,{ScrollService:function(){return o.ScrollService}}),t.o(o,"SpecStore")&&t.d(c,{SpecStore:function(){return o.SpecStore}}),t.o(o,"ThemeProvider")&&t.d(c,{ThemeProvider:function(){return o.ThemeProvider}}),t.o(o,"ZERO_BREAKPOINT")&&t.d(c,{ZERO_BREAKPOINT:function(){return o.ZERO_BREAKPOINT}}),t.o(o,"argValueToBoolean")&&t.d(c,{argValueToBoolean:function(){return o.argValueToBoolean}}),t.o(o,"createGlobalStyle")&&t.d(c,{createGlobalStyle:function(){return o.createGlobalStyle}}),t.o(o,"createParsedDocument")&&t.d(c,{createParsedDocument:function(){return o.createParsedDocument}}),t.o(o,"css")&&t.d(c,{css:function(){return o.css}}),t.o(o,"flattenByProp")&&t.d(c,{flattenByProp:function(){return o.flattenByProp}}),t.o(o,"isOperationName")&&t.d(c,{isOperationName:function(){return o.isOperationName}}),t.o(o,"isPayloadSample")&&t.d(c,{isPayloadSample:function(){return o.isPayloadSample}}),t.o(o,"langFromMime")&&t.d(c,{langFromMime:function(){return o.langFromMime}}),t.o(o,"loadAndBundleDefinition")&&t.d(c,{loadAndBundleDefinition:function(){return o.loadAndBundleDefinition}}),t.o(o,"mediaCSS")&&t.d(c,{mediaCSS:function(){return o.mediaCSS}}),t.o(o,"mediaMap")&&t.d(c,{mediaMap:function(){return o.mediaMap}}),t.o(o,"querySelector")&&t.d(c,{querySelector:function(){return o.querySelector}}),t.o(o,"serializeParameterValue")&&t.d(c,{serializeParameterValue:function(){return o.serializeParameterValue}});var a=t(43339),p=t(30960),u=t(23424),l=t(94487),d=t(5062),h=t(98906),m=t(34405),y=t(22404),x=t(57180)},5062:(L,c,t)=>{"use strict";t.d(c,{Vg:()=>Qn,dZ:()=>h,$b:()=>jt,pk:()=>_n,Cg:()=>Ae,l2:()=>ar,tf:()=>dn,G2:()=>Ln});var s=t(30960),n=t(68949),o=t(36038),i=t(16802),a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,u=(Ge,be,ve)=>be in Ge?a(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,l=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?p(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&a(be,ve,lt),lt},d=(Ge,be,ve)=>(u(Ge,typeof be!="symbol"?be+"":be,ve),ve);class h{constructor(be,ve,Mt){d(this,"id"),d(this,"absoluteIdx"),d(this,"name"),d(this,"description"),d(this,"type"),d(this,"items",[]),d(this,"parent"),d(this,"externalDocs"),d(this,"active",!1),d(this,"expanded",!1),d(this,"depth"),d(this,"level"),(0,n.rC)(this),this.id=ve.id||be+"/"+(0,o.bO)(ve.name),this.type=be,this.name=ve["x-displayName"]||ve.name,this.level=ve.level||1,this.description=ve.description||"";const lt=ve.items;lt&<.length&&(this.description=i.$8.getTextBeforeHading(this.description,lt[0].name)),this.parent=Mt,this.externalDocs=ve.externalDocs,this.type==="group"&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){this.type!=="group"&&(this.expanded=!1)}deactivate(){this.active=!1}}l([n.LO],h.prototype,"active",2),l([n.LO],h.prototype,"expanded",2),l([n.aD],h.prototype,"activate",1),l([n.aD],h.prototype,"expand",1),l([n.aD],h.prototype,"collapse",1),l([n.aD],h.prototype,"deactivate",1);var m=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,_=(Ge,be,ve)=>be in Ge?m(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,R=(Ge,be)=>{for(var ve in be||(be={}))M.call(be,ve)&&_(Ge,ve,be[ve]);if(g)for(var ve of g(be))A.call(be,ve)&&_(Ge,ve,be[ve]);return Ge},I=(Ge,be)=>y(Ge,x(be)),S=(Ge,be,ve)=>(_(Ge,typeof be!="symbol"?be+"":be,ve),ve);class w{constructor(be,ve){S(this,"schemes");const Mt=ve.definition.components&&ve.definition.components.securitySchemes||{};this.schemes=Object.keys(be||{}).map(lt=>{const It=ve.deref(Mt[lt]),Qt=be[lt]||[];if(!It){console.warn(`Non existing security scheme referenced: ${lt}. Skipping`);return}return I(R({},It),{id:lt,sectionId:o.m$+lt,scopes:Qt})}).filter(lt=>lt!==void 0)}}var B=Object.defineProperty,j=Object.defineProperties,F=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,ce=(Ge,be,ve)=>be in Ge?B(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,te=(Ge,be)=>{for(var ve in be||(be={}))E.call(be,ve)&&ce(Ge,ve,be[ve]);if(H)for(var ve of H(be))q.call(be,ve)&&ce(Ge,ve,be[ve]);return Ge},Le=(Ge,be)=>j(Ge,b(be)),He=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?F(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&B(be,ve,lt),lt},Se=(Ge,be,ve)=>(ce(Ge,typeof be!="symbol"?be+"":be,ve),ve);class ie{constructor(be,ve,Mt,lt,It){Se(this,"expanded",!1),Se(this,"name"),Se(this,"operations",[]),(0,n.rC)(this),this.name=ve;const Qt=be.deref(Mt);be.exitRef(Mt);for(const mn of Object.keys(Qt)){const Ct=Qt[mn],Pn=Object.keys(Ct).filter(o.eU);for(const dt of Pn){const gn=Ct[dt],yn=new _n(be,Le(te({},gn),{pathName:mn,pointer:o.IB.compile([lt,ve,mn,dt]),httpVerb:dt,pathParameters:Ct.parameters||[],pathServers:Ct.servers}),void 0,It,!0);this.operations.push(yn)}}}toggle(){this.expanded=!this.expanded}}He([n.LO],ie.prototype,"expanded",2),He([n.aD],ie.prototype,"toggle",1);var le=t(51027),Z=Object.defineProperty,X=Object.defineProperties,ne=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,ze=(Ge,be,ve)=>be in Ge?Z(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,et=(Ge,be)=>{for(var ve in be||(be={}))he.call(be,ve)&&ze(Ge,ve,be[ve]);if(_e)for(var ve of _e(be))Re.call(be,ve)&&ze(Ge,ve,be[ve]);return Ge},Rt=(Ge,be)=>X(Ge,De(be)),Kt=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?ne(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&Z(be,ve,lt),lt},$t=(Ge,be,ve)=>(ze(Ge,typeof be!="symbol"?be+"":be,ve),ve);const ln=class{constructor(Ge,be,ve,Mt,lt=!1,It,Qt={}){this.parser=Ge,this.options=Mt,this.parent=It,this.deps=Qt,$t(this,"pointer"),$t(this,"type"),$t(this,"displayType"),$t(this,"typePrefix",""),$t(this,"title"),$t(this,"description"),$t(this,"externalDocs"),$t(this,"isPrimitive"),$t(this,"isCircular",!1),$t(this,"format"),$t(this,"displayFormat"),$t(this,"nullable"),$t(this,"deprecated"),$t(this,"pattern"),$t(this,"example"),$t(this,"enum"),$t(this,"default"),$t(this,"readOnly"),$t(this,"writeOnly"),$t(this,"constraints"),$t(this,"_fields"),$t(this,"items"),$t(this,"oneOf"),$t(this,"oneOfType"),$t(this,"discriminatorProp"),$t(this,"activeOneOf",0),$t(this,"rawSchema"),$t(this,"schema"),$t(this,"extensions"),$t(this,"x-enumDescriptions"),$t(this,"const"),$t(this,"contentEncoding"),$t(this,"contentMediaType"),$t(this,"minItems"),$t(this,"maxItems"),(0,n.rC)(this),this.pointer=be.$ref||ve||"",this.rawSchema=Ge.deref(be,!1,!0),this.schema=Ge.mergeAllOf(this.rawSchema,this.pointer,lt),this.init(Ge,lt),Ge.exitRef(be),Ge.exitParents(this.schema),Mt.showExtensions&&(this.extensions=(0,o.TQ)(this.schema,Mt.showExtensions))}activateOneOf(Ge){this.activeOneOf=Ge}hasType(Ge){return this.type===Ge||Array.isArray(this.type)&&this.type.includes(Ge)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=fe(this.parser,this.schema,this.pointer,this.options,this,this.deps)),this._fields}hasCircularParent(Ge){return!!(this.parent&&(Ge.some(ve=>{var Mt,lt;if(!ve)return!1;const It=this.parent;if((It==null?void 0:It.pointer)===ve||((lt=(Mt=It==null?void 0:It.schema.parentRefs)==null?void 0:Mt.some)==null?void 0:lt.call(Mt,Qt=>Qt===ve)))return!0})||this.parent.hasCircularParent(Ge)))}init(Ge,be){const ve=this.schema;if(this.isCircular=ve["x-circular-ref"]||this.hasCircularParent([this.pointer,...this.schema.parentRefs||[]]),this.title=ve.title||(0,o.lE)(this.pointer)&&o.IB.baseName(this.pointer)||"",this.description=ve.description||"",this.type=ve.type||(0,o.Vg)(ve),this.format=ve.format,this.enum=ve.enum||[],this["x-enumDescriptions"]=ve["x-enumDescriptions"],this.example=ve.example,this.deprecated=!!ve.deprecated,this.pattern=ve.pattern,this.externalDocs=ve.externalDocs,this.constraints=(0,o.V_)(ve),this.displayFormat=this.format,this.isPrimitive=(0,o.ty)(ve,this.type),this.default=ve.default,this.readOnly=!!ve.readOnly,this.writeOnly=!!ve.writeOnly,this.const=ve.const||"",this.contentEncoding=ve.contentEncoding,this.contentMediaType=ve.contentMediaType,this.minItems=ve.minItems,this.maxItems=ve.maxItems,(ve.nullable||ve["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some(Mt=>Mt===null||Mt==="null")?this.type=[...this.type,"null"]:!Array.isArray(this.type)&&(this.type!==null||this.type!=="null")&&(this.type=[this.type,"null"])),this.displayType=Array.isArray(this.type)?this.type.map(Mt=>Mt===null?"null":Mt).join(" or "):this.type,!this.isCircular){if(!be&&Xe(ve)!==void 0){this.initDiscriminator(ve,Ge);return}else be&&Array.isArray(ve.oneOf)&&ve.oneOf.find(Mt=>Mt.$ref===this.pointer)&&delete ve.oneOf;if(ve.oneOf!==void 0){this.initOneOf(ve.oneOf,Ge),this.oneOfType="One of",ve.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(ve.anyOf!==void 0){this.initOneOf(ve.anyOf,Ge),this.oneOfType="Any of";return}if(this.hasType("array")&&ve.items&&(this.items=new ln(Ge,ve.items,this.pointer+"/items",this.options,!1,this,this.deps),this.displayType=(0,o.NL)(this.items.displayType),this.displayFormat=this.items.format,this.typePrefix=this.items.typePrefix+(0,le.l)("arrayOf"),this.title=this.title||this.items.title,this.isPrimitive=this.items.isPrimitive,this.example===void 0&&this.items.example!==void 0&&(this.example=[this.items.example]),this.items.isPrimitive&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const Mt=this.type.filter(lt=>lt!=="array");Mt.length&&(this.displayType+=` or ${Mt.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ge,be){if(this.oneOf=Ge.map((ve,Mt)=>{const lt=be.deref(ve,!1,!0),It=be.mergeAllOf(lt,this.pointer+"/oneOf/"+Mt),Qt=(0,o.lE)(ve.$ref)&&!It.title?o.IB.baseName(ve.$ref):`${It.title||""}${It.const&&JSON.stringify(It.const)||""}`,mn=new ln(be,Rt(et({},It),{title:Qt,allOf:[Rt(et({},this.schema),{oneOf:void 0,anyOf:void 0})]}),this.pointer+"/oneOf/"+Mt,this.options,!1,this.parent,Rt(et({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+Mt:Mt.toString()}));return be.exitRef(ve),be.exitParents(It),mn}),this.options.simpleOneOfTypeLabel){const ve=ut(this);this.displayType=ve.join(" or ")}else this.displayType=this.oneOf.map(ve=>{let Mt=ve.typePrefix+(ve.title?`${ve.title} (${ve.displayType})`:ve.displayType);return Mt.indexOf(" or ")>-1&&(Mt=`(${Mt})`),Mt}).join(" or ")}initDiscriminator(Ge,be){const ve=Xe(Ge);this.discriminatorProp=ve==null?void 0:ve.propertyName;const Mt=be.findDerived([...Ge.parentRefs||[],this.pointer]);if(Ge.oneOf)for(const dt of Ge.oneOf){if(dt.$ref===void 0)continue;const gn=o.IB.baseName(dt.$ref);Mt[dt.$ref]=gn}const lt=(ve==null?void 0:ve.mapping)||{};let It=(ve==null?void 0:ve["x-explicitMappingOnly"])||!1;Object.keys(lt).length===0&&(It=!1);const Qt={};for(const dt in lt){const gn=lt[dt];Array.isArray(Qt[gn])?Qt[gn].push(dt):Qt[gn]=[dt]}const mn=et(It?{}:et({},Mt),Qt);let Ct=[];for(const dt of Object.keys(mn)){const gn=mn[dt];if(Array.isArray(gn))for(const yn of gn)Ct.push({$ref:dt,name:yn});else Ct.push({$ref:dt,name:gn})}const Pn=Object.keys(lt);Pn.length!==0&&(Ct=Ct.sort((dt,gn)=>{const yn=Pn.indexOf(dt.name),ir=Pn.indexOf(gn.name);return yn<0&&ir<0?dt.name.localeCompare(gn.name):yn<0?1:ir<0?-1:yn-ir})),this.oneOf=Ct.map(({$ref:dt,name:gn},yn)=>{const ir=new ln(be,be.byRef(dt),dt,this.options,!0,this.parent,Rt(et({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+yn:yn.toString()}));return ir.title=gn,ir})}};let k=ln;Kt([n.LO],k.prototype,"activeOneOf",2),Kt([n.aD],k.prototype,"activateOneOf",1);function fe(Ge,be,ve,Mt,lt,It){const Qt=be.properties||{},mn=be.additionalProperties,Ct=be.default||{};let Pn=Object.keys(Qt||[]).map(dt=>{let gn=Qt[dt];gn||(console.warn(`Field "${dt}" is invalid, skipping.
|
|
2463
|
+
Please report this to https://github.com/markedjs/marked.`,G.silent)return"<p>An error occurred:</p><pre>"+h(T.message+"",!0)+"</pre>";throw T}},Re.Parser=he,Re.parser=he.parse,Re.Renderer=ne,Re.TextRenderer=De,Re.Lexer=X,Re.lexer=X.lex,Re.Tokenizer=He,Re.Slugger=_e,Re.parse=Re;const ze=Re.options,et=Re.setOptions,Rt=Re.use,Kt=Re.walkTokens,$t=Re.parseInline,ln=null,k=he.parse,fe=X.lex;var Xe=t(36038),ut=Object.defineProperty,ue=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,P=(Ie,G,T)=>G in Ie?ut(Ie,G,{enumerable:!0,configurable:!0,writable:!0,value:T}):Ie[G]=T,Ne=(Ie,G)=>{for(var T in G||(G={}))re.call(G,T)&&P(Ie,T,G[T]);if(K)for(var T of K(G))Qe.call(G,T)&&P(Ie,T,G[T]);return Ie},Ye=(Ie,G)=>ue(Ie,xe(G)),ye=(Ie,G,T)=>(P(Ie,typeof G!="symbol"?G+"":G,T),T);const we=new Re.Renderer;Re.setOptions({renderer:we,highlight:(Ie,G)=>(0,Xe.CH)(Ie,G)});const $e="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",tt="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",bt="(?:"+$e+"|"+tt+")";function Ht(Ie){return`<!-- ReDoc-Inject: <${Ie}> -->`}class nn{constructor(G){this.options=G,ye(this,"headings",[]),ye(this,"currentTopHeading"),ye(this,"headingEnhanceRenderer"),ye(this,"originalHeadingRule"),ye(this,"parser"),ye(this,"headingRule",(T,Q,de,Ce)=>{var it,ct;return Q===1?this.currentTopHeading=this.saveHeading(T,Q):Q===2&&this.saveHeading(T,Q,(it=this.currentTopHeading)==null?void 0:it.items,(ct=this.currentTopHeading)==null?void 0:ct.id),this.originalHeadingRule(T,Q,de,Ce)}),this.headingEnhanceRenderer=new Re.Renderer,this.parser=new Re.Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule}static containsComponent(G,T){return new RegExp(bt.replace(/{component}/g,T),"gmi").test(G)}static getTextBeforeHading(G,T){const Q=G.search(new RegExp(`^(>\\s+##|##)?\\s+${T}`,"m"));return Q>-1?G.substring(0,Q):G}saveHeading(G,T,Q=this.headings,de){G=(0,Xe.Lf)(G);const Ce={id:de?`${de}/${(0,Xe.bO)(G)}`:`section/${(0,Xe.bO)(G)}`,name:G,level:T,items:[]};return Q.push(Ce),Ce}flattenHeadings(G){if(G===void 0)return[];const T=[];for(const Q of G)T.push(Q),T.push(...this.flattenHeadings(Q.items));return T}attachHeadingsDescriptions(G){const T=ct=>new RegExp(`##?\\s+${ct.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),Q=this.flattenHeadings(this.headings);if(Q.length<1)return;let de=Q[0],Ce=T(de),it=G.search(Ce);for(let ct=1;ct<Q.length;ct++){const jt=Q[ct],Pe=T(jt),je=G.substr(it+1).search(Pe)+it+1;de.description=G.substring(it,je).replace(Ce,"").trim(),de=jt,Ce=Pe,it=je}de.description=G.substring(it).replace(Ce,"").trim()}renderMd(G,T=!1){const Q=T?{renderer:this.headingEnhanceRenderer}:void 0;return Re(G.toString(),Q)}extractHeadings(G){this.renderMd(G,!0),this.attachHeadingsDescriptions(G);const T=this.headings;return this.headings=[],T}renderMdWithComponents(G){const T=this.options&&this.options.allowedMdComponents;if(!T||Object.keys(T).length===0)return[this.renderMd(G)];const Q=Object.keys(T).join("|"),de=new RegExp(bt.replace(/{component}/g,Q),"mig"),Ce=[],it=[];let ct=de.exec(G),jt=0;for(;ct;){Ce.push(G.substring(jt,ct.index)),jt=de.lastIndex;const je=ct[1]||ct[2]||ct[5],rt=T[je],pt=ct[3]||ct[6],ft=ct[4];rt&&it.push({component:rt.component,propsSelector:rt.propsSelector,props:Ye(Ne(Ne({},Ot(pt)),rt.props),{children:ft})}),ct=de.exec(G)}Ce.push(G.substring(jt));const Pe=[];for(let je=0;je<Ce.length;je++){const rt=Ce[je];rt&&Pe.push(this.renderMd(rt)),it[je]&&Pe.push(it[je])}return Pe}}function Ot(Ie){if(!Ie)return{};const G=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,T={};let Q;for(;(Q=G.exec(Ie))!==null;)if(Q[3])T[Q[1]]=Q[3];else if(Q[2]){let de;try{de=JSON.parse(Q[2])}catch(Ce){}T[Q[1]]=de}return T}},57180:(L,c,t)=>{"use strict";t.d(c,{u:()=>p});var s=t(813),n=t.n(s),o=Object.defineProperty,i=(u,l,d)=>l in u?o(u,l,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[l]=d,a=(u,l,d)=>(i(u,typeof l!="symbol"?l+"":l,d),d);class p{constructor(){a(this,"map",new Map),a(this,"prevTerm","")}add(l){this.map.set(l,new(n())(l))}delete(l){this.map.delete(l)}addOnly(l){this.map.forEach((d,h)=>{l.indexOf(h)===-1&&(d.unmark(),this.map.delete(h))});for(const d of l)this.map.has(d)||this.map.set(d,new(n())(d))}clearAll(){this.unmark(),this.map.clear()}mark(l){!l&&!this.prevTerm||(this.map.forEach(d=>{d.unmark(),d.mark(l||this.prevTerm)}),this.prevTerm=l||this.prevTerm)}unmark(){this.map.forEach(l=>l.unmark()),this.prevTerm=""}}},34405:(L,c,t)=>{"use strict";t.d(c,{t:()=>x,r:()=>g});var s=t(36038),n=t(16802),o=t(5062),i=Object.defineProperty,a=Object.defineProperties,p=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(M,A,_)=>A in M?i(M,A,{enumerable:!0,configurable:!0,writable:!0,value:_}):M[A]=_,m=(M,A)=>{for(var _ in A||(A={}))l.call(A,_)&&h(M,_,A[_]);if(u)for(var _ of u(A))d.call(A,_)&&h(M,_,A[_]);return M},y=(M,A)=>a(M,p(A));const x=0;class g{static buildStructure(A,_){const R=A.definition,I=[],S=g.getTagsWithOperations(A);return I.push(...g.addMarkdownItems(R.info.description||"",void 0,1,_)),R["x-tagGroups"]&&R["x-tagGroups"].length>0?I.push(...g.getTagGroupsItems(A,void 0,R["x-tagGroups"],S,_)):I.push(...g.getTagsItems(A,S,void 0,void 0,_)),I}static addMarkdownItems(A,_,R,I){const w=new n.$8(I).extractHeadings(A||"");w.length&&_&&_.description&&(_.description=n.$8.getTextBeforeHading(_.description,w[0].name));const B=(j,F,b=1)=>F.map(H=>{const E=new o.dZ("section",H,j);return E.depth=b,H.items&&(E.items=B(E,H.items,b+1)),n.$8.containsComponent(E.description||"",s.B5)&&(0,s.te)(E.id+"/"),E});return B(_,w,R)}static getTagGroupsItems(A,_,R,I,S){const w=[];for(const B of R){const j=new o.dZ("group",B,_);j.depth=x,j.items=g.getTagsItems(A,I,j,B,S),w.push(j)}return w}static getTagsItems(A,_,R,I,S){let w;I===void 0?w=Object.keys(_):w=I.tags;const B=w.map(F=>_[F]?(_[F].used=!0,_[F]):(console.warn(`Non-existing tag "${F}" is added to the group "${I==null?void 0:I.name}"`),null)),j=[];for(const F of B){if(!F)continue;const b=new o.dZ("tag",F,R);if(b.depth=x+1,F.name===""){const H=[...g.addMarkdownItems(F.description||"",b,b.depth+1,S),...this.getOperationsItems(A,void 0,F,b.depth+1,S)];j.push(...H);continue}b.items=[...g.addMarkdownItems(F.description||"",b,b.depth+1,S),...this.getOperationsItems(A,b,F,b.depth+1,S)],j.push(b)}return S.sortTagsAlphabetically&&j.sort((0,s.Bi)("name")),j}static getOperationsItems(A,_,R,I,S){if(R.operations.length===0)return[];const w=[];for(const B of R.operations){const j=new o.pk(A,B,_,S);j.depth=I,w.push(j)}return S.sortOperationsAlphabetically&&w.sort((0,s.Bi)("name")),w}static getTagsWithOperations(A){const _={},{definition:R}=A,I=R["x-webhooks"]||R.webhooks;for(const w of R.tags||[])_[w.name]=y(m({},w),{operations:[]});R.paths&&S(A,R.paths),I&&S(A,I,!0);function S(w,B,j){for(const F of Object.keys(B||{})){const b=B[F],H=Object.keys(b).filter(s.eU);for(const E of H){const q=b[E];if(b.$ref){const te=w.deref(b);S(w,{[F]:te},j);continue}let ce=q==null?void 0:q.tags;(!ce||!ce.length)&&(ce=[""]);for(const te of ce){let Le=_[te];Le===void 0&&(Le={name:te,operations:[]},_[te]=Le),!Le["x-traitTag"]&&Le.operations.push(y(m({},q),{pathName:F,pointer:s.IB.compile(["paths",F,E]),httpVerb:E,pathParameters:b.parameters||[],pathServers:b.servers,isWebhook:!!j}))}}}}return _}}},71790:()=>{},54785:(L,c,t)=>{"use strict";t.d(c,{X:()=>R});var s=t(8575),n=t(36038),o=t(71796),i=t(16802),a=t(98906),p=Object.defineProperty,u=Object.defineProperties,l=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(I,S,w)=>S in I?p(I,S,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[S]=w,x=(I,S)=>{for(var w in S||(S={}))h.call(S,w)&&y(I,w,S[w]);if(d)for(var w of d(S))m.call(S,w)&&y(I,w,S[w]);return I},g=(I,S)=>u(I,l(S)),M=(I,S)=>{var w={};for(var B in I)h.call(I,B)&&S.indexOf(B)<0&&(w[B]=I[B]);if(I!=null&&d)for(var B of d(I))S.indexOf(B)<0&&m.call(I,B)&&(w[B]=I[B]);return w},A=(I,S,w)=>(y(I,typeof S!="symbol"?S+"":S,w),w);class _{constructor(){A(this,"_counter",{})}reset(){this._counter={}}visit(S){this._counter[S]=this._counter[S]?this._counter[S]+1:1}exit(S){this._counter[S]=this._counter[S]&&this._counter[S]-1}visited(S){return!!this._counter[S]}}class R{constructor(S,w,B=new a.V({})){this.options=B,A(this,"definitionUrl"),A(this,"definition"),A(this,"hasSecurityDefinitions",!1),A(this,"_refCounter",new _),A(this,"allowMergeRefs",!1),A(this,"byRef",F=>{let b;if(!!this.definition){F.charAt(0)!=="#"&&(F="#"+F),F=decodeURIComponent(F);try{b=o.I.get(this.definition,F)}catch(H){}return b||{}}}),this.validate(S),this.preprocess(S),this.definition=S,this.hasSecurityDefinitions=this.containsSecurity(S),this.allowMergeRefs=S.openapi.startsWith("3.1");const j=n.Qg?window.location.href:"";typeof w=="string"&&(this.definitionUrl=(0,s.resolve)(j,w))}validate(S){if(S.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}containsSecurity(S){const w=S.info&&S.info.description||"";return i.$8.containsComponent(w,n.B5)||i.$8.containsComponent(w,n.c7)}preprocess(S){if(S.info&&this.options.hideInfoDescription){S.info.description="";return}if(!this.options.noAutoAuth&&S.info&&S.components&&S.components.securitySchemes){const w=S.info.description||"";if(!this.containsSecurity(S)){const B=(0,i.B2)(n.B5);S.info.description=(0,n.Rv)(w,"Authentication",B)}}}isRef(S){return S?(S=S,S.$ref!==void 0&&S.$ref!==null):!1}resetVisited(){this._refCounter=new _}exitRef(S){!this.isRef(S)||this._refCounter.exit(S.$ref)}deref(S,w=!1,B=!1){if(this.isRef(S)){const j=(0,n.ft)(S.$ref);if(j&&this.options.ignoreNamedSchemas.has(j))return{type:"object",title:j};const F=this.byRef(S.$ref),b=this._refCounter.visited(S.$ref);if(this._refCounter.visit(S.$ref),b&&!w)return Object.assign({},F,{"x-circular-ref":!0});let H=F;return this.isRef(F)&&(H=this.deref(F,!1,B),this.exitRef(F)),this.allowMergeRefs?this.mergeRefs(S,F,B):H}return S}mergeRefs(S,w,B){const j=S,{$ref:F}=j,b=M(j,["$ref"]),H=Object.keys(b);return H.length===0?w:B&&H.some(E=>E!=="description"&&E!=="title"&&E!=="externalDocs")?{allOf:[b,w]}:x(x({},w),b)}shallowDeref(S){if(this.isRef(S)){const w=(0,n.ft)(S.$ref);if(w&&this.options.ignoreNamedSchemas.has(w))return{type:"object",title:w};const B=this.byRef(S.$ref);return this.allowMergeRefs?this.mergeRefs(S,B,!1):B}return S}mergeAllOf(S,w,B=!1,j=new Set){var F;if(w&&j.add(w),S=this.hoistOneOfs(S),S.allOf===void 0)return S;let b=g(x({},S),{allOf:void 0,parentRefs:[],title:S.title||(0,n.ft)(w)});b.properties!==void 0&&typeof b.properties=="object"&&(b.properties=x({},b.properties)),b.items!==void 0&&typeof b.items=="object"&&(b.items=x({},b.items));const H=S.allOf.map(E=>{var q;if(E&&E.$ref&&j.has(E.$ref))return;const ce=this.deref(E,B,!0),te=E.$ref||void 0,Le=this.mergeAllOf(ce,te,B,j);return(q=b.parentRefs)==null||q.push(...Le.parentRefs||[]),{$ref:te,schema:Le}}).filter(E=>E!==void 0);for(const{$ref:E,schema:q}of H){if(b.type!==q.type&&b.type!==void 0&&q.type!==void 0&&console.warn(`Incompatible types in allOf at "${w}": "${b.type}" and "${q.type}"`),q.type!==void 0&&(b.type=q.type),q.properties!==void 0){b.properties=b.properties||{};for(const ce in q.properties)if(!b.properties[ce])b.properties[ce]=q.properties[ce];else{const te=this.mergeAllOf({allOf:[b.properties[ce],q.properties[ce]]},w+"/properties/"+ce);b.properties[ce]=te,this.exitParents(te)}}q.items!==void 0&&(b.items=b.items||{},b.items=this.mergeAllOf({allOf:[b.items,q.items]},w+"/items",!1,j)),q.required!==void 0&&(b.required=(b.required||[]).concat(q.required)),b=x(x({},q),b),E&&((F=b.parentRefs)==null||F.push(E),b.title===void 0&&(0,n.lE)(E))}return b}findDerived(S){const w={},B=this.definition.components&&this.definition.components.schemas||{};for(const j in B){const F=this.deref(B[j]);F.allOf!==void 0&&F.allOf.find(b=>b.$ref!==void 0&&S.indexOf(b.$ref)>-1)&&(w["#/components/schemas/"+j]=[F["x-discriminator-value"]||j])}return w}exitParents(S){for(const w of S.parentRefs||[])this.exitRef({$ref:w})}hoistOneOfs(S){if(S.allOf===void 0)return S;const w=S.allOf;for(let B=0;B<w.length;B++){const j=w[B];if(Array.isArray(j.oneOf)){const F=w.slice(0,B),b=w.slice(B+1);return{oneOf:j.oneOf.map(H=>{const E=this.mergeAllOf({allOf:[...F,H,...b]});return this.exitParents(E),E})}}}return S}}},98906:(L,c,t)=>{"use strict";t.d(c,{V:()=>H,m:()=>w});var s=t(68949),n=t(39895),o=t(61191);const a={spacing:{unit:5,sectionHorizontal:({spacing:E})=>E.unit*8,sectionVertical:({spacing:E})=>E.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.primary.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.primary.main),contrastText:({colors:E})=>(0,n.XV)(E.primary.main)},secondary:{main:"#E4E7EB",light:"#F5F7FA",dark:"#E4E7EB",contrastText:"#3E4C59"},accent:{main:"#59C3FF",light:"#b3dcf3",dark:"#033B73",contrastText:"#ffffff"},success:{main:"#41DE50",light:({colors:E})=>(0,n.$n)(E.tonalOffset*2,E.success.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.success.main),contrastText:({colors:E})=>(0,n.XV)(E.success.main)},warning:{main:"#ffa500",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.warning.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:E})=>(0,n.$n)(E.tonalOffset,E.error.main),dark:({colors:E})=>(0,n._j)(E.tonalOffset,E.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:E})=>E.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:E})=>E.responses.error.borderColor},redirect:{borderColor:({colors:E})=>E.warning.main,backgroundColor:({colors:E})=>(0,n.DZ)(.9,E.responses.redirect.borderColor),tabTextColor:({colors:E})=>E.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:E})=>(0,n.DZ)(.9,E.responses.info.borderColor),tabTextColor:({colors:E})=>E.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:E=>E.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:E=>E.colors.text.secondary,typeTitleColor:E=>E.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:E=>E.colors.secondary.light,caretColor:({colors:E})=>E.text.primary,caretSize:"9px"},typography:{fontSize:"14px",lineHeight:"1.5em",fontWeightRegular:"400",fontWeightBold:"600",fontWeightLight:"300",fontFamily:"Source Sans Pro, sans-serif",smoothing:"antialiased",optimizeSpeed:!0,headings:{fontFamily:({typography:E})=>E.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:E})=>E.lineHeight,fontWeight:({typography:E})=>E.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:E})=>E.primary.main,visited:({typography:E})=>E.links.color,hover:({typography:E})=>(0,n.$n)(.2,E.links.color),textDecoration:"auto"},fieldName:{fontSize:({typography:E})=>E.code.fontSize,fontFamily:({typography:E})=>E.code.fontFamily,fontWeight:({typography:E})=>E.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:E})=>E.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:E})=>E.textColor,caretSize:({sidebar:E})=>E.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:E})=>E.spacing.unit,paddingVertical:({sidebar:E})=>E.spacing.unit,offsetTop:({sidebar:E})=>E.spacing.unit*2,offsetLeft:({sidebar:E})=>E.spacing.unit*2,offsetNesting:({sidebar:E})=>E.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:E})=>E.fontFamily,fontSize:({typography:E})=>E.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:E=>E.colors.border.light,textColor:E=>E.colors.text.primary,activeTextColor:E=>E.sidebar.textColor,activeBgColor:E=>E.colors.border.light},components:{buttons:{borderRadius:({shape:E})=>E.borderRadius,hoverStyle:"",fontWeight:({typography:E})=>E.fontWeightBold,boxShadow:"none",hoverBoxShadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.1)",fontFamily:"inherit",sizes:{small:{fontSize:"12px",padding:"8px 10px",minWidth:"90px"},medium:{fontSize:"14px",padding:"8px 20px",minWidth:"120px"},large:{fontSize:"14px",padding:"12px 24px",minWidth:"150px"},xlarge:{fontSize:"16px",padding:"20px 24px",minWidth:"200px"}}},httpBadges:{borderRadius:"16px",fontFamily:({typography:E})=>E.code.fontFamily,fontWeight:({typography:E})=>E.fontWeightBold,color:({colors:E})=>E.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:E})=>E.width,maxWidth:({sidebar:E})=>E.width,gutter:"2px"},fab:{backgroundColor:"#f2f2f2",color:"#0065FB"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:E})=>E.panelControlsBackgroundColor},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[o.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[o.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function p(E){const q={};let ce=0;const te=(Le,He)=>{Object.keys(Le).forEach(Se=>{const ie=(He?He+".":"")+Se,le=Le[Se];typeof le=="function"?Object.defineProperty(Le,Se,{get(){if(!q[ie]){if(ce++,ce>1e3)throw new Error(`Theme probably contains circular dependency at ${ie}: ${le.toString()}`);q[ie]=le(E)}return q[ie]},enumerable:!0}):typeof le=="object"&&te(le,ie)})};return te(E,""),JSON.parse(JSON.stringify(E))}var u=t(36038),l=t(51027),d=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,A=(E,q,ce)=>q in E?d(E,q,{enumerable:!0,configurable:!0,writable:!0,value:ce}):E[q]=ce,_=(E,q)=>{for(var ce in q||(q={}))g.call(q,ce)&&A(E,ce,q[ce]);if(x)for(var ce of x(q))M.call(q,ce)&&A(E,ce,q[ce]);return E},R=(E,q)=>h(E,y(q)),I=(E,q,ce,te)=>{for(var Le=te>1?void 0:te?m(q,ce):q,He=E.length-1,Se;He>=0;He--)(Se=E[He])&&(Le=(te?Se(q,ce,Le):Se(Le))||Le);return te&&Le&&d(q,ce,Le),Le},S=(E,q,ce)=>(A(E,typeof q!="symbol"?q+"":q,ce),ce);function w(E,q){return E===void 0?q||!1:typeof E=="string"?E!=="false":E}function B(E){if(typeof E=="string")return parseInt(E,10);if(typeof E=="number")return E}function j(E){if(typeof E=="string")return parseInt(E,10);if(typeof E=="number")return Math.ceil(E)}function F(E,q=0){return E==="all"?1/0:j(E)||q}const b=class{constructor(E,q={}){S(this,"theme"),S(this,"scrollYOffset"),S(this,"hideHostname"),S(this,"hideInfoDescription"),S(this,"expandResponses"),S(this,"requiredPropsFirst"),S(this,"sortPropsAlphabetically"),S(this,"sortEnumValuesAlphabetically"),S(this,"sortOperationsAlphabetically"),S(this,"sortTagsAlphabetically"),S(this,"noAutoAuth"),S(this,"nativeScrollbars"),S(this,"pathInMiddlePanel"),S(this,"untrustedDefinition"),S(this,"hideDownloadButton"),S(this,"disableSearch"),S(this,"showChangeLayoutButton"),S(this,"onlyRequiredInSamples"),S(this,"showConsole"),S(this,"sendXUserAgentInTryIt"),S(this,"generatedPayloadSamplesMaxDepth"),S(this,"showExtensions"),S(this,"hideSingleRequestSampleTab"),S(this,"hideRequestPayloadSample"),S(this,"menuToggle"),S(this,"jsonSampleExpandLevel"),S(this,"enumSkipQuotes"),S(this,"hideSchemaTitles"),S(this,"simpleOneOfTypeLabel"),S(this,"payloadSampleIdx"),S(this,"expandSingleSchemaField"),S(this,"schemaExpansionLevel"),S(this,"samplesTabsMaxCount"),S(this,"unstable_tryItButtonOverride"),S(this,"allowedMdComponents"),S(this,"expandDefaultServerVariables"),S(this,"expandDefaultRequest"),S(this,"expandDefaultResponse"),S(this,"maxDisplayedEnumValues"),S(this,"ignoreNamedSchemas"),S(this,"unstable_ignoreMimeParameters"),S(this,"unstable_externalCodeSamples"),S(this,"hooks"),S(this,"hideSchemaPattern"),S(this,"hideOneOfDescription"),S(this,"hideFab");var ce,te,Le,He,Se,ie;(0,s.rC)(this),E=_(_({},q),E);const le=(ce=E.theme)==null?void 0:ce.extensionsHook;((te=E.theme)==null?void 0:te.menu)&&!((Le=E.theme)==null?void 0:Le.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),E.theme.sidebar=E.theme.menu),((He=E.theme)==null?void 0:He.codeSample)&&!((Se=E.theme)==null?void 0:Se.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),E.theme.codeBlock=E.theme.codeSample),this.theme=p((0,u.PM)({},a,R(_({},E.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[X,ne]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[X]=`@media screen and (min-width: ${ne})`;this.theme.extensionsHook=le,(0,l.W)(E.labels),this.scrollYOffset=b.normalizeScrollYOffset(E.scrollYOffset),this.hideHostname=b.normalizeHideHostname(E.hideHostname),this.expandResponses=b.normalizeExpandResponses(E.expandResponses),this.requiredPropsFirst=w(E.requiredPropsFirst),this.sortPropsAlphabetically=w(E.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=w(E.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=w(E.sortOperationsAlphabetically),this.sortTagsAlphabetically=w(E.sortTagsAlphabetically),this.noAutoAuth=w(E.noAutoAuth),this.nativeScrollbars=w(E.nativeScrollbars),this.pathInMiddlePanel=w(E.pathInMiddlePanel),this.untrustedDefinition=w(E.untrustedDefinition),this.hideDownloadButton=E.hideDownloadButton===void 0?null:w(E.hideDownloadButton),this.hideInfoDescription=w(E.hideInfoDescription),this.disableSearch=w(E.disableSearch),this.onlyRequiredInSamples=w(E.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=j(E.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=w(E.sendXUserAgentInTryIt),this.showExtensions=b.normalizeShowExtensions(E.showExtensions),this.hideSingleRequestSampleTab=w(E.hideSingleRequestSampleTab),this.hideRequestPayloadSample=w(E.hideRequestPayloadSample),this.menuToggle=w(E.menuToggle,!0),this.jsonSampleExpandLevel=F(E.jsonSampleExpandLevel,2),this.enumSkipQuotes=w(E.enumSkipQuotes),this.hideSchemaTitles=w(E.hideSchemaTitles),this.simpleOneOfTypeLabel=w(E.simpleOneOfTypeLabel),this.payloadSampleIdx=b.normalizePayloadSampleIdx(E.payloadSampleIdx),this.expandSingleSchemaField=w(E.expandSingleSchemaField),this.schemaExpansionLevel=F(E.schemaExpansionLevel),this.samplesTabsMaxCount=j(E.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=E.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=w(E.unstable_ignoreMimeParameters),this.allowedMdComponents=E.allowedMdComponents||{},this.expandDefaultServerVariables=w(E.expandDefaultServerVariables),this.expandDefaultRequest=w(E.expandDefaultRequest,!0),this.expandDefaultResponse=w(E.expandDefaultResponse,!0),this.maxDisplayedEnumValues=B(E.maxDisplayedEnumValues);const Z=Array.isArray(E.ignoreNamedSchemas)?E.ignoreNamedSchemas:(ie=E.ignoreNamedSchemas)==null?void 0:ie.split(",").map(X=>X.trim());this.ignoreNamedSchemas=new Set(Z),this.unstable_externalCodeSamples=E.unstable_externalCodeSamples||[],this.hooks=E.hooks||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=w(E.hideSchemaPattern),this.hideOneOfDescription=w(E.hideOneOfDescription),this.hideFab=w(E.hideFab)}static normalizeExpandResponses(E){if(E==="all")return"all";if(typeof E=="string"){const q={};return E.split(",").forEach(ce=>{q[ce.trim()]=!0}),q}else E!==void 0&&console.warn(`expandResponses must be a string but received value "${E}" of type ${typeof E}`);return{}}static normalizeHideHostname(E){return!!E}static normalizeScrollYOffset(E){if(typeof E=="string"&&!(0,u.kE)(E)){const q=(0,u.R2)(E);q||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const ce=q&&q.getBoundingClientRect().bottom||0;return()=>ce}else{if(typeof E=="number"||(0,u.kE)(E))return()=>typeof E=="number"?E:parseFloat(E);if(typeof E=="function")return()=>{const q=E();return typeof q!="number"&&console.warn(`scrollYOffset should return number but returned value "${q}" of type ${typeof q}`),q};E!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(E){if(typeof E=="undefined")return!1;if(E==="")return!0;if(typeof E!="string")return E;switch(E){case"true":return!0;case"false":return!1;default:return E.split(",").map(q=>q.trim())}}static normalizePayloadSampleIdx(E){return typeof E=="number"?Math.max(0,E):typeof E=="string"&&isFinite(E)?parseInt(E,10):0}};let H=b;I([s.LO],H.prototype,"showConsole",2)},43339:(L,c,t)=>{"use strict";t.d(c,{a:()=>y});var s=t(11851),n=t.n(s),o=t(26729),i=t.n(o),a=t(36038),p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=(x,g,M)=>g in x?p(x,g,{enumerable:!0,configurable:!0,writable:!0,value:M}):x[g]=M,d=(x,g,M,A)=>{for(var _=A>1?void 0:A?u(g,M):g,R=x.length-1,I;R>=0;R--)(I=x[R])&&(_=(A?I(g,M,_):I(_))||_);return A&&_&&p(g,M,_),_},h=(x,g,M)=>(l(x,typeof g!="symbol"?g+"":g,M),M);const m="scroll";class y{constructor(g){this.options=g,h(this,"_scrollParent"),h(this,"_emitter"),h(this,"_prevOffsetY",0),this._scrollParent=a.Qg?window:void 0,this._emitter=new(i()),this.bind()}set prevOffsetY(g){this._prevOffsetY=g}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(m,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(m,this.handleScroll),this._emitter.removeAllListeners(m)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(g){if(g!==null)return g.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(g){if(g===null)return;const M=g.getBoundingClientRect().top;return(M>0?Math.floor(M):Math.ceil(M))<=this.options.scrollYOffset()}subscribe(g){const M=this._emitter.addListener(m,g);return()=>M.removeListener(m,g)}scrollIntoView(g,M){if(g!==null&&(g.scrollIntoView(M),this._scrollParent&&this._scrollParent.scrollBy)){const[A,_]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(A,_)}}scrollIntoViewBySelector(g,M){const A=(0,a.R2)(g);this.scrollIntoView(A,M)}handleScroll(){const M=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(m,M)}}d([s.bind,(0,a.Xo)(100)],y.prototype,"handleScroll",1)},22404:(L,c,t)=>{"use strict";t.d(c,{Z:()=>u});var s=t(52385),n=Object.defineProperty,o=(l,d,h)=>d in l?n(l,d,{enumerable:!0,configurable:!0,writable:!0,value:h}):l[d]=h,i=(l,d,h)=>(o(l,typeof d!="symbol"?d+"":d,h),h),a=(l,d,h)=>new Promise((m,y)=>{var x=A=>{try{M(h.next(A))}catch(_){y(_)}},g=A=>{try{M(h.throw(A))}catch(_){y(_)}},M=A=>A.done?m(A.value):Promise.resolve(A.value).then(x,g);M((h=h.apply(l,d)).next())});function p(){let l;if(s.Qg)try{l=t(83567)}catch(d){l=t(20027).ZP}else l=t(20027).ZP;return new l}class u{constructor(){i(this,"searchWorker",p())}indexItems(d){const h=m=>{m.forEach(y=>{y.type!=="group"&&this.add(y.name,y.description||"",y.id),h(y.items)})};h(d),this.searchWorker.done()}add(d,h,m){this.searchWorker.add(d,h,m)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(d){return this.searchWorker.search(d)}toJS(){return a(this,null,function*(){return this.searchWorker.toJS()})}load(d){this.searchWorker.load(d)}fromExternalJS(d,h){d&&h&&this.searchWorker.fromExternalJS(d,h)}}},20027:(L,c,t)=>{"use strict";t.d(c,{ZP:()=>u});var s=t(31336),n=t.n(s),o=Object.defineProperty,i=(w,B,j)=>B in w?o(w,B,{enumerable:!0,configurable:!0,writable:!0,value:j}):w[B]=j,a=(w,B,j)=>(i(w,typeof B!="symbol"?B+"":B,j),j),p=(w,B,j)=>new Promise((F,b)=>{var H=ce=>{try{q(j.next(ce))}catch(te){b(te)}},E=ce=>{try{q(j.throw(ce))}catch(te){b(te)}},q=ce=>ce.done?F(ce.value):Promise.resolve(ce.value).then(H,E);q((j=j.apply(w,B)).next())});class u{constructor(){a(this,"add",g),a(this,"done",M),a(this,"search",S),a(this,"toJS",A),a(this,"load",R),a(this,"dispose",I),a(this,"fromExternalJS",_)}}let l=[];s.tokenizer.separator=/\s+/;let d,h,m;function y(){d=new s.Builder,d.field("title"),d.field("description"),d.ref("ref"),d.pipeline.add(s.trimmer,s.stopWordFilter,s.stemmer),m=new Promise(w=>{h=w})}y();const x=w=>"*"+s.stemmer(new s.Token(w,{}))+"*";function g(w,B,j){const F=l.push(j)-1,b={title:w.toLowerCase(),description:B.toLowerCase(),ref:F};d.add(b)}function M(){return p(this,null,function*(){h(d.build())})}function A(){return p(this,null,function*(){return{store:l,index:(yield m).toJSON()}})}function _(w,B){return p(this,null,function*(){try{if(importScripts(w),!self[B])throw new Error("Broken index file format");yield R(self[B])}catch(j){console.error("Failed to load search index: "+j.message)}})}function R(w){return p(this,null,function*(){l=w.store,h(s.Index.load(w.index))})}function I(){return p(this,null,function*(){l=[],y()})}function S(w,B=0){return p(this,null,function*(){if(w.trim().length===0)return[];let j=(yield m).query(F=>{w.trim().toLowerCase().split(/\s+/).forEach(b=>{if(b.length===1)return;const H=x(b);F.term(H,{})})});return B>0&&(j=j.slice(0,B)),j.map(F=>({meta:l[F.ref],score:F.score}))})}},30960:(L,c,t)=>{"use strict";t.d(c,{p:()=>m});var s=t(34405),n=t(5062),o=t(54785),i=Object.defineProperty,a=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,l=(y,x,g)=>x in y?i(y,x,{enumerable:!0,configurable:!0,writable:!0,value:g}):y[x]=g,d=(y,x)=>{for(var g in x||(x={}))p.call(x,g)&&l(y,g,x[g]);if(a)for(var g of a(x))u.call(x,g)&&l(y,g,x[g]);return y},h=(y,x,g)=>(l(y,typeof x!="symbol"?x+"":x,g),g);class m{constructor(x,g,M){this.options=M,h(this,"parser"),h(this,"info"),h(this,"externalDocs"),h(this,"contentItems"),h(this,"securitySchemes"),h(this,"webhooks");var A,_,R;this.parser=new o.X(x,g,M),this.info=new n.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=s.r.buildStructure(this.parser,this.options),this.securitySchemes=new n.l2(this.parser);const I=d(d({},(_=(A=this.parser)==null?void 0:A.definition)==null?void 0:_["x-webhooks"]),(R=this.parser)==null?void 0:R.definition.webhooks);this.webhooks=new n.tf(this.parser,M,I)}}},13303:(L,c,t)=>{"use strict";t.d(c,{E:()=>s});const s="data-section-id",n="data-field-id"},99303:(L,c,t)=>{"use strict";t.d(c,{MarkdownRenderer:()=>n.$8,ScrollService:()=>a.a,SpecStore:()=>p.p,ClipboardService:()=>u.Y,MediaTypeModel:()=>d.$b,OperationModel:()=>d.pk,ResponseModel:()=>d.Cg,isPayloadSample:()=>d.G2,RedocNormalizedOptions:()=>h.V,argValueToBoolean:()=>h.m,GROUP_DEPTH:()=>m.t,Z:()=>y.Z,MarkerService:()=>x.u});var s=t(54785),n=t(16802),o=t(71790),i=t.n(o);t.o(o,"ClipboardService")&&t.d(c,{ClipboardService:function(){return o.ClipboardService}}),t.o(o,"GROUP_DEPTH")&&t.d(c,{GROUP_DEPTH:function(){return o.GROUP_DEPTH}}),t.o(o,"IS_BROWSER")&&t.d(c,{IS_BROWSER:function(){return o.IS_BROWSER}}),t.o(o,"JsonPointer")&&t.d(c,{JsonPointer:function(){return o.JsonPointer}}),t.o(o,"MarkerService")&&t.d(c,{MarkerService:function(){return o.MarkerService}}),t.o(o,"MediaTypeModel")&&t.d(c,{MediaTypeModel:function(){return o.MediaTypeModel}}),t.o(o,"OperationModel")&&t.d(c,{OperationModel:function(){return o.OperationModel}}),t.o(o,"RedocNormalizedOptions")&&t.d(c,{RedocNormalizedOptions:function(){return o.RedocNormalizedOptions}}),t.o(o,"ResponseModel")&&t.d(c,{ResponseModel:function(){return o.ResponseModel}}),t.o(o,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(c,{SCHEMA_DEFINITION_JSX_NAME:function(){return o.SCHEMA_DEFINITION_JSX_NAME}}),t.o(o,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(c,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return o.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(o,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(c,{SECURITY_DEFINITIONS_JSX_NAME:function(){return o.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(o,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(c,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return o.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(o,"ScrollService")&&t.d(c,{ScrollService:function(){return o.ScrollService}}),t.o(o,"SpecStore")&&t.d(c,{SpecStore:function(){return o.SpecStore}}),t.o(o,"ThemeProvider")&&t.d(c,{ThemeProvider:function(){return o.ThemeProvider}}),t.o(o,"ZERO_BREAKPOINT")&&t.d(c,{ZERO_BREAKPOINT:function(){return o.ZERO_BREAKPOINT}}),t.o(o,"argValueToBoolean")&&t.d(c,{argValueToBoolean:function(){return o.argValueToBoolean}}),t.o(o,"createGlobalStyle")&&t.d(c,{createGlobalStyle:function(){return o.createGlobalStyle}}),t.o(o,"createParsedDocument")&&t.d(c,{createParsedDocument:function(){return o.createParsedDocument}}),t.o(o,"css")&&t.d(c,{css:function(){return o.css}}),t.o(o,"flattenByProp")&&t.d(c,{flattenByProp:function(){return o.flattenByProp}}),t.o(o,"isOperationName")&&t.d(c,{isOperationName:function(){return o.isOperationName}}),t.o(o,"isPayloadSample")&&t.d(c,{isPayloadSample:function(){return o.isPayloadSample}}),t.o(o,"langFromMime")&&t.d(c,{langFromMime:function(){return o.langFromMime}}),t.o(o,"loadAndBundleDefinition")&&t.d(c,{loadAndBundleDefinition:function(){return o.loadAndBundleDefinition}}),t.o(o,"mediaCSS")&&t.d(c,{mediaCSS:function(){return o.mediaCSS}}),t.o(o,"mediaMap")&&t.d(c,{mediaMap:function(){return o.mediaMap}}),t.o(o,"querySelector")&&t.d(c,{querySelector:function(){return o.querySelector}}),t.o(o,"serializeParameterValue")&&t.d(c,{serializeParameterValue:function(){return o.serializeParameterValue}});var a=t(43339),p=t(30960),u=t(23424),l=t(94487),d=t(5062),h=t(98906),m=t(34405),y=t(22404),x=t(57180)},5062:(L,c,t)=>{"use strict";t.d(c,{Vg:()=>Qn,dZ:()=>h,$b:()=>jt,pk:()=>_n,Cg:()=>Ae,l2:()=>ar,tf:()=>dn,G2:()=>Ln});var s=t(30960),n=t(68949),o=t(36038),i=t(16802),a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,u=(Ge,be,ve)=>be in Ge?a(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,l=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?p(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&a(be,ve,lt),lt},d=(Ge,be,ve)=>(u(Ge,typeof be!="symbol"?be+"":be,ve),ve);class h{constructor(be,ve,Mt){d(this,"id"),d(this,"absoluteIdx"),d(this,"name"),d(this,"description"),d(this,"type"),d(this,"items",[]),d(this,"parent"),d(this,"externalDocs"),d(this,"active",!1),d(this,"expanded",!1),d(this,"depth"),d(this,"level"),(0,n.rC)(this),this.id=ve.id||be+"/"+(0,o.bO)(ve.name),this.type=be,this.name=ve["x-displayName"]||ve.name,this.level=ve.level||1,this.description=ve.description||"";const lt=ve.items;lt&<.length&&(this.description=i.$8.getTextBeforeHading(this.description,lt[0].name)),this.parent=Mt,this.externalDocs=ve.externalDocs,this.type==="group"&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){this.type!=="group"&&(this.expanded=!1)}deactivate(){this.active=!1}}l([n.LO],h.prototype,"active",2),l([n.LO],h.prototype,"expanded",2),l([n.aD],h.prototype,"activate",1),l([n.aD],h.prototype,"expand",1),l([n.aD],h.prototype,"collapse",1),l([n.aD],h.prototype,"deactivate",1);var m=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,_=(Ge,be,ve)=>be in Ge?m(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,R=(Ge,be)=>{for(var ve in be||(be={}))M.call(be,ve)&&_(Ge,ve,be[ve]);if(g)for(var ve of g(be))A.call(be,ve)&&_(Ge,ve,be[ve]);return Ge},I=(Ge,be)=>y(Ge,x(be)),S=(Ge,be,ve)=>(_(Ge,typeof be!="symbol"?be+"":be,ve),ve);class w{constructor(be,ve){S(this,"schemes");const Mt=ve.definition.components&&ve.definition.components.securitySchemes||{};this.schemes=Object.keys(be||{}).map(lt=>{const It=ve.deref(Mt[lt]),Qt=be[lt]||[];if(!It){console.warn(`Non existing security scheme referenced: ${lt}. Skipping`);return}return I(R({},It),{id:lt,sectionId:o.m$+lt,scopes:Qt})}).filter(lt=>lt!==void 0)}}var B=Object.defineProperty,j=Object.defineProperties,F=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,ce=(Ge,be,ve)=>be in Ge?B(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,te=(Ge,be)=>{for(var ve in be||(be={}))E.call(be,ve)&&ce(Ge,ve,be[ve]);if(H)for(var ve of H(be))q.call(be,ve)&&ce(Ge,ve,be[ve]);return Ge},Le=(Ge,be)=>j(Ge,b(be)),He=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?F(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&B(be,ve,lt),lt},Se=(Ge,be,ve)=>(ce(Ge,typeof be!="symbol"?be+"":be,ve),ve);class ie{constructor(be,ve,Mt,lt,It){Se(this,"expanded",!1),Se(this,"name"),Se(this,"operations",[]),(0,n.rC)(this),this.name=ve;const Qt=be.deref(Mt);be.exitRef(Mt);for(const mn of Object.keys(Qt)){const Ct=Qt[mn],Pn=Object.keys(Ct).filter(o.eU);for(const dt of Pn){const gn=Ct[dt],yn=new _n(be,Le(te({},gn),{pathName:mn,pointer:o.IB.compile([lt,ve,mn,dt]),httpVerb:dt,pathParameters:Ct.parameters||[],pathServers:Ct.servers}),void 0,It,!0);this.operations.push(yn)}}}toggle(){this.expanded=!this.expanded}}He([n.LO],ie.prototype,"expanded",2),He([n.aD],ie.prototype,"toggle",1);var le=t(51027),Z=Object.defineProperty,X=Object.defineProperties,ne=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,ze=(Ge,be,ve)=>be in Ge?Z(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,et=(Ge,be)=>{for(var ve in be||(be={}))he.call(be,ve)&&ze(Ge,ve,be[ve]);if(_e)for(var ve of _e(be))Re.call(be,ve)&&ze(Ge,ve,be[ve]);return Ge},Rt=(Ge,be)=>X(Ge,De(be)),Kt=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?ne(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&Z(be,ve,lt),lt},$t=(Ge,be,ve)=>(ze(Ge,typeof be!="symbol"?be+"":be,ve),ve);const ln=class{constructor(Ge,be,ve,Mt,lt=!1,It,Qt={}){this.parser=Ge,this.options=Mt,this.parent=It,this.deps=Qt,$t(this,"pointer"),$t(this,"type"),$t(this,"displayType"),$t(this,"typePrefix",""),$t(this,"title"),$t(this,"description"),$t(this,"externalDocs"),$t(this,"isPrimitive"),$t(this,"isCircular",!1),$t(this,"format"),$t(this,"displayFormat"),$t(this,"nullable"),$t(this,"deprecated"),$t(this,"pattern"),$t(this,"example"),$t(this,"enum"),$t(this,"default"),$t(this,"readOnly"),$t(this,"writeOnly"),$t(this,"constraints"),$t(this,"_fields"),$t(this,"items"),$t(this,"oneOf"),$t(this,"oneOfType"),$t(this,"discriminatorProp"),$t(this,"activeOneOf",0),$t(this,"rawSchema"),$t(this,"schema"),$t(this,"extensions"),$t(this,"x-enumDescriptions"),$t(this,"const"),$t(this,"contentEncoding"),$t(this,"contentMediaType"),$t(this,"minItems"),$t(this,"maxItems"),(0,n.rC)(this),this.pointer=be.$ref||ve||"",this.rawSchema=Ge.deref(be,!1,!0),this.schema=Ge.mergeAllOf(this.rawSchema,this.pointer,lt),this.init(Ge,lt),Ge.exitRef(be),Ge.exitParents(this.schema),Mt.showExtensions&&(this.extensions=(0,o.TQ)(this.schema,Mt.showExtensions))}activateOneOf(Ge){this.activeOneOf=Ge}hasType(Ge){return this.type===Ge||Array.isArray(this.type)&&this.type.includes(Ge)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=fe(this.parser,this.schema,this.pointer,this.options,this,this.deps)),this._fields}hasCircularParent(Ge){return!!(this.parent&&(Ge.some(ve=>{var Mt,lt;if(!ve)return!1;const It=this.parent;if((It==null?void 0:It.pointer)===ve||((lt=(Mt=It==null?void 0:It.schema.parentRefs)==null?void 0:Mt.some)==null?void 0:lt.call(Mt,Qt=>Qt===ve)))return!0})||this.parent.hasCircularParent(Ge)))}init(Ge,be){const ve=this.schema;if(this.isCircular=ve["x-circular-ref"]||this.hasCircularParent([this.pointer,...this.schema.parentRefs||[]]),this.title=ve.title||(0,o.lE)(this.pointer)&&o.IB.baseName(this.pointer)||"",this.description=ve.description||"",this.type=ve.type||(0,o.Vg)(ve),this.format=ve.format,this.enum=ve.enum||[],this["x-enumDescriptions"]=ve["x-enumDescriptions"],this.example=ve.example,this.deprecated=!!ve.deprecated,this.pattern=ve.pattern,this.externalDocs=ve.externalDocs,this.constraints=(0,o.V_)(ve),this.displayFormat=this.format,this.isPrimitive=(0,o.ty)(ve,this.type),this.default=ve.default,this.readOnly=!!ve.readOnly,this.writeOnly=!!ve.writeOnly,this.const=ve.const||"",this.contentEncoding=ve.contentEncoding,this.contentMediaType=ve.contentMediaType,this.minItems=ve.minItems,this.maxItems=ve.maxItems,(ve.nullable||ve["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some(Mt=>Mt===null||Mt==="null")?this.type=[...this.type,"null"]:!Array.isArray(this.type)&&(this.type!==null||this.type!=="null")&&(this.type=[this.type,"null"])),this.displayType=Array.isArray(this.type)?this.type.map(Mt=>Mt===null?"null":Mt).join(" or "):this.type,!this.isCircular){if(!be&&Xe(ve)!==void 0){this.initDiscriminator(ve,Ge);return}else be&&Array.isArray(ve.oneOf)&&ve.oneOf.find(Mt=>Mt.$ref===this.pointer)&&delete ve.oneOf;if(ve.oneOf!==void 0){this.initOneOf(ve.oneOf,Ge),this.oneOfType="One of",ve.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(ve.anyOf!==void 0){this.initOneOf(ve.anyOf,Ge),this.oneOfType="Any of";return}if(this.hasType("array")&&ve.items&&(this.items=new ln(Ge,ve.items,this.pointer+"/items",this.options,!1,this,this.deps),this.displayType=(0,o.NL)(this.items.displayType),this.displayFormat=this.items.format,this.typePrefix=this.items.typePrefix+(0,le.l)("arrayOf"),this.title=this.title||this.items.title,this.isPrimitive=this.items.isPrimitive,this.example===void 0&&this.items.example!==void 0&&(this.example=[this.items.example]),this.items.isPrimitive&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const Mt=this.type.filter(lt=>lt!=="array");Mt.length&&(this.displayType+=` or ${Mt.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ge,be){if(this.oneOf=Ge.map((ve,Mt)=>{const lt=be.deref(ve,!1,!0),It=be.mergeAllOf(lt,this.pointer+"/oneOf/"+Mt),Qt=(0,o.lE)(ve.$ref)&&!It.title?o.IB.baseName(ve.$ref):`${It.title||""}${It.const&&JSON.stringify(It.const)||""}`,mn=new ln(be,Rt(et({},It),{title:Qt,allOf:[Rt(et({},this.schema),{oneOf:void 0,anyOf:void 0})]}),this.pointer+"/oneOf/"+Mt,this.options,!1,this.parent,Rt(et({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+Mt:Mt.toString()}));return be.exitRef(ve),be.exitParents(It),mn}),this.options.simpleOneOfTypeLabel){const ve=ut(this);this.displayType=ve.join(" or ")}else this.displayType=this.oneOf.map(ve=>{let Mt=ve.typePrefix+(ve.title?`${ve.title} (${ve.displayType})`:ve.displayType);return Mt.indexOf(" or ")>-1&&(Mt=`(${Mt})`),Mt}).join(" or ")}initDiscriminator(Ge,be){const ve=Xe(Ge);this.discriminatorProp=ve==null?void 0:ve.propertyName;const Mt=be.findDerived([...Ge.parentRefs||[],this.pointer]);if(Ge.oneOf)for(const dt of Ge.oneOf){if(dt.$ref===void 0)continue;const gn=o.IB.baseName(dt.$ref);Mt[dt.$ref]=gn}const lt=(ve==null?void 0:ve.mapping)||{};let It=(ve==null?void 0:ve["x-explicitMappingOnly"])||!1;Object.keys(lt).length===0&&(It=!1);const Qt={};for(const dt in lt){const gn=lt[dt];Array.isArray(Qt[gn])?Qt[gn].push(dt):Qt[gn]=[dt]}const mn=et(It?{}:et({},Mt),Qt);let Ct=[];for(const dt of Object.keys(mn)){const gn=mn[dt];if(Array.isArray(gn))for(const yn of gn)Ct.push({$ref:dt,name:yn});else Ct.push({$ref:dt,name:gn})}const Pn=Object.keys(lt);Pn.length!==0&&(Ct=Ct.sort((dt,gn)=>{const yn=Pn.indexOf(dt.name),ir=Pn.indexOf(gn.name);return yn<0&&ir<0?dt.name.localeCompare(gn.name):yn<0?1:ir<0?-1:yn-ir})),this.oneOf=Ct.map(({$ref:dt,name:gn},yn)=>{const ir=new ln(be,be.byRef(dt),dt,this.options,!0,this.parent,Rt(et({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+yn:yn.toString()}));return ir.title=gn,ir})}};let k=ln;Kt([n.LO],k.prototype,"activeOneOf",2),Kt([n.aD],k.prototype,"activateOneOf",1);function fe(Ge,be,ve,Mt,lt,It){const Qt=be.properties||{},mn=be.additionalProperties,Ct=be.default||{};let Pn=Object.keys(Qt||[]).map(dt=>{let gn=Qt[dt];gn||(console.warn(`Field "${dt}" is invalid, skipping.
|
|
2461
2464
|
Field must be an object but got ${typeof gn} at "${ve}"`),gn={});const yn=be.required===void 0?!1:be.required.indexOf(dt)>-1;return new Q(Ge,{name:dt,required:yn,schema:Rt(et({},gn),{default:gn.default===void 0&&Ct?Ct[dt]:gn.default})},ve+"/properties/"+dt,Mt,lt,It)});return Mt.sortPropsAlphabetically&&(Pn=(0,o.L1)(Pn,"name")),Mt.requiredPropsFirst&&(Pn=(0,o.T4)(Pn,Mt.sortPropsAlphabetically?void 0:be.required)),(typeof mn=="object"||mn===!0)&&Pn.push(new Q(Ge,{name:(typeof mn=="object"&&mn["x-additionalPropertiesName"]||"property name").concat("*"),required:!1,schema:mn===!0?{}:mn,kind:"additionalProperties"},ve+"/additionalProperties",Mt,lt,It)),Pn}function Xe(Ge){return Ge.discriminator||Ge["x-discriminator"]}function ut(Ge){const be=new Set;function ve(Mt){for(const lt of Mt.oneOf||[]){if(lt.oneOf){ve(lt);continue}lt.type&&be.add(lt.type)}}return ve(Ge),Array.from(be.values())}var ue=t(8575),xe=Object.defineProperty,K=(Ge,be,ve)=>be in Ge?xe(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,re=(Ge,be,ve)=>(K(Ge,typeof be!="symbol"?be+"":be,ve),ve);const Qe={};class P{constructor(be,ve,Mt,lt){this.mime=Mt,re(this,"value"),re(this,"summary"),re(this,"description"),re(this,"externalValueUrl");const It=be.deref(ve);this.value=It.value,this.summary=It.summary,this.description=It.description,It.externalValue&&(this.externalValueUrl=(0,ue.resolve)(be.definitionUrl||"",It.externalValue)),be.exitRef(ve),(0,o.og)(Mt)&&this.value&&typeof this.value=="object"&&(this.value=(0,o.TE)(this.value,lt))}getExternalValue(be){return this.externalValueUrl?this.externalValueUrl in Qe?Qe[this.externalValueUrl]:(Qe[this.externalValueUrl]=fetch(this.externalValueUrl).then(ve=>ve.text().then(Mt=>{if(!ve.ok)return Promise.reject(new Error(Mt));if((0,o.Yi)(be))try{return JSON.parse(Mt)}catch(lt){return Mt}else return Mt})),Qe[this.externalValueUrl]):Promise.resolve(void 0)}}var Ne=Object.defineProperty,Ye=Object.defineProperties,ye=Object.getOwnPropertyDescriptor,we=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Ht=(Ge,be,ve)=>be in Ge?Ne(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,nn=(Ge,be)=>{for(var ve in be||(be={}))tt.call(be,ve)&&Ht(Ge,ve,be[ve]);if($e)for(var ve of $e(be))bt.call(be,ve)&&Ht(Ge,ve,be[ve]);return Ge},Ot=(Ge,be)=>Ye(Ge,we(be)),Ie=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?ye(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&Ne(be,ve,lt),lt},G=(Ge,be,ve)=>(Ht(Ge,typeof be!="symbol"?be+"":be,ve),ve);const T={path:{style:"simple",explode:!1},query:{style:"form",explode:!0},header:{style:"simple",explode:!1},cookie:{style:"form",explode:!0}};class Q{constructor(be,ve,Mt,lt,It,Qt={}){this.deps=Qt,G(this,"expanded"),G(this,"schema"),G(this,"name"),G(this,"required"),G(this,"description"),G(this,"example"),G(this,"examples"),G(this,"deprecated"),G(this,"in"),G(this,"kind"),G(this,"extensions"),G(this,"explode"),G(this,"style"),G(this,"const"),G(this,"serializationMime"),G(this,"fieldFullPath");var mn,Ct,Pn,dt,gn;(0,n.rC)(this);const yn=be.deref(ve);this.kind=ve.kind||"field",this.name=ve.name||yn.name,this.in=yn.in,this.required=!!yn.required;let ir=yn.schema,zn="";!ir&&yn.in&&yn.content&&(zn=Object.keys(yn.content)[0],ir=yn.content[zn]&&yn.content[zn].schema),this.fieldFullPath=this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+lt.deepLinkSeparator+this.name:this.name,this.schema=new k(be,ir||{},Mt,lt,!1,It,Ot(nn({},Qt),{parentFieldFullPath:this.fieldFullPath,in:this.in})),this.description=yn.description===void 0?this.schema.description||"":yn.description,this.example=yn.example||this.schema.example,yn.examples!==void 0&&(this.examples=(0,o.Q8)(yn.examples,(Rr,kr)=>new P(be,Rr,kr,yn.encoding))),zn?this.serializationMime=zn:yn.style?this.style=yn.style:this.in&&(this.style=(Ct=(mn=T[this.in])==null?void 0:mn.style)!=null?Ct:"form"),yn.explode===void 0&&this.in?this.explode=(dt=(Pn=T[this.in])==null?void 0:Pn.explode)!=null?dt:!0:this.explode=!!yn.explode,this.deprecated=yn.deprecated===void 0?this.schema.deprecated:yn.deprecated,be.exitRef(ve),lt.showExtensions&&(this.extensions=(0,o.TQ)(yn,lt.showExtensions)),this.const=((gn=this.schema)==null?void 0:gn.const)||(yn==null?void 0:yn.const)||""}toggle(){this.expanded=!this.expanded}collapse(){this.expanded=!1}expand(){this.expanded=!0}}Ie([n.LO],Q.prototype,"expanded",2),Ie([n.aD],Q.prototype,"toggle",1),Ie([n.aD],Q.prototype,"collapse",1),Ie([n.aD],Q.prototype,"expand",1);var de=t(89124),Ce=Object.defineProperty,it=(Ge,be,ve)=>be in Ge?Ce(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,ct=(Ge,be,ve)=>(it(Ge,typeof be!="symbol"?be+"":be,ve),ve);class jt{constructor(be,ve,Mt,lt,It,{operation:Qt,type:mn,response:Ct}={}){this.options=It,ct(this,"examples"),ct(this,"schema"),ct(this,"name"),ct(this,"isRequestType"),ct(this,"onlyRequiredInSamples"),ct(this,"operation"),this.name=ve,this.operation=Qt,this.isRequestType=Mt,this.schema=lt.schema&&new k(be,lt.schema,"",It,void 0,void 0,{operation:Qt,type:mn,response:Ct}),this.onlyRequiredInSamples=It.onlyRequiredInSamples,lt.examples!==void 0?this.examples=(0,o.Q8)(lt.examples,Pn=>new P(be,Pn,ve,lt.encoding)):lt.example!==void 0?this.examples={default:new P(be,{value:be.shallowDeref(lt.example)},ve,lt.encoding)}:(0,o.Yi)(ve)&&this.generateExample(be,lt)}generateExample(be,ve){const Mt={skipReadOnly:this.isRequestType,skipWriteOnly:!this.isRequestType,skipNonRequired:this.isRequestType&&this.onlyRequiredInSamples,maxSampleDepth:this.options.generatedPayloadSamplesMaxDepth};if(this.schema&&this.schema.oneOf){this.examples={};for(const lt of this.schema.oneOf){const It=de.UP(lt.rawSchema,Mt,be.definition);this.schema.discriminatorProp&&typeof It=="object"&&It&&(It[this.schema.discriminatorProp]=lt.title),this.examples[lt.title]=new P(be,{value:It},this.name,ve.encoding)}}else this.schema&&(this.examples={default:new P(be,{value:de.UP(ve.schema,Mt,be.definition)},this.name,ve.encoding)})}}var Pe=Object.defineProperty,je=Object.getOwnPropertyDescriptor,rt=(Ge,be,ve)=>be in Ge?Pe(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,pt=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?je(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&Pe(be,ve,lt),lt},ft=(Ge,be,ve)=>(rt(Ge,typeof be!="symbol"?be+"":be,ve),ve);class vt{constructor(be,ve,Mt,lt,{operation:It,type:Qt,response:mn}={}){this.isRequestType=Mt,ft(this,"mediaTypes"),ft(this,"operation"),this.operation=It,lt.unstable_ignoreMimeParameters&&(ve=(0,o.gr)(ve)),this.mediaTypes=Object.keys(ve).map(Ct=>{const Pn=ve[Ct];return be.resetVisited(),new jt(be,Ct,Mt,Pn,lt,{operation:It,type:Qt,response:mn})})}activate(be){var ve;(ve=this.operation)==null||ve.activateMimeName(be)}get active(){return this.mediaTypes.find(be=>{var ve;return be.name===((ve=this.operation)==null?void 0:ve.activeMimeName)})||this.mediaTypes[0]}get hasSample(){return this.mediaTypes.filter(be=>!!be.examples).length>0}}pt([n.aD],vt.prototype,"activate",1),pt([n.Fl],vt.prototype,"active",1);var un=Object.defineProperty,cn=(Ge,be,ve)=>be in Ge?un(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,qt=(Ge,be,ve)=>(cn(Ge,typeof be!="symbol"?be+"":be,ve),ve);class hn{constructor(be){qt(this,"description"),qt(this,"required"),qt(this,"content");const{parser:ve,infoOrRef:Mt,options:lt,isEvent:It,operation:Qt}=be,mn=!It,Ct=ve.deref(Mt);this.description=Ct.description||"",this.required=!!Ct.required,ve.exitRef(Mt);const Pn=(0,o.qW)(Ct);Pn!==void 0&&(this.content=new vt(ve,Pn,mn,lt,{operation:Qt,type:"request"}))}}var tr=Object.defineProperty,An=Object.defineProperties,Gn=Object.getOwnPropertyDescriptor,Cn=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,kt=(Ge,be,ve)=>be in Ge?tr(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,St=(Ge,be)=>{for(var ve in be||(be={}))Me.call(be,ve)&&kt(Ge,ve,be[ve]);if(Oe)for(var ve of Oe(be))Ve.call(be,ve)&&kt(Ge,ve,be[ve]);return Ge},At=(Ge,be)=>An(Ge,Cn(be)),Zt=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?Gn(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&tr(be,ve,lt),lt},tn=(Ge,be,ve)=>(kt(Ge,typeof be!="symbol"?be+"":be,ve),ve);class Ae{constructor(be){tn(this,"expanded",!1),tn(this,"content"),tn(this,"code"),tn(this,"summary"),tn(this,"description"),tn(this,"type"),tn(this,"headers",[]);const{parser:ve,code:Mt,defaultAsError:lt,infoOrRef:It,options:Qt,isEvent:mn,operation:Ct}=be,Pn=!!mn;(0,n.rC)(this),this.expanded=Qt.expandResponses==="all"||Qt.expandResponses[Mt];const dt=ve.deref(It);ve.exitRef(It),this.code=Mt;const gn=(0,o.qW)(dt);gn!==void 0&&(this.content=new vt(ve,gn,Pn,Qt,{operation:Ct,type:"response",response:this})),dt["x-summary"]!==void 0?(this.summary=dt["x-summary"],this.description=dt.description||""):(this.summary=dt.description||"",this.description=""),this.type=(0,o.YS)(Mt,lt);const yn=dt.headers;yn!==void 0&&(this.headers=Object.keys(yn).map(ir=>{const zn=yn[ir];return new Q(ve,At(St({},zn),{name:ir}),"",Qt,void 0,{operation:Ct,type:"response",response:this})}))}toggle(){this.expanded=!this.expanded}expand(){this.expanded=!0}}Zt([n.LO],Ae.prototype,"expanded",2),Zt([n.aD],Ae.prototype,"toggle",1),Zt([n.aD],Ae.prototype,"expand",1);var ot=t(99098),Pt=t(7241),zt=Object.defineProperty,Gt=Object.defineProperties,en=Object.getOwnPropertyDescriptor,Ue=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Nt=(Ge,be,ve)=>be in Ge?zt(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,Jt=(Ge,be)=>{for(var ve in be||(be={}))Ke.call(be,ve)&&Nt(Ge,ve,be[ve]);if(at)for(var ve of at(be))ht.call(be,ve)&&Nt(Ge,ve,be[ve]);return Ge},Yt=(Ge,be)=>Gt(Ge,Ue(be)),sn=(Ge,be,ve,Mt)=>{for(var lt=Mt>1?void 0:Mt?en(be,ve):be,It=Ge.length-1,Qt;It>=0;It--)(Qt=Ge[It])&&(lt=(Mt?Qt(be,ve,lt):Qt(lt))||lt);return Mt&<&&zt(be,ve,lt),lt},Sn=(Ge,be,ve)=>(Nt(Ge,typeof be!="symbol"?be+"":be,ve),ve);function Ln(Ge){return Ge.lang==="payload"&&"requestBodyContent"in Ge}let rr=!1;class _n{constructor(be,ve,Mt,lt,It=!1){this.parser=be,this.operationDefinition=ve,this.options=lt,Sn(this,"id"),Sn(this,"absoluteIdx"),Sn(this,"name"),Sn(this,"description"),Sn(this,"href"),Sn(this,"type","operation"),Sn(this,"parent"),Sn(this,"externalDocs"),Sn(this,"items",[]),Sn(this,"depth"),Sn(this,"ready",!0),Sn(this,"active",!1),Sn(this,"expanded",!1),Sn(this,"activeMimeName"),Sn(this,"activeExampleName"),Sn(this,"activeServer"),Sn(this,"defaultExampleName"),Sn(this,"defaultMimeType"),Sn(this,"pointer"),Sn(this,"operationId"),Sn(this,"httpVerb"),Sn(this,"deprecated"),Sn(this,"path"),Sn(this,"servers"),Sn(this,"security"),Sn(this,"extensions"),Sn(this,"isCallback"),Sn(this,"isWebhook"),Sn(this,"isEvent");var Qt,mn;(0,n.rC)(this),this.pointer=ve.pointer,this.description=ve.description,this.parent=Mt,this.externalDocs=ve.externalDocs,this.deprecated=!!ve.deprecated,this.httpVerb=ve.httpVerb,this.deprecated=!!ve.deprecated,this.operationId=ve.operationId,this.path=ve.pathName,this.isCallback=It,this.isWebhook=ve.isWebhook,this.isEvent=this.isCallback||this.isWebhook,this.name=(0,o.ED)(ve),this.defaultExampleName=ve.defaultSampleName;const Ct=(mn=(Qt=this.requestBody)==null?void 0:Qt.content)==null?void 0:mn.mediaTypes,[Pn]=Ct||[],[dt]=Object.keys((Pn==null?void 0:Pn.examples)||[]);this.activeExampleName=ve.defaultSampleName===!1?!1:ve.defaultSampleName||dt,this.defaultMimeType=ve.defaultMimeType;const gn=Ct==null?void 0:Ct.find(yn=>yn.name===ve.defaultMimeType);this.activeMimeName=(gn==null?void 0:gn.name)||(Pn==null?void 0:Pn.name),this.isCallback?(this.security=(ve.security||[]).map(yn=>new w(yn,be)),this.servers=(0,o.Dm)("",ve.servers||ve.pathServers||[])):(this.id=(0,o.XO)(ve.operationId!==void 0?"operation/"+ve.operationId:Mt!==void 0?Mt.id+this.pointer:this.pointer),this.security=(ve.security||be.definition.security||[]).map(yn=>new w(yn,be)),this.servers=(0,o.Dm)(be.definitionUrl,ve.servers||ve.pathServers||be.definition.servers||[])),lt.showExtensions&&(this.extensions=(0,o.TQ)(ve,lt.showExtensions)),this.activeServer=(0,Pt.wM)(this.servers)}activate(){this.active=!0}deactivate(){this.active=!1}toggle(){this.expanded=!this.expanded}activateMimeName(be){this.activeMimeName=be}activateExampleName(be){this.activeExampleName=be}expand(){this.parent&&this.parent.expand()}collapse(){}get requestBody(){return this.operationDefinition.requestBody&&new hn({parser:this.parser,infoOrRef:this.operationDefinition.requestBody,options:this.options,operation:this,isEvent:this.isEvent})}get payload(){var be;const ve=(be=this.requestBody)==null?void 0:be.content;return(ve==null?void 0:ve.hasSample)?{lang:"payload",label:"Payload",source:"",requestBodyContent:ve}:void 0}get hasSamples(){var be,ve;return((ve=(be=this.requestBody)==null?void 0:be.content)==null?void 0:ve.hasSample)||this.definitionSamples.length>0}get definitionSamples(){const be=this.operationDefinition["x-codeSamples"]||this.operationDefinition["x-code-samples"]||[];return this.operationDefinition["x-code-samples"]&&!rr&&(rr=!0,console.warn('"x-code-samples" is deprecated. Use "x-codeSamples" instead')),be}get allCodeSamples(){var be;const{payloadSampleIdx:ve,hideRequestPayloadSample:Mt}=this.options;let lt=[];if(!this.isWebhook){const mn=this.options.generateCodeSamples||{},Ct=new Set(this.definitionSamples.map(({lang:dt})=>dt.toLowerCase())),Pn=((be=mn.languages)==null?void 0:be.filter(({lang:dt})=>!Ct.has(dt.toLowerCase())))||[];lt=this.generateCodeSamples(Pn,mn)}const It=this.definitionSamples.concat(lt),Qt=Math.min(It.length,ve);return this.payload&&!Mt&&It.splice(Qt,0,this.payload),It}get parameters(){const be=(0,o.Zd)(this.parser,this.operationDefinition.pathParameters,this.operationDefinition.parameters).map(ve=>new Q(this.parser,ve,this.pointer,this.options,void 0,{operation:this,type:"request"}));return this.options.sortPropsAlphabetically?(0,o.L1)(be,"name"):this.options.requiredPropsFirst?(0,o.T4)(be):be}get responses(){let be=!1;return Object.keys(this.operationDefinition.responses||[]).filter(ve=>ve==="default"?!0:((0,o.YS)(ve)==="success"&&(be=!0),(0,o.CX)(ve))).map(ve=>new Ae({parser:this.parser,code:ve,defaultAsError:be,infoOrRef:this.operationDefinition.responses[ve],options:this.options,isEvent:this.isEvent,operation:this}))}get callbacks(){return Object.keys(this.operationDefinition.callbacks||[]).map(be=>{var ve;return new ie(this.parser,be,(ve=this.operationDefinition.callbacks)==null?void 0:ve[be],this.pointer,this.options)})}setActiveServer(be){this.activeServer=be}generateCodeSamples(be,{skipOptionalParameters:ve,withOAuth2Call:Mt}){return be.map(({lang:lt,label:It,options:Qt})=>({lang:lt,label:It,get:mn=>(0,ot.aP)(Yt(Jt({},mn),{lang:lt,options:Yt(Jt({},Qt),{skipOptionalParameters:ve,withOAuth2Call:Mt,spec:this.parser.definition,generatedPayloadSamplesMaxDepth:this.options.generatedPayloadSamplesMaxDepth})}))}))}}sn([n.LO],_n.prototype,"ready",2),sn([n.LO],_n.prototype,"active",2),sn([n.LO],_n.prototype,"expanded",2),sn([n.LO],_n.prototype,"activeMimeName",2),sn([n.LO],_n.prototype,"activeExampleName",2),sn([n.LO.ref],_n.prototype,"activeServer",2),sn([n.aD],_n.prototype,"activate",1),sn([n.aD],_n.prototype,"deactivate",1),sn([n.aD],_n.prototype,"toggle",1),sn([n.aD],_n.prototype,"activateMimeName",1),sn([n.aD],_n.prototype,"activateExampleName",1),sn([o.HP],_n.prototype,"requestBody",1),sn([o.HP],_n.prototype,"payload",1),sn([o.HP],_n.prototype,"hasSamples",1),sn([o.HP],_n.prototype,"definitionSamples",1),sn([o.HP],_n.prototype,"allCodeSamples",1),sn([o.HP],_n.prototype,"parameters",1),sn([o.HP],_n.prototype,"responses",1),sn([o.HP],_n.prototype,"callbacks",1),sn([n.aD],_n.prototype,"setActiveServer",1);var qn=Object.defineProperty,er=(Ge,be,ve)=>be in Ge?qn(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,$n=(Ge,be,ve)=>(er(Ge,typeof be!="symbol"?be+"":be,ve),ve);class Qn{constructor(be){this.parser=be,$n(this,"title"),$n(this,"version"),$n(this,"description"),$n(this,"summary"),$n(this,"termsOfService"),$n(this,"contact"),$n(this,"license"),$n(this,"downloadFileName"),Object.assign(this,be.definition.info),this.description=be.definition.info.description||"",this.summary=be.definition.info.summary||"";const ve=this.description.search(/^##?\s+/m);ve>-1&&(this.description=this.description.substring(0,ve)),this.downloadFileName=this.getDownloadFileName()}get downloadLink(){if(this.parser.definitionUrl)return this.parser.definitionUrl;if(o.Qg&&window.Blob&&window.URL&&window.URL.createObjectURL){const be=new Blob([JSON.stringify(this.parser.definition,null,2)],{type:"application/json"});return window.URL.createObjectURL(be)}}getDownloadFileName(){if(!this.parser.definitionUrl)return"swagger.json"}}var Hn=t(70606),Xn=Object.defineProperty,Kn=(Ge,be,ve)=>be in Ge?Xn(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,fr=(Ge,be,ve)=>(Kn(Ge,typeof be!="symbol"?be+"":be,ve),ve);class or{constructor(be,ve,Mt){fr(this,"id"),fr(this,"sectionId"),fr(this,"type"),fr(this,"description"),fr(this,"apiKey"),fr(this,"http"),fr(this,"flows"),fr(this,"openId");const lt=be.deref(Mt);this.id=ve,this.sectionId=Hn.m$+ve,this.type=lt.type,this.description=lt.description||"",lt.type==="apiKey"&&(this.apiKey={name:lt.name,in:lt.in}),lt.type==="http"&&(this.http={scheme:lt.scheme,bearerFormat:lt.bearerFormat}),lt.type==="openIdConnect"&&(this.openId={connectUrl:lt.openIdConnectUrl}),lt.type==="oauth2"&<.flows&&(this.flows=lt.flows)}}class ar{constructor(be){fr(this,"schemes");const ve=be.definition.components&&be.definition.components.securitySchemes||{};this.schemes=Object.keys(ve).map(Mt=>new or(be,Mt,ve[Mt]))}}var Un=t(89642),Er=Object.defineProperty,jr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Lr=(Ge,be,ve)=>be in Ge?Er(Ge,be,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ge[be]=ve,Pr=(Ge,be)=>{for(var ve in be||(be={}))Br.call(be,ve)&&Lr(Ge,ve,be[ve]);if(gr)for(var ve of gr(be))Dr.call(be,ve)&&Lr(Ge,ve,be[ve]);return Ge},wn=(Ge,be)=>jr(Ge,Tr(be)),Dt=(Ge,be,ve)=>(Lr(Ge,typeof be!="symbol"?be+"":be,ve),ve);class dn{constructor(be,ve,Mt){Dt(this,"operations",[]);const lt=be.deref(Mt||{});be.exitRef(Mt),this.initWebhooks(be,lt,ve)}initWebhooks(be,ve,Mt){for(const lt of Object.keys(ve)){const It=ve[lt],Qt=Object.keys(It).filter(Un.isOperationName);for(const mn of Qt){const Ct=It[mn];if(It.$ref){const dt=be.deref(It||{});this.initWebhooks(be,{[mn]:dt},Mt)}if(!Ct)continue;const Pn=new _n(be,wn(Pr({},Ct),{httpVerb:mn}),void 0,Mt,!1);this.operations.push(Pn)}}}}},23485:(L,c,t)=>{"use strict";t.d(c,{iv:()=>i,vJ:()=>a,F4:()=>p,f6:()=>u,ZP:()=>l,aV:()=>d,QG:()=>n.QG,gN:()=>n.gN,QU:()=>n.QU});var s=t(29163),n=t(61191);const{default:o,css:i,createGlobalStyle:a,keyframes:p,ThemeProvider:u}=s,l=o;function d(h){return m=>{if(!!m.theme.extensionsHook)return m.theme.extensionsHook(h,m)}}},71796:(L,c,t)=>{"use strict";t.d(c,{I:()=>i});var s=t(83573),n=t.n(s);const o=n().parse;class i{static baseName(u="",l=1){const d=i.parse(u);return d[d.length-l]}static dirName(u,l=1){const d=i.parse(u);return n().compile(d.slice(0,d.length-l))}static relative(u,l){const d=i.parse(u);return i.parse(l).slice(d.length)}static parse(u=""){let l=u;return l.charAt(0)==="#"&&(l=l.substring(1)),o(l)}static join(u,l){const h=i.parse(u).concat(l);return n().compile(h)}static get(u,l){return n().get(u,l)}static compile(u){return n().compile(u)}static escape(u){return n().escape(u)}}n().parse=i.parse,Object.assign(i,n());var a=null},52385:(L,c,t)=>{"use strict";t.d(c,{Qg:()=>s,R2:()=>n});const s=typeof window!="undefined"&&"HTMLElement"in window;function n(i){return typeof document!="undefined"?document.querySelector(i):null}function o(i){return i.split(/<[^>]+>/).map(a=>a.trim()).filter(a=>a.length>0).join(" ")}typeof Element!="undefined"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(i){i=arguments.length===0?!0:!!i;const a=this.parentNode,p=window.getComputedStyle(a,void 0),u=parseInt(p.getPropertyValue("border-top-width"),10),l=parseInt(p.getPropertyValue("border-left-width"),10),d=this.offsetTop-a.offsetTop<a.scrollTop,h=this.offsetTop-a.offsetTop+this.clientHeight-u>a.scrollTop+a.clientHeight,m=this.offsetLeft-a.offsetLeft<a.scrollLeft,y=this.offsetLeft-a.offsetLeft+this.clientWidth-l>a.scrollLeft+a.clientWidth,x=d&&!h;(d||h)&&i&&(a.scrollTop=this.offsetTop-a.offsetTop-a.clientHeight/2-u+this.clientHeight/2),(m||y)&&i&&(a.scrollLeft=this.offsetLeft-a.offsetLeft-a.clientWidth/2-l+this.clientWidth/2),(d||h||m||y)&&!i&&this.scrollIntoView(x)})},10519:(L,c,t)=>{"use strict";t.d(c,{jW:()=>A,Q8:()=>_,PD:()=>R,kE:()=>S,Rv:()=>w,PM:()=>B,bO:()=>b,Kk:()=>E,bv:()=>q,MI:()=>ce,wK:()=>te,Lf:()=>He,XO:()=>Se});var s=t(31304),n=t.n(s),o=t(8575),i=t(61191),a=t(70606),p=t(71796),u=Object.defineProperty,l=Object.defineProperties,d=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(le,Z,X)=>Z in le?u(le,Z,{enumerable:!0,configurable:!0,writable:!0,value:X}):le[Z]=X,g=(le,Z)=>{for(var X in Z||(Z={}))m.call(Z,X)&&x(le,X,Z[X]);if(h)for(var X of h(Z))y.call(Z,X)&&x(le,X,Z[X]);return le},M=(le,Z)=>l(le,d(Z));function A(le,Z){const X=[];for(let ne=0;ne<le.length-1;ne++)X.push(Z(le[ne],!1));return le.length!==0&&X.push(Z(le[le.length-1],!0)),X}function _(le,Z){const X={};for(const ne in le)Object.prototype.hasOwnProperty.call(le,ne)&&(X[ne]=Z(le[ne],ne,le));return X}function R(le,Z){const X=[],ne=De=>{for(const _e of De)X.push(_e),_e[Z]&&ne(_e[Z])};return ne(le),X}function I(le){return le.endsWith("/")?le.substring(0,le.length-1):le}function S(le){return!isNaN(parseFloat(le))&&isFinite(le)}function w(le,Z,X){const ne=new RegExp(`(^|\\n)#\\s?${Z}\\s*\\n`,"i"),De=new RegExp(`((\\n|^)#\\s*${Z}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(ne.test(le))return le.replace(De,`$1
|
|
2462
2465
|
|
|
2463
2466
|
${X}
|
|
@@ -2968,7 +2971,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
2968
2971
|
* Redocly Reference Docs
|
|
2969
2972
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
2970
2973
|
* -------------------------------------------------------------
|
|
2971
|
-
* Version: "2.12.
|
|
2974
|
+
* Version: "2.12.4"
|
|
2972
2975
|
*/(()=>{var Y={336:(x,E,T)=>{var j,C;/**
|
|
2973
2976
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
2974
2977
|
* Copyright (C) 2020 Oliver Nightingale
|
|
@@ -3344,4 +3347,4 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3344
3347
|
${Ve} {
|
|
3345
3348
|
${({theme:pe,showRightPanel:ke,layout:qe})=>(0,A.mediaCSS)({width:{[A.ZERO_BREAKPOINT]:"none",small:`calc(100% - ${pe.sidebar.width})`},maxWidth:pe.layout[qe===R.N.THREE_PANEL&&ke?R.N.THREE_PANEL:R.N.STACKED].maxWidth})};
|
|
3346
3349
|
}
|
|
3347
|
-
`;let dt=class extends g.Component{constructor(pe){super(pe);Ct(this,"_observer"),Ct(this,"_updatedItems",!1),Ct(this,"rootElementRef",g.createRef()),Ct(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){this.props.store.onDidMount(),this._observer=(0,S.U5)(()=>this.props.store.menu.renderItems,()=>{this._updatedItems=!0})}componentDidUpdate(){this._updatedItems&&(this._updatedItems=!1,this.props.store.menu.scrollToActive())}componentWillUnmount(){this.props.store.dispose(),this._observer()}render(){const{store:{definition:pe,menu:ke,options:qe,search:Tt,marker:V}}=this.props,ee=this.props.store,me=ke.renderItems,{hideDownloadButton:Je}=qe;let yt=qe.hideInfoSection?!1:qe.pagination==="none"?!0:ee.menu.activeRenderItemIdx<=0;yt&&qe.pagination!=="none"&&qe.disableSidebar&&me[0]&&me[0].type!=="section"&&(yt=!1),this.props._forceRenderInfo&&(yt=!0);const Vt=!yt&&Je!==null&&!Je;return g.createElement(Er,{store:ee},g.createElement(Me,{className:"redoc-wrap",ref:this.rootElementRef},g.createElement(Pr,{l:ee.l}),g.createElement(Pn,{whiteLabel:qe.whiteLabel,showRightPanel:ee.showRightPanel,layout:ee.layout}),ee.tryItOperation&&g.createElement(Hn.M,{rootElement:this.rootElementRef.current,store:ee,operation:ee.tryItOperation,onClose:this.handleClose}),!qe.disableSidebar&&g.createElement(A.StickyResponsiveSidebar,{menu:ke,className:"menu-content"},!ee.options.hideLogo&&g.createElement(A.ApiLogo,{info:pe.info}),pe instanceof dn.C&&g.createElement(be,{spec:pe,onChange:fn=>{fn.idx!==void 0&&pe.changeVersion(fn.idx),ke.updateItemsByVersionChange(!0),ee.tryItOut(void 0)}}),!ee.options.disableSearch&&g.createElement(ie,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:V,setSearchValue:fn=>this.setState({searchPopUpValue:fn})}),g.createElement(A.SideMenu,{menu:ke})),g.createElement(Ve,{className:(ee.isLoading?"loading ":"")+"api-content",layout:ee.layout===R.N.THREE_PANEL&&ee.showRightPanel?R.N.THREE_PANEL:R.N.STACKED},qe.theme.layout.showDarkRightPanel&&ee.showRightPanel&&ee.layout!==R.N.STACKED&&g.createElement(kt,null),yt&&g.createElement(A.ApiInfo,{store:ee}),Vt&&g.createElement(Mt.C,{store:ee}),g.createElement(A.ContentItems,{items:me,store:ee}),qe.showNextButton&&g.createElement(en,{pagination:qe.pagination,menu:ke}),this.props.children),g.createElement(Pt,null,g.createElement(Gn,{store:ee,isVisible:ee.layout===R.N.THREE_PANEL}),g.createElement(ot,{store:ee,isVisible:ee.showRightPanel})),g.createElement(vt,{search:Tt,marker:V,menu:ke,onActivate:ke.activateAndScroll.bind(ke),options:qe,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:fn=>this.setState({searchPopUpValue:fn}),searchValue:this.state.searchPopUpValue}),qe.theme.layout.showDarkRightPanel&&ee.showRightPanel&&ee.layout!==R.N.STACKED&&g.createElement(St,null)))}};dt=mn([I.Pi],dt);function gn(pe){const{definition:ke,definitionUrl:qe,options:Tt={},activeItemId:V,activeSampleLanguage:ee,activeDeepLink:me}=pe,Je=(0,A.argValueToBoolean)(Tt.hideLoading,!1),yt=new A.RedocNormalizedOptions(Tt),Vt=g.createElement(Ln,{definition:ke,definitionUrl:qe,options:Tt,activeItemId:V,activeSampleLanguage:ee,activeDeepLink:me},({loading:fn,store:On})=>fn?Je?null:g.createElement(A.Loading,{color:yt.theme.colors.primary.main}):g.createElement(dt,{store:On}));return Tt.disableErrorBoundary?Vt:g.createElement(A.ErrorBoundary,null,Vt)}class yn extends g.Component{render(){const{definitions:ke,options:qe={}}=this.props,Tt=(0,A.argValueToBoolean)(qe.hideLoading,!1),V=new A.RedocNormalizedOptions(qe);return g.createElement(A.ErrorBoundary,null,g.createElement(Ln,{definitions:ke,options:qe},({loading:ee,store:me})=>ee?Tt?null:g.createElement(A.Loading,{color:V.theme.colors.primary.main}):g.createElement(dt,{store:me})))}}var ir=Object.defineProperty,zn=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Fe=(pe,ke,qe)=>ke in pe?ir(pe,ke,{enumerable:!0,configurable:!0,writable:!0,value:qe}):pe[ke]=qe,mt=(pe,ke)=>{for(var qe in ke||(ke={}))Rr.call(ke,qe)&&Fe(pe,qe,ke[qe]);if(zn)for(var qe of zn(ke))kr.call(ke,qe)&&Fe(pe,qe,ke[qe]);return pe};function Ft(pe){const ke=(0,nn.zJ)();ke&&ke.toggleLayout((pe!=null?pe:ke.layout===R.N.STACKED)?R.N.THREE_PANEL:R.N.STACKED)}function an(pe){const ke=(0,nn.zJ)();ke&&ke.toggleRightPanel(pe)}const ur=Xr(),In=ur?(0,x.dirname)(ur)+"/":"";function br(pe){const ke={},qe=pe.attributes;for(let Tt=0;Tt<qe.length;Tt++){const V=qe[Tt];ke[V.name]=V.value}return ke}function Ar(pe){const ke=br(pe),qe={};for(const Tt in ke){const V=Tt.replace(/-(.)/g,(ee,me)=>me.toUpperCase());qe[V]=ke[Tt]}return qe}function wr(pe,ke=document.querySelector("redoc")){const qe=_.r.fromJS(pe);(0,M.hydrate)(g.createElement(dt,{store:qe}),ke)}function Tn(pe,ke={},qe=(0,A.querySelector)("redoc"),Tt){if(qe===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let V,ee;if(typeof pe=="object"&&"versions"in pe){(0,M.render)(g.createElement(yn,{definitions:pe,options:mt(mt({},ke),Ar(qe))},["Loading..."]),qe,Tt);return}typeof pe=="string"?V=pe:typeof pe=="object"&&(ee=pe),(0,M.render)(g.createElement(gn,{definition:ee,definitionUrl:V,options:mt(mt({},ke),Ar(qe))},["Loading..."]),qe,Tt)}function nr(pe){kn.p=pe}const Gr="2.12.
|
|
3350
|
+
`;let dt=class extends g.Component{constructor(pe){super(pe);Ct(this,"_observer"),Ct(this,"_updatedItems",!1),Ct(this,"rootElementRef",g.createRef()),Ct(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){this.props.store.onDidMount(),this._observer=(0,S.U5)(()=>this.props.store.menu.renderItems,()=>{this._updatedItems=!0})}componentDidUpdate(){this._updatedItems&&(this._updatedItems=!1,this.props.store.menu.scrollToActive())}componentWillUnmount(){this.props.store.dispose(),this._observer()}render(){const{store:{definition:pe,menu:ke,options:qe,search:Tt,marker:V}}=this.props,ee=this.props.store,me=ke.renderItems,{hideDownloadButton:Je}=qe;let yt=qe.hideInfoSection?!1:qe.pagination==="none"?!0:ee.menu.activeRenderItemIdx<=0;yt&&qe.pagination!=="none"&&qe.disableSidebar&&me[0]&&me[0].type!=="section"&&(yt=!1),this.props._forceRenderInfo&&(yt=!0);const Vt=!yt&&Je!==null&&!Je;return g.createElement(Er,{store:ee},g.createElement(Me,{className:"redoc-wrap",ref:this.rootElementRef},g.createElement(Pr,{l:ee.l}),g.createElement(Pn,{whiteLabel:qe.whiteLabel,showRightPanel:ee.showRightPanel,layout:ee.layout}),ee.tryItOperation&&g.createElement(Hn.M,{rootElement:this.rootElementRef.current,store:ee,operation:ee.tryItOperation,onClose:this.handleClose}),!qe.disableSidebar&&g.createElement(A.StickyResponsiveSidebar,{menu:ke,className:"menu-content"},!ee.options.hideLogo&&g.createElement(A.ApiLogo,{info:pe.info}),pe instanceof dn.C&&g.createElement(be,{spec:pe,onChange:fn=>{fn.idx!==void 0&&pe.changeVersion(fn.idx),ke.updateItemsByVersionChange(!0),ee.tryItOut(void 0)}}),!ee.options.disableSearch&&g.createElement(ie,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:V,setSearchValue:fn=>this.setState({searchPopUpValue:fn})}),g.createElement(A.SideMenu,{menu:ke})),g.createElement(Ve,{className:(ee.isLoading?"loading ":"")+"api-content",layout:ee.layout===R.N.THREE_PANEL&&ee.showRightPanel?R.N.THREE_PANEL:R.N.STACKED},qe.theme.layout.showDarkRightPanel&&ee.showRightPanel&&ee.layout!==R.N.STACKED&&g.createElement(kt,null),yt&&g.createElement(A.ApiInfo,{store:ee}),Vt&&g.createElement(Mt.C,{store:ee}),g.createElement(A.ContentItems,{items:me,store:ee}),qe.showNextButton&&g.createElement(en,{pagination:qe.pagination,menu:ke}),this.props.children),g.createElement(Pt,null,g.createElement(Gn,{store:ee,isVisible:ee.layout===R.N.THREE_PANEL}),g.createElement(ot,{store:ee,isVisible:ee.showRightPanel})),g.createElement(vt,{search:Tt,marker:V,menu:ke,onActivate:ke.activateAndScroll.bind(ke),options:qe,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:fn=>this.setState({searchPopUpValue:fn}),searchValue:this.state.searchPopUpValue}),qe.theme.layout.showDarkRightPanel&&ee.showRightPanel&&ee.layout!==R.N.STACKED&&g.createElement(St,null)))}};dt=mn([I.Pi],dt);function gn(pe){const{definition:ke,definitionUrl:qe,options:Tt={},activeItemId:V,activeSampleLanguage:ee,activeDeepLink:me}=pe,Je=(0,A.argValueToBoolean)(Tt.hideLoading,!1),yt=new A.RedocNormalizedOptions(Tt),Vt=g.createElement(Ln,{definition:ke,definitionUrl:qe,options:Tt,activeItemId:V,activeSampleLanguage:ee,activeDeepLink:me},({loading:fn,store:On})=>fn?Je?null:g.createElement(A.Loading,{color:yt.theme.colors.primary.main}):g.createElement(dt,{store:On}));return Tt.disableErrorBoundary?Vt:g.createElement(A.ErrorBoundary,null,Vt)}class yn extends g.Component{render(){const{definitions:ke,options:qe={}}=this.props,Tt=(0,A.argValueToBoolean)(qe.hideLoading,!1),V=new A.RedocNormalizedOptions(qe);return g.createElement(A.ErrorBoundary,null,g.createElement(Ln,{definitions:ke,options:qe},({loading:ee,store:me})=>ee?Tt?null:g.createElement(A.Loading,{color:V.theme.colors.primary.main}):g.createElement(dt,{store:me})))}}var ir=Object.defineProperty,zn=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Fe=(pe,ke,qe)=>ke in pe?ir(pe,ke,{enumerable:!0,configurable:!0,writable:!0,value:qe}):pe[ke]=qe,mt=(pe,ke)=>{for(var qe in ke||(ke={}))Rr.call(ke,qe)&&Fe(pe,qe,ke[qe]);if(zn)for(var qe of zn(ke))kr.call(ke,qe)&&Fe(pe,qe,ke[qe]);return pe};function Ft(pe){const ke=(0,nn.zJ)();ke&&ke.toggleLayout((pe!=null?pe:ke.layout===R.N.STACKED)?R.N.THREE_PANEL:R.N.STACKED)}function an(pe){const ke=(0,nn.zJ)();ke&&ke.toggleRightPanel(pe)}const ur=Xr(),In=ur?(0,x.dirname)(ur)+"/":"";function br(pe){const ke={},qe=pe.attributes;for(let Tt=0;Tt<qe.length;Tt++){const V=qe[Tt];ke[V.name]=V.value}return ke}function Ar(pe){const ke=br(pe),qe={};for(const Tt in ke){const V=Tt.replace(/-(.)/g,(ee,me)=>me.toUpperCase());qe[V]=ke[Tt]}return qe}function wr(pe,ke=document.querySelector("redoc")){const qe=_.r.fromJS(pe);(0,M.hydrate)(g.createElement(dt,{store:qe}),ke)}function Tn(pe,ke={},qe=(0,A.querySelector)("redoc"),Tt){if(qe===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let V,ee;if(typeof pe=="object"&&"versions"in pe){(0,M.render)(g.createElement(yn,{definitions:pe,options:mt(mt({},ke),Ar(qe))},["Loading..."]),qe,Tt);return}typeof pe=="string"?V=pe:typeof pe=="object"&&(ee=pe),(0,M.render)(g.createElement(gn,{definition:ee,definitionUrl:V,options:mt(mt({},ke),Ar(qe))},["Loading..."]),qe,Tt)}function nr(pe){kn.p=pe}const Gr="2.12.4",Nr="08bf5d5";function Ir(){const pe=(0,A.querySelector)("redoc");if(!pe)return;const ke=pe.getAttribute("spec-url");ke&&Tn(ke,{},pe)}A.IS_BROWSER&&nr(In),Ir();function Xr(){var pe;if(!A.IS_BROWSER)return"";const ke=+new Date+Math.random();try{return(!document.currentScript||!(document.currentScript.async||document.currentScript.defer))&&document.write(`<script id="dummy${ke}"><\/script>`),((pe=document.getElementById("dummy"+ke))==null?void 0:pe.previousSibling).src}catch(qe){return""}}})(),vu})()});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StickyResponsiveSidebar=void 0;var Stickyfill,tslib_1=require("tslib"),mobx_react_1=require("mobx-react"),React=(0,tslib_1.__importStar)(require("react")),RedocNormalizedOptions_1=require("../../services/RedocNormalizedOptions"),styled_components_1=(0,tslib_1.__importStar)(require("../../styled-components")),index_1=require("../../utils/index"),OptionsProvider_1=require("../OptionsProvider"),ChevronSvg_1=require("./ChevronSvg");index_1.IS_BROWSER&&(Stickyfill=require("stickyfill"));var templateObject_1,templateObject_2,templateObject_3,templateObject_4,stickyfill=Stickyfill&&Stickyfill(),StyledStickySidebar=styled_components_1.default.div(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n overflow: hidden;\n flex-direction: column;\n backface-visibility: hidden;\n /* contain: strict; TODO: breaks layout since Chrome 80*/\n height: 100vh;\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n flex: 0 0 auto;\n ","\n"],["\n overflow: hidden;\n flex-direction: column;\n backface-visibility: hidden;\n /* contain: strict; TODO: breaks layout since Chrome 80*/\n height: 100vh;\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n flex: 0 0 auto;\n ","\n"])),(function(e){var t,n,i,o,r=e.theme,l=e.open;return(0,styled_components_1.css)(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n ","\n "," {\n display: none;\n }\n "],["\n ","\n "," {\n display: none;\n }\n "])),(0,styled_components_1.mediaCSS)({position:(t={},t[styled_components_1.ZERO_BREAKPOINT]="fixed",t.small="sticky",t),zIndex:(n={},n[styled_components_1.ZERO_BREAKPOINT]=20,n.small="auto",n),width:(i={},i[styled_components_1.ZERO_BREAKPOINT]="100%",i.small=r.sidebar.width,i),background:r.sidebar.backgroundColor,borderRight:"1px solid "+r.sidebar.rightLineColor,display:(o={},o[styled_components_1.ZERO_BREAKPOINT]=l?"flex":"none",o.small="flex",o)}),r.mediaQueries.print)})),FloatingButton=styled_components_1.default.div(templateObject_4||(templateObject_4=(0,tslib_1.__makeTemplateObject)(["\n outline: none;\n user-select: none;\n background-color:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StickyResponsiveSidebar=void 0;var Stickyfill,tslib_1=require("tslib"),mobx_react_1=require("mobx-react"),React=(0,tslib_1.__importStar)(require("react")),RedocNormalizedOptions_1=require("../../services/RedocNormalizedOptions"),styled_components_1=(0,tslib_1.__importStar)(require("../../styled-components")),index_1=require("../../utils/index"),OptionsProvider_1=require("../OptionsProvider"),ChevronSvg_1=require("./ChevronSvg");index_1.IS_BROWSER&&(Stickyfill=require("stickyfill"));var templateObject_1,templateObject_2,templateObject_3,templateObject_4,stickyfill=Stickyfill&&Stickyfill(),StyledStickySidebar=styled_components_1.default.div(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n overflow: hidden;\n flex-direction: column;\n backface-visibility: hidden;\n /* contain: strict; TODO: breaks layout since Chrome 80*/\n height: 100vh;\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n flex: 0 0 auto;\n ","\n"],["\n overflow: hidden;\n flex-direction: column;\n backface-visibility: hidden;\n /* contain: strict; TODO: breaks layout since Chrome 80*/\n height: 100vh;\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n flex: 0 0 auto;\n ","\n"])),(function(e){var t,n,i,o,r=e.theme,l=e.open;return(0,styled_components_1.css)(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n ","\n "," {\n display: none;\n }\n "],["\n ","\n "," {\n display: none;\n }\n "])),(0,styled_components_1.mediaCSS)({position:(t={},t[styled_components_1.ZERO_BREAKPOINT]="fixed",t.small="sticky",t),zIndex:(n={},n[styled_components_1.ZERO_BREAKPOINT]=20,n.small="auto",n),width:(i={},i[styled_components_1.ZERO_BREAKPOINT]="100%",i.small=r.sidebar.width,i),background:r.sidebar.backgroundColor,borderRight:"1px solid "+r.sidebar.rightLineColor,display:(o={},o[styled_components_1.ZERO_BREAKPOINT]=l?"flex":"none",o.small="flex",o)}),r.mediaQueries.print)})),FloatingButton=styled_components_1.default.div(templateObject_4||(templateObject_4=(0,tslib_1.__makeTemplateObject)(["\n outline: none;\n user-select: none;\n background-color: ",";\n cursor: pointer;\n position: fixed;\n right: 20px;\n z-index: 100;\n border-radius: 50%; // round button\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);\n bottom: 44px;\n width: 60px;\n height: 60px;\n padding: 0 20px;\n svg {\n color: ",";\n }\n ","\n"],["\n outline: none;\n user-select: none;\n background-color: ",";\n cursor: pointer;\n position: fixed;\n right: 20px;\n z-index: 100;\n border-radius: 50%; // round button\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);\n bottom: 44px;\n width: 60px;\n height: 60px;\n padding: 0 20px;\n svg {\n color: ",";\n }\n ","\n"])),(function(e){return e.theme.fab.backgroundColor}),(function(e){return e.theme.fab.color}),(function(e){var t,n=e.theme;return(0,styled_components_1.css)(templateObject_3||(templateObject_3=(0,tslib_1.__makeTemplateObject)(["\n ","\n "," {\n display: none;\n }\n "],["\n ","\n "," {\n display: none;\n }\n "])),(0,styled_components_1.mediaCSS)({color:n.colors.primary.main,display:(t={},t[styled_components_1.ZERO_BREAKPOINT]="flex",t.small="none",t)}),n.mediaQueries.print)})),StickyResponsiveSidebar=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"state",{enumerable:!0,configurable:!0,writable:!0,value:{offsetTop:"0px"}}),Object.defineProperty(t,"stickyElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"toggleNavMenu",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.props.menu.toggleSidebar()}}),t}return(0,tslib_1.__extends)(t,e),Object.defineProperty(t.prototype,"componentDidMount",{enumerable:!1,configurable:!0,writable:!0,value:function(){stickyfill&&stickyfill.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}}),Object.defineProperty(t.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){stickyfill&&stickyfill.remove(this.stickyElement)}}),Object.defineProperty(t.prototype,"getScrollYOffset",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(void 0!==this.props.scrollYOffset?RedocNormalizedOptions_1.RedocNormalizedOptions.normalizeScrollYOffset(this.props.scrollYOffset)():e.scrollYOffset())+"px"}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=this.props.menu.sideBarOpened,n=this.state.offsetTop;return React.createElement(React.Fragment,null,React.createElement(StyledStickySidebar,{open:t,className:this.props.className,style:{top:n,height:"calc(100vh - "+n+")"},ref:function(t){e.stickyElement=t}},this.props.children),!this.context.hideFab&&React.createElement(FloatingButton,{onClick:this.toggleNavMenu},React.createElement(ChevronSvg_1.AnimatedExpandButton,{open:t})))}}),Object.defineProperty(t,"contextType",{enumerable:!0,configurable:!0,writable:!0,value:OptionsProvider_1.OptionsContext}),t=(0,tslib_1.__decorate)([mobx_react_1.observer],t)}(React.Component);exports.StickyResponsiveSidebar=StickyResponsiveSidebar;
|
|
2
2
|
//# sourceMappingURL=StickyResponsiveSidebar.js.map
|
|
@@ -101,6 +101,7 @@ export interface RedocRawOptions {
|
|
|
101
101
|
hooks?: HooksConfig;
|
|
102
102
|
hideSchemaPattern?: boolean;
|
|
103
103
|
hideOneOfDescription?: boolean;
|
|
104
|
+
hideFab?: boolean;
|
|
104
105
|
}
|
|
105
106
|
export declare function argValueToBoolean(val?: string | boolean, defaultValue?: boolean): boolean;
|
|
106
107
|
export declare class RedocNormalizedOptions {
|
|
@@ -162,6 +163,7 @@ export declare class RedocNormalizedOptions {
|
|
|
162
163
|
hooks: HooksConfig;
|
|
163
164
|
hideSchemaPattern: boolean;
|
|
164
165
|
hideOneOfDescription: boolean;
|
|
166
|
+
hideFab: boolean;
|
|
165
167
|
constructor(raw: RedocRawOptions, defaults?: RedocRawOptions);
|
|
166
168
|
}
|
|
167
169
|
export {};
|