");const i=w?w.createHTML(e):e;if(ye===ge)try{t=(new f).parseFromString(i,Ee)}catch(e){}if(!t||!t.documentElement){t=S.createDocument(ye,"template",null);try{t.documentElement.innerHTML=be?k:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ye===ge?_.call(t,K?"html":"body")[0]:K?t.documentElement:o},Le=function(e){return E.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},De=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Me=function(e){return"function"==typeof l&&e instanceof l};function ze(e,t,r){Wf(e,(e=>{e.call(n,t,r,Ae)}))}const Fe=function(e){let t=null;if(ze(j.beforeSanitizeElements,e,null),De(e))return Re(e),!0;const r=_e(e.nodeName);if(ze(j.uponSanitizeElement,e,{tagName:r,allowedTags:M}),e.hasChildNodes()&&!Me(e.firstElementChild)&&rh(/<[/\w]/g,e.innerHTML)&&rh(/<[/\w]/g,e.textContent))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;if(X&&8===e.nodeType&&rh(/<[/\w]/g,e.data))return Re(e),!0;if(!M[r]||q[r]){if(!q[r]&&Be(r)){if(B.tagNameCheck instanceof RegExp&&rh(B.tagNameCheck,r))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(r))return!1}if(oe&&!le[r]){const t=x(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Re(e),!0}return e instanceof c&&!function(e){let t=x(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=Xf(e.tagName),r=Xf(t.tagName);return!!ve[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(Te[n]):e.namespaceURI===he?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Ie[n]):e.namespaceURI===ge?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===he&&!we[r])&&!Ie[n]&&(Se[n]||!Te[n]):!("application/xhtml+xml"!==Ee||!ve[e.namespaceURI]))}(e)?(Re(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!rh(/<\/no(script|embed|frames)/i,e.innerHTML)?(G&&3===e.nodeType&&(t=e.textContent,Wf([C,P,T],(e=>{t=Jf(t,e," ")})),e.textContent!==t&&(Qf(n.removed,{element:e.cloneNode()}),e.textContent=t)),ze(j.afterSanitizeElements,e,null),!1):(Re(e),!0)},Ue=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in r||n in je))return!1;if(H&&!V[t]&&rh(I,t));else if(W&&rh(R,t));else if(!F[t]||V[t]){if(!(Be(e)&&(B.tagNameCheck instanceof RegExp&&rh(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&rh(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&rh(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(de[t]);else if(rh(D,Jf(n,$,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==eh(n,"data:")||!ue[e])if(Y&&!rh(N,Jf(n,$,"")));else if(n)return!1;return!0},Be=function(e){return"annotation-xml"!==e&&Zf(e,L)},qe=function(e){ze(j.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||De(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=_e(a);let u="value"===a?l:th(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,ze(j.uponSanitizeAttribute,e,r),u=r.attrValue,!ie||"id"!==c&&"name"!==c||(Ne(a,e),u="user-content-"+u),X&&rh(/((--!?|])>)|<\/(style|title)/i,u)){Ne(a,e);continue}if(r.forceKeepAttr)continue;if(Ne(a,e),!r.keepAttr)continue;if(!Q&&rh(/\/>/i,u)){Ne(a,e);continue}G&&Wf([C,P,T],(e=>{u=Jf(u,e," ")}));const p=_e(e.nodeName);if(Ue(p,c,u)){if(w&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(p,c)){case"TrustedHTML":u=w.createHTML(u);break;case"TrustedScriptURL":u=w.createScriptURL(u)}try{s?e.setAttributeNS(s,a,u):e.setAttribute(a,u),De(e)?Re(e):Yf(n.removed)}catch(e){}}}ze(j.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const r=Le(t);for(ze(j.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)ze(j.uponSanitizeShadowNode,n,null),Fe(n),qe(n),n.content instanceof a&&e(n.content);ze(j.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Me(e)){if("function"!=typeof e.toString)throw ih("toString is not a function");if("string"!=typeof(e=e.toString()))throw ih("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Pe(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=_e(e.nodeName);if(!M[t]||q[t])throw ih("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=$e("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!ee&&!G&&!K&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(r=$e(e),!r)return ee?null:ne?k:""}r&&J&&Re(r.firstChild);const u=Le(ae?e:r);for(;s=u.nextNode();)Fe(s),qe(s),s.content instanceof a&&Ve(s.content);if(ae)return e;if(ee){if(te)for(c=O.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(F.shadowroot||F.shadowrootmode)&&(c=A.call(i,c,!0)),c}let p=K?r.outerHTML:r.innerHTML;return K&&M["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&rh(Ph,r.ownerDocument.doctype.name)&&(p="\n"+p),G&&Wf([C,P,T],(e=>{p=Jf(p,e," ")})),w&&ne?w.createHTML(p):p},n.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Ae=null,Z=!1},n.isValidAttribute=function(e,t,n){Ae||Pe({});const r=_e(e),i=_e(t);return Ue(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Qf(j[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Hf(j[e],t);return-1===n?void 0:Gf(j[e],n,1)[0]}return Yf(j[e])},n.removeHooks=function(e){j[e]=[]},n.removeAllHooks=function(){j={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const $h=ma` a { text-decoration: ${e=>e.theme.typography.links.textDecoration}; color: ${e=>e.theme.typography.links.color}; &:visited { color: ${e=>e.theme.typography.links.visited}; } &:hover { color: ${e=>e.theme.typography.links.hover}; text-decoration: ${e=>e.theme.typography.links.hoverTextDecoration}; } } `,Lh=xa(Qp)` font-family: ${e=>e.theme.typography.fontFamily}; font-weight: ${e=>e.theme.typography.fontWeightRegular}; line-height: ${e=>e.theme.typography.lineHeight}; p { &:last-child { margin-bottom: 0; } } ${({$compact:e})=>e&&"\n p:first-child {\n margin-top: 0;\n }\n p:last-child {\n margin-bottom: 0;\n }\n "} ${({$inline:e})=>e&&" p {\n display: inline-block;\n }"} h1 { ${Uu(1)}; color: ${e=>e.theme.colors.primary.main}; margin-top: 0; } h2 { ${Uu(2)}; color: ${e=>e.theme.colors.text.primary}; } code { color: ${({theme:e})=>e.typography.code.color}; background-color: ${({theme:e})=>e.typography.code.backgroundColor}; font-family: ${e=>e.theme.typography.code.fontFamily}; border-radius: 2px; border: 1px solid rgba(38, 50, 56, 0.1); padding: 0 ${({theme:e})=>e.spacing.unit}px; font-size: ${e=>e.theme.typography.code.fontSize}; font-weight: ${({theme:e})=>e.typography.code.fontWeight}; word-break: break-word; } pre { font-family: ${e=>e.theme.typography.code.fontFamily}; white-space: ${({theme:e})=>e.typography.code.wrap?"pre-wrap":"pre"}; background-color: ${({theme:e})=>e.codeBlock.backgroundColor}; color: white; padding: ${e=>4*e.theme.spacing.unit}px; overflow-x: auto; line-height: normal; border-radius: 0; border: 1px solid rgba(38, 50, 56, 0.1); code { background-color: transparent; color: white; padding: 0; &:before, &:after { content: none; } } } blockquote { margin: 0; margin-bottom: 1em; padding: 0 15px; color: #777; border-left: 4px solid #ddd; } img { max-width: 100%; box-sizing: content-box; } ul, ol { padding-left: 2em; margin: 0; margin-bottom: 1em; ul, ol { margin-bottom: 0; margin-top: 0; } } table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; border-collapse: collapse; border-spacing: 0; margin-top: 1.5em; margin-bottom: 1.5em; } table tr { background-color: #fff; border-top: 1px solid #ccc; &:nth-child(2n) { background-color: ${({theme:e})=>e.schema.nestedBackground}; } } table th, table td { padding: 6px 13px; border: 1px solid #ddd; } table th { text-align: left; font-weight: bold; } ${Ku(".share-link")}; ${$h} ${wa("Markdown")}; `;var Dh=Object.defineProperty,Mh=Object.defineProperties,zh=Object.getOwnPropertyDescriptors,Fh=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,qh=(e,t,n)=>t in e?Dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Vh=Nh,Wh=fa(Lh)` display: inline; `,Hh=(e,t)=>e?Vh.sanitize(t):t;function Yh(e){var t=e,{inline:r,compact:i}=t,o=((e,t)=>{var n={};for(var r in e)Uh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Fh)for(var r of Fh(e))t.indexOf(r)<0&&Bh.call(e,r)&&(n[r]=e[r]);return n})(t,["inline","compact"]);const a=r?Wh:Lh;return n.createElement(Ta,null,(e=>n.createElement(a,((e,t)=>Mh(e,zh(t)))(((e,t)=>{for(var n in t||(t={}))Uh.call(t,n)&&qh(e,n,t[n]);if(Fh)for(var n of Fh(t))Bh.call(t,n)&&qh(e,n,t[n]);return e})({className:"redoc-markdown "+(o.className||""),dangerouslySetInnerHTML:{__html:Hh(e.sanitize,o.html)},"data-role":o["data-role"]},o),{$inline:r,$compact:i}))))}class Qh extends n.Component{render(){const{source:e,inline:t,compact:r,className:i,"data-role":o}=this.props,a=new Ul;return n.createElement(Yh,{html:a.renderMd(e),inline:t,compact:r,className:i,"data-role":o})}}const Gh=xa.div` position: relative; `,Xh=xa.div` position: absolute; min-width: 80px; max-width: 500px; background: #fff; bottom: 100%; left: 50%; margin-bottom: 10px; transform: translateX(-50%); border-radius: 4px; padding: 0.3em 0.6em; text-align: center; box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1); `,Kh=xa.div` background: #fff; color: #000; display: inline; font-size: 0.85em; white-space: nowrap; `,Zh=xa.div` position: absolute; width: 0; height: 0; bottom: -5px; left: 50%; margin-left: -5px; border-left: solid transparent 5px; border-right: solid transparent 5px; border-top: solid #fff 5px; `,Jh=xa.div` position: absolute; width: 100%; height: 20px; bottom: -20px; `;class em extends n.Component{render(){const{open:e,title:t,children:r}=this.props;return n.createElement(Gh,null,r,e&&n.createElement(Xh,null,n.createElement(Kh,null,t),n.createElement(Zh,null),n.createElement(Jh,null)))}}const tm="undefined"!=typeof document&&document.queryCommandSupported&&document.queryCommandSupported("copy");class nm{static isSupported(){return tm}static selectElement(e){let t,n;document.body.createTextRange?(t=document.body.createTextRange(),t.moveToElementText(e),t.select()):document.createRange&&window.getSelection&&(n=window.getSelection(),t=document.createRange(),t.selectNodeContents(e),n.removeAllRanges(),n.addRange(t))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const e=window.getSelection();e&&e.removeAllRanges()}}static copySelected(){let e;try{e=document.execCommand("copy")}catch(t){e=!1}return e}static copyElement(e){nm.selectElement(e);const t=nm.copySelected();return t&&nm.deselect(),t}static copyCustom(e){const t=document.createElement("textarea");t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.width="2em",t.style.height="2em",t.style.padding="0",t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=e,document.body.appendChild(t),t.select();const n=nm.copySelected();return document.body.removeChild(t),n}}const rm=e=>{const[t,r]=n.useState(!1),i=()=>{const t="string"==typeof e.data?e.data:JSON.stringify(e.data,null,2);nm.copyCustom(t),o()},o=()=>{r(!0),setTimeout((()=>{r(!1)}),1500)};return e.children({renderCopyButton:()=>n.createElement("button",{onClick:i},n.createElement(em,{title:nm.isSupported()?"Copied":"Not supported in your browser",open:t},"Copy"))})};let im=1;function om(e,t){im=1;let n="";return n+='

',n+="",n+=um(e,t),n+="",n+="

",n}function am(e){return void 0!==e?e.toString().replace(/&/g,"&").replace(/"/g,""").replace(//g,">"):""}function sm(e){return JSON.stringify(e).slice(1,-1)}function lm(e,t){return''+am(e)+""}function cm(e){return''+e+""}function um(e,t){const n=typeof e;let r="";return null==e?r+=lm("null","token keyword"):e&&e.constructor===Array?(im++,r+=function(e,t){const n=im>t?"collapsed":"";let r=`${cm("[")}