2022-09-12 16:47:18 +02:00
/*! For license information please see redoc.standalone.js.LICENSE.txt */
2026-05-12 08:05:18 +00:00
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( require ( "null" ) ) : "function" == typeof define && define . amd ? define ( [ "null" ] , t ) : "object" == typeof exports ? exports . Redoc = t ( require ( "null" ) ) : e . Redoc = t ( e . null ) } ( this , ( function ( e ) { return function ( ) { var t = { 854 : function ( e , t , n ) { "use strict" ; var r = this && this . _ _awaiter || function ( e , t , n , r ) { return new ( n || ( n = Promise ) ) ( ( function ( i , o ) { function s ( e ) { try { l ( r . next ( e ) ) } catch ( e ) { o ( e ) } } function a ( e ) { try { l ( r . throw ( e ) ) } catch ( e ) { o ( e ) } } function l ( e ) { var t ; e . done ? i ( e . value ) : ( t = e . value , t instanceof n ? t : new n ( ( function ( e ) { e ( t ) } ) ) ) . then ( s , a ) } l ( ( r = r . apply ( e , t || [ ] ) ) . next ( ) ) } ) ) } ; Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . mapTypeToComponent = t . bundleDocument = t . bundleFromString = t . bundle = t . OasVersion = void 0 ; const i = n ( 8142 ) , o = n ( 2928 ) , s = n ( 2161 ) , a = n ( 1990 ) , l = n ( 5735 ) , c = n ( 3101 ) , u = n ( 3873 ) , p = n ( 2900 ) , d = n ( 3416 ) , f = n ( 8209 ) , h = n ( 4125 ) , m = n ( 474 ) , g = n ( 4335 ) ; var y ; function b ( e ) { return r ( this , void 0 , void 0 , ( function * ( ) { const { document : t , config : n , customTypes : r , externalRefResolver : i , dereference : u = ! 1 , skipRedoclyRegistryRefs : d = ! 1 , removeUnusedComponents : f = ! 1 , keepUrlRefs : h = ! 1 } = e , y = ( 0 , c . detectSpec ) ( t . parsed ) , b = ( 0 , c . getMajorSpecVersion ) ( y ) , v = n . getRulesForOasVersion ( b ) , w = ( 0 , a . normalizeTypes ) ( n . extendTypes ( null != r ? r : ( 0 , c . getTypes ) ( y ) , y ) , n ) , k = ( 0 , p . initRules ) ( v , n , "preprocessors" , y ) , S = ( 0 , p . initRules ) ( v , n , "decorators" , y ) , E = { problems : [ ] , oasVersion : y , refTypes : new Map , visitorsData : { } } ; f && S . push ( { severity : "error" , ruleId : "remove-unused-components" , visitor : b === c . SpecMajorVersion . OAS2 ? ( 0 , m . RemoveUnusedComponents ) ( { } ) : ( 0 , g . RemoveUnusedComponents ) ( { } ) } ) ; let O = yield ( 0 , o . resolveDocument ) ( { rootDocument : t , rootType : w . Root , externalRefResolver : i } ) ; k . length > 0 && ( ( 0 , l . walkDocument ) ( { document : t , rootType : w . Root , normalizedVisitors : ( 0 , s . normalizeVisitors ) ( k , w ) , resolvedRefMap : O , ctx : E } ) , O = yield ( 0 , o . resolveDocument ) ( { rootDocument : t , rootType : w . Root , externalRefResolver : i } ) ) ; const _ = ( 0 , s . normalizeVisitors ) ( [ { severity : "error" , ruleId : "bundler" , visitor : x ( b , u , d , t , O , h ) } , ... S ] , w ) ; return ( 0 , l . walkDocument ) ( { document : t , rootType : w . Root , normalizedVisitors : _ , resolvedRefMap : O , ctx : E } ) , { bundle : t , problems : E . problems . map ( ( e => n . addProblemToIgnore ( e ) ) ) , fileDependencies : i . getFiles ( ) , rootType : w . Root , refTypes : E . refTypes , visitorsData : E . visitorsData } } ) ) } function v ( e , t ) { switch ( t ) { case c . SpecMajorVersion . OAS3 : switch ( e ) { case "Schema" : return "schemas" ; case "Parameter" : return "parameters" ; case "Response" : return "responses" ; case "Example" : return "examples" ; case "RequestBody" : return "requestBodies" ; case "Header" : return "headers" ; case "SecuritySchema" : return "securitySchemes" ; case "Link" : return "links" ; case "Callback" : return "callbacks" ; default : return null } case c . SpecMajorVersion . OAS2 : switch ( e ) { case "Schema" : return "definitions" ; case "Parameter" : return "parameters" ; case "Response" : return "responses" ; default : return null } case c . SpecMajorVersion . Async2 : switch ( e ) { case "Schema" : return "schemas" ; case "Parameter" : return "parameters" ; default : return null } } } function x ( e , t , n , r , s , a ) { let l , p ; const m = { ref : { leave ( i , l , c ) { if ( ! c . location || void 0 === c . node ) return void ( 0 , d . reportUnresolvedRef ) ( c , l . report , l . location ) ; if ( c . location . source === r . source && c . location . source === l . location . source && "scalar" !== l . type . name && ! t ) return ; if ( n && ( 0 , h . isRedoclyRegistryURL ) ( i . $ref ) ) return ; if ( a && ( 0 , u . isAbsoluteUrl ) ( i . $ref ) ) return ; const p = v ( l . type . name , e ) ; p ? t ? ( y ( p , c , l ) , g ( i , c , l ) ) : ( i . $ref = y ( p , c , l ) , function ( e , t , n ) { const i = ( 0 , o . makeRefId ) ( n . location . source . absoluteRef , e . $ref ) ; s . set ( i , { document : r , isRemote : ! 1 , node : t . node , nodePointer : e . $ref , resolved : ! 0 } ) } ( i , c , l ) ) : g ( i , c , l ) } } , Root : { enter ( t , n ) { p = n . location , e === c . SpecMajorVersion . OAS3 ? l = t . components = t . components || { } : e === c . SpecMajorVersion . OAS2 && ( l = t ) } } } ; function g ( e , t , n ) { if ( ( 0 , f . isPlainObject ) ( t . node ) ) { delete e . $ref ; const n = Object . assign ( { } , t . node , e ) ; Object . assign ( e , n ) } else n . parent [ n . key ] = t . node } function y ( t , n , r ) { l [ t ] = l [ t ] || { } ; const i = function ( e , t , n ) { const [ r , i ] = [ e . location . source . absoluteRef , e . location . pointer ] , o = l [ t ] ; let s = "" ; const a = i . slice ( 2 ) . split ( "/" ) . filter ( f . isTruthy ) ; for ( ; a . length > 0 ; ) if ( s = a . pop ( ) + ( s ? ` - ${ s } ` : "" ) , ! o || ! o [ s ] || b ( o [ s ] , e , n ) ) return s ; if ( s = ( 0 , u . refBaseName ) ( r ) + ( s ? ` _ ${ s } ` : "" ) , ! o [ s ] || b
2022-09-12 16:47:18 +02:00
@ media $ { t ? "print, " : "" } screen and ( max - width : $ { t => t . theme . breakpoints [ e ] } ) $ { n || "" } {
2026-05-12 08:05:18 +00:00
$ { ms ( ... r ) } ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
` },greaterThan(e){return(...t)=>ms `
@ media ( min - width : $ { t => t . theme . breakpoints [ e ] } ) {
$ { ms ( ... t ) } ;
}
` },between(e,t){return(...n)=>ms `
@ media ( min - width : $ { t => t . theme . breakpoints [ e ] } ) and ( max - width : $ { e => e . theme . breakpoints [ t ] } ) {
$ { ms ( ... n ) } ;
}
` }};var xs=hs;function ws(e){return t=>{if(t.theme.extensionsHook)return t.theme.extensionsHook(e,t)}}const ks=xs.div `
2022-09-12 16:47:18 +02:00
padding : 20 px ;
color : red ;
2026-05-12 08:05:18 +00:00
` ;class Ss extends n.Component{constructor(e){super(e),this.state={error:void 0}}componentDidCatch(e){return this.setState({error:e}),!1}render(){return this.state.error?n.createElement(ks,null,n.createElement("h1",null,"Something went wrong..."),n.createElement("small",null," ",this.state.error.message," "),n.createElement("p",null,n.createElement("details",null,n.createElement("summary",null,"Stack trace"),n.createElement("pre",null,this.state.error.stack))),n.createElement("small",null," ReDoc Version: ","2.5.2")," ",n.createElement("br",null),n.createElement("small",null," Commit: ","3462357")):n.createElement(n.Fragment,null,n.Children.only(this.props.children))}}const Es=ys `
2022-09-12 16:47:18 +02:00
0 % {
transform : rotate ( 0 deg ) ; }
100 % {
transform : rotate ( 360 deg ) ;
}
2026-05-12 08:05:18 +00:00
` ,Os=xs((e=>n.createElement("svg",{className:e.className,version:"1.1",width:"512",height:"512",viewBox:"0 0 512 512"},n.createElement("path",{d:"M275.682 147.999c0 10.864-8.837 19.661-19.682 19.661v0c-10.875 0-19.681-8.796-19.681-19.661v-96.635c0-10.885 8.806-19.661 19.681-19.661v0c10.844 0 19.682 8.776 19.682 19.661v96.635z"}),n.createElement("path",{d:"M275.682 460.615c0 10.865-8.837 19.682-19.682 19.682v0c-10.875 0-19.681-8.817-19.681-19.682v-96.604c0-10.885 8.806-19.681 19.681-19.681v0c10.844 0 19.682 8.796 19.682 19.682v96.604z"}),n.createElement("path",{d:"M147.978 236.339c10.885 0 19.681 8.755 19.681 19.641v0c0 10.885-8.796 19.702-19.681 19.702h-96.624c-10.864 0-19.661-8.817-19.661-19.702v0c0-10.885 8.796-19.641 19.661-19.641h96.624z"}),n.createElement("path",{d:"M460.615 236.339c10.865 0 19.682 8.755 19.682 19.641v0c0 10.885-8.817 19.702-19.682 19.702h-96.584c-10.885 0-19.722-8.817-19.722-19.702v0c0-10.885 8.837-19.641 19.722-19.641h96.584z"}),n.createElement("path",{d:"M193.546 165.703c7.69 7.66 7.68 20.142 0 27.822v0c-7.701 7.701-20.162 7.701-27.853 0.020l-68.311-68.322c-7.68-7.701-7.68-20.142 0-27.863v0c7.68-7.68 20.121-7.68 27.822 0l68.342 68.342z"}),n.createElement("path",{d:"M414.597 386.775c7.7 7.68 7.7 20.163 0.021 27.863v0c-7.7 7.659-20.142 7.659-27.843-0.062l-68.311-68.26c-7.68-7.7-7.68-20.204 0-27.863v0c7.68-7.7 20.163-7.7 27.842 0l68.291 68.322z"}),n.createElement("path",{d:"M165.694 318.464c7.69-7.7 20.153-7.7 27.853 0v0c7.68 7.659 7.69 20.163 0 27.863l-68.342 68.322c-7.67 7.659-20.142 7.659-27.822-0.062v0c-7.68-7.68-7.68-20.122 0-27.801l68.311-68.322z"}),n.createElement("path",{d:"M386.775 97.362c7.7-7.68 20.142-7.68 27.822 0v0c7.7 7.68 7.7 20.183 0.021 27.863l-68.322 68.311c-7.68 7.68-20.163 7.68-27.843-0.020v0c-7.68-7.68-7.68-20.162 0-27.822l68.322-68.332z"})))) `
animation : 2 s $ { Es } linear infinite ;
2022-09-12 16:47:18 +02:00
width : 50 px ;
height : 50 px ;
content : '' ;
display : inline - block ;
margin - left : - 25 px ;
path {
fill : $ { e => e . color } ;
}
2026-05-12 08:05:18 +00:00
` ,_s=xs.div `
2022-09-12 16:47:18 +02:00
font - family : helvetica , sans ;
width : 100 % ;
text - align : center ;
font - size : 25 px ;
margin : 30 px 0 20 px 0 ;
color : $ { e => e . color } ;
2026-05-12 08:05:18 +00:00
` ;class As extends n.PureComponent{render(){return n.createElement("div",{style:{textAlign:"center"}},n.createElement(_s,{color:this.props.color},"Loading ..."),n.createElement(Os,{color:this.props.color}))}}var Cs=r(5556);const js=n.createContext(new Pi({})),Ps=js.Provider,Ts=js.Consumer;var Is=r(854),Rs=r(8921),Ns=r(65), $ s=(e,t,n)=>new Promise(((r,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,s);a((n=n.apply(e,t)).next())}));var Ls=r(5156),Ds=r(228),Ms=r(1095),Fs=r.n(Ms);const zs=Ms.parse;class Bs{static baseName(e,t=1){const n=Bs.parse(e);return n[n.length-t]}static dirName(e,t=1){const n=Bs.parse(e);return Ms.compile(n.slice(0,n.length-t))}static relative(e,t){const n=Bs.parse(e);return Bs.parse(t).slice(n.length)}static parse(e){let t=e;return"#"===t.charAt(0)&&(t=t.substring(1)),zs(t)}static join(e,t){const n=Bs.parse(e).concat(t);return Ms.compile(n)}static get(e,t){return Ms.get(e,t)}static compile(e){return Ms.compile(e)}static escape(e){return Ms.escape(e)}}Ms.parse=Bs.parse,Object.assign(Bs,Ms);var Us=r(7975),qs=r(8769),Vs=Object.defineProperty,Ws=Object.defineProperties,Hs=Object.getOwnPropertyDescriptors,Ys=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,Xs=(e,t,n)=>t in e?Vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ks=(e,t)=>{for(var n in t||(t={}))Gs.call(t,n)&&Xs(e,n,t[n]);if(Ys)for(var n of Ys(t))Qs.call(t,n)&&Xs(e,n,t[n]);return e},Zs=(e,t)=>Ws(e,Hs(t));function Js(e){return"string"==typeof e&&/ \d xx/i.test(e)}function ea(e,t=!1){if("default"===e)return t?"error":"success";let n="string"==typeof e?parseInt(e,10):e;if(Js(e)&&(n*=100),n<100||n>599)throw new Error("invalid HTTP code");let r="success";return n>=300&&n<400?r="redirect":n>=400?r="error":n<200&&(r="info"),r}const ta={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0, $ ref:!0};function na(e){return e in ta}const ra={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",contentEncoding:"string",contentMediaType:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",unevaluatedProperties:"object",properties:"object",patternProperties:"object"};function ia(e,t=e.type){if(e["x-circular-ref"])return!0;if(void 0!==e.oneOf||void 0!==e.anyOf)return!1;if(e.if&&e.then||e.if&&e.else)return!1;let n=!0;const r=mi(t);return("object"===t||r&&(null==t?void 0:t.includes("object")))&&(n=void 0!==e.properties?0===Object.keys(e.properties).length:void 0===e.additionalProperties&&void 0===e.unevaluatedProperties&&void 0===e.patternProperties),!mi(e.items)&&!mi(e.prefixItems)&&(void 0!==e.items&&!gi(e.items)&&("array"===t||r&&(null==t?void 0:t.includes("array")))&&(n=ia(e.items,e.items.type)),n)}function oa(e){return-1!==e.search(/json/i)}function sa(e,t,n){return mi(e)?e.map((e=>e.toString())).join(n):"object"==typeof e?Object.keys(e).map((t=> ` $ { t } $ { n } $ { e [ t ] } ` )).join(n):t+"="+e.toString()}function aa(e,t){return mi(e)?(console.warn("deepObject style cannot be used with array value:"+e.toString()),""):"object"==typeof e?Object.keys(e).map((n=> ` $ { t } [ $ { n } ] = $ { e [ n ] } ` )).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+e.toString()),"")}function la(e,t,n){const r="__redoc_param_name__",i=t?"*":"";return qs.parse( ` { ? $ { r } $ { i } } ` ).expand({[r]:n}).substring(1).replace(/__redoc_param_name__/g,e)}function ca(e,t){return oa(t)?JSON.stringify(e):(console.warn( ` Parameter serialization as $ { t } is not supported ` ),"")}function ua(e,t){return e.in?decodeURIComponent(function(e,t){const{name:n,style:r,explode:i=!1,serializationMime:o}=e;if(o)switch(e.in){case"path":case"header":return ca(t,o);case"cookie":case"query":return ` $ { n } = $ { ca ( t , o ) } ` ;default:return console.warn("Unexpected parameter location: "+e.in),""}if(!r)return console.warn( ` Missing style att
2022-09-12 16:47:18 +02:00
width : calc ( 100 % - $ { e => e . theme . rightPanel . width } ) ;
padding : 0 $ { e => e . theme . spacing . sectionHorizontal } px ;
2026-05-12 08:05:18 +00:00
$ { ( { $compact : e , theme : t } ) => vs . lessThan ( "medium" , ! 0 ) `
2022-09-12 16:47:18 +02:00
width : 100 % ;
padding : $ { ` ${ e ? 0 : t . spacing . sectionVertical } px ${ t . spacing . sectionHorizontal } px ` } ;
` };
2026-05-12 08:05:18 +00:00
` ,Fu=xs.div.attrs((e=>({[Ef]:e.id}))) `
2022-09-12 16:47:18 +02:00
padding : $ { e => e . theme . spacing . sectionVertical } px 0 ;
& : last - child {
min - height : calc ( 100 vh + 1 px ) ;
}
& > & : last - child {
min - height : initial ;
}
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "medium" , ! 0 ) `
2022-09-12 16:47:18 +02:00
padding : 0 ;
` }
2026-05-12 08:05:18 +00:00
$ { ( { $underlined : e } ) => e ? "\n position: relative;\n\n &:not(:last-of-type):after {\n position: absolute;\n bottom: 0;\n width: 100%;\n display: block;\n content: '';\n border-bottom: 1px solid rgba(0, 0, 0, 0.2);\n }\n " : "" }
` ,zu=xs.div `
2022-09-12 16:47:18 +02:00
width : $ { e => e . theme . rightPanel . width } ;
color : $ { ( { theme : e } ) => e . rightPanel . textColor } ;
background - color : $ { e => e . theme . rightPanel . backgroundColor } ;
padding : 0 $ { e => e . theme . spacing . sectionHorizontal } px ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "medium" , ! 0 ) `
2022-09-12 16:47:18 +02:00
width : 100 % ;
padding : $ { e => ` ${ e . theme . spacing . sectionVertical } px ${ e . theme . spacing . sectionHorizontal } px ` } ;
` };
2026-05-12 08:05:18 +00:00
` ,Bu=xs(zu) `
2022-09-12 16:47:18 +02:00
background - color : $ { e => e . theme . rightPanel . backgroundColor } ;
2026-05-12 08:05:18 +00:00
` ,Uu=xs.div `
2022-09-12 16:47:18 +02:00
display : flex ;
width : 100 % ;
padding : 0 ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "medium" , ! 0 ) `
2022-09-12 16:47:18 +02:00
flex - direction : column ;
` };
2026-05-12 08:05:18 +00:00
` ,qu={1:"1.85714em",2:"1.57143em",3:"1.27em"},Vu=e=>ms `
2022-09-12 16:47:18 +02:00
font - family : $ { ( { theme : e } ) => e . typography . headings . fontFamily } ;
font - weight : $ { ( { theme : e } ) => e . typography . headings . fontWeight } ;
2026-05-12 08:05:18 +00:00
font - size : $ { qu [ e ] } ;
2022-09-12 16:47:18 +02:00
line - height : $ { ( { theme : e } ) => e . typography . headings . lineHeight } ;
2026-05-12 08:05:18 +00:00
` ,Wu=xs.h1 `
$ { Vu ( 1 ) } ;
2022-09-12 16:47:18 +02:00
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
2026-05-12 08:05:18 +00:00
$ { ws ( "H1" ) } ;
` ,Hu=xs.h2 `
$ { Vu ( 2 ) } ;
2022-09-12 16:47:18 +02:00
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
margin : 0 0 20 px ;
2026-05-12 08:05:18 +00:00
$ { ws ( "H2" ) } ;
` ,Yu=xs.h2 `
$ { Vu ( 3 ) } ;
2022-09-12 16:47:18 +02:00
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
2026-05-12 08:05:18 +00:00
$ { ws ( "H3" ) } ;
` ,Gu=xs.h3 `
2022-09-12 16:47:18 +02:00
color : $ { ( { theme : e } ) => e . rightPanel . textColor } ;
2026-05-12 08:05:18 +00:00
$ { ws ( "RightPanelHeader" ) } ;
` ,Qu=xs.h5 `
2022-09-12 16:47:18 +02:00
border - bottom : 1 px solid rgba ( 38 , 50 , 56 , 0.3 ) ;
margin : 1 em 0 1 em 0 ;
color : rgba ( 38 , 50 , 56 , 0.5 ) ;
font - weight : normal ;
text - transform : uppercase ;
font - size : 0.929 em ;
line - height : 20 px ;
2026-05-12 08:05:18 +00:00
$ { ws ( "UnderlinedHeader" ) } ;
` ,Xu=(0,n.createContext)(void 0),{Provider:Ku,Consumer:Zu}=Xu;function Ju(e){const{spec:t,specUrl:i,options:o,onLoaded:s,children:a}=e,[l,c]=n.useState(null),[u,p]=n.useState(null);if(u)throw u;n.useEffect((()=>{!function(){return e=this,n=function*(){if(t||i){c(null);try{const e=yield function(e){return $ s(this,null,(function*(){const t=new Rs.Config({}),n={config:t,base:ei?window.location.href:process.cwd()};ei&&(t.resolve.http.customFetch=r.g.fetch),"object"==typeof e&&null!==e?n.doc={source:{absoluteRef:""},parsed:e}:n.ref=e;const{bundle:{parsed:i}}=yield(0,Is.bundle)(n);return void 0!==i.swagger?(o=i,console.warn("[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0"),new Promise(((e,t)=>(0,Ns.convertObj)(o,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},((n,r)=>{if(n)return t(n);e(r&&r.openapi)}))))):i;var o}))}(t||i);c(e)}catch(e){throw s&&s(e),p(e),e}}},new Promise(((t,r)=>{var i=e=>{try{s(n.next(e))}catch(e){r(e)}},o=e=>{try{s(n.throw(e))}catch(e){r(e)}},s=e=>e.done?t(e.value):Promise.resolve(e.value).then(i,o);s((n=n.apply(e,null)).next())}));var e,n}()}),[t,i]);const d=n.useMemo((()=>{if(!l)return null;try{return new rb(l,i,o)}catch(e){throw s&&s(e),e}}),[l,i,o]);return n.useEffect((()=>{d&&s&&s()}),[d,s]),a({loading:!d,store:d})}const ep=e=>ms `
2022-09-12 16:47:18 +02:00
$ { e } {
cursor : pointer ;
margin - left : - 20 px ;
padding : 0 ;
line - height : 1 ;
width : 20 px ;
display : inline - block ;
outline : 0 ;
}
$ { e } : before {
content : '' ;
width : 15 px ;
height : 15 px ;
background - size : contain ;
background - image : url ( 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==' ) ;
opacity : 0.5 ;
visibility : hidden ;
display : inline - block ;
vertical - align : middle ;
}
h1 : hover > $ { e } : : before , h2 : hover > $ { e } : : before , $ { e } : hover : : before {
visibility : visible ;
}
2026-05-12 08:05:18 +00:00
` ,tp=xs((function(e){const t=n.useContext(Xu),r=n.useCallback((n=>{t&&function(e,t,n){t.defaultPrevented||0!==t.button||(e=>!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(t)||(t.preventDefault(),e.replace(encodeURI(n)))}(t.menu.history,n,e.to)}),[t,e.to]);return t?n.createElement("a",{className:e.className,href:t.menu.history.linkForId(e.to),onClick:r,"aria-label":e.to},e.children):null})) `
$ { ep ( "&" ) } ;
` ;function np(e){return n.createElement(tp,{to:e.to})}const rp={left:"90deg",right:"-90deg",up:"-180deg",down:"0"},ip=xs((e=>n.createElement("svg",{className:e.className,style:e.style,version:"1.1",viewBox:"0 0 24 24",x:"0",xmlns:"http://www.w3.org/2000/svg",y:"0","aria-hidden":"true"},n.createElement("polygon",{points:"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "})))) `
2022-09-12 16:47:18 +02:00
height : $ { e => e . size || "18px" } ;
width : $ { e => e . size || "18px" } ;
min - width : $ { e => e . size || "18px" } ;
vertical - align : middle ;
float : $ { e => e . float || "" } ;
transition : transform 0.2 s ease - out ;
2026-05-12 08:05:18 +00:00
transform : rotateZ ( $ { e => rp [ e . direction || "down" ] } ) ;
2022-09-12 16:47:18 +02:00
polygon {
fill : $ { ( { color : e , theme : t } ) => e && t . colors . responses [ e ] && t . colors . responses [ e ] . color || e } ;
}
2026-05-12 08:05:18 +00:00
` ,op=xs.span `
2022-09-12 16:47:18 +02:00
display : inline - block ;
padding : 2 px 8 px ;
margin : 0 ;
2026-05-12 08:05:18 +00:00
background - color : $ { e => e . color || e . theme . colors [ e . type ] . main } ;
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . colors [ e . type ] . contrastText } ;
font - size : $ { e => e . theme . typography . code . fontSize } ;
vertical - align : middle ;
line - height : 1.6 ;
border - radius : 4 px ;
font - weight : $ { ( { theme : e } ) => e . typography . fontWeightBold } ;
font - size : 12 px ;
+ span [ type ] {
margin - left : 4 px ;
}
2026-05-12 08:05:18 +00:00
` ,sp=ms `
2022-09-12 16:47:18 +02:00
text - decoration : line - through ;
color : # 707070 ;
2026-05-12 08:05:18 +00:00
` ,ap=xs.caption `
2022-09-12 16:47:18 +02:00
text - align : right ;
font - size : 0.9 em ;
font - weight : normal ;
color : $ { e => e . theme . colors . text . secondary } ;
2026-05-12 08:05:18 +00:00
` ,lp=xs.td `
2022-09-12 16:47:18 +02:00
border - left : 1 px solid $ { e => e . theme . schema . linesColor } ;
box - sizing : border - box ;
position : relative ;
padding : 10 px 10 px 10 px 0 ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
display : block ;
overflow : hidden ;
` }
tr : first - of - type > & ,
tr . last > & {
border - left - width : 0 ;
background - position : top left ;
background - repeat : no - repeat ;
background - size : 1 px 100 % ;
}
tr : first - of - type > & {
background - image : linear - gradient (
to bottom ,
transparent 0 % ,
transparent 22 px ,
$ { e => e . theme . schema . linesColor } 22 px ,
$ { e => e . theme . schema . linesColor } 100 %
) ;
}
tr . last > & {
background - image : linear - gradient (
to bottom ,
$ { e => e . theme . schema . linesColor } 0 % ,
$ { e => e . theme . schema . linesColor } 22 px ,
transparent 22 px ,
transparent 100 %
) ;
}
tr . last + tr > & {
border - left - color : transparent ;
}
tr . last : first - child > & {
background : none ;
border - left - color : transparent ;
}
2026-05-12 08:05:18 +00:00
` ,cp=xs(lp) `
2022-09-12 16:47:18 +02:00
padding : 0 ;
2026-05-12 08:05:18 +00:00
` ,up=xs(lp) `
2022-09-12 16:47:18 +02:00
vertical - align : top ;
line - height : 20 px ;
white - space : nowrap ;
font - size : 13 px ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
& . deprecated {
2026-05-12 08:05:18 +00:00
$ { sp } ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
$ { ( { kind : e } ) => "patternProperties" === e && ms `
2022-09-12 16:47:18 +02:00
> span . property - name {
display : inline - table ;
white - space : break - spaces ;
margin - right : 20 px ;
: : before ,
: : after {
content : '/' ;
filter : opacity ( 0.2 ) ;
}
}
` }
$ { ( { kind : e = "" } ) => [ "field" , "additionalProperties" , "patternProperties" ] . includes ( e ) ? "" : "font-style: italic" } ;
2026-05-12 08:05:18 +00:00
$ { ws ( "PropertyNameCell" ) } ;
` ,pp=xs.td `
2022-09-12 16:47:18 +02:00
border - bottom : 1 px solid # 9 fb4be ;
padding : 10 px 0 ;
width : $ { e => e . theme . schema . defaultDetailsWidth } ;
box - sizing : border - box ;
tr . expanded & {
border - bottom : none ;
}
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
padding : 0 20 px ;
border - bottom : none ;
border - left : 1 px solid $ { e => e . theme . schema . linesColor } ;
tr . last > & {
border - left : none ;
}
` }
2026-05-12 08:05:18 +00:00
$ { ws ( "PropertyDetailsCell" ) } ;
` ,dp=xs.span `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . schema . linesColor } ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
margin - right : 10 px ;
& : : before {
content : '' ;
display : inline - block ;
vertical - align : middle ;
width : 10 px ;
height : 1 px ;
background : $ { e => e . theme . schema . linesColor } ;
}
& : : after {
content : '' ;
display : inline - block ;
vertical - align : middle ;
width : 1 px ;
background : $ { e => e . theme . schema . linesColor } ;
height : 7 px ;
}
2026-05-12 08:05:18 +00:00
` ,fp=xs.div `
2022-09-12 16:47:18 +02:00
padding : $ { ( { theme : e } ) => e . schema . nestingSpacing } ;
2026-05-12 08:05:18 +00:00
` ,hp=xs.table `
2022-09-12 16:47:18 +02:00
border - collapse : separate ;
border - radius : 3 px ;
font - size : $ { e => e . theme . typography . fontSize } ;
border - spacing : 0 ;
width : 100 % ;
> tr {
vertical - align : middle ;
}
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
display : block ;
> tr , > tbody > tr {
display : block ;
}
` }
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" , ! 1 , " and (-ms-high-contrast:none)" ) `
2022-09-12 16:47:18 +02:00
td {
float : left ;
width : 100 % ;
}
` }
&
2026-05-12 08:05:18 +00:00
$ { fp } ,
2022-09-12 16:47:18 +02:00
&
2026-05-12 08:05:18 +00:00
$ { fp }
$ { fp }
$ { fp } ,
2022-09-12 16:47:18 +02:00
&
2026-05-12 08:05:18 +00:00
$ { fp }
$ { fp }
$ { fp }
$ { fp }
$ { fp } {
2022-09-12 16:47:18 +02:00
margin : $ { ( { theme : e } ) => e . schema . nestingSpacing } ;
margin - right : 0 ;
background : $ { ( { theme : e } ) => e . schema . nestedBackground } ;
}
&
2026-05-12 08:05:18 +00:00
$ { fp }
$ { fp } ,
2022-09-12 16:47:18 +02:00
&
2026-05-12 08:05:18 +00:00
$ { fp }
$ { fp }
$ { fp }
$ { fp } ,
2022-09-12 16:47:18 +02:00
&
2026-05-12 08:05:18 +00:00
$ { fp }
$ { fp }
$ { fp }
$ { fp }
$ { fp }
$ { fp } {
2022-09-12 16:47:18 +02:00
background : # ffffff ;
}
2026-05-12 08:05:18 +00:00
` ,mp=xs.div `
2022-09-12 16:47:18 +02:00
margin : 0 0 3 px 0 ;
display : inline - block ;
2026-05-12 08:05:18 +00:00
` ,gp=xs.span `
2022-09-12 16:47:18 +02:00
font - size : 0.9 em ;
margin - right : 10 px ;
color : $ { e => e . theme . colors . primary . main } ;
font - family : $ { e => e . theme . typography . headings . fontFamily } ;
}
2026-05-12 08:05:18 +00:00
` ,yp=xs.button `
2022-09-12 16:47:18 +02:00
display : inline - block ;
margin - right : 10 px ;
margin - bottom : 5 px ;
font - size : 0.8 em ;
cursor : pointer ;
border : 1 px solid $ { e => e . theme . colors . primary . main } ;
padding : 2 px 10 px ;
line - height : 1.5 em ;
outline : none ;
& : focus {
box - shadow : 0 0 0 1 px $ { e => e . theme . colors . primary . main } ;
}
2026-05-12 08:05:18 +00:00
$ { ( { $deprecated : e } ) => e && sp || "" } ;
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
$ { e => e . $active ? ` \n color: white; \n background-color: ${ e . theme . colors . primary . main } ; \n &:focus { \n box-shadow: none; \n background-color: ${ Br ( . 15 , e . theme . colors . primary . main ) } ; \n } \n ` : ` \n color: ${ e . theme . colors . primary . main } ; \n background-color: white; \n ` }
` ,bp=xs.div `
2022-09-12 16:47:18 +02:00
font - size : 0.9 em ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
& : : after {
content : ' [' ;
}
2026-05-12 08:05:18 +00:00
` ,vp=xs.div `
2022-09-12 16:47:18 +02:00
font - size : 0.9 em ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
& : : after {
content : ']' ;
}
2026-05-12 08:05:18 +00:00
` ;function xp(e){return t=>!!t.type&&t.type.tabsRole===e}const wp=xp("Tab"),kp=xp("TabList"),Sp=xp("TabPanel");function Ep(e,t){return n.Children.map(e,(e=>null===e?null:function(e){return wp(e)||kp(e)||Sp(e)}(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children?(0,n.cloneElement)(e,{...e.props,children:Ep(e.props.children,t)}):e))}function Op(e,t){return n.Children.forEach(e,(e=>{null!==e&&(wp(e)||Sp(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children&&(kp(e)&&t(e),Op(e.props.children,t)))}))}function _p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=_p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var Ap=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=_p(e))&&(r&&(r+=" "),r+=t);return r};function Cp(e){let t=0;return Op(e,(e=>{wp(e)&&t++})),t}function jp(e){return e&&"getAttribute"in e}function Pp(e){return jp(e)&&e.getAttribute("data-rttab")}function Tp(e){return jp(e)&&"true"===e.getAttribute("aria-disabled")}let Ip;const Rp={className:"react-tabs",focus:!1},Np=e=>{let t=(0,n.useRef)([]),r=(0,n.useRef)([]);const i=(0,n.useRef)();function o(t,n){if(t<0||t>=l())return;const{onSelect:r,selectedIndex:i}=e;r(t,i,n)}function s(e){const t=l();for(let n=e+1;n<t;n++)if(!Tp(c(n)))return n;for(let t=0;t<e;t++)if(!Tp(c(t)))return t;return e}function a(e){let t=e;for(;t--;)if(!Tp(c(t)))return t;for(t=l();t-- >e;)if(!Tp(c(t)))return t;return e}function l(){const{children:t}=e;return Cp(t)}function c(e){return t.current[ ` tabs - $ { e } ` ]}function u(e){let t=e.target;do{if(p(t)){if(Tp(t))return;return void o([].slice.call(t.parentNode.children).filter(Pp).indexOf(t),e)}}while(null!=(t=t.parentNode))}function p(e){if(!Pp(e))return!1;let t=e.parentElement;do{if(t===i.current)return!0;if(t.getAttribute("data-rttabs"))break;t=t.parentElement}while(t);return!1}const{children:d,className:f,disabledTabClassName:h,domRef:m,focus:g,forceRenderTabPanel:y,onSelect:b,selectedIndex:v,selectedTabClassName:x,selectedTabPanelClassName:w,environment:k,disableUpDownKeys:S,disableLeftRightKeys:E,...O}={...Rp,...e};return n.createElement("div",Object.assign({},O,{className:Ap(f),onClick:u,onKeyDown:function(t){const{direction:n,disableUpDownKeys:r,disableLeftRightKeys:i}=e;if(p(t.target)){let{selectedIndex:p}=e,d=!1,f=!1;"Space"!==t.code&&32!==t.keyCode&&"Enter"!==t.code&&13!==t.keyCode||(d=!0,f=!1,u(t)),(i||37!==t.keyCode&&"ArrowLeft"!==t.code)&&(r||38!==t.keyCode&&"ArrowUp"!==t.code)?(i||39!==t.keyCode&&"ArrowRight"!==t.code)&&(r||40!==t.keyCode&&"ArrowDown"!==t.code)?35===t.keyCode||"End"===t.code?(p=function(){let e=l();for(;e--;)if(!Tp(c(e)))return e;return null}(),d=!0,f=!0):36!==t.keyCode&&"Home"!==t.code||(p=function(){const e=l();for(let t=0;t<e;t++)if(!Tp(c(t)))return t;return null}(),d=!0,f=!0):(p="rtl"===n?a(p):s(p),d=!0,f=!0):(p="rtl"===n?s(p):a(p),d=!0,f=!0),d&&t.preventDefault(),f&&o(p,t)}},ref:e=>{i.current=e,m&&m(e)},"data-rttabs":!0}),function(){let i=0;const{children:o,disabledTabClassName:s,focus:a,forceRenderTabPanel:u,selectedIndex:p,selectedTabClassName:d,selectedTabPanelClassName:f,environment:h}=e;r.current=r.current||[];let m=r.current.length-l();const g=(0,n.useId)();for(;m++<0;)r.current.push( ` $ { g } $ { r . current . length } ` );return Ep(o,(e=>{let o=e;if(kp(e)){let i=0,l=!1;null==Ip&&function(e){const t=e||("undefined"!=typeof window?window:void 0);try{Ip=!(void 0===t||!t.document||!t.document.activeElement)}catch(e){Ip=!1}}(h);const u=h||("undefined"!=typeof window?window:void 0);Ip&&u&&(l=n.Children.toArray(e.props.children).filter(wp).some(((e,t)=>u.document.activeElement===c(t)))),o=(0,n.cloneElement)(e,{children:Ep(e.props.children,(e=>{const o= ` tabs - $ { i } ` ,c=p===i,u={tabRef:e=>{t.current[o]=e},id:r.current[i],selected:c,focus:c&&(a||l)};return d&&(u.selectedClassName=d),s&&(u.disabledClassName=s),i++,(0,n.cloneElement)(e,u)}))})}else if(Sp(e)){const t={id:r.current[i],selected:p===i};u&&(t.forceRender=u),f&&(t.selectedClassName=f),i++,
2022-09-12 16:47:18 +02:00
> ul {
list - style : none ;
padding : 0 ;
margin : 0 ;
margin : 0 - 5 px ;
> li {
padding : 5 px 10 px ;
display : inline - block ;
background - color : $ { ( { theme : e } ) => e . codeBlock . backgroundColor } ;
border - bottom : 1 px solid rgba ( 0 , 0 , 0 , 0.5 ) ;
cursor : pointer ;
text - align : center ;
outline : none ;
2026-05-12 08:05:18 +00:00
color : $ { ( { theme : e } ) => Br ( e . colors . tonalOffset , e . rightPanel . textColor ) } ;
2022-09-12 16:47:18 +02:00
margin : 0
$ { ( { theme : e } ) => ` ${ e . spacing . unit } px ${ e . spacing . unit } px ${ e . spacing . unit } px ` } ;
2026-05-12 08:05:18 +00:00
border : 1 px solid $ { ( { theme : e } ) => Br ( . 05 , e . codeBlock . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
border - radius : 5 px ;
min - width : 60 px ;
font - size : 0.9 em ;
font - weight : bold ;
& . react - tabs _ _tab -- selected {
color : $ { e => e . theme . colors . text . primary } ;
background : $ { ( { theme : e } ) => e . rightPanel . textColor } ;
& : focus {
outline : auto ;
}
}
& : only - child {
flex : none ;
min - width : 100 px ;
}
& . tab - success {
color : $ { e => e . theme . colors . responses . success . tabTextColor } ;
}
& . tab - redirect {
color : $ { e => e . theme . colors . responses . redirect . tabTextColor } ;
}
& . tab - info {
color : $ { e => e . theme . colors . responses . info . tabTextColor } ;
}
& . tab - error {
color : $ { e => e . theme . colors . responses . error . tabTextColor } ;
}
}
}
> . react - tabs _ _tab - panel {
background : $ { ( { theme : e } ) => e . codeBlock . backgroundColor } ;
& > div ,
& > pre {
padding : $ { e => 4 * e . theme . spacing . unit } px ;
margin : 0 ;
}
& > div > pre {
padding : 0 ;
}
}
2026-05-12 08:05:18 +00:00
` ,Kp=(xs(Xp) `
2022-09-12 16:47:18 +02:00
> ul {
display : block ;
> li {
padding : 2 px 5 px ;
min - width : auto ;
margin : 0 15 px 0 0 ;
font - size : 13 px ;
font - weight : normal ;
border - bottom : 1 px dashed ;
2026-05-12 08:05:18 +00:00
color : $ { ( { theme : e } ) => Br ( e . colors . tonalOffset , e . rightPanel . textColor ) } ;
2022-09-12 16:47:18 +02:00
border - radius : 0 ;
background : none ;
& : last - child {
margin - right : 0 ;
}
& . react - tabs _ _tab -- selected {
color : $ { ( { theme : e } ) => e . rightPanel . textColor } ;
background : none ;
}
}
}
> . react - tabs _ _tab - panel {
& > div ,
& > pre {
padding : $ { e => 2 * e . theme . spacing . unit } px 0 ;
}
}
2026-05-12 08:05:18 +00:00
` ,xs.div `
2022-09-12 16:47:18 +02:00
/ * *
* Based on prism - dark . css
* /
code [ class *= 'language-' ] ,
pre [ class *= 'language-' ] {
/ * c o l o r : w h i t e ;
background : none ; * /
text - shadow : 0 - 0.1 em 0.2 em black ;
text - align : left ;
white - space : pre ;
word - spacing : normal ;
word - break : normal ;
word - wrap : normal ;
line - height : 1.5 ;
- moz - tab - size : 4 ;
- o - tab - size : 4 ;
tab - size : 4 ;
- webkit - hyphens : none ;
- moz - hyphens : none ;
- ms - hyphens : none ;
hyphens : none ;
}
@ media print {
code [ class *= 'language-' ] ,
pre [ class *= 'language-' ] {
text - shadow : none ;
}
}
/* Code blocks */
pre [ class *= 'language-' ] {
padding : 1 em ;
margin : 0.5 em 0 ;
overflow : auto ;
}
. token . comment ,
. token . prolog ,
. token . doctype ,
. token . cdata {
color : hsl ( 30 , 20 % , 50 % ) ;
}
. token . punctuation {
opacity : 0.7 ;
}
. namespace {
opacity : 0.7 ;
}
. token . property ,
. token . tag ,
. token . number ,
. token . constant ,
. token . symbol {
color : # 4 a8bb3 ;
}
. token . boolean {
color : # e64441 ;
}
. token . selector ,
. token . attr - name ,
. token . string ,
. token . char ,
. token . builtin ,
. token . inserted {
color : # a0fbaa ;
& + a ,
& + a : visited {
color : # 4 ed2ba ;
text - decoration : underline ;
}
}
. token . property . string {
color : white ;
}
. token . operator ,
. token . entity ,
. token . url ,
. token . variable {
color : hsl ( 40 , 90 % , 60 % ) ;
}
. token . atrule ,
. token . attr - value ,
. token . keyword {
color : hsl ( 350 , 40 % , 70 % ) ;
}
. token . regex ,
. token . important {
color : # e90 ;
}
. token . important ,
. token . bold {
font - weight : bold ;
}
. token . italic {
font - style : italic ;
}
. token . entity {
cursor : help ;
}
. token . deleted {
color : red ;
}
2026-05-12 08:05:18 +00:00
$ { ws ( "Prism" ) } ;
` ),Zp=xs.div `
2022-09-12 16:47:18 +02:00
opacity : 0.7 ;
transition : opacity 0.3 s ease ;
text - align : right ;
& : focus - within {
opacity : 1 ;
}
> button {
background - color : transparent ;
border : 0 ;
color : inherit ;
padding : 2 px 10 px ;
font - family : $ { ( { theme : e } ) => e . typography . fontFamily } ;
font - size : $ { ( { theme : e } ) => e . typography . fontSize } ;
line - height : $ { ( { theme : e } ) => e . typography . lineHeight } ;
cursor : pointer ;
outline : 0 ;
: hover ,
: focus {
background : rgba ( 255 , 255 , 255 , 0.1 ) ;
}
}
2026-05-12 08:05:18 +00:00
` ,Jp=xs.div `
& : hover $ { Zp } {
2022-09-12 16:47:18 +02:00
opacity : 1 ;
}
2026-05-12 08:05:18 +00:00
` ,ed=xs(Kp).attrs({as:"pre"}) `
2022-09-12 16:47:18 +02:00
font - family : $ { e => e . theme . typography . code . fontFamily } ;
font - size : $ { e => e . theme . typography . code . fontSize } ;
overflow - x : auto ;
margin : 0 ;
white - space : $ { ( { theme : e } ) => e . typography . code . wrap ? "pre-wrap" : "pre" } ;
2026-05-12 08:05:18 +00:00
` ;function td(e){return getComputedStyle(e)}function nd(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function rd(e){var t=document.createElement("div");return t.className=e,t}var id="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function od(e,t){if(!id)throw new Error("No element matching method supported");return id.call(e,t)}function sd(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function ad(e,t){return Array.prototype.filter.call(e.children,(function(e){return od(e,t)}))}var ld={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},cd={x:null,y:null};function ud(e,t){var n=e.element.classList,r=ld.state.scrolling(t);n.contains(r)?clearTimeout(cd[t]):n.add(r)}function pd(e,t){cd[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(ld.state.scrolling(t))}),e.settings.scrollingThreshold)}var dd=function(e){this.element=e,this.handlers={}},fd={isEmpty:{configurable:!0}};dd.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},dd.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)}))},dd.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},fd.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(dd.prototype,fd);var hd=function(){this.eventElements=[]};function md(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function gd(e,t,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,i){var o=n[0],s=n[1],a=n[2],l=n[3],c=n[4],u=n[5];void 0===r&&(r=!0),void 0===i&&(i=!1);var p=e.element;e.reach[l]=null,p[a]<1&&(e.reach[l]="start"),p[a]>e[o]-e[s]-1&&(e.reach[l]="end"),t&&(p.dispatchEvent(md("ps-scroll-"+l)),t<0?p.dispatchEvent(md("ps-scroll-"+c)):t>0&&p.dispatchEvent(md("ps-scroll-"+u)),r&&function(e,t){ud(e,t),pd(e,t)}(e,l)),e.reach[l]&&(t||i)&&p.dispatchEvent(md("ps-"+l+"-reach-"+e.reach[l]))}(e,n,o,r,i)}function yd(e){return parseInt(e,10)||0}hd.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new dd(e),this.eventElements.push(t)),t},hd.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},hd.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},hd.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},hd.prototype.once=function(e,t,n){var r=this.eventElement(e),i=function(e){r.unbind(t,i),n(e)};r.bind(t,i)};var bd={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function vd(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.round(r.width),e.containerHeight=Math.round(r.height),e.contentW
2022-09-12 16:47:18 +02:00
position : relative ;
2026-05-12 08:05:18 +00:00
` ;class Nd extends n.Component{constructor(){super(...arguments),this.handleRef=e=>{this._container=e}}componentDidMount(){const e=this._container.parentElement&&this._container.parentElement.scrollTop||0;this.inst=new Pd(this._container,this.props.options||{}),this._container.scrollTo&&this._container.scrollTo(0,e)}componentDidUpdate(){this.inst.update()}componentWillUnmount(){this.inst.destroy()}render(){const{children:e,className:t,updateFn:r}=this.props;return r&&r(this.componentDidUpdate.bind(this)),n.createElement(n.Fragment,null,Td&&n.createElement(Id,null),n.createElement(Rd,{className: ` scrollbar - container $ { t } ` ,ref:this.handleRef},e))}}function $ d(e){return n.createElement(js.Consumer,null,(t=>t.nativeScrollbars?n.createElement("div",{style:{overflow:"auto",overscrollBehavior:"contain",msOverflowStyle:"-ms-autohiding-scrollbar"}},e.children):n.createElement(Nd,((e,t)=>{for(var n in t||(t={}))Ad.call(t,n)&&jd(e,n,t[n]);if(_d)for(var n of _d(t))Cd.call(t,n)&&jd(e,n,t[n]);return e})({},e),e.children)))}const Ld=xs((({className:e,style:t})=>n.createElement("svg",{className:e,style:t,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("polyline",{points:"6 9 12 15 18 9"})))) `
2022-09-12 16:47:18 +02:00
position : absolute ;
pointer - events : none ;
z - index : 1 ;
top : 50 % ;
- webkit - transform : translateY ( - 50 % ) ;
- ms - transform : translateY ( - 50 % ) ;
transform : translateY ( - 50 % ) ;
right : 8 px ;
margin : auto ;
text - align : center ;
polyline {
color : $ { e => "dark" === e . variant && "white" } ;
}
2026-05-12 08:05:18 +00:00
` ,Dd=n.memo((e=>{const{options:t,onChange:r,placeholder:i,value:o="",variant:s,className:a}=e;return n.createElement("div",{className:a},n.createElement(Ld,{variant:s}),n.createElement("select",{onChange:e=>{const{selectedIndex:n}=e.target;r(t[i?n-1:n])},value:o,className:"dropdown-select"},i&&n.createElement("option",{disabled:!0,hidden:!0,value:i},i),t.map((({idx:e,value:t,title:r},i)=>n.createElement("option",{key:e||t+i,value:t},r||t)))),n.createElement("label",null,o))})),Md=fs(Dd) `
2022-09-12 16:47:18 +02:00
label {
box - sizing : border - box ;
min - width : 100 px ;
outline : none ;
display : inline - block ;
font - family : $ { e => e . theme . typography . headings . fontFamily } ;
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
vertical - align : bottom ;
width : $ { ( { fullWidth : e } ) => e ? "100%" : "auto" } ;
text - transform : none ;
padding : 0 22 px 0 4 px ;
font - size : 0.929 em ;
line - height : 1.5 em ;
font - family : inherit ;
text - overflow : ellipsis ;
overflow : hidden ;
white - space : nowrap ;
}
. dropdown - select {
position : absolute ;
top : 0 ;
left : 0 ;
width : 100 % ;
height : 100 % ;
opacity : 0 ;
border : none ;
appearance : none ;
cursor : pointer ;
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
line - height : inherit ;
font - family : inherit ;
}
box - sizing : border - box ;
min - width : 100 px ;
outline : none ;
display : inline - block ;
border - radius : 2 px ;
border : 1 px solid rgba ( 38 , 50 , 56 , 0.5 ) ;
vertical - align : bottom ;
padding : 2 px 0 px 2 px 6 px ;
position : relative ;
width : auto ;
background : white ;
color : # 263238 ;
font - family : $ { e => e . theme . typography . headings . fontFamily } ;
font - size : 0.929 em ;
line - height : 1.5 em ;
cursor : pointer ;
transition : border 0.25 s ease , color 0.25 s ease , box - shadow 0.25 s ease ;
& : hover ,
& : focus - within {
border : 1 px solid $ { e => e . theme . colors . primary . main } ;
color : $ { e => e . theme . colors . primary . main } ;
box - shadow : 0 px 0 px 0 px 1 px $ { e => e . theme . colors . primary . main } ;
}
2026-05-12 08:05:18 +00:00
` ,Fd=fs(Md) `
2022-09-12 16:47:18 +02:00
margin - left : 10 px ;
text - transform : none ;
font - size : 0.969 em ;
font - size : 1 em ;
border : none ;
padding : 0 1.2 em 0 0 ;
background : transparent ;
& : hover ,
& : focus - within {
border : none ;
box - shadow : none ;
label {
color : $ { e => e . theme . colors . primary . main } ;
text - shadow : 0 px 0 px 0 px $ { e => e . theme . colors . primary . main } ;
}
}
2026-05-12 08:05:18 +00:00
` ,zd=fs.span `
2022-09-12 16:47:18 +02:00
margin - left : 10 px ;
text - transform : none ;
font - size : 0.929 em ;
color : black ;
2026-05-12 08:05:18 +00:00
` ;var Bd=Object.defineProperty,Ud=Object.defineProperties,qd=Object.getOwnPropertyDescriptors,Vd=Object.getOwnPropertySymbols,Wd=Object.prototype.hasOwnProperty,Hd=Object.prototype.propertyIsEnumerable,Yd=(e,t,n)=>t in e?Bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gd=(e,t)=>{for(var n in t||(t={}))Wd.call(t,n)&&Yd(e,n,t[n]);if(Vd)for(var n of Vd(t))Hd.call(t,n)&&Yd(e,n,t[n]);return e},Qd=(e,t)=>Ud(e,qd(t));class Xd{constructor(e,t,n){this.operations=[];const{resolved:r}=e.deref(n||{});this.initWebhooks(e,r,t)}initWebhooks(e,t,n){for(const r of Object.keys(t)){const i=t[r],o=Object.keys(i).filter(na);for(const t of o){const r=i[t];if(i. $ ref){const r=e.deref(i||{});this.initWebhooks(e,{[t]:r},n)}if(!r)continue;const o=new Du(e,Qd(Gd({},r),{httpVerb:t}),void 0,n,!1);this.operations.push(o)}}}}class Kd{constructor(e,t,n){const{resolved:r}=e.deref(n);this.id=t,this.sectionId=ka+t,this.type=r.type,this.displayName=r["x-displayName"]||t,this.description=r.description||"","apiKey"===r.type&&(this.apiKey={name:r.name,in:r.in}),"http"===r.type&&(this.http={scheme:r.scheme,bearerFormat:r.bearerFormat}),"openIdConnect"===r.type&&(this.openId={connectUrl:r.openIdConnectUrl}),"oauth2"===r.type&&r.flows&&(this.flows=r.flows)}}class Zd{constructor(e){const t=e.spec.components&&e.spec.components.securitySchemes||{};this.schemes=Object.keys(t).map((n=>new Kd(e,n,t[n])))}}var Jd=Object.defineProperty,ef=Object.getOwnPropertySymbols,tf=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?Jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,of=(e,t)=>{for(var n in t||(t={}))tf.call(t,n)&&rf(e,n,t[n]);if(ef)for(var n of ef(t))nf.call(t,n)&&rf(e,n,t[n]);return e};class sf{constructor(e,t,n){var r,i,o;this.options=n,this.parser=new kc(e,t,n),this.info=new ql(this.parser,this.options),this.externalDocs=this.parser.spec.externalDocs,this.contentItems=xf.buildStructure(this.parser,this.options),this.securitySchemes=new Zd(this.parser);const s=of(of({},null==(i=null==(r=this.parser)?void 0:r.spec)?void 0:i["x-webhooks"]),null==(o=this.parser)?void 0:o.spec.webhooks);this.webhooks=new Xd(this.parser,n,s)}}var af=Object.defineProperty,lf=Object.getOwnPropertyDescriptor,cf=(e,t,n,r)=>{for(var i,o=r>1?void 0:r?lf(t,n):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(r?i(t,n,o):i(o))||o);return r&&o&&af(t,n,o),o};class uf{constructor(e,t,n){this.items=[],this.active=!1,this.expanded=!1,on(this),this.id=t.id||e+"/"+di(t.name),this.type=e,this.name=t["x-displayName"]||t.name,this.level=t.level||1,this.sidebarLabel=this.name,this.description=t.description||"";const r=t.items;r&&r.length&&(this.description=Bl.getTextBeforeHading(this.description,r[0].name)),this.parent=n,this.externalDocs=t.externalDocs,"group"===this.type&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){"group"!==this.type&&(this.expanded=!1)}deactivate(){this.active=!1}}cf([Te],uf.prototype,"active",2),cf([Te],uf.prototype,"expanded",2),cf([Pt],uf.prototype,"activate",1),cf([Pt],uf.prototype,"expand",1),cf([Pt],uf.prototype,"collapse",1),cf([Pt],uf.prototype,"deactivate",1);var pf=Object.defineProperty,df=Object.defineProperties,ff=Object.getOwnPropertyDescriptors,hf=Object.getOwnPropertySymbols,mf=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,yf=(e,t,n)=>t in e?pf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bf=(e,t)=>{for(var n in t||(t={}))mf.call(t,n)&&yf(e,n,t[n]);if(hf)for(var n of hf(t))gf.call(t,n)&&yf(e,n,t[n]);return e},vf=(e,t)=>df(e,ff(t));class xf{static buildStructure(e,t){const n=e.spec,{schemaDefinitionsTagName:r}=t,i=[],o=[...n.tags||[]];!o.find((e=>(null==e?void 0:e.name)===r))&&r&&o.push({name:r});const s=xf.getTagsWithOperations(e,o);return i.push(...xf.addMarkdownItems(n.info.description||"",void 0,1,t)),n["x-tagGroups"]&&n["x-tagGroups"].length>0?i.push(...xf.getTagGroupsItems(e,void 0,n["x-tagGroups"],s,t)):i.push(...xf.getTagsItems(e,s,void 0,void 0,t)),i}static addMarkdownItems(e,t,n,r){
2022-09-12 16:47:18 +02:00
a {
text - decoration : $ { e => e . theme . typography . links . textDecoration } ;
color : $ { e => e . theme . typography . links . color } ;
& : visited {
color : $ { e => e . theme . typography . links . visited } ;
}
& : hover {
color : $ { e => e . theme . typography . links . hover } ;
text - decoration : $ { e => e . theme . typography . links . hoverTextDecoration } ;
}
}
2026-05-12 08:05:18 +00:00
` ,Fh=xs(Kp) `
2022-09-12 16:47:18 +02:00
font - family : $ { e => e . theme . typography . fontFamily } ;
font - weight : $ { e => e . theme . typography . fontWeightRegular } ;
line - height : $ { e => e . theme . typography . lineHeight } ;
p {
& : last - child {
margin - bottom : 0 ;
}
}
2026-05-12 08:05:18 +00:00
$ { ( { $compact : e } ) => e && "\n p:first-child {\n margin-top: 0;\n }\n p:last-child {\n margin-bottom: 0;\n }\n " }
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
$ { ( { $inline : e } ) => e && " p {\n display: inline-block;\n }" }
2022-09-12 16:47:18 +02:00
h1 {
2026-05-12 08:05:18 +00:00
$ { Vu ( 1 ) } ;
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . colors . primary . main } ;
margin - top : 0 ;
}
h2 {
2026-05-12 08:05:18 +00:00
$ { Vu ( 2 ) } ;
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . colors . text . primary } ;
}
code {
color : $ { ( { theme : e } ) => e . typography . code . color } ;
background - color : $ { ( { theme : e } ) => e . typography . code . backgroundColor } ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
border - radius : 2 px ;
border : 1 px solid rgba ( 38 , 50 , 56 , 0.1 ) ;
padding : 0 $ { ( { theme : e } ) => e . spacing . unit } px ;
font - size : $ { e => e . theme . typography . code . fontSize } ;
font - weight : $ { ( { theme : e } ) => e . typography . code . fontWeight } ;
word - break : break - word ;
}
pre {
font - family : $ { e => e . theme . typography . code . fontFamily } ;
white - space : $ { ( { theme : e } ) => e . typography . code . wrap ? "pre-wrap" : "pre" } ;
background - color : $ { ( { theme : e } ) => e . codeBlock . backgroundColor } ;
color : white ;
padding : $ { e => 4 * e . theme . spacing . unit } px ;
overflow - x : auto ;
line - height : normal ;
2026-05-12 08:05:18 +00:00
border - radius : 0 ;
2022-09-12 16:47:18 +02:00
border : 1 px solid rgba ( 38 , 50 , 56 , 0.1 ) ;
code {
background - color : transparent ;
color : white ;
padding : 0 ;
& : before ,
& : after {
content : none ;
}
}
}
blockquote {
margin : 0 ;
margin - bottom : 1 em ;
padding : 0 15 px ;
color : # 777 ;
border - left : 4 px solid # ddd ;
}
img {
max - width : 100 % ;
box - sizing : content - box ;
}
ul ,
ol {
padding - left : 2 em ;
margin : 0 ;
margin - bottom : 1 em ;
ul ,
ol {
margin - bottom : 0 ;
margin - top : 0 ;
}
}
table {
display : block ;
width : 100 % ;
overflow : auto ;
word - break : normal ;
word - break : keep - all ;
border - collapse : collapse ;
border - spacing : 0 ;
margin - top : 1.5 em ;
margin - bottom : 1.5 em ;
}
table tr {
background - color : # fff ;
border - top : 1 px solid # ccc ;
& : nth - child ( 2 n ) {
background - color : $ { ( { theme : e } ) => e . schema . nestedBackground } ;
}
}
table th ,
table td {
padding : 6 px 13 px ;
border : 1 px solid # ddd ;
}
table th {
text - align : left ;
font - weight : bold ;
}
2026-05-12 08:05:18 +00:00
$ { ep ( ".share-link" ) } ;
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
$ { Mh }
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
$ { ws ( "Markdown" ) } ;
` ;var zh=Object.defineProperty,Bh=Object.defineProperties,Uh=Object.getOwnPropertyDescriptors,qh=Object.getOwnPropertySymbols,Vh=Object.prototype.hasOwnProperty,Wh=Object.prototype.propertyIsEnumerable,Hh=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Yh=Dh,Gh=fs(Fh) `
display : inline ;
` ,Qh=(e,t)=>e?Yh.sanitize(t):t;function Xh(e){var t=e,{inline:r,compact:i}=t,o=((e,t)=>{var n={};for(var r in e)Vh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&qh)for(var r of qh(e))t.indexOf(r)<0&&Wh.call(e,r)&&(n[r]=e[r]);return n})(t,["inline","compact"]);const s=r?Gh:Fh;return n.createElement(Ts,null,(e=>n.createElement(s,((e,t)=>Bh(e,Uh(t)))(((e,t)=>{for(var n in t||(t={}))Vh.call(t,n)&&Hh(e,n,t[n]);if(qh)for(var n of qh(t))Wh.call(t,n)&&Hh(e,n,t[n]);return e})({className:"redoc-markdown "+(o.className||""),dangerouslySetInnerHTML:{__html:Qh(e.sanitize,o.html)},"data-role":o["data-role"]},o),{ $ inline:r, $ compact:i}))))}class Kh extends n.Component{render(){const{source:e,inline:t,compact:r,className:i,"data-role":o}=this.props,s=new Bl;return n.createElement(Xh,{html:s.renderMd(e),inline:t,compact:r,className:i,"data-role":o})}}const Zh=xs.div `
2022-09-12 16:47:18 +02:00
position : relative ;
2026-05-12 08:05:18 +00:00
` ,Jh=xs.div `
2022-09-12 16:47:18 +02:00
position : absolute ;
min - width : 80 px ;
max - width : 500 px ;
background : # fff ;
bottom : 100 % ;
left : 50 % ;
margin - bottom : 10 px ;
transform : translateX ( - 50 % ) ;
border - radius : 4 px ;
padding : 0.3 em 0.6 em ;
text - align : center ;
box - shadow : 0 px 0 px 5 px 0 px rgba ( 204 , 204 , 204 , 1 ) ;
2026-05-12 08:05:18 +00:00
` ,em=xs.div `
2022-09-12 16:47:18 +02:00
background : # fff ;
color : # 000 ;
display : inline ;
font - size : 0.85 em ;
white - space : nowrap ;
2026-05-12 08:05:18 +00:00
` ,tm=xs.div `
2022-09-12 16:47:18 +02:00
position : absolute ;
width : 0 ;
height : 0 ;
bottom : - 5 px ;
left : 50 % ;
margin - left : - 5 px ;
border - left : solid transparent 5 px ;
border - right : solid transparent 5 px ;
border - top : solid # fff 5 px ;
2026-05-12 08:05:18 +00:00
` ,nm=xs.div `
2022-09-12 16:47:18 +02:00
position : absolute ;
width : 100 % ;
height : 20 px ;
bottom : - 20 px ;
2026-05-12 08:05:18 +00:00
` ;class rm extends n.Component{render(){const{open:e,title:t,children:r}=this.props;return n.createElement(Zh,null,r,e&&n.createElement(Jh,null,n.createElement(em,null,t),n.createElement(tm,null),n.createElement(nm,null)))}}const im="undefined"!=typeof document&&document.queryCommandSupported&&document.queryCommandSupported("copy");class om{static isSupported(){return im}static selectElement(e){let t,n;document.body.createTextRange?(t=document.body.createTextRange(),t.moveToElementText(e),t.select()):document.createRange&&window.getSelection&&(n=window.getSelection(),t=document.createRange(),t.selectNodeContents(e),n.removeAllRanges(),n.addRange(t))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const e=window.getSelection();e&&e.removeAllRanges()}}static copySelected(){let e;try{e=document.execCommand("copy")}catch(t){e=!1}return e}static copyElement(e){om.selectElement(e);const t=om.copySelected();return t&&om.deselect(),t}static copyCustom(e){const t=document.createElement("textarea");t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.width="2em",t.style.height="2em",t.style.padding="0",t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=e,document.body.appendChild(t),t.select();const n=om.copySelected();return document.body.removeChild(t),n}}const sm=e=>{const[t,r]=n.useState(!1),i=()=>{const t="string"==typeof e.data?e.data:JSON.stringify(e.data,null,2);om.copyCustom(t),o()},o=()=>{r(!0),setTimeout((()=>{r(!1)}),1500)};return e.children({renderCopyButton:()=>n.createElement("button",{onClick:i},n.createElement(rm,{title:om.isSupported()?"Copied":"Not supported in your browser",open:t},"Copy"))})};let am=1;function lm(e,t){am=1;let n="";return n+='<div class="redoc-json">',n+="<code>",n+=fm(e,t),n+="</code>",n+="</div>",n}function cm(e){return void 0!==e?e.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function um(e){return JSON.stringify(e).slice(1,-1)}function pm(e,t){return'<span class="'+t+'">'+cm(e)+"</span>"}function dm(e){return'<span class="token punctuation">'+e+"</span>"}function fm(e,t){const n=typeof e;let r="";return null==e?r+=pm("null","token keyword"):e&&e.constructor===Array?(am++,r+=function(e,t){const n=am>t?"collapsed":"";let r= ` < button class = "collapser" aria - label = "${am>t+1?" expand ":" collapse "}" > < / b u t t o n > $ { d m ( " [ " ) } < s p a n c l a s s = " e l l i p s i s " > < / s p a n > < u l c l a s s = " a r r a y c o l l a p s i b l e " > ` , i = ! 1 ; c o n s t o = e . l e n g t h ; f o r ( l e t s = 0 ; s < o ; s + + ) i = ! 0 , r + = ' < l i > < d i v c l a s s = " h o v e r a b l e ' + n + ' " > ' , r + = f m ( e [ s ] , t ) , s < o - 1 & & ( r + = " , " ) , r + = " < / d i v > < / l i > " ; r e t u r n r + = ` < / u l > $ { d m ( " ] " ) } ` , i | | ( r = d m ( " [ ] " ) ) , r } ( e , t ) , a m - - ) : e & & e . c o n s t r u c t o r = = = D a t e ? r + = p m ( ' " ' + e . t o I S O S t r i n g ( ) + ' " ' , " t o k e n s t r i n g " ) : " o b j e c t " = = = n ? ( a m + + , r + = f u n c t i o n ( e , t ) { c o n s t n = a m > t ? " c o l l a p s e d " : " " , r = O b j e c t . k e y s ( e ) , i = r . l e n g t h ; l e t o = ` < b u t t o n c l a s s = " c o l l a p s e r " a r i a - l a b e l = " $ { a m > t + 1 ? " e x p a n d " : " c o l l a p s e " } " > < / b u t t o n > $ { d m ( " { " ) } < s p a n c l a s s = " e l l i p s i s " > < / s p a n > < u l c l a s s = " o b j c o l l a p s i b l e " > ` , s = ! 1 ; f o r ( l e t a = 0 ; a < i ; a + + ) { c o n s t l = r [ a ] ; s = ! 0 , o + = ' < l i > < d i v c l a s s = " h o v e r a b l e ' + n + ' " > ' , o + = ' < s p a n c l a s s = " p r o p e r t y t o k e n s t r i n g " > " ' + c m ( l ) + ' " < / s p a n > : ' , o + = f m ( e [ l ] , t ) , a < i - 1 & & ( o + = d m ( " , " ) ) , o + = " < / d i v > < / l i > " } r e t u r n o + = ` < / u l > $ { d m ( " } " ) } ` , s | | ( o = d m ( " { } " ) ) , o } ( e , t ) , a m - - ) : " n u m b e r " = = = n ? r + = p m ( e , " t o k e n n u m b e r " ) : " s t r i n g " = = = n ? / ^ ( h t t p | h t t p s ) : \ / \ / [ ^ \ s ] + $ / . t e s t ( e ) ? r + = p m ( ' " ' , " t o k e n s t r i n g " ) + ' < a h r e f = " ' + e n c o d e U R I ( e ) + ' " > ' + c m ( u m ( e ) ) + " < / a > " + p m ( ' " ' , " t o k e n s t r i n g " ) : r + = p m ( ' " ' + u m ( e ) + ' " ' , " t o k e n s t r i n g " ) : " b o o l e a n " = = = n & & ( r + = p m ( e , " t o k e n b o o l e a n " ) ) , r } c o n s t h m = m s `
2022-09-12 16:47:18 +02:00
. redoc - json code > . collapser {
display : none ;
pointer - events : none ;
}
font - family : $ { e => e . theme . typography . code . fontFamily } ;
font - size : $ { e => e . theme . typography . code . fontSize } ;
white - space : $ { ( { theme : e } ) => e . typography . code . wrap ? "pre-wrap" : "pre" } ;
contain : content ;
overflow - x : auto ;
. callback - function {
color : gray ;
}
. collapser : after {
content : '-' ;
cursor : pointer ;
}
. collapsed > . collapser : after {
content : '+' ;
cursor : pointer ;
}
. ellipsis : after {
content : ' … ' ;
}
. collapsible {
margin - left : 2 em ;
}
. hoverable {
padding - top : 1 px ;
padding - bottom : 1 px ;
padding - left : 2 px ;
padding - right : 2 px ;
border - radius : 2 px ;
}
. hovered {
background - color : rgba ( 235 , 238 , 249 , 1 ) ;
}
. collapser {
background - color : transparent ;
border : 0 ;
color : # fff ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
font - size : $ { e => e . theme . typography . code . fontSize } ;
padding - right : 6 px ;
padding - left : 6 px ;
padding - top : 0 ;
padding - bottom : 0 ;
display : flex ;
align - items : center ;
justify - content : center ;
width : 15 px ;
height : 15 px ;
position : absolute ;
top : 4 px ;
left : - 1.5 em ;
cursor : default ;
user - select : none ;
- webkit - user - select : none ;
padding : 2 px ;
& : focus {
outline - color : # fff ;
outline - style : dotted ;
outline - width : 1 px ;
}
}
ul {
list - style - type : none ;
padding : 0 px ;
margin : 0 px 0 px 0 px 26 px ;
}
li {
position : relative ;
display : block ;
}
. hoverable {
display : inline - block ;
}
. selected {
outline - style : solid ;
outline - width : 1 px ;
outline - style : dotted ;
}
. collapsed > . collapsible {
display : none ;
}
. ellipsis {
display : none ;
}
. collapsed > . ellipsis {
display : inherit ;
}
2026-05-12 08:05:18 +00:00
` ,mm=xs.div `
& : hover > $ { Zp } {
2022-09-12 16:47:18 +02:00
opacity : 1 ;
}
2026-05-12 08:05:18 +00:00
` ,gm=xs((e=>{const[t,r]=n.useState(),i=({renderCopyButton:t})=>{const i=e.data&&Object.values(e.data).some((e=>"object"==typeof e&&null!==e));return n.createElement(mm,null,n.createElement(Zp,null,t(),i&&n.createElement(n.Fragment,null,n.createElement("button",{onClick:o}," Expand all "),n.createElement("button",{onClick:s}," Collapse all "))),n.createElement(js.Consumer,null,(t=>n.createElement(Kp,{tabIndex:0,className:e.className,ref:e=>r(e),dangerouslySetInnerHTML:{__html:lm(e.data,t.jsonSamplesExpandLevel)}}))))},o=()=>{const e=null==t?void 0:t.getElementsByClassName("collapsible");for(const t of Array.prototype.slice.call(e)){const e=t.parentNode;e.classList.remove("collapsed"),e.querySelector(".collapser").setAttribute("aria-label","collapse")}},s=()=>{const e=null==t?void 0:t.getElementsByClassName("collapsible"),n=Array.prototype.slice.call(e,1);for(const e of n){const t=e.parentNode;t.classList.add("collapsed"),t.querySelector(".collapser").setAttribute("aria-label","expand")}},a=e=>{let t;"collapser"===e.className&&(t=e.parentElement.getElementsByClassName("collapsible")[0],t.parentElement.classList.contains("collapsed")?(t.parentElement.classList.remove("collapsed"),e.setAttribute("aria-label","collapse")):(t.parentElement.classList.add("collapsed"),e.setAttribute("aria-label","expand")))},l=n.useCallback((e=>{a(e.target)}),[]),c=n.useCallback((e=>{"Enter"===e.key&&a(e.target)}),[]);return n.useEffect((()=>(null==t||t.addEventListener("click",l),null==t||t.addEventListener("focus",c),()=>{null==t||t.removeEventListener("click",l),null==t||t.removeEventListener("focus",c)})),[l,c,t]),n.createElement(sm,{data:e.data},i)})) `
$ { hm } ;
` ,ym=e=>{const{source:t,lang:r}=e;return n.createElement(ed,{dangerouslySetInnerHTML:{__html:Aa(t,r)}})},bm=e=>{const{source:t,lang:r}=e;return n.createElement(sm,{data:t},(({renderCopyButton:e})=>n.createElement(Jp,null,n.createElement(Zp,null,e()),n.createElement(ym,{lang:r,source:t}))))};function vm({value:e,mimeType:t}){return oa(t)?n.createElement(gm,{data:e}):("object"==typeof e&&(e=JSON.stringify(e,null,2)),n.createElement(bm,{lang:(r=t,-1!==r.search(/xml/i)?"xml":-1!==r.search(/csv/i)?"csv":-1!==r.search(/plain/i)?"tex":"clike"),source:e}));var r}var xm=(e,t,n)=>new Promise(((r,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,s);a((n=n.apply(e,t)).next())}));function wm({example:e,mimeType:t}){return void 0===e.value&&e.externalValueUrl?n.createElement(km,{example:e,mimeType:t}):n.createElement(vm,{value:e.value,mimeType:t})}function km({example:e,mimeType:t}){const r=function(e,t){const[,r]=(0,n.useState)(!0),i=(0,n.useRef)(void 0),o=(0,n.useRef)(void 0);return o.current!==e&&(i.current=void 0),o.current=e,(0,n.useEffect)((()=>{(()=>{xm(this,null,(function*(){r(!0);try{i.current=yield e.getExternalValue(t)}catch(e){i.current=e}r(!1)}))})()}),[e,t]),i.current}(e,t);return void 0===r?n.createElement("span",null,"Loading..."):r instanceof Error?n.createElement(ed,null,"Error loading external example: ",n.createElement("br",null),n.createElement("a",{className:"token string",href:e.externalValueUrl,target:"_blank",rel:"noopener noreferrer"},e.externalValueUrl)):n.createElement(vm,{value:r,mimeType:t})}const Sm=xs.div `
2022-09-12 16:47:18 +02:00
padding : 0.9 em ;
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => Kr ( . 6 , e . rightPanel . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
margin : 0 0 10 px 0 ;
display : block ;
font - family : $ { ( { theme : e } ) => e . typography . headings . fontFamily } ;
font - size : 0.929 em ;
line - height : 1.5 em ;
2026-05-12 08:05:18 +00:00
` ,Em=xs.span `
2022-09-12 16:47:18 +02:00
font - family : $ { ( { theme : e } ) => e . typography . headings . fontFamily } ;
font - size : 12 px ;
position : absolute ;
z - index : 1 ;
top : - 11 px ;
left : 12 px ;
font - weight : $ { ( { theme : e } ) => e . typography . fontWeightBold } ;
2026-05-12 08:05:18 +00:00
color : $ { ( { theme : e } ) => Kr ( . 3 , e . rightPanel . textColor ) } ;
` ,Om=xs.div `
2022-09-12 16:47:18 +02:00
position : relative ;
2026-05-12 08:05:18 +00:00
` ,_m=xs(Md) `
2022-09-12 16:47:18 +02:00
label {
color : $ { ( { theme : e } ) => e . rightPanel . textColor } ;
text - overflow : ellipsis ;
white - space : nowrap ;
overflow : hidden ;
font - size : 1 em ;
text - transform : none ;
border : none ;
}
margin : 0 0 10 px 0 ;
display : block ;
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => Kr ( . 6 , e . rightPanel . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
border : none ;
padding : 0.9 em 1.6 em 0.9 em 0.9 em ;
box - shadow : none ;
& : hover ,
& : focus - within {
border : none ;
box - shadow : none ;
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => Kr ( . 3 , e . rightPanel . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
` ,Am=xs.div `
2022-09-12 16:47:18 +02:00
font - family : $ { e => e . theme . typography . code . fontFamily } ;
font - size : 12 px ;
color : # ee807f ;
2026-05-12 08:05:18 +00:00
` ;class Cm extends n.Component{constructor(){super(...arguments),this.state={activeIdx:0},this.switchMedia=({idx:e})=>{void 0!==e&&this.setState({activeIdx:e})}}render(){const{activeIdx:e}=this.state,t=this.props.mediaType.examples||{},r=this.props.mediaType.name,i=n.createElement(Am,null,"No sample"),o=Object.keys(t);if(0===o.length)return i;if(o.length>1){const i=o.map(((e,n)=>({value:t[e].summary||e,idx:n}))),s=t[o[e]],a=s.description;return n.createElement(jm,null,n.createElement(Om,null,n.createElement(Em,null,"Example"),this.props.renderDropdown({value:i[e].value,options:i,onChange:this.switchMedia,ariaLabel:"Example"})),n.createElement("div",null,a&&n.createElement(Kh,{source:a}),n.createElement(wm,{example:s,mimeType:r})))}{const e=t[o[0]];return n.createElement(jm,null,e.description&&n.createElement(Kh,{source:e.description}),n.createElement(wm,{example:e,mimeType:r}))}}}const jm=xs.div `
2022-09-12 16:47:18 +02:00
margin - top : 15 px ;
2026-05-12 08:05:18 +00:00
` ;if(!n.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!on)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Pm=r(961);function Tm(e){e()}function Im(e){return zt(Qn(e,t));var t}var Rm=!1;function Nm(){return Rm}var $ m,Lm,Dm=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Mm=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Dm)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),Fm=r(9888);function zm(e){e.reaction=new yt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}var Bm="function"==typeof Symbol&&Symbol.for,Um=null!==(Lm=null===( $ m=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0=== $ m?void 0: $ m.configurable)&&void 0!==Lm&&Lm,qm=Bm?Symbol.for("react.forward_ref"):"function"==typeof n.forwardRef&&(0,n.forwardRef)((function(e){return null})). $ $ typeof,Vm=Bm?Symbol.for("react.memo"):"function"==typeof n.memo&&(0,n.memo)((function(e){return null})). $ $ typeof;function Wm(e,t){var r;if(Vm&&e. $ $ typeof===Vm)throw new Error("[mobx-react-lite] You are trying to use ` observer ` on a function component wrapped in either another ` observer ` or ` React . memo ` . The observer already applies 'React.memo' for you.");if(Nm())return e;var i=null!==(r=null==t?void 0:t.forwardRef)&&void 0!==r&&r,o=e,s=e.displayName||e.name;if(qm&&e. $ $ typeof===qm&&(i=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] ` render ` property of ForwardRef was not a function");var a,l,c=function(e,t){return function(e,t){if(void 0===t&&(t="observed"),Nm())return e();var r=n.useRef(null);if(!r.current){var i={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Mm.unregister(i),i.onStoreChange=e,i.reaction||(zm(i),i.stateVersion=Symbol()),function(){var e;i.onStoreChange=null,null===(e=i.reaction)||void 0===e||e.dispose(),i.reaction=null}},getSnapshot:function(){return i.stateVersion}};r.current=i}var o,s,a=r.current;if(a.reaction||(zm(a),Mm.register(r,a,a)),n.useDebugValue(a.reaction,Im),(0,Fm.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){s=e}})),s)throw s;return o}((function(){return o(e,t)}),s)};return c.displayName=e.displayName,Um&&Object.defineProperty(c,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(c.contextTypes=e.contextTypes),i&&(c=(0,n.forwardRef)(c)),c=(0,n.memo)(c),a=e,l=c,Object.keys(a).forEach((function(e){Hm[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(a,e))})),c}var Hm={ $ $ typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Ym(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}!function(e){e||(e=Tm),Ft({reactionScheduler:e})}(
& . deprecated {
span . property - name {
$ { sp }
}
}
2022-09-12 16:47:18 +02:00
button {
background - color : transparent ;
border : 0 ;
outline : 0 ;
font - size : 13 px ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
cursor : pointer ;
padding : 0 ;
color : $ { e => e . theme . colors . text . primary } ;
& : focus {
font - weight : $ { ( { theme : e } ) => e . typography . fontWeightBold } ;
}
2026-05-12 08:05:18 +00:00
$ { ( { kind : e } ) => "patternProperties" === e && ms `
2022-09-12 16:47:18 +02:00
display : inline - flex ;
margin - right : 20 px ;
> span . property - name {
white - space : break - spaces ;
text - align : left ;
: : before ,
: : after {
content : '/' ;
filter : opacity ( 0.2 ) ;
}
}
> svg {
align - self : center ;
}
` }
}
2026-05-12 08:05:18 +00:00
$ { ip } {
2022-09-12 16:47:18 +02:00
height : $ { ( { theme : e } ) => e . schema . arrow . size } ;
width : $ { ( { theme : e } ) => e . schema . arrow . size } ;
polygon {
fill : $ { ( { theme : e } ) => e . schema . arrow . color } ;
}
}
2026-05-12 08:05:18 +00:00
` ,lg=xs.span `
2022-09-12 16:47:18 +02:00
vertical - align : middle ;
font - size : $ { ( { theme : e } ) => e . typography . code . fontSize } ;
line - height : 20 px ;
2026-05-12 08:05:18 +00:00
` ,cg=xs(lg) `
color : $ { e => Kr ( . 1 , e . theme . schema . typeNameColor ) } ;
` ,ug=xs(lg) `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . schema . typeNameColor } ;
2026-05-12 08:05:18 +00:00
` ,pg=xs(lg) `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . schema . typeTitleColor } ;
word - break : break - word ;
2026-05-12 08:05:18 +00:00
` ,dg=ug,fg=xs(lg).attrs({as:"div"}) `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . schema . requireLabelColor } ;
font - size : $ { e => e . theme . schema . labelsTextSize } ;
font - weight : normal ;
margin - left : 20 px ;
line - height : 1 ;
2026-05-12 08:05:18 +00:00
` ,hg=xs(fg) `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . colors . primary . light } ;
2026-05-12 08:05:18 +00:00
` ,mg=xs(lg) `
2022-09-12 16:47:18 +02:00
color : $ { ( { theme : e } ) => e . colors . warning . main } ;
font - size : 13 px ;
2026-05-12 08:05:18 +00:00
` ,gg=xs(lg) `
2022-09-12 16:47:18 +02:00
color : # 0e7 c86 ;
2026-05-12 08:05:18 +00:00
font - family : $ { e => e . theme . typography . code . fontFamily } ;
font - size : 12 px ;
2022-09-12 16:47:18 +02:00
& : : before ,
& : : after {
2026-05-12 08:05:18 +00:00
content : ' ' ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
` ,yg=xs(lg) `
2022-09-12 16:47:18 +02:00
border - radius : 2 px ;
word - break : break - word ;
2026-05-12 08:05:18 +00:00
$ { ( { theme : e } ) => ` \n background-color: ${ Kr ( . 95 , e . colors . text . primary ) } ; \n color: ${ Kr ( . 1 , e . colors . text . primary ) } ; \n \n padding: 0 ${ e . spacing . unit } px; \n border: 1px solid ${ Kr ( . 9 , e . colors . text . primary ) } ; \n font-family: ${ e . typography . code . fontFamily } ; \n } ` } ;
2022-09-12 16:47:18 +02:00
& + & {
margin - left : 0 ;
}
2026-05-12 08:05:18 +00:00
$ { ws ( "ExampleValue" ) } ;
` ,bg=xs(yg) ` ` ,vg=xs(lg) `
2022-09-12 16:47:18 +02:00
border - radius : 2 px ;
2026-05-12 08:05:18 +00:00
$ { ( { theme : e } ) => ` \n background-color: ${ Kr ( . 95 , e . colors . primary . light ) } ; \n color: ${ Kr ( . 1 , e . colors . primary . main ) } ; \n \n margin: 0 ${ e . spacing . unit } px; \n padding: 0 ${ e . spacing . unit } px; \n border: 1px solid ${ Kr ( . 9 , e . colors . primary . main ) } ; \n } ` } ;
2022-09-12 16:47:18 +02:00
& + & {
margin - left : 0 ;
}
2026-05-12 08:05:18 +00:00
$ { ws ( "ConstraintItem" ) } ;
` ,xg=xs.button `
2022-09-12 16:47:18 +02:00
background - color : transparent ;
border : 0 ;
color : $ { ( { theme : e } ) => e . colors . text . secondary } ;
margin - left : $ { ( { theme : e } ) => e . spacing . unit } px ;
border - radius : 2 px ;
cursor : pointer ;
outline - color : $ { ( { theme : e } ) => e . colors . text . secondary } ;
font - size : 12 px ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;const wg=xs.div `
$ { Mh } ;
$ { ( { $compact : e } ) => e ? "" : "margin: 1em 0" }
` ;let kg=class extends n.Component{render(){const{externalDocs:e}=this.props;return e&&e.url?n.createElement(wg,{ $ compact:this.props.compact},n.createElement("a",{href:e.url},e.description||e.url)):null}};kg=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],kg);const Sg=xs(Fh) `
table {
margin - bottom : 0.2 em ;
}
` ;class Eg extends n.PureComponent{constructor(e){super(e),this.state={collapsed:!0},this.toggle=this.toggle.bind(this)}toggle(){this.setState({collapsed:!this.state.collapsed})}render(){const{values:e,type:t}=this.props,{collapsed:r}=this.state,i=!Array.isArray(e),o=Array.isArray(e)&&e||Object.entries(e||{}).map((([e,t])=>({value:e,description:t}))),{enumSkipQuotes:s,maxDisplayedEnumValues:a}=this.context;if(!o.length)return null;const l=this.state.collapsed&&a?o.slice(0,a):o,c=!!a&&o.length>a,u=a?r? ` … $ { o . length - a } more ` :"Hide":"";return n.createElement("div",null,i?n.createElement(n.Fragment,null,n.createElement(Sg,null,n.createElement("table",null,n.createElement("thead",null,n.createElement("tr",null,n.createElement("th",null,n.createElement(lg,null,"array"===t?bi("enumArray"):""," ",1===o.length?bi("enumSingleValue"):bi("enum"))," "),n.createElement("th",null,n.createElement("strong",null,"Description")))),n.createElement("tbody",null,l.map((({description:e,value:t})=>n.createElement("tr",{key:t},n.createElement("td",null,t),n.createElement("td",null,n.createElement(Kh,{source:e,compact:!0,inline:!0})))))))),c?n.createElement(Og,{onClick:this.toggle},u):null):n.createElement(n.Fragment,null,n.createElement(lg,null,"array"===t?bi("enumArray"):""," ",1===e.length?bi("enumSingleValue"):bi("enum"),":")," ",l.map(((e,t)=>{const r=s?String(e):JSON.stringify(e);return n.createElement(n.Fragment,{key:t},n.createElement(yg,null,r)," ")})),c?n.createElement(Og,{onClick:this.toggle},u):null))}}Eg.contextType=js;const Og=xs.span `
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . colors . primary . main } ;
vertical - align : middle ;
font - size : 13 px ;
line - height : 20 px ;
padding : 0 5 px ;
cursor : pointer ;
2026-05-12 08:05:18 +00:00
` ,_g=xs(Fh) `
2022-09-12 16:47:18 +02:00
margin : 2 px 0 ;
2026-05-12 08:05:18 +00:00
` ;class Ag extends n.PureComponent{render(){const e=this.props.extensions;return n.createElement(js.Consumer,null,(t=>n.createElement(n.Fragment,null,t.showExtensions&&Object.keys(e).map((t=>n.createElement(_g,{key:t},n.createElement(lg,null," ",t.substring(2),": ")," ",n.createElement(bg,null,"string"==typeof e[t]?e[t]:JSON.stringify(e[t]))))))))}}function Cg({field:e}){return e.examples?n.createElement(n.Fragment,null,n.createElement(lg,null," ",bi("examples"),": "),mi(e.examples)?e.examples.map(((t,r)=>{const i=ua(e,t),o=e.in?String(i):JSON.stringify(i);return n.createElement(n.Fragment,{key:r},n.createElement(yg,null,o)," ")})):n.createElement(jg,null,Object.values(e.examples).map(((t,r)=>n.createElement("li",{key:r+t.value},n.createElement(yg,null,ua(e,t.value))," -"," ",t.summary||t.description))))):null}const jg=xs.ul `
2022-09-12 16:47:18 +02:00
margin - top : 1 em ;
list - style - position : outside ;
2026-05-12 08:05:18 +00:00
` ;class Pg extends n.PureComponent{render(){return 0===this.props.constraints.length?null:n.createElement("span",null," ",this.props.constraints.map((e=>n.createElement(vg,{key:e}," ",e," "))))}}const Tg=n.memo((function({value:e,label:t,raw:r}){if(void 0===e)return null;const i=r?String(e):JSON.stringify(e);return n.createElement("div",null,n.createElement(lg,null," ",t," ")," ",n.createElement(yg,null,i))})),Ig=45;function Rg(e){const t=e.schema.pattern,{hideSchemaPattern:r}=n.useContext(js),[i,o]=n.useState(!1),s=n.useCallback((()=>o(!i)),[i]);return!t||r?null:n.createElement(n.Fragment,null,n.createElement(gg,null,i||t.length<Ig?t: ` $ { t . substr ( 0 , Ig ) } ... ` ),t.length>Ig&&n.createElement(xg,{onClick:s},i?"Hide pattern":"Show pattern"))}function Ng({schema:e}){var t;const{hideSchemaPattern:r}=n.useContext(js);return e&&((null==e?void 0:e.pattern)&&!r||e.items||e.displayFormat||(null==(t=e.constraints)?void 0:t.length))?n.createElement( $ g,null,"[ items",e.displayFormat&&n.createElement(dg,null," <",e.displayFormat," >"),n.createElement(Pg,{constraints:e.constraints}),n.createElement(Rg,{schema:e}),e.items&&n.createElement(Ng,{schema:e.items})," ]"):null}const $ g=xs(cg) `
2022-09-12 16:47:18 +02:00
margin : 0 5 px ;
vertical - align : text - top ;
2026-05-12 08:05:18 +00:00
` ;var Lg=Object.defineProperty,Dg=Object.getOwnPropertySymbols,Mg=Object.prototype.hasOwnProperty,Fg=Object.prototype.propertyIsEnumerable,zg=(e,t,n)=>t in e?Lg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bg=(e,t)=>{for(var n in t||(t={}))Mg.call(t,n)&&zg(e,n,t[n]);if(Dg)for(var n of Dg(t))Fg.call(t,n)&&zg(e,n,t[n]);return e};const Ug=sg((e=>{const{enumSkipQuotes:t,hideSchemaTitles:r}=n.useContext(js),{showExamples:i,field:o,renderDiscriminatorSwitch:s}=e,{schema:a,description:l,deprecated:c,extensions:u,in:p,const:d}=o,f="array"===a.type||mi(a.type)&&a.type.includes("array"),h=t||"header"===p,m=n.useMemo((()=>!i||void 0===o.example&&void 0===o.examples?null:void 0!==o.examples?n.createElement(Cg,{field:o}):n.createElement(Tg,{label:bi("example")+":",value:ua(o,o.example),raw:Boolean(o.in)})),[o,i]),g=ui(a.default)&&o.in?ua(o,a.default).replace( ` $ { o . name } = ` ,""):a.default;return n.createElement("div",null,n.createElement("div",null,n.createElement(cg,null,a.typePrefix),n.createElement(ug,null,a.displayType),a.displayFormat&&n.createElement(dg,null," ","<",a.displayFormat,">"," "),a.contentEncoding&&n.createElement(dg,null," ","<",a.contentEncoding,">"," "),a.contentMediaType&&n.createElement(dg,null," ","<",a.contentMediaType,">"," "),a.title&&!r&&n.createElement(pg,null," (",a.title,") "),n.createElement(Pg,{constraints:a.constraints}),n.createElement(Rg,{schema:a}),a.isCircular&&n.createElement(mg,null," ",bi("recursive")," "),f&&a.items&&n.createElement(Ng,{schema:a.items})),c&&n.createElement("div",null,n.createElement(op,{type:"warning"}," ",bi("deprecated")," ")),n.createElement(Tg,{raw:h,label:bi("default")+":",value:g}),!s&&n.createElement(Eg,{type:a.type,values:a["x-enumDescriptions"]||a.enum})," ",m,n.createElement(Ag,{extensions:Bg(Bg({},u),a.extensions)}),n.createElement("div",null,n.createElement(Kh,{compact:!0,source:l})),a.externalDocs&&n.createElement(kg,{externalDocs:a.externalDocs,compact:!0}),s&&s(e)||null,d&&n.createElement(Tg,{label:bi("const")+":",value:d})||null)})),qg=n.memo(Ug);var Vg=Object.defineProperty,Wg=(Object.getOwnPropertyDescriptor,Object.getOwnPropertySymbols),Hg=Object.prototype.hasOwnProperty,Yg=Object.prototype.propertyIsEnumerable,Gg=(e,t,n)=>t in e?Vg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Qg=class extends n.Component{constructor(){super(...arguments),this.toggle=()=>{void 0===this.props.field.expanded&&this.props.expandByDefault?this.props.field.collapse():this.props.field.toggle()},this.handleKeyPress=e=>{"Enter"===e.key&&(e.preventDefault(),this.toggle())}}render(){const{hidePropertiesPrefix:e}=this.context,{className:t="",field:r,isLast:i,expandByDefault:o,fieldParentsName:s=[]}=this.props,{name:a,deprecated:l,required:c,kind:u}=r,p=!r.schema.isPrimitive&&!r.schema.isCircular,d=void 0===r.expanded?o:r.expanded,f=n.createElement(n.Fragment,null,"additionalProperties"===u&&n.createElement(hg,null,"additional property"),"patternProperties"===u&&n.createElement(hg,null,"pattern property"),c&&n.createElement(fg,null,"required")),h=p?n.createElement(ag,{className:l?"deprecated":"",kind:u,title:a},n.createElement(dp,null),n.createElement("button",{onClick:this.toggle,onKeyPress:this.handleKeyPress,"aria-label": ` expand $ { a } ` },!e&&s.map((e=>e+". ")),n.createElement("span",{className:"property-name"},a),n.createElement(ip,{direction:d?"down":"right"})),f):n.createElement(up,{className:l?"deprecated":void 0,kind:u,title:a},n.createElement(dp,null),!e&&s.map((e=>e+". ")),n.createElement("span",{className:"property-name"},a),f);return n.createElement(n.Fragment,null,n.createElement("tr",{className:i?"last "+t:t},h,n.createElement(pp,null,n.createElement(qg,((e,t)=>{for(var n in t||(t={}))Hg.call(t,n)&&Gg(e,n,t[n]);if(Wg)for(var n of Wg(t))Yg.call(t,n)&&Gg(e,n,t[n]);return e})({},this.props)))),d&&p&&n.createElement("tr",{key:r.name+"inner"},n.createElement(cp,{colSpan:2},n.createElement(fp,null,n.createElement(Py,{schema:r.schema,fieldParentsName:[...s||[],r.name],skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnl
2022-09-12 16:47:18 +02:00
padding - left : $ { ( { theme : e } ) => 2 * e . spacing . unit } px ;
2026-05-12 08:05:18 +00:00
` ;class ly extends n.PureComponent{render(){const e=this.props.schema,t=e.items,r=this.props.fieldParentsName,i=void 0===e.minItems&&void 0===e.maxItems?"": ` ( $ { ma ( e ) } ) ` ,o=r?[...r.slice(0,-1),r[r.length-1]+"[]"]:r;return e.fields?n.createElement(Kg,sy(oy({},this.props),{level:this.props.level,fieldParentsName:o})):!e.displayType||t||i.length?n.createElement("div",null,n.createElement(bp,null," Array ",i),n.createElement(ay,null,n.createElement(Py,sy(oy({},this.props),{schema:t,fieldParentsName:o}))),n.createElement(vp,null)):n.createElement("div",null,n.createElement(ug,null,e.displayType))}}var cy=Object.defineProperty,uy=Object.defineProperties,py=Object.getOwnPropertyDescriptor,dy=Object.getOwnPropertyDescriptors,fy=Object.getOwnPropertySymbols,hy=Object.prototype.hasOwnProperty,my=Object.prototype.propertyIsEnumerable,gy=(e,t,n)=>t in e?cy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yy=(e,t,n,r)=>{for(var i,o=r>1?void 0:r?py(t,n):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(r?i(t,n,o):i(o))||o);return r&&o&&cy(t,n,o),o};let by=class extends n.Component{constructor(){super(...arguments),this.activateOneOf=()=>{this.props.schema.activateOneOf(this.props.idx)}}render(){const{idx:e,schema:t,subSchema:r}=this.props;return n.createElement(yp,{ $ deprecated:r.deprecated, $ active:e===t.activeOneOf,onClick:this.activateOneOf},r.title||r.typePrefix+r.displayType)}};by=yy([sg],by);let vy=class extends n.Component{render(){const{schema:{oneOf:e},schema:t}=this.props;if(void 0===e)return null;const r=e[t.activeOneOf];return n.createElement("div",null,n.createElement(gp,null," ",t.oneOfType," "),n.createElement(mp,null,e.map(((e,r)=>n.createElement(by,{key:e.pointer,schema:t,subSchema:e,idx:r})))),n.createElement("div",null,e[t.activeOneOf].deprecated&&n.createElement(op,{type:"warning"},"Deprecated")),n.createElement(Pg,{constraints:r.constraints}),n.createElement(Py,((e,t)=>uy(e,dy(t)))(((e,t)=>{for(var n in t||(t={}))hy.call(t,n)&&gy(e,n,t[n]);if(fy)for(var n of fy(t))my.call(t,n)&&gy(e,n,t[n]);return e})({},this.props),{schema:r})))}};vy=yy([sg],vy);const xy=sg((({schema:e})=>n.createElement("div",null,n.createElement(ug,null,e.displayType),e.title&&n.createElement(pg,null," ",e.title," "),n.createElement(mg,null," ",bi("recursive")," "))));var wy=Object.defineProperty,ky=Object.defineProperties,Sy=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Ey=Object.getOwnPropertySymbols,Oy=Object.prototype.hasOwnProperty,_y=Object.prototype.propertyIsEnumerable,Ay=(e,t,n)=>t in e?wy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cy=(e,t)=>{for(var n in t||(t={}))Oy.call(t,n)&&Ay(e,n,t[n]);if(Ey)for(var n of Ey(t))_y.call(t,n)&&Ay(e,n,t[n]);return e},jy=(e,t)=>ky(e,Sy(t));let Py=class extends n.Component{render(){var e;const t=this.props,{schema:r}=t,i=((e,t)=>{var n={};for(var r in e)Oy.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Ey)for(var r of Ey(e))t.indexOf(r)<0&&_y.call(e,r)&&(n[r]=e[r]);return n})(t,["schema"]),o=(i.level||0)+1;if(!r)return n.createElement("em",null," Schema not provided ");const{type:s,oneOf:a,discriminatorProp:l,isCircular:c}=r;if(c)return n.createElement(xy,{schema:r});if(void 0!==l){if(!a||!a.length)return console.warn( ` Looks like you are using discriminator wrong : you don ' t have any definition inherited from the $ { r . title } ` ),null;const e=a[r.activeOneOf];return e.isCircular?n.createElement(xy,{schema:e}):n.createElement(Kg,jy(Cy({},i),{level:o,schema:e,discriminator:{fieldName:l,parentSchema:r}}))}if(void 0!==a)return n.createElement(vy,Cy({schema:r},i));const u=mi(s)?s:[s];if(u.includes("object")){if(null==(e=r.fields)?void 0:e.length)return n.createElement(Kg,jy(Cy({},this.props),{level:o}))}else if(u.includes("array"))return n.createElement(ly,jy(Cy({},this.props),{level:o}));const p={schema:r,name:"",required:!1,description:r.description,externalDocs:r.externalDocs,deprecated:!1,toggle:()=>null,expanded:!1};return n.createElement("div",null,n.createElement(qg,{field:p}))}};Py=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})(
2022-09-12 16:47:18 +02:00
background : $ { ( { theme : e } ) => e . codeBlock . backgroundColor } ;
& > div ,
& > pre {
padding : $ { e => 4 * e . theme . spacing . unit } px ;
margin : 0 ;
}
& > div > pre {
padding : 0 ;
}
2026-05-12 08:05:18 +00:00
` ,zy=(fs.div `
2022-09-12 16:47:18 +02:00
background - color : # e4e7eb ;
2026-05-12 08:05:18 +00:00
` ,fs.ul `
2022-09-12 16:47:18 +02:00
display : inline ;
list - style : none ;
padding : 0 ;
li {
display : inherit ;
& : after {
content : ',' ;
}
& : last - child : after {
content : none ;
}
}
2026-05-12 08:05:18 +00:00
` ,fs.code `
2022-09-12 16:47:18 +02:00
font - size : $ { e => e . theme . typography . code . fontSize } ;
font - family : $ { e => e . theme . typography . code . fontFamily } ;
margin : 0 3 px ;
padding : 0.2 em ;
display : inline - block ;
line - height : 1 ;
& : after {
content : ',' ;
font - weight : normal ;
}
& : last - child : after {
content : none ;
}
2026-05-12 08:05:18 +00:00
` ),By=fs.span `
2022-09-12 16:47:18 +02:00
& : after {
content : ' and ' ;
font - weight : normal ;
}
& : last - child : after {
content : none ;
}
2026-05-12 08:05:18 +00:00
$ { Mh } ;
` ,Uy=fs.span `
$ { e => ! e . $expanded && "white-space: nowrap;" }
2022-09-12 16:47:18 +02:00
& : after {
content : ' or ' ;
2026-05-12 08:05:18 +00:00
$ { e => e . $expanded && "content: ' or \\a';" }
2022-09-12 16:47:18 +02:00
white - space : pre ;
}
& : last - child : after ,
& : only - child : after {
content : none ;
}
2026-05-12 08:05:18 +00:00
$ { Mh } ;
` ,qy=fs.div `
2022-09-12 16:47:18 +02:00
flex : 1 1 auto ;
cursor : pointer ;
2026-05-12 08:05:18 +00:00
` ,Vy=fs.div `
2022-09-12 16:47:18 +02:00
width : $ { e => e . theme . schema . defaultDetailsWidth } ;
text - overflow : ellipsis ;
border - radius : 4 px ;
overflow : hidden ;
2026-05-12 08:05:18 +00:00
$ { e => e . $expanded && ` background: ${ e . theme . colors . gray [ 100 ] } ; \n padding: 8px 9.6px; \n margin: 20px 0; \n width: 100%; \n ` } ;
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
margin - top : 10 px ;
` }
2026-05-12 08:05:18 +00:00
` ,Wy=fs(Qu) `
2022-09-12 16:47:18 +02:00
display : inline - block ;
margin : 0 ;
2026-05-12 08:05:18 +00:00
` ,Hy=fs.div `
2022-09-12 16:47:18 +02:00
width : 100 % ;
display : flex ;
margin : 1 em 0 ;
2026-05-12 08:05:18 +00:00
flex - direction : $ { e => e . $expanded ? "column" : "row" } ;
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
flex - direction : column ;
` }
2026-05-12 08:05:18 +00:00
` ,Yy=fs.div `
2022-09-12 16:47:18 +02:00
margin : 0.5 em 0 ;
2026-05-12 08:05:18 +00:00
` ,Gy=fs.div `
2022-09-12 16:47:18 +02:00
border - bottom : 1 px solid $ { ( { theme : e } ) => e . colors . border . dark } ;
margin - bottom : 1.5 em ;
padding - bottom : 0.7 em ;
h5 {
line - height : 1 em ;
margin : 0 0 0.6 em ;
font - size : $ { ( { theme : e } ) => e . typography . fontSize } ;
}
. redoc - markdown p : first - child {
display : inline ;
}
2026-05-12 08:05:18 +00:00
` ;function Qy({children:e,height:t}){const r=n.createRef(),[i,o]=n.useState(!1),[s,a]=n.useState(!1);return n.useEffect((()=>{r.current&&r.current.clientHeight+20<r.current.scrollHeight&&a(!0)}),[r]),n.createElement(n.Fragment,null,n.createElement(Xy,{ref:r,className:i?"":"container",style:{height:i?"auto":t}},e),n.createElement(Ky,{ $ dimmed:!i},s&&n.createElement(Zy,{onClick:()=>{o(!i)}},i?"See less":"See more")))}const Xy=fs.div `
2022-09-12 16:47:18 +02:00
overflow - y : hidden ;
2026-05-12 08:05:18 +00:00
` ,Ky=fs.div `
2022-09-12 16:47:18 +02:00
text - align : center ;
line - height : 1.5 em ;
2026-05-12 08:05:18 +00:00
$ { ( { $dimmed : e } ) => e && "background-image: linear-gradient(to bottom, transparent,rgb(255 255 255));\n position: relative;\n top: -0.5em;\n padding-top: 0.5em;\n background-position-y: -1em;\n " }
` ,Zy=fs.a `
2022-09-12 16:47:18 +02:00
cursor : pointer ;
2026-05-12 08:05:18 +00:00
` ,Jy=n.memo((function(e){const{type:t,flow:r,RequiredScopes:i}=e,o=Object.keys((null==r?void 0:r.scopes)||{});return n.createElement(n.Fragment,null,n.createElement(Yy,null,n.createElement("b",null,"Flow type: "),n.createElement("code",null,t," ")),("implicit"===t||"authorizationCode"===t)&&n.createElement(Yy,null,n.createElement("strong",null," Authorization URL: "),n.createElement("code",null,n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r.authorizationUrl},r.authorizationUrl))),("password"===t||"clientCredentials"===t||"authorizationCode"===t)&&n.createElement(Yy,null,n.createElement("b",null," Token URL: "),n.createElement("code",null,r.tokenUrl)),r.refreshUrl&&n.createElement(Yy,null,n.createElement("strong",null," Refresh URL: "),n.createElement("code",null,r.refreshUrl)),!!o.length&&n.createElement(n.Fragment,null,i||null,n.createElement(Yy,null,n.createElement("b",null," Scopes: ")),n.createElement(Qy,{height:"4em"},n.createElement("ul",null,o.map((e=>n.createElement("li",{key:e},n.createElement("code",null,e)," -"," ",n.createElement(Kh,{className:"redoc-markdown",inline:!0,source:r.scopes[e]||""}))))))))}));function eb(e){const{RequiredScopes:t,scheme:r}=e;return n.createElement(Fh,null,r.apiKey?n.createElement(n.Fragment,null,n.createElement(Yy,null,n.createElement("b",null,(i=r.apiKey.in||"").charAt(0).toUpperCase()+i.slice(1)," parameter name: "),n.createElement("code",null,r.apiKey.name)),t):r.http?n.createElement(n.Fragment,null,n.createElement(Yy,null,n.createElement("b",null,"HTTP Authorization Scheme: "),n.createElement("code",null,r.http.scheme)),n.createElement(Yy,null,"bearer"===r.http.scheme&&r.http.bearerFormat&&n.createElement(n.Fragment,null,n.createElement("b",null,"Bearer format: "),n.createElement("code",null,r.http.bearerFormat))),t):r.openId?n.createElement(n.Fragment,null,n.createElement(Yy,null,n.createElement("b",null,"Connect URL: "),n.createElement("code",null,n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r.openId.connectUrl},r.openId.connectUrl))),t):r.flows?Object.keys(r.flows).map((e=>n.createElement(Jy,{key:e,type:e,RequiredScopes:t,flow:r.flows[e]}))):null);var i}const tb={oauth2:"OAuth2",apiKey:"API Key",http:"HTTP",openIdConnect:"OpenID Connect"};class nb extends n.PureComponent{render(){return this.props.securitySchemes.schemes.map((e=>n.createElement(Fu,{id:e.sectionId,key:e.id},n.createElement(Uu,null,n.createElement(Mu,null,n.createElement(Hu,null,n.createElement(np,{to:e.sectionId}),e.displayName),n.createElement(Kh,{source:e.description||""}),n.createElement(Gy,null,n.createElement(Yy,null,n.createElement("b",null,"Security Scheme Type: "),n.createElement("span",null,tb[e.type]||e.type)),n.createElement(eb,{scheme:e})))))))}}class rb{constructor(e,t,n={},r=!0){var i,o,s,a;this.marker=new Ha,this.disposer=null,this.rawOptions=n,this.options=new Pi(n,ib),this.scroll=new jf(this.options),Of.updateOnHistory(Va.currentId,this.scroll),this.spec=new sf(e,t,this.options),this.menu=new Of(this.spec,this.scroll,Va),this.options.disableSearch||(this.search=new Pf,r&&this.search.indexItems(this.menu.items),this.disposer=(i=this.menu,o="activeItemIdx",x(s=e=>{this.updateMarkOnMenu(e.newValue)})?function(e,t,n,r){return Xn(e,t).observe_(n,r)}(i,o,s,a):function(e,t,n){return Xn(e).observe_(t,n)}(i,o,s)))}static fromJS(e){const t=new rb(e.spec.data,e.spec.url,e.options,!1);return t.menu.activeItemIdx=e.menu.activeItemIdx||0,t.menu.activate(t.menu.flatItems[t.menu.activeItemIdx]),t.options.disableSearch||t.search.load(e.searchIndex),t}onDidMount(){this.menu.updateOnHistory(),this.updateMarkOnMenu(this.menu.activeItemIdx)}dispose(){this.scroll.dispose(),this.menu.dispose(),this.search&&this.search.dispose(),null!=this.disposer&&this.disposer()}toJS(){return e=this,t=null,n=function*(){return{menu:{activeItemIdx:this.menu.activeItemIdx},spec:{url:this.spec.parser.specUrl,data:this.spec.parser.spec},searchIndex:this.search?yield this.search.toJS():void 0,options:this.rawOptions}},new Promise(((r,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{
2022-09-12 16:47:18 +02:00
margin - top : 0 ;
margin - bottom : 0.5 em ;
2026-05-12 08:05:18 +00:00
$ { ws ( "ApiHeader" ) } ;
` ,sb=xs.a `
2022-09-12 16:47:18 +02:00
border : 1 px solid $ { e => e . theme . colors . primary . main } ;
color : $ { e => e . theme . colors . primary . main } ;
font - weight : normal ;
margin - left : 0.5 em ;
padding : 4 px 8 px 4 px ;
display : inline - block ;
text - decoration : none ;
cursor : pointer ;
2026-05-12 08:05:18 +00:00
$ { ws ( "DownloadButton" ) } ;
` ,ab=xs.span `
2022-09-12 16:47:18 +02:00
& : : before {
content : '|' ;
display : inline - block ;
opacity : 0.5 ;
width : $ { 15 } px ;
text - align : center ;
}
& : last - child : : after {
display : none ;
}
2026-05-12 08:05:18 +00:00
` ,lb=xs.div `
2022-09-12 16:47:18 +02:00
overflow : hidden ;
2026-05-12 08:05:18 +00:00
` ,cb=xs.div `
2022-09-12 16:47:18 +02:00
display : flex ;
flex - wrap : wrap ;
// hide separator on new lines: idea from https://stackoverflow.com/a/31732902/1749888
margin - left : - $ { 15 } px ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let ub=class extends n.Component{render(){const{store:e}=this.props,{info:t,externalDocs:r}=e.spec,i=e.options.hideDownloadButtons,o=t.downloadUrls,s=t.downloadFileName,a=t.license&&n.createElement(ab,null,"License:"," ",t.license.identifier?t.license.identifier:n.createElement("a",{href:t.license.url},t.license.name))||null,l=t.contact&&t.contact.url&&n.createElement(ab,null,"URL: ",n.createElement("a",{href:t.contact.url},t.contact.url))||null,c=t.contact&&t.contact.email&&n.createElement(ab,null,t.contact.name||"E-mail",":"," ",n.createElement("a",{href:"mailto:"+t.contact.email},t.contact.email))||null,u=t.termsOfService&&n.createElement(ab,null,n.createElement("a",{href:t.termsOfService},"Terms of Service"))||null,p=t.version&&n.createElement("span",null,"(",t.version,")")||null;return n.createElement(Fu,null,n.createElement(Uu,null,n.createElement(Mu,{className:"api-info"},n.createElement(ob,null,t.title," ",p),!i&&n.createElement("p",null,bi("downloadSpecification"),":",null==o?void 0:o.map((({title:e,url:t})=>n.createElement(sb,{download:s||!0,target:"_blank",href:t,rel:"noreferrer",key:t},e)))),n.createElement(Fh,null,(t.license||t.contact||t.termsOfService)&&n.createElement(lb,null,n.createElement(cb,null,c," ",l," ",a," ",u))||null),n.createElement(Kh,{source:e.spec.info.summary,"data-role":"redoc-summary"}),n.createElement(Kh,{source:e.spec.info.description,"data-role":"redoc-description"}),r&&n.createElement(kg,{externalDocs:r}))))}};ub=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],ub);const pb=xs.img `
2022-09-12 16:47:18 +02:00
max - height : $ { e => e . theme . logo . maxHeight } ;
max - width : $ { e => e . theme . logo . maxWidth } ;
padding : $ { e => e . theme . logo . gutter } ;
width : 100 % ;
display : block ;
2026-05-12 08:05:18 +00:00
` ,db=xs.div `
2022-09-12 16:47:18 +02:00
text - align : center ;
2026-05-12 08:05:18 +00:00
` ,fb=xs.a `
2022-09-12 16:47:18 +02:00
display : inline - block ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let hb=class extends n.Component{render(){const{info:e}=this.props,t=e["x-logo"];if(!t||!t.url)return null;const r=t.href||e.contact&&e.contact.url,i=t.altText?t.altText:"logo",o=n.createElement(pb,{src:t.url,alt:i});return n.createElement(db,{style:{backgroundColor:t.backgroundColor}},r?(s=r,e=>n.createElement(fb,{href:s},e))(o):o);var s}};hb=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],hb);var mb=Object.defineProperty,gb=Object.getOwnPropertySymbols,yb=Object.prototype.hasOwnProperty,bb=Object.prototype.propertyIsEnumerable,vb=(e,t,n)=>t in e?mb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xb=(e,t)=>{for(var n in t||(t={}))yb.call(t,n)&&vb(e,n,t[n]);if(gb)for(var n of gb(t))bb.call(t,n)&&vb(e,n,t[n]);return e};class wb extends n.Component{render(){return n.createElement(Ts,null,(e=>n.createElement(Zu,null,(t=>this.renderWithOptionsAndStore(e,t)))))}renderWithOptionsAndStore(e,t){const{source:r,htmlWrap:i=e=>e}=this.props;if(!t)throw new Error("When using components in markdown, store prop must be provided");const o=new Bl(e,this.props.parentId).renderMdWithComponents(r);return o.length?o.map(((e,r)=>{if("string"==typeof e)return n.cloneElement(i(n.createElement(Xh,{html:e,inline:!1,compact:!1})),{key:r});const o=e.component;return n.createElement(o,xb({key:r},xb(xb({},e.props),e.propsSelector(t))))})):null}}var kb=r(2485);const Sb=xs.span.attrs((e=>({className: ` operation - type $ { e . type } ` }))) `
2022-09-12 16:47:18 +02:00
width : 9 ex ;
display : inline - block ;
height : $ { e => e . theme . typography . code . fontSize } ;
line - height : $ { e => e . theme . typography . code . fontSize } ;
2026-05-12 08:05:18 +00:00
background - color : $ { e => e . color || "#333" } ;
2022-09-12 16:47:18 +02:00
border - radius : 3 px ;
background - repeat : no - repeat ;
background - position : 6 px 4 px ;
font - size : 7 px ;
font - family : Verdana , sans - serif ; // web-safe
color : white ;
text - transform : uppercase ;
text - align : center ;
font - weight : bold ;
vertical - align : middle ;
margin - right : 6 px ;
margin - top : 2 px ;
& . get {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . get } ;
2022-09-12 16:47:18 +02:00
}
& . post {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . post } ;
2022-09-12 16:47:18 +02:00
}
& . put {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . put } ;
2022-09-12 16:47:18 +02:00
}
& . options {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . options } ;
2022-09-12 16:47:18 +02:00
}
& . patch {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . patch } ;
2022-09-12 16:47:18 +02:00
}
& . delete {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . delete } ;
2022-09-12 16:47:18 +02:00
}
& . basic {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . basic } ;
2022-09-12 16:47:18 +02:00
}
& . link {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . link } ;
2022-09-12 16:47:18 +02:00
}
& . head {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . http . head } ;
2022-09-12 16:47:18 +02:00
}
& . hook {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => e . colors . primary . main } ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
& . schema {
background - color : $ { ( { theme : e } ) => e . colors . http . basic } ;
}
` ;function Eb(e,{theme:t},n){return e>1?t.sidebar.level1Items[n]:1===e?t.sidebar.groupItems[n]:""}const Ob=xs.ul `
2022-09-12 16:47:18 +02:00
margin : 0 ;
padding : 0 ;
& : first - child {
padding - bottom : 32 px ;
}
& & {
font - size : 0.929 em ;
}
2026-05-12 08:05:18 +00:00
$ { e => e . $expanded ? "" : "display: none;" } ;
` ,_b=xs.li `
2022-09-12 16:47:18 +02:00
list - style : none inside none ;
overflow : hidden ;
text - overflow : ellipsis ;
padding : 0 ;
$ { e => 0 === e . depth ? "margin-top: 15px" : "" } ;
2026-05-12 08:05:18 +00:00
` ,Ab={0:ms `
2022-09-12 16:47:18 +02:00
opacity : 0.7 ;
text - transform : $ { ( { theme : e } ) => e . sidebar . groupItems . textTransform } ;
font - size : 0.8 em ;
padding - bottom : 0 ;
cursor : default ;
2026-05-12 08:05:18 +00:00
` ,1:ms `
2022-09-12 16:47:18 +02:00
font - size : 0.929 em ;
text - transform : $ { ( { theme : e } ) => e . sidebar . level1Items . textTransform } ;
2026-05-12 08:05:18 +00:00
` },Cb=xs.label.attrs((e=>({className:kb("-depth"+e. $ depth,{active:e. $ active})}))) `
2022-09-12 16:47:18 +02:00
cursor : pointer ;
2026-05-12 08:05:18 +00:00
color : $ { e => e . $active ? Eb ( e . $depth , e , "activeTextColor" ) : e . theme . sidebar . textColor } ;
2022-09-12 16:47:18 +02:00
margin : 0 ;
padding : 12.5 px $ { e => 4 * e . theme . spacing . unit } px ;
2026-05-12 08:05:18 +00:00
$ { ( { $depth : e , $type : t , theme : n } ) => "section" === t && e > 1 && "padding-left: " + 8 * n . spacing . unit + "px;" || "" }
2022-09-12 16:47:18 +02:00
display : flex ;
justify - content : space - between ;
font - family : $ { e => e . theme . typography . headings . fontFamily } ;
2026-05-12 08:05:18 +00:00
$ { e => Ab [ e . $depth ] } ;
background - color : $ { e => e . $active ? Eb ( e . $depth , e , "activeBackgroundColor" ) : e . theme . sidebar . backgroundColor } ;
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
$ { e => e . $deprecated && sp || "" } ;
2022-09-12 16:47:18 +02:00
& : hover {
2026-05-12 08:05:18 +00:00
color : $ { e => Eb ( e . $depth , e , "activeTextColor" ) } ;
background - color : $ { e => Eb ( e . $depth , e , "activeBackgroundColor" ) } ;
2022-09-12 16:47:18 +02:00
}
2026-05-12 08:05:18 +00:00
$ { ip } {
2022-09-12 16:47:18 +02:00
height : $ { ( { theme : e } ) => e . sidebar . arrow . size } ;
width : $ { ( { theme : e } ) => e . sidebar . arrow . size } ;
polygon {
fill : $ { ( { theme : e } ) => e . sidebar . arrow . color } ;
}
}
2026-05-12 08:05:18 +00:00
` ,jb=xs.span `
2022-09-12 16:47:18 +02:00
display : inline - block ;
vertical - align : middle ;
width : $ { e => e . width ? e . width : "auto" } ;
overflow : hidden ;
text - overflow : ellipsis ;
2026-05-12 08:05:18 +00:00
` ,Pb=xs.div `
$ { ( { theme : e } ) => ms `
2022-09-12 16:47:18 +02:00
font - size : 0.8 em ;
margin - top : $ { 2 * e . spacing . unit } px ;
text - align : center ;
position : fixed ;
width : $ { e . sidebar . width } ;
bottom : 0 ;
background : $ { e . sidebar . backgroundColor } ;
a ,
a : visited ,
a : hover {
color : $ { e . sidebar . textColor } ! important ;
padding : $ { e . spacing . unit } px 0 ;
2026-05-12 08:05:18 +00:00
border - top : 1 px solid $ { Br ( . 1 , e . sidebar . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
text - decoration : none ;
display : flex ;
align - items : center ;
justify - content : center ;
}
` };
img {
width : 15 px ;
margin - right : 5 px ;
}
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
width : 100 % ;
` };
2026-05-12 08:05:18 +00:00
` ,Tb=xs.button `
2022-09-12 16:47:18 +02:00
border : 0 ;
width : 100 % ;
text - align : left ;
& > * {
vertical - align : middle ;
}
2026-05-12 08:05:18 +00:00
$ { ip } {
2022-09-12 16:47:18 +02:00
polygon {
2026-05-12 08:05:18 +00:00
fill : $ { ( { theme : e } ) => Br ( e . colors . tonalOffset , e . colors . gray [ 100 ] ) } ;
2022-09-12 16:47:18 +02:00
}
}
2026-05-12 08:05:18 +00:00
` ,Ib=xs.span `
text - decoration : $ { e => e . $deprecated ? "line-through" : "none" } ;
2022-09-12 16:47:18 +02:00
margin - right : 8 px ;
2026-05-12 08:05:18 +00:00
` ,Rb=xs(Sb) `
2022-09-12 16:47:18 +02:00
margin : 0 5 px 0 0 ;
2026-05-12 08:05:18 +00:00
` ,Nb=xs((e=>{const{name:t,opened:r,className:i,onClick:o,httpVerb:s,deprecated:a}=e;return n.createElement(Tb,{className:i,onClick:o||void 0},n.createElement(Rb,{type:s},Sa(s)),n.createElement(ip,{size:"1.5em",direction:r?"down":"right",float:"left"}),n.createElement(Ib,{ $ deprecated:a},t),a?n.createElement(op,{type:"warning"}," ",bi("deprecated")," "):null)})) `
2022-09-12 16:47:18 +02:00
padding : 10 px ;
border - radius : 2 px ;
margin - bottom : 4 px ;
line - height : 1.5 em ;
background - color : $ { ( { theme : e } ) => e . colors . gray [ 100 ] } ;
cursor : pointer ;
2026-05-12 08:05:18 +00:00
outline - color : $ { ( { theme : e } ) => Br ( e . colors . tonalOffset , e . colors . gray [ 100 ] ) } ;
` , $ b=xs.div `
2022-09-12 16:47:18 +02:00
padding : 10 px 25 px ;
background - color : $ { ( { theme : e } ) => e . colors . gray [ 50 ] } ;
margin - bottom : 5 px ;
margin - top : 5 px ;
2026-05-12 08:05:18 +00:00
` ;class Lb extends n.PureComponent{constructor(){super(...arguments),this.selectElement=()=>{om.selectElement(this.child)}}render(){const{children:e}=this.props;return n.createElement("div",{ref:e=>this.child=e,onClick:this.selectElement,onFocus:this.selectElement,tabIndex:0,role:"button"},e)}}const Db=xs.div `
2022-09-12 16:47:18 +02:00
cursor : pointer ;
position : relative ;
margin - bottom : 5 px ;
2026-05-12 08:05:18 +00:00
` ,Mb=xs.span `
2022-09-12 16:47:18 +02:00
font - family : $ { e => e . theme . typography . code . fontFamily } ;
margin - left : 10 px ;
flex : 1 ;
overflow - x : hidden ;
text - overflow : ellipsis ;
2026-05-12 08:05:18 +00:00
` ,Fb=xs.button `
2022-09-12 16:47:18 +02:00
outline : 0 ;
color : inherit ;
width : 100 % ;
text - align : left ;
cursor : pointer ;
2026-05-12 08:05:18 +00:00
padding : 10 px 30 px 10 px $ { e => e . $inverted ? "10px" : "20px" } ;
border - radius : $ { e => e . $inverted ? "0" : "4px 4px 0 0" } ;
background - color : $ { e => e . $inverted ? "transparent" : e . theme . codeBlock . backgroundColor } ;
2022-09-12 16:47:18 +02:00
display : flex ;
white - space : nowrap ;
align - items : center ;
2026-05-12 08:05:18 +00:00
border : $ { e => e . $inverted ? "0" : "1px solid transparent" } ;
border - bottom : $ { e => e . $inverted ? "1px solid #ccc" : "0" } ;
2022-09-12 16:47:18 +02:00
transition : border - color 0.25 s ease ;
2026-05-12 08:05:18 +00:00
$ { e => e . $expanded && ! e . $inverted && ` border-color: ${ e . theme . colors . border . dark } ; ` || "" }
2022-09-12 16:47:18 +02:00
2026-05-12 08:05:18 +00:00
. $ { Mb } {
color : $ { e => e . $inverted ? e . theme . colors . text . primary : "#ffffff" } ;
2022-09-12 16:47:18 +02:00
}
& : focus {
box - shadow : inset 0 2 px 2 px rgba ( 0 , 0 , 0 , 0.45 ) , 0 2 px 0 rgba ( 128 , 128 , 128 , 0.25 ) ;
}
2026-05-12 08:05:18 +00:00
` ,zb=xs.span.attrs((e=>({className: ` http - verb $ { e . type } ` }))) `
font - size : $ { e => e . $compact ? "0.8em" : "0.929em" } ;
line - height : $ { e => e . $compact ? "18px" : "20px" } ;
2022-09-12 16:47:18 +02:00
background - color : $ { e => e . theme . colors . http [ e . type ] || "#999999" } ;
color : # ffffff ;
2026-05-12 08:05:18 +00:00
padding : $ { e => e . $compact ? "2px 8px" : "3px 10px" } ;
2022-09-12 16:47:18 +02:00
text - transform : uppercase ;
font - family : $ { e => e . theme . typography . headings . fontFamily } ;
margin : 0 ;
2026-05-12 08:05:18 +00:00
` ,Bb=xs.div `
2022-09-12 16:47:18 +02:00
position : absolute ;
width : 100 % ;
z - index : 100 ;
background : $ { e => e . theme . rightPanel . servers . overlay . backgroundColor } ;
color : $ { e => e . theme . rightPanel . servers . overlay . textColor } ;
box - sizing : border - box ;
2026-05-12 08:05:18 +00:00
box - shadow : 0 0 6 px rgba ( 0 , 0 , 0 , 0.33 ) ;
2022-09-12 16:47:18 +02:00
overflow : hidden ;
border - bottom - left - radius : 4 px ;
border - bottom - right - radius : 4 px ;
transition : all 0.25 s ease ;
visibility : hidden ;
2026-05-12 08:05:18 +00:00
$ { e => e . $expanded ? "visibility: visible;" : "transform: translateY(-50%) scaleY(0);" }
` ,Ub=xs.div `
2022-09-12 16:47:18 +02:00
padding : 10 px ;
2026-05-12 08:05:18 +00:00
` ,qb=xs.div `
2022-09-12 16:47:18 +02:00
padding : 5 px ;
border : 1 px solid # ccc ;
background : $ { e => e . theme . rightPanel . servers . url . backgroundColor } ;
word - break : break - all ;
color : $ { e => e . theme . colors . primary . main } ;
> span {
color : $ { e => e . theme . colors . text . primary } ;
}
2026-05-12 08:05:18 +00:00
` ;class Vb extends n.Component{constructor(e){super(e),this.toggle=()=>{this.setState({expanded:!this.state.expanded})},this.state={expanded:!1}}render(){const{operation:e,inverted:t,hideHostname:r}=this.props,{expanded:i}=this.state;return n.createElement(js.Consumer,null,(o=>n.createElement(Db,null,n.createElement(Fb,{onClick:this.toggle, $ expanded:i, $ inverted:t},n.createElement(zb,{type:e.httpVerb, $ compact:this.props.compact},e.httpVerb),n.createElement(Mb,null,e.path),n.createElement(ip,{float:"right",color:t?"black":"white",size:"20px",direction:i?"up":"down",style:{marginRight:"-25px"}})),n.createElement(Bb,{ $ expanded:i,"aria-hidden":!i},e.servers.map((t=>{const i=o.expandDefaultServerVariables?function(e,t={}){return e.replace(/(?:{)([ \w -.]+)(?:})/g,((e,n)=>t[n]&&t[n].default||e))}(t.url,t.variables):t.url,s=function(e){try{return fi(e).pathname}catch(t){return e}}(i);return n.createElement(Ub,{key:i},n.createElement(Kh,{source:t.description||"",compact:!0}),n.createElement(Lb,null,n.createElement(qb,null,n.createElement("span",null,r||o.hideHostname?"/"===s?"":s:i),e.path)))}))))))}}class Wb extends n.PureComponent{render(){const{place:e,parameters:t}=this.props;return t&&t.length?n.createElement("div",{key:e},n.createElement(Qu,null,e," Parameters"),n.createElement(hp,null,n.createElement("tbody",null,oi(t,((e,t)=>n.createElement(Qg,{key:e.name,isLast:t,field:e,showExamples:!0})))))):null}}Object.defineProperty,Object.getOwnPropertyDescriptor;let Hb=class extends n.Component{constructor(){super(...arguments),this.switchMedia=({idx:e})=>{this.props.content&&void 0!==e&&this.props.content.activate(e)}}render(){const{content:e}=this.props;if(!e||!e.mediaTypes||!e.mediaTypes.length)return null;const t=e.activeMimeIdx,r=e.mediaTypes.map(((e,t)=>({value:e.name,idx:t}))),i=({children:e})=>this.props.withLabel?n.createElement(Om,null,n.createElement(Em,null,"Content type"),e):e;return n.createElement(n.Fragment,null,n.createElement(i,null,this.props.renderDropdown({value:r[t].value,options:r,onChange:this.switchMedia,ariaLabel:"Content type"})),this.props.children(e.active))}};Hb=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Hb);var Yb=Object.defineProperty,Gb=Object.getOwnPropertySymbols,Qb=Object.prototype.hasOwnProperty,Xb=Object.prototype.propertyIsEnumerable,Kb=(e,t,n)=>t in e?Yb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zb=(e,t)=>{for(var n in t||(t={}))Qb.call(t,n)&&Kb(e,n,t[n]);if(Gb)for(var n of Gb(t))Xb.call(t,n)&&Kb(e,n,t[n]);return e},Jb=(e,t)=>{var n={};for(var r in e)Qb.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Gb)for(var r of Gb(e))t.indexOf(r)<0&&Xb.call(e,r)&&(n[r]=e[r]);return n};const ev=["path","query","cookie","header"];class tv extends n.PureComponent{orderParams(e){const t={};return e.forEach((e=>{var n,r,i;i=e,(n=t)[r=e.in]||(n[r]=[]),n[r].push(i)})),t}render(){const{body:e,parameters:t=[]}=this.props;if(void 0===e&&void 0===t)return null;const r=this.orderParams(t),i=t.length>0?ev:[],o=e&&e.content,s=e&&e.description,a=e&&e.required;return n.createElement(n.Fragment,null,i.map((e=>n.createElement(Wb,{key:e,place:e,parameters:r[e]}))),o&&n.createElement(rv,{content:o,description:s,bodyRequired:a}))}}function nv(e){var t=e,{bodyRequired:r}=t,i=Jb(t,["bodyRequired"]);const o="boolean"==typeof r&&!!r,s="boolean"==typeof r&&!r;return n.createElement(Qu,{key:"header"},"Request Body schema: ",n.createElement(Df,Zb({},i)),o&&n.createElement(ov,null,"required"),s&&n.createElement(sv,null,"optional"))}function rv(e){const{content:t,description:r,bodyRequired:i}=e,{isRequestType:o}=t;return n.createElement(Hb,{content:t,renderDropdown:e=>n.createElement(nv,Zb({bodyRequired:i},e))},(({schema:e})=>n.createElement(n.Fragment,null,void 0!==r&&n.createElement(Kh,{source:r}),"object"===(null==e?void 0:e.type)&&n.createElement(Pg,{constraints:(null==e?void 0:e.constraints)||[]}),n.createElement(Py,{skipReadOnly:o,skipWriteOnly:!o,key:"schema",schema:e}))))}const iv=" \n text-transform: lowercase; \n margin-left: 0; \n line-height: 1.5em; \n ",ov=xs
$ { iv }
` ,sv=xs("div") `
$ { iv }
color : $ { ( { theme : e } ) => e . colors . text . secondary } ;
font - size : $ { e => e . theme . schema . labelsTextSize } ;
` ,av=xs(n.memo((function({title:e,type:t,empty:r,code:i,opened:o,className:s,onClick:a}){return n.createElement("button",{className:s,onClick:!r&&a||void 0,"aria-expanded":o,disabled:r},!r&&n.createElement(ip,{size:"1.5em",color:t,direction:o?"down":"right",float:"left"}),n.createElement(uv,null,i," "),n.createElement(Kh,{compact:!0,inline:!0,source:e}))}))) `
2022-09-12 16:47:18 +02:00
display : block ;
border : 0 ;
width : 100 % ;
text - align : left ;
padding : 10 px ;
border - radius : 2 px ;
margin - bottom : 4 px ;
line - height : 1.5 em ;
cursor : pointer ;
color : $ { e => e . theme . colors . responses [ e . type ] . color } ;
background - color : $ { e => e . theme . colors . responses [ e . type ] . backgroundColor } ;
& : focus {
outline : auto $ { e => e . theme . colors . responses [ e . type ] . color } ;
}
$ { e => e . empty ? '\ncursor: default;\n&::before {\n content: "—";\n font-weight: bold;\n width: 1.5em;\n text-align: center;\n display: inline-block;\n vertical-align: top;\n}\n&:focus {\n outline: 0;\n}\n' : "" } ;
2026-05-12 08:05:18 +00:00
` ,lv=xs.div `
2022-09-12 16:47:18 +02:00
padding : 10 px ;
2026-05-12 08:05:18 +00:00
` ,cv=xs(Qu).attrs({as:"caption"}) `
2022-09-12 16:47:18 +02:00
text - align : left ;
margin - top : 1 em ;
caption - side : top ;
2026-05-12 08:05:18 +00:00
` ,uv=xs.strong `
2022-09-12 16:47:18 +02:00
vertical - align : top ;
2026-05-12 08:05:18 +00:00
` ;class pv extends n.PureComponent{render(){const{headers:e}=this.props;return void 0===e||0===e.length?null:n.createElement(hp,null,n.createElement(cv,null," Response Headers "),n.createElement("tbody",null,oi(e,((e,t)=>n.createElement(Qg,{isLast:t,key:e.name,field:e,showExamples:!0})))))}}var dv=Object.defineProperty,fv=Object.getOwnPropertySymbols,hv=Object.prototype.hasOwnProperty,mv=Object.prototype.propertyIsEnumerable,gv=(e,t,n)=>t in e?dv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class yv extends n.PureComponent{constructor(){super(...arguments),this.renderDropdown=e=>n.createElement(Qu,{key:"header"},"Response Schema: ",n.createElement(Df,((e,t)=>{for(var n in t||(t={}))hv.call(t,n)&&gv(e,n,t[n]);if(fv)for(var n of fv(t))mv.call(t,n)&&gv(e,n,t[n]);return e})({},e)))}render(){const{description:e,extensions:t,headers:r,content:i}=this.props.response;return n.createElement(n.Fragment,null,e&&n.createElement(Kh,{source:e}),n.createElement(Ag,{extensions:t}),n.createElement(pv,{headers:r}),n.createElement(Hb,{content:i,renderDropdown:this.renderDropdown},(({schema:e})=>n.createElement(n.Fragment,null,"object"===(null==e?void 0:e.type)&&n.createElement(Pg,{constraints:(null==e?void 0:e.constraints)||[]}),n.createElement(Py,{skipWriteOnly:!0,key:"schema",schema:e})))))}}const bv=sg((({response:e})=>{const{extensions:t,headers:r,type:i,summary:o,description:s,code:a,expanded:l,content:c}=e,u=n.useMemo((()=>void 0===c?[]:c.mediaTypes.filter((e=>void 0!==e.schema))),[c]),p=n.useMemo((()=>!(t&&0!==Object.keys(t).length||0!==r.length||0!==u.length||s)),[t,r,u,s]);return n.createElement("div",null,n.createElement(av,{onClick:()=>e.toggle(),type:i,empty:p,title:o||"",code:a,opened:l}),l&&!p&&n.createElement(lv,null,n.createElement(yv,{response:e})))})),vv=xs.h3 `
2022-09-12 16:47:18 +02:00
font - size : 1.3 em ;
padding : 0.2 em 0 ;
margin : 3 em 0 1.1 em ;
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
font - weight : normal ;
2026-05-12 08:05:18 +00:00
` ;class xv extends n.PureComponent{render(){const{responses:e,isCallback:t}=this.props;return e&&0!==e.length?n.createElement("div",null,n.createElement(vv,null,bi(t?"callbackResponses":"responses")),e.map((e=>n.createElement(bv,{key:e.code,response:e})))):null}}function wv(e){const{security:t,showSecuritySchemeType:r,expanded:i}=e,o=t.schemes.length>1;return 0===t.schemes.length?n.createElement(Uy,{ $ expanded:i},"None"):n.createElement(Uy,{ $ expanded:i},o&&"(",t.schemes.map((e=>n.createElement(By,{key:e.id},r&& ` $ { tb [ e . type ] || e . type } : ` ,n.createElement("i",null,e.displayName),i&&e.scopes.length?[" (",e.scopes.map((e=>n.createElement(zy,{key:e},e))),") "]:null))),o&&") ")}const kv=({scopes:e})=>e.length?n.createElement("div",null,n.createElement("b",null,"Required scopes: "),e.map(((e,t)=>n.createElement(n.Fragment,{key:t},n.createElement("code",null,e)," ")))):null;function Sv(e){const t=(0,n.useContext)(Xu),r=null==t?void 0:t.options.showSecuritySchemeType,[i,o]=(0,n.useState)(!1),{securities:s}=e;if(!(null==s?void 0:s.length)||(null==t?void 0:t.options.hideSecuritySection))return null;const a=null==t?void 0:t.spec.securitySchemes.schemes.filter((({id:e})=>s.find((t=>t.schemes.find((t=>t.id===e))))));return n.createElement(n.Fragment,null,n.createElement(Hy,{ $ expanded:i},n.createElement(qy,{onClick:()=>o(!i)},n.createElement(Wy,null,"Authorizations:"),n.createElement(ip,{size:"1.3em",direction:i?"down":"right"})),n.createElement(Vy,{ $ expanded:i},s.map(((e,t)=>n.createElement(wv,{key:t,expanded:i,showSecuritySchemeType:r,security:e}))))),i&&!!(null==a?void 0:a.length)&&a.map(((e,t)=>n.createElement(Gy,{key:t},n.createElement("h5",null,n.createElement(Ev,null)," ",tb[e.type]||e.type,": ",e.id),n.createElement(Kh,{source:e.description||""}),n.createElement(eb,{key:e.id,scheme:e,RequiredScopes:n.createElement(kv,{scopes:Ov(e.id,s)})})))))}const Ev=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"11",height:"11"},n.createElement("path",{fill:"currentColor",d:"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z"}));function Ov(e,t){const n=[];let r=t.length;for(;r--;){const i=t[r];let o=i.schemes.length;for(;o--;){const t=i.schemes[o];t.id===e&&Array.isArray(t.scopes)&&n.push(...t.scopes)}}return Array.from(new Set(n))}Object.defineProperty,Object.getOwnPropertyDescriptor;let _v=class extends n.Component{render(){const{operation:e}=this.props,{description:t,externalDocs:r}=e,i=!(!t&&!r);return n.createElement( $ b,null,i&&n.createElement(Av,null,void 0!==t&&n.createElement(Kh,{source:t}),r&&n.createElement(kg,{externalDocs:r})),n.createElement(Vb,{operation:this.props.operation,inverted:!0,compact:!0}),n.createElement(Ag,{extensions:e.extensions}),n.createElement(Sv,{securities:e.security}),n.createElement(tv,{parameters:e.parameters,body:e.requestBody}),n.createElement(xv,{responses:e.responses,isCallback:e.isCallback}))}};_v=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],_v);const Av=xs.div `
2022-09-12 16:47:18 +02:00
margin - bottom : $ { ( { theme : e } ) => 3 * e . spacing . unit } px ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let Cv=class extends n.Component{constructor(){super(...arguments),this.toggle=()=>{this.props.callbackOperation.toggle()}}render(){const{name:e,expanded:t,httpVerb:r,deprecated:i}=this.props.callbackOperation;return n.createElement(n.Fragment,null,n.createElement(Nb,{onClick:this.toggle,name:e,opened:t,httpVerb:r,deprecated:i}),t&&n.createElement(_v,{operation:this.props.callbackOperation}))}};Cv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Cv);class jv extends n.PureComponent{render(){const{callbacks:e}=this.props;return e&&0!==e.length?n.createElement("div",null,n.createElement(Pv,null," Callbacks "),e.map((e=>e.operations.map(((t,r)=>n.createElement(Cv,{key: ` $ { e . name } _$ { r } ` ,callbackOperation:t})))))):null}}const Pv=xs.h3 `
2022-09-12 16:47:18 +02:00
font - size : 1.3 em ;
padding : 0.2 em 0 ;
margin : 3 em 0 1.1 em ;
color : $ { ( { theme : e } ) => e . colors . text . primary } ;
font - weight : normal ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let Tv=class extends n.Component{constructor(e){super(e),this.switchItem=({idx:e})=>{this.props.items&&void 0!==e&&this.setState({activeItemIdx:e})},this.state={activeItemIdx:0}}render(){const{items:e}=this.props;if(!e||!e.length)return null;const t=({children:e})=>this.props.label?n.createElement(Om,null,n.createElement(Em,null,this.props.label),e):e;return n.createElement(n.Fragment,null,n.createElement(t,null,this.props.renderDropdown({value:this.props.options[this.state.activeItemIdx].value,options:this.props.options,onChange:this.switchItem,ariaLabel:this.props.label||"Callback"})),this.props.children(e[this.state.activeItemIdx]))}};Tv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Tv);var Iv=Object.defineProperty,Rv=Object.defineProperties,Nv=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors), $ v=Object.getOwnPropertySymbols,Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable,Mv=(e,t,n)=>t in e?Iv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Fv=class extends n.Component{constructor(){super(...arguments),this.renderDropdown=e=>{return n.createElement(Df,(t=((e,t)=>{for(var n in t||(t={}))Lv.call(t,n)&&Mv(e,n,t[n]);if( $ v)for(var n of $ v(t))Dv.call(t,n)&&Mv(e,n,t[n]);return e})({Label:Sm,Dropdown:_m},e),Rv(t,Nv({variant:"dark"}))));var t}}render(){const e=this.props.content;return void 0===e?null:n.createElement(Hb,{content:e,renderDropdown:this.renderDropdown,withLabel:!0},(e=>n.createElement(Cm,{key:"samples",mediaType:e,renderDropdown:this.renderDropdown})))}};Fv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Fv);class zv extends n.Component{render(){const e=this.props.callback.codeSamples.find((e=> $ u(e)));return e?n.createElement(Bv,null,n.createElement(Fv,{content:e.requestBodyContent})):null}}const Bv=xs.div `
2022-09-12 16:47:18 +02:00
margin - top : 15 px ;
2026-05-12 08:05:18 +00:00
` ;var Uv=Object.defineProperty,qv=Object.defineProperties,Vv=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Wv=Object.getOwnPropertySymbols,Hv=Object.prototype.hasOwnProperty,Yv=Object.prototype.propertyIsEnumerable,Gv=(e,t,n)=>t in e?Uv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Qv=class extends n.Component{constructor(){super(...arguments),this.renderDropdown=e=>{return n.createElement(Df,(t=((e,t)=>{for(var n in t||(t={}))Hv.call(t,n)&&Gv(e,n,t[n]);if(Wv)for(var n of Wv(t))Yv.call(t,n)&&Gv(e,n,t[n]);return e})({Label:Sm,Dropdown:_m},e),qv(t,Vv({variant:"dark"}))));var t}}render(){const{callbacks:e}=this.props;if(!e||0===e.length)return null;const t=e.map((e=>e.operations.map((e=>e)))).reduce(((e,t)=>e.concat(t)),[]);if(!t.some((e=>e.codeSamples.length>0)))return null;const r=t.map(((e,t)=>({value: ` $ { e . httpVerb . toUpperCase ( ) } : $ { e . name } ` ,idx:t})));return n.createElement("div",null,n.createElement(Gu,null," Callback payload samples "),n.createElement(Xv,null,n.createElement(Tv,{items:t,renderDropdown:this.renderDropdown,label:"Callback",options:r},(e=>n.createElement(zv,{key:"callbackPayloadSample",callback:e,renderDropdown:this.renderDropdown})))))}};Qv.contextType=js,Qv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Qv);const Xv=xs.div `
2022-09-12 16:47:18 +02:00
background : $ { ( { theme : e } ) => e . codeBlock . backgroundColor } ;
padding : $ { e => 4 * e . theme . spacing . unit } px ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let Kv=class extends n.Component{render(){const{operation:e}=this.props,t=e.codeSamples,r=t.length>0,i=1===t.length&&this.context.hideSingleRequestSampleTab;return r&&n.createElement("div",null,n.createElement(Gu,null," ",bi("requestSamples")," "),n.createElement(Xp,{defaultIndex:0},n.createElement(Bp,{hidden:i},t.map((e=>n.createElement(Wp,{key:e.lang+"_"+(e.label||"")},void 0!==e.label?e.label:e.lang)))),t.map((e=>n.createElement(Qp,{key:e.lang+"_"+(e.label||"")}, $ u(e)?n.createElement("div",null,n.createElement(Fv,{content:e.requestBodyContent})):n.createElement(bm,{lang:e.lang,source:e.source}))))))||null}};Kv.contextType=js,Kv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Kv);Object.defineProperty,Object.getOwnPropertyDescriptor;let Zv=class extends n.Component{render(){const{operation:e}=this.props,t=e.responses.filter((e=>e.content&&e.content.hasSample));return t.length>0&&n.createElement("div",null,n.createElement(Gu,null," ",bi("responseSamples")," "),n.createElement(Xp,{defaultIndex:0},n.createElement(Bp,null,t.map((e=>n.createElement(Wp,{className:"tab-"+e.type,key:e.code},e.code)))),t.map((e=>n.createElement(Qp,{key:e.code},n.createElement("div",null,n.createElement(Fv,{content:e.content})))))))||null}};Zv=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Zv);var Jv=Object.defineProperty,ex=Object.defineProperties,tx=Object.getOwnPropertyDescriptors,nx=Object.getOwnPropertySymbols,rx=Object.prototype.hasOwnProperty,ix=Object.prototype.propertyIsEnumerable,ox=(e,t,n)=>t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sx=xs.div `
2022-09-12 16:47:18 +02:00
margin - bottom : $ { ( { theme : e } ) => 6 * e . spacing . unit } px ;
2026-05-12 08:05:18 +00:00
` ,ax=sg((({operation:e})=>{const{name:t,description:r,deprecated:i,externalDocs:o,isWebhook:s,httpVerb:a,badges:l}=e,c=!(!r&&!o),{showWebhookVerb:u}=n.useContext(js),p=l.filter((({position:e})=>"before"===e)),d=l.filter((({position:e})=>"after"===e));return n.createElement(js.Consumer,null,(l=>n.createElement(Uu,((e,t)=>ex(e,tx(t)))(((e,t)=>{for(var n in t||(t={}))rx.call(t,n)&&ox(e,n,t[n]);if(nx)for(var n of nx(t))ix.call(t,n)&&ox(e,n,t[n]);return e})({},{[Ef]:e.operationHash}),{id:e.operationHash}),n.createElement(Mu,null,n.createElement(Hu,null,n.createElement(np,{to:e.id}),p.map((({name:e,color:t})=>n.createElement(op,{type:"primary",key:e,color:t},e))),t," ",i&&n.createElement(op,{type:"warning"}," Deprecated "),s&&n.createElement(op,{type:"primary"}," ","Webhook ",u&&a&&"| "+a.toUpperCase()),d.map((({name:e,color:t})=>n.createElement(op,{type:"primary",key:e,color:t},e)))),l.pathInMiddlePanel&&!s&&n.createElement(Vb,{operation:e,inverted:!0}),c&&n.createElement(sx,null,void 0!==r&&n.createElement(Kh,{source:r}),o&&n.createElement(kg,{externalDocs:o})),n.createElement(Ag,{extensions:e.extensions}),n.createElement(Sv,{securities:e.security}),n.createElement(tv,{parameters:e.parameters,body:e.requestBody}),n.createElement(xv,{responses:e.responses}),n.createElement(jv,{callbacks:e.callbacks})),n.createElement(Bu,null,!l.pathInMiddlePanel&&!s&&n.createElement(Vb,{operation:e}),n.createElement(Kv,{operation:e}),n.createElement(Zv,{operation:e}),n.createElement(Qv,{callbacks:e.callbacks})))))}));var lx=Object.defineProperty,cx=Object.getOwnPropertyDescriptor,ux=Object.getOwnPropertySymbols,px=Object.prototype.hasOwnProperty,dx=Object.prototype.propertyIsEnumerable,fx=(e,t,n)=>t in e?lx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hx=(e,t,n,r)=>{for(var i,o=r>1?void 0:r?cx(t,n):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(r?i(t,n,o):i(o))||o);return r&&o&&lx(t,n,o),o};let mx=class extends n.Component{render(){const e=this.props.items;return 0===e.length?null:e.map((e=>n.createElement(gx,{key:e.id,item:e})))}};mx=hx([sg],mx);let gx=class extends n.Component{render(){const e=this.props.item;let t;const{type:r}=e;switch(r){case"group":t=null;break;case"tag":case"section":default:t=n.createElement(bx,((e,t)=>{for(var n in t||(t={}))px.call(t,n)&&fx(e,n,t[n]);if(ux)for(var n of ux(t))dx.call(t,n)&&fx(e,n,t[n]);return e})({},this.props));break;case"operation":t=n.createElement(vx,{item:e})}return n.createElement(n.Fragment,null,t&&n.createElement(Fu,{id:e.id, $ underlined:"operation"===e.type},t),e.items&&n.createElement(mx,{items:e.items}))}};gx=hx([sg],gx);const yx=e=>n.createElement(Mu,{ $ compact:!0},e);let bx=class extends n.Component{render(){const{name:e,description:t,externalDocs:r,level:i}=this.props.item,o=2===i?Yu:Hu;return n.createElement(n.Fragment,null,n.createElement(Uu,null,n.createElement(Mu,{ $ compact:!1},n.createElement(o,null,n.createElement(np,{to:this.props.item.id}),e))),n.createElement(wb,{parentId:this.props.item.id,source:t||"",htmlWrap:yx}),r&&n.createElement(Uu,null,n.createElement(Mu,null,n.createElement(kg,{externalDocs:r}))))}};bx=hx([sg],bx);let vx=class extends n.Component{render(){return n.createElement(ax,{operation:this.props.item})}};vx=hx([sg],vx);var xx=Object.defineProperty,wx=Object.defineProperties,kx=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Sx=Object.getOwnPropertySymbols,Ex=Object.prototype.hasOwnProperty,Ox=Object.prototype.propertyIsEnumerable,_x=(e,t,n)=>t in e?xx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Ax=class extends n.Component{constructor(){super(...arguments),this.ref=n.createRef(),this.activate=e=>{this.props.onActivate(this.props.item),e.stopPropagation()}}componentDidMount(){this.scrollIntoViewIfActive()}componentDidUpdate(){this.scrollIntoViewIfActive()}scrollIntoViewIfActive(){this.props.item.active&&this.ref.current&&ni(this.ref.current)}render(){const{item:e,withoutChildren:t}=this.props;return n.createElement(_b,{tabIndex:0,onClick:this.activate,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(this.props.onActi
2022-09-12 16:47:18 +02:00
user - select : none ;
width : 20 px ;
height : 20 px ;
align - self : center ;
display : flex ;
flex - direction : column ;
color : $ { e => e . theme . colors . primary . main } ;
2026-05-12 08:05:18 +00:00
` ;Object.defineProperty,Object.getOwnPropertyDescriptor;let zx;ei&&(zx=r(227));const Bx=zx&&zx(),Ux=xs.div `
2022-09-12 16:47:18 +02:00
width : $ { e => e . theme . sidebar . width } ;
background - color : $ { e => e . theme . sidebar . backgroundColor } ;
overflow : hidden ;
display : flex ;
flex - direction : column ;
backface - visibility : hidden ;
/* contain: strict; TODO: breaks layout since Chrome 80*/
height : 100 vh ;
position : sticky ;
position : - webkit - sticky ;
top : 0 ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
position : fixed ;
z - index : 20 ;
width : 100 % ;
background : $ { ( { theme : e } ) => e . sidebar . backgroundColor } ;
2026-05-12 08:05:18 +00:00
display : $ { e => e . $open ? "flex" : "none" } ;
2022-09-12 16:47:18 +02:00
` };
@ media print {
display : none ;
}
2026-05-12 08:05:18 +00:00
` ,qx=xs.div `
2022-09-12 16:47:18 +02:00
outline : none ;
user - select : none ;
background - color : $ { ( { theme : e } ) => e . fab . backgroundColor } ;
color : $ { e => e . theme . colors . primary . main } ;
display : none ;
cursor : pointer ;
position : fixed ;
right : 20 px ;
z - index : 100 ;
border - radius : 50 % ;
box - shadow : 0 0 20 px rgba ( 0 , 0 , 0 , 0.3 ) ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" ) `
2022-09-12 16:47:18 +02:00
display : flex ;
` };
bottom : 44 px ;
width : 60 px ;
height : 60 px ;
padding : 0 20 px ;
svg {
color : $ { ( { theme : e } ) => e . fab . color } ;
}
@ media print {
display : none ;
}
2026-05-12 08:05:18 +00:00
` ;let Vx=class extends n.Component{constructor(){super(...arguments),this.state={offsetTop:"0px"},this.toggleNavMenu=()=>{this.props.menu.toggleSidebar()}}componentDidMount(){Bx&&Bx.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Bx&&Bx.remove(this.stickyElement)}getScrollYOffset(e){let t;return t=void 0!==this.props.scrollYOffset?Pi.normalizeScrollYOffset(this.props.scrollYOffset)():e.scrollYOffset(),t+"px"}render(){const e=this.props.menu.sideBarOpened,t=this.state.offsetTop;return n.createElement(n.Fragment,null,n.createElement(Ux,{ $ open:e,className:this.props.className,style:{top:t,height: ` calc ( 100 vh - $ { t } ) ` },ref:e=>{this.stickyElement=e}},this.props.children),!this.context.hideFab&&n.createElement(qx,{onClick:this.toggleNavMenu},n.createElement(Dx,{open:e})))}};Vx.contextType=js,Vx=((e,t)=>{for(var n,r=t,i=e.length-1;i>=0;i--)(n=e[i])&&(r=n(r)||r);return r})([sg],Vx);const Wx=xs.div `
2022-09-12 16:47:18 +02:00
$ { ( { theme : e } ) => ` \n font-family: ${ e . typography . fontFamily } ; \n font-size: ${ e . typography . fontSize } ; \n font-weight: ${ e . typography . fontWeightRegular } ; \n line-height: ${ e . typography . lineHeight } ; \n color: ${ e . colors . text . primary } ; \n display: flex; \n position: relative; \n text-align: left; \n \n -webkit-font-smoothing: ${ e . typography . smoothing } ; \n font-smoothing: ${ e . typography . smoothing } ; \n ${ e . typography . optimizeSpeed ? "text-rendering: optimizeSpeed !important" : "" } ; \n \n tap-highlight-color: rgba(0, 0, 0, 0); \n text-size-adjust: 100%; \n \n * { \n box-sizing: border-box; \n -webkit-tap-highlight-color: rgba(255, 255, 255, 0); \n } \n ` } ;
2026-05-12 08:05:18 +00:00
` ,Hx=xs.div `
2022-09-12 16:47:18 +02:00
z - index : 1 ;
position : relative ;
overflow : hidden ;
width : calc ( 100 % - $ { e => e . theme . sidebar . width } ) ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "small" , ! 0 ) `
2022-09-12 16:47:18 +02:00
width : 100 % ;
` };
contain : layout ;
2026-05-12 08:05:18 +00:00
` ,Yx=xs.div `
2022-09-12 16:47:18 +02:00
background : $ { ( { theme : e } ) => e . rightPanel . backgroundColor } ;
position : absolute ;
top : 0 ;
bottom : 0 ;
right : 0 ;
width : $ { ( { theme : e } ) => { if ( e . rightPanel . width . endsWith ( "%" ) ) { const t = parseInt ( e . rightPanel . width , 10 ) ; return ` calc((100% - ${ e . sidebar . width } ) * ${ t / 100 } ) ` } return e . rightPanel . width } } ;
2026-05-12 08:05:18 +00:00
$ { vs . lessThan ( "medium" , ! 0 ) `
2022-09-12 16:47:18 +02:00
display : none ;
` };
2026-05-12 08:05:18 +00:00
` ,Gx=xs.div `
2022-09-12 16:47:18 +02:00
padding : 5 px 0 ;
2026-05-12 08:05:18 +00:00
` ,Qx=xs.input.attrs((()=>({className:"search-input"}))) `
2022-09-12 16:47:18 +02:00
width : calc ( 100 % - $ { e => 8 * e . theme . spacing . unit } px ) ;
box - sizing : border - box ;
margin : 0 $ { e => 4 * e . theme . spacing . unit } px ;
padding : 5 px $ { e => 2 * e . theme . spacing . unit } px 5 px
$ { e => 4 * e . theme . spacing . unit } px ;
border : 0 ;
border - bottom : 1 px solid
2026-05-12 08:05:18 +00:00
$ { ( { theme : e } ) => ( Vr ( e . sidebar . backgroundColor ) > . 5 ? Br : Hr ) ( . 1 , e . sidebar . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
font - family : $ { ( { theme : e } ) => e . typography . fontFamily } ;
font - weight : bold ;
font - size : 13 px ;
color : $ { e => e . theme . sidebar . textColor } ;
background - color : transparent ;
outline : none ;
2026-05-12 08:05:18 +00:00
` ,Xx=xs((e=>n.createElement("svg",{className:e.className,version:"1.1",viewBox:"0 0 1000 1000",x:"0px",xmlns:"http://www.w3.org/2000/svg",y:"0px"},n.createElement("path",{d:"M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"})))).attrs({className:"search-icon"}) `
2022-09-12 16:47:18 +02:00
position : absolute ;
left : $ { e => 4 * e . theme . spacing . unit } px ;
height : 1.8 em ;
width : 0.9 em ;
path {
fill : $ { e => e . theme . sidebar . textColor } ;
}
2026-05-12 08:05:18 +00:00
` ,Kx=xs.div `
2022-09-12 16:47:18 +02:00
padding : $ { e => e . theme . spacing . unit } px 0 ;
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => Br ( . 05 , e . sidebar . backgroundColor ) } } ;
2022-09-12 16:47:18 +02:00
color : $ { e => e . theme . sidebar . textColor } ;
min - height : 150 px ;
max - height : 250 px ;
2026-05-12 08:05:18 +00:00
border - top : $ { ( { theme : e } ) => Br ( . 1 , e . sidebar . backgroundColor ) } } ;
border - bottom : $ { ( { theme : e } ) => Br ( . 1 , e . sidebar . backgroundColor ) } } ;
2022-09-12 16:47:18 +02:00
margin - top : 10 px ;
line - height : 1.4 ;
font - size : 0.9 em ;
li {
background - color : inherit ;
}
2026-05-12 08:05:18 +00:00
$ { Cb } {
2022-09-12 16:47:18 +02:00
padding - top : 6 px ;
padding - bottom : 6 px ;
& : hover ,
& . active {
2026-05-12 08:05:18 +00:00
background - color : $ { ( { theme : e } ) => Br ( . 1 , e . sidebar . backgroundColor ) } ;
2022-09-12 16:47:18 +02:00
}
> svg {
display : none ;
}
}
2026-05-12 08:05:18 +00:00
` ,Zx=xs.i `
2022-09-12 16:47:18 +02:00
position : absolute ;
display : inline - block ;
width : $ { e => 2 * e . theme . spacing . unit } px ;
text - align : center ;
right : $ { e => 4 * e . theme . spacing . unit } px ;
line - height : 2 em ;
vertical - align : middle ;
margin - right : 2 px ;
cursor : pointer ;
font - style : normal ;
color : '#666' ;
2026-05-12 08:05:18 +00:00
` ;var Jx=Object.defineProperty,ew=Object.getOwnPropertyDescriptor;class tw extends n.PureComponent{constructor(e){super(e),this.activeItemRef=null,this.clear=()=>{this.setState({results:[],noResults:!1,term:"",activeItemIdx:-1}),this.props.marker.unmark()},this.handleKeyDown=e=>{if(27===e.keyCode&&this.clear(),40===e.keyCode&&(this.setState({activeItemIdx:Math.min(this.state.activeItemIdx+1,this.state.results.length-1)}),e.preventDefault()),38===e.keyCode&&(this.setState({activeItemIdx:Math.max(0,this.state.activeItemIdx-1)}),e.preventDefault()),13===e.keyCode){const e=this.state.results[this.state.activeItemIdx];if(e){const t=this.props.getItemById(e.meta);t&&this.props.onActivate(t)}}},this.search=e=>{const{minCharacterLengthToInitSearch:t}=this.context,n=e.target.value;n.length<t?this.clearResults(n):this.setState({term:n},(()=>this.searchCallback(this.state.term)))},this.state={results:[],noResults:!1,term:"",activeItemIdx:-1}}clearResults(e){this.setState({results:[],noResults:!1,term:e}),this.props.marker.unmark()}setResults(e,t){this.setState({results:e,noResults:0===e.length}),this.props.marker.mark(t)}searchCallback(e){this.props.search.search(e).then((t=>{this.setResults(t,e)}))}render(){const{activeItemIdx:e}=this.state,t=this.state.results.filter((e=>this.props.getItemById(e.meta))).map((e=>({item:this.props.getItemById(e.meta),score:e.score}))).sort(((e,t)=>t.score-e.score));return n.createElement(Gx,{role:"search"},this.state.term&&n.createElement(Zx,{onClick:this.clear},"× "),n.createElement(Xx,null),n.createElement(Qx,{value:this.state.term,onKeyDown:this.handleKeyDown,placeholder:"Search...","aria-label":"Search",type:"text",onChange:this.search}),t.length>0&&n.createElement( $ d,{options:{wheelPropagation:!1}},n.createElement(Kx,{"data-role":"search:results"},t.map(((t,r)=>n.createElement(Ax,{item:Object.create(t.item,{active:{value:r===e}}),onActivate:this.props.onActivate,withoutChildren:!0,key:t.item.id,"data-role":"search:result"}))))),this.state.term&&this.state.noResults?n.createElement(Kx,{"data-role":"search:results"},bi("noResultsFound")):null)}}tw.contextType=js,((e,t,n)=>{for(var r,i=ew(t,n),o=e.length-1;o>=0;o--)(r=e[o])&&(i=r(t,n,i)||i);i&&Jx(t,n,i)})([Ls.bind,(0,Ls.debounce)(400)],tw.prototype,"searchCallback");class nw extends n.Component{componentDidMount(){this.props.store.onDidMount()}componentWillUnmount(){this.props.store.dispose()}render(){const{store:{spec:e,menu:t,options:r,search:i,marker:o}}=this.props,s=this.props.store;return n.createElement(bs,{theme:r.theme},n.createElement(Ku,{value:s},n.createElement(Ps,{value:r},n.createElement(Wx,{className:"redoc-wrap"},n.createElement(Vx,{menu:t,className:"menu-content"},n.createElement(hb,{info:e.info}),!r.disableSearch&&n.createElement(tw,{search:i,marker:o,getItemById:t.getItemById,onActivate:t.activateAndScroll})||null,n.createElement(Lx,{menu:t})),n.createElement(Hx,{className:"api-content"},n.createElement(ub,{store:s}),n.createElement(mx,{items:t.items})),n.createElement(Yx,null)))))}}nw.propTypes={store:Cs.instanceOf(rb).isRequired};var rw=Object.defineProperty,iw=Object.getOwnPropertySymbols,ow=Object.prototype.hasOwnProperty,sw=Object.prototype.propertyIsEnumerable,aw=(e,t,n)=>t in e?rw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lw=(e,t)=>{for(var n in t||(t={}))ow.call(t,n)&&aw(e,n,t[n]);if(iw)for(var n of iw(t))sw.call(t,n)&&aw(e,n,t[n]);return e};const cw=function(e){const{spec:t,specUrl:i,options:o={},onLoaded:s}=e,a=Ci(o.hideLoading,!1),l=new Pi(o);if(void 0!==l.nonce)try{r.nc=l.nonce}catch(e){}return n.createElement(Ss,null,n.createElement(Ju,{spec:t?lw({},t):void 0,specUrl:i,options:o,onLoaded:s},(({loading:e,store:t})=>e?a?null:n.createElement(As,{color:l.theme.colors.primary.main}):n.createElement(nw,{store:t}))))};var uw=Object.defineProperty,pw=Object.getOwnPropertySymbols,dw=Object.prototype.hasOwnProperty,fw=Object.prototype.propertyIsEnumerable,hw=(e,t,n)=>t in e?uw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mw=(e,t)=>{for(var n in t||(t={}))dw.call(t,n)&&hw(e,n,t[n]);if(
2022-09-12 16:47:18 +02:00
//# sourceMappingURL=redoc.standalone.js.map