@redocly/openapi-docs 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.5.1"
5
+ * Version: "3.5.2"
6
6
  */(function(Nc,ql){typeof exports=="object"&&typeof module=="object"?module.exports=ql(require("null")):typeof define=="function"&&define.amd?define(["null"],ql):typeof exports=="object"?exports.RedoclyOpenAPIDocs=ql(require("null")):Nc.RedoclyOpenAPIDocs=ql(Nc.null)})(this,af=>(()=>{var Nc={44607:(g,t,e)=>{"use strict";e.d(t,{A:()=>n});function n(f){var u=Object.create(null);return function(E){return u[E]===void 0&&(u[E]=f(E)),u[E]}}},61203:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=e(85968),f=e(96735),u=e(44723),E=e(48226),p="https://json-schema.org/draft/2020-12/schema";class h extends n.default{constructor(P={}){super({...P,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),f.default.forEach(P=>this.addVocabulary(P)),this.opts.discriminator&&this.addKeyword(u.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:P,meta:O}=this.opts;O&&(E.default.call(this,P),this.refs["http://json-schema.org/schema"]=p)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(p)?p:void 0)}}g.exports=t=h,Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var d=e(9804);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var C=e(57287);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return C._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return C.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return C.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return C.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return C.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return C.CodeGen}})},76202:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0,t._=u,t.str=p,t.addCodeArg=h,t.strConcat=v,t.stringify=O,t.safeStringify=I,t.getProperty=b,t.getEsmExportName=x,t.regexpCode=o;class e{}t._CodeOrName=e,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends e{constructor(l){if(super(),!t.IDENTIFIER.test(l))throw new Error("CodeGen: name must be a valid identifier");this.str=l}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class f extends e{constructor(l){super(),this._items=typeof l=="string"?[l]:l}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const l=this._items[0];return l===""||l==='""'}get str(){var l;return(l=this._str)!==null&&l!==void 0?l:this._str=this._items.reduce((M,S)=>`${M}${S}`,"")}get names(){var l;return(l=this._names)!==null&&l!==void 0?l:this._names=this._items.reduce((M,S)=>(S instanceof n&&(M[S.str]=(M[S.str]||0)+1),M),{})}}t._Code=f,t.nil=new f("");function u(a,...l){const M=[a[0]];let S=0;for(;S<l.length;)h(M,l[S]),M.push(a[++S]);return new f(M)}const E=new f("+");function p(a,...l){const M=[I(a[0])];let S=0;for(;S<l.length;)M.push(E),h(M,l[S]),M.push(E,I(a[++S]));return d(M),new f(M)}function h(a,l){l instanceof f?a.push(...l._items):l instanceof n?a.push(l):a.push(P(l))}function d(a){let l=1;for(;l<a.length-1;){if(a[l]===E){const M=C(a[l-1],a[l+1]);if(M!==void 0){a.splice(l-1,3,M);continue}a[l++]="+"}l++}}function C(a,l){if(l==='""')return a;if(a==='""')return l;if(typeof a=="string")return l instanceof n||a[a.length-1]!=='"'?void 0:typeof l!="string"?`${a.slice(0,-1)}${l}"`:l[0]==='"'?a.slice(0,-1)+l.slice(1):void 0;if(typeof l=="string"&&l[0]==='"'&&!(a instanceof n))return`"${a}${l.slice(1)}`}function v(a,l){return l.emptyStr()?a:a.emptyStr()?l:p`${a}${l}`}function P(a){return typeof a=="number"||typeof a=="boolean"||a===null?a:I(Array.isArray(a)?a.join(","):a)}function O(a){return new f(I(a))}function I(a){return JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function b(a){return typeof a=="string"&&t.IDENTIFIER.test(a)?new f(`.${a}`):u`[${a}]`}function x(a){if(typeof a=="string"&&t.IDENTIFIER.test(a))return new f(`${a}`);throw new Error(`CodeGen: invalid export name: ${a}, use explicit $id name mapping`)}function o(a){return new f(a.toString())}},57287:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0,t.not=Ee,t.and=ge,t.or=Z;const n=e(76202),f=e(34863);var u=e(76202);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return u.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return u.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return u.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}});var E=e(34863);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return E.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return E.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return E.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return E.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class p{optimizeNodes(){return this}optimizeNames(X,K){return this}}class h extends p{constructor(X,K,ae){super(),this.varKind=X,this.name=K,this.rhs=ae}render({es5:X,_n:K}){const ae=X?f.varKinds.var:this.varKind,oe=this.rhs===void 0?"":` = ${this.rhs}`;return`${ae} ${this.name}${oe};`+K}optimizeNames(X,K){if(X[this.name.str])return this.rhs&&(this.rhs=se(this.rhs,X,K)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class d extends p{constructor(X,K,ae){super(),this.lhs=X,this.rhs=K,this.sideEffects=ae}render({_n:X}){return`${this.lhs} = ${this.rhs};`+X}optimizeNames(X,K){if(!(this.lhs instanceof n.Name&&!X[this.lhs.str]&&!this.sideEffects))return this.rhs=se(this.rhs,X,K),this}get names(){const X=this.lhs instanceof n.Name?{}:{...this.lhs.names};return ne(X,this.rhs)}}class C extends d{constructor(X,K,ae,oe){super(X,ae,oe),this.op=K}render({_n:X}){return`${this.lhs} ${this.op}= ${this.rhs};`+X}}class v extends p{constructor(X){super(),this.label=X,this.names={}}render({_n:X}){return`${this.label}:`+X}}class P extends p{constructor(X){super(),this.label=X,this.names={}}render({_n:X}){return`break${this.label?` ${this.label}`:""};`+X}}class O extends p{constructor(X){super(),this.error=X}render({_n:X}){return`throw ${this.error};`+X}get names(){return this.error.names}}class I extends p{constructor(X){super(),this.code=X}render({_n:X}){return`${this.code};`+X}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(X,K){return this.code=se(this.code,X,K),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class b extends p{constructor(X=[]){super(),this.nodes=X}render(X){return this.nodes.reduce((K,ae)=>K+ae.render(X),"")}optimizeNodes(){const{nodes:X}=this;let K=X.length;for(;K--;){const ae=X[K].optimizeNodes();Array.isArray(ae)?X.splice(K,1,...ae):ae?X[K]=ae:X.splice(K,1)}return X.length>0?this:void 0}optimizeNames(X,K){const{nodes:ae}=this;let oe=ae.length;for(;oe--;){const be=ae[oe];be.optimizeNames(X,K)||(xe(X,be.names),ae.splice(oe,1))}return ae.length>0?this:void 0}get names(){return this.nodes.reduce((X,K)=>ie(X,K.names),{})}}class x extends b{render(X){return"{"+X._n+super.render(X)+"}"+X._n}}class o extends b{}class a extends x{}a.kind="else";class l extends x{constructor(X,K){super(K),this.condition=X}render(X){let K=`if(${this.condition})`+super.render(X);return this.else&&(K+="else "+this.else.render(X)),K}optimizeNodes(){super.optimizeNodes();const X=this.condition;if(X===!0)return this.nodes;let K=this.else;if(K){const ae=K.optimizeNodes();K=this.else=Array.isArray(ae)?new a(ae):ae}if(K)return X===!1?K instanceof l?K:K.nodes:this.nodes.length?this:new l(Ee(X),K instanceof l?[K]:K.nodes);if(!(X===!1||!this.nodes.length))return this}optimizeNames(X,K){var ae;if(this.else=(ae=this.else)===null||ae===void 0?void 0:ae.optimizeNames(X,K),!!(super.optimizeNames(X,K)||this.else))return this.condition=se(this.condition,X,K),this}get names(){const X=super.names;return ne(X,this.condition),this.else&&ie(X,this.else.names),X}}l.kind="if";class M extends x{}M.kind="for";class S extends M{constructor(X){super(),this.iteration=X}render(X){return`for(${this.iteration})`+super.render(X)}optimizeNames(X,K){if(super.optimizeNames(X,K))return this.iteration=se(this.iteration,X,K),this}get names(){return ie(super.names,this.iteration.names)}}class j extends M{constructor(X,K,ae,oe){super(),this.varKind=X,this.name=K,this.from=ae,this.to=oe}render(X){const K=X.es5?f.varKinds.var:this.varKind,{name:ae,from:oe,to:be}=this;return`for(${K} ${ae}=${oe}; ${ae}<${be}; ${ae}++)`+super.render(X)}get names(){const X=ne(super.names,this.from);return ne(X,this.to)}}class A extends M{constructor(X,K,ae,oe){super(),this.loop=X,this.varKind=K,this.name=ae,this.iterable=oe}render(X){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(X)}optimizeNames(X,K){if(super.optimizeNames(X,K))return this.iterable=se(this.iterable,X,K),this}get names(){return ie(super.names,this.iterable.names)}}class L extends x{constructor(X,K,ae){super(),this.name=X,this.args=K,this.async=ae}render(X){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(X)}}L.kind="func";class T extends b{render(X){return"return "+super.render(X)}}T.kind="return";class z extends x{render(X){let K="try"+super.render(X);return this.catch&&(K+=this.catch.render(X)),this.finally&&(K+=this.finally.render(X)),K}optimizeNodes(){var X,K;return super.optimizeNodes(),(X=this.catch)===null||X===void 0||X.optimizeNodes(),(K=this.finally)===null||K===void 0||K.optimizeNodes(),this}optimizeNames(X,K){var ae,oe;return super.optimizeNames(X,K),(ae=this.catch)===null||ae===void 0||ae.optimizeNames(X,K),(oe=this.finally)===null||oe===void 0||oe.optimizeNames(X,K),this}get names(){const X=super.names;return this.catch&&ie(X,this.catch.names),this.finally&&ie(X,this.finally.names),X}}class w extends x{constructor(X){super(),this.error=X}render(X){return`catch(${this.error})`+super.render(X)}}w.kind="catch";class Y extends x{render(X){return"finally"+super.render(X)}}Y.kind="finally";class J{constructor(X,K={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...K,_n:K.lines?`
7
7
  `:""},this._extScope=X,this._scope=new f.Scope({parent:X}),this._nodes=[new o]}toString(){return this._root.render(this.opts)}name(X){return this._scope.name(X)}scopeName(X){return this._extScope.name(X)}scopeValue(X,K){const ae=this._extScope.value(X,K);return(this._values[ae.prefix]||(this._values[ae.prefix]=new Set)).add(ae),ae}getScopeValue(X,K){return this._extScope.getValue(X,K)}scopeRefs(X){return this._extScope.scopeRefs(X,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(X,K,ae,oe){const be=this._scope.toName(K);return ae!==void 0&&oe&&(this._constants[be.str]=ae),this._leafNode(new h(X,be,ae)),be}const(X,K,ae){return this._def(f.varKinds.const,X,K,ae)}let(X,K,ae){return this._def(f.varKinds.let,X,K,ae)}var(X,K,ae){return this._def(f.varKinds.var,X,K,ae)}assign(X,K,ae){return this._leafNode(new d(X,K,ae))}add(X,K){return this._leafNode(new C(X,t.operators.ADD,K))}code(X){return typeof X=="function"?X():X!==n.nil&&this._leafNode(new I(X)),this}object(...X){const K=["{"];for(const[ae,oe]of X)K.length>1&&K.push(","),K.push(ae),(ae!==oe||this.opts.es5)&&(K.push(":"),(0,n.addCodeArg)(K,oe));return K.push("}"),new n._Code(K)}if(X,K,ae){if(this._blockNode(new l(X)),K&&ae)this.code(K).else().code(ae).endIf();else if(K)this.code(K).endIf();else if(ae)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(X){return this._elseNode(new l(X))}else(){return this._elseNode(new a)}endIf(){return this._endBlockNode(l,a)}_for(X,K){return this._blockNode(X),K&&this.code(K).endFor(),this}for(X,K){return this._for(new S(X),K)}forRange(X,K,ae,oe,be=this.opts.es5?f.varKinds.var:f.varKinds.let){const Pe=this._scope.toName(X);return this._for(new j(be,Pe,K,ae),()=>oe(Pe))}forOf(X,K,ae,oe=f.varKinds.const){const be=this._scope.toName(X);if(this.opts.es5){const Pe=K instanceof n.Name?K:this.var("_arr",K);return this.forRange("_i",0,(0,n._)`${Pe}.length`,Ie=>{this.var(be,(0,n._)`${Pe}[${Ie}]`),ae(be)})}return this._for(new A("of",oe,be,K),()=>ae(be))}forIn(X,K,ae,oe=this.opts.es5?f.varKinds.var:f.varKinds.const){if(this.opts.ownProperties)return this.forOf(X,(0,n._)`Object.keys(${K})`,ae);const be=this._scope.toName(X);return this._for(new A("in",oe,be,K),()=>ae(be))}endFor(){return this._endBlockNode(M)}label(X){return this._leafNode(new v(X))}break(X){return this._leafNode(new P(X))}return(X){const K=new T;if(this._blockNode(K),this.code(X),K.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(T)}try(X,K,ae){if(!K&&!ae)throw new Error('CodeGen: "try" without "catch" and "finally"');const oe=new z;if(this._blockNode(oe),this.code(X),K){const be=this.name("e");this._currNode=oe.catch=new w(be),K(be)}return ae&&(this._currNode=oe.finally=new Y,this.code(ae)),this._endBlockNode(w,Y)}throw(X){return this._leafNode(new O(X))}block(X,K){return this._blockStarts.push(this._nodes.length),X&&this.code(X).endBlock(K),this}endBlock(X){const K=this._blockStarts.pop();if(K===void 0)throw new Error("CodeGen: not in self-balancing block");const ae=this._nodes.length-K;if(ae<0||X!==void 0&&ae!==X)throw new Error(`CodeGen: wrong number of nodes: ${ae} vs ${X} expected`);return this._nodes.length=K,this}func(X,K=n.nil,ae,oe){return this._blockNode(new L(X,K,ae)),oe&&this.code(oe).endFunc(),this}endFunc(){return this._endBlockNode(L)}optimize(X=1){for(;X-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(X){return this._currNode.nodes.push(X),this}_blockNode(X){this._currNode.nodes.push(X),this._nodes.push(X)}_endBlockNode(X,K){const ae=this._currNode;if(ae instanceof X||K&&ae instanceof K)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${K?`${X.kind}/${K.kind}`:X.kind}"`)}_elseNode(X){const K=this._currNode;if(!(K instanceof l))throw new Error('CodeGen: "else" without "if"');return this._currNode=K.else=X,this}get _root(){return this._nodes[0]}get _currNode(){const X=this._nodes;return X[X.length-1]}set _currNode(X){const K=this._nodes;K[K.length-1]=X}}t.CodeGen=J;function ie(F,X){for(const K in X)F[K]=(F[K]||0)+(X[K]||0);return F}function ne(F,X){return X instanceof n._CodeOrName?ie(F,X.names):F}function se(F,X,K){if(F instanceof n.Name)return ae(F);if(!oe(F))return F;return new n._Code(F._items.reduce((be,Pe)=>(Pe instanceof n.Name&&(Pe=ae(Pe)),Pe instanceof n._Code?be.push(...Pe._items):be.push(Pe),be),[]));function ae(be){const Pe=K[be.str];return Pe===void 0||X[be.str]!==1?be:(delete X[be.str],Pe)}function oe(be){return be instanceof n._Code&&be._items.some(Pe=>Pe instanceof n.Name&&X[Pe.str]===1&&K[Pe.str]!==void 0)}}function xe(F,X){for(const K in X)F[K]=(F[K]||0)-(X[K]||0)}function Ee(F){return typeof F=="boolean"||typeof F=="number"||F===null?!F:(0,n._)`!${G(F)}`}const Oe=k(t.operators.AND);function ge(...F){return F.reduce(Oe)}const Ce=k(t.operators.OR);function Z(...F){return F.reduce(Ce)}function k(F){return(X,K)=>X===n.nil?K:K===n.nil?X:(0,n._)`${G(X)} ${F} ${G(K)}`}function G(F){return F instanceof n.Name?F:(0,n._)`(${F})`}},34863:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=e(76202);class f extends Error{constructor(v){super(`CodeGen: "code" for ${v} not defined`),this.value=v.value}}var u;(function(C){C[C.Started=0]="Started",C[C.Completed=1]="Completed"})(u||(t.UsedValueState=u={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class E{constructor({prefixes:v,parent:P}={}){this._names={},this._prefixes=v,this._parent=P}toName(v){return v instanceof n.Name?v:this.name(v)}name(v){return new n.Name(this._newName(v))}_newName(v){const P=this._names[v]||this._nameGroup(v);return`${v}${P.index++}`}_nameGroup(v){var P,O;if(!((O=(P=this._parent)===null||P===void 0?void 0:P._prefixes)===null||O===void 0)&&O.has(v)||this._prefixes&&!this._prefixes.has(v))throw new Error(`CodeGen: prefix "${v}" is not allowed in this scope`);return this._names[v]={prefix:v,index:0}}}t.Scope=E;class p extends n.Name{constructor(v,P){super(P),this.prefix=v}setValue(v,{property:P,itemIndex:O}){this.value=v,this.scopePath=(0,n._)`.${new n.Name(P)}[${O}]`}}t.ValueScopeName=p;const h=(0,n._)`\n`;class d extends E{constructor(v){super(v),this._values={},this._scope=v.scope,this.opts={...v,_n:v.lines?h:n.nil}}get(){return this._scope}name(v){return new p(v,this._newName(v))}value(v,P){var O;if(P.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const I=this.toName(v),{prefix:b}=I,x=(O=P.key)!==null&&O!==void 0?O:P.ref;let o=this._values[b];if(o){const M=o.get(x);if(M)return M}else o=this._values[b]=new Map;o.set(x,I);const a=this._scope[b]||(this._scope[b]=[]),l=a.length;return a[l]=P.ref,I.setValue(P,{property:b,itemIndex:l}),I}getValue(v,P){const O=this._values[v];if(O)return O.get(P)}scopeRefs(v,P=this._values){return this._reduceValues(P,O=>{if(O.scopePath===void 0)throw new Error(`CodeGen: name "${O}" has no value`);return(0,n._)`${v}${O.scopePath}`})}scopeCode(v=this._values,P,O){return this._reduceValues(v,I=>{if(I.value===void 0)throw new Error(`CodeGen: name "${I}" has no value`);return I.value.code},P,O)}_reduceValues(v,P,O={},I){let b=n.nil;for(const x in v){const o=v[x];if(!o)continue;const a=O[x]=O[x]||new Map;o.forEach(l=>{if(a.has(l))return;a.set(l,u.Started);let M=P(l);if(M){const S=this.opts.es5?t.varKinds.var:t.varKinds.const;b=(0,n._)`${b}${S} ${l} = ${M};${this.opts._n}`}else if(M=I?.(l))b=(0,n._)`${b}${M}${this.opts._n}`;else throw new f(l);a.set(l,u.Completed)})}return b}}t.ValueScope=d},39054:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyword$DataError=t.keywordError=void 0,t.reportError=E,t.reportExtraError=p,t.resetErrorsCount=h,t.extendErrors=d;const n=e(57287),f=e(977),u=e(5057);t.keywordError={message:({keyword:a})=>(0,n.str)`must pass "${a}" keyword validation`},t.keyword$DataError={message:({keyword:a,schemaType:l})=>l?(0,n.str)`"${a}" keyword must be ${l} ($data)`:(0,n.str)`"${a}" keyword is invalid ($data)`};function E(a,l=t.keywordError,M,S){const{it:j}=a,{gen:A,compositeRule:L,allErrors:T}=j,z=O(a,l,M);S??(L||T)?C(A,z):v(j,(0,n._)`[${z}]`)}function p(a,l=t.keywordError,M){const{it:S}=a,{gen:j,compositeRule:A,allErrors:L}=S,T=O(a,l,M);C(j,T),A||L||v(S,u.default.vErrors)}function h(a,l){a.assign(u.default.errors,l),a.if((0,n._)`${u.default.vErrors} !== null`,()=>a.if(l,()=>a.assign((0,n._)`${u.default.vErrors}.length`,l),()=>a.assign(u.default.vErrors,null)))}function d({gen:a,keyword:l,schemaValue:M,data:S,errsCount:j,it:A}){if(j===void 0)throw new Error("ajv implementation error");const L=a.name("err");a.forRange("i",j,u.default.errors,T=>{a.const(L,(0,n._)`${u.default.vErrors}[${T}]`),a.if((0,n._)`${L}.instancePath === undefined`,()=>a.assign((0,n._)`${L}.instancePath`,(0,n.strConcat)(u.default.instancePath,A.errorPath))),a.assign((0,n._)`${L}.schemaPath`,(0,n.str)`${A.errSchemaPath}/${l}`),A.opts.verbose&&(a.assign((0,n._)`${L}.schema`,M),a.assign((0,n._)`${L}.data`,S))})}function C(a,l){const M=a.const("err",l);a.if((0,n._)`${u.default.vErrors} === null`,()=>a.assign(u.default.vErrors,(0,n._)`[${M}]`),(0,n._)`${u.default.vErrors}.push(${M})`),a.code((0,n._)`${u.default.errors}++`)}function v(a,l){const{gen:M,validateName:S,schemaEnv:j}=a;j.$async?M.throw((0,n._)`new ${a.ValidationError}(${l})`):(M.assign((0,n._)`${S}.errors`,l),M.return(!1))}const P={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function O(a,l,M){const{createErrors:S}=a.it;return S===!1?(0,n._)`{}`:I(a,l,M)}function I(a,l,M={}){const{gen:S,it:j}=a,A=[b(j,M),x(a,M)];return o(a,l,A),S.object(...A)}function b({errorPath:a},{instancePath:l}){const M=l?(0,n.str)`${a}${(0,f.getErrorPath)(l,f.Type.Str)}`:a;return[u.default.instancePath,(0,n.strConcat)(u.default.instancePath,M)]}function x({keyword:a,it:{errSchemaPath:l}},{schemaPath:M,parentSchema:S}){let j=S?l:(0,n.str)`${l}/${a}`;return M&&(j=(0,n.str)`${j}${(0,f.getErrorPath)(M,f.Type.Str)}`),[P.schemaPath,j]}function o(a,{params:l,message:M},S){const{keyword:j,data:A,schemaValue:L,it:T}=a,{opts:z,propertyName:w,topSchemaRef:Y,schemaPath:J}=T;S.push([P.keyword,j],[P.params,typeof l=="function"?l(a):l||(0,n._)`{}`]),z.messages&&S.push([P.message,typeof M=="function"?M(a):M]),z.verbose&&S.push([P.schema,L],[P.parentSchema,(0,n._)`${Y}${J}`],[u.default.data,A]),w&&S.push([P.propertyName,w])}},65545:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaEnv=void 0,t.compileSchema=C,t.resolveRef=v,t.getCompilingSchema=O,t.resolveSchema=x;const n=e(57287),f=e(84012),u=e(5057),E=e(95421),p=e(977),h=e(9804);class d{constructor(M){var S;this.refs={},this.dynamicAnchors={};let j;typeof M.schema=="object"&&(j=M.schema),this.schema=M.schema,this.schemaId=M.schemaId,this.root=M.root||this,this.baseId=(S=M.baseId)!==null&&S!==void 0?S:(0,E.normalizeId)(j?.[M.schemaId||"$id"]),this.schemaPath=M.schemaPath,this.localRefs=M.localRefs,this.meta=M.meta,this.$async=j?.$async,this.refs={}}}t.SchemaEnv=d;function C(l){const M=O.call(this,l);if(M)return M;const S=(0,E.getFullPath)(this.opts.uriResolver,l.root.baseId),{es5:j,lines:A}=this.opts.code,{ownProperties:L}=this.opts,T=new n.CodeGen(this.scope,{es5:j,lines:A,ownProperties:L});let z;l.$async&&(z=T.scopeValue("Error",{ref:f.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`}));const w=T.scopeName("validate");l.validateName=w;const Y={gen:T,allErrors:this.opts.allErrors,data:u.default.data,parentData:u.default.parentData,parentDataProperty:u.default.parentDataProperty,dataNames:[u.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:T.scopeValue("schema",this.opts.code.source===!0?{ref:l.schema,code:(0,n.stringify)(l.schema)}:{ref:l.schema}),validateName:w,ValidationError:z,schema:l.schema,schemaEnv:l,rootId:S,baseId:l.baseId||S,schemaPath:n.nil,errSchemaPath:l.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let J;try{this._compilations.add(l),(0,h.validateFunctionCode)(Y),T.optimize(this.opts.code.optimize);const ie=T.toString();J=`const visitedNodesForRef = new WeakMap(); ${T.scopeRefs(u.default.scope)}return ${ie}`,this.opts.code.process&&(J=this.opts.code.process(J,l));const se=new Function(`${u.default.self}`,`${u.default.scope}`,J)(this,this.scope.get());if(this.scope.value(w,{ref:se}),se.errors=null,se.schema=l.schema,se.schemaEnv=l,l.$async&&(se.$async=!0),this.opts.code.source===!0&&(se.source={validateName:w,validateCode:ie,scopeValues:T._values}),this.opts.unevaluated){const{props:xe,items:Ee}=Y;se.evaluated={props:xe instanceof n.Name?void 0:xe,items:Ee instanceof n.Name?void 0:Ee,dynamicProps:xe instanceof n.Name,dynamicItems:Ee instanceof n.Name},se.source&&(se.source.evaluated=(0,n.stringify)(se.evaluated))}return l.validate=se,l}catch(ie){throw delete l.validate,delete l.validateName,J&&this.logger.error("Error compiling schema, function code:",J),ie}finally{this._compilations.delete(l)}}function v(l,M,S){var j;const A=(0,E.resolveUrl)(this.opts.uriResolver,M,S),L=l.refs[A];if(L)return L;let T=b.call(this,l,A);if(T===void 0){const z=(j=l.localRefs)===null||j===void 0?void 0:j[A],{schemaId:w}=this.opts;z&&(T=new d({schema:z,schemaId:w,root:l,baseId:M}))}if(T===void 0&&this.opts.loadSchemaSync){const z=this.opts.loadSchemaSync(M,S,A);z&&!(this.refs[A]||this.schemas[A])&&(this.addSchema(z,A,void 0),T=b.call(this,l,A))}if(T!==void 0)return l.refs[A]=P.call(this,T)}function P(l){return(0,E.inlineRef)(l.schema,this.opts.inlineRefs)?l.schema:l.validate?l:C.call(this,l)}function O(l){for(const M of this._compilations)if(I(M,l))return M}function I(l,M){return l.schema===M.schema&&l.root===M.root&&l.baseId===M.baseId}function b(l,M){let S;for(;typeof(S=this.refs[M])=="string";)M=S;return S||this.schemas[M]||x.call(this,l,M)}function x(l,M){const S=this.opts.uriResolver.parse(M),j=(0,E._getFullPath)(this.opts.uriResolver,S);let A=(0,E.getFullPath)(this.opts.uriResolver,l.baseId,void 0);if(Object.keys(l.schema).length>0&&j===A)return a.call(this,S,l);const L=(0,E.normalizeId)(j),T=this.refs[L]||this.schemas[L];if(typeof T=="string"){const z=x.call(this,l,T);return typeof z?.schema!="object"?void 0:a.call(this,S,z)}if(typeof T?.schema=="object"){if(T.validate||C.call(this,T),L===(0,E.normalizeId)(M)){const{schema:z}=T,{schemaId:w}=this.opts,Y=z[w];return Y&&(A=(0,E.resolveUrl)(this.opts.uriResolver,A,Y)),new d({schema:z,schemaId:w,root:l,baseId:A})}return a.call(this,S,T)}}const o=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function a(l,{baseId:M,schema:S,root:j}){var A;if(((A=l.fragment)===null||A===void 0?void 0:A[0])!=="/")return;for(const z of l.fragment.slice(1).split("/")){if(typeof S=="boolean")return;const w=S[(0,p.unescapeFragment)(z)];if(w===void 0)return;S=w;const Y=typeof S=="object"&&S[this.opts.schemaId];!o.has(z)&&Y&&(M=(0,E.resolveUrl)(this.opts.uriResolver,M,Y))}let L;if(typeof S!="boolean"&&S.$ref&&!(0,p.schemaHasRulesButRef)(S,this.RULES)){const z=(0,E.resolveUrl)(this.opts.uriResolver,M,S.$ref);L=x.call(this,j,z)}const{schemaId:T}=this.opts;if(L=L||new d({schema:S,schemaId:T,root:j,baseId:M}),L.schema!==L.root.schema)return L}},5057:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(57287),f={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),isAllOfVariant:new n.Name("isAllOfVariant"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=f},78805:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(95421);class f extends Error{constructor(E,p,h,d){super(d||`can't resolve reference ${h} from id ${p}`),this.missingRef=(0,n.resolveUrl)(E,p,h),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(E,this.missingRef))}}t.default=f},95421:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineRef=p,t.getFullPath=v,t._getFullPath=P,t.normalizeId=I,t.resolveUrl=b,t.getSchemaRefs=o;const n=e(977),f=e(67371),u=e(50205),E=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function p(a,l=!0){return typeof a=="boolean"?!0:l===!0?!d(a):l?C(a)<=l:!1}const h=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function d(a){for(const l in a){if(h.has(l))return!0;const M=a[l];if(Array.isArray(M)&&M.some(d)||typeof M=="object"&&d(M))return!0}return!1}function C(a){let l=0;for(const M in a){if(M==="$ref")return 1/0;if(l++,!E.has(M)&&(typeof a[M]=="object"&&(0,n.eachItem)(a[M],S=>l+=C(S)),l===1/0))return 1/0}return l}function v(a,l="",M){M!==!1&&(l=I(l));const S=a.parse(l);return P(a,S)}function P(a,l){return a.serialize(l).split("#")[0]+"#"}const O=/#\/?$/;function I(a){return a?a.replace(O,""):""}function b(a,l,M){return M=I(M),a.resolve(l,M)}const x=/^[a-z_][-a-z0-9._]*$/i;function o(a,l){if(typeof a=="boolean")return{};const{schemaId:M,uriResolver:S}=this.opts,j=I(a[M]||l),A={"":j},L=v(S,j,!1),T={},z=new Set;return u(a,{allKeys:!0},(J,ie,ne,se)=>{if(se===void 0)return;const xe=L+ie;let Ee=A[se];typeof J[M]=="string"&&(Ee=Oe.call(this,J[M])),ge.call(this,J.$anchor),ge.call(this,J.$dynamicAnchor),A[ie]=Ee;function Oe(Ce){const Z=this.opts.uriResolver.resolve;if(Ce=I(Ee?Z(Ee,Ce):Ce),z.has(Ce))throw Y(Ce);z.add(Ce);let k=this.refs[Ce];return typeof k=="string"&&(k=this.refs[k]),typeof k=="object"?w(J,k.schema,Ce):Ce!==I(xe)&&(Ce[0]==="#"?(w(J,T[Ce],Ce),T[Ce]=J):this.refs[Ce]=xe),Ce}function ge(Ce){if(typeof Ce=="string"){if(!x.test(Ce))throw new Error(`invalid anchor "${Ce}"`);Oe.call(this,`#${Ce}`)}}}),T;function w(J,ie,ne){if(ie!==void 0&&!f(J,ie))throw Y(ne)}function Y(J){return new Error(`reference "${J}" resolves to more than one schema`)}}},90942:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJSONType=f,t.getRules=u;const e=["string","number","integer","boolean","null","object","array"],n=new Set(e);function f(E){return typeof E=="string"&&n.has(E)}function u(){const E={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...E,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},E.number,E.string,E.array,E.object],post:{rules:[]},all:{},keywords:{}}}},977:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.mergeEvaluated=void 0,t.toHash=u,t.alwaysValidSchema=E,t.checkUnknownRules=p,t.schemaHasRules=h,t.schemaHasRulesButRef=d,t.schemaRefOrVal=C,t.unescapeFragment=v,t.escapeFragment=P,t.escapeJsonPointer=O,t.unescapeJsonPointer=I,t.eachItem=b,t.evaluatedPropsToName=o,t.setEvaluated=a,t.useFunc=M,t.getErrorPath=j,t.checkStrictMode=A;const n=e(57287),f=e(76202);function u(L){const T={};for(const z of L)T[z]=!0;return T}function E(L,T){return typeof T=="boolean"?T:Object.keys(T).length===0?!0:(p(L,T),!h(T,L.self.RULES.all))}function p(L,T=L.schema){const{opts:z,self:w}=L;if(!z.strictSchema||typeof T=="boolean")return;const Y=w.RULES.keywords;for(const J in T)Y[J]||A(L,`unknown keyword: "${J}"`)}function h(L,T){if(typeof L=="boolean")return!L;for(const z in L)if(T[z])return!0;return!1}function d(L,T){if(typeof L=="boolean")return!L;for(const z in L)if(z!=="$ref"&&T.all[z])return!0;return!1}function C({topSchemaRef:L,schemaPath:T},z,w,Y){if(!Y){if(typeof z=="number"||typeof z=="boolean")return z;if(typeof z=="string")return(0,n._)`${z}`}return(0,n._)`${L}${T}${(0,n.getProperty)(w)}`}function v(L){return I(decodeURIComponent(L))}function P(L){return encodeURIComponent(O(L))}function O(L){return typeof L=="number"?`${L}`:L.replace(/~/g,"~0").replace(/\//g,"~1")}function I(L){return L.replace(/~1/g,"/").replace(/~0/g,"~")}function b(L,T){if(Array.isArray(L))for(const z of L)T(z);else T(L)}function x({mergeNames:L,mergeToName:T,mergeValues:z,resultToName:w}){return(Y,J,ie,ne)=>{const se=ie===void 0?J:ie instanceof n.Name?(J instanceof n.Name?L(Y,J,ie):T(Y,J,ie),ie):J instanceof n.Name?(T(Y,ie,J),J):z(J,ie);return ne===n.Name&&!(se instanceof n.Name)?w(Y,se):se}}t.mergeEvaluated={props:x({mergeNames:(L,T,z)=>L.if((0,n._)`${z} !== true && ${T} !== undefined`,()=>{L.if((0,n._)`${T} === true`,()=>L.assign(z,!0),()=>L.assign(z,(0,n._)`${z} || {}`).code((0,n._)`Object.assign(${z}, ${T})`))}),mergeToName:(L,T,z)=>L.if((0,n._)`${z} !== true`,()=>{T===!0?L.assign(z,!0):(L.assign(z,(0,n._)`${z} || {}`),a(L,z,T))}),mergeValues:(L,T)=>L===!0?!0:{...L,...T},resultToName:o}),items:x({mergeNames:(L,T,z)=>L.if((0,n._)`${z} !== true && ${T} !== undefined`,()=>L.assign(z,(0,n._)`${T} === true ? true : ${z} > ${T} ? ${z} : ${T}`)),mergeToName:(L,T,z)=>L.if((0,n._)`${z} !== true`,()=>L.assign(z,T===!0?!0:(0,n._)`${z} > ${T} ? ${z} : ${T}`)),mergeValues:(L,T)=>L===!0?!0:Math.max(L,T),resultToName:(L,T)=>L.var("items",T)})};function o(L,T){if(T===!0)return L.var("props",!0);const z=L.var("props",(0,n._)`{}`);return T!==void 0&&a(L,z,T),z}function a(L,T,z){Object.keys(z).forEach(w=>L.assign((0,n._)`${T}${(0,n.getProperty)(w)}`,!0))}const l={};function M(L,T){return L.scopeValue("func",{ref:T,code:l[T.code]||(l[T.code]=new f._Code(T.code))})}var S;(function(L){L[L.Num=0]="Num",L[L.Str=1]="Str"})(S||(t.Type=S={}));function j(L,T,z){if(L instanceof n.Name){const w=T===S.Num;return z?w?(0,n._)`"[" + ${L} + "]"`:(0,n._)`"['" + ${L} + "']"`:w?(0,n._)`"/" + ${L}`:(0,n._)`"/" + ${L}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return z?(0,n.getProperty)(L).toString():"/"+O(L)}function A(L,T,z=L.opts.strictSchema){if(z){if(T=`strict mode: ${T}`,z===!0)throw new Error(T);L.self.logger.warn(T)}}},5413:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaHasRulesForType=e,t.shouldUseGroup=n,t.shouldUseRule=f;function e({schema:u,self:E},p){const h=E.RULES.types[p];return h&&h!==!0&&n(u,h)}function n(u,E){return E.rules.some(p=>f(u,p))}function f(u,E){var p;return u[E.keyword]!==void 0||((p=E.definition.implements)===null||p===void 0?void 0:p.some(h=>u[h]!==void 0))}},98213:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.topBoolOrEmptySchema=p,t.boolOrEmptySchema=h;const n=e(39054),f=e(57287),u=e(5057),E={message:"boolean schema is false"};function p(C){const{gen:v,schema:P,validateName:O}=C;P===!1?d(C,!1):typeof P=="object"&&P.$async===!0?v.return(u.default.data):(v.assign((0,f._)`${O}.errors`,null),v.return(!0))}function h(C,v){const{gen:P,schema:O}=C;O===!1?(P.var(v,!1),d(C)):P.var(v,!0)}function d(C,v){const{gen:P,data:O}=C,I={gen:P,keyword:"false schema",data:O,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:C};(0,n.reportError)(I,E,void 0,v)}},41434:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataType=void 0,t.getSchemaTypes=d,t.getJSONTypes=C,t.coerceAndCheckDataType=v,t.checkDataType=x,t.checkDataTypes=o,t.reportTypeError=l;const n=e(90942),f=e(5413),u=e(39054),E=e(57287),p=e(977);var h;(function(S){S[S.Correct=0]="Correct",S[S.Wrong=1]="Wrong"})(h||(t.DataType=h={}));function d(S){const j=C(S.type);if(j.includes("null")){if(S.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!j.length&&S.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');S.nullable===!0&&j.push("null")}return j}function C(S){const j=Array.isArray(S)?S:S?[S]:[];if(j.every(n.isJSONType))return j;throw new Error("type must be JSONType or JSONType[]: "+j.join(","))}function v(S,j){const{gen:A,data:L,opts:T}=S,z=O(j,T.coerceTypes),w=j.length>0&&!(z.length===0&&j.length===1&&(0,f.schemaHasRulesForType)(S,j[0]));if(w){const Y=o(j,L,T.strictNumbers,h.Wrong);A.if(Y,()=>{z.length?I(S,j,z):l(S)})}return w}const P=new Set(["string","number","integer","boolean","null"]);function O(S,j){return j?S.filter(A=>P.has(A)||j==="array"&&A==="array"):[]}function I(S,j,A){const{gen:L,data:T,opts:z}=S,w=L.let("dataType",(0,E._)`typeof ${T}`),Y=L.let("coerced",(0,E._)`undefined`);z.coerceTypes==="array"&&L.if((0,E._)`${w} == 'object' && Array.isArray(${T}) && ${T}.length == 1`,()=>L.assign(T,(0,E._)`${T}[0]`).assign(w,(0,E._)`typeof ${T}`).if(o(j,T,z.strictNumbers),()=>L.assign(Y,T))),L.if((0,E._)`${Y} !== undefined`);for(const ie of A)(P.has(ie)||ie==="array"&&z.coerceTypes==="array")&&J(ie);L.else(),l(S),L.endIf(),L.if((0,E._)`${Y} !== undefined`,()=>{L.assign(T,Y),b(S,Y)});function J(ie){switch(ie){case"string":L.elseIf((0,E._)`${w} == "number" || ${w} == "boolean"`).assign(Y,(0,E._)`"" + ${T}`).elseIf((0,E._)`${T} === null`).assign(Y,(0,E._)`""`);return;case"number":L.elseIf((0,E._)`${w} == "boolean" || ${T} === null
8
8
  || (${w} == "string" && ${T} && ${T} == +${T})`).assign(Y,(0,E._)`+${T}`);return;case"integer":L.elseIf((0,E._)`${w} === "boolean" || ${T} === null
@@ -3731,7 +3731,7 @@ ${oe}`}}const j=K=>Array.isArray(K)&&K.some(ae=>(0,f.isObject)(ae)),A=K=>K.filte
3731
3731
  justify-content: space-between;
3732
3732
  padding: var(--version-picker-padding-vertical) var(--version-picker-padding-horizontal);
3733
3733
  border-bottom: var(--version-picker-border-bottom);
3734
- `},37514:()=>{},98383:(g,t,e)=>{"use strict";e.d(t,{jn:()=>E,xU:()=>p,_z:()=>d});var n=e(40651);const f="default_locale";var u=(C=>(C.RATING="rating",C.SENTIMENT="sentiment",C.COMMENT="comment",C.MOOD="mood",C.PROBLEM="problem",C.SCALE="scale",C))(u||{});const E="sentiment";var p=(C=>(C.Separator="separator",C.DrillDown="drilldown",C.Group="group",C.Operation="operation",C.Default="default",C))(p||{}),h=(C=>(C.MAIN_MENU="MAIN_MENU",C.PRODUCT="PRODUCT",C.PAGE="PAGE",C))(h||{}),d=(C=>(C.Username="_username",C.Password="_password",C.JWTToken="_token",C.APIKey="",C.Token="_token",C.ClientId="_client_id",C.ClientSecret="_client_secret",C.ClientAssertion="_client_assertion",C))(d||{})},69094:(g,t,e)=>{"use strict";e.d(t,{n:()=>f});var n=e(11855);const f=(0,n.createContext)(null)},50965:(g,t,e)=>{"use strict";e.d(t,{v:()=>n.v});var n=e(42463)},42463:(g,t,e)=>{"use strict";e.d(t,{v:()=>f});var n=e(11855);const f=n.memo},98202:(g,t,e)=>{"use strict";e.d(t,{iQ:()=>S,Ax:()=>_r,nw:()=>B,VI:()=>b,PW:()=>Yo,rM:()=>H,$Z:()=>X,HJ:()=>ie,nk:()=>ne,JO:()=>x,n7:()=>T,u_:()=>G,jz:()=>z,mP:()=>wt,uc:()=>ut,pN:()=>I,vm:()=>Y,iK:()=>o});var n=e(11855),f=e(69094),u=Object.defineProperty,E=Object.defineProperties,p=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,v=(rt,St,It)=>St in rt?u(rt,St,{enumerable:!0,configurable:!0,writable:!0,value:It}):rt[St]=It,P=(rt,St)=>{for(var It in St||(St={}))d.call(St,It)&&v(rt,It,St[It]);if(h)for(var It of h(St))C.call(St,It)&&v(rt,It,St[It]);return rt},O=(rt,St)=>E(rt,p(St));function I(rt=!0){const St=(0,n.useContext)(f.n);if(!St)return{};const{config:It,hooks:Qt}=St,{useCurrentProduct:Je}=Qt,yt=Je();return rt&&yt?.configOverride?O(P(P({},It),yt.configOverride),{analytics:It.analytics}):It}const b=(rt=!1)=>{const[St,It]=(0,n.useState)(rt),Qt=(0,n.useCallback)(()=>It(!0),[]),Je=(0,n.useCallback)(()=>It(!1),[]);return{isOpened:St,handleOpen:Qt,handleClose:Je}},x=rt=>{(0,n.useEffect)(()=>{rt()},[])},o=rt=>{(0,n.useEffect)(()=>()=>{rt()},[])};function a(rt,St){const[It,Qt]=useState(St.length>1?St[0]:void 0),[Je,yt]=useState([]),qe=useRef({}),ct=useLocation(),Kt=()=>{const Bt=[];for(const en in qe.current){const Ln=qe.current[en];Ln.isIntersecting&&Bt.push(Ln)}return Bt},kt=useCallback(Bt=>Je.findIndex(en=>en.id===Bt),[Je]),it=Bt=>{const en=Bt.querySelectorAll(".heading-anchor");return Array.from(en)},gt=useCallback(Bt=>{var en;if(qe.current=Bt.reduce((rr,cr)=>(rr[cr.target.id]=cr,rr),qe.current),window.scrollY+window.innerHeight>=document.body.scrollHeight){const rr=((en=Je[Je?.length-1])==null?void 0:en.id)||void 0;Qt(rr);return}const Zn=Kt();if(Zn.length){if(Zn.length===1){Qt(Zn[0].target.id);return}Zn.sort((rr,cr)=>kt(rr.target.id)-kt(cr.target.id)),Qt(Zn[0].target.id)}},[kt,Je]);return useEffect(()=>{rt&&yt(it(rt))},[rt,ct]),useEffect(()=>{if(!Je?.length)return;qe.current={};const Bt=new IntersectionObserver(gt,{rootMargin:"0px 0px -30% 0px",threshold:1});return Je?.forEach(en=>{St.includes(en.id)&&Bt.observe(en)}),()=>Bt.disconnect()},[Je,St,gt]),It}var l=e(58940),M=e.n(l);function S(rt,St=!1,It=!0){const[Qt,Je]=(0,n.useState)(""),yt=T(rt),qe=(It?yt:0)+150,ct=(0,n.useMemo)(()=>M()(()=>{const Kt=document.querySelectorAll("[data-section-id]");if(Kt.length<2){Je("");return}for(let kt=0;kt<Kt.length;kt++){const it=Kt[kt],gt=it.getBoundingClientRect();if(gt.y<qe&&gt.bottom>qe){Je(it.getAttribute("data-section-id")||"");return}}St&&Je("")},150),[qe,St]);return(0,n.useEffect)(()=>(window.addEventListener("scroll",ct,{capture:!1}),setTimeout(()=>{ct()},10),()=>{window.removeEventListener("scroll",ct)}),[rt,qe,ct]),Qt}function j(rt,St){const It=useRef(),Qt=useRef(),Je=qe=>{var ct,Kt;qe.key==="Escape"?St():qe.key==="Tab"&&(!qe.shiftKey&&document.activeElement===Qt.current?(qe.preventDefault(),(ct=It.current)==null||ct.focus()):qe.shiftKey&&document.activeElement===It.current&&(qe.preventDefault(),(Kt=Qt.current)==null||Kt.focus()))},yt=()=>{var qe,ct;const Kt=(qe=rt.current)==null?void 0:qe.querySelectorAll('input, [href], [tabindex]:not([tabindex="-1"])');Kt&&Kt.length>0&&(It.current=Kt[0],Qt.current=Kt[Kt.length-1],(ct=It.current)==null||ct.focus())};useEffect(()=>(document.addEventListener("keydown",Je),()=>{document.removeEventListener("keydown",Je)}),[]),useEffect(()=>{yt()})}function A(rt){const St=useCallback(()=>{if(!rt.current)return;const Qt=document.querySelector("footer");if(!Qt)return;const Je=rt.current.getBoundingClientRect().top,yt=Qt.offsetTop-window.scrollY-Je;yt>window.innerHeight?rt.current.style.maxHeight=`${window.innerHeight-Je}px`:rt.current.style.maxHeight=`${yt}px`},[rt]),It=useMemo(()=>throttle(St,150),[St]);useEffect(()=>typeof window>"u"||!rt.current?()=>{}:(window.addEventListener("scroll",It,{capture:!1}),window.addEventListener("resize",It,{capture:!1}),St(),()=>{window.removeEventListener("scroll",It),window.removeEventListener("resize",It)}),[It,rt,St])}var L=e(36958);function T(rt){const[St,It]=(0,n.useState)(0);return(0,n.useEffect)(()=>{const Qt=(0,L.zM)();It(Qt&&Qt.clientHeight||0)},[rt.pathname]),(0,n.useEffect)(()=>{window.requestAnimationFrame(()=>{const Qt=(0,L.zM)();It(Qt&&Qt.clientHeight||0)})},[]),St}function z(rt,St){(0,n.useEffect)(()=>{const It=Qt=>{!St||!rt.current||rt.current.contains(Qt.target)||St(Qt)};return document.addEventListener("mousedown",It),document.addEventListener("touchstart",It),()=>{document.removeEventListener("mousedown",It),document.removeEventListener("touchstart",It)}},[rt,St])}const w={useTranslate:()=>({translate:(rt,St)=>(typeof St=="string"?St:St?.defaultValue)||rt||""}),useSubmitFeedback:()=>({submitFeedback:()=>{}}),useTelemetry:()=>({telemetry:()=>{}}),useBreadcrumbs:()=>[]},Y=()=>{const rt=(0,n.useContext)(f.n);return new Proxy({},{get(St,It){if(rt&&It in rt.hooks)return rt.hooks[It];if(It in w)return w[It];throw new Error(`Unknown hook ${It.toString()}`)}})};var J=e(79942);function ie(rt=!1){const St=(0,J.zy)(),[It,Qt]=(0,n.useState)(rt);return(0,n.useEffect)(()=>Qt(!1),[St.pathname,St.hash]),ne(It),{isOpen:It,openMobileMenu:()=>Qt(!0),closeMobileMenu:()=>Qt(!1)}}function ne(rt){(0,n.useEffect)(()=>{const St=document.body.style.overflow,It=window.innerWidth-document.documentElement.clientWidth;return rt?(document.body.style.overflow="hidden",document.body.style.marginRight=`${It}px`):(document.body.style.overflow=St,document.body.style.marginRight=""),()=>{document.body.style.overflow=St,document.body.style.marginRight=""}},[rt])}const se=()=>{const rt=useThemeConfig(),{useTelemetry:St}=useThemeHooks(),It=St(),Qt=rt.colorMode,Je=Qt?.modes||["light","dark"],yt=Je[0]||"light",[qe,ct]=useState(yt),Kt=()=>{const it=Array.from(document.documentElement.classList).find(gt=>Je.includes(gt));ct(it||yt)},kt=()=>{const it=Je.indexOf(qe),gt=it<Je.length-1?Je[it+1]:Je[0];return localStorage.setItem("colorSchema",gt),document.documentElement.className=`${gt} notransition`,window.requestAnimationFrame(()=>{document.documentElement.classList.remove("notransition")}),It.send("color_mode_switched",{from:qe,to:gt}),ct(gt),gt};return{isSwitcherHidden:Qt?.hide,initActiveColorMode:Kt,switchColorMode:kt,activeColorMode:qe}},xe="recentSearches",Ee=5;function Oe(){if(!isBrowser())return[];const rt=window.localStorage.getItem(xe);return rt?JSON.parse(rt):[]}function ge(rt,St){if(!isBrowser())return[];const It=Oe();if(rt==="")return It;const Qt=It.indexOf(rt);return Qt!==-1&&It.splice(Qt,1),St&&It.unshift(rt),localStorage==null||localStorage.setItem(xe,JSON.stringify(It.slice(0,Ee))),It}const Ce=()=>{const[rt,St]=useState(Oe()),It=useCallback(Je=>{St(ge(Je,!0))},[]),Qt=useCallback(Je=>{St(ge(Je,!1))},[]);return{items:rt,addSearchHistoryItem:It,removeSearchHistoryItem:Qt}},Z=()=>{var rt;return((rt=useThemeConfig().search)==null?void 0:rt.suggestedPages)||[]};var k=(rt,St,It)=>new Promise((Qt,Je)=>{var yt=Kt=>{try{ct(It.next(Kt))}catch(kt){Je(kt)}},qe=Kt=>{try{ct(It.throw(Kt))}catch(kt){Je(kt)}},ct=Kt=>Kt.done?Qt(Kt.value):Promise.resolve(Kt.value).then(yt,qe);ct((It=It.apply(rt,St)).next())});function G({item:rt,labelRef:St,nestedMenuRef:It}){const[Qt,Je]=X(rt),[yt,qe]=(0,n.useState)(!Qt),ct=(0,J.Zp)(),Kt=(0,J.zy)(),{style:kt}=B({isExpanded:Qt,collapseElRef:It||{current:null},onTransitionStateChange:Bt=>{Bt==="collapseEnd"&&qe(!0),Bt==="expandStart"&&qe(!1)}});function it(Bt,en=!1){typeof Bt.scrollIntoViewIfNeeded=="function"&&Bt.scrollIntoViewIfNeeded(en)}(0,n.useEffect)(()=>{rt.active&&St&&St.current&&it(St.current,!0)},[St,rt.active]),(0,n.useEffect)(()=>{Qt&&St&&St.current&&it(St.current)},[St,Qt]);const gt=(0,n.useCallback)(()=>k(this,null,function*(){if(rt.expanded==="always"||rt.link&&rt.hasActiveSubItem&&rt.link!==Kt.pathname)return;const[Bt]=rt.items;!Qt&&rt.selectFirstItemOnExpand&&Bt.link&&(yield(0,L.Zm)(ct,Bt.link)),Je(!Qt)}),[rt,Qt,ct,Kt.pathname,Je]);return{isExpanded:Qt,canUnmount:yt,style:kt,handleExpand:gt}}function F(rt){return rt.active||rt.hasActiveSubItem||rt.expanded==="true"||rt.expanded==="always"}function X(rt){const[St,It]=(0,n.useState)(F(rt)),[Qt,Je]=(0,n.useState)(F(rt));return(0,n.useEffect)(()=>{It(Qt)},[Qt]),(0,n.useEffect)(()=>{const yt=F(rt);It(yt),Je(yt)},[rt.modified?rt.active:rt,rt.hasActiveSubItem,rt.expanded]),[St,Je]}var K=e(98383);const ae={type:"separator",separatorLine:!0},oe=rt=>{var St,It,Qt;const{useTranslate:Je,useL10nConfig:yt,useCurrentProduct:qe,usePageVersions:ct,useSidebarItems:Kt}=useThemeHooks(),{versions:kt=[]}=ct()||{},{defaultLocale:it,currentLocale:gt,locales:Bt}=yt(),{translate:en}=Je(),Ln=kt.find(bn=>bn.active),{currentItems:Zn,pushDrilldownState:rr,popDrilldownState:cr,backLink:Nr}=Kt(Ln),Le=useLocation(),ve=qe(),Te=(St=ve?.configOverride)==null?void 0:St.navbar,Fe=useThemeConfig(),pt=useThemeConfig(!1),Lt=((It=pt.navbar)==null?void 0:It.items)||[],$t=Te?((Qt=Fe.navbar)==null?void 0:Qt.items)||[]:[],sn=[];if(rt===MobileMenuType.PAGE){if(Ln){const bn=buildVersionSection(en,kt,Ln);sn.push(...bn)}sn.length&&Zn.length&&sn.push(ae),sn.push(...Zn)}else if(rt===MobileMenuType.PRODUCT)sn.push(...$t),sn.length&&Lt.length&&sn.push(ae),Lt.length&&sn.push(...Lt);else if(rt===MobileMenuType.MAIN_MENU){const bn=Object.values(pt.products||{}).map(gn=>({label:gn.name,link:gn.link,icon:gn.icon,type:"link"}));bn.length&&(sn.push({type:"separator",label:en("mobileMenu.products","Products")}),sn.push(...bn)),sn.length&&Lt.length&&sn.push(ae),Lt.length&&sn.push(...Lt)}const On=buildLanguagesGroup(Bt,it,gt);return sn.length&&On&&sn.push(ae),On&&sn.push(On),{items:mapNavbarItems(sn,it,gt,Bt,Le),popDrilldownState:cr,pushDrilldownState:rr,backLink:Nr}},be=()=>{var rt,St;const{useTranslate:It,useCurrentProduct:Qt,usePageVersions:Je,useSidebarItems:yt}=useThemeHooks(),{versions:qe=[]}=Je()||{},ct=qe.find(rr=>rr?.active),{currentItems:Kt}=yt(ct),{translate:kt}=It(),it=Qt(),gt=useThemeConfig(),Bt=useLocation(),Ln=((rt=it?.configOverride)==null?void 0:rt.navbar)?((St=gt.navbar)==null?void 0:St.items)||[]:[];return useMemo(()=>{const rr=[{label:kt("mobileMenu.mainMenu","Main Menu"),type:MobileMenuType.MAIN_MENU}];return it&&Ln.length&&rr.push({label:it.name,type:MobileMenuType.PRODUCT}),(Kt.length||ct)&&rr.push({label:kt("mobileMenu.previous","Previous"),type:MobileMenuType.PAGE}),rr},[Bt])};var Pe=Math.pow;const Ie=typeof window>"u"?n.useEffect:n.useLayoutEffect,ye="cubic-bezier(0.4, 0, 0.2, 1)",Se="0px";function B({isExpanded:rt,collapseElRef:St,onTransitionStateChange:It=()=>{}}){const Qt=(0,n.useRef)(rt),[Je,yt]=(0,n.useState)(!1),qe=Ue(It),ct=(0,n.useRef)(),Kt=(0,n.useRef)();return Ie(()=>{const kt=St.current;if(!kt||rt===Qt.current)return;Qt.current=rt;function it(en){return ee(en)}const gt=en=>`height ${it(en)}ms ${ye}`,Bt=en=>{function Ln(){rt?(He(kt,{height:"",overflow:"",transition:"",display:"",pointerEvents:"auto"}),qe("expandEnd")):(He(kt,{transition:"",pointerEvents:""}),qe("collapseEnd")),yt(!1)}Kt.current&&Ke(Kt.current),Kt.current=ot(Ln,en)};return yt(!0),rt?ct.current=requestAnimationFrame(()=>{qe("expandStart"),He(kt,{display:"block",overflow:"hidden",pointerEvents:"none",height:Se}),ct.current=requestAnimationFrame(()=>{qe("expanding");const en=je(St);Bt(it(en)),St.current&&(St.current.style.transition=gt(en),St.current.style.height=`${en}px`)})}):ct.current=requestAnimationFrame(()=>{qe("collapseStart");const en=je(St);Bt(it(en)),He(kt,{transition:gt(en),height:`${en}px`,pointerEvents:"none"}),ct.current=requestAnimationFrame(()=>{qe("collapsing"),He(kt,{height:Se,overflow:"hidden"})})}),()=>{ct.current&&cancelAnimationFrame(ct.current),Kt.current&&Ke(Kt.current)}},[rt,St,qe]),{isExpanded:rt,style:!Je&&!rt?{display:"none",height:Se,overflow:"hidden"}:{}}}function ee(rt){if(!rt||typeof rt=="string")return 0;const St=rt/36;return Math.round((4+15*Pe(St,.25)+St/5)*10)}function je(rt){var St,It;return(It=(St=rt.current)==null?void 0:St.scrollHeight)!=null?It:0}function ot(rt,St){const It=performance.now(),Qt={};function Je(){Qt.id=requestAnimationFrame(yt=>{yt-It>St?rt():Je()})}return Je(),Qt}function Ke(rt){rt.id&&cancelAnimationFrame(rt.id)}function He(rt,St){if(rt)for(const It in St){const Qt=St[It];Qt?rt.style[It]=Qt:rt.style.removeProperty(It)}}function Ue(rt){const St=(0,n.useRef)(rt);return(0,n.useEffect)(()=>{St.current=rt}),(0,n.useCallback)((...It)=>{var Qt;return(Qt=St.current)==null?void 0:Qt.call(St,...It)},[])}function wt(){const{codeSnippet:{report:rt={}}={}}=I(),[St,It]=(0,n.useState)(!1),{tooltipText:Qt,buttonText:Je,label:yt}=rt,{useTranslate:qe,useSubmitFeedback:ct}=Y(),{translate:Kt}=qe(),{submitFeedback:kt}=ct(),it=()=>{It(!0)},gt=()=>{setTimeout(function(){It(!1)},3e3)},Bt=()=>{It(!1)},en={onClick:it,buttonText:Je||Kt("codeSnippet.report.buttonText","Report"),tooltip:Qt||Kt("codeSnippet.report.tooltipText","Report a problem"),hide:rt?.hide===!0},Ln={settings:{label:yt||Kt("codeSnippet.report.label","What is wrong with this code?")},onSubmit:gt,onCancel:Bt,submitFeedback:kt};return{reportDialog:{visible:St,props:Ln},reportButton:{props:en}}}function ut({initialTab:rt,totalTabs:St}){const[It,Qt]=(0,n.useState)(rt),Je=(0,n.useRef)([]),yt=(0,n.useCallback)((gt,Bt)=>{Je.current[Bt]=gt},[]),qe=(0,n.useCallback)((gt,Bt)=>`${gt.replace(/\s+/g,"-").toLowerCase()}-${Bt}`,[]),ct=gt=>{const Bt=Je.current[gt];Bt&&Bt.focus()},Kt=(0,n.useCallback)(gt=>{var Bt;ct(gt);const en=(Bt=Je.current[gt])==null?void 0:Bt.getAttribute("data-label");en&&Qt(en)},[]),kt=(0,n.useCallback)(gt=>{Qt(gt);const Bt=Je.current.findIndex(en=>en?.getAttribute("data-label")===gt);ct(Bt)},[]),it=(0,n.useCallback)((gt,Bt)=>{let en=Bt;if(gt.key==="ArrowRight")en=(Bt+1)%St;else if(gt.key==="ArrowLeft")en=(Bt-1+St)%St;else if(gt.key==="Home")gt.preventDefault(),en=0;else if(gt.key==="End")gt.preventDefault(),en=St-1;else return;Kt(en)},[St,Kt]);return{activeTab:It,setActiveTab:Qt,setTabRef:yt,onTabClick:kt,handleKeyboard:it,getTabId:qe}}function H(rt){(0,n.useEffect)(()=>{const St=rt.current;if(!St)return;const It=St.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),Qt=It[0],Je=yt=>{if(yt.key==="Tab"){const qe=It[It.length-1];yt.shiftKey&&document.activeElement===Qt?(qe?.focus(),yt.preventDefault()):!yt.shiftKey&&document.activeElement===qe&&(Qt?.focus(),yt.preventDefault())}};return St.addEventListener("keydown",Je),Qt&&Qt.focus(),()=>{St.removeEventListener("keydown",Je)}},[rt])}function ft(){const{useL10nConfig:rt,usePreloadHistory:St}=useThemeHooks(),It=St(),{currentLocale:Qt,locales:Je,defaultLocale:yt}=rt(),qe=Je.find(Kt=>Kt.code===Qt);function ct(Kt){const it=`${withPathPrefix(getPathnameForLocale(location.pathname,yt,Kt,Je))}${location.search}${location.hash}`;It.push(it)}return{currentLocale:qe,locales:Je,setLocale:ct}}function nt(){const{useCurrentProduct:rt,useProducts:St,usePreloadHistory:It,useTelemetry:Qt}=useThemeHooks(),Je=rt(),yt=St(),qe=Qt(),ct=It();function Kt(kt){kt&&(qe.send("product_picked",{product:kt.slug}),ct.push(kt.link))}return{currentProduct:Je,products:yt,setProduct:Kt}}var De=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Re(rt,St,It,Qt){rt.addEventListener?rt.addEventListener(St,It,Qt):rt.attachEvent&&rt.attachEvent("on".concat(St),function(){It(window.event)})}function fe(rt,St){for(var It=St.slice(0,St.length-1),Qt=0;Qt<It.length;Qt++)It[Qt]=rt[It[Qt].toLowerCase()];return It}function $e(rt){typeof rt!="string"&&(rt=""),rt=rt.replace(/\s/g,"");for(var St=rt.split(","),It=St.lastIndexOf("");It>=0;)St[It-1]+=",",St.splice(It,1),It=St.lastIndexOf("");return St}function _e(rt,St){for(var It=rt.length>=St.length?rt:St,Qt=rt.length>=St.length?St:rt,Je=!0,yt=0;yt<It.length;yt++)Qt.indexOf(It[yt])===-1&&(Je=!1);return Je}for(var dt={backspace:8,"\u232B":8,tab:9,clear:12,enter:13,"\u21A9":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21EA":20,",":188,".":190,"/":191,"`":192,"-":De?173:189,"=":De?61:187,";":De?59:186,"'":222,"[":219,"]":221,"\\":220},ht={"\u21E7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},Pt={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Dt={16:!1,18:!1,17:!1,91:!1},ln={},Me=1;Me<20;Me++)dt["f".concat(Me)]=111+Me;var Xe=[],Ot=!1,ze="all",Ze=[],st=function(St){return dt[St.toLowerCase()]||ht[St.toLowerCase()]||St.toUpperCase().charCodeAt(0)},Ct=function(St){return Object.keys(dt).find(function(It){return dt[It]===St})},At=function(St){return Object.keys(ht).find(function(It){return ht[It]===St})};function zt(rt){ze=rt||"all"}function Vt(){return ze||"all"}function Gt(){return Xe.slice(0)}function an(){return Xe.map(function(rt){return Ct(rt)||At(rt)||String.fromCharCode(rt)})}function En(rt){var St=rt.target||rt.srcElement,It=St.tagName,Qt=!0;return(St.isContentEditable||(It==="INPUT"||It==="TEXTAREA"||It==="SELECT")&&!St.readOnly)&&(Qt=!1),Qt}function ir(rt){return typeof rt=="string"&&(rt=st(rt)),Xe.indexOf(rt)!==-1}function nr(rt,St){var It,Qt;rt||(rt=Vt());for(var Je in ln)if(Object.prototype.hasOwnProperty.call(ln,Je))for(It=ln[Je],Qt=0;Qt<It.length;)It[Qt].scope===rt?It.splice(Qt,1):Qt++;Vt()===rt&&zt(St||"all")}function gr(rt){var St=rt.keyCode||rt.which||rt.charCode,It=Xe.indexOf(St);if(It>=0&&Xe.splice(It,1),rt.key&&rt.key.toLowerCase()==="meta"&&Xe.splice(0,Xe.length),(St===93||St===224)&&(St=91),St in Dt){Dt[St]=!1;for(var Qt in ht)ht[Qt]===St&&(Or[Qt]=!1)}}function Xr(rt){if(typeof rt>"u")Object.keys(ln).forEach(function(qe){return delete ln[qe]});else if(Array.isArray(rt))rt.forEach(function(qe){qe.key&&lo(qe)});else if(typeof rt=="object")rt.key&&lo(rt);else if(typeof rt=="string"){for(var St=arguments.length,It=new Array(St>1?St-1:0),Qt=1;Qt<St;Qt++)It[Qt-1]=arguments[Qt];var Je=It[0],yt=It[1];typeof Je=="function"&&(yt=Je,Je=""),lo({key:rt,scope:Je,method:yt,splitKey:"+"})}}var lo=function(St){var It=St.key,Qt=St.scope,Je=St.method,yt=St.splitKey,qe=yt===void 0?"+":yt,ct=$e(It);ct.forEach(function(Kt){var kt=Kt.split(qe),it=kt.length,gt=kt[it-1],Bt=gt==="*"?"*":st(gt);if(ln[Bt]){Qt||(Qt=Vt());var en=it>1?fe(ht,kt):[];ln[Bt]=ln[Bt].filter(function(Ln){var Zn=Je?Ln.method===Je:!0;return!(Zn&&Ln.scope===Qt&&_e(Ln.mods,en))})}})};function Vr(rt,St,It,Qt){if(St.element===Qt){var Je;if(St.scope===It||St.scope==="all"){Je=St.mods.length>0;for(var yt in Dt)Object.prototype.hasOwnProperty.call(Dt,yt)&&(!Dt[yt]&&St.mods.indexOf(+yt)>-1||Dt[yt]&&St.mods.indexOf(+yt)===-1)&&(Je=!1);(St.mods.length===0&&!Dt[16]&&!Dt[18]&&!Dt[17]&&!Dt[91]||Je||St.shortcut==="*")&&St.method(rt,St)===!1&&(rt.preventDefault?rt.preventDefault():rt.returnValue=!1,rt.stopPropagation&&rt.stopPropagation(),rt.cancelBubble&&(rt.cancelBubble=!0))}}}function Kr(rt,St){var It=ln["*"],Qt=rt.keyCode||rt.which||rt.charCode;if(Or.filter.call(this,rt)){if((Qt===93||Qt===224)&&(Qt=91),Xe.indexOf(Qt)===-1&&Qt!==229&&Xe.push(Qt),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(Ln){var Zn=Pt[Ln];rt[Ln]&&Xe.indexOf(Zn)===-1?Xe.push(Zn):!rt[Ln]&&Xe.indexOf(Zn)>-1?Xe.splice(Xe.indexOf(Zn),1):Ln==="metaKey"&&rt[Ln]&&Xe.length===3&&(rt.ctrlKey||rt.shiftKey||rt.altKey||(Xe=Xe.slice(Xe.indexOf(Zn))))}),Qt in Dt){Dt[Qt]=!0;for(var Je in ht)ht[Je]===Qt&&(Or[Je]=!0);if(!It)return}for(var yt in Dt)Object.prototype.hasOwnProperty.call(Dt,yt)&&(Dt[yt]=rt[Pt[yt]]);rt.getModifierState&&!(rt.altKey&&!rt.ctrlKey)&&rt.getModifierState("AltGraph")&&(Xe.indexOf(17)===-1&&Xe.push(17),Xe.indexOf(18)===-1&&Xe.push(18),Dt[17]=!0,Dt[18]=!0);var qe=Vt();if(It)for(var ct=0;ct<It.length;ct++)It[ct].scope===qe&&(rt.type==="keydown"&&It[ct].keydown||rt.type==="keyup"&&It[ct].keyup)&&Vr(rt,It[ct],qe,St);if(Qt in ln){for(var Kt=0;Kt<ln[Qt].length;Kt++)if((rt.type==="keydown"&&ln[Qt][Kt].keydown||rt.type==="keyup"&&ln[Qt][Kt].keyup)&&ln[Qt][Kt].key){for(var kt=ln[Qt][Kt],it=kt.splitKey,gt=kt.key.split(it),Bt=[],en=0;en<gt.length;en++)Bt.push(st(gt[en]));Bt.sort().join("")===Xe.sort().join("")&&Vr(rt,kt,qe,St)}}}}function Dr(rt){return Ze.indexOf(rt)>-1}function Or(rt,St,It){Xe=[];var Qt=$e(rt),Je=[],yt="all",qe=document,ct=0,Kt=!1,kt=!0,it="+",gt=!1;for(It===void 0&&typeof St=="function"&&(It=St),Object.prototype.toString.call(St)==="[object Object]"&&(St.scope&&(yt=St.scope),St.element&&(qe=St.element),St.keyup&&(Kt=St.keyup),St.keydown!==void 0&&(kt=St.keydown),St.capture!==void 0&&(gt=St.capture),typeof St.splitKey=="string"&&(it=St.splitKey)),typeof St=="string"&&(yt=St);ct<Qt.length;ct++)rt=Qt[ct].split(it),Je=[],rt.length>1&&(Je=fe(ht,rt)),rt=rt[rt.length-1],rt=rt==="*"?"*":st(rt),rt in ln||(ln[rt]=[]),ln[rt].push({keyup:Kt,keydown:kt,scope:yt,mods:Je,shortcut:Qt[ct],method:It,key:Qt[ct],splitKey:it,element:qe});typeof qe<"u"&&!Dr(qe)&&window&&(Ze.push(qe),Re(qe,"keydown",function(Bt){Kr(Bt,qe)},gt),Ot||(Ot=!0,Re(window,"focus",function(){Xe=[]},gt)),Re(qe,"keyup",function(Bt){Kr(Bt,qe),gr(Bt)},gt))}function Tr(rt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(ln).forEach(function(It){var Qt=ln[It].filter(function(Je){return Je.scope===St&&Je.shortcut===rt});Qt.forEach(function(Je){Je&&Je.method&&Je.method()})})}var Oo={getPressedKeyString:an,setScope:zt,getScope:Vt,deleteScope:nr,getPressedKeyCodes:Gt,isPressed:ir,filter:En,trigger:Tr,unbind:Xr,keyMap:dt,modifier:ht,modifierMap:Pt};for(var ur in Oo)Object.prototype.hasOwnProperty.call(Oo,ur)&&(Or[ur]=Oo[ur]);if(typeof window<"u"){var oi=window.hotkeys;Or.noConflict=function(rt){return rt&&window.hotkeys===Or&&(window.hotkeys=oi),Or},window.hotkeys=Or}function Ho(){var rt,St;const[It,Qt]=useState(!1),Je=useThemeConfig(),yt=useLocation(),{useTelemetry:qe}=useThemeHooks(),ct=qe(),Kt=(St=(rt=Je?.search)==null?void 0:rt.shortcuts)!=null?St:["/"],kt=Kt?.join(",");useEffect(()=>{if(kt)return hotkeys(kt,Bt=>{Qt(!0),ct.send("search_opened",{method:"shortcut"}),Bt.preventDefault()}),()=>hotkeys.unbind(kt)},[kt]);const it=useCallback(function(){ct.send("search_opened",{method:"click"}),Qt(!0)},[]),gt=useCallback(()=>{Qt(!1)},[]);return useEffect(gt,[yt]),{isOpen:It,onOpen:it,onClose:gt}}function Go(rt,St){const[It,Qt]=useState(!1),Je=useCallback(()=>{Qt(!It)},[It]);return{onFacetReset:kt=>{const it=[...rt],gt=it.findIndex(Bt=>Bt.field===kt);gt!==-1&&(it[gt].values=[]),St(it.filter(Bt=>Bt.values.length))},onTopFacetsReset:()=>{const kt=[...rt];St(kt.filter(it=>!it.isTop))},onFilterChange:(kt,it,gt)=>{const Bt=it?Array.isArray(it)?it:[it]:[],en=[...rt],Ln=en.findIndex(Zn=>Zn.field===kt);if(Ln>-1)en[Ln].values=Bt;else{if(!Bt.length)return;en.push({field:kt,values:Bt,isTop:gt})}St(en.filter(Zn=>Zn.values.length))},onFilterReset:()=>{St([])},onFilterToggle:Je,isFilterOpen:It}}function Yo(rt,St){const[It,Qt]=(0,n.useState)(rt),Je=St!==void 0,yt=Je?St:It,qe=(0,n.useCallback)(ct=>{Je||Qt(ct)},[Je]);return[yt,qe]}function _r({tabs:rt,containerRef:St,tabRefs:It}){var Qt;const[Je,yt]=(0,n.useState)(!1),qe=(0,n.useMemo)(()=>{var Bt;return((Bt=It?.current)==null?void 0:Bt.reduce((en,Ln)=>Ln?en+Ln.offsetWidth:en,0))||0},[(Qt=It?.current)==null?void 0:Qt.length]),{currentIndex:ct,isFirstTab:Kt,isLastTab:kt}=(0,n.useMemo)(()=>{const Bt=rt.files.findIndex(en=>en.name===rt.activeTabName);return{currentIndex:Bt,isFirstTab:Bt===0,isLastTab:Bt===rt.files.length-1}},[rt]);(0,n.useEffect)(()=>{if(St.current){const Bt=St.current,en=new ResizeObserver(Ln=>{const Zn=Ln[0].contentRect.width;yt(qe>Zn)});return en.observe(Bt),()=>{en.unobserve(Bt)}}},[St.current]);const it=(0,n.useCallback)(()=>{if(!Kt){const Bt=rt.files[ct-1].name;rt.handleTabSwitch(Bt)}},[ct]),gt=(0,n.useCallback)(()=>{if(!kt){const Bt=rt.files[ct+1].name;rt.handleTabSwitch(Bt)}},[ct]);return{showControls:Je,handlePrevTab:it,handleNextTab:gt}}},6604:(g,t,e)=>{"use strict";e.d(t,{GlobalStyle:()=>d.zy,IS_BROWSER:()=>h.KJ,SecurityVariablesEnvSuffix:()=>n._z,addLeadingSlash:()=>h.tb,addTrailingSlash:()=>h.hg,breakpoints:()=>h.fi,isNotNull:()=>h.Pe,isObject:()=>h.Gv,isPrimitive:()=>h.sO,isString:()=>h.Kg,isUndefined:()=>h.b0,removeLeadingSlash:()=>h.uv,typedMemo:()=>u.v,useActiveSectionId:()=>E.iQ,useFocusTrap:()=>E.rM,useModalScrollLock:()=>E.nk,useMount:()=>E.JO,useOutsideClick:()=>E.jz,useThemeHooks:()=>E.vm,useUnmount:()=>E.iK});var n=e(98383),f=e(69094),u=e(50965),E=e(98202),p=e(6838);e.o(p,"AddIcon")&&e.d(t,{AddIcon:function(){return p.AddIcon}}),e.o(p,"AfterOpenApiOperation")&&e.d(t,{AfterOpenApiOperation:function(){return p.AfterOpenApiOperation}}),e.o(p,"AfterOpenApiTitle")&&e.d(t,{AfterOpenApiTitle:function(){return p.AfterOpenApiTitle}}),e.o(p,"ArrowRightIcon")&&e.d(t,{ArrowRightIcon:function(){return p.ArrowRightIcon}}),e.o(p,"ArrowUpRightIcon")&&e.d(t,{ArrowUpRightIcon:function(){return p.ArrowUpRightIcon}}),e.o(p,"Badge")&&e.d(t,{Badge:function(){return p.Badge}}),e.o(p,"BeforeOpenApiOperation")&&e.d(t,{BeforeOpenApiOperation:function(){return p.BeforeOpenApiOperation}}),e.o(p,"BookmarkAddIcon")&&e.d(t,{BookmarkAddIcon:function(){return p.BookmarkAddIcon}}),e.o(p,"Button")&&e.d(t,{Button:function(){return p.Button}}),e.o(p,"CharacterIcon")&&e.d(t,{CharacterIcon:function(){return p.CharacterIcon}}),e.o(p,"CheckboxIcon")&&e.d(t,{CheckboxIcon:function(){return p.CheckboxIcon}}),e.o(p,"CheckmarkIcon")&&e.d(t,{CheckmarkIcon:function(){return p.CheckmarkIcon}}),e.o(p,"ChevronDownIcon")&&e.d(t,{ChevronDownIcon:function(){return p.ChevronDownIcon}}),e.o(p,"ChevronRightIcon")&&e.d(t,{ChevronRightIcon:function(){return p.ChevronRightIcon}}),e.o(p,"ChevronSortIcon")&&e.d(t,{ChevronSortIcon:function(){return p.ChevronSortIcon}}),e.o(p,"ChevronUpIcon")&&e.d(t,{ChevronUpIcon:function(){return p.ChevronUpIcon}}),e.o(p,"CircleDashIcon")&&e.d(t,{CircleDashIcon:function(){return p.CircleDashIcon}}),e.o(p,"CleanIcon")&&e.d(t,{CleanIcon:function(){return p.CleanIcon}}),e.o(p,"CloseFilledIcon")&&e.d(t,{CloseFilledIcon:function(){return p.CloseFilledIcon}}),e.o(p,"CloseIcon")&&e.d(t,{CloseIcon:function(){return p.CloseIcon}}),e.o(p,"CloseOutlineIcon")&&e.d(t,{CloseOutlineIcon:function(){return p.CloseOutlineIcon}}),e.o(p,"CloudUploadIcon")&&e.d(t,{CloudUploadIcon:function(){return p.CloudUploadIcon}}),e.o(p,"CodeBlock")&&e.d(t,{CodeBlock:function(){return p.CodeBlock}}),e.o(p,"CodeIcon")&&e.d(t,{CodeIcon:function(){return p.CodeIcon}}),e.o(p,"CookieIcon")&&e.d(t,{CookieIcon:function(){return p.CookieIcon}}),e.o(p,"CopyButton")&&e.d(t,{CopyButton:function(){return p.CopyButton}}),e.o(p,"DataFormatIcon")&&e.d(t,{DataFormatIcon:function(){return p.DataFormatIcon}}),e.o(p,"DocumentAddIcon")&&e.d(t,{DocumentAddIcon:function(){return p.DocumentAddIcon}}),e.o(p,"DocumentBlankIcon")&&e.d(t,{DocumentBlankIcon:function(){return p.DocumentBlankIcon}}),e.o(p,"DocumentIcon")&&e.d(t,{DocumentIcon:function(){return p.DocumentIcon}}),e.o(p,"DownloadIcon")&&e.d(t,{DownloadIcon:function(){return p.DownloadIcon}}),e.o(p,"Dropdown")&&e.d(t,{Dropdown:function(){return p.Dropdown}}),e.o(p,"DropdownMenu")&&e.d(t,{DropdownMenu:function(){return p.DropdownMenu}}),e.o(p,"DropdownMenuItem")&&e.d(t,{DropdownMenuItem:function(){return p.DropdownMenuItem}}),e.o(p,"EditIcon")&&e.d(t,{EditIcon:function(){return p.EditIcon}}),e.o(p,"EmailButton")&&e.d(t,{EmailButton:function(){return p.EmailButton}}),e.o(p,"ExportIcon")&&e.d(t,{ExportIcon:function(){return p.ExportIcon}}),e.o(p,"Feedback")&&e.d(t,{Feedback:function(){return p.Feedback}}),e.o(p,"FileIcon")&&e.d(t,{FileIcon:function(){return p.FileIcon}}),e.o(p,"FileStorageIcon")&&e.d(t,{FileStorageIcon:function(){return p.FileStorageIcon}}),e.o(p,"FolderAddIcon")&&e.d(t,{FolderAddIcon:function(){return p.FolderAddIcon}}),e.o(p,"FolderIcon")&&e.d(t,{FolderIcon:function(){return p.FolderIcon}}),e.o(p,"GlobalStyle")&&e.d(t,{GlobalStyle:function(){return p.GlobalStyle}}),e.o(p,"H1")&&e.d(t,{H1:function(){return p.H1}}),e.o(p,"H2")&&e.d(t,{H2:function(){return p.H2}}),e.o(p,"H3")&&e.d(t,{H3:function(){return p.H3}}),e.o(p,"H4")&&e.d(t,{H4:function(){return p.H4}}),e.o(p,"IBMCloudHyperProtectCryptoServicesIcon")&&e.d(t,{IBMCloudHyperProtectCryptoServicesIcon:function(){return p.IBMCloudHyperProtectCryptoServicesIcon}}),e.o(p,"IS_BROWSER")&&e.d(t,{IS_BROWSER:function(){return p.IS_BROWSER}}),e.o(p,"InformationIcon")&&e.d(t,{InformationIcon:function(){return p.InformationIcon}}),e.o(p,"JsonIcon")&&e.d(t,{JsonIcon:function(){return p.JsonIcon}}),e.o(p,"JsonViewer")&&e.d(t,{JsonViewer:function(){return p.JsonViewer}}),e.o(p,"LayoutVariant")&&e.d(t,{LayoutVariant:function(){return p.LayoutVariant}}),e.o(p,"LinkIcon")&&e.d(t,{LinkIcon:function(){return p.LinkIcon}}),e.o(p,"Loading")&&e.d(t,{Loading:function(){return p.Loading}}),e.o(p,"Markdown")&&e.d(t,{Markdown:function(){return p.Markdown}}),e.o(p,"MaximizeIcon")&&e.d(t,{MaximizeIcon:function(){return p.MaximizeIcon}}),e.o(p,"Menu")&&e.d(t,{Menu:function(){return p.Menu}}),e.o(p,"NewTabButton")&&e.d(t,{NewTabButton:function(){return p.NewTabButton}}),e.o(p,"OpenApiFooter")&&e.d(t,{OpenApiFooter:function(){return p.OpenApiFooter}}),e.o(p,"OpenApiHeader")&&e.d(t,{OpenApiHeader:function(){return p.OpenApiHeader}}),e.o(p,"OverflowMenuVerticalIcon")&&e.d(t,{OverflowMenuVerticalIcon:function(){return p.OverflowMenuVerticalIcon}}),e.o(p,"Panel")&&e.d(t,{Panel:function(){return p.Panel}}),e.o(p,"PanelBody")&&e.d(t,{PanelBody:function(){return p.PanelBody}}),e.o(p,"PanelHeader")&&e.d(t,{PanelHeader:function(){return p.PanelHeader}}),e.o(p,"PanelHeaderTitle")&&e.d(t,{PanelHeaderTitle:function(){return p.PanelHeaderTitle}}),e.o(p,"Portal")&&e.d(t,{Portal:function(){return p.Portal}}),e.o(p,"RestartIcon")&&e.d(t,{RestartIcon:function(){return p.RestartIcon}}),e.o(p,"RocketIcon")&&e.d(t,{RocketIcon:function(){return p.RocketIcon}}),e.o(p,"SaveIcon")&&e.d(t,{SaveIcon:function(){return p.SaveIcon}}),e.o(p,"SearchIcon")&&e.d(t,{SearchIcon:function(){return p.SearchIcon}}),e.o(p,"SecurityIcon")&&e.d(t,{SecurityIcon:function(){return p.SecurityIcon}}),e.o(p,"Segmented")&&e.d(t,{Segmented:function(){return p.Segmented}}),e.o(p,"Select")&&e.d(t,{Select:function(){return p.Select}}),e.o(p,"SidePanelCloseIcon")&&e.d(t,{SidePanelCloseIcon:function(){return p.SidePanelCloseIcon}}),e.o(p,"SidePanelOpenIcon")&&e.d(t,{SidePanelOpenIcon:function(){return p.SidePanelOpenIcon}}),e.o(p,"SidebarActions")&&e.d(t,{SidebarActions:function(){return p.SidebarActions}}),e.o(p,"SidebarLogo")&&e.d(t,{SidebarLogo:function(){return p.SidebarLogo}}),e.o(p,"Spinner")&&e.d(t,{Spinner:function(){return p.Spinner}}),e.o(p,"SpinnerIcon")&&e.d(t,{SpinnerIcon:function(){return p.SpinnerIcon}}),e.o(p,"StatusCode")&&e.d(t,{StatusCode:function(){return p.StatusCode}}),e.o(p,"Switch")&&e.d(t,{Switch:function(){return p.Switch}}),e.o(p,"TableBuiltIcon")&&e.d(t,{TableBuiltIcon:function(){return p.TableBuiltIcon}}),e.o(p,"Tag")&&e.d(t,{Tag:function(){return p.Tag}}),e.o(p,"ThreePanelLayout")&&e.d(t,{ThreePanelLayout:function(){return p.ThreePanelLayout}}),e.o(p,"TimeIcon")&&e.d(t,{TimeIcon:function(){return p.TimeIcon}}),e.o(p,"TrashCanIcon")&&e.d(t,{TrashCanIcon:function(){return p.TrashCanIcon}}),e.o(p,"Typography")&&e.d(t,{Typography:function(){return p.Typography}}),e.o(p,"ValueVariableIcon")&&e.d(t,{ValueVariableIcon:function(){return p.ValueVariableIcon}}),e.o(p,"ViewIcon")&&e.d(t,{ViewIcon:function(){return p.ViewIcon}}),e.o(p,"ViewOffIcon")&&e.d(t,{ViewOffIcon:function(){return p.ViewOffIcon}}),e.o(p,"WarningFilledIcon")&&e.d(t,{WarningFilledIcon:function(){return p.WarningFilledIcon}}),e.o(p,"addLeadingSlash")&&e.d(t,{addLeadingSlash:function(){return p.addLeadingSlash}}),e.o(p,"addTrailingSlash")&&e.d(t,{addTrailingSlash:function(){return p.addTrailingSlash}}),e.o(p,"breakpoints")&&e.d(t,{breakpoints:function(){return p.breakpoints}}),e.o(p,"isNotNull")&&e.d(t,{isNotNull:function(){return p.isNotNull}}),e.o(p,"isObject")&&e.d(t,{isObject:function(){return p.isObject}}),e.o(p,"isPrimitive")&&e.d(t,{isPrimitive:function(){return p.isPrimitive}}),e.o(p,"isString")&&e.d(t,{isString:function(){return p.isString}}),e.o(p,"isUndefined")&&e.d(t,{isUndefined:function(){return p.isUndefined}}),e.o(p,"markdownLinksCss")&&e.d(t,{markdownLinksCss:function(){return p.markdownLinksCss}}),e.o(p,"removeLeadingSlash")&&e.d(t,{removeLeadingSlash:function(){return p.removeLeadingSlash}});var h=e(36958),d=e(91117)},91117:(g,t,e)=>{"use strict";e.d(t,{zy:()=>ze});var n=e(9448);const f=(0,n.AH)`
3734
+ `},37514:()=>{},98383:(g,t,e)=>{"use strict";e.d(t,{jn:()=>E,xU:()=>p,_z:()=>d});var n=e(40651);const f="default_locale";var u=(C=>(C.RATING="rating",C.SENTIMENT="sentiment",C.COMMENT="comment",C.MOOD="mood",C.PROBLEM="problem",C.SCALE="scale",C))(u||{});const E="sentiment";var p=(C=>(C.Separator="separator",C.DrillDown="drilldown",C.Group="group",C.Operation="operation",C.Default="default",C))(p||{}),h=(C=>(C.MAIN_MENU="MAIN_MENU",C.PRODUCT="PRODUCT",C.PAGE="PAGE",C))(h||{}),d=(C=>(C.Username="_username",C.Password="_password",C.JWTToken="_token",C.APIKey="",C.Token="_token",C.ClientId="_client_id",C.ClientSecret="_client_secret",C.ClientAssertion="_client_assertion",C))(d||{})},69094:(g,t,e)=>{"use strict";e.d(t,{n:()=>f});var n=e(11855);const f=(0,n.createContext)(null)},50965:(g,t,e)=>{"use strict";e.d(t,{v:()=>n.v});var n=e(42463)},42463:(g,t,e)=>{"use strict";e.d(t,{v:()=>f});var n=e(11855);const f=n.memo},98202:(g,t,e)=>{"use strict";e.d(t,{iQ:()=>S,Ax:()=>_r,nw:()=>B,VI:()=>b,PW:()=>Yo,rM:()=>H,$Z:()=>X,HJ:()=>ie,nk:()=>ne,JO:()=>x,n7:()=>T,u_:()=>G,jz:()=>z,mP:()=>wt,uc:()=>ut,pN:()=>I,vm:()=>Y,iK:()=>o});var n=e(11855),f=e(69094),u=Object.defineProperty,E=Object.defineProperties,p=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,v=(rt,St,It)=>St in rt?u(rt,St,{enumerable:!0,configurable:!0,writable:!0,value:It}):rt[St]=It,P=(rt,St)=>{for(var It in St||(St={}))d.call(St,It)&&v(rt,It,St[It]);if(h)for(var It of h(St))C.call(St,It)&&v(rt,It,St[It]);return rt},O=(rt,St)=>E(rt,p(St));function I(rt=!0){const St=(0,n.useContext)(f.n);if(!St)return{};const{config:It,hooks:Qt}=St,{useCurrentProduct:Je}=Qt,yt=Je();return rt&&yt?.configOverride?O(P(P({},It),yt.configOverride),{analytics:It.analytics}):It}const b=(rt=!1)=>{const[St,It]=(0,n.useState)(rt),Qt=(0,n.useCallback)(()=>It(!0),[]),Je=(0,n.useCallback)(()=>It(!1),[]);return{isOpened:St,handleOpen:Qt,handleClose:Je}},x=rt=>{(0,n.useEffect)(()=>{rt()},[])},o=rt=>{(0,n.useEffect)(()=>()=>{rt()},[])};function a(rt,St){const[It,Qt]=useState(St.length>1?St[0]:void 0),[Je,yt]=useState([]),qe=useRef({}),ct=useLocation(),Kt=()=>{const Bt=[];for(const en in qe.current){const Ln=qe.current[en];Ln.isIntersecting&&Bt.push(Ln)}return Bt},kt=useCallback(Bt=>Je.findIndex(en=>en.id===Bt),[Je]),it=Bt=>{const en=Bt.querySelectorAll(".heading-anchor");return Array.from(en)},gt=useCallback(Bt=>{var en;if(qe.current=Bt.reduce((rr,cr)=>(rr[cr.target.id]=cr,rr),qe.current),window.scrollY+window.innerHeight>=document.body.scrollHeight){const rr=((en=Je[Je?.length-1])==null?void 0:en.id)||void 0;Qt(rr);return}const Zn=Kt();if(Zn.length){if(Zn.length===1){Qt(Zn[0].target.id);return}Zn.sort((rr,cr)=>kt(rr.target.id)-kt(cr.target.id)),Qt(Zn[0].target.id)}},[kt,Je]);return useEffect(()=>{rt&&yt(it(rt))},[rt,ct]),useEffect(()=>{if(!Je?.length)return;qe.current={};const Bt=new IntersectionObserver(gt,{rootMargin:"0px 0px -30% 0px",threshold:1});return Je?.forEach(en=>{St.includes(en.id)&&Bt.observe(en)}),()=>Bt.disconnect()},[Je,St,gt]),It}var l=e(58940),M=e.n(l);function S(rt,St=!1,It=!0){const[Qt,Je]=(0,n.useState)(""),yt=T(rt),qe=(It?yt:0)+150,ct=(0,n.useMemo)(()=>M()(()=>{const Kt=document.querySelectorAll("[data-section-id]");if(Kt.length<2){Je("");return}for(let kt=0;kt<Kt.length;kt++){const it=Kt[kt],gt=it.getBoundingClientRect();if(gt.y<qe&&gt.bottom>qe){Je(it.getAttribute("data-section-id")||"");return}}St&&Je("")},150),[qe,St]);return(0,n.useEffect)(()=>(window.addEventListener("scroll",ct,{capture:!1}),setTimeout(()=>{ct()},10),()=>{window.removeEventListener("scroll",ct)}),[rt,qe,ct]),Qt}function j(rt,St){const It=useRef(),Qt=useRef(),Je=qe=>{var ct,Kt;qe.key==="Escape"?St():qe.key==="Tab"&&(!qe.shiftKey&&document.activeElement===Qt.current?(qe.preventDefault(),(ct=It.current)==null||ct.focus()):qe.shiftKey&&document.activeElement===It.current&&(qe.preventDefault(),(Kt=Qt.current)==null||Kt.focus()))},yt=()=>{var qe,ct;const Kt=(qe=rt.current)==null?void 0:qe.querySelectorAll('input, [href], [tabindex]:not([tabindex="-1"])');Kt&&Kt.length>0&&(It.current=Kt[0],Qt.current=Kt[Kt.length-1],(ct=It.current)==null||ct.focus())};useEffect(()=>(document.addEventListener("keydown",Je),()=>{document.removeEventListener("keydown",Je)}),[]),useEffect(()=>{yt()})}function A(rt){const St=useCallback(()=>{if(!rt.current)return;const Qt=document.querySelector("footer");if(!Qt)return;const Je=rt.current.getBoundingClientRect().top,yt=Qt.offsetTop-window.scrollY-Je;yt>window.innerHeight?rt.current.style.maxHeight=`${window.innerHeight-Je}px`:rt.current.style.maxHeight=`${yt}px`},[rt]),It=useMemo(()=>throttle(St,150),[St]);useEffect(()=>typeof window>"u"||!rt.current?()=>{}:(window.addEventListener("scroll",It,{capture:!1}),window.addEventListener("resize",It,{capture:!1}),St(),()=>{window.removeEventListener("scroll",It),window.removeEventListener("resize",It)}),[It,rt,St])}var L=e(36958);function T(rt){const[St,It]=(0,n.useState)(0);return(0,n.useEffect)(()=>{const Qt=(0,L.zM)();It(Qt&&Qt.clientHeight||0)},[rt.pathname]),(0,n.useEffect)(()=>{window.requestAnimationFrame(()=>{const Qt=(0,L.zM)();It(Qt&&Qt.clientHeight||0)})},[]),St}function z(rt,St){(0,n.useEffect)(()=>{const It=Qt=>{!St||!rt.current||rt.current.contains(Qt.target)||St(Qt)};return document.addEventListener("mousedown",It),document.addEventListener("touchstart",It),()=>{document.removeEventListener("mousedown",It),document.removeEventListener("touchstart",It)}},[rt,St])}const w={useTranslate:()=>({translate:(rt,St)=>(typeof St=="string"?St:St?.defaultValue)||rt||""}),useSubmitFeedback:()=>({submitFeedback:()=>{}}),useTelemetry:()=>({telemetry:()=>{}}),useBreadcrumbs:()=>[]},Y=()=>{const rt=(0,n.useContext)(f.n);return new Proxy({},{get(St,It){if(rt&&It in rt.hooks)return rt.hooks[It];if(It in w)return w[It];throw new Error(`Unknown hook ${It.toString()}`)}})};var J=e(79942);function ie(rt=!1){const St=(0,J.zy)(),[It,Qt]=(0,n.useState)(rt);return(0,n.useEffect)(()=>Qt(!1),[St.pathname,St.hash]),ne(It),{isOpen:It,openMobileMenu:()=>Qt(!0),closeMobileMenu:()=>Qt(!1)}}function ne(rt){(0,n.useEffect)(()=>{const St=document.body.style.overflow,It=window.innerWidth-document.documentElement.clientWidth;return rt?(document.body.style.overflow="hidden",document.body.style.marginRight=`${It}px`):(document.body.style.overflow=St,document.body.style.marginRight=""),()=>{document.body.style.overflow=St,document.body.style.marginRight=""}},[rt])}const se=()=>{const rt=useThemeConfig(),{useTelemetry:St}=useThemeHooks(),It=St(),Qt=rt.colorMode,Je=Qt?.modes||["light","dark"],yt=Je[0]||"light",[qe,ct]=useState(yt),Kt=()=>{const it=Array.from(document.documentElement.classList).find(gt=>Je.includes(gt));ct(it||yt)},kt=()=>{const it=Je.indexOf(qe),gt=it<Je.length-1?Je[it+1]:Je[0];return localStorage.setItem("colorSchema",gt),document.documentElement.className=`${gt} notransition`,window.requestAnimationFrame(()=>{document.documentElement.classList.remove("notransition")}),It.send("color_mode_switched",{from:qe,to:gt}),ct(gt),gt};return{isSwitcherHidden:Qt?.hide,initActiveColorMode:Kt,switchColorMode:kt,activeColorMode:qe}},xe="recentSearches",Ee=5;function Oe(){if(!isBrowser())return[];const rt=window.localStorage.getItem(xe);return rt?JSON.parse(rt):[]}function ge(rt,St){if(!isBrowser())return[];const It=Oe();if(rt==="")return It;const Qt=It.indexOf(rt);return Qt!==-1&&It.splice(Qt,1),St&&It.unshift(rt),localStorage==null||localStorage.setItem(xe,JSON.stringify(It.slice(0,Ee))),It}const Ce=()=>{const[rt,St]=useState(Oe()),It=useCallback(Je=>{St(ge(Je,!0))},[]),Qt=useCallback(Je=>{St(ge(Je,!1))},[]);return{items:rt,addSearchHistoryItem:It,removeSearchHistoryItem:Qt}},Z=()=>{var rt;return((rt=useThemeConfig().search)==null?void 0:rt.suggestedPages)||[]};var k=(rt,St,It)=>new Promise((Qt,Je)=>{var yt=Kt=>{try{ct(It.next(Kt))}catch(kt){Je(kt)}},qe=Kt=>{try{ct(It.throw(Kt))}catch(kt){Je(kt)}},ct=Kt=>Kt.done?Qt(Kt.value):Promise.resolve(Kt.value).then(yt,qe);ct((It=It.apply(rt,St)).next())});function G({item:rt,labelRef:St,nestedMenuRef:It}){const[Qt,Je]=X(rt),[yt,qe]=(0,n.useState)(!Qt),ct=(0,J.Zp)(),Kt=(0,J.zy)(),{style:kt}=B({isExpanded:Qt,collapseElRef:It||{current:null},onTransitionStateChange:Bt=>{Bt==="collapseEnd"&&qe(!0),Bt==="expandStart"&&qe(!1)}});function it(Bt,en=!1){typeof Bt.scrollIntoViewIfNeeded=="function"&&Bt.scrollIntoViewIfNeeded(en)}(0,n.useEffect)(()=>{rt.active&&St&&St.current&&it(St.current,!0)},[St,rt.active]),(0,n.useEffect)(()=>{rt.active&&Qt&&St&&St.current&&it(St.current)},[St,Qt,rt.active]);const gt=(0,n.useCallback)(()=>k(this,null,function*(){if(rt.expanded==="always"||rt.link&&rt.hasActiveSubItem&&rt.link!==Kt.pathname)return;const[Bt]=rt.items;!Qt&&rt.selectFirstItemOnExpand&&Bt.link&&(yield(0,L.Zm)(ct,Bt.link)),Je(!Qt)}),[rt,Qt,ct,Kt.pathname,Je]);return{isExpanded:Qt,canUnmount:yt,style:kt,handleExpand:gt}}function F(rt){return rt.active||rt.hasActiveSubItem||rt.expanded==="true"||rt.expanded==="always"}function X(rt){const[St,It]=(0,n.useState)(F(rt)),[Qt,Je]=(0,n.useState)(F(rt));return(0,n.useEffect)(()=>{It(Qt)},[Qt]),(0,n.useEffect)(()=>{const yt=F(rt);It(yt),Je(yt)},[rt.modified?rt.active:rt,rt.hasActiveSubItem,rt.expanded]),[St,Je]}var K=e(98383);const ae={type:"separator",separatorLine:!0},oe=rt=>{var St,It,Qt;const{useTranslate:Je,useL10nConfig:yt,useCurrentProduct:qe,usePageVersions:ct,useSidebarItems:Kt}=useThemeHooks(),{versions:kt=[]}=ct()||{},{defaultLocale:it,currentLocale:gt,locales:Bt}=yt(),{translate:en}=Je(),Ln=kt.find(bn=>bn.active),{currentItems:Zn,pushDrilldownState:rr,popDrilldownState:cr,backLink:Nr}=Kt(Ln),Le=useLocation(),ve=qe(),Te=(St=ve?.configOverride)==null?void 0:St.navbar,Fe=useThemeConfig(),pt=useThemeConfig(!1),Lt=((It=pt.navbar)==null?void 0:It.items)||[],$t=Te?((Qt=Fe.navbar)==null?void 0:Qt.items)||[]:[],sn=[];if(rt===MobileMenuType.PAGE){if(Ln){const bn=buildVersionSection(en,kt,Ln);sn.push(...bn)}sn.length&&Zn.length&&sn.push(ae),sn.push(...Zn)}else if(rt===MobileMenuType.PRODUCT)sn.push(...$t),sn.length&&Lt.length&&sn.push(ae),Lt.length&&sn.push(...Lt);else if(rt===MobileMenuType.MAIN_MENU){const bn=Object.values(pt.products||{}).map(gn=>({label:gn.name,link:gn.link,icon:gn.icon,type:"link"}));bn.length&&(sn.push({type:"separator",label:en("mobileMenu.products","Products")}),sn.push(...bn)),sn.length&&Lt.length&&sn.push(ae),Lt.length&&sn.push(...Lt)}const On=buildLanguagesGroup(Bt,it,gt);return sn.length&&On&&sn.push(ae),On&&sn.push(On),{items:mapNavbarItems(sn,it,gt,Bt,Le),popDrilldownState:cr,pushDrilldownState:rr,backLink:Nr}},be=()=>{var rt,St;const{useTranslate:It,useCurrentProduct:Qt,usePageVersions:Je,useSidebarItems:yt}=useThemeHooks(),{versions:qe=[]}=Je()||{},ct=qe.find(rr=>rr?.active),{currentItems:Kt}=yt(ct),{translate:kt}=It(),it=Qt(),gt=useThemeConfig(),Bt=useLocation(),Ln=((rt=it?.configOverride)==null?void 0:rt.navbar)?((St=gt.navbar)==null?void 0:St.items)||[]:[];return useMemo(()=>{const rr=[{label:kt("mobileMenu.mainMenu","Main Menu"),type:MobileMenuType.MAIN_MENU}];return it&&Ln.length&&rr.push({label:it.name,type:MobileMenuType.PRODUCT}),(Kt.length||ct)&&rr.push({label:kt("mobileMenu.previous","Previous"),type:MobileMenuType.PAGE}),rr},[Bt])};var Pe=Math.pow;const Ie=typeof window>"u"?n.useEffect:n.useLayoutEffect,ye="cubic-bezier(0.4, 0, 0.2, 1)",Se="0px";function B({isExpanded:rt,collapseElRef:St,onTransitionStateChange:It=()=>{}}){const Qt=(0,n.useRef)(rt),[Je,yt]=(0,n.useState)(!1),qe=Ue(It),ct=(0,n.useRef)(),Kt=(0,n.useRef)();return Ie(()=>{const kt=St.current;if(!kt||rt===Qt.current)return;Qt.current=rt;function it(en){return ee(en)}const gt=en=>`height ${it(en)}ms ${ye}`,Bt=en=>{function Ln(){rt?(He(kt,{height:"",overflow:"",transition:"",display:"",pointerEvents:"auto"}),qe("expandEnd")):(He(kt,{transition:"",pointerEvents:""}),qe("collapseEnd")),yt(!1)}Kt.current&&Ke(Kt.current),Kt.current=ot(Ln,en)};return yt(!0),rt?ct.current=requestAnimationFrame(()=>{qe("expandStart"),He(kt,{display:"block",overflow:"hidden",pointerEvents:"none",height:Se}),ct.current=requestAnimationFrame(()=>{qe("expanding");const en=je(St);Bt(it(en)),St.current&&(St.current.style.transition=gt(en),St.current.style.height=`${en}px`)})}):ct.current=requestAnimationFrame(()=>{qe("collapseStart");const en=je(St);Bt(it(en)),He(kt,{transition:gt(en),height:`${en}px`,pointerEvents:"none"}),ct.current=requestAnimationFrame(()=>{qe("collapsing"),He(kt,{height:Se,overflow:"hidden"})})}),()=>{ct.current&&cancelAnimationFrame(ct.current),Kt.current&&Ke(Kt.current)}},[rt,St,qe]),{isExpanded:rt,style:!Je&&!rt?{display:"none",height:Se,overflow:"hidden"}:{}}}function ee(rt){if(!rt||typeof rt=="string")return 0;const St=rt/36;return Math.round((4+15*Pe(St,.25)+St/5)*10)}function je(rt){var St,It;return(It=(St=rt.current)==null?void 0:St.scrollHeight)!=null?It:0}function ot(rt,St){const It=performance.now(),Qt={};function Je(){Qt.id=requestAnimationFrame(yt=>{yt-It>St?rt():Je()})}return Je(),Qt}function Ke(rt){rt.id&&cancelAnimationFrame(rt.id)}function He(rt,St){if(rt)for(const It in St){const Qt=St[It];Qt?rt.style[It]=Qt:rt.style.removeProperty(It)}}function Ue(rt){const St=(0,n.useRef)(rt);return(0,n.useEffect)(()=>{St.current=rt}),(0,n.useCallback)((...It)=>{var Qt;return(Qt=St.current)==null?void 0:Qt.call(St,...It)},[])}function wt(){const{codeSnippet:{report:rt={}}={}}=I(),[St,It]=(0,n.useState)(!1),{tooltipText:Qt,buttonText:Je,label:yt}=rt,{useTranslate:qe,useSubmitFeedback:ct}=Y(),{translate:Kt}=qe(),{submitFeedback:kt}=ct(),it=()=>{It(!0)},gt=()=>{setTimeout(function(){It(!1)},3e3)},Bt=()=>{It(!1)},en={onClick:it,buttonText:Je||Kt("codeSnippet.report.buttonText","Report"),tooltip:Qt||Kt("codeSnippet.report.tooltipText","Report a problem"),hide:rt?.hide===!0},Ln={settings:{label:yt||Kt("codeSnippet.report.label","What is wrong with this code?")},onSubmit:gt,onCancel:Bt,submitFeedback:kt};return{reportDialog:{visible:St,props:Ln},reportButton:{props:en}}}function ut({initialTab:rt,totalTabs:St}){const[It,Qt]=(0,n.useState)(rt),Je=(0,n.useRef)([]),yt=(0,n.useCallback)((gt,Bt)=>{Je.current[Bt]=gt},[]),qe=(0,n.useCallback)((gt,Bt)=>`${gt.replace(/\s+/g,"-").toLowerCase()}-${Bt}`,[]),ct=gt=>{const Bt=Je.current[gt];Bt&&Bt.focus()},Kt=(0,n.useCallback)(gt=>{var Bt;ct(gt);const en=(Bt=Je.current[gt])==null?void 0:Bt.getAttribute("data-label");en&&Qt(en)},[]),kt=(0,n.useCallback)(gt=>{Qt(gt);const Bt=Je.current.findIndex(en=>en?.getAttribute("data-label")===gt);ct(Bt)},[]),it=(0,n.useCallback)((gt,Bt)=>{let en=Bt;if(gt.key==="ArrowRight")en=(Bt+1)%St;else if(gt.key==="ArrowLeft")en=(Bt-1+St)%St;else if(gt.key==="Home")gt.preventDefault(),en=0;else if(gt.key==="End")gt.preventDefault(),en=St-1;else return;Kt(en)},[St,Kt]);return{activeTab:It,setActiveTab:Qt,setTabRef:yt,onTabClick:kt,handleKeyboard:it,getTabId:qe}}function H(rt){(0,n.useEffect)(()=>{const St=rt.current;if(!St)return;const It=St.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),Qt=It[0],Je=yt=>{if(yt.key==="Tab"){const qe=It[It.length-1];yt.shiftKey&&document.activeElement===Qt?(qe?.focus(),yt.preventDefault()):!yt.shiftKey&&document.activeElement===qe&&(Qt?.focus(),yt.preventDefault())}};return St.addEventListener("keydown",Je),Qt&&Qt.focus(),()=>{St.removeEventListener("keydown",Je)}},[rt])}function ft(){const{useL10nConfig:rt,usePreloadHistory:St}=useThemeHooks(),It=St(),{currentLocale:Qt,locales:Je,defaultLocale:yt}=rt(),qe=Je.find(Kt=>Kt.code===Qt);function ct(Kt){const it=`${withPathPrefix(getPathnameForLocale(location.pathname,yt,Kt,Je))}${location.search}${location.hash}`;It.push(it)}return{currentLocale:qe,locales:Je,setLocale:ct}}function nt(){const{useCurrentProduct:rt,useProducts:St,usePreloadHistory:It,useTelemetry:Qt}=useThemeHooks(),Je=rt(),yt=St(),qe=Qt(),ct=It();function Kt(kt){kt&&(qe.send("product_picked",{product:kt.slug}),ct.push(kt.link))}return{currentProduct:Je,products:yt,setProduct:Kt}}var De=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Re(rt,St,It,Qt){rt.addEventListener?rt.addEventListener(St,It,Qt):rt.attachEvent&&rt.attachEvent("on".concat(St),function(){It(window.event)})}function fe(rt,St){for(var It=St.slice(0,St.length-1),Qt=0;Qt<It.length;Qt++)It[Qt]=rt[It[Qt].toLowerCase()];return It}function $e(rt){typeof rt!="string"&&(rt=""),rt=rt.replace(/\s/g,"");for(var St=rt.split(","),It=St.lastIndexOf("");It>=0;)St[It-1]+=",",St.splice(It,1),It=St.lastIndexOf("");return St}function _e(rt,St){for(var It=rt.length>=St.length?rt:St,Qt=rt.length>=St.length?St:rt,Je=!0,yt=0;yt<It.length;yt++)Qt.indexOf(It[yt])===-1&&(Je=!1);return Je}for(var dt={backspace:8,"\u232B":8,tab:9,clear:12,enter:13,"\u21A9":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21EA":20,",":188,".":190,"/":191,"`":192,"-":De?173:189,"=":De?61:187,";":De?59:186,"'":222,"[":219,"]":221,"\\":220},ht={"\u21E7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},Pt={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Dt={16:!1,18:!1,17:!1,91:!1},ln={},Me=1;Me<20;Me++)dt["f".concat(Me)]=111+Me;var Xe=[],Ot=!1,ze="all",Ze=[],st=function(St){return dt[St.toLowerCase()]||ht[St.toLowerCase()]||St.toUpperCase().charCodeAt(0)},Ct=function(St){return Object.keys(dt).find(function(It){return dt[It]===St})},At=function(St){return Object.keys(ht).find(function(It){return ht[It]===St})};function zt(rt){ze=rt||"all"}function Vt(){return ze||"all"}function Gt(){return Xe.slice(0)}function an(){return Xe.map(function(rt){return Ct(rt)||At(rt)||String.fromCharCode(rt)})}function En(rt){var St=rt.target||rt.srcElement,It=St.tagName,Qt=!0;return(St.isContentEditable||(It==="INPUT"||It==="TEXTAREA"||It==="SELECT")&&!St.readOnly)&&(Qt=!1),Qt}function ir(rt){return typeof rt=="string"&&(rt=st(rt)),Xe.indexOf(rt)!==-1}function nr(rt,St){var It,Qt;rt||(rt=Vt());for(var Je in ln)if(Object.prototype.hasOwnProperty.call(ln,Je))for(It=ln[Je],Qt=0;Qt<It.length;)It[Qt].scope===rt?It.splice(Qt,1):Qt++;Vt()===rt&&zt(St||"all")}function gr(rt){var St=rt.keyCode||rt.which||rt.charCode,It=Xe.indexOf(St);if(It>=0&&Xe.splice(It,1),rt.key&&rt.key.toLowerCase()==="meta"&&Xe.splice(0,Xe.length),(St===93||St===224)&&(St=91),St in Dt){Dt[St]=!1;for(var Qt in ht)ht[Qt]===St&&(Or[Qt]=!1)}}function Xr(rt){if(typeof rt>"u")Object.keys(ln).forEach(function(qe){return delete ln[qe]});else if(Array.isArray(rt))rt.forEach(function(qe){qe.key&&lo(qe)});else if(typeof rt=="object")rt.key&&lo(rt);else if(typeof rt=="string"){for(var St=arguments.length,It=new Array(St>1?St-1:0),Qt=1;Qt<St;Qt++)It[Qt-1]=arguments[Qt];var Je=It[0],yt=It[1];typeof Je=="function"&&(yt=Je,Je=""),lo({key:rt,scope:Je,method:yt,splitKey:"+"})}}var lo=function(St){var It=St.key,Qt=St.scope,Je=St.method,yt=St.splitKey,qe=yt===void 0?"+":yt,ct=$e(It);ct.forEach(function(Kt){var kt=Kt.split(qe),it=kt.length,gt=kt[it-1],Bt=gt==="*"?"*":st(gt);if(ln[Bt]){Qt||(Qt=Vt());var en=it>1?fe(ht,kt):[];ln[Bt]=ln[Bt].filter(function(Ln){var Zn=Je?Ln.method===Je:!0;return!(Zn&&Ln.scope===Qt&&_e(Ln.mods,en))})}})};function Vr(rt,St,It,Qt){if(St.element===Qt){var Je;if(St.scope===It||St.scope==="all"){Je=St.mods.length>0;for(var yt in Dt)Object.prototype.hasOwnProperty.call(Dt,yt)&&(!Dt[yt]&&St.mods.indexOf(+yt)>-1||Dt[yt]&&St.mods.indexOf(+yt)===-1)&&(Je=!1);(St.mods.length===0&&!Dt[16]&&!Dt[18]&&!Dt[17]&&!Dt[91]||Je||St.shortcut==="*")&&St.method(rt,St)===!1&&(rt.preventDefault?rt.preventDefault():rt.returnValue=!1,rt.stopPropagation&&rt.stopPropagation(),rt.cancelBubble&&(rt.cancelBubble=!0))}}}function Kr(rt,St){var It=ln["*"],Qt=rt.keyCode||rt.which||rt.charCode;if(Or.filter.call(this,rt)){if((Qt===93||Qt===224)&&(Qt=91),Xe.indexOf(Qt)===-1&&Qt!==229&&Xe.push(Qt),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(Ln){var Zn=Pt[Ln];rt[Ln]&&Xe.indexOf(Zn)===-1?Xe.push(Zn):!rt[Ln]&&Xe.indexOf(Zn)>-1?Xe.splice(Xe.indexOf(Zn),1):Ln==="metaKey"&&rt[Ln]&&Xe.length===3&&(rt.ctrlKey||rt.shiftKey||rt.altKey||(Xe=Xe.slice(Xe.indexOf(Zn))))}),Qt in Dt){Dt[Qt]=!0;for(var Je in ht)ht[Je]===Qt&&(Or[Je]=!0);if(!It)return}for(var yt in Dt)Object.prototype.hasOwnProperty.call(Dt,yt)&&(Dt[yt]=rt[Pt[yt]]);rt.getModifierState&&!(rt.altKey&&!rt.ctrlKey)&&rt.getModifierState("AltGraph")&&(Xe.indexOf(17)===-1&&Xe.push(17),Xe.indexOf(18)===-1&&Xe.push(18),Dt[17]=!0,Dt[18]=!0);var qe=Vt();if(It)for(var ct=0;ct<It.length;ct++)It[ct].scope===qe&&(rt.type==="keydown"&&It[ct].keydown||rt.type==="keyup"&&It[ct].keyup)&&Vr(rt,It[ct],qe,St);if(Qt in ln){for(var Kt=0;Kt<ln[Qt].length;Kt++)if((rt.type==="keydown"&&ln[Qt][Kt].keydown||rt.type==="keyup"&&ln[Qt][Kt].keyup)&&ln[Qt][Kt].key){for(var kt=ln[Qt][Kt],it=kt.splitKey,gt=kt.key.split(it),Bt=[],en=0;en<gt.length;en++)Bt.push(st(gt[en]));Bt.sort().join("")===Xe.sort().join("")&&Vr(rt,kt,qe,St)}}}}function Dr(rt){return Ze.indexOf(rt)>-1}function Or(rt,St,It){Xe=[];var Qt=$e(rt),Je=[],yt="all",qe=document,ct=0,Kt=!1,kt=!0,it="+",gt=!1;for(It===void 0&&typeof St=="function"&&(It=St),Object.prototype.toString.call(St)==="[object Object]"&&(St.scope&&(yt=St.scope),St.element&&(qe=St.element),St.keyup&&(Kt=St.keyup),St.keydown!==void 0&&(kt=St.keydown),St.capture!==void 0&&(gt=St.capture),typeof St.splitKey=="string"&&(it=St.splitKey)),typeof St=="string"&&(yt=St);ct<Qt.length;ct++)rt=Qt[ct].split(it),Je=[],rt.length>1&&(Je=fe(ht,rt)),rt=rt[rt.length-1],rt=rt==="*"?"*":st(rt),rt in ln||(ln[rt]=[]),ln[rt].push({keyup:Kt,keydown:kt,scope:yt,mods:Je,shortcut:Qt[ct],method:It,key:Qt[ct],splitKey:it,element:qe});typeof qe<"u"&&!Dr(qe)&&window&&(Ze.push(qe),Re(qe,"keydown",function(Bt){Kr(Bt,qe)},gt),Ot||(Ot=!0,Re(window,"focus",function(){Xe=[]},gt)),Re(qe,"keyup",function(Bt){Kr(Bt,qe),gr(Bt)},gt))}function Tr(rt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(ln).forEach(function(It){var Qt=ln[It].filter(function(Je){return Je.scope===St&&Je.shortcut===rt});Qt.forEach(function(Je){Je&&Je.method&&Je.method()})})}var Oo={getPressedKeyString:an,setScope:zt,getScope:Vt,deleteScope:nr,getPressedKeyCodes:Gt,isPressed:ir,filter:En,trigger:Tr,unbind:Xr,keyMap:dt,modifier:ht,modifierMap:Pt};for(var ur in Oo)Object.prototype.hasOwnProperty.call(Oo,ur)&&(Or[ur]=Oo[ur]);if(typeof window<"u"){var oi=window.hotkeys;Or.noConflict=function(rt){return rt&&window.hotkeys===Or&&(window.hotkeys=oi),Or},window.hotkeys=Or}function Ho(){var rt,St;const[It,Qt]=useState(!1),Je=useThemeConfig(),yt=useLocation(),{useTelemetry:qe}=useThemeHooks(),ct=qe(),Kt=(St=(rt=Je?.search)==null?void 0:rt.shortcuts)!=null?St:["/"],kt=Kt?.join(",");useEffect(()=>{if(kt)return hotkeys(kt,Bt=>{Qt(!0),ct.send("search_opened",{method:"shortcut"}),Bt.preventDefault()}),()=>hotkeys.unbind(kt)},[kt]);const it=useCallback(function(){ct.send("search_opened",{method:"click"}),Qt(!0)},[]),gt=useCallback(()=>{Qt(!1)},[]);return useEffect(gt,[yt]),{isOpen:It,onOpen:it,onClose:gt}}function Go(rt,St){const[It,Qt]=useState(!1),Je=useCallback(()=>{Qt(!It)},[It]);return{onFacetReset:kt=>{const it=[...rt],gt=it.findIndex(Bt=>Bt.field===kt);gt!==-1&&(it[gt].values=[]),St(it.filter(Bt=>Bt.values.length))},onTopFacetsReset:()=>{const kt=[...rt];St(kt.filter(it=>!it.isTop))},onFilterChange:(kt,it,gt)=>{const Bt=it?Array.isArray(it)?it:[it]:[],en=[...rt],Ln=en.findIndex(Zn=>Zn.field===kt);if(Ln>-1)en[Ln].values=Bt;else{if(!Bt.length)return;en.push({field:kt,values:Bt,isTop:gt})}St(en.filter(Zn=>Zn.values.length))},onFilterReset:()=>{St([])},onFilterToggle:Je,isFilterOpen:It}}function Yo(rt,St){const[It,Qt]=(0,n.useState)(rt),Je=St!==void 0,yt=Je?St:It,qe=(0,n.useCallback)(ct=>{Je||Qt(ct)},[Je]);return[yt,qe]}function _r({tabs:rt,containerRef:St,tabRefs:It}){var Qt;const[Je,yt]=(0,n.useState)(!1),qe=(0,n.useMemo)(()=>{var Bt;return((Bt=It?.current)==null?void 0:Bt.reduce((en,Ln)=>Ln?en+Ln.offsetWidth:en,0))||0},[(Qt=It?.current)==null?void 0:Qt.length]),{currentIndex:ct,isFirstTab:Kt,isLastTab:kt}=(0,n.useMemo)(()=>{const Bt=rt.files.findIndex(en=>en.name===rt.activeTabName);return{currentIndex:Bt,isFirstTab:Bt===0,isLastTab:Bt===rt.files.length-1}},[rt]);(0,n.useEffect)(()=>{if(St.current){const Bt=St.current,en=new ResizeObserver(Ln=>{const Zn=Ln[0].contentRect.width;yt(qe>Zn)});return en.observe(Bt),()=>{en.unobserve(Bt)}}},[St.current]);const it=(0,n.useCallback)(()=>{if(!Kt){const Bt=rt.files[ct-1].name;rt.handleTabSwitch(Bt)}},[ct]),gt=(0,n.useCallback)(()=>{if(!kt){const Bt=rt.files[ct+1].name;rt.handleTabSwitch(Bt)}},[ct]);return{showControls:Je,handlePrevTab:it,handleNextTab:gt}}},6604:(g,t,e)=>{"use strict";e.d(t,{GlobalStyle:()=>d.zy,IS_BROWSER:()=>h.KJ,SecurityVariablesEnvSuffix:()=>n._z,addLeadingSlash:()=>h.tb,addTrailingSlash:()=>h.hg,breakpoints:()=>h.fi,isNotNull:()=>h.Pe,isObject:()=>h.Gv,isPrimitive:()=>h.sO,isString:()=>h.Kg,isUndefined:()=>h.b0,removeLeadingSlash:()=>h.uv,typedMemo:()=>u.v,useActiveSectionId:()=>E.iQ,useFocusTrap:()=>E.rM,useModalScrollLock:()=>E.nk,useMount:()=>E.JO,useOutsideClick:()=>E.jz,useThemeHooks:()=>E.vm,useUnmount:()=>E.iK});var n=e(98383),f=e(69094),u=e(50965),E=e(98202),p=e(6838);e.o(p,"AddIcon")&&e.d(t,{AddIcon:function(){return p.AddIcon}}),e.o(p,"AfterOpenApiOperation")&&e.d(t,{AfterOpenApiOperation:function(){return p.AfterOpenApiOperation}}),e.o(p,"AfterOpenApiTitle")&&e.d(t,{AfterOpenApiTitle:function(){return p.AfterOpenApiTitle}}),e.o(p,"ArrowRightIcon")&&e.d(t,{ArrowRightIcon:function(){return p.ArrowRightIcon}}),e.o(p,"ArrowUpRightIcon")&&e.d(t,{ArrowUpRightIcon:function(){return p.ArrowUpRightIcon}}),e.o(p,"Badge")&&e.d(t,{Badge:function(){return p.Badge}}),e.o(p,"BeforeOpenApiOperation")&&e.d(t,{BeforeOpenApiOperation:function(){return p.BeforeOpenApiOperation}}),e.o(p,"BookmarkAddIcon")&&e.d(t,{BookmarkAddIcon:function(){return p.BookmarkAddIcon}}),e.o(p,"Button")&&e.d(t,{Button:function(){return p.Button}}),e.o(p,"CharacterIcon")&&e.d(t,{CharacterIcon:function(){return p.CharacterIcon}}),e.o(p,"CheckboxIcon")&&e.d(t,{CheckboxIcon:function(){return p.CheckboxIcon}}),e.o(p,"CheckmarkIcon")&&e.d(t,{CheckmarkIcon:function(){return p.CheckmarkIcon}}),e.o(p,"ChevronDownIcon")&&e.d(t,{ChevronDownIcon:function(){return p.ChevronDownIcon}}),e.o(p,"ChevronRightIcon")&&e.d(t,{ChevronRightIcon:function(){return p.ChevronRightIcon}}),e.o(p,"ChevronSortIcon")&&e.d(t,{ChevronSortIcon:function(){return p.ChevronSortIcon}}),e.o(p,"ChevronUpIcon")&&e.d(t,{ChevronUpIcon:function(){return p.ChevronUpIcon}}),e.o(p,"CircleDashIcon")&&e.d(t,{CircleDashIcon:function(){return p.CircleDashIcon}}),e.o(p,"CleanIcon")&&e.d(t,{CleanIcon:function(){return p.CleanIcon}}),e.o(p,"CloseFilledIcon")&&e.d(t,{CloseFilledIcon:function(){return p.CloseFilledIcon}}),e.o(p,"CloseIcon")&&e.d(t,{CloseIcon:function(){return p.CloseIcon}}),e.o(p,"CloseOutlineIcon")&&e.d(t,{CloseOutlineIcon:function(){return p.CloseOutlineIcon}}),e.o(p,"CloudUploadIcon")&&e.d(t,{CloudUploadIcon:function(){return p.CloudUploadIcon}}),e.o(p,"CodeBlock")&&e.d(t,{CodeBlock:function(){return p.CodeBlock}}),e.o(p,"CodeIcon")&&e.d(t,{CodeIcon:function(){return p.CodeIcon}}),e.o(p,"CookieIcon")&&e.d(t,{CookieIcon:function(){return p.CookieIcon}}),e.o(p,"CopyButton")&&e.d(t,{CopyButton:function(){return p.CopyButton}}),e.o(p,"DataFormatIcon")&&e.d(t,{DataFormatIcon:function(){return p.DataFormatIcon}}),e.o(p,"DocumentAddIcon")&&e.d(t,{DocumentAddIcon:function(){return p.DocumentAddIcon}}),e.o(p,"DocumentBlankIcon")&&e.d(t,{DocumentBlankIcon:function(){return p.DocumentBlankIcon}}),e.o(p,"DocumentIcon")&&e.d(t,{DocumentIcon:function(){return p.DocumentIcon}}),e.o(p,"DownloadIcon")&&e.d(t,{DownloadIcon:function(){return p.DownloadIcon}}),e.o(p,"Dropdown")&&e.d(t,{Dropdown:function(){return p.Dropdown}}),e.o(p,"DropdownMenu")&&e.d(t,{DropdownMenu:function(){return p.DropdownMenu}}),e.o(p,"DropdownMenuItem")&&e.d(t,{DropdownMenuItem:function(){return p.DropdownMenuItem}}),e.o(p,"EditIcon")&&e.d(t,{EditIcon:function(){return p.EditIcon}}),e.o(p,"EmailButton")&&e.d(t,{EmailButton:function(){return p.EmailButton}}),e.o(p,"ExportIcon")&&e.d(t,{ExportIcon:function(){return p.ExportIcon}}),e.o(p,"Feedback")&&e.d(t,{Feedback:function(){return p.Feedback}}),e.o(p,"FileIcon")&&e.d(t,{FileIcon:function(){return p.FileIcon}}),e.o(p,"FileStorageIcon")&&e.d(t,{FileStorageIcon:function(){return p.FileStorageIcon}}),e.o(p,"FolderAddIcon")&&e.d(t,{FolderAddIcon:function(){return p.FolderAddIcon}}),e.o(p,"FolderIcon")&&e.d(t,{FolderIcon:function(){return p.FolderIcon}}),e.o(p,"GlobalStyle")&&e.d(t,{GlobalStyle:function(){return p.GlobalStyle}}),e.o(p,"H1")&&e.d(t,{H1:function(){return p.H1}}),e.o(p,"H2")&&e.d(t,{H2:function(){return p.H2}}),e.o(p,"H3")&&e.d(t,{H3:function(){return p.H3}}),e.o(p,"H4")&&e.d(t,{H4:function(){return p.H4}}),e.o(p,"IBMCloudHyperProtectCryptoServicesIcon")&&e.d(t,{IBMCloudHyperProtectCryptoServicesIcon:function(){return p.IBMCloudHyperProtectCryptoServicesIcon}}),e.o(p,"IS_BROWSER")&&e.d(t,{IS_BROWSER:function(){return p.IS_BROWSER}}),e.o(p,"InformationIcon")&&e.d(t,{InformationIcon:function(){return p.InformationIcon}}),e.o(p,"JsonIcon")&&e.d(t,{JsonIcon:function(){return p.JsonIcon}}),e.o(p,"JsonViewer")&&e.d(t,{JsonViewer:function(){return p.JsonViewer}}),e.o(p,"LayoutVariant")&&e.d(t,{LayoutVariant:function(){return p.LayoutVariant}}),e.o(p,"LinkIcon")&&e.d(t,{LinkIcon:function(){return p.LinkIcon}}),e.o(p,"Loading")&&e.d(t,{Loading:function(){return p.Loading}}),e.o(p,"Markdown")&&e.d(t,{Markdown:function(){return p.Markdown}}),e.o(p,"MaximizeIcon")&&e.d(t,{MaximizeIcon:function(){return p.MaximizeIcon}}),e.o(p,"Menu")&&e.d(t,{Menu:function(){return p.Menu}}),e.o(p,"NewTabButton")&&e.d(t,{NewTabButton:function(){return p.NewTabButton}}),e.o(p,"OpenApiFooter")&&e.d(t,{OpenApiFooter:function(){return p.OpenApiFooter}}),e.o(p,"OpenApiHeader")&&e.d(t,{OpenApiHeader:function(){return p.OpenApiHeader}}),e.o(p,"OverflowMenuVerticalIcon")&&e.d(t,{OverflowMenuVerticalIcon:function(){return p.OverflowMenuVerticalIcon}}),e.o(p,"Panel")&&e.d(t,{Panel:function(){return p.Panel}}),e.o(p,"PanelBody")&&e.d(t,{PanelBody:function(){return p.PanelBody}}),e.o(p,"PanelHeader")&&e.d(t,{PanelHeader:function(){return p.PanelHeader}}),e.o(p,"PanelHeaderTitle")&&e.d(t,{PanelHeaderTitle:function(){return p.PanelHeaderTitle}}),e.o(p,"Portal")&&e.d(t,{Portal:function(){return p.Portal}}),e.o(p,"RestartIcon")&&e.d(t,{RestartIcon:function(){return p.RestartIcon}}),e.o(p,"RocketIcon")&&e.d(t,{RocketIcon:function(){return p.RocketIcon}}),e.o(p,"SaveIcon")&&e.d(t,{SaveIcon:function(){return p.SaveIcon}}),e.o(p,"SearchIcon")&&e.d(t,{SearchIcon:function(){return p.SearchIcon}}),e.o(p,"SecurityIcon")&&e.d(t,{SecurityIcon:function(){return p.SecurityIcon}}),e.o(p,"Segmented")&&e.d(t,{Segmented:function(){return p.Segmented}}),e.o(p,"Select")&&e.d(t,{Select:function(){return p.Select}}),e.o(p,"SidePanelCloseIcon")&&e.d(t,{SidePanelCloseIcon:function(){return p.SidePanelCloseIcon}}),e.o(p,"SidePanelOpenIcon")&&e.d(t,{SidePanelOpenIcon:function(){return p.SidePanelOpenIcon}}),e.o(p,"SidebarActions")&&e.d(t,{SidebarActions:function(){return p.SidebarActions}}),e.o(p,"SidebarLogo")&&e.d(t,{SidebarLogo:function(){return p.SidebarLogo}}),e.o(p,"Spinner")&&e.d(t,{Spinner:function(){return p.Spinner}}),e.o(p,"SpinnerIcon")&&e.d(t,{SpinnerIcon:function(){return p.SpinnerIcon}}),e.o(p,"StatusCode")&&e.d(t,{StatusCode:function(){return p.StatusCode}}),e.o(p,"Switch")&&e.d(t,{Switch:function(){return p.Switch}}),e.o(p,"TableBuiltIcon")&&e.d(t,{TableBuiltIcon:function(){return p.TableBuiltIcon}}),e.o(p,"Tag")&&e.d(t,{Tag:function(){return p.Tag}}),e.o(p,"ThreePanelLayout")&&e.d(t,{ThreePanelLayout:function(){return p.ThreePanelLayout}}),e.o(p,"TimeIcon")&&e.d(t,{TimeIcon:function(){return p.TimeIcon}}),e.o(p,"TrashCanIcon")&&e.d(t,{TrashCanIcon:function(){return p.TrashCanIcon}}),e.o(p,"Typography")&&e.d(t,{Typography:function(){return p.Typography}}),e.o(p,"ValueVariableIcon")&&e.d(t,{ValueVariableIcon:function(){return p.ValueVariableIcon}}),e.o(p,"ViewIcon")&&e.d(t,{ViewIcon:function(){return p.ViewIcon}}),e.o(p,"ViewOffIcon")&&e.d(t,{ViewOffIcon:function(){return p.ViewOffIcon}}),e.o(p,"WarningFilledIcon")&&e.d(t,{WarningFilledIcon:function(){return p.WarningFilledIcon}}),e.o(p,"addLeadingSlash")&&e.d(t,{addLeadingSlash:function(){return p.addLeadingSlash}}),e.o(p,"addTrailingSlash")&&e.d(t,{addTrailingSlash:function(){return p.addTrailingSlash}}),e.o(p,"breakpoints")&&e.d(t,{breakpoints:function(){return p.breakpoints}}),e.o(p,"isNotNull")&&e.d(t,{isNotNull:function(){return p.isNotNull}}),e.o(p,"isObject")&&e.d(t,{isObject:function(){return p.isObject}}),e.o(p,"isPrimitive")&&e.d(t,{isPrimitive:function(){return p.isPrimitive}}),e.o(p,"isString")&&e.d(t,{isString:function(){return p.isString}}),e.o(p,"isUndefined")&&e.d(t,{isUndefined:function(){return p.isUndefined}}),e.o(p,"markdownLinksCss")&&e.d(t,{markdownLinksCss:function(){return p.markdownLinksCss}}),e.o(p,"removeLeadingSlash")&&e.d(t,{removeLeadingSlash:function(){return p.removeLeadingSlash}});var h=e(36958),d=e(91117)},91117:(g,t,e)=>{"use strict";e.d(t,{zy:()=>ze});var n=e(9448);const f=(0,n.AH)`
3735
3735
  --scorecard-level-color-5-2: var(--color-persian-green-7);
3736
3736
  --scorecard-level-color-5-3: var(--color-persian-green-6);
3737
3737
  --scorecard-level-color-5-4: var(--color-persian-green-5);
@@ -10907,4 +10907,4 @@ Error generating stack: `+le.message+`
10907
10907
  `,sh=({pointer:R,schema:N})=>{const{options:U,parser:he}=useAtomValue(globalStoreAtom),Ge=N||{$ref:R},lt=getSchema({parser:he,schemaOrRef:Ge,pointer:R||"",options:U,deps:{operation:{pointer:"RedocSchema"}}});return jsx(Row,{children:jsx(FullWidthPanel,{children:jsx(Schema,{schema:lt,level:1,disableDeepLinks:!0})})})},lh=({pointer:R,mimeType:N,encoding:U})=>{const he=useAtomValue(globalParserAtom),Ge=useAtomValue(layoutAtom),lt=getExamples({parser:he,infoOrRef:{$ref:R},mime:N,encoding:U});return jsx(Row,{layout:Ge,children:jsx(ExamplesWrap,{children:jsx(Example,{example:lt,mimeType:N})})})},Km=F.Ay.div`
10908
10908
  padding: 20px;
10909
10909
  color: red;
10910
- `;class ch extends o.Component{constructor(N){super(N),this.state={error:void 0}}componentDidCatch(N){return this.setState({error:N}),!1}render(){return this.state.error?(0,g.jsxs)(Km,{children:[(0,g.jsx)("h1",{children:"Something went wrong..."}),(0,g.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,g.jsx)("p",{children:(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Stack trace"}),(0,g.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,g.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,g.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,g.jsx)(g.Fragment,{children:o.Children.only(this.props.children)})}}var km=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Gm=Object.prototype.hasOwnProperty,Zm=Object.prototype.propertyIsEnumerable,Uf=(R,N,U)=>N in R?km(R,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):R[N]=U,zf=(R,N)=>{for(var U in N||(N={}))Gm.call(N,U)&&Uf(R,U,N[U]);if(Nf)for(var U of Nf(N))Zm.call(N,U)&&Uf(R,U,N[U]);return R};const Wf=(0,M.JA)(),Ym=Wf?(0,x.dirname)(Wf)+"/":"";function Jm(R){const N={},U=R.attributes;for(let he=0;he<U.length;he++){const Ge=U[he];N[Ge.name]=Ge.value}return N}function Xm(R){const N=Jm(R),U={};for(const he in N){const Ge=he.replace(/-(.)/g,(lt,jt)=>jt.toUpperCase());U[Ge]=N[he]}return U}function Qm(R,N=document.querySelector("redoc")){(0,a.c)(N,(0,g.jsx)(Ff,{store:R}))}function Hf(R,N={},U=(0,M.iT)("redoc")){if(U===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let he,Ge;typeof R=="string"?he=R:typeof R=="object"&&(Ge=R),(0,a.H)(U).render((0,o.createElement)(Hm,{definition:Ge,definitionUrl:he,options:zf(zf({},N),Xm(U))},["Loading..."]))}function Vf(R){pr.p=R}const qm="3.5.1",_m="6c1932128f";function eh(){const R=(0,M.iT)("redoc");if(!R)return;const N=R.getAttribute("spec-url");N&&Hf(N,{},R)}l.IS_BROWSER&&Vf(Ym),eh()})(),Sd})());
10910
+ `;class ch extends o.Component{constructor(N){super(N),this.state={error:void 0}}componentDidCatch(N){return this.setState({error:N}),!1}render(){return this.state.error?(0,g.jsxs)(Km,{children:[(0,g.jsx)("h1",{children:"Something went wrong..."}),(0,g.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,g.jsx)("p",{children:(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Stack trace"}),(0,g.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,g.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,g.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,g.jsx)(g.Fragment,{children:o.Children.only(this.props.children)})}}var km=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Gm=Object.prototype.hasOwnProperty,Zm=Object.prototype.propertyIsEnumerable,Uf=(R,N,U)=>N in R?km(R,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):R[N]=U,zf=(R,N)=>{for(var U in N||(N={}))Gm.call(N,U)&&Uf(R,U,N[U]);if(Nf)for(var U of Nf(N))Zm.call(N,U)&&Uf(R,U,N[U]);return R};const Wf=(0,M.JA)(),Ym=Wf?(0,x.dirname)(Wf)+"/":"";function Jm(R){const N={},U=R.attributes;for(let he=0;he<U.length;he++){const Ge=U[he];N[Ge.name]=Ge.value}return N}function Xm(R){const N=Jm(R),U={};for(const he in N){const Ge=he.replace(/-(.)/g,(lt,jt)=>jt.toUpperCase());U[Ge]=N[he]}return U}function Qm(R,N=document.querySelector("redoc")){(0,a.c)(N,(0,g.jsx)(Ff,{store:R}))}function Hf(R,N={},U=(0,M.iT)("redoc")){if(U===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let he,Ge;typeof R=="string"?he=R:typeof R=="object"&&(Ge=R),(0,a.H)(U).render((0,o.createElement)(Hm,{definition:Ge,definitionUrl:he,options:zf(zf({},N),Xm(U))},["Loading..."]))}function Vf(R){pr.p=R}const qm="3.5.2",_m="d69c1c6639";function eh(){const R=(0,M.iT)("redoc");if(!R)return;const N=R.getAttribute("spec-url");N&&Hf(N,{},R)}l.IS_BROWSER&&Vf(Ym),eh()})(),Sd})());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/openapi-docs",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "Redocly OpenAPI Docs",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -45,7 +45,7 @@
45
45
  "url-template": "^2.0.8",
46
46
  "util": "~0.12.5",
47
47
  "@redocly/config": "0.17.0",
48
- "@redocly/replay": "0.8.0"
48
+ "@redocly/replay": "0.8.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/jest-dom": "6.1.5",
@@ -93,7 +93,7 @@
93
93
  "webpack": "5.94.0",
94
94
  "webpack-cli": "5.1.4",
95
95
  "webpack-dev-server": "5.1.0",
96
- "@redocly/theme": "0.45.7"
96
+ "@redocly/theme": "0.45.8"
97
97
  },
98
98
  "scripts": {
99
99
  "start": "webpack serve --mode=development --hot",