@scalar/api-reference 1.13.17 → 1.13.18
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.
|
@@ -23,4 +23,4 @@ function RM(e){return null==e}var DM={isNothing:RM,isObject:function(e){return"o
|
|
|
23
23
|
!function(e,t){!function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function s(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",u=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");n(r+t(r,o,"[\\+\\-\\.]")+"*"),n(n(a+"|"+t(u,s,"[\\:]"))+"*");var d=n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o),p=n(d+"\\."+d+"\\."+d+"\\."+d),f=n(i+"{1,4}"),h=n(n(f+"\\:"+f)+"|"+p),m=n(n(f+"\\:")+"{6}"+h),g=n("\\:\\:"+n(f+"\\:")+"{5}"+h),O=n(n(f)+"?\\:\\:"+n(f+"\\:")+"{4}"+h),y=n(n(n(f+"\\:")+"{0,1}"+f)+"?\\:\\:"+n(f+"\\:")+"{3}"+h),b=n(n(n(f+"\\:")+"{0,2}"+f)+"?\\:\\:"+n(f+"\\:")+"{2}"+h),v=n(n(n(f+"\\:")+"{0,3}"+f)+"?\\:\\:"+f+"\\:"+h),w=n(n(n(f+"\\:")+"{0,4}"+f)+"?\\:\\:"+h),S=n(n(n(f+"\\:")+"{0,5}"+f)+"?\\:\\:"+f),x=n(n(n(f+"\\:")+"{0,6}"+f)+"?\\:\\:"),k=n([m,g,O,y,b,v,w,S,x].join("|")),$=n(n(u+"|"+a)+"+");n("[vV]"+i+"+\\."+t(u,s,"[\\:]")+"+"),n(n(a+"|"+t(u,s))+"*");var P=n(a+"|"+t(u,s,"[\\:\\@]"));return n(n(a+"|"+t(u,s,"[\\@]"))+"+"),n(n(P+"|"+t("[\\/\\?]",c))+"*"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,l),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+k+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+$+")")+"?\\]?$")}}var l=s(!1),c=s(!0),u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},p=2147483647,f=36,h=1,m=26,g=38,O=700,y=72,b=128,v="-",w=/^xn--/,S=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},$=f-h,P=Math.floor,_=String.fromCharCode;function T(e){throw new RangeError(k[e])}function E(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function Q(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(x,".")).split("."),t).join(".")}function C(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var A=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:f},R=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},D=function(e,t,n){var r=0;for(e=n?P(e/O):e>>1,e+=P(e/t);e>$*m>>1;r+=f)e=P(e/$);return P(r+($+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=y,a=e.lastIndexOf(v);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&T("not-basic"),t.push(e.charCodeAt(s));for(var l=a>0?a+1:0;l<n;){for(var c=r,u=1,d=f;;d+=f){l>=n&&T("invalid-input");var g=A(e.charCodeAt(l++));(g>=f||g>P((p-r)/u))&&T("overflow"),r+=g*u;var O=d<=i?h:d>=i+m?m:d-i;if(g<O)break;var w=f-O;u>P(p/w)&&T("overflow"),u*=w}var S=t.length+1;i=D(r-c,S,0==c),P(r/S)>p-o&&T("overflow"),o+=P(r/S),r%=S,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},j=function(e){var t=[],n=(e=C(e)).length,r=b,o=0,i=y,a=!0,s=!1,l=void 0;try{for(var c,u=e[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var d=c.value;d<128&&t.push(_(d))}}catch(z){s=!0,l=z}finally{try{!a&&u.return&&u.return()}finally{if(s)throw l}}var g=t.length,O=g;for(g&&t.push(v);O<n;){var w=p,S=!0,x=!1,k=void 0;try{for(var $,E=e[Symbol.iterator]();!(S=($=E.next()).done);S=!0){var Q=$.value;Q>=r&&Q<w&&(w=Q)}}catch(z){x=!0,k=z}finally{try{!S&&E.return&&E.return()}finally{if(x)throw k}}var A=O+1;w-r>P((p-o)/A)&&T("overflow"),o+=(w-r)*A,r=w;var N=!0,j=!1,q=void 0;try{for(var I,U=e[Symbol.iterator]();!(N=(I=U.next()).done);N=!0){var M=I.value;if(M<r&&++o>p&&T("overflow"),M==r){for(var X=o,F=f;;F+=f){var Z=F<=i?h:F>=i+m?m:F-i;if(X<Z)break;var V=X-Z,L=f-Z;t.push(_(R(Z+V%L,0))),X=P(V/L)}t.push(_(R(X,0))),i=D(o,A,O==g),o=0,++O}}}catch(z){j=!0,q=z}finally{try{!N&&U.return&&U.return()}finally{if(j)throw q}}++o,++r}return t.join("")},q=function(e){return Q(e,(function(e){return w.test(e)?N(e.slice(4).toLowerCase()):e}))},I=function(e){return Q(e,(function(e){return S.test(e)?"xn--"+j(e):e}))},U={version:"2.1.0",ucs2:{decode:C,encode:function(e){return String.fromCodePoint.apply(String,d(e))}},decode:N,encode:j,toASCII:I,toUnicode:q},M={};function X(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function F(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function Z(e,t){function n(e){var n=F(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,X).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,X).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,X).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,X).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,X).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function L(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(V).join("."):e}function z(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],i=r[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=u(a,2),l=s[0],c=s[1],d=c?c.split(":").map(V):[],p=l.split(":").map(V),f=t.IPV4ADDRESS.test(p[p.length-1]),h=f?7:8,m=p.length-h,g=Array(h),O=0;O<h;++O)g[O]=d[O]||p[m+O]||"";f&&(g[h-1]=L(g[h-1],t));var y=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var v=g.slice(0,y.index),w=g.slice(y.index+y.length);b=v.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,B=void 0==="".match(/(){0}/)[1];function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:l;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(W);if(o){B?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=z(L(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=M[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)Z(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=U.toASCII(n.host.replace(r.PCT_ENCODED,F).toLowerCase())}catch(Oc){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+Oc}Z(n,l)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function H(e,t){var n=!1!==t.iri?c:l,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(z(L(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,K=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(K))e=e.replace(K,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:l,r=[],o=M[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?U.toUnicode(e.host):U.toASCII(e.host.replace(n.PCT_ENCODED,F).toLowerCase())}catch(Oc){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+Oc}Z(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=H(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),r.push(a)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=Y(ne(e,n),n),t=Y(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=a({scheme:"null"},n);return ne(re(Y(e,r),Y(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(Y(e,t),t):"object"===r(e)&&(e=Y(ne(e,t),t)),e}function ae(e,t,n){return"string"==typeof e?e=ne(Y(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(Y(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:l.ESCAPE,X)}function le(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:l.PCT_ENCODED,F)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},ue={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function de(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=de(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(de(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=u(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},fe={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},he={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",Oe=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ye="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ve="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Se=new RegExp(Oe,"g"),xe=new RegExp(t("[^]",ye,"[\\.]",'[\\"]',be),"g"),ke=new RegExp(t("[^]",me,ve),"g"),$e=ke;function Pe(e){var t=F(e);return t.match(we)?t:e}var _e={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},a=n.query.split("&"),s=0,l=a.length;s<l;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var u=c[1].split(","),d=0,p=u.length;d<p;++d)r.push(u[d]);break;case"subject":n.subject=le(c[1],t);break;case"body":n.body=le(c[1],t);break;default:o=!0,i[le(c[0],t)]=le(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var f=0,h=r.length;f<h;++f){var m=r[f].split("@");if(m[0]=le(m[0]),t.unicodeSupport)m[1]=le(m[1],t).toLowerCase();else try{m[1]=U.toASCII(le(m[1],t).toLowerCase())}catch(Oc){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+Oc}r[f]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var a=0,s=r.length;a<s;++a){var l=String(r[a]),c=l.lastIndexOf("@"),u=l.slice(0,c).replace(Se,Pe).replace(Se,o).replace(xe,X),d=l.slice(c+1);try{d=t.iri?U.toUnicode(d):U.toASCII(le(d,t).toLowerCase())}catch(Oc){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+Oc}r[a]=u+"@"+d}n.path=r.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var f=[];for(var h in p)p[h]!==he[h]&&f.push(h.replace(Se,Pe).replace(Se,o).replace(ke,X)+"="+p[h].replace(Se,Pe).replace(Se,o).replace($e,X));return f.length&&(n.query=f.join("&")),n}},Te=/^([^\:]+)\:(.*)/,Ee={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Te),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),a=n[2],s=o+":"+(t.nid||i),l=M[s];r.nid=i,r.nss=a,r.path=void 0,l&&(r=l.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=M[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(r||t.nid)+":"+s,a}},Qe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ce={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Qe)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};M[ce.scheme]=ce,M[ue.scheme]=ue,M[pe.scheme]=pe,M[fe.scheme]=fe,M[_e.scheme]=_e,M[Ee.scheme]=Ee,M[Ce.scheme]=Ce,e.SCHEMES=M,e.pctEncChar=X,e.pctDecChars=F,e.parse=Y,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=le,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,kY.exports);var $Y=kY.exports;Object.defineProperty(xY,"__esModule",{value:!0});const PY=$Y;PY.code='require("ajv/dist/runtime/uri").default',xY.default=PY,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=gW;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=bW;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const r=tY,o=rY,i=AW,a=aY,s=bW,l=sB,c=CW,u=SW,d=SY,p=xY,f=(e,t)=>new RegExp(e,t);f.code="new RegExp";const h=["removeAdditional","useDefaults","coerceTypes"],m=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},O={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function y(e){var t,n,r,o,i,a,s,l,c,u,d,h,m,g,O,y,b,v,w,S,x,k,$,P,_;const T=e.strict,E=null===(t=e.code)||void 0===t?void 0:t.optimize,Q=!0===E||void 0===E?1:E||0,C=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:f,A=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(a=null!==(i=e.strictSchema)&&void 0!==i?i:T)||void 0===a||a,strictNumbers:null===(l=null!==(s=e.strictNumbers)&&void 0!==s?s:T)||void 0===l||l,strictTypes:null!==(u=null!==(c=e.strictTypes)&&void 0!==c?c:T)&&void 0!==u?u:"log",strictTuples:null!==(h=null!==(d=e.strictTuples)&&void 0!==d?d:T)&&void 0!==h?h:"log",strictRequired:null!==(g=null!==(m=e.strictRequired)&&void 0!==m?m:T)&&void 0!==g&&g,code:e.code?{...e.code,optimize:Q,regExp:C}:{optimize:Q,regExp:C},loopRequired:null!==(O=e.loopRequired)&&void 0!==O?O:200,loopEnum:null!==(y=e.loopEnum)&&void 0!==y?y:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(v=e.messages)||void 0===v||v,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(S=e.schemaId)&&void 0!==S?S:"$id",addUsedSchema:null===(x=e.addUsedSchema)||void 0===x||x,validateSchema:null===(k=e.validateSchema)||void 0===k||k,validateFormats:null===($=e.validateFormats)||void 0===$||$,unicodeRegExp:null===(P=e.unicodeRegExp)||void 0===P||P,int32range:null===(_=e.int32range)||void 0===_||_,uriResolver:A}}class b{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...y(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:m,es5:t,lines:n}),this.logger=function(e){if(!1===e)return P;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,i.getRules)(),v.call(this,g,e,"NOT SUPPORTED"),v.call(this,O,e,"DEPRECATED","warn"),this._metaOpts=$.call(this),e.formats&&x.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&k.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),S.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=d;"id"===n&&(r={...d},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await i.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||a.call(this,n)}async function i(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(Oc){if(!(Oc instanceof o.default))throw Oc;return s.call(this,Oc),await l.call(this,Oc.missingSchema),a.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await c.call(this,e);this.refs[e]||await i.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=w.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new a.SchemaEnv({schema:{},schemaId:n});if(t=a.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=w.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(T.call(this,n,t),!t)return(0,u.eachItem)(n,(e=>E.call(this,e))),this;C.call(this,t);const r={...t,type:(0,c.getJSONTypes)(t.type),schemaType:(0,c.getJSONTypes)(t.schemaType)};return(0,u.eachItem)(n,0===r.type.length?e=>E.call(this,e,r):e=>r.type.forEach((t=>E.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=R(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let c=this._cache.get(e);if(void 0!==c)return c;n=(0,l.normalizeId)(i||n);const u=l.getSchemaRefs.call(this,e,n);return c=new a.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:u}),this._cache.set(c.schema,c),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=c),r&&this.validateSchema(e,!0),c}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):a.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}}function v(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function w(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function S(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function x(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function k(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function $(){const e={...this.opts};for(const t of h)delete e[t];return e}e.default=b,b.ValidationError=r.default,b.MissingRefError=o.default;const P={log(){},warn(){},error(){}};const _=/^[a-z_$][a-z0-9_$:-]*$/i;function T(e,t){const{RULES:n}=this;if((0,u.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!_.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function E(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let a=o?i.post:i.rules.find((({type:e})=>e===n));if(a||(a={type:n,rules:[]},i.rules.push(a)),i.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,c.getJSONTypes)(t.type),schemaType:(0,c.getJSONTypes)(t.schemaType)}};t.before?Q.call(this,a,s,t.before):a.rules.push(s),i.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function Q(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function C(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=R(t)),e.validateSchema=this.compile(t,!0))}const A={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function R(e){return{anyOf:[e,A]}}}(mW);var _Y={},TY={},EY={};Object.defineProperty(EY,"__esModule",{value:!0}),EY.callRef=EY.getValidate=void 0;const QY=rY,CY=FW,AY=bW,RY=xW,DY=aY,NY=SW,jY={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:r}=e,{baseId:o,schemaEnv:i,validateName:a,opts:s,self:l}=r,{root:c}=i;if(("#"===n||"#/"===n)&&o===c.baseId)return function(){if(i===c)return IY(e,a,i,i.$async);const n=t.scopeValue("root",{ref:c});return IY(e,AY._`${n}.validate`,c,c.$async)}();const u=DY.resolveRef.call(l,c,o,n);if(void 0===u)throw new QY.default(r.opts.uriResolver,o,n);return u instanceof DY.SchemaEnv?function(t){const n=qY(e,t);IY(e,n,t,t.$async)}(u):function(r){const o=t.scopeValue("schema",!0===s.code.source?{ref:r,code:(0,AY.stringify)(r)}:{ref:r}),i=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:AY.nil,topSchemaRef:o,errSchemaPath:n},i);e.mergeEvaluated(a),e.ok(i)}(u)}};function qY(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):AY._`${n.scopeValue("wrapper",{ref:t})}.validate`}function IY(e,t,n,r){const{gen:o,it:i}=e,{allErrors:a,schemaEnv:s,opts:l}=i,c=l.passContext?RY.default.this:AY.nil;function u(e){const t=AY._`${e}.errors`;o.assign(RY.default.vErrors,AY._`${RY.default.vErrors} === null ? ${t} : ${RY.default.vErrors}.concat(${t})`),o.assign(RY.default.errors,AY._`${RY.default.vErrors}.length`)}function d(e){var t;if(!i.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==i.props)if(r&&!r.dynamicProps)void 0!==r.props&&(i.props=NY.mergeEvaluated.props(o,r.props,i.props));else{const t=o.var("props",AY._`${e}.evaluated.props`);i.props=NY.mergeEvaluated.props(o,t,i.props,AY.Name)}if(!0!==i.items)if(r&&!r.dynamicItems)void 0!==r.items&&(i.items=NY.mergeEvaluated.items(o,r.items,i.items));else{const t=o.var("items",AY._`${e}.evaluated.items`);i.items=NY.mergeEvaluated.items(o,t,i.items,AY.Name)}}r?function(){if(!s.$async)throw new Error("async schema referenced by sync schema");const n=o.let("valid");o.try((()=>{o.code(AY._`await ${(0,CY.callValidateCode)(e,t,c)}`),d(t),a||o.assign(n,!0)}),(e=>{o.if(AY._`!(${e} instanceof ${i.ValidationError})`,(()=>o.throw(e))),u(e),a||o.assign(n,!1)})),e.ok(n)}():e.result((0,CY.callValidateCode)(e,t,c),(()=>d(t)),(()=>u(t)))}EY.getValidate=qY,EY.callRef=IY,EY.default=jY,Object.defineProperty(TY,"__esModule",{value:!0});const UY=["$schema","id","$defs",{keyword:"$comment"},"definitions",EY.default];TY.default=UY;var MY={},XY={};Object.defineProperty(XY,"__esModule",{value:!0});const FY=mW,ZY=bW.operators,VY={maximum:{exclusive:"exclusiveMaximum",ops:[{okStr:"<=",ok:ZY.LTE,fail:ZY.GT},{okStr:"<",ok:ZY.LT,fail:ZY.GTE}]},minimum:{exclusive:"exclusiveMinimum",ops:[{okStr:">=",ok:ZY.GTE,fail:ZY.LT},{okStr:">",ok:ZY.GT,fail:ZY.LTE}]}},LY={message:e=>FY.str`must be ${WY(e).okStr} ${e.schemaCode}`,params:e=>FY._`{comparison: ${WY(e).okStr}, limit: ${e.schemaCode}}`},zY={keyword:Object.keys(VY),type:"number",schemaType:"number",$data:!0,error:LY,code(e){const{data:t,schemaCode:n}=e;e.fail$data(FY._`${t} ${WY(e).fail} ${n} || isNaN(${t})`)}};function WY(e){var t;const n=e.keyword,r=(null===(t=e.parentSchema)||void 0===t?void 0:t[VY[n].exclusive])?1:0;return VY[n].ops[r]}XY.default=zY;var BY={};Object.defineProperty(BY,"__esModule",{value:!0});const YY={exclusiveMaximum:"maximum",exclusiveMinimum:"minimum"},HY={keyword:Object.keys(YY),type:"number",schemaType:"boolean",code({keyword:e,parentSchema:t}){const n=YY[e];if(void 0===t[n])throw new Error(`${e} can only be used with ${n}`)}};BY.default=HY;var GY={};Object.defineProperty(GY,"__esModule",{value:!0});const KY=bW,JY={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>KY.str`must be multiple of ${e}`,params:({schemaCode:e})=>KY._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:r,it:o}=e,i=o.opts.multipleOfPrecision,a=t.let("res"),s=i?KY._`Math.abs(Math.round(${a}) - ${a}) > 1e-${i}`:KY._`${a} !== parseInt(${a})`;e.fail$data(KY._`(${r} === 0 || (${a} = ${n}/${r}, ${s}))`)}};GY.default=JY;var eH={},tH={};function nH(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(tH,"__esModule",{value:!0}),tH.default=nH,nH.code='require("ajv/dist/runtime/ucs2length").default',Object.defineProperty(eH,"__esModule",{value:!0});const rH=bW,oH=SW,iH=tH,aH={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>rH.str`must NOT have ${"maxLength"===e?"more":"fewer"} than ${t} characters`,params:({schemaCode:e})=>rH._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r,it:o}=e,i="maxLength"===t?rH.operators.GT:rH.operators.LT,a=!1===o.opts.unicode?rH._`${n}.length`:rH._`${(0,oH.useFunc)(e.gen,iH.default)}(${n})`;e.fail$data(rH._`${a} ${i} ${r}`)}};eH.default=aH;var sH={};Object.defineProperty(sH,"__esModule",{value:!0});const lH=FW,cH=bW,uH={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>cH.str`must match pattern "${e}"`,params:({schemaCode:e})=>cH._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:r,schemaCode:o,it:i}=e,a=i.opts.unicodeRegExp?"u":"",s=n?cH._`(new RegExp(${o}, ${a}))`:(0,lH.usePattern)(e,r);e.fail$data(cH._`!${s}.test(${t})`)}};sH.default=uH;var dH={};Object.defineProperty(dH,"__esModule",{value:!0});const pH=bW,fH={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>pH.str`must NOT have ${"maxProperties"===e?"more":"fewer"} than ${t} properties`,params:({schemaCode:e})=>pH._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxProperties"===t?pH.operators.GT:pH.operators.LT;e.fail$data(pH._`Object.keys(${n}).length ${o} ${r}`)}};dH.default=fH;var hH={};Object.defineProperty(hH,"__esModule",{value:!0});const mH=FW,gH=bW,OH=SW,yH={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>gH.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>gH._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:r,data:o,$data:i,it:a}=e,{opts:s}=a;if(!i&&0===n.length)return;const l=n.length>=s.loopRequired;if(a.allErrors?function(){if(l||i)e.block$data(gH.nil,c);else for(const t of n)(0,mH.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(l||i){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,r,(()=>{t.assign(i,(0,mH.propertyInData)(t,o,n,s.ownProperties)),t.if((0,gH.not)(i),(()=>{e.error(),t.break()}))}),gH.nil)}(a,n))),e.ok(n)}else t.if((0,mH.checkMissingProp)(e,n,a)),(0,mH.reportMissingProp)(e,a),t.else()}(),s.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=a.schemaEnv.baseId+a.errSchemaPath;(0,OH.checkStrictMode)(a,`required property "${e}" is not defined at "${t}" (strictRequired)`,a.opts.strictRequired)}}function c(){t.forOf("prop",r,(n=>{e.setParams({missingProperty:n}),t.if((0,mH.noPropertyInData)(t,o,n,s.ownProperties),(()=>e.error()))}))}}};hH.default=yH;var bH={};Object.defineProperty(bH,"__esModule",{value:!0});const vH=bW,wH={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>vH.str`must NOT have ${"maxItems"===e?"more":"fewer"} than ${t} items`,params:({schemaCode:e})=>vH._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxItems"===t?vH.operators.GT:vH.operators.LT;e.fail$data(vH._`${n}.length ${o} ${r}`)}};bH.default=wH;var SH={},xH={};Object.defineProperty(xH,"__esModule",{value:!0});const kH=lB;kH.code='require("ajv/dist/runtime/equal").default',xH.default=kH,Object.defineProperty(SH,"__esModule",{value:!0});const $H=CW,PH=bW,_H=SW,TH=xH,EH={message:({params:{i:e,j:t}})=>PH.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>PH._`{i: ${e}, j: ${t}}`},QH={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:EH,code(e){const{gen:t,data:n,$data:r,schema:o,parentSchema:i,schemaCode:a,it:s}=e;if(!r&&!o)return;const l=t.let("valid"),c=i.items?(0,$H.getSchemaTypes)(i.items):[];function u(r,o){const i=t.name("item"),a=(0,$H.checkDataTypes)(c,i,s.opts.strictNumbers,$H.DataType.Wrong),u=t.const("indices",PH._`{}`);t.for(PH._`;${r}--;`,(()=>{t.let(i,PH._`${n}[${r}]`),t.if(a,PH._`continue`),c.length>1&&t.if(PH._`typeof ${i} == "string"`,PH._`${i} += "_"`),t.if(PH._`typeof ${u}[${i}] == "number"`,(()=>{t.assign(o,PH._`${u}[${i}]`),e.error(),t.assign(l,!1).break()})).code(PH._`${u}[${i}] = ${r}`)}))}function d(r,o){const i=(0,_H.useFunc)(t,TH.default),a=t.name("outer");t.label(a).for(PH._`;${r}--;`,(()=>t.for(PH._`${o} = ${r}; ${o}--;`,(()=>t.if(PH._`${i}(${n}[${r}], ${n}[${o}])`,(()=>{e.error(),t.assign(l,!1).break(a)}))))))}e.block$data(l,(function(){const r=t.let("i",PH._`${n}.length`),o=t.let("j");e.setParams({i:r,j:o}),t.assign(l,!0),t.if(PH._`${r} > 1`,(()=>(c.length>0&&!c.some((e=>"object"===e||"array"===e))?u:d)(r,o)))}),PH._`${a} === false`),e.ok(l)}};SH.default=QH;var CH={};Object.defineProperty(CH,"__esModule",{value:!0});const AH=bW,RH=SW,DH=xH,NH={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>AH._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:r,schemaCode:o,schema:i}=e;r||i&&"object"==typeof i?e.fail$data(AH._`!${(0,RH.useFunc)(t,DH.default)}(${n}, ${o})`):e.fail(AH._`${i} !== ${n}`)}};CH.default=NH;var jH={};Object.defineProperty(jH,"__esModule",{value:!0});const qH=bW,IH=SW,UH=xH,MH={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>qH._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:r,schema:o,schemaCode:i,it:a}=e;if(!r&&0===o.length)throw new Error("enum must have non-empty array");const s=o.length>=a.opts.loopEnum;let l;const c=()=>null!=l?l:l=(0,IH.useFunc)(t,UH.default);let u;if(s||r)u=t.let("valid"),e.block$data(u,(function(){t.assign(u,!1),t.forOf("v",i,(e=>t.if(qH._`${c()}(${n}, ${e})`,(()=>t.assign(u,!0).break()))))}));else{if(!Array.isArray(o))throw new Error("ajv implementation error");const e=t.const("vSchema",i);u=(0,qH.or)(...o.map(((t,r)=>function(e,t){const r=o[t];return"object"==typeof r&&null!==r?qH._`${c()}(${n}, ${e}[${t}])`:qH._`${n} === ${r}`}(e,r))))}e.pass(u)}};jH.default=MH,Object.defineProperty(MY,"__esModule",{value:!0});const XH=BY,FH=GY,ZH=eH,VH=sH,LH=dH,zH=hH,WH=bH,BH=SH,YH=CH,HH=jH,GH=[XY.default,XH.default,FH.default,ZH.default,VH.default,LH.default,zH.default,WH.default,BH.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},YH.default,HH.default];MY.default=GH;var KH={},JH={};Object.defineProperty(JH,"__esModule",{value:!0}),JH.validateAdditionalItems=void 0;const eG=bW,tG=SW,nG={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>eG.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>eG._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?rG(e,r):(0,tG.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function rG(e,t){const{gen:n,schema:r,data:o,keyword:i,it:a}=e;a.items=!0;const s=n.const("len",eG._`${o}.length`);if(!1===r)e.setParams({len:t.length}),e.pass(eG._`${s} <= ${t.length}`);else if("object"==typeof r&&!(0,tG.alwaysValidSchema)(a,r)){const r=n.var("valid",eG._`${s} <= ${t.length}`);n.if((0,eG.not)(r),(()=>function(r){n.forRange("i",t.length,s,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:tG.Type.Num},r),a.allErrors||n.if((0,eG.not)(r),(()=>n.break()))}))}(r))),e.ok(r)}}JH.validateAdditionalItems=rG,JH.default=nG;var oG={},iG={};Object.defineProperty(iG,"__esModule",{value:!0}),iG.validateTuple=void 0;const aG=bW,sG=SW,lG=FW,cG={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return uG(e,"additionalItems",t);n.items=!0,(0,sG.alwaysValidSchema)(n,t)||e.ok((0,lG.validateArray)(e))}};function uG(e,t,n=e.schema){const{gen:r,parentSchema:o,data:i,keyword:a,it:s}=e;!function(e){const{opts:r,errSchemaPath:o}=s,i=n.length,l=i===e.minItems&&(i===e.maxItems||!1===e[t]);if(r.strictTuples&&!l){const e=`"${a}" is ${i}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,sG.checkStrictMode)(s,e,r.strictTuples)}}(o),s.opts.unevaluated&&n.length&&!0!==s.items&&(s.items=sG.mergeEvaluated.items(r,n.length,s.items));const l=r.name("valid"),c=r.const("len",aG._`${i}.length`);n.forEach(((t,n)=>{(0,sG.alwaysValidSchema)(s,t)||(r.if(aG._`${c} > ${n}`,(()=>e.subschema({keyword:a,schemaProp:n,dataProp:n},l))),e.ok(l))}))}iG.validateTuple=uG,iG.default=cG,Object.defineProperty(oG,"__esModule",{value:!0});const dG=iG,pG={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,dG.validateTuple)(e,"items")};oG.default=pG;var fG={};Object.defineProperty(fG,"__esModule",{value:!0});const hG=bW,mG=SW,gG=FW,OG=JH,yG={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>hG.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>hG._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:o}=n;r.items=!0,(0,mG.alwaysValidSchema)(r,t)||(o?(0,OG.validateAdditionalItems)(e,o):e.ok((0,gG.validateArray)(e)))}};fG.default=yG;var bG={};Object.defineProperty(bG,"__esModule",{value:!0});const vG=bW,wG=SW,SG={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?vG.str`must contain at least ${e} valid item(s)`:vG.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?vG._`{minContains: ${e}}`:vG._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;let a,s;const{minContains:l,maxContains:c}=r;i.opts.next?(a=void 0===l?1:l,s=c):a=1;const u=t.const("len",vG._`${o}.length`);if(e.setParams({min:a,max:s}),void 0===s&&0===a)return void(0,wG.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==s&&a>s)return(0,wG.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,wG.alwaysValidSchema)(i,n)){let t=vG._`${u} >= ${a}`;return void 0!==s&&(t=vG._`${t} && ${u} <= ${s}`),void e.pass(t)}i.items=!0;const d=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);f(e,(()=>t.if(e,(()=>function(e){t.code(vG._`${e}++`),void 0===s?t.if(vG._`${e} >= ${a}`,(()=>t.assign(d,!0).break())):(t.if(vG._`${e} > ${s}`,(()=>t.assign(d,!1).break())),1===a?t.assign(d,!0):t.if(vG._`${e} >= ${a}`,(()=>t.assign(d,!0))))}(n)))))}function f(n,r){t.forRange("i",0,u,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:wG.Type.Num,compositeRule:!0},n),r()}))}void 0===s&&1===a?f(d,(()=>t.if(d,(()=>t.break())))):0===a?(t.let(d,!0),void 0!==s&&t.if(vG._`${o}.length > 0`,p)):(t.let(d,!1),p()),e.result(d,(()=>e.reset()))}};bG.default=SG;var xG={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=bW,n=SW,r=FW;e.error={message:({params:{property:e,depsCount:n,deps:r}})=>t.str`must have ${1===n?"property":"properties"} ${r} when property ${e} is present`,params:({params:{property:e,depsCount:n,deps:r,missingProperty:o}})=>t._`{property: ${e},
|
|
24
24
|
missingProperty: ${o},
|
|
25
25
|
depsCount: ${n},
|
|
26
|
-
deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);i(e,t),a(e,n)}};function i(e,n=e.schema){const{gen:o,data:i,it:a}=e;if(0===Object.keys(n).length)return;const s=o.let("missing");for(const l in n){const c=n[l];if(0===c.length)continue;const u=(0,r.propertyInData)(o,i,l,a.opts.ownProperties);e.setParams({property:l,depsCount:c.length,deps:c.join(", ")}),a.allErrors?o.if(u,(()=>{for(const t of c)(0,r.checkReportMissingProp)(e,t)})):(o.if(t._`${u} && (${(0,r.checkMissingProp)(e,c,s)})`),(0,r.reportMissingProp)(e,s),o.else())}}function a(e,t=e.schema){const{gen:o,data:i,keyword:a,it:s}=e,l=o.name("valid");for(const c in t)(0,n.alwaysValidSchema)(s,t[c])||(o.if((0,r.propertyInData)(o,i,c,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:c},l);e.mergeValidEvaluated(t,l)}),(()=>o.var(l,!0))),e.ok(l))}e.validatePropertyDeps=i,e.validateSchemaDeps=a,e.default=o}(xG);var kG={};Object.defineProperty(kG,"__esModule",{value:!0});const $G=bW,PG=SW,_G={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>$G._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:r,it:o}=e;if((0,PG.alwaysValidSchema)(o,n))return;const i=t.name("valid");t.forIn("key",r,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},i),t.if((0,$G.not)(i),(()=>{e.error(!0),o.allErrors||t.break()}))})),e.ok(i)}};kG.default=_G;var TG={};Object.defineProperty(TG,"__esModule",{value:!0});const EG=FW,QG=bW,CG=xW,AG=SW,RG={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>QG._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:r,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,"all"!==l.removeAdditional&&(0,AG.alwaysValidSchema)(a,n))return;const c=(0,EG.allSchemaProperties)(r.properties),u=(0,EG.allSchemaProperties)(r.patternProperties);function d(e){t.code(QG._`delete ${o}[${e}]`)}function p(r){if("all"===l.removeAdditional||l.removeAdditional&&!1===n)d(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(s||t.break());if("object"==typeof n&&!(0,AG.alwaysValidSchema)(a,n)){const n=t.name("valid");"failing"===l.removeAdditional?(f(r,n,!1),t.if((0,QG.not)(n),(()=>{e.reset(),d(r)}))):(f(r,n),s||t.if((0,QG.not)(n),(()=>t.break())))}}}function f(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:AG.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",o,(n=>{c.length||u.length?t.if(function(n){let o;if(c.length>8){const e=(0,AG.schemaRefOrVal)(a,r.properties,"properties");o=(0,EG.isOwnProperty)(t,e,n)}else o=c.length?(0,QG.or)(...c.map((e=>QG._`${n} === ${e}`))):QG.nil;return u.length&&(o=(0,QG.or)(o,...u.map((t=>QG._`${(0,EG.usePattern)(e,t)}.test(${n})`)))),(0,QG.not)(o)}(n),(()=>p(n))):p(n)})),e.ok(QG._`${i} === ${CG.default.errors}`)}};TG.default=RG;var DG={};Object.defineProperty(DG,"__esModule",{value:!0});const NG=gW,jG=FW,qG=SW,IG=TG,UG={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;"all"===i.opts.removeAdditional&&void 0===r.additionalProperties&&IG.default.code(new NG.KeywordCxt(i,IG.default,"additionalProperties"));const a=(0,jG.allSchemaProperties)(n);for(const d of a)i.definedProperties.add(d);i.opts.unevaluated&&a.length&&!0!==i.props&&(i.props=qG.mergeEvaluated.props(t,(0,qG.toHash)(a),i.props));const s=a.filter((e=>!(0,qG.alwaysValidSchema)(i,n[e])));if(0===s.length)return;const l=t.name("valid");for(const d of s)c(d)?u(d):(t.if((0,jG.propertyInData)(t,o,d,i.opts.ownProperties)),u(d),i.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(d),e.ok(l);function c(e){return i.opts.useDefaults&&!i.compositeRule&&void 0!==n[e].default}function u(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},l)}}};DG.default=UG;var MG={};Object.defineProperty(MG,"__esModule",{value:!0});const XG=FW,FG=bW,ZG=SW,VG=SW,LG={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:r,parentSchema:o,it:i}=e,{opts:a}=i,s=(0,XG.allSchemaProperties)(n),l=s.filter((e=>(0,ZG.alwaysValidSchema)(i,n[e])));if(0===s.length||l.length===s.length&&(!i.opts.unevaluated||!0===i.props))return;const c=a.strictSchema&&!a.allowMatchingProperties&&o.properties,u=t.name("valid");!0===i.props||i.props instanceof FG.Name||(i.props=(0,VG.evaluatedPropsToName)(t,i.props));const{props:d}=i;function p(e){for(const t in c)new RegExp(e).test(t)&&(0,ZG.checkStrictMode)(i,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function f(n){t.forIn("key",r,(r=>{t.if(FG._`${(0,XG.usePattern)(e,n)}.test(${r})`,(()=>{const o=l.includes(n);o||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:r,dataPropType:VG.Type.Str},u),i.opts.unevaluated&&!0!==d?t.assign(FG._`${d}[${r}]`,!0):o||i.allErrors||t.if((0,FG.not)(u),(()=>t.break()))}))}))}!function(){for(const e of s)c&&p(e),i.allErrors?f(e):(t.var(u,!0),f(e),t.if(u))}()}};MG.default=LG;var zG={};Object.defineProperty(zG,"__esModule",{value:!0});const WG=SW,BG={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,WG.alwaysValidSchema)(r,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};zG.default=BG;var YG={};Object.defineProperty(YG,"__esModule",{value:!0});const HG={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:FW.validateUnion,error:{message:"must match a schema in anyOf"}};YG.default=HG;var GG={};Object.defineProperty(GG,"__esModule",{value:!0});const KG=bW,JG=SW,eK={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>KG._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(o.opts.discriminator&&r.discriminator)return;const i=n,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block((function(){i.forEach(((n,r)=>{let i;(0,JG.alwaysValidSchema)(o,n)?t.var(l,!0):i=e.subschema({keyword:"oneOf",schemaProp:r,compositeRule:!0},l),r>0&&t.if(KG._`${l} && ${a}`).assign(a,!1).assign(s,KG._`[${s}, ${r}]`).else(),t.if(l,(()=>{t.assign(a,!0),t.assign(s,r),i&&e.mergeEvaluated(i,KG.Name)}))}))})),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}};GG.default=eK;var tK={};Object.defineProperty(tK,"__esModule",{value:!0});const nK=SW,rK={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,nK.alwaysValidSchema)(r,t))return;const i=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(i)}))}};tK.default=rK;var oK={};Object.defineProperty(oK,"__esModule",{value:!0});const iK=bW,aK=SW,sK={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>iK.str`must match "${e.ifClause}" schema`,params:({params:e})=>iK._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:r}=e;void 0===n.then&&void 0===n.else&&(0,aK.checkStrictMode)(r,'"if" without "then" and "else" is ignored');const o=lK(r,"then"),i=lK(r,"else");if(!o&&!i)return;const a=t.let("valid",!0),s=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(t)}(),e.reset(),o&&i){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(s,l("then",n),l("else",n))}else o?t.if(s,l("then")):t.if((0,iK.not)(s),l("else"));function l(n,r){return()=>{const o=e.subschema({keyword:n},s);t.assign(a,s),e.mergeValidEvaluated(o,a),r?t.assign(r,iK._`${n}`):e.setParams({ifClause:n})}}e.pass(a,(()=>e.error(!0)))}};function lK(e,t){const n=e.schema[t];return void 0!==n&&!(0,aK.alwaysValidSchema)(e,n)}oK.default=sK;var cK={};Object.defineProperty(cK,"__esModule",{value:!0});const uK=SW,dK={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,uK.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};cK.default=dK,Object.defineProperty(KH,"__esModule",{value:!0});const pK=JH,fK=oG,hK=iG,mK=fG,gK=bG,OK=xG,yK=kG,bK=TG,vK=DG,wK=MG,SK=zG,xK=YG,kK=GG,$K=tK,PK=oK,_K=cK;KH.default=function(e=!1){const t=[SK.default,xK.default,kK.default,$K.default,PK.default,_K.default,yK.default,bK.default,OK.default,vK.default,wK.default];return e?t.push(fK.default,mK.default):t.push(pK.default,hK.default),t.push(gK.default),t};var TK={},EK={};Object.defineProperty(EK,"__esModule",{value:!0});const QK=bW,CK={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>QK.str`must match format "${e}"`,params:({schemaCode:e})=>QK._`{format: ${e}}`},code(e,t){const{gen:n,data:r,$data:o,schema:i,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:u,self:d}=s;l.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:d.formats,code:l.code.formats}),i=n.const("fDef",QK._`${o}[${a}]`),s=n.let("fType"),c=n.let("format");n.if(QK._`typeof ${i} == "object" && !(${i} instanceof RegExp)`,(()=>n.assign(s,QK._`${i}.type || "string"`).assign(c,QK._`${i}.validate`)),(()=>n.assign(s,QK._`"string"`).assign(c,i))),e.fail$data((0,QK.or)(!1===l.strictSchema?QK.nil:QK._`${a} && !${c}`,function(){const e=u.$async?QK._`(${i}.async ? await ${c}(${r}) : ${c}(${r}))`:QK._`${c}(${r})`,n=QK._`(typeof ${c} == "function" ? ${e} : ${c}.test(${r}))`;return QK._`${c} && ${c} !== true && ${s} === ${t} && !${n}`}()))}():function(){const o=d.formats[i];if(!o)return void function(){if(!1===l.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${i}" ignored in schema at path "${c}"`}}();if(!0===o)return;const[a,s,p]=function(e){const t=e instanceof RegExp?(0,QK.regexpCode)(e):l.code.formats?QK._`${l.code.formats}${(0,QK.getProperty)(i)}`:void 0,r=n.scopeValue("formats",{key:i,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,QK._`${r}.validate`];return["string",e,r]}(o);a===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return QK._`await ${p}(${r})`}return"function"==typeof s?QK._`${p}(${r})`:QK._`${p}.test(${r})`}())}())}};EK.default=CK,Object.defineProperty(TK,"__esModule",{value:!0});const AK=[EK.default];TK.default=AK,Object.defineProperty(_Y,"__esModule",{value:!0});const RK=MY,DK=KH,NK=TK,jK=[TY.default,RK.default,DK.default(),NK.default,["title","description","default"]];_Y.default=jK;var qK={},IK={};!function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,(t=e.DiscrError||(e.DiscrError={})).Tag="tag",t.Mapping="mapping"}(IK),Object.defineProperty(qK,"__esModule",{value:!0});const UK=bW,MK=IK,XK=aY,FK=SW,ZK={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===MK.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>UK._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:r,parentSchema:o,it:i}=e,{oneOf:a}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=r.propertyName;if("string"!=typeof s)throw new Error("discriminator: requires propertyName");if(r.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",UK._`${n}${(0,UK.getProperty)(s)}`);function u(n){const r=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},r);return e.mergeEvaluated(o,UK.Name),r}t.if(UK._`typeof ${c} == "string"`,(()=>function(){const n=function(){var e;const t={},n=l(o);let r=!0;for(let o=0;o<a.length;o++){let t=a[o];(null==t?void 0:t.$ref)&&!(0,FK.schemaHasRulesButRef)(t,i.self.RULES)&&(t=XK.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,null==t?void 0:t.$ref),t instanceof XK.SchemaEnv&&(t=t.schema));const u=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[s];if("object"!=typeof u)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);r=r&&(n||l(t)),c(u,o)}if(!r)throw new Error(`discriminator: "${s}" must be required`);return t;function l({required:e}){return Array.isArray(e)&&e.includes(s)}function c(e,t){if(e.const)u(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`);for(const n of e.enum)u(n,t)}}function u(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${s}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(UK._`${c} === ${e}`),t.assign(l,u(n[e]));t.else(),e.error(!1,{discrError:MK.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}()),(()=>e.error(!1,{discrError:MK.DiscrError.Tag,tag:c,tagName:s}))),e.ok(l)}};qK.default=ZK;const VK={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=mW,r=_Y,o=qK,i=VK,a=["/properties"],s="http://json-schema.org/draft-04/schema";class l extends n.default{constructor(e={}){super({...e,schemaId:"id"})}_addVocabularies(){super._addVocabularies(),r.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(i,a):i;this.addMetaSchema(e,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=mW;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=mW;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}})}(hW,hW.exports);var LK=hW.exports,zK={exports:{}},WK={},BK={},YK={};Object.defineProperty(YK,"__esModule",{value:!0});const HK={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};YK.default=HK,Object.defineProperty(BK,"__esModule",{value:!0});const GK=EY,KK=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",YK.default,GK.default];BK.default=KK;var JK={},eJ={};Object.defineProperty(eJ,"__esModule",{value:!0});const tJ=bW,nJ=tJ.operators,rJ={maximum:{okStr:"<=",ok:nJ.LTE,fail:nJ.GT},minimum:{okStr:">=",ok:nJ.GTE,fail:nJ.LT},exclusiveMaximum:{okStr:"<",ok:nJ.LT,fail:nJ.GTE},exclusiveMinimum:{okStr:">",ok:nJ.GT,fail:nJ.LTE}},oJ={message:({keyword:e,schemaCode:t})=>tJ.str`must be ${rJ[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>tJ._`{comparison: ${rJ[e].okStr}, limit: ${t}}`},iJ={keyword:Object.keys(rJ),type:"number",schemaType:"number",$data:!0,error:oJ,code(e){const{keyword:t,data:n,schemaCode:r}=e;e.fail$data(tJ._`${n} ${rJ[t].fail} ${r} || isNaN(${n})`)}};eJ.default=iJ,Object.defineProperty(JK,"__esModule",{value:!0});const aJ=GY,sJ=eH,lJ=sH,cJ=dH,uJ=hH,dJ=bH,pJ=SH,fJ=CH,hJ=jH,mJ=[eJ.default,aJ.default,sJ.default,lJ.default,cJ.default,uJ.default,dJ.default,pJ.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},fJ.default,hJ.default];JK.default=mJ;var gJ={},OJ={};Object.defineProperty(OJ,"__esModule",{value:!0}),OJ.dynamicAnchor=void 0;const yJ=bW,bJ=xW,vJ=aY,wJ=EY,SJ={keyword:"$dynamicAnchor",schemaType:"string",code:e=>xJ(e,e.schema)};function xJ(e,t){const{gen:n,it:r}=e;r.schemaEnv.root.dynamicAnchors[t]=!0;const o=yJ._`${bJ.default.dynamicAnchors}${(0,yJ.getProperty)(t)}`,i="#"===r.errSchemaPath?r.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:i,localRefs:a,meta:s}=t.root,{schemaId:l}=r.opts,c=new vJ.SchemaEnv({schema:n,schemaId:l,root:o,baseId:i,localRefs:a,meta:s});return vJ.compileSchema.call(r,c),(0,wJ.getValidate)(e,c)}(e);n.if(yJ._`!${o}`,(()=>n.assign(o,i)))}OJ.dynamicAnchor=xJ,OJ.default=SJ;var kJ={};Object.defineProperty(kJ,"__esModule",{value:!0}),kJ.dynamicRef=void 0;const $J=bW,PJ=xW,_J=EY,TJ={keyword:"$dynamicRef",schemaType:"string",code:e=>EJ(e,e.schema)};function EJ(e,t){const{gen:n,keyword:r,it:o}=e;if("#"!==t[0])throw new Error(`"${r}" only supports hash fragment reference`);const i=t.slice(1);if(o.allErrors)a();else{const t=n.let("valid",!1);a(t),e.ok(t)}function a(e){if(o.schemaEnv.root.dynamicAnchors[i]){const t=n.let("_v",$J._`${PJ.default.dynamicAnchors}${(0,$J.getProperty)(i)}`);n.if(t,s(t,e),s(o.validateName,e))}else s(o.validateName,e)()}function s(t,r){return r?()=>n.block((()=>{(0,_J.callRef)(e,t),n.let(r,!0)})):()=>(0,_J.callRef)(e,t)}}kJ.dynamicRef=EJ,kJ.default=TJ;var QJ={};Object.defineProperty(QJ,"__esModule",{value:!0});const CJ=OJ,AJ=SW,RJ={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,CJ.dynamicAnchor)(e,""):(0,AJ.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};QJ.default=RJ;var DJ={};Object.defineProperty(DJ,"__esModule",{value:!0});const NJ=kJ,jJ={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,NJ.dynamicRef)(e,e.schema)};DJ.default=jJ,Object.defineProperty(gJ,"__esModule",{value:!0});const qJ=kJ,IJ=QJ,UJ=DJ,MJ=[OJ.default,qJ.default,IJ.default,UJ.default];gJ.default=MJ;var XJ={},FJ={};Object.defineProperty(FJ,"__esModule",{value:!0});const ZJ=xG,VJ={keyword:"dependentRequired",type:"object",schemaType:"object",error:ZJ.error,code:e=>(0,ZJ.validatePropertyDeps)(e)};FJ.default=VJ;var LJ={};Object.defineProperty(LJ,"__esModule",{value:!0});const zJ=xG,WJ={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,zJ.validateSchemaDeps)(e)};LJ.default=WJ;var BJ={};Object.defineProperty(BJ,"__esModule",{value:!0});const YJ=SW,HJ={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,YJ.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};BJ.default=HJ,Object.defineProperty(XJ,"__esModule",{value:!0});const GJ=LJ,KJ=BJ,JJ=[FJ.default,GJ.default,KJ.default];XJ.default=JJ;var e0={},t0={};Object.defineProperty(t0,"__esModule",{value:!0});const n0=bW,r0=SW,o0=xW,i0={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>n0._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:r,errsCount:o,it:i}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,props:s}=i;function l(r){if(!1===n)return e.setParams({unevaluatedProperty:r}),e.error(),void(a||t.break());if(!(0,r0.alwaysValidSchema)(i,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:r,dataPropType:r0.Type.Str},n),a||t.if((0,n0.not)(n),(()=>t.break()))}}s instanceof n0.Name?t.if(n0._`${s} !== true`,(()=>t.forIn("key",r,(e=>t.if(function(e,t){return n0._`!${e} || !${e}[${t}]`}(s,e),(()=>l(e))))))):!0!==s&&t.forIn("key",r,(e=>void 0===s?l(e):t.if(function(e,t){const n=[];for(const r in e)!0===e[r]&&n.push(n0._`${t} !== ${r}`);return(0,n0.and)(...n)}(s,e),(()=>l(e))))),i.props=!0,e.ok(n0._`${o} === ${o0.default.errors}`)}};t0.default=i0;var a0={};Object.defineProperty(a0,"__esModule",{value:!0});const s0=bW,l0=SW,c0={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>s0.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>s0._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:r,it:o}=e,i=o.items||0;if(!0===i)return;const a=t.const("len",s0._`${r}.length`);if(!1===n)e.setParams({len:i}),e.fail(s0._`${a} > ${i}`);else if("object"==typeof n&&!(0,l0.alwaysValidSchema)(o,n)){const n=t.var("valid",s0._`${a} <= ${i}`);t.if((0,s0.not)(n),(()=>function(n,r){t.forRange("i",r,a,(r=>{e.subschema({keyword:"unevaluatedItems",dataProp:r,dataPropType:l0.Type.Num},n),o.allErrors||t.if((0,s0.not)(n),(()=>t.break()))}))}(n,i))),e.ok(n)}o.items=!0}};a0.default=c0,Object.defineProperty(e0,"__esModule",{value:!0});const u0=a0,d0=[t0.default,u0.default];e0.default=d0;var p0={};Object.defineProperty(p0,"__esModule",{value:!0}),p0.contentVocabulary=p0.metadataVocabulary=void 0,p0.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],p0.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"],Object.defineProperty(WK,"__esModule",{value:!0});const f0=BK,h0=JK,m0=KH,g0=XJ,O0=e0,y0=TK,b0=p0,v0=[gJ.default,f0.default,h0.default,(0,m0.default)(!0),y0.default,b0.metadataVocabulary,b0.contentVocabulary,g0.default,O0.default];WK.default=v0;var w0={};const S0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}},x0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}},k0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}},$0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}},P0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}},_0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}},T0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}},E0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}};Object.defineProperty(w0,"__esModule",{value:!0});const Q0=S0,C0=x0,A0=k0,R0=$0,D0=P0,N0=_0,j0=T0,q0=E0,I0=["/properties"];w0.default=function(e){return[Q0,C0,A0,R0,D0,t(this,N0),j0,t(this,q0)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,I0):n}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=mW,r=WK,o=qK,i=w0,a="https://json-schema.org/draft/2020-12/schema";class s extends n.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),r.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(i.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}e.exports=t=s,Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var l=gW;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var c=bW;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}});var u=tY;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return u.default}});var d=rY;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})}(zK,zK.exports);var U0=zK.exports,M0={exports:{}};const X0={id:"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v1.2/apiDeclaration.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swaggerVersion","basePath","apis"],properties:{swaggerVersion:{enum:["1.2"]},apiVersion:{type:"string"},basePath:{type:"string",format:"uri",pattern:"^https?://"},resourcePath:{type:"string",format:"uri",pattern:"^/"},apis:{type:"array",items:{$ref:"#/definitions/apiObject"}},models:{type:"object",additionalProperties:{$ref:"modelsObject.json#"}},produces:{$ref:"#/definitions/mimeTypeArray"},consumes:{$ref:"#/definitions/mimeTypeArray"},authorizations:{$ref:"authorizationObject.json#"}},additionalProperties:!1,definitions:{apiObject:{type:"object",required:["path","operations"],properties:{path:{type:"string",format:"uri-template",pattern:"^/"},description:{type:"string"},operations:{type:"array",items:{$ref:"operationObject.json#"}}},additionalProperties:!1},mimeTypeArray:{type:"array",items:{type:"string",format:"mime-type"},uniqueItems:!0}}},F0={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},Z0={id:"https://spec.openapis.org/oas/3.0/schema/2019-04-02",$schema:"http://json-schema.org/draft-04/schema#",description:"Validation schema for OpenAPI Specification 3.0.X.",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{enum:["bearer"]}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{enum:["bearer"]}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/definitions/Header"}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},V0={$id:"https://spec.openapis.org/oas/3.1/schema/2021-04-15",$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{$ref:"#/$defs/uri",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"}},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{type:"object",properties:{name:{type:"string"},url:{type:"string"},email:{type:"string"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{$ref:"#/$defs/uri"}},required:["name"],oneOf:[{required:["identifier"]},{required:["url"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{type:"object",properties:{url:{$ref:"#/$defs/uri"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},descriptions:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{type:"object",properties:{schemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{type:"object",properties:{description:{type:"string"},url:{$ref:"#/$defs/uri"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},allowEmptyValue:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"},content:{$ref:"#/$defs/content"}},required:["in"],oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",enum:["simple"]}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form"]}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{type:"object",properties:{schema:{$dynamicRef:"#meta"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5][0-9X]{2}$":{$ref:"#/$defs/response-or-reference"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{$ref:"#/$defs/uri"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{type:"object",properties:{operationRef:{$ref:"#/$defs/uri"},operationId:!0,parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},allowEmptyValue:{default:!1,type:"boolean"}},dependentSchemas:{schema:{properties:{style:{default:"simple",enum:["simple"]},explode:{default:!1,type:"boolean"},allowReserved:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"}},$ref:"#/$defs/examples"},content:{properties:{content:{$ref:"#/$defs/content"}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{type:"object",properties:{$ref:{$ref:"#/$defs/uri"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{const:"bearer"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}},required:["scheme"]}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{$ref:"#/$defs/uri"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string"},tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},uri:{type:"string",format:"uri"},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.openapi=t.openapiV31=t.openapiV3=t.openapiV2=t.openapiV1=void 0,t.openapiV1=X0,t.openapiV2=F0,t.openapiV3=Z0,t.openapiV31=V0,t.openapi={v1:t.openapiV1,v2:t.openapiV2,v3:t.openapiV3,v31:t.openapiV31},t.default=t.openapi,e.exports=Object.assign(e.exports.default,e.exports)}(M0,M0.exports);var L0=M0.exports;const z0=QZ,{ono:W0}=fW,B0=LK,Y0=U0,{openapi:H0}=L0;var G0=function(e){let t,n;if(e.swagger)n=H0.v2,t=K0();else if(e.openapi.startsWith("3.1")){n=H0.v31;const e=n.$defs.schema;delete e.$dynamicAnchor,n.$defs.components.properties.schemas.additionalProperties=e,n.$defs.header.dependentSchemas.schema.properties.schema=e,n.$defs["media-type"].properties.schema=e,n.$defs.parameter.properties.schema=e,t=K0(!1)}else n=H0.v3,t=K0();if(!t.validate(n,e)){let e=t.errors,n="Swagger schema validation failed.\n"+function(e,t){t=t||" ";let n="";for(let r of e)n+=z0.format(`${t}#${r.instancePath.length?r.instancePath:"/"} ${r.message}\n`);return n}(e);throw W0.syntax(e,{details:e},n)}};function K0(e=!0){const t={allErrors:!0,strict:!1,validateFormats:!1};return e?new B0(t):new Y0(t)}const J0=QZ,{ono:e1}=fW,t1=["get","put","post","delete","options","head","patch"],n1=["array","boolean","integer","number","string"],r1=["array","boolean","integer","number","string","object","null",void 0];var o1=function(e){if(e.openapi)return;let t=Object.keys(e.paths||{}),n=[];for(let o of t){let t=e.paths[o],r="/paths"+o;t&&0===o.indexOf("/")&&i1(e,t,r,n)}let r=Object.keys(e.definitions||{});for(let o of r){u1(e.definitions[o],"/definitions/"+o)}};function i1(e,t,n,r){for(let o of t1){let i=t[o],a=n+"/"+o;if(i){let o=i.operationId;if(o){if(-1!==r.indexOf(o))throw e1.syntax(`Validation failed. Duplicate operation id '${o}'`);r.push(o)}a1(e,t,n,i,a);let s=Object.keys(i.responses||{});for(let e of s){l1(e,i.responses[e]||{},a+"/responses/"+e)}}}}function a1(e,t,n,r,o){let i=t.parameters||[],a=r.parameters||[];try{s1(i)}catch(Oc){throw e1.syntax(Oc,`Validation failed. ${n} has duplicate parameters`)}try{s1(a)}catch(Oc){throw e1.syntax(Oc,`Validation failed. ${o} has duplicate parameters`)}let s=i.reduce(((e,t)=>(e.some((e=>e.in===t.in&&e.name===t.name))||e.push(t),e)),a.slice());!function(e,t){let n=e.filter((e=>"body"===e.in)),r=e.filter((e=>"formData"===e.in));if(n.length>1)throw e1.syntax(`Validation failed. ${t} has ${n.length} body parameters. Only one is allowed.`);if(n.length>0&&r.length>0)throw e1.syntax(`Validation failed. ${t} has body parameters and formData parameters. Only one or the other is allowed.`)}(s,o),function(e,t,n){let r=t.match(J0.swaggerParamRegExp)||[];for(let o=0;o<r.length;o++)for(let e=o+1;e<r.length;e++)if(r[o]===r[e])throw e1.syntax(`Validation failed. ${n} has multiple path placeholders named ${r[o]}`);e=e.filter((e=>"path"===e.in));for(let o of e){if(!0!==o.required)throw e1.syntax(`Validation failed. Path parameters cannot be optional. Set required=true for the "${o.name}" parameter at ${n}`);let e=r.indexOf("{"+o.name+"}");if(-1===e)throw e1.syntax(`Validation failed. ${n} has a path parameter named "${o.name}", but there is no corresponding {${o.name}} in the path string`);r.splice(e,1)}if(r.length>0)throw e1.syntax(`Validation failed. ${n} is missing path parameter(s) for ${r}`)}(s,n,o),function(e,t,n,r){for(let o of e){let e,i,a=r+"/parameters/"+o.name;switch(o.in){case"body":e=o.schema,i=r1;break;case"formData":e=o,i=n1.concat("file");break;default:e=o,i=n1}if(c1(e,a,i),u1(e,a),"file"===e.type){let e=/multipart\/(.*\+)?form-data/,o=/application\/(.*\+)?x-www-form-urlencoded/;if(!(n.consumes||t.consumes||[]).some((t=>e.test(t)||o.test(t))))throw e1.syntax(`Validation failed. ${r} has a file parameter, so it must consume multipart/form-data or application/x-www-form-urlencoded`)}}}(s,e,r,o)}function s1(e){for(let t=0;t<e.length-1;t++){let n=e[t];for(let r=t+1;r<e.length;r++){let t=e[r];if(n.name===t.name&&n.in===t.in)throw e1.syntax(`Validation failed. Found multiple ${n.in} parameters named "${n.name}"`)}}}function l1(e,t,n){if("default"!==e&&(e<100||e>599))throw e1.syntax(`Validation failed. ${n} has an invalid response code (${e})`);let r=Object.keys(t.headers||{});for(let o of r){c1(t.headers[o],n+"/headers/"+o,n1)}if(t.schema){let e=r1.concat("file");if(-1===e.indexOf(t.schema.type))throw e1.syntax(`Validation failed. ${n} has an invalid response schema type (${t.schema.type})`);c1(t.schema,n+"/schema",e)}}function c1(e,t,n){if(-1===n.indexOf(e.type))throw e1.syntax(`Validation failed. ${t} has an invalid type (${e.type})`);if("array"===e.type&&!e.items)throw e1.syntax(`Validation failed. ${t} is an array, so it must include an "items" schema`)}function u1(e,t){if(e.required&&Array.isArray(e.required)){let n={};!function e(t,n){if(t.properties)for(let r in t.properties)t.properties.hasOwnProperty(r)&&(n[r]=t.properties[r]);if(t.allOf)for(let r of t.allOf)e(r,n)}(e,n);for(let r of e.required)if(!n[r])throw e1.syntax(`Validation failed. Property '${r}' listed as required but does not exist in '${t}'`)}}var d1={};const{Ono:p1}=fW,{stripHash:f1,toFileSystemPath:h1}=Vz,m1=d1.JSONParserError=class extends Error{constructor(e,t){super(),this.code="EUNKNOWN",this.message=e,this.source=t,this.path=null,p1.extend(this)}};O1(m1);const g1=d1.JSONParserErrorGroup=class e extends Error{constructor(e){super(),this.files=e,this.message=`${this.errors.length} error${this.errors.length>1?"s":""} occurred while reading '${h1(e.$refs._root$Ref.path)}'`,p1.extend(this)}static getParserErrors(e){const t=[];for(const n of Object.values(e.$refs._$refs))n.errors&&t.push(...n.errors);return t}get errors(){return e.getParserErrors(this.files)}};O1(g1);O1(d1.ParserError=class extends m1{constructor(e,t){super(`Error parsing ${t}: ${e}`,t),this.code="EPARSER"}});O1(d1.UnmatchedParserError=class extends m1{constructor(e){super(`Could not find parser for "${e}"`,e),this.code="EUNMATCHEDPARSER"}});O1(d1.ResolverError=class extends m1{constructor(e,t){super(e.message||`Error reading file "${t}"`,t),this.code="ERESOLVER","code"in e&&(this.ioErrorCode=String(e.code))}});O1(d1.UnmatchedResolverError=class extends m1{constructor(e){super(`Could not find resolver for "${e}"`,e),this.code="EUNMATCHEDRESOLVER"}});O1(d1.MissingPointerError=class extends m1{constructor(e,t){super(`Token "${e}" does not exist.`,f1(t)),this.code="EMISSINGPOINTER"}});function O1(e){Object.defineProperty(e.prototype,"name",{value:e.name,enumerable:!0})}O1(d1.InvalidPointerError=class extends m1{constructor(e,t){super(`Invalid $ref pointer "${e}". Pointers must begin with "#/"`,f1(t)),this.code="EINVALIDPOINTER"}}),d1.isHandledError=function(e){return e instanceof m1||e instanceof g1},d1.normalizeError=function(e){return null===e.path&&(e.path=[]),e};const{ParserError:y1}=d1;var b1={order:100,allowEmpty:!0,canParse:".json",async parse(e){let t=e.data;if(i.Buffer.isBuffer(t)&&(t=t.toString()),"string"!=typeof t)return t;if(0!==t.trim().length)try{return JSON.parse(t)}catch(Oc){throw new y1(Oc.message,e.url)}}},v1={},w1={},S1={};function x1(e){return null==e}function k1(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}S1.isNothing=x1,S1.isObject=function(e){return"object"==typeof e&&null!==e},S1.toArray=function(e){return Array.isArray(e)?e:x1(e)?[]:[e]},S1.repeat=function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},S1.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},S1.extend=function(e,t){var n,r,o,i;if(t)for(n=0,r=(i=Object.keys(t)).length;n<r;n+=1)e[o=i[n]]=t[o];return e},k1.prototype=Object.create(Error.prototype),k1.prototype.constructor=k1,k1.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};var $1=k1,P1=S1;function _1(e,t,n,r,o){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=o}_1.prototype.getSnippet=function(e,t){var n,r,o,i,a;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){o=" ... ",i-=5;break}return a=this.buffer.slice(r,i),P1.repeat(" ",e)+n+a+o+"\n"+P1.repeat(" ",e+this.position-r+n.length)+"^"},_1.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var T1=_1,E1=$1,Q1=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],C1=["scalar","sequence","mapping"];var A1=function(e,t){var n,r;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Q1.indexOf(t))throw new E1('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){r[String(t)]=e}))})),r),-1===C1.indexOf(this.kind))throw new E1('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')},R1=S1,D1=$1,N1=A1;function j1(e,t,n){var r=[];return e.include.forEach((function(e){n=j1(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function q1(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new D1("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=j1(this,"implicit",[]),this.compiledExplicit=j1(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(this.compiledImplicit,this.compiledExplicit)}q1.DEFAULT=null,q1.create=function(){var e,t;switch(arguments.length){case 1:e=q1.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new D1("Wrong number of arguments for Schema.create function")}if(e=R1.toArray(e),t=R1.toArray(t),!e.every((function(e){return e instanceof q1})))throw new D1("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof N1})))throw new D1("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new q1({include:e,explicit:t})};var I1=q1,U1=new I1({explicit:[new A1("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new A1("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new A1("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]});var M1=new A1("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"});var X1=new A1("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),F1=S1;function Z1(e){return 48<=e&&e<=55}function V1(e){return 48<=e&&e<=57}var L1=new A1("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,o=0,i=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;o<r;o++)if("_"!==(t=e[o])){if("0"!==t&&"1"!==t)return!1;i=!0}return i&&"_"!==t}if("x"===t){for(o++;o<r;o++)if("_"!==(t=e[o])){if(!(48<=(n=e.charCodeAt(o))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;i=!0}return i&&"_"!==t}for(;o<r;o++)if("_"!==(t=e[o])){if(!Z1(e.charCodeAt(o)))return!1;i=!0}return i&&"_"!==t}if("_"===t)return!1;for(;o<r;o++)if("_"!==(t=e[o])){if(":"===t)break;if(!V1(e.charCodeAt(o)))return!1;i=!0}return!(!i||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(o)))},construct:function(e){var t,n,r=e,o=1,i=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(t=r[0])&&"+"!==t||("-"===t&&(o=-1),t=(r=r.slice(1))[0]),"0"===r?0:"0"===t?"b"===r[1]?o*parseInt(r.slice(2),2):"x"===r[1]?o*parseInt(r,16):o*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach((function(e){i.unshift(parseInt(e,10))})),r=0,n=1,i.forEach((function(e){r+=e*n,n*=60})),o*r):o*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!F1.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z1=S1,W1=A1,B1=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Y1=/^[-+]?[0-9]+e/;var H1=new I1({include:[U1],implicit:[M1,X1,L1,new W1("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!B1.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,o;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,r=1,o.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||z1.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(z1.isNegativeZero(e))return"-0.0";return n=e.toString(10),Y1.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),G1=new I1({include:[H1]}),K1=A1,J1=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),e2=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var t2=new K1("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==J1.exec(e)||null!==e2.exec(e))},construct:function(e){var t,n,r,o,i,a,s,l,c=0,u=null;if(null===(t=J1.exec(e))&&(t=e2.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(i=+t[4],a=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,o,i,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}});var n2,r2=new A1("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function o2(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}try{n2=o2("buffer").Buffer}catch(iOe){}var i2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var a2=new A1("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,i=i2;for(n=0;n<o;n++)if(!((t=i.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,i=i2,a=0,s=[];for(t=0;t<o;t++)t%4==0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|i.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),n2?n2.from?n2.from(s):new n2(s):s},predicate:function(e){return n2&&n2.isBuffer(e)},represent:function(e){var t,n,r="",o=0,i=e.length,a=i2;for(t=0;t<i;t++)t%3==0&&t&&(r+=a[o>>18&63],r+=a[o>>12&63],r+=a[o>>6&63],r+=a[63&o]),o=(o<<8)+e[t];return 0===(n=i%3)?(r+=a[o>>18&63],r+=a[o>>12&63],r+=a[o>>6&63],r+=a[63&o]):2===n?(r+=a[o>>10&63],r+=a[o>>4&63],r+=a[o<<2&63],r+=a[64]):1===n&&(r+=a[o>>2&63],r+=a[o<<4&63],r+=a[64],r+=a[64]),r}}),s2=A1,l2=Object.prototype.hasOwnProperty,c2=Object.prototype.toString;var u2=new s2("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,i,a=[],s=e;for(t=0,n=s.length;t<n;t+=1){if(r=s[t],i=!1,"[object Object]"!==c2.call(r))return!1;for(o in r)if(l2.call(r,o)){if(i)return!1;i=!0}if(!i)return!1;if(-1!==a.indexOf(o))return!1;a.push(o)}return!0},construct:function(e){return null!==e?e:[]}}),d2=A1,p2=Object.prototype.toString;var f2=new d2("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1){if(r=a[t],"[object Object]"!==p2.call(r))return!1;if(1!==(o=Object.keys(r)).length)return!1;i[t]=[o[0],r[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,o,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1)r=a[t],o=Object.keys(r),i[t]=[o[0],r[o[0]]];return i}}),h2=A1,m2=Object.prototype.hasOwnProperty;var g2=new I1({include:[G1],implicit:[t2,r2],explicit:[a2,u2,f2,new h2("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(m2.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})]});var O2=new A1("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}});var y2,b2=new A1("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{y2=o2("esprima")}catch(oOe){"undefined"!=typeof window&&(y2=window.esprima)}var v2=new A1("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=y2.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(r){return!1}},construct:function(e){var t,n="("+e+")",r=y2.parse(n,{range:!0}),o=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"ArrowFunctionExpression"!==r.body[0].expression.type&&"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=r.body[0].expression.body.range,"BlockStatement"===r.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),w2=I1,S2=w2.DEFAULT=new w2({include:[g2],explicit:[O2,b2,v2]}),x2=S1,k2=$1,$2=T1,P2=g2,_2=S2,T2=Object.prototype.hasOwnProperty,E2=1,Q2=2,C2=3,A2=4,R2=1,D2=2,N2=3,j2=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q2=/[\x85\u2028\u2029]/,I2=/[,\[\]\{\}]/,U2=/^(?:!|!!|![a-z\-]+!)$/i,M2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function X2(e){return Object.prototype.toString.call(e)}function F2(e){return 10===e||13===e}function Z2(e){return 9===e||32===e}function V2(e){return 9===e||32===e||10===e||13===e}function L2(e){return 44===e||91===e||93===e||123===e||125===e}function z2(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function W2(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function B2(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var Y2=new Array(256),H2=new Array(256),G2=0;G2<256;G2++)Y2[G2]=W2(G2)?1:0,H2[G2]=W2(G2);function K2(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||_2,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function J2(e,t){return new k2(t,new $2(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function e5(e,t){throw J2(e,t)}function t5(e,t){e.onWarning&&e.onWarning.call(null,J2(e,t))}var n5={YAML:function(e,t,n){var r,o,i;null!==e.version&&e5(e,"duplication of %YAML directive"),1!==n.length&&e5(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&e5(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),i=parseInt(r[2],10),1!==o&&e5(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&t5(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&e5(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],U2.test(r)||e5(e,"ill-formed tag handle (first argument) of the TAG directive"),T2.call(e.tagMap,r)&&e5(e,'there is a previously declared suffix for "'+r+'" tag handle'),M2.test(o)||e5(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=o}};function r5(e,t,n,r){var o,i,a,s;if(t<n){if(s=e.input.slice(t,n),r)for(o=0,i=s.length;o<i;o+=1)9===(a=s.charCodeAt(o))||32<=a&&a<=1114111||e5(e,"expected valid JSON character");else j2.test(s)&&e5(e,"the stream contains non-printable characters");e.result+=s}}function o5(e,t,n,r){var o,i,a,s;for(x2.isObject(n)||e5(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(o=Object.keys(n)).length;a<s;a+=1)i=o[a],T2.call(t,i)||(t[i]=n[i],r[i]=!0)}function i5(e,t,n,r,o,i,a,s){var l,c;if(Array.isArray(o))for(l=0,c=(o=Array.prototype.slice.call(o)).length;l<c;l+=1)Array.isArray(o[l])&&e5(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===X2(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===X2(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(i))for(l=0,c=i.length;l<c;l+=1)o5(e,t,i[l],n);else o5(e,t,i,n);else e.json||T2.call(n,o)||!T2.call(t,o)||(e.line=a||e.line,e.position=s||e.position,e5(e,"duplicated mapping key")),t[o]=i,delete n[o];return t}function a5(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):e5(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function s5(e,t,n){for(var r=0,o=e.input.charCodeAt(e.position);0!==o;){for(;Z2(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!F2(o))break;for(a5(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&t5(e,"deficient indentation"),r}function l5(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!V2(t)))}function c5(e,t){1===t?e.result+=" ":t>1&&(e.result+=x2.repeat("\n",t-1))}function u5(e,t){var n,r,o=e.tag,i=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&V2(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,s5(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,f5(e,t,C2,!1,!0),a.push(e.result),s5(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)e5(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function d5(e){var t,n,r,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&e5(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,i){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(r=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):e5(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!V2(o);)33===o&&(a?e5(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),U2.test(n)||e5(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),I2.test(r)&&e5(e,"tag suffix cannot contain flow indicator characters")}return r&&!M2.test(r)&&e5(e,"tag name cannot contain such characters: "+r),i?e.tag=r:T2.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:e5(e,'undeclared tag handle "'+n+'"'),!0}function p5(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&e5(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!V2(n)&&!L2(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&e5(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function f5(e,t,n,r,o){var i,a,s,l,c,u,d,p,f=1,h=!1,m=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=s=A2===n||C2===n,r&&s5(e,!0,-1)&&(h=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;d5(e)||p5(e);)s5(e,!0,-1)?(h=!0,s=i,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):s=!1;if(s&&(s=h||o),1!==f&&A2!==n||(d=E2===n||Q2===n?t:t+1,p=e.position-e.lineStart,1===f?s&&(u5(e,p)||function(e,t,n){var r,o,i,a,s,l=e.tag,c=e.anchor,u={},d={},p=null,f=null,h=null,m=!1,g=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(r=e.input.charCodeAt(e.position+1),i=e.line,a=e.position,63!==s&&58!==s||!V2(r)){if(!f5(e,n,Q2,!1,!0))break;if(e.line===i){for(s=e.input.charCodeAt(e.position);Z2(s);)s=e.input.charCodeAt(++e.position);if(58===s)V2(s=e.input.charCodeAt(++e.position))||e5(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(i5(e,u,d,p,f,null),p=f=h=null),g=!0,m=!1,o=!1,p=e.tag,f=e.result;else{if(!g)return e.tag=l,e.anchor=c,!0;e5(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=l,e.anchor=c,!0;e5(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(i5(e,u,d,p,f,null),p=f=h=null),g=!0,m=!0,o=!0):m?(m=!1,o=!0):e5(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=r;if((e.line===i||e.lineIndent>t)&&(f5(e,t,A2,!0,o)&&(m?f=e.result:h=e.result),m||(i5(e,u,d,p,f,h,i,a),p=f=h=null),s5(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)e5(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&i5(e,u,d,p,f,null),g&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=u),g}(e,p,d))||function(e,t){var n,r,o,i,a,s,l,c,u,d,p=!0,f=e.tag,h=e.anchor,m={};if(91===(d=e.input.charCodeAt(e.position)))o=93,s=!1,r=[];else{if(123!==d)return!1;o=125,s=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),d=e.input.charCodeAt(++e.position);0!==d;){if(s5(e,!0,t),(d=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=f,e.anchor=h,e.kind=s?"mapping":"sequence",e.result=r,!0;p||e5(e,"missed comma between flow collection entries"),u=null,i=a=!1,63===d&&V2(e.input.charCodeAt(e.position+1))&&(i=a=!0,e.position++,s5(e,!0,t)),n=e.line,f5(e,t,E2,!1,!0),c=e.tag,l=e.result,s5(e,!0,t),d=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==d||(i=!0,d=e.input.charCodeAt(++e.position),s5(e,!0,t),f5(e,t,E2,!1,!0),u=e.result),s?i5(e,r,m,c,l,u):i?r.push(i5(e,null,m,c,l,u)):r.push(l),s5(e,!0,t),44===(d=e.input.charCodeAt(e.position))?(p=!0,d=e.input.charCodeAt(++e.position)):p=!1}e5(e,"unexpected end of the stream within a flow collection")}(e,d)?m=!0:(a&&function(e,t){var n,r,o,i,a,s=R2,l=!1,c=!1,u=t,d=0,p=!1;if(124===(i=e.input.charCodeAt(e.position)))r=!1;else{if(62!==i)return!1;r=!0}for(e.kind="scalar",e.result="";0!==i;)if(43===(i=e.input.charCodeAt(++e.position))||45===i)R2===s?s=43===i?N2:D2:e5(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(a=i)&&a<=57?a-48:-1)>=0))break;0===o?e5(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?e5(e,"repeat of an indentation width identifier"):(u=t+o-1,c=!0)}if(Z2(i)){do{i=e.input.charCodeAt(++e.position)}while(Z2(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!F2(i)&&0!==i)}for(;0!==i;){for(a5(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>u&&(u=e.lineIndent),F2(i))d++;else{if(e.lineIndent<u){s===N2?e.result+=x2.repeat("\n",l?1+d:d):s===R2&&l&&(e.result+="\n");break}for(r?Z2(i)?(p=!0,e.result+=x2.repeat("\n",l?1+d:d)):p?(p=!1,e.result+=x2.repeat("\n",d+1)):0===d?l&&(e.result+=" "):e.result+=x2.repeat("\n",d):e.result+=x2.repeat("\n",l?1+d:d),l=!0,c=!0,d=0,n=e.position;!F2(i)&&0!==i;)i=e.input.charCodeAt(++e.position);r5(e,n,e.position,!1)}}return!0}(e,d)||function(e,t){var n,r,o;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(r5(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,o=e.position}else F2(n)?(r5(e,r,o,!0),c5(e,s5(e,!1,t)),r=o=e.position):e.position===e.lineStart&&l5(e)?e5(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);e5(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var n,r,o,i,a,s,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return r5(e,n,e.position,!0),e.position++,!0;if(92===s){if(r5(e,n,e.position,!0),F2(s=e.input.charCodeAt(++e.position)))s5(e,!1,t);else if(s<256&&Y2[s])e.result+=H2[s],e.position++;else if((a=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(o=a,i=0;o>0;o--)(a=z2(s=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:e5(e,"expected hexadecimal character");e.result+=B2(i),e.position++}else e5(e,"unknown escape sequence");n=r=e.position}else F2(s)?(r5(e,n,r,!0),c5(e,s5(e,!1,t)),n=r=e.position):e.position===e.lineStart&&l5(e)?e5(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}e5(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?m=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!V2(r)&&!L2(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&e5(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),T2.call(e.anchorMap,n)||e5(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],s5(e,!0,-1),!0}(e)?function(e,t,n){var r,o,i,a,s,l,c,u,d=e.kind,p=e.result;if(V2(u=e.input.charCodeAt(e.position))||L2(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(V2(r=e.input.charCodeAt(e.position+1))||n&&L2(r)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==u;){if(58===u){if(V2(r=e.input.charCodeAt(e.position+1))||n&&L2(r))break}else if(35===u){if(V2(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&l5(e)||n&&L2(u))break;if(F2(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,s5(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(r5(e,o,i,!1),c5(e,e.line-s),o=i=e.position,a=!1),Z2(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return r5(e,o,i,!1),!!e.result||(e.kind=d,e.result=p,!1)}(e,d,E2===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||e5(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(m=s&&u5(e,p))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&e5(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((u=e.implicitTypes[l]).resolve(e.result)){e.result=u.construct(e.result),e.tag=u.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else T2.call(e.typeMap[e.kind||"fallback"],e.tag)?(u=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&u.kind!==e.kind&&e5(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):e5(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):e5(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function h5(e){var t,n,r,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(s5(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!V2(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&e5(e,"directive name must not be less than one character in length");0!==o;){for(;Z2(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!F2(o));break}if(F2(o))break;for(t=e.position;0!==o&&!V2(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&a5(e),T2.call(n5,n)?n5[n](e,n,r):t5(e,'unknown document directive "'+n+'"')}s5(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,s5(e,!0,-1)):a&&e5(e,"directives end mark is expected"),f5(e,e.lineIndent-1,A2,!1,!0),s5(e,!0,-1),e.checkLineBreaks&&q2.test(e.input.slice(i,e.position))&&t5(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&l5(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,s5(e,!0,-1)):e.position<e.length-1&&e5(e,"end of the stream or a document separator is expected")}function m5(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new K2(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,e5(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)h5(n);return n.documents}function g5(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=m5(e,n);if("function"!=typeof t)return r;for(var o=0,i=r.length;o<i;o+=1)t(r[o])}function O5(e,t){var n=m5(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new k2("expected a single document in the stream, but found more")}}w1.loadAll=g5,w1.load=O5,w1.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),g5(e,t,x2.extend({schema:P2},n))},w1.safeLoad=function(e,t){return O5(e,x2.extend({schema:P2},t))};var y5={},b5=S1,v5=$1,w5=S2,S5=g2,x5=Object.prototype.toString,k5=Object.prototype.hasOwnProperty,$5=9,P5=10,_5=13,T5=32,E5=33,Q5=34,C5=35,A5=37,R5=38,D5=39,N5=42,j5=44,q5=45,I5=58,U5=61,M5=62,X5=63,F5=64,Z5=91,V5=93,L5=96,z5=123,W5=124,B5=125,Y5={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},H5=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function G5(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else{if(!(e<=4294967295))throw new v5("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+b5.repeat("0",r-t.length)+t}function K5(e){this.schema=e.schema||w5,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=b5.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,o,i,a,s,l;if(null===t)return{};for(n={},o=0,i=(r=Object.keys(t)).length;o<i;o+=1)a=r[o],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=e.compiledTypeMap.fallback[a])&&k5.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function J5(e,t){for(var n,r=b5.repeat(" ",t),o=0,i=-1,a="",s=e.length;o<s;)-1===(i=e.indexOf("\n",o))?(n=e.slice(o),o=s):(n=e.slice(o,i+1),o=i+1),n.length&&"\n"!==n&&(a+=r),a+=n;return a}function e3(e,t){return"\n"+b5.repeat(" ",e.indent*t)}function t3(e){return e===T5||e===$5}function n3(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function r3(e,t){return n3(e)&&65279!==e&&e!==j5&&e!==Z5&&e!==V5&&e!==z5&&e!==B5&&e!==I5&&(e!==C5||t&&function(e){return n3(e)&&!t3(e)&&65279!==e&&e!==_5&&e!==P5}(t))}function o3(e){return/^\n* /.test(e)}var i3=1,a3=2,s3=3,l3=4,c3=5;function u3(e,t,n,r,o){var i,a,s,l,c=!1,u=!1,d=-1!==r,p=-1,f=n3(l=e.charCodeAt(0))&&65279!==l&&!t3(l)&&l!==q5&&l!==X5&&l!==I5&&l!==j5&&l!==Z5&&l!==V5&&l!==z5&&l!==B5&&l!==C5&&l!==R5&&l!==N5&&l!==E5&&l!==W5&&l!==U5&&l!==M5&&l!==D5&&l!==Q5&&l!==A5&&l!==F5&&l!==L5&&!t3(e.charCodeAt(e.length-1));if(t)for(i=0;i<e.length;i++){if(!n3(a=e.charCodeAt(i)))return c3;s=i>0?e.charCodeAt(i-1):null,f=f&&r3(a,s)}else{for(i=0;i<e.length;i++){if((a=e.charCodeAt(i))===P5)c=!0,d&&(u=u||i-p-1>r&&" "!==e[p+1],p=i);else if(!n3(a))return c3;s=i>0?e.charCodeAt(i-1):null,f=f&&r3(a,s)}u=u||d&&i-p-1>r&&" "!==e[p+1]}return c||u?n>9&&o3(e)?c3:u?l3:s3:f&&!o(e)?i3:a3}function d3(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==H5.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),a=r||e.flowLevel>-1&&n>=e.flowLevel;switch(u3(t,a,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}))){case i3:return t;case a3:return"'"+t.replace(/'/g,"''")+"'";case s3:return"|"+p3(t,e.indent)+f3(J5(t,o));case l3:return">"+p3(t,e.indent)+f3(J5(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,i=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,h3(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var l=r[1],c=r[2];n=" "===c[0],i+=l+(a||n||""===c?"":"\n")+h3(c,t),a=n}return i}(t,i),o));case c3:return'"'+function(e){for(var t,n,r,o="",i=0;i<e.length;i++)(t=e.charCodeAt(i))>=55296&&t<=56319&&(n=e.charCodeAt(i+1))>=56320&&n<=57343?(o+=G5(1024*(t-55296)+n-56320+65536),i++):o+=!(r=Y5[t])&&n3(t)?e[i]:r||G5(t);return o}(t)+'"';default:throw new v5("impossible error: invalid scalar style")}}()}function p3(e,t){var n=o3(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function f3(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function h3(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,i=0,a=0,s=0,l="";n=o.exec(e);)(s=n.index)-i>t&&(r=a>i?a:s,l+="\n"+e.slice(i,r),i=r+1),a=s;return l+="\n",e.length-i>t&&a>i?l+=e.slice(i,a)+"\n"+e.slice(a+1):l+=e.slice(i),l.slice(1)}function m3(e,t,n){var r,o,i,a,s,l;for(i=0,a=(o=n?e.explicitTypes:e.implicitTypes).length;i<a;i+=1)if(((s=o[i]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof t&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=n?s.tag:"?",s.represent){if(l=e.styleMap[s.tag]||s.defaultStyle,"[object Function]"===x5.call(s.represent))r=s.represent(t,l);else{if(!k5.call(s.represent,l))throw new v5("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');r=s.represent[l](t,l)}e.dump=r}return!0}return!1}function g3(e,t,n,r,o,i){e.tag=null,e.dump=n,m3(e,n,!1)||m3(e,n,!0);var a=x5.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var s,l,c="[object Object]"===a||"[object Array]"===a;if(c&&(l=-1!==(s=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&t>0)&&(o=!1),l&&e.usedDuplicates[s])e.dump="*ref_"+s;else{if(c&&l&&!e.usedDuplicates[s]&&(e.usedDuplicates[s]=!0),"[object Object]"===a)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,i,a,s,l,c,u="",d=e.tag,p=Object.keys(n);if(!0===e.sortKeys)p.sort();else if("function"==typeof e.sortKeys)p.sort(e.sortKeys);else if(e.sortKeys)throw new v5("sortKeys must be a boolean or a function");for(o=0,i=p.length;o<i;o+=1)c="",r&&0===o||(c+=e3(e,t)),s=n[a=p[o]],g3(e,t+1,a,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&P5===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=e3(e,t)),g3(e,t+1,s,!0,l)&&(e.dump&&P5===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump));e.tag=d,e.dump=u||"{}"}(e,t,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(!function(e,t,n){var r,o,i,a,s,l="",c=e.tag,u=Object.keys(n);for(r=0,o=u.length;r<o;r+=1)s="",0!==r&&(s+=", "),e.condenseFlow&&(s+='"'),a=n[i=u[r]],g3(e,t,i,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),g3(e,t,a,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump));else if("[object Array]"===a){var u=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var o,i,a="",s=e.tag;for(o=0,i=n.length;o<i;o+=1)g3(e,t+1,n[o],!0,!0)&&(r&&0===o||(a+=e3(e,t)),e.dump&&P5===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}(e,u,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(!function(e,t,n){var r,o,i="",a=e.tag;for(r=0,o=n.length;r<o;r+=1)g3(e,t,n[r],!1,!1)&&(0!==r&&(i+=","+(e.condenseFlow?"":" ")),i+=e.dump);e.tag=a,e.dump="["+i+"]"}(e,u,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump))}else{if("[object String]"!==a){if(e.skipInvalid)return!1;throw new v5("unacceptable kind of an object to dump "+a)}"?"!==e.tag&&d3(e,e.dump,t,i)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function O3(e,t){var n,r,o=[],i=[];for(y3(e,o,i),n=0,r=i.length;n<r;n+=1)t.duplicates.push(o[i[n]]);t.usedDuplicates=new Array(r)}function y3(e,t,n){var r,o,i;if(null!==e&&"object"==typeof e)if(-1!==(o=t.indexOf(e)))-1===n.indexOf(o)&&n.push(o);else if(t.push(e),Array.isArray(e))for(o=0,i=e.length;o<i;o+=1)y3(e[o],t,n);else for(o=0,i=(r=Object.keys(e)).length;o<i;o+=1)y3(e[r[o]],t,n)}function b3(e,t){var n=new K5(t=t||{});return n.noRefs||O3(e,n),g3(n,0,e,!0,!0)?n.dump+"\n":""}y5.dump=b3,y5.safeDump=function(e,t){return b3(e,b5.extend({schema:S5},t))};var v3=w1,w3=y5;function S3(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}v1.Type=A1,v1.Schema=I1,v1.FAILSAFE_SCHEMA=U1,v1.JSON_SCHEMA=H1,v1.CORE_SCHEMA=G1,v1.DEFAULT_SAFE_SCHEMA=g2,v1.DEFAULT_FULL_SCHEMA=S2,v1.load=v3.load,v1.loadAll=v3.loadAll,v1.safeLoad=v3.safeLoad,v1.safeLoadAll=v3.safeLoadAll,v1.dump=w3.dump,v1.safeDump=w3.safeDump,v1.YAMLException=$1,v1.MINIMAL_SCHEMA=U1,v1.SAFE_SCHEMA=g2,v1.DEFAULT_SCHEMA=S2,v1.scan=S3("scan"),v1.parse=S3("parse"),v1.compose=S3("compose"),v1.addConstructor=S3("addConstructor");var x3=v1;const{ParserError:k3}=d1,$3=x3;var P3={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],async parse(e){let t=e.data;if(i.Buffer.isBuffer(t)&&(t=t.toString()),"string"!=typeof t)return t;try{return $3.safeLoad(t)}catch(Oc){throw new k3(Oc.message,e.url)}}};const{ParserError:_3}=d1;let T3=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;var E3={order:300,allowEmpty:!0,encoding:"utf8",canParse:e=>("string"==typeof e.data||i.Buffer.isBuffer(e.data))&&T3.test(e.url),parse(e){if("string"==typeof e.data)return e.data;if(i.Buffer.isBuffer(e.data))return e.data.toString(this.encoding);throw new _3("data is not text",e.url)}};let Q3=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;var C3={order:400,allowEmpty:!0,canParse:e=>i.Buffer.isBuffer(e.data)&&Q3.test(e.url),parse:e=>i.Buffer.isBuffer(e.data)?e.data:i.Buffer.from(e.data)};const A3=o(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),{ono:R3}=fW,D3=Vz,{ResolverError:N3}=d1;var j3={order:100,canRead:e=>D3.isFileSystemPath(e.url),read:e=>new Promise(((t,n)=>{let r;try{r=D3.toFileSystemPath(e.url)}catch(o){n(new N3(R3.uri(o,`Malformed URI: ${e.url}`),e.url))}try{A3.readFile(r,((e,o)=>{e?n(new N3(R3(e,`Error opening file "${r}"`),r)):t(o)}))}catch(o){n(new N3(R3(o,`Error opening file "${r}"`),r))}}))},q3={},I3={exports:{}},U3={};!function(e){var t;function r(){if(void 0!==t)return t;if(n.XMLHttpRequest){t=new n.XMLHttpRequest;try{t.open("GET",n.XDomainRequest?"/":"https://example.com")}catch(Oc){t=null}}else t=null;return t}function o(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(Oc){}return!1}function i(e){return"function"==typeof e}e.fetch=i(n.fetch)&&i(n.ReadableStream),e.writableStream=i(n.WritableStream),e.abortController=i(n.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!r()&&i(r().overrideMimeType),t=null}(U3);var M3,X3={},F3={exports:{}},Z3={exports:{}},V3="object"==typeof Reflect?Reflect:null,L3=V3&&"function"==typeof V3.apply?V3.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};M3=V3&&"function"==typeof V3.ownKeys?V3.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var z3=Number.isNaN||function(e){return e!=e};function W3(){W3.init.call(this)}Z3.exports=W3,Z3.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}r4(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&r4(e,"error",t,n)}(e,o,{once:!0})}))},W3.EventEmitter=W3,W3.prototype._events=void 0,W3.prototype._eventsCount=0,W3.prototype._maxListeners=void 0;var B3=10;function Y3(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function H3(e){return void 0===e._maxListeners?W3.defaultMaxListeners:e._maxListeners}function G3(e,t,n,r){var o,i,a,s;if(Y3(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=H3(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function K3(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function J3(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=K3.bind(r);return o.listener=n,r.wrapFn=o,o}function e4(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):n4(o,o.length)}function t4(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function n4(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function r4(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(W3,"defaultMaxListeners",{enumerable:!0,get:function(){return B3},set:function(e){if("number"!=typeof e||e<0||z3(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");B3=e}}),W3.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},W3.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||z3(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},W3.prototype.getMaxListeners=function(){return H3(this)},W3.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)L3(s,this,t);else{var l=s.length,c=n4(s,l);for(n=0;n<l;++n)L3(c[n],this,t)}return!0},W3.prototype.addListener=function(e,t){return G3(this,e,t,!1)},W3.prototype.on=W3.prototype.addListener,W3.prototype.prependListener=function(e,t){return G3(this,e,t,!0)},W3.prototype.once=function(e,t){return Y3(t),this.on(e,J3(this,e,t)),this},W3.prototype.prependOnceListener=function(e,t){return Y3(t),this.prependListener(e,J3(this,e,t)),this},W3.prototype.removeListener=function(e,t){var n,r,o,i,a;if(Y3(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},W3.prototype.off=W3.prototype.removeListener,W3.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},W3.prototype.listeners=function(e){return e4(this,e,!0)},W3.prototype.rawListeners=function(e){return e4(this,e,!1)},W3.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):t4.call(e,t)},W3.prototype.listenerCount=t4,W3.prototype.eventNames=function(){return this._eventsCount>0?M3(this._events):[]};var o4,i4,a4=Z3.exports,s4=a4.EventEmitter;function l4(){if(i4)return o4;function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}i4=1;var i=a.Buffer,s=CZ.inspect,l=s&&s.custom||"inspect";return o4=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var n,o,a;return n=e,o=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return i.alloc(0);for(var t,n,r,o=i.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,r=s,i.prototype.copy.call(t,n,r),s+=a.data.length,a=a.next;return o}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=i.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0==(e-=a)){a===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++r}return this.length-=r,t}},{key:l,value:function(e,n){return s(this,t(t({},n),{},{depth:0,customInspect:!1}))}}],o&&r(n.prototype,o),a&&r(n,a),Object.defineProperty(n,"prototype",{writable:!1}),e}(),o4}function c4(e,t){d4(e,t),u4(e)}function u4(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function d4(e,t){e.emit("error",t)}var p4={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return r||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.process.nextTick(d4,this,e)):i.process.nextTick(d4,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?i.process.nextTick(u4,n):(n._writableState.errorEmitted=!0,i.process.nextTick(c4,n,e)):i.process.nextTick(c4,n,e):t?(i.process.nextTick(u4,n),t(e)):i.process.nextTick(u4,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},f4={};var h4={};function m4(e,t,n){n||(n=Error);var r=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);r.prototype.name=n.name,r.prototype.code=e,h4[e]=r}function g4(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}m4("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),m4("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(g4(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(g4(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),m4("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),m4("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),m4("ERR_STREAM_PREMATURE_CLOSE","Premature close"),m4("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),m4("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),m4("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),m4("ERR_STREAM_WRITE_AFTER_END","write after end"),m4("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m4("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),m4("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),f4.codes=h4;var O4=f4.codes.ERR_INVALID_OPT_VALUE;var y4,b4,v4,w4,S4={getHighWaterMark:function(e,t,n,r){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new O4(r?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}},x4=function(e,t){if(k4("noDeprecation"))return e;var n=!1;return function(){if(!n){if(k4("throwDeprecation"))throw new Error(t);k4("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function k4(e){try{if(!n.localStorage)return!1}catch(oOe){return!1}var t=n.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}function $4(){if(b4)return y4;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var t;b4=1,y4=k,k.WritableState=x;var r={deprecate:x4},o=s4,s=a.Buffer,l=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,u=p4,d=S4.getHighWaterMark,p=f4.codes,f=p.ERR_INVALID_ARG_TYPE,h=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,g=p.ERR_STREAM_CANNOT_PIPE,O=p.ERR_STREAM_DESTROYED,y=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,v=p.ERR_UNKNOWN_ENCODING,w=u.errorOrDestroy;function S(){}function x(n,r,o){t=t||P4(),n=n||{},"boolean"!=typeof o&&(o=r instanceof t),this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=d(this,n,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===n.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.process.nextTick(o,r),i.process.nextTick(Q,e,t),e._writableState.errorEmitted=!0,w(e,r)):(o(r),e._writableState.errorEmitted=!0,w(e,r),Q(e,t))}(e,n,r,t,o);else{var a=T(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?i.process.nextTick(P,e,n,a,o):P(e,n,a,o)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function k(e){var n=this instanceof(t=t||P4());if(!n&&!c.call(k,this))return new k(e);this._writableState=new x(e,this,n),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function $(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new O("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function P(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),Q(e,t)}function _(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var o=n.bufferedRequestCount,i=new Array(o),a=n.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,$(t,n,!0,n.length,i,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,d=r.callback;if($(t,n,!1,n.objectMode?1:c.length,c,u,d),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function E(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),Q(e,t)}))}function Q(e,t){var n=T(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.process.nextTick(E,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return XL(k,o),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(oOe){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===k&&(e&&e._writableState instanceof x)}})):c=function(e){return e instanceof this},k.prototype.pipe=function(){w(this,new g)},k.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,c=!o.objectMode&&(r=e,s.isBuffer(r)||r instanceof l);return c&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),c?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=S),o.ending?function(e,t){var n=new b;w(e,n),i.process.nextTick(t,n)}(this,n):(c||function(e,t,n,r){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(w(e,o),i.process.nextTick(r,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var l=t.objectMode?1:r.length;t.length+=l;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else $(e,t,!1,l,r,o,i);return c}(this,o,c,e,t,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||_(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new h("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,Q(e,t),n&&(t.finished?i.process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=u.destroy,k.prototype._undestroy=u.undestroy,k.prototype._destroy=function(e,t){t(e)},y4}function P4(){if(w4)return v4;w4=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};v4=s;var t=F4(),n=$4();XL(s,t);for(var r=e(n.prototype),o=0;o<r.length;o++){var a=r[o];s.prototype[a]||(s.prototype[a]=n.prototype[a])}function s(e){if(!(this instanceof s))return new s(e);t.call(this,e),n.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||i.process.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),v4}var _4,T4,E4={},Q4={exports:{}};function C4(){if(T4)return E4;T4=1;var e=(_4||(_4=1,function(e,t){var n=a,r=n.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),i.prototype=Object.create(r.prototype),o(r,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=r(e);return void 0!==t?"string"==typeof n?o.fill(t,n):o.fill(t):o.fill(0),o},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}(Q4,Q4.exports)),Q4.exports).Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(n){var r;switch(this.encoding=function(n){var r=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(n);if("string"!=typeof r&&(e.isEncoding===t||!t(n)))throw new Error("Unknown encoding: "+n);return r||n}(n),this.encoding){case"utf16le":this.text=i,this.end=s,r=4;break;case"utf8":this.fillLast=o,r=4;break;case"base64":this.text=l,this.end=c,r=3;break;default:return this.write=u,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(r)}function r(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function i(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}return E4.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var n=function(e,t,n){var o=t.length-1;if(o<n)return 0;var i=r(t[o]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--o<n||-2===i)return 0;if(i=r(t[o]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--o<n||-2===i)return 0;if(i=r(t[o]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var o=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,o),e.toString("utf8",t,o)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},E4}var A4=f4.codes.ERR_STREAM_PREMATURE_CLOSE;function R4(){}var D4,N4,j4,q4,I4,U4,M4=function e(t,n,r){if("function"==typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(r||R4);var o=n.readable||!1!==n.readable&&t.readable,i=n.writable||!1!==n.writable&&t.writable,a=function(){t.writable||l()},s=t._writableState&&t._writableState.finished,l=function(){i=!1,s=!0,o||r.call(t)},c=t._readableState&&t._readableState.endEmitted,u=function(){o=!1,c=!0,i||r.call(t)},d=function(e){r.call(t,e)},p=function(){var e;return o&&!c?(t._readableState&&t._readableState.ended||(e=new A4),r.call(t,e)):i&&!s?(t._writableState&&t._writableState.ended||(e=new A4),r.call(t,e)):void 0},f=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",a),t.on("close",a)):(t.on("complete",l),t.on("abort",p),t.req?f():t.on("request",f)),t.on("end",u),t.on("finish",l),!1!==n.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",f),t.req&&t.req.removeListener("finish",l),t.removeListener("end",a),t.removeListener("close",a),t.removeListener("finish",l),t.removeListener("end",u),t.removeListener("error",d),t.removeListener("close",p)}};function X4(){if(N4)return D4;var e;function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}N4=1;var n=M4,r=Symbol("lastResolve"),o=Symbol("lastReject"),a=Symbol("error"),s=Symbol("ended"),l=Symbol("lastPromise"),c=Symbol("handlePromise"),u=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[r];if(null!==t){var n=e[u].read();null!==n&&(e[l]=null,e[r]=null,e[o]=null,t(d(n,!1)))}}function f(e){i.process.nextTick(p,e)}var h=Object.getPrototypeOf((function(){})),m=Object.setPrototypeOf((t(e={get stream(){return this[u]},next:function(){var e=this,t=this[a];if(null!==t)return Promise.reject(t);if(this[s])return Promise.resolve(d(void 0,!0));if(this[u].destroyed)return new Promise((function(t,n){i.process.nextTick((function(){e[a]?n(e[a]):t(d(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[s]?n(d(void 0,!0)):t[c](n,r)}),r)}}(r,this));else{var o=this[u].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[c])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),t(e,"return",(function(){var e=this;return new Promise((function(t,n){e[u].destroy(null,(function(e){e?n(e):t(d(void 0,!0))}))}))})),e),h);return D4=function(e){var i,p=Object.create(m,(t(i={},u,{value:e,writable:!0}),t(i,r,{value:null,writable:!0}),t(i,o,{value:null,writable:!0}),t(i,a,{value:null,writable:!0}),t(i,s,{value:e._readableState.endEmitted,writable:!0}),t(i,c,{value:function(e,t){var n=p[u].read();n?(p[l]=null,p[r]=null,p[o]=null,e(d(n,!1))):(p[r]=e,p[o]=t)},writable:!0}),i));return p[l]=null,n(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=p[o];return null!==t&&(p[l]=null,p[r]=null,p[o]=null,t(e)),void(p[a]=e)}var n=p[r];null!==n&&(p[l]=null,p[r]=null,p[o]=null,n(d(void 0,!0))),p[s]=!0})),e.on("readable",f.bind(null,p)),p}}function F4(){if(U4)return I4;var e;U4=1,I4=k,k.ReadableState=x,a4.EventEmitter;var t=function(e,t){return e.listeners(t).length},r=s4,o=a.Buffer,s=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=CZ;l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,d,p,f=l4(),h=p4,m=S4.getHighWaterMark,g=f4.codes,O=g.ERR_INVALID_ARG_TYPE,y=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;XL(k,r);var w=h.errorOrDestroy,S=["error","close","destroy","pause","resume"];function x(t,n,r){e=e||P4(),t=t||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",r),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=C4().StringDecoder),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function k(t){if(e=e||P4(),!(this instanceof k))return new k(t);var n=this instanceof e;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function $(e,t,n,r,i){l("readableAddChunk",t);var a,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?E(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Q(e)))}(e,c);else if(i||(a=function(e,t){var n;r=t,o.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new O("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(c,t)),a)w(e,a);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),r)c.endEmitted?w(e,new v):P(e,c,t,!0);else if(c.ended)w(e,new y);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?P(e,c,t,!1):C(e,c)):P(e,c,t,!1)}else r||(c.reading=!1,C(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function P(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),C(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=h.destroy,k.prototype._undestroy=h.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=o.from(e,t),t=""),n=!0),$(this,e,t,!1,n)},k.prototype.unshift=function(e){return $(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){u||(u=C4().StringDecoder);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var _=1073741824;function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,i.process.nextTick(Q,e))}function Q(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function C(e,t){t.readingMore||(t.readingMore=!0,i.process.nextTick(A,e,t))}function A(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(l("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){l("readable nexttick read 0"),e.read(0)}function N(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function q(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function I(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.process.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function M(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}return k.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):E(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&I(this),null;var r,o=t.needReadable;return l("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",o=!0),t.ended||t.reading?l("reading or ended",o=!1):o&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=e>0?q(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&I(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){w(this,new b("_read()"))},k.prototype.pipe=function(e,n){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,n);var a=(!n||!1!==n.end)&&e!==i.process.stdout&&e!==i.process.stderr?c:g;function s(t,n){l("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",g),r.removeListener("data",p),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){l("onend"),e.end()}o.endEmitted?i.process.nextTick(a):r.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var n=e._readableState;l("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,0===n.awaitDrain&&t(e,"data")&&(n.flowing=!0,j(e))}}(r);e.on("drain",u);var d=!1;function p(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!d&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function f(n){l("onerror",n),g(),e.removeListener("error",f),0===t(e,"error")&&w(e,n)}function h(){e.removeListener("finish",m),g()}function m(){l("onfinish"),e.removeListener("close",h),g()}function g(){l("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",r),o.flowing||(l("pipe resume"),r.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=M(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,l("on readable",o.length,o.reading),o.length?E(this):o.reading||i.process.nextTick(D,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&i.process.nextTick(R,this),n},k.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.process.nextTick(R,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.process.nextTick(N,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(l("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<S.length;i++)e.on(S[i],this.emit.bind(this,S[i]));return this._read=function(t){l("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=X4()),d(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=q,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===p&&(p=q4?j4:(q4=1,j4=function(){throw new Error("Readable.from is not available in the browser")})),p(k,e,t)}),I4}var Z4=G4,V4=f4.codes,L4=V4.ERR_METHOD_NOT_IMPLEMENTED,z4=V4.ERR_MULTIPLE_CALLBACK,W4=V4.ERR_TRANSFORM_ALREADY_TRANSFORMING,B4=V4.ERR_TRANSFORM_WITH_LENGTH_0,Y4=P4();function H4(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new z4);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function G4(e){if(!(this instanceof G4))return new G4(e);Y4.call(this,e),this._transformState={afterTransform:H4.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",K4)}function K4(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?J4(this,null,null):this._flush((function(t,n){J4(e,t,n)}))}function J4(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new B4;if(e._transformState.transforming)throw new W4;return e.push(null)}XL(G4,Y4),G4.prototype.push=function(e,t){return this._transformState.needTransform=!1,Y4.prototype.push.call(this,e,t)},G4.prototype._transform=function(e,t,n){n(new L4("_transform()"))},G4.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},G4.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},G4.prototype._destroy=function(e,t){Y4.prototype._destroy.call(this,e,(function(e){t(e)}))};var e6,t6=r6,n6=Z4;function r6(e){if(!(this instanceof r6))return new r6(e);n6.call(this,e)}XL(r6,n6),r6.prototype._transform=function(e,t,n){n(null,e)};var o6=f4.codes,i6=o6.ERR_MISSING_ARGS,a6=o6.ERR_STREAM_DESTROYED;function s6(e){if(e)throw e}function l6(e){e()}function c6(e,t){return e.pipe(t)}var u6=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=function(e){return e.length?"function"!=typeof e[e.length-1]?s6:e.pop():s6}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new i6("streams");var i=t.map((function(e,n){var a=n<t.length-1;return function(e,t,n,r){r=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(r);var o=!1;e.on("close",(function(){o=!0})),void 0===e6&&(e6=M4),e6(e,{readable:t,writable:n},(function(e){if(e)return r(e);o=!0,r()}));var i=!1;return function(t){if(!o&&!i)return i=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void r(t||new a6("pipe"))}}(e,a,n>0,(function(e){r||(r=e),e&&i.forEach(l6),a||(i.forEach(l6),o(r))}))}));return t.reduce(c6)};!function(e,t){(t=e.exports=F4()).Stream=t,t.Readable=t,t.Writable=$4(),t.Duplex=P4(),t.Transform=Z4,t.PassThrough=t6,t.finished=M4,t.pipeline=u6}(F3,F3.exports);var d6=F3.exports,p6=U3,f6=XL,h6=d6,m6=X3.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},g6=X3.IncomingMessage=function(e,t,n,r){var o=this;if(h6.Readable.call(o),o._mode=n,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",(function(){i.process.nextTick((function(){o.emit("close")}))})),"fetch"===n){let e=function(){s.read().then((function(t){o._destroyed||(r(t.done),t.done?o.push(null):(o.push(i.Buffer.from(t.value)),e()))})).catch((function(e){r(!0),o._destroyed||o.emit("error",e)}))};if(o._fetchResponse=t,o.url=t.url,o.statusCode=t.status,o.statusMessage=t.statusText,t.headers.forEach((function(e,t){o.headers[t.toLowerCase()]=e,o.rawHeaders.push(t,e)})),p6.writableStream){var a=new WritableStream({write:function(e){return r(!1),new Promise((function(t,n){o._destroyed?n():o.push(i.Buffer.from(e))?t():o._resumeFetch=t}))},close:function(){r(!0),o._destroyed||o.push(null)},abort:function(e){r(!0),o._destroyed||o.emit("error",e)}});try{return void t.body.pipeTo(a).catch((function(e){r(!0),o._destroyed||o.emit("error",e)}))}catch(Oc){}}var s=t.body.getReader();e()}else{if(o._xhr=e,o._pos=0,o.url=e.responseURL,o.statusCode=e.status,o.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===o.headers[n]&&(o.headers[n]=[]),o.headers[n].push(t[2])):void 0!==o.headers[n]?o.headers[n]+=", "+t[2]:o.headers[n]=t[2],o.rawHeaders.push(t[1],t[2])}})),o._charset="x-user-defined",!p6.overrideMimeType){var l=o.rawHeaders["mime-type"];if(l){var c=l.match(/;\s*charset=([^;])(;|$)/);c&&(o._charset=c[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};f6(g6,h6.Readable),g6.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},g6.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,o=null;switch(t._mode){case"text":if((o=r.responseText).length>t._pos){var a=o.substr(t._pos);if("x-user-defined"===t._charset){for(var s=i.Buffer.alloc(a.length),l=0;l<a.length;l++)s[l]=255&a.charCodeAt(l);t.push(s)}else t.push(a,t._charset);t._pos=o.length}break;case"arraybuffer":if(r.readyState!==m6.DONE||!r.response)break;o=r.response,t.push(i.Buffer.from(new Uint8Array(o)));break;case"moz-chunked-arraybuffer":if(o=r.response,r.readyState!==m6.LOADING||!o)break;t.push(i.Buffer.from(new Uint8Array(o)));break;case"ms-stream":if(o=r.response,r.readyState!==m6.LOADING)break;var c=new n.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(i.Buffer.from(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){e(!0),t.push(null)},c.readAsArrayBuffer(o)}t._xhr.readyState===m6.DONE&&"ms-stream"!==t._mode&&(e(!0),t.push(null))};var O6=U3,y6=XL,b6=X3,v6=d6,w6=b6.IncomingMessage,S6=b6.readyStates;var x6=I3.exports=function(e){var t,n=this;v6.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+i.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var r=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!O6.abortController)r=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!O6.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=function(e,t){return O6.fetch&&t?"fetch":O6.mozchunkedarraybuffer?"moz-chunked-arraybuffer":O6.msstream?"ms-stream":O6.arraybuffer&&e?"arraybuffer":"text"}(t,r),n._fetchTimer=null,n._socketTimeout=null,n._socketTimer=null,n.on("finish",(function(){n._onFinish()}))};y6(x6,v6.Writable),x6.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===k6.indexOf(n)&&(this._headers[n]={name:e,value:t})},x6.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},x6.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},x6.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var r=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var a=[];if(Object.keys(r).forEach((function(e){var t=r[e].name,n=r[e].value;Array.isArray(n)?n.forEach((function(e){a.push([t,e])})):a.push([t,n])})),"fetch"===e._mode){var s=null;if(O6.abortController){var l=new AbortController;s=l.signal,e._fetchAbortController=l,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:a,body:o||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:s}).then((function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()}),(function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)}))}else{var c=e._xhr=new n.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(u){return void i.process.nextTick((function(){e.emit("error",u)}))}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),a.forEach((function(e){c.setRequestHeader(e[0],e[1])})),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case S6.LOADING:case S6.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(o)}catch(u){return void i.process.nextTick((function(){e.emit("error",u)}))}}}},x6.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(Oc){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},x6.prototype._connect=function(){var e=this;e._destroyed||(e._response=new w6(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},x6.prototype._write=function(e,t,n){this._body.push(e),n()},x6.prototype._resetTimers=function(e){var t=this;n.clearTimeout(t._socketTimer),t._socketTimer=null,e?(n.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=n.setTimeout((function(){t.emit("timeout")}),t._socketTimeout))},x6.prototype.abort=x6.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},x6.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),v6.Writable.prototype.end.call(this,e,t,n)},x6.prototype.setTimeout=function(e,t){var n=this;t&&n.once("timeout",t),n._socketTimeout=e,n._resetTimers(!1)},x6.prototype.flushHeaders=function(){},x6.prototype.setNoDelay=function(){},x6.prototype.setSocketKeepAlive=function(){};var k6=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],$6=I3.exports,P6=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)_6.call(n,r)&&(e[r]=n[r])}return e},_6=Object.prototype.hasOwnProperty;var T6={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};!function(e){var t=$6,r=X3,o=P6,i=T6,a=Zz,s=e;s.request=function(e,r){e="string"==typeof e?a.parse(e):o(e);var i=-1===n.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||i,l=e.hostname||e.host,c=e.port,u=e.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),e.url=(l?s+"//"+l:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new t(e);return r&&d.on("response",r),d},s.get=function(e,t){var n=s.request(e,t);return n.end(),n},s.ClientRequest=t,s.IncomingMessage=r.IncomingMessage,s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.globalAgent=new s.Agent,s.STATUS_CODES=i,s.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}(q3);var E6={exports:{}};!function(e){var t=q3,n=Zz,r=e.exports;for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);function i(e){if("string"==typeof e&&(e=n.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}r.request=function(e,n){return e=i(e),t.request.call(this,e,n)},r.get=function(e,n){return e=i(e),t.get.call(this,e,n)}}(E6);const Q6=q3,C6=E6.exports,{ono:A6}=fW,R6=Vz,{ResolverError:D6}=d1;function N6(e,t,n){return new Promise(((r,o)=>{e=R6.parse(e),(n=n||[]).push(e.href),function(e,t){return new Promise(((n,r)=>{let o=("https:"===e.protocol?C6:Q6).get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,protocol:e.protocol,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof o.setTimeout&&o.setTimeout(t.timeout),o.on("timeout",(()=>{o.abort()})),o.on("error",r),o.once("response",(e=>{e.body=i.Buffer.alloc(0),e.on("data",(t=>{e.body=i.Buffer.concat([e.body,i.Buffer.from(t)])})),e.on("error",r),e.on("end",(()=>{n(e)}))}))}))}(e,t).then((a=>{if(a.statusCode>=400)throw A6({status:a.statusCode},`HTTP ERROR ${a.statusCode}`);if(a.statusCode>=300)if(n.length>t.redirects)o(new D6(A6({status:a.statusCode},`Error downloading ${n[0]}. \nToo many redirects: \n ${n.join(" \n ")}`)));else{if(!a.headers.location)throw A6({status:a.statusCode},`HTTP ${a.statusCode} redirect with no location header`);N6(R6.resolve(e,a.headers.location),t,n).then(r,o)}else r(a.body||i.Buffer.alloc(0))})).catch((t=>{o(new D6(A6(t,`Error downloading ${e.href}`),e.href))}))}))}const j6=b1,q6=P3,I6=E3,U6=C3,M6=j3,X6={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:e=>R6.isHttp(e.url),read(e){let t=R6.parse(e.url);return i.process.browser&&!t.protocol&&(t.protocol=R6.parse(location.href).protocol),N6(t,this)}};var F6=Z6;function Z6(e){V6(this,Z6.defaults),V6(this,e)}function V6(e,t){if(L6(t)){let n=Object.keys(t);for(let r=0;r<n.length;r++){let o=n[r],i=t[o],a=e[o];L6(i)?e[o]=V6(a||{},i):void 0!==i&&(e[o]=i)}}return e}function L6(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}Z6.defaults={parse:{json:j6,yaml:q6,text:I6,binary:U6},resolve:{file:M6,http:X6,external:!0},continueOnError:!1,dereference:{circular:!0}};const z6=F6;var W6=function(e){let t,n,r,o;"function"==typeof(e=Array.prototype.slice.call(e))[e.length-1]&&(o=e.pop());"string"==typeof e[0]?(t=e[0],"object"==typeof e[2]?(n=e[1],r=e[2]):(n=void 0,r=e[1])):(t="",n=e[0],r=e[1]);r instanceof z6||(r=new z6(r));return{path:t,schema:n,options:r,callback:o}};const B6=F6,Y6=G0,H6=o1,G6=CZ;var K6=J6;function J6(e){B6.call(this,J6.defaults),B6.apply(this,arguments)}J6.defaults={validate:{schema:Y6,spec:H6}},G6.inherits(J6,B6);var e8,t8,n8,r8,o8="object"==typeof i.process&&"function"==typeof i.process.nextTick?i.process.nextTick:"function"==typeof setImmediate?setImmediate:function(e){setTimeout(e,0)},i8=function(e,t){return e?void t.then((function(t){o8((function(){e(null,t)}))}),(function(t){o8((function(){e(t)}))})):t},a8={exports:{}};function s8(){if(t8)return e8;t8=1,e8=u;const e=l8(),t=Vz,{JSONParserError:n,InvalidPointerError:r,MissingPointerError:o,isHandledError:i}=d1,a=/\//g,s=/~/g,l=/~1/g,c=/~0/g;function u(e,t,n){this.$ref=e,this.path=t,this.originalPath=n||t,this.value=void 0,this.circular=!1,this.indirections=0}function d(n,r){if(e.isAllowed$Ref(n.value,r)){let o=t.resolve(n.path,n.value.$ref);if(o!==n.path){let t=n.$ref.$refs._resolve(o,n.path,r);return n.indirections+=t.indirections+1,e.isExtended$Ref(n.value)?(n.value=e.dereference(n.value,t.value),!1):(n.$ref=t.$ref,n.path=t.path,n.value=t.value,!0)}n.circular=!0}}function p(e,t,r){if(!e.value||"object"!=typeof e.value)throw new n(`Error assigning $ref pointer "${e.path}". \nCannot set "${t}" of a non-object.`);return"-"===t&&Array.isArray(e.value)?e.value.push(r):e.value[t]=r,r}function f(e){if(i(e))throw e;return e}return u.prototype.resolve=function(e,n,r){let i=u.parse(this.path,this.originalPath);this.value=f(e);for(let t=0;t<i.length;t++){if(d(this,n)&&(this.path=u.join(this.path,i.slice(t))),"object"==typeof this.value&&null!==this.value&&"$ref"in this.value)return this;let e=i[t];if(void 0===this.value[e]||null===this.value[e])throw this.value=null,new o(e,this.originalPath);this.value=this.value[e]}return(!this.value||this.value.$ref&&t.resolve(this.path,this.value.$ref)!==r)&&d(this,n),this},u.prototype.set=function(e,t,n){let r,o=u.parse(this.path);if(0===o.length)return this.value=t,t;this.value=f(e);for(let i=0;i<o.length-1;i++)d(this,n),r=o[i],this.value&&void 0!==this.value[r]?this.value=this.value[r]:this.value=p(this,r,{});return d(this,n),r=o[o.length-1],p(this,r,t),e},u.parse=function(e,n){let o=t.getHash(e).substr(1);if(!o)return[];o=o.split("/");for(let t=0;t<o.length;t++)o[t]=decodeURIComponent(o[t].replace(l,"/").replace(c,"~"));if(""!==o[0])throw new r(o,void 0===n?e:n);return o.slice(1)},u.join=function(e,t){-1===e.indexOf("#")&&(e+="#"),t=Array.isArray(t)?t:[t];for(let n=0;n<t.length;n++){let r=t[n];e+="/"+encodeURIComponent(r.replace(s,"~0").replace(a,"~1"))}return e},e8}function l8(){if(r8)return n8;r8=1,n8=s;const e=s8(),{InvalidPointerError:t,isHandledError:n,normalizeError:r}=d1,{safePointerToPath:o,stripHash:i,getHash:a}=Vz;function s(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0,this.errors=void 0}return s.prototype.addError=function(e){void 0===this.errors&&(this.errors=[]),Array.isArray(e.errors)?this.errors.push(...e.errors.map(r)):this.errors.push(r(e))},s.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(Oc){return!1}},s.prototype.get=function(e,t){return this.resolve(e,t).value},s.prototype.resolve=function(r,s,l,c){let u=new e(this,r,l);try{return u.resolve(this.value,s,c)}catch(d){if(!s||!s.continueOnError||!n(d))throw d;return null===d.path&&(d.path=o(a(c))),d instanceof t&&(d.source=i(c)),this.addError(d),null}},s.prototype.set=function(t,n){let r=new e(this,t);this.value=r.set(this.value,n)},s.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},s.isExternal$Ref=function(e){return s.is$Ref(e)&&"#"!==e.$ref[0]},s.isAllowed$Ref=function(e,t){if(s.is$Ref(e)){if("#/"===e.$ref.substr(0,2)||"#"===e.$ref)return!0;if("#"!==e.$ref[0]&&(!t||t.resolve.external))return!0}},s.isExtended$Ref=function(e){return s.is$Ref(e)&&Object.keys(e).length>1},s.dereference=function(e,t){if(t&&"object"==typeof t&&s.isExtended$Ref(e)){let n={};for(let t of Object.keys(e))"$ref"!==t&&(n[t]=e[t]);for(let e of Object.keys(t))e in n||(n[e]=t[e]);return n}return t},n8}const{ono:c8}=fW,u8=l8(),d8=Vz;var p8=f8;function f8(){this.circular=!1,this._$refs={},this._root$Ref=null}function h8(e,t){let n=Object.keys(e);return(t=Array.isArray(t[0])?t[0]:Array.prototype.slice.call(t)).length>0&&t[0]&&(n=n.filter((n=>-1!==t.indexOf(e[n].pathType)))),n.map((t=>({encoded:t,decoded:"file"===e[t].pathType?d8.toFileSystemPath(t,!0):t})))}f8.prototype.paths=function(e){return h8(this._$refs,arguments).map((e=>e.decoded))},f8.prototype.values=function(e){let t=this._$refs;return h8(t,arguments).reduce(((e,n)=>(e[n.decoded]=t[n.encoded].value,e)),{})},f8.prototype.toJSON=f8.prototype.values,f8.prototype.exists=function(e,t){try{return this._resolve(e,"",t),!0}catch(Oc){return!1}},f8.prototype.get=function(e,t){return this._resolve(e,"",t).value},f8.prototype.set=function(e,t){let n=d8.resolve(this._root$Ref.path,e),r=d8.stripHash(n),o=this._$refs[r];if(!o)throw c8(`Error resolving $ref pointer "${e}". \n"${r}" not found.`);o.set(n,t)},f8.prototype._add=function(e){let t=d8.stripHash(e),n=new u8;return n.path=t,n.$refs=this,this._$refs[t]=n,this._root$Ref=this._root$Ref||n,n},f8.prototype._resolve=function(e,t,n){let r=d8.resolve(this._root$Ref.path,e),o=d8.stripHash(r),i=this._$refs[o];if(!i)throw c8(`Error resolving $ref pointer "${e}". \n"${o}" not found.`);return i.resolve(r,n,e,t)},f8.prototype._get$Ref=function(e){e=d8.resolve(this._root$Ref.path,e);let t=d8.stripHash(e);return this._$refs[t]};var m8={};function g8(e,t,n,r,o){let i=e[t];if("function"==typeof i)return i.apply(e,[n,r,o]);if(!r){if(i instanceof RegExp)return i.test(n.url);if("string"==typeof i)return i===n.extension;if(Array.isArray(i))return-1!==i.indexOf(n.extension)}return i}m8.all=function(e){return Object.keys(e).filter((t=>"object"==typeof e[t])).map((t=>(e[t].name=t,e[t])))},m8.filter=function(e,t,n){return e.filter((e=>!!g8(e,t,n)))},m8.sort=function(e){for(let t of e)t.order=t.order||Number.MAX_SAFE_INTEGER;return e.sort(((e,t)=>e.order-t.order))},m8.run=function(e,t,n,r){let o,i,a=0;return new Promise(((s,l)=>{function c(){if(o=e[a++],!o)return l(i);try{let i=g8(o,t,n,u,r);if(i&&"function"==typeof i.then)i.then(d,p);else if(void 0!==i)d(i);else if(a===e.length)throw new Error("No promise has been returned or callback has been called.")}catch(Oc){p(Oc)}}function u(e,t){e?p(e):d(t)}function d(e){s({plugin:o,result:e})}function p(e){i={plugin:o,error:e},c()}c()}))};const{ono:O8}=fW,y8=Vz,b8=m8,{ResolverError:v8,ParserError:w8,UnmatchedParserError:S8,UnmatchedResolverError:x8,isHandledError:k8}=d1;var $8=async function(e,t,n){e=y8.stripHash(e);let r=t._add(e),o={url:e,extension:y8.getExtension(e)};try{const e=await function(e,t,n){return new Promise(((r,o)=>{let i=b8.all(t.resolve);function a(n){!n&&t.continueOnError?o(new x8(e.url)):n&&"error"in n?n.error instanceof v8?o(n.error):o(new v8(n,e.url)):o(O8.syntax(`Unable to resolve $ref pointer "${e.url}"`))}i=b8.filter(i,"canRead",e),b8.sort(i),b8.run(i,"read",e,n).then(r,a)}))}(o,n,t);r.pathType=e.plugin.name,o.data=e.result;const a=await function(e,t,n){return new Promise(((r,o)=>{let a=b8.all(t.parse),s=b8.filter(a,"canParse",e),l=s.length>0?s:a;function c(t){var n;!t.plugin.allowEmpty&&(void 0===(n=t.result)||"object"==typeof n&&0===Object.keys(n).length||"string"==typeof n&&0===n.trim().length||i.Buffer.isBuffer(n)&&0===n.length)?o(O8.syntax(`Error parsing "${e.url}" as ${t.plugin.name}. \nParsed value is empty`)):r(t)}function u(n){!n&&t.continueOnError?o(new S8(e.url)):n&&"error"in n?n.error instanceof w8?o(n.error):o(new w8(n.error.message,e.url)):o(O8.syntax(`Unable to parse ${e.url}`))}b8.sort(l),b8.run(l,"parse",e,n).then(c,u)}))}(o,n,t);return r.value=a.result,a.result}catch(a){throw k8(a)&&(r.value=a),a}};const P8=l8(),_8=s8(),T8=$8,E8=Vz,{isHandledError:Q8}=d1;var C8=function(e,t){if(!t.resolve.external)return Promise.resolve();try{let n=A8(e.schema,e.$refs._root$Ref.path+"#",e.$refs,t);return Promise.all(n)}catch(Oc){return Promise.reject(Oc)}};function A8(e,t,n,r){let o=[];if(e&&"object"==typeof e&&!ArrayBuffer.isView(e))if(P8.isExternal$Ref(e))o.push(R8(e,t,n,r));else for(let i of Object.keys(e)){let a=_8.join(t,i),s=e[i];P8.isExternal$Ref(s)?o.push(R8(s,a,n,r)):o=o.concat(A8(s,a,n,r))}return o}async function R8(e,t,n,r){let o=E8.resolve(t,e.$ref),i=E8.stripHash(o);if(e=n._$refs[i])return Promise.resolve(e.value);try{let e=A8(await T8(o,n,r),i+"#",n,r);return Promise.all(e)}catch(a){if(!r.continueOnError||!Q8(a))throw a;return n._$refs[i]&&(a.source=E8.stripHash(t),a.path=E8.safePointerToPath(E8.getHash(t))),[]}}const D8=l8(),N8=s8(),j8=Vz;var q8=function(e,t){let n=[];I8(e,"schema",e.$refs._root$Ref.path+"#","#",0,n,e.$refs,t),function(e){let t,n,r;e.sort(((e,t)=>{if(e.file!==t.file)return e.file<t.file?-1:1;if(e.hash!==t.hash)return e.hash<t.hash?-1:1;if(e.circular!==t.circular)return e.circular?-1:1;if(e.extended!==t.extended)return e.extended?1:-1;if(e.indirections!==t.indirections)return e.indirections-t.indirections;if(e.depth!==t.depth)return e.depth-t.depth;{let n=e.pathFromRoot.lastIndexOf("/definitions"),r=t.pathFromRoot.lastIndexOf("/definitions");return n!==r?r-n:e.pathFromRoot.length-t.pathFromRoot.length}}));for(let o of e)o.external?o.file===t&&o.hash===n?o.$ref.$ref=r:o.file===t&&0===o.hash.indexOf(n+"/")?o.$ref.$ref=N8.join(r,N8.parse(o.hash.replace(n,"#"))):(t=o.file,n=o.hash,r=o.pathFromRoot,o.$ref=o.parent[o.key]=D8.dereference(o.$ref,o.value),o.circular&&(o.$ref.$ref=o.pathFromRoot)):o.$ref.$ref=o.hash}(n)};function I8(e,t,n,r,o,i,a,s){let l=null===t?e:e[t];if(l&&"object"==typeof l&&!ArrayBuffer.isView(l))if(D8.isAllowed$Ref(l))U8(e,t,n,r,o,i,a,s);else{let e=Object.keys(l).sort(((e,t)=>"definitions"===e?-1:"definitions"===t?1:e.length-t.length));for(let t of e){let e=N8.join(n,t),c=N8.join(r,t),u=l[t];D8.isAllowed$Ref(u)?U8(l,t,n,c,o,i,a,s):I8(l,t,e,c,o,i,a,s)}}}function U8(e,t,n,r,o,i,a,s){let l=null===t?e:e[t],c=j8.resolve(n,l.$ref),u=a._resolve(c,r,s);if(null===u)return;let d=N8.parse(r).length,p=j8.stripHash(u.path),f=j8.getHash(u.path),h=p!==a._root$Ref.path,m=D8.isExtended$Ref(l);o+=u.indirections;let g=function(e,t,n){for(let r=0;r<e.length;r++){let o=e[r];if(o.parent===t&&o.key===n)return o}}(i,e,t);if(g){if(!(d<g.depth||o<g.indirections))return;!function(e,t){let n=e.indexOf(t);e.splice(n,1)}(i,g)}i.push({$ref:l,parent:e,key:t,pathFromRoot:r,depth:d,file:p,hash:f,value:u.value,circular:u.circular,extended:m,external:h,indirections:o}),g||I8(u.value,null,u.path,r,o+1,i,a,s)}const M8=l8(),X8=s8(),{ono:F8}=fW,Z8=Vz;var V8=function(e,t){let n=L8(e.schema,e.$refs._root$Ref.path,"#",[],[],{},e.$refs,t);e.$refs.circular=n.circular,e.schema=n.value};function L8(e,t,n,r,o,i,a,s){let l,c={value:e,circular:!1};if(("ignore"===s.dereference.circular||-1===o.indexOf(e))&&e&&"object"==typeof e&&!ArrayBuffer.isView(e)){if(r.push(e),o.push(e),M8.isAllowed$Ref(e,s))l=z8(e,t,n,r,o,i,a,s),c.circular=l.circular,c.value=l.value;else for(let u of Object.keys(e)){let d=X8.join(t,u),p=X8.join(n,u),f=e[u],h=!1;M8.isAllowed$Ref(f,s)?(l=z8(f,d,p,r,o,i,a,s),h=l.circular,e[u]!==l.value&&(e[u]=l.value)):-1===r.indexOf(f)?(l=L8(f,d,p,r,o,i,a,s),h=l.circular,e[u]!==l.value&&(e[u]=l.value)):h=W8(d,a,s),c.circular=c.circular||h}r.pop()}return c}function z8(e,t,n,r,o,i,a,s){let l=Z8.resolve(t,e.$ref);if(i[l]){const t=i[l],n=Object.keys(e);if(n.length>1){const r={};for(let o of n)"$ref"===o||o in t.value||(r[o]=e[o]);return{circular:t.circular,value:Object.assign({},t.value,r)}}return t}let c=a._resolve(l,t,s);if(null===c)return{circular:!1,value:null};let u=c.circular,d=u||-1!==r.indexOf(c.value);d&&W8(t,a,s);let p=M8.dereference(e,c.value);if(!d){let e=L8(p,c.path,n,r,o,i,a,s);d=e.circular,p=e.value}d&&!u&&"ignore"===s.dereference.circular&&(p=e),u&&(p.$ref=n);const f={circular:d,value:p};return 1===Object.keys(e).length&&(i[l]=f),f}function W8(e,t,n){if(t.circular=!0,!n.dereference.circular)throw F8.reference(`Circular $ref pointer found at ${e}`);return!0}const B8=p8,Y8=$8,H8=W6,G8=C8,K8=q8,J8=V8,e7=Vz,{JSONParserError:t7,InvalidPointerError:n7,MissingPointerError:r7,ResolverError:o7,ParserError:i7,UnmatchedParserError:a7,UnmatchedResolverError:s7,isHandledError:l7,JSONParserErrorGroup:c7}=d1,u7=i8,{ono:d7}=fW;function p7(){this.schema=null,this.$refs=new B8}function f7(e){if(c7.getParserErrors(e).length>0)throw new c7(e)}a8.exports=p7,a8.exports.default=p7,a8.exports.JSONParserError=t7,a8.exports.InvalidPointerError=n7,a8.exports.MissingPointerError=r7,a8.exports.ResolverError=o7,a8.exports.ParserError=i7,a8.exports.UnmatchedParserError=a7,a8.exports.UnmatchedResolverError=s7,p7.parse=function(e,t,n,r){let o=new this;return o.parse.apply(o,arguments)},p7.prototype.parse=async function(e,t,n,r){let o,a=H8(arguments);if(!a.path&&!a.schema){let e=d7(`Expected a file path, URL, or object. Got ${a.path||a.schema}`);return u7(a.callback,Promise.reject(e))}this.schema=null,this.$refs=new B8;let s="http";if(e7.isFileSystemPath(a.path)&&(a.path=e7.fromFileSystemPath(a.path),s="file"),a.path=e7.resolve(e7.cwd(),a.path),a.schema&&"object"==typeof a.schema){let e=this.$refs._add(a.path);e.value=a.schema,e.pathType=s,o=Promise.resolve(a.schema)}else o=Y8(a.path,this.$refs,a.options);let l=this;try{let e=await o;if(null===e||"object"!=typeof e||i.Buffer.isBuffer(e)){if(a.options.continueOnError)return l.schema=null,u7(a.callback,Promise.resolve(l.schema));throw d7.syntax(`"${l.$refs._root$Ref.path||e}" is not a valid JSON Schema`)}return l.schema=e,u7(a.callback,Promise.resolve(l.schema))}catch(c){return a.options.continueOnError&&l7(c)?(this.$refs._$refs[e7.stripHash(a.path)]&&this.$refs._$refs[e7.stripHash(a.path)].addError(c),u7(a.callback,Promise.resolve(null))):u7(a.callback,Promise.reject(c))}},p7.resolve=function(e,t,n,r){let o=new this;return o.resolve.apply(o,arguments)},p7.prototype.resolve=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.parse(i.path,i.schema,i.options),await G8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.$refs))}catch(a){return u7(i.callback,Promise.reject(a))}},p7.bundle=function(e,t,n,r){let o=new this;return o.bundle.apply(o,arguments)},p7.prototype.bundle=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.resolve(i.path,i.schema,i.options),K8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.schema))}catch(a){return u7(i.callback,Promise.reject(a))}},p7.dereference=function(e,t,n,r){let o=new this;return o.dereference.apply(o,arguments)},p7.prototype.dereference=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.resolve(i.path,i.schema,i.options),J8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.schema))}catch(a){return u7(i.callback,Promise.reject(a))}};var h7=a8.exports;const m7=G0,g7=o1,O7=W6,y7=QZ,b7=K6,v7=i8,{ono:w7}=fW,S7=h7,x7=V8;var k7=$7;function $7(){S7.apply(this,arguments)}y7.inherits($7,S7),$7.parse=S7.parse,$7.resolve=S7.resolve,$7.bundle=S7.bundle,$7.dereference=S7.dereference,Object.defineProperty($7.prototype,"api",{configurable:!0,enumerable:!0,get(){return this.schema}}),$7.prototype.parse=async function(e,t,n,r){let o=O7(arguments);o.options=new b7(o.options);try{let e=await S7.prototype.parse.call(this,o.path,o.schema,o.options);if(e.swagger){if(void 0===e.swagger||void 0===e.info||void 0===e.paths)throw w7.syntax(`${o.path||o.schema} is not a valid Swagger API definition`);if("number"==typeof e.swagger)throw w7.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');if("number"==typeof e.info.version)throw w7.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if("2.0"!==e.swagger)throw w7.syntax(`Unrecognized Swagger version: ${e.swagger}. Expected 2.0`)}else{let t=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0"];if(void 0===e.openapi||void 0===e.info)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`);if(void 0===e.paths){if("3.1.0"!==e.openapi)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`);if(void 0===e.webhooks)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`)}else{if("number"==typeof e.openapi)throw w7.syntax('Openapi version number must be a string (e.g. "3.0.0") not a number.');if("number"==typeof e.info.version)throw w7.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if(-1===t.indexOf(e.openapi))throw w7.syntax(`Unsupported OpenAPI version: ${e.openapi}. Swagger Parser only supports versions ${t.join(", ")}`)}y7.fixOasRelativeServers(e,o.path)}return v7(o.callback,Promise.resolve(e))}catch(i){return v7(o.callback,Promise.reject(i))}},$7.validate=function(e,t,n,r){let o=new this;return o.validate.apply(o,arguments)},$7.prototype.validate=async function(e,t,n,r){let o=this,i=O7(arguments);i.options=new b7(i.options);let a=i.options.dereference.circular;i.options.validate.schema&&(i.options.dereference.circular="ignore");try{if(await this.dereference(i.path,i.schema,i.options),i.options.dereference.circular=a,i.options.validate.schema&&(m7(o.api),o.$refs.circular))if(!0===a)x7(o,i.options);else if(!1===a)throw w7.reference("The API contains circular references");return i.options.validate.spec&&g7(o.api),v7(i.callback,Promise.resolve(o.schema))}catch(s){return v7(i.callback,Promise.reject(s))}};const P7=r(k7),_7=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"],T7=e=>{e.tags||(e.tags=[]),e.paths||(e.paths={});const t={};Object.keys(e.webhooks??{}).forEach((n=>{var r;Object.keys((null==(r=e.webhooks)?void 0:r[n])??{}).forEach((r=>{var o,i,a;const s=(null==(o=e.webhooks)?void 0:o[n])[r];void 0===t[n]&&(t[n]={}),t[n][r]={httpVerb:r,path:n,operationId:(null==s?void 0:s.operationId)||n,name:(null==s?void 0:s.summary)||n||"",description:(null==s?void 0:s.description)||"",pathParameters:null==(a=null==(i=e.paths)?void 0:i[n])?void 0:a.parameters,information:{...s}}}))})),Object.keys(e.paths).forEach((t=>{Object.keys(e.paths[t]).filter((e=>_7.includes(e.toUpperCase()))).forEach((n=>{var r,o,i,a,s,l;const c=e.paths[t][n],u={httpVerb:n,path:t,operationId:c.operationId||t,name:c.summary||t||"",description:c.description||"",information:{...c},pathParameters:null==(o=null==(r=e.paths)?void 0:r[t])?void 0:o.parameters};if(c.tags&&0!==c.tags.length)c.tags.forEach((t=>{var n,r,o;const i=null==(n=e.tags)?void 0:n.findIndex((e=>e.name===t));-1===i&&(null==(r=e.tags)||r.push({name:t,description:""}));const a=-1!==i?i:e.tags.length-1;void 0===(null==(o=e.tags[a])?void 0:o.operations)&&(e.tags[a].operations=[]),e.tags[a].operations.push(u)}));else{(null==(i=e.tags)?void 0:i.find((e=>"default"===e.name)))||null==(a=e.tags)||a.push({name:"default",description:"",operations:[]});const t=null==(s=e.tags)?void 0:s.findIndex((e=>"default"===e.name));t>=0&&(null==(l=e.tags[t])||l.operations.push(u))}}))}));const n={...e,webhooks:t};return E7(n)},E7=e=>{var t;return{...e,tags:null==(t=e.tags)?void 0:t.filter((e=>{var t;return(null==(t=e.operations)?void 0:t.length)>0}))}},Q7=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(e.length>0&&["{","["].includes(e[0]))throw t;return hZ.load(e)}return e},C7={info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},components:{schemas:{},securitySchemes:{}},servers:[],tags:[]};function A7({input:e}){const t=Yt({...C7}),n=dn(null);async function r(e){if(void 0===e)return void Object.assign(t,{...C7});if(0===e.length)return void Object.assign(t,{...C7});(e=>new Promise(((t,n)=>{try{const r=Q7(e);P7.dereference(r,((e,r)=>{if(e&&n(e),void 0===r)return void n("Couldn’t parse the Swagger file.");const o=T7(r);t(o)}))}catch(r){n(r)}})))(e.trim()).then((e=>{n.value=null,Object.assign(t,{servers:[],...e})})).catch((e=>{n.value=e.toString()}))}return un(e)?Ir(e,Dd((e=>{r(e)})),{immediate:!0}):r(e),{parsedSpecRef:t,overwriteParsedSpecRef:function(e){Object.assign(t,e)},errorRef:n}}const{getHeadingId:R7,getWebhookId:D7,getModelId:N7,getOperationId:j7,getTagId:q7,hash:I7}=_Z(!1),U7=dn(void 0),M7=Yt({});function X7(e){M7[e]=!M7[e]}function F7(e,t){M7[e]=t}const Z7=dn([]),V7=Ua((()=>{var e,t,n,r,o,i,a,s,l,c;const{state:u}=MT(),d={},p=Z7.value.map((e=>({id:R7(e),title:e.value.toUpperCase(),show:!u.showApiClient}))),f=null==(t=null==(e=U7.value)?void 0:e.tags)?void 0:t[0];var h;var m;return{entries:[...p,...(f&&(1!==(null==(h=null==(n=U7.value)?void 0:n.tags)?void 0:h.length)||"default"!==h[0].name||""!==h[0].description)&&(null==(r=f.operations)?void 0:r.length)>0?null==(i=null==(o=U7.value)?void 0:o.tags)?void 0:i.map((e=>{var t;return{id:q7(e),title:e.name.toUpperCase(),show:!0,children:null==(t=e.operations)?void 0:t.map((t=>{var n;const r=j7(t,e),o=t.name??t.path;return d[r]=o,{id:r,title:o,httpVerb:t.httpVerb,deprecated:(null==(n=t.information)?void 0:n.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&CM(t)}}}))}})):null==(a=null==f?void 0:f.operations)?void 0:a.map((e=>{var t;const n=j7(e,f),r=e.name??e.path;return d[n]=r,{id:n,title:r,httpVerb:e.httpVerb,deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&CM(e)}}})))??[],...(m=U7.value)&&Object.keys((null==m?void 0:m.webhooks)??{}).length?[{id:D7(),title:"WEBHOOKS",show:!u.showApiClient,children:Object.keys((null==(s=U7.value)?void 0:s.webhooks)??{}).map((e=>{var t,n;const r=D7(e);return d[r]=e,Object.keys((null==(n=null==(t=U7.value)?void 0:t.webhooks)?void 0:n[e])??{}).map((t=>{var n,r,o;return{id:D7(e,t),title:null==(o=null==(r=null==(n=U7.value)?void 0:n.webhooks)?void 0:r[e][t])?void 0:o.name,httpVerb:t,show:!u.showApiClient}}))})).flat()}]:[],...gM(U7.value)?[{id:N7(),title:"MODELS",show:!u.showApiClient,children:Object.keys((null==(c=null==(l=U7.value)?void 0:l.components)?void 0:c.schemas)??{}).map((e=>{var t,n,r;const o=N7(e);return d[o]=e,{id:o,title:(null==(r=null==(n=null==(t=null==U7?void 0:U7.value)?void 0:t.components)?void 0:n.schemas)?void 0:r[e]).title??e,show:!u.showApiClient}}))}]:[]],titles:d}})),L7=Ua((()=>{var e,t;return(null==(t=null==(e=V7.value)?void 0:e.titles)?void 0:t[I7.value])??""}));function z7(e){return(null==e?void 0:e.parsedSpec)&&(U7.value=e.parsedSpec,Ir(U7,(()=>{var e,t;const n=null==(t=null==(e=U7.value)?void 0:e.tags)?void 0:t[0];n&&F7(q7(n),!0)}),{immediate:!0,deep:!0}),Ir((()=>{var e,t;return null==(t=null==(e=U7.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const n=null==(t=null==(e=U7.value)?void 0:e.info)?void 0:t.description;return n?Z7.value=await(async e=>{const t=await lM(e),n=uM(t);return t.filter((e=>e.depth===n))})(n):[]}))),{breadcrumb:L7,items:V7,collapsedSidebarItems:M7,toggleCollapsedSidebarItem:X7,setCollapsedSidebarItem:F7}}const W7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:B7,Blob:Y7,File:H7}=W7,G7="\r\n",K7="-".repeat(2),J7=Symbol.toStringTag,e9=(e,t,n)=>{let r="";return r+=`${K7}${e}${G7}`,r+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof n&&"blob"!==n.name&&(r+=`; filename="${n.name}"${G7}`,r+=`Content-Type: ${n.type||"application/octet-stream"}`),`${r}${G7.repeat(2)}`},t9=async function*(e,t){for(const[n,r]of e)yield e9(t,n,r),"string"==typeof r?yield r:yield await r.text(),yield G7;yield(e=>`${K7}${e}${K7}${G7.repeat(1)}`)(t)},n9=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),r9=(e,t)=>{const n=n9(e,t);if(n)return e[n]},o9=(e,t)=>Boolean(n9(e,t)),i9=["application/json","application/x-json","text/json","text/x-json","+json"],a9=(e,t)=>{if(void 0===t.value)return e;const n=e[t.name];return void 0===n?(e[t.name]=t.value,e):Array.isArray(n)?(n.push(t.value),e):(e[t.name]=[n,t.value],e)};function s9(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class l9 extends URL{get path(){return this.pathname+this.search}}class c9{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function u9(e,t={}){const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:o=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?o?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?o?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const d9=e=>u9(e,{delimiter:"'"}),p9=e=>u9(e,{delimiter:'"'}),f9={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:o})=>{const{push:i,blank:a,join:s}=new c9;i("CURL *hnd = curl_easy_init();"),a(),i(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),i(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n);return l.length&&(a(),i("struct curl_slist *headers = NULL;"),l.forEach((e=>{i(`headers = curl_slist_append(headers, "${e}: ${p9(n[e])}");`)})),i("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),r.cookie&&(a(),i(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),(null==o?void 0:o.text)&&(a(),i(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`)),a(),i("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class h9{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}class m9{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}}const g9=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),O9=e=>"object"===g9(e)&&0===Object.keys(e).length,y9=e=>(Object.keys(e).filter((t=>O9(e[t]))).forEach((t=>{delete e[t]})),e),b9=(e,t)=>{const n=" ".repeat(e);return t.replace(/\n/g,`\n${n}`)},v9=e=>{switch(g9(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,n)=>`${t}:${n} ${b9(n.length+2,v9(e[n]))}\n `),"").trim();return`{${b9(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${v9(t)}`),"").trim();return`[${b9(1,t)}]`}}},w9={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:o},i)=>{const{push:a,join:s}=new c9({indent:null==i?void 0:i.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return a("Method not supported"),s();const l={headers:o,"query-params":e};switch(null==n?void 0:n.mimeType){case"application/json":{l["content-type"]=new h9("json"),l["form-params"]=n.jsonObj;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=n.text;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(n.params){l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new m9(e.fileName)}:{name:e.name,content:e.value}));const e=n9(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===r9(l.headers,"accept")){l.accept=new h9("json");const e=n9(l.headers,"accept");e&&delete l.headers[e]}if(a("(require '[clj-http.client :as client])\n"),O9(y9(l)))a(`(client/${t} "${r}")`);else{const e=11+t.length+r.length;a(`(client/${t} "${r}" ${b9(e,v9(y9(l)))})`)}return s()}}}},S9={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:{info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i,a;const s={indent:" ",...o},{push:l,join:c}=new c9({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=r9(e,"accept-encoding");if(!t)return[];const n={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=n[t[1]];e&&r.push(e)}}))})),r})(e);(d||p.length)&&(u="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),d&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${u});`),l("var request = new HttpRequestMessage"),l("{");n=(n=n.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(n)?`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:`new HttpMethod("${n}")`,l(`Method = ${n},`,1),l(`RequestUri = new Uri("${r}"),`,1);const f=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(f.length&&(l("Headers =",1),l("{",1),f.forEach((t=>{l(`{ "${t}", "${p9(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary<string, string>",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(a=t.params)||void 0===a||a.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:i})=>{const{push:a,join:s}=new c9;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(a(`var client = new RestClient("${n}");`),a(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach((e=>{a(`request.AddHeader("${e}", "${p9(r[e])}");`)})),null==o||o.forEach((({name:e,value:t})=>{a(`request.AddCookie("${e}", "${t}");`)})),null==i?void 0:i.text){const t=r9(e,"content-type"),n=JSON.stringify(i.text);a(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}return a("IRestResponse response = client.Execute(request);"),s()}}}},x9={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:n,fullUrl:r},o={})=>{const{blank:i,push:a,join:s}=new c9({indent:"\t"}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=o,f=c?"err":"_",h=l?1:0,m=()=>{c&&(a("if err != nil {",h),a("panic(err)",h+1),a("}",h))};l&&(a("package main"),i(),a("import ("),a('"fmt"',h),d>0&&a('"time"',h),p&&a('"crypto/tls"',h),(null==e?void 0:e.text)&&a('"strings"',h),a('"net/http"',h),u&&a('"io"',h),a(")"),i(),a("func main() {"),i()),p&&(a("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",h),a("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",h));const g=d>0,O=g||p,y=O?"client":"http.DefaultClient";return O&&(a("client := http.Client{",h),g&&a(`Timeout: time.Duration(${d} * time.Second),`,h+1),p&&a("Transport: insecureTransport,",h+1),a("}",h),i()),a(`url := "${r}"`,h),i(),(null==e?void 0:e.text)?(a(`payload := strings.NewReader(${JSON.stringify(e.text)})`,h),i(),a(`req, ${f} := http.NewRequest("${t}", url, payload)`,h),i()):(a(`req, ${f} := http.NewRequest("${t}", url, nil)`,h),i()),m(),Object.keys(n).length&&(Object.keys(n).forEach((e=>{a(`req.Header.Add("${e}", "${p9(n[e])}")`,h)})),i()),a(`res, ${f} := ${y}.Do(req)`,h),m(),u&&(i(),a("defer res.Body.Close()",h),a(`body, ${f} := io.ReadAll(res.Body)`,h),m()),i(),a("fmt.Println(res)",h),u&&a("fmt.Println(string(body))",h),l&&(i(),a("}")),s()}}}},k9={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",link:"https://tools.ietf.org/html/rfc7230",description:"HTTP/1.1 request string in accordance with RFC 7230"},convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:o,postData:i},a)=>{const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...a},{blank:l,push:c,join:u}=new c9({indent:"",join:"\r\n"}),d=s.absoluteURI?t:n.path;c(`${e} ${d} ${r}`);const p=Object.keys(o);p.forEach((e=>{const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()));c(`${t}: ${o[e]}`)})),s.autoHost&&!p.includes("host")&&c(`Host: ${n.host}`),s.autoContentLength&&(null==i?void 0:i.text)&&!p.includes("content-length")&&c(`Content-Length: ${i.text.length}`),l();return`${u()}\r\n${(null==i?void 0:i.text)||""}`}}}},$9={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",...o},{blank:a,push:s,join:l}=new c9({indent:i.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${p9(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),a(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},o)=>{const i={indent:" ",...o},{push:a,join:s}=new c9({indent:i.indent});return a("HttpRequest request = HttpRequest.newBuilder()"),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{a(`.header("${t}", "${p9(e[t])}")`,2)})),(null==r?void 0:r.text)?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(".build();",2),a("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),a("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const i={indent:" ",...o},{push:a,blank:s,join:l}=new c9({indent:i.indent});return a("OkHttpClient client = new OkHttpClient();"),s(),(null==e?void 0:e.text)&&(e.boundary?a(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),a("Request request = new Request.Builder()"),a(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{a(`.addHeader("${e}", "${p9(r[e])}")`,1)})),a(".build();",1),s(),a("Response response = client.newCall(request).execute();"),l()}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",...o},{join:a,push:s}=new c9({indent:i.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${p9(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),s(".asString();",1),a()}}}};var P9={};Object.defineProperty(P9,"__esModule",{value:!0}),P9.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const _9=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},T9=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)},E9=P9.default;var Q9=(e,t,n)=>{const r=[];return function e(t,n,o){let i;(n=n||{}).indent=n.indent||"\t",o=o||"",i=void 0===n.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:o,indent:o+n.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const a=e=>{if(void 0===n.inlineCharacterLimit)return e;const t=e.replace(new RegExp(i.newLine,"g"),"").replace(new RegExp(i.newLineOrSpace,"g")," ").replace(new RegExp(i.pad+"|"+i.indent,"g"),"");return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(i.newLine+"|"+i.newLineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),o).replace(new RegExp(i.indent,"g"),o+n.indent)};if(-1!==r.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||_9(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);const s="["+i.newLine+t.map(((r,a)=>{const s=t.length-1===a?i.newLine:","+i.newLineOrSpace;let l=e(r,n,o+n.indent);return n.transform&&(l=n.transform(t,a,l)),i.indent+l+s})).join("")+i.pad+"]";return r.pop(),a(s)}if(T9(t)){let s=Object.keys(t).concat(E9(t));if(n.filter&&(s=s.filter((e=>n.filter(t,e)))),0===s.length)return"{}";r.push(t);const l="{"+i.newLine+s.map(((r,a)=>{const l=s.length-1===a?i.newLine:","+i.newLineOrSpace,c="symbol"==typeof r,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(r),d=c||u?r:e(r,n);let p=e(t[r],n,o+n.indent);return n.transform&&(p=n.transform(t,r,p)),i.indent+String(d)+": "+p+l})).join("")+i.pad+"}";return r.pop(),a(l)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,n)};const C9=r(Q9),A9={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},o)=>{var i;const a={indent:" ",cors:!0,...o},{blank:s,push:l,join:c}=new c9({indent:a.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${C9(e.jsonObj,{indent:a.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),o9(t,"content-type")&&(null===(i=r9(t,"content-type"))||void 0===i?void 0:i.includes("boundary"))){const e=n9(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),a.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${d9(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:o},i)=>{const a={indent:" ",...i},{blank:s,push:l,join:c,addPostProcessor:u}=new c9({indent:a.indent});l("import axios from 'axios';"),s();const d={method:t,url:n};switch(Object.keys(r).length&&(d.params=r),Object.keys(e).length&&(d.headers=e),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(l("const encodedParams = new URLSearchParams();"),o.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":o.jsonObj&&(d.data=o.jsonObj);break;case"multipart/form-data":if(!o.params)break;l("const form = new FormData();"),o.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),d.data="[form]";break;default:(null==o?void 0:o.text)&&(d.data=o.text)}const p=C9(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",credentials:null,...o},{blank:a,join:s,push:l}=new c9({indent:i.indent}),c={method:e};switch(Object.keys(t).length&&(c.headers=t),null!==i.credentials&&(c.credentials=i.credentials),l(`const url = '${r}';`),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":c.body=n.paramsObj?n.paramsObj:n.text;break;case"application/json":c.body=JSON.stringify(n.jsonObj);break;case"multipart/form-data":if(!n.params)break;const e=n9(t,"content-type");e&&delete t[e],l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),a();break;default:(null==n?void 0:n.text)&&(c.body=n.text)}return c.headers&&!Object.keys(c.headers).length&&delete c.headers,l(`const options = ${C9(c,{indent:i.indent,inlineCharacterLimit:80,transform:(e,t,r)=>"body"===t&&n&&"application/x-www-form-urlencoded"===n.mimeType?`new URLSearchParams(${r})`:r})};`),a(),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&(l("options.body = form;"),a()),l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},o)=>{var i;const a={indent:" ",...o},{blank:s,push:l,join:c}=new c9({indent:a.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":u.data=r.paramsObj?r.paramsObj:r.text;break;case"application/json":u.processData=!1,u.data=r.text;break;case"multipart/form-data":if(!r.params)break;if(l("const form = new FormData();"),r.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",o9(n,"content-type")&&(null===(i=r9(n,"content-type"))||void 0===i?void 0:i.includes("boundary"))){const e=n9(n,"content-type");e&&delete u.headers[e]}s();break;default:(null==r?void 0:r.text)&&(u.data=r.text)}const d=C9(u,{indent:a.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}}}},R9={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:n,allHeaders:r},o)=>{const i={indent:" ",...o},{blank:a,join:s,push:l}=new c9({indent:i.indent});return l("val client = OkHttpClient()"),a(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${p9(r[e])}")`,1)})),l(".build()",1),a(),l("val response = client.newCall(request).execute()"),s()}}}},D9={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{info:{key:"native",title:"HTTP",link:"http://nodejs.org/api/http.html#http_http_request_options_callback",description:"Node.js native HTTP interface"},convert:({uriObj:e,method:t,allHeaders:n,postData:r},o={})=>{const{indent:i=" ",insecureSkipVerify:a=!1}=o,{blank:s,join:l,push:c,unshift:u}=new c9({indent:i}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port,path:e.path,headers:n,...a?{rejectUnauthorized:!1}:{}};switch(c(`const http = require('${e.protocol.replace(":","")}');`),s(),c(`const options = ${C9(d,{indent:i})};`),s(),c("const req = http.request(options, function (res) {"),c("const chunks = [];",1),s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),c("});",1),s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),c("console.log(body.toString());",2),c("});",1),c("});"),s(),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":r.paramsObj&&(u("const qs = require('querystring');"),c(`req.write(qs.stringify(${C9(r.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":r.jsonObj&&c(`req.write(JSON.stringify(${C9(r.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==r?void 0:r.text)&&c(`req.write(${C9(r.text,{indent:i})});`)}return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",link:"https://github.com/request/request",description:"Simplified HTTP request client"},convert:({method:e,url:t,queryObj:n,postData:r,headersObj:o,cookies:i},a)=>{const s={indent:" ",...a};let l=!1;const{push:c,blank:u,join:d,unshift:p}=new c9({indent:s.indent});c("const request = require('request');"),u();const f={method:e,url:t};switch(Object.keys(n).length&&(f.qs=n),Object.keys(o).length&&(f.headers=o),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":f.form=r.paramsObj;break;case"application/json":r.jsonObj&&(f.body=r.jsonObj,f.json=!0);break;case"multipart/form-data":if(!r.params)break;f.formData={},r.params.forEach((e=>{if(!e.fileName&&!e.fileName&&!e.contentType)return void(f.formData[e.name]=e.value);let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}}):e.value&&(t.value=e.value),f.formData[e.name]=t}));break;default:(null==r?void 0:r.text)&&(f.body=r.text)}return i.length&&(f.jar="JAR",c("const jar = request.jar();"),i.forEach((e=>{c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)})),u()),l&&p("const fs = require('fs');"),c(`const options = ${C9(f,{indent:" ",inlineCharacterLimit:80})};`),u(),c("request(options, function (error, response, body) {"),c("if (error) throw new Error(error);",1),u(),c("console.log(body);",1),c("});"),d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/nodejs.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,url:t,cookies:n,queryObj:r,postData:o,headersObj:i},a)=>{const s={indent:" ",...a};let l=!1;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:f}=new c9({indent:s.indent});switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`),u(),n.length&&(p("const CookieJar = unirest.jar();"),n.forEach((e=>{p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)})),p("req.jar(CookieJar);"),u()),Object.keys(r).length&&(p(`req.query(${C9(r,{indent:s.indent})});`),u()),Object.keys(i).length&&(p(`req.headers(${C9(i,{indent:s.indent})});`),u()),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.paramsObj&&(p(`req.form(${C9(o.paramsObj,{indent:s.indent})});`),u());break;case"application/json":o.jsonObj&&(p("req.type('json');"),p(`req.send(${C9(o.jsonObj,{indent:s.indent})});`),u());break;case"multipart/form-data":{if(!o.params)break;const e=[];o.params.forEach((t=>{const n={};t.fileName&&!t.value?(l=!0,n.body=`fs.createReadStream('${t.fileName}')`,c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(n.body=t.value),n.body&&(t.contentType&&(n["content-type"]=t.contentType),e.push(n))})),p(`req.multipart(${C9(e,{indent:s.indent})});`),u();break}default:(null==o?void 0:o.text)&&(p(`req.send(${C9(o.text,{indent:s.indent})});`),u())}return l&&f("const fs = require('fs');"),p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:o},i)=>{const a={indent:" ",...i},{blank:s,join:l,push:c,addPostProcessor:u}=new c9({indent:a.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(n).length&&(d.params=n),Object.keys(r).length&&(d.headers=r),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),o.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),o.jsonObj&&(d.data=o.jsonObj);break;default:s(),(null==o?void 0:o.text)&&(d.data=o.text)}const p=C9(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},convert:({method:e,fullUrl:t,postData:n,headersObj:r,cookies:o},i)=>{var a;const s={indent:" ",...i};let l=!1;const{blank:c,push:u,join:d,unshift:p}=new c9({indent:s.indent});u("const fetch = require('node-fetch');"),c();const f={method:e};switch(Object.keys(r).length&&(f.headers=r),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":p("const { URLSearchParams } = require('url');"),u("const encodedParams = new URLSearchParams();"),null===(a=n.params)||void 0===a||a.forEach((e=>{u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),f.body="encodedParams";break;case"application/json":n.jsonObj&&(f.body=JSON.stringify(n.jsonObj));break;case"multipart/form-data":if(!n.params)break;const e=n9(r,"content-type");e&&delete r[e],p("const FormData = require('form-data');"),u("const formData = new FormData();"),n.params.forEach((e=>{e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`)})),c();break;default:(null==n?void 0:n.text)&&(f.body=n.text)}if(o.length){const e=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");f.headers||(f.headers={}),f.headers.cookie=e}u(`const url = '${t}';`),f.headers&&!Object.keys(f.headers).length&&delete f.headers;const h=C9(f,{indent:" ",inlineCharacterLimit:80});return u(`const options = ${h};`),l&&p("const fs = require('fs');"),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&u("options.body = formData;"),c(),u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1),u("console.log(data);",1),u("} catch (error) {"),u("console.error(error);",1),u("}"),d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')}}}},N9=(e,t,n,r)=>{const o=`${e} *${t} = `;return`${o}${j9(n,r?o.length:void 0)};`},j9=(e,t)=>{const n=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>j9(e))).join(n)} ]`;case"[object Object]":{const t=[];for(const n in e)t.push(`@"${n}": ${j9(e[n])}`);return`@{ ${t.join(n)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},q9={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i;const a={indent:" ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new c9({indent:a.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import <Foundation/Foundation.h>"),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(N9("NSDictionary","headers",e,a.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(i=t.params)||void 0===i?void 0:i.length){c();const[e,...n]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),n.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(N9("NSDictionary","parameters",t.jsonObj,a.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(N9("NSArray","parameters",t.params||[],a.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${a.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${n}"];`),u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}}}},I9={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},o)=>{const i={indent:" ",...o},{push:a,blank:s,join:l}=new c9({indent:i.indent});a("open Cohttp_lwt_unix"),a("open Cohttp"),a("open Lwt"),s(),a(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?a(`let headers = Header.add (Header.init ()) "${c[0]}" "${p9(t[c[0]])}" in`):c.length>1&&(a("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{a(`("${e}", "${p9(t[e])}");`,1)})),a("] in")),(null==n?void 0:n.text)&&a(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),s();const u=c.length?"~headers ":"",d=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`;return a(`Client.call ${u}${d}${p} uri`),a(">>= fun (res, body_stream) ->"),a("(* Do stuff with the result *)",1),l()}}}},U9=(e,t,n)=>{switch(n=n||"",t=t||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return`'${u9(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const r=e.map((e=>U9(e,`${t}${t}`,t))).join(`,\n${t}`);return`[\n${t}${r}\n${n}]`}case"[object Object]":{const r=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(`${U9(n,t)} => ${U9(e[n],`${t}${t}`,t)}`);return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}},M9=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],X9={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:({uriObj:e,postData:t,fullUrl:n,method:r,httpVersion:o,cookies:i,headersObj:a},s={})=>{const{closingTag:l=!1,indent:c=" ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:f=!1,timeout:h=30}=s,{push:m,blank:g,join:O}=new c9({indent:c});p||(m(f?"<?":"<?php"),g()),m("$curl = curl_init();"),g();const y=[{escape:!0,name:"CURLOPT_PORT",value:""===e.port?null:e.port},{escape:!0,name:"CURLOPT_URL",value:n},{escape:!1,name:"CURLOPT_RETURNTRANSFER",value:"true"},{escape:!0,name:"CURLOPT_ENCODING",value:""},{escape:!1,name:"CURLOPT_MAXREDIRS",value:u},{escape:!1,name:"CURLOPT_TIMEOUT",value:h},{escape:!1,name:"CURLOPT_HTTP_VERSION",value:"HTTP/1.0"===o?"CURL_HTTP_VERSION_1_0":"CURL_HTTP_VERSION_1_1"},{escape:!0,name:"CURLOPT_CUSTOMREQUEST",value:r},{escape:!(null==t?void 0:t.jsonObj),name:"CURLOPT_POSTFIELDS",value:t?t.jsonObj?`json_encode(${U9(t.jsonObj,c.repeat(2),c)})`:t.text:void 0}];m("curl_setopt_array($curl, [");const b=new c9({indent:c,join:`\n${c}`});y.forEach((({value:e,name:t,escape:n})=>{null!=e&&b.push(`${t} => ${n?JSON.stringify(e):e},`)}));const v=i.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`));v.length&&b.push(`CURLOPT_COOKIE => "${v.join("; ")}",`);const w=Object.keys(a).sort().map((e=>`"${e}: ${p9(a[e])}"`));return w.length&&(b.push("CURLOPT_HTTPHEADER => ["),b.push(w.join(`,\n${c}${c}`),1),b.push("],")),m(b.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),O()}},guzzle:{info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",description:"PHP with Guzzle"},convert:({postData:e,fullUrl:t,method:n,cookies:r,headersObj:o},i)=>{var a;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...i},{push:l,blank:c,join:u}=new c9({indent:s.indent}),{code:d,push:p,join:f}=new c9({indent:s.indent});switch(s.noTags||(l(s.shortTags?"<?":"<?php"),c()),null==e?void 0:e.mimeType){case"application/x-www-form-urlencoded":p(`'form_params' => ${U9(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break;case"multipart/form-data":{const t=[];if(e.params&&e.params.forEach((function(e){if(e.fileName){const n={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(n.headers={"Content-Type":e.contentType}),t.push(n)}else e.value&&t.push({name:e.name,contents:e.value})})),t.length&&(p(`'multipart' => ${U9(t,s.indent+s.indent,s.indent)}`,1),o9(o,"content-type")&&(null===(a=r9(o,"content-type"))||void 0===a?void 0:a.indexOf("boundary")))){const e=n9(o,"content-type");e&&delete o[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${U9(e.text)},`,1)}const h=Object.keys(o).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${d9(o[e])}',`})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&h.push(`${s.indent}${s.indent}'cookie' => '${d9(m)}',`),h.length&&(p("'headers' => [",1),p(h.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),c(),d.length?(l(`$response = $client->request('${n}', '${t}', [`),l(f()),l("]);")):l(`$response = $client->request('${n}', '${t}');`),c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}},http1:{info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:({method:e,url:t,postData:n,queryObj:r,headersObj:o,cookiesObj:i},a={})=>{const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=a,{push:d,blank:p,join:f}=new c9({indent:l});switch(c||(d(u?"<?":"<?php"),p()),M9.includes(e.toUpperCase())||d(`HttpRequest::methodRegister('${e}');`),d("$request = new HttpRequest();"),d(`$request->setUrl(${U9(t)});`),M9.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),p(),Object.keys(r).length&&(d(`$request->setQueryData(${U9(r,l)});`),p()),Object.keys(o).length&&(d(`$request->setHeaders(${U9(o,l)});`),p()),Object.keys(i).length&&(d(`$request->setCookies(${U9(i,l)});`),p()),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${U9(n.mimeType)});`),d(`$request->setPostFields(${U9(n.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${U9(n.mimeType)});`),d(`$request->setBody(json_encode(${U9(n.jsonObj,l)}));`),p();break;default:(null==n?void 0:n.text)&&(d(`$request->setBody(${U9(n.text)});`),p())}return d("try {"),d("$response = $request->send();",1),p(),d("echo $response->getBody();",1),d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")),f()}},http2:{info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:({postData:e,headersObj:t,method:n,queryObj:r,cookiesObj:o,url:i},a={})=>{var s;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=a,{push:p,blank:f,join:h}=new c9({indent:c});let m=!1;switch(u||(p(d?"<?":"<?php"),f()),p("$client = new http\\Client;"),p("$request = new http\\Client\\Request;"),f(),null==e?void 0:e.mimeType){case"application/x-www-form-urlencoded":p("$body = new http\\Message\\Body;"),p(`$body->append(new http\\QueryString(${U9(e.paramsObj,c)}));`),f(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const n=[],r={};e.params.forEach((({name:e,fileName:t,value:o,contentType:i})=>{t?n.push({name:e,type:i,file:t,data:o}):o&&(r[e]=o)}));const o=Object.keys(r).length?U9(r,c):"null",i=n.length?U9(n,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${o}, ${i});`),o9(t,"content-type")&&(null===(s=r9(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=n9(t,"content-type");e&&delete t[e]}f(),m=!0;break}case"application/json":p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${U9(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${U9(e.text)});`),f(),m=!0)}return p(`$request->setRequestUrl(${U9(i)});`),p(`$request->setRequestMethod(${U9(n)});`),m&&(p("$request->setBody($body);"),f()),Object.keys(r).length&&(p(`$request->setQuery(new http\\QueryString(${U9(r,c)}));`),f()),Object.keys(t).length&&(p(`$request->setHeaders(${U9(t,c)});`),f()),Object.keys(o).length&&(f(),p(`$client->setCookies(${U9(o,c)});`),f()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),f(),p("echo $response->getBody();"),!u&&l&&(f(),p("?>")),h()}}}},F9=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:i,postData:a,allHeaders:s})=>{const{push:l,join:c}=new c9;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(n);return d.length&&(l("$headers=@{}"),d.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${u9(n[e],{escapeChar:"`"})}")`)})),u.push("-Headers $headers")),r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")})),u.push("-WebSession $session")),(null==a?void 0:a.text)&&(u.push(`-ContentType '${u9(r9(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${a.text}'`)),l(`$response = ${e} -Uri '${i}' -Method ${t} ${u.join(" ")}`),c()},Z9={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:F9("Invoke-RestMethod")},V9={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:F9("Invoke-WebRequest")};function L9(e,t,n,r,o){const i=r.repeat(o),a=r.repeat(o-1),s=n?`,\n${i}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]";return n?`${l}\n${i}${t.join(s)}\n${a}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`}const z9=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;return L9("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),z9(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[];for(const o in e)r.push(`"${o}": ${z9(e[o],t,n)}`);return L9("object",r,t.pretty&&r.length>1,t.indent,n)}case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},W9=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],B9={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:n,postData:r,allHeaders:o,method:i},a={})=>{var s,l;const{push:c,blank:u,join:d}=new c9({indent:null!==(s=a.indent)&&void 0!==s?s:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const f=Object.entries(p),h=f.length;if(1===h){const e=f[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),u()}else h>1&&(c("queryString <- list("),f.forEach((([e,t],n)=>{c(`${e} = "${t}"${n!==h-1?",":""}`,1)})),c(")"),u());const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),u()),r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u()}const g=r9(o,"cookie"),O=r9(o,"accept"),y=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,b=O?`accept("${p9(O)}")`:void 0,v=`content_type("${p9(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(o).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${d9(t)}'`)).join(", "),S=w?`add_headers(${w})`:void 0;let x=`response <- VERB("${i}", url`;m&&(x+=", body = payload"),n.length&&(x+=", query = queryString");const k=[S,v,b,y].filter((e=>!!e)).join(", ");return k&&(x+=`, ${k}`),r&&(r.text||r.jsonObj||r.params)&&(x+=", encode = encode"),x+=")",c(x),u(),c('content(response, "text")'),d()}},Y9=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,H9={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},G9=(e,t)=>t.repeat(e),K9=(e,t,n,r)=>{const o=G9(r,n),i=G9(r-1,n),a=t?`,\n${o}`:", ";return t?`[\n${o}${e.join(a)}\n${i}]`:`[${e.join(a)}]`},J9=(e,t,n)=>`let ${e} = ${eee(t,n)}`,eee=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;const o=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),eee(e,t,n))));return K9(o,r,t.indent,n)}case"[object Object]":{const r=[];for(const o in e)r.push(`"${o}": ${eee(e[o],t,n)}`);return K9(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},tee={c:f9,clojure:w9,csharp:S9,go:x9,http:k9,java:$9,javascript:A9,kotlin:R9,node:D9,objc:q9,ocaml:I9,php:X9,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:V9,restmethod:Z9}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:{info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:n},postData:r,allHeaders:o,method:i},a={})=>{const{insecureSkipVerify:s=!1}=a,{push:l,blank:c,join:u}=new c9;if(l("import http.client"),s&&l("import ssl"),c(),"https:"===t){l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),c()}else l(`conn = http.client.HTTPConnection("${n}")`),c();const d=JSON.stringify(null==r?void 0:r.text);d&&(l(`payload = ${d}`),c());const p=o,f=Object.keys(p).length;if(1===f)for(const h in p)l(`headers = { '${h}': "${p9(p[h])}" }`),c();else if(f>1){let e=1;l("headers = {");for(const t in p)e++!==f?l(` '${t}': "${p9(p[t])}",`):l(` '${t}': "${p9(p[t])}"`);l("}"),c()}return l(d&&f?`conn.request("${i}", "${e}", payload, headers)`:d&&!f?`conn.request("${i}", "${e}", payload)`:!d&&f?`conn.request("${i}", "${e}", headers=headers)`:`conn.request("${i}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}},requests:{info:{key:"requests",title:"Requests",link:"http://docs.python-requests.org/en/latest/api/#requests.request",description:"Requests HTTP library"},convert:({queryObj:e,url:t,postData:n,allHeaders:r,method:o},i)=>{const a={indent:" ",pretty:!0,...i},{push:s,blank:l,join:c}=new c9({indent:a.indent});let u;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,s(u),l());const d=r;let p={};const f={};let h=!1,m=!1,g=!1;switch(null==n?void 0:n.mimeType){case"application/json":n.jsonObj&&(s(`payload = ${z9(n.jsonObj,a)}`),g=!0,m=!0);break;case"multipart/form-data":if(!n.params)break;if(p={},n.params.forEach((e=>{e.fileName?(f[e.name]=`open('${e.fileName}', 'rb')`,h=!0):(p[e.name]=e.value,m=!0)})),h){s(`files = ${z9(f,a)}`),m&&s(`payload = ${z9(p,a)}`);const e=n9(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!n)break;if("application/x-www-form-urlencoded"===n.mimeType&&n.paramsObj){s(`payload = ${z9(n.paramsObj,a)}`),m=!0;break}const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}}const O=Object.keys(d).length;if(0===O&&(m||h))l();else if(1===O)for(const b in d)s(`headers = {"${b}": "${p9(d[b])}"}`),l();else if(O>1){let e=1;s("headers = {");for(const t in d)s(e!==O?`"${t}": "${p9(d[t])}",`:`"${t}": "${p9(d[t])}"`,1),e+=1;s("}"),l()}let y=W9.includes(o)?`response = requests.${o.toLowerCase()}(url`:`response = requests.request("${o}", url`;return m&&(y+=g?", json=payload":", data=payload"),h&&(y+=", files=files"),O>0&&(y+=", headers=headers"),u&&(y+=", params=querystring"),y+=")",s(y),l(),s("print(response.json())"),c()}}}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:B9}},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:{info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:o},i={})=>{const{insecureSkipVerify:a=!1}=i,{push:s,blank:l,join:c}=new c9;s("require 'uri'"),s("require 'net/http'"),l();const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==r?void 0:r.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${n}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),a&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(o);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${d9(o[e])}'`)})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},convert:({fullUrl:e,method:t,httpVersion:n,headersObj:r,allHeaders:o,postData:i},a={})=>{var s;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:f=!1}=a,{push:h,join:m}=new c9({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=H9[t];return e?`-${e}`:""}return`--${t}`})(f);let O=Y9(e);if(h(`curl ${g("request")} ${t}`),c&&(O=unescape(O),h(g("globoff"))),h(`${g("url ")}${O}`),d&&h(g("insecure")),"HTTP/1.0"===n&&h(g("http1.0")),r9(o,"accept-encoding")&&h("--compressed"),"multipart/form-data"===(null==i?void 0:i.mimeType)){const e=n9(r,"content-type");if(e){const t=r[e];if(e&&t){const n=t.replace(/; boundary.+?(?=(;|$))/,"");r[e]=n,o[e]=n}}}switch(Object.keys(r).sort().forEach((e=>{const t=`${e}: ${r[e]}`;h(`${g("header")} ${Y9(t)}`)})),o.cookie&&h(`${g("cookie")} ${Y9(o.cookie)}`),null==i?void 0:i.mimeType){case"multipart/form-data":null===(s=i.params)||void 0===s||s.forEach((e=>{let t="";t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,h(`${g("form")} ${Y9(t)}`)}));break;case"application/x-www-form-urlencoded":i.params?i.params.forEach((e=>{const t=e.name,n=encodeURIComponent(e.name),r=n!==t;h(`${l?"--data-binary":"--data"+(r?"-urlencode":"")} ${Y9(`${r?n:t}=${e.value}`)}`)})):h(`${l?"--data-binary":g("data")} ${Y9(i.text)}`);break;default:{if(!i)break;if(!i.text)break;const e=l?"--data-binary":g("data");let t=!1;if(y=i.mimeType,i9.some((e=>y.includes(e)))){if(i.text.length>2&&p)try{const n=JSON.parse(i.text);t=!0;const r=JSON.stringify(n,void 0,u);i.text.indexOf("'")>0?h(`${e} @- <<EOF\n${r}\nEOF`):h(`${e} '\n${r}\n'`)}catch(b){}}t||h(`${e} ${Y9(i.text)}`)}}var y;return m()}},httpie:{info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:o,url:i},a)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...a},{push:l,join:c,unshift:u}=new c9({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[];s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${Y9(t)}`)})):l(`${e}==${Y9(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Y9(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${Y9(e.value)}`)}))):d=!0;if(u(`http ${p.length?`${p.join(" ")} `:""}${o} ${i=Y9(s.queryParams?i:r)}`),d&&(null==t?void 0:t.text)){u(`echo ${Y9(t.text)} | `)}return c()}},wget:{info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:n,fullUrl:r},o)=>{const i={indent:" ",short:!1,verbose:!1,...o},{push:a,join:s}=new c9({indent:i.indent,join:!1!==i.indent?` \\\n${i.indent}`:" "});var l;return i.verbose?a("wget "+(i.short?"-v":"--verbose")):a("wget "+(i.short?"-q":"--quiet")),a(`--method ${Y9(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`;a(`--header ${Y9(t)}`)})),(null==t?void 0:t.text)&&a(`--body-data ${l=Y9(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),a(i.short?"-O":"--output-document"),a(`- ${Y9(r)}`),s()}}}},swift:{info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:n,method:r},o)=>{var i;const a={indent:" ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new c9({indent:a.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(J9("headers",e,a))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(i=t.params)||void 0===i?void 0:i.length){const[e,...n]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),n.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${J9("parameters",t.jsonObj,a)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(J9("parameters",t.params,a)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${parseInt(a.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${r}"`),u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),u.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}},nee=()=>Object.keys(tee).map((e=>({...tee[e].info,clients:Object.keys(tee[e].clientsById).map((t=>tee[e].clientsById[t].info))})));class ree{constructor(e){let t=[];var n;t="object"==typeof(n=e)&&"log"in n&&"object"==typeof n.log&&"entries"in n.log&&Array.isArray(n.log.entries)?e.log.entries:[{request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const n={bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[],postData:{mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"},...e};return this.prepare(n)})))}async prepare(e){var t,n,r,o;const i={...e,fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}};if(i.queryString&&i.queryString.length&&(i.queryObj=i.queryString.reduce(a9,{})),i.headers&&i.headers.length){const e=/^HTTP\/2/;i.headersObj=i.headers.reduce(((t,{name:n,value:r})=>({...t,[e.exec(i.httpVersion)?n.toLocaleLowerCase():n]:r})),{})}i.cookies&&i.cookies.length&&(i.cookiesObj=i.cookies.reduceRight(((e,{name:t,value:n})=>({...e,[t]:n})),{}));const a=null===(t=i.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`));switch((null==a?void 0:a.length)&&(i.allHeaders.cookie=a.join("; ")),null===(n=i.postData)||void 0===n?void 0:n.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(i.postData.text="",i.postData.mimeType="multipart/form-data",null===(r=i.postData)||void 0===r?void 0:r.params){const e=new B7,t="---011000010111000001101001";null===(o=i.postData)||void 0===o||o.params.forEach((t=>{const n=t.name,r=t.value||"",o=t.fileName;var i;"object"==typeof(i=r)&&"function"==typeof i.arrayBuffer&&"string"==typeof i.type&&"function"==typeof i.stream&&"function"==typeof i.constructor&&/^(Blob|File)$/.test(i[J7])?e.append(n,r,o):e.append(n,new Y7([r],{type:t.contentType}),o?function(e){const t=e.split("/");return t[t.length-1]}(o):o)}));const{postData:n}=i;for await(const o of t9(e,t))n.text+=o;i.postData.boundary=t;const r=n9(i.headersObj,"content-type")||"content-type";i.headersObj[r]=`multipart/form-data; boundary=${t}`}break;case"application/x-www-form-urlencoded":i.postData.params?(i.postData.paramsObj=i.postData.params.reduce(a9,{}),i.postData.text=s9(i.postData.paramsObj).toString()):i.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(i.postData.mimeType="application/json",i.postData.text)try{i.postData.jsonObj=JSON.parse(i.postData.text)}catch(Oc){i.postData.mimeType="text/plain"}}const s={...i.allHeaders,...i.headersObj},l=new URL(i.url),c=Object.fromEntries(l.searchParams);i.queryObj={...i.queryObj,...c};const u=s9(i.queryObj),d=new URL(i.url);return d.search=u.toString(),l.search="",{...i,allHeaders:s,fullUrl:d.toString(),url:l.toString(),uriObj:new l9(d.toString())}}async convert(e,t,n){!n&&t&&(n=t);const r=tee[e];if(!r)return null;const{convert:o}=r.clientsById[t||r.info.default],i=(await this.requests).map((e=>o(e,n)));return 1===i.length?i[0]:i}}const oee=dn(["unirest"]);function iee(){return{availableTargets:Ua((()=>nee().map((e=>("node"===e.key&&(e.default="undici",e.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"})),e.clients=e.clients.filter((e=>!oee.value.includes(e.key))),e))).filter((e=>e.clients.length)))),excludedClients:Ht(oee),setExcludedClients:e=>oee.value=e}}const aee=dn(""),see=async({url:e,content:t},n)=>void 0!==e&&e.length>0?function(e){try{return Boolean(new URL(e))}catch(Oc){return!1}}(e)?await Sp(e,n):await Sp(e):"string"==typeof t?t:"object"==typeof t?JSON.stringify(t):"function"==typeof t?await see({content:t()},n):void 0;const lee={spec:{content:void 0,url:void 0,preparsedContent:void 0},proxy:void 0,theme:"default",showSidebar:!0,isEditable:!1},cee=e=>({raw:t})=>{const n=(new e).parseFromString(t,"image/svg+xml");if(n.getElementsByTagName("parsererror").length)return;const r=n.documentElement,o=(i=r.attributes,Object.fromEntries(Array.from(i).map((e=>[e.name,e.value]))));var i;const{width:a,height:s,...l}=o;return Ma("svg",{...l,innerHTML:r.innerHTML})},uee=Jr((async()=>{const e="undefined"==typeof DOMParser?(await Promise.resolve().then((()=>rOe))).DOMParser:DOMParser,t=cee(e);return t.props={raw:{type:String,required:!0}},t})),dee=Object.assign({}),pee=Object.assign({"./line/arrow-chevron-down.svg":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M23.25 7.311 12.53 18.03a.749.749 0 0 1-1.06 0L.75 7.311"></path></svg>',"./line/arrow-chevron-left.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M16.25 23.25 5.53 12.53a.749.749 0 0 1 0-1.06L16.25.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-chevron-right.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m5.5.75 10.72 10.72a.749.749 0 0 1 0 1.06L5.5 23.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-chevron-up.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 17.189 11.47 6.47a.749.749 0 0 1 1.06 0l10.72 10.719" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-down.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M12 .75v22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.5 12.75 12 23.25l10.5-10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-left.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M23.25 12H.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.25 1.5.75 12l10.5 10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-right.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 12h22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.75 22.5 23.25 12 12.75 1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-up.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M12 23.25V.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.5 11.25 12 .75 1.5 11.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/interface-add.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 12h22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 .75v22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/interface-close.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m.75 23.249 22.5-22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23.25 23.249.75.749" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/programming-script-code.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m7.629 4.5-6.44 6.439a1.5 1.5 0 0 0 0 2.121l6.44 6.44" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="m16.371 4.5 6.44 6.439a1.5 1.5 0 0 1 0 2.121l-6.44 6.44" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>'}),fee=Object.assign({"./brand/brand-software-development-github.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>GitHub</title>\n <path\n d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />\n</svg>',"./brand/programming-framework-angular.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Angular</title>\n <path\n d="M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984 11.999.001zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z" />\n</svg>',"./brand/programming-framework-astro.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Astro</title>\n <path\n d="M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.347 2.347 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.129 3.129 0 0 0 .378-1.494 3.14 3.14 0 0 0-.148-.954zM15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.18 18.18 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.175 18.175 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.613 1.613 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.614 1.614 0 0 1 15.55.6z" />\n</svg>',"./brand/programming-framework-laravel.svg":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.754.754 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.753.753 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.722.722 0 0 0-.246.194.748.748 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.747.747 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19 6.422-3.612Zm3.229-.063-2.5-1.25V7.215l2.5 1.25v3.322Zm1.5 0 2.5-1.25V7.215l-2.5 1.25v3.322Zm-9.5 1.025V4.714l-2.5 1.25v8.254l2.5-1.407Zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064l.472.227Zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5 6 4.661ZM20.323 6 18 4.839 15.677 6 18 7.161 20.323 6Z" clip-rule="evenodd"></path></svg>',"./brand/programming-framework-nextdotjs.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Next.js</title>\n <path\n d="M11.5725 0c-.1763 0-.3098.0013-.3584.0067-.0516.0053-.2159.021-.3636.0328-3.4088.3073-6.6017 2.1463-8.624 4.9728C1.1004 6.584.3802 8.3666.1082 10.255c-.0962.659-.108.8537-.108 1.7474s.012 1.0884.108 1.7476c.652 4.506 3.8591 8.2919 8.2087 9.6945.7789.2511 1.6.4223 2.5337.5255.3636.04 1.9354.04 2.299 0 1.6117-.1783 2.9772-.577 4.3237-1.2643.2065-.1056.2464-.1337.2183-.1573-.0188-.0139-.8987-1.1938-1.9543-2.62l-1.919-2.592-2.4047-3.5583c-1.3231-1.9564-2.4117-3.556-2.4211-3.556-.0094-.0026-.0187 1.5787-.0235 3.509-.0067 3.3802-.0093 3.5162-.0516 3.596-.061.115-.108.1618-.2064.2134-.075.0374-.1408.0445-.495.0445h-.406l-.1078-.068a.4383.4383 0 01-.1572-.1712l-.0493-.1056.0053-4.703.0067-4.7054.0726-.0915c.0376-.0493.1174-.1125.1736-.143.0962-.047.1338-.0517.5396-.0517.4787 0 .5584.0187.6827.1547.0353.0377 1.3373 1.9987 2.895 4.3608a10760.433 10760.433 0 004.7344 7.1706l1.9002 2.8782.096-.0633c.8518-.5536 1.7525-1.3418 2.4657-2.1627 1.5179-1.7429 2.4963-3.868 2.8247-6.134.0961-.6591.1078-.854.1078-1.7475 0-.8937-.012-1.0884-.1078-1.7476-.6522-4.506-3.8592-8.2919-8.2087-9.6945-.7672-.2487-1.5836-.42-2.4985-.5232-.169-.0176-1.0835-.0366-1.6123-.037zm4.0685 7.217c.3473 0 .4082.0053.4857.047.1127.0562.204.1642.237.2767.0186.061.0234 1.3653.0186 4.3044l-.0067 4.2175-.7436-1.14-.7461-1.14v-3.066c0-1.982.0093-3.0963.0234-3.1502.0375-.1313.1196-.2346.2323-.2955.0961-.0494.1313-.054.4997-.054z" />\n</svg>',"./brand/programming-framework-react.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>React</title>\n <path\n d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z" />\n</svg>',"./brand/programming-framework-vuedotjs.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51Z" fill="currentColor"></path><path d="m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z" fill="currentColor"></path></g></svg>',"./brand/programming-language-c.svg":'<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">\n <path\n d="M117.5 33.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6zM64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5z"\n fill="currentColor" />\n</svg>',"./brand/programming-language-clojure.svg":'<svg viewBox="0 0 128 128">\n <path\n d="M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266zm0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41.444 41.444 0 01-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a23.787 23.787 0 00-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394v-.011zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a17.884 17.884 0 001.913 2.114 28.056 28.056 0 01-9.173 1.56 28.176 28.176 0 01-10.023-1.86c-.065-.817-.1-1.638-.103-2.459a24.45 24.45 0 01.515-5.24V84.6zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a27.998 27.998 0 019.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a14.975 14.975 0 01-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653l.006-.005zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.612 61.612 0 0014.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407l.01.006z"\n fill="currentColor" />\n</svg>',"./brand/programming-language-csharp.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M117.5 33.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6zm-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8zM115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2v5zm-12.7 4h3.8l.9-4h-3.8z" />\n</svg>',"./brand/programming-language-css3.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438L1.5 0zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53L18.59 4.414z" />\n</svg>',"./brand/programming-language-go.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3c-.2.8 0 1.7.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5zM36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4zm36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1zm-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4zM41.7 17c-1.9 0-3.5 1.7-3.5 3.8 0 2.1 1.6 3.8 3.5 3.8s3.5-1.7 3.5-3.8c0-2.1-1.5-3.8-3.5-3.8zm1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1zm27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8 0 2.1 1.5 3.8 3.4 3.8s3.4-1.7 3.4-3.8c0-2.1-1.5-3.8-3.4-3.8zm1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1z" />\n</svg>',"./brand/programming-language-html5.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z" />\n</svg>',"./brand/programming-language-http.svg":'<svg width="373.7" height="200" viewBox="0 0 373.7 200" xmlns="http://www.w3.org/2000/svg">\n <path\n d="m326 0 47.7 100L326 200H47.7L0 100 47.7 0H326Zm-16 16.6H58.3L18.4 100l39.8 83.4h251.9l39.7-83.4L310 16.6ZM87.3 72v23.5h27V71.9h13.9v59.5h-13.8V107h-27v24.4H73.5V72h13.7Zm100.1 0V83h-19v48.3h-13.8V83.1h-19V72h51.8Zm53.4 0V83h-19v48.3h-13.8V83.1h-19V72h51.8Zm47 2.6c3.6 1.6 6.7 4.2 9 7.5 2 3.4 3.2 7.4 3 11.5.2 4-1 8-3 11.4a20 20 0 0 1-9 7.5c-4.4 1.8-9.1 2.7-13.8 2.6h-12v16.4H248V72H274a33 33 0 0 1 13.7 2.6ZM273 83.1H262v20.7H273c4.2 0 7.3-1 9.5-2.7a9.3 9.3 0 0 0 3.2-7.6c0-3.3-1-6-3.2-7.7-2.2-1.8-5.3-2.7-9.5-2.7Z"\n fill="currentColor" fill-rule="nonzero" />\n</svg>',"./brand/programming-language-java.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path\n d="M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a25.93 25.93 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88Z"\n fill="currentColor"></path>\n <path\n d="M17.17 16.91a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85Z"\n fill="currentColor"></path>\n <path\n d="M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.34 26.34 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05Z"\n fill="currentColor"></path>\n <path\n d="M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06Z"\n fill="currentColor"></path>\n <path d="M12.52 11.27s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36Z"\n fill="currentColor"></path>\n <path d="M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4Z"\n fill="currentColor"></path>\n <path\n d="M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.59 16.59 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38Z"\n fill="currentColor"></path>\n</svg>',"./brand/programming-language-javascript-js.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z" />\n</svg>',"./brand/programming-language-json.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path\n d="M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.78.78 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43Z"\n fill="currentColor"></path>\n <path\n d="M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.86 9.86 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.53 6.53 0 0 1 12 18.3h-.15a.78.78 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12Z"\n fill="currentColor"></path>\n</svg>',"./brand/programming-language-kotlin.svg":'<svg viewBox="0 0 128 128" fill="currentColor">\n <path d="M0 0h61.4L0 60.4zM0 128L128 0H64.6L0 63.7zM128 128L64.6 66.6 3.3 128z" />\n</svg>',"./brand/programming-language-node.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <g>\n <path\n d="M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69Z"\n fill="currentColor"></path>\n <path\n d="M15.51 14.76a9.33 9.33 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a11.84 11.84 0 0 0 1.36.08 12.16 12.16 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.33 9.33 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.46 12.46 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85Z"\n fill="currentColor"></path>\n </g>\n</svg>',"./brand/programming-language-objc.svg":'<svg viewBox="0 0 128 128" fill="currentColor">\n <path\n d="M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0117.506-42.759 60.939 60.939 0 0143.279-18.36 60.081 60.081 0 0142.647 17.71 60.145 60.145 0 0118.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.774 57.774 0 00-41.01 17.427 56.775 56.775 0 00-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 00-17.217-40.273A56.7 56.7 0 0064.068 6.986z" />\n <path\n d="M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183l-8.642-.066zM46.213 64.272c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785zm-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307l.033-.08zM49.205 55.158c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 015.537 1.223 4.062 4.062 0 012.006 3.61 4.48 4.48 0 01-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.016 5.016 0 01-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a33.966 33.966 0 01-4.327-.257l-.033-18.88zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782 0-1.638-1.368-2.644-3.61-2.644a9.779 9.779 0 00-2.006.145l.02 5.28zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75v6.287zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.313 9.313 0 01-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zM83.067 65.357v2.434h-7.32v-2.434h7.32zM100.158 73.63c-1.585.632-3.281.921-4.978.862-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.112 11.112 0 014.775.862l-.783 2.801a9.476 9.476 0 00-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.806 9.806 0 003.834-.717l.506 2.762zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z" />\n</svg>',"./brand/programming-language-ocaml.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.44 15.44 0 00-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a24.864 24.864 0 00-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a34.992 34.992 0 004.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855c0-.187 0-.187 0 0zm-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135.241 135.241 0 01-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0" />\n</svg>',"./brand/programming-language-php.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z" />\n</svg>',"./brand/programming-language-powershell.svg":'<svg viewBox="0 0 101 121" xmlns="http://www.w3.org/2000/svg">\n <g fill="none" fill-rule="evenodd">\n <path\n d="M63.69 58.855c-1.543-1.81-3.237-3.894-5.03-5.886-10.174-11.3-20.257-22.684-30.61-33.815C23.31 14.06 21.8 9.114 27.49 4.085c5.623-4.97 11.148-4.53 16.306 1.188C58.162 21.193 72.51 37.13 87.113 52.83c5.452 5.864 4.182 9.851-1.823 14.196-23.049 16.683-45.968 33.547-68.862 50.443-5.146 3.8-10.052 4.75-14.209-.86-4.586-6.19-.343-9.872 4.414-13.336 17.013-12.392 33.993-24.83 50.9-37.366 2.355-1.746 5.736-2.764 6.157-7.05Z"\n fill="currentColor" />\n <path\n d="M70.977 118.723c-6.196 0-12.4.213-18.583-.068-4.932-.223-7.9-2.979-7.838-8.174.06-4.912 2.536-8.605 7.463-8.738 13.542-.363 27.104-.285 40.651-.02 4.305.084 7.483 2.89 7.457 7.375-.03 5.146-2.739 9.133-8.25 9.465-6.944.42-13.93.104-20.899.104v.056Z"\n fill="currentColor" />\n </g>\n</svg>',"./brand/programming-language-python.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z" />\n</svg>',"./brand/programming-language-r.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88.362 88.362 0 0012.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41.01 41.01 0 00-1.828-2.851z" />\n <path\n d="M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.388 8.388 0 011.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137l-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"\n fill-rule="evenodd" />\n</svg>',"./brand/programming-language-ruby.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Ruby</title>\n <path\n d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z" />\n</svg>',"./brand/programming-language-scala.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Scala</title>\n <path\n d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z" />\n</svg>',"./brand/programming-language-shell.svg":'<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14">\n <path\n d="m2.378 9.9 5.139-4.627L2.377.645.69 2.205l3.4 3.042v.051L.69 8.341 2.378 9.9Zm14.19 3.299V11H8.591v2.199h7.977Z"\n fill-rule="nonzero" fill="currentColor" />\n</svg>',"./brand/programming-language-swift.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" fill="currentColor">\n\t<path\n\t\td="M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5z" />\n</svg>',"./brand/programming-language-typescript.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>TypeScript</title>\n <path\n d="M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z" />\n</svg>',"./brand/programming-tool-git.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.18 2.18 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.18 2.18 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18Z" fill="currentColor"></path></svg>',"./brand/programming-tool-tailwindcss.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Tailwind CSS</title>\n <path\n d="M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z" />\n</svg>'});function hee(e,t){const n=Object.entries(e).map((([e,n])=>{const r=e.replace("./solid/","").replace("./line/","").replace("./brand/","").replace(".svg","");return{icon:{src:`${t}/${r}`,title:r.replaceAll("-"," "),group:t,tags:[]},rawData:n}})),r=n.map((e=>e.icon)),o=Object.fromEntries(n.map((e=>[e.icon.src,e.rawData])));return{iconDefinitionList:r,iconDataMap:o}}const mee=hee(dee,"solid"),gee=hee(pee,"line"),Oee=hee(fee,"brand");mee.iconDefinitionList,gee.iconDefinitionList,Oee.iconDefinitionList;const yee={...mee.iconDataMap,...gee.iconDataMap,...Oee.iconDataMap},bee=["alt","src"],vee=Gr({__name:"Icon",props:{src:{},title:{}},setup(e){const t=e,n=Ua((()=>{return e=t.src,yee[e];var e}));return(e,t)=>n.value?(Zi(),Bi(mn(uee),{key:0,raw:n.value},null,8,["raw"])):(Zi(),Wi("img",{key:1,alt:e.title,src:e.src},null,8,bee))}}),wee=["href"],See={key:1,class:"action-menu"},xee=vl(Gr({__name:"SidebarElement",props:{item:{},isActive:{type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],setup(e,{expose:t,emit:n}){const r=e,o=async()=>{var e,t;r.hasChildren&&n("toggleOpen"),null==(t=null==(e=r.item)?void 0:e.select)||t.call(e)},i=dn(null);return t({el:i}),(e,t)=>{var n,r;return Zi(),Wi("li",{ref_key:"el",ref:i,class:"sidebar-group-item"},[ea("div",{class:$e(["sidebar-heading",{"sidebar-group-item__folder":e.hasChildren,active_page:e.isActive,deprecated:e.item.deprecated??!1}]),onClick:o},[e.hasChildren?(Zi(),Bi(mn(fp),{key:0,class:"toggle-nested-icon",icon:e.open?"ChevronDown":"ChevronRight",label:"Toggle group",size:"sm",onClick:zs(o,["stop"])},null,8,["icon","onClick"])):la("",!0),ea("a",{class:"sidebar-heading-link",href:`#${e.item.id}`},[(null==(r=null==(n=e.item)?void 0:n.icon)?void 0:r.src)?(Zi(),Bi(mn(vee),{key:0,class:"sidebar-icon",src:e.item.icon.src},null,8,["src"])):la("",!0),ea("span",null,Re(e.item.title),1),e.item.httpVerb?(Zi(),Wi("div",{key:1,class:$e(["sidebar-heading-type",[e.item.httpVerb?`sidebar-heading-type--${e.item.httpVerb}`:""]])},Re("delete"===e.item.httpVerb?"del":e.item.httpVerb),3)):la("",!0)],8,wee)],2),e.open?$o(e.$slots,"default",{key:0},void 0,!0):la("",!0),e.$slots["action-menu"]?(Zi(),Wi("div",See,[$o(e.$slots,"action-menu",{},void 0,!0)])):la("",!0)],512)}}}),[["__scopeId","data-v-d145b691"]]),kee=vl(Gr({__name:"SidebarGroup",props:{level:{}},setup:e=>(e,t)=>(Zi(),Wi("ul",{class:"sidebar-group sidebar-indent-nested",style:ve({"--sidebar-level":e.level})},[$o(e.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-1d9641f3"]]),$ee={class:"sidebar"},Pee=vl(Gr({__name:"Sidebar",props:{parsedSpec:{}},setup(e){const t=e,{hash:n}=_Z(),{items:r,toggleCollapsedSidebarItem:o,collapsedSidebarItems:i}=z7({parsedSpec:t.parsedSpec}),a=dn(null),s=dn({});Ir(n,(e=>{var t,n,r,o,i;const l=s.value[e];if(!l||!a.value)return;let c=-160;"heading"===l.getAttribute("data-sidebar-type")?c+=l.offsetTop+(null==(t=l.getElementsByClassName("sidebar-heading"))?void 0:t[0]).offsetHeight:c+=l.offsetTop+((null==(n=l.parentElement)?void 0:n.offsetTop)??0)+((null==(o=null==(r=l.parentElement)?void 0:r.parentElement)?void 0:o.offsetTop)??0),null==(i=a.value)||i.scrollTo({top:c,behavior:"smooth"})}));const l=(e,t)=>{(null==e?void 0:e.el)&&(s.value[t]=e.el)};return(e,t)=>(Zi(),Wi("div",$ee,[$o(e.$slots,"sidebar-start",{},void 0,!0),ea("div",{ref_key:"scrollerEl",ref:a,class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"},[ta(kee,{level:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(mn(r).entries,(e=>(Zi(),Wi(qi,{key:e.id},[e.show?(Zi(),Bi(xee,{key:0,ref_for:!0,ref:t=>l(t,e.id),"data-sidebar-type":"heading",hasChildren:e.children&&e.children.length>0,isActive:mn(n)===e.id,item:{id:e.id,title:e.title,select:e.select,httpVerb:e.httpVerb,deprecated:e.deprecated??!1},open:mn(i)[e.id]??!1,onToggleOpen:()=>mn(o)(e.id)},{default:Pr((()=>{var t;return[e.children&&(null==(t=e.children)?void 0:t.length)>0?(Zi(),Bi(kee,{key:0,level:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(e.children,(t=>(Zi(),Wi(qi,{key:t.id},[e.show?(Zi(),Bi(xee,{key:0,ref_for:!0,ref:e=>l(e,t.id),isActive:mn(n)===t.id,item:{id:t.id,title:t.title,select:t.select,httpVerb:t.httpVerb,deprecated:t.deprecated??!1}},null,8,["isActive","item"])):la("",!0)],64)))),128))])),_:2},1024)):la("",!0)]})),_:2},1032,["hasChildren","isActive","item","open","onToggleOpen"])):la("",!0)],64)))),128))])),_:1})],512),$o(e.$slots,"sidebar-end",{},void 0,!0)]))}}),[["__scopeId","data-v-4514cb6e"]]),_ee={key:0,class:"api-client-drawer"},Tee={class:"scalar-api-client__overlay"},Eee={class:"scalar-api-client__container"},Qee={class:"scalar-api-client-height"},Cee={key:0,class:"t-doc__sidebar"},Aee={key:1,class:"t-doc__sidebar"},Ree=vl(Gr({__name:"ApiClientModal",props:{parsedSpec:{},overloadShow:{type:Boolean},tabMode:{type:Boolean},activeTab:{},proxyUrl:{}},emits:["toggleDarkMode"],setup(e){const{hideApiClient:t,state:n}=MT(),r=Md("(max-width: 1000px)");return(e,o)=>(Zi(),Wi(qi,null,[mn(n).showApiClient||e.overloadShow?(Zi(),Wi("div",_ee,[ea("div",Tee,[ea("div",Eee,[$o(e.$slots,"header",{},void 0,!0),ea("div",Qee,[e.tabMode?(Zi(),Wi(qi,{key:0},["sidebar"===e.activeTab?(Zi(),Wi("div",Cee,[Vr(ta(Pee,{parsedSpec:e.parsedSpec},null,8,["parsedSpec"]),[[Ys,!mn(r)]])])):$o(e.$slots,"active-tab",{key:1},void 0,!0)],64)):(Zi(),Wi("div",Aee,[Vr(ta(Pee,{parsedSpec:e.parsedSpec},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",{},void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",{},void 0,!0)])),_:3},8,["parsedSpec"]),[[Ys,!mn(r)]])])),ta(mn(pj),{proxyUrl:e.proxyUrl,readOnly:"",theme:"none",onEscapeKeyPress:mn(t)},null,8,["proxyUrl","onEscapeKeyPress"])])])])])):la("",!0),mn(n).showApiClient?(Zi(),Wi("div",{key:1,class:"api-client-drawer-exit",onClick:o[0]||(o[0]=(...e)=>mn(t)&&mn(t)(...e))})):la("",!0)],64))}}),[["__scopeId","data-v-388c91f3"]]),Dee={class:"scalar-card"};const Nee=vl({},[["render",function(e,t){return Zi(),Wi("div",Dee,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-f9d4a1f3"]]),jee=vl(Gr({__name:"CardContent",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup:e=>(e,t)=>(Zi(),Wi("div",{class:$e(["scalar-card-content",{"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,"scalar-card--borderless":e.borderless}])},[$o(e.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-47a41f7c"]]),qee={class:"scalar-card-header-slots"},Iee={class:"scalar-card-header-slot scalar-card-header-title"},Uee={class:"scalar-card-header-slot scalar-card-header-actions"},Mee=vl(Gr({__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e;return(e,n)=>(Zi(),Bi(jee,pa(t,{class:"scalar-card-header"}),{default:Pr((()=>[ea("div",qee,[ea("div",Iee,[$o(e.$slots,"default",{},void 0,!0)]),ea("div",Uee,[$o(e.$slots,"actions",{},void 0,!0)])])])),_:3},16))}}),[["__scopeId","data-v-cf3fd893"]]),Xee=vl(Gr({__name:"CardFooter",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e;return(e,n)=>(Zi(),Bi(jee,Pe(ra(t)),{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},16))}}),[["__scopeId","data-v-c179b8a4"]]),Fee=vl(Gr({__name:"CardTabHeader",emits:["change"],setup(e,{emit:t}){const n=e=>{t("change",e)};return(e,t)=>(Zi(),Bi(Mee,null,{actions:Pr((()=>[$o(e.$slots,"actions",{},void 0,!0)])),default:Pr((()=>[ta(mn(Sd),{onChange:n},{default:Pr((()=>[ta(mn(xd),{class:"tab-list"},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))}}),[["__scopeId","data-v-b81067df"]]),Zee=vl(Gr({__name:"CardTab",setup:e=>(e,t)=>(Zi(),Bi(mn(kd),{as:"template"},{default:Pr((({selected:t})=>[ea("button",{class:$e({tab:!0,"tab-selected":t}),type:"button"},[ea("span",null,[$o(e.$slots,"default",{},void 0,!0)])],2)])),_:3}))}),[["__scopeId","data-v-d044c876"]]),Vee="object"==typeof self?self:globalThis,Lee=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new Vee[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new Vee[i](a),o)};return r})(new Map,e)(0),zee="",{toString:Wee}={},{keys:Bee}=Object,Yee=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Wee.call(e).slice(8,-1);switch(n){case"Array":return[1,zee];case"Object":return[2,zee];case"Date":return[3,zee];case"RegExp":return[4,zee];case"Map":return[5,zee];case"Set":return[6,zee]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Hee=([e,t])=>0===e&&("function"===t||"symbol"===t),Gee=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=Yee(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of Bee(r))!e&&Hee(Yee(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!Hee(Yee(o))&&!Hee(Yee(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&Hee(Yee(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Kee="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Lee(Gee(e,t)):structuredClone(e):(e,t)=>Lee(Gee(e,t)),Jee=function(e,t,n,r,o){const i=ete(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(!(null==r||r.type&&r.children))throw new Error("Expected valid `parent`");if(null==n!=(null==r))throw new Error("Expected both `index` and `parent`");return!!rte(e)&&i.call(o,e,n,r)},ete=function(e){if(null==e)return nte;if("string"==typeof e)return function(e){return tte(t);function t(t){return t.tagName===e}}(e);if("object"==typeof e)return function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ete(e[n]);return tte(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e);if("function"==typeof e)return tte(e);throw new Error("Expected function, string, or array as `test`")};function tte(e){return function(t,n,r){return Boolean(rte(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function nte(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function rte(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}const ote=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,ite=/^[a-zA-Z]:\\/;function ate(e){return e.join(" ").trim()}const ste=["http","https"],lte=["nofollow"],cte={};function ute(e){const t=e||cte,n=t.protocols||ste,r=ete(t.test);return function(e){YI(e,"element",(function(e,o,i){if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,o,i)){const r=e.properties.href;if(function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!ite.test(e)&&ote.test(e)}(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){const n=dte(t.content,e),r=n&&!Array.isArray(n)?[n]:n,o=dte(t.rel,e)||lte,i="string"==typeof o?function(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}(o):o,a=dte(t.target,e),s=dte(t.properties,e);if(s&&Object.assign(e.properties,Kee(s)),i.length>0&&(e.properties.rel=[...i]),a&&(e.properties.target=a),r){const n=dte(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:Kee(n),children:Kee(r)})}}}}))}}function dte(e,t){return"function"==typeof e?e(t):e}const pte=ete((function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName})),fte={}.hasOwnProperty;const hte=new Set(["pingback","prefetch","stylesheet"]);const mte=ete(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),gte=ete("meta");function Ote(e){return Boolean("text"===e.type||mte(e)||pte(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++n<t.length;)if(!hte.has(String(t[n])))return!1;return!0}(e)||gte(e)&&function(e,t){const n="element"===e.type&&fte.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}(e,"itemProp"))}const yte=/[ \t\n\f\r]/g;function bte(e){return"object"==typeof e?"text"===e.type&&vte(e.value):vte(e)}function vte(e){return""===e.replace(yte,"")}const wte=["pre","script","style","textarea"],Ste=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],xte=["button","input","select","textarea"],kte=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],$te={},Pte=XI(["doctype","comment"]);function _te(e,t){if("children"in e){const n={...t};return("root"===e.type||Cte(e))&&(n.before=!0,n.after=!0),n.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(e,t),function(e,t){let n=t.before;const r=t.after,o=e.children;let i=o.length,a=-1;for(;++a<i;){const e=_te(o[a],{...t,after:Tte(o,a,r),before:n});e.remove?(o.splice(a,1),a--,i--):e.ignore||(n=e.stripAtStart),Qte(o[a])&&(n=!1)}return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(e,n)}if("text"===e.type){if("normal"===t.whitespace)return function(e,t){const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1};let o=0,i=n.length;t.before&&Rte(n.charAt(0))&&o++;o!==i&&Rte(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0);o===i?r.remove=!0:e.value=n.slice(o,i);return r}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:Pte(e),stripAtStart:!1,remove:!1}}function Tte(e,t,n){for(;++t<e.length;){const n=e[t];let r=Ete(n);if(void 0===r&&"children"in n&&!Ate(n)&&(r=Tte(n.children,-1)),"boolean"==typeof r)return r}return n}function Ete(e){if("element"===e.type){if(Qte(e))return!1;if(Cte(e))return!0}else if("text"===e.type){if(!bte(e))return!1}else if(!Pte(e))return!1}function Qte(e){return pte(e)||Jee(e,xte)}function Cte(e){return Jee(e,Ste)}function Ate(e){return Boolean("element"===e.type&&e.properties.hidden)||Pte(e)||Jee(e,kte)}function Rte(e){return" "===e||"\n"===e}function Dte(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function Nte(){return" "}const jte={},qte=function(e){const t=function(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}((e||$te).newlines?Dte:Nte);return function(e){_te(e,{collapse:t,whitespace:"normal"})}}({newlines:!0});function Ite(e){const t=e||jte;let n=t.indent||2,r=t.indentInitial;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(e){let t;qte(e),BI(e,(function(e,i){let a=-1;if(!("children"in e))return;if(Jee(e,"head")&&(t=!0),t&&Jee(e,"body")&&(t=void 0),Jee(e,wte))return WI;const s=e.children;let l,c=i.length;if(0===s.length||!Ute(e,t))return;for(r||c--;++a<s.length;){const e=s[a];"text"!==e.type&&"comment"!==e.type||(e.value.includes("\n")&&(l=!0),e.value=e.value.replace(/ *\n/g,"$&"+String(n).repeat(c)))}const u=[];let d;for(a=-1;++a<s.length;){const e=s[a];(Ute(e,t)||l&&!a)&&(o(u,c,e),l=!0),d=e,u.push(e)}d&&(l||Ute(d,t))&&(bte(d)&&(u.pop(),d=u[u.length-1]),o(u,c-1)),e.children=u}))};function o(e,t,r){const o=e[e.length-1],a=(i(o&&bte(o)?e[e.length-2]:o)&&i(r)?"\n\n":"\n")+String(n).repeat(Math.max(t,0));o&&"text"===o.type?o.value=bte(o)?a:o.value+a:e.push({type:"text",value:a})}function i(e){return Boolean(e&&"element"===e.type&&t.blanks&&t.blanks.length>0&&t.blanks.includes(e.tagName))}}function Ute(e,t){return"root"===e.type||"element"===e.type&&(t||Jee(e,"script")||pte(e)||!Ote(e))}const Mte=function(e,t,n){const r=XI(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof t){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},Xte=/\n/g,Fte=/[\t ]+/g,Zte=ete("br"),Vte=ete((function(e){return"td"===e.tagName||"th"===e.tagName})),Lte=ete("p"),zte=ete("tr"),Wte=ete(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return Boolean((e.properties||{}).hidden)},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),Bte=ete(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Yte(e,t={}){const n="children"in e?e.children:[],r=Bte(e),o=Jte(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[];"text"!==e.type&&"comment"!==e.type||i.push(...Gte(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<n.length;)i.push(...Hte(n[a],e,{whitespace:o,breakBefore:a?void 0:r,breakAfter:a<n.length-1?Zte(n[a+1]):r}));const s=[];let l;for(a=-1;++a<i.length;){const e=i[a];"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function Hte(e,t,n){return"element"===e.type?function(e,t,n){const r=Jte(e,n),o=e.children||[];let i,a,s=-1,l=[];if(Wte(e))return l;Zte(e)||zte(e)&&Mte(t,e,zte)?a="\n":Lte(e)?(i=2,a=2):Bte(e)&&(i=1,a=1);for(;++s<o.length;)l=l.concat(Hte(o[s],e,{whitespace:r,breakBefore:s?void 0:i,breakAfter:s<o.length-1?Zte(o[s+1]):a}));Vte(e)&&Mte(t,e,Vte)&&l.push("\t");i&&l.unshift(i);a&&l.push(a);return l}(e,t,n):"text"===e.type?"normal"===n.whitespace?Gte(e,n):function(e){return[String(e.value)]}(e):[]}function Gte(e,t){const n=String(e.value),r=[],o=[];let i=0;for(;i<=n.length;){Xte.lastIndex=i;const e=Xte.exec(n),o=e&&"index"in e?e.index:n.length;r.push(Kte(n.slice(i,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==i||t.breakBefore,o!==n.length||t.breakAfter)),i=o+1}let a,s=-1;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(o.push(r[s]),a=void 0):r[s]?("number"==typeof a&&o.push(a),o.push(r[s]),a=0):0!==s&&s!==r.length-1||o.push(0);return o}function Kte(e,t,n){const r=[];let o,i=0;for(;i<e.length;){Fte.lastIndex=i;const n=Fte.exec(e);o=n?n.index:e.length,i||o||!n||t||r.push(""),i!==o&&r.push(e.slice(i,o)),i=n?o+n[0].length:o}return i===o||n||r.push(""),r.join(" ")}function Jte(e,t){if("element"===e.type){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}const ene=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],tne=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],nne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],rne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],one=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();var ine="[0-9](_*[0-9])*",ane=`\\.(${ine})`,sne="[0-9a-fA-F](_*[0-9a-fA-F])*",lne={className:"number",variants:[{begin:`(\\b(${ine})((${ane})|\\.)?|(${ane}))[eE][+-]?(${ine})[fFdD]?\\b`},{begin:`\\b(${ine})((${ane})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ane})[fFdD]?\\b`},{begin:`\\b(${ine})[fFdD]\\b`},{begin:`\\b0[xX]((${sne})\\.?|(${sne})?\\.(${sne}))[pP][+-]?(${ine})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${sne})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function cne(e,t,n){return-1===n?"":e.replace(t,(r=>cne(e,t,n-1)))}const une="[A-Za-z$_][0-9A-Za-z$_]*",dne=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],pne=["true","false","null","undefined","NaN","Infinity"],fne=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],hne=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],mne=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],gne=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],One=[].concat(mne,fne,hne);var yne="[0-9](_*[0-9])*",bne=`\\.(${yne})`,vne="[0-9a-fA-F](_*[0-9a-fA-F])*",wne={className:"number",variants:[{begin:`(\\b(${yne})((${bne})|\\.)?|(${bne}))[eE][+-]?(${yne})[fFdD]?\\b`},{begin:`\\b(${yne})((${bne})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${bne})[fFdD]?\\b`},{begin:`\\b(${yne})[fFdD]\\b`},{begin:`\\b0[xX]((${vne})\\.?|(${vne})?\\.(${vne}))[pP][+-]?(${yne})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${vne})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const Sne=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],xne=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],kne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],$ne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Pne=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),_ne=kne.concat($ne);const Tne=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Ene=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Qne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Cne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Ane=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Rne(e){return e?"string"==typeof e?e:e.source:null}function Dne(e){return Nne("(?=",e,")")}function Nne(...e){return e.map((e=>Rne(e))).join("")}function jne(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>Rne(e))).join("|")+")"}const qne=e=>Nne(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ine=["Protocol","Type"].map(qne),Une=["init","self"].map(qne),Mne=["Any","Self"],Xne=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Fne=["false","nil","true"],Zne=["assignment","associativity","higherThan","left","lowerThan","none","right"],Vne=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Lne=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],zne=jne(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Wne=jne(zne,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Bne=Nne(zne,Wne,"*"),Yne=jne(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Hne=jne(Yne,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Gne=Nne(Yne,Hne,"*"),Kne=Nne(/[A-Z]/,Hne,"*"),Jne=["attached","autoclosure",Nne(/convention\(/,jne("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Nne(/objc\(/,Gne,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ere=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];const tre="[A-Za-z$_][0-9A-Za-z$_]*",nre=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],rre=["true","false","null","undefined","NaN","Infinity"],ore=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ire=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],are=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],sre=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],lre=[].concat(are,ore,ire);const cre={arduino:function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},f={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n},bash:function(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,o]};o.contains.push(a);const s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,i,{match:/(\/[a-z._-]+)+/},a,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},f=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(h,m,f,[c,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}},cpp:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},f={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(o,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},f=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+f+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}},css:function(e){const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+nne.join("|")+")"},{begin:":(:)?("+rne.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+one.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:tne.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+ene.join("|")+")\\b"}]}},diff:function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},go:function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},graphql:function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}},ini:function(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,i,o,a,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,i,o,a,n]}}]}},java:function(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+cne("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,lne,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},lne,i]}},javascript:function(e){const t=e.regex,n=une,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:une,keyword:dne,literal:pne,built_in:One,"variable.language":gne},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},h={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},O=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,{match:/\$\d+/},u];d.contains=O.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(O)});const y=[].concat(g,d.contains),b=y.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(y)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},w={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...fne,...hne]}},x={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},k={match:t.concat(/\b/,($=[...mne,"super","import"],t.concat("(?!",$.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var $;const P={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},T="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(T)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,g,{match:/\$\d+/},u,S,{className:"attr",begin:n+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},P,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},k,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,_,{match:/\$[(.]/}]}},json:function(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},kotlin:function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(i);const a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},l=wne,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,a,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,a,s,i,e.C_NUMBER_MODE]},c]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},less:function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=_ne,r="[\\w-]+",o="("+r+"|@\\{"+r+"\\})",i=[],a=[],s=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:xne.join(" ")},u={begin:"\\(",end:"\\)",contains:a,keywords:c,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=a.concat({begin:/\{/,end:/\}/,contains:i}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},f={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Pne.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+r+"\\}"),{begin:"\\b("+Sne.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+kne.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+$ne.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},O={begin:r+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,O,f,g,p,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}},lua:function(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},o=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i]}},markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},o={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(r,{contains:[]}),a=e.inherit(o,{contains:[]});r.contains.push(a),o.contains.push(i);let s=[t,n];return[r,o,i,a].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(r,o),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,o,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},objectivec:function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},perl:function(e){const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},i={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,o,a],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,r,o="\\1")=>{const i="\\1"===o?o:t.concat(o,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,o,n)},u=(e,r,o)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,o,n),d=[a,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:s,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:c("s|tr|y",t.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=d,i.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:d}},php:function(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i={scope:"variable",match:"\\$+"+r},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},u={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},d=["false","null","true"],p=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],f=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],h={keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(d),built_in:f},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),g={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",m(f).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},O=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),O],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),O],scope:{1:"title.class",3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},b={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},v={relevance:0,begin:/\(/,end:/\)/,keywords:h,contains:[b,i,y,e.C_BLOCK_COMMENT_MODE,c,u,g]},w={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(p).join("\\b|"),"|",m(f).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[v]};v.contains.push(w);const S=[b,y,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,keywords:h,contains:[{begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},contains:["self",...S]},...S,{scope:"meta",match:o}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,w,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},g,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,c,u]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,u]}},"php-template":function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},python:function(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},f={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",i,p,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,p,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[i,p,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,f,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,h,l]}]}},"python-repl":function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}},r:function(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},h=[u,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:i},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=h,f.contains=h;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:h}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(h)}},rust:function(e){const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:o},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:i}},{className:"punctuation",begin:"->"},n]}},scss:function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=Cne,r=Qne,o="@[a-z-]+",i={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Tne.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},i,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ane.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,i,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Ene.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){const t=e.regex,n=e.COMMENT("--","$"),r=["true","false","unknown"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],s=i,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(l,{when:e=>e.length<3}),literal:r,type:o,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(a),literal:r,type:o}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],o={match:[/\./,jne(...Ine,...Une)],className:{2:"keyword"}},i={match:Nne(/\./,jne(...Xne)),relevance:0},a=Xne.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{className:"keyword",match:jne(...Xne.filter((e=>"string"!=typeof e)).concat(Mne).map(qne),...Une)}]},l={$pattern:jne(/\b\w+/,/#\w+/),keyword:a.concat(Vne),literal:Fne},c=[o,i,s],u=[{match:Nne(/\./,jne(...Lne)),relevance:0},{className:"built_in",match:Nne(/\b/,jne(...Lne),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:Bne},{match:`\\.(\\.|${Wne})+`}]}],f="([0-9]_*)+",h="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:`\\b(${f})(\\.(${f}))?([eE][+-]?(${f}))?\\b`},{match:`\\b0x(${h})(\\.(${h}))?([pP][+-]?(${f}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{match:Nne(/\\/,e,/[0\\tnr"']/)},{match:Nne(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),O=(e="")=>({className:"subst",match:Nne(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(e="")=>({className:"subst",label:"interpol",begin:Nne(/\\/,e,/\(/),end:/\)/}),b=(e="")=>({begin:Nne(e,/"""/),end:Nne(/"""/,e),contains:[g(e),O(e),y(e)]}),v=(e="")=>({begin:Nne(e,/"/),end:Nne(/"/,e),contains:[g(e),y(e)]}),w={className:"string",variants:[b(),b("#"),b("##"),b("###"),v(),v("#"),v("##"),v("###")]},S=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:S},k=e=>{const t=Nne(e,/\//),n=Nne(/\//,e);return{begin:t,end:n,contains:[...S,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},$={scope:"regexp",variants:[k("###"),k("##"),k("#"),x]},P={match:Nne(/`/,Gne,/`/)},_=[P,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${Hne}+`}],T=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ere,contains:[...p,m,w]}]}},{scope:"keyword",match:Nne(/@/,jne(...Jne))},{scope:"meta",match:Nne(/@/,Gne)}],E={match:Dne(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Nne(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Hne,"+")},{className:"type",match:Kne,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Nne(/\s+&\s+/,Dne(Kne)),relevance:0}]},Q={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...T,d,E]};E.contains.push(Q);const C={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:Nne(Gne,/\s*:/),keywords:"_|0",relevance:0},...r,$,...c,...u,...p,m,w,..._,...T,E]},A={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,E]},R={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:jne(Dne(Nne(Gne,/\s*:/)),Dne(Nne(Gne,/\s+/,Gne,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Gne}]},...r,...c,...p,m,w,...T,E,C],endsParent:!0,illegal:/["']/},D={match:[/(func|macro)/,/\s+/,jne(P.match,Gne,Bne)],className:{1:"keyword",3:"title.function"},contains:[A,R,t],illegal:[/\[/,/%/]},N={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[A,R,t],illegal:/\[|%/},j={match:[/operator/,/\s+/,Bne],className:{1:"keyword",3:"title"}},q={begin:[/precedencegroup/,/\s+/,Kne],className:{1:"keyword",3:"title"},contains:[E],keywords:[...Zne,...Fne],end:/}/};for(const I of w.variants){const e=I.contains.find((e=>"interpol"===e.label));e.keywords=l;const t=[...c,...u,...p,m,w,..._];e.contains=[...t,{begin:/\(/,end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l,contains:[...r,D,N,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},j,q,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},$,...c,...u,...p,m,w,..._,...T,E,C]}},typescript:function(e){const t=function(e){const t=e.regex,n=tre,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:tre,keyword:nre,literal:rre,built_in:lre,"variable.language":sre},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},h={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},O=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,{match:/\$\d+/},u];d.contains=O.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(O)});const y=[].concat(g,d.contains),b=y.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(y)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},w={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ore,...ire]}},x={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},k={match:t.concat(/\b/,($=[...are,"super","import"],t.concat("(?!",$.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var $;const P={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},T="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(T)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,g,{match:/\$\d+/},u,S,{className:"attr",begin:n+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},P,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},k,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,_,{match:/\$[(.]/}]}}(e),n=tre,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},a={$pattern:tre,keyword:nre.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:rre,built_in:lre.concat(r),"variable.language":sre},s={className:"meta",begin:"@"+n},l=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};return Object.assign(t.keywords,a),t.exports.PARAMS_CONTAINS.push(s),t.contains=t.contains.concat([s,o,i]),l(t,"shebang",e.SHEBANG()),l(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t},vbnet:function(e){const t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,i=/\d{1,2}(:\d{1,2}){1,2}/,a={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(o,i),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}},wasm:function(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}},xml:function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,s,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},yaml:function(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[...c];return u.pop(),u.push(o),a.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}}};function ure(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{const n=e[t],r=typeof n;"object"!==r&&"function"!==r||Object.isFrozen(n)||ure(n)})),e}class dre{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pre(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function fre(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const hre=e=>!!e.scope;class mre{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pre(e)}openNode(e){if(!hre(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hre(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const gre=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Ore{constructor(){this.rootNode=gre(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=gre({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{Ore._collapse(e)})))}}class yre extends Ore{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new mre(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function bre(e){return e?"string"==typeof e?e:e.source:null}function vre(e){return xre("(?=",e,")")}function wre(e){return xre("(?:",e,")*")}function Sre(e){return xre("(?:",e,")?")}function xre(...e){return e.map((e=>bre(e))).join("")}function kre(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>bre(e))).join("|")+")"}function $re(e){return new RegExp(e.toString()+"|").exec("").length-1}const Pre=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _re(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=bre(e),o="";for(;r.length>0;){const e=Pre.exec(r);if(!e){o+=r;break}o+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}const Tre="[a-zA-Z]\\w*",Ere="[a-zA-Z_]\\w*",Qre="\\b\\d+(\\.\\d+)?",Cre="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Are="\\b(0b[01]+)",Rre={begin:"\\\\[\\s\\S]",relevance:0},Dre={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Rre]},Nre={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Rre]},jre=function(e,t,n={}){const r=fre({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=kre("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:xre(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},qre=jre("//","$"),Ire=jre("/\\*","\\*/"),Ure=jre("#","$"),Mre={scope:"number",begin:Qre,relevance:0},Xre={scope:"number",begin:Cre,relevance:0},Fre={scope:"number",begin:Are,relevance:0},Zre={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Rre,{begin:/\[/,end:/\]/,relevance:0,contains:[Rre]}]},Vre={scope:"title",begin:Tre,relevance:0},Lre={scope:"title",begin:Ere,relevance:0},zre={begin:"\\.\\s*"+Ere,relevance:0};var Wre=Object.freeze({__proto__:null,APOS_STRING_MODE:Dre,BACKSLASH_ESCAPE:Rre,BINARY_NUMBER_MODE:Fre,BINARY_NUMBER_RE:Are,COMMENT:jre,C_BLOCK_COMMENT_MODE:Ire,C_LINE_COMMENT_MODE:qre,C_NUMBER_MODE:Xre,C_NUMBER_RE:Cre,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:Ure,IDENT_RE:Tre,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:zre,NUMBER_MODE:Mre,NUMBER_RE:Qre,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:Nre,REGEXP_MODE:Zre,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=xre(t,/.*\b/,e.binary,/\b.*/)),fre({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:Vre,UNDERSCORE_IDENT_RE:Ere,UNDERSCORE_TITLE_MODE:Lre});function Bre(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Yre(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function Hre(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Bre,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Gre(e,t){Array.isArray(e.illegal)&&(e.illegal=kre(...e.illegal))}function Kre(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Jre(e,t){void 0===e.relevance&&(e.relevance=1)}const eoe=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=xre(n.beforeMatch,vre(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},toe=["of","and","for","in","not","or","if","then","parent","list","value"],noe="keyword";function roe(e,t,n=noe){const r=Object.create(null);return"string"==typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){Object.assign(r,roe(e[n],t,n))})),r;function o(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,ooe(n[0],n[1])]}))}}function ooe(e,t){return t?Number(t):function(e){return toe.includes(e.toLowerCase())}(e)?0:1}const ioe={},aoe=e=>{console.error(e)},soe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},loe=(e,t)=>{ioe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ioe[`${e}/${t}`]=!0)},coe=new Error;function uoe(e,t,{key:n}){let r=0;const o=e[n],i={},a={};for(let s=1;s<=t.length;s++)a[s+r]=o[s],i[s+r]=!0,r+=$re(t[s-1]);e[n]=a,e[n]._emit=i,e[n]._multi=!0}function doe(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw aoe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),coe;if("object"!=typeof e.beginScope||null===e.beginScope)throw aoe("beginScope must be object"),coe;uoe(e,e.begin,{key:"beginScope"}),e.begin=_re(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw aoe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),coe;if("object"!=typeof e.endScope||null===e.endScope)throw aoe("endScope must be object"),coe;uoe(e,e.end,{key:"endScope"}),e.end=_re(e.end,{joinWith:""})}}(e)}function poe(e){function t(t,n){return new RegExp(bre(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=$re(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(_re(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=fre(e.classNameAliases||{}),function n(o,i){const a=o;if(o.isCompiled)return a;[Yre,Kre,doe,eoe].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),o.__beforeBegin=null,[Hre,Gre,Jre].forEach((e=>e(o,i))),o.isCompiled=!0;let s=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),s=o.keywords.$pattern,delete o.keywords.$pattern),s=s||/\w+/,o.keywords&&(o.keywords=roe(o.keywords,e.case_insensitive)),a.keywordPatternRe=t(s,!0),i&&(o.begin||(o.begin=/\B|\b/),a.beginRe=t(a.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(a.endRe=t(a.end)),a.terminatorEnd=bre(a.end)||"",o.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),o.illegal&&(a.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return fre(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(foe(e))return fre(e,{starts:e.starts?fre(e.starts):null});if(Object.isFrozen(e))return fre(e);return e}("self"===e?o:e)}))),o.contains.forEach((function(e){n(e,a)})),o.starts&&n(o.starts,i),a.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function foe(e){return!!e&&(e.endsWithParent||foe(e.starts))}class hoe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const moe=pre,goe=fre,Ooe=Symbol("nomatch"),yoe=function(e){const t=Object.create(null),n=Object.create(null),r=[];let o=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:yre};function l(e){return s.noHighlightRe.test(e)}function c(e,t,n){let r="",o="";"object"==typeof t?(r=e,n=t.ignoreIllegals,o=t.language):(loe("10.7.0","highlight(lang, code, ...args) has been deprecated."),loe("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,r=t),void 0===n&&(n=!0);const i={code:r,language:o};y("before:highlight",i);const a=i.result?i.result:u(i.language,i.code,n);return a.code=i.code,y("after:highlight",a),a}function u(e,n,r,a){const l=Object.create(null);function c(){if(!$.keywords)return void _.addText(T);let e=0;$.keywordPatternRe.lastIndex=0;let t=$.keywordPatternRe.exec(T),n="";for(;t;){n+=T.substring(e,t.index);const o=S.case_insensitive?t[0].toLowerCase():t[0],i=(r=o,$.keywords[r]);if(i){const[e,r]=i;if(_.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(E+=r),e.startsWith("_"))n+=t[0];else{const n=S.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=$.keywordPatternRe.lastIndex,t=$.keywordPatternRe.exec(T)}var r;n+=T.substring(e),_.addText(n)}function p(){null!=$.subLanguage?function(){if(""===T)return;let e=null;if("string"==typeof $.subLanguage){if(!t[$.subLanguage])return void _.addText(T);e=u($.subLanguage,T,!0,P[$.subLanguage]),P[$.subLanguage]=e._top}else e=d(T,$.subLanguage.length?$.subLanguage:null);$.relevance>0&&(E+=e.relevance),_.__addSublanguage(e._emitter,e.language)}():c(),T=""}function f(e,t){""!==e&&(_.startScope(t),_.addText(e),_.endScope())}function h(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=S.classNameAliases[e[n]]||e[n],o=t[n];r?f(o,r):(T=o,c(),T=""),n++}}function g(e,t){return e.scope&&"string"==typeof e.scope&&_.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(T,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),T=""):e.beginScope._multi&&(h(e.beginScope,t),T="")),$=Object.create(e,{parent:{value:$}}),$}function O(e,t,n){let r=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new dre(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return O(e.parent,t,n)}function y(e){return 0===$.matcher.regexIndex?(T+=e[0],1):(A=!0,0)}function b(e){const t=e[0],r=n.substring(e.index),o=O($,e,r);if(!o)return Ooe;const i=$;$.endScope&&$.endScope._wrap?(p(),f(t,$.endScope._wrap)):$.endScope&&$.endScope._multi?(p(),h($.endScope,e)):i.skip?T+=t:(i.returnEnd||i.excludeEnd||(T+=t),p(),i.excludeEnd&&(T=t));do{$.scope&&_.closeNode(),$.skip||$.subLanguage||(E+=$.relevance),$=$.parent}while($!==o.parent);return o.starts&&g(o.starts,e),i.returnEnd?0:t.length}let v={};function w(t,i){const a=i&&i[0];if(T+=t,null==a)return p(),0;if("begin"===v.type&&"end"===i.type&&v.index===i.index&&""===a){if(T+=n.slice(i.index,i.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=v.rule,t}return 1}if(v=i,"begin"===i.type)return function(e){const t=e[0],n=e.rule,r=new dre(n),o=[n.__beforeBegin,n["on:begin"]];for(const i of o)if(i&&(i(e,r),r.isMatchIgnored))return y(t);return n.skip?T+=t:(n.excludeBegin&&(T+=t),p(),n.returnBegin||n.excludeBegin||(T=t)),g(n,e),n.returnBegin?0:t.length}(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+a+'" for mode "'+($.scope||"<unnamed>")+'"');throw e.mode=$,e}if("end"===i.type){const e=b(i);if(e!==Ooe)return e}if("illegal"===i.type&&""===a)return 1;if(C>1e5&&C>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return T+=a,a.length}const S=m(e);if(!S)throw aoe(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const x=poe(S);let k="",$=a||x;const P={},_=new s.__emitter(s);!function(){const e=[];for(let t=$;t!==S;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>_.openNode(e)))}();let T="",E=0,Q=0,C=0,A=!1;try{if(S.__emitTokens)S.__emitTokens(n,_);else{for($.matcher.considerAll();;){C++,A?A=!1:$.matcher.considerAll(),$.matcher.lastIndex=Q;const e=$.matcher.exec(n);if(!e)break;const t=w(n.substring(Q,e.index),e);Q=e.index+t}w(n.substring(Q))}return _.finalize(),k=_.toHTML(),{language:e,value:k,relevance:E,illegal:!1,_emitter:_,_top:$}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:e,value:moe(n),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:Q,context:n.slice(Q-100,Q+100),mode:R.mode,resultSoFar:k},_emitter:_};if(o)return{language:e,value:moe(n),illegal:!1,relevance:0,errorRaised:R,_emitter:_,_top:$};throw R}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){const t={value:moe(e),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}(e),o=n.filter(m).filter(O).map((t=>u(t,e,!1)));o.unshift(r);const i=o.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(m(e.language).supersetOf===t.language)return 1;if(m(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=i,d=l;return d.secondBest=c,d}function p(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=s.languageDetectRe.exec(t);if(n){const t=m(n[1]);return t||(soe(i.replace("{}",n[1])),soe("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>l(e)||m(e)))}(e);if(l(r))return;if(y("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML)){throw new hoe("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const o=t.textContent,a=r?c(o,{language:r,ignoreIllegals:!0}):d(o);e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,r){const o=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${o}`)}(e,r,a.language),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),y("after:highlightElement",{el:e,result:a,text:o})}let f=!1;function h(){if("loading"===document.readyState)return void(f=!0);document.querySelectorAll(s.cssSelector).forEach(p)}function m(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function g(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}function O(e){const t=m(e);return t&&!t.disableAutodetect}function y(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){f&&h()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:h,highlightElement:p,highlightBlock:function(e){return loe("10.7.0","highlightBlock will be removed entirely in v12.0"),loe("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){s=goe(s,e)},initHighlighting:()=>{h(),loe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){h(),loe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(n,r){let i=null;try{i=r(e)}catch(s){if(aoe("Language definition for '{}' could not be registered.".replace("{}",n)),!o)throw s;aoe(s),i=a}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&g(i.aliases,{languageName:n})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:m,registerAliases:g,autoDetection:O,inherit:goe,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="11.9.0",e.regex={concat:xre,lookahead:vre,either:kre,optional:Sre,anyNumberOfTimes:wre};for(const b in Wre)"object"==typeof Wre[b]&&ure(Wre[b]);return Object.assign(e,Wre),e},boe=yoe({});boe.newInstance=()=>yoe({});var voe=boe;boe.HighlightJS=boe,boe.default=boe;const woe=r(voe),Soe={},xoe="hljs-";class koe{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){const t=this,n=e.split(".").map((function(e,n){return n?e+"_".repeat(n):t.options.classPrefix+e})),r={type:"element",tagName:"span",properties:{className:n},children:[]};this.stack[this.stack.length-1].children.push(r),this.stack.push(r)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const $oe={};function Poe(e){const t=e||$oe,n=t.aliases,r=t.detect||!1,o=t.languages||cre,i=t.plainText,a=t.prefix,s=t.subset;let l="hljs";const c=function(e){const t=woe.newInstance();return e&&o(e),{highlight:n,highlightAuto:function(e,o){const i=(o||Soe).subset||r();let a,s=-1,l=0;for(;++s<i.length;){const r=i[s];if(!t.getLanguage(r))continue;const c=n(r,e,o);c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,a=c)}return a||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:r,register:o,registerAlias:function(e,n){if("string"==typeof e)t.registerAliases("string"==typeof n?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){const r=e[n];t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},registered:function(e){return Boolean(t.getLanguage(e))}};function n(e,n,r){const o=r||Soe,i="string"==typeof o.prefix?o.prefix:xoe;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:koe,classPrefix:i});const a=t.highlight(n,{ignoreIllegals:!0,language:e});if(a.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:a.errorRaised});const s=a._emitter.root,l=s.data;return l.language=a.language,l.relevance=a.relevance,s}function r(){return t.listLanguages()}function o(e,n){if("string"==typeof e)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(o);if(n&&c.registerAlias(n),a){const e=a.indexOf("-");l=e>-1?a.slice(0,e):a}return function(e,t){YI(e,"element",(function(e,n,o){if("code"!==e.tagName||!o||"element"!==o.type||"pre"!==o.tagName)return;const u=function(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;for(;++n<t.length;){const e=String(t[n]);if("no-highlight"===e||"nohighlight"===e)return!1;if("lang-"===e.slice(0,5))return e.slice(5);if("language-"===e.slice(0,9))return e.slice(9)}}(e);if(!1===u||!u&&!r||u&&i&&i.includes(u))return;let d;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);try{d=u?c.highlight(u,Yte(o),{prefix:a}):c.highlightAuto(Yte(o),{prefix:a,subset:s})}catch(p){const n=p;if(u&&/Unknown language/.test(n.message))return void t.message("Cannot highlight as `"+u+"`, it’s not registered",{ancestors:[o,e],cause:n,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});throw n}!u&&d.data&&d.data.language&&e.properties.className.push("language-"+d.data.language),d.children.length>0&&(e.children=d.children)}))}}const _oe=Eoe("end"),Toe=Eoe("start");function Eoe(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Qoe(e){const t=Toe(e),n=_oe(e);if(t&&n)return{start:t,end:n}}const Coe=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Aoe={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Coe,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Coe],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Coe,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Coe,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Coe],table:[...Coe],ul:[...Coe,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Roe={}.hasOwnProperty;function Doe(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return Ioe(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return Ioe(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=Noe(e,t.children),o=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,o=e.schema.required,i=r&&Roe.call(r,n)?r[n]:void 0,a=r&&Roe.call(r,"*")?r["*"]:void 0,s=t&&"object"==typeof t?t:{},l={};let c;for(c in s)if(Roe.call(s,c)){let t;if(i&&(t=Uoe(i,c)),!t&&a&&(t=Uoe(a,c)),t){const n=s[c],r=Array.isArray(n)?joe(e,t,c,n):qoe(e,t,c,n);null!=r&&(l[c]=r)}}if(o&&Roe.call(o,n)){const e=o[n];for(c in e)Roe.call(e,c)&&!Roe.call(l,c)&&(l[c]=e[c])}return l}(e,t.properties);e.stack.pop();let i=!1;if(n.length>0&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&Roe.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r<t.length;)e.stack.includes(t[r])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const a={type:"element",tagName:n,properties:o,children:r};return Ioe(a,t),a}(e,n);case"root":return function(e,t){const n=Noe(e,t.children),r={type:"root",children:n};return Ioe(r,t),r}(e,n);case"text":return function(e,t){const n="string"==typeof t.value?t.value:"",r={type:"text",value:n};return Ioe(r,t),r}(0,n)}}}function Noe(e,t){const n=[];if(Array.isArray(t)){const r=t;let o=-1;for(;++o<r.length;){const t=Doe(e,r[o]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function joe(e,t,n,r){let o=-1;const i=[];for(;++o<r.length;){const a=qoe(e,t,n,r[o]);"number"!=typeof a&&"string"!=typeof a||i.push(a)}return i}function qoe(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){const r=e.schema.protocols&&Roe.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;const o=String(n),i=o.indexOf(":"),a=o.indexOf("?"),s=o.indexOf("#"),l=o.indexOf("/");if(i<0||l>-1&&i>l||a>-1&&i>a||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){const e=r[c];if(i===e.length&&o.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){const o=t[n];if(o&&"object"==typeof o&&"flags"in o){if(o.test(String(r))){e=!0;break}}else if(o===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Ioe(e,t){const n=Qoe(t);t.data&&(e.data=Kee(t.data)),n&&(e.position=n)}function Uoe(e,t){let n,r=-1;for(;++r<e.length;){const o=e[r],i="string"==typeof o?o:o[0];if(i===t)return o;"data*"===i&&(n=o)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function Moe(e){return function(t){const n=function(e,t){let n={type:"root",children:[]};const r=Doe({schema:t?{...Aoe,...t}:Aoe,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e);return n}}const Xoe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let Foe=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};function Zoe(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Foe(n,r,t)}function Voe(e){return e.toLowerCase()}Foe.prototype.property={},Foe.prototype.normal={},Foe.prototype.space=null;class Loe{constructor(e,t){this.property=e,this.attribute=t}}Loe.prototype.space=null,Loe.prototype.boolean=!1,Loe.prototype.booleanish=!1,Loe.prototype.overloadedBoolean=!1,Loe.prototype.number=!1,Loe.prototype.commaSeparated=!1,Loe.prototype.spaceSeparated=!1,Loe.prototype.commaOrSpaceSeparated=!1,Loe.prototype.mustUseProperty=!1,Loe.prototype.defined=!1;let zoe=0;const Woe=eie(),Boe=eie(),Yoe=eie(),Hoe=eie(),Goe=eie(),Koe=eie(),Joe=eie();function eie(){return 2**++zoe}const tie=Object.freeze(Object.defineProperty({__proto__:null,boolean:Woe,booleanish:Boe,commaOrSpaceSeparated:Joe,commaSeparated:Koe,number:Hoe,overloadedBoolean:Yoe,spaceSeparated:Goe},Symbol.toStringTag,{value:"Module"})),nie=Object.keys(tie);class rie extends Loe{constructor(e,t,n,r){let o=-1;if(super(e,t),oie(this,"space",r),"number"==typeof n)for(;++o<nie.length;){const e=nie[o];oie(this,nie[o],(n&tie[e])===tie[e])}}}function oie(e,t,n){n&&(e[t]=n)}rie.prototype.defined=!0;const iie={}.hasOwnProperty;function aie(e){const t={},n={};let r;for(r in e.properties)if(iie.call(e.properties,r)){const o=e.properties[r],i=new rie(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Voe(r)]=r,n[Voe(i.attribute)]=r}return new Foe(t,n,e.space)}const sie=aie({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lie=aie({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function cie(e,t){return t in e?e[t]:t}function uie(e,t){return cie(e,t.toLowerCase())}const die=aie({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:uie,properties:{xmlns:null,xmlnsXLink:null}}),pie=aie({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Boe,ariaAutoComplete:null,ariaBusy:Boe,ariaChecked:Boe,ariaColCount:Hoe,ariaColIndex:Hoe,ariaColSpan:Hoe,ariaControls:Goe,ariaCurrent:null,ariaDescribedBy:Goe,ariaDetails:null,ariaDisabled:Boe,ariaDropEffect:Goe,ariaErrorMessage:null,ariaExpanded:Boe,ariaFlowTo:Goe,ariaGrabbed:Boe,ariaHasPopup:null,ariaHidden:Boe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Goe,ariaLevel:Hoe,ariaLive:null,ariaModal:Boe,ariaMultiLine:Boe,ariaMultiSelectable:Boe,ariaOrientation:null,ariaOwns:Goe,ariaPlaceholder:null,ariaPosInSet:Hoe,ariaPressed:Boe,ariaReadOnly:Boe,ariaRelevant:null,ariaRequired:Boe,ariaRoleDescription:Goe,ariaRowCount:Hoe,ariaRowIndex:Hoe,ariaRowSpan:Hoe,ariaSelected:Boe,ariaSetSize:Hoe,ariaSort:null,ariaValueMax:Hoe,ariaValueMin:Hoe,ariaValueNow:Hoe,ariaValueText:null,role:null}}),fie=aie({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:uie,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Koe,acceptCharset:Goe,accessKey:Goe,action:null,allow:null,allowFullScreen:Woe,allowPaymentRequest:Woe,allowUserMedia:Woe,alt:null,as:null,async:Woe,autoCapitalize:null,autoComplete:Goe,autoFocus:Woe,autoPlay:Woe,blocking:Goe,capture:Woe,charSet:null,checked:Woe,cite:null,className:Goe,cols:Hoe,colSpan:null,content:null,contentEditable:Boe,controls:Woe,controlsList:Goe,coords:Hoe|Koe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Woe,defer:Woe,dir:null,dirName:null,disabled:Woe,download:Yoe,draggable:Boe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Woe,formTarget:null,headers:Goe,height:Hoe,hidden:Woe,high:Hoe,href:null,hrefLang:null,htmlFor:Goe,httpEquiv:Goe,id:null,imageSizes:null,imageSrcSet:null,inert:Woe,inputMode:null,integrity:null,is:null,isMap:Woe,itemId:null,itemProp:Goe,itemRef:Goe,itemScope:Woe,itemType:Goe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Woe,low:Hoe,manifest:null,max:null,maxLength:Hoe,media:null,method:null,min:null,minLength:Hoe,multiple:Woe,muted:Woe,name:null,nonce:null,noModule:Woe,noValidate:Woe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Woe,optimum:Hoe,pattern:null,ping:Goe,placeholder:null,playsInline:Woe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Woe,referrerPolicy:null,rel:Goe,required:Woe,reversed:Woe,rows:Hoe,rowSpan:Hoe,sandbox:Goe,scope:null,scoped:Woe,seamless:Woe,selected:Woe,shape:null,size:Hoe,sizes:null,slot:null,span:Hoe,spellCheck:Boe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Hoe,step:null,style:null,tabIndex:Hoe,target:null,title:null,translate:null,type:null,typeMustMatch:Woe,useMap:null,value:Boe,width:Hoe,wrap:null,align:null,aLink:null,archive:Goe,axis:null,background:null,bgColor:null,border:Hoe,borderColor:null,bottomMargin:Hoe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Woe,declare:Woe,event:null,face:null,frame:null,frameBorder:null,hSpace:Hoe,leftMargin:Hoe,link:null,longDesc:null,lowSrc:null,marginHeight:Hoe,marginWidth:Hoe,noResize:Woe,noHref:Woe,noShade:Woe,noWrap:Woe,object:null,profile:null,prompt:null,rev:null,rightMargin:Hoe,rules:null,scheme:null,scrolling:Boe,standby:null,summary:null,text:null,topMargin:Hoe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Hoe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Woe,disableRemotePlayback:Woe,prefix:null,property:null,results:Hoe,security:null,unselectable:null}}),hie=aie({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:cie,properties:{about:Joe,accentHeight:Hoe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Hoe,amplitude:Hoe,arabicForm:null,ascent:Hoe,attributeName:null,attributeType:null,azimuth:Hoe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Hoe,by:null,calcMode:null,capHeight:Hoe,className:Goe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Hoe,diffuseConstant:Hoe,direction:null,display:null,dur:null,divisor:Hoe,dominantBaseline:null,download:Woe,dx:null,dy:null,edgeMode:null,editable:null,elevation:Hoe,enableBackground:null,end:null,event:null,exponent:Hoe,externalResourcesRequired:null,fill:null,fillOpacity:Hoe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Koe,g2:Koe,glyphName:Koe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Hoe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Hoe,horizOriginX:Hoe,horizOriginY:Hoe,id:null,ideographic:Hoe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Hoe,k:Hoe,k1:Hoe,k2:Hoe,k3:Hoe,k4:Hoe,kernelMatrix:Joe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Hoe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Hoe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Hoe,overlineThickness:Hoe,paintOrder:null,panose1:null,path:null,pathLength:Hoe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Goe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Hoe,pointsAtY:Hoe,pointsAtZ:Hoe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Joe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Joe,rev:Joe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Joe,requiredFeatures:Joe,requiredFonts:Joe,requiredFormats:Joe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Hoe,specularExponent:Hoe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Hoe,strikethroughThickness:Hoe,string:null,stroke:null,strokeDashArray:Joe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Hoe,strokeOpacity:Hoe,strokeWidth:null,style:null,surfaceScale:Hoe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Joe,tabIndex:Hoe,tableValues:null,target:null,targetX:Hoe,targetY:Hoe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Joe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Hoe,underlineThickness:Hoe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Hoe,values:null,vAlphabetic:Hoe,vMathematical:Hoe,vectorEffect:null,vHanging:Hoe,vIdeographic:Hoe,version:null,vertAdvY:Hoe,vertOriginX:Hoe,vertOriginY:Hoe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Hoe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),mie=/^data[-\w.:]+$/i,gie=/-[a-z]/g,Oie=/[A-Z]/g;function yie(e){return"-"+e.toLowerCase()}function bie(e){return e.charAt(1).toUpperCase()}const vie=Zoe([lie,sie,die,pie,fie],"html"),wie=Zoe([lie,sie,die,pie,hie],"svg");function Sie(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const xie=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],kie={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},$ie=["cent","copy","divide","gt","lt","not","para","times"],Pie={}.hasOwnProperty,_ie={};let Tie;for(Tie in kie)Pie.call(kie,Tie)&&(_ie[kie[Tie]]=Tie);function Eie(e,t,n){let r,o=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const o=String.fromCharCode(e);if(Pie.call(_ie,o)){const e=_ie[o],i="&"+e;return n&&xie.includes(e)&&!$ie.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<o.length&&(o=r)}return r&&(!n.useShortestReferences||r.length<o.length)?r:o}function Qie(e,t){return Sie(e,Object.assign({format:Eie},t))}function Cie(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function Aie(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const Rie=jie(1),Die=jie(-1),Nie=[];function jie(e){return function(t,n,r){const o=t?t.children:Nie;let i=(n||0)+e,a=o[i];if(!r)for(;a&&bte(a);)i+=e,a=o[i];return a}}const qie={}.hasOwnProperty;function Iie(e){return function(t,n,r){return qie.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const Uie=Iie({body:function(e,t,n){const r=Rie(n,t);return!r||"comment"!==r.type},caption:Mie,colgroup:Mie,dd:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){const r=Rie(n,t);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:Mie,html:function(e,t,n){const r=Rie(n,t);return!r||"comment"!==r.type},li:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){const r=Rie(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:Xie,rt:Xie,tbody:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:Fie,tfoot:function(e,t,n){return!Rie(n,t)},th:Fie,thead:function(e,t,n){const r=Rie(n,t);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function Mie(e,t,n){const r=Rie(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&bte(r.value.charAt(0)))}function Xie(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function Fie(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const Zie=Iie({body:function(e){const t=Rie(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&bte(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))},colgroup:function(e,t,n){const r=Die(n,t),o=Rie(e,-1,!0);if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&Uie(r,n.children.indexOf(r),n))return!1;return Boolean(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const e=t[r];if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){if(n.includes(e.tagName))return!1;n.push(e.tagName)}}return t.length>0},html:function(e){const t=Rie(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Die(n,t),o=Rie(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&Uie(r,n.children.indexOf(r),n))return!1;return Boolean(o&&"element"===o.type&&"tr"===o.tagName)}});const Vie={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Lie(e,t,n){const r=function(e,t){const n=Voe(t);let r=t,o=Loe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&mie.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(gie,bie);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!gie.test(e)){let n=e.replace(Oie,yie);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=rie}return new o(r,t)}(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let a,s=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const l=Qie(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Vie.name[o][i]}));return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?Aie:ate)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(a=Qie(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Vie.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&Cie(n,s)>Cie(n,e.alternative)&&(s=e.alternative),a=s+Qie(n,Object.assign({},e.settings.characterReferences,{subset:("'"===s?Vie.single:Vie.double)[o][i],attribute:!0}))+s),l+(a?"="+a:a)))}function zie(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?Qie(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const Wie=TI("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+Qie(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(e){return Qie(e,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){const o=r.schema,i="svg"!==o.space&&r.settings.omitOptionalTags;let a="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;"html"===o.space&&"svg"===e.tagName&&(r.schema=wie);const c=function(e,t){const n=[];let r,o=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const o=Lie(e,r,t[r]);o&&n.push(o)}for(;++o<n.length;){const t=e.settings.tightAttributes?n[o].charAt(n[o].length-1):void 0;o!==n.length-1&&'"'!==t&&"'"!==t&&(n[o]+=" ")}return n.join("")}(r,e.properties),u=r.all("html"===o.space&&"template"===e.tagName?e.content:e);return r.schema=o,u&&(a=!1),!c&&i&&Zie(e,t,n)||(s.push("<",e.tagName,c?" "+c:""),a&&("svg"===o.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),a||i&&Uie(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:zie(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:zie}});const Bie={},Yie={},Hie=[];function Gie(e,t,n){return Wie(e,t,n,this)}function Kie(e){const t=[],n=e&&e.children||Hie;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Jie(e){const t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){const n=t||Bie,r=n.quote||'"',o='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Gie,all:Kie,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Xoe,characterReferences:n.characterReferences||Yie,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?wie:vie,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}function eae(e,t,n){const r=XI((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([tae(e[0]),nae(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)BI(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],a=o[i][1];let s=0;const l=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?u.push(...i):i&&u.push(i),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e];return l+u.length}(e,t)}}function tae(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function nae(e){return"function"==typeof e?e:function(){return e}}const rae="phrasing",oae=["autolink","link","image","label"];function iae(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function aae(e){this.config.enter.autolinkProtocol.call(this,e)}function sae(e){this.config.exit.autolinkProtocol.call(this,e)}function lae(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function cae(e){this.config.exit.autolinkEmail.call(this,e)}function uae(e){this.exit(e)}function dae(e){eae(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pae],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,fae]],{ignore:["link","linkReference"]})}function pae(e,t,n,r,o){let i="";if(!hae(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Cie(e,"(");let i=Cie(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function fae(e,t,n,r){return!(!hae(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hae(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Jj(n)||Kj(n))&&(!t||47!==n)}function mae(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function gae(){this.buffer()}function Oae(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Mj(this.sliceSerialize(e)).toLowerCase()}function yae(e){this.exit(e)}function bae(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function vae(){this.buffer()}function wae(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Mj(this.sliceSerialize(e)).toLowerCase()}function Sae(e){this.exit(e)}function xae(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function kae(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(n.indentLines(n.containerFlow(e,o.current()),$ae)),a(),i}function $ae(e,t,n){return 0===t?e:(n?"":" ")+e}xae.peek=function(){return"["};const Pae=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function _ae(e){this.enter({type:"delete",children:[]},e)}function Tae(e){this.exit(e)}function Eae(e,t,n,r){const o=n.createTracker(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=n.containerPhrasing(e,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Qae(e){return e.length}function Cae(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Aae(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Rae(e){this.exit(e),this.data.inTable=void 0}function Dae(e){this.enter({type:"tableRow",children:[]},e)}function Nae(e){this.exit(e)}function jae(e){this.enter({type:"tableCell",children:[]},e)}function qae(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Iae));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Iae(e,t){return"|"===t?t:e}function Uae(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=lU.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=s([l(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Qae,o=[],i=[],a=[],s=[];let l=0,c=-1;for(;++c<e.length;){const n=[],o=[];let d=-1;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){const i=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=r(i);o[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(i)}i[c]=n,a[c]=o}var u;let d=-1;if("object"==typeof n&&"length"in n)for(;++d<l;)o[d]=Cae(n[d]);else{const e=Cae(n);for(;++d<l;)o[d]=e}d=-1;const p=[],f=[];for(;++d<l;){const e=o[d];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length);const a=n+"-".repeat(i)+r;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>s[d]&&(s[d]=i),f[d]=i),p[d]=a}i.splice(1,0,p),a.splice(1,0,f),c=-1;const h=[];for(;++c<i.length;){const e=i[c],n=a[c];d=-1;const r=[];for(;++d<l;){const i=e[d]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[d]-(n[d]||0),t=o[d];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||d||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!d||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(i),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&d===l-1||r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function Mae(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Xae(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Fae(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(a);let l=lU.listItem(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}Eae.peek=function(){return"~"};const Zae={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Vae={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(zae,l,s)(t):null===t||Hj(t)||Jj(t)||45!==t&&Kj(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},Lae={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(zae,t,i)(a):null===a||Hj(a)||Jj(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},zae={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Hj(a)||Jj(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Hj(e)||Jj(e)?t(e):r(e)}function i(e){return Fj(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Fj(t)?(e.consume(t),a):n(t)}},partial:!0},Wae={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Zj(e)?n(e):t(e)}},partial:!0},Bae={tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Jae.call(r,r.previous)||rse(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zae,e.attempt(Vae,e.attempt(Lae,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Jae},Yae={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){if((72===t||104===t)&&ese.call(r,r.previous)&&!rse(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(Fj(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||Lj(t)||Hj(t)||Jj(t)||Kj(t)?n(t):e.attempt(Vae,e.attempt(Lae,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ese},Hae={tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!nse(t)||!tse.call(r,r.previous)||rse(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return nse(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Wae,c,l)(t):45===t||95===t||Zj(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){return i&&o&&Fj(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:tse},Gae={};let Kae=48;for(;Kae<123;)Gae[Kae]=Hae,Kae++,58===Kae?Kae=65:91===Kae&&(Kae=97);function Jae(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Hj(e)}function ese(e){return!Fj(e)}function tse(e){return!(47===e||nse(e))}function nse(e){return 43===e||45===e||46===e||95===e||Zj(e)}function rse(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Gae[43]=Hae,Gae[45]=Hae,Gae[46]=Hae,Gae[95]=Hae,Gae[72]=[Hae,Yae],Gae[104]=[Hae,Yae],Gae[87]=[Hae,Bae],Gae[119]=[Hae,Bae];const ose={tokenize:function(e,t,n){const r=this;return nq(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function ise(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=Mj(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!i.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ase(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function sse(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||Hj(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(Mj(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Hj(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function lse(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||Hj(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=Mj(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Hj(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),nq(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function cse(e,t,n){return e.check(dq,t,e.attempt(ose,t,n))}function use(e){e.exit("gfmFootnoteDefinition")}function dse(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const l=aq(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=aq(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&Rj(a,a.length,0,sq(s,e.slice(r+1,n),t)),Rj(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Rj(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class pse{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0===n&&0===r.length)return;for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort((function(e,t){return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function fse(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function hse(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?v:s;if(i===v&&r.parser.lazy[r.now().line])return n(e);return i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return o=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):Yj(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Gj(t)?nq(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Hj(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,Gj(t)?nq(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):b(t)}function f(t){return Gj(t)?nq(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||Yj(t)?y(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(t))}function O(t){return Gj(t)?nq(e,y,"whitespace")(t):y(t)}function y(n){return 124===n?p(n):(null===n||Yj(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function v(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Yj(n)?(e.exit("tableRow"),t(n)):Gj(n)?nq(e,w,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Hj(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?x:S)}function x(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function mse(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new pse;for(;++i<e.length;){const f=e[i],h=f[1];"enter"===f[0]?"tableHead"===h.type?(u=!1,0!==d&&(Ose(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===h.type?2:r?3:1):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],o=gse(p,t,l,s,void 0,o)),l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],o=gse(p,t,l,s,void 0,o),l=[0,0,0,0]),c[2]=i)):"tableHead"===h.type?(u=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==l[1]?(c[0]=c[1],o=gse(p,t,l,s,i,o)):0!==c[1]&&(o=gse(p,t,c,s,i,o)),s=0):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=i)}for(0!==d&&Ose(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=fse(t.events,i))}return e}function gse(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},yse(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=yse(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=yse(t.events,n[2]),i=yse(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},yse(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function Ose(e,t,n,r,o){const i=[],a=yse(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function yse(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const bse={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Hj(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Yj(r)?t(r):Gj(r)?e.check({tokenize:vse},t,n)(r):n(r)}}};function vse(e,t,n){return nq(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const wse={};function Sse(e){const t=e||wse,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return jj([{text:Gae},{document:{91:{tokenize:lse,continuation:{tokenize:cse},exit:use}},text:{91:{tokenize:sse},93:{add:"after",tokenize:ise,resolveTo:ase}}},dse(e),{flow:{null:{tokenize:hse,resolveAll:mse}}},{text:{91:bse}}])}(t)),o.push([{transforms:[dae],enter:{literalAutolink:iae,literalAutolinkEmail:aae,literalAutolinkHttp:aae,literalAutolinkWww:aae},exit:{literalAutolink:uae,literalAutolinkEmail:cae,literalAutolinkHttp:sae,literalAutolinkWww:lae}},{enter:{gfmFootnoteDefinition:mae,gfmFootnoteDefinitionLabelString:gae,gfmFootnoteCall:bae,gfmFootnoteCallString:vae},exit:{gfmFootnoteDefinition:yae,gfmFootnoteDefinitionLabelString:Oae,gfmFootnoteCall:Sae,gfmFootnoteCallString:wae}},{canContainEols:["delete"],enter:{strikethrough:_ae},exit:{strikethrough:Tae}},{enter:{table:Aae,tableData:jae,tableHeader:jae,tableRow:Dae},exit:{codeText:qae,table:Rae,tableData:Nae,tableHeader:Nae,tableRow:Nae}},{exit:{taskListCheckValueChecked:Mae,taskListCheckValueUnchecked:Mae,paragraph:Xae}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:rae,notInConstruct:oae},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:rae,notInConstruct:oae},{character:":",before:"[ps]",after:"\\/",inConstruct:rae,notInConstruct:oae}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:kae,footnoteReference:xae}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Pae}],handlers:{delete:Eae}},Uae(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Fae}}]}}(t))}function xse(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function kse(e){const t=e.spread;return null==t?e.children.length>1:t}const $se=9,Pse=32;function _se(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Tse(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Tse(t.slice(o),o>0,!1)),i.join("")}function Tse(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===$se||t===Pse;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===$se||t===Pse;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Ese={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=tq(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xse(e,t);const o={src:tq(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:tq(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xse(e,t);const o={href:tq(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:tq(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=kse(n[r])}return t}(n):kse(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Toe(t.children[1]),a=_oe(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:_se(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Qse,yaml:Qse,definition:Qse,footnoteDefinition:Qse};function Qse(){}function Cse(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Ase(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Rse={}.hasOwnProperty,Dse={};function Nse(e,t){e.position&&(t.position=Qoe(e))}function jse(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Kee(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function qse(e,t){const n=t.data||{},r=!("value"in t)||Rse.call(n,"hProperties")||Rse.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Ise(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Use(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Mse(e,t){const n=function(e,t){const n=t||Dse,r=new Map,o=new Map,i=new Map,a={...Ese,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=s.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Use(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Use(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:jse,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=s.handlers[n];if(Rse.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Kee(n);return r.children=s.all(e),r}return Kee(e)}return(s.options.unknownHandler||qse)(s,e,t)},options:n,patch:Nse,wrap:Ise};return YI(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Cse,r=e.options.footnoteBackLabel||Ase,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),c=tq(a.toLowerCase());let u=0;const d=[],p=e.footnoteCounts.get(a);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Kee(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Xse(e,t){return e&&"run"in e?async function(n,r){const o=Mse(n,t);await e.run(o,r)}:function(n){return Mse(n,t||e)}}const Fse=["innerHTML"],Zse=vl(Gr({__name:"MarkdownRenderer",props:{value:{},withImages:{type:Boolean,default:!1}},setup(e){const t=e,n=dn(""),r=t.withImages?[]:["img","picture"];return Ir((()=>t.value),(async()=>{var e;eM().use(PI).use(Sse).use(Xse).use(Ite).use(Moe,{...Aoe,tagNames:null==(e=Aoe.tagNames)?void 0:e.filter((e=>!r.includes(e)))}).use(Poe,{detect:!0}).use(ute,{target:"_blank"}).use(Jie).process(t.value).then((e=>{n.value=String(e)}))}),{immediate:!0}),(e,t)=>(Zi(),Wi("div",{class:"markdown",innerHTML:n.value},null,8,Fse))}}),[["__scopeId","data-v-272b122b"]]),Vse={class:"card-form"};const Lse=vl({},[["render",function(e,t){return Zi(),Wi("div",Vse,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-d0caa558"]]),zse=vl(Gr({__name:"CardFormButton",setup(e,{expose:t}){const n=dn();return t({el:n}),(e,t)=>(Zi(),Wi("button",{ref_key:"el",ref:n,class:"card-form-button",type:"button"},[$o(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-0bb0c214"]]),Wse={class:"card-form-group"};const Bse=vl({},[["render",function(e,t){return Zi(),Wi("div",Wse,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-cadb0c16"]]),Yse={class:"card-form-input"},Hse=["for"],Gse=["id","type"],Kse=vl(Gr({inheritAttrs:!1,__name:"CardFormTextInput",props:{id:{},type:{}},setup:e=>(e,t)=>(Zi(),Wi("div",Yse,[ea("label",{for:e.id},[$o(e.$slots,"default",{},void 0,!0)],8,Hse),ea("input",pa(e.$attrs,{id:e.id,autocomplete:"off",spellcheck:"false",type:e.type??"text"}),null,16,Gse)]))}),[["__scopeId","data-v-88939d2d"]]),Jse=Math.min,ele=Math.max,tle=Math.round,nle=Math.floor,rle=e=>({x:e,y:e}),ole={left:"right",right:"left",bottom:"top",top:"bottom"},ile={start:"end",end:"start"};function ale(e,t,n){return ele(e,Jse(t,n))}function sle(e,t){return"function"==typeof e?e(t):e}function lle(e){return e.split("-")[0]}function cle(e){return e.split("-")[1]}function ule(e){return"x"===e?"y":"x"}function dle(e){return"y"===e?"height":"width"}function ple(e){return["top","bottom"].includes(lle(e))?"y":"x"}function fle(e){return ule(ple(e))}function hle(e){return e.replace(/start|end/g,(e=>ile[e]))}function mle(e){return e.replace(/left|right|bottom|top/g,(e=>ole[e]))}function gle(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ole(e,t,n){let{reference:r,floating:o}=e;const i=ple(t),a=fle(t),s=dle(a),l=lle(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(cle(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function yle(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=sle(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),m=s[p?"floating"===d?"reference":"floating":d],g=gle(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),O="floating"===d?{...a.floating,x:r,y:o}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},v=gle(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:O,offsetParent:y,strategy:l}):O);return{top:(g.top-v.top+h.top)/b.y,bottom:(v.bottom-g.bottom+h.bottom)/b.y,left:(g.left-v.left+h.left)/b.x,right:(v.right-g.right+h.right)/b.x}}const ble=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=sle(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const O=lle(o),y=lle(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),v=p||(y||!m?[mle(s)]:function(e){const t=mle(e);return[hle(e),t,hle(t)]}(s));p||"none"===h||v.push(...function(e,t,n,r){const o=cle(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(lle(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(hle)))),i}(s,m,h,b));const w=[s,...v],S=await yle(t,g),x=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&x.push(S[O]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=cle(e),o=fle(e),i=dle(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=mle(a)),[a,mle(a)]}(o,a,b);x.push(S[e[0]],S[e[1]])}if(k=[...k,{placement:o,overflows:x}],!x.every((e=>e<=0))){var $,P;const e=((null==($=i.flip)?void 0:$.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(P=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:P.placement;if(!n)switch(f){case"bestFit":{var _;const e=null==(_=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}};const vle=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=lle(n),s=cle(n),l="y"===ple(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=sle(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function wle(e){return kle(e)?(e.nodeName||"").toLowerCase():"#document"}function Sle(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function xle(e){var t;return null==(t=(kle(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function kle(e){return e instanceof Node||e instanceof Sle(e).Node}function $le(e){return e instanceof Element||e instanceof Sle(e).Element}function Ple(e){return e instanceof HTMLElement||e instanceof Sle(e).HTMLElement}function _le(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Sle(e).ShadowRoot)}function Tle(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Rle(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ele(e){return["table","td","th"].includes(wle(e))}function Qle(e){const t=Cle(),n=Rle(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Cle(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ale(e){return["html","body","#document"].includes(wle(e))}function Rle(e){return Sle(e).getComputedStyle(e)}function Dle(e){return $le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nle(e){if("html"===wle(e))return e;const t=e.assignedSlot||e.parentNode||_le(e)&&e.host||xle(e);return _le(t)?t.host:t}function jle(e){const t=Nle(e);return Ale(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ple(t)&&Tle(t)?t:jle(t)}function qle(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=jle(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Sle(o);return i?t.concat(a,a.visualViewport||[],Tle(o)?o:[],a.frameElement&&n?qle(a.frameElement):[]):t.concat(o,qle(o,[],n))}function Ile(e){const t=Rle(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ple(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=tle(n)!==i||tle(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ule(e){return $le(e)?e:e.contextElement}function Mle(e){const t=Ule(e);if(!Ple(t))return rle(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ile(t);let a=(i?tle(n.width):n.width)/r,s=(i?tle(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Xle=rle(0);function Fle(e){const t=Sle(e);return Cle()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Xle}function Zle(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ule(e);let a=rle(1);t&&(r?$le(r)&&(a=Mle(r)):a=Mle(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Sle(e))&&t}(i,n,r)?Fle(i):rle(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Sle(i),t=r&&$le(r)?Sle(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Mle(n),t=n.getBoundingClientRect(),r=Rle(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,n=Sle(n).frameElement}}return gle({width:u,height:d,x:l,y:c})}function Vle(e){return Zle(xle(e)).left+Dle(e).scrollLeft}function Lle(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Sle(e),r=xle(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Cle();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=xle(e),n=Dle(e),r=e.ownerDocument.body,o=ele(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ele(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Vle(e);const s=-n.scrollTop;return"rtl"===Rle(r).direction&&(a+=ele(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(xle(e));else if($le(t))r=function(e,t){const n=Zle(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ple(e)?Mle(e):rle(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Fle(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return gle(r)}function zle(e,t){const n=Nle(e);return!(n===t||!$le(n)||Ale(n))&&("fixed"===Rle(n).position||zle(n,t))}function Wle(e,t,n){const r=Ple(t),o=xle(t),i="fixed"===n,a=Zle(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=rle(0);if(r||!r&&!i)if(("body"!==wle(t)||Tle(o))&&(s=Dle(t)),r){const e=Zle(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Vle(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ble(e,t){return Ple(e)&&"fixed"!==Rle(e).position?t?t(e):e.offsetParent:null}function Yle(e,t){const n=Sle(e);if(!Ple(e))return n;let r=Ble(e,t);for(;r&&Ele(r)&&"static"===Rle(r).position;)r=Ble(r,t);return r&&("html"===wle(r)||"body"===wle(r)&&"static"===Rle(r).position&&!Qle(r))?n:r||function(e){let t=Nle(e);for(;Ple(t)&&!Ale(t);){if(Qle(t))return t;t=Nle(t)}return null}(e)||n}const Hle={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ple(n),i=xle(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s=rle(1);const l=rle(0);if((o||!o&&"fixed"!==r)&&(("body"!==wle(n)||Tle(i))&&(a=Dle(n)),Ple(n))){const e=Zle(n);s=Mle(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:xle,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=qle(e,[],!1).filter((e=>$le(e)&&"body"!==wle(e))),o=null;const i="fixed"===Rle(e).position;let a=i?Nle(e):e;for(;$le(a)&&!Ale(a);){const t=Rle(a),n=Qle(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Tle(a)&&!n&&zle(e,a))?r=r.filter((e=>e!==a)):o=t,a=Nle(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce(((e,n)=>{const r=Lle(t,n,o);return e.top=ele(r.top,e.top),e.right=Jse(r.right,e.right),e.bottom=Jse(r.bottom,e.bottom),e.left=ele(r.left,e.left),e}),Lle(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Yle,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Yle,i=this.getDimensions;return{reference:Wle(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Ile(e)},getScale:Mle,isElement:$le,isRTL:function(e){return"rtl"===Rle(e).direction}};function Gle(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ule(e),u=o||i?[...c?qle(c):[],...qle(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=xle(e);function i(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-nle(u)+"px "+-nle(o.clientWidth-(c+d))+"px "+-nle(o.clientHeight-(u+p))+"px "+-nle(c)+"px",threshold:ele(0,Jse(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(Oc){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{h&&h.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let m=l?Zle(e):null;return l&&function t(){const r=Zle(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const Kle=(e,t,n)=>{const r=new Map,o={platform:Hle,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Ole(c,r,l),p=r,f={},h=0;for(let m=0;m<s.length;m++){const{name:n,fn:i}=s[m],{x:g,y:O,data:y,reset:b}=await i({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=O?O:d,f={...f,[n]:{...f[n],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=Ole(c,p,l))),m=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})};function Jle(e){var t;return null!=(t=null==e?void 0:e.$el)?t:e}function ece(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tce(e,t){const n=ece(e);return Math.round(t*n)/n}const nce={class:"badge"};const rce=vl({},[["render",function(e,t){return Zi(),Wi("div",nce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-08c68ac3"]]),oce=e=>(kr("data-v-5ed9242e"),e=e(),$r(),e),ice={class:"scopes-label"},ace=oce((()=>ea("em",null,"|",-1))),sce=["checked"],lce={class:"dropdown-item-title"},cce={class:"dropdown-item-description"},uce=Gr({__name:"SecuritySchemeScopes",props:{scopes:{},selected:{}},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=dn(),o=dn(),{floatingStyles:i}=function(e,t,n){void 0===n&&(n={});const r=n.whileElementsMounted,o=Ua((()=>{var e;return null==(e=mn(n.open))||e})),i=Ua((()=>mn(n.middleware))),a=Ua((()=>{var e;return null!=(e=mn(n.placement))?e:"bottom"})),s=Ua((()=>{var e;return null!=(e=mn(n.strategy))?e:"absolute"})),l=Ua((()=>{var e;return null==(e=mn(n.transform))||e})),c=Ua((()=>Jle(e.value))),u=Ua((()=>Jle(t.value))),d=dn(0),p=dn(0),f=dn(s.value),h=dn(a.value),m=pn({}),g=dn(!1),O=Ua((()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=tce(u.value,d.value),n=tce(u.value,p.value);return l.value?{...e,transform:"translate("+t+"px, "+n+"px)",...ece(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:n+"px"}}));let y;function b(){null!=c.value&&null!=u.value&&Kle(c.value,u.value,{middleware:i.value,placement:a.value,strategy:s.value}).then((e=>{d.value=e.x,p.value=e.y,f.value=e.strategy,h.value=e.placement,m.value=e.middlewareData,g.value=!0}))}function v(){"function"==typeof y&&(y(),y=void 0)}return Ir([i,a,s],b,{flush:"sync"}),Ir([c,u],(function(){v(),void 0!==r?null==c.value||null==u.value||(y=r(c.value,u.value,b)):b()}),{flush:"sync"}),Ir(o,(function(){o.value||(g.value=!1)}),{flush:"sync"}),Ie()&&Ue(v),{x:Gt(d),y:Gt(p),strategy:Gt(f),placement:Gt(h),middlewareData:Gt(m),isPositioned:Gt(g),floatingStyles:O,update:b}}(r,o,{placement:"bottom-end",whileElementsMounted:Gle,middleware:[vle(5),ble(),(void 0===a&&(a={}),{name:"shift",options:a,async fn(e){const{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=sle(a,e),c={x:t,y:n},u=await yle(e,l),d=ple(lle(r)),p=ule(d);let f=c[p],h=c[d];if(o){const e="y"===p?"bottom":"right";f=ale(f+u["y"===p?"top":"left"],f,f-u[e])}if(i){const e="y"===d?"bottom":"right";h=ale(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...e,[p]:f,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}})]});var a;const s=Ua({get:()=>n.selected,set:e=>t("update:selected",e)});return(e,t)=>(Zi(),Bi(mn(ud),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),multiple:""},{default:Pr((({open:t})=>[ea("div",{ref_key:"trigger",ref:r,class:$e(["wrapper",{"wrapper-open":t}])},[ta(mn(dd),{as:zse},{default:Pr((()=>[ea("div",ice,[ta(mn(up),{icon:t?"ChevronUp":"ChevronDown",size:"sm"},null,8,["icon"]),aa(" Scopes "),ta(mn(rce),{class:"scopes-label-badge"},{default:Pr((()=>[aa(Re(s.value.length),1),ace,aa(Re(Object.entries(e.scopes).length),1)])),_:1})])])),_:2},1024)],2),(Zi(),Bi(Ni,{to:"body"},[ta(mn(wl),null,{default:Pr((({styles:t})=>[ea("div",{ref_key:"dropdown",ref:o,class:$e(["floating",t]),style:ve(mn(i))},[ta(mn(pd),{as:"dl",class:"dropdown"},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(Object.entries(e.scopes),(([e,t])=>(Zi(),Bi(mn(fd),{key:e,as:"div",class:"dropdown-item",value:e},{default:Pr((({selected:n})=>[ea("input",{checked:n,class:"dropdown-item-check",tabindex:"-1",type:"checkbox"},null,8,sce),ea("dt",lce,Re(e),1),ea("dd",cce,Re(t),1)])),_:2},1032,["value"])))),128))])),_:1})],6)])),_:1})]))])),_:1},8,["modelValue"]))}}),dce=vl(uce,[["__scopeId","data-v-5ed9242e"]]),pce={class:"description"},fce=vl(Gr({__name:"SecurityScheme",props:{value:{}},setup(e){const{authentication:t,setAuthentication:n}=$M(),r=e=>{n({apiKey:{...t.apiKey,token:e.target.value}})},o=e=>{n({http:{...t.http,basic:{...t.http.basic,username:e.target.value}}})},i=e=>{n({http:{...t.http,basic:{...t.http.basic,password:e.target.value}}})},a=e=>{n({http:{...t.http,bearer:{...t.http.bearer,token:e.target.value}}})},s=e=>{n({oAuth2:{...t.oAuth2,clientId:e.target.value}})},l=Ua({get:()=>t.oAuth2.scopes,set:e=>n({oAuth2:{...t.oAuth2,scopes:e}})});return(e,n)=>{var c,u;return Zi(),Wi(qi,null,[e.value&&(null==(c=e.value)?void 0:c.type)?(Zi(),Bi(Lse,{key:0},{default:Pr((()=>["apiKey"===e.value.type?(Zi(),Bi(Kse,{key:0,id:`security-scheme-${e.value.name}`,placeholder:"Token",value:mn(t).apiKey.token,onInput:r},{default:Pr((()=>[aa(Re(e.value.in.charAt(0).toUpperCase()+e.value.in.slice(1))+" API Key ",1)])),_:1},8,["id","value"])):"http"===e.value.type||"basic"===e.value.type?(Zi(),Wi(qi,{key:1},["basic"===e.value.type||"basic"===e.value.scheme?(Zi(),Bi(Bse,{key:0},{default:Pr((()=>[ta(Kse,{id:"http.basic.username",placeholder:"Username",value:mn(t).http.basic.username,onInput:o},{default:Pr((()=>[aa(" Username ")])),_:1},8,["value"]),ta(Kse,{id:"http.basic.password",placeholder:"Password",type:"password",value:mn(t).http.basic.password,onInput:i},{default:Pr((()=>[aa(" Password ")])),_:1},8,["value"])])),_:1})):"http"===e.value.type&&"bearer"===e.value.scheme?(Zi(),Bi(Kse,{key:1,id:"http.bearer.token",placeholder:"Token",value:mn(t).http.bearer.token,onInput:a},{default:Pr((()=>[aa(" Bearer Token ")])),_:1},8,["value"])):la("",!0)],64)):"oauth2"===e.value.type.toLowerCase()&&e.value.flows&&e.value.flows.implicit?(Zi(),Bi(Bse,{key:2},{default:Pr((()=>[ta(Kse,{id:"oAuth2.clientId",placeholder:"Token",value:mn(t).oAuth2.clientId,onInput:s},{default:Pr((()=>[aa(" Client ID ")])),_:1},8,["value"]),void 0!==e.value?(Zi(),Bi(dce,{key:0,selected:l.value,"onUpdate:selected":n[0]||(n[0]=e=>l.value=e),scopes:e.value.flows.implicit.scopes},null,8,["selected","scopes"])):la("",!0),ta(zse,{onClick:n[1]||(n[1]=()=>{var n,r;return r=(e=>{const n=t.oAuth2.scopes.join(" "),r=new URL(e.authorizationUrl);return r.searchParams.set("response_type","token"),r.searchParams.set("client_id",t.oAuth2.clientId),r.searchParams.set("redirect_uri",window.location.href),r.searchParams.set("scope",n),r.searchParams.set("state","something-random"),r.toString()})(null==(n=e.value)?void 0:n.flows.implicit),void window.open(r,"openAuth2Window","left=100,top=100,width=800,height=600")})},{default:Pr((()=>[aa(" Authorize ")])),_:1})])),_:1})):la("",!0)])),_:1})):la("",!0),(null==(u=e.value)?void 0:u.description)?(Zi(),Bi(Lse,{key:1},{default:Pr((()=>{var t;return[ea("div",pce,[ta(Zse,{value:null==(t=e.value)?void 0:t.description},null,8,["value"])])]})),_:1})):la("",!0)],64)}}}),[["__scopeId","data-v-bc889128"]]),hce={key:1,class:"security-scheme-selector"},mce=["value"],gce=vl(Gr({__name:"SecuritySchemeSelector",props:{value:{}},emits:["input"],setup(e,{emit:t}){const n=e,{authentication:r,setAuthentication:o}=$M(),i=e=>{a(e.target.value)};co((()=>{a(Object.keys(n.value??{})[0]??null)}));const a=e=>{o({securitySchemeKey:e}),t("input",e)},s=(e,t)=>`${t} (${l(e)})`,l=e=>(e=>!(null==e?void 0:e.type))(e)?"No Authentication":(e=>"apikey"===e.type.toLowerCase())(e)?"API Key":(e=>"http"===e.type&&"basic"===e.scheme.toLowerCase()||"basic"===e.type.toLowerCase())(e)?"Basic Authentication":(e=>"http"===e.type&&"bearer"===e.scheme.toLowerCase())(e)?"Bearer Authentication":(e=>"oauth2"===e.type.toLowerCase())(e)?"OAuth 2.0":`${e.type} (not yet supported)`,c=Ua((()=>Object.keys(n.value??{})));return(e,t)=>{var n,o;return 1===c.value.length?(Zi(),Wi(qi,{key:0},[aa(Re(s(null==(n=e.value)?void 0:n[c.value[0]],c.value[0])),1)],64)):c.value.length>1?(Zi(),Wi("div",hce,[ea("span",null,Re(mn(r).securitySchemeKey?s(null==(o=e.value)?void 0:o[mn(r).securitySchemeKey],mn(r).securitySchemeKey):""),1),ta(mn(up),{icon:"ChevronDown"}),ea("select",{onInput:i,onValue:t[0]||(t[0]=(...e)=>mn(r).securitySchemeKey&&mn(r).securitySchemeKey(...e))},[(Zi(!0),Wi(qi,null,xo(c.value,(t=>{var n;return Zi(),Wi("option",{key:t,value:t??null},Re(s(null==(n=e.value)?void 0:n[t],t)),9,mce)})),128))],32)])):la("",!0)}}}),[["__scopeId","data-v-74706fc9"]]),Oce={class:"selector"},yce=vl(Gr({__name:"Authentication",props:{parsedSpec:{}},setup(e){const t=e,{authentication:n,setAuthentication:r}=$M(),o=Ua((()=>{var e,r,o;if(!n.securitySchemeKey)return!1;const i=null==(o=null==(r=null==(e=t.parsedSpec)?void 0:e.components)?void 0:r.securitySchemes)?void 0:o[n.securitySchemeKey];return!!i&&"type"in i&&!!i.type}));return Ir((()=>{var e,n;return null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes}),(()=>{var e,n;r({securitySchemes:null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes})}),{deep:!0,immediate:!0}),(e,t)=>mn(OM)(e.parsedSpec)?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>[ta(mn(Mee),{borderless:"",class:"authentication-header",transparent:""},{actions:Pr((()=>{var t,n;return[ea("div",Oce,[ta(gce,{value:null==(n=null==(t=e.parsedSpec)?void 0:t.components)?void 0:n.securitySchemes},null,8,["value"])])]})),default:Pr((()=>[aa(" Authentication ")])),_:1}),o.value?(Zi(),Bi(mn(jee),{key:0,class:"authentication-content",transparent:""},{default:Pr((()=>{var t,r,o;return[mn(n).securitySchemeKey?(Zi(),Bi(fce,{key:0,value:null==(o=null==(r=null==(t=e.parsedSpec)?void 0:t.components)?void 0:r.securitySchemes)?void 0:o[mn(n).securitySchemeKey]},null,8,["value"])):la("",!0)]})),_:1})):la("",!0)])),_:1})):la("",!0)}}),[["__scopeId","data-v-51f32c71"]]),bce=Gr({__name:"IntersectionObserver",props:{id:{},is:{}},emits:["intersecting"],setup(e,{emit:t}){const n=e,r=dn();return co((()=>{!function(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=.1,window:a=jd,immediate:s=!0}=n,l=Ud((()=>a&&"IntersectionObserver"in a)),c=Ua((()=>{const t=Td(e);return(Array.isArray(t)?t:[t]).map(Nd).filter(Qd)}));let u=Rd;const d=dn(s),p=l.value?Ir((()=>[c.value,Nd(r),d.value]),(([e,n])=>{if(u(),!d.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{root:Nd(n),rootMargin:o,threshold:i});e.forEach((e=>e&&r.observe(e))),u=()=>{r.disconnect(),u=Rd}}),{immediate:s,flush:"post"}):Rd,f=()=>{u(),p(),d.value=!1};_d(f)}(r,(([{isIntersecting:e}])=>{n.id&&e&&t("intersecting")}),{rootMargin:"0px 0px 50% 0px",threshold:.2})})),(e,t)=>(Zi(),Bi(wo(e.is??"div"),{id:e.id,ref_key:"intersectionObserverRef",ref:r},{default:Pr((()=>[$o(e.$slots,"default")])),_:3},8,["id"]))}}),vce=vl(Gr({__name:"Section",props:{id:{},label:{}},setup(e){const t=e,{getSectionId:n,hash:r,isIntersectionEnabled:o}=_Z(),{setCollapsedSidebarItem:i}=z7();function a(){t.label&&o.value&&(window.history.replaceState({},"",`#${t.id}`),r.value=t.id??"",i(n(t.id),!0))}return(e,t)=>(Zi(),Bi(bce,{is:"section",id:e.id,class:"section",onIntersecting:a},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},8,["id"]))}}),[["__scopeId","data-v-a4c4587e"]]),wce={class:"section-accordion-button-content"},Sce={key:0,class:"section-accordion-button-actions"},xce={key:0,class:"section-accordion-description"},kce={class:"section-accordion-content-card"},$ce=vl(Gr({__name:"SectionAccordion",props:{id:{},transparent:{type:Boolean}},setup(e){const t=dn(),n=function(e,t={}){const{delayEnter:n=0,delayLeave:r=0,window:o=jd}=t,i=dn(!1);let a;const s=e=>{const t=e?n:r;a&&(clearTimeout(a),a=void 0),t?a=setTimeout((()=>i.value=e),t):i.value=e};return o?(Id(e,"mouseenter",(()=>s(!0)),{passive:!0}),Id(e,"mouseleave",(()=>s(!1)),{passive:!0}),i):i}(t);return(e,r)=>(Zi(),Bi(bce,{id:e.id,class:"section-wrapper"},{default:Pr((()=>[ta(mn(Gu),{as:"section",class:$e(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:Pr((({open:r})=>[ta(mn(Ku),{ref_key:"button",ref:t,class:"section-accordion-button"},{default:Pr((()=>[ea("div",wce,[$o(e.$slots,"title",{},void 0,!0)]),e.$slots.actions?(Zi(),Wi("div",Sce,[$o(e.$slots,"actions",{active:mn(n)||r},void 0,!0)])):la("",!0),ta(mn(up),{class:"section-accordion-chevron",icon:r?"ChevronDown":"ChevronRight"},null,8,["icon"])])),_:2},1536),ta(mn(Ju),{class:"section-accordion-content"},{default:Pr((()=>[e.$slots.description?(Zi(),Wi("div",xce,[$o(e.$slots,"description",{},void 0,!0)])):la("",!0),ea("div",kce,[$o(e.$slots,"default",{},void 0,!0)])])),_:3})])),_:3},8,["class"])])),_:3},8,["id"]))}}),[["__scopeId","data-v-d82ba6d9"]]),Pce={class:"section-column"};const _ce=vl({},[["render",function(e,t){return Zi(),Wi("div",Pce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-7e657da0"]]),Tce={class:"section-columns"};const Ece=vl({},[["render",function(e,t){return Zi(),Wi("div",Tce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-0bd51848"]]),Qce={class:"section-container"};const Cce=vl({},[["render",function(e,t){return Zi(),Wi("div",Qce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-fcff76dc"]]),Ace={class:"section-accordion-wrapper"},Rce={class:"section-accordion-title"},Dce=vl(Gr({__name:"SectionContainerAccordion",setup:e=>(e,t)=>(Zi(),Wi("div",Ace,[ta(mn(Gu),{as:"div",class:"section-accordion",defaultOpen:""},{default:Pr((({open:t})=>[ta(mn(Ku),{class:"section-accordion-button"},{default:Pr((()=>[ta(mn(up),{class:"section-accordion-chevron",icon:t?"ChevronDown":"ChevronRight"},null,8,["icon"]),ea("div",Rce,[$o(e.$slots,"title",{},void 0,!0)])])),_:2},1024),ta(mn(Ju),{class:"section-accordion-content"},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})]))}),[["__scopeId","data-v-4fb26f3a"]]),Nce=vl(Gr({__name:"LoadingSkeleton",props:{lines:{default:1}},setup:e=>(e,t)=>(Zi(!0),Wi(qi,null,xo([...Array(e.lines).keys()],(t=>(Zi(),Wi("div",{key:t,class:$e(["loading",{"single-line":1===e.lines}])},null,2)))),128))}),[["__scopeId","data-v-99d52311"]]),jce={class:"section-content"},qce=vl(Gr({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Zi(),Wi("div",jce,[e.loading?(Zi(),Bi(Nce,{key:1,lines:8})):$o(e.$slots,"default",{key:0},void 0,!0)]))}),[["__scopeId","data-v-bba63beb"]]),Ice=vl(Gr({__name:"SectionHeader",props:{loading:{type:Boolean,default:!1},tight:{type:Boolean,default:!1},level:{default:1}},setup:e=>(e,t)=>e.loading?(Zi(),Bi(Nce,{key:0})):(Zi(),Bi(wo(`h${e.level}`),{key:1,class:$e(["section-header",{tight:e.tight}])},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))}),[["__scopeId","data-v-9e0df4d5"]]),Uce=Gr({__name:"Description",props:{value:{}},setup(e){const t=e,n=function(e,t,n){let r;r=un(n)?{evaluating:n}:n||{};const{lazy:o=!1,evaluating:i,shallow:a=!0,onError:s=Rd}=r,l=dn(!o),c=a?pn(t):dn(t);let u=0;return jr((async t=>{if(!l.value)return;u++;const n=u;let r=!1;i&&Promise.resolve().then((()=>{i.value=!0}));try{const o=await e((e=>{t((()=>{i&&(i.value=!1),r||e()}))}));n===u&&(c.value=o)}catch(Oc){s(Oc)}finally{i&&n===u&&(i.value=!1),r=!0}})),o?Ua((()=>(l.value=!0,c.value))):c}((async()=>{if(!t.value)return[];const e=await lM(t.value),n=uM(e);return await Promise.all(function(e,t=1){const n=new RegExp(`^(?=#{${t}} )`,"m");return e.split(n).map((e=>e.trim())).filter(Boolean)}(t.value,n).map((async e=>({heading:(await lM(e))[0],content:e}))))}),[]),{getHeadingId:r,hash:o,isIntersectionEnabled:i}=_Z();return(e,t)=>e.value?(Zi(!0),Wi(qi,{key:0},xo(mn(n),((e,t)=>(Zi(),Wi("div",{key:t},[e.heading?(Zi(),Bi(bce,{key:0,id:mn(r)(e.heading),class:"introduction-description-heading",onIntersecting:()=>{return t=mn(r)(e.heading),void(i.value&&(window.history.replaceState({},"",`#${t}`),o.value=t??""));var t}},{default:Pr((()=>[ta(Zse,{value:e.content,withImages:""},null,8,["value"])])),_:2},1032,["id","onIntersecting"])):(Zi(),Bi(Zse,{key:1,value:e.content,withImages:""},null,8,["value"]))])))),128)):la("",!0)}}),Mce=vl(Uce,[["__scopeId","data-v-892fc60c"]]),Xce={key:0,class:"download"},Fce={class:"download-cta"},Zce=["download","href"],Vce=vl(Gr({__name:"DownloadSpec",props:{value:{}},setup(e){function t(e){const t=yM(e)?new Blob([e],{type:"application/json"}):new Blob([e],{type:"application/x-yaml"});return URL.createObjectURL(t)}return(e,n)=>{return e.value?(Zi(),Wi("div",Xce,[ea("div",Fce,[ea("a",{download:(r=e.value,yM(r)?"spec.json":"spec.yaml"),href:t(e.value)}," Download OpenAPI Spec ",8,Zce)])])):la("",!0);var r}}}),[["__scopeId","data-v-751baa3a"]]),Lce=e=>(kr("data-v-5603accf"),e=e(),$r(),e),zce=Lce((()=>ea("div",{class:"section-flare"},[ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"})],-1))),Wce={class:"badges"},Bce={class:"sticky-cards"},Yce=vl(Gr({__name:"Introduction",props:{info:{},parsedSpec:{},rawSpec:{}},setup(e){const t=e,n=Ua((()=>t.parsedSpec.openapi??t.parsedSpec.swagger??""));return(e,t)=>(Zi(),Bi(mn(Cce),null,{default:Pr((()=>[zce,ta(mn(vce),{class:"introduction-section"},{default:Pr((()=>[ta(mn(qce),{loading:!e.info.description&&!e.info.title},{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>[ea("div",Wce,[e.info.version?(Zi(),Bi(mn(rce),{key:0},{default:Pr((()=>[aa(Re(e.info.version),1)])),_:1})):la("",!0),n.value?(Zi(),Bi(mn(rce),{key:1},{default:Pr((()=>[aa(" OAS "+Re(n.value),1)])),_:1})):la("",!0)]),ta(mn(Ice),{level:1,loading:!e.info.title,tight:""},{default:Pr((()=>[aa(Re(e.info.title),1)])),_:1},8,["loading"]),ta(Vce,{value:e.rawSpec},null,8,["value"]),ta(Mce,{value:e.info.description},null,8,["value"])])),_:1}),e.$slots.aside?(Zi(),Bi(mn(_ce),{key:0},{default:Pr((()=>[ea("div",Bce,[$o(e.$slots,"aside",{},void 0,!0)])])),_:3})):la("",!0)])),_:3})])),_:3},8,["loading"]),$o(e.$slots,"after",{},void 0,!0)])),_:3})])),_:3}))}}),[["__scopeId","data-v-5603accf"]]);function Hce(e){return function(t){"boolean"==typeof e[t]&&(e[t]=!e[t])}}const Gce=Yt({isDark:!1,activeNavState:"Guide",selectedClient:{targetKey:"shell",clientKey:"curl"}});function Kce(){var e,t;e=Gce,t={isDark:!1,activeNavState:"Guide",selectedClient:{targetKey:"shell",clientKey:"curl"}},Object.keys(e).forEach((n=>{Object.hasOwn(t,n)||delete e[n]})),Object.assign(e,t)}function Jce(e){var t;const{availableTargets:n}=iee();return(null==(t=n.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function eue(e){var t,n;const{availableTargets:r}=iee();return(null==(n=null==(t=r.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:n.title)??e.clientKey}const tue=()=>{return{state:Ht(Gce),resetState:Kce,setItem:(e=Gce,function(t,n){e[t]=n}),toggleItem:Hce(Gce),getClientTitle:eue,getTargetTitle:Jce};var e},nue=e=>(kr("data-v-b73001a8"),e=e(),$r(),e),rue=["onClick"],oue=["value"],iue=["label"],aue=["value"],sue={class:"code-languages-background code-languages-icon__more"},lue={key:1,class:"code-languages-icon",height:"50",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},cue=[nue((()=>ea("g",{fill:"currentColor","fill-rule":"nonzero"},[ea("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)))],uue=nue((()=>ea("span",null,"More",-1))),due=vl(Gr({__name:"ClientSelector",setup(e){const{state:t,setItem:n,getClientTitle:r,getTargetTitle:o}=tue(),{availableTargets:i}=iee(),a=dn(!1),s=dn();Xd(s,(e=>a.value=e[0].contentRect.width<500));const l=Ua((()=>a.value?[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"python",clientKey:"python3"}]:[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{targetKey:"python",clientKey:"python3"},{targetKey:"c",clientKey:"libcurl"}])),c=e=>`brand/programming-language-${{javascript:"javascript-js"}[e]??e}`;function u(e){return l.value.some((t=>t.targetKey===e.targetKey&&t.clientKey===e.clientKey))}return(e,a)=>(Zi(),Wi("div",{ref_key:"containerRef",ref:s,class:"client-libraries-content"},[(Zi(!0),Wi(qi,null,xo(l.value,(e=>{return Zi(),Wi("div",{key:e.clientKey,class:$e(["code-languages rendered-code-sdks",{"code-languages__active":(r=e,r.targetKey===t.selectedClient.targetKey&&r.clientKey===t.selectedClient.clientKey)}]),onClick:()=>mn(n)("selectedClient",e)},[ea("div",{class:$e(["code-languages-background",`code-languages-icon__${e.targetKey}`])},[ta(mn(vee),{class:"code-languages-icon",src:c(e.targetKey)},null,8,["src"])],2),ea("span",null,Re(mn(o)(e)),1)],10,rue);var r})),128)),ea("div",{class:$e(["code-languages code-languages__select",{"code-languages__active":mn(t).selectedClient&&!u(mn(t).selectedClient)}])},[ea("select",{class:"language-select",value:JSON.stringify(mn(t).selectedClient),onInput:a[0]||(a[0]=e=>mn(n)("selectedClient",JSON.parse(e.target.value)))},[(Zi(!0),Wi(qi,null,xo(mn(i),(e=>(Zi(),Wi("optgroup",{key:e.key,label:e.title},[(Zi(!0),Wi(qi,null,xo(e.clients,(t=>(Zi(),Wi("option",{key:t.key,value:JSON.stringify({targetKey:e.key,clientKey:t.key})},Re(mn(r)({targetKey:e.key,clientKey:t.key})),9,aue)))),128))],8,iue)))),128))],40,oue),ea("div",sue,[mn(t).selectedClient&&!u(mn(t).selectedClient)?(Zi(),Wi("div",{key:0,class:$e(["code-languages-background",`code-languages-icon__${mn(t).selectedClient.targetKey}`])},[ta(mn(vee),{class:"code-languages-icon",src:c(mn(t).selectedClient.targetKey)},null,8,["src"])],2)):(Zi(),Wi("svg",lue,cue))]),uue],2)],512))}}),[["__scopeId","data-v-b73001a8"]]),pue=vl(Gr({__name:"ClientList",setup(e){const{state:t,getClientTitle:n,getTargetTitle:r}=tue();return(e,o)=>(Zi(),Bi(mn(Nee),null,{default:Pr((()=>[ta(mn(Mee),{borderless:"",transparent:""},{default:Pr((()=>[aa(" Client Libraries ")])),_:1}),ta(mn(jee),{frameless:"",transparent:""},{default:Pr((()=>[ta(due)])),_:1}),ta(mn(Xee),{class:"selected-client card-footer",muted:""},{default:Pr((()=>[aa(Re(mn(r)(mn(t).selectedClient))+" "+Re(mn(n)(mn(t).selectedClient)),1)])),_:1})])),_:1}))}}),[["__scopeId","data-v-98185d68"]]),{addToast:fue}=mT(),hue=()=>({copyToClipboard:e=>{navigator.clipboard.writeText(e).then((()=>{fue({title:"Copied to the clipboard"},{timeout:2e3})}))}}),mue=["title","innerHTML"],gue=vl(Gr({__name:"ServerItem",props:{value:{},variables:{}},setup(e){const t=e,{copyToClipboard:n}=hue(),r=Ua((()=>{var e;return hM(((null==(e=t.value)?void 0:e.url)??"").replace(/(<([^>]+)>)/gi,""),(e=>{var n;const r=null==(n=t.variables)?void 0:n.find((t=>t.name===e));return`<span class="base-url-variable">${""!==((null==r?void 0:r.value)??"")?null==r?void 0:r.value:`{${e}}`}</span>`}))}));return(e,t)=>e.value?(Zi(),Wi("a",{key:0,class:"base-url",title:e.value.description,onClick:t[0]||(t[0]=t=>mn(n)(e.value.url)),innerHTML:r.value},null,8,mue)):la("",!0)}}),[["__scopeId","data-v-5ca0a51c"]]),Oue={key:0},yue=["for"],bue=["id","value","onInput"],vue=["value"],wue={class:"input-value"},Sue=["id","value","onInput"],xue=vl(Gr({__name:"ServerVariables",props:{value:{}},setup(e){const{server:t,setServer:n}=$M(),r=(e,r)=>{const o=r.target.value,i=[...t.variables],a=i.findIndex((t=>t.name===e));i[a].value=o,n({variables:i})},o=e=>{const n=t.variables.findIndex((t=>t.name===e));return t.variables[n].value??""};return(e,t)=>e.value?(Zi(),Wi("div",Oue,[(Zi(!0),Wi(qi,null,xo(e.value,(e=>(Zi(),Wi("div",{key:e.name,class:"input"},[ea("label",{for:`variable-${e.name}`},[ea("code",null,Re(e.name),1)],8,yue),e.enum?(Zi(),Wi(qi,{key:0},[ea("select",{id:`variable-${e.name}`,value:o(e.name),onInput:t=>r(e.name,t)},[(Zi(!0),Wi(qi,null,xo(e.enum,(e=>(Zi(),Wi("option",{key:e,value:e},Re(e),9,vue)))),128))],40,bue),ea("div",wue,Re(e.default),1)],64)):(Zi(),Wi("input",{key:1,id:`variable-${e.name}`,autocomplete:"off",placeholder:"value",spellcheck:"false",type:"text",value:o(e.name),onInput:t=>r(e.name,t)},null,40,Sue))])))),128))])):la("",!0)}}),[["__scopeId","data-v-dd37047f"]]),kue={class:"scalar-card-serverlist-container"},$ue={class:"server-item"},Pue={class:"server-selector"},_ue=["value"],Tue=["value"],Eue={class:"description"},Que=vl(Gr({__name:"ServerList",props:{value:{}},setup(e){const t=e,{server:n,setServer:r}=$M(),o=dn(0);return Ir(o,(()=>{var e,n,i;const a=(null==(e=t.value[o.value])?void 0:e.variables)??{},s=a?Object.keys(a).map((e=>{var t;return{name:e,value:(null==(t=a[e].default)?void 0:t.toString())??""}})):[];([...(null==(n=t.value[o.value])?void 0:n.url).matchAll(/(?:\{+)\s*(\w+)\s*(?:\}+)/g)].map((e=>e[1].trim()))||[]).filter((e=>!a[e])).forEach((e=>{s.push({name:e,value:""})})),r({selectedServer:o.value,description:null==(i=t.value[o.value])?void 0:i.description,servers:t.value,variables:s})}),{immediate:!0}),Ir((()=>t.value),(()=>{r({servers:t.value})})),(e,t)=>e.value.length>0?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>[ta(mn(Mee),{borderless:"",muted:""},{default:Pr((()=>[aa(" Base URL ")])),_:1}),ta(mn(jee),{class:"scalar-card-serverlist"},{default:Pr((()=>[ea("div",kue,[ea("div",$ue,[ea("div",Pue,[e.value.length>1?(Zi(),Wi("select",{key:0,value:o.value,onInput:t[0]||(t[0]=e=>o.value=parseInt(e.target.value,10))},[(Zi(!0),Wi(qi,null,xo(e.value,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(e.url),9,Tue)))),128))],40,_ue)):la("",!0),ta(gue,{value:e.value[o.value],variables:mn(n).variables},null,8,["value","variables"]),e.value.length>1?(Zi(),Bi(mn(up),{key:1,icon:"ChevronDown"})):la("",!0)])]),ta(xue,{value:mn(n).variables},null,8,["value"])])])),_:1}),mn(n).description?(Zi(),Bi(mn(jee),{key:0,muted:""},{default:Pr((()=>[ea("div",Eue,[ta(Zse,{value:mn(n).description},null,8,["value"])])])),_:1})):la("",!0)])),_:1})):la("",!0)}}),[["__scopeId","data-v-ddd13e53"]]),Cue={key:0,class:"screenreader-only"},Aue=vl(Gr({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?(Zi(),Wi("span",Cue,[$o(e.$slots,"default",{},void 0,!0)])):$o(e.$slots,"default",{key:1},void 0,!0)}),[["__scopeId","data-v-681ebf2c"]]),Rue=e=>(kr("data-v-932ee9f4"),e=e(),$r(),e),Due={class:"label"},Nue={class:"anchor"},jue=Rue((()=>ea("span",null,"",-1))),que=vl(Gr({__name:"Anchor",props:{id:{}},setup(e){const{copyToClipboard:t}=hue();return(e,n)=>(Zi(),Wi("span",Due,[$o(e.$slots,"default",{},void 0,!0),ea("span",Nue,[jue,ea("button",{class:"anchor-copy",type:"button",onClick:n[0]||(n[0]=zs((n=>mn(t)((e=>{const t=new URL(window.location.href);return t.hash=e,t.toString()})(e.id))),["stop"]))},[aa(" # "),ta(Aue,null,{default:Pr((()=>[aa('Copy link to "'),$o(e.$slots,"default",{},void 0,!0),aa('"')])),_:3})])])]))}}),[["__scopeId","data-v-932ee9f4"]]),Iue={class:"schema-type"},Uue=["title"],Mue=vl(Gr({__name:"SchemaHeading",props:{value:{},name:{}},setup:e=>(e,t)=>{var n,r,o,i,a,s;return Zi(),Wi("span",Iue,[ea("em",{title:"string"==typeof e.value.type?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"},["object"===e.value.type?(Zi(),Wi(qi,{key:0},[aa(" {} ")],64)):la("",!0),"array"===e.value.type?(Zi(),Wi(qi,{key:1},[aa(" [] ")],64)):la("",!0)],8,Uue),(null==(r=null==(n=e.value)?void 0:n.xml)?void 0:r.name)&&"##default"!==(null==(i=null==(o=e.value)?void 0:o.xml)?void 0:i.name)?(Zi(),Wi(qi,{key:0},[aa(" <"+Re(null==(s=null==(a=e.value)?void 0:a.xml)?void 0:s.name)+" /> ",1)],64)):e.name?(Zi(),Wi(qi,{key:1},[aa(Re(e.name),1)],64)):(Zi(),Wi(qi,{key:2},[aa(Re(e.value.type),1)],64))])}}),[["__scopeId","data-v-066b6f7d"]]),Xue={class:"property-information"},Fue={key:0,class:"property-name"},Zue={key:1,class:"required"},Vue={key:2,class:"property-type"},Lue={key:0,class:"property-example-value"},zue={class:"pattern"},Wue={key:3,class:"write-only"},Bue={key:4,class:"read-only"},Yue={key:0,class:"property-rule"},Hue={key:5,class:"property-nullable"},Gue={key:6,class:"property-example"},Kue={class:"property-example-value"},Jue={key:0,class:"property-description"},ede={key:1,class:"property-description"},tde={key:2,class:"property-enum"},nde={class:"property-enum-values"},rde={key:3,class:"children"},ode={key:0,class:"children"},ide={key:0,class:"rule"},ade={key:1,class:"rule"},sde=vl(Gr({__name:"SchemaProperty",props:{value:{},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},toggleVisibility:{type:Boolean,default:!1},description:{}},setup(e){const t={number:{_default:"",float:"Floating-point numbers.",double:"Floating-point numbers with double precision."},integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},n=function(e){return e&&t[e.type]?t[e.type][e.format||"_default"]:null},r=["oneOf","anyOf","allOf","not"];return(e,t)=>{var o,i,a,s,l,c,u,d,p,f,h,m;return Zi(),Wi("div",{class:$e(["property",`${e.compact?"property--compact":""} property--level-${e.level}`])},[ea("div",Xue,[e.name?(Zi(),Wi("div",Fue,Re(e.name),1)):la("",!0),e.required?(Zi(),Wi("div",Zue," required ")):la("",!0),(null==(o=e.value)?void 0:o.type)?(Zi(),Wi("div",Vue,[(null==(i=e.value)?void 0:i.items)&&!["object"].includes(e.value.items.type)?(Zi(),Wi(qi,{key:0},[aa(Re(e.value.type)+" "+Re(e.value.items.type)+"[] ",1),e.value.items.example?(Zi(),Wi("code",Lue," example: "+Re(e.value.items.example),1)):la("",!0)],64)):(Zi(),Wi(qi,{key:1},[aa(Re(e.value.type),1)],64)),e.value.minItems||e.value.maxItems?(Zi(),Wi(qi,{key:2},[aa(Re(e.value.minItems)+".."+Re(e.value.maxItems),1)],64)):la("",!0),e.value.minLength?(Zi(),Wi(qi,{key:3},[aa(" · min: "+Re(e.value.minLength),1)],64)):la("",!0),e.value.maxLength?(Zi(),Wi(qi,{key:4},[aa(" · max: "+Re(e.value.maxLength),1)],64)):la("",!0),e.value.uniqueItems?(Zi(),Wi(qi,{key:5},[aa(" unique! ")],64)):la("",!0),e.value.format?(Zi(),Wi(qi,{key:6},[aa(" · "+Re(e.value.format),1)],64)):la("",!0),e.value.pattern?(Zi(),Wi(qi,{key:7},[aa(" · "),ea("code",zue,Re(e.value.pattern),1)],64)):la("",!0),e.value.enum?(Zi(),Wi(qi,{key:8},[aa(" · enum ")],64)):la("",!0)])):la("",!0),(null==(a=e.value)?void 0:a.writeOnly)?(Zi(),Wi("div",Wue," write-only ")):(null==(s=e.value)?void 0:s.readOnly)?(Zi(),Wi("div",Bue," read-only ")):la("",!0),(Zi(),Wi(qi,null,xo(r,(t=>{var n,r,o;return Zi(),Wi(qi,{key:t},[(null==(n=e.value)?void 0:n[t])||(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])?(Zi(),Wi("div",Yue,[ta(mn(rce),null,{default:Pr((()=>[aa(Re(t),1)])),_:2},1024)])):la("",!0)],64)})),64)),(null==(l=e.value)?void 0:l.nullable)?(Zi(),Wi("div",Hue," nullable ")):la("",!0),void 0!==(null==(c=e.value)?void 0:c.example)?(Zi(),Wi("div",Gue,[ea("code",Kue," example: "+Re(e.value.example),1)])):la("",!0)]),e.description||(null==(u=e.value)?void 0:u.description)?(Zi(),Wi("div",Jue,[ta(Zse,{value:e.description||(null==(d=e.value)?void 0:d.description)},null,8,["value"])])):n(e.value)?(Zi(),Wi("div",ede,[ta(Zse,{value:n(e.value)||""},null,8,["value"])])):la("",!0),(null==(p=e.value)?void 0:p.enum)?(Zi(),Wi("div",tde,[ea("ul",nde,[(Zi(!0),Wi(qi,null,xo(e.value.enum,(e=>(Zi(),Wi("li",{key:e,class:"property-enum-value"},Re(e),1)))),128))])])):la("",!0),(null==(f=e.value)?void 0:f.properties)||(null==(h=e.value)?void 0:h.additionalProperties)?(Zi(),Wi("div",rde,[ta(dde,{compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:e.value},null,8,["compact","level","toggleVisibility","value"])])):la("",!0),(null==(m=e.value)?void 0:m.items)?(Zi(),Wi(qi,{key:4},[["object"].includes(e.value.items.type)?(Zi(),Wi("div",ode,[ta(dde,{compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:e.value.items},null,8,["compact","level","toggleVisibility","value"])])):la("",!0)],64)):la("",!0),(Zi(),Wi(qi,null,xo(r,(t=>{var n,r,o;return Zi(),Wi(qi,{key:t},[(null==(n=e.value)?void 0:n[t])?(Zi(),Wi("div",ide,[(Zi(!0),Wi(qi,null,xo(e.value[t],((t,n)=>(Zi(),Bi(dde,{key:n,compact:e.compact,hideVisibilityToggle:"",level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:t},null,8,["compact","level","toggleVisibility","value"])))),128))])):la("",!0),(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])&&e.level<3?(Zi(),Wi("div",ade,[(Zi(!0),Wi(qi,null,xo(e.value.items[t],((t,n)=>(Zi(),Bi(dde,{key:n,compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:t},null,8,["compact","level","toggleVisibility","value"])))),128))])):la("",!0)],64)})),64))],2)}}}),[["__scopeId","data-v-848c5568"]]),lde=e=>(kr("data-v-9d5304de"),e=e(),$r(),e),cde=lde((()=>ea("svg",{fill:"currentColor",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},[ea("polygon",{"fill-rule":"nonzero",points:"14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"})],-1))),ude={key:0,class:"schema-card-title"},dde=vl(Gr({__name:"Schema",props:{value:{},level:{default:0},name:{},compact:{type:Boolean,default:!1},toggleVisibility:{type:Boolean,default:!1},hideVisibilityToggle:{type:Boolean,default:!1}},setup(e){const t=e,n=Ua((()=>!t.hideVisibilityToggle&&(!!t.toggleVisibility&&0!==t.level))),r=dn(!1),o=Ua((()=>{var e,n;return{..."object"==typeof t.value?t.value:{},..."object"==typeof t.value&&"object"==typeof(null==(e=t.value)?void 0:e.additionalProperties)?null==(n=t.value)?void 0:n.additionalProperties:{}}}));return(e,t)=>{var i,a,s;return"object"==typeof e.value&&Object.keys(e.value).length?(Zi(),Wi("div",{key:0,class:$e(["schema-card",`${e.compact?"schema-card--compact":""} schema-card--level-${e.level}`])},[ea("div",{class:$e(["properties","properties--"+(!n.value||r.value?"visible":"hidden")])},[n.value?(Zi(),Wi("button",{key:0,class:$e(["schema-visibility-toggle","schema-visibility-toggle--"+(r.value?"visible":"hidden")]),type:"button",onClick:t[0]||(t[0]=e=>r.value=!r.value)},[cde,ea("span",null,[r.value?(Zi(),Wi(qi,{key:0},[aa("Hide Child Attributes")],64)):(Zi(),Wi(qi,{key:1},[aa("Show Child Attributes")],64))])],2)):la("",!0),!n.value||r.value?(Zi(),Wi(qi,{key:1},[(null==(i=o.value)?void 0:i.properties)?(Zi(),Wi(qi,{key:0},[e.compact?la("",!0):(Zi(),Wi("div",ude,[ta(Mue,{name:e.name,value:o.value},null,8,["name","value"])])),(Zi(!0),Wi(qi,null,xo(Object.keys(null==(a=o.value)?void 0:a.properties),(t=>{var n;return Zi(),Bi(sde,{key:t,compact:e.compact,level:e.level,name:t,required:o.value.required&&o.value.required.length&&o.value.required.includes(t),toggleVisibility:e.toggleVisibility,value:null==(n=o.value.properties)?void 0:n[t]},null,8,["compact","level","name","required","toggleVisibility","value"])})),128))],64)):(Zi(),Bi(sde,{key:1,compact:e.compact,level:e.level,name:null==(s=o.value)?void 0:s.name,toggleVisibility:e.toggleVisibility,value:o.value},null,8,["compact","level","name","toggleVisibility","value"]))],64)):la("",!0)],2)],2)):la("",!0)}}}),[["__scopeId","data-v-9d5304de"]]),pde=vl(Gr({__name:"ShowMoreButton",props:{id:{}},setup(e){const{setCollapsedSidebarItem:t}=z7();return(e,n)=>(Zi(),Wi("button",{class:"show-more",type:"button",onClick:n[0]||(n[0]=n=>mn(t)(e.id,!0))},[aa(" Show More "),ta(mn(up),{class:"show-more-icon",icon:"ChevronDown"})]))}}),[["__scopeId","data-v-eca36a8c"]]),fde=vl(Gr({__name:"Models",props:{components:{}},setup(e){const t=e,{collapsedSidebarItems:n}=z7(),{getModelId:r}=_Z(),o=Ua((()=>{var e;return Object.keys((null==(e=t.components)?void 0:e.schemas)??{}).length<=3||n[r()]})),i=Ua((()=>{var e;const n=Object.keys((null==(e=t.components)?void 0:e.schemas)??{});return o.value?n:n.slice(0,3)}));return(e,t)=>e.components?(Zi(),Bi(mn(Cce),{key:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(i.value,((t,n)=>(Zi(),Bi(mn(vce),{id:mn(r)(t),key:t,label:t},{default:Pr((()=>{var a,s;return[(null==(s=null==(a=e.components)?void 0:a.schemas)?void 0:s[t])?(Zi(),Bi(mn(qce),{key:0},{default:Pr((()=>{var a,s;return[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(t)},{default:Pr((()=>{var n,r;return[aa(Re((null==(r=null==(n=e.components)?void 0:n.schemas)?void 0:r[t]).title??t),1)]})),_:2},1032,["id"])])),_:2},1024),ta(dde,{name:t,value:null==(s=null==(a=e.components)?void 0:a.schemas)?void 0:s[t]},null,8,["name","value"]),o.value||n!==i.value.length-1?la("",!0):(Zi(),Bi(pde,{key:0,id:mn(r)(),class:"something-special"},null,8,["id"]))]})),_:2},1024)):la("",!0)]})),_:2},1032,["id","label"])))),128))])),_:1})):la("",!0)}}),[["__scopeId","data-v-f10b5da5"]]),hde={key:0,class:"properties"},mde={key:1},gde=vl(Gr({__name:"ModelsAccordion",props:{components:{}},setup(e){const t=e,n=Ua((()=>{var e,n;return(null==(e=t.components)?void 0:e.schemas)?Object.entries(null==(n=t.components)?void 0:n.schemas).map((([e,t])=>({name:e,schema:t}))):[]})),{getModelId:r}=_Z();return(e,t)=>e.components?(Zi(),Bi(mn(Dce),{key:0,class:"reference-models"},{title:Pr((()=>[ta(mn(Ice),{level:2},{default:Pr((()=>[aa("Models")])),_:1})])),default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(n.value,(({name:e,schema:t})=>(Zi(),Bi(mn($ce),{id:mn(r)(e),key:e,label:e},{title:Pr((()=>[ta(mn(que),{id:mn(r)(e),class:"reference-models-anchor"},{default:Pr((()=>[ta(Mue,{class:"reference-models-label",name:e,value:t},null,8,["name","value"])])),_:2},1032,["id"])])),default:Pr((()=>[(null==t?void 0:t.properties)?(Zi(),Wi("div",hde,[(Zi(!0),Wi(qi,null,xo(Object.entries(t.properties),(([e,n])=>(Zi(),Bi(sde,{key:e,name:e,required:t.required&&!!t.required.length&&t.required.includes(e),value:n},null,8,["name","required","value"])))),128))])):(Zi(),Wi("div",mde,[ta(sde,{value:t},null,8,["value"])]))])),_:2},1032,["id","label"])))),128))])),_:1})):la("",!0)}}),[["__scopeId","data-v-e5dd729d"]]),Ode={class:"request-header"},yde={class:"language-select"},bde=["value"],vde=["value"],wde=vl(Gr({__name:"CustomRequestExamples",props:{operation:{},examples:{}},setup(e){const t=e,n=dn(0),r=Ua((()=>({C:"c","C#":"csharp",Go:"go",HTML:"html",Java:"java",JavaScript:"javascript",Kotlin:"kotlin","Objective-C":"objc",PowerShell:"powershell",Python:"python",Ruby:"ruby",Shell:"shell",Swift:"swift",TypeScript:"javascript",cURL:"shell"}[t.examples[n.value].lang]??t.examples[n.value].lang))),o=Ua((()=>t.examples[n.value]));Ir(t.examples,(()=>{"undefined"===t.examples[n.value]&&(n.value=0)}));const{copyToClipboard:i}=hue();return(e,t)=>(Zi(),Bi(mn(Nee),{class:"dark-mode"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{actions:Pr((()=>[ea("div",yde,[ea("span",null,Re(o.value.label),1),ea("select",{value:n.value,onInput:t[0]||(t[0]=e=>(n.value=parseInt(e.target.value),10))},[(Zi(!0),Wi(qi,null,xo(e.examples,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(e.label),9,vde)))),128))],40,bde)]),ea("button",{class:"copy-button",type:"button",onClick:t[1]||(t[1]=e=>mn(i)(o.value.source.trim()))},[ta(mn(up),{icon:"Clipboard",width:"10px"})])])),default:Pr((()=>[ea("div",Ode,[ea("span",{class:$e(["request-method",`request-method--${e.operation.httpVerb}`])},Re(e.operation.httpVerb),3),$o(e.$slots,"header",{},void 0,!0)])])),_:3}),ta(mn(jee),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:Pr((()=>[ta(mn(nT),{content:o.value.source.trim(),forceDarkMode:!0,languages:[r.value],lineNumbers:"",readOnly:""},null,8,["content","languages"])])),_:1}),e.$slots.footer?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",contrast:""},{default:Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:3})):la("",!0)])),_:3}))}}),[["__scopeId","data-v-adc6cc29"]]),Sde={class:"parameter-item"},xde={class:"parameter-item-container"},kde=vl(Gr({__name:"ParameterItem",props:{parameter:{},showChildren:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Zi(),Wi("li",Sde,[ea("div",xde,[ta(sde,{compact:"",description:e.parameter.description,level:0,name:e.parameter.name,required:e.parameter.required,toggleVisibility:!e.showChildren,value:e.parameter.schema},null,8,["description","name","required","toggleVisibility","value"])])]))}),[["__scopeId","data-v-e9d81a16"]]),$de={key:0,class:"parameters"},Pde={class:"parameters-title"},_de={class:"parameter-list"},Tde=vl(Gr({__name:"Parameters",props:{parameters:{},showChildren:{type:Boolean,default:!1}},setup:e=>(e,t)=>{var n;return(null==(n=e.parameters)?void 0:n.length)?(Zi(),Wi("div",$de,[ea("div",Pde,[$o(e.$slots,"title",{},void 0,!0)]),ea("ul",_de,[(Zi(!0),Wi(qi,null,xo(e.parameters,(t=>(Zi(),Bi(kde,{key:t.name,parameter:t,showChildren:e.showChildren},null,8,["parameter","showChildren"])))),128))])])):la("",!0)}}),[["__scopeId","data-v-8afcce23"]]),Ede={key:0},Qde={class:"request-body-title"},Cde=["value"],Ade={key:0,class:"request-body-schema"},Rde=vl(Gr({__name:"RequestBody",props:{requestBody:{}},setup(e){var t;const n=e,r=Ua((()=>{var e;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]})),o=dn("application/json");return(null==(t=n.requestBody)?void 0:t.content)&&r.value.length>0&&(o.value=r.value[0]),(e,t)=>{var i,a,s,l;return(null==n?void 0:n.requestBody)?(Zi(),Wi("div",Ede,[ea("div",Qde,[$o(e.$slots,"title",{},void 0,!0),ea("div",{class:$e(["request-body-title-select",{"request-body-title-no-select":r.value.length<=1}])},[ea("span",null,Re(o.value),1),(null==n?void 0:n.requestBody)&&r.value.length>1?Vr((Zi(),Wi("select",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},[(Zi(!0),Wi(qi,null,xo(null==(i=n.requestBody)?void 0:i.content,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(t),9,Cde)))),128))],512)),[[Ms,o.value]]):la("",!0)],2)]),(null==(a=null==n?void 0:n.requestBody.content)?void 0:a[o.value])?(Zi(),Wi("div",Ade,[ta(dde,{compact:"",toggleVisibility:"",value:null==(l=null==(s=null==n?void 0:n.requestBody.content)?void 0:s[o.value])?void 0:l.schema},null,8,["value"])])):la("",!0)])):la("",!0)}}}),[["__scopeId","data-v-2e8de398"]]),Dde={class:"endpoint-details"},Nde={class:"endpoint-description"},jde=Gr({__name:"EndpointDetails",props:{operation:{}},setup(e){const t=e,{parameterMap:n}=OZ(t),{responses:r}=TZ(t.operation);return(e,t)=>{var o,i;return Zi(),Wi("div",Dde,[ea("div",Nde,[ta(Zse,{value:e.operation.description},null,8,["value"])]),ta(Tde,{parameters:mn(n).path},{title:Pr((()=>[aa("Path Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).query},{title:Pr((()=>[aa("Query Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).header},{title:Pr((()=>[aa("Headers")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).body,showChildren:""},{title:Pr((()=>[aa("Body Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).formData},{title:Pr((()=>[aa("Form Data")])),_:1},8,["parameters"]),(null==(o=e.operation.information)?void 0:o.requestBody)?(Zi(),Bi(Rde,{key:0,requestBody:null==(i=e.operation.information)?void 0:i.requestBody},{title:Pr((()=>[aa("Body")])),_:1},8,["requestBody"])):la("",!0),ta(Tde,{parameters:mn(r)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])])}}}),qde={class:"endpoint-path"},Ide={key:0},Ude=Gr({__name:"EndpointPath",props:{path:{}},setup(e){const t=e,n=e=>e.startsWith("{")&&e.endsWith("}"),r=Ua((()=>t.path.split(/({[^}]+})/)));return(e,t)=>(Zi(),Wi("span",qde,[(Zi(!0),Wi(qi,null,xo(r.value,((e,t)=>(Zi(),Wi(qi,{key:t},[n(e)?(Zi(),Wi("em",Ide,Re(e),1)):(Zi(),Wi(qi,{key:1},[aa(Re(e),1)],64))],64)))),128))]))}}),Mde=vl(Ude,[["__scopeId","data-v-ec5461ce"]]);function Xde(e){return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function Fde(e){return/\s|-/.test(e)}function Zde(e,t=0){let n=[],r=" ".repeat(t),o=" ".repeat(t+2);for(const[i,a]of Object.entries(e)){let e=Fde(i)?`'${i}'`:i;if(Array.isArray(a)){const r=a.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?Zde(e,t+2):e)).join(`, ${o}`);n.push(`${o}${e}: [${r}]`)}else if(a&&"object"==typeof a)n.push(`${o}${e}: ${Zde(a,t+2)}`);else if("string"==typeof a){let t=`${a}`;if(a.startsWith("JSON.stringify")){const e=a.split("\n");e.length>1&&(t=e.map(((e,t)=>0===t?e:`${o}${e}`)).join("\n"))}else t=`'${a}'`;n.push(`${o}${e}: ${t}`)}else n.push(`${o}${e}: ${a}`)}return`{\n${n.join(",\n")}\n${r}}`}function Vde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"node",client:"undici",code:`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${a}'${s})`}}function Lde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"node",client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function zde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"js",client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function Wde(){const e=[Vde,Lde,zde];return{get(e,t,n){const r=this.findPlugin(e,t);if(r)return r(n)},print(e,t,n){var r;return null==(r=this.get(e,t,n))?void 0:r.code},targets:()=>e.map((e=>e().target)).filter(((e,t,n)=>n.indexOf(e)===t)),clients:()=>e.map((e=>e().client)),plugins:()=>e.map((e=>{const t=e();return{target:t.target,client:t.client}})),findPlugin:(t,n)=>e.find((e=>{const r=e();return r.target===t&&r.client===n})),hasPlugin(e,t){return!!this.findPlugin(e,t)}}}const Bde={class:"request-header"},Yde={class:"language-select"},Hde=["value"],Gde=["label"],Kde=["value"],Jde=Gr({__name:"ExampleRequest",props:{operation:{}},setup(e){const t=e,n=dn(""),{copyToClipboard:r}=hue(),{state:o,setItem:i,getClientTitle:a,getTargetTitle:s}=tue(),{availableTargets:l}=iee(),{server:c,authentication:u}=$M(),d=Ua((()=>[o.selectedClient.targetKey]));return Ir([()=>o.selectedClient,()=>c,()=>u],(async()=>{n.value=await(async()=>{var e;const n=fj({url:mM(c)??window.location.origin},fM(t.operation,{replaceVariables:!0}),pM(u,null==(e=t.operation.information)?void 0:e.security));try{if(Wde().hasPlugin(o.selectedClient.targetKey.replace("javascript","js"),o.selectedClient.clientKey))return Wde().print(o.selectedClient.targetKey.replace("javascript","js"),o.selectedClient.clientKey,n)??"";const e=new ree(n);return await e.convert(o.selectedClient.targetKey,o.selectedClient.clientKey)}catch(Oc){return console.error("[ExampleRequest]",Oc),""}})()}),{deep:!0,immediate:!0}),Ua((()=>AT({serverState:c,authenticationState:u,operation:t.operation}))),(e,t)=>(Zi(),Bi(mn(Nee),{class:"dark-mode"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{actions:Pr((()=>[ea("div",Yde,[ea("span",null,Re(mn(s)(mn(o).selectedClient))+" "+Re(mn(a)(mn(o).selectedClient)),1),ea("select",{value:JSON.stringify(mn(o).selectedClient),onInput:t[0]||(t[0]=e=>mn(i)("selectedClient",JSON.parse(e.target.value)))},[(Zi(!0),Wi(qi,null,xo(mn(l),(e=>(Zi(),Wi("optgroup",{key:e.key,label:e.title},[(Zi(!0),Wi(qi,null,xo(e.clients,(t=>(Zi(),Wi("option",{key:t.key,value:JSON.stringify({targetKey:e.key,clientKey:t.key})},Re(t.title),9,Kde)))),128))],8,Gde)))),128))],40,Hde)]),ea("button",{class:"copy-button",type:"button",onClick:t[1]||(t[1]=e=>mn(r)(n.value))},[ta(mn(up),{icon:"Clipboard",width:"10px"})])])),default:Pr((()=>[ea("div",Bde,[ea("span",{class:$e(["request-method",`request-method--${e.operation.httpVerb}`])},Re(e.operation.httpVerb),3),$o(e.$slots,"header",{},void 0,!0)])])),_:3}),ta(mn(jee),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:Pr((()=>[ta(mn(nT),{content:n.value,forceDarkMode:!0,languages:d.value,lineNumbers:"",readOnly:""},null,8,["content","languages"])])),_:1}),e.$slots.footer?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",contrast:""},{default:Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:3})):la("",!0)])),_:3}))}}),epe=vl(Jde,[["__scopeId","data-v-f2ba03d7"]]),tpe=e=>(kr("data-v-491741ba"),e=e(),$r(),e),npe={class:"example-switcher"},rpe=tpe((()=>ea("label",{class:"listbox-label",for:"listbox-button"}," Select Example ",-1))),ope={class:"listbox-button-content"},ipe={class:"listbox-button-label"},ape=vl(Gr({__name:"SelectExample",props:{examples:{}},setup(e){const t=vM(e.examples,"scalarExampleName"),n=dn(t[0]);return(e,r)=>(Zi(),Wi("div",npe,[rpe,ta(mn(ud),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=e=>n.value=e)},{default:Pr((()=>[ta(mn(dd),{id:"listbox-button",class:"listbox-button"},{default:Pr((()=>[ea("div",ope,[ea("div",ipe,Re(n.value.value.summary??n.value.key??n.value.scalarExampleName),1),ea("div",null,[ta(mn(vee),{class:"icon",src:"line/arrow-chevron-down"})])])])),_:1}),ta(mn(pd),{class:"listbox-options"},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(mn(t),(e=>(Zi(),Bi(mn(fd),{key:e.key,class:"listbox-option",value:e},{default:Pr((()=>[aa(Re(e.value.summary??e.key??e.scalarExampleName),1)])),_:2},1032,["value"])))),128))])),_:1})])),_:1},8,["modelValue"]),ta(mn(nT),{content:JSON.stringify(n.value.value.value,null,2),languages:["json"],readOnly:""},null,8,["content"])]))}}),[["__scopeId","data-v-491741ba"]]),spe={key:0},lpe={key:1},cpe={key:0,class:"rule"},upe={class:"rule-title"},dpe={class:"rule-items"},ppe={key:2,class:"empty-state"},fpe=vl(Gr({__name:"ExampleResponse",props:{response:{}},setup(e){const t=["oneOf","anyOf","not"];return(e,n)=>{var r,o,i,a,s,l,c,u,d,p,f,h,m,g,O,y;return(null==(r=e.response)?void 0:r.examples)&&Object.keys(null==(o=e.response)?void 0:o.examples).length>1?(Zi(),Bi(ape,{key:0,examples:null==(i=e.response)?void 0:i.examples},null,8,["examples"])):(null==(a=e.response)?void 0:a.examples)&&1===Object.keys(null==(s=e.response)?void 0:s.examples).length?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)(mn(vM)(null==(l=e.response)?void 0:l.examples)[0].response.response),languages:["json"],readOnly:""},null,8,["content"])):(Zi(),Wi(qi,{key:2},[(null==(c=e.response)?void 0:c.example)?(Zi(),Wi("div",spe,[ta(mn(nT),{content:mn(AM)(null==(u=e.response)?void 0:u.example),languages:["json"],readOnly:""},null,8,["content"])])):(null==(d=e.response)?void 0:d.schema)?(Zi(),Wi("div",lpe,[(null==(p=e.response)?void 0:p.schema.type)?(Zi(),Bi(mn(nT),{key:0,content:mn(AM)(mn(RT)(null==(f=e.response)?void 0:f.schema,{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])):la("",!0),(Zi(),Wi(qi,null,xo(t,(t=>{var n,r,o,i,a,s;return Zi(),Wi(qi,{key:t},[(null==(n=e.response)?void 0:n.schema[t])&&((null==(r=e.response)?void 0:r.schema[t].length)>1||"not"===t)?(Zi(),Wi("div",cpe,[ea("div",upe,Re(t),1),ea("ol",dpe,[(Zi(!0),Wi(qi,null,xo(null==(o=e.response)?void 0:o.schema[t],((e,t)=>(Zi(),Wi("li",{key:t,class:"rule-item"},[ta(mn(nT),{content:mn(AM)(mn(RT)(e,{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])])))),128))])])):(null==(i=e.response)?void 0:i.schema[t])&&1===(null==(a=e.response)?void 0:a.schema[t].length)?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)(mn(RT)(null==(s=e.response)?void 0:s.schema[t][0],{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)],64)})),64)),(null==(h=e.response)?void 0:h.schema.allOf)?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)((y=null==(m=e.response)?void 0:m.schema.allOf.map((e=>mn(RT)(e,{emptyString:"…",mode:"read"}))),y.reduce(((e,t)=>({...e,...t})),{}))),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)])):la("",!0),(null==(g=e.response)?void 0:g.example)||(null==(O=e.response)?void 0:O.schema)?la("",!0):(Zi(),Wi("div",ppe," No Body "))],64))}}}),[["__scopeId","data-v-fd2afcd6"]]),hpe=Gr({__name:"RawSchema",props:{response:{}},setup:e=>(e,t)=>{var n;return(null==(n=e.response)?void 0:n.schema)?(Zi(),Bi(mn(nT),{key:0,content:mn(AM)(e.response.schema),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)}}),mpe=e=>(kr("data-v-ccba874d"),e=e(),$r(),e),gpe={key:1,class:"scalar-card-checkbox"},Ope=mpe((()=>ea("span",{class:"scalar-card-checkbox-checkmark"},null,-1))),ype={class:"scalar-card-container custom-scroll"},bpe={class:"description"},vpe=vl(Gr({__name:"PathResponses",props:{operation:{}},setup(e){const t=e,{copyToClipboard:n}=hue(),r=Ua((()=>{var e,n;return Object.keys((null==(n=null==(e=null==t?void 0:t.operation)?void 0:e.information)?void 0:n.responses)??{}).sort((e=>"default"===e?-1:0))})),o=dn(0),i=Ua((()=>{var e,n;const i=r.value[o.value];return null==(n=null==(e=t.operation.information)?void 0:e.responses)?void 0:n[i]})),a=Ua((()=>{var e,t;return null==(t=null==(e=i.value)?void 0:e.content)?void 0:t["application/json"]})),s=e=>{o.value=e},l=dn(!1);return(e,t)=>r.value.length?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>{var e;return[ta(mn(Fee),{muted:"",onChange:s},{actions:Pr((()=>{var e,r;return[(null==(e=a.value)?void 0:e.example)?(Zi(),Wi("button",{key:0,class:"code-copy",type:"button",onClick:t[0]||(t[0]=()=>{var e;return mn(n)(null==(e=a.value)?void 0:e.example)})},[ta(mn(up),{icon:"Clipboard",width:"10px"})])):la("",!0),(null==(r=a.value)?void 0:r.schema)?(Zi(),Wi("label",gpe,[aa(" Show Schema "),Vr(ea("input",{"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),class:"scalar-card-checkbox-input",type:"checkbox"},null,512),[[Is,l.value]]),Ope])):la("",!0)]})),default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(r.value,(e=>(Zi(),Bi(mn(Zee),{key:e},{default:Pr((()=>[aa(Re(e),1)])),_:2},1024)))),128))])),_:1}),ea("div",ype,[ta(mn(jee),{muted:""},{default:Pr((()=>{var e;return[(null==(e=a.value)?void 0:e.schema)?(Zi(),Wi(qi,{key:0},[l.value?(Zi(),Bi(hpe,{key:0,response:a.value},null,8,["response"])):(Zi(),Bi(fpe,{key:1,response:a.value},null,8,["response"]))],64)):(Zi(),Bi(fpe,{key:1,response:a.value},null,8,["response"]))]})),_:1})]),(null==(e=i.value)?void 0:e.description)?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",muted:""},{default:Pr((()=>[ea("div",bpe,[ta(Zse,{class:"markdown",value:i.value.description},null,8,["value"])])])),_:1})):la("",!0)]})),_:1})):la("",!0)}}),[["__scopeId","data-v-ccba874d"]]),wpe=e=>(kr("data-v-4f8d7a7c"),e=e(),$r(),e),Spe=wpe((()=>ea("span",null,"Test Request",-1))),xpe=vl(Gr({__name:"TryRequestButton",props:{operation:{}},setup:e=>(e,t)=>(Zi(),Wi("button",{class:$e(["show-api-client-button",`show-api-client-button--${e.operation.httpVerb}`]),type:"button",onClick:t[0]||(t[0]=zs((t=>mn(CM)(e.operation)),["stop"]))},[Spe,ta(mn(up),{icon:"PaperAirplane"})],2))}),[["__scopeId","data-v-4f8d7a7c"]]),kpe={class:"examples"},$pe=vl(Gr({__name:"ReferenceEndpoint",props:{operation:{},tag:{}},setup(e){const t=e,{getOperationId:n}=_Z(),r=Ua((()=>{var e;const n=["x-custom-examples","x-codeSamples","x-code-samples"];for(const r of n)if(null==(e=t.operation.information)?void 0:e[r])return t.operation.information[r];return null}));return(e,t)=>(Zi(),Bi(mn(vce),{id:mn(n)(e.operation,e.tag),label:e.operation.name},{default:Pr((()=>[ta(mn(qce),null,{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>{var t,r;return[(null==(t=e.operation.information)?void 0:t.deprecated)?(Zi(),Bi(mn(rce),{key:0},{default:Pr((()=>[aa(" Deprecated ")])),_:1})):la("",!0),ea("div",{class:$e((null==(r=e.operation.information)?void 0:r.deprecated)?"deprecated":"")},[ta(mn(Ice),{level:3},{default:Pr((()=>[ta(mn(que),{id:mn(n)(e.operation,e.tag)},{default:Pr((()=>[aa(Re(e.operation.name),1)])),_:1},8,["id"])])),_:1})],2),ta(jde,{operation:e.operation},null,8,["operation"])]})),_:1}),ta(mn(_ce),null,{default:Pr((()=>[ea("div",kpe,[r.value?(Zi(),Bi(wde,{key:0,examples:r.value,operation:e.operation},null,8,["examples","operation"])):(Zi(),Bi(epe,{key:1,operation:e.operation},{header:Pr((()=>[ta(Mde,{class:"example-path",path:e.operation.path},null,8,["path"])])),footer:Pr((()=>[ta(xpe,{operation:e.operation},null,8,["operation"])])),_:1},8,["operation"])),ta(mn(vpe),{operation:e.operation,style:{"margin-top":"12px"}},null,8,["operation"])])])),_:1})])),_:1})])),_:1})])),_:1},8,["id","label"]))}}),[["__scopeId","data-v-f1a36f8c"]]),Ppe={class:"endpoint-details-card"},_pe=vl(Gr({__name:"EndpointDetailsCard",props:{operation:{}},setup(e){const t=e,{parameterMap:n}=OZ(t),{responses:r}=TZ(t.operation);return(e,t)=>{var o;return Zi(),Wi("div",Ppe,[ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).path},{title:Pr((()=>[aa("Path Parameters")])),_:1},8,["parameters"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).query},{title:Pr((()=>[aa("Query Parameters")])),_:1},8,["parameters"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).header},{title:Pr((()=>[aa("Headers")])),_:1},8,["parameters"]),ta(Rde,{class:"endpoint-details-card-item",requestBody:null==(o=e.operation.information)?void 0:o.requestBody},{title:Pr((()=>[aa("Body")])),_:1},8,["requestBody"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(r)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])])}}}),[["__scopeId","data-v-47908469"]]),Tpe={class:"endpoint-header"},Epe={class:"endpoint-details"},Qpe={class:"endpoint-type"},Cpe={class:"endpoint-label"},Ape={class:"endpoint-label-path"},Rpe={class:"endpoint-label-name"},Dpe={class:"endpoint-content"},Npe=vl(Gr({__name:"ReferenceEndpointAccordion",props:{operation:{},tag:{}},setup(e){const{copyToClipboard:t}=hue(),{getOperationId:n}=_Z();return(e,r)=>(Zi(),Bi(mn($ce),{id:mn(n)(e.operation,e.tag),class:$e(["reference-endpoint",`reference-endpoint--${e.operation.httpVerb}`]),transparent:""},ko({title:Pr((()=>[ea("h3",Tpe,[ea("div",Epe,[ea("span",Qpe,Re(e.operation.httpVerb),1),ta(mn(que),{id:mn(n)(e.operation,e.tag),class:"endpoint-anchor"},{default:Pr((()=>[ea("div",Cpe,[ea("div",Ape,[ta(Mde,{path:e.operation.path},null,8,["path"])]),ea("div",Rpe,Re(e.operation.name),1)])])),_:1},8,["id"])])])])),actions:Pr((({active:n})=>[n?(Zi(),Bi(xpe,{key:0,operation:e.operation},null,8,["operation"])):(Zi(),Bi(mn(up),{key:1,class:"endpoint-try-hint",icon:"PaperAirplane"})),ta(mn(fp),{class:"endpoint-copy",icon:"Clipboard",label:"Copy endpoint URL",size:"full",variant:"ghost",onClick:r[0]||(r[0]=zs((n=>mn(t)(e.operation.path)),["stop"]))})])),default:Pr((()=>[ea("div",Dpe,[ta(_pe,{operation:e.operation},null,8,["operation"]),ta(mn(vpe),{operation:e.operation},null,8,["operation"]),ta(epe,{operation:e.operation},null,8,["operation"])])])),_:2},[e.operation.description?{name:"description",fn:Pr((()=>[ta(Zse,{value:e.operation.description},null,8,["value"])])),key:"0"}:void 0]),1032,["id","class"]))}}),[["__scopeId","data-v-3f3faa59"]]),jpe={class:"endpoints custom-scroll"},qpe=["onClick"],Ipe=vl(Gr({__name:"EndpointsOverview",props:{tag:{}},setup(e){const t=e,{getOperationId:n,getTagId:r}=_Z(),{setCollapsedSidebarItem:o}=z7();return(e,i)=>(Zi(),Bi(mn(vce),{id:mn(r)(e.tag),label:e.tag.name.toUpperCase()},{default:Pr((()=>[ta(mn(qce),null,{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(e.tag)},{default:Pr((()=>[aa(Re(e.tag.name),1)])),_:1},8,["id"])])),_:1}),ta(Zse,{value:e.tag.description},null,8,["value"])])),_:1}),ta(mn(_ce),null,{default:Pr((()=>{var i;return[(null==(i=e.tag.operations)?void 0:i.length)>0?(Zi(),Bi(mn(Nee),{key:0,class:"scalar-card-sticky"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{default:Pr((()=>[aa("Endpoints")])),_:1}),ta(mn(jee),{muted:""},{default:Pr((()=>[ea("div",jpe,[(Zi(!0),Wi(qi,null,xo(e.tag.operations,(i=>(Zi(),Wi("a",{key:mn(n)(i,e.tag),class:"endpoint",onClick:e=>async function(e){o(r(t.tag),!0),await Fn(),window.location.href=`#${n(e,t.tag)}`}(i)},[ea("span",{class:$e(i.httpVerb)},Re(i.httpVerb),3),ea("span",null,Re(i.path),1)],8,qpe)))),128))])])),_:1})])),_:1})):la("",!0)]})),_:1})])),_:1})])),_:1})])),_:1},8,["id","label"]))}}),[["__scopeId","data-v-41f9cefc"]]),Upe=vl(Gr({__name:"ReferenceTag",props:{tag:{},spec:{},isFirst:{type:Boolean}},setup(e){const t=e,{collapsedSidebarItems:n}=z7(),{getTagId:r}=_Z(),o=e=>{var n;return 1!==(null==(n=t.spec.tags)?void 0:n.length)||"default"!==(null==e?void 0:e.name)||""!==(null==e?void 0:e.description)};return(e,t)=>(Zi(),Bi(Cce,{class:"tag-section-container"},{default:Pr((()=>{var t;return[o(e.tag)?(Zi(),Bi(Ipe,{key:0,tag:e.tag},null,8,["tag"])):la("",!0),!e.isFirst&&!mn(n)[mn(r)(e.tag)]&&(null==(t=e.tag.operations)?void 0:t.length)>1?(Zi(),Bi(pde,{key:1,id:mn(r)(e.tag)},null,8,["id"])):$o(e.$slots,"default",{key:2},void 0,!0)]})),_:3}))}}),[["__scopeId","data-v-288d4708"]]),Mpe=vl(Gr({__name:"ReferenceTagAccordion",props:{tag:{},spec:{},isFirst:{type:Boolean}},setup(e){const{getTagId:t}=_Z();return(e,n)=>(Zi(),Bi(mn(Dce),{class:"tag-section"},{title:Pr((()=>[ta(mn(Ice),{class:"tag-name",level:2},{default:Pr((()=>[ta(mn(que),{id:mn(t)(e.tag)},{default:Pr((()=>[aa(Re(e.tag.name),1)])),_:1},8,["id"])])),_:1}),ta(Zse,{class:"tag-description",value:e.tag.description},null,8,["value"])])),default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3}))}}),[["__scopeId","data-v-4b2594a0"]]),Xpe=Gr({__name:"Webhook",props:{webhook:{}},setup(e){const t=e,{responses:n}=TZ(t.webhook);return(e,t)=>{var r;return e.webhook?(Zi(),Wi(qi,{key:0},[ta(Rde,{requestBody:null==(r=e.webhook.information)?void 0:r.requestBody},{title:Pr((()=>[aa("Payload")])),_:1},8,["requestBody"]),ta(Tde,{parameters:mn(n)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])],64)):la("",!0)}}}),Fpe=Gr({__name:"Webhooks",props:{webhooks:{}},setup(e){const t=e,n=Ua((()=>Object.keys(t.webhooks??{}))),{getWebhookId:r}=_Z();return(e,t)=>n.value.length?(Zi(),Bi(mn(Cce),{key:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(n.value,(t=>{var n;return Zi(),Wi(qi,{key:t},[(Zi(!0),Wi(qi,null,xo(Object.keys(null==(n=e.webhooks)?void 0:n[t]),(n=>(Zi(),Bi(mn(vce),{id:mn(r)(t,n),key:n,label:t},{default:Pr((()=>{var o;return[(null==(o=e.webhooks)?void 0:o[t])?(Zi(),Bi(mn(qce),{key:0},{default:Pr((()=>{var o,i;return[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(t,n)},{default:Pr((()=>{var r;return[aa(Re(null==(r=e.webhooks[t][n])?void 0:r.name),1)]})),_:2},1032,["id"])])),_:2},1024),(null==(o=e.webhooks[t][n])?void 0:o.description)?(Zi(),Bi(Zse,{key:0,value:null==(i=e.webhooks[t][n])?void 0:i.description},null,8,["value"])):la("",!0),ta(Xpe,{webhook:e.webhooks[t][n]},null,8,["webhook"])]})),_:2},1024)):la("",!0)]})),_:2},1032,["id","label"])))),128))],64)})),128))])),_:1})):la("",!0)}}),Zpe=vl(Gr({__name:"Content",props:{parsedSpec:{},rawSpec:{},layout:{}},setup(e){const t=e,n=dn(null),r=dn(!0);Xd(n,(e=>r.value=e[0].contentRect.width<900));const o=function(e){const t=dn(null);return co((()=>{t.value=e()})),t}((()=>({url:window.location.origin}))),i=Ua((()=>{var e;return t.parsedSpec.servers&&t.parsedSpec.servers.length>0?t.parsedSpec.servers:t.parsedSpec.host&&t.parsedSpec.schemes&&t.parsedSpec.schemes.length>0?[{url:`${t.parsedSpec.schemes[0]}://${t.parsedSpec.host}${(null==(e=t.parsedSpec)?void 0:e.basePath)??""}`}]:o.value?[o.value]:[{url:""}]})),a=Ua((()=>"accordion"===t.layout?Mpe:Upe)),s=Ua((()=>"accordion"===t.layout?Npe:$pe)),l=Ua((()=>"accordion"===t.layout?"after":"aside"));return(e,t)=>(Zi(),Wi("div",{ref_key:"referenceEl",ref:n,class:$e({"references-narrow":r.value})},[$o(e.$slots,"start",{},void 0,!0),e.parsedSpec.info.title||e.parsedSpec.info.description?(Zi(),Bi(mn(Yce),{key:0,info:e.parsedSpec.info,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec},{[l.value]:Pr((()=>[ea("div",{class:$e(["introduction-cards",{"introduction-cards-row":"accordion"===e.layout}])},[ta(Que,{value:i.value},null,8,["value"]),ta(pue),ta(mn(yce),{parsedSpec:e.parsedSpec},null,8,["parsedSpec"])],2)])),_:2},1032,["info","parsedSpec","rawSpec"])):$o(e.$slots,"empty-state",{key:1},void 0,!0),(Zi(!0),Wi(qi,null,xo(e.parsedSpec.tags,((t,n)=>(Zi(),Wi(qi,{key:t.id},[t.operations&&t.operations.length>0?(Zi(),Bi(wo(a.value),{key:0,isFirst:0===n,spec:e.parsedSpec,tag:t},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(t.operations,(e=>(Zi(),Bi(wo(s.value),{key:`${e.httpVerb}-${e.operationId}`,operation:e,server:i.value[0],tag:t},null,8,["operation","server","tag"])))),128))])),_:2},1032,["isFirst","spec","tag"])):la("",!0)],64)))),128)),e.parsedSpec.webhooks?(Zi(),Bi(Fpe,{key:2,webhooks:e.parsedSpec.webhooks},null,8,["webhooks"])):la("",!0),mn(gM)(e.parsedSpec)?(Zi(),Wi(qi,{key:3},["accordion"===e.layout?(Zi(),Bi(gde,{key:0,components:e.parsedSpec.components},null,8,["components"])):(Zi(),Bi(fde,{key:1,components:e.parsedSpec.components},null,8,["components"]))],64)):la("",!0),$o(e.$slots,"end",{},void 0,!0)],2))}}),[["__scopeId","data-v-ed145609"]]),Vpe={openapi:"3.0.0",info:{title:"CoinMarketCap",description:"The CoinMarketCap Professional API is a suite of high-performance RESTful JSON endpoints that are specifically designed to meet the mission-critical demands of application developers, data scientists, and enterprise business platforms.\n\nContact Support:\n Name: No Contact\n Email: email@example.com",version:"1.0.0"},servers:[{url:"http://{{baseurl}}"}],tags:[{name:"v1"},{name:"v1 > cryptocurrency"},{name:"v1 > cryptocurrency > listings"},{name:"v1 > cryptocurrency > quotes"},{name:"v1 > exchange"},{name:"v1 > exchange > listings"},{name:"v1 > exchange > quotes"},{name:"v1 > global-metrics/quotes"}],paths:{"/v1/cryptocurrency/listings/historical":{get:{tags:["v1 > cryptocurrency > listings"],summary:"List all cryptocurrencies (historical)",description:'**This endpoint is not yet available. It is slated for release in Q3 2018.**\n\n\nGet a paginated list of all cryptocurrencies with market data for a given historical time. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.',parameters:[{name:"timestamp",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to return historical cryptocurrency listings for.",example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"cryptocurrency_type",in:"query",schema:{type:"string"},description:"The type of cryptocurrency to include.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/listings/latest":{get:{tags:["v1 > cryptocurrency > listings"],summary:"List all cryptocurrencies (latest)",description:'Get a paginated list of all cryptocurrencies with latest market data. You can configure this call to sort by market cap or another market ranking field. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n\n\nCryptocurrencies are listed by CoinMarketCap Rank by default. You may optionally sort against any of the following:\n**name**: The cryptocurrency name.\n**symbol**: The cryptocurrency symbol.\n**date_added**: Date cryptocurrency w',parameters:[{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"cryptocurrency_type",in:"query",schema:{type:"string"},description:"The type of cryptocurrency to include.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/quotes/historical":{get:{tags:["v1 > cryptocurrency > quotes"],summary:"Get market quotes (historical)",description:'Returns an interval of historic market quotes for any cryptocurrency based on time and interval parameters.\n\n**Technical Details**\nA historic quote for every "interval" period between your "time_start" and "time_end" will be returned.\nIf a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nAt each "interval" period, the historic quote that is closest in time to the requested time will be returne',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/quotes/latest":{get:{tags:["v1 > cryptocurrency > quotes"],summary:"Get market quotes (latest)",description:'Get the latest market quote for 1 or more cryptocurrencies. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~1 minute.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/info":{get:{tags:["v1 > cryptocurrency"],summary:"Get metadata",description:"Returns all static metadata for one or more cryptocurrencies including name, symbol, logo, and its various registered URLs.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds.",parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/map":{get:{tags:["v1 > cryptocurrency"],summary:"Get CoinMarketCap ID map",description:"Returns a paginated list of all cryptocurrencies by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique cryptocurrency `id` across all endpoints as typical identifiers like ticker symbols can match multiple cryptocurrencies and change over time. As a convenience you may pass a comma-separated list of cryptocurrency symbols as `symbol` to filter this list to only those you require.\n\n\n **This endpoint is available on the following API plans:**\n - Start",parameters:[{name:"listing_status",in:"query",schema:{type:"string"},description:"Only active coins are returned by default. Pass 'inactive' to get a list of coins that are no longer active.",example:"<>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/market-pairs/latest":{get:{tags:["v1 > cryptocurrency"],summary:"Get market pairs (latest)",description:'Lists all market pairs for the specified cryptocurrency with associated stats. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~1 minute.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/ohlcv/historical":{get:{tags:["v1 > cryptocurrency"],summary:"Get OHLCV values (historical)",description:'Return an interval of historic OHLCV (Open, High, Low, Close, Volume) market quotes for a cryptocurrency.\n\n**Technical Details**\nOne OHLCV quote will be returned for every "time_period" between your "time_start" and "time_end".\nIf a "time_start" is not supplied, the "time_period" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nIf you don\'t need every "time_period" between your dates you may adjust the frequency that "time_period" is sam',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time_period",in:"query",schema:{type:"string"},description:'Time period to return OHLCV data for. The default is "daily". Additional options will be available in the future. See the main endpoint description for details.',example:"<>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/listings/historical":{get:{tags:["v1 > exchange > listings"],summary:"List all exchanges (historical)",description:'**This endpoint is not yet available. It is slated for release in Q3 2018.**\n\n\nGet a paginated list of all cryptocurrency exchanges with historical market data for a given point in time. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.',parameters:[{name:"timestamp",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to return historical cryptocurrency listings for.",example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"market_type",in:"query",schema:{type:"string"},description:"The type of exchange markets to include in rankings.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/listings/latest":{get:{tags:["v1 > exchange > listings"],summary:"List all exchanges (latest)",description:'Get a paginated list of all cryptocurrency exchanges with 24 hour volume. Additional market data fields will be available in the future. You can configure this call to sort by 24 hour volume or another field. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n \n**This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Eve',parameters:[{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"market_type",in:"query",schema:{type:"string"},description:"The type of exchange markets to include in rankings.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/quotes/historical":{get:{tags:["v1 > exchange > quotes"],summary:"Get market quotes (historical)",description:'Returns an interval of historic quotes for any exchange based on time and interval parameters.\n\nHistorical exchange quotes currently include:\nvolume_24: Combined 24 hour volume for all market pairs at each historical interval.\nnum_market_pairs: Number of market pairs available at each historical interval.\nQuotes are returned in USD. Additional currency conversion options and additional fields will be available in the future.\n\n**Technical Details**\nA historic quote for every "interval" period bet',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/quotes/latest":{get:{tags:["v1 > exchange > quotes"],summary:"Get market quotes (latest)",description:'Get the latest 24 hour volume quote for 1 or more exchanges. Additional market data fields will be available in the future. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- ~~Starter~~\n- ~~Hobbyist~~\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/info":{get:{tags:["v1 > exchange"],summary:"Get metadata",description:"Returns all static metadata for one or more exchanges including logo and homepage URL.\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds.",parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/map":{get:{tags:["v1 > exchange"],summary:"Get CoinMarketCap ID map",description:"Returns a paginated list of all cryptocurrency exchanges by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique exchange `id` across all endpoints as typical exchange identifiers may change over time. As a convenience you may pass a comma-separated list of exchanges by `slug` to filter this list to only those you require.\n\n**This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterpris",parameters:[{name:"listing_status",in:"query",schema:{type:"string"},description:"Only active coins are returned by default. Pass 'inactive' to get a list of coins that are no longer active.",example:"<>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/market-pairs/latest":{get:{tags:["v1 > exchange"],summary:"List all market pairs (latest)",description:'Get a list of active market pairs for an exchange. Active means the market pair is open for trading. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\'\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/global-metrics/quotes/historical":{get:{tags:["v1 > global-metrics/quotes"],summary:"Get aggregate market metrics (historical)",description:'Get an interval of aggregate 24 hour volume and market cap data globally based on time and interval parameters.\n\n**Technical Details**\nA historic quote for every "interval" period between your "time_start" and "time_end" will be returned.\nIf a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nAt each "interval" period, the historic quote that is closest in time to the requested time will be ret',parameters:[{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/global-metrics/quotes/latest":{get:{tags:["v1 > global-metrics/quotes"],summary:"Get aggregate market metrics (latest)",description:'Get the latest quote of aggregate market metrics. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/tools/price-conversion":{get:{tags:["v1"],summary:"Price conversion tool",description:"Convert an amount of one currency into up to 32 other cryptocurrency or fiat currencies at the same time using latest exchange rates. Optionally pass a historical timestamp to convert values based on historic averages.\n\n**Note:** Historical fiat conversions aren't yet available and the latest fiat rates will be used as noted by the `last_updated` timestamp included in the market quote. Historical fiat rates will be coming soon.\n\n**This endpoint is available on the following API plans:**\n- ~~Star",parameters:[{name:"amount",in:"query",schema:{type:"string"},description:"An amount of currency to convert. Example: 10.43",example:"<get>"},{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time",in:"query",schema:{type:"string"},description:"Optional timestamp (Unix or ISO 8601) to reference historical pricing during conversion. If not passed, the current time will be used. If passed, we'll reference the closest historic values available during conversion.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}}}},Lpe={openapi:"3.0.2",info:{title:"Swagger Petstore - OpenAPI 3.0",description:"This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",termsOfService:"http://swagger.io/terms/",contact:{email:"apiteam@swagger.io"},license:{name:"Apache 2.0",url:"http://www.apache.org/licenses/LICENSE-2.0.html"},version:"1.0.11"},externalDocs:{description:"Find out more about Swagger",url:"http://swagger.io"},servers:[{url:"https://petstore3.swagger.io/api/v3"}],tags:[{name:"pet",description:"Everything about your Pets",externalDocs:{description:"Find out more",url:"http://swagger.io"}},{name:"store",description:"Access to Petstore orders",externalDocs:{description:"Find out more about our store",url:"http://swagger.io"}},{name:"user",description:"Operations about user"}],paths:{"/pet":{put:{tags:["pet"],summary:"Update an existing pet",description:"Update an existing pet by Id",operationId:"updatePet",requestBody:{description:"Update an existent pet in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Pet"}}},required:!0},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},400:{description:"Invalid ID supplied"},404:{description:"Pet not found"},405:{description:"Validation exception"}},security:[{petstore_auth:["write:pets","read:pets"]}]},post:{tags:["pet"],summary:"Add a new pet to the store",description:"Add a new pet to the store",operationId:"addPet",requestBody:{description:"Create a new pet in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Pet"}}},required:!0},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},405:{description:"Invalid input"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/findByStatus":{get:{tags:["pet"],summary:"Finds Pets by status",description:"Multiple status values can be provided with comma separated strings",operationId:"findPetsByStatus",parameters:[{name:"status",in:"query",description:"Status values that need to be considered for filter",required:!1,explode:!0,schema:{type:"string",default:"available",enum:["available","pending","sold"]}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}},"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}}}},400:{description:"Invalid status value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/findByTags":{get:{tags:["pet"],summary:"Finds Pets by tags",description:"Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",operationId:"findPetsByTags",parameters:[{name:"tags",in:"query",description:"Tags to filter by",required:!1,explode:!0,schema:{type:"array",items:{type:"string"}}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}},"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}}}},400:{description:"Invalid tag value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}":{get:{tags:["pet"],summary:"Find pet by ID",description:"Returns a single pet",operationId:"getPetById",parameters:[{name:"petId",in:"path",description:"ID of pet to return",required:!0,schema:{type:"integer",format:"int64"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},400:{description:"Invalid ID supplied"},404:{description:"Pet not found"}},security:[{api_key:[]},{petstore_auth:["write:pets","read:pets"]}]},post:{tags:["pet"],summary:"Updates a pet in the store with form data",description:"",operationId:"updatePetWithForm",parameters:[{name:"petId",in:"path",description:"ID of pet that needs to be updated",required:!0,schema:{type:"integer",format:"int64"}},{name:"name",in:"query",description:"Name of pet that needs to be updated",schema:{type:"string"}},{name:"status",in:"query",description:"Status of pet that needs to be updated",schema:{type:"string"}}],responses:{405:{description:"Invalid input"}},security:[{petstore_auth:["write:pets","read:pets"]}]},delete:{tags:["pet"],summary:"Deletes a pet",description:"",operationId:"deletePet",parameters:[{name:"api_key",in:"header",description:"",required:!1,schema:{type:"string"}},{name:"petId",in:"path",description:"Pet id to delete",required:!0,schema:{type:"integer",format:"int64"}}],responses:{400:{description:"Invalid pet value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{post:{tags:["pet"],summary:"uploads an image",description:"",operationId:"uploadFile",parameters:[{name:"petId",in:"path",description:"ID of pet to update",required:!0,schema:{type:"integer",format:"int64"}},{name:"additionalMetadata",in:"query",description:"Additional Metadata",required:!1,schema:{type:"string"}}],requestBody:{content:{"application/octet-stream":{schema:{type:"string",format:"binary"}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/ApiResponse"}}}}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImageForm":{post:{tags:["pet"],summary:"uploads an image using form data",description:"",operationId:"uploadFileForm",requestBody:{content:{"multipart/form-data":{schema:{type:"object",properties:{petId:{type:"string",example:"1"},additionalMetadata:{type:"string"},file:{type:"string",format:"binary"}},required:["petId"]}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/ApiResponse"}}}}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/store/inventory":{get:{tags:["store"],summary:"Returns pet inventories by status",description:"Returns a map of status codes to quantities",operationId:"getInventory",responses:{200:{description:"successful operation",content:{"application/json":{schema:{type:"object",additionalProperties:{type:"integer",format:"int32"}}}}}},security:[{api_key:[]}]}},"/store/order":{post:{tags:["store"],summary:"Place an order for a pet",description:"Place a new order in the store",operationId:"placeOrder",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/Order"}},"application/xml":{schema:{$ref:"#/components/schemas/Order"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Order"}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/Order"}}}},405:{description:"Invalid input"}}}},"/store/order/{orderId}":{get:{tags:["store"],summary:"Find purchase order by ID",description:"For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.",operationId:"getOrderById",parameters:[{name:"orderId",in:"path",description:"ID of order that needs to be fetched",required:!0,schema:{type:"integer",format:"int64"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Order"}},"application/json":{schema:{$ref:"#/components/schemas/Order"}}}},400:{description:"Invalid ID supplied"},404:{description:"Order not found"}}},delete:{tags:["store"],summary:"Delete purchase order by ID",description:"For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors",operationId:"deleteOrder",parameters:[{name:"orderId",in:"path",description:"ID of the order that needs to be deleted",required:!0,schema:{type:"integer",format:"int64"}}],responses:{400:{description:"Invalid ID supplied"},404:{description:"Order not found"}}}},"/user":{post:{tags:["user"],summary:"Create user",description:"This can only be done by the logged in user.",operationId:"createUser",requestBody:{description:"Created user object",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/User"}}}},responses:{default:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}}}}}}},"/user/createWithList":{post:{tags:["user"],summary:"Creates list of users with given input array",description:"Creates list of users with given input array",operationId:"createUsersWithListInput",requestBody:{content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/User"}}}}},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/json":{schema:{$ref:"#/components/schemas/User"}}}},default:{description:"successful operation"}}}},"/user/login":{get:{tags:["user"],summary:"Logs user into the system",description:"",operationId:"loginUser",parameters:[{name:"username",in:"query",description:"The user name for login",required:!1,schema:{type:"string"}},{name:"password",in:"query",description:"The password for login in clear text",required:!1,schema:{type:"string"}}],responses:{200:{description:"successful operation",headers:{"X-Rate-Limit":{description:"calls per hour allowed by the user",schema:{type:"integer",format:"int32"}},"X-Expires-After":{description:"date in UTC when token expires",schema:{type:"string",format:"date-time"}}},content:{"application/xml":{schema:{type:"string"}},"application/json":{schema:{type:"string"}}}},400:{description:"Invalid username/password supplied"}}}},"/user/logout":{get:{tags:["user"],summary:"Logs out current logged in user session",description:"",operationId:"logoutUser",parameters:[],responses:{default:{description:"successful operation"}}}},"/user/{username}":{get:{tags:["user"],summary:"Get user by user name",description:"",operationId:"getUserByName",parameters:[{name:"username",in:"path",description:"The name that needs to be fetched. Use user1 for testing. ",required:!0,schema:{type:"string"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/json":{schema:{$ref:"#/components/schemas/User"}}}},400:{description:"Invalid username supplied"},404:{description:"User not found"}}},put:{tags:["user"],summary:"Update user",description:"This can only be done by the logged in user.",operationId:"updateUser",parameters:[{name:"username",in:"path",description:"name that need to be deleted",required:!0,schema:{type:"string"}}],requestBody:{description:"Update an existent user in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/User"}}}},responses:{default:{description:"successful operation"}}},delete:{tags:["user"],summary:"Delete user",description:"This can only be done by the logged in user.",operationId:"deleteUser",parameters:[{name:"username",in:"path",description:"The name that needs to be deleted",required:!0,schema:{type:"string"}}],responses:{400:{description:"Invalid username supplied"},404:{description:"User not found"}}}}},components:{schemas:{Order:{type:"object",properties:{id:{type:"integer",format:"int64",example:10},petId:{type:"integer",format:"int64",example:198772},quantity:{type:"integer",format:"int32",example:7},shipDate:{type:"string",format:"date-time"},status:{type:"string",description:"Order Status",example:"approved",enum:["placed","approved","delivered"]},complete:{type:"boolean"}},xml:{name:"order"}},Customer:{type:"object",properties:{id:{type:"integer",format:"int64",example:1e5},username:{type:"string",example:"fehguy"},address:{type:"array",xml:{name:"addresses",wrapped:!0},items:{$ref:"#/components/schemas/Address"}}},xml:{name:"customer"}},Address:{type:"object",properties:{street:{type:"string",example:"437 Lytton"},city:{type:"string",example:"Palo Alto"},state:{type:"string",example:"CA"},zip:{type:"string",example:"94301"}},xml:{name:"address"}},Category:{type:"object",properties:{id:{type:"integer",format:"int64",example:1},name:{type:"string",example:"Dogs"}},xml:{name:"category"}},User:{type:"object",properties:{id:{type:"integer",format:"int64",example:10},username:{type:"string",example:"theUser"},firstName:{type:"string",example:"John"},lastName:{type:"string",example:"James"},email:{type:"string",example:"john@email.com"},password:{type:"string",example:"12345"},phone:{type:"string",example:"12345"},userStatus:{type:"integer",description:"User Status",format:"int32",example:1}},xml:{name:"user"}},Tag:{type:"object",properties:{id:{type:"integer",format:"int64"},name:{type:"string"}},xml:{name:"tag"}},Pet:{required:["name","photoUrls"],type:"object",properties:{id:{type:"integer",format:"int64",example:10},name:{type:"string",example:"doggie"},category:{$ref:"#/components/schemas/Category"},photoUrls:{type:"array",xml:{wrapped:!0},items:{type:"string",xml:{name:"photoUrl"}}},tags:{type:"array",xml:{wrapped:!0},items:{$ref:"#/components/schemas/Tag"}},status:{type:"string",description:"pet status in the store",enum:["available","pending","sold"]}},xml:{name:"pet"}},ApiResponse:{type:"object",properties:{code:{type:"integer",format:"int32"},type:{type:"string"},message:{type:"string"}},xml:{name:"##default"}}},requestBodies:{Pet:{description:"Pet object that needs to be added to the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}}}},UserArray:{description:"List of user object",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/User"}}}}}},securitySchemes:{petstore_auth:{type:"oauth2",flows:{implicit:{authorizationUrl:"https://petstore3.swagger.io/oauth/authorize",scopes:{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},api_key:{type:"apiKey",name:"api_key",in:"header"}}}},zpe=e=>(kr("data-v-59c453de"),e=e(),$r(),e),Wpe={class:"start custom-scroll"},Bpe={class:"start-copy"},Ype=sa('<div class="start-logo" data-v-59c453de><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-59c453de></path></svg></div><h1 class="start-h1" data-v-59c453de>Swagger Editor</h1><p class="start-p" data-v-59c453de> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>',3),Hpe={class:"start-cta"},Gpe={class:"start-row"},Kpe={class:"start-section"},Jpe=zpe((()=>ea("div",{class:"start-h2"},"EXAMPLES",-1))),efe=zpe((()=>ea("svg",{baseProfile:"tiny",fill:"currentColor",height:"800",overflow:"inherit",version:"1.2",viewBox:"0 0 50 50",width:"800",xmlns:"http://www.w3.org/2000/svg"},[ea("path",{d:"M25 21.5a6 6 0 0 1 5.8 4.4c.9 3.3.7 6.8 4.4 8.6 3.3 1.1 4.5 2.5 4.5 6.3a7 7 0 0 1-5.8 6.5c-3.7.6-6.6-.1-8.9-1.5-2.3 1.4-5.2 2-8.9 1.5a7 7 0 0 1-5.8-6.5c0-3.7 1.3-5.2 4.6-6.3 4-2 3.4-5.6 4.3-8.7a6 6 0 0 1 5.8-4.3zm18.4-2.3c-1-.8-5 2.6-6.4 4.2-.7 1-1.2 2.1-1.2 3.5 0 2.7 2 4.9 4.3 4.9 1.8 0 3.4-1.3 4-3 1.3-3.3 1.3-7.7-.7-9.6zm-36.8 0c-2 1.9-2 6.3-.7 9.5.6 1.8 2.2 3 4 3 2.4 0 4.3-2.1 4.3-4.8 0-1.4-.5-2.6-1.2-3.5-1.3-1.6-5.4-5-6.4-4.2zM30.3 1.5c10.1 1.8 9.4 18.7 1.3 17.4-2.3-.4-4-2.5-4.3-5-.3-2.7-.9-13 3-12.4zm-10.6 0c3.9-.6 3.3 9.7 3 12.3-.3 2.6-2 4.7-4.3 5-8.1 1.4-8.8-15.5 1.3-17.3z"})],-1))),tfe=zpe((()=>ea("svg",{height:"586",viewBox:"0 0 577.5 586",width:"577.5",xmlns:"http://www.w3.org/2000/svg"},[ea("path",{d:"M502 350.2a31 31 0 0 1-31.5 2.1c-11.6-6.6-17.9-22-17.9-42.9v-64.3c0-30.9-12.2-52.8-32.7-58.8-34.5-10.1-60.3 32.2-70.2 48.1l-61.1 98.9V212.6c-.7-27.8-9.7-44.5-26.9-49.5-11.3-3.3-28.3-2-44.8 23.2L80.3 405.6A240 240 0 0 1 52.8 293c0-132.2 105.6-239.7 235.8-239.7 130.2 0 236.1 107.5 236.1 239.7v1.4c1.3 25.5-7 45.9-22.7 55.8Zm75.5-57.2v-1.3C576.4 130.7 447.2 0 288.6 0 130 0 0 131.4 0 293s129.4 293 288.6 293c73 0 143.2-28 196.2-78.2a26.9 26.9 0 0 0 1.4-37.7 26 26 0 0 0-36.6-1.8l-.1.1a233.4 233.4 0 0 1-336.3-15.7L236.1 255v91.2c0 43.8 17 58 31.2 62.2 14.2 4.2 36.1 1.3 58.9-35.8l68-110c2.1-3.5 4.1-6.6 6-9.2v55.9c0 41 16.4 73.7 45.3 89.9a83 83 0 0 0 84.6-3.4c31.7-20.6 49-57.9 47.2-102.8h.2Z",fill:"currentColor","fill-rule":"nonzero"})],-1))),nfe=sa('<div class="start-section" data-v-59c453de><div class="start-h2" data-v-59c453de>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-59c453de><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-59c453de></path></svg><span data-v-59c453de>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-59c453de><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g data-v-59c453de><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-59c453de></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-59c453de></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-59c453de></path></g></svg><span data-v-59c453de>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-59c453de><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g fill="currentColor" fill-rule="nonzero" data-v-59c453de><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-59c453de></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-59c453de></polygon></g></svg><span data-v-59c453de>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-59c453de><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g fill="none" fill-rule="evenodd" data-v-59c453de><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-59c453de></circle><g stroke="currentColor" data-v-59c453de><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-59c453de></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-59c453de></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-59c453de></ellipse></g></g></svg><span data-v-59c453de>React</span></a></div>',1),rfe={class:"start-section start-section-colors"},ofe=zpe((()=>ea("p",{class:"start-h2"},"THEMING",-1))),ife=["onClick"],afe=sa('<p class="start-h1" data-v-59c453de>Features</p><ul class="start-ul" data-v-59c453de><li data-v-59c453de><p class="start-h3" data-v-59c453de>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Openapi & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>',2),sfe=vl(Gr({__name:"GettingStarted",props:{theme:{},value:{}},emits:["changeTheme","openSwaggerEditor","updateContent"],setup(e,{emit:t}){const n=e,r=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"],o=dn(null);function i(e){return null!==e&&a(e)===n.value}function a(e){return"Petstore"===e?JSON.stringify(Lpe,null,2):"CoinMarketCap"===e?JSON.stringify(Vpe,null,2):""}return Ir(o,(()=>{o.value&&t("updateContent",a(o.value))})),Ir((()=>n.value),(()=>{i(o.value)||(o.value=null)})),(e,t)=>(Zi(),Wi("div",Wpe,[ea("div",Bpe,[Ype,ea("div",Hpe,[ta(mn(ap),{fullWidth:"",onClick:t[0]||(t[0]=e=>o.value="Petstore")},{default:Pr((()=>[aa(" Test Petstore ")])),_:1}),ta(mn(ap),{fullWidth:"",variant:"outlined",onClick:t[1]||(t[1]=t=>e.$emit("openSwaggerEditor","uploadFile"))},{default:Pr((()=>[aa(" Upload File ")])),_:1})])]),ea("div",Gpe,[ea("div",Kpe,[Jpe,ea("div",{class:$e(["start-item",{"start-item-active":i("Petstore")}]),onClick:t[2]||(t[2]=e=>o.value="Petstore")},[efe,aa(" Petstore ")],2),ea("div",{class:$e(["start-item",{"start-item-active":i("CoinMarketCap")}]),onClick:t[3]||(t[3]=e=>o.value="CoinMarketCap")},[tfe,aa(" CoinMarketCap ")],2)]),nfe,ea("div",rfe,[ofe,(Zi(),Wi(qi,null,xo(r,(t=>ea("div",{key:t,class:$e(["start-item",{"start-item-active":t===e.theme}]),onClick:n=>e.$emit("changeTheme",t)},Re(t.toLocaleLowerCase()),11,ife))),64))])]),afe]))}}),[["__scopeId","data-v-59c453de"]]),lfe={class:"references-header"},cfe={class:"references-navigation t-doc__sidebar"},ufe={class:"references-navigation-list"},dfe={class:"references-editor"},pfe={class:"references-editor-textarea"},ffe={class:"references-rendered"},hfe={key:0,class:"references-footer"},mfe=vl(Gr({__name:"ApiReferenceLayout",props:{configuration:{},parsedSpec:{},rawSpec:{},swaggerEditorRef:{}},emits:["changeTheme","updateContent","toggleDarkMode"],setup(e){const t=e,n=Md("(min-width: 1150px)"),r=dn(0),o=dn(null);Xd(o,(e=>{r.value=e[0].contentRect.height}));const i=dn(!1),{breadcrumb:a,setCollapsedSidebarItem:s}=z7(),{hash:l,getSectionId:c}=_Z();Ir(t.parsedSpec,(async e=>{var t,n;if(i.value||!(null==(t=null==e?void 0:e.info)?void 0:t.title))return;i.value=!0;const r=c(),o=l.value;l.value||null==(n=document.querySelector("#tippy"))||n.scrollTo({top:0,left:0}),r&&s(r,!0),setTimeout((()=>{var e;null==(e=document.getElementById(o))||e.scrollIntoView()}),0)}));const u=Ua((()=>n.value||!t.configuration.isEditable)),d=Ua((()=>{var e,n;return!(null==(e=t.configuration.spec)?void 0:e.preparsedContent)&&(null==(n=t.configuration)?void 0:n.isEditable)})),p=Dd((e=>{(e.target.scrollTop??0)<50&&(window.history.replaceState({},"",window.location.pathname+window.location.search),l.value="")})),f=Ua((()=>({breadcrumb:a.value,spec:t.parsedSpec})));return(e,t)=>{var n,i;return Zi(),Wi("div",{ref_key:"documentEl",ref:o,class:$e(["scalar-api-reference references-layout",[{"references-editable":d.value,"references-sidebar":e.configuration.showSidebar,"references-classic":"classic"===e.configuration.layout}]]),style:ve({"--full-height":`${r.value}px`}),onScrollPassive:t[2]||(t[2]=(...e)=>mn(p)&&mn(p)(...e))},[ea("div",lfe,[$o(e.$slots,"header",Pe(ra(f.value)),void 0,!0)]),Vr(ea("aside",cfe,[ea("div",ufe,[ta(Pee,{parsedSpec:e.parsedSpec},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",Pe(ra(f.value)),void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",Pe(ra(f.value)),void 0,!0)])),_:3},8,["parsedSpec"])])],512),[[Ys,e.configuration.showSidebar]]),Vr(ea("div",dfe,[ea("div",pfe,[$o(e.$slots,"editor",Pe(ra(f.value)),void 0,!0)])],512),[[Ys,d.value]]),u.value?(Zi(),Wi(qi,{key:0},[ea("div",ffe,[ta(mn(Zpe),{layout:"classic"===e.configuration.layout?"accordion":"default",parsedSpec:e.parsedSpec,rawSpec:e.rawSpec},ko({start:Pr((()=>[$o(e.$slots,"content-start",Pe(ra(f.value)),void 0,!0)])),end:Pr((()=>[$o(e.$slots,"content-end",Pe(ra(f.value)),void 0,!0)])),_:2},[(null==(n=e.configuration)?void 0:n.isEditable)?{name:"empty-state",fn:Pr((()=>{var n,r;return[ta(sfe,{theme:(null==(n=e.configuration)?void 0:n.theme)||"default",value:e.rawSpec,onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),onOpenSwaggerEditor:null==(r=e.swaggerEditorRef)?void 0:r.handleOpenSwaggerEditor,onUpdateContent:t[1]||(t[1]=t=>e.$emit("updateContent",t))},null,8,["theme","value","onOpenSwaggerEditor"])]})),key:"0"}:void 0]),1032,["layout","parsedSpec","rawSpec"])]),e.$slots.footer?(Zi(),Wi("div",hfe,[$o(e.$slots,"footer",Pe(ra(f.value)),void 0,!0)])):la("",!0)],64)):la("",!0),ta(Ree,{parsedSpec:e.parsedSpec,proxyUrl:null==(i=e.configuration)?void 0:i.proxy},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",Pe(ra(f.value)),void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",Pe(ra(f.value)),void 0,!0)])),_:3},8,["parsedSpec","proxyUrl"])],38)}}}),[["__scopeId","data-v-0f9f7f81"]]),gfe=Gr({inheritAttrs:!1,__name:"ApiReferenceBase",props:{configuration:{}},emits:["changeTheme","updateContent"],setup(e,{emit:t}){const n=e,r=Ro().slots,o=Jr((()=>Promise.resolve().then((()=>cT)).then((e=>e.SwaggerEditor)))),i=Ua((()=>CT(n.configuration??{},{...lee}))),a=Ua((()=>i.value.spec)),{rawSpecRef:s,setRawSpecRef:l}=function({configuration:e,proxy:t}){function n(e){e!==aee.value&&(aee.value=e)}return void 0!==e&&(un(e)?Ir(e,(async()=>{void 0!==e.value&&see(e.value,t).then((e=>{void 0!==e&&n(e)}))}),{immediate:!0,deep:!0}):see(e,t).then((e=>{void 0!==e&&n(e)}))),{rawSpecRef:aee,setRawSpecRef:n}}({configuration:a,proxy:i.value.proxy}),{parsedSpecRef:c,overwriteParsedSpecRef:u,errorRef:d}=A7({input:s});Ir(s,(()=>{t("updateContent",s.value)})),Ir((()=>{var e;return null==(e=i.value.spec)?void 0:e.preparsedContent}),(e=>{e&&u(e)}),{immediate:!0});const{setDarkMode:p}=gZ();Ir((()=>i.value.darkMode),(e=>{void 0!==e&&p(e)}),{immediate:!0});const{setExcludedClients:f}=iee();Ir((()=>i.value.hiddenClients),(e=>{void 0!==e&&f(e)}),{immediate:!0});const h=dn(0);Xd(dn(null),(e=>{h.value=e[0].contentRect.height}));const m=dn(),g=pT();function O(){g.show()}const y=Md("(max-width: 1000px)");return(e,t)=>{var n;return Zi(),Wi(qi,null,[i.value.customCss?(Zi(),Bi(wo("style"),{key:0},{default:Pr((()=>[aa(Re(i.value.customCss),1)])),_:1})):la("",!0),ta(mn(Ol),{id:null==(n=i.value)?void 0:n.theme},null,8,["id"]),ta(mn(QT)),ta(mn(dT),{state:mn(g),title:"",variant:"history"},{default:Pr((()=>{var n;return[ta(sfe,{theme:(null==(n=e.configuration)?void 0:n.theme)||"default",value:mn(s),onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),onOpenSwaggerEditor:t[1]||(t[1]=e=>mn(g).hide()),onUpdateContent:t[2]||(t[2]=t=>{return n=()=>e.$emit("updateContent",t),g.hide(),void n();var n})},null,8,["theme","value"])]})),_:1},8,["state"]),ta(mn(wl),null,{default:Pr((({styles:n})=>[ta(mfe,pa(e.$attrs,{class:n,configuration:i.value,parsedSpec:mn(c),rawSpec:mn(s),swaggerEditorRef:m.value,onChangeTheme:t[5]||(t[5]=t=>e.$emit("changeTheme",t)),onUpdateContent:t[6]||(t[6]=e=>mn(l)(e))}),ko({_:2},[xo(mn(r),((t,n)=>({name:n,fn:Pr((t=>[$o(e.$slots,n,Pe(ra(t)))]))}))),mn(o)?{name:"editor",fn:Pr((()=>[ta(mn(o),{ref_key:"swaggerEditorRef",ref:m,error:mn(d),proxyUrl:i.value.proxy,theme:i.value.theme,value:mn(s),onChangeTheme:t[3]||(t[3]=t=>e.$emit("changeTheme",t)),onContentUpdate:t[4]||(t[4]=e=>mn(l)(e))},{"tab-items":Pr((()=>[mn(y)?(Zi(),Bi(mn(Pp),{key:0,onClick:O},{default:Pr((()=>[aa(" Getting Started ")])),_:1})):la("",!0)])),"editor-input":Pr((t=>[$o(e.$slots,"editor-input",Pe(ra(t)))])),_:3},8,["error","proxyUrl","theme","value"])])),key:"0"}:void 0]),1040,["class","configuration","parsedSpec","rawSpec","swaggerEditorRef"])])),_:3})],64)}}}),Ofe=vl(Gr({__name:"DarkModeIconToggle",setup(e){const{toggleDarkMode:t,isDark:n}=gZ();return(e,r)=>(Zi(),Wi("button",{class:"darklight",type:"button",onClick:r[0]||(r[0]=(...e)=>mn(t)&&mn(t)(...e))},[ta(mn(up),{icon:mn(n)?"DarkMode":"LightMode"},null,8,["icon"]),ta(Aue,null,{default:Pr((()=>[aa(" Switch to "+Re(mn(n)?"Light":"Dark")+" Mode ",1)])),_:1})]))}}),[["__scopeId","data-v-9fb3c722"]]),yfe={class:"references-classic-header-container"},bfe={class:"references-classic-header"},vfe=vl(Gr({__name:"ClassicHeader",setup:e=>(e,t)=>(Zi(),Wi("div",yfe,[ea("div",bfe,[$o(e.$slots,"default",{},void 0,!0),ta(Ofe,{class:"t-doc__sidebar"})])]))}),[["__scopeId","data-v-21df7850"]]);function wfe(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Sfe(e){return Array.isArray?Array.isArray(e):"[object Array]"===Cfe(e)}const xfe=1/0;function kfe(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-xfe?"-0":t}(e)}function $fe(e){return"string"==typeof e}function Pfe(e){return"number"==typeof e}function _fe(e){return!0===e||!1===e||function(e){return Tfe(e)&&null!==e}(e)&&"[object Boolean]"==Cfe(e)}function Tfe(e){return"object"==typeof e}function Efe(e){return null!=e}function Qfe(e){return!e.trim().length}function Cfe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Afe=e=>`Missing ${e} property in key`,Rfe=e=>`Property 'weight' in key '${e}' must be a positive integer`,Dfe=Object.prototype.hasOwnProperty;class Nfe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=jfe(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function jfe(e){let t=null,n=null,r=null,o=1,i=null;if($fe(e)||Sfe(e))r=e,t=qfe(e),n=Ife(e);else{if(!Dfe.call(e,"name"))throw new Error(Afe("name"));const a=e.name;if(r=a,Dfe.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Rfe(a));t=qfe(a),n=Ife(a),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}function qfe(e){return Sfe(e)?e:e.split(".")}function Ife(e){return Sfe(e)?e.join("."):e}const Ufe={useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const o=(e,t,i)=>{if(Efe(e))if(t[i]){const a=e[t[i]];if(!Efe(a))return;if(i===t.length-1&&($fe(a)||Pfe(a)||_fe(a)))n.push(kfe(a));else if(Sfe(a)){r=!0;for(let e=0,n=a.length;e<n;e+=1)o(a[e],t,i+1)}else t.length&&o(a,t,i+1)}else n.push(e)};return o(e,$fe(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Mfe={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Ufe};const Xfe=/[^ ]+/g;class Ffe{constructor({getFn:e=Mfe.getFn,fieldNormWeight:t=Mfe.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const o=t.match(Xfe).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,$fe(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();$fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Efe(e)||Qfe(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Efe(o))if(Sfe(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Efe(r))if($fe(r)&&!Qfe(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Sfe(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if($fe(o)&&!Qfe(o)){let e={v:o,n:this.norm.get(o)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Zfe(e,t,{getFn:n=Mfe.getFn,fieldNormWeight:r=Mfe.fieldNormWeight}={}){const o=new Ffe({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(jfe)),o.setSources(t),o.create(),o}function Vfe(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Mfe.distance,ignoreLocation:i=Mfe.ignoreLocation}={}){const a=t/e.length;if(i)return a;const s=Math.abs(r-n);return o?a+s/o:s?1:a}const Lfe=32;function zfe(e,t,n,{location:r=Mfe.location,distance:o=Mfe.distance,threshold:i=Mfe.threshold,findAllMatches:a=Mfe.findAllMatches,minMatchCharLength:s=Mfe.minMatchCharLength,includeMatches:l=Mfe.includeMatches,ignoreLocation:c=Mfe.ignoreLocation}={}){if(t.length>Lfe)throw new Error(`Pattern length exceeds max of ${Lfe}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let f=i,h=p;const m=s>1||l,g=m?Array(d):[];let O;for(;(O=e.indexOf(t,h))>-1;){let e=Vfe(t,{currentLocation:O,expectedLocation:p,distance:o,ignoreLocation:c});if(f=Math.min(e,f),h=O+u,m){let e=0;for(;e<u;)g[O+e]=1,e+=1}}h=-1;let y=[],b=1,v=u+d;const w=1<<u-1;for(let x=0;x<u;x+=1){let r=0,i=v;for(;r<i;){Vfe(t,{errors:x,currentLocation:p+i,expectedLocation:p,distance:o,ignoreLocation:c})<=f?r=i:v=i,i=Math.floor((v-r)/2+r)}v=i;let s=Math.max(1,p-i+1),l=a?d:Math.min(p+i,d)+u,O=Array(l+2);O[l+1]=(1<<x)-1;for(let a=l;a>=s;a-=1){let r=a-1,i=n[e.charAt(r)];if(m&&(g[r]=+!!i),O[a]=(O[a+1]<<1|1)&i,x&&(O[a]|=(y[a+1]|y[a])<<1|1|y[a+1]),O[a]&w&&(b=Vfe(t,{errors:x,currentLocation:r,expectedLocation:p,distance:o,ignoreLocation:c}),b<=f)){if(f=b,h=r,h<=p)break;s=Math.max(1,2*p-h)}}if(Vfe(t,{errors:x+1,currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:c})>f)break;y=O}const S={isMatch:h>=0,score:Math.max(.001,b)};if(m){const e=function(e=[],t=Mfe.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=e.length;i<a;i+=1){let a=e[i];a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(g,s);e.length?l&&(S.indices=e):S.isMatch=!1}return S}function Wfe(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Bfe{constructor(e,{location:t=Mfe.location,threshold:n=Mfe.threshold,distance:r=Mfe.distance,includeMatches:o=Mfe.includeMatches,findAllMatches:i=Mfe.findAllMatches,minMatchCharLength:a=Mfe.minMatchCharLength,isCaseSensitive:s=Mfe.isCaseSensitive,ignoreLocation:l=Mfe.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:Wfe(e),startIndex:t})},u=this.pattern.length;if(u>Lfe){let e=0;const t=u%Lfe,n=u-t;for(;e<n;)c(this.pattern.substr(e,Lfe),e),e+=Lfe;if(t){const e=u-Lfe;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,ignoreLocation:l}=this.options;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:f})=>{const{isMatch:h,score:m,indices:g}=zfe(e,t,p,{location:r+f,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:l});h&&(d=!0),u+=m,h&&g&&(c=[...c,...g])}));let p={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class Yfe{constructor(e){this.pattern=e}static isMultiMatch(e){return Hfe(e,this.multiRegex)}static isSingleMatch(e){return Hfe(e,this.singleRegex)}search(){}}function Hfe(e,t){const n=e.match(t);return n?n[1]:null}class Gfe extends Yfe{constructor(e,{location:t=Mfe.location,threshold:n=Mfe.threshold,distance:r=Mfe.distance,includeMatches:o=Mfe.includeMatches,findAllMatches:i=Mfe.findAllMatches,minMatchCharLength:a=Mfe.minMatchCharLength,isCaseSensitive:s=Mfe.isCaseSensitive,ignoreLocation:l=Mfe.ignoreLocation}={}){super(e),this._bitapSearch=new Bfe(e,{location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Kfe extends Yfe{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const Jfe=[class extends Yfe{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Kfe,class extends Yfe{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Gfe],ehe=Jfe.length,the=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const nhe=new Set([Gfe.type,Kfe.type]);class rhe{constructor(e,{isCaseSensitive:t=Mfe.isCaseSensitive,includeMatches:n=Mfe.includeMatches,minMatchCharLength:r=Mfe.minMatchCharLength,ignoreLocation:o=Mfe.ignoreLocation,findAllMatches:i=Mfe.findAllMatches,location:a=Mfe.location,threshold:s=Mfe.threshold,distance:l=Mfe.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:s,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(the).filter((e=>e&&!!e.trim())),r=[];for(let o=0,i=n.length;o<i;o+=1){const e=n[o];let i=!1,a=-1;for(;!i&&++a<ehe;){const n=Jfe[a];let o=n.isMultiMatch(e);o&&(r.push(new n(o,t)),i=!0)}if(!i)for(a=-1;++a<ehe;){const n=Jfe[a];let o=n.isSingleMatch(e);if(o){r.push(new n(o,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,i=[],a=0;for(let s=0,l=t.length;s<l;s+=1){const r=t[s];i.length=0,o=0;for(let t=0,s=r.length;t<s;t+=1){const s=r[t],{isMatch:l,indices:c,score:u}=s.search(e);if(!l){a=0,o=0,i.length=0;break}if(o+=1,a+=u,n){const e=s.constructor.type;nhe.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const ohe=[];function ihe(e,t){for(let n=0,r=ohe.length;n<r;n+=1){let r=ohe[n];if(r.condition(e,t))return new r(e,t)}return new Bfe(e,t)}const ahe="$and",she="$or",lhe="$path",che="$val",uhe=e=>!(!e[ahe]&&!e[she]),dhe=e=>({[ahe]:Object.keys(e).map((t=>({[t]:e[t]})))});function phe(e,t,{auto:n=!0}={}){const r=e=>{let o=Object.keys(e);const i=(e=>!!e[lhe])(e);if(!i&&o.length>1&&!uhe(e))return r(dhe(e));if((e=>!Sfe(e)&&Tfe(e)&&!uhe(e))(e)){const r=i?e[lhe]:o[0],a=i?e[che]:e[r];if(!$fe(a))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:Ife(r),pattern:a};return n&&(s.searcher=ihe(a,t)),s}let a={children:[],operator:o[0]};return o.forEach((t=>{const n=e[t];Sfe(n)&&n.forEach((e=>{a.children.push(r(e))}))})),a};return uhe(e)||(e=dhe(e)),r(e)}function fhe(e,t){const n=e.matches;t.matches=[],Efe(n)&&n.forEach((e=>{if(!Efe(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={indices:n,value:r};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function hhe(e,t){t.score=e.score}class mhe{constructor(e,t={},n){this.options={...Mfe,...t},this.options.useExtendedSearch,this._keyStore=new Nfe(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ffe))throw new Error("Incorrect 'index' type");this._myIndex=t||Zfe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Efe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let s=$fe(e)?$fe(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Mfe.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(s,{ignoreFieldNorm:a}),o&&s.sort(i),Pfe(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:n=Mfe.includeMatches,includeScore:r=Mfe.includeScore}={}){const o=[];return n&&o.push(fhe),r&&o.push(hhe),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=ihe(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:o})=>{if(!Efe(e))return;const{isMatch:i,score:a,indices:s}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:a,value:e,norm:o,indices:s}]})})),r}_searchLogical(e){const t=phe(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[];for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],s=n(a,t,r);if(s.length)o.push(...s);else if(e.operator===ahe)return[]}return o},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(Efe(e)){let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}_searchObjectList(e){const t=ihe(e,this.options),{keys:n,records:r}=this._myIndex,o=[];return r.forEach((({$:e,i:r})=>{if(!Efe(e))return;let i=[];n.forEach(((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),i.length&&o.push({idx:r,item:e,matches:i})})),o}_findMatches({key:e,value:t,searcher:n}){if(!Efe(t))return[];let r=[];if(Sfe(t))t.forEach((({v:t,i:o,n:i})=>{if(!Efe(t))return;const{isMatch:a,score:s,indices:l}=n.searchIn(t);a&&r.push({score:s,key:e,value:t,idx:o,norm:i,indices:l})}));else{const{v:o,n:i}=t,{isMatch:a,score:s,indices:l}=n.searchIn(o);a&&r.push({score:s,key:e,value:o,norm:i,indices:l})}return r}}function ghe(e){var t,n,r;try{const o=null==(r=null==(n=null==(t=null==e?void 0:e.information)?void 0:t.requestBody)?void 0:n.content)?void 0:r["application/json"];if(!o)throw new Error("Body not found");return function(e){var t;const n=["Body"],r=null==(t=null==e?void 0:e.schema)?void 0:t.properties;return r&&Object.keys(r).forEach((t=>{if(!e.schema)return;n.push(function(e,t){let n=e;return n+=t.required&&t.required.includes(e)?" REQUIRED ":" optional ",t.properties[e]&&(n+=t.properties[e].type,t.properties[e].description&&(n+=" "+t.properties[e].description)),n}(t,e.schema));const o=r[t];"object"===o.type&&o.properties&&o.properties&&Object.keys(o.properties).forEach((e=>{var t,r;n.push(`${e} ${null==(r=null==(t=o.properties)?void 0:t[e])?void 0:r.type}`)}))})),n}(o)}catch(o){return!1}}mhe.version="6.6.2",mhe.createIndex=Zfe,mhe.parseIndex=function(e,{getFn:t=Mfe.getFn,fieldNormWeight:n=Mfe.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new Ffe({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i},mhe.config=Mfe,mhe.parseQuery=phe,function(...e){ohe.push(...e)}(rhe);const Ohe=e=>(kr("data-v-691236da"),e=e(),$r(),e),yhe={key:0,class:"ref-search-list custom-scroll"},bhe=["id","href","onClick","onFocus"],vhe={key:0,class:"item-entry-title"},whe={key:1,class:"item-entry-path"},She={key:2,class:"item-entry-description"},xhe=Ohe((()=>ea("div",{class:"ref-search-meta"},[ea("span",null,"↑↓ Navigate"),ea("span",null,"⏎ Select")],-1))),khe=vl(Gr({__name:"SearchModal",props:{parsedSpec:{},modalState:{}},setup(e){const t=e,n=vn(t,"parsedSpec"),r=dn([]),o=dn([]),i=dn(0),a=dn(""),s=dn(null),l=new mhe(r.value,{keys:["title","description","body"]}),c=()=>{i.value=0,o.value=l.search(a.value)},u=Ua((()=>g.value[i.value])),{getHeadingId:d,getWebhookId:p,getModelId:f,getOperationId:h,getTagId:m}=_Z();Ir((()=>t.modalState.open),(e=>{e&&(a.value="",i.value=0,o.value=[])})),Ir(n.value,(async()=>{var e,n,o,i,a,s;if(r.value=[],!(null==(n=null==(e=t.parsedSpec)?void 0:e.tags)?void 0:n.length)&&!(null==(o=t.parsedSpec)?void 0:o.webhooks))return void l.setCollection([]);const c=[],u=await lM((null==(i=t.parsedSpec.info)?void 0:i.description)??"");u.length&&(u.forEach((e=>{c.push({type:"heading",title:`Info > ${e.value}`,description:"",href:`#${d(e)}`,tag:e.slug,body:""})})),r.value=r.value.concat(c)),null==(a=t.parsedSpec.tags)||a.forEach((e=>{const t={title:e.name,href:`#${m(e)}`,description:e.description,type:"req",tag:e.name,body:""};r.value.push(t),e.operations&&e.operations.forEach((t=>{const{parameterMap:n}=OZ({operation:t}),o=ghe(t)||n.value;let i=null;"boolean"!=typeof o&&(i=o);const a={type:"req",title:t.name??t.path,href:`#${h(t,e)}`,operationId:t.operationId,description:t.description??"",httpVerb:t.httpVerb,path:t.path,tag:e.name,operation:t};i&&(a.body=i),r.value.push(a)}))}));const g=t.parsedSpec.webhooks,O=[];g&&Object.keys(g).forEach((e=>{Object.keys(g[e]).forEach((t=>{var n;O.push({type:"webhook",title:`Webhook: ${null==(n=g[e][t])?void 0:n.name}`,href:`#${p(e,t)}`,description:e,httpVerb:t,tag:e,body:""})})),r.value=r.value.concat(O)}));const y=null==(s=t.parsedSpec.components)?void 0:s.schemas,b=[];y&&(Object.keys(y).forEach((e=>{b.push({type:"model",title:"Model",href:`#${f(e)}`,description:y[e].title??e,tag:e,body:""})})),r.value=r.value.concat(b)),l.setCollection(r.value)}),{immediate:!0}),DT({element:s,keyList:["enter"],active:()=>t.modalState.open,handler:()=>{window&&(b(u.value),window.location.hash=u.value.item.href,t.modalState.hide())}}),DT({element:s,keyList:["ArrowDown"],active:()=>t.modalState.open,handler:()=>{var e;i.value<g.value.length-1?i.value++:i.value=0,null==(e=document.getElementById(u.value.item.href))||e.scrollIntoView({behavior:"smooth",block:"center"})}}),DT({element:s,keyList:["ArrowUp"],active:()=>t.modalState.open,handler:()=>{var e;i.value>0?i.value--:i.value=g.value.length-1,null==(e=document.getElementById(u.value.item.href))||e.scrollIntoView({behavior:"smooth",block:"center"})}});const g=Ua((()=>0===a.value.length?r.value.map((e=>({item:e}))):o.value)),O=/#(tag\/[^/]*)/,{setCollapsedSidebarItem:y}=z7(),b=e=>{let n="models";const r=e.item.href.match(O);(null==r?void 0:r.length)&&r.length>1&&(n=r[1]),y(n,!0),t.modalState.hide()};return(e,t)=>(Zi(),Bi(mn(dT),{state:e.modalState,variant:"search"},{default:Pr((()=>[ea("div",{ref_key:"searchModalRef",ref:s,class:"ref-search-container"},[Vr(ea("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"ref-search-input",placeholder:"Search …",type:"text",onInput:c},null,544),[[qs,a.value]])],512),g.value.length?(Zi(),Wi("div",yhe,[(Zi(!0),Wi(qi,null,xo(g.value,((e,t)=>(Zi(),Wi("a",{id:e.item.href,key:e.refIndex,class:$e(["item-entry",{"item-entry--active":t===i.value,"item-entry--tag":!e.item.httpVerb}]),href:e.item.href,onClick:t=>b(e),onFocus:e=>i.value=t},[ea("div",{class:$e(["item-entry-http-verb",`item-entry-http-verb--${e.item.httpVerb}`])},Re(e.item.httpVerb),3),e.item.title?(Zi(),Wi("div",vhe,Re(e.item.title),1)):la("",!0),(e.item.httpVerb||e.item.path)&&e.item.path!==e.item.title?(Zi(),Wi("div",whe,Re(e.item.path),1)):e.item.description?(Zi(),Wi("div",She,Re(e.item.description),1)):la("",!0)],42,bhe)))),128))])):la("",!0),xhe])),_:1},8,["state"]))}}),[["__scopeId","data-v-691236da"]]),$he=e=>(kr("data-v-5df6bbac"),e=e(),$r(),e),Phe={class:"sidebar-search-input"},_he=$he((()=>ea("span",{class:"sidebar-search-placeholder",type:"text"}," Search ",-1))),The={class:"sidebar-search-shortcut"},Ehe={class:"sidebar-search-key"},Qhe=vl(Gr({__name:"SearchButton",props:{spec:{},searchHotKey:{default:"k"}},setup(e){const t=e,n=pT();return DT({keyList:[t.searchHotKey],withCtrlCmd:!0,handler:()=>n.open?n.hide():n.show()}),(e,t)=>(Zi(),Wi(qi,null,[ea("button",{class:$e(["sidebar-search",e.$attrs.class]),type:"button",onClick:t[0]||(t[0]=(...e)=>mn(n).show&&mn(n).show(...e))},[ta(mn(up),{class:"search-icon",icon:"Search"}),ea("div",Phe,[_he,ea("span",The,[ea("span",Ehe,Re(mn(wfe)()?"⌘":"⌃")+Re(e.searchHotKey),1)])])],2),ta(khe,{modalState:mn(n),parsedSpec:e.spec},null,8,["modalState","parsedSpec"])],64))}}),[["__scopeId","data-v-5df6bbac"]]),Che=Gr({__name:"ClassicLayout",props:{configuration:{}},setup(e){const t=e,n=Ua((()=>({...t.configuration,showSidebar:!1})));return(e,t)=>(Zi(),Bi(gfe,{configuration:n.value},{"content-start":Pr((({spec:e})=>[ta(vfe,null,{default:Pr((()=>[ta(Qhe,{class:"t-doc__sidebar",searchHotKey:n.value.searchHotKey,spec:e},null,8,["searchHotKey","spec"])])),_:2},1024)])),"content-end":Pr((()=>[$o(e.$slots,"footer")])),_:3},8,["configuration"]))}}),Ahe=e=>(kr("data-v-ffa0c96a"),e=e(),$r(),e),Rhe={class:"darklight-reference"},Dhe={key:0},Nhe={key:1},jhe=Ahe((()=>ea("a",{class:"darklight-reference-promo",href:"https://www.scalar.com",target:"_blank"}," Powered by scalar.com ",-1))),qhe=vl(Gr({__name:"DarkModeToggle",setup(e){const{toggleDarkMode:t,isDark:n}=gZ();return(e,r)=>(Zi(),Wi("div",Rhe,[ea("button",{class:"darklight",type:"button",onClick:r[0]||(r[0]=(...e)=>mn(t)&&mn(t)(...e))},[ta(mn(up),{icon:"LightDarkModeToggle"}),mn(n)?(Zi(),Wi("span",Dhe,"Light Mode")):(Zi(),Wi("span",Nhe,"Dark Mode"))]),jhe]))}}),[["__scopeId","data-v-ffa0c96a"]]),Ihe={class:"references-mobile-header t-doc__header"},Uhe={class:"references-mobile-breadcrumbs"},Mhe={class:"references-mobile-header-actions"},Xhe=vl(Gr({__name:"MobileHeader",props:{open:{type:Boolean}},emits:["update:open"],setup(e){const{breadcrumb:t}=z7();return(e,n)=>(Zi(),Wi("div",Ihe,[ta(mn(fp),{icon:e.open?"Close":"Menu",label:e.open?"Close Menu":"Open Menu",size:"md",onClick:n[0]||(n[0]=t=>e.$emit("update:open",!e.open))},null,8,["icon","label"]),ea("span",Uhe,Re(mn(t)),1),ea("div",Mhe,[$o(e.$slots,"actions",{},void 0,!0)])]))}}),[["__scopeId","data-v-f34d1ece"]]),Fhe={class:"scalar-api-references-standalone-search"},Zhe=Gr({__name:"ModernLayout",props:{configuration:{}},setup(e){const t=e,n=dn(!1),r=Md("(max-width: 1000px)");Ir(r,((e,t)=>{e&&!t&&(n.value=!1)}));const o=Ua((()=>{var e;const o=r.value?n.value:null==(e=t.configuration)?void 0:e.showSidebar;return{...t.configuration,showSidebar:o}})),{hash:i}=_Z();return Ir(i,((e,t)=>{e&&e!==t&&(n.value=!1)})),(e,i)=>(Zi(),Bi(gfe,{class:$e({"scalar-api-references-standalone-mobile":mn(r)}),configuration:o.value},ko({"sidebar-start":Pr((({spec:e})=>{var n;return[ea("div",Fhe,[ta(Qhe,{searchHotKey:null==(n=t.configuration)?void 0:n.searchHotKey,spec:e},null,8,["searchHotKey","spec"])])]})),"sidebar-end":Pr((()=>[ta(qhe)])),"content-end":Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:2},[mn(r)?{name:"header",fn:Pr((()=>[ta(Xhe,{open:n.value,"onUpdate:open":i[0]||(i[0]=e=>n.value=e)},null,8,["open"])])),key:"0"}:void 0]),1032,["class","configuration"]))}}),Vhe={modern:vl(Zhe,[["__scopeId","data-v-0bc9e487"]]),classic:Che},Lhe=Gr({__name:"ApiReference",props:{configuration:{}},emits:["updateContent"],setup(e){var t;const n=e,r=dn("");function o(e){var t,o;r.value=e,null==(o=null==(t=n.configuration)?void 0:t.onSpecUpdate)||o.call(t,e)}return(null==(t=n.configuration)?void 0:t.metaData)&&function(e,t){const{title:n,titleTemplate:r,...o}=e;ml({title:n,titleTemplate:r,_flatMeta:o},{...t,transform(e){const t=fl({...e._flatMeta});return delete e._flatMeta,{...e,meta:t}}})}(n.configuration.metaData),(e,t)=>{var n;return Zi(),Bi(wo(mn(Vhe)[(null==(n=e.configuration)?void 0:n.layout)||"modern"]),{configuration:e.configuration,onUpdateContent:o},{footer:Pr((()=>[$o(e.$slots,"footer")])),_:3},40,["configuration"])}}}),zhe=document.querySelector("#api-reference"),Whe=document.querySelector("[data-spec]"),Bhe=document.querySelector("[data-spec-url]"),Yhe=document.querySelector("#api-reference[data-configuration]"),Hhe=()=>{if(Yhe){const e=Yhe.getAttribute("data-configuration");if(e)return JSON.parse(e.split(""").join('"'))}return{}},Ghe=()=>{var e,t,n;if(null==(e=Hhe().spec)?void 0:e.url)return null==(t=Hhe().spec)?void 0:t.url;if(zhe){const e=null==(n=zhe.getAttribute("data-url"))?void 0:n.trim();if(e)return e}if(Bhe){console.warn('[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new <script id="api-reference" data-url="/scalar.json" /> API instead.');const e=Bhe.getAttribute("data-spec-url");if(e)return e}},Khe=()=>{var e,t;if(zhe){const t=null==(e=zhe.innerHTML)?void 0:e.trim();if(t)return JSON.parse(t)}if(Whe){console.warn('[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new <script id="api-reference" type="application/json">{"openapi":"3.1.0","info":{"title":"Example"},"paths":{}}<\/script> API instead.');const e=null==(t=Whe.getAttribute("data-spec"))?void 0:t.trim();if(e)return JSON.parse(e)}},Jhe=()=>{if(zhe){const e=zhe.getAttribute("data-proxy-url");if(e)return e.trim()}};if(Bhe||Whe||zhe){const n=Khe()?{content:Khe()}:{url:Ghe()};null==(e=document.querySelector("body"))||e.classList.add("light-mode");let r=null;zhe?(r=document.createElement("div"),null==(t=null==zhe?void 0:zhe.parentNode)||t.insertBefore(r,zhe)):r=Whe?"[data-spec]":Bhe?"[data-spec-url]":"body",Js(Lhe,{configuration:{...Hhe(),spec:{...n},proxy:Jhe()}}).mount(r)}else console.error('Couldn’t find a [data-spec], [data-spec-url] or <script id="api-reference" /> element. Try adding it like this: %c<div data-spec-url="https://petstore.swagger.io/v2/swagger.json" />',"font-family: monospace;");var eme={},tme={};function nme(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var rme=nme({HTML:"text/html",isHTML:function(e){return e===rme.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),ome=nme({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===ome.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});tme.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},tme.freeze=nme,tme.MIME_TYPE=rme,tme.NAMESPACE=ome;var ime=tme.NAMESPACE;function ame(e){return""!==e}function sme(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function lme(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(ame):[]}(e);return Object.keys(t.reduce(sme,{}))}function cme(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function ume(e,t){var n=e.prototype;if(!(n instanceof t)){let r=function(){};r.prototype=t.prototype,r=new r,cme(n,r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var dme={},pme=dme.ELEMENT_NODE=1,fme=dme.ATTRIBUTE_NODE=2,hme=dme.TEXT_NODE=3,mme=dme.CDATA_SECTION_NODE=4,gme=dme.ENTITY_REFERENCE_NODE=5,Ome=dme.ENTITY_NODE=6,yme=dme.PROCESSING_INSTRUCTION_NODE=7,bme=dme.COMMENT_NODE=8,vme=dme.DOCUMENT_NODE=9,wme=dme.DOCUMENT_TYPE_NODE=10,Sme=dme.DOCUMENT_FRAGMENT_NODE=11,xme=dme.NOTATION_NODE=12,kme={},$me={};kme.INDEX_SIZE_ERR=($me[1]="Index size error",1),kme.DOMSTRING_SIZE_ERR=($me[2]="DOMString size error",2);var Pme=kme.HIERARCHY_REQUEST_ERR=($me[3]="Hierarchy request error",3);kme.WRONG_DOCUMENT_ERR=($me[4]="Wrong document",4),kme.INVALID_CHARACTER_ERR=($me[5]="Invalid character",5),kme.NO_DATA_ALLOWED_ERR=($me[6]="No data allowed",6),kme.NO_MODIFICATION_ALLOWED_ERR=($me[7]="No modification allowed",7);var _me=kme.NOT_FOUND_ERR=($me[8]="Not found",8);kme.NOT_SUPPORTED_ERR=($me[9]="Not supported",9);var Tme=kme.INUSE_ATTRIBUTE_ERR=($me[10]="Attribute in use",10);function Eme(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,$me[e]),this.message=$me[e],Error.captureStackTrace&&Error.captureStackTrace(this,Eme);return n.code=e,t&&(this.message=this.message+": "+t),n}function Qme(){}function Cme(e,t){this._node=e,this._refresh=t,Ame(this)}function Ame(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);mge(e,"length",n.length),cme(n,e),e._inc=t}}function Rme(){}function Dme(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function Nme(e,t,n,r){if(r?t[Dme(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&Fme(o,e,r),function(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===ime.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function jme(e,t,n){var r=Dme(t,n);if(!(r>=0))throw new Eme(_me,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(Fme(i,e,n),n.ownerElement=null)}}function qme(){}function Ime(){}function Ume(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function Mme(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(Mme(e,t))return!0}while(e=e.nextSibling)}function Xme(){}function Fme(e,t,n,r){e&&e._inc++,n.namespaceURI===ime.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function Zme(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i,delete r[r.length]}}}function Vme(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Zme(e.ownerDocument,e),t}function Lme(e){return e&&e.nodeType===Ime.DOCUMENT_TYPE_NODE}function zme(e){return e&&e.nodeType===Ime.ELEMENT_NODE}function Wme(e){return e&&e.nodeType===Ime.TEXT_NODE}function Bme(e,t){var n=e.childNodes||[];if(n.find(zme)||Lme(t))return!1;var r=n.find(Lme);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Yme(e,t,n){if(!function(e){return e&&(e.nodeType===Ime.DOCUMENT_NODE||e.nodeType===Ime.DOCUMENT_FRAGMENT_NODE||e.nodeType===Ime.ELEMENT_NODE)}(e))throw new Eme(Pme,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new Eme(_me,"child not in parent");if(!function(e){return e&&(zme(e)||Wme(e)||Lme(e)||e.nodeType===Ime.DOCUMENT_FRAGMENT_NODE||e.nodeType===Ime.COMMENT_NODE||e.nodeType===Ime.PROCESSING_INSTRUCTION_NODE)}(t)||Lme(t)&&e.nodeType!==Ime.DOCUMENT_NODE)throw new Eme(Pme,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType);var r=e.childNodes||[],o=t.childNodes||[];if(e.nodeType===Ime.DOCUMENT_NODE){if(t.nodeType===Ime.DOCUMENT_FRAGMENT_NODE){let t=o.filter(zme);if(t.length>1||o.find(Wme))throw new Eme(Pme,"More than one element or text in fragment");if(1===t.length&&!Bme(e,n))throw new Eme(Pme,"Element in fragment can not be inserted before doctype")}if(zme(t)&&(r.find(zme)||!Bme(e,n)))throw new Eme(Pme,"Only one element can be added and only after doctype");if(Lme(t)){if(r.find(Lme))throw new Eme(Pme,"Only one doctype is allowed");let e=r.find(zme);if(n&&r.indexOf(e)<r.indexOf(n))throw new Eme(Pme,"Doctype can only be inserted before an element");if(!n&&e)throw new Eme(Pme,"Doctype can not be appended since element is present")}}var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===Sme){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var l=n?n.previousSibling:e.lastChild;a.previousSibling=l,s.nextSibling=n,l?l.nextSibling=a:e.firstChild=a,null==n?e.lastChild=s:n.previousSibling=s;do{a.parentNode=e}while(a!==s&&(a=a.nextSibling));return Zme(e.ownerDocument||e,e),t.nodeType==Sme&&(t.firstChild=t.lastChild=null),t}function Hme(){this._nsMap={}}function Gme(){}function Kme(){}function Jme(){}function ege(){}function tge(){}function nge(){}function rge(){}function oge(){}function ige(){}function age(){}function sge(){}function lge(){}function cge(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return pge(this,n,e,t,a),n.join("")}function uge(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===r&&o===ime.XML||o===ime.XMLNS)return!1;for(var i=n.length;i--;){var a=n[i];if(a.prefix===r)return a.namespace!==o}return!0}function dge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,Ume),'"')}function pge(e,t,n,r,o){if(o||(o=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case pme:var i=e.attributes,a=i.length,s=e.firstChild,l=e.tagName,c=l;if(!(n=ime.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var u,d=0;d<i.length;d++)if("xmlns"===i.item(d).name){u=i.item(d).value;break}if(!u)for(var p=o.length-1;p>=0;p--){if(""===(f=o[p]).prefix&&f.namespace===e.namespaceURI){u=f.namespace;break}}if(u!==e.namespaceURI)for(p=o.length-1;p>=0;p--){var f;if((f=o[p]).namespace===e.namespaceURI){f.prefix&&(c=f.prefix+":"+l);break}}}t.push("<",c);for(var h=0;h<a;h++){"xmlns"==(m=i.item(h)).prefix?o.push({prefix:m.localName,namespace:m.value}):"xmlns"==m.nodeName&&o.push({prefix:"",namespace:m.value})}for(h=0;h<a;h++){var m,g,O;if(uge(m=i.item(h),0,o))dge(t,(g=m.prefix||"")?"xmlns:"+g:"xmlns",O=m.namespaceURI),o.push({prefix:g,namespace:O});pge(m,t,n,r,o)}if(l===c&&uge(e,0,o))dge(t,(g=e.prefix||"")?"xmlns:"+g:"xmlns",O=e.namespaceURI),o.push({prefix:g,namespace:O});if(s||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),n&&/^script$/i.test(l))for(;s;)s.data?t.push(s.data):pge(s,t,n,r,o.slice()),s=s.nextSibling;else for(;s;)pge(s,t,n,r,o.slice()),s=s.nextSibling;t.push("</",c,">")}else t.push("/>");return;case vme:case Sme:for(s=e.firstChild;s;)pge(s,t,n,r,o.slice()),s=s.nextSibling;return;case fme:return dge(t,e.name,e.value);case hme:return t.push(e.data.replace(/[<&>]/g,Ume));case mme:return t.push("<![CDATA[",e.data,"]]>");case bme:return t.push("\x3c!--",e.data,"--\x3e");case wme:var y=e.publicId,b=e.systemId;if(t.push("<!DOCTYPE ",e.name),y)t.push(" PUBLIC ",y),b&&"."!=b&&t.push(" ",b),t.push(">");else if(b&&"."!=b)t.push(" SYSTEM ",b,">");else{var v=e.internalSubset;v&&t.push(" [",v,"]"),t.push(">")}return;case yme:return t.push("<?",e.target," ",e.data,"?>");case gme:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function fge(e,t,n){var r;switch(t.nodeType){case pme:(r=t.cloneNode(!1)).ownerDocument=e;case Sme:break;case fme:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var o=t.firstChild;o;)r.appendChild(fge(e,o,n)),o=o.nextSibling;return r}function hge(e,t,n){var r=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];"object"!=typeof i&&i!=r[o]&&(r[o]=i)}switch(t.childNodes&&(r.childNodes=new Qme),r.ownerDocument=e,r.nodeType){case pme:var a=t.attributes,s=r.attributes=new Rme,l=a.length;s._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(hge(e,a.item(c),!0));break;case fme:n=!0}if(n)for(var u=t.firstChild;u;)r.appendChild(hge(e,u,n)),u=u.nextSibling;return r}function mge(e,t,n){e[t]=n}kme.INVALID_STATE_ERR=($me[11]="Invalid state",11),kme.SYNTAX_ERR=($me[12]="Syntax error",12),kme.INVALID_MODIFICATION_ERR=($me[13]="Invalid modification",13),kme.NAMESPACE_ERR=($me[14]="Invalid namespace",14),kme.INVALID_ACCESS_ERR=($me[15]="Invalid access",15),Eme.prototype=Error.prototype,cme(kme,Eme),Qme.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)pge(this[r],n,e,t);return n.join("")},find:function(e){return Array.prototype.find.call(this,e)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},Cme.prototype.item=function(e){return Ame(this),this[e]},ume(Cme,Qme),Rme.prototype={length:0,item:Qme.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new Eme(Tme);var n=this.getNamedItem(e.nodeName);return Nme(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new Eme(Tme);return t=this.getNamedItemNS(e.namespaceURI,e.localName),Nme(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return jme(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return jme(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},qme.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new Xme;if(r.implementation=this,r.childNodes=new Qme,r.doctype=n||null,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new nge;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},Ime.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Yme(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return Vme(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return hge(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==hme&&e.nodeType==hme?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==fme?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==fme?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},cme(dme,Ime),cme(dme,Ime.prototype),Xme.prototype={nodeName:"#document",nodeType:vme,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==Sme){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return Yme(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===pme&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),Vme(this,e)},importNode:function(e,t){return fge(this,e,t)},getElementById:function(e){var t=null;return Mme(this.documentElement,(function(n){if(n.nodeType==pme&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=lme(e);return new Cme(this,(function(n){var r=[];return t.length>0&&Mme(n.documentElement,(function(o){if(o!==n&&o.nodeType===pme){var i=o.getAttribute("class");if(i){var a=e===i;if(!a){var s=lme(i);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&r.push(o)}}var l})),r}))},createElement:function(e){var t=new Hme;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new Qme,(t.attributes=new Rme)._ownerElement=t,t},createDocumentFragment:function(){var e=new age;return e.ownerDocument=this,e.childNodes=new Qme,e},createTextNode:function(e){var t=new Jme;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ege;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new tge;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new sge;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new Gme;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ige;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Hme,r=t.split(":"),o=n.attributes=new Rme;return n.childNodes=new Qme,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new Gme,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},ume(Xme,Ime),Hme.prototype={nodeType:pme,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===Sme?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Zme(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new Cme(this,(function(t){var n=[];return Mme(t,(function(r){r===t||r.nodeType!=pme||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new Cme(this,(function(n){var r=[];return Mme(n,(function(o){o===n||o.nodeType!==pme||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},Xme.prototype.getElementsByTagName=Hme.prototype.getElementsByTagName,Xme.prototype.getElementsByTagNameNS=Hme.prototype.getElementsByTagNameNS,ume(Hme,Ime),Gme.prototype.nodeType=fme,ume(Gme,Ime),Kme.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error($me[Pme])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},ume(Kme,Ime),Jme.prototype={nodeName:"#text",nodeType:hme,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},ume(Jme,Kme),ege.prototype={nodeName:"#comment",nodeType:bme},ume(ege,Kme),tge.prototype={nodeName:"#cdata-section",nodeType:mme},ume(tge,Kme),nge.prototype.nodeType=wme,ume(nge,Ime),rge.prototype.nodeType=xme,ume(rge,Ime),oge.prototype.nodeType=Ome,ume(oge,Ime),ige.prototype.nodeType=gme,ume(ige,Ime),age.prototype.nodeName="#document-fragment",age.prototype.nodeType=Sme,ume(age,Ime),sge.prototype.nodeType=yme,ume(sge,Ime),lge.prototype.serializeToString=function(e,t,n){return cge.call(e,t,n)},Ime.prototype.toString=cge;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case pme:case Sme:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(Cme.prototype,"length",{get:function(){return Ame(this),this.$$length}}),Object.defineProperty(Ime.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case pme:case Sme:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),mge=function(e,t,n){e["$$"+t]=n}}}catch(Oc){}eme.DocumentType=nge,eme.DOMException=Eme,eme.DOMImplementation=qme,eme.Element=Hme,eme.Node=Ime,eme.NodeList=Qme,eme.XMLSerializer=lge;var gge={},Oge={};!function(e){var t=tme.freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),e.entityMap=e.HTML_ENTITIES}(Oge);var yge={},bge=tme.NAMESPACE,vge=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,wge=new RegExp("[\\-\\.0-9"+vge.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Sge=new RegExp("^"+vge.source+wge.source+"*(?::"+vge.source+wge.source+"*)?$"),xge=0,kge=1,$ge=2,Pge=3,_ge=4,Tge=5,Ege=6,Qge=7;function Cge(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Cge)}function Age(){}function Rge(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function Dge(e,t,n,r,o,i){function a(e,t,r){n.attributeNames.hasOwnProperty(e)&&i.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var s,l=++t,c=xge;;){var u=e.charAt(l);switch(u){case"=":if(c===kge)s=e.slice(t,l),c=Pge;else{if(c!==$ge)throw new Error("attribute equal must after attrName");c=Pge}break;case"'":case'"':if(c===Pge||c===kge){if(c===kge&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),t=l+1,!((l=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");a(s,d=e.slice(t,l),t-1),c=Tge}else{if(c!=_ge)throw new Error('attribute value must after "="');a(s,d=e.slice(t,l),t),i.warning('attribute "'+s+'" missed start quot('+u+")!!"),t=l+1,c=Tge}break;case"/":switch(c){case xge:n.setTagName(e.slice(t,l));case Tge:case Ege:case Qge:c=Qge,n.closed=!0;case _ge:case kge:case $ge:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),c==xge&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case xge:n.setTagName(e.slice(t,l));case Tge:case Ege:case Qge:break;case _ge:case kge:"/"===(d=e.slice(t,l)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case $ge:c===$ge&&(d=s),c==_ge?(i.warning('attribute "'+d+'" missed quot(")!'),a(s,d,t)):(bge.isHTML(r[""])&&d.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),a(d,d,t));break;case Pge:throw new Error("attribute value missed!!")}return l;case"":u=" ";default:if(u<=" ")switch(c){case xge:n.setTagName(e.slice(t,l)),c=Ege;break;case kge:s=e.slice(t,l),c=$ge;break;case _ge:var d=e.slice(t,l);i.warning('attribute "'+d+'" missed quot(")!!'),a(s,d,t);case Tge:c=Ege}else switch(c){case $ge:n.tagName,bge.isHTML(r[""])&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,t),t=l,c=kge;break;case Tge:i.warning('attribute space is required"'+s+'"!!');case Ege:c=kge,t=l;break;case Pge:c=_ge,t=l;break;case Qge:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function Nge(e,t,n){for(var r=e.tagName,o=null,i=e.length;i--;){var a=e[i],s=a.qName,l=a.value;if((p=s.indexOf(":"))>0)var c=a.prefix=s.slice(0,p),u=s.slice(p+1),d="xmlns"===c&&u;else u=s,c=null,d="xmlns"===s&&"";a.localName=u,!1!==d&&(null==o&&(o={},Ige(n,n={})),n[d]=o[d]=l,a.uri=bge.XMLNS,t.startPrefixMapping(d,l))}for(i=e.length;i--;){(c=(a=e[i]).prefix)&&("xml"===c&&(a.uri=bge.XML),"xmlns"!==c&&(a.uri=n[c||""]))}var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),u=e.localName=r.slice(p+1)):(c=null,u=e.localName=r);var f=e.uri=n[c||""];if(t.startElement(f,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(f,u,r),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&t.endPrefixMapping(c)}function jge(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function qge(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function Ige(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function Uge(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}return-1}function Mge(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(o[0].length,n.processingInstruction(o[1],o[2]),r+2):-1}return-1}function Xge(){this.attributeNames={}}Cge.prototype=new Error,Cge.prototype.name=Cge.name,Age.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),Ige(t,t={}),function(e,t,n,r,o){function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?i(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function s(t){if(t>m){var n=e.substring(m,t).replace(/&#?\w+;/g,a);p&&l(m),r.characters(n,0,t-m),m=t}}function l(t,n){for(;t>=u&&(n=d.exec(e));)c=n.index,u=c+n[0].length,p.lineNumber++;p.columnNumber=t-c+1}var c=0,u=0,d=/.*(?:\r\n?|\n)|.*$/g,p=r.locator,f=[{currentNSMap:t}],h={},m=0;for(;;){try{var g=e.indexOf("<",m);if(g<0){if(!e.substr(m).match(/^\s*$/)){var O=r.doc,y=O.createTextNode(e.substr(m));O.appendChild(y),r.currentElement=y}return}switch(g>m&&s(g),e.charAt(g+1)){case"/":var b=e.indexOf(">",g+3),v=e.substring(g+2,b).replace(/[ \t\n\r]+$/g,""),w=f.pop();b<0?(v=e.substring(g+2).replace(/[\s<].*/,""),o.error("end tag name: "+v+" is not complete:"+w.tagName),b=g+1+v.length):v.match(/\s</)&&(v=v.replace(/[\s<].*/,""),o.error("end tag name: "+v+" maybe not complete"),b=g+1+v.length);var S=w.localNSMap,x=w.tagName==v;if(x||w.tagName&&w.tagName.toLowerCase()==v.toLowerCase()){if(r.endElement(w.uri,w.localName,v),S)for(var k in S)Object.prototype.hasOwnProperty.call(S,k)&&r.endPrefixMapping(k);x||o.fatalError("end tag name: "+v+" is not match the current start tagName:"+w.tagName)}else f.push(w);b++;break;case"?":p&&l(g),b=Mge(e,g,r);break;case"!":p&&l(g),b=Uge(e,g,r,o);break;default:p&&l(g);var $=new Xge,P=f[f.length-1].currentNSMap,_=(b=Dge(e,g,$,P,a,o),$.length);if(!$.closed&&qge(e,b,$.tagName,h)&&($.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),p&&_){for(var T=Rge(p,{}),E=0;E<_;E++){var Q=$[E];l(Q.offset),Q.locator=Rge(p,{})}r.locator=T,Nge($,r,P)&&f.push($),r.locator=p}else Nge($,r,P)&&f.push($);bge.isHTML($.uri)&&!$.closed?b=jge(e,b,$.tagName,a,r):b++}}catch(Oc){if(Oc instanceof Cge)throw Oc;o.error("element parse error: "+Oc),b=-1}b>m?m=b:s(Math.max(g,m)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},Xge.prototype={setTagName:function(e){if(!Sge.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!Sge.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},yge.XMLReader=Age,yge.ParseError=Cge;var Fge=tme,Zge=Oge,Vge=yge,Lge=eme.DOMImplementation,zge=Fge.NAMESPACE,Wge=Vge.ParseError,Bge=Vge.XMLReader;function Yge(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function Hge(e){this.options=e||{locator:{}}}function Gge(){this.cdata=!1}function Kge(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function Jge(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function eOe(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function tOe(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}Hge.prototype.parseFromString=function(e,t){var n=this.options,r=new Bge,o=n.domBuilder||new Gge,i=n.errorHandler,a=n.locator,s=n.xmlns||{},l=/\/x?html?$/.test(t),c=l?Zge.HTML_ENTITIES:Zge.XML_ENTITIES;a&&o.setDocumentLocator(a),r.errorHandler=function(e,t,n){if(!e){if(t instanceof Gge)return t;e=t}var r={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+Jge(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),r}(i,o,a),r.domBuilder=n.domBuilder||o,l&&(s[""]=zge.HTML),s.xml=s.xml||zge.XML;var u=n.normalizeLineEndings||Yge;return e&&"string"==typeof e?r.parse(u(e),s,c):r.errorHandler.error("invalid doc source"),o.doc},Gge.prototype={startDocument:function(){this.doc=(new Lge).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,i=o.createElementNS(e,n||t),a=r.length;tOe(this,i),this.currentElement=i,this.locator&&Kge(this.locator,i);for(var s=0;s<a;s++){e=r.getURI(s);var l=r.getValue(s),c=(n=r.getQName(s),o.createAttributeNS(e,n));this.locator&&Kge(r.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&Kge(this.locator,n),tOe(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=eOe.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&Kge(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=eOe.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&Kge(this.locator,r),tOe(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&Kge(this.locator,o),tOe(this,o),this.doc.doctype=o}},warning:function(e){console.warn("[xmldom warning]\t"+e,Jge(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,Jge(this.locator))},fatalError:function(e){throw new Wge(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){Gge.prototype[e]=function(){return null}})),gge.__DOMHandler=Gge,gge.normalizeLineEndings=Yge,gge.DOMParser=Hge;var nOe=gge.DOMParser;const rOe=Object.freeze(Object.defineProperty({__proto__:null,DOMParser:nOe},Symbol.toStringTag,{value:"Module"}))}));
|
|
26
|
+
deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);i(e,t),a(e,n)}};function i(e,n=e.schema){const{gen:o,data:i,it:a}=e;if(0===Object.keys(n).length)return;const s=o.let("missing");for(const l in n){const c=n[l];if(0===c.length)continue;const u=(0,r.propertyInData)(o,i,l,a.opts.ownProperties);e.setParams({property:l,depsCount:c.length,deps:c.join(", ")}),a.allErrors?o.if(u,(()=>{for(const t of c)(0,r.checkReportMissingProp)(e,t)})):(o.if(t._`${u} && (${(0,r.checkMissingProp)(e,c,s)})`),(0,r.reportMissingProp)(e,s),o.else())}}function a(e,t=e.schema){const{gen:o,data:i,keyword:a,it:s}=e,l=o.name("valid");for(const c in t)(0,n.alwaysValidSchema)(s,t[c])||(o.if((0,r.propertyInData)(o,i,c,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:c},l);e.mergeValidEvaluated(t,l)}),(()=>o.var(l,!0))),e.ok(l))}e.validatePropertyDeps=i,e.validateSchemaDeps=a,e.default=o}(xG);var kG={};Object.defineProperty(kG,"__esModule",{value:!0});const $G=bW,PG=SW,_G={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>$G._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:r,it:o}=e;if((0,PG.alwaysValidSchema)(o,n))return;const i=t.name("valid");t.forIn("key",r,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},i),t.if((0,$G.not)(i),(()=>{e.error(!0),o.allErrors||t.break()}))})),e.ok(i)}};kG.default=_G;var TG={};Object.defineProperty(TG,"__esModule",{value:!0});const EG=FW,QG=bW,CG=xW,AG=SW,RG={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>QG._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:r,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,"all"!==l.removeAdditional&&(0,AG.alwaysValidSchema)(a,n))return;const c=(0,EG.allSchemaProperties)(r.properties),u=(0,EG.allSchemaProperties)(r.patternProperties);function d(e){t.code(QG._`delete ${o}[${e}]`)}function p(r){if("all"===l.removeAdditional||l.removeAdditional&&!1===n)d(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(s||t.break());if("object"==typeof n&&!(0,AG.alwaysValidSchema)(a,n)){const n=t.name("valid");"failing"===l.removeAdditional?(f(r,n,!1),t.if((0,QG.not)(n),(()=>{e.reset(),d(r)}))):(f(r,n),s||t.if((0,QG.not)(n),(()=>t.break())))}}}function f(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:AG.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",o,(n=>{c.length||u.length?t.if(function(n){let o;if(c.length>8){const e=(0,AG.schemaRefOrVal)(a,r.properties,"properties");o=(0,EG.isOwnProperty)(t,e,n)}else o=c.length?(0,QG.or)(...c.map((e=>QG._`${n} === ${e}`))):QG.nil;return u.length&&(o=(0,QG.or)(o,...u.map((t=>QG._`${(0,EG.usePattern)(e,t)}.test(${n})`)))),(0,QG.not)(o)}(n),(()=>p(n))):p(n)})),e.ok(QG._`${i} === ${CG.default.errors}`)}};TG.default=RG;var DG={};Object.defineProperty(DG,"__esModule",{value:!0});const NG=gW,jG=FW,qG=SW,IG=TG,UG={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;"all"===i.opts.removeAdditional&&void 0===r.additionalProperties&&IG.default.code(new NG.KeywordCxt(i,IG.default,"additionalProperties"));const a=(0,jG.allSchemaProperties)(n);for(const d of a)i.definedProperties.add(d);i.opts.unevaluated&&a.length&&!0!==i.props&&(i.props=qG.mergeEvaluated.props(t,(0,qG.toHash)(a),i.props));const s=a.filter((e=>!(0,qG.alwaysValidSchema)(i,n[e])));if(0===s.length)return;const l=t.name("valid");for(const d of s)c(d)?u(d):(t.if((0,jG.propertyInData)(t,o,d,i.opts.ownProperties)),u(d),i.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(d),e.ok(l);function c(e){return i.opts.useDefaults&&!i.compositeRule&&void 0!==n[e].default}function u(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},l)}}};DG.default=UG;var MG={};Object.defineProperty(MG,"__esModule",{value:!0});const XG=FW,FG=bW,ZG=SW,VG=SW,LG={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:r,parentSchema:o,it:i}=e,{opts:a}=i,s=(0,XG.allSchemaProperties)(n),l=s.filter((e=>(0,ZG.alwaysValidSchema)(i,n[e])));if(0===s.length||l.length===s.length&&(!i.opts.unevaluated||!0===i.props))return;const c=a.strictSchema&&!a.allowMatchingProperties&&o.properties,u=t.name("valid");!0===i.props||i.props instanceof FG.Name||(i.props=(0,VG.evaluatedPropsToName)(t,i.props));const{props:d}=i;function p(e){for(const t in c)new RegExp(e).test(t)&&(0,ZG.checkStrictMode)(i,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function f(n){t.forIn("key",r,(r=>{t.if(FG._`${(0,XG.usePattern)(e,n)}.test(${r})`,(()=>{const o=l.includes(n);o||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:r,dataPropType:VG.Type.Str},u),i.opts.unevaluated&&!0!==d?t.assign(FG._`${d}[${r}]`,!0):o||i.allErrors||t.if((0,FG.not)(u),(()=>t.break()))}))}))}!function(){for(const e of s)c&&p(e),i.allErrors?f(e):(t.var(u,!0),f(e),t.if(u))}()}};MG.default=LG;var zG={};Object.defineProperty(zG,"__esModule",{value:!0});const WG=SW,BG={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,WG.alwaysValidSchema)(r,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};zG.default=BG;var YG={};Object.defineProperty(YG,"__esModule",{value:!0});const HG={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:FW.validateUnion,error:{message:"must match a schema in anyOf"}};YG.default=HG;var GG={};Object.defineProperty(GG,"__esModule",{value:!0});const KG=bW,JG=SW,eK={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>KG._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(o.opts.discriminator&&r.discriminator)return;const i=n,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block((function(){i.forEach(((n,r)=>{let i;(0,JG.alwaysValidSchema)(o,n)?t.var(l,!0):i=e.subschema({keyword:"oneOf",schemaProp:r,compositeRule:!0},l),r>0&&t.if(KG._`${l} && ${a}`).assign(a,!1).assign(s,KG._`[${s}, ${r}]`).else(),t.if(l,(()=>{t.assign(a,!0),t.assign(s,r),i&&e.mergeEvaluated(i,KG.Name)}))}))})),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}};GG.default=eK;var tK={};Object.defineProperty(tK,"__esModule",{value:!0});const nK=SW,rK={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,nK.alwaysValidSchema)(r,t))return;const i=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(i)}))}};tK.default=rK;var oK={};Object.defineProperty(oK,"__esModule",{value:!0});const iK=bW,aK=SW,sK={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>iK.str`must match "${e.ifClause}" schema`,params:({params:e})=>iK._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:r}=e;void 0===n.then&&void 0===n.else&&(0,aK.checkStrictMode)(r,'"if" without "then" and "else" is ignored');const o=lK(r,"then"),i=lK(r,"else");if(!o&&!i)return;const a=t.let("valid",!0),s=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(t)}(),e.reset(),o&&i){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(s,l("then",n),l("else",n))}else o?t.if(s,l("then")):t.if((0,iK.not)(s),l("else"));function l(n,r){return()=>{const o=e.subschema({keyword:n},s);t.assign(a,s),e.mergeValidEvaluated(o,a),r?t.assign(r,iK._`${n}`):e.setParams({ifClause:n})}}e.pass(a,(()=>e.error(!0)))}};function lK(e,t){const n=e.schema[t];return void 0!==n&&!(0,aK.alwaysValidSchema)(e,n)}oK.default=sK;var cK={};Object.defineProperty(cK,"__esModule",{value:!0});const uK=SW,dK={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,uK.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};cK.default=dK,Object.defineProperty(KH,"__esModule",{value:!0});const pK=JH,fK=oG,hK=iG,mK=fG,gK=bG,OK=xG,yK=kG,bK=TG,vK=DG,wK=MG,SK=zG,xK=YG,kK=GG,$K=tK,PK=oK,_K=cK;KH.default=function(e=!1){const t=[SK.default,xK.default,kK.default,$K.default,PK.default,_K.default,yK.default,bK.default,OK.default,vK.default,wK.default];return e?t.push(fK.default,mK.default):t.push(pK.default,hK.default),t.push(gK.default),t};var TK={},EK={};Object.defineProperty(EK,"__esModule",{value:!0});const QK=bW,CK={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>QK.str`must match format "${e}"`,params:({schemaCode:e})=>QK._`{format: ${e}}`},code(e,t){const{gen:n,data:r,$data:o,schema:i,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:u,self:d}=s;l.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:d.formats,code:l.code.formats}),i=n.const("fDef",QK._`${o}[${a}]`),s=n.let("fType"),c=n.let("format");n.if(QK._`typeof ${i} == "object" && !(${i} instanceof RegExp)`,(()=>n.assign(s,QK._`${i}.type || "string"`).assign(c,QK._`${i}.validate`)),(()=>n.assign(s,QK._`"string"`).assign(c,i))),e.fail$data((0,QK.or)(!1===l.strictSchema?QK.nil:QK._`${a} && !${c}`,function(){const e=u.$async?QK._`(${i}.async ? await ${c}(${r}) : ${c}(${r}))`:QK._`${c}(${r})`,n=QK._`(typeof ${c} == "function" ? ${e} : ${c}.test(${r}))`;return QK._`${c} && ${c} !== true && ${s} === ${t} && !${n}`}()))}():function(){const o=d.formats[i];if(!o)return void function(){if(!1===l.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${i}" ignored in schema at path "${c}"`}}();if(!0===o)return;const[a,s,p]=function(e){const t=e instanceof RegExp?(0,QK.regexpCode)(e):l.code.formats?QK._`${l.code.formats}${(0,QK.getProperty)(i)}`:void 0,r=n.scopeValue("formats",{key:i,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,QK._`${r}.validate`];return["string",e,r]}(o);a===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return QK._`await ${p}(${r})`}return"function"==typeof s?QK._`${p}(${r})`:QK._`${p}.test(${r})`}())}())}};EK.default=CK,Object.defineProperty(TK,"__esModule",{value:!0});const AK=[EK.default];TK.default=AK,Object.defineProperty(_Y,"__esModule",{value:!0});const RK=MY,DK=KH,NK=TK,jK=[TY.default,RK.default,DK.default(),NK.default,["title","description","default"]];_Y.default=jK;var qK={},IK={};!function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,(t=e.DiscrError||(e.DiscrError={})).Tag="tag",t.Mapping="mapping"}(IK),Object.defineProperty(qK,"__esModule",{value:!0});const UK=bW,MK=IK,XK=aY,FK=SW,ZK={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===MK.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>UK._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:r,parentSchema:o,it:i}=e,{oneOf:a}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=r.propertyName;if("string"!=typeof s)throw new Error("discriminator: requires propertyName");if(r.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",UK._`${n}${(0,UK.getProperty)(s)}`);function u(n){const r=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},r);return e.mergeEvaluated(o,UK.Name),r}t.if(UK._`typeof ${c} == "string"`,(()=>function(){const n=function(){var e;const t={},n=l(o);let r=!0;for(let o=0;o<a.length;o++){let t=a[o];(null==t?void 0:t.$ref)&&!(0,FK.schemaHasRulesButRef)(t,i.self.RULES)&&(t=XK.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,null==t?void 0:t.$ref),t instanceof XK.SchemaEnv&&(t=t.schema));const u=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[s];if("object"!=typeof u)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);r=r&&(n||l(t)),c(u,o)}if(!r)throw new Error(`discriminator: "${s}" must be required`);return t;function l({required:e}){return Array.isArray(e)&&e.includes(s)}function c(e,t){if(e.const)u(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`);for(const n of e.enum)u(n,t)}}function u(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${s}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(UK._`${c} === ${e}`),t.assign(l,u(n[e]));t.else(),e.error(!1,{discrError:MK.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}()),(()=>e.error(!1,{discrError:MK.DiscrError.Tag,tag:c,tagName:s}))),e.ok(l)}};qK.default=ZK;const VK={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=mW,r=_Y,o=qK,i=VK,a=["/properties"],s="http://json-schema.org/draft-04/schema";class l extends n.default{constructor(e={}){super({...e,schemaId:"id"})}_addVocabularies(){super._addVocabularies(),r.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(i,a):i;this.addMetaSchema(e,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=mW;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=mW;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}})}(hW,hW.exports);var LK=hW.exports,zK={exports:{}},WK={},BK={},YK={};Object.defineProperty(YK,"__esModule",{value:!0});const HK={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};YK.default=HK,Object.defineProperty(BK,"__esModule",{value:!0});const GK=EY,KK=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",YK.default,GK.default];BK.default=KK;var JK={},eJ={};Object.defineProperty(eJ,"__esModule",{value:!0});const tJ=bW,nJ=tJ.operators,rJ={maximum:{okStr:"<=",ok:nJ.LTE,fail:nJ.GT},minimum:{okStr:">=",ok:nJ.GTE,fail:nJ.LT},exclusiveMaximum:{okStr:"<",ok:nJ.LT,fail:nJ.GTE},exclusiveMinimum:{okStr:">",ok:nJ.GT,fail:nJ.LTE}},oJ={message:({keyword:e,schemaCode:t})=>tJ.str`must be ${rJ[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>tJ._`{comparison: ${rJ[e].okStr}, limit: ${t}}`},iJ={keyword:Object.keys(rJ),type:"number",schemaType:"number",$data:!0,error:oJ,code(e){const{keyword:t,data:n,schemaCode:r}=e;e.fail$data(tJ._`${n} ${rJ[t].fail} ${r} || isNaN(${n})`)}};eJ.default=iJ,Object.defineProperty(JK,"__esModule",{value:!0});const aJ=GY,sJ=eH,lJ=sH,cJ=dH,uJ=hH,dJ=bH,pJ=SH,fJ=CH,hJ=jH,mJ=[eJ.default,aJ.default,sJ.default,lJ.default,cJ.default,uJ.default,dJ.default,pJ.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},fJ.default,hJ.default];JK.default=mJ;var gJ={},OJ={};Object.defineProperty(OJ,"__esModule",{value:!0}),OJ.dynamicAnchor=void 0;const yJ=bW,bJ=xW,vJ=aY,wJ=EY,SJ={keyword:"$dynamicAnchor",schemaType:"string",code:e=>xJ(e,e.schema)};function xJ(e,t){const{gen:n,it:r}=e;r.schemaEnv.root.dynamicAnchors[t]=!0;const o=yJ._`${bJ.default.dynamicAnchors}${(0,yJ.getProperty)(t)}`,i="#"===r.errSchemaPath?r.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:i,localRefs:a,meta:s}=t.root,{schemaId:l}=r.opts,c=new vJ.SchemaEnv({schema:n,schemaId:l,root:o,baseId:i,localRefs:a,meta:s});return vJ.compileSchema.call(r,c),(0,wJ.getValidate)(e,c)}(e);n.if(yJ._`!${o}`,(()=>n.assign(o,i)))}OJ.dynamicAnchor=xJ,OJ.default=SJ;var kJ={};Object.defineProperty(kJ,"__esModule",{value:!0}),kJ.dynamicRef=void 0;const $J=bW,PJ=xW,_J=EY,TJ={keyword:"$dynamicRef",schemaType:"string",code:e=>EJ(e,e.schema)};function EJ(e,t){const{gen:n,keyword:r,it:o}=e;if("#"!==t[0])throw new Error(`"${r}" only supports hash fragment reference`);const i=t.slice(1);if(o.allErrors)a();else{const t=n.let("valid",!1);a(t),e.ok(t)}function a(e){if(o.schemaEnv.root.dynamicAnchors[i]){const t=n.let("_v",$J._`${PJ.default.dynamicAnchors}${(0,$J.getProperty)(i)}`);n.if(t,s(t,e),s(o.validateName,e))}else s(o.validateName,e)()}function s(t,r){return r?()=>n.block((()=>{(0,_J.callRef)(e,t),n.let(r,!0)})):()=>(0,_J.callRef)(e,t)}}kJ.dynamicRef=EJ,kJ.default=TJ;var QJ={};Object.defineProperty(QJ,"__esModule",{value:!0});const CJ=OJ,AJ=SW,RJ={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,CJ.dynamicAnchor)(e,""):(0,AJ.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};QJ.default=RJ;var DJ={};Object.defineProperty(DJ,"__esModule",{value:!0});const NJ=kJ,jJ={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,NJ.dynamicRef)(e,e.schema)};DJ.default=jJ,Object.defineProperty(gJ,"__esModule",{value:!0});const qJ=kJ,IJ=QJ,UJ=DJ,MJ=[OJ.default,qJ.default,IJ.default,UJ.default];gJ.default=MJ;var XJ={},FJ={};Object.defineProperty(FJ,"__esModule",{value:!0});const ZJ=xG,VJ={keyword:"dependentRequired",type:"object",schemaType:"object",error:ZJ.error,code:e=>(0,ZJ.validatePropertyDeps)(e)};FJ.default=VJ;var LJ={};Object.defineProperty(LJ,"__esModule",{value:!0});const zJ=xG,WJ={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,zJ.validateSchemaDeps)(e)};LJ.default=WJ;var BJ={};Object.defineProperty(BJ,"__esModule",{value:!0});const YJ=SW,HJ={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,YJ.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};BJ.default=HJ,Object.defineProperty(XJ,"__esModule",{value:!0});const GJ=LJ,KJ=BJ,JJ=[FJ.default,GJ.default,KJ.default];XJ.default=JJ;var e0={},t0={};Object.defineProperty(t0,"__esModule",{value:!0});const n0=bW,r0=SW,o0=xW,i0={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>n0._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:r,errsCount:o,it:i}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,props:s}=i;function l(r){if(!1===n)return e.setParams({unevaluatedProperty:r}),e.error(),void(a||t.break());if(!(0,r0.alwaysValidSchema)(i,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:r,dataPropType:r0.Type.Str},n),a||t.if((0,n0.not)(n),(()=>t.break()))}}s instanceof n0.Name?t.if(n0._`${s} !== true`,(()=>t.forIn("key",r,(e=>t.if(function(e,t){return n0._`!${e} || !${e}[${t}]`}(s,e),(()=>l(e))))))):!0!==s&&t.forIn("key",r,(e=>void 0===s?l(e):t.if(function(e,t){const n=[];for(const r in e)!0===e[r]&&n.push(n0._`${t} !== ${r}`);return(0,n0.and)(...n)}(s,e),(()=>l(e))))),i.props=!0,e.ok(n0._`${o} === ${o0.default.errors}`)}};t0.default=i0;var a0={};Object.defineProperty(a0,"__esModule",{value:!0});const s0=bW,l0=SW,c0={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>s0.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>s0._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:r,it:o}=e,i=o.items||0;if(!0===i)return;const a=t.const("len",s0._`${r}.length`);if(!1===n)e.setParams({len:i}),e.fail(s0._`${a} > ${i}`);else if("object"==typeof n&&!(0,l0.alwaysValidSchema)(o,n)){const n=t.var("valid",s0._`${a} <= ${i}`);t.if((0,s0.not)(n),(()=>function(n,r){t.forRange("i",r,a,(r=>{e.subschema({keyword:"unevaluatedItems",dataProp:r,dataPropType:l0.Type.Num},n),o.allErrors||t.if((0,s0.not)(n),(()=>t.break()))}))}(n,i))),e.ok(n)}o.items=!0}};a0.default=c0,Object.defineProperty(e0,"__esModule",{value:!0});const u0=a0,d0=[t0.default,u0.default];e0.default=d0;var p0={};Object.defineProperty(p0,"__esModule",{value:!0}),p0.contentVocabulary=p0.metadataVocabulary=void 0,p0.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],p0.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"],Object.defineProperty(WK,"__esModule",{value:!0});const f0=BK,h0=JK,m0=KH,g0=XJ,O0=e0,y0=TK,b0=p0,v0=[gJ.default,f0.default,h0.default,(0,m0.default)(!0),y0.default,b0.metadataVocabulary,b0.contentVocabulary,g0.default,O0.default];WK.default=v0;var w0={};const S0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}},x0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}},k0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}},$0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}},P0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}},_0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}},T0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}},E0={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}};Object.defineProperty(w0,"__esModule",{value:!0});const Q0=S0,C0=x0,A0=k0,R0=$0,D0=P0,N0=_0,j0=T0,q0=E0,I0=["/properties"];w0.default=function(e){return[Q0,C0,A0,R0,D0,t(this,N0),j0,t(this,q0)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,I0):n}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=mW,r=WK,o=qK,i=w0,a="https://json-schema.org/draft/2020-12/schema";class s extends n.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),r.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(i.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}e.exports=t=s,Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var l=gW;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var c=bW;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}});var u=tY;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return u.default}});var d=rY;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})}(zK,zK.exports);var U0=zK.exports,M0={exports:{}};const X0={id:"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v1.2/apiDeclaration.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swaggerVersion","basePath","apis"],properties:{swaggerVersion:{enum:["1.2"]},apiVersion:{type:"string"},basePath:{type:"string",format:"uri",pattern:"^https?://"},resourcePath:{type:"string",format:"uri",pattern:"^/"},apis:{type:"array",items:{$ref:"#/definitions/apiObject"}},models:{type:"object",additionalProperties:{$ref:"modelsObject.json#"}},produces:{$ref:"#/definitions/mimeTypeArray"},consumes:{$ref:"#/definitions/mimeTypeArray"},authorizations:{$ref:"authorizationObject.json#"}},additionalProperties:!1,definitions:{apiObject:{type:"object",required:["path","operations"],properties:{path:{type:"string",format:"uri-template",pattern:"^/"},description:{type:"string"},operations:{type:"array",items:{$ref:"operationObject.json#"}}},additionalProperties:!1},mimeTypeArray:{type:"array",items:{type:"string",format:"mime-type"},uniqueItems:!0}}},F0={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},Z0={id:"https://spec.openapis.org/oas/3.0/schema/2019-04-02",$schema:"http://json-schema.org/draft-04/schema#",description:"Validation schema for OpenAPI Specification 3.0.X.",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{enum:["bearer"]}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{enum:["bearer"]}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/definitions/Header"}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},V0={$id:"https://spec.openapis.org/oas/3.1/schema/2021-04-15",$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{$ref:"#/$defs/uri",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"}},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{type:"object",properties:{name:{type:"string"},url:{type:"string"},email:{type:"string"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{$ref:"#/$defs/uri"}},required:["name"],oneOf:[{required:["identifier"]},{required:["url"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{type:"object",properties:{url:{$ref:"#/$defs/uri"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},descriptions:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{type:"object",properties:{schemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{type:"object",properties:{description:{type:"string"},url:{$ref:"#/$defs/uri"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},allowEmptyValue:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"},content:{$ref:"#/$defs/content"}},required:["in"],oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",enum:["simple"]}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form"]}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{type:"object",properties:{schema:{$dynamicRef:"#meta"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5][0-9X]{2}$":{$ref:"#/$defs/response-or-reference"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{$ref:"#/$defs/uri"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{type:"object",properties:{operationRef:{$ref:"#/$defs/uri"},operationId:!0,parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},allowEmptyValue:{default:!1,type:"boolean"}},dependentSchemas:{schema:{properties:{style:{default:"simple",enum:["simple"]},explode:{default:!1,type:"boolean"},allowReserved:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"}},$ref:"#/$defs/examples"},content:{properties:{content:{$ref:"#/$defs/content"}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{type:"object",properties:{$ref:{$ref:"#/$defs/uri"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{const:"bearer"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}},required:["scheme"]}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{$ref:"#/$defs/uri"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string"},tokenUrl:{type:"string"},refreshUrl:{type:"string"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},uri:{type:"string",format:"uri"},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.openapi=t.openapiV31=t.openapiV3=t.openapiV2=t.openapiV1=void 0,t.openapiV1=X0,t.openapiV2=F0,t.openapiV3=Z0,t.openapiV31=V0,t.openapi={v1:t.openapiV1,v2:t.openapiV2,v3:t.openapiV3,v31:t.openapiV31},t.default=t.openapi,e.exports=Object.assign(e.exports.default,e.exports)}(M0,M0.exports);var L0=M0.exports;const z0=QZ,{ono:W0}=fW,B0=LK,Y0=U0,{openapi:H0}=L0;var G0=function(e){let t,n;if(e.swagger)n=H0.v2,t=K0();else if(e.openapi.startsWith("3.1")){n=H0.v31;const e=n.$defs.schema;delete e.$dynamicAnchor,n.$defs.components.properties.schemas.additionalProperties=e,n.$defs.header.dependentSchemas.schema.properties.schema=e,n.$defs["media-type"].properties.schema=e,n.$defs.parameter.properties.schema=e,t=K0(!1)}else n=H0.v3,t=K0();if(!t.validate(n,e)){let e=t.errors,n="Swagger schema validation failed.\n"+function(e,t){t=t||" ";let n="";for(let r of e)n+=z0.format(`${t}#${r.instancePath.length?r.instancePath:"/"} ${r.message}\n`);return n}(e);throw W0.syntax(e,{details:e},n)}};function K0(e=!0){const t={allErrors:!0,strict:!1,validateFormats:!1};return e?new B0(t):new Y0(t)}const J0=QZ,{ono:e1}=fW,t1=["get","put","post","delete","options","head","patch"],n1=["array","boolean","integer","number","string"],r1=["array","boolean","integer","number","string","object","null",void 0];var o1=function(e){if(e.openapi)return;let t=Object.keys(e.paths||{}),n=[];for(let o of t){let t=e.paths[o],r="/paths"+o;t&&0===o.indexOf("/")&&i1(e,t,r,n)}let r=Object.keys(e.definitions||{});for(let o of r){u1(e.definitions[o],"/definitions/"+o)}};function i1(e,t,n,r){for(let o of t1){let i=t[o],a=n+"/"+o;if(i){let o=i.operationId;if(o){if(-1!==r.indexOf(o))throw e1.syntax(`Validation failed. Duplicate operation id '${o}'`);r.push(o)}a1(e,t,n,i,a);let s=Object.keys(i.responses||{});for(let e of s){l1(e,i.responses[e]||{},a+"/responses/"+e)}}}}function a1(e,t,n,r,o){let i=t.parameters||[],a=r.parameters||[];try{s1(i)}catch(Oc){throw e1.syntax(Oc,`Validation failed. ${n} has duplicate parameters`)}try{s1(a)}catch(Oc){throw e1.syntax(Oc,`Validation failed. ${o} has duplicate parameters`)}let s=i.reduce(((e,t)=>(e.some((e=>e.in===t.in&&e.name===t.name))||e.push(t),e)),a.slice());!function(e,t){let n=e.filter((e=>"body"===e.in)),r=e.filter((e=>"formData"===e.in));if(n.length>1)throw e1.syntax(`Validation failed. ${t} has ${n.length} body parameters. Only one is allowed.`);if(n.length>0&&r.length>0)throw e1.syntax(`Validation failed. ${t} has body parameters and formData parameters. Only one or the other is allowed.`)}(s,o),function(e,t,n){let r=t.match(J0.swaggerParamRegExp)||[];for(let o=0;o<r.length;o++)for(let e=o+1;e<r.length;e++)if(r[o]===r[e])throw e1.syntax(`Validation failed. ${n} has multiple path placeholders named ${r[o]}`);e=e.filter((e=>"path"===e.in));for(let o of e){if(!0!==o.required)throw e1.syntax(`Validation failed. Path parameters cannot be optional. Set required=true for the "${o.name}" parameter at ${n}`);let e=r.indexOf("{"+o.name+"}");if(-1===e)throw e1.syntax(`Validation failed. ${n} has a path parameter named "${o.name}", but there is no corresponding {${o.name}} in the path string`);r.splice(e,1)}if(r.length>0)throw e1.syntax(`Validation failed. ${n} is missing path parameter(s) for ${r}`)}(s,n,o),function(e,t,n,r){for(let o of e){let e,i,a=r+"/parameters/"+o.name;switch(o.in){case"body":e=o.schema,i=r1;break;case"formData":e=o,i=n1.concat("file");break;default:e=o,i=n1}if(c1(e,a,i),u1(e,a),"file"===e.type){let e=/multipart\/(.*\+)?form-data/,o=/application\/(.*\+)?x-www-form-urlencoded/;if(!(n.consumes||t.consumes||[]).some((t=>e.test(t)||o.test(t))))throw e1.syntax(`Validation failed. ${r} has a file parameter, so it must consume multipart/form-data or application/x-www-form-urlencoded`)}}}(s,e,r,o)}function s1(e){for(let t=0;t<e.length-1;t++){let n=e[t];for(let r=t+1;r<e.length;r++){let t=e[r];if(n.name===t.name&&n.in===t.in)throw e1.syntax(`Validation failed. Found multiple ${n.in} parameters named "${n.name}"`)}}}function l1(e,t,n){if("default"!==e&&(e<100||e>599))throw e1.syntax(`Validation failed. ${n} has an invalid response code (${e})`);let r=Object.keys(t.headers||{});for(let o of r){c1(t.headers[o],n+"/headers/"+o,n1)}if(t.schema){let e=r1.concat("file");if(-1===e.indexOf(t.schema.type))throw e1.syntax(`Validation failed. ${n} has an invalid response schema type (${t.schema.type})`);c1(t.schema,n+"/schema",e)}}function c1(e,t,n){if(-1===n.indexOf(e.type))throw e1.syntax(`Validation failed. ${t} has an invalid type (${e.type})`);if("array"===e.type&&!e.items)throw e1.syntax(`Validation failed. ${t} is an array, so it must include an "items" schema`)}function u1(e,t){if(e.required&&Array.isArray(e.required)){let n={};!function e(t,n){if(t.properties)for(let r in t.properties)t.properties.hasOwnProperty(r)&&(n[r]=t.properties[r]);if(t.allOf)for(let r of t.allOf)e(r,n)}(e,n);for(let r of e.required)if(!n[r])throw e1.syntax(`Validation failed. Property '${r}' listed as required but does not exist in '${t}'`)}}var d1={};const{Ono:p1}=fW,{stripHash:f1,toFileSystemPath:h1}=Vz,m1=d1.JSONParserError=class extends Error{constructor(e,t){super(),this.code="EUNKNOWN",this.message=e,this.source=t,this.path=null,p1.extend(this)}};O1(m1);const g1=d1.JSONParserErrorGroup=class e extends Error{constructor(e){super(),this.files=e,this.message=`${this.errors.length} error${this.errors.length>1?"s":""} occurred while reading '${h1(e.$refs._root$Ref.path)}'`,p1.extend(this)}static getParserErrors(e){const t=[];for(const n of Object.values(e.$refs._$refs))n.errors&&t.push(...n.errors);return t}get errors(){return e.getParserErrors(this.files)}};O1(g1);O1(d1.ParserError=class extends m1{constructor(e,t){super(`Error parsing ${t}: ${e}`,t),this.code="EPARSER"}});O1(d1.UnmatchedParserError=class extends m1{constructor(e){super(`Could not find parser for "${e}"`,e),this.code="EUNMATCHEDPARSER"}});O1(d1.ResolverError=class extends m1{constructor(e,t){super(e.message||`Error reading file "${t}"`,t),this.code="ERESOLVER","code"in e&&(this.ioErrorCode=String(e.code))}});O1(d1.UnmatchedResolverError=class extends m1{constructor(e){super(`Could not find resolver for "${e}"`,e),this.code="EUNMATCHEDRESOLVER"}});O1(d1.MissingPointerError=class extends m1{constructor(e,t){super(`Token "${e}" does not exist.`,f1(t)),this.code="EMISSINGPOINTER"}});function O1(e){Object.defineProperty(e.prototype,"name",{value:e.name,enumerable:!0})}O1(d1.InvalidPointerError=class extends m1{constructor(e,t){super(`Invalid $ref pointer "${e}". Pointers must begin with "#/"`,f1(t)),this.code="EINVALIDPOINTER"}}),d1.isHandledError=function(e){return e instanceof m1||e instanceof g1},d1.normalizeError=function(e){return null===e.path&&(e.path=[]),e};const{ParserError:y1}=d1;var b1={order:100,allowEmpty:!0,canParse:".json",async parse(e){let t=e.data;if(i.Buffer.isBuffer(t)&&(t=t.toString()),"string"!=typeof t)return t;if(0!==t.trim().length)try{return JSON.parse(t)}catch(Oc){throw new y1(Oc.message,e.url)}}},v1={},w1={},S1={};function x1(e){return null==e}function k1(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}S1.isNothing=x1,S1.isObject=function(e){return"object"==typeof e&&null!==e},S1.toArray=function(e){return Array.isArray(e)?e:x1(e)?[]:[e]},S1.repeat=function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},S1.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},S1.extend=function(e,t){var n,r,o,i;if(t)for(n=0,r=(i=Object.keys(t)).length;n<r;n+=1)e[o=i[n]]=t[o];return e},k1.prototype=Object.create(Error.prototype),k1.prototype.constructor=k1,k1.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};var $1=k1,P1=S1;function _1(e,t,n,r,o){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=o}_1.prototype.getSnippet=function(e,t){var n,r,o,i,a;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){o=" ... ",i-=5;break}return a=this.buffer.slice(r,i),P1.repeat(" ",e)+n+a+o+"\n"+P1.repeat(" ",e+this.position-r+n.length)+"^"},_1.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var T1=_1,E1=$1,Q1=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],C1=["scalar","sequence","mapping"];var A1=function(e,t){var n,r;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Q1.indexOf(t))throw new E1('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){r[String(t)]=e}))})),r),-1===C1.indexOf(this.kind))throw new E1('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')},R1=S1,D1=$1,N1=A1;function j1(e,t,n){var r=[];return e.include.forEach((function(e){n=j1(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function q1(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new D1("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=j1(this,"implicit",[]),this.compiledExplicit=j1(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(this.compiledImplicit,this.compiledExplicit)}q1.DEFAULT=null,q1.create=function(){var e,t;switch(arguments.length){case 1:e=q1.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new D1("Wrong number of arguments for Schema.create function")}if(e=R1.toArray(e),t=R1.toArray(t),!e.every((function(e){return e instanceof q1})))throw new D1("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof N1})))throw new D1("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new q1({include:e,explicit:t})};var I1=q1,U1=new I1({explicit:[new A1("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new A1("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new A1("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]});var M1=new A1("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"});var X1=new A1("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),F1=S1;function Z1(e){return 48<=e&&e<=55}function V1(e){return 48<=e&&e<=57}var L1=new A1("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,o=0,i=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;o<r;o++)if("_"!==(t=e[o])){if("0"!==t&&"1"!==t)return!1;i=!0}return i&&"_"!==t}if("x"===t){for(o++;o<r;o++)if("_"!==(t=e[o])){if(!(48<=(n=e.charCodeAt(o))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;i=!0}return i&&"_"!==t}for(;o<r;o++)if("_"!==(t=e[o])){if(!Z1(e.charCodeAt(o)))return!1;i=!0}return i&&"_"!==t}if("_"===t)return!1;for(;o<r;o++)if("_"!==(t=e[o])){if(":"===t)break;if(!V1(e.charCodeAt(o)))return!1;i=!0}return!(!i||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(o)))},construct:function(e){var t,n,r=e,o=1,i=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(t=r[0])&&"+"!==t||("-"===t&&(o=-1),t=(r=r.slice(1))[0]),"0"===r?0:"0"===t?"b"===r[1]?o*parseInt(r.slice(2),2):"x"===r[1]?o*parseInt(r,16):o*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach((function(e){i.unshift(parseInt(e,10))})),r=0,n=1,i.forEach((function(e){r+=e*n,n*=60})),o*r):o*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!F1.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z1=S1,W1=A1,B1=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Y1=/^[-+]?[0-9]+e/;var H1=new I1({include:[U1],implicit:[M1,X1,L1,new W1("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!B1.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,o;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,r=1,o.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||z1.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(z1.isNegativeZero(e))return"-0.0";return n=e.toString(10),Y1.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),G1=new I1({include:[H1]}),K1=A1,J1=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),e2=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var t2=new K1("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==J1.exec(e)||null!==e2.exec(e))},construct:function(e){var t,n,r,o,i,a,s,l,c=0,u=null;if(null===(t=J1.exec(e))&&(t=e2.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(i=+t[4],a=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,o,i,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}});var n2,r2=new A1("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function o2(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}try{n2=o2("buffer").Buffer}catch(iOe){}var i2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var a2=new A1("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,i=i2;for(n=0;n<o;n++)if(!((t=i.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,i=i2,a=0,s=[];for(t=0;t<o;t++)t%4==0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|i.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),n2?n2.from?n2.from(s):new n2(s):s},predicate:function(e){return n2&&n2.isBuffer(e)},represent:function(e){var t,n,r="",o=0,i=e.length,a=i2;for(t=0;t<i;t++)t%3==0&&t&&(r+=a[o>>18&63],r+=a[o>>12&63],r+=a[o>>6&63],r+=a[63&o]),o=(o<<8)+e[t];return 0===(n=i%3)?(r+=a[o>>18&63],r+=a[o>>12&63],r+=a[o>>6&63],r+=a[63&o]):2===n?(r+=a[o>>10&63],r+=a[o>>4&63],r+=a[o<<2&63],r+=a[64]):1===n&&(r+=a[o>>2&63],r+=a[o<<4&63],r+=a[64],r+=a[64]),r}}),s2=A1,l2=Object.prototype.hasOwnProperty,c2=Object.prototype.toString;var u2=new s2("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,i,a=[],s=e;for(t=0,n=s.length;t<n;t+=1){if(r=s[t],i=!1,"[object Object]"!==c2.call(r))return!1;for(o in r)if(l2.call(r,o)){if(i)return!1;i=!0}if(!i)return!1;if(-1!==a.indexOf(o))return!1;a.push(o)}return!0},construct:function(e){return null!==e?e:[]}}),d2=A1,p2=Object.prototype.toString;var f2=new d2("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1){if(r=a[t],"[object Object]"!==p2.call(r))return!1;if(1!==(o=Object.keys(r)).length)return!1;i[t]=[o[0],r[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,o,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1)r=a[t],o=Object.keys(r),i[t]=[o[0],r[o[0]]];return i}}),h2=A1,m2=Object.prototype.hasOwnProperty;var g2=new I1({include:[G1],implicit:[t2,r2],explicit:[a2,u2,f2,new h2("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(m2.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})]});var O2=new A1("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}});var y2,b2=new A1("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{y2=o2("esprima")}catch(oOe){"undefined"!=typeof window&&(y2=window.esprima)}var v2=new A1("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=y2.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(r){return!1}},construct:function(e){var t,n="("+e+")",r=y2.parse(n,{range:!0}),o=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"ArrowFunctionExpression"!==r.body[0].expression.type&&"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=r.body[0].expression.body.range,"BlockStatement"===r.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),w2=I1,S2=w2.DEFAULT=new w2({include:[g2],explicit:[O2,b2,v2]}),x2=S1,k2=$1,$2=T1,P2=g2,_2=S2,T2=Object.prototype.hasOwnProperty,E2=1,Q2=2,C2=3,A2=4,R2=1,D2=2,N2=3,j2=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q2=/[\x85\u2028\u2029]/,I2=/[,\[\]\{\}]/,U2=/^(?:!|!!|![a-z\-]+!)$/i,M2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function X2(e){return Object.prototype.toString.call(e)}function F2(e){return 10===e||13===e}function Z2(e){return 9===e||32===e}function V2(e){return 9===e||32===e||10===e||13===e}function L2(e){return 44===e||91===e||93===e||123===e||125===e}function z2(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function W2(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function B2(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var Y2=new Array(256),H2=new Array(256),G2=0;G2<256;G2++)Y2[G2]=W2(G2)?1:0,H2[G2]=W2(G2);function K2(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||_2,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function J2(e,t){return new k2(t,new $2(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function e5(e,t){throw J2(e,t)}function t5(e,t){e.onWarning&&e.onWarning.call(null,J2(e,t))}var n5={YAML:function(e,t,n){var r,o,i;null!==e.version&&e5(e,"duplication of %YAML directive"),1!==n.length&&e5(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&e5(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),i=parseInt(r[2],10),1!==o&&e5(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&t5(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&e5(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],U2.test(r)||e5(e,"ill-formed tag handle (first argument) of the TAG directive"),T2.call(e.tagMap,r)&&e5(e,'there is a previously declared suffix for "'+r+'" tag handle'),M2.test(o)||e5(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=o}};function r5(e,t,n,r){var o,i,a,s;if(t<n){if(s=e.input.slice(t,n),r)for(o=0,i=s.length;o<i;o+=1)9===(a=s.charCodeAt(o))||32<=a&&a<=1114111||e5(e,"expected valid JSON character");else j2.test(s)&&e5(e,"the stream contains non-printable characters");e.result+=s}}function o5(e,t,n,r){var o,i,a,s;for(x2.isObject(n)||e5(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(o=Object.keys(n)).length;a<s;a+=1)i=o[a],T2.call(t,i)||(t[i]=n[i],r[i]=!0)}function i5(e,t,n,r,o,i,a,s){var l,c;if(Array.isArray(o))for(l=0,c=(o=Array.prototype.slice.call(o)).length;l<c;l+=1)Array.isArray(o[l])&&e5(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===X2(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===X2(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(i))for(l=0,c=i.length;l<c;l+=1)o5(e,t,i[l],n);else o5(e,t,i,n);else e.json||T2.call(n,o)||!T2.call(t,o)||(e.line=a||e.line,e.position=s||e.position,e5(e,"duplicated mapping key")),t[o]=i,delete n[o];return t}function a5(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):e5(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function s5(e,t,n){for(var r=0,o=e.input.charCodeAt(e.position);0!==o;){for(;Z2(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!F2(o))break;for(a5(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&t5(e,"deficient indentation"),r}function l5(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!V2(t)))}function c5(e,t){1===t?e.result+=" ":t>1&&(e.result+=x2.repeat("\n",t-1))}function u5(e,t){var n,r,o=e.tag,i=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&V2(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,s5(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,f5(e,t,C2,!1,!0),a.push(e.result),s5(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)e5(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function d5(e){var t,n,r,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&e5(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,i){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(r=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):e5(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!V2(o);)33===o&&(a?e5(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),U2.test(n)||e5(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),I2.test(r)&&e5(e,"tag suffix cannot contain flow indicator characters")}return r&&!M2.test(r)&&e5(e,"tag name cannot contain such characters: "+r),i?e.tag=r:T2.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:e5(e,'undeclared tag handle "'+n+'"'),!0}function p5(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&e5(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!V2(n)&&!L2(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&e5(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function f5(e,t,n,r,o){var i,a,s,l,c,u,d,p,f=1,h=!1,m=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=s=A2===n||C2===n,r&&s5(e,!0,-1)&&(h=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;d5(e)||p5(e);)s5(e,!0,-1)?(h=!0,s=i,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):s=!1;if(s&&(s=h||o),1!==f&&A2!==n||(d=E2===n||Q2===n?t:t+1,p=e.position-e.lineStart,1===f?s&&(u5(e,p)||function(e,t,n){var r,o,i,a,s,l=e.tag,c=e.anchor,u={},d={},p=null,f=null,h=null,m=!1,g=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(r=e.input.charCodeAt(e.position+1),i=e.line,a=e.position,63!==s&&58!==s||!V2(r)){if(!f5(e,n,Q2,!1,!0))break;if(e.line===i){for(s=e.input.charCodeAt(e.position);Z2(s);)s=e.input.charCodeAt(++e.position);if(58===s)V2(s=e.input.charCodeAt(++e.position))||e5(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(i5(e,u,d,p,f,null),p=f=h=null),g=!0,m=!1,o=!1,p=e.tag,f=e.result;else{if(!g)return e.tag=l,e.anchor=c,!0;e5(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=l,e.anchor=c,!0;e5(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(i5(e,u,d,p,f,null),p=f=h=null),g=!0,m=!0,o=!0):m?(m=!1,o=!0):e5(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=r;if((e.line===i||e.lineIndent>t)&&(f5(e,t,A2,!0,o)&&(m?f=e.result:h=e.result),m||(i5(e,u,d,p,f,h,i,a),p=f=h=null),s5(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)e5(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&i5(e,u,d,p,f,null),g&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=u),g}(e,p,d))||function(e,t){var n,r,o,i,a,s,l,c,u,d,p=!0,f=e.tag,h=e.anchor,m={};if(91===(d=e.input.charCodeAt(e.position)))o=93,s=!1,r=[];else{if(123!==d)return!1;o=125,s=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),d=e.input.charCodeAt(++e.position);0!==d;){if(s5(e,!0,t),(d=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=f,e.anchor=h,e.kind=s?"mapping":"sequence",e.result=r,!0;p||e5(e,"missed comma between flow collection entries"),u=null,i=a=!1,63===d&&V2(e.input.charCodeAt(e.position+1))&&(i=a=!0,e.position++,s5(e,!0,t)),n=e.line,f5(e,t,E2,!1,!0),c=e.tag,l=e.result,s5(e,!0,t),d=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==d||(i=!0,d=e.input.charCodeAt(++e.position),s5(e,!0,t),f5(e,t,E2,!1,!0),u=e.result),s?i5(e,r,m,c,l,u):i?r.push(i5(e,null,m,c,l,u)):r.push(l),s5(e,!0,t),44===(d=e.input.charCodeAt(e.position))?(p=!0,d=e.input.charCodeAt(++e.position)):p=!1}e5(e,"unexpected end of the stream within a flow collection")}(e,d)?m=!0:(a&&function(e,t){var n,r,o,i,a,s=R2,l=!1,c=!1,u=t,d=0,p=!1;if(124===(i=e.input.charCodeAt(e.position)))r=!1;else{if(62!==i)return!1;r=!0}for(e.kind="scalar",e.result="";0!==i;)if(43===(i=e.input.charCodeAt(++e.position))||45===i)R2===s?s=43===i?N2:D2:e5(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(a=i)&&a<=57?a-48:-1)>=0))break;0===o?e5(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?e5(e,"repeat of an indentation width identifier"):(u=t+o-1,c=!0)}if(Z2(i)){do{i=e.input.charCodeAt(++e.position)}while(Z2(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!F2(i)&&0!==i)}for(;0!==i;){for(a5(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>u&&(u=e.lineIndent),F2(i))d++;else{if(e.lineIndent<u){s===N2?e.result+=x2.repeat("\n",l?1+d:d):s===R2&&l&&(e.result+="\n");break}for(r?Z2(i)?(p=!0,e.result+=x2.repeat("\n",l?1+d:d)):p?(p=!1,e.result+=x2.repeat("\n",d+1)):0===d?l&&(e.result+=" "):e.result+=x2.repeat("\n",d):e.result+=x2.repeat("\n",l?1+d:d),l=!0,c=!0,d=0,n=e.position;!F2(i)&&0!==i;)i=e.input.charCodeAt(++e.position);r5(e,n,e.position,!1)}}return!0}(e,d)||function(e,t){var n,r,o;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(r5(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,o=e.position}else F2(n)?(r5(e,r,o,!0),c5(e,s5(e,!1,t)),r=o=e.position):e.position===e.lineStart&&l5(e)?e5(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);e5(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var n,r,o,i,a,s,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return r5(e,n,e.position,!0),e.position++,!0;if(92===s){if(r5(e,n,e.position,!0),F2(s=e.input.charCodeAt(++e.position)))s5(e,!1,t);else if(s<256&&Y2[s])e.result+=H2[s],e.position++;else if((a=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(o=a,i=0;o>0;o--)(a=z2(s=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:e5(e,"expected hexadecimal character");e.result+=B2(i),e.position++}else e5(e,"unknown escape sequence");n=r=e.position}else F2(s)?(r5(e,n,r,!0),c5(e,s5(e,!1,t)),n=r=e.position):e.position===e.lineStart&&l5(e)?e5(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}e5(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?m=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!V2(r)&&!L2(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&e5(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),T2.call(e.anchorMap,n)||e5(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],s5(e,!0,-1),!0}(e)?function(e,t,n){var r,o,i,a,s,l,c,u,d=e.kind,p=e.result;if(V2(u=e.input.charCodeAt(e.position))||L2(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(V2(r=e.input.charCodeAt(e.position+1))||n&&L2(r)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==u;){if(58===u){if(V2(r=e.input.charCodeAt(e.position+1))||n&&L2(r))break}else if(35===u){if(V2(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&l5(e)||n&&L2(u))break;if(F2(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,s5(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(r5(e,o,i,!1),c5(e,e.line-s),o=i=e.position,a=!1),Z2(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return r5(e,o,i,!1),!!e.result||(e.kind=d,e.result=p,!1)}(e,d,E2===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||e5(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(m=s&&u5(e,p))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&e5(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((u=e.implicitTypes[l]).resolve(e.result)){e.result=u.construct(e.result),e.tag=u.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else T2.call(e.typeMap[e.kind||"fallback"],e.tag)?(u=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&u.kind!==e.kind&&e5(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):e5(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):e5(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function h5(e){var t,n,r,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(s5(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!V2(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&e5(e,"directive name must not be less than one character in length");0!==o;){for(;Z2(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!F2(o));break}if(F2(o))break;for(t=e.position;0!==o&&!V2(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&a5(e),T2.call(n5,n)?n5[n](e,n,r):t5(e,'unknown document directive "'+n+'"')}s5(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,s5(e,!0,-1)):a&&e5(e,"directives end mark is expected"),f5(e,e.lineIndent-1,A2,!1,!0),s5(e,!0,-1),e.checkLineBreaks&&q2.test(e.input.slice(i,e.position))&&t5(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&l5(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,s5(e,!0,-1)):e.position<e.length-1&&e5(e,"end of the stream or a document separator is expected")}function m5(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new K2(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,e5(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)h5(n);return n.documents}function g5(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=m5(e,n);if("function"!=typeof t)return r;for(var o=0,i=r.length;o<i;o+=1)t(r[o])}function O5(e,t){var n=m5(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new k2("expected a single document in the stream, but found more")}}w1.loadAll=g5,w1.load=O5,w1.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),g5(e,t,x2.extend({schema:P2},n))},w1.safeLoad=function(e,t){return O5(e,x2.extend({schema:P2},t))};var y5={},b5=S1,v5=$1,w5=S2,S5=g2,x5=Object.prototype.toString,k5=Object.prototype.hasOwnProperty,$5=9,P5=10,_5=13,T5=32,E5=33,Q5=34,C5=35,A5=37,R5=38,D5=39,N5=42,j5=44,q5=45,I5=58,U5=61,M5=62,X5=63,F5=64,Z5=91,V5=93,L5=96,z5=123,W5=124,B5=125,Y5={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},H5=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function G5(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else{if(!(e<=4294967295))throw new v5("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+b5.repeat("0",r-t.length)+t}function K5(e){this.schema=e.schema||w5,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=b5.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,o,i,a,s,l;if(null===t)return{};for(n={},o=0,i=(r=Object.keys(t)).length;o<i;o+=1)a=r[o],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=e.compiledTypeMap.fallback[a])&&k5.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function J5(e,t){for(var n,r=b5.repeat(" ",t),o=0,i=-1,a="",s=e.length;o<s;)-1===(i=e.indexOf("\n",o))?(n=e.slice(o),o=s):(n=e.slice(o,i+1),o=i+1),n.length&&"\n"!==n&&(a+=r),a+=n;return a}function e3(e,t){return"\n"+b5.repeat(" ",e.indent*t)}function t3(e){return e===T5||e===$5}function n3(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function r3(e,t){return n3(e)&&65279!==e&&e!==j5&&e!==Z5&&e!==V5&&e!==z5&&e!==B5&&e!==I5&&(e!==C5||t&&function(e){return n3(e)&&!t3(e)&&65279!==e&&e!==_5&&e!==P5}(t))}function o3(e){return/^\n* /.test(e)}var i3=1,a3=2,s3=3,l3=4,c3=5;function u3(e,t,n,r,o){var i,a,s,l,c=!1,u=!1,d=-1!==r,p=-1,f=n3(l=e.charCodeAt(0))&&65279!==l&&!t3(l)&&l!==q5&&l!==X5&&l!==I5&&l!==j5&&l!==Z5&&l!==V5&&l!==z5&&l!==B5&&l!==C5&&l!==R5&&l!==N5&&l!==E5&&l!==W5&&l!==U5&&l!==M5&&l!==D5&&l!==Q5&&l!==A5&&l!==F5&&l!==L5&&!t3(e.charCodeAt(e.length-1));if(t)for(i=0;i<e.length;i++){if(!n3(a=e.charCodeAt(i)))return c3;s=i>0?e.charCodeAt(i-1):null,f=f&&r3(a,s)}else{for(i=0;i<e.length;i++){if((a=e.charCodeAt(i))===P5)c=!0,d&&(u=u||i-p-1>r&&" "!==e[p+1],p=i);else if(!n3(a))return c3;s=i>0?e.charCodeAt(i-1):null,f=f&&r3(a,s)}u=u||d&&i-p-1>r&&" "!==e[p+1]}return c||u?n>9&&o3(e)?c3:u?l3:s3:f&&!o(e)?i3:a3}function d3(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==H5.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),a=r||e.flowLevel>-1&&n>=e.flowLevel;switch(u3(t,a,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}))){case i3:return t;case a3:return"'"+t.replace(/'/g,"''")+"'";case s3:return"|"+p3(t,e.indent)+f3(J5(t,o));case l3:return">"+p3(t,e.indent)+f3(J5(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,i=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,h3(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var l=r[1],c=r[2];n=" "===c[0],i+=l+(a||n||""===c?"":"\n")+h3(c,t),a=n}return i}(t,i),o));case c3:return'"'+function(e){for(var t,n,r,o="",i=0;i<e.length;i++)(t=e.charCodeAt(i))>=55296&&t<=56319&&(n=e.charCodeAt(i+1))>=56320&&n<=57343?(o+=G5(1024*(t-55296)+n-56320+65536),i++):o+=!(r=Y5[t])&&n3(t)?e[i]:r||G5(t);return o}(t)+'"';default:throw new v5("impossible error: invalid scalar style")}}()}function p3(e,t){var n=o3(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function f3(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function h3(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,i=0,a=0,s=0,l="";n=o.exec(e);)(s=n.index)-i>t&&(r=a>i?a:s,l+="\n"+e.slice(i,r),i=r+1),a=s;return l+="\n",e.length-i>t&&a>i?l+=e.slice(i,a)+"\n"+e.slice(a+1):l+=e.slice(i),l.slice(1)}function m3(e,t,n){var r,o,i,a,s,l;for(i=0,a=(o=n?e.explicitTypes:e.implicitTypes).length;i<a;i+=1)if(((s=o[i]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof t&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=n?s.tag:"?",s.represent){if(l=e.styleMap[s.tag]||s.defaultStyle,"[object Function]"===x5.call(s.represent))r=s.represent(t,l);else{if(!k5.call(s.represent,l))throw new v5("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');r=s.represent[l](t,l)}e.dump=r}return!0}return!1}function g3(e,t,n,r,o,i){e.tag=null,e.dump=n,m3(e,n,!1)||m3(e,n,!0);var a=x5.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var s,l,c="[object Object]"===a||"[object Array]"===a;if(c&&(l=-1!==(s=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&t>0)&&(o=!1),l&&e.usedDuplicates[s])e.dump="*ref_"+s;else{if(c&&l&&!e.usedDuplicates[s]&&(e.usedDuplicates[s]=!0),"[object Object]"===a)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,i,a,s,l,c,u="",d=e.tag,p=Object.keys(n);if(!0===e.sortKeys)p.sort();else if("function"==typeof e.sortKeys)p.sort(e.sortKeys);else if(e.sortKeys)throw new v5("sortKeys must be a boolean or a function");for(o=0,i=p.length;o<i;o+=1)c="",r&&0===o||(c+=e3(e,t)),s=n[a=p[o]],g3(e,t+1,a,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&P5===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=e3(e,t)),g3(e,t+1,s,!0,l)&&(e.dump&&P5===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump));e.tag=d,e.dump=u||"{}"}(e,t,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(!function(e,t,n){var r,o,i,a,s,l="",c=e.tag,u=Object.keys(n);for(r=0,o=u.length;r<o;r+=1)s="",0!==r&&(s+=", "),e.condenseFlow&&(s+='"'),a=n[i=u[r]],g3(e,t,i,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),g3(e,t,a,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump));else if("[object Array]"===a){var u=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var o,i,a="",s=e.tag;for(o=0,i=n.length;o<i;o+=1)g3(e,t+1,n[o],!0,!0)&&(r&&0===o||(a+=e3(e,t)),e.dump&&P5===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}(e,u,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(!function(e,t,n){var r,o,i="",a=e.tag;for(r=0,o=n.length;r<o;r+=1)g3(e,t,n[r],!1,!1)&&(0!==r&&(i+=","+(e.condenseFlow?"":" ")),i+=e.dump);e.tag=a,e.dump="["+i+"]"}(e,u,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump))}else{if("[object String]"!==a){if(e.skipInvalid)return!1;throw new v5("unacceptable kind of an object to dump "+a)}"?"!==e.tag&&d3(e,e.dump,t,i)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function O3(e,t){var n,r,o=[],i=[];for(y3(e,o,i),n=0,r=i.length;n<r;n+=1)t.duplicates.push(o[i[n]]);t.usedDuplicates=new Array(r)}function y3(e,t,n){var r,o,i;if(null!==e&&"object"==typeof e)if(-1!==(o=t.indexOf(e)))-1===n.indexOf(o)&&n.push(o);else if(t.push(e),Array.isArray(e))for(o=0,i=e.length;o<i;o+=1)y3(e[o],t,n);else for(o=0,i=(r=Object.keys(e)).length;o<i;o+=1)y3(e[r[o]],t,n)}function b3(e,t){var n=new K5(t=t||{});return n.noRefs||O3(e,n),g3(n,0,e,!0,!0)?n.dump+"\n":""}y5.dump=b3,y5.safeDump=function(e,t){return b3(e,b5.extend({schema:S5},t))};var v3=w1,w3=y5;function S3(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}v1.Type=A1,v1.Schema=I1,v1.FAILSAFE_SCHEMA=U1,v1.JSON_SCHEMA=H1,v1.CORE_SCHEMA=G1,v1.DEFAULT_SAFE_SCHEMA=g2,v1.DEFAULT_FULL_SCHEMA=S2,v1.load=v3.load,v1.loadAll=v3.loadAll,v1.safeLoad=v3.safeLoad,v1.safeLoadAll=v3.safeLoadAll,v1.dump=w3.dump,v1.safeDump=w3.safeDump,v1.YAMLException=$1,v1.MINIMAL_SCHEMA=U1,v1.SAFE_SCHEMA=g2,v1.DEFAULT_SCHEMA=S2,v1.scan=S3("scan"),v1.parse=S3("parse"),v1.compose=S3("compose"),v1.addConstructor=S3("addConstructor");var x3=v1;const{ParserError:k3}=d1,$3=x3;var P3={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],async parse(e){let t=e.data;if(i.Buffer.isBuffer(t)&&(t=t.toString()),"string"!=typeof t)return t;try{return $3.safeLoad(t)}catch(Oc){throw new k3(Oc.message,e.url)}}};const{ParserError:_3}=d1;let T3=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;var E3={order:300,allowEmpty:!0,encoding:"utf8",canParse:e=>("string"==typeof e.data||i.Buffer.isBuffer(e.data))&&T3.test(e.url),parse(e){if("string"==typeof e.data)return e.data;if(i.Buffer.isBuffer(e.data))return e.data.toString(this.encoding);throw new _3("data is not text",e.url)}};let Q3=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;var C3={order:400,allowEmpty:!0,canParse:e=>i.Buffer.isBuffer(e.data)&&Q3.test(e.url),parse:e=>i.Buffer.isBuffer(e.data)?e.data:i.Buffer.from(e.data)};const A3=o(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),{ono:R3}=fW,D3=Vz,{ResolverError:N3}=d1;var j3={order:100,canRead:e=>D3.isFileSystemPath(e.url),read:e=>new Promise(((t,n)=>{let r;try{r=D3.toFileSystemPath(e.url)}catch(o){n(new N3(R3.uri(o,`Malformed URI: ${e.url}`),e.url))}try{A3.readFile(r,((e,o)=>{e?n(new N3(R3(e,`Error opening file "${r}"`),r)):t(o)}))}catch(o){n(new N3(R3(o,`Error opening file "${r}"`),r))}}))},q3={},I3={exports:{}},U3={};!function(e){var t;function r(){if(void 0!==t)return t;if(n.XMLHttpRequest){t=new n.XMLHttpRequest;try{t.open("GET",n.XDomainRequest?"/":"https://example.com")}catch(Oc){t=null}}else t=null;return t}function o(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(Oc){}return!1}function i(e){return"function"==typeof e}e.fetch=i(n.fetch)&&i(n.ReadableStream),e.writableStream=i(n.WritableStream),e.abortController=i(n.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!r()&&i(r().overrideMimeType),t=null}(U3);var M3,X3={},F3={exports:{}},Z3={exports:{}},V3="object"==typeof Reflect?Reflect:null,L3=V3&&"function"==typeof V3.apply?V3.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};M3=V3&&"function"==typeof V3.ownKeys?V3.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var z3=Number.isNaN||function(e){return e!=e};function W3(){W3.init.call(this)}Z3.exports=W3,Z3.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}r4(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&r4(e,"error",t,n)}(e,o,{once:!0})}))},W3.EventEmitter=W3,W3.prototype._events=void 0,W3.prototype._eventsCount=0,W3.prototype._maxListeners=void 0;var B3=10;function Y3(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function H3(e){return void 0===e._maxListeners?W3.defaultMaxListeners:e._maxListeners}function G3(e,t,n,r){var o,i,a,s;if(Y3(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=H3(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function K3(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function J3(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=K3.bind(r);return o.listener=n,r.wrapFn=o,o}function e4(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):n4(o,o.length)}function t4(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function n4(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function r4(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(W3,"defaultMaxListeners",{enumerable:!0,get:function(){return B3},set:function(e){if("number"!=typeof e||e<0||z3(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");B3=e}}),W3.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},W3.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||z3(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},W3.prototype.getMaxListeners=function(){return H3(this)},W3.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)L3(s,this,t);else{var l=s.length,c=n4(s,l);for(n=0;n<l;++n)L3(c[n],this,t)}return!0},W3.prototype.addListener=function(e,t){return G3(this,e,t,!1)},W3.prototype.on=W3.prototype.addListener,W3.prototype.prependListener=function(e,t){return G3(this,e,t,!0)},W3.prototype.once=function(e,t){return Y3(t),this.on(e,J3(this,e,t)),this},W3.prototype.prependOnceListener=function(e,t){return Y3(t),this.prependListener(e,J3(this,e,t)),this},W3.prototype.removeListener=function(e,t){var n,r,o,i,a;if(Y3(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},W3.prototype.off=W3.prototype.removeListener,W3.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},W3.prototype.listeners=function(e){return e4(this,e,!0)},W3.prototype.rawListeners=function(e){return e4(this,e,!1)},W3.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):t4.call(e,t)},W3.prototype.listenerCount=t4,W3.prototype.eventNames=function(){return this._eventsCount>0?M3(this._events):[]};var o4,i4,a4=Z3.exports,s4=a4.EventEmitter;function l4(){if(i4)return o4;function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}i4=1;var i=a.Buffer,s=CZ.inspect,l=s&&s.custom||"inspect";return o4=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var n,o,a;return n=e,o=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return i.alloc(0);for(var t,n,r,o=i.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,r=s,i.prototype.copy.call(t,n,r),s+=a.data.length,a=a.next;return o}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=i.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0==(e-=a)){a===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++r}return this.length-=r,t}},{key:l,value:function(e,n){return s(this,t(t({},n),{},{depth:0,customInspect:!1}))}}],o&&r(n.prototype,o),a&&r(n,a),Object.defineProperty(n,"prototype",{writable:!1}),e}(),o4}function c4(e,t){d4(e,t),u4(e)}function u4(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function d4(e,t){e.emit("error",t)}var p4={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return r||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.process.nextTick(d4,this,e)):i.process.nextTick(d4,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?i.process.nextTick(u4,n):(n._writableState.errorEmitted=!0,i.process.nextTick(c4,n,e)):i.process.nextTick(c4,n,e):t?(i.process.nextTick(u4,n),t(e)):i.process.nextTick(u4,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},f4={};var h4={};function m4(e,t,n){n||(n=Error);var r=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);r.prototype.name=n.name,r.prototype.code=e,h4[e]=r}function g4(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}m4("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),m4("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(g4(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(g4(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),m4("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),m4("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),m4("ERR_STREAM_PREMATURE_CLOSE","Premature close"),m4("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),m4("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),m4("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),m4("ERR_STREAM_WRITE_AFTER_END","write after end"),m4("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m4("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),m4("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),f4.codes=h4;var O4=f4.codes.ERR_INVALID_OPT_VALUE;var y4,b4,v4,w4,S4={getHighWaterMark:function(e,t,n,r){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new O4(r?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}},x4=function(e,t){if(k4("noDeprecation"))return e;var n=!1;return function(){if(!n){if(k4("throwDeprecation"))throw new Error(t);k4("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function k4(e){try{if(!n.localStorage)return!1}catch(oOe){return!1}var t=n.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}function $4(){if(b4)return y4;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var t;b4=1,y4=k,k.WritableState=x;var r={deprecate:x4},o=s4,s=a.Buffer,l=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,u=p4,d=S4.getHighWaterMark,p=f4.codes,f=p.ERR_INVALID_ARG_TYPE,h=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,g=p.ERR_STREAM_CANNOT_PIPE,O=p.ERR_STREAM_DESTROYED,y=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,v=p.ERR_UNKNOWN_ENCODING,w=u.errorOrDestroy;function S(){}function x(n,r,o){t=t||P4(),n=n||{},"boolean"!=typeof o&&(o=r instanceof t),this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=d(this,n,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===n.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.process.nextTick(o,r),i.process.nextTick(Q,e,t),e._writableState.errorEmitted=!0,w(e,r)):(o(r),e._writableState.errorEmitted=!0,w(e,r),Q(e,t))}(e,n,r,t,o);else{var a=T(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?i.process.nextTick(P,e,n,a,o):P(e,n,a,o)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function k(e){var n=this instanceof(t=t||P4());if(!n&&!c.call(k,this))return new k(e);this._writableState=new x(e,this,n),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function $(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new O("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function P(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),Q(e,t)}function _(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var o=n.bufferedRequestCount,i=new Array(o),a=n.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,$(t,n,!0,n.length,i,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,d=r.callback;if($(t,n,!1,n.objectMode?1:c.length,c,u,d),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function E(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),Q(e,t)}))}function Q(e,t){var n=T(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.process.nextTick(E,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return XL(k,o),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(oOe){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===k&&(e&&e._writableState instanceof x)}})):c=function(e){return e instanceof this},k.prototype.pipe=function(){w(this,new g)},k.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,c=!o.objectMode&&(r=e,s.isBuffer(r)||r instanceof l);return c&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),c?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=S),o.ending?function(e,t){var n=new b;w(e,n),i.process.nextTick(t,n)}(this,n):(c||function(e,t,n,r){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(w(e,o),i.process.nextTick(r,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var l=t.objectMode?1:r.length;t.length+=l;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else $(e,t,!1,l,r,o,i);return c}(this,o,c,e,t,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||_(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new h("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,Q(e,t),n&&(t.finished?i.process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=u.destroy,k.prototype._undestroy=u.undestroy,k.prototype._destroy=function(e,t){t(e)},y4}function P4(){if(w4)return v4;w4=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};v4=s;var t=F4(),n=$4();XL(s,t);for(var r=e(n.prototype),o=0;o<r.length;o++){var a=r[o];s.prototype[a]||(s.prototype[a]=n.prototype[a])}function s(e){if(!(this instanceof s))return new s(e);t.call(this,e),n.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||i.process.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),v4}var _4,T4,E4={},Q4={exports:{}};function C4(){if(T4)return E4;T4=1;var e=(_4||(_4=1,function(e,t){var n=a,r=n.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),i.prototype=Object.create(r.prototype),o(r,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=r(e);return void 0!==t?"string"==typeof n?o.fill(t,n):o.fill(t):o.fill(0),o},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}(Q4,Q4.exports)),Q4.exports).Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(n){var r;switch(this.encoding=function(n){var r=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(n);if("string"!=typeof r&&(e.isEncoding===t||!t(n)))throw new Error("Unknown encoding: "+n);return r||n}(n),this.encoding){case"utf16le":this.text=i,this.end=s,r=4;break;case"utf8":this.fillLast=o,r=4;break;case"base64":this.text=l,this.end=c,r=3;break;default:return this.write=u,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(r)}function r(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function i(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}return E4.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var n=function(e,t,n){var o=t.length-1;if(o<n)return 0;var i=r(t[o]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--o<n||-2===i)return 0;if(i=r(t[o]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--o<n||-2===i)return 0;if(i=r(t[o]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var o=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,o),e.toString("utf8",t,o)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},E4}var A4=f4.codes.ERR_STREAM_PREMATURE_CLOSE;function R4(){}var D4,N4,j4,q4,I4,U4,M4=function e(t,n,r){if("function"==typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(r||R4);var o=n.readable||!1!==n.readable&&t.readable,i=n.writable||!1!==n.writable&&t.writable,a=function(){t.writable||l()},s=t._writableState&&t._writableState.finished,l=function(){i=!1,s=!0,o||r.call(t)},c=t._readableState&&t._readableState.endEmitted,u=function(){o=!1,c=!0,i||r.call(t)},d=function(e){r.call(t,e)},p=function(){var e;return o&&!c?(t._readableState&&t._readableState.ended||(e=new A4),r.call(t,e)):i&&!s?(t._writableState&&t._writableState.ended||(e=new A4),r.call(t,e)):void 0},f=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",a),t.on("close",a)):(t.on("complete",l),t.on("abort",p),t.req?f():t.on("request",f)),t.on("end",u),t.on("finish",l),!1!==n.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",f),t.req&&t.req.removeListener("finish",l),t.removeListener("end",a),t.removeListener("close",a),t.removeListener("finish",l),t.removeListener("end",u),t.removeListener("error",d),t.removeListener("close",p)}};function X4(){if(N4)return D4;var e;function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}N4=1;var n=M4,r=Symbol("lastResolve"),o=Symbol("lastReject"),a=Symbol("error"),s=Symbol("ended"),l=Symbol("lastPromise"),c=Symbol("handlePromise"),u=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[r];if(null!==t){var n=e[u].read();null!==n&&(e[l]=null,e[r]=null,e[o]=null,t(d(n,!1)))}}function f(e){i.process.nextTick(p,e)}var h=Object.getPrototypeOf((function(){})),m=Object.setPrototypeOf((t(e={get stream(){return this[u]},next:function(){var e=this,t=this[a];if(null!==t)return Promise.reject(t);if(this[s])return Promise.resolve(d(void 0,!0));if(this[u].destroyed)return new Promise((function(t,n){i.process.nextTick((function(){e[a]?n(e[a]):t(d(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[s]?n(d(void 0,!0)):t[c](n,r)}),r)}}(r,this));else{var o=this[u].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[c])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),t(e,"return",(function(){var e=this;return new Promise((function(t,n){e[u].destroy(null,(function(e){e?n(e):t(d(void 0,!0))}))}))})),e),h);return D4=function(e){var i,p=Object.create(m,(t(i={},u,{value:e,writable:!0}),t(i,r,{value:null,writable:!0}),t(i,o,{value:null,writable:!0}),t(i,a,{value:null,writable:!0}),t(i,s,{value:e._readableState.endEmitted,writable:!0}),t(i,c,{value:function(e,t){var n=p[u].read();n?(p[l]=null,p[r]=null,p[o]=null,e(d(n,!1))):(p[r]=e,p[o]=t)},writable:!0}),i));return p[l]=null,n(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=p[o];return null!==t&&(p[l]=null,p[r]=null,p[o]=null,t(e)),void(p[a]=e)}var n=p[r];null!==n&&(p[l]=null,p[r]=null,p[o]=null,n(d(void 0,!0))),p[s]=!0})),e.on("readable",f.bind(null,p)),p}}function F4(){if(U4)return I4;var e;U4=1,I4=k,k.ReadableState=x,a4.EventEmitter;var t=function(e,t){return e.listeners(t).length},r=s4,o=a.Buffer,s=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,c=CZ;l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,d,p,f=l4(),h=p4,m=S4.getHighWaterMark,g=f4.codes,O=g.ERR_INVALID_ARG_TYPE,y=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;XL(k,r);var w=h.errorOrDestroy,S=["error","close","destroy","pause","resume"];function x(t,n,r){e=e||P4(),t=t||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",r),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=C4().StringDecoder),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function k(t){if(e=e||P4(),!(this instanceof k))return new k(t);var n=this instanceof e;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function $(e,t,n,r,i){l("readableAddChunk",t);var a,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?E(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Q(e)))}(e,c);else if(i||(a=function(e,t){var n;r=t,o.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new O("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(c,t)),a)w(e,a);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),r)c.endEmitted?w(e,new v):P(e,c,t,!0);else if(c.ended)w(e,new y);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?P(e,c,t,!1):C(e,c)):P(e,c,t,!1)}else r||(c.reading=!1,C(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function P(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),C(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=h.destroy,k.prototype._undestroy=h.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=o.from(e,t),t=""),n=!0),$(this,e,t,!1,n)},k.prototype.unshift=function(e){return $(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){u||(u=C4().StringDecoder);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var _=1073741824;function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,i.process.nextTick(Q,e))}function Q(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function C(e,t){t.readingMore||(t.readingMore=!0,i.process.nextTick(A,e,t))}function A(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(l("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){l("readable nexttick read 0"),e.read(0)}function N(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function q(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function I(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.process.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function M(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}return k.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):E(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&I(this),null;var r,o=t.needReadable;return l("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",o=!0),t.ended||t.reading?l("reading or ended",o=!1):o&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=e>0?q(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&I(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){w(this,new b("_read()"))},k.prototype.pipe=function(e,n){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,n);var a=(!n||!1!==n.end)&&e!==i.process.stdout&&e!==i.process.stderr?c:g;function s(t,n){l("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",g),r.removeListener("data",p),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){l("onend"),e.end()}o.endEmitted?i.process.nextTick(a):r.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var n=e._readableState;l("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,0===n.awaitDrain&&t(e,"data")&&(n.flowing=!0,j(e))}}(r);e.on("drain",u);var d=!1;function p(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!d&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function f(n){l("onerror",n),g(),e.removeListener("error",f),0===t(e,"error")&&w(e,n)}function h(){e.removeListener("finish",m),g()}function m(){l("onfinish"),e.removeListener("close",h),g()}function g(){l("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",r),o.flowing||(l("pipe resume"),r.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=M(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,l("on readable",o.length,o.reading),o.length?E(this):o.reading||i.process.nextTick(D,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&i.process.nextTick(R,this),n},k.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.process.nextTick(R,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.process.nextTick(N,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(l("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<S.length;i++)e.on(S[i],this.emit.bind(this,S[i]));return this._read=function(t){l("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=X4()),d(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=q,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===p&&(p=q4?j4:(q4=1,j4=function(){throw new Error("Readable.from is not available in the browser")})),p(k,e,t)}),I4}var Z4=G4,V4=f4.codes,L4=V4.ERR_METHOD_NOT_IMPLEMENTED,z4=V4.ERR_MULTIPLE_CALLBACK,W4=V4.ERR_TRANSFORM_ALREADY_TRANSFORMING,B4=V4.ERR_TRANSFORM_WITH_LENGTH_0,Y4=P4();function H4(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new z4);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function G4(e){if(!(this instanceof G4))return new G4(e);Y4.call(this,e),this._transformState={afterTransform:H4.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",K4)}function K4(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?J4(this,null,null):this._flush((function(t,n){J4(e,t,n)}))}function J4(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new B4;if(e._transformState.transforming)throw new W4;return e.push(null)}XL(G4,Y4),G4.prototype.push=function(e,t){return this._transformState.needTransform=!1,Y4.prototype.push.call(this,e,t)},G4.prototype._transform=function(e,t,n){n(new L4("_transform()"))},G4.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},G4.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},G4.prototype._destroy=function(e,t){Y4.prototype._destroy.call(this,e,(function(e){t(e)}))};var e6,t6=r6,n6=Z4;function r6(e){if(!(this instanceof r6))return new r6(e);n6.call(this,e)}XL(r6,n6),r6.prototype._transform=function(e,t,n){n(null,e)};var o6=f4.codes,i6=o6.ERR_MISSING_ARGS,a6=o6.ERR_STREAM_DESTROYED;function s6(e){if(e)throw e}function l6(e){e()}function c6(e,t){return e.pipe(t)}var u6=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=function(e){return e.length?"function"!=typeof e[e.length-1]?s6:e.pop():s6}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new i6("streams");var i=t.map((function(e,n){var a=n<t.length-1;return function(e,t,n,r){r=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(r);var o=!1;e.on("close",(function(){o=!0})),void 0===e6&&(e6=M4),e6(e,{readable:t,writable:n},(function(e){if(e)return r(e);o=!0,r()}));var i=!1;return function(t){if(!o&&!i)return i=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void r(t||new a6("pipe"))}}(e,a,n>0,(function(e){r||(r=e),e&&i.forEach(l6),a||(i.forEach(l6),o(r))}))}));return t.reduce(c6)};!function(e,t){(t=e.exports=F4()).Stream=t,t.Readable=t,t.Writable=$4(),t.Duplex=P4(),t.Transform=Z4,t.PassThrough=t6,t.finished=M4,t.pipeline=u6}(F3,F3.exports);var d6=F3.exports,p6=U3,f6=XL,h6=d6,m6=X3.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},g6=X3.IncomingMessage=function(e,t,n,r){var o=this;if(h6.Readable.call(o),o._mode=n,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",(function(){i.process.nextTick((function(){o.emit("close")}))})),"fetch"===n){let e=function(){s.read().then((function(t){o._destroyed||(r(t.done),t.done?o.push(null):(o.push(i.Buffer.from(t.value)),e()))})).catch((function(e){r(!0),o._destroyed||o.emit("error",e)}))};if(o._fetchResponse=t,o.url=t.url,o.statusCode=t.status,o.statusMessage=t.statusText,t.headers.forEach((function(e,t){o.headers[t.toLowerCase()]=e,o.rawHeaders.push(t,e)})),p6.writableStream){var a=new WritableStream({write:function(e){return r(!1),new Promise((function(t,n){o._destroyed?n():o.push(i.Buffer.from(e))?t():o._resumeFetch=t}))},close:function(){r(!0),o._destroyed||o.push(null)},abort:function(e){r(!0),o._destroyed||o.emit("error",e)}});try{return void t.body.pipeTo(a).catch((function(e){r(!0),o._destroyed||o.emit("error",e)}))}catch(Oc){}}var s=t.body.getReader();e()}else{if(o._xhr=e,o._pos=0,o.url=e.responseURL,o.statusCode=e.status,o.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===o.headers[n]&&(o.headers[n]=[]),o.headers[n].push(t[2])):void 0!==o.headers[n]?o.headers[n]+=", "+t[2]:o.headers[n]=t[2],o.rawHeaders.push(t[1],t[2])}})),o._charset="x-user-defined",!p6.overrideMimeType){var l=o.rawHeaders["mime-type"];if(l){var c=l.match(/;\s*charset=([^;])(;|$)/);c&&(o._charset=c[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};f6(g6,h6.Readable),g6.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},g6.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,o=null;switch(t._mode){case"text":if((o=r.responseText).length>t._pos){var a=o.substr(t._pos);if("x-user-defined"===t._charset){for(var s=i.Buffer.alloc(a.length),l=0;l<a.length;l++)s[l]=255&a.charCodeAt(l);t.push(s)}else t.push(a,t._charset);t._pos=o.length}break;case"arraybuffer":if(r.readyState!==m6.DONE||!r.response)break;o=r.response,t.push(i.Buffer.from(new Uint8Array(o)));break;case"moz-chunked-arraybuffer":if(o=r.response,r.readyState!==m6.LOADING||!o)break;t.push(i.Buffer.from(new Uint8Array(o)));break;case"ms-stream":if(o=r.response,r.readyState!==m6.LOADING)break;var c=new n.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(i.Buffer.from(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){e(!0),t.push(null)},c.readAsArrayBuffer(o)}t._xhr.readyState===m6.DONE&&"ms-stream"!==t._mode&&(e(!0),t.push(null))};var O6=U3,y6=XL,b6=X3,v6=d6,w6=b6.IncomingMessage,S6=b6.readyStates;var x6=I3.exports=function(e){var t,n=this;v6.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+i.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var r=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!O6.abortController)r=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!O6.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=function(e,t){return O6.fetch&&t?"fetch":O6.mozchunkedarraybuffer?"moz-chunked-arraybuffer":O6.msstream?"ms-stream":O6.arraybuffer&&e?"arraybuffer":"text"}(t,r),n._fetchTimer=null,n._socketTimeout=null,n._socketTimer=null,n.on("finish",(function(){n._onFinish()}))};y6(x6,v6.Writable),x6.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===k6.indexOf(n)&&(this._headers[n]={name:e,value:t})},x6.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},x6.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},x6.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var r=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=new Blob(e._body,{type:(r["content-type"]||{}).value||""}));var a=[];if(Object.keys(r).forEach((function(e){var t=r[e].name,n=r[e].value;Array.isArray(n)?n.forEach((function(e){a.push([t,e])})):a.push([t,n])})),"fetch"===e._mode){var s=null;if(O6.abortController){var l=new AbortController;s=l.signal,e._fetchAbortController=l,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:a,body:o||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:s}).then((function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()}),(function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)}))}else{var c=e._xhr=new n.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(u){return void i.process.nextTick((function(){e.emit("error",u)}))}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),a.forEach((function(e){c.setRequestHeader(e[0],e[1])})),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case S6.LOADING:case S6.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(o)}catch(u){return void i.process.nextTick((function(){e.emit("error",u)}))}}}},x6.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(Oc){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},x6.prototype._connect=function(){var e=this;e._destroyed||(e._response=new w6(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},x6.prototype._write=function(e,t,n){this._body.push(e),n()},x6.prototype._resetTimers=function(e){var t=this;n.clearTimeout(t._socketTimer),t._socketTimer=null,e?(n.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=n.setTimeout((function(){t.emit("timeout")}),t._socketTimeout))},x6.prototype.abort=x6.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},x6.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),v6.Writable.prototype.end.call(this,e,t,n)},x6.prototype.setTimeout=function(e,t){var n=this;t&&n.once("timeout",t),n._socketTimeout=e,n._resetTimers(!1)},x6.prototype.flushHeaders=function(){},x6.prototype.setNoDelay=function(){},x6.prototype.setSocketKeepAlive=function(){};var k6=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],$6=I3.exports,P6=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)_6.call(n,r)&&(e[r]=n[r])}return e},_6=Object.prototype.hasOwnProperty;var T6={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};!function(e){var t=$6,r=X3,o=P6,i=T6,a=Zz,s=e;s.request=function(e,r){e="string"==typeof e?a.parse(e):o(e);var i=-1===n.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||i,l=e.hostname||e.host,c=e.port,u=e.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),e.url=(l?s+"//"+l:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new t(e);return r&&d.on("response",r),d},s.get=function(e,t){var n=s.request(e,t);return n.end(),n},s.ClientRequest=t,s.IncomingMessage=r.IncomingMessage,s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.globalAgent=new s.Agent,s.STATUS_CODES=i,s.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}(q3);var E6={exports:{}};!function(e){var t=q3,n=Zz,r=e.exports;for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);function i(e){if("string"==typeof e&&(e=n.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}r.request=function(e,n){return e=i(e),t.request.call(this,e,n)},r.get=function(e,n){return e=i(e),t.get.call(this,e,n)}}(E6);const Q6=q3,C6=E6.exports,{ono:A6}=fW,R6=Vz,{ResolverError:D6}=d1;function N6(e,t,n){return new Promise(((r,o)=>{e=R6.parse(e),(n=n||[]).push(e.href),function(e,t){return new Promise(((n,r)=>{let o=("https:"===e.protocol?C6:Q6).get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,protocol:e.protocol,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof o.setTimeout&&o.setTimeout(t.timeout),o.on("timeout",(()=>{o.abort()})),o.on("error",r),o.once("response",(e=>{e.body=i.Buffer.alloc(0),e.on("data",(t=>{e.body=i.Buffer.concat([e.body,i.Buffer.from(t)])})),e.on("error",r),e.on("end",(()=>{n(e)}))}))}))}(e,t).then((a=>{if(a.statusCode>=400)throw A6({status:a.statusCode},`HTTP ERROR ${a.statusCode}`);if(a.statusCode>=300)if(n.length>t.redirects)o(new D6(A6({status:a.statusCode},`Error downloading ${n[0]}. \nToo many redirects: \n ${n.join(" \n ")}`)));else{if(!a.headers.location)throw A6({status:a.statusCode},`HTTP ${a.statusCode} redirect with no location header`);N6(R6.resolve(e,a.headers.location),t,n).then(r,o)}else r(a.body||i.Buffer.alloc(0))})).catch((t=>{o(new D6(A6(t,`Error downloading ${e.href}`),e.href))}))}))}const j6=b1,q6=P3,I6=E3,U6=C3,M6=j3,X6={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:e=>R6.isHttp(e.url),read(e){let t=R6.parse(e.url);return i.process.browser&&!t.protocol&&(t.protocol=R6.parse(location.href).protocol),N6(t,this)}};var F6=Z6;function Z6(e){V6(this,Z6.defaults),V6(this,e)}function V6(e,t){if(L6(t)){let n=Object.keys(t);for(let r=0;r<n.length;r++){let o=n[r],i=t[o],a=e[o];L6(i)?e[o]=V6(a||{},i):void 0!==i&&(e[o]=i)}}return e}function L6(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}Z6.defaults={parse:{json:j6,yaml:q6,text:I6,binary:U6},resolve:{file:M6,http:X6,external:!0},continueOnError:!1,dereference:{circular:!0}};const z6=F6;var W6=function(e){let t,n,r,o;"function"==typeof(e=Array.prototype.slice.call(e))[e.length-1]&&(o=e.pop());"string"==typeof e[0]?(t=e[0],"object"==typeof e[2]?(n=e[1],r=e[2]):(n=void 0,r=e[1])):(t="",n=e[0],r=e[1]);r instanceof z6||(r=new z6(r));return{path:t,schema:n,options:r,callback:o}};const B6=F6,Y6=G0,H6=o1,G6=CZ;var K6=J6;function J6(e){B6.call(this,J6.defaults),B6.apply(this,arguments)}J6.defaults={validate:{schema:Y6,spec:H6}},G6.inherits(J6,B6);var e8,t8,n8,r8,o8="object"==typeof i.process&&"function"==typeof i.process.nextTick?i.process.nextTick:"function"==typeof setImmediate?setImmediate:function(e){setTimeout(e,0)},i8=function(e,t){return e?void t.then((function(t){o8((function(){e(null,t)}))}),(function(t){o8((function(){e(t)}))})):t},a8={exports:{}};function s8(){if(t8)return e8;t8=1,e8=u;const e=l8(),t=Vz,{JSONParserError:n,InvalidPointerError:r,MissingPointerError:o,isHandledError:i}=d1,a=/\//g,s=/~/g,l=/~1/g,c=/~0/g;function u(e,t,n){this.$ref=e,this.path=t,this.originalPath=n||t,this.value=void 0,this.circular=!1,this.indirections=0}function d(n,r){if(e.isAllowed$Ref(n.value,r)){let o=t.resolve(n.path,n.value.$ref);if(o!==n.path){let t=n.$ref.$refs._resolve(o,n.path,r);return n.indirections+=t.indirections+1,e.isExtended$Ref(n.value)?(n.value=e.dereference(n.value,t.value),!1):(n.$ref=t.$ref,n.path=t.path,n.value=t.value,!0)}n.circular=!0}}function p(e,t,r){if(!e.value||"object"!=typeof e.value)throw new n(`Error assigning $ref pointer "${e.path}". \nCannot set "${t}" of a non-object.`);return"-"===t&&Array.isArray(e.value)?e.value.push(r):e.value[t]=r,r}function f(e){if(i(e))throw e;return e}return u.prototype.resolve=function(e,n,r){let i=u.parse(this.path,this.originalPath);this.value=f(e);for(let t=0;t<i.length;t++){if(d(this,n)&&(this.path=u.join(this.path,i.slice(t))),"object"==typeof this.value&&null!==this.value&&"$ref"in this.value)return this;let e=i[t];if(void 0===this.value[e]||null===this.value[e])throw this.value=null,new o(e,this.originalPath);this.value=this.value[e]}return(!this.value||this.value.$ref&&t.resolve(this.path,this.value.$ref)!==r)&&d(this,n),this},u.prototype.set=function(e,t,n){let r,o=u.parse(this.path);if(0===o.length)return this.value=t,t;this.value=f(e);for(let i=0;i<o.length-1;i++)d(this,n),r=o[i],this.value&&void 0!==this.value[r]?this.value=this.value[r]:this.value=p(this,r,{});return d(this,n),r=o[o.length-1],p(this,r,t),e},u.parse=function(e,n){let o=t.getHash(e).substr(1);if(!o)return[];o=o.split("/");for(let t=0;t<o.length;t++)o[t]=decodeURIComponent(o[t].replace(l,"/").replace(c,"~"));if(""!==o[0])throw new r(o,void 0===n?e:n);return o.slice(1)},u.join=function(e,t){-1===e.indexOf("#")&&(e+="#"),t=Array.isArray(t)?t:[t];for(let n=0;n<t.length;n++){let r=t[n];e+="/"+encodeURIComponent(r.replace(s,"~0").replace(a,"~1"))}return e},e8}function l8(){if(r8)return n8;r8=1,n8=s;const e=s8(),{InvalidPointerError:t,isHandledError:n,normalizeError:r}=d1,{safePointerToPath:o,stripHash:i,getHash:a}=Vz;function s(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0,this.errors=void 0}return s.prototype.addError=function(e){void 0===this.errors&&(this.errors=[]),Array.isArray(e.errors)?this.errors.push(...e.errors.map(r)):this.errors.push(r(e))},s.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(Oc){return!1}},s.prototype.get=function(e,t){return this.resolve(e,t).value},s.prototype.resolve=function(r,s,l,c){let u=new e(this,r,l);try{return u.resolve(this.value,s,c)}catch(d){if(!s||!s.continueOnError||!n(d))throw d;return null===d.path&&(d.path=o(a(c))),d instanceof t&&(d.source=i(c)),this.addError(d),null}},s.prototype.set=function(t,n){let r=new e(this,t);this.value=r.set(this.value,n)},s.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},s.isExternal$Ref=function(e){return s.is$Ref(e)&&"#"!==e.$ref[0]},s.isAllowed$Ref=function(e,t){if(s.is$Ref(e)){if("#/"===e.$ref.substr(0,2)||"#"===e.$ref)return!0;if("#"!==e.$ref[0]&&(!t||t.resolve.external))return!0}},s.isExtended$Ref=function(e){return s.is$Ref(e)&&Object.keys(e).length>1},s.dereference=function(e,t){if(t&&"object"==typeof t&&s.isExtended$Ref(e)){let n={};for(let t of Object.keys(e))"$ref"!==t&&(n[t]=e[t]);for(let e of Object.keys(t))e in n||(n[e]=t[e]);return n}return t},n8}const{ono:c8}=fW,u8=l8(),d8=Vz;var p8=f8;function f8(){this.circular=!1,this._$refs={},this._root$Ref=null}function h8(e,t){let n=Object.keys(e);return(t=Array.isArray(t[0])?t[0]:Array.prototype.slice.call(t)).length>0&&t[0]&&(n=n.filter((n=>-1!==t.indexOf(e[n].pathType)))),n.map((t=>({encoded:t,decoded:"file"===e[t].pathType?d8.toFileSystemPath(t,!0):t})))}f8.prototype.paths=function(e){return h8(this._$refs,arguments).map((e=>e.decoded))},f8.prototype.values=function(e){let t=this._$refs;return h8(t,arguments).reduce(((e,n)=>(e[n.decoded]=t[n.encoded].value,e)),{})},f8.prototype.toJSON=f8.prototype.values,f8.prototype.exists=function(e,t){try{return this._resolve(e,"",t),!0}catch(Oc){return!1}},f8.prototype.get=function(e,t){return this._resolve(e,"",t).value},f8.prototype.set=function(e,t){let n=d8.resolve(this._root$Ref.path,e),r=d8.stripHash(n),o=this._$refs[r];if(!o)throw c8(`Error resolving $ref pointer "${e}". \n"${r}" not found.`);o.set(n,t)},f8.prototype._add=function(e){let t=d8.stripHash(e),n=new u8;return n.path=t,n.$refs=this,this._$refs[t]=n,this._root$Ref=this._root$Ref||n,n},f8.prototype._resolve=function(e,t,n){let r=d8.resolve(this._root$Ref.path,e),o=d8.stripHash(r),i=this._$refs[o];if(!i)throw c8(`Error resolving $ref pointer "${e}". \n"${o}" not found.`);return i.resolve(r,n,e,t)},f8.prototype._get$Ref=function(e){e=d8.resolve(this._root$Ref.path,e);let t=d8.stripHash(e);return this._$refs[t]};var m8={};function g8(e,t,n,r,o){let i=e[t];if("function"==typeof i)return i.apply(e,[n,r,o]);if(!r){if(i instanceof RegExp)return i.test(n.url);if("string"==typeof i)return i===n.extension;if(Array.isArray(i))return-1!==i.indexOf(n.extension)}return i}m8.all=function(e){return Object.keys(e).filter((t=>"object"==typeof e[t])).map((t=>(e[t].name=t,e[t])))},m8.filter=function(e,t,n){return e.filter((e=>!!g8(e,t,n)))},m8.sort=function(e){for(let t of e)t.order=t.order||Number.MAX_SAFE_INTEGER;return e.sort(((e,t)=>e.order-t.order))},m8.run=function(e,t,n,r){let o,i,a=0;return new Promise(((s,l)=>{function c(){if(o=e[a++],!o)return l(i);try{let i=g8(o,t,n,u,r);if(i&&"function"==typeof i.then)i.then(d,p);else if(void 0!==i)d(i);else if(a===e.length)throw new Error("No promise has been returned or callback has been called.")}catch(Oc){p(Oc)}}function u(e,t){e?p(e):d(t)}function d(e){s({plugin:o,result:e})}function p(e){i={plugin:o,error:e},c()}c()}))};const{ono:O8}=fW,y8=Vz,b8=m8,{ResolverError:v8,ParserError:w8,UnmatchedParserError:S8,UnmatchedResolverError:x8,isHandledError:k8}=d1;var $8=async function(e,t,n){e=y8.stripHash(e);let r=t._add(e),o={url:e,extension:y8.getExtension(e)};try{const e=await function(e,t,n){return new Promise(((r,o)=>{let i=b8.all(t.resolve);function a(n){!n&&t.continueOnError?o(new x8(e.url)):n&&"error"in n?n.error instanceof v8?o(n.error):o(new v8(n,e.url)):o(O8.syntax(`Unable to resolve $ref pointer "${e.url}"`))}i=b8.filter(i,"canRead",e),b8.sort(i),b8.run(i,"read",e,n).then(r,a)}))}(o,n,t);r.pathType=e.plugin.name,o.data=e.result;const a=await function(e,t,n){return new Promise(((r,o)=>{let a=b8.all(t.parse),s=b8.filter(a,"canParse",e),l=s.length>0?s:a;function c(t){var n;!t.plugin.allowEmpty&&(void 0===(n=t.result)||"object"==typeof n&&0===Object.keys(n).length||"string"==typeof n&&0===n.trim().length||i.Buffer.isBuffer(n)&&0===n.length)?o(O8.syntax(`Error parsing "${e.url}" as ${t.plugin.name}. \nParsed value is empty`)):r(t)}function u(n){!n&&t.continueOnError?o(new S8(e.url)):n&&"error"in n?n.error instanceof w8?o(n.error):o(new w8(n.error.message,e.url)):o(O8.syntax(`Unable to parse ${e.url}`))}b8.sort(l),b8.run(l,"parse",e,n).then(c,u)}))}(o,n,t);return r.value=a.result,a.result}catch(a){throw k8(a)&&(r.value=a),a}};const P8=l8(),_8=s8(),T8=$8,E8=Vz,{isHandledError:Q8}=d1;var C8=function(e,t){if(!t.resolve.external)return Promise.resolve();try{let n=A8(e.schema,e.$refs._root$Ref.path+"#",e.$refs,t);return Promise.all(n)}catch(Oc){return Promise.reject(Oc)}};function A8(e,t,n,r){let o=[];if(e&&"object"==typeof e&&!ArrayBuffer.isView(e))if(P8.isExternal$Ref(e))o.push(R8(e,t,n,r));else for(let i of Object.keys(e)){let a=_8.join(t,i),s=e[i];P8.isExternal$Ref(s)?o.push(R8(s,a,n,r)):o=o.concat(A8(s,a,n,r))}return o}async function R8(e,t,n,r){let o=E8.resolve(t,e.$ref),i=E8.stripHash(o);if(e=n._$refs[i])return Promise.resolve(e.value);try{let e=A8(await T8(o,n,r),i+"#",n,r);return Promise.all(e)}catch(a){if(!r.continueOnError||!Q8(a))throw a;return n._$refs[i]&&(a.source=E8.stripHash(t),a.path=E8.safePointerToPath(E8.getHash(t))),[]}}const D8=l8(),N8=s8(),j8=Vz;var q8=function(e,t){let n=[];I8(e,"schema",e.$refs._root$Ref.path+"#","#",0,n,e.$refs,t),function(e){let t,n,r;e.sort(((e,t)=>{if(e.file!==t.file)return e.file<t.file?-1:1;if(e.hash!==t.hash)return e.hash<t.hash?-1:1;if(e.circular!==t.circular)return e.circular?-1:1;if(e.extended!==t.extended)return e.extended?1:-1;if(e.indirections!==t.indirections)return e.indirections-t.indirections;if(e.depth!==t.depth)return e.depth-t.depth;{let n=e.pathFromRoot.lastIndexOf("/definitions"),r=t.pathFromRoot.lastIndexOf("/definitions");return n!==r?r-n:e.pathFromRoot.length-t.pathFromRoot.length}}));for(let o of e)o.external?o.file===t&&o.hash===n?o.$ref.$ref=r:o.file===t&&0===o.hash.indexOf(n+"/")?o.$ref.$ref=N8.join(r,N8.parse(o.hash.replace(n,"#"))):(t=o.file,n=o.hash,r=o.pathFromRoot,o.$ref=o.parent[o.key]=D8.dereference(o.$ref,o.value),o.circular&&(o.$ref.$ref=o.pathFromRoot)):o.$ref.$ref=o.hash}(n)};function I8(e,t,n,r,o,i,a,s){let l=null===t?e:e[t];if(l&&"object"==typeof l&&!ArrayBuffer.isView(l))if(D8.isAllowed$Ref(l))U8(e,t,n,r,o,i,a,s);else{let e=Object.keys(l).sort(((e,t)=>"definitions"===e?-1:"definitions"===t?1:e.length-t.length));for(let t of e){let e=N8.join(n,t),c=N8.join(r,t),u=l[t];D8.isAllowed$Ref(u)?U8(l,t,n,c,o,i,a,s):I8(l,t,e,c,o,i,a,s)}}}function U8(e,t,n,r,o,i,a,s){let l=null===t?e:e[t],c=j8.resolve(n,l.$ref),u=a._resolve(c,r,s);if(null===u)return;let d=N8.parse(r).length,p=j8.stripHash(u.path),f=j8.getHash(u.path),h=p!==a._root$Ref.path,m=D8.isExtended$Ref(l);o+=u.indirections;let g=function(e,t,n){for(let r=0;r<e.length;r++){let o=e[r];if(o.parent===t&&o.key===n)return o}}(i,e,t);if(g){if(!(d<g.depth||o<g.indirections))return;!function(e,t){let n=e.indexOf(t);e.splice(n,1)}(i,g)}i.push({$ref:l,parent:e,key:t,pathFromRoot:r,depth:d,file:p,hash:f,value:u.value,circular:u.circular,extended:m,external:h,indirections:o}),g||I8(u.value,null,u.path,r,o+1,i,a,s)}const M8=l8(),X8=s8(),{ono:F8}=fW,Z8=Vz;var V8=function(e,t){let n=L8(e.schema,e.$refs._root$Ref.path,"#",[],[],{},e.$refs,t);e.$refs.circular=n.circular,e.schema=n.value};function L8(e,t,n,r,o,i,a,s){let l,c={value:e,circular:!1};if(("ignore"===s.dereference.circular||-1===o.indexOf(e))&&e&&"object"==typeof e&&!ArrayBuffer.isView(e)){if(r.push(e),o.push(e),M8.isAllowed$Ref(e,s))l=z8(e,t,n,r,o,i,a,s),c.circular=l.circular,c.value=l.value;else for(let u of Object.keys(e)){let d=X8.join(t,u),p=X8.join(n,u),f=e[u],h=!1;M8.isAllowed$Ref(f,s)?(l=z8(f,d,p,r,o,i,a,s),h=l.circular,e[u]!==l.value&&(e[u]=l.value)):-1===r.indexOf(f)?(l=L8(f,d,p,r,o,i,a,s),h=l.circular,e[u]!==l.value&&(e[u]=l.value)):h=W8(d,a,s),c.circular=c.circular||h}r.pop()}return c}function z8(e,t,n,r,o,i,a,s){let l=Z8.resolve(t,e.$ref);if(i[l]){const t=i[l],n=Object.keys(e);if(n.length>1){const r={};for(let o of n)"$ref"===o||o in t.value||(r[o]=e[o]);return{circular:t.circular,value:Object.assign({},t.value,r)}}return t}let c=a._resolve(l,t,s);if(null===c)return{circular:!1,value:null};let u=c.circular,d=u||-1!==r.indexOf(c.value);d&&W8(t,a,s);let p=M8.dereference(e,c.value);if(!d){let e=L8(p,c.path,n,r,o,i,a,s);d=e.circular,p=e.value}d&&!u&&"ignore"===s.dereference.circular&&(p=e),u&&(p.$ref=n);const f={circular:d,value:p};return 1===Object.keys(e).length&&(i[l]=f),f}function W8(e,t,n){if(t.circular=!0,!n.dereference.circular)throw F8.reference(`Circular $ref pointer found at ${e}`);return!0}const B8=p8,Y8=$8,H8=W6,G8=C8,K8=q8,J8=V8,e7=Vz,{JSONParserError:t7,InvalidPointerError:n7,MissingPointerError:r7,ResolverError:o7,ParserError:i7,UnmatchedParserError:a7,UnmatchedResolverError:s7,isHandledError:l7,JSONParserErrorGroup:c7}=d1,u7=i8,{ono:d7}=fW;function p7(){this.schema=null,this.$refs=new B8}function f7(e){if(c7.getParserErrors(e).length>0)throw new c7(e)}a8.exports=p7,a8.exports.default=p7,a8.exports.JSONParserError=t7,a8.exports.InvalidPointerError=n7,a8.exports.MissingPointerError=r7,a8.exports.ResolverError=o7,a8.exports.ParserError=i7,a8.exports.UnmatchedParserError=a7,a8.exports.UnmatchedResolverError=s7,p7.parse=function(e,t,n,r){let o=new this;return o.parse.apply(o,arguments)},p7.prototype.parse=async function(e,t,n,r){let o,a=H8(arguments);if(!a.path&&!a.schema){let e=d7(`Expected a file path, URL, or object. Got ${a.path||a.schema}`);return u7(a.callback,Promise.reject(e))}this.schema=null,this.$refs=new B8;let s="http";if(e7.isFileSystemPath(a.path)&&(a.path=e7.fromFileSystemPath(a.path),s="file"),a.path=e7.resolve(e7.cwd(),a.path),a.schema&&"object"==typeof a.schema){let e=this.$refs._add(a.path);e.value=a.schema,e.pathType=s,o=Promise.resolve(a.schema)}else o=Y8(a.path,this.$refs,a.options);let l=this;try{let e=await o;if(null===e||"object"!=typeof e||i.Buffer.isBuffer(e)){if(a.options.continueOnError)return l.schema=null,u7(a.callback,Promise.resolve(l.schema));throw d7.syntax(`"${l.$refs._root$Ref.path||e}" is not a valid JSON Schema`)}return l.schema=e,u7(a.callback,Promise.resolve(l.schema))}catch(c){return a.options.continueOnError&&l7(c)?(this.$refs._$refs[e7.stripHash(a.path)]&&this.$refs._$refs[e7.stripHash(a.path)].addError(c),u7(a.callback,Promise.resolve(null))):u7(a.callback,Promise.reject(c))}},p7.resolve=function(e,t,n,r){let o=new this;return o.resolve.apply(o,arguments)},p7.prototype.resolve=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.parse(i.path,i.schema,i.options),await G8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.$refs))}catch(a){return u7(i.callback,Promise.reject(a))}},p7.bundle=function(e,t,n,r){let o=new this;return o.bundle.apply(o,arguments)},p7.prototype.bundle=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.resolve(i.path,i.schema,i.options),K8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.schema))}catch(a){return u7(i.callback,Promise.reject(a))}},p7.dereference=function(e,t,n,r){let o=new this;return o.dereference.apply(o,arguments)},p7.prototype.dereference=async function(e,t,n,r){let o=this,i=H8(arguments);try{return await this.resolve(i.path,i.schema,i.options),J8(o,i.options),f7(o),u7(i.callback,Promise.resolve(o.schema))}catch(a){return u7(i.callback,Promise.reject(a))}};var h7=a8.exports;const m7=G0,g7=o1,O7=W6,y7=QZ,b7=K6,v7=i8,{ono:w7}=fW,S7=h7,x7=V8;var k7=$7;function $7(){S7.apply(this,arguments)}y7.inherits($7,S7),$7.parse=S7.parse,$7.resolve=S7.resolve,$7.bundle=S7.bundle,$7.dereference=S7.dereference,Object.defineProperty($7.prototype,"api",{configurable:!0,enumerable:!0,get(){return this.schema}}),$7.prototype.parse=async function(e,t,n,r){let o=O7(arguments);o.options=new b7(o.options);try{let e=await S7.prototype.parse.call(this,o.path,o.schema,o.options);if(e.swagger){if(void 0===e.swagger||void 0===e.info||void 0===e.paths)throw w7.syntax(`${o.path||o.schema} is not a valid Swagger API definition`);if("number"==typeof e.swagger)throw w7.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');if("number"==typeof e.info.version)throw w7.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if("2.0"!==e.swagger)throw w7.syntax(`Unrecognized Swagger version: ${e.swagger}. Expected 2.0`)}else{let t=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0"];if(void 0===e.openapi||void 0===e.info)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`);if(void 0===e.paths){if("3.1.0"!==e.openapi)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`);if(void 0===e.webhooks)throw w7.syntax(`${o.path||o.schema} is not a valid Openapi API definition`)}else{if("number"==typeof e.openapi)throw w7.syntax('Openapi version number must be a string (e.g. "3.0.0") not a number.');if("number"==typeof e.info.version)throw w7.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if(-1===t.indexOf(e.openapi))throw w7.syntax(`Unsupported OpenAPI version: ${e.openapi}. Swagger Parser only supports versions ${t.join(", ")}`)}y7.fixOasRelativeServers(e,o.path)}return v7(o.callback,Promise.resolve(e))}catch(i){return v7(o.callback,Promise.reject(i))}},$7.validate=function(e,t,n,r){let o=new this;return o.validate.apply(o,arguments)},$7.prototype.validate=async function(e,t,n,r){let o=this,i=O7(arguments);i.options=new b7(i.options);let a=i.options.dereference.circular;i.options.validate.schema&&(i.options.dereference.circular="ignore");try{if(await this.dereference(i.path,i.schema,i.options),i.options.dereference.circular=a,i.options.validate.schema&&(m7(o.api),o.$refs.circular))if(!0===a)x7(o,i.options);else if(!1===a)throw w7.reference("The API contains circular references");return i.options.validate.spec&&g7(o.api),v7(i.callback,Promise.resolve(o.schema))}catch(s){return v7(i.callback,Promise.reject(s))}};const P7=r(k7),_7=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"],T7=e=>{e.tags||(e.tags=[]),e.paths||(e.paths={});const t={};Object.keys(e.webhooks??{}).forEach((n=>{var r;Object.keys((null==(r=e.webhooks)?void 0:r[n])??{}).forEach((r=>{var o,i,a;const s=(null==(o=e.webhooks)?void 0:o[n])[r];void 0===t[n]&&(t[n]={}),t[n][r]={httpVerb:r,path:n,operationId:(null==s?void 0:s.operationId)||n,name:(null==s?void 0:s.summary)||n||"",description:(null==s?void 0:s.description)||"",pathParameters:null==(a=null==(i=e.paths)?void 0:i[n])?void 0:a.parameters,information:{...s}}}))})),Object.keys(e.paths).forEach((t=>{Object.keys(e.paths[t]).filter((e=>_7.includes(e.toUpperCase()))).forEach((n=>{var r,o,i,a,s,l;const c=e.paths[t][n],u={httpVerb:n,path:t,operationId:c.operationId||t,name:c.summary||t||"",description:c.description||"",information:{...c},pathParameters:null==(o=null==(r=e.paths)?void 0:r[t])?void 0:o.parameters};if(c.tags&&0!==c.tags.length)c.tags.forEach((t=>{var n,r,o;const i=null==(n=e.tags)?void 0:n.findIndex((e=>e.name===t));-1===i&&(null==(r=e.tags)||r.push({name:t,description:""}));const a=-1!==i?i:e.tags.length-1;void 0===(null==(o=e.tags[a])?void 0:o.operations)&&(e.tags[a].operations=[]),e.tags[a].operations.push(u)}));else{(null==(i=e.tags)?void 0:i.find((e=>"default"===e.name)))||null==(a=e.tags)||a.push({name:"default",description:"",operations:[]});const t=null==(s=e.tags)?void 0:s.findIndex((e=>"default"===e.name));t>=0&&(null==(l=e.tags[t])||l.operations.push(u))}}))}));const n={...e,webhooks:t};return E7(n)},E7=e=>{var t;return{...e,tags:null==(t=e.tags)?void 0:t.filter((e=>{var t;return(null==(t=e.operations)?void 0:t.length)>0}))}},Q7=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(e.length>0&&["{","["].includes(e[0]))throw t;return hZ.load(e)}return e},C7={info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},components:{schemas:{},securitySchemes:{}},servers:[],tags:[]};function A7({input:e}){const t=Yt({...C7}),n=dn(null);async function r(e){if(void 0===e)return void Object.assign(t,{...C7});if(0===e.length)return void Object.assign(t,{...C7});(e=>new Promise(((t,n)=>{try{const r=Q7(e);P7.dereference(r,((e,r)=>{if(e&&n(e),void 0===r)return void n("Couldn’t parse the Swagger file.");const o=T7(r);t(o)}))}catch(r){n(r)}})))(e.trim()).then((e=>{n.value=null,Object.assign(t,{servers:[],...e})})).catch((e=>{n.value=e.toString()}))}return un(e)?Ir(e,Dd((e=>{r(e)})),{immediate:!0}):r(e),{parsedSpecRef:t,overwriteParsedSpecRef:function(e){Object.assign(t,e)},errorRef:n}}const{getHeadingId:R7,getWebhookId:D7,getModelId:N7,getOperationId:j7,getTagId:q7,hash:I7}=_Z(!1),U7=dn(void 0),M7=Yt({});function X7(e){M7[e]=!M7[e]}function F7(e,t){M7[e]=t}const Z7=dn([]),V7=Ua((()=>{var e,t,n,r,o,i,a,s,l,c;const{state:u}=MT(),d={},p=Z7.value.map((e=>({id:R7(e),title:e.value.toUpperCase(),show:!u.showApiClient}))),f=null==(t=null==(e=U7.value)?void 0:e.tags)?void 0:t[0];var h;var m;return{entries:[...p,...(f&&(1!==(null==(h=null==(n=U7.value)?void 0:n.tags)?void 0:h.length)||"default"!==h[0].name||""!==h[0].description)&&(null==(r=f.operations)?void 0:r.length)>0?null==(i=null==(o=U7.value)?void 0:o.tags)?void 0:i.map((e=>{var t;return{id:q7(e),title:e.name.toUpperCase(),show:!0,children:null==(t=e.operations)?void 0:t.map((t=>{var n;const r=j7(t,e),o=t.name??t.path;return d[r]=o,{id:r,title:o,httpVerb:t.httpVerb,deprecated:(null==(n=t.information)?void 0:n.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&CM(t)}}}))}})):null==(a=null==f?void 0:f.operations)?void 0:a.map((e=>{var t;const n=j7(e,f),r=e.name??e.path;return d[n]=r,{id:n,title:r,httpVerb:e.httpVerb,deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&CM(e)}}})))??[],...(m=U7.value)&&Object.keys((null==m?void 0:m.webhooks)??{}).length?[{id:D7(),title:"WEBHOOKS",show:!u.showApiClient,children:Object.keys((null==(s=U7.value)?void 0:s.webhooks)??{}).map((e=>{var t,n;const r=D7(e);return d[r]=e,Object.keys((null==(n=null==(t=U7.value)?void 0:t.webhooks)?void 0:n[e])??{}).map((t=>{var n,r,o;return{id:D7(e,t),title:null==(o=null==(r=null==(n=U7.value)?void 0:n.webhooks)?void 0:r[e][t])?void 0:o.name,httpVerb:t,show:!u.showApiClient}}))})).flat()}]:[],...gM(U7.value)?[{id:N7(),title:"MODELS",show:!u.showApiClient,children:Object.keys((null==(c=null==(l=U7.value)?void 0:l.components)?void 0:c.schemas)??{}).map((e=>{var t,n,r;const o=N7(e);return d[o]=e,{id:o,title:(null==(r=null==(n=null==(t=null==U7?void 0:U7.value)?void 0:t.components)?void 0:n.schemas)?void 0:r[e]).title??e,show:!u.showApiClient}}))}]:[]],titles:d}})),L7=Ua((()=>{var e,t;return(null==(t=null==(e=V7.value)?void 0:e.titles)?void 0:t[I7.value])??""}));function z7(e){return(null==e?void 0:e.parsedSpec)&&(U7.value=e.parsedSpec,Ir(U7,(()=>{var e,t;const n=null==(t=null==(e=U7.value)?void 0:e.tags)?void 0:t[0];n&&F7(q7(n),!0)}),{immediate:!0,deep:!0}),Ir((()=>{var e,t;return null==(t=null==(e=U7.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const n=null==(t=null==(e=U7.value)?void 0:e.info)?void 0:t.description;return n?Z7.value=await(async e=>{const t=await lM(e),n=uM(t);return t.filter((e=>e.depth===n))})(n):[]}))),{breadcrumb:L7,items:V7,collapsedSidebarItems:M7,toggleCollapsedSidebarItem:X7,setCollapsedSidebarItem:F7}}const W7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:B7,Blob:Y7,File:H7}=W7,G7="\r\n",K7="-".repeat(2),J7=Symbol.toStringTag,e9=(e,t,n)=>{let r="";return r+=`${K7}${e}${G7}`,r+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof n&&"blob"!==n.name&&(r+=`; filename="${n.name}"${G7}`,r+=`Content-Type: ${n.type||"application/octet-stream"}`),`${r}${G7.repeat(2)}`},t9=async function*(e,t){for(const[n,r]of e)yield e9(t,n,r),"string"==typeof r?yield r:yield await r.text(),yield G7;yield(e=>`${K7}${e}${K7}${G7.repeat(1)}`)(t)},n9=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),r9=(e,t)=>{const n=n9(e,t);if(n)return e[n]},o9=(e,t)=>Boolean(n9(e,t)),i9=["application/json","application/x-json","text/json","text/x-json","+json"],a9=(e,t)=>{if(void 0===t.value)return e;const n=e[t.name];return void 0===n?(e[t.name]=t.value,e):Array.isArray(n)?(n.push(t.value),e):(e[t.name]=[n,t.value],e)};function s9(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class l9 extends URL{get path(){return this.pathname+this.search}}class c9{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function u9(e,t={}){const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:o=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?o?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?o?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const d9=e=>u9(e,{delimiter:"'"}),p9=e=>u9(e,{delimiter:'"'}),f9={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:o})=>{const{push:i,blank:a,join:s}=new c9;i("CURL *hnd = curl_easy_init();"),a(),i(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),i(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n);return l.length&&(a(),i("struct curl_slist *headers = NULL;"),l.forEach((e=>{i(`headers = curl_slist_append(headers, "${e}: ${p9(n[e])}");`)})),i("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),r.cookie&&(a(),i(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),(null==o?void 0:o.text)&&(a(),i(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`)),a(),i("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class h9{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}class m9{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}}const g9=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),O9=e=>"object"===g9(e)&&0===Object.keys(e).length,y9=e=>(Object.keys(e).filter((t=>O9(e[t]))).forEach((t=>{delete e[t]})),e),b9=(e,t)=>{const n=" ".repeat(e);return t.replace(/\n/g,`\n${n}`)},v9=e=>{switch(g9(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,n)=>`${t}:${n} ${b9(n.length+2,v9(e[n]))}\n `),"").trim();return`{${b9(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${v9(t)}`),"").trim();return`[${b9(1,t)}]`}}},w9={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:o},i)=>{const{push:a,join:s}=new c9({indent:null==i?void 0:i.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return a("Method not supported"),s();const l={headers:o,"query-params":e};switch(null==n?void 0:n.mimeType){case"application/json":{l["content-type"]=new h9("json"),l["form-params"]=n.jsonObj;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=n.text;const e=n9(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(n.params){l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new m9(e.fileName)}:{name:e.name,content:e.value}));const e=n9(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===r9(l.headers,"accept")){l.accept=new h9("json");const e=n9(l.headers,"accept");e&&delete l.headers[e]}if(a("(require '[clj-http.client :as client])\n"),O9(y9(l)))a(`(client/${t} "${r}")`);else{const e=11+t.length+r.length;a(`(client/${t} "${r}" ${b9(e,v9(y9(l)))})`)}return s()}}}},S9={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:{info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i,a;const s={indent:" ",...o},{push:l,join:c}=new c9({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=r9(e,"accept-encoding");if(!t)return[];const n={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=n[t[1]];e&&r.push(e)}}))})),r})(e);(d||p.length)&&(u="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),d&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${u});`),l("var request = new HttpRequestMessage"),l("{");n=(n=n.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(n)?`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:`new HttpMethod("${n}")`,l(`Method = ${n},`,1),l(`RequestUri = new Uri("${r}"),`,1);const f=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(f.length&&(l("Headers =",1),l("{",1),f.forEach((t=>{l(`{ "${t}", "${p9(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary<string, string>",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(a=t.params)||void 0===a||a.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:i})=>{const{push:a,join:s}=new c9;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(a(`var client = new RestClient("${n}");`),a(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach((e=>{a(`request.AddHeader("${e}", "${p9(r[e])}");`)})),null==o||o.forEach((({name:e,value:t})=>{a(`request.AddCookie("${e}", "${t}");`)})),null==i?void 0:i.text){const t=r9(e,"content-type"),n=JSON.stringify(i.text);a(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}return a("IRestResponse response = client.Execute(request);"),s()}}}},x9={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:n,fullUrl:r},o={})=>{const{blank:i,push:a,join:s}=new c9({indent:"\t"}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=o,f=c?"err":"_",h=l?1:0,m=()=>{c&&(a("if err != nil {",h),a("panic(err)",h+1),a("}",h))};l&&(a("package main"),i(),a("import ("),a('"fmt"',h),d>0&&a('"time"',h),p&&a('"crypto/tls"',h),(null==e?void 0:e.text)&&a('"strings"',h),a('"net/http"',h),u&&a('"io"',h),a(")"),i(),a("func main() {"),i()),p&&(a("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",h),a("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",h));const g=d>0,O=g||p,y=O?"client":"http.DefaultClient";return O&&(a("client := http.Client{",h),g&&a(`Timeout: time.Duration(${d} * time.Second),`,h+1),p&&a("Transport: insecureTransport,",h+1),a("}",h),i()),a(`url := "${r}"`,h),i(),(null==e?void 0:e.text)?(a(`payload := strings.NewReader(${JSON.stringify(e.text)})`,h),i(),a(`req, ${f} := http.NewRequest("${t}", url, payload)`,h),i()):(a(`req, ${f} := http.NewRequest("${t}", url, nil)`,h),i()),m(),Object.keys(n).length&&(Object.keys(n).forEach((e=>{a(`req.Header.Add("${e}", "${p9(n[e])}")`,h)})),i()),a(`res, ${f} := ${y}.Do(req)`,h),m(),u&&(i(),a("defer res.Body.Close()",h),a(`body, ${f} := io.ReadAll(res.Body)`,h),m()),i(),a("fmt.Println(res)",h),u&&a("fmt.Println(string(body))",h),l&&(i(),a("}")),s()}}}},k9={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",link:"https://tools.ietf.org/html/rfc7230",description:"HTTP/1.1 request string in accordance with RFC 7230"},convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:o,postData:i},a)=>{const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...a},{blank:l,push:c,join:u}=new c9({indent:"",join:"\r\n"}),d=s.absoluteURI?t:n.path;c(`${e} ${d} ${r}`);const p=Object.keys(o);p.forEach((e=>{const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()));c(`${t}: ${o[e]}`)})),s.autoHost&&!p.includes("host")&&c(`Host: ${n.host}`),s.autoContentLength&&(null==i?void 0:i.text)&&!p.includes("content-length")&&c(`Content-Length: ${i.text.length}`),l();return`${u()}\r\n${(null==i?void 0:i.text)||""}`}}}},$9={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",...o},{blank:a,push:s,join:l}=new c9({indent:i.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${p9(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),a(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},o)=>{const i={indent:" ",...o},{push:a,join:s}=new c9({indent:i.indent});return a("HttpRequest request = HttpRequest.newBuilder()"),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{a(`.header("${t}", "${p9(e[t])}")`,2)})),(null==r?void 0:r.text)?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(".build();",2),a("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),a("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const i={indent:" ",...o},{push:a,blank:s,join:l}=new c9({indent:i.indent});return a("OkHttpClient client = new OkHttpClient();"),s(),(null==e?void 0:e.text)&&(e.boundary?a(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),a("Request request = new Request.Builder()"),a(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{a(`.addHeader("${e}", "${p9(r[e])}")`,1)})),a(".build();",1),s(),a("Response response = client.newCall(request).execute();"),l()}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",...o},{join:a,push:s}=new c9({indent:i.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${p9(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),s(".asString();",1),a()}}}};var P9={};Object.defineProperty(P9,"__esModule",{value:!0}),P9.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const _9=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},T9=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)},E9=P9.default;var Q9=(e,t,n)=>{const r=[];return function e(t,n,o){let i;(n=n||{}).indent=n.indent||"\t",o=o||"",i=void 0===n.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:o,indent:o+n.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const a=e=>{if(void 0===n.inlineCharacterLimit)return e;const t=e.replace(new RegExp(i.newLine,"g"),"").replace(new RegExp(i.newLineOrSpace,"g")," ").replace(new RegExp(i.pad+"|"+i.indent,"g"),"");return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(i.newLine+"|"+i.newLineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),o).replace(new RegExp(i.indent,"g"),o+n.indent)};if(-1!==r.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||_9(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);const s="["+i.newLine+t.map(((r,a)=>{const s=t.length-1===a?i.newLine:","+i.newLineOrSpace;let l=e(r,n,o+n.indent);return n.transform&&(l=n.transform(t,a,l)),i.indent+l+s})).join("")+i.pad+"]";return r.pop(),a(s)}if(T9(t)){let s=Object.keys(t).concat(E9(t));if(n.filter&&(s=s.filter((e=>n.filter(t,e)))),0===s.length)return"{}";r.push(t);const l="{"+i.newLine+s.map(((r,a)=>{const l=s.length-1===a?i.newLine:","+i.newLineOrSpace,c="symbol"==typeof r,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(r),d=c||u?r:e(r,n);let p=e(t[r],n,o+n.indent);return n.transform&&(p=n.transform(t,r,p)),i.indent+String(d)+": "+p+l})).join("")+i.pad+"}";return r.pop(),a(l)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,n)};const C9=r(Q9),A9={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},o)=>{var i;const a={indent:" ",cors:!0,...o},{blank:s,push:l,join:c}=new c9({indent:a.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${C9(e.jsonObj,{indent:a.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),o9(t,"content-type")&&(null===(i=r9(t,"content-type"))||void 0===i?void 0:i.includes("boundary"))){const e=n9(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),a.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${d9(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:o},i)=>{const a={indent:" ",...i},{blank:s,push:l,join:c,addPostProcessor:u}=new c9({indent:a.indent});l("import axios from 'axios';"),s();const d={method:t,url:n};switch(Object.keys(r).length&&(d.params=r),Object.keys(e).length&&(d.headers=e),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(l("const encodedParams = new URLSearchParams();"),o.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":o.jsonObj&&(d.data=o.jsonObj);break;case"multipart/form-data":if(!o.params)break;l("const form = new FormData();"),o.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),d.data="[form]";break;default:(null==o?void 0:o.text)&&(d.data=o.text)}const p=C9(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",credentials:null,...o},{blank:a,join:s,push:l}=new c9({indent:i.indent}),c={method:e};switch(Object.keys(t).length&&(c.headers=t),null!==i.credentials&&(c.credentials=i.credentials),l(`const url = '${r}';`),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":c.body=n.paramsObj?n.paramsObj:n.text;break;case"application/json":c.body=JSON.stringify(n.jsonObj);break;case"multipart/form-data":if(!n.params)break;const e=n9(t,"content-type");e&&delete t[e],l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),a();break;default:(null==n?void 0:n.text)&&(c.body=n.text)}return c.headers&&!Object.keys(c.headers).length&&delete c.headers,l(`const options = ${C9(c,{indent:i.indent,inlineCharacterLimit:80,transform:(e,t,r)=>"body"===t&&n&&"application/x-www-form-urlencoded"===n.mimeType?`new URLSearchParams(${r})`:r})};`),a(),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&(l("options.body = form;"),a()),l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},o)=>{var i;const a={indent:" ",...o},{blank:s,push:l,join:c}=new c9({indent:a.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":u.data=r.paramsObj?r.paramsObj:r.text;break;case"application/json":u.processData=!1,u.data=r.text;break;case"multipart/form-data":if(!r.params)break;if(l("const form = new FormData();"),r.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",o9(n,"content-type")&&(null===(i=r9(n,"content-type"))||void 0===i?void 0:i.includes("boundary"))){const e=n9(n,"content-type");e&&delete u.headers[e]}s();break;default:(null==r?void 0:r.text)&&(u.data=r.text)}const d=C9(u,{indent:a.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}}}},R9={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:n,allHeaders:r},o)=>{const i={indent:" ",...o},{blank:a,join:s,push:l}=new c9({indent:i.indent});return l("val client = OkHttpClient()"),a(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${p9(r[e])}")`,1)})),l(".build()",1),a(),l("val response = client.newCall(request).execute()"),s()}}}},D9={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{info:{key:"native",title:"HTTP",link:"http://nodejs.org/api/http.html#http_http_request_options_callback",description:"Node.js native HTTP interface"},convert:({uriObj:e,method:t,allHeaders:n,postData:r},o={})=>{const{indent:i=" ",insecureSkipVerify:a=!1}=o,{blank:s,join:l,push:c,unshift:u}=new c9({indent:i}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port,path:e.path,headers:n,...a?{rejectUnauthorized:!1}:{}};switch(c(`const http = require('${e.protocol.replace(":","")}');`),s(),c(`const options = ${C9(d,{indent:i})};`),s(),c("const req = http.request(options, function (res) {"),c("const chunks = [];",1),s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),c("});",1),s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),c("console.log(body.toString());",2),c("});",1),c("});"),s(),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":r.paramsObj&&(u("const qs = require('querystring');"),c(`req.write(qs.stringify(${C9(r.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":r.jsonObj&&c(`req.write(JSON.stringify(${C9(r.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==r?void 0:r.text)&&c(`req.write(${C9(r.text,{indent:i})});`)}return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",link:"https://github.com/request/request",description:"Simplified HTTP request client"},convert:({method:e,url:t,queryObj:n,postData:r,headersObj:o,cookies:i},a)=>{const s={indent:" ",...a};let l=!1;const{push:c,blank:u,join:d,unshift:p}=new c9({indent:s.indent});c("const request = require('request');"),u();const f={method:e,url:t};switch(Object.keys(n).length&&(f.qs=n),Object.keys(o).length&&(f.headers=o),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":f.form=r.paramsObj;break;case"application/json":r.jsonObj&&(f.body=r.jsonObj,f.json=!0);break;case"multipart/form-data":if(!r.params)break;f.formData={},r.params.forEach((e=>{if(!e.fileName&&!e.fileName&&!e.contentType)return void(f.formData[e.name]=e.value);let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}}):e.value&&(t.value=e.value),f.formData[e.name]=t}));break;default:(null==r?void 0:r.text)&&(f.body=r.text)}return i.length&&(f.jar="JAR",c("const jar = request.jar();"),i.forEach((e=>{c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)})),u()),l&&p("const fs = require('fs');"),c(`const options = ${C9(f,{indent:" ",inlineCharacterLimit:80})};`),u(),c("request(options, function (error, response, body) {"),c("if (error) throw new Error(error);",1),u(),c("console.log(body);",1),c("});"),d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/nodejs.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,url:t,cookies:n,queryObj:r,postData:o,headersObj:i},a)=>{const s={indent:" ",...a};let l=!1;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:f}=new c9({indent:s.indent});switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`),u(),n.length&&(p("const CookieJar = unirest.jar();"),n.forEach((e=>{p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)})),p("req.jar(CookieJar);"),u()),Object.keys(r).length&&(p(`req.query(${C9(r,{indent:s.indent})});`),u()),Object.keys(i).length&&(p(`req.headers(${C9(i,{indent:s.indent})});`),u()),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.paramsObj&&(p(`req.form(${C9(o.paramsObj,{indent:s.indent})});`),u());break;case"application/json":o.jsonObj&&(p("req.type('json');"),p(`req.send(${C9(o.jsonObj,{indent:s.indent})});`),u());break;case"multipart/form-data":{if(!o.params)break;const e=[];o.params.forEach((t=>{const n={};t.fileName&&!t.value?(l=!0,n.body=`fs.createReadStream('${t.fileName}')`,c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(n.body=t.value),n.body&&(t.contentType&&(n["content-type"]=t.contentType),e.push(n))})),p(`req.multipart(${C9(e,{indent:s.indent})});`),u();break}default:(null==o?void 0:o.text)&&(p(`req.send(${C9(o.text,{indent:s.indent})});`),u())}return l&&f("const fs = require('fs');"),p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:o},i)=>{const a={indent:" ",...i},{blank:s,join:l,push:c,addPostProcessor:u}=new c9({indent:a.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(n).length&&(d.params=n),Object.keys(r).length&&(d.headers=r),null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),o.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),o.jsonObj&&(d.data=o.jsonObj);break;default:s(),(null==o?void 0:o.text)&&(d.data=o.text)}const p=C9(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},convert:({method:e,fullUrl:t,postData:n,headersObj:r,cookies:o},i)=>{var a;const s={indent:" ",...i};let l=!1;const{blank:c,push:u,join:d,unshift:p}=new c9({indent:s.indent});u("const fetch = require('node-fetch');"),c();const f={method:e};switch(Object.keys(r).length&&(f.headers=r),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":p("const { URLSearchParams } = require('url');"),u("const encodedParams = new URLSearchParams();"),null===(a=n.params)||void 0===a||a.forEach((e=>{u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),f.body="encodedParams";break;case"application/json":n.jsonObj&&(f.body=JSON.stringify(n.jsonObj));break;case"multipart/form-data":if(!n.params)break;const e=n9(r,"content-type");e&&delete r[e],p("const FormData = require('form-data');"),u("const formData = new FormData();"),n.params.forEach((e=>{e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`)})),c();break;default:(null==n?void 0:n.text)&&(f.body=n.text)}if(o.length){const e=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");f.headers||(f.headers={}),f.headers.cookie=e}u(`const url = '${t}';`),f.headers&&!Object.keys(f.headers).length&&delete f.headers;const h=C9(f,{indent:" ",inlineCharacterLimit:80});return u(`const options = ${h};`),l&&p("const fs = require('fs');"),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&u("options.body = formData;"),c(),u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1),u("console.log(data);",1),u("} catch (error) {"),u("console.error(error);",1),u("}"),d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')}}}},N9=(e,t,n,r)=>{const o=`${e} *${t} = `;return`${o}${j9(n,r?o.length:void 0)};`},j9=(e,t)=>{const n=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>j9(e))).join(n)} ]`;case"[object Object]":{const t=[];for(const n in e)t.push(`@"${n}": ${j9(e[n])}`);return`@{ ${t.join(n)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},q9={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i;const a={indent:" ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new c9({indent:a.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import <Foundation/Foundation.h>"),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(N9("NSDictionary","headers",e,a.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(i=t.params)||void 0===i?void 0:i.length){c();const[e,...n]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),n.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(N9("NSDictionary","parameters",t.jsonObj,a.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(N9("NSArray","parameters",t.params||[],a.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${a.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${n}"];`),u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}}}},I9={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},o)=>{const i={indent:" ",...o},{push:a,blank:s,join:l}=new c9({indent:i.indent});a("open Cohttp_lwt_unix"),a("open Cohttp"),a("open Lwt"),s(),a(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?a(`let headers = Header.add (Header.init ()) "${c[0]}" "${p9(t[c[0]])}" in`):c.length>1&&(a("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{a(`("${e}", "${p9(t[e])}");`,1)})),a("] in")),(null==n?void 0:n.text)&&a(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),s();const u=c.length?"~headers ":"",d=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`;return a(`Client.call ${u}${d}${p} uri`),a(">>= fun (res, body_stream) ->"),a("(* Do stuff with the result *)",1),l()}}}},U9=(e,t,n)=>{switch(n=n||"",t=t||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return`'${u9(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const r=e.map((e=>U9(e,`${t}${t}`,t))).join(`,\n${t}`);return`[\n${t}${r}\n${n}]`}case"[object Object]":{const r=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(`${U9(n,t)} => ${U9(e[n],`${t}${t}`,t)}`);return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}},M9=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],X9={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:({uriObj:e,postData:t,fullUrl:n,method:r,httpVersion:o,cookies:i,headersObj:a},s={})=>{const{closingTag:l=!1,indent:c=" ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:f=!1,timeout:h=30}=s,{push:m,blank:g,join:O}=new c9({indent:c});p||(m(f?"<?":"<?php"),g()),m("$curl = curl_init();"),g();const y=[{escape:!0,name:"CURLOPT_PORT",value:""===e.port?null:e.port},{escape:!0,name:"CURLOPT_URL",value:n},{escape:!1,name:"CURLOPT_RETURNTRANSFER",value:"true"},{escape:!0,name:"CURLOPT_ENCODING",value:""},{escape:!1,name:"CURLOPT_MAXREDIRS",value:u},{escape:!1,name:"CURLOPT_TIMEOUT",value:h},{escape:!1,name:"CURLOPT_HTTP_VERSION",value:"HTTP/1.0"===o?"CURL_HTTP_VERSION_1_0":"CURL_HTTP_VERSION_1_1"},{escape:!0,name:"CURLOPT_CUSTOMREQUEST",value:r},{escape:!(null==t?void 0:t.jsonObj),name:"CURLOPT_POSTFIELDS",value:t?t.jsonObj?`json_encode(${U9(t.jsonObj,c.repeat(2),c)})`:t.text:void 0}];m("curl_setopt_array($curl, [");const b=new c9({indent:c,join:`\n${c}`});y.forEach((({value:e,name:t,escape:n})=>{null!=e&&b.push(`${t} => ${n?JSON.stringify(e):e},`)}));const v=i.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`));v.length&&b.push(`CURLOPT_COOKIE => "${v.join("; ")}",`);const w=Object.keys(a).sort().map((e=>`"${e}: ${p9(a[e])}"`));return w.length&&(b.push("CURLOPT_HTTPHEADER => ["),b.push(w.join(`,\n${c}${c}`),1),b.push("],")),m(b.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),O()}},guzzle:{info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",description:"PHP with Guzzle"},convert:({postData:e,fullUrl:t,method:n,cookies:r,headersObj:o},i)=>{var a;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...i},{push:l,blank:c,join:u}=new c9({indent:s.indent}),{code:d,push:p,join:f}=new c9({indent:s.indent});switch(s.noTags||(l(s.shortTags?"<?":"<?php"),c()),null==e?void 0:e.mimeType){case"application/x-www-form-urlencoded":p(`'form_params' => ${U9(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break;case"multipart/form-data":{const t=[];if(e.params&&e.params.forEach((function(e){if(e.fileName){const n={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(n.headers={"Content-Type":e.contentType}),t.push(n)}else e.value&&t.push({name:e.name,contents:e.value})})),t.length&&(p(`'multipart' => ${U9(t,s.indent+s.indent,s.indent)}`,1),o9(o,"content-type")&&(null===(a=r9(o,"content-type"))||void 0===a?void 0:a.indexOf("boundary")))){const e=n9(o,"content-type");e&&delete o[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${U9(e.text)},`,1)}const h=Object.keys(o).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${d9(o[e])}',`})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&h.push(`${s.indent}${s.indent}'cookie' => '${d9(m)}',`),h.length&&(p("'headers' => [",1),p(h.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),c(),d.length?(l(`$response = $client->request('${n}', '${t}', [`),l(f()),l("]);")):l(`$response = $client->request('${n}', '${t}');`),c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}},http1:{info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:({method:e,url:t,postData:n,queryObj:r,headersObj:o,cookiesObj:i},a={})=>{const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=a,{push:d,blank:p,join:f}=new c9({indent:l});switch(c||(d(u?"<?":"<?php"),p()),M9.includes(e.toUpperCase())||d(`HttpRequest::methodRegister('${e}');`),d("$request = new HttpRequest();"),d(`$request->setUrl(${U9(t)});`),M9.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),p(),Object.keys(r).length&&(d(`$request->setQueryData(${U9(r,l)});`),p()),Object.keys(o).length&&(d(`$request->setHeaders(${U9(o,l)});`),p()),Object.keys(i).length&&(d(`$request->setCookies(${U9(i,l)});`),p()),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${U9(n.mimeType)});`),d(`$request->setPostFields(${U9(n.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${U9(n.mimeType)});`),d(`$request->setBody(json_encode(${U9(n.jsonObj,l)}));`),p();break;default:(null==n?void 0:n.text)&&(d(`$request->setBody(${U9(n.text)});`),p())}return d("try {"),d("$response = $request->send();",1),p(),d("echo $response->getBody();",1),d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")),f()}},http2:{info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:({postData:e,headersObj:t,method:n,queryObj:r,cookiesObj:o,url:i},a={})=>{var s;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=a,{push:p,blank:f,join:h}=new c9({indent:c});let m=!1;switch(u||(p(d?"<?":"<?php"),f()),p("$client = new http\\Client;"),p("$request = new http\\Client\\Request;"),f(),null==e?void 0:e.mimeType){case"application/x-www-form-urlencoded":p("$body = new http\\Message\\Body;"),p(`$body->append(new http\\QueryString(${U9(e.paramsObj,c)}));`),f(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const n=[],r={};e.params.forEach((({name:e,fileName:t,value:o,contentType:i})=>{t?n.push({name:e,type:i,file:t,data:o}):o&&(r[e]=o)}));const o=Object.keys(r).length?U9(r,c):"null",i=n.length?U9(n,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${o}, ${i});`),o9(t,"content-type")&&(null===(s=r9(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=n9(t,"content-type");e&&delete t[e]}f(),m=!0;break}case"application/json":p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${U9(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${U9(e.text)});`),f(),m=!0)}return p(`$request->setRequestUrl(${U9(i)});`),p(`$request->setRequestMethod(${U9(n)});`),m&&(p("$request->setBody($body);"),f()),Object.keys(r).length&&(p(`$request->setQuery(new http\\QueryString(${U9(r,c)}));`),f()),Object.keys(t).length&&(p(`$request->setHeaders(${U9(t,c)});`),f()),Object.keys(o).length&&(f(),p(`$client->setCookies(${U9(o,c)});`),f()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),f(),p("echo $response->getBody();"),!u&&l&&(f(),p("?>")),h()}}}},F9=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:i,postData:a,allHeaders:s})=>{const{push:l,join:c}=new c9;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(n);return d.length&&(l("$headers=@{}"),d.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${u9(n[e],{escapeChar:"`"})}")`)})),u.push("-Headers $headers")),r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")})),u.push("-WebSession $session")),(null==a?void 0:a.text)&&(u.push(`-ContentType '${u9(r9(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${a.text}'`)),l(`$response = ${e} -Uri '${i}' -Method ${t} ${u.join(" ")}`),c()},Z9={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:F9("Invoke-RestMethod")},V9={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:F9("Invoke-WebRequest")};function L9(e,t,n,r,o){const i=r.repeat(o),a=r.repeat(o-1),s=n?`,\n${i}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]";return n?`${l}\n${i}${t.join(s)}\n${a}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`}const z9=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;return L9("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),z9(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[];for(const o in e)r.push(`"${o}": ${z9(e[o],t,n)}`);return L9("object",r,t.pretty&&r.length>1,t.indent,n)}case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},W9=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],B9={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:n,postData:r,allHeaders:o,method:i},a={})=>{var s,l;const{push:c,blank:u,join:d}=new c9({indent:null!==(s=a.indent)&&void 0!==s?s:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const f=Object.entries(p),h=f.length;if(1===h){const e=f[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),u()}else h>1&&(c("queryString <- list("),f.forEach((([e,t],n)=>{c(`${e} = "${t}"${n!==h-1?",":""}`,1)})),c(")"),u());const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),u()),r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u()}const g=r9(o,"cookie"),O=r9(o,"accept"),y=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,b=O?`accept("${p9(O)}")`:void 0,v=`content_type("${p9(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(o).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${d9(t)}'`)).join(", "),S=w?`add_headers(${w})`:void 0;let x=`response <- VERB("${i}", url`;m&&(x+=", body = payload"),n.length&&(x+=", query = queryString");const k=[S,v,b,y].filter((e=>!!e)).join(", ");return k&&(x+=`, ${k}`),r&&(r.text||r.jsonObj||r.params)&&(x+=", encode = encode"),x+=")",c(x),u(),c('content(response, "text")'),d()}},Y9=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,H9={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},G9=(e,t)=>t.repeat(e),K9=(e,t,n,r)=>{const o=G9(r,n),i=G9(r-1,n),a=t?`,\n${o}`:", ";return t?`[\n${o}${e.join(a)}\n${i}]`:`[${e.join(a)}]`},J9=(e,t,n)=>`let ${e} = ${eee(t,n)}`,eee=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;const o=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),eee(e,t,n))));return K9(o,r,t.indent,n)}case"[object Object]":{const r=[];for(const o in e)r.push(`"${o}": ${eee(e[o],t,n)}`);return K9(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},tee={c:f9,clojure:w9,csharp:S9,go:x9,http:k9,java:$9,javascript:A9,kotlin:R9,node:D9,objc:q9,ocaml:I9,php:X9,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:V9,restmethod:Z9}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:{info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:n},postData:r,allHeaders:o,method:i},a={})=>{const{insecureSkipVerify:s=!1}=a,{push:l,blank:c,join:u}=new c9;if(l("import http.client"),s&&l("import ssl"),c(),"https:"===t){l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),c()}else l(`conn = http.client.HTTPConnection("${n}")`),c();const d=JSON.stringify(null==r?void 0:r.text);d&&(l(`payload = ${d}`),c());const p=o,f=Object.keys(p).length;if(1===f)for(const h in p)l(`headers = { '${h}': "${p9(p[h])}" }`),c();else if(f>1){let e=1;l("headers = {");for(const t in p)e++!==f?l(` '${t}': "${p9(p[t])}",`):l(` '${t}': "${p9(p[t])}"`);l("}"),c()}return l(d&&f?`conn.request("${i}", "${e}", payload, headers)`:d&&!f?`conn.request("${i}", "${e}", payload)`:!d&&f?`conn.request("${i}", "${e}", headers=headers)`:`conn.request("${i}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}},requests:{info:{key:"requests",title:"Requests",link:"http://docs.python-requests.org/en/latest/api/#requests.request",description:"Requests HTTP library"},convert:({queryObj:e,url:t,postData:n,allHeaders:r,method:o},i)=>{const a={indent:" ",pretty:!0,...i},{push:s,blank:l,join:c}=new c9({indent:a.indent});let u;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,s(u),l());const d=r;let p={};const f={};let h=!1,m=!1,g=!1;switch(null==n?void 0:n.mimeType){case"application/json":n.jsonObj&&(s(`payload = ${z9(n.jsonObj,a)}`),g=!0,m=!0);break;case"multipart/form-data":if(!n.params)break;if(p={},n.params.forEach((e=>{e.fileName?(f[e.name]=`open('${e.fileName}', 'rb')`,h=!0):(p[e.name]=e.value,m=!0)})),h){s(`files = ${z9(f,a)}`),m&&s(`payload = ${z9(p,a)}`);const e=n9(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!n)break;if("application/x-www-form-urlencoded"===n.mimeType&&n.paramsObj){s(`payload = ${z9(n.paramsObj,a)}`),m=!0;break}const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}}const O=Object.keys(d).length;if(0===O&&(m||h))l();else if(1===O)for(const b in d)s(`headers = {"${b}": "${p9(d[b])}"}`),l();else if(O>1){let e=1;s("headers = {");for(const t in d)s(e!==O?`"${t}": "${p9(d[t])}",`:`"${t}": "${p9(d[t])}"`,1),e+=1;s("}"),l()}let y=W9.includes(o)?`response = requests.${o.toLowerCase()}(url`:`response = requests.request("${o}", url`;return m&&(y+=g?", json=payload":", data=payload"),h&&(y+=", files=files"),O>0&&(y+=", headers=headers"),u&&(y+=", params=querystring"),y+=")",s(y),l(),s("print(response.json())"),c()}}}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:B9}},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:{info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:o},i={})=>{const{insecureSkipVerify:a=!1}=i,{push:s,blank:l,join:c}=new c9;s("require 'uri'"),s("require 'net/http'"),l();const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==r?void 0:r.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${n}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),a&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(o);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${d9(o[e])}'`)})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},convert:({fullUrl:e,method:t,httpVersion:n,headersObj:r,allHeaders:o,postData:i},a={})=>{var s;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:f=!1}=a,{push:h,join:m}=new c9({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=H9[t];return e?`-${e}`:""}return`--${t}`})(f);let O=Y9(e);if(h(`curl ${g("request")} ${t}`),c&&(O=unescape(O),h(g("globoff"))),h(`${g("url ")}${O}`),d&&h(g("insecure")),"HTTP/1.0"===n&&h(g("http1.0")),r9(o,"accept-encoding")&&h("--compressed"),"multipart/form-data"===(null==i?void 0:i.mimeType)){const e=n9(r,"content-type");if(e){const t=r[e];if(e&&t){const n=t.replace(/; boundary.+?(?=(;|$))/,"");r[e]=n,o[e]=n}}}switch(Object.keys(r).sort().forEach((e=>{const t=`${e}: ${r[e]}`;h(`${g("header")} ${Y9(t)}`)})),o.cookie&&h(`${g("cookie")} ${Y9(o.cookie)}`),null==i?void 0:i.mimeType){case"multipart/form-data":null===(s=i.params)||void 0===s||s.forEach((e=>{let t="";t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,h(`${g("form")} ${Y9(t)}`)}));break;case"application/x-www-form-urlencoded":i.params?i.params.forEach((e=>{const t=e.name,n=encodeURIComponent(e.name),r=n!==t;h(`${l?"--data-binary":"--data"+(r?"-urlencode":"")} ${Y9(`${r?n:t}=${e.value}`)}`)})):h(`${l?"--data-binary":g("data")} ${Y9(i.text)}`);break;default:{if(!i)break;if(!i.text)break;const e=l?"--data-binary":g("data");let t=!1;if(y=i.mimeType,i9.some((e=>y.includes(e)))){if(i.text.length>2&&p)try{const n=JSON.parse(i.text);t=!0;const r=JSON.stringify(n,void 0,u);i.text.indexOf("'")>0?h(`${e} @- <<EOF\n${r}\nEOF`):h(`${e} '\n${r}\n'`)}catch(b){}}t||h(`${e} ${Y9(i.text)}`)}}var y;return m()}},httpie:{info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:o,url:i},a)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...a},{push:l,join:c,unshift:u}=new c9({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[];s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${Y9(t)}`)})):l(`${e}==${Y9(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Y9(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${Y9(e.value)}`)}))):d=!0;if(u(`http ${p.length?`${p.join(" ")} `:""}${o} ${i=Y9(s.queryParams?i:r)}`),d&&(null==t?void 0:t.text)){u(`echo ${Y9(t.text)} | `)}return c()}},wget:{info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:n,fullUrl:r},o)=>{const i={indent:" ",short:!1,verbose:!1,...o},{push:a,join:s}=new c9({indent:i.indent,join:!1!==i.indent?` \\\n${i.indent}`:" "});var l;return i.verbose?a("wget "+(i.short?"-v":"--verbose")):a("wget "+(i.short?"-q":"--quiet")),a(`--method ${Y9(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`;a(`--header ${Y9(t)}`)})),(null==t?void 0:t.text)&&a(`--body-data ${l=Y9(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),a(i.short?"-O":"--output-document"),a(`- ${Y9(r)}`),s()}}}},swift:{info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:n,method:r},o)=>{var i;const a={indent:" ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new c9({indent:a.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(J9("headers",e,a))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(i=t.params)||void 0===i?void 0:i.length){const[e,...n]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),n.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${J9("parameters",t.jsonObj,a)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(J9("parameters",t.params,a)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${parseInt(a.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${r}"`),u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),u.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}},nee=()=>Object.keys(tee).map((e=>({...tee[e].info,clients:Object.keys(tee[e].clientsById).map((t=>tee[e].clientsById[t].info))})));class ree{constructor(e){let t=[];var n;t="object"==typeof(n=e)&&"log"in n&&"object"==typeof n.log&&"entries"in n.log&&Array.isArray(n.log.entries)?e.log.entries:[{request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const n={bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[],postData:{mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"},...e};return this.prepare(n)})))}async prepare(e){var t,n,r,o;const i={...e,fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}};if(i.queryString&&i.queryString.length&&(i.queryObj=i.queryString.reduce(a9,{})),i.headers&&i.headers.length){const e=/^HTTP\/2/;i.headersObj=i.headers.reduce(((t,{name:n,value:r})=>({...t,[e.exec(i.httpVersion)?n.toLocaleLowerCase():n]:r})),{})}i.cookies&&i.cookies.length&&(i.cookiesObj=i.cookies.reduceRight(((e,{name:t,value:n})=>({...e,[t]:n})),{}));const a=null===(t=i.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`));switch((null==a?void 0:a.length)&&(i.allHeaders.cookie=a.join("; ")),null===(n=i.postData)||void 0===n?void 0:n.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(i.postData.text="",i.postData.mimeType="multipart/form-data",null===(r=i.postData)||void 0===r?void 0:r.params){const e=new B7,t="---011000010111000001101001";null===(o=i.postData)||void 0===o||o.params.forEach((t=>{const n=t.name,r=t.value||"",o=t.fileName;var i;"object"==typeof(i=r)&&"function"==typeof i.arrayBuffer&&"string"==typeof i.type&&"function"==typeof i.stream&&"function"==typeof i.constructor&&/^(Blob|File)$/.test(i[J7])?e.append(n,r,o):e.append(n,new Y7([r],{type:t.contentType}),o?function(e){const t=e.split("/");return t[t.length-1]}(o):o)}));const{postData:n}=i;for await(const o of t9(e,t))n.text+=o;i.postData.boundary=t;const r=n9(i.headersObj,"content-type")||"content-type";i.headersObj[r]=`multipart/form-data; boundary=${t}`}break;case"application/x-www-form-urlencoded":i.postData.params?(i.postData.paramsObj=i.postData.params.reduce(a9,{}),i.postData.text=s9(i.postData.paramsObj).toString()):i.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(i.postData.mimeType="application/json",i.postData.text)try{i.postData.jsonObj=JSON.parse(i.postData.text)}catch(Oc){i.postData.mimeType="text/plain"}}const s={...i.allHeaders,...i.headersObj},l=new URL(i.url),c=Object.fromEntries(l.searchParams);i.queryObj={...i.queryObj,...c};const u=s9(i.queryObj),d=new URL(i.url);return d.search=u.toString(),l.search="",{...i,allHeaders:s,fullUrl:d.toString(),url:l.toString(),uriObj:new l9(d.toString())}}async convert(e,t,n){!n&&t&&(n=t);const r=tee[e];if(!r)return null;const{convert:o}=r.clientsById[t||r.info.default],i=(await this.requests).map((e=>o(e,n)));return 1===i.length?i[0]:i}}const oee=dn(["unirest"]);function iee(){return{availableTargets:Ua((()=>nee().map((e=>("node"===e.key&&(e.default="undici",e.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"})),e.clients=e.clients.filter((e=>!oee.value.includes(e.key))),e))).filter((e=>e.clients.length)))),excludedClients:Ht(oee),setExcludedClients:e=>oee.value=e}}const aee=dn(""),see=async({url:e,content:t},n)=>void 0!==e&&e.length>0?function(e){try{return Boolean(new URL(e))}catch(Oc){return!1}}(e)?await Sp(e,n):await Sp(e):"string"==typeof t?t:"object"==typeof t?JSON.stringify(t):"function"==typeof t?await see({content:t()},n):void 0;const lee={spec:{content:void 0,url:void 0,preparsedContent:void 0},proxy:void 0,theme:"default",showSidebar:!0,isEditable:!1},cee=e=>({raw:t})=>{const n=(new e).parseFromString(t,"image/svg+xml");if(n.getElementsByTagName("parsererror").length)return;const r=n.documentElement,o=(i=r.attributes,Object.fromEntries(Array.from(i).map((e=>[e.name,e.value]))));var i;const{width:a,height:s,...l}=o;return Ma("svg",{...l,innerHTML:r.innerHTML})},uee=Jr((async()=>{const e="undefined"==typeof DOMParser?(await Promise.resolve().then((()=>rOe))).DOMParser:DOMParser,t=cee(e);return t.props={raw:{type:String,required:!0}},t})),dee=Object.assign({}),pee=Object.assign({"./line/arrow-chevron-down.svg":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M23.25 7.311 12.53 18.03a.749.749 0 0 1-1.06 0L.75 7.311"></path></svg>',"./line/arrow-chevron-left.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M16.25 23.25 5.53 12.53a.749.749 0 0 1 0-1.06L16.25.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-chevron-right.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m5.5.75 10.72 10.72a.749.749 0 0 1 0 1.06L5.5 23.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-chevron-up.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 17.189 11.47 6.47a.749.749 0 0 1 1.06 0l10.72 10.719" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-down.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M12 .75v22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.5 12.75 12 23.25l10.5-10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-left.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M23.25 12H.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.25 1.5.75 12l10.5 10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-right.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 12h22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.75 22.5 23.25 12 12.75 1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/arrow-up.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M12 23.25V.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.5 11.25 12 .75 1.5 11.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/interface-add.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="M.75 12h22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 .75v22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/interface-close.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m.75 23.249 22.5-22.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23.25 23.249.75.749" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>',"./line/programming-script-code.svg":'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><path d="m7.629 4.5-6.44 6.439a1.5 1.5 0 0 0 0 2.121l6.44 6.44" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="m16.371 4.5 6.44 6.439a1.5 1.5 0 0 1 0 2.121l-6.44 6.44" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>'}),fee=Object.assign({"./brand/brand-software-development-github.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>GitHub</title>\n <path\n d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />\n</svg>',"./brand/programming-framework-angular.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Angular</title>\n <path\n d="M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984 11.999.001zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z" />\n</svg>',"./brand/programming-framework-astro.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Astro</title>\n <path\n d="M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.347 2.347 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.129 3.129 0 0 0 .378-1.494 3.14 3.14 0 0 0-.148-.954zM15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.18 18.18 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.175 18.175 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.613 1.613 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.614 1.614 0 0 1 15.55.6z" />\n</svg>',"./brand/programming-framework-laravel.svg":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.754.754 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.753.753 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.722.722 0 0 0-.246.194.748.748 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.747.747 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19 6.422-3.612Zm3.229-.063-2.5-1.25V7.215l2.5 1.25v3.322Zm1.5 0 2.5-1.25V7.215l-2.5 1.25v3.322Zm-9.5 1.025V4.714l-2.5 1.25v8.254l2.5-1.407Zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064l.472.227Zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5 6 4.661ZM20.323 6 18 4.839 15.677 6 18 7.161 20.323 6Z" clip-rule="evenodd"></path></svg>',"./brand/programming-framework-nextdotjs.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Next.js</title>\n <path\n d="M11.5725 0c-.1763 0-.3098.0013-.3584.0067-.0516.0053-.2159.021-.3636.0328-3.4088.3073-6.6017 2.1463-8.624 4.9728C1.1004 6.584.3802 8.3666.1082 10.255c-.0962.659-.108.8537-.108 1.7474s.012 1.0884.108 1.7476c.652 4.506 3.8591 8.2919 8.2087 9.6945.7789.2511 1.6.4223 2.5337.5255.3636.04 1.9354.04 2.299 0 1.6117-.1783 2.9772-.577 4.3237-1.2643.2065-.1056.2464-.1337.2183-.1573-.0188-.0139-.8987-1.1938-1.9543-2.62l-1.919-2.592-2.4047-3.5583c-1.3231-1.9564-2.4117-3.556-2.4211-3.556-.0094-.0026-.0187 1.5787-.0235 3.509-.0067 3.3802-.0093 3.5162-.0516 3.596-.061.115-.108.1618-.2064.2134-.075.0374-.1408.0445-.495.0445h-.406l-.1078-.068a.4383.4383 0 01-.1572-.1712l-.0493-.1056.0053-4.703.0067-4.7054.0726-.0915c.0376-.0493.1174-.1125.1736-.143.0962-.047.1338-.0517.5396-.0517.4787 0 .5584.0187.6827.1547.0353.0377 1.3373 1.9987 2.895 4.3608a10760.433 10760.433 0 004.7344 7.1706l1.9002 2.8782.096-.0633c.8518-.5536 1.7525-1.3418 2.4657-2.1627 1.5179-1.7429 2.4963-3.868 2.8247-6.134.0961-.6591.1078-.854.1078-1.7475 0-.8937-.012-1.0884-.1078-1.7476-.6522-4.506-3.8592-8.2919-8.2087-9.6945-.7672-.2487-1.5836-.42-2.4985-.5232-.169-.0176-1.0835-.0366-1.6123-.037zm4.0685 7.217c.3473 0 .4082.0053.4857.047.1127.0562.204.1642.237.2767.0186.061.0234 1.3653.0186 4.3044l-.0067 4.2175-.7436-1.14-.7461-1.14v-3.066c0-1.982.0093-3.0963.0234-3.1502.0375-.1313.1196-.2346.2323-.2955.0961-.0494.1313-.054.4997-.054z" />\n</svg>',"./brand/programming-framework-react.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>React</title>\n <path\n d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z" />\n</svg>',"./brand/programming-framework-vuedotjs.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51Z" fill="currentColor"></path><path d="m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z" fill="currentColor"></path></g></svg>',"./brand/programming-language-c.svg":'<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">\n <path\n d="M117.5 33.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6zM64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5z"\n fill="currentColor" />\n</svg>',"./brand/programming-language-clojure.svg":'<svg viewBox="0 0 128 128">\n <path\n d="M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266zm0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41.444 41.444 0 01-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a23.787 23.787 0 00-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394v-.011zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a17.884 17.884 0 001.913 2.114 28.056 28.056 0 01-9.173 1.56 28.176 28.176 0 01-10.023-1.86c-.065-.817-.1-1.638-.103-2.459a24.45 24.45 0 01.515-5.24V84.6zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a27.998 27.998 0 019.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a14.975 14.975 0 01-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653l.006-.005zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.612 61.612 0 0014.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407l.01.006z"\n fill="currentColor" />\n</svg>',"./brand/programming-language-csharp.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M117.5 33.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6zm-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8zM115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2v5zm-12.7 4h3.8l.9-4h-3.8z" />\n</svg>',"./brand/programming-language-css3.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438L1.5 0zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53L18.59 4.414z" />\n</svg>',"./brand/programming-language-go.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3c-.2.8 0 1.7.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5zM36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4zm36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1zm-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4zM41.7 17c-1.9 0-3.5 1.7-3.5 3.8 0 2.1 1.6 3.8 3.5 3.8s3.5-1.7 3.5-3.8c0-2.1-1.5-3.8-3.5-3.8zm1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1zm27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8 0 2.1 1.5 3.8 3.4 3.8s3.4-1.7 3.4-3.8c0-2.1-1.5-3.8-3.4-3.8zm1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1z" />\n</svg>',"./brand/programming-language-html5.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z" />\n</svg>',"./brand/programming-language-http.svg":'<svg width="373.7" height="200" viewBox="0 0 373.7 200" xmlns="http://www.w3.org/2000/svg">\n <path\n d="m326 0 47.7 100L326 200H47.7L0 100 47.7 0H326Zm-16 16.6H58.3L18.4 100l39.8 83.4h251.9l39.7-83.4L310 16.6ZM87.3 72v23.5h27V71.9h13.9v59.5h-13.8V107h-27v24.4H73.5V72h13.7Zm100.1 0V83h-19v48.3h-13.8V83.1h-19V72h51.8Zm53.4 0V83h-19v48.3h-13.8V83.1h-19V72h51.8Zm47 2.6c3.6 1.6 6.7 4.2 9 7.5 2 3.4 3.2 7.4 3 11.5.2 4-1 8-3 11.4a20 20 0 0 1-9 7.5c-4.4 1.8-9.1 2.7-13.8 2.6h-12v16.4H248V72H274a33 33 0 0 1 13.7 2.6ZM273 83.1H262v20.7H273c4.2 0 7.3-1 9.5-2.7a9.3 9.3 0 0 0 3.2-7.6c0-3.3-1-6-3.2-7.7-2.2-1.8-5.3-2.7-9.5-2.7Z"\n fill="currentColor" fill-rule="nonzero" />\n</svg>',"./brand/programming-language-java.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path\n d="M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a25.93 25.93 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88Z"\n fill="currentColor"></path>\n <path\n d="M17.17 16.91a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85Z"\n fill="currentColor"></path>\n <path\n d="M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.34 26.34 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05Z"\n fill="currentColor"></path>\n <path\n d="M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06Z"\n fill="currentColor"></path>\n <path d="M12.52 11.27s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36Z"\n fill="currentColor"></path>\n <path d="M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4Z"\n fill="currentColor"></path>\n <path\n d="M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.59 16.59 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38Z"\n fill="currentColor"></path>\n</svg>',"./brand/programming-language-javascript-js.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z" />\n</svg>',"./brand/programming-language-json.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path\n d="M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.78.78 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43Z"\n fill="currentColor"></path>\n <path\n d="M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.86 9.86 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.53 6.53 0 0 1 12 18.3h-.15a.78.78 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12Z"\n fill="currentColor"></path>\n</svg>',"./brand/programming-language-kotlin.svg":'<svg viewBox="0 0 128 128" fill="currentColor">\n <path d="M0 0h61.4L0 60.4zM0 128L128 0H64.6L0 63.7zM128 128L64.6 66.6 3.3 128z" />\n</svg>',"./brand/programming-language-node.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <g>\n <path\n d="M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69Z"\n fill="currentColor"></path>\n <path\n d="M15.51 14.76a9.33 9.33 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a11.84 11.84 0 0 0 1.36.08 12.16 12.16 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.33 9.33 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.46 12.46 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85Z"\n fill="currentColor"></path>\n </g>\n</svg>',"./brand/programming-language-objc.svg":'<svg viewBox="0 0 128 128" fill="currentColor">\n <path\n d="M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0117.506-42.759 60.939 60.939 0 0143.279-18.36 60.081 60.081 0 0142.647 17.71 60.145 60.145 0 0118.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.774 57.774 0 00-41.01 17.427 56.775 56.775 0 00-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 00-17.217-40.273A56.7 56.7 0 0064.068 6.986z" />\n <path\n d="M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183l-8.642-.066zM46.213 64.272c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785zm-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307l.033-.08zM49.205 55.158c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 015.537 1.223 4.062 4.062 0 012.006 3.61 4.48 4.48 0 01-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.016 5.016 0 01-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a33.966 33.966 0 01-4.327-.257l-.033-18.88zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782 0-1.638-1.368-2.644-3.61-2.644a9.779 9.779 0 00-2.006.145l.02 5.28zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75v6.287zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.313 9.313 0 01-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zM83.067 65.357v2.434h-7.32v-2.434h7.32zM100.158 73.63c-1.585.632-3.281.921-4.978.862-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.112 11.112 0 014.775.862l-.783 2.801a9.476 9.476 0 00-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.806 9.806 0 003.834-.717l.506 2.762zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z" />\n</svg>',"./brand/programming-language-ocaml.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.44 15.44 0 00-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a24.864 24.864 0 00-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a34.992 34.992 0 004.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855c0-.187 0-.187 0 0zm-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135.241 135.241 0 01-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0" />\n</svg>',"./brand/programming-language-php.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z" />\n</svg>',"./brand/programming-language-powershell.svg":'<svg viewBox="0 0 101 121" xmlns="http://www.w3.org/2000/svg">\n <g fill="none" fill-rule="evenodd">\n <path\n d="M63.69 58.855c-1.543-1.81-3.237-3.894-5.03-5.886-10.174-11.3-20.257-22.684-30.61-33.815C23.31 14.06 21.8 9.114 27.49 4.085c5.623-4.97 11.148-4.53 16.306 1.188C58.162 21.193 72.51 37.13 87.113 52.83c5.452 5.864 4.182 9.851-1.823 14.196-23.049 16.683-45.968 33.547-68.862 50.443-5.146 3.8-10.052 4.75-14.209-.86-4.586-6.19-.343-9.872 4.414-13.336 17.013-12.392 33.993-24.83 50.9-37.366 2.355-1.746 5.736-2.764 6.157-7.05Z"\n fill="currentColor" />\n <path\n d="M70.977 118.723c-6.196 0-12.4.213-18.583-.068-4.932-.223-7.9-2.979-7.838-8.174.06-4.912 2.536-8.605 7.463-8.738 13.542-.363 27.104-.285 40.651-.02 4.305.084 7.483 2.89 7.457 7.375-.03 5.146-2.739 9.133-8.25 9.465-6.944.42-13.93.104-20.899.104v.056Z"\n fill="currentColor" />\n </g>\n</svg>',"./brand/programming-language-python.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z" />\n</svg>',"./brand/programming-language-r.svg":'<svg fill="currentColor" viewBox="0 0 128 128">\n <path\n d="M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88.362 88.362 0 0012.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41.01 41.01 0 00-1.828-2.851z" />\n <path\n d="M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.388 8.388 0 011.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137l-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"\n fill-rule="evenodd" />\n</svg>',"./brand/programming-language-ruby.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Ruby</title>\n <path\n d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z" />\n</svg>',"./brand/programming-language-scala.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Scala</title>\n <path\n d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z" />\n</svg>',"./brand/programming-language-shell.svg":'<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14">\n <path\n d="m2.378 9.9 5.139-4.627L2.377.645.69 2.205l3.4 3.042v.051L.69 8.341 2.378 9.9Zm14.19 3.299V11H8.591v2.199h7.977Z"\n fill-rule="nonzero" fill="currentColor" />\n</svg>',"./brand/programming-language-swift.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" fill="currentColor">\n\t<path\n\t\td="M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5z" />\n</svg>',"./brand/programming-language-typescript.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>TypeScript</title>\n <path\n d="M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z" />\n</svg>',"./brand/programming-tool-git.svg":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.18 2.18 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.18 2.18 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18Z" fill="currentColor"></path></svg>',"./brand/programming-tool-tailwindcss.svg":'<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <title>Tailwind CSS</title>\n <path\n d="M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z" />\n</svg>'});function hee(e,t){const n=Object.entries(e).map((([e,n])=>{const r=e.replace("./solid/","").replace("./line/","").replace("./brand/","").replace(".svg","");return{icon:{src:`${t}/${r}`,title:r.replaceAll("-"," "),group:t,tags:[]},rawData:n}})),r=n.map((e=>e.icon)),o=Object.fromEntries(n.map((e=>[e.icon.src,e.rawData])));return{iconDefinitionList:r,iconDataMap:o}}const mee=hee(dee,"solid"),gee=hee(pee,"line"),Oee=hee(fee,"brand");mee.iconDefinitionList,gee.iconDefinitionList,Oee.iconDefinitionList;const yee={...mee.iconDataMap,...gee.iconDataMap,...Oee.iconDataMap},bee=["alt","src"],vee=Gr({__name:"Icon",props:{src:{},title:{}},setup(e){const t=e,n=Ua((()=>{return e=t.src,yee[e];var e}));return(e,t)=>n.value?(Zi(),Bi(mn(uee),{key:0,raw:n.value},null,8,["raw"])):(Zi(),Wi("img",{key:1,alt:e.title,src:e.src},null,8,bee))}}),wee=["href"],See={key:1,class:"action-menu"},xee=vl(Gr({__name:"SidebarElement",props:{item:{},isActive:{type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],setup(e,{expose:t,emit:n}){const r=e,o=async()=>{var e,t;r.hasChildren&&n("toggleOpen"),null==(t=null==(e=r.item)?void 0:e.select)||t.call(e)},i=dn(null);return t({el:i}),(e,t)=>{var n,r;return Zi(),Wi("li",{ref_key:"el",ref:i,class:"sidebar-group-item"},[ea("div",{class:$e(["sidebar-heading",{"sidebar-group-item__folder":e.hasChildren,active_page:e.isActive,deprecated:e.item.deprecated??!1}]),onClick:o},[e.hasChildren?(Zi(),Bi(mn(fp),{key:0,class:"toggle-nested-icon",icon:e.open?"ChevronDown":"ChevronRight",label:"Toggle group",size:"sm",onClick:zs(o,["stop"])},null,8,["icon","onClick"])):la("",!0),ea("a",{class:"sidebar-heading-link",href:`#${e.item.id}`},[(null==(r=null==(n=e.item)?void 0:n.icon)?void 0:r.src)?(Zi(),Bi(mn(vee),{key:0,class:"sidebar-icon",src:e.item.icon.src},null,8,["src"])):la("",!0),ea("span",null,Re(e.item.title),1),e.item.httpVerb?(Zi(),Wi("div",{key:1,class:$e(["sidebar-heading-type",[e.item.httpVerb?`sidebar-heading-type--${e.item.httpVerb}`:""]])},Re("delete"===e.item.httpVerb?"del":e.item.httpVerb),3)):la("",!0)],8,wee)],2),e.open?$o(e.$slots,"default",{key:0},void 0,!0):la("",!0),e.$slots["action-menu"]?(Zi(),Wi("div",See,[$o(e.$slots,"action-menu",{},void 0,!0)])):la("",!0)],512)}}}),[["__scopeId","data-v-d145b691"]]),kee=vl(Gr({__name:"SidebarGroup",props:{level:{}},setup:e=>(e,t)=>(Zi(),Wi("ul",{class:"sidebar-group sidebar-indent-nested",style:ve({"--sidebar-level":e.level})},[$o(e.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-1d9641f3"]]),$ee={class:"sidebar"},Pee=vl(Gr({__name:"Sidebar",props:{parsedSpec:{}},setup(e){const t=e,{hash:n}=_Z(),{items:r,toggleCollapsedSidebarItem:o,collapsedSidebarItems:i}=z7({parsedSpec:t.parsedSpec}),a=dn(null),s=dn({});Ir(n,(e=>{var t,n,r,o,i;const l=s.value[e];if(!l||!a.value)return;let c=-160;"heading"===l.getAttribute("data-sidebar-type")?c+=l.offsetTop+(null==(t=l.getElementsByClassName("sidebar-heading"))?void 0:t[0]).offsetHeight:c+=l.offsetTop+((null==(n=l.parentElement)?void 0:n.offsetTop)??0)+((null==(o=null==(r=l.parentElement)?void 0:r.parentElement)?void 0:o.offsetTop)??0),null==(i=a.value)||i.scrollTo({top:c,behavior:"smooth"})}));const l=(e,t)=>{(null==e?void 0:e.el)&&(s.value[t]=e.el)};return(e,t)=>(Zi(),Wi("div",$ee,[$o(e.$slots,"sidebar-start",{},void 0,!0),ea("div",{ref_key:"scrollerEl",ref:a,class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"},[ta(kee,{level:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(mn(r).entries,(e=>(Zi(),Wi(qi,{key:e.id},[e.show?(Zi(),Bi(xee,{key:0,ref_for:!0,ref:t=>l(t,e.id),"data-sidebar-type":"heading",hasChildren:e.children&&e.children.length>0,isActive:mn(n)===e.id,item:{id:e.id,title:e.title,select:e.select,httpVerb:e.httpVerb,deprecated:e.deprecated??!1},open:mn(i)[e.id]??!1,onToggleOpen:()=>mn(o)(e.id)},{default:Pr((()=>{var t;return[e.children&&(null==(t=e.children)?void 0:t.length)>0?(Zi(),Bi(kee,{key:0,level:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(e.children,(t=>(Zi(),Wi(qi,{key:t.id},[e.show?(Zi(),Bi(xee,{key:0,ref_for:!0,ref:e=>l(e,t.id),isActive:mn(n)===t.id,item:{id:t.id,title:t.title,select:t.select,httpVerb:t.httpVerb,deprecated:t.deprecated??!1}},null,8,["isActive","item"])):la("",!0)],64)))),128))])),_:2},1024)):la("",!0)]})),_:2},1032,["hasChildren","isActive","item","open","onToggleOpen"])):la("",!0)],64)))),128))])),_:1})],512),$o(e.$slots,"sidebar-end",{},void 0,!0)]))}}),[["__scopeId","data-v-4514cb6e"]]),_ee={key:0,class:"api-client-drawer"},Tee={class:"scalar-api-client__overlay"},Eee={class:"scalar-api-client__container"},Qee={class:"scalar-api-client-height"},Cee={key:0,class:"t-doc__sidebar"},Aee={key:1,class:"t-doc__sidebar"},Ree=vl(Gr({__name:"ApiClientModal",props:{parsedSpec:{},overloadShow:{type:Boolean},tabMode:{type:Boolean},activeTab:{},proxyUrl:{}},emits:["toggleDarkMode"],setup(e){const{hideApiClient:t,state:n}=MT(),r=Md("(max-width: 1000px)");return(e,o)=>(Zi(),Wi(qi,null,[mn(n).showApiClient||e.overloadShow?(Zi(),Wi("div",_ee,[ea("div",Tee,[ea("div",Eee,[$o(e.$slots,"header",{},void 0,!0),ea("div",Qee,[e.tabMode?(Zi(),Wi(qi,{key:0},["sidebar"===e.activeTab?(Zi(),Wi("div",Cee,[Vr(ta(Pee,{parsedSpec:e.parsedSpec},null,8,["parsedSpec"]),[[Ys,!mn(r)]])])):$o(e.$slots,"active-tab",{key:1},void 0,!0)],64)):(Zi(),Wi("div",Aee,[Vr(ta(Pee,{parsedSpec:e.parsedSpec},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",{},void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",{},void 0,!0)])),_:3},8,["parsedSpec"]),[[Ys,!mn(r)]])])),ta(mn(pj),{proxyUrl:e.proxyUrl,readOnly:"",theme:"none",onEscapeKeyPress:mn(t)},null,8,["proxyUrl","onEscapeKeyPress"])])])])])):la("",!0),mn(n).showApiClient?(Zi(),Wi("div",{key:1,class:"api-client-drawer-exit",onClick:o[0]||(o[0]=(...e)=>mn(t)&&mn(t)(...e))})):la("",!0)],64))}}),[["__scopeId","data-v-388c91f3"]]),Dee={class:"scalar-card"};const Nee=vl({},[["render",function(e,t){return Zi(),Wi("div",Dee,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-f9d4a1f3"]]),jee=vl(Gr({__name:"CardContent",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup:e=>(e,t)=>(Zi(),Wi("div",{class:$e(["scalar-card-content",{"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,"scalar-card--borderless":e.borderless}])},[$o(e.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-47a41f7c"]]),qee={class:"scalar-card-header-slots"},Iee={class:"scalar-card-header-slot scalar-card-header-title"},Uee={class:"scalar-card-header-slot scalar-card-header-actions"},Mee=vl(Gr({__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e;return(e,n)=>(Zi(),Bi(jee,pa(t,{class:"scalar-card-header"}),{default:Pr((()=>[ea("div",qee,[ea("div",Iee,[$o(e.$slots,"default",{},void 0,!0)]),ea("div",Uee,[$o(e.$slots,"actions",{},void 0,!0)])])])),_:3},16))}}),[["__scopeId","data-v-cf3fd893"]]),Xee=vl(Gr({__name:"CardFooter",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e;return(e,n)=>(Zi(),Bi(jee,Pe(ra(t)),{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},16))}}),[["__scopeId","data-v-c179b8a4"]]),Fee=vl(Gr({__name:"CardTabHeader",emits:["change"],setup(e,{emit:t}){const n=e=>{t("change",e)};return(e,t)=>(Zi(),Bi(Mee,null,{actions:Pr((()=>[$o(e.$slots,"actions",{},void 0,!0)])),default:Pr((()=>[ta(mn(Sd),{onChange:n},{default:Pr((()=>[ta(mn(xd),{class:"tab-list"},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))}}),[["__scopeId","data-v-b81067df"]]),Zee=vl(Gr({__name:"CardTab",setup:e=>(e,t)=>(Zi(),Bi(mn(kd),{as:"template"},{default:Pr((({selected:t})=>[ea("button",{class:$e({tab:!0,"tab-selected":t}),type:"button"},[ea("span",null,[$o(e.$slots,"default",{},void 0,!0)])],2)])),_:3}))}),[["__scopeId","data-v-d044c876"]]),Vee="object"==typeof self?self:globalThis,Lee=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new Vee[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new Vee[i](a),o)};return r})(new Map,e)(0),zee="",{toString:Wee}={},{keys:Bee}=Object,Yee=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Wee.call(e).slice(8,-1);switch(n){case"Array":return[1,zee];case"Object":return[2,zee];case"Date":return[3,zee];case"RegExp":return[4,zee];case"Map":return[5,zee];case"Set":return[6,zee]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Hee=([e,t])=>0===e&&("function"===t||"symbol"===t),Gee=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=Yee(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of Bee(r))!e&&Hee(Yee(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!Hee(Yee(o))&&!Hee(Yee(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&Hee(Yee(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Kee="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Lee(Gee(e,t)):structuredClone(e):(e,t)=>Lee(Gee(e,t)),Jee=function(e,t,n,r,o){const i=ete(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(!(null==r||r.type&&r.children))throw new Error("Expected valid `parent`");if(null==n!=(null==r))throw new Error("Expected both `index` and `parent`");return!!rte(e)&&i.call(o,e,n,r)},ete=function(e){if(null==e)return nte;if("string"==typeof e)return function(e){return tte(t);function t(t){return t.tagName===e}}(e);if("object"==typeof e)return function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ete(e[n]);return tte(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e);if("function"==typeof e)return tte(e);throw new Error("Expected function, string, or array as `test`")};function tte(e){return function(t,n,r){return Boolean(rte(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function nte(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function rte(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}const ote=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,ite=/^[a-zA-Z]:\\/;function ate(e){return e.join(" ").trim()}const ste=["http","https"],lte=["nofollow"],cte={};function ute(e){const t=e||cte,n=t.protocols||ste,r=ete(t.test);return function(e){YI(e,"element",(function(e,o,i){if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,o,i)){const r=e.properties.href;if(function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!ite.test(e)&&ote.test(e)}(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){const n=dte(t.content,e),r=n&&!Array.isArray(n)?[n]:n,o=dte(t.rel,e)||lte,i="string"==typeof o?function(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}(o):o,a=dte(t.target,e),s=dte(t.properties,e);if(s&&Object.assign(e.properties,Kee(s)),i.length>0&&(e.properties.rel=[...i]),a&&(e.properties.target=a),r){const n=dte(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:Kee(n),children:Kee(r)})}}}}))}}function dte(e,t){return"function"==typeof e?e(t):e}const pte=ete((function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName})),fte={}.hasOwnProperty;const hte=new Set(["pingback","prefetch","stylesheet"]);const mte=ete(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),gte=ete("meta");function Ote(e){return Boolean("text"===e.type||mte(e)||pte(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++n<t.length;)if(!hte.has(String(t[n])))return!1;return!0}(e)||gte(e)&&function(e,t){const n="element"===e.type&&fte.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}(e,"itemProp"))}const yte=/[ \t\n\f\r]/g;function bte(e){return"object"==typeof e?"text"===e.type&&vte(e.value):vte(e)}function vte(e){return""===e.replace(yte,"")}const wte=["pre","script","style","textarea"],Ste=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],xte=["button","input","select","textarea"],kte=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],$te={},Pte=XI(["doctype","comment"]);function _te(e,t){if("children"in e){const n={...t};return("root"===e.type||Cte(e))&&(n.before=!0,n.after=!0),n.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(e,t),function(e,t){let n=t.before;const r=t.after,o=e.children;let i=o.length,a=-1;for(;++a<i;){const e=_te(o[a],{...t,after:Tte(o,a,r),before:n});e.remove?(o.splice(a,1),a--,i--):e.ignore||(n=e.stripAtStart),Qte(o[a])&&(n=!1)}return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(e,n)}if("text"===e.type){if("normal"===t.whitespace)return function(e,t){const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1};let o=0,i=n.length;t.before&&Rte(n.charAt(0))&&o++;o!==i&&Rte(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0);o===i?r.remove=!0:e.value=n.slice(o,i);return r}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:Pte(e),stripAtStart:!1,remove:!1}}function Tte(e,t,n){for(;++t<e.length;){const n=e[t];let r=Ete(n);if(void 0===r&&"children"in n&&!Ate(n)&&(r=Tte(n.children,-1)),"boolean"==typeof r)return r}return n}function Ete(e){if("element"===e.type){if(Qte(e))return!1;if(Cte(e))return!0}else if("text"===e.type){if(!bte(e))return!1}else if(!Pte(e))return!1}function Qte(e){return pte(e)||Jee(e,xte)}function Cte(e){return Jee(e,Ste)}function Ate(e){return Boolean("element"===e.type&&e.properties.hidden)||Pte(e)||Jee(e,kte)}function Rte(e){return" "===e||"\n"===e}function Dte(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function Nte(){return" "}const jte={},qte=function(e){const t=function(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}((e||$te).newlines?Dte:Nte);return function(e){_te(e,{collapse:t,whitespace:"normal"})}}({newlines:!0});function Ite(e){const t=e||jte;let n=t.indent||2,r=t.indentInitial;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(e){let t;qte(e),BI(e,(function(e,i){let a=-1;if(!("children"in e))return;if(Jee(e,"head")&&(t=!0),t&&Jee(e,"body")&&(t=void 0),Jee(e,wte))return WI;const s=e.children;let l,c=i.length;if(0===s.length||!Ute(e,t))return;for(r||c--;++a<s.length;){const e=s[a];"text"!==e.type&&"comment"!==e.type||(e.value.includes("\n")&&(l=!0),e.value=e.value.replace(/ *\n/g,"$&"+String(n).repeat(c)))}const u=[];let d;for(a=-1;++a<s.length;){const e=s[a];(Ute(e,t)||l&&!a)&&(o(u,c,e),l=!0),d=e,u.push(e)}d&&(l||Ute(d,t))&&(bte(d)&&(u.pop(),d=u[u.length-1]),o(u,c-1)),e.children=u}))};function o(e,t,r){const o=e[e.length-1],a=(i(o&&bte(o)?e[e.length-2]:o)&&i(r)?"\n\n":"\n")+String(n).repeat(Math.max(t,0));o&&"text"===o.type?o.value=bte(o)?a:o.value+a:e.push({type:"text",value:a})}function i(e){return Boolean(e&&"element"===e.type&&t.blanks&&t.blanks.length>0&&t.blanks.includes(e.tagName))}}function Ute(e,t){return"root"===e.type||"element"===e.type&&(t||Jee(e,"script")||pte(e)||!Ote(e))}const Mte=function(e,t,n){const r=XI(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof t){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},Xte=/\n/g,Fte=/[\t ]+/g,Zte=ete("br"),Vte=ete((function(e){return"td"===e.tagName||"th"===e.tagName})),Lte=ete("p"),zte=ete("tr"),Wte=ete(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return Boolean((e.properties||{}).hidden)},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),Bte=ete(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Yte(e,t={}){const n="children"in e?e.children:[],r=Bte(e),o=Jte(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[];"text"!==e.type&&"comment"!==e.type||i.push(...Gte(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<n.length;)i.push(...Hte(n[a],e,{whitespace:o,breakBefore:a?void 0:r,breakAfter:a<n.length-1?Zte(n[a+1]):r}));const s=[];let l;for(a=-1;++a<i.length;){const e=i[a];"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function Hte(e,t,n){return"element"===e.type?function(e,t,n){const r=Jte(e,n),o=e.children||[];let i,a,s=-1,l=[];if(Wte(e))return l;Zte(e)||zte(e)&&Mte(t,e,zte)?a="\n":Lte(e)?(i=2,a=2):Bte(e)&&(i=1,a=1);for(;++s<o.length;)l=l.concat(Hte(o[s],e,{whitespace:r,breakBefore:s?void 0:i,breakAfter:s<o.length-1?Zte(o[s+1]):a}));Vte(e)&&Mte(t,e,Vte)&&l.push("\t");i&&l.unshift(i);a&&l.push(a);return l}(e,t,n):"text"===e.type?"normal"===n.whitespace?Gte(e,n):function(e){return[String(e.value)]}(e):[]}function Gte(e,t){const n=String(e.value),r=[],o=[];let i=0;for(;i<=n.length;){Xte.lastIndex=i;const e=Xte.exec(n),o=e&&"index"in e?e.index:n.length;r.push(Kte(n.slice(i,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==i||t.breakBefore,o!==n.length||t.breakAfter)),i=o+1}let a,s=-1;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(o.push(r[s]),a=void 0):r[s]?("number"==typeof a&&o.push(a),o.push(r[s]),a=0):0!==s&&s!==r.length-1||o.push(0);return o}function Kte(e,t,n){const r=[];let o,i=0;for(;i<e.length;){Fte.lastIndex=i;const n=Fte.exec(e);o=n?n.index:e.length,i||o||!n||t||r.push(""),i!==o&&r.push(e.slice(i,o)),i=n?o+n[0].length:o}return i===o||n||r.push(""),r.join(" ")}function Jte(e,t){if("element"===e.type){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}const ene=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],tne=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],nne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],rne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],one=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();var ine="[0-9](_*[0-9])*",ane=`\\.(${ine})`,sne="[0-9a-fA-F](_*[0-9a-fA-F])*",lne={className:"number",variants:[{begin:`(\\b(${ine})((${ane})|\\.)?|(${ane}))[eE][+-]?(${ine})[fFdD]?\\b`},{begin:`\\b(${ine})((${ane})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ane})[fFdD]?\\b`},{begin:`\\b(${ine})[fFdD]\\b`},{begin:`\\b0[xX]((${sne})\\.?|(${sne})?\\.(${sne}))[pP][+-]?(${ine})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${sne})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function cne(e,t,n){return-1===n?"":e.replace(t,(r=>cne(e,t,n-1)))}const une="[A-Za-z$_][0-9A-Za-z$_]*",dne=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],pne=["true","false","null","undefined","NaN","Infinity"],fne=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],hne=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],mne=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],gne=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],One=[].concat(mne,fne,hne);var yne="[0-9](_*[0-9])*",bne=`\\.(${yne})`,vne="[0-9a-fA-F](_*[0-9a-fA-F])*",wne={className:"number",variants:[{begin:`(\\b(${yne})((${bne})|\\.)?|(${bne}))[eE][+-]?(${yne})[fFdD]?\\b`},{begin:`\\b(${yne})((${bne})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${bne})[fFdD]?\\b`},{begin:`\\b(${yne})[fFdD]\\b`},{begin:`\\b0[xX]((${vne})\\.?|(${vne})?\\.(${vne}))[pP][+-]?(${yne})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${vne})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const Sne=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],xne=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],kne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],$ne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Pne=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),_ne=kne.concat($ne);const Tne=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Ene=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Qne=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Cne=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Ane=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Rne(e){return e?"string"==typeof e?e:e.source:null}function Dne(e){return Nne("(?=",e,")")}function Nne(...e){return e.map((e=>Rne(e))).join("")}function jne(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>Rne(e))).join("|")+")"}const qne=e=>Nne(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ine=["Protocol","Type"].map(qne),Une=["init","self"].map(qne),Mne=["Any","Self"],Xne=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Fne=["false","nil","true"],Zne=["assignment","associativity","higherThan","left","lowerThan","none","right"],Vne=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Lne=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],zne=jne(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Wne=jne(zne,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Bne=Nne(zne,Wne,"*"),Yne=jne(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Hne=jne(Yne,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Gne=Nne(Yne,Hne,"*"),Kne=Nne(/[A-Z]/,Hne,"*"),Jne=["attached","autoclosure",Nne(/convention\(/,jne("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Nne(/objc\(/,Gne,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ere=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];const tre="[A-Za-z$_][0-9A-Za-z$_]*",nre=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],rre=["true","false","null","undefined","NaN","Infinity"],ore=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ire=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],are=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],sre=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],lre=[].concat(are,ore,ire);const cre={arduino:function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},f={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n},bash:function(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,o]};o.contains.push(a);const s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,i,{match:/(\/[a-z._-]+)+/},a,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},f=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(h,m,f,[c,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}},cpp:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},f={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(o,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},f=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+f+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}},css:function(e){const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+nne.join("|")+")"},{begin:":(:)?("+rne.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+one.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:tne.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+ene.join("|")+")\\b"}]}},diff:function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},go:function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},graphql:function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}},ini:function(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,i,o,a,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,i,o,a,n]}}]}},java:function(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+cne("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,lne,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},lne,i]}},javascript:function(e){const t=e.regex,n=une,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:une,keyword:dne,literal:pne,built_in:One,"variable.language":gne},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},h={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},O=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,{match:/\$\d+/},u];d.contains=O.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(O)});const y=[].concat(g,d.contains),b=y.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(y)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},w={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...fne,...hne]}},x={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},k={match:t.concat(/\b/,($=[...mne,"super","import"],t.concat("(?!",$.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var $;const P={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},T="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(T)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,g,{match:/\$\d+/},u,S,{className:"attr",begin:n+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},P,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},k,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,_,{match:/\$[(.]/}]}},json:function(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},kotlin:function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(i);const a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},l=wne,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,a,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,a,s,i,e.C_NUMBER_MODE]},c]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},less:function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=_ne,r="[\\w-]+",o="("+r+"|@\\{"+r+"\\})",i=[],a=[],s=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:xne.join(" ")},u={begin:"\\(",end:"\\)",contains:a,keywords:c,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=a.concat({begin:/\{/,end:/\}/,contains:i}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},f={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Pne.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+r+"\\}"),{begin:"\\b("+Sne.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+kne.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+$ne.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},O={begin:r+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,O,f,g,p,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}},lua:function(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},o=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i]}},markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},o={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(r,{contains:[]}),a=e.inherit(o,{contains:[]});r.contains.push(a),o.contains.push(i);let s=[t,n];return[r,o,i,a].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(r,o),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,o,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},objectivec:function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},perl:function(e){const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},i={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,o,a],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,r,o="\\1")=>{const i="\\1"===o?o:t.concat(o,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,o,n)},u=(e,r,o)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,o,n),d=[a,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:s,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:c("s|tr|y",t.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=d,i.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:d}},php:function(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i={scope:"variable",match:"\\$+"+r},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},u={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},d=["false","null","true"],p=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],f=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],h={keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(d),built_in:f},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),g={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",m(f).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},O=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),O],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),O],scope:{1:"title.class",3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},b={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},v={relevance:0,begin:/\(/,end:/\)/,keywords:h,contains:[b,i,y,e.C_BLOCK_COMMENT_MODE,c,u,g]},w={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(p).join("\\b|"),"|",m(f).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[v]};v.contains.push(w);const S=[b,y,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,keywords:h,contains:[{begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},contains:["self",...S]},...S,{scope:"meta",match:o}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,w,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},g,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,c,u]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,u]}},"php-template":function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},python:function(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},f={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",i,p,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,p,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[i,p,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,f,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,h,l]}]}},"python-repl":function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}},r:function(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},h=[u,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:i},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=h,f.contains=h;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:h}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(h)}},rust:function(e){const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:o},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:i}},{className:"punctuation",begin:"->"},n]}},scss:function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=Cne,r=Qne,o="@[a-z-]+",i={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Tne.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},i,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ane.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,i,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Ene.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){const t=e.regex,n=e.COMMENT("--","$"),r=["true","false","unknown"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],s=i,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(l,{when:e=>e.length<3}),literal:r,type:o,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(a),literal:r,type:o}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],o={match:[/\./,jne(...Ine,...Une)],className:{2:"keyword"}},i={match:Nne(/\./,jne(...Xne)),relevance:0},a=Xne.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{className:"keyword",match:jne(...Xne.filter((e=>"string"!=typeof e)).concat(Mne).map(qne),...Une)}]},l={$pattern:jne(/\b\w+/,/#\w+/),keyword:a.concat(Vne),literal:Fne},c=[o,i,s],u=[{match:Nne(/\./,jne(...Lne)),relevance:0},{className:"built_in",match:Nne(/\b/,jne(...Lne),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:Bne},{match:`\\.(\\.|${Wne})+`}]}],f="([0-9]_*)+",h="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:`\\b(${f})(\\.(${f}))?([eE][+-]?(${f}))?\\b`},{match:`\\b0x(${h})(\\.(${h}))?([pP][+-]?(${f}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{match:Nne(/\\/,e,/[0\\tnr"']/)},{match:Nne(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),O=(e="")=>({className:"subst",match:Nne(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(e="")=>({className:"subst",label:"interpol",begin:Nne(/\\/,e,/\(/),end:/\)/}),b=(e="")=>({begin:Nne(e,/"""/),end:Nne(/"""/,e),contains:[g(e),O(e),y(e)]}),v=(e="")=>({begin:Nne(e,/"/),end:Nne(/"/,e),contains:[g(e),y(e)]}),w={className:"string",variants:[b(),b("#"),b("##"),b("###"),v(),v("#"),v("##"),v("###")]},S=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:S},k=e=>{const t=Nne(e,/\//),n=Nne(/\//,e);return{begin:t,end:n,contains:[...S,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},$={scope:"regexp",variants:[k("###"),k("##"),k("#"),x]},P={match:Nne(/`/,Gne,/`/)},_=[P,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${Hne}+`}],T=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ere,contains:[...p,m,w]}]}},{scope:"keyword",match:Nne(/@/,jne(...Jne))},{scope:"meta",match:Nne(/@/,Gne)}],E={match:Dne(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Nne(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Hne,"+")},{className:"type",match:Kne,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Nne(/\s+&\s+/,Dne(Kne)),relevance:0}]},Q={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...T,d,E]};E.contains.push(Q);const C={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:Nne(Gne,/\s*:/),keywords:"_|0",relevance:0},...r,$,...c,...u,...p,m,w,..._,...T,E]},A={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,E]},R={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:jne(Dne(Nne(Gne,/\s*:/)),Dne(Nne(Gne,/\s+/,Gne,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Gne}]},...r,...c,...p,m,w,...T,E,C],endsParent:!0,illegal:/["']/},D={match:[/(func|macro)/,/\s+/,jne(P.match,Gne,Bne)],className:{1:"keyword",3:"title.function"},contains:[A,R,t],illegal:[/\[/,/%/]},N={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[A,R,t],illegal:/\[|%/},j={match:[/operator/,/\s+/,Bne],className:{1:"keyword",3:"title"}},q={begin:[/precedencegroup/,/\s+/,Kne],className:{1:"keyword",3:"title"},contains:[E],keywords:[...Zne,...Fne],end:/}/};for(const I of w.variants){const e=I.contains.find((e=>"interpol"===e.label));e.keywords=l;const t=[...c,...u,...p,m,w,..._];e.contains=[...t,{begin:/\(/,end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l,contains:[...r,D,N,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},j,q,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},$,...c,...u,...p,m,w,..._,...T,E,C]}},typescript:function(e){const t=function(e){const t=e.regex,n=tre,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:tre,keyword:nre,literal:rre,built_in:lre,"variable.language":sre},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},h={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},O=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,{match:/\$\d+/},u];d.contains=O.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(O)});const y=[].concat(g,d.contains),b=y.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(y)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},w={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ore,...ire]}},x={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},k={match:t.concat(/\b/,($=[...are,"super","import"],t.concat("(?!",$.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var $;const P={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},T="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(T)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,f,h,m,g,{match:/\$\d+/},u,S,{className:"attr",begin:n+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},P,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},k,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,_,{match:/\$[(.]/}]}}(e),n=tre,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},a={$pattern:tre,keyword:nre.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:rre,built_in:lre.concat(r),"variable.language":sre},s={className:"meta",begin:"@"+n},l=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};return Object.assign(t.keywords,a),t.exports.PARAMS_CONTAINS.push(s),t.contains=t.contains.concat([s,o,i]),l(t,"shebang",e.SHEBANG()),l(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t},vbnet:function(e){const t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,i=/\d{1,2}(:\d{1,2}){1,2}/,a={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(o,i),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}},wasm:function(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}},xml:function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,s,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},yaml:function(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[...c];return u.pop(),u.push(o),a.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}}};function ure(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{const n=e[t],r=typeof n;"object"!==r&&"function"!==r||Object.isFrozen(n)||ure(n)})),e}class dre{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pre(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function fre(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const hre=e=>!!e.scope;class mre{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pre(e)}openNode(e){if(!hre(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hre(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const gre=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Ore{constructor(){this.rootNode=gre(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=gre({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{Ore._collapse(e)})))}}class yre extends Ore{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new mre(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function bre(e){return e?"string"==typeof e?e:e.source:null}function vre(e){return xre("(?=",e,")")}function wre(e){return xre("(?:",e,")*")}function Sre(e){return xre("(?:",e,")?")}function xre(...e){return e.map((e=>bre(e))).join("")}function kre(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>bre(e))).join("|")+")"}function $re(e){return new RegExp(e.toString()+"|").exec("").length-1}const Pre=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _re(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=bre(e),o="";for(;r.length>0;){const e=Pre.exec(r);if(!e){o+=r;break}o+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}const Tre="[a-zA-Z]\\w*",Ere="[a-zA-Z_]\\w*",Qre="\\b\\d+(\\.\\d+)?",Cre="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Are="\\b(0b[01]+)",Rre={begin:"\\\\[\\s\\S]",relevance:0},Dre={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Rre]},Nre={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Rre]},jre=function(e,t,n={}){const r=fre({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=kre("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:xre(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},qre=jre("//","$"),Ire=jre("/\\*","\\*/"),Ure=jre("#","$"),Mre={scope:"number",begin:Qre,relevance:0},Xre={scope:"number",begin:Cre,relevance:0},Fre={scope:"number",begin:Are,relevance:0},Zre={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Rre,{begin:/\[/,end:/\]/,relevance:0,contains:[Rre]}]},Vre={scope:"title",begin:Tre,relevance:0},Lre={scope:"title",begin:Ere,relevance:0},zre={begin:"\\.\\s*"+Ere,relevance:0};var Wre=Object.freeze({__proto__:null,APOS_STRING_MODE:Dre,BACKSLASH_ESCAPE:Rre,BINARY_NUMBER_MODE:Fre,BINARY_NUMBER_RE:Are,COMMENT:jre,C_BLOCK_COMMENT_MODE:Ire,C_LINE_COMMENT_MODE:qre,C_NUMBER_MODE:Xre,C_NUMBER_RE:Cre,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:Ure,IDENT_RE:Tre,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:zre,NUMBER_MODE:Mre,NUMBER_RE:Qre,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:Nre,REGEXP_MODE:Zre,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=xre(t,/.*\b/,e.binary,/\b.*/)),fre({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:Vre,UNDERSCORE_IDENT_RE:Ere,UNDERSCORE_TITLE_MODE:Lre});function Bre(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Yre(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function Hre(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Bre,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Gre(e,t){Array.isArray(e.illegal)&&(e.illegal=kre(...e.illegal))}function Kre(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Jre(e,t){void 0===e.relevance&&(e.relevance=1)}const eoe=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=xre(n.beforeMatch,vre(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},toe=["of","and","for","in","not","or","if","then","parent","list","value"],noe="keyword";function roe(e,t,n=noe){const r=Object.create(null);return"string"==typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){Object.assign(r,roe(e[n],t,n))})),r;function o(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,ooe(n[0],n[1])]}))}}function ooe(e,t){return t?Number(t):function(e){return toe.includes(e.toLowerCase())}(e)?0:1}const ioe={},aoe=e=>{console.error(e)},soe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},loe=(e,t)=>{ioe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ioe[`${e}/${t}`]=!0)},coe=new Error;function uoe(e,t,{key:n}){let r=0;const o=e[n],i={},a={};for(let s=1;s<=t.length;s++)a[s+r]=o[s],i[s+r]=!0,r+=$re(t[s-1]);e[n]=a,e[n]._emit=i,e[n]._multi=!0}function doe(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw aoe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),coe;if("object"!=typeof e.beginScope||null===e.beginScope)throw aoe("beginScope must be object"),coe;uoe(e,e.begin,{key:"beginScope"}),e.begin=_re(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw aoe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),coe;if("object"!=typeof e.endScope||null===e.endScope)throw aoe("endScope must be object"),coe;uoe(e,e.end,{key:"endScope"}),e.end=_re(e.end,{joinWith:""})}}(e)}function poe(e){function t(t,n){return new RegExp(bre(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=$re(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(_re(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=fre(e.classNameAliases||{}),function n(o,i){const a=o;if(o.isCompiled)return a;[Yre,Kre,doe,eoe].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),o.__beforeBegin=null,[Hre,Gre,Jre].forEach((e=>e(o,i))),o.isCompiled=!0;let s=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),s=o.keywords.$pattern,delete o.keywords.$pattern),s=s||/\w+/,o.keywords&&(o.keywords=roe(o.keywords,e.case_insensitive)),a.keywordPatternRe=t(s,!0),i&&(o.begin||(o.begin=/\B|\b/),a.beginRe=t(a.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(a.endRe=t(a.end)),a.terminatorEnd=bre(a.end)||"",o.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),o.illegal&&(a.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return fre(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(foe(e))return fre(e,{starts:e.starts?fre(e.starts):null});if(Object.isFrozen(e))return fre(e);return e}("self"===e?o:e)}))),o.contains.forEach((function(e){n(e,a)})),o.starts&&n(o.starts,i),a.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function foe(e){return!!e&&(e.endsWithParent||foe(e.starts))}class hoe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const moe=pre,goe=fre,Ooe=Symbol("nomatch"),yoe=function(e){const t=Object.create(null),n=Object.create(null),r=[];let o=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:yre};function l(e){return s.noHighlightRe.test(e)}function c(e,t,n){let r="",o="";"object"==typeof t?(r=e,n=t.ignoreIllegals,o=t.language):(loe("10.7.0","highlight(lang, code, ...args) has been deprecated."),loe("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,r=t),void 0===n&&(n=!0);const i={code:r,language:o};y("before:highlight",i);const a=i.result?i.result:u(i.language,i.code,n);return a.code=i.code,y("after:highlight",a),a}function u(e,n,r,a){const l=Object.create(null);function c(){if(!$.keywords)return void _.addText(T);let e=0;$.keywordPatternRe.lastIndex=0;let t=$.keywordPatternRe.exec(T),n="";for(;t;){n+=T.substring(e,t.index);const o=S.case_insensitive?t[0].toLowerCase():t[0],i=(r=o,$.keywords[r]);if(i){const[e,r]=i;if(_.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(E+=r),e.startsWith("_"))n+=t[0];else{const n=S.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=$.keywordPatternRe.lastIndex,t=$.keywordPatternRe.exec(T)}var r;n+=T.substring(e),_.addText(n)}function p(){null!=$.subLanguage?function(){if(""===T)return;let e=null;if("string"==typeof $.subLanguage){if(!t[$.subLanguage])return void _.addText(T);e=u($.subLanguage,T,!0,P[$.subLanguage]),P[$.subLanguage]=e._top}else e=d(T,$.subLanguage.length?$.subLanguage:null);$.relevance>0&&(E+=e.relevance),_.__addSublanguage(e._emitter,e.language)}():c(),T=""}function f(e,t){""!==e&&(_.startScope(t),_.addText(e),_.endScope())}function h(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=S.classNameAliases[e[n]]||e[n],o=t[n];r?f(o,r):(T=o,c(),T=""),n++}}function g(e,t){return e.scope&&"string"==typeof e.scope&&_.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(T,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),T=""):e.beginScope._multi&&(h(e.beginScope,t),T="")),$=Object.create(e,{parent:{value:$}}),$}function O(e,t,n){let r=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new dre(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return O(e.parent,t,n)}function y(e){return 0===$.matcher.regexIndex?(T+=e[0],1):(A=!0,0)}function b(e){const t=e[0],r=n.substring(e.index),o=O($,e,r);if(!o)return Ooe;const i=$;$.endScope&&$.endScope._wrap?(p(),f(t,$.endScope._wrap)):$.endScope&&$.endScope._multi?(p(),h($.endScope,e)):i.skip?T+=t:(i.returnEnd||i.excludeEnd||(T+=t),p(),i.excludeEnd&&(T=t));do{$.scope&&_.closeNode(),$.skip||$.subLanguage||(E+=$.relevance),$=$.parent}while($!==o.parent);return o.starts&&g(o.starts,e),i.returnEnd?0:t.length}let v={};function w(t,i){const a=i&&i[0];if(T+=t,null==a)return p(),0;if("begin"===v.type&&"end"===i.type&&v.index===i.index&&""===a){if(T+=n.slice(i.index,i.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=v.rule,t}return 1}if(v=i,"begin"===i.type)return function(e){const t=e[0],n=e.rule,r=new dre(n),o=[n.__beforeBegin,n["on:begin"]];for(const i of o)if(i&&(i(e,r),r.isMatchIgnored))return y(t);return n.skip?T+=t:(n.excludeBegin&&(T+=t),p(),n.returnBegin||n.excludeBegin||(T=t)),g(n,e),n.returnBegin?0:t.length}(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+a+'" for mode "'+($.scope||"<unnamed>")+'"');throw e.mode=$,e}if("end"===i.type){const e=b(i);if(e!==Ooe)return e}if("illegal"===i.type&&""===a)return 1;if(C>1e5&&C>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return T+=a,a.length}const S=m(e);if(!S)throw aoe(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const x=poe(S);let k="",$=a||x;const P={},_=new s.__emitter(s);!function(){const e=[];for(let t=$;t!==S;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>_.openNode(e)))}();let T="",E=0,Q=0,C=0,A=!1;try{if(S.__emitTokens)S.__emitTokens(n,_);else{for($.matcher.considerAll();;){C++,A?A=!1:$.matcher.considerAll(),$.matcher.lastIndex=Q;const e=$.matcher.exec(n);if(!e)break;const t=w(n.substring(Q,e.index),e);Q=e.index+t}w(n.substring(Q))}return _.finalize(),k=_.toHTML(),{language:e,value:k,relevance:E,illegal:!1,_emitter:_,_top:$}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:e,value:moe(n),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:Q,context:n.slice(Q-100,Q+100),mode:R.mode,resultSoFar:k},_emitter:_};if(o)return{language:e,value:moe(n),illegal:!1,relevance:0,errorRaised:R,_emitter:_,_top:$};throw R}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){const t={value:moe(e),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}(e),o=n.filter(m).filter(O).map((t=>u(t,e,!1)));o.unshift(r);const i=o.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(m(e.language).supersetOf===t.language)return 1;if(m(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=i,d=l;return d.secondBest=c,d}function p(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=s.languageDetectRe.exec(t);if(n){const t=m(n[1]);return t||(soe(i.replace("{}",n[1])),soe("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>l(e)||m(e)))}(e);if(l(r))return;if(y("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML)){throw new hoe("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const o=t.textContent,a=r?c(o,{language:r,ignoreIllegals:!0}):d(o);e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,r){const o=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${o}`)}(e,r,a.language),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),y("after:highlightElement",{el:e,result:a,text:o})}let f=!1;function h(){if("loading"===document.readyState)return void(f=!0);document.querySelectorAll(s.cssSelector).forEach(p)}function m(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function g(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}function O(e){const t=m(e);return t&&!t.disableAutodetect}function y(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){f&&h()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:h,highlightElement:p,highlightBlock:function(e){return loe("10.7.0","highlightBlock will be removed entirely in v12.0"),loe("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){s=goe(s,e)},initHighlighting:()=>{h(),loe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){h(),loe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(n,r){let i=null;try{i=r(e)}catch(s){if(aoe("Language definition for '{}' could not be registered.".replace("{}",n)),!o)throw s;aoe(s),i=a}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&g(i.aliases,{languageName:n})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:m,registerAliases:g,autoDetection:O,inherit:goe,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="11.9.0",e.regex={concat:xre,lookahead:vre,either:kre,optional:Sre,anyNumberOfTimes:wre};for(const b in Wre)"object"==typeof Wre[b]&&ure(Wre[b]);return Object.assign(e,Wre),e},boe=yoe({});boe.newInstance=()=>yoe({});var voe=boe;boe.HighlightJS=boe,boe.default=boe;const woe=r(voe),Soe={},xoe="hljs-";class koe{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){const t=this,n=e.split(".").map((function(e,n){return n?e+"_".repeat(n):t.options.classPrefix+e})),r={type:"element",tagName:"span",properties:{className:n},children:[]};this.stack[this.stack.length-1].children.push(r),this.stack.push(r)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const $oe={};function Poe(e){const t=e||$oe,n=t.aliases,r=t.detect||!1,o=t.languages||cre,i=t.plainText,a=t.prefix,s=t.subset;let l="hljs";const c=function(e){const t=woe.newInstance();return e&&o(e),{highlight:n,highlightAuto:function(e,o){const i=(o||Soe).subset||r();let a,s=-1,l=0;for(;++s<i.length;){const r=i[s];if(!t.getLanguage(r))continue;const c=n(r,e,o);c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,a=c)}return a||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:r,register:o,registerAlias:function(e,n){if("string"==typeof e)t.registerAliases("string"==typeof n?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){const r=e[n];t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},registered:function(e){return Boolean(t.getLanguage(e))}};function n(e,n,r){const o=r||Soe,i="string"==typeof o.prefix?o.prefix:xoe;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:koe,classPrefix:i});const a=t.highlight(n,{ignoreIllegals:!0,language:e});if(a.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:a.errorRaised});const s=a._emitter.root,l=s.data;return l.language=a.language,l.relevance=a.relevance,s}function r(){return t.listLanguages()}function o(e,n){if("string"==typeof e)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(o);if(n&&c.registerAlias(n),a){const e=a.indexOf("-");l=e>-1?a.slice(0,e):a}return function(e,t){YI(e,"element",(function(e,n,o){if("code"!==e.tagName||!o||"element"!==o.type||"pre"!==o.tagName)return;const u=function(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;for(;++n<t.length;){const e=String(t[n]);if("no-highlight"===e||"nohighlight"===e)return!1;if("lang-"===e.slice(0,5))return e.slice(5);if("language-"===e.slice(0,9))return e.slice(9)}}(e);if(!1===u||!u&&!r||u&&i&&i.includes(u))return;let d;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);try{d=u?c.highlight(u,Yte(o),{prefix:a}):c.highlightAuto(Yte(o),{prefix:a,subset:s})}catch(p){const n=p;if(u&&/Unknown language/.test(n.message))return void t.message("Cannot highlight as `"+u+"`, it’s not registered",{ancestors:[o,e],cause:n,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});throw n}!u&&d.data&&d.data.language&&e.properties.className.push("language-"+d.data.language),d.children.length>0&&(e.children=d.children)}))}}const _oe=Eoe("end"),Toe=Eoe("start");function Eoe(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Qoe(e){const t=Toe(e),n=_oe(e);if(t&&n)return{start:t,end:n}}const Coe=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Aoe={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Coe,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Coe],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Coe,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Coe,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Coe],table:[...Coe],ul:[...Coe,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Roe={}.hasOwnProperty;function Doe(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return Ioe(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return Ioe(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=Noe(e,t.children),o=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,o=e.schema.required,i=r&&Roe.call(r,n)?r[n]:void 0,a=r&&Roe.call(r,"*")?r["*"]:void 0,s=t&&"object"==typeof t?t:{},l={};let c;for(c in s)if(Roe.call(s,c)){let t;if(i&&(t=Uoe(i,c)),!t&&a&&(t=Uoe(a,c)),t){const n=s[c],r=Array.isArray(n)?joe(e,t,c,n):qoe(e,t,c,n);null!=r&&(l[c]=r)}}if(o&&Roe.call(o,n)){const e=o[n];for(c in e)Roe.call(e,c)&&!Roe.call(l,c)&&(l[c]=e[c])}return l}(e,t.properties);e.stack.pop();let i=!1;if(n.length>0&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&Roe.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r<t.length;)e.stack.includes(t[r])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const a={type:"element",tagName:n,properties:o,children:r};return Ioe(a,t),a}(e,n);case"root":return function(e,t){const n=Noe(e,t.children),r={type:"root",children:n};return Ioe(r,t),r}(e,n);case"text":return function(e,t){const n="string"==typeof t.value?t.value:"",r={type:"text",value:n};return Ioe(r,t),r}(0,n)}}}function Noe(e,t){const n=[];if(Array.isArray(t)){const r=t;let o=-1;for(;++o<r.length;){const t=Doe(e,r[o]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function joe(e,t,n,r){let o=-1;const i=[];for(;++o<r.length;){const a=qoe(e,t,n,r[o]);"number"!=typeof a&&"string"!=typeof a||i.push(a)}return i}function qoe(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){const r=e.schema.protocols&&Roe.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;const o=String(n),i=o.indexOf(":"),a=o.indexOf("?"),s=o.indexOf("#"),l=o.indexOf("/");if(i<0||l>-1&&i>l||a>-1&&i>a||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){const e=r[c];if(i===e.length&&o.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){const o=t[n];if(o&&"object"==typeof o&&"flags"in o){if(o.test(String(r))){e=!0;break}}else if(o===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Ioe(e,t){const n=Qoe(t);t.data&&(e.data=Kee(t.data)),n&&(e.position=n)}function Uoe(e,t){let n,r=-1;for(;++r<e.length;){const o=e[r],i="string"==typeof o?o:o[0];if(i===t)return o;"data*"===i&&(n=o)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function Moe(e){return function(t){const n=function(e,t){let n={type:"root",children:[]};const r=Doe({schema:t?{...Aoe,...t}:Aoe,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e);return n}}const Xoe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let Foe=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};function Zoe(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Foe(n,r,t)}function Voe(e){return e.toLowerCase()}Foe.prototype.property={},Foe.prototype.normal={},Foe.prototype.space=null;class Loe{constructor(e,t){this.property=e,this.attribute=t}}Loe.prototype.space=null,Loe.prototype.boolean=!1,Loe.prototype.booleanish=!1,Loe.prototype.overloadedBoolean=!1,Loe.prototype.number=!1,Loe.prototype.commaSeparated=!1,Loe.prototype.spaceSeparated=!1,Loe.prototype.commaOrSpaceSeparated=!1,Loe.prototype.mustUseProperty=!1,Loe.prototype.defined=!1;let zoe=0;const Woe=eie(),Boe=eie(),Yoe=eie(),Hoe=eie(),Goe=eie(),Koe=eie(),Joe=eie();function eie(){return 2**++zoe}const tie=Object.freeze(Object.defineProperty({__proto__:null,boolean:Woe,booleanish:Boe,commaOrSpaceSeparated:Joe,commaSeparated:Koe,number:Hoe,overloadedBoolean:Yoe,spaceSeparated:Goe},Symbol.toStringTag,{value:"Module"})),nie=Object.keys(tie);class rie extends Loe{constructor(e,t,n,r){let o=-1;if(super(e,t),oie(this,"space",r),"number"==typeof n)for(;++o<nie.length;){const e=nie[o];oie(this,nie[o],(n&tie[e])===tie[e])}}}function oie(e,t,n){n&&(e[t]=n)}rie.prototype.defined=!0;const iie={}.hasOwnProperty;function aie(e){const t={},n={};let r;for(r in e.properties)if(iie.call(e.properties,r)){const o=e.properties[r],i=new rie(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Voe(r)]=r,n[Voe(i.attribute)]=r}return new Foe(t,n,e.space)}const sie=aie({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lie=aie({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function cie(e,t){return t in e?e[t]:t}function uie(e,t){return cie(e,t.toLowerCase())}const die=aie({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:uie,properties:{xmlns:null,xmlnsXLink:null}}),pie=aie({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Boe,ariaAutoComplete:null,ariaBusy:Boe,ariaChecked:Boe,ariaColCount:Hoe,ariaColIndex:Hoe,ariaColSpan:Hoe,ariaControls:Goe,ariaCurrent:null,ariaDescribedBy:Goe,ariaDetails:null,ariaDisabled:Boe,ariaDropEffect:Goe,ariaErrorMessage:null,ariaExpanded:Boe,ariaFlowTo:Goe,ariaGrabbed:Boe,ariaHasPopup:null,ariaHidden:Boe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Goe,ariaLevel:Hoe,ariaLive:null,ariaModal:Boe,ariaMultiLine:Boe,ariaMultiSelectable:Boe,ariaOrientation:null,ariaOwns:Goe,ariaPlaceholder:null,ariaPosInSet:Hoe,ariaPressed:Boe,ariaReadOnly:Boe,ariaRelevant:null,ariaRequired:Boe,ariaRoleDescription:Goe,ariaRowCount:Hoe,ariaRowIndex:Hoe,ariaRowSpan:Hoe,ariaSelected:Boe,ariaSetSize:Hoe,ariaSort:null,ariaValueMax:Hoe,ariaValueMin:Hoe,ariaValueNow:Hoe,ariaValueText:null,role:null}}),fie=aie({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:uie,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Koe,acceptCharset:Goe,accessKey:Goe,action:null,allow:null,allowFullScreen:Woe,allowPaymentRequest:Woe,allowUserMedia:Woe,alt:null,as:null,async:Woe,autoCapitalize:null,autoComplete:Goe,autoFocus:Woe,autoPlay:Woe,blocking:Goe,capture:Woe,charSet:null,checked:Woe,cite:null,className:Goe,cols:Hoe,colSpan:null,content:null,contentEditable:Boe,controls:Woe,controlsList:Goe,coords:Hoe|Koe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Woe,defer:Woe,dir:null,dirName:null,disabled:Woe,download:Yoe,draggable:Boe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Woe,formTarget:null,headers:Goe,height:Hoe,hidden:Woe,high:Hoe,href:null,hrefLang:null,htmlFor:Goe,httpEquiv:Goe,id:null,imageSizes:null,imageSrcSet:null,inert:Woe,inputMode:null,integrity:null,is:null,isMap:Woe,itemId:null,itemProp:Goe,itemRef:Goe,itemScope:Woe,itemType:Goe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Woe,low:Hoe,manifest:null,max:null,maxLength:Hoe,media:null,method:null,min:null,minLength:Hoe,multiple:Woe,muted:Woe,name:null,nonce:null,noModule:Woe,noValidate:Woe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Woe,optimum:Hoe,pattern:null,ping:Goe,placeholder:null,playsInline:Woe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Woe,referrerPolicy:null,rel:Goe,required:Woe,reversed:Woe,rows:Hoe,rowSpan:Hoe,sandbox:Goe,scope:null,scoped:Woe,seamless:Woe,selected:Woe,shape:null,size:Hoe,sizes:null,slot:null,span:Hoe,spellCheck:Boe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Hoe,step:null,style:null,tabIndex:Hoe,target:null,title:null,translate:null,type:null,typeMustMatch:Woe,useMap:null,value:Boe,width:Hoe,wrap:null,align:null,aLink:null,archive:Goe,axis:null,background:null,bgColor:null,border:Hoe,borderColor:null,bottomMargin:Hoe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Woe,declare:Woe,event:null,face:null,frame:null,frameBorder:null,hSpace:Hoe,leftMargin:Hoe,link:null,longDesc:null,lowSrc:null,marginHeight:Hoe,marginWidth:Hoe,noResize:Woe,noHref:Woe,noShade:Woe,noWrap:Woe,object:null,profile:null,prompt:null,rev:null,rightMargin:Hoe,rules:null,scheme:null,scrolling:Boe,standby:null,summary:null,text:null,topMargin:Hoe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Hoe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Woe,disableRemotePlayback:Woe,prefix:null,property:null,results:Hoe,security:null,unselectable:null}}),hie=aie({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:cie,properties:{about:Joe,accentHeight:Hoe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Hoe,amplitude:Hoe,arabicForm:null,ascent:Hoe,attributeName:null,attributeType:null,azimuth:Hoe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Hoe,by:null,calcMode:null,capHeight:Hoe,className:Goe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Hoe,diffuseConstant:Hoe,direction:null,display:null,dur:null,divisor:Hoe,dominantBaseline:null,download:Woe,dx:null,dy:null,edgeMode:null,editable:null,elevation:Hoe,enableBackground:null,end:null,event:null,exponent:Hoe,externalResourcesRequired:null,fill:null,fillOpacity:Hoe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Koe,g2:Koe,glyphName:Koe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Hoe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Hoe,horizOriginX:Hoe,horizOriginY:Hoe,id:null,ideographic:Hoe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Hoe,k:Hoe,k1:Hoe,k2:Hoe,k3:Hoe,k4:Hoe,kernelMatrix:Joe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Hoe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Hoe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Hoe,overlineThickness:Hoe,paintOrder:null,panose1:null,path:null,pathLength:Hoe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Goe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Hoe,pointsAtY:Hoe,pointsAtZ:Hoe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Joe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Joe,rev:Joe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Joe,requiredFeatures:Joe,requiredFonts:Joe,requiredFormats:Joe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Hoe,specularExponent:Hoe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Hoe,strikethroughThickness:Hoe,string:null,stroke:null,strokeDashArray:Joe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Hoe,strokeOpacity:Hoe,strokeWidth:null,style:null,surfaceScale:Hoe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Joe,tabIndex:Hoe,tableValues:null,target:null,targetX:Hoe,targetY:Hoe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Joe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Hoe,underlineThickness:Hoe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Hoe,values:null,vAlphabetic:Hoe,vMathematical:Hoe,vectorEffect:null,vHanging:Hoe,vIdeographic:Hoe,version:null,vertAdvY:Hoe,vertOriginX:Hoe,vertOriginY:Hoe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Hoe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),mie=/^data[-\w.:]+$/i,gie=/-[a-z]/g,Oie=/[A-Z]/g;function yie(e){return"-"+e.toLowerCase()}function bie(e){return e.charAt(1).toUpperCase()}const vie=Zoe([lie,sie,die,pie,fie],"html"),wie=Zoe([lie,sie,die,pie,hie],"svg");function Sie(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const xie=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],kie={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},$ie=["cent","copy","divide","gt","lt","not","para","times"],Pie={}.hasOwnProperty,_ie={};let Tie;for(Tie in kie)Pie.call(kie,Tie)&&(_ie[kie[Tie]]=Tie);function Eie(e,t,n){let r,o=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const o=String.fromCharCode(e);if(Pie.call(_ie,o)){const e=_ie[o],i="&"+e;return n&&xie.includes(e)&&!$ie.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<o.length&&(o=r)}return r&&(!n.useShortestReferences||r.length<o.length)?r:o}function Qie(e,t){return Sie(e,Object.assign({format:Eie},t))}function Cie(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function Aie(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const Rie=jie(1),Die=jie(-1),Nie=[];function jie(e){return function(t,n,r){const o=t?t.children:Nie;let i=(n||0)+e,a=o[i];if(!r)for(;a&&bte(a);)i+=e,a=o[i];return a}}const qie={}.hasOwnProperty;function Iie(e){return function(t,n,r){return qie.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const Uie=Iie({body:function(e,t,n){const r=Rie(n,t);return!r||"comment"!==r.type},caption:Mie,colgroup:Mie,dd:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){const r=Rie(n,t);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:Mie,html:function(e,t,n){const r=Rie(n,t);return!r||"comment"!==r.type},li:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){const r=Rie(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:Xie,rt:Xie,tbody:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:Fie,tfoot:function(e,t,n){return!Rie(n,t)},th:Fie,thead:function(e,t,n){const r=Rie(n,t);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function Mie(e,t,n){const r=Rie(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&bte(r.value.charAt(0)))}function Xie(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function Fie(e,t,n){const r=Rie(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const Zie=Iie({body:function(e){const t=Rie(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&bte(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))},colgroup:function(e,t,n){const r=Die(n,t),o=Rie(e,-1,!0);if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&Uie(r,n.children.indexOf(r),n))return!1;return Boolean(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const e=t[r];if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){if(n.includes(e.tagName))return!1;n.push(e.tagName)}}return t.length>0},html:function(e){const t=Rie(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Die(n,t),o=Rie(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&Uie(r,n.children.indexOf(r),n))return!1;return Boolean(o&&"element"===o.type&&"tr"===o.tagName)}});const Vie={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Lie(e,t,n){const r=function(e,t){const n=Voe(t);let r=t,o=Loe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&mie.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(gie,bie);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!gie.test(e)){let n=e.replace(Oie,yie);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=rie}return new o(r,t)}(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let a,s=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const l=Qie(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Vie.name[o][i]}));return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?Aie:ate)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(a=Qie(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Vie.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&Cie(n,s)>Cie(n,e.alternative)&&(s=e.alternative),a=s+Qie(n,Object.assign({},e.settings.characterReferences,{subset:("'"===s?Vie.single:Vie.double)[o][i],attribute:!0}))+s),l+(a?"="+a:a)))}function zie(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?Qie(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const Wie=TI("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+Qie(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(e){return Qie(e,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){const o=r.schema,i="svg"!==o.space&&r.settings.omitOptionalTags;let a="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;"html"===o.space&&"svg"===e.tagName&&(r.schema=wie);const c=function(e,t){const n=[];let r,o=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const o=Lie(e,r,t[r]);o&&n.push(o)}for(;++o<n.length;){const t=e.settings.tightAttributes?n[o].charAt(n[o].length-1):void 0;o!==n.length-1&&'"'!==t&&"'"!==t&&(n[o]+=" ")}return n.join("")}(r,e.properties),u=r.all("html"===o.space&&"template"===e.tagName?e.content:e);return r.schema=o,u&&(a=!1),!c&&i&&Zie(e,t,n)||(s.push("<",e.tagName,c?" "+c:""),a&&("svg"===o.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),a||i&&Uie(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:zie(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:zie}});const Bie={},Yie={},Hie=[];function Gie(e,t,n){return Wie(e,t,n,this)}function Kie(e){const t=[],n=e&&e.children||Hie;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Jie(e){const t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){const n=t||Bie,r=n.quote||'"',o='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Gie,all:Kie,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Xoe,characterReferences:n.characterReferences||Yie,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?wie:vie,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}function eae(e,t,n){const r=XI((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([tae(e[0]),nae(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)BI(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],a=o[i][1];let s=0;const l=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?u.push(...i):i&&u.push(i),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e];return l+u.length}(e,t)}}function tae(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function nae(e){return"function"==typeof e?e:function(){return e}}const rae="phrasing",oae=["autolink","link","image","label"];function iae(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function aae(e){this.config.enter.autolinkProtocol.call(this,e)}function sae(e){this.config.exit.autolinkProtocol.call(this,e)}function lae(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function cae(e){this.config.exit.autolinkEmail.call(this,e)}function uae(e){this.exit(e)}function dae(e){eae(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pae],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,fae]],{ignore:["link","linkReference"]})}function pae(e,t,n,r,o){let i="";if(!hae(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Cie(e,"(");let i=Cie(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function fae(e,t,n,r){return!(!hae(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hae(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Jj(n)||Kj(n))&&(!t||47!==n)}function mae(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function gae(){this.buffer()}function Oae(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Mj(this.sliceSerialize(e)).toLowerCase()}function yae(e){this.exit(e)}function bae(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function vae(){this.buffer()}function wae(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Mj(this.sliceSerialize(e)).toLowerCase()}function Sae(e){this.exit(e)}function xae(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function kae(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(n.indentLines(n.containerFlow(e,o.current()),$ae)),a(),i}function $ae(e,t,n){return 0===t?e:(n?"":" ")+e}xae.peek=function(){return"["};const Pae=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function _ae(e){this.enter({type:"delete",children:[]},e)}function Tae(e){this.exit(e)}function Eae(e,t,n,r){const o=n.createTracker(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=n.containerPhrasing(e,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Qae(e){return e.length}function Cae(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Aae(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Rae(e){this.exit(e),this.data.inTable=void 0}function Dae(e){this.enter({type:"tableRow",children:[]},e)}function Nae(e){this.exit(e)}function jae(e){this.enter({type:"tableCell",children:[]},e)}function qae(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Iae));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Iae(e,t){return"|"===t?t:e}function Uae(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=lU.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=s([l(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Qae,o=[],i=[],a=[],s=[];let l=0,c=-1;for(;++c<e.length;){const n=[],o=[];let d=-1;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){const i=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=r(i);o[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(i)}i[c]=n,a[c]=o}var u;let d=-1;if("object"==typeof n&&"length"in n)for(;++d<l;)o[d]=Cae(n[d]);else{const e=Cae(n);for(;++d<l;)o[d]=e}d=-1;const p=[],f=[];for(;++d<l;){const e=o[d];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length);const a=n+"-".repeat(i)+r;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>s[d]&&(s[d]=i),f[d]=i),p[d]=a}i.splice(1,0,p),a.splice(1,0,f),c=-1;const h=[];for(;++c<i.length;){const e=i[c],n=a[c];d=-1;const r=[];for(;++d<l;){const i=e[d]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[d]-(n[d]||0),t=o[d];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||d||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!d||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(i),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&d===l-1||r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function Mae(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Xae(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Fae(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(a);let l=lU.listItem(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}Eae.peek=function(){return"~"};const Zae={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Vae={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(zae,l,s)(t):null===t||Hj(t)||Jj(t)||45!==t&&Kj(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},Lae={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(zae,t,i)(a):null===a||Hj(a)||Jj(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},zae={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Hj(a)||Jj(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Hj(e)||Jj(e)?t(e):r(e)}function i(e){return Fj(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Fj(t)?(e.consume(t),a):n(t)}},partial:!0},Wae={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Zj(e)?n(e):t(e)}},partial:!0},Bae={tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Jae.call(r,r.previous)||rse(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zae,e.attempt(Vae,e.attempt(Lae,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Jae},Yae={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){if((72===t||104===t)&&ese.call(r,r.previous)&&!rse(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(Fj(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||Lj(t)||Hj(t)||Jj(t)||Kj(t)?n(t):e.attempt(Vae,e.attempt(Lae,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ese},Hae={tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!nse(t)||!tse.call(r,r.previous)||rse(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return nse(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Wae,c,l)(t):45===t||95===t||Zj(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){return i&&o&&Fj(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:tse},Gae={};let Kae=48;for(;Kae<123;)Gae[Kae]=Hae,Kae++,58===Kae?Kae=65:91===Kae&&(Kae=97);function Jae(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Hj(e)}function ese(e){return!Fj(e)}function tse(e){return!(47===e||nse(e))}function nse(e){return 43===e||45===e||46===e||95===e||Zj(e)}function rse(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Gae[43]=Hae,Gae[45]=Hae,Gae[46]=Hae,Gae[95]=Hae,Gae[72]=[Hae,Yae],Gae[104]=[Hae,Yae],Gae[87]=[Hae,Bae],Gae[119]=[Hae,Bae];const ose={tokenize:function(e,t,n){const r=this;return nq(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function ise(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=Mj(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!i.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ase(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function sse(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||Hj(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(Mj(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Hj(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function lse(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||Hj(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=Mj(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Hj(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),nq(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function cse(e,t,n){return e.check(dq,t,e.attempt(ose,t,n))}function use(e){e.exit("gfmFootnoteDefinition")}function dse(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const l=aq(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=aq(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&Rj(a,a.length,0,sq(s,e.slice(r+1,n),t)),Rj(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Rj(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class pse{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0===n&&0===r.length)return;for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort((function(e,t){return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function fse(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function hse(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?v:s;if(i===v&&r.parser.lazy[r.now().line])return n(e);return i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return o=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):Yj(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Gj(t)?nq(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Hj(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,Gj(t)?nq(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):b(t)}function f(t){return Gj(t)?nq(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||Yj(t)?y(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(t))}function O(t){return Gj(t)?nq(e,y,"whitespace")(t):y(t)}function y(n){return 124===n?p(n):(null===n||Yj(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function v(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Yj(n)?(e.exit("tableRow"),t(n)):Gj(n)?nq(e,w,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Hj(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?x:S)}function x(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function mse(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new pse;for(;++i<e.length;){const f=e[i],h=f[1];"enter"===f[0]?"tableHead"===h.type?(u=!1,0!==d&&(Ose(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===h.type?2:r?3:1):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],o=gse(p,t,l,s,void 0,o)),l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],o=gse(p,t,l,s,void 0,o),l=[0,0,0,0]),c[2]=i)):"tableHead"===h.type?(u=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==l[1]?(c[0]=c[1],o=gse(p,t,l,s,i,o)):0!==c[1]&&(o=gse(p,t,c,s,i,o)),s=0):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=i)}for(0!==d&&Ose(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=fse(t.events,i))}return e}function gse(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},yse(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=yse(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=yse(t.events,n[2]),i=yse(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},yse(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function Ose(e,t,n,r,o){const i=[],a=yse(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function yse(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const bse={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Hj(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Yj(r)?t(r):Gj(r)?e.check({tokenize:vse},t,n)(r):n(r)}}};function vse(e,t,n){return nq(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const wse={};function Sse(e){const t=e||wse,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return jj([{text:Gae},{document:{91:{tokenize:lse,continuation:{tokenize:cse},exit:use}},text:{91:{tokenize:sse},93:{add:"after",tokenize:ise,resolveTo:ase}}},dse(e),{flow:{null:{tokenize:hse,resolveAll:mse}}},{text:{91:bse}}])}(t)),o.push([{transforms:[dae],enter:{literalAutolink:iae,literalAutolinkEmail:aae,literalAutolinkHttp:aae,literalAutolinkWww:aae},exit:{literalAutolink:uae,literalAutolinkEmail:cae,literalAutolinkHttp:sae,literalAutolinkWww:lae}},{enter:{gfmFootnoteDefinition:mae,gfmFootnoteDefinitionLabelString:gae,gfmFootnoteCall:bae,gfmFootnoteCallString:vae},exit:{gfmFootnoteDefinition:yae,gfmFootnoteDefinitionLabelString:Oae,gfmFootnoteCall:Sae,gfmFootnoteCallString:wae}},{canContainEols:["delete"],enter:{strikethrough:_ae},exit:{strikethrough:Tae}},{enter:{table:Aae,tableData:jae,tableHeader:jae,tableRow:Dae},exit:{codeText:qae,table:Rae,tableData:Nae,tableHeader:Nae,tableRow:Nae}},{exit:{taskListCheckValueChecked:Mae,taskListCheckValueUnchecked:Mae,paragraph:Xae}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:rae,notInConstruct:oae},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:rae,notInConstruct:oae},{character:":",before:"[ps]",after:"\\/",inConstruct:rae,notInConstruct:oae}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:kae,footnoteReference:xae}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Pae}],handlers:{delete:Eae}},Uae(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Fae}}]}}(t))}function xse(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function kse(e){const t=e.spread;return null==t?e.children.length>1:t}const $se=9,Pse=32;function _se(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Tse(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Tse(t.slice(o),o>0,!1)),i.join("")}function Tse(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===$se||t===Pse;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===$se||t===Pse;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Ese={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=tq(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xse(e,t);const o={src:tq(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:tq(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xse(e,t);const o={href:tq(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:tq(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=kse(n[r])}return t}(n):kse(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Toe(t.children[1]),a=_oe(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:_se(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Qse,yaml:Qse,definition:Qse,footnoteDefinition:Qse};function Qse(){}function Cse(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Ase(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Rse={}.hasOwnProperty,Dse={};function Nse(e,t){e.position&&(t.position=Qoe(e))}function jse(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Kee(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function qse(e,t){const n=t.data||{},r=!("value"in t)||Rse.call(n,"hProperties")||Rse.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Ise(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Use(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Mse(e,t){const n=function(e,t){const n=t||Dse,r=new Map,o=new Map,i=new Map,a={...Ese,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=s.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Use(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Use(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:jse,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=s.handlers[n];if(Rse.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Kee(n);return r.children=s.all(e),r}return Kee(e)}return(s.options.unknownHandler||qse)(s,e,t)},options:n,patch:Nse,wrap:Ise};return YI(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Cse,r=e.options.footnoteBackLabel||Ase,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),c=tq(a.toLowerCase());let u=0;const d=[],p=e.footnoteCounts.get(a);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Kee(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Xse(e,t){return e&&"run"in e?async function(n,r){const o=Mse(n,t);await e.run(o,r)}:function(n){return Mse(n,t||e)}}const Fse=["innerHTML"],Zse=vl(Gr({__name:"MarkdownRenderer",props:{value:{},withImages:{type:Boolean,default:!1}},setup(e){const t=e,n=dn(""),r=t.withImages?[]:["img","picture"];return Ir((()=>t.value),(async()=>{var e;eM().use(PI).use(Sse).use(Xse).use(Ite).use(Moe,{...Aoe,tagNames:null==(e=Aoe.tagNames)?void 0:e.filter((e=>!r.includes(e)))}).use(Poe,{detect:!0}).use(ute,{target:"_blank"}).use(Jie).process(t.value).then((e=>{n.value=String(e)}))}),{immediate:!0}),(e,t)=>(Zi(),Wi("div",{class:"markdown",innerHTML:n.value},null,8,Fse))}}),[["__scopeId","data-v-272b122b"]]),Vse={class:"card-form"};const Lse=vl({},[["render",function(e,t){return Zi(),Wi("div",Vse,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-d0caa558"]]),zse=vl(Gr({__name:"CardFormButton",setup(e,{expose:t}){const n=dn();return t({el:n}),(e,t)=>(Zi(),Wi("button",{ref_key:"el",ref:n,class:"card-form-button",type:"button"},[$o(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-0bb0c214"]]),Wse={class:"card-form-group"};const Bse=vl({},[["render",function(e,t){return Zi(),Wi("div",Wse,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-cadb0c16"]]),Yse={class:"card-form-input"},Hse=["for"],Gse=["id","type"],Kse=vl(Gr({inheritAttrs:!1,__name:"CardFormTextInput",props:{id:{},type:{}},setup:e=>(e,t)=>(Zi(),Wi("div",Yse,[ea("label",{for:e.id},[$o(e.$slots,"default",{},void 0,!0)],8,Hse),ea("input",pa(e.$attrs,{id:e.id,autocomplete:"off",spellcheck:"false",type:e.type??"text"}),null,16,Gse)]))}),[["__scopeId","data-v-88939d2d"]]),Jse=Math.min,ele=Math.max,tle=Math.round,nle=Math.floor,rle=e=>({x:e,y:e}),ole={left:"right",right:"left",bottom:"top",top:"bottom"},ile={start:"end",end:"start"};function ale(e,t,n){return ele(e,Jse(t,n))}function sle(e,t){return"function"==typeof e?e(t):e}function lle(e){return e.split("-")[0]}function cle(e){return e.split("-")[1]}function ule(e){return"x"===e?"y":"x"}function dle(e){return"y"===e?"height":"width"}function ple(e){return["top","bottom"].includes(lle(e))?"y":"x"}function fle(e){return ule(ple(e))}function hle(e){return e.replace(/start|end/g,(e=>ile[e]))}function mle(e){return e.replace(/left|right|bottom|top/g,(e=>ole[e]))}function gle(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ole(e,t,n){let{reference:r,floating:o}=e;const i=ple(t),a=fle(t),s=dle(a),l=lle(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(cle(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function yle(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=sle(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),m=s[p?"floating"===d?"reference":"floating":d],g=gle(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),O="floating"===d?{...a.floating,x:r,y:o}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},v=gle(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:O,offsetParent:y,strategy:l}):O);return{top:(g.top-v.top+h.top)/b.y,bottom:(v.bottom-g.bottom+h.bottom)/b.y,left:(g.left-v.left+h.left)/b.x,right:(v.right-g.right+h.right)/b.x}}const ble=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=sle(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const O=lle(o),y=lle(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),v=p||(y||!m?[mle(s)]:function(e){const t=mle(e);return[hle(e),t,hle(t)]}(s));p||"none"===h||v.push(...function(e,t,n,r){const o=cle(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(lle(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(hle)))),i}(s,m,h,b));const w=[s,...v],S=await yle(t,g),x=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&x.push(S[O]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=cle(e),o=fle(e),i=dle(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=mle(a)),[a,mle(a)]}(o,a,b);x.push(S[e[0]],S[e[1]])}if(k=[...k,{placement:o,overflows:x}],!x.every((e=>e<=0))){var $,P;const e=((null==($=i.flip)?void 0:$.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(P=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:P.placement;if(!n)switch(f){case"bestFit":{var _;const e=null==(_=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}};const vle=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=lle(n),s=cle(n),l="y"===ple(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=sle(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function wle(e){return kle(e)?(e.nodeName||"").toLowerCase():"#document"}function Sle(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function xle(e){var t;return null==(t=(kle(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function kle(e){return e instanceof Node||e instanceof Sle(e).Node}function $le(e){return e instanceof Element||e instanceof Sle(e).Element}function Ple(e){return e instanceof HTMLElement||e instanceof Sle(e).HTMLElement}function _le(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Sle(e).ShadowRoot)}function Tle(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Rle(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ele(e){return["table","td","th"].includes(wle(e))}function Qle(e){const t=Cle(),n=Rle(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Cle(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ale(e){return["html","body","#document"].includes(wle(e))}function Rle(e){return Sle(e).getComputedStyle(e)}function Dle(e){return $le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nle(e){if("html"===wle(e))return e;const t=e.assignedSlot||e.parentNode||_le(e)&&e.host||xle(e);return _le(t)?t.host:t}function jle(e){const t=Nle(e);return Ale(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ple(t)&&Tle(t)?t:jle(t)}function qle(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=jle(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Sle(o);return i?t.concat(a,a.visualViewport||[],Tle(o)?o:[],a.frameElement&&n?qle(a.frameElement):[]):t.concat(o,qle(o,[],n))}function Ile(e){const t=Rle(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ple(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=tle(n)!==i||tle(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ule(e){return $le(e)?e:e.contextElement}function Mle(e){const t=Ule(e);if(!Ple(t))return rle(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ile(t);let a=(i?tle(n.width):n.width)/r,s=(i?tle(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Xle=rle(0);function Fle(e){const t=Sle(e);return Cle()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Xle}function Zle(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ule(e);let a=rle(1);t&&(r?$le(r)&&(a=Mle(r)):a=Mle(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Sle(e))&&t}(i,n,r)?Fle(i):rle(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Sle(i),t=r&&$le(r)?Sle(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Mle(n),t=n.getBoundingClientRect(),r=Rle(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,n=Sle(n).frameElement}}return gle({width:u,height:d,x:l,y:c})}function Vle(e){return Zle(xle(e)).left+Dle(e).scrollLeft}function Lle(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Sle(e),r=xle(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Cle();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=xle(e),n=Dle(e),r=e.ownerDocument.body,o=ele(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ele(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Vle(e);const s=-n.scrollTop;return"rtl"===Rle(r).direction&&(a+=ele(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(xle(e));else if($le(t))r=function(e,t){const n=Zle(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ple(e)?Mle(e):rle(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Fle(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return gle(r)}function zle(e,t){const n=Nle(e);return!(n===t||!$le(n)||Ale(n))&&("fixed"===Rle(n).position||zle(n,t))}function Wle(e,t,n){const r=Ple(t),o=xle(t),i="fixed"===n,a=Zle(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=rle(0);if(r||!r&&!i)if(("body"!==wle(t)||Tle(o))&&(s=Dle(t)),r){const e=Zle(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Vle(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ble(e,t){return Ple(e)&&"fixed"!==Rle(e).position?t?t(e):e.offsetParent:null}function Yle(e,t){const n=Sle(e);if(!Ple(e))return n;let r=Ble(e,t);for(;r&&Ele(r)&&"static"===Rle(r).position;)r=Ble(r,t);return r&&("html"===wle(r)||"body"===wle(r)&&"static"===Rle(r).position&&!Qle(r))?n:r||function(e){let t=Nle(e);for(;Ple(t)&&!Ale(t);){if(Qle(t))return t;t=Nle(t)}return null}(e)||n}const Hle={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ple(n),i=xle(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s=rle(1);const l=rle(0);if((o||!o&&"fixed"!==r)&&(("body"!==wle(n)||Tle(i))&&(a=Dle(n)),Ple(n))){const e=Zle(n);s=Mle(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:xle,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=qle(e,[],!1).filter((e=>$le(e)&&"body"!==wle(e))),o=null;const i="fixed"===Rle(e).position;let a=i?Nle(e):e;for(;$le(a)&&!Ale(a);){const t=Rle(a),n=Qle(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Tle(a)&&!n&&zle(e,a))?r=r.filter((e=>e!==a)):o=t,a=Nle(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce(((e,n)=>{const r=Lle(t,n,o);return e.top=ele(r.top,e.top),e.right=Jse(r.right,e.right),e.bottom=Jse(r.bottom,e.bottom),e.left=ele(r.left,e.left),e}),Lle(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Yle,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Yle,i=this.getDimensions;return{reference:Wle(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Ile(e)},getScale:Mle,isElement:$le,isRTL:function(e){return"rtl"===Rle(e).direction}};function Gle(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ule(e),u=o||i?[...c?qle(c):[],...qle(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=xle(e);function i(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-nle(u)+"px "+-nle(o.clientWidth-(c+d))+"px "+-nle(o.clientHeight-(u+p))+"px "+-nle(c)+"px",threshold:ele(0,Jse(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(Oc){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{h&&h.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let m=l?Zle(e):null;return l&&function t(){const r=Zle(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const Kle=(e,t,n)=>{const r=new Map,o={platform:Hle,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Ole(c,r,l),p=r,f={},h=0;for(let m=0;m<s.length;m++){const{name:n,fn:i}=s[m],{x:g,y:O,data:y,reset:b}=await i({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=O?O:d,f={...f,[n]:{...f[n],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=Ole(c,p,l))),m=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})};function Jle(e){var t;return null!=(t=null==e?void 0:e.$el)?t:e}function ece(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tce(e,t){const n=ece(e);return Math.round(t*n)/n}const nce={class:"badge"};const rce=vl({},[["render",function(e,t){return Zi(),Wi("div",nce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-08c68ac3"]]),oce=e=>(kr("data-v-5ed9242e"),e=e(),$r(),e),ice={class:"scopes-label"},ace=oce((()=>ea("em",null,"|",-1))),sce=["checked"],lce={class:"dropdown-item-title"},cce={class:"dropdown-item-description"},uce=Gr({__name:"SecuritySchemeScopes",props:{scopes:{},selected:{}},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=dn(),o=dn(),{floatingStyles:i}=function(e,t,n){void 0===n&&(n={});const r=n.whileElementsMounted,o=Ua((()=>{var e;return null==(e=mn(n.open))||e})),i=Ua((()=>mn(n.middleware))),a=Ua((()=>{var e;return null!=(e=mn(n.placement))?e:"bottom"})),s=Ua((()=>{var e;return null!=(e=mn(n.strategy))?e:"absolute"})),l=Ua((()=>{var e;return null==(e=mn(n.transform))||e})),c=Ua((()=>Jle(e.value))),u=Ua((()=>Jle(t.value))),d=dn(0),p=dn(0),f=dn(s.value),h=dn(a.value),m=pn({}),g=dn(!1),O=Ua((()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=tce(u.value,d.value),n=tce(u.value,p.value);return l.value?{...e,transform:"translate("+t+"px, "+n+"px)",...ece(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:n+"px"}}));let y;function b(){null!=c.value&&null!=u.value&&Kle(c.value,u.value,{middleware:i.value,placement:a.value,strategy:s.value}).then((e=>{d.value=e.x,p.value=e.y,f.value=e.strategy,h.value=e.placement,m.value=e.middlewareData,g.value=!0}))}function v(){"function"==typeof y&&(y(),y=void 0)}return Ir([i,a,s],b,{flush:"sync"}),Ir([c,u],(function(){v(),void 0!==r?null==c.value||null==u.value||(y=r(c.value,u.value,b)):b()}),{flush:"sync"}),Ir(o,(function(){o.value||(g.value=!1)}),{flush:"sync"}),Ie()&&Ue(v),{x:Gt(d),y:Gt(p),strategy:Gt(f),placement:Gt(h),middlewareData:Gt(m),isPositioned:Gt(g),floatingStyles:O,update:b}}(r,o,{placement:"bottom-end",whileElementsMounted:Gle,middleware:[vle(5),ble(),(void 0===a&&(a={}),{name:"shift",options:a,async fn(e){const{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=sle(a,e),c={x:t,y:n},u=await yle(e,l),d=ple(lle(r)),p=ule(d);let f=c[p],h=c[d];if(o){const e="y"===p?"bottom":"right";f=ale(f+u["y"===p?"top":"left"],f,f-u[e])}if(i){const e="y"===d?"bottom":"right";h=ale(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...e,[p]:f,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}})]});var a;const s=Ua({get:()=>n.selected,set:e=>t("update:selected",e)});return(e,t)=>(Zi(),Bi(mn(ud),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),multiple:""},{default:Pr((({open:t})=>[ea("div",{ref_key:"trigger",ref:r,class:$e(["wrapper",{"wrapper-open":t}])},[ta(mn(dd),{as:zse},{default:Pr((()=>[ea("div",ice,[ta(mn(up),{icon:t?"ChevronUp":"ChevronDown",size:"sm"},null,8,["icon"]),aa(" Scopes "),ta(mn(rce),{class:"scopes-label-badge"},{default:Pr((()=>[aa(Re(s.value.length),1),ace,aa(Re(Object.entries(e.scopes).length),1)])),_:1})])])),_:2},1024)],2),(Zi(),Bi(Ni,{to:"body"},[ta(mn(wl),null,{default:Pr((({styles:t})=>[ea("div",{ref_key:"dropdown",ref:o,class:$e(["floating",t]),style:ve(mn(i))},[ta(mn(pd),{as:"dl",class:"dropdown"},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(Object.entries(e.scopes),(([e,t])=>(Zi(),Bi(mn(fd),{key:e,as:"div",class:"dropdown-item",value:e},{default:Pr((({selected:n})=>[ea("input",{checked:n,class:"dropdown-item-check",tabindex:"-1",type:"checkbox"},null,8,sce),ea("dt",lce,Re(e),1),ea("dd",cce,Re(t),1)])),_:2},1032,["value"])))),128))])),_:1})],6)])),_:1})]))])),_:1},8,["modelValue"]))}}),dce=vl(uce,[["__scopeId","data-v-5ed9242e"]]),pce={class:"description"},fce=vl(Gr({__name:"SecurityScheme",props:{value:{}},setup(e){const{authentication:t,setAuthentication:n}=$M(),r=e=>{n({apiKey:{...t.apiKey,token:e.target.value}})},o=e=>{n({http:{...t.http,basic:{...t.http.basic,username:e.target.value}}})},i=e=>{n({http:{...t.http,basic:{...t.http.basic,password:e.target.value}}})},a=e=>{n({http:{...t.http,bearer:{...t.http.bearer,token:e.target.value}}})},s=e=>{n({oAuth2:{...t.oAuth2,clientId:e.target.value}})},l=Ua({get:()=>t.oAuth2.scopes,set:e=>n({oAuth2:{...t.oAuth2,scopes:e}})});return(e,n)=>{var c,u;return Zi(),Wi(qi,null,[e.value&&(null==(c=e.value)?void 0:c.type)?(Zi(),Bi(Lse,{key:0},{default:Pr((()=>["apiKey"===e.value.type?(Zi(),Bi(Kse,{key:0,id:`security-scheme-${e.value.name}`,placeholder:"Token",value:mn(t).apiKey.token,onInput:r},{default:Pr((()=>[aa(Re(e.value.in.charAt(0).toUpperCase()+e.value.in.slice(1))+" API Key ",1)])),_:1},8,["id","value"])):"http"===e.value.type||"basic"===e.value.type?(Zi(),Wi(qi,{key:1},["basic"===e.value.type||"basic"===e.value.scheme?(Zi(),Bi(Bse,{key:0},{default:Pr((()=>[ta(Kse,{id:"http.basic.username",placeholder:"Username",value:mn(t).http.basic.username,onInput:o},{default:Pr((()=>[aa(" Username ")])),_:1},8,["value"]),ta(Kse,{id:"http.basic.password",placeholder:"Password",type:"password",value:mn(t).http.basic.password,onInput:i},{default:Pr((()=>[aa(" Password ")])),_:1},8,["value"])])),_:1})):"http"===e.value.type&&"bearer"===e.value.scheme?(Zi(),Bi(Kse,{key:1,id:"http.bearer.token",placeholder:"Token",value:mn(t).http.bearer.token,onInput:a},{default:Pr((()=>[aa(" Bearer Token ")])),_:1},8,["value"])):la("",!0)],64)):"oauth2"===e.value.type.toLowerCase()&&e.value.flows&&e.value.flows.implicit?(Zi(),Bi(Bse,{key:2},{default:Pr((()=>[ta(Kse,{id:"oAuth2.clientId",placeholder:"Token",value:mn(t).oAuth2.clientId,onInput:s},{default:Pr((()=>[aa(" Client ID ")])),_:1},8,["value"]),void 0!==e.value?(Zi(),Bi(dce,{key:0,selected:l.value,"onUpdate:selected":n[0]||(n[0]=e=>l.value=e),scopes:e.value.flows.implicit.scopes},null,8,["selected","scopes"])):la("",!0),ta(zse,{onClick:n[1]||(n[1]=()=>{var n,r;return r=(e=>{const n=t.oAuth2.scopes.join(" "),r=new URL(e.authorizationUrl);return r.searchParams.set("response_type","token"),r.searchParams.set("client_id",t.oAuth2.clientId),r.searchParams.set("redirect_uri",window.location.href),r.searchParams.set("scope",n),r.searchParams.set("state","something-random"),r.toString()})(null==(n=e.value)?void 0:n.flows.implicit),void window.open(r,"openAuth2Window","left=100,top=100,width=800,height=600")})},{default:Pr((()=>[aa(" Authorize ")])),_:1})])),_:1})):la("",!0)])),_:1})):la("",!0),(null==(u=e.value)?void 0:u.description)?(Zi(),Bi(Lse,{key:1},{default:Pr((()=>{var t;return[ea("div",pce,[ta(Zse,{value:null==(t=e.value)?void 0:t.description},null,8,["value"])])]})),_:1})):la("",!0)],64)}}}),[["__scopeId","data-v-bc889128"]]),hce={key:1,class:"security-scheme-selector"},mce=["value"],gce=vl(Gr({__name:"SecuritySchemeSelector",props:{value:{}},emits:["input"],setup(e,{emit:t}){const n=e,{authentication:r,setAuthentication:o}=$M(),i=e=>{a(e.target.value)};co((()=>{a(Object.keys(n.value??{})[0]??null)}));const a=e=>{o({securitySchemeKey:e}),t("input",e)},s=(e,t)=>`${t} (${l(e)})`,l=e=>(e=>!(null==e?void 0:e.type))(e)?"No Authentication":(e=>"apikey"===e.type.toLowerCase())(e)?"API Key":(e=>"http"===e.type&&"basic"===e.scheme.toLowerCase()||"basic"===e.type.toLowerCase())(e)?"Basic Authentication":(e=>"http"===e.type&&"bearer"===e.scheme.toLowerCase())(e)?"Bearer Authentication":(e=>"oauth2"===e.type.toLowerCase())(e)?"OAuth 2.0":`${e.type} (not yet supported)`,c=Ua((()=>Object.keys(n.value??{})));return(e,t)=>{var n,o;return 1===c.value.length?(Zi(),Wi(qi,{key:0},[aa(Re(s(null==(n=e.value)?void 0:n[c.value[0]],c.value[0])),1)],64)):c.value.length>1?(Zi(),Wi("div",hce,[ea("span",null,Re(mn(r).securitySchemeKey?s(null==(o=e.value)?void 0:o[mn(r).securitySchemeKey],mn(r).securitySchemeKey):""),1),ta(mn(up),{icon:"ChevronDown"}),ea("select",{onInput:i,onValue:t[0]||(t[0]=(...e)=>mn(r).securitySchemeKey&&mn(r).securitySchemeKey(...e))},[(Zi(!0),Wi(qi,null,xo(c.value,(t=>{var n;return Zi(),Wi("option",{key:t,value:t??null},Re(s(null==(n=e.value)?void 0:n[t],t)),9,mce)})),128))],32)])):la("",!0)}}}),[["__scopeId","data-v-74706fc9"]]),Oce={class:"selector"},yce=vl(Gr({__name:"Authentication",props:{parsedSpec:{}},setup(e){const t=e,{authentication:n,setAuthentication:r}=$M(),o=Ua((()=>{var e,r,o;if(!n.securitySchemeKey)return!1;const i=null==(o=null==(r=null==(e=t.parsedSpec)?void 0:e.components)?void 0:r.securitySchemes)?void 0:o[n.securitySchemeKey];return!!i&&"type"in i&&!!i.type}));return Ir((()=>{var e,n;return null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes}),(()=>{var e,n;r({securitySchemes:null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes})}),{deep:!0,immediate:!0}),(e,t)=>mn(OM)(e.parsedSpec)?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>[ta(mn(Mee),{borderless:"",class:"authentication-header",transparent:""},{actions:Pr((()=>{var t,n;return[ea("div",Oce,[ta(gce,{value:null==(n=null==(t=e.parsedSpec)?void 0:t.components)?void 0:n.securitySchemes},null,8,["value"])])]})),default:Pr((()=>[aa(" Authentication ")])),_:1}),o.value?(Zi(),Bi(mn(jee),{key:0,class:"authentication-content",transparent:""},{default:Pr((()=>{var t,r,o;return[mn(n).securitySchemeKey?(Zi(),Bi(fce,{key:0,value:null==(o=null==(r=null==(t=e.parsedSpec)?void 0:t.components)?void 0:r.securitySchemes)?void 0:o[mn(n).securitySchemeKey]},null,8,["value"])):la("",!0)]})),_:1})):la("",!0)])),_:1})):la("",!0)}}),[["__scopeId","data-v-51f32c71"]]),bce=Gr({__name:"IntersectionObserver",props:{id:{},is:{}},emits:["intersecting"],setup(e,{emit:t}){const n=e,r=dn();return co((()=>{!function(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=.1,window:a=jd,immediate:s=!0}=n,l=Ud((()=>a&&"IntersectionObserver"in a)),c=Ua((()=>{const t=Td(e);return(Array.isArray(t)?t:[t]).map(Nd).filter(Qd)}));let u=Rd;const d=dn(s),p=l.value?Ir((()=>[c.value,Nd(r),d.value]),(([e,n])=>{if(u(),!d.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{root:Nd(n),rootMargin:o,threshold:i});e.forEach((e=>e&&r.observe(e))),u=()=>{r.disconnect(),u=Rd}}),{immediate:s,flush:"post"}):Rd,f=()=>{u(),p(),d.value=!1};_d(f)}(r,(([{isIntersecting:e}])=>{n.id&&e&&t("intersecting")}),{rootMargin:"0px 0px 50% 0px",threshold:.2})})),(e,t)=>(Zi(),Bi(wo(e.is??"div"),{id:e.id,ref_key:"intersectionObserverRef",ref:r},{default:Pr((()=>[$o(e.$slots,"default")])),_:3},8,["id"]))}}),vce=vl(Gr({__name:"Section",props:{id:{},label:{}},setup(e){const t=e,{getSectionId:n,hash:r,isIntersectionEnabled:o}=_Z(),{setCollapsedSidebarItem:i}=z7();function a(){t.label&&o.value&&(window.history.replaceState({},"",`#${t.id}`),r.value=t.id??"",i(n(t.id),!0))}return(e,t)=>(Zi(),Bi(bce,{is:"section",id:e.id,class:"section",onIntersecting:a},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},8,["id"]))}}),[["__scopeId","data-v-a4c4587e"]]),wce={class:"section-accordion-button-content"},Sce={key:0,class:"section-accordion-button-actions"},xce={key:0,class:"section-accordion-description"},kce={class:"section-accordion-content-card"},$ce=vl(Gr({__name:"SectionAccordion",props:{id:{},transparent:{type:Boolean}},setup(e){const t=dn(),n=function(e,t={}){const{delayEnter:n=0,delayLeave:r=0,window:o=jd}=t,i=dn(!1);let a;const s=e=>{const t=e?n:r;a&&(clearTimeout(a),a=void 0),t?a=setTimeout((()=>i.value=e),t):i.value=e};return o?(Id(e,"mouseenter",(()=>s(!0)),{passive:!0}),Id(e,"mouseleave",(()=>s(!1)),{passive:!0}),i):i}(t);return(e,r)=>(Zi(),Bi(bce,{id:e.id,class:"section-wrapper"},{default:Pr((()=>[ta(mn(Gu),{as:"section",class:$e(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:Pr((({open:r})=>[ta(mn(Ku),{ref_key:"button",ref:t,class:"section-accordion-button"},{default:Pr((()=>[ea("div",wce,[$o(e.$slots,"title",{},void 0,!0)]),e.$slots.actions?(Zi(),Wi("div",Sce,[$o(e.$slots,"actions",{active:mn(n)||r},void 0,!0)])):la("",!0),ta(mn(up),{class:"section-accordion-chevron",icon:r?"ChevronDown":"ChevronRight"},null,8,["icon"])])),_:2},1536),ta(mn(Ju),{class:"section-accordion-content"},{default:Pr((()=>[e.$slots.description?(Zi(),Wi("div",xce,[$o(e.$slots,"description",{},void 0,!0)])):la("",!0),ea("div",kce,[$o(e.$slots,"default",{},void 0,!0)])])),_:3})])),_:3},8,["class"])])),_:3},8,["id"]))}}),[["__scopeId","data-v-d82ba6d9"]]),Pce={class:"section-column"};const _ce=vl({},[["render",function(e,t){return Zi(),Wi("div",Pce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-7e657da0"]]),Tce={class:"section-columns"};const Ece=vl({},[["render",function(e,t){return Zi(),Wi("div",Tce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-0bd51848"]]),Qce={class:"section-container"};const Cce=vl({},[["render",function(e,t){return Zi(),Wi("div",Qce,[$o(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-fcff76dc"]]),Ace={class:"section-accordion-wrapper"},Rce={class:"section-accordion-title"},Dce=vl(Gr({__name:"SectionContainerAccordion",setup:e=>(e,t)=>(Zi(),Wi("div",Ace,[ta(mn(Gu),{as:"div",class:"section-accordion",defaultOpen:""},{default:Pr((({open:t})=>[ta(mn(Ku),{class:"section-accordion-button"},{default:Pr((()=>[ta(mn(up),{class:"section-accordion-chevron",icon:t?"ChevronDown":"ChevronRight"},null,8,["icon"]),ea("div",Rce,[$o(e.$slots,"title",{},void 0,!0)])])),_:2},1024),ta(mn(Ju),{class:"section-accordion-content"},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})]))}),[["__scopeId","data-v-4fb26f3a"]]),Nce=vl(Gr({__name:"LoadingSkeleton",props:{lines:{default:1}},setup:e=>(e,t)=>(Zi(!0),Wi(qi,null,xo([...Array(e.lines).keys()],(t=>(Zi(),Wi("div",{key:t,class:$e(["loading",{"single-line":1===e.lines}])},null,2)))),128))}),[["__scopeId","data-v-99d52311"]]),jce={class:"section-content"},qce=vl(Gr({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Zi(),Wi("div",jce,[e.loading?(Zi(),Bi(Nce,{key:1,lines:8})):$o(e.$slots,"default",{key:0},void 0,!0)]))}),[["__scopeId","data-v-bba63beb"]]),Ice=vl(Gr({__name:"SectionHeader",props:{loading:{type:Boolean,default:!1},tight:{type:Boolean,default:!1},level:{default:1}},setup:e=>(e,t)=>e.loading?(Zi(),Bi(Nce,{key:0})):(Zi(),Bi(wo(`h${e.level}`),{key:1,class:$e(["section-header",{tight:e.tight}])},{default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))}),[["__scopeId","data-v-9e0df4d5"]]),Uce=Gr({__name:"Description",props:{value:{}},setup(e){const t=e,n=function(e,t,n){let r;r=un(n)?{evaluating:n}:n||{};const{lazy:o=!1,evaluating:i,shallow:a=!0,onError:s=Rd}=r,l=dn(!o),c=a?pn(t):dn(t);let u=0;return jr((async t=>{if(!l.value)return;u++;const n=u;let r=!1;i&&Promise.resolve().then((()=>{i.value=!0}));try{const o=await e((e=>{t((()=>{i&&(i.value=!1),r||e()}))}));n===u&&(c.value=o)}catch(Oc){s(Oc)}finally{i&&n===u&&(i.value=!1),r=!0}})),o?Ua((()=>(l.value=!0,c.value))):c}((async()=>{if(!t.value)return[];const e=await lM(t.value),n=uM(e);return await Promise.all(function(e,t=1){const n=new RegExp(`^(?=#{${t}} )`,"m");return e.split(n).map((e=>e.trim())).filter(Boolean)}(t.value,n).map((async e=>({heading:(await lM(e))[0],content:e}))))}),[]),{getHeadingId:r,hash:o,isIntersectionEnabled:i}=_Z();return(e,t)=>e.value?(Zi(!0),Wi(qi,{key:0},xo(mn(n),((e,t)=>(Zi(),Wi("div",{key:t},[e.heading?(Zi(),Bi(bce,{key:0,id:mn(r)(e.heading),class:"introduction-description-heading",onIntersecting:()=>{return t=mn(r)(e.heading),void(i.value&&(window.history.replaceState({},"",`#${t}`),o.value=t??""));var t}},{default:Pr((()=>[ta(Zse,{value:e.content,withImages:""},null,8,["value"])])),_:2},1032,["id","onIntersecting"])):(Zi(),Bi(Zse,{key:1,value:e.content,withImages:""},null,8,["value"]))])))),128)):la("",!0)}}),Mce=vl(Uce,[["__scopeId","data-v-892fc60c"]]),Xce={key:0,class:"download"},Fce={class:"download-cta"},Zce=["download","href"],Vce=vl(Gr({__name:"DownloadSpec",props:{value:{}},setup(e){function t(e){const t=yM(e)?new Blob([e],{type:"application/json"}):new Blob([e],{type:"application/x-yaml"});return URL.createObjectURL(t)}return(e,n)=>{return e.value?(Zi(),Wi("div",Xce,[ea("div",Fce,[ea("a",{download:(r=e.value,yM(r)?"spec.json":"spec.yaml"),href:t(e.value)}," Download OpenAPI Spec ",8,Zce)])])):la("",!0);var r}}}),[["__scopeId","data-v-751baa3a"]]),Lce=e=>(kr("data-v-5603accf"),e=e(),$r(),e),zce=Lce((()=>ea("div",{class:"section-flare"},[ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"}),ea("div",{class:"section-flare-item"})],-1))),Wce={class:"badges"},Bce={class:"sticky-cards"},Yce=vl(Gr({__name:"Introduction",props:{info:{},parsedSpec:{},rawSpec:{}},setup(e){const t=e,n=Ua((()=>t.parsedSpec.openapi??t.parsedSpec.swagger??""));return(e,t)=>(Zi(),Bi(mn(Cce),null,{default:Pr((()=>[zce,ta(mn(vce),{class:"introduction-section"},{default:Pr((()=>[ta(mn(qce),{loading:!e.info.description&&!e.info.title},{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>[ea("div",Wce,[e.info.version?(Zi(),Bi(mn(rce),{key:0},{default:Pr((()=>[aa(Re(e.info.version),1)])),_:1})):la("",!0),n.value?(Zi(),Bi(mn(rce),{key:1},{default:Pr((()=>[aa(" OAS "+Re(n.value),1)])),_:1})):la("",!0)]),ta(mn(Ice),{level:1,loading:!e.info.title,tight:""},{default:Pr((()=>[aa(Re(e.info.title),1)])),_:1},8,["loading"]),ta(Vce,{value:e.rawSpec},null,8,["value"]),ta(Mce,{value:e.info.description},null,8,["value"])])),_:1}),e.$slots.aside?(Zi(),Bi(mn(_ce),{key:0},{default:Pr((()=>[ea("div",Bce,[$o(e.$slots,"aside",{},void 0,!0)])])),_:3})):la("",!0)])),_:3})])),_:3},8,["loading"]),$o(e.$slots,"after",{},void 0,!0)])),_:3})])),_:3}))}}),[["__scopeId","data-v-5603accf"]]);function Hce(e){return function(t){"boolean"==typeof e[t]&&(e[t]=!e[t])}}const Gce=Yt({isDark:!1,activeNavState:"Guide",selectedClient:{targetKey:"shell",clientKey:"curl"}});function Kce(){var e,t;e=Gce,t={isDark:!1,activeNavState:"Guide",selectedClient:{targetKey:"shell",clientKey:"curl"}},Object.keys(e).forEach((n=>{Object.hasOwn(t,n)||delete e[n]})),Object.assign(e,t)}function Jce(e){var t;const{availableTargets:n}=iee();return(null==(t=n.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function eue(e){var t,n;const{availableTargets:r}=iee();return(null==(n=null==(t=r.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:n.title)??e.clientKey}const tue=()=>{return{state:Ht(Gce),resetState:Kce,setItem:(e=Gce,function(t,n){e[t]=n}),toggleItem:Hce(Gce),getClientTitle:eue,getTargetTitle:Jce};var e},nue=e=>(kr("data-v-b73001a8"),e=e(),$r(),e),rue=["onClick"],oue=["value"],iue=["label"],aue=["value"],sue={class:"code-languages-background code-languages-icon__more"},lue={key:1,class:"code-languages-icon",height:"50",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},cue=[nue((()=>ea("g",{fill:"currentColor","fill-rule":"nonzero"},[ea("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)))],uue=nue((()=>ea("span",null,"More",-1))),due=vl(Gr({__name:"ClientSelector",setup(e){const{state:t,setItem:n,getClientTitle:r,getTargetTitle:o}=tue(),{availableTargets:i}=iee(),a=dn(!1),s=dn();Xd(s,(e=>a.value=e[0].contentRect.width<500));const l=Ua((()=>a.value?[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"python",clientKey:"python3"}]:[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{targetKey:"python",clientKey:"python3"},{targetKey:"c",clientKey:"libcurl"}])),c=e=>`brand/programming-language-${{javascript:"javascript-js"}[e]??e}`;function u(e){return l.value.some((t=>t.targetKey===e.targetKey&&t.clientKey===e.clientKey))}return(e,a)=>(Zi(),Wi("div",{ref_key:"containerRef",ref:s,class:"client-libraries-content"},[(Zi(!0),Wi(qi,null,xo(l.value,(e=>{return Zi(),Wi("div",{key:e.clientKey,class:$e(["code-languages rendered-code-sdks",{"code-languages__active":(r=e,r.targetKey===t.selectedClient.targetKey&&r.clientKey===t.selectedClient.clientKey)}]),onClick:()=>mn(n)("selectedClient",e)},[ea("div",{class:$e(["code-languages-background",`code-languages-icon__${e.targetKey}`])},[ta(mn(vee),{class:"code-languages-icon",src:c(e.targetKey)},null,8,["src"])],2),ea("span",null,Re(mn(o)(e)),1)],10,rue);var r})),128)),ea("div",{class:$e(["code-languages code-languages__select",{"code-languages__active":mn(t).selectedClient&&!u(mn(t).selectedClient)}])},[ea("select",{class:"language-select",value:JSON.stringify(mn(t).selectedClient),onInput:a[0]||(a[0]=e=>mn(n)("selectedClient",JSON.parse(e.target.value)))},[(Zi(!0),Wi(qi,null,xo(mn(i),(e=>(Zi(),Wi("optgroup",{key:e.key,label:e.title},[(Zi(!0),Wi(qi,null,xo(e.clients,(t=>(Zi(),Wi("option",{key:t.key,value:JSON.stringify({targetKey:e.key,clientKey:t.key})},Re(mn(r)({targetKey:e.key,clientKey:t.key})),9,aue)))),128))],8,iue)))),128))],40,oue),ea("div",sue,[mn(t).selectedClient&&!u(mn(t).selectedClient)?(Zi(),Wi("div",{key:0,class:$e(["code-languages-background",`code-languages-icon__${mn(t).selectedClient.targetKey}`])},[ta(mn(vee),{class:"code-languages-icon",src:c(mn(t).selectedClient.targetKey)},null,8,["src"])],2)):(Zi(),Wi("svg",lue,cue))]),uue],2)],512))}}),[["__scopeId","data-v-b73001a8"]]),pue=vl(Gr({__name:"ClientList",setup(e){const{state:t,getClientTitle:n,getTargetTitle:r}=tue();return(e,o)=>(Zi(),Bi(mn(Nee),null,{default:Pr((()=>[ta(mn(Mee),{borderless:"",transparent:""},{default:Pr((()=>[aa(" Client Libraries ")])),_:1}),ta(mn(jee),{frameless:"",transparent:""},{default:Pr((()=>[ta(due)])),_:1}),ta(mn(Xee),{class:"selected-client card-footer",muted:""},{default:Pr((()=>[aa(Re(mn(r)(mn(t).selectedClient))+" "+Re(mn(n)(mn(t).selectedClient)),1)])),_:1})])),_:1}))}}),[["__scopeId","data-v-98185d68"]]),{addToast:fue}=mT(),hue=()=>({copyToClipboard:e=>{navigator.clipboard.writeText(e).then((()=>{fue({title:"Copied to the clipboard"},{timeout:2e3})}))}}),mue=["title","innerHTML"],gue=vl(Gr({__name:"ServerItem",props:{value:{},variables:{}},setup(e){const t=e,{copyToClipboard:n}=hue(),r=Ua((()=>{var e;return hM(((null==(e=t.value)?void 0:e.url)??"").replace(/(<([^>]+)>)/gi,""),(e=>{var n;const r=null==(n=t.variables)?void 0:n.find((t=>t.name===e));return`<span class="base-url-variable">${""!==((null==r?void 0:r.value)??"")?null==r?void 0:r.value:`{${e}}`}</span>`}))}));return(e,t)=>e.value?(Zi(),Wi("a",{key:0,class:"base-url",title:e.value.description,onClick:t[0]||(t[0]=t=>mn(n)(e.value.url)),innerHTML:r.value},null,8,mue)):la("",!0)}}),[["__scopeId","data-v-5ca0a51c"]]),Oue={key:0},yue=["for"],bue=["id","value","onInput"],vue=["value"],wue={class:"input-value"},Sue=["id","value","onInput"],xue=vl(Gr({__name:"ServerVariables",props:{value:{}},setup(e){const{server:t,setServer:n}=$M(),r=(e,r)=>{const o=r.target.value,i=[...t.variables],a=i.findIndex((t=>t.name===e));i[a].value=o,n({variables:i})},o=e=>{const n=t.variables.findIndex((t=>t.name===e));return t.variables[n].value??""};return(e,t)=>e.value?(Zi(),Wi("div",Oue,[(Zi(!0),Wi(qi,null,xo(e.value,(e=>(Zi(),Wi("div",{key:e.name,class:"input"},[ea("label",{for:`variable-${e.name}`},[ea("code",null,Re(e.name),1)],8,yue),e.enum?(Zi(),Wi(qi,{key:0},[ea("select",{id:`variable-${e.name}`,value:o(e.name),onInput:t=>r(e.name,t)},[(Zi(!0),Wi(qi,null,xo(e.enum,(e=>(Zi(),Wi("option",{key:e,value:e},Re(e),9,vue)))),128))],40,bue),ea("div",wue,Re(e.default),1)],64)):(Zi(),Wi("input",{key:1,id:`variable-${e.name}`,autocomplete:"off",placeholder:"value",spellcheck:"false",type:"text",value:o(e.name),onInput:t=>r(e.name,t)},null,40,Sue))])))),128))])):la("",!0)}}),[["__scopeId","data-v-dd37047f"]]),kue={class:"scalar-card-serverlist-container"},$ue={class:"server-item"},Pue={class:"server-selector"},_ue=["value"],Tue=["value"],Eue={class:"description"},Que=vl(Gr({__name:"ServerList",props:{value:{}},setup(e){const t=e,{server:n,setServer:r}=$M(),o=dn(0);return Ir(o,(()=>{var e,n,i;const a=(null==(e=t.value[o.value])?void 0:e.variables)??{},s=a?Object.keys(a).map((e=>{var t;return{name:e,value:(null==(t=a[e].default)?void 0:t.toString())??""}})):[];([...(null==(n=t.value[o.value])?void 0:n.url).matchAll(/(?:\{+)\s*(\w+)\s*(?:\}+)/g)].map((e=>e[1].trim()))||[]).filter((e=>!a[e])).forEach((e=>{s.push({name:e,value:""})})),r({selectedServer:o.value,description:null==(i=t.value[o.value])?void 0:i.description,servers:t.value,variables:s})}),{immediate:!0}),Ir((()=>t.value),(()=>{r({servers:t.value})})),(e,t)=>e.value.length>0?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>[ta(mn(Mee),{borderless:"",muted:""},{default:Pr((()=>[aa(" Base URL ")])),_:1}),ta(mn(jee),{class:"scalar-card-serverlist"},{default:Pr((()=>[ea("div",kue,[ea("div",$ue,[ea("div",Pue,[e.value.length>1?(Zi(),Wi("select",{key:0,value:o.value,onInput:t[0]||(t[0]=e=>o.value=parseInt(e.target.value,10))},[(Zi(!0),Wi(qi,null,xo(e.value,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(e.url),9,Tue)))),128))],40,_ue)):la("",!0),ta(gue,{value:e.value[o.value],variables:mn(n).variables},null,8,["value","variables"]),e.value.length>1?(Zi(),Bi(mn(up),{key:1,icon:"ChevronDown"})):la("",!0)])]),ta(xue,{value:mn(n).variables},null,8,["value"])])])),_:1}),mn(n).description?(Zi(),Bi(mn(jee),{key:0,muted:""},{default:Pr((()=>[ea("div",Eue,[ta(Zse,{value:mn(n).description},null,8,["value"])])])),_:1})):la("",!0)])),_:1})):la("",!0)}}),[["__scopeId","data-v-ddd13e53"]]),Cue={key:0,class:"screenreader-only"},Aue=vl(Gr({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?(Zi(),Wi("span",Cue,[$o(e.$slots,"default",{},void 0,!0)])):$o(e.$slots,"default",{key:1},void 0,!0)}),[["__scopeId","data-v-681ebf2c"]]),Rue=e=>(kr("data-v-932ee9f4"),e=e(),$r(),e),Due={class:"label"},Nue={class:"anchor"},jue=Rue((()=>ea("span",null,"",-1))),que=vl(Gr({__name:"Anchor",props:{id:{}},setup(e){const{copyToClipboard:t}=hue();return(e,n)=>(Zi(),Wi("span",Due,[$o(e.$slots,"default",{},void 0,!0),ea("span",Nue,[jue,ea("button",{class:"anchor-copy",type:"button",onClick:n[0]||(n[0]=zs((n=>mn(t)((e=>{const t=new URL(window.location.href);return t.hash=e,t.toString()})(e.id))),["stop"]))},[aa(" # "),ta(Aue,null,{default:Pr((()=>[aa('Copy link to "'),$o(e.$slots,"default",{},void 0,!0),aa('"')])),_:3})])])]))}}),[["__scopeId","data-v-932ee9f4"]]),Iue={class:"schema-type"},Uue=["title"],Mue=vl(Gr({__name:"SchemaHeading",props:{value:{},name:{}},setup:e=>(e,t)=>{var n,r,o,i,a,s;return Zi(),Wi("span",Iue,[ea("em",{title:"string"==typeof e.value.type?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"},["object"===e.value.type?(Zi(),Wi(qi,{key:0},[aa(" {} ")],64)):la("",!0),"array"===e.value.type?(Zi(),Wi(qi,{key:1},[aa(" [] ")],64)):la("",!0)],8,Uue),(null==(r=null==(n=e.value)?void 0:n.xml)?void 0:r.name)&&"##default"!==(null==(i=null==(o=e.value)?void 0:o.xml)?void 0:i.name)?(Zi(),Wi(qi,{key:0},[aa(" <"+Re(null==(s=null==(a=e.value)?void 0:a.xml)?void 0:s.name)+" /> ",1)],64)):e.name?(Zi(),Wi(qi,{key:1},[aa(Re(e.name),1)],64)):(Zi(),Wi(qi,{key:2},[aa(Re(e.value.type),1)],64))])}}),[["__scopeId","data-v-066b6f7d"]]),Xue={class:"property-information"},Fue={key:0,class:"property-name"},Zue={key:1,class:"required"},Vue={key:2,class:"property-type"},Lue={key:0,class:"property-example-value"},zue={class:"pattern"},Wue={key:3,class:"write-only"},Bue={key:4,class:"read-only"},Yue={key:0,class:"property-rule"},Hue={key:5,class:"property-nullable"},Gue={key:6,class:"property-example"},Kue={class:"property-example-value"},Jue={key:0,class:"property-description"},ede={key:1,class:"property-description"},tde={key:2,class:"property-enum"},nde={class:"property-enum-values"},rde={key:3,class:"children"},ode={key:0,class:"children"},ide={key:0,class:"rule"},ade={key:1,class:"rule"},sde=vl(Gr({__name:"SchemaProperty",props:{value:{},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},toggleVisibility:{type:Boolean,default:!1},description:{}},setup(e){const t={number:{_default:"",float:"Floating-point numbers.",double:"Floating-point numbers with double precision."},integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},n=function(e){return e&&t[e.type]?t[e.type][e.format||"_default"]:null},r=["oneOf","anyOf","allOf","not"];return(e,t)=>{var o,i,a,s,l,c,u,d,p,f,h,m;return Zi(),Wi("div",{class:$e(["property",`${e.compact?"property--compact":""} property--level-${e.level}`])},[ea("div",Xue,[e.name?(Zi(),Wi("div",Fue,Re(e.name),1)):la("",!0),e.required?(Zi(),Wi("div",Zue," required ")):la("",!0),(null==(o=e.value)?void 0:o.type)?(Zi(),Wi("div",Vue,[(null==(i=e.value)?void 0:i.items)&&!["object"].includes(e.value.items.type)?(Zi(),Wi(qi,{key:0},[aa(Re(e.value.type)+" "+Re(e.value.items.type)+"[] ",1),e.value.items.example?(Zi(),Wi("code",Lue," example: "+Re(e.value.items.example),1)):la("",!0)],64)):(Zi(),Wi(qi,{key:1},[aa(Re(e.value.type),1)],64)),e.value.minItems||e.value.maxItems?(Zi(),Wi(qi,{key:2},[aa(Re(e.value.minItems)+".."+Re(e.value.maxItems),1)],64)):la("",!0),e.value.minLength?(Zi(),Wi(qi,{key:3},[aa(" · min: "+Re(e.value.minLength),1)],64)):la("",!0),e.value.maxLength?(Zi(),Wi(qi,{key:4},[aa(" · max: "+Re(e.value.maxLength),1)],64)):la("",!0),e.value.uniqueItems?(Zi(),Wi(qi,{key:5},[aa(" unique! ")],64)):la("",!0),e.value.format?(Zi(),Wi(qi,{key:6},[aa(" · "+Re(e.value.format),1)],64)):la("",!0),e.value.pattern?(Zi(),Wi(qi,{key:7},[aa(" · "),ea("code",zue,Re(e.value.pattern),1)],64)):la("",!0),e.value.enum?(Zi(),Wi(qi,{key:8},[aa(" · enum ")],64)):la("",!0)])):la("",!0),(null==(a=e.value)?void 0:a.writeOnly)?(Zi(),Wi("div",Wue," write-only ")):(null==(s=e.value)?void 0:s.readOnly)?(Zi(),Wi("div",Bue," read-only ")):la("",!0),(Zi(),Wi(qi,null,xo(r,(t=>{var n,r,o;return Zi(),Wi(qi,{key:t},[(null==(n=e.value)?void 0:n[t])||(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])?(Zi(),Wi("div",Yue,[ta(mn(rce),null,{default:Pr((()=>[aa(Re(t),1)])),_:2},1024)])):la("",!0)],64)})),64)),(null==(l=e.value)?void 0:l.nullable)?(Zi(),Wi("div",Hue," nullable ")):la("",!0),void 0!==(null==(c=e.value)?void 0:c.example)?(Zi(),Wi("div",Gue,[ea("code",Kue," example: "+Re(e.value.example),1)])):la("",!0)]),e.description||(null==(u=e.value)?void 0:u.description)?(Zi(),Wi("div",Jue,[ta(Zse,{value:e.description||(null==(d=e.value)?void 0:d.description)},null,8,["value"])])):n(e.value)?(Zi(),Wi("div",ede,[ta(Zse,{value:n(e.value)||""},null,8,["value"])])):la("",!0),(null==(p=e.value)?void 0:p.enum)?(Zi(),Wi("div",tde,[ea("ul",nde,[(Zi(!0),Wi(qi,null,xo(e.value.enum,(e=>(Zi(),Wi("li",{key:e,class:"property-enum-value"},Re(e),1)))),128))])])):la("",!0),(null==(f=e.value)?void 0:f.properties)||(null==(h=e.value)?void 0:h.additionalProperties)?(Zi(),Wi("div",rde,[ta(dde,{compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:e.value},null,8,["compact","level","toggleVisibility","value"])])):la("",!0),(null==(m=e.value)?void 0:m.items)?(Zi(),Wi(qi,{key:4},[["object"].includes(e.value.items.type)?(Zi(),Wi("div",ode,[ta(dde,{compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:e.value.items},null,8,["compact","level","toggleVisibility","value"])])):la("",!0)],64)):la("",!0),(Zi(),Wi(qi,null,xo(r,(t=>{var n,r,o;return Zi(),Wi(qi,{key:t},[(null==(n=e.value)?void 0:n[t])?(Zi(),Wi("div",ide,[(Zi(!0),Wi(qi,null,xo(e.value[t],((t,n)=>(Zi(),Bi(dde,{key:n,compact:e.compact,hideVisibilityToggle:"",level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:t},null,8,["compact","level","toggleVisibility","value"])))),128))])):la("",!0),(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])&&e.level<3?(Zi(),Wi("div",ade,[(Zi(!0),Wi(qi,null,xo(e.value.items[t],((t,n)=>(Zi(),Bi(dde,{key:n,compact:e.compact,level:e.level+1,toggleVisibility:e.level>=3||e.toggleVisibility,value:t},null,8,["compact","level","toggleVisibility","value"])))),128))])):la("",!0)],64)})),64))],2)}}}),[["__scopeId","data-v-848c5568"]]),lde=e=>(kr("data-v-9d5304de"),e=e(),$r(),e),cde=lde((()=>ea("svg",{fill:"currentColor",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},[ea("polygon",{"fill-rule":"nonzero",points:"14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"})],-1))),ude={key:0,class:"schema-card-title"},dde=vl(Gr({__name:"Schema",props:{value:{},level:{default:0},name:{},compact:{type:Boolean,default:!1},toggleVisibility:{type:Boolean,default:!1},hideVisibilityToggle:{type:Boolean,default:!1}},setup(e){const t=e,n=Ua((()=>!t.hideVisibilityToggle&&(!!t.toggleVisibility&&0!==t.level))),r=dn(!1),o=Ua((()=>{var e,n;return{..."object"==typeof t.value?t.value:{},..."object"==typeof t.value&&"object"==typeof(null==(e=t.value)?void 0:e.additionalProperties)?null==(n=t.value)?void 0:n.additionalProperties:{}}}));return(e,t)=>{var i,a,s;return"object"==typeof e.value&&Object.keys(e.value).length?(Zi(),Wi("div",{key:0,class:$e(["schema-card",`${e.compact?"schema-card--compact":""} schema-card--level-${e.level}`])},[ea("div",{class:$e(["properties","properties--"+(!n.value||r.value?"visible":"hidden")])},[n.value?(Zi(),Wi("button",{key:0,class:$e(["schema-visibility-toggle","schema-visibility-toggle--"+(r.value?"visible":"hidden")]),type:"button",onClick:t[0]||(t[0]=e=>r.value=!r.value)},[cde,ea("span",null,[r.value?(Zi(),Wi(qi,{key:0},[aa("Hide Child Attributes")],64)):(Zi(),Wi(qi,{key:1},[aa("Show Child Attributes")],64))])],2)):la("",!0),!n.value||r.value?(Zi(),Wi(qi,{key:1},[(null==(i=o.value)?void 0:i.properties)?(Zi(),Wi(qi,{key:0},[e.compact?la("",!0):(Zi(),Wi("div",ude,[ta(Mue,{name:e.name,value:o.value},null,8,["name","value"])])),(Zi(!0),Wi(qi,null,xo(Object.keys(null==(a=o.value)?void 0:a.properties),(t=>{var n;return Zi(),Bi(sde,{key:t,compact:e.compact,level:e.level,name:t,required:o.value.required&&o.value.required.length&&o.value.required.includes(t),toggleVisibility:e.toggleVisibility,value:null==(n=o.value.properties)?void 0:n[t]},null,8,["compact","level","name","required","toggleVisibility","value"])})),128))],64)):(Zi(),Bi(sde,{key:1,compact:e.compact,level:e.level,name:null==(s=o.value)?void 0:s.name,toggleVisibility:e.toggleVisibility,value:o.value},null,8,["compact","level","name","toggleVisibility","value"]))],64)):la("",!0)],2)],2)):la("",!0)}}}),[["__scopeId","data-v-9d5304de"]]),pde=vl(Gr({__name:"ShowMoreButton",props:{id:{}},setup(e){const{setCollapsedSidebarItem:t}=z7();return(e,n)=>(Zi(),Wi("button",{class:"show-more",type:"button",onClick:n[0]||(n[0]=n=>mn(t)(e.id,!0))},[aa(" Show More "),ta(mn(up),{class:"show-more-icon",icon:"ChevronDown"})]))}}),[["__scopeId","data-v-eca36a8c"]]),fde=vl(Gr({__name:"Models",props:{components:{}},setup(e){const t=e,{collapsedSidebarItems:n}=z7(),{getModelId:r}=_Z(),o=Ua((()=>{var e;return Object.keys((null==(e=t.components)?void 0:e.schemas)??{}).length<=3||n[r()]})),i=Ua((()=>{var e;const n=Object.keys((null==(e=t.components)?void 0:e.schemas)??{});return o.value?n:n.slice(0,3)}));return(e,t)=>e.components?(Zi(),Bi(mn(Cce),{key:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(i.value,((t,n)=>(Zi(),Bi(mn(vce),{id:mn(r)(t),key:t,label:t},{default:Pr((()=>{var a,s;return[(null==(s=null==(a=e.components)?void 0:a.schemas)?void 0:s[t])?(Zi(),Bi(mn(qce),{key:0},{default:Pr((()=>{var a,s;return[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(t)},{default:Pr((()=>{var n,r;return[aa(Re((null==(r=null==(n=e.components)?void 0:n.schemas)?void 0:r[t]).title??t),1)]})),_:2},1032,["id"])])),_:2},1024),ta(dde,{name:t,value:null==(s=null==(a=e.components)?void 0:a.schemas)?void 0:s[t]},null,8,["name","value"]),o.value||n!==i.value.length-1?la("",!0):(Zi(),Bi(pde,{key:0,id:mn(r)(),class:"something-special"},null,8,["id"]))]})),_:2},1024)):la("",!0)]})),_:2},1032,["id","label"])))),128))])),_:1})):la("",!0)}}),[["__scopeId","data-v-f10b5da5"]]),hde={key:0,class:"properties"},mde={key:1},gde=vl(Gr({__name:"ModelsAccordion",props:{components:{}},setup(e){const t=e,n=Ua((()=>{var e,n;return(null==(e=t.components)?void 0:e.schemas)?Object.entries(null==(n=t.components)?void 0:n.schemas).map((([e,t])=>({name:e,schema:t}))):[]})),{getModelId:r}=_Z();return(e,t)=>e.components?(Zi(),Bi(mn(Dce),{key:0,class:"reference-models"},{title:Pr((()=>[ta(mn(Ice),{level:2},{default:Pr((()=>[aa("Models")])),_:1})])),default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(n.value,(({name:e,schema:t})=>(Zi(),Bi(mn($ce),{id:mn(r)(e),key:e,label:e},{title:Pr((()=>[ta(mn(que),{id:mn(r)(e),class:"reference-models-anchor"},{default:Pr((()=>[ta(Mue,{class:"reference-models-label",name:e,value:t},null,8,["name","value"])])),_:2},1032,["id"])])),default:Pr((()=>[(null==t?void 0:t.properties)?(Zi(),Wi("div",hde,[(Zi(!0),Wi(qi,null,xo(Object.entries(t.properties),(([e,n])=>(Zi(),Bi(sde,{key:e,name:e,required:t.required&&!!t.required.length&&t.required.includes(e),value:n},null,8,["name","required","value"])))),128))])):(Zi(),Wi("div",mde,[ta(sde,{value:t},null,8,["value"])]))])),_:2},1032,["id","label"])))),128))])),_:1})):la("",!0)}}),[["__scopeId","data-v-e5dd729d"]]),Ode={class:"request-header"},yde={class:"language-select"},bde=["value"],vde=["value"],wde=vl(Gr({__name:"CustomRequestExamples",props:{operation:{},examples:{}},setup(e){const t=e,n=dn(0),r=Ua((()=>({C:"c","C#":"csharp",Go:"go",HTML:"html",Java:"java",JavaScript:"javascript",Kotlin:"kotlin","Objective-C":"objc",PowerShell:"powershell",Python:"python",Ruby:"ruby",Shell:"shell",Swift:"swift",TypeScript:"javascript",cURL:"shell"}[t.examples[n.value].lang]??t.examples[n.value].lang))),o=Ua((()=>t.examples[n.value]));Ir(t.examples,(()=>{"undefined"===t.examples[n.value]&&(n.value=0)}));const{copyToClipboard:i}=hue();return(e,t)=>(Zi(),Bi(mn(Nee),{class:"dark-mode"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{actions:Pr((()=>[ea("div",yde,[ea("span",null,Re(o.value.label),1),ea("select",{value:n.value,onInput:t[0]||(t[0]=e=>(n.value=parseInt(e.target.value),10))},[(Zi(!0),Wi(qi,null,xo(e.examples,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(e.label),9,vde)))),128))],40,bde)]),ea("button",{class:"copy-button",type:"button",onClick:t[1]||(t[1]=e=>mn(i)(o.value.source.trim()))},[ta(mn(up),{icon:"Clipboard",width:"10px"})])])),default:Pr((()=>[ea("div",Ode,[ea("span",{class:$e(["request-method",`request-method--${e.operation.httpVerb}`])},Re(e.operation.httpVerb),3),$o(e.$slots,"header",{},void 0,!0)])])),_:3}),ta(mn(jee),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:Pr((()=>[ta(mn(nT),{content:o.value.source.trim(),forceDarkMode:!0,languages:[r.value],lineNumbers:"",readOnly:""},null,8,["content","languages"])])),_:1}),e.$slots.footer?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",contrast:""},{default:Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:3})):la("",!0)])),_:3}))}}),[["__scopeId","data-v-adc6cc29"]]),Sde={class:"parameter-item"},xde={class:"parameter-item-container"},kde=vl(Gr({__name:"ParameterItem",props:{parameter:{},showChildren:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Zi(),Wi("li",Sde,[ea("div",xde,[ta(sde,{compact:"",description:e.parameter.description,level:0,name:e.parameter.name,required:e.parameter.required,toggleVisibility:!e.showChildren,value:e.parameter.schema},null,8,["description","name","required","toggleVisibility","value"])])]))}),[["__scopeId","data-v-e9d81a16"]]),$de={key:0,class:"parameters"},Pde={class:"parameters-title"},_de={class:"parameter-list"},Tde=vl(Gr({__name:"Parameters",props:{parameters:{},showChildren:{type:Boolean,default:!1}},setup:e=>(e,t)=>{var n;return(null==(n=e.parameters)?void 0:n.length)?(Zi(),Wi("div",$de,[ea("div",Pde,[$o(e.$slots,"title",{},void 0,!0)]),ea("ul",_de,[(Zi(!0),Wi(qi,null,xo(e.parameters,(t=>(Zi(),Bi(kde,{key:t.name,parameter:t,showChildren:e.showChildren},null,8,["parameter","showChildren"])))),128))])])):la("",!0)}}),[["__scopeId","data-v-8afcce23"]]),Ede={key:0},Qde={class:"request-body-title"},Cde=["value"],Ade={key:0,class:"request-body-schema"},Rde=vl(Gr({__name:"RequestBody",props:{requestBody:{}},setup(e){var t;const n=e,r=Ua((()=>{var e;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]})),o=dn("application/json");return(null==(t=n.requestBody)?void 0:t.content)&&r.value.length>0&&(o.value=r.value[0]),(e,t)=>{var i,a,s,l;return(null==n?void 0:n.requestBody)?(Zi(),Wi("div",Ede,[ea("div",Qde,[$o(e.$slots,"title",{},void 0,!0),ea("div",{class:$e(["request-body-title-select",{"request-body-title-no-select":r.value.length<=1}])},[ea("span",null,Re(o.value),1),(null==n?void 0:n.requestBody)&&r.value.length>1?Vr((Zi(),Wi("select",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},[(Zi(!0),Wi(qi,null,xo(null==(i=n.requestBody)?void 0:i.content,((e,t)=>(Zi(),Wi("option",{key:t,value:t},Re(t),9,Cde)))),128))],512)),[[Ms,o.value]]):la("",!0)],2)]),(null==(a=null==n?void 0:n.requestBody.content)?void 0:a[o.value])?(Zi(),Wi("div",Ade,[ta(dde,{compact:"",toggleVisibility:"",value:null==(l=null==(s=null==n?void 0:n.requestBody.content)?void 0:s[o.value])?void 0:l.schema},null,8,["value"])])):la("",!0)])):la("",!0)}}}),[["__scopeId","data-v-2e8de398"]]),Dde={class:"endpoint-details"},Nde={class:"endpoint-description"},jde=Gr({__name:"EndpointDetails",props:{operation:{}},setup(e){const t=e,{parameterMap:n}=OZ(t),{responses:r}=TZ(t.operation);return(e,t)=>{var o,i;return Zi(),Wi("div",Dde,[ea("div",Nde,[ta(Zse,{value:e.operation.description},null,8,["value"])]),ta(Tde,{parameters:mn(n).path},{title:Pr((()=>[aa("Path Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).query},{title:Pr((()=>[aa("Query Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).header},{title:Pr((()=>[aa("Headers")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).body,showChildren:""},{title:Pr((()=>[aa("Body Parameters")])),_:1},8,["parameters"]),ta(Tde,{parameters:mn(n).formData},{title:Pr((()=>[aa("Form Data")])),_:1},8,["parameters"]),(null==(o=e.operation.information)?void 0:o.requestBody)?(Zi(),Bi(Rde,{key:0,requestBody:null==(i=e.operation.information)?void 0:i.requestBody},{title:Pr((()=>[aa("Body")])),_:1},8,["requestBody"])):la("",!0),ta(Tde,{parameters:mn(r)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])])}}}),qde={class:"endpoint-path"},Ide={key:0},Ude=Gr({__name:"EndpointPath",props:{path:{}},setup(e){const t=e,n=e=>e.startsWith("{")&&e.endsWith("}"),r=Ua((()=>t.path.split(/({[^}]+})/)));return(e,t)=>(Zi(),Wi("span",qde,[(Zi(!0),Wi(qi,null,xo(r.value,((e,t)=>(Zi(),Wi(qi,{key:t},[n(e)?(Zi(),Wi("em",Ide,Re(e),1)):(Zi(),Wi(qi,{key:1},[aa(Re(e),1)],64))],64)))),128))]))}}),Mde=vl(Ude,[["__scopeId","data-v-ec5461ce"]]);function Xde(e){return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function Fde(e){return/\s|-/.test(e)}function Zde(e,t=0){let n=[],r=" ".repeat(t),o=" ".repeat(t+2);for(const[i,a]of Object.entries(e)){let e=Fde(i)?`'${i}'`:i;if(Array.isArray(a)){const r=a.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?Zde(e,t+2):e)).join(`, ${o}`);n.push(`${o}${e}: [${r}]`)}else if(a&&"object"==typeof a)n.push(`${o}${e}: ${Zde(a,t+2)}`);else if("string"==typeof a){let t=`${a}`;if(a.startsWith("JSON.stringify")){const e=a.split("\n");e.length>1&&(t=e.map(((e,t)=>0===t?e:`${o}${e}`)).join("\n"))}else t=`'${a}'`;n.push(`${o}${e}: ${t}`)}else n.push(`${o}${e}: ${a}`)}return`{\n${n.join(",\n")}\n${r}}`}function Vde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"node",client:"undici",code:`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${a}'${s})`}}function Lde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"node",client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function zde(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={method:"GET"===r.method?void 0:r.method},i=new URLSearchParams(r.queryString?Xde(r.queryString):void 0),a=i.size?`?${i.toString()}`:"";null!=(t=r.headers)&&t.length&&(o.headers={},r.headers.forEach((e=>{o.headers[e.name]=e.value}))),null!=(n=r.cookies)&&n.length&&(o.headers=o.headers||{},r.cookies.forEach((e=>{o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),r.postData&&(o.body=r.postData.text,"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Zde(JSON.parse(o.body))})`));const s=Object.keys(o).length?`, ${Zde(o)}`:"";return{target:"js",client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function Wde(){const e=[Vde,Lde,zde];return{get(e,t,n){const r=this.findPlugin(e,t);if(r)return r(n)},print(e,t,n){var r;return null==(r=this.get(e,t,n))?void 0:r.code},targets:()=>e.map((e=>e().target)).filter(((e,t,n)=>n.indexOf(e)===t)),clients:()=>e.map((e=>e().client)),plugins:()=>e.map((e=>{const t=e();return{target:t.target,client:t.client}})),findPlugin:(t,n)=>e.find((e=>{const r=e();return r.target===t&&r.client===n})),hasPlugin(e,t){return!!this.findPlugin(e,t)}}}const Bde={class:"request-header"},Yde={class:"language-select"},Hde=["value"],Gde=["label"],Kde=["value"],Jde=Gr({__name:"ExampleRequest",props:{operation:{}},setup(e){const t=e,n=dn(""),{copyToClipboard:r}=hue(),{state:o,setItem:i,getClientTitle:a,getTargetTitle:s}=tue(),{availableTargets:l}=iee(),{server:c,authentication:u}=$M(),d=Ua((()=>[o.selectedClient.targetKey]));return Ir([()=>o.selectedClient,()=>c,()=>u],(async()=>{n.value=await(async()=>{var e;const n=fj({url:mM(c)??window.location.origin},fM(t.operation,{replaceVariables:!0}),pM(u,null==(e=t.operation.information)?void 0:e.security));try{if(Wde().hasPlugin(o.selectedClient.targetKey.replace("javascript","js"),o.selectedClient.clientKey))return Wde().print(o.selectedClient.targetKey.replace("javascript","js"),o.selectedClient.clientKey,n)??"";const e=new ree(n);return await e.convert(o.selectedClient.targetKey,o.selectedClient.clientKey)}catch(Oc){return console.error("[ExampleRequest]",Oc),""}})()}),{deep:!0,immediate:!0}),Ua((()=>AT({serverState:c,authenticationState:u,operation:t.operation}))),(e,t)=>(Zi(),Bi(mn(Nee),{class:"dark-mode"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{actions:Pr((()=>[ea("div",Yde,[ea("span",null,Re(mn(s)(mn(o).selectedClient))+" "+Re(mn(a)(mn(o).selectedClient)),1),ea("select",{value:JSON.stringify(mn(o).selectedClient),onInput:t[0]||(t[0]=e=>mn(i)("selectedClient",JSON.parse(e.target.value)))},[(Zi(!0),Wi(qi,null,xo(mn(l),(e=>(Zi(),Wi("optgroup",{key:e.key,label:e.title},[(Zi(!0),Wi(qi,null,xo(e.clients,(t=>(Zi(),Wi("option",{key:t.key,value:JSON.stringify({targetKey:e.key,clientKey:t.key})},Re(t.title),9,Kde)))),128))],8,Gde)))),128))],40,Hde)]),ea("button",{class:"copy-button",type:"button",onClick:t[1]||(t[1]=e=>mn(r)(n.value))},[ta(mn(up),{icon:"Clipboard",width:"10px"})])])),default:Pr((()=>[ea("div",Bde,[ea("span",{class:$e(["request-method",`request-method--${e.operation.httpVerb}`])},Re(e.operation.httpVerb),3),$o(e.$slots,"header",{},void 0,!0)])])),_:3}),ta(mn(jee),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:Pr((()=>[ta(mn(nT),{content:n.value,forceDarkMode:!0,languages:d.value,lineNumbers:"",readOnly:""},null,8,["content","languages"])])),_:1}),e.$slots.footer?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",contrast:""},{default:Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:3})):la("",!0)])),_:3}))}}),epe=vl(Jde,[["__scopeId","data-v-f2ba03d7"]]),tpe=e=>(kr("data-v-491741ba"),e=e(),$r(),e),npe={class:"example-switcher"},rpe=tpe((()=>ea("label",{class:"listbox-label",for:"listbox-button"}," Select Example ",-1))),ope={class:"listbox-button-content"},ipe={class:"listbox-button-label"},ape=vl(Gr({__name:"SelectExample",props:{examples:{}},setup(e){const t=vM(e.examples,"scalarExampleName"),n=dn(t[0]);return(e,r)=>(Zi(),Wi("div",npe,[rpe,ta(mn(ud),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=e=>n.value=e)},{default:Pr((()=>[ta(mn(dd),{id:"listbox-button",class:"listbox-button"},{default:Pr((()=>[ea("div",ope,[ea("div",ipe,Re(n.value.value.summary??n.value.key??n.value.scalarExampleName),1),ea("div",null,[ta(mn(vee),{class:"icon",src:"line/arrow-chevron-down"})])])])),_:1}),ta(mn(pd),{class:"listbox-options"},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(mn(t),(e=>(Zi(),Bi(mn(fd),{key:e.key,class:"listbox-option",value:e},{default:Pr((()=>[aa(Re(e.value.summary??e.key??e.scalarExampleName),1)])),_:2},1032,["value"])))),128))])),_:1})])),_:1},8,["modelValue"]),ta(mn(nT),{content:JSON.stringify(n.value.value.value,null,2),languages:["json"],readOnly:""},null,8,["content"])]))}}),[["__scopeId","data-v-491741ba"]]),spe={key:0},lpe={key:1},cpe={key:0,class:"rule"},upe={class:"rule-title"},dpe={class:"rule-items"},ppe={key:2,class:"empty-state"},fpe=vl(Gr({__name:"ExampleResponse",props:{response:{}},setup(e){const t=["oneOf","anyOf","not"];return(e,n)=>{var r,o,i,a,s,l,c,u,d,p,f,h,m,g,O,y;return(null==(r=e.response)?void 0:r.examples)&&Object.keys(null==(o=e.response)?void 0:o.examples).length>1?(Zi(),Bi(ape,{key:0,examples:null==(i=e.response)?void 0:i.examples},null,8,["examples"])):(null==(a=e.response)?void 0:a.examples)&&1===Object.keys(null==(s=e.response)?void 0:s.examples).length?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)(mn(vM)(null==(l=e.response)?void 0:l.examples)[0].response.response),languages:["json"],readOnly:""},null,8,["content"])):(Zi(),Wi(qi,{key:2},[(null==(c=e.response)?void 0:c.example)?(Zi(),Wi("div",spe,[ta(mn(nT),{content:mn(AM)(null==(u=e.response)?void 0:u.example),languages:["json"],readOnly:""},null,8,["content"])])):(null==(d=e.response)?void 0:d.schema)?(Zi(),Wi("div",lpe,[(null==(p=e.response)?void 0:p.schema.type)?(Zi(),Bi(mn(nT),{key:0,content:mn(AM)(mn(RT)(null==(f=e.response)?void 0:f.schema,{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])):la("",!0),(Zi(),Wi(qi,null,xo(t,(t=>{var n,r,o,i,a,s;return Zi(),Wi(qi,{key:t},[(null==(n=e.response)?void 0:n.schema[t])&&((null==(r=e.response)?void 0:r.schema[t].length)>1||"not"===t)?(Zi(),Wi("div",cpe,[ea("div",upe,Re(t),1),ea("ol",dpe,[(Zi(!0),Wi(qi,null,xo(null==(o=e.response)?void 0:o.schema[t],((e,t)=>(Zi(),Wi("li",{key:t,class:"rule-item"},[ta(mn(nT),{content:mn(AM)(mn(RT)(e,{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])])))),128))])])):(null==(i=e.response)?void 0:i.schema[t])&&1===(null==(a=e.response)?void 0:a.schema[t].length)?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)(mn(RT)(null==(s=e.response)?void 0:s.schema[t][0],{emptyString:"…",mode:"read"})),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)],64)})),64)),(null==(h=e.response)?void 0:h.schema.allOf)?(Zi(),Bi(mn(nT),{key:1,content:mn(AM)((y=null==(m=e.response)?void 0:m.schema.allOf.map((e=>mn(RT)(e,{emptyString:"…",mode:"read"}))),y.reduce(((e,t)=>({...e,...t})),{}))),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)])):la("",!0),(null==(g=e.response)?void 0:g.example)||(null==(O=e.response)?void 0:O.schema)?la("",!0):(Zi(),Wi("div",ppe," No Body "))],64))}}}),[["__scopeId","data-v-fd2afcd6"]]),hpe=Gr({__name:"RawSchema",props:{response:{}},setup:e=>(e,t)=>{var n;return(null==(n=e.response)?void 0:n.schema)?(Zi(),Bi(mn(nT),{key:0,content:mn(AM)(e.response.schema),languages:["json"],readOnly:""},null,8,["content"])):la("",!0)}}),mpe=e=>(kr("data-v-ccba874d"),e=e(),$r(),e),gpe={key:1,class:"scalar-card-checkbox"},Ope=mpe((()=>ea("span",{class:"scalar-card-checkbox-checkmark"},null,-1))),ype={class:"scalar-card-container custom-scroll"},bpe={class:"description"},vpe=vl(Gr({__name:"PathResponses",props:{operation:{}},setup(e){const t=e,{copyToClipboard:n}=hue(),r=Ua((()=>{var e,n;return Object.keys((null==(n=null==(e=null==t?void 0:t.operation)?void 0:e.information)?void 0:n.responses)??{}).sort((e=>"default"===e?-1:0))})),o=dn(0),i=Ua((()=>{var e,n;const i=r.value[o.value];return null==(n=null==(e=t.operation.information)?void 0:e.responses)?void 0:n[i]})),a=Ua((()=>{var e,t;return null==(t=null==(e=i.value)?void 0:e.content)?void 0:t["application/json"]})),s=e=>{o.value=e},l=dn(!1);return(e,t)=>r.value.length?(Zi(),Bi(mn(Nee),{key:0},{default:Pr((()=>{var e;return[ta(mn(Fee),{muted:"",onChange:s},{actions:Pr((()=>{var e,r;return[(null==(e=a.value)?void 0:e.example)?(Zi(),Wi("button",{key:0,class:"code-copy",type:"button",onClick:t[0]||(t[0]=()=>{var e;return mn(n)(null==(e=a.value)?void 0:e.example)})},[ta(mn(up),{icon:"Clipboard",width:"10px"})])):la("",!0),(null==(r=a.value)?void 0:r.schema)?(Zi(),Wi("label",gpe,[aa(" Show Schema "),Vr(ea("input",{"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),class:"scalar-card-checkbox-input",type:"checkbox"},null,512),[[Is,l.value]]),Ope])):la("",!0)]})),default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(r.value,(e=>(Zi(),Bi(mn(Zee),{key:e},{default:Pr((()=>[aa(Re(e),1)])),_:2},1024)))),128))])),_:1}),ea("div",ype,[ta(mn(jee),{muted:""},{default:Pr((()=>{var e;return[(null==(e=a.value)?void 0:e.schema)?(Zi(),Wi(qi,{key:0},[l.value?(Zi(),Bi(hpe,{key:0,response:a.value},null,8,["response"])):(Zi(),Bi(fpe,{key:1,response:a.value},null,8,["response"]))],64)):(Zi(),Bi(fpe,{key:1,response:a.value},null,8,["response"]))]})),_:1})]),(null==(e=i.value)?void 0:e.description)?(Zi(),Bi(mn(Xee),{key:0,class:"scalar-card-footer",muted:""},{default:Pr((()=>[ea("div",bpe,[ta(Zse,{class:"markdown",value:i.value.description},null,8,["value"])])])),_:1})):la("",!0)]})),_:1})):la("",!0)}}),[["__scopeId","data-v-ccba874d"]]),wpe=e=>(kr("data-v-4f8d7a7c"),e=e(),$r(),e),Spe=wpe((()=>ea("span",null,"Test Request",-1))),xpe=vl(Gr({__name:"TryRequestButton",props:{operation:{}},setup:e=>(e,t)=>(Zi(),Wi("button",{class:$e(["show-api-client-button",`show-api-client-button--${e.operation.httpVerb}`]),type:"button",onClick:t[0]||(t[0]=zs((t=>mn(CM)(e.operation)),["stop"]))},[Spe,ta(mn(up),{icon:"PaperAirplane"})],2))}),[["__scopeId","data-v-4f8d7a7c"]]),kpe={class:"examples"},$pe=vl(Gr({__name:"ReferenceEndpoint",props:{operation:{},tag:{}},setup(e){const t=e,{getOperationId:n}=_Z(),r=Ua((()=>{var e;const n=["x-custom-examples","x-codeSamples","x-code-samples"];for(const r of n)if(null==(e=t.operation.information)?void 0:e[r])return t.operation.information[r];return null}));return(e,t)=>(Zi(),Bi(mn(vce),{id:mn(n)(e.operation,e.tag),label:e.operation.name},{default:Pr((()=>[ta(mn(qce),null,{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>{var t,r;return[(null==(t=e.operation.information)?void 0:t.deprecated)?(Zi(),Bi(mn(rce),{key:0},{default:Pr((()=>[aa(" Deprecated ")])),_:1})):la("",!0),ea("div",{class:$e((null==(r=e.operation.information)?void 0:r.deprecated)?"deprecated":"")},[ta(mn(Ice),{level:3},{default:Pr((()=>[ta(mn(que),{id:mn(n)(e.operation,e.tag)},{default:Pr((()=>[aa(Re(e.operation.name),1)])),_:1},8,["id"])])),_:1})],2),ta(jde,{operation:e.operation},null,8,["operation"])]})),_:1}),ta(mn(_ce),null,{default:Pr((()=>[ea("div",kpe,[r.value?(Zi(),Bi(wde,{key:0,examples:r.value,operation:e.operation},null,8,["examples","operation"])):(Zi(),Bi(epe,{key:1,operation:e.operation},{header:Pr((()=>[ta(Mde,{class:"example-path",path:e.operation.path},null,8,["path"])])),footer:Pr((()=>[ta(xpe,{operation:e.operation},null,8,["operation"])])),_:1},8,["operation"])),ta(mn(vpe),{operation:e.operation,style:{"margin-top":"12px"}},null,8,["operation"])])])),_:1})])),_:1})])),_:1})])),_:1},8,["id","label"]))}}),[["__scopeId","data-v-f1a36f8c"]]),Ppe={class:"endpoint-details-card"},_pe=vl(Gr({__name:"EndpointDetailsCard",props:{operation:{}},setup(e){const t=e,{parameterMap:n}=OZ(t),{responses:r}=TZ(t.operation);return(e,t)=>{var o;return Zi(),Wi("div",Ppe,[ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).path},{title:Pr((()=>[aa("Path Parameters")])),_:1},8,["parameters"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).query},{title:Pr((()=>[aa("Query Parameters")])),_:1},8,["parameters"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(n).header},{title:Pr((()=>[aa("Headers")])),_:1},8,["parameters"]),ta(Rde,{class:"endpoint-details-card-item",requestBody:null==(o=e.operation.information)?void 0:o.requestBody},{title:Pr((()=>[aa("Body")])),_:1},8,["requestBody"]),ta(Tde,{class:"endpoint-details-card-item",parameters:mn(r)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])])}}}),[["__scopeId","data-v-47908469"]]),Tpe={class:"endpoint-header"},Epe={class:"endpoint-details"},Qpe={class:"endpoint-type"},Cpe={class:"endpoint-label"},Ape={class:"endpoint-label-path"},Rpe={class:"endpoint-label-name"},Dpe={class:"endpoint-content"},Npe=vl(Gr({__name:"ReferenceEndpointAccordion",props:{operation:{},tag:{}},setup(e){const{copyToClipboard:t}=hue(),{getOperationId:n}=_Z();return(e,r)=>(Zi(),Bi(mn($ce),{id:mn(n)(e.operation,e.tag),class:$e(["reference-endpoint",`reference-endpoint--${e.operation.httpVerb}`]),transparent:""},ko({title:Pr((()=>[ea("h3",Tpe,[ea("div",Epe,[ea("span",Qpe,Re(e.operation.httpVerb),1),ta(mn(que),{id:mn(n)(e.operation,e.tag),class:"endpoint-anchor"},{default:Pr((()=>[ea("div",Cpe,[ea("div",Ape,[ta(Mde,{path:e.operation.path},null,8,["path"])]),ea("div",Rpe,Re(e.operation.name),1)])])),_:1},8,["id"])])])])),actions:Pr((({active:n})=>[n?(Zi(),Bi(xpe,{key:0,operation:e.operation},null,8,["operation"])):(Zi(),Bi(mn(up),{key:1,class:"endpoint-try-hint",icon:"PaperAirplane"})),ta(mn(fp),{class:"endpoint-copy",icon:"Clipboard",label:"Copy endpoint URL",size:"full",variant:"ghost",onClick:r[0]||(r[0]=zs((n=>mn(t)(e.operation.path)),["stop"]))})])),default:Pr((()=>[ea("div",Dpe,[ta(_pe,{operation:e.operation},null,8,["operation"]),ta(mn(vpe),{operation:e.operation},null,8,["operation"]),ta(epe,{operation:e.operation},null,8,["operation"])])])),_:2},[e.operation.description?{name:"description",fn:Pr((()=>[ta(Zse,{value:e.operation.description},null,8,["value"])])),key:"0"}:void 0]),1032,["id","class"]))}}),[["__scopeId","data-v-3f3faa59"]]),jpe={class:"endpoints custom-scroll"},qpe=["onClick"],Ipe=vl(Gr({__name:"EndpointsOverview",props:{tag:{}},setup(e){const t=e,{getOperationId:n,getTagId:r}=_Z(),{setCollapsedSidebarItem:o}=z7();return(e,i)=>(Zi(),Bi(mn(vce),{id:mn(r)(e.tag),label:e.tag.name.toUpperCase()},{default:Pr((()=>[ta(mn(qce),null,{default:Pr((()=>[ta(mn(Ece),null,{default:Pr((()=>[ta(mn(_ce),null,{default:Pr((()=>[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(e.tag)},{default:Pr((()=>[aa(Re(e.tag.name),1)])),_:1},8,["id"])])),_:1}),ta(Zse,{value:e.tag.description},null,8,["value"])])),_:1}),ta(mn(_ce),null,{default:Pr((()=>{var i;return[(null==(i=e.tag.operations)?void 0:i.length)>0?(Zi(),Bi(mn(Nee),{key:0,class:"scalar-card-sticky"},{default:Pr((()=>[ta(mn(Mee),{muted:""},{default:Pr((()=>[aa("Endpoints")])),_:1}),ta(mn(jee),{muted:""},{default:Pr((()=>[ea("div",jpe,[(Zi(!0),Wi(qi,null,xo(e.tag.operations,(i=>(Zi(),Wi("a",{key:mn(n)(i,e.tag),class:"endpoint",onClick:e=>async function(e){o(r(t.tag),!0),await Fn(),window.location.href=`#${n(e,t.tag)}`}(i)},[ea("span",{class:$e(i.httpVerb)},Re(i.httpVerb),3),ea("span",null,Re(i.path),1)],8,qpe)))),128))])])),_:1})])),_:1})):la("",!0)]})),_:1})])),_:1})])),_:1})])),_:1},8,["id","label"]))}}),[["__scopeId","data-v-41f9cefc"]]),Upe=vl(Gr({__name:"ReferenceTag",props:{tag:{},spec:{},isFirst:{type:Boolean}},setup(e){const t=e,{collapsedSidebarItems:n}=z7(),{getTagId:r}=_Z(),o=e=>{var n;return 1!==(null==(n=t.spec.tags)?void 0:n.length)||"default"!==(null==e?void 0:e.name)||""!==(null==e?void 0:e.description)};return(e,t)=>(Zi(),Bi(Cce,{class:"tag-section-container"},{default:Pr((()=>{var t;return[o(e.tag)?(Zi(),Bi(Ipe,{key:0,tag:e.tag},null,8,["tag"])):la("",!0),!e.isFirst&&!mn(n)[mn(r)(e.tag)]&&(null==(t=e.tag.operations)?void 0:t.length)>1?(Zi(),Bi(pde,{key:1,id:mn(r)(e.tag)},null,8,["id"])):$o(e.$slots,"default",{key:2},void 0,!0)]})),_:3}))}}),[["__scopeId","data-v-288d4708"]]),Mpe=vl(Gr({__name:"ReferenceTagAccordion",props:{tag:{},spec:{},isFirst:{type:Boolean}},setup(e){const{getTagId:t}=_Z();return(e,n)=>(Zi(),Bi(mn(Dce),{class:"tag-section"},{title:Pr((()=>[ta(mn(Ice),{class:"tag-name",level:2},{default:Pr((()=>[ta(mn(que),{id:mn(t)(e.tag)},{default:Pr((()=>[aa(Re(e.tag.name),1)])),_:1},8,["id"])])),_:1}),ta(Zse,{class:"tag-description",value:e.tag.description},null,8,["value"])])),default:Pr((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3}))}}),[["__scopeId","data-v-4b2594a0"]]),Xpe=Gr({__name:"Webhook",props:{webhook:{}},setup(e){const t=e,{responses:n}=TZ(t.webhook);return(e,t)=>{var r;return e.webhook?(Zi(),Wi(qi,{key:0},[ta(Rde,{requestBody:null==(r=e.webhook.information)?void 0:r.requestBody},{title:Pr((()=>[aa("Payload")])),_:1},8,["requestBody"]),ta(Tde,{parameters:mn(n)},{title:Pr((()=>[aa("Responses")])),_:1},8,["parameters"])],64)):la("",!0)}}}),Fpe=Gr({__name:"Webhooks",props:{webhooks:{}},setup(e){const t=e,n=Ua((()=>Object.keys(t.webhooks??{}))),{getWebhookId:r}=_Z();return(e,t)=>n.value.length?(Zi(),Bi(mn(Cce),{key:0},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(n.value,(t=>{var n;return Zi(),Wi(qi,{key:t},[(Zi(!0),Wi(qi,null,xo(Object.keys(null==(n=e.webhooks)?void 0:n[t]),(n=>(Zi(),Bi(mn(vce),{id:mn(r)(t,n),key:n,label:t},{default:Pr((()=>{var o;return[(null==(o=e.webhooks)?void 0:o[t])?(Zi(),Bi(mn(qce),{key:0},{default:Pr((()=>{var o,i;return[ta(mn(Ice),{level:2},{default:Pr((()=>[ta(mn(que),{id:mn(r)(t,n)},{default:Pr((()=>{var r;return[aa(Re(null==(r=e.webhooks[t][n])?void 0:r.name),1)]})),_:2},1032,["id"])])),_:2},1024),(null==(o=e.webhooks[t][n])?void 0:o.description)?(Zi(),Bi(Zse,{key:0,value:null==(i=e.webhooks[t][n])?void 0:i.description},null,8,["value"])):la("",!0),ta(Xpe,{webhook:e.webhooks[t][n]},null,8,["webhook"])]})),_:2},1024)):la("",!0)]})),_:2},1032,["id","label"])))),128))],64)})),128))])),_:1})):la("",!0)}}),Zpe=vl(Gr({__name:"Content",props:{parsedSpec:{},rawSpec:{},layout:{}},setup(e){const t=e,n=dn(null),r=dn(!0);Xd(n,(e=>r.value=e[0].contentRect.width<900));const o=function(e){const t=dn(null);return co((()=>{t.value=e()})),t}((()=>({url:window.location.origin}))),i=Ua((()=>{var e;return t.parsedSpec.servers&&t.parsedSpec.servers.length>0?t.parsedSpec.servers:t.parsedSpec.host&&t.parsedSpec.schemes&&t.parsedSpec.schemes.length>0?[{url:`${t.parsedSpec.schemes[0]}://${t.parsedSpec.host}${(null==(e=t.parsedSpec)?void 0:e.basePath)??""}`}]:o.value?[o.value]:[{url:""}]})),a=Ua((()=>"accordion"===t.layout?Mpe:Upe)),s=Ua((()=>"accordion"===t.layout?Npe:$pe)),l=Ua((()=>"accordion"===t.layout?"after":"aside"));return(e,t)=>(Zi(),Wi("div",{ref_key:"referenceEl",ref:n,class:$e({"references-narrow":r.value})},[$o(e.$slots,"start",{},void 0,!0),e.parsedSpec.info.title||e.parsedSpec.info.description?(Zi(),Bi(mn(Yce),{key:0,info:e.parsedSpec.info,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec},{[l.value]:Pr((()=>[ea("div",{class:$e(["introduction-cards",{"introduction-cards-row":"accordion"===e.layout}])},[ta(Que,{value:i.value},null,8,["value"]),ta(pue),ta(mn(yce),{parsedSpec:e.parsedSpec},null,8,["parsedSpec"])],2)])),_:2},1032,["info","parsedSpec","rawSpec"])):$o(e.$slots,"empty-state",{key:1},void 0,!0),(Zi(!0),Wi(qi,null,xo(e.parsedSpec.tags,((t,n)=>(Zi(),Wi(qi,{key:t.id},[t.operations&&t.operations.length>0?(Zi(),Bi(wo(a.value),{key:0,isFirst:0===n,spec:e.parsedSpec,tag:t},{default:Pr((()=>[(Zi(!0),Wi(qi,null,xo(t.operations,(e=>(Zi(),Bi(wo(s.value),{key:`${e.httpVerb}-${e.operationId}`,operation:e,server:i.value[0],tag:t},null,8,["operation","server","tag"])))),128))])),_:2},1032,["isFirst","spec","tag"])):la("",!0)],64)))),128)),e.parsedSpec.webhooks?(Zi(),Bi(Fpe,{key:2,webhooks:e.parsedSpec.webhooks},null,8,["webhooks"])):la("",!0),mn(gM)(e.parsedSpec)?(Zi(),Wi(qi,{key:3},["accordion"===e.layout?(Zi(),Bi(gde,{key:0,components:e.parsedSpec.components},null,8,["components"])):(Zi(),Bi(fde,{key:1,components:e.parsedSpec.components},null,8,["components"]))],64)):la("",!0),$o(e.$slots,"end",{},void 0,!0)],2))}}),[["__scopeId","data-v-ed145609"]]),Vpe={openapi:"3.0.0",info:{title:"CoinMarketCap",description:"The CoinMarketCap Professional API is a suite of high-performance RESTful JSON endpoints that are specifically designed to meet the mission-critical demands of application developers, data scientists, and enterprise business platforms.\n\nContact Support:\n Name: No Contact\n Email: email@example.com",version:"1.0.0"},servers:[{url:"http://{{baseurl}}"}],tags:[{name:"v1"},{name:"v1 > cryptocurrency"},{name:"v1 > cryptocurrency > listings"},{name:"v1 > cryptocurrency > quotes"},{name:"v1 > exchange"},{name:"v1 > exchange > listings"},{name:"v1 > exchange > quotes"},{name:"v1 > global-metrics/quotes"}],paths:{"/v1/cryptocurrency/listings/historical":{get:{tags:["v1 > cryptocurrency > listings"],summary:"List all cryptocurrencies (historical)",description:'**This endpoint is not yet available. It is slated for release in Q3 2018.**\n\n\nGet a paginated list of all cryptocurrencies with market data for a given historical time. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.',parameters:[{name:"timestamp",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to return historical cryptocurrency listings for.",example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"cryptocurrency_type",in:"query",schema:{type:"string"},description:"The type of cryptocurrency to include.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/listings/latest":{get:{tags:["v1 > cryptocurrency > listings"],summary:"List all cryptocurrencies (latest)",description:'Get a paginated list of all cryptocurrencies with latest market data. You can configure this call to sort by market cap or another market ranking field. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n\n\nCryptocurrencies are listed by CoinMarketCap Rank by default. You may optionally sort against any of the following:\n**name**: The cryptocurrency name.\n**symbol**: The cryptocurrency symbol.\n**date_added**: Date cryptocurrency w',parameters:[{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"cryptocurrency_type",in:"query",schema:{type:"string"},description:"The type of cryptocurrency to include.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/quotes/historical":{get:{tags:["v1 > cryptocurrency > quotes"],summary:"Get market quotes (historical)",description:'Returns an interval of historic market quotes for any cryptocurrency based on time and interval parameters.\n\n**Technical Details**\nA historic quote for every "interval" period between your "time_start" and "time_end" will be returned.\nIf a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nAt each "interval" period, the historic quote that is closest in time to the requested time will be returne',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/quotes/latest":{get:{tags:["v1 > cryptocurrency > quotes"],summary:"Get market quotes (latest)",description:'Get the latest market quote for 1 or more cryptocurrencies. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~1 minute.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/info":{get:{tags:["v1 > cryptocurrency"],summary:"Get metadata",description:"Returns all static metadata for one or more cryptocurrencies including name, symbol, logo, and its various registered URLs.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds.",parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/map":{get:{tags:["v1 > cryptocurrency"],summary:"Get CoinMarketCap ID map",description:"Returns a paginated list of all cryptocurrencies by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique cryptocurrency `id` across all endpoints as typical identifiers like ticker symbols can match multiple cryptocurrencies and change over time. As a convenience you may pass a comma-separated list of cryptocurrency symbols as `symbol` to filter this list to only those you require.\n\n\n **This endpoint is available on the following API plans:**\n - Start",parameters:[{name:"listing_status",in:"query",schema:{type:"string"},description:"Only active coins are returned by default. Pass 'inactive' to get a list of coins that are no longer active.",example:"<>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/market-pairs/latest":{get:{tags:["v1 > cryptocurrency"],summary:"Get market pairs (latest)",description:'Lists all market pairs for the specified cryptocurrency with associated stats. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~1 minute.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/cryptocurrency/ohlcv/historical":{get:{tags:["v1 > cryptocurrency"],summary:"Get OHLCV values (historical)",description:'Return an interval of historic OHLCV (Open, High, Low, Close, Volume) market quotes for a cryptocurrency.\n\n**Technical Details**\nOne OHLCV quote will be returned for every "time_period" between your "time_start" and "time_end".\nIf a "time_start" is not supplied, the "time_period" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nIf you don\'t need every "time_period" between your dates you may adjust the frequency that "time_period" is sam',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time_period",in:"query",schema:{type:"string"},description:'Time period to return OHLCV data for. The default is "daily". Additional options will be available in the future. See the main endpoint description for details.',example:"<>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/listings/historical":{get:{tags:["v1 > exchange > listings"],summary:"List all exchanges (historical)",description:'**This endpoint is not yet available. It is slated for release in Q3 2018.**\n\n\nGet a paginated list of all cryptocurrency exchanges with historical market data for a given point in time. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.',parameters:[{name:"timestamp",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to return historical cryptocurrency listings for.",example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"market_type",in:"query",schema:{type:"string"},description:"The type of exchange markets to include in rankings.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/listings/latest":{get:{tags:["v1 > exchange > listings"],summary:"List all exchanges (latest)",description:'Get a paginated list of all cryptocurrency exchanges with 24 hour volume. Additional market data fields will be available in the future. You can configure this call to sort by 24 hour volume or another field. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call. \n \n**This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Eve',parameters:[{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"sort",in:"query",schema:{type:"string"},description:"What field to sort the list of cryptocurrencies by.",example:"<>"},{name:"sort_dir",in:"query",schema:{type:"string"},description:"The direction in which to order cryptocurrencies against the specified sort.",example:"<>"},{name:"market_type",in:"query",schema:{type:"string"},description:"The type of exchange markets to include in rankings.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/quotes/historical":{get:{tags:["v1 > exchange > quotes"],summary:"Get market quotes (historical)",description:'Returns an interval of historic quotes for any exchange based on time and interval parameters.\n\nHistorical exchange quotes currently include:\nvolume_24: Combined 24 hour volume for all market pairs at each historical interval.\nnum_market_pairs: Number of market pairs available at each historical interval.\nQuotes are returned in USD. Additional currency conversion options and additional fields will be available in the future.\n\n**Technical Details**\nA historic quote for every "interval" period bet',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/quotes/latest":{get:{tags:["v1 > exchange > quotes"],summary:"Get market quotes (latest)",description:'Get the latest 24 hour volume quote for 1 or more exchanges. Additional market data fields will be available in the future. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- ~~Starter~~\n- ~~Hobbyist~~\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/info":{get:{tags:["v1 > exchange"],summary:"Get metadata",description:"Returns all static metadata for one or more exchanges including logo and homepage URL.\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Static data is updated only as needed, every 30 seconds.",parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/map":{get:{tags:["v1 > exchange"],summary:"Get CoinMarketCap ID map",description:"Returns a paginated list of all cryptocurrency exchanges by CoinMarketCap ID. We recommend using this convenience endpoint to lookup and utilize our unique exchange `id` across all endpoints as typical exchange identifiers may change over time. As a convenience you may pass a comma-separated list of exchanges by `slug` to filter this list to only those you require.\n\n**This endpoint is available on the following API plans:**\n - ~~Starter~~\n - Hobbyist\n - Standard\n - Professional\n - Enterpris",parameters:[{name:"listing_status",in:"query",schema:{type:"string"},description:"Only active coins are returned by default. Pass 'inactive' to get a list of coins that are no longer active.",example:"<>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/exchange/market-pairs/latest":{get:{tags:["v1 > exchange"],summary:"List all market pairs (latest)",description:'Get a list of active market pairs for an exchange. Active means the market pair is open for trading. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\'\n\n **This endpoint is available on the following API plans:**\n - ~~Starter~~\n - ~~Hobbyist~~\n - Standard\n - Professional\n - Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"slug",in:"query",schema:{type:"string"},description:'Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" *or* "slug" is required.',example:"<get>"},{name:"start",in:"query",schema:{type:"string"},description:"Optionally offset the start (1-based index) of the paginated list of items to return.",example:"<>"},{name:"limit",in:"query",schema:{type:"string"},description:'Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/global-metrics/quotes/historical":{get:{tags:["v1 > global-metrics/quotes"],summary:"Get aggregate market metrics (historical)",description:'Get an interval of aggregate 24 hour volume and market cap data globally based on time and interval parameters.\n\n**Technical Details**\nA historic quote for every "interval" period between your "time_start" and "time_end" will be returned.\nIf a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".\nIf "time_end" is not supplied, it defaults to the current time.\nAt each "interval" period, the historic quote that is closest in time to the requested time will be ret',parameters:[{name:"time_start",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for.",example:"<>"},{name:"time_end",in:"query",schema:{type:"string"},description:"Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time.",example:"<>"},{name:"count",in:"query",schema:{type:"string"},description:"Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items.",example:"<>"},{name:"interval",in:"query",schema:{type:"string"},description:'Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options.',example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/global-metrics/quotes/latest":{get:{tags:["v1 > global-metrics/quotes"],summary:"Get aggregate market metrics (latest)",description:'Get the latest quote of aggregate market metrics. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.\n\n**This endpoint is available on the following API plans:**\n- Starter\n- Hobbyist\n- Standard\n- Professional\n- Enterprise\n\n**Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.',parameters:[{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}},"/v1/tools/price-conversion":{get:{tags:["v1"],summary:"Price conversion tool",description:"Convert an amount of one currency into up to 32 other cryptocurrency or fiat currencies at the same time using latest exchange rates. Optionally pass a historical timestamp to convert values based on historic averages.\n\n**Note:** Historical fiat conversions aren't yet available and the latest fiat rates will be used as noted by the `last_updated` timestamp included in the market quote. Historical fiat rates will be coming soon.\n\n**This endpoint is available on the following API plans:**\n- ~~Star",parameters:[{name:"amount",in:"query",schema:{type:"string"},description:"An amount of currency to convert. Example: 10.43",example:"<get>"},{name:"id",in:"query",schema:{type:"string"},description:'One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2"',example:"<get>"},{name:"symbol",in:"query",schema:{type:"string"},description:'Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" *or* "symbol" is required.',example:"<get>"},{name:"time",in:"query",schema:{type:"string"},description:"Optional timestamp (Unix or ISO 8601) to reference historical pricing during conversion. If not passed, the current time will be used. If passed, we'll reference the closest historic values available during conversion.",example:"<>"},{name:"convert",in:"query",schema:{type:"string"},description:"Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to.",example:"<>"}],responses:{200:{description:"Successful response",content:{"application/json":{}}}}}}}},Lpe={openapi:"3.0.2",info:{title:"Swagger Petstore - OpenAPI 3.0",description:"This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",termsOfService:"http://swagger.io/terms/",contact:{email:"apiteam@swagger.io"},license:{name:"Apache 2.0",url:"http://www.apache.org/licenses/LICENSE-2.0.html"},version:"1.0.11"},externalDocs:{description:"Find out more about Swagger",url:"http://swagger.io"},servers:[{url:"https://petstore3.swagger.io/api/v3"}],tags:[{name:"pet",description:"Everything about your Pets",externalDocs:{description:"Find out more",url:"http://swagger.io"}},{name:"store",description:"Access to Petstore orders",externalDocs:{description:"Find out more about our store",url:"http://swagger.io"}},{name:"user",description:"Operations about user"}],paths:{"/pet":{put:{tags:["pet"],summary:"Update an existing pet",description:"Update an existing pet by Id",operationId:"updatePet",requestBody:{description:"Update an existent pet in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Pet"}}},required:!0},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},400:{description:"Invalid ID supplied"},404:{description:"Pet not found"},405:{description:"Validation exception"}},security:[{petstore_auth:["write:pets","read:pets"]}]},post:{tags:["pet"],summary:"Add a new pet to the store",description:"Add a new pet to the store",operationId:"addPet",requestBody:{description:"Create a new pet in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Pet"}}},required:!0},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},405:{description:"Invalid input"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/findByStatus":{get:{tags:["pet"],summary:"Finds Pets by status",description:"Multiple status values can be provided with comma separated strings",operationId:"findPetsByStatus",parameters:[{name:"status",in:"query",description:"Status values that need to be considered for filter",required:!1,explode:!0,schema:{type:"string",default:"available",enum:["available","pending","sold"]}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}},"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}}}},400:{description:"Invalid status value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/findByTags":{get:{tags:["pet"],summary:"Finds Pets by tags",description:"Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",operationId:"findPetsByTags",parameters:[{name:"tags",in:"query",description:"Tags to filter by",required:!1,explode:!0,schema:{type:"array",items:{type:"string"}}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}},"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Pet"}}}}},400:{description:"Invalid tag value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}":{get:{tags:["pet"],summary:"Find pet by ID",description:"Returns a single pet",operationId:"getPetById",parameters:[{name:"petId",in:"path",description:"ID of pet to return",required:!0,schema:{type:"integer",format:"int64"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Pet"}},"application/json":{schema:{$ref:"#/components/schemas/Pet"}}}},400:{description:"Invalid ID supplied"},404:{description:"Pet not found"}},security:[{api_key:[]},{petstore_auth:["write:pets","read:pets"]}]},post:{tags:["pet"],summary:"Updates a pet in the store with form data",description:"",operationId:"updatePetWithForm",parameters:[{name:"petId",in:"path",description:"ID of pet that needs to be updated",required:!0,schema:{type:"integer",format:"int64"}},{name:"name",in:"query",description:"Name of pet that needs to be updated",schema:{type:"string"}},{name:"status",in:"query",description:"Status of pet that needs to be updated",schema:{type:"string"}}],responses:{405:{description:"Invalid input"}},security:[{petstore_auth:["write:pets","read:pets"]}]},delete:{tags:["pet"],summary:"Deletes a pet",description:"",operationId:"deletePet",parameters:[{name:"api_key",in:"header",description:"",required:!1,schema:{type:"string"}},{name:"petId",in:"path",description:"Pet id to delete",required:!0,schema:{type:"integer",format:"int64"}}],responses:{400:{description:"Invalid pet value"}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImage":{post:{tags:["pet"],summary:"uploads an image",description:"",operationId:"uploadFile",parameters:[{name:"petId",in:"path",description:"ID of pet to update",required:!0,schema:{type:"integer",format:"int64"}},{name:"additionalMetadata",in:"query",description:"Additional Metadata",required:!1,schema:{type:"string"}}],requestBody:{content:{"application/octet-stream":{schema:{type:"string",format:"binary"}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/ApiResponse"}}}}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/pet/{petId}/uploadImageForm":{post:{tags:["pet"],summary:"uploads an image using form data",description:"",operationId:"uploadFileForm",requestBody:{content:{"multipart/form-data":{schema:{type:"object",properties:{petId:{type:"string",example:"1"},additionalMetadata:{type:"string"},file:{type:"string",format:"binary"}},required:["petId"]}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/ApiResponse"}}}}},security:[{petstore_auth:["write:pets","read:pets"]}]}},"/store/inventory":{get:{tags:["store"],summary:"Returns pet inventories by status",description:"Returns a map of status codes to quantities",operationId:"getInventory",responses:{200:{description:"successful operation",content:{"application/json":{schema:{type:"object",additionalProperties:{type:"integer",format:"int32"}}}}}},security:[{api_key:[]}]}},"/store/order":{post:{tags:["store"],summary:"Place an order for a pet",description:"Place a new order in the store",operationId:"placeOrder",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/Order"}},"application/xml":{schema:{$ref:"#/components/schemas/Order"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/Order"}}}},responses:{200:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/Order"}}}},405:{description:"Invalid input"}}}},"/store/order/{orderId}":{get:{tags:["store"],summary:"Find purchase order by ID",description:"For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.",operationId:"getOrderById",parameters:[{name:"orderId",in:"path",description:"ID of order that needs to be fetched",required:!0,schema:{type:"integer",format:"int64"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/Order"}},"application/json":{schema:{$ref:"#/components/schemas/Order"}}}},400:{description:"Invalid ID supplied"},404:{description:"Order not found"}}},delete:{tags:["store"],summary:"Delete purchase order by ID",description:"For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors",operationId:"deleteOrder",parameters:[{name:"orderId",in:"path",description:"ID of the order that needs to be deleted",required:!0,schema:{type:"integer",format:"int64"}}],responses:{400:{description:"Invalid ID supplied"},404:{description:"Order not found"}}}},"/user":{post:{tags:["user"],summary:"Create user",description:"This can only be done by the logged in user.",operationId:"createUser",requestBody:{description:"Created user object",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/User"}}}},responses:{default:{description:"successful operation",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}}}}}}},"/user/createWithList":{post:{tags:["user"],summary:"Creates list of users with given input array",description:"Creates list of users with given input array",operationId:"createUsersWithListInput",requestBody:{content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/User"}}}}},responses:{200:{description:"Successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/json":{schema:{$ref:"#/components/schemas/User"}}}},default:{description:"successful operation"}}}},"/user/login":{get:{tags:["user"],summary:"Logs user into the system",description:"",operationId:"loginUser",parameters:[{name:"username",in:"query",description:"The user name for login",required:!1,schema:{type:"string"}},{name:"password",in:"query",description:"The password for login in clear text",required:!1,schema:{type:"string"}}],responses:{200:{description:"successful operation",headers:{"X-Rate-Limit":{description:"calls per hour allowed by the user",schema:{type:"integer",format:"int32"}},"X-Expires-After":{description:"date in UTC when token expires",schema:{type:"string",format:"date-time"}}},content:{"application/xml":{schema:{type:"string"}},"application/json":{schema:{type:"string"}}}},400:{description:"Invalid username/password supplied"}}}},"/user/logout":{get:{tags:["user"],summary:"Logs out current logged in user session",description:"",operationId:"logoutUser",parameters:[],responses:{default:{description:"successful operation"}}}},"/user/{username}":{get:{tags:["user"],summary:"Get user by user name",description:"",operationId:"getUserByName",parameters:[{name:"username",in:"path",description:"The name that needs to be fetched. Use user1 for testing. ",required:!0,schema:{type:"string"}}],responses:{200:{description:"successful operation",content:{"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/json":{schema:{$ref:"#/components/schemas/User"}}}},400:{description:"Invalid username supplied"},404:{description:"User not found"}}},put:{tags:["user"],summary:"Update user",description:"This can only be done by the logged in user.",operationId:"updateUser",parameters:[{name:"username",in:"path",description:"name that need to be deleted",required:!0,schema:{type:"string"}}],requestBody:{description:"Update an existent user in the store",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}},"application/xml":{schema:{$ref:"#/components/schemas/User"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/User"}}}},responses:{default:{description:"successful operation"}}},delete:{tags:["user"],summary:"Delete user",description:"This can only be done by the logged in user.",operationId:"deleteUser",parameters:[{name:"username",in:"path",description:"The name that needs to be deleted",required:!0,schema:{type:"string"}}],responses:{400:{description:"Invalid username supplied"},404:{description:"User not found"}}}}},components:{schemas:{Order:{type:"object",properties:{id:{type:"integer",format:"int64",example:10},petId:{type:"integer",format:"int64",example:198772},quantity:{type:"integer",format:"int32",example:7},shipDate:{type:"string",format:"date-time"},status:{type:"string",description:"Order Status",example:"approved",enum:["placed","approved","delivered"]},complete:{type:"boolean"}},xml:{name:"order"}},Customer:{type:"object",properties:{id:{type:"integer",format:"int64",example:1e5},username:{type:"string",example:"fehguy"},address:{type:"array",xml:{name:"addresses",wrapped:!0},items:{$ref:"#/components/schemas/Address"}}},xml:{name:"customer"}},Address:{type:"object",properties:{street:{type:"string",example:"437 Lytton"},city:{type:"string",example:"Palo Alto"},state:{type:"string",example:"CA"},zip:{type:"string",example:"94301"}},xml:{name:"address"}},Category:{type:"object",properties:{id:{type:"integer",format:"int64",example:1},name:{type:"string",example:"Dogs"}},xml:{name:"category"}},User:{type:"object",properties:{id:{type:"integer",format:"int64",example:10},username:{type:"string",example:"theUser"},firstName:{type:"string",example:"John"},lastName:{type:"string",example:"James"},email:{type:"string",example:"john@email.com"},password:{type:"string",example:"12345"},phone:{type:"string",example:"12345"},userStatus:{type:"integer",description:"User Status",format:"int32",example:1}},xml:{name:"user"}},Tag:{type:"object",properties:{id:{type:"integer",format:"int64"},name:{type:"string"}},xml:{name:"tag"}},Pet:{required:["name","photoUrls"],type:"object",properties:{id:{type:"integer",format:"int64",example:10},name:{type:"string",example:"doggie"},category:{$ref:"#/components/schemas/Category"},photoUrls:{type:"array",xml:{wrapped:!0},items:{type:"string",xml:{name:"photoUrl"}}},tags:{type:"array",xml:{wrapped:!0},items:{$ref:"#/components/schemas/Tag"}},status:{type:"string",description:"pet status in the store",enum:["available","pending","sold"]}},xml:{name:"pet"}},ApiResponse:{type:"object",properties:{code:{type:"integer",format:"int32"},type:{type:"string"},message:{type:"string"}},xml:{name:"##default"}}},requestBodies:{Pet:{description:"Pet object that needs to be added to the store",content:{"application/json":{schema:{$ref:"#/components/schemas/Pet"}},"application/xml":{schema:{$ref:"#/components/schemas/Pet"}}}},UserArray:{description:"List of user object",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/User"}}}}}},securitySchemes:{petstore_auth:{type:"oauth2",flows:{implicit:{authorizationUrl:"https://petstore3.swagger.io/oauth/authorize",scopes:{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},api_key:{type:"apiKey",name:"api_key",in:"header"}}}},zpe=e=>(kr("data-v-59c453de"),e=e(),$r(),e),Wpe={class:"start custom-scroll"},Bpe={class:"start-copy"},Ype=sa('<div class="start-logo" data-v-59c453de><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-59c453de></path></svg></div><h1 class="start-h1" data-v-59c453de>Swagger Editor</h1><p class="start-p" data-v-59c453de> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>',3),Hpe={class:"start-cta"},Gpe={class:"start-row"},Kpe={class:"start-section"},Jpe=zpe((()=>ea("div",{class:"start-h2"},"EXAMPLES",-1))),efe=zpe((()=>ea("svg",{baseProfile:"tiny",fill:"currentColor",height:"800",overflow:"inherit",version:"1.2",viewBox:"0 0 50 50",width:"800",xmlns:"http://www.w3.org/2000/svg"},[ea("path",{d:"M25 21.5a6 6 0 0 1 5.8 4.4c.9 3.3.7 6.8 4.4 8.6 3.3 1.1 4.5 2.5 4.5 6.3a7 7 0 0 1-5.8 6.5c-3.7.6-6.6-.1-8.9-1.5-2.3 1.4-5.2 2-8.9 1.5a7 7 0 0 1-5.8-6.5c0-3.7 1.3-5.2 4.6-6.3 4-2 3.4-5.6 4.3-8.7a6 6 0 0 1 5.8-4.3zm18.4-2.3c-1-.8-5 2.6-6.4 4.2-.7 1-1.2 2.1-1.2 3.5 0 2.7 2 4.9 4.3 4.9 1.8 0 3.4-1.3 4-3 1.3-3.3 1.3-7.7-.7-9.6zm-36.8 0c-2 1.9-2 6.3-.7 9.5.6 1.8 2.2 3 4 3 2.4 0 4.3-2.1 4.3-4.8 0-1.4-.5-2.6-1.2-3.5-1.3-1.6-5.4-5-6.4-4.2zM30.3 1.5c10.1 1.8 9.4 18.7 1.3 17.4-2.3-.4-4-2.5-4.3-5-.3-2.7-.9-13 3-12.4zm-10.6 0c3.9-.6 3.3 9.7 3 12.3-.3 2.6-2 4.7-4.3 5-8.1 1.4-8.8-15.5 1.3-17.3z"})],-1))),tfe=zpe((()=>ea("svg",{height:"586",viewBox:"0 0 577.5 586",width:"577.5",xmlns:"http://www.w3.org/2000/svg"},[ea("path",{d:"M502 350.2a31 31 0 0 1-31.5 2.1c-11.6-6.6-17.9-22-17.9-42.9v-64.3c0-30.9-12.2-52.8-32.7-58.8-34.5-10.1-60.3 32.2-70.2 48.1l-61.1 98.9V212.6c-.7-27.8-9.7-44.5-26.9-49.5-11.3-3.3-28.3-2-44.8 23.2L80.3 405.6A240 240 0 0 1 52.8 293c0-132.2 105.6-239.7 235.8-239.7 130.2 0 236.1 107.5 236.1 239.7v1.4c1.3 25.5-7 45.9-22.7 55.8Zm75.5-57.2v-1.3C576.4 130.7 447.2 0 288.6 0 130 0 0 131.4 0 293s129.4 293 288.6 293c73 0 143.2-28 196.2-78.2a26.9 26.9 0 0 0 1.4-37.7 26 26 0 0 0-36.6-1.8l-.1.1a233.4 233.4 0 0 1-336.3-15.7L236.1 255v91.2c0 43.8 17 58 31.2 62.2 14.2 4.2 36.1 1.3 58.9-35.8l68-110c2.1-3.5 4.1-6.6 6-9.2v55.9c0 41 16.4 73.7 45.3 89.9a83 83 0 0 0 84.6-3.4c31.7-20.6 49-57.9 47.2-102.8h.2Z",fill:"currentColor","fill-rule":"nonzero"})],-1))),nfe=sa('<div class="start-section" data-v-59c453de><div class="start-h2" data-v-59c453de>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-59c453de><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-59c453de></path></svg><span data-v-59c453de>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-59c453de><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g data-v-59c453de><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-59c453de></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-59c453de></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-59c453de></path></g></svg><span data-v-59c453de>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-59c453de><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g fill="currentColor" fill-rule="nonzero" data-v-59c453de><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-59c453de></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-59c453de></polygon></g></svg><span data-v-59c453de>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-59c453de><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-59c453de><g fill="none" fill-rule="evenodd" data-v-59c453de><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-59c453de></circle><g stroke="currentColor" data-v-59c453de><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-59c453de></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-59c453de></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-59c453de></ellipse></g></g></svg><span data-v-59c453de>React</span></a></div>',1),rfe={class:"start-section start-section-colors"},ofe=zpe((()=>ea("p",{class:"start-h2"},"THEMING",-1))),ife=["onClick"],afe=sa('<p class="start-h1" data-v-59c453de>Features</p><ul class="start-ul" data-v-59c453de><li data-v-59c453de><p class="start-h3" data-v-59c453de>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Openapi & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-59c453de><p class="start-h3" data-v-59c453de>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>',2),sfe=vl(Gr({__name:"GettingStarted",props:{theme:{},value:{}},emits:["changeTheme","openSwaggerEditor","updateContent"],setup(e,{emit:t}){const n=e,r=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"],o=dn(null);function i(e){return null!==e&&a(e)===n.value}function a(e){return"Petstore"===e?JSON.stringify(Lpe,null,2):"CoinMarketCap"===e?JSON.stringify(Vpe,null,2):""}return Ir(o,(()=>{o.value&&t("updateContent",a(o.value))})),Ir((()=>n.value),(()=>{i(o.value)||(o.value=null)})),(e,t)=>(Zi(),Wi("div",Wpe,[ea("div",Bpe,[Ype,ea("div",Hpe,[ta(mn(ap),{fullWidth:"",onClick:t[0]||(t[0]=e=>o.value="Petstore")},{default:Pr((()=>[aa(" Test Petstore ")])),_:1}),ta(mn(ap),{fullWidth:"",variant:"outlined",onClick:t[1]||(t[1]=t=>e.$emit("openSwaggerEditor","uploadFile"))},{default:Pr((()=>[aa(" Upload File ")])),_:1})])]),ea("div",Gpe,[ea("div",Kpe,[Jpe,ea("div",{class:$e(["start-item",{"start-item-active":i("Petstore")}]),onClick:t[2]||(t[2]=e=>o.value="Petstore")},[efe,aa(" Petstore ")],2),ea("div",{class:$e(["start-item",{"start-item-active":i("CoinMarketCap")}]),onClick:t[3]||(t[3]=e=>o.value="CoinMarketCap")},[tfe,aa(" CoinMarketCap ")],2)]),nfe,ea("div",rfe,[ofe,(Zi(),Wi(qi,null,xo(r,(t=>ea("div",{key:t,class:$e(["start-item",{"start-item-active":t===e.theme}]),onClick:n=>e.$emit("changeTheme",t)},Re(t.toLocaleLowerCase()),11,ife))),64))])]),afe]))}}),[["__scopeId","data-v-59c453de"]]),lfe={class:"references-header"},cfe={class:"references-navigation t-doc__sidebar"},ufe={class:"references-navigation-list"},dfe={class:"references-editor"},pfe={class:"references-editor-textarea"},ffe={class:"references-rendered"},hfe={key:0,class:"references-footer"},mfe=vl(Gr({__name:"ApiReferenceLayout",props:{configuration:{},parsedSpec:{},rawSpec:{},swaggerEditorRef:{}},emits:["changeTheme","updateContent","toggleDarkMode"],setup(e){const t=e,n=Md("(min-width: 1150px)"),r=dn(0),o=dn(null);Xd(o,(e=>{r.value=e[0].contentRect.height}));const i=dn(!1),{breadcrumb:a,setCollapsedSidebarItem:s}=z7(),{hash:l,getSectionId:c}=_Z();Ir(t.parsedSpec,(async e=>{var t,n;if(i.value||!(null==(t=null==e?void 0:e.info)?void 0:t.title))return;i.value=!0;const r=c(),o=l.value;l.value||null==(n=document.querySelector("#tippy"))||n.scrollTo({top:0,left:0}),r&&s(r,!0),setTimeout((()=>{var e;null==(e=document.getElementById(o))||e.scrollIntoView()}),0)}));const u=Ua((()=>n.value||!t.configuration.isEditable)),d=Ua((()=>{var e,n;return!(null==(e=t.configuration.spec)?void 0:e.preparsedContent)&&(null==(n=t.configuration)?void 0:n.isEditable)})),p=Dd((e=>{(e.target.scrollTop??0)<50&&(window.history.replaceState({},"",window.location.pathname+window.location.search),l.value="")})),f=Ua((()=>({breadcrumb:a.value,spec:t.parsedSpec})));return(e,t)=>{var n,i;return Zi(),Wi("div",{ref_key:"documentEl",ref:o,class:$e(["scalar-api-reference references-layout",[{"references-editable":d.value,"references-sidebar":e.configuration.showSidebar,"references-classic":"classic"===e.configuration.layout}]]),style:ve({"--full-height":`${r.value}px`}),onScrollPassive:t[2]||(t[2]=(...e)=>mn(p)&&mn(p)(...e))},[ea("div",lfe,[$o(e.$slots,"header",Pe(ra(f.value)),void 0,!0)]),Vr(ea("aside",cfe,[ea("div",ufe,[ta(Pee,{parsedSpec:e.parsedSpec},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",Pe(ra(f.value)),void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",Pe(ra(f.value)),void 0,!0)])),_:3},8,["parsedSpec"])])],512),[[Ys,e.configuration.showSidebar]]),Vr(ea("div",dfe,[ea("div",pfe,[$o(e.$slots,"editor",Pe(ra(f.value)),void 0,!0)])],512),[[Ys,d.value]]),u.value?(Zi(),Wi(qi,{key:0},[ea("div",ffe,[ta(mn(Zpe),{layout:"classic"===e.configuration.layout?"accordion":"default",parsedSpec:e.parsedSpec,rawSpec:e.rawSpec},ko({start:Pr((()=>[$o(e.$slots,"content-start",Pe(ra(f.value)),void 0,!0)])),end:Pr((()=>[$o(e.$slots,"content-end",Pe(ra(f.value)),void 0,!0)])),_:2},[(null==(n=e.configuration)?void 0:n.isEditable)?{name:"empty-state",fn:Pr((()=>{var n,r;return[ta(sfe,{theme:(null==(n=e.configuration)?void 0:n.theme)||"default",value:e.rawSpec,onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),onOpenSwaggerEditor:null==(r=e.swaggerEditorRef)?void 0:r.handleOpenSwaggerEditor,onUpdateContent:t[1]||(t[1]=t=>e.$emit("updateContent",t))},null,8,["theme","value","onOpenSwaggerEditor"])]})),key:"0"}:void 0]),1032,["layout","parsedSpec","rawSpec"])]),e.$slots.footer?(Zi(),Wi("div",hfe,[$o(e.$slots,"footer",Pe(ra(f.value)),void 0,!0)])):la("",!0)],64)):la("",!0),ta(Ree,{parsedSpec:e.parsedSpec,proxyUrl:null==(i=e.configuration)?void 0:i.proxy},{"sidebar-start":Pr((()=>[$o(e.$slots,"sidebar-start",Pe(ra(f.value)),void 0,!0)])),"sidebar-end":Pr((()=>[$o(e.$slots,"sidebar-end",Pe(ra(f.value)),void 0,!0)])),_:3},8,["parsedSpec","proxyUrl"])],38)}}}),[["__scopeId","data-v-0f9f7f81"]]),gfe=Gr({inheritAttrs:!1,__name:"ApiReferenceBase",props:{configuration:{}},emits:["changeTheme","updateContent"],setup(e,{emit:t}){const n=e,r=Ro().slots,o=Jr((()=>Promise.resolve().then((()=>cT)).then((e=>e.SwaggerEditor)))),i=Ua((()=>CT(n.configuration??{},{...lee}))),a=Ua((()=>i.value.spec)),{rawSpecRef:s,setRawSpecRef:l}=function({configuration:e,proxy:t}){function n(e){e!==aee.value&&(aee.value=e)}return void 0!==e&&(un(e)?Ir(e,(async()=>{void 0!==e.value&&see(e.value,t).then((e=>{void 0!==e&&n(e)}))}),{immediate:!0,deep:!0}):see(e,t).then((e=>{void 0!==e&&n(e)}))),{rawSpecRef:aee,setRawSpecRef:n}}({configuration:a,proxy:i.value.proxy}),{parsedSpecRef:c,overwriteParsedSpecRef:u,errorRef:d}=A7({input:s});Ir(s,(()=>{t("updateContent",s.value)})),Ir((()=>{var e;return null==(e=i.value.spec)?void 0:e.preparsedContent}),(e=>{e&&u(e)}),{immediate:!0});const{setDarkMode:p}=gZ();Ir((()=>i.value.darkMode),(e=>{void 0!==e&&p(e)}),{immediate:!0});const{setExcludedClients:f}=iee();Ir((()=>i.value.hiddenClients),(e=>{void 0!==e&&f(e)}),{immediate:!0});const h=dn(0);Xd(dn(null),(e=>{h.value=e[0].contentRect.height}));const m=dn(),g=pT();function O(){g.show()}const y=Md("(max-width: 1000px)");return(e,t)=>{var n;return Zi(),Wi(qi,null,[i.value.customCss?(Zi(),Bi(wo("style"),{key:0},{default:Pr((()=>[aa(Re(i.value.customCss),1)])),_:1})):la("",!0),ta(mn(Ol),{id:null==(n=i.value)?void 0:n.theme},null,8,["id"]),ta(mn(QT)),ta(mn(dT),{state:mn(g),title:"",variant:"history"},{default:Pr((()=>{var n;return[ta(sfe,{theme:(null==(n=e.configuration)?void 0:n.theme)||"default",value:mn(s),onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),onOpenSwaggerEditor:t[1]||(t[1]=e=>mn(g).hide()),onUpdateContent:t[2]||(t[2]=e=>{return t=()=>mn(l)(e),g.hide(),void t();var t})},null,8,["theme","value"])]})),_:1},8,["state"]),ta(mn(wl),null,{default:Pr((({styles:n})=>[ta(mfe,pa(e.$attrs,{class:n,configuration:i.value,parsedSpec:mn(c),rawSpec:mn(s),swaggerEditorRef:m.value,onChangeTheme:t[5]||(t[5]=t=>e.$emit("changeTheme",t)),onUpdateContent:t[6]||(t[6]=e=>mn(l)(e))}),ko({_:2},[xo(mn(r),((t,n)=>({name:n,fn:Pr((t=>[$o(e.$slots,n,Pe(ra(t)))]))}))),mn(o)?{name:"editor",fn:Pr((()=>[ta(mn(o),{ref_key:"swaggerEditorRef",ref:m,error:mn(d),proxyUrl:i.value.proxy,theme:i.value.theme,value:mn(s),onChangeTheme:t[3]||(t[3]=t=>e.$emit("changeTheme",t)),onContentUpdate:t[4]||(t[4]=e=>mn(l)(e))},{"tab-items":Pr((()=>[mn(y)?(Zi(),Bi(mn(Pp),{key:0,onClick:O},{default:Pr((()=>[aa(" Getting Started ")])),_:1})):la("",!0)])),"editor-input":Pr((t=>[$o(e.$slots,"editor-input",Pe(ra(t)))])),_:3},8,["error","proxyUrl","theme","value"])])),key:"0"}:void 0]),1040,["class","configuration","parsedSpec","rawSpec","swaggerEditorRef"])])),_:3})],64)}}}),Ofe=vl(Gr({__name:"DarkModeIconToggle",setup(e){const{toggleDarkMode:t,isDark:n}=gZ();return(e,r)=>(Zi(),Wi("button",{class:"darklight",type:"button",onClick:r[0]||(r[0]=(...e)=>mn(t)&&mn(t)(...e))},[ta(mn(up),{icon:mn(n)?"DarkMode":"LightMode"},null,8,["icon"]),ta(Aue,null,{default:Pr((()=>[aa(" Switch to "+Re(mn(n)?"Light":"Dark")+" Mode ",1)])),_:1})]))}}),[["__scopeId","data-v-9fb3c722"]]),yfe={class:"references-classic-header-container"},bfe={class:"references-classic-header"},vfe=vl(Gr({__name:"ClassicHeader",setup:e=>(e,t)=>(Zi(),Wi("div",yfe,[ea("div",bfe,[$o(e.$slots,"default",{},void 0,!0),ta(Ofe,{class:"t-doc__sidebar"})])]))}),[["__scopeId","data-v-21df7850"]]);function wfe(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Sfe(e){return Array.isArray?Array.isArray(e):"[object Array]"===Cfe(e)}const xfe=1/0;function kfe(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-xfe?"-0":t}(e)}function $fe(e){return"string"==typeof e}function Pfe(e){return"number"==typeof e}function _fe(e){return!0===e||!1===e||function(e){return Tfe(e)&&null!==e}(e)&&"[object Boolean]"==Cfe(e)}function Tfe(e){return"object"==typeof e}function Efe(e){return null!=e}function Qfe(e){return!e.trim().length}function Cfe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Afe=e=>`Missing ${e} property in key`,Rfe=e=>`Property 'weight' in key '${e}' must be a positive integer`,Dfe=Object.prototype.hasOwnProperty;class Nfe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=jfe(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function jfe(e){let t=null,n=null,r=null,o=1,i=null;if($fe(e)||Sfe(e))r=e,t=qfe(e),n=Ife(e);else{if(!Dfe.call(e,"name"))throw new Error(Afe("name"));const a=e.name;if(r=a,Dfe.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Rfe(a));t=qfe(a),n=Ife(a),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}function qfe(e){return Sfe(e)?e:e.split(".")}function Ife(e){return Sfe(e)?e.join("."):e}const Ufe={useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const o=(e,t,i)=>{if(Efe(e))if(t[i]){const a=e[t[i]];if(!Efe(a))return;if(i===t.length-1&&($fe(a)||Pfe(a)||_fe(a)))n.push(kfe(a));else if(Sfe(a)){r=!0;for(let e=0,n=a.length;e<n;e+=1)o(a[e],t,i+1)}else t.length&&o(a,t,i+1)}else n.push(e)};return o(e,$fe(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Mfe={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Ufe};const Xfe=/[^ ]+/g;class Ffe{constructor({getFn:e=Mfe.getFn,fieldNormWeight:t=Mfe.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const o=t.match(Xfe).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,$fe(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();$fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Efe(e)||Qfe(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Efe(o))if(Sfe(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Efe(r))if($fe(r)&&!Qfe(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Sfe(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if($fe(o)&&!Qfe(o)){let e={v:o,n:this.norm.get(o)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Zfe(e,t,{getFn:n=Mfe.getFn,fieldNormWeight:r=Mfe.fieldNormWeight}={}){const o=new Ffe({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(jfe)),o.setSources(t),o.create(),o}function Vfe(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Mfe.distance,ignoreLocation:i=Mfe.ignoreLocation}={}){const a=t/e.length;if(i)return a;const s=Math.abs(r-n);return o?a+s/o:s?1:a}const Lfe=32;function zfe(e,t,n,{location:r=Mfe.location,distance:o=Mfe.distance,threshold:i=Mfe.threshold,findAllMatches:a=Mfe.findAllMatches,minMatchCharLength:s=Mfe.minMatchCharLength,includeMatches:l=Mfe.includeMatches,ignoreLocation:c=Mfe.ignoreLocation}={}){if(t.length>Lfe)throw new Error(`Pattern length exceeds max of ${Lfe}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let f=i,h=p;const m=s>1||l,g=m?Array(d):[];let O;for(;(O=e.indexOf(t,h))>-1;){let e=Vfe(t,{currentLocation:O,expectedLocation:p,distance:o,ignoreLocation:c});if(f=Math.min(e,f),h=O+u,m){let e=0;for(;e<u;)g[O+e]=1,e+=1}}h=-1;let y=[],b=1,v=u+d;const w=1<<u-1;for(let x=0;x<u;x+=1){let r=0,i=v;for(;r<i;){Vfe(t,{errors:x,currentLocation:p+i,expectedLocation:p,distance:o,ignoreLocation:c})<=f?r=i:v=i,i=Math.floor((v-r)/2+r)}v=i;let s=Math.max(1,p-i+1),l=a?d:Math.min(p+i,d)+u,O=Array(l+2);O[l+1]=(1<<x)-1;for(let a=l;a>=s;a-=1){let r=a-1,i=n[e.charAt(r)];if(m&&(g[r]=+!!i),O[a]=(O[a+1]<<1|1)&i,x&&(O[a]|=(y[a+1]|y[a])<<1|1|y[a+1]),O[a]&w&&(b=Vfe(t,{errors:x,currentLocation:r,expectedLocation:p,distance:o,ignoreLocation:c}),b<=f)){if(f=b,h=r,h<=p)break;s=Math.max(1,2*p-h)}}if(Vfe(t,{errors:x+1,currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:c})>f)break;y=O}const S={isMatch:h>=0,score:Math.max(.001,b)};if(m){const e=function(e=[],t=Mfe.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=e.length;i<a;i+=1){let a=e[i];a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(g,s);e.length?l&&(S.indices=e):S.isMatch=!1}return S}function Wfe(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Bfe{constructor(e,{location:t=Mfe.location,threshold:n=Mfe.threshold,distance:r=Mfe.distance,includeMatches:o=Mfe.includeMatches,findAllMatches:i=Mfe.findAllMatches,minMatchCharLength:a=Mfe.minMatchCharLength,isCaseSensitive:s=Mfe.isCaseSensitive,ignoreLocation:l=Mfe.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:Wfe(e),startIndex:t})},u=this.pattern.length;if(u>Lfe){let e=0;const t=u%Lfe,n=u-t;for(;e<n;)c(this.pattern.substr(e,Lfe),e),e+=Lfe;if(t){const e=u-Lfe;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,ignoreLocation:l}=this.options;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:f})=>{const{isMatch:h,score:m,indices:g}=zfe(e,t,p,{location:r+f,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:l});h&&(d=!0),u+=m,h&&g&&(c=[...c,...g])}));let p={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class Yfe{constructor(e){this.pattern=e}static isMultiMatch(e){return Hfe(e,this.multiRegex)}static isSingleMatch(e){return Hfe(e,this.singleRegex)}search(){}}function Hfe(e,t){const n=e.match(t);return n?n[1]:null}class Gfe extends Yfe{constructor(e,{location:t=Mfe.location,threshold:n=Mfe.threshold,distance:r=Mfe.distance,includeMatches:o=Mfe.includeMatches,findAllMatches:i=Mfe.findAllMatches,minMatchCharLength:a=Mfe.minMatchCharLength,isCaseSensitive:s=Mfe.isCaseSensitive,ignoreLocation:l=Mfe.ignoreLocation}={}){super(e),this._bitapSearch=new Bfe(e,{location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Kfe extends Yfe{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const Jfe=[class extends Yfe{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Kfe,class extends Yfe{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Yfe{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Gfe],ehe=Jfe.length,the=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const nhe=new Set([Gfe.type,Kfe.type]);class rhe{constructor(e,{isCaseSensitive:t=Mfe.isCaseSensitive,includeMatches:n=Mfe.includeMatches,minMatchCharLength:r=Mfe.minMatchCharLength,ignoreLocation:o=Mfe.ignoreLocation,findAllMatches:i=Mfe.findAllMatches,location:a=Mfe.location,threshold:s=Mfe.threshold,distance:l=Mfe.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:s,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(the).filter((e=>e&&!!e.trim())),r=[];for(let o=0,i=n.length;o<i;o+=1){const e=n[o];let i=!1,a=-1;for(;!i&&++a<ehe;){const n=Jfe[a];let o=n.isMultiMatch(e);o&&(r.push(new n(o,t)),i=!0)}if(!i)for(a=-1;++a<ehe;){const n=Jfe[a];let o=n.isSingleMatch(e);if(o){r.push(new n(o,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,i=[],a=0;for(let s=0,l=t.length;s<l;s+=1){const r=t[s];i.length=0,o=0;for(let t=0,s=r.length;t<s;t+=1){const s=r[t],{isMatch:l,indices:c,score:u}=s.search(e);if(!l){a=0,o=0,i.length=0;break}if(o+=1,a+=u,n){const e=s.constructor.type;nhe.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const ohe=[];function ihe(e,t){for(let n=0,r=ohe.length;n<r;n+=1){let r=ohe[n];if(r.condition(e,t))return new r(e,t)}return new Bfe(e,t)}const ahe="$and",she="$or",lhe="$path",che="$val",uhe=e=>!(!e[ahe]&&!e[she]),dhe=e=>({[ahe]:Object.keys(e).map((t=>({[t]:e[t]})))});function phe(e,t,{auto:n=!0}={}){const r=e=>{let o=Object.keys(e);const i=(e=>!!e[lhe])(e);if(!i&&o.length>1&&!uhe(e))return r(dhe(e));if((e=>!Sfe(e)&&Tfe(e)&&!uhe(e))(e)){const r=i?e[lhe]:o[0],a=i?e[che]:e[r];if(!$fe(a))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:Ife(r),pattern:a};return n&&(s.searcher=ihe(a,t)),s}let a={children:[],operator:o[0]};return o.forEach((t=>{const n=e[t];Sfe(n)&&n.forEach((e=>{a.children.push(r(e))}))})),a};return uhe(e)||(e=dhe(e)),r(e)}function fhe(e,t){const n=e.matches;t.matches=[],Efe(n)&&n.forEach((e=>{if(!Efe(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={indices:n,value:r};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function hhe(e,t){t.score=e.score}class mhe{constructor(e,t={},n){this.options={...Mfe,...t},this.options.useExtendedSearch,this._keyStore=new Nfe(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ffe))throw new Error("Incorrect 'index' type");this._myIndex=t||Zfe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Efe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let s=$fe(e)?$fe(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Mfe.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(s,{ignoreFieldNorm:a}),o&&s.sort(i),Pfe(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:n=Mfe.includeMatches,includeScore:r=Mfe.includeScore}={}){const o=[];return n&&o.push(fhe),r&&o.push(hhe),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=ihe(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:o})=>{if(!Efe(e))return;const{isMatch:i,score:a,indices:s}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:a,value:e,norm:o,indices:s}]})})),r}_searchLogical(e){const t=phe(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[];for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],s=n(a,t,r);if(s.length)o.push(...s);else if(e.operator===ahe)return[]}return o},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(Efe(e)){let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}_searchObjectList(e){const t=ihe(e,this.options),{keys:n,records:r}=this._myIndex,o=[];return r.forEach((({$:e,i:r})=>{if(!Efe(e))return;let i=[];n.forEach(((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),i.length&&o.push({idx:r,item:e,matches:i})})),o}_findMatches({key:e,value:t,searcher:n}){if(!Efe(t))return[];let r=[];if(Sfe(t))t.forEach((({v:t,i:o,n:i})=>{if(!Efe(t))return;const{isMatch:a,score:s,indices:l}=n.searchIn(t);a&&r.push({score:s,key:e,value:t,idx:o,norm:i,indices:l})}));else{const{v:o,n:i}=t,{isMatch:a,score:s,indices:l}=n.searchIn(o);a&&r.push({score:s,key:e,value:o,norm:i,indices:l})}return r}}function ghe(e){var t,n,r;try{const o=null==(r=null==(n=null==(t=null==e?void 0:e.information)?void 0:t.requestBody)?void 0:n.content)?void 0:r["application/json"];if(!o)throw new Error("Body not found");return function(e){var t;const n=["Body"],r=null==(t=null==e?void 0:e.schema)?void 0:t.properties;return r&&Object.keys(r).forEach((t=>{if(!e.schema)return;n.push(function(e,t){let n=e;return n+=t.required&&t.required.includes(e)?" REQUIRED ":" optional ",t.properties[e]&&(n+=t.properties[e].type,t.properties[e].description&&(n+=" "+t.properties[e].description)),n}(t,e.schema));const o=r[t];"object"===o.type&&o.properties&&o.properties&&Object.keys(o.properties).forEach((e=>{var t,r;n.push(`${e} ${null==(r=null==(t=o.properties)?void 0:t[e])?void 0:r.type}`)}))})),n}(o)}catch(o){return!1}}mhe.version="6.6.2",mhe.createIndex=Zfe,mhe.parseIndex=function(e,{getFn:t=Mfe.getFn,fieldNormWeight:n=Mfe.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new Ffe({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i},mhe.config=Mfe,mhe.parseQuery=phe,function(...e){ohe.push(...e)}(rhe);const Ohe=e=>(kr("data-v-691236da"),e=e(),$r(),e),yhe={key:0,class:"ref-search-list custom-scroll"},bhe=["id","href","onClick","onFocus"],vhe={key:0,class:"item-entry-title"},whe={key:1,class:"item-entry-path"},She={key:2,class:"item-entry-description"},xhe=Ohe((()=>ea("div",{class:"ref-search-meta"},[ea("span",null,"↑↓ Navigate"),ea("span",null,"⏎ Select")],-1))),khe=vl(Gr({__name:"SearchModal",props:{parsedSpec:{},modalState:{}},setup(e){const t=e,n=vn(t,"parsedSpec"),r=dn([]),o=dn([]),i=dn(0),a=dn(""),s=dn(null),l=new mhe(r.value,{keys:["title","description","body"]}),c=()=>{i.value=0,o.value=l.search(a.value)},u=Ua((()=>g.value[i.value])),{getHeadingId:d,getWebhookId:p,getModelId:f,getOperationId:h,getTagId:m}=_Z();Ir((()=>t.modalState.open),(e=>{e&&(a.value="",i.value=0,o.value=[])})),Ir(n.value,(async()=>{var e,n,o,i,a,s;if(r.value=[],!(null==(n=null==(e=t.parsedSpec)?void 0:e.tags)?void 0:n.length)&&!(null==(o=t.parsedSpec)?void 0:o.webhooks))return void l.setCollection([]);const c=[],u=await lM((null==(i=t.parsedSpec.info)?void 0:i.description)??"");u.length&&(u.forEach((e=>{c.push({type:"heading",title:`Info > ${e.value}`,description:"",href:`#${d(e)}`,tag:e.slug,body:""})})),r.value=r.value.concat(c)),null==(a=t.parsedSpec.tags)||a.forEach((e=>{const t={title:e.name,href:`#${m(e)}`,description:e.description,type:"req",tag:e.name,body:""};r.value.push(t),e.operations&&e.operations.forEach((t=>{const{parameterMap:n}=OZ({operation:t}),o=ghe(t)||n.value;let i=null;"boolean"!=typeof o&&(i=o);const a={type:"req",title:t.name??t.path,href:`#${h(t,e)}`,operationId:t.operationId,description:t.description??"",httpVerb:t.httpVerb,path:t.path,tag:e.name,operation:t};i&&(a.body=i),r.value.push(a)}))}));const g=t.parsedSpec.webhooks,O=[];g&&Object.keys(g).forEach((e=>{Object.keys(g[e]).forEach((t=>{var n;O.push({type:"webhook",title:`Webhook: ${null==(n=g[e][t])?void 0:n.name}`,href:`#${p(e,t)}`,description:e,httpVerb:t,tag:e,body:""})})),r.value=r.value.concat(O)}));const y=null==(s=t.parsedSpec.components)?void 0:s.schemas,b=[];y&&(Object.keys(y).forEach((e=>{b.push({type:"model",title:"Model",href:`#${f(e)}`,description:y[e].title??e,tag:e,body:""})})),r.value=r.value.concat(b)),l.setCollection(r.value)}),{immediate:!0}),DT({element:s,keyList:["enter"],active:()=>t.modalState.open,handler:()=>{window&&(b(u.value),window.location.hash=u.value.item.href,t.modalState.hide())}}),DT({element:s,keyList:["ArrowDown"],active:()=>t.modalState.open,handler:()=>{var e;i.value<g.value.length-1?i.value++:i.value=0,null==(e=document.getElementById(u.value.item.href))||e.scrollIntoView({behavior:"smooth",block:"center"})}}),DT({element:s,keyList:["ArrowUp"],active:()=>t.modalState.open,handler:()=>{var e;i.value>0?i.value--:i.value=g.value.length-1,null==(e=document.getElementById(u.value.item.href))||e.scrollIntoView({behavior:"smooth",block:"center"})}});const g=Ua((()=>0===a.value.length?r.value.map((e=>({item:e}))):o.value)),O=/#(tag\/[^/]*)/,{setCollapsedSidebarItem:y}=z7(),b=e=>{let n="models";const r=e.item.href.match(O);(null==r?void 0:r.length)&&r.length>1&&(n=r[1]),y(n,!0),t.modalState.hide()};return(e,t)=>(Zi(),Bi(mn(dT),{state:e.modalState,variant:"search"},{default:Pr((()=>[ea("div",{ref_key:"searchModalRef",ref:s,class:"ref-search-container"},[Vr(ea("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"ref-search-input",placeholder:"Search …",type:"text",onInput:c},null,544),[[qs,a.value]])],512),g.value.length?(Zi(),Wi("div",yhe,[(Zi(!0),Wi(qi,null,xo(g.value,((e,t)=>(Zi(),Wi("a",{id:e.item.href,key:e.refIndex,class:$e(["item-entry",{"item-entry--active":t===i.value,"item-entry--tag":!e.item.httpVerb}]),href:e.item.href,onClick:t=>b(e),onFocus:e=>i.value=t},[ea("div",{class:$e(["item-entry-http-verb",`item-entry-http-verb--${e.item.httpVerb}`])},Re(e.item.httpVerb),3),e.item.title?(Zi(),Wi("div",vhe,Re(e.item.title),1)):la("",!0),(e.item.httpVerb||e.item.path)&&e.item.path!==e.item.title?(Zi(),Wi("div",whe,Re(e.item.path),1)):e.item.description?(Zi(),Wi("div",She,Re(e.item.description),1)):la("",!0)],42,bhe)))),128))])):la("",!0),xhe])),_:1},8,["state"]))}}),[["__scopeId","data-v-691236da"]]),$he=e=>(kr("data-v-5df6bbac"),e=e(),$r(),e),Phe={class:"sidebar-search-input"},_he=$he((()=>ea("span",{class:"sidebar-search-placeholder",type:"text"}," Search ",-1))),The={class:"sidebar-search-shortcut"},Ehe={class:"sidebar-search-key"},Qhe=vl(Gr({__name:"SearchButton",props:{spec:{},searchHotKey:{default:"k"}},setup(e){const t=e,n=pT();return DT({keyList:[t.searchHotKey],withCtrlCmd:!0,handler:()=>n.open?n.hide():n.show()}),(e,t)=>(Zi(),Wi(qi,null,[ea("button",{class:$e(["sidebar-search",e.$attrs.class]),type:"button",onClick:t[0]||(t[0]=(...e)=>mn(n).show&&mn(n).show(...e))},[ta(mn(up),{class:"search-icon",icon:"Search"}),ea("div",Phe,[_he,ea("span",The,[ea("span",Ehe,Re(mn(wfe)()?"⌘":"⌃")+Re(e.searchHotKey),1)])])],2),ta(khe,{modalState:mn(n),parsedSpec:e.spec},null,8,["modalState","parsedSpec"])],64))}}),[["__scopeId","data-v-5df6bbac"]]),Che=Gr({__name:"ClassicLayout",props:{configuration:{}},setup(e){const t=e,n=Ua((()=>({...t.configuration,showSidebar:!1})));return(e,t)=>(Zi(),Bi(gfe,{configuration:n.value},{"content-start":Pr((({spec:e})=>[ta(vfe,null,{default:Pr((()=>[ta(Qhe,{class:"t-doc__sidebar",searchHotKey:n.value.searchHotKey,spec:e},null,8,["searchHotKey","spec"])])),_:2},1024)])),"content-end":Pr((()=>[$o(e.$slots,"footer")])),_:3},8,["configuration"]))}}),Ahe=e=>(kr("data-v-ffa0c96a"),e=e(),$r(),e),Rhe={class:"darklight-reference"},Dhe={key:0},Nhe={key:1},jhe=Ahe((()=>ea("a",{class:"darklight-reference-promo",href:"https://www.scalar.com",target:"_blank"}," Powered by scalar.com ",-1))),qhe=vl(Gr({__name:"DarkModeToggle",setup(e){const{toggleDarkMode:t,isDark:n}=gZ();return(e,r)=>(Zi(),Wi("div",Rhe,[ea("button",{class:"darklight",type:"button",onClick:r[0]||(r[0]=(...e)=>mn(t)&&mn(t)(...e))},[ta(mn(up),{icon:"LightDarkModeToggle"}),mn(n)?(Zi(),Wi("span",Dhe,"Light Mode")):(Zi(),Wi("span",Nhe,"Dark Mode"))]),jhe]))}}),[["__scopeId","data-v-ffa0c96a"]]),Ihe={class:"references-mobile-header t-doc__header"},Uhe={class:"references-mobile-breadcrumbs"},Mhe={class:"references-mobile-header-actions"},Xhe=vl(Gr({__name:"MobileHeader",props:{open:{type:Boolean}},emits:["update:open"],setup(e){const{breadcrumb:t}=z7();return(e,n)=>(Zi(),Wi("div",Ihe,[ta(mn(fp),{icon:e.open?"Close":"Menu",label:e.open?"Close Menu":"Open Menu",size:"md",onClick:n[0]||(n[0]=t=>e.$emit("update:open",!e.open))},null,8,["icon","label"]),ea("span",Uhe,Re(mn(t)),1),ea("div",Mhe,[$o(e.$slots,"actions",{},void 0,!0)])]))}}),[["__scopeId","data-v-f34d1ece"]]),Fhe={class:"scalar-api-references-standalone-search"},Zhe=Gr({__name:"ModernLayout",props:{configuration:{}},setup(e){const t=e,n=dn(!1),r=Md("(max-width: 1000px)");Ir(r,((e,t)=>{e&&!t&&(n.value=!1)}));const o=Ua((()=>{var e;const o=r.value?n.value:null==(e=t.configuration)?void 0:e.showSidebar;return{...t.configuration,showSidebar:o}})),{hash:i}=_Z();return Ir(i,((e,t)=>{e&&e!==t&&(n.value=!1)})),(e,i)=>(Zi(),Bi(gfe,{class:$e({"scalar-api-references-standalone-mobile":mn(r)}),configuration:o.value},ko({"sidebar-start":Pr((({spec:e})=>{var n;return[ea("div",Fhe,[ta(Qhe,{searchHotKey:null==(n=t.configuration)?void 0:n.searchHotKey,spec:e},null,8,["searchHotKey","spec"])])]})),"sidebar-end":Pr((()=>[ta(qhe)])),"content-end":Pr((()=>[$o(e.$slots,"footer",{},void 0,!0)])),_:2},[mn(r)?{name:"header",fn:Pr((()=>[ta(Xhe,{open:n.value,"onUpdate:open":i[0]||(i[0]=e=>n.value=e)},null,8,["open"])])),key:"0"}:void 0]),1032,["class","configuration"]))}}),Vhe={modern:vl(Zhe,[["__scopeId","data-v-0bc9e487"]]),classic:Che},Lhe=Gr({__name:"ApiReference",props:{configuration:{}},emits:["updateContent"],setup(e){var t;const n=e,r=dn("");function o(e){var t,o;r.value=e,null==(o=null==(t=n.configuration)?void 0:t.onSpecUpdate)||o.call(t,e)}return(null==(t=n.configuration)?void 0:t.metaData)&&function(e,t){const{title:n,titleTemplate:r,...o}=e;ml({title:n,titleTemplate:r,_flatMeta:o},{...t,transform(e){const t=fl({...e._flatMeta});return delete e._flatMeta,{...e,meta:t}}})}(n.configuration.metaData),(e,t)=>{var n;return Zi(),Bi(wo(mn(Vhe)[(null==(n=e.configuration)?void 0:n.layout)||"modern"]),{configuration:e.configuration,onUpdateContent:o},{footer:Pr((()=>[$o(e.$slots,"footer")])),_:3},40,["configuration"])}}}),zhe=document.querySelector("#api-reference"),Whe=document.querySelector("[data-spec]"),Bhe=document.querySelector("[data-spec-url]"),Yhe=document.querySelector("#api-reference[data-configuration]"),Hhe=()=>{if(Yhe){const e=Yhe.getAttribute("data-configuration");if(e)return JSON.parse(e.split(""").join('"'))}return{}},Ghe=()=>{var e,t,n;if(null==(e=Hhe().spec)?void 0:e.url)return null==(t=Hhe().spec)?void 0:t.url;if(zhe){const e=null==(n=zhe.getAttribute("data-url"))?void 0:n.trim();if(e)return e}if(Bhe){console.warn('[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new <script id="api-reference" data-url="/scalar.json" /> API instead.');const e=Bhe.getAttribute("data-spec-url");if(e)return e}},Khe=()=>{var e,t;if(zhe){const t=null==(e=zhe.innerHTML)?void 0:e.trim();if(t)return JSON.parse(t)}if(Whe){console.warn('[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new <script id="api-reference" type="application/json">{"openapi":"3.1.0","info":{"title":"Example"},"paths":{}}<\/script> API instead.');const e=null==(t=Whe.getAttribute("data-spec"))?void 0:t.trim();if(e)return JSON.parse(e)}},Jhe=()=>{if(zhe){const e=zhe.getAttribute("data-proxy-url");if(e)return e.trim()}};if(Bhe||Whe||zhe){const n=Khe()?{content:Khe()}:{url:Ghe()};null==(e=document.querySelector("body"))||e.classList.add("light-mode");let r=null;zhe?(r=document.createElement("div"),null==(t=null==zhe?void 0:zhe.parentNode)||t.insertBefore(r,zhe)):r=Whe?"[data-spec]":Bhe?"[data-spec-url]":"body",Js(Lhe,{configuration:{...Hhe(),spec:{...n},proxy:Jhe()}}).mount(r)}else console.error('Couldn’t find a [data-spec], [data-spec-url] or <script id="api-reference" /> element. Try adding it like this: %c<div data-spec-url="https://petstore.swagger.io/v2/swagger.json" />',"font-family: monospace;");var eme={},tme={};function nme(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var rme=nme({HTML:"text/html",isHTML:function(e){return e===rme.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),ome=nme({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===ome.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});tme.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},tme.freeze=nme,tme.MIME_TYPE=rme,tme.NAMESPACE=ome;var ime=tme.NAMESPACE;function ame(e){return""!==e}function sme(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function lme(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(ame):[]}(e);return Object.keys(t.reduce(sme,{}))}function cme(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function ume(e,t){var n=e.prototype;if(!(n instanceof t)){let r=function(){};r.prototype=t.prototype,r=new r,cme(n,r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var dme={},pme=dme.ELEMENT_NODE=1,fme=dme.ATTRIBUTE_NODE=2,hme=dme.TEXT_NODE=3,mme=dme.CDATA_SECTION_NODE=4,gme=dme.ENTITY_REFERENCE_NODE=5,Ome=dme.ENTITY_NODE=6,yme=dme.PROCESSING_INSTRUCTION_NODE=7,bme=dme.COMMENT_NODE=8,vme=dme.DOCUMENT_NODE=9,wme=dme.DOCUMENT_TYPE_NODE=10,Sme=dme.DOCUMENT_FRAGMENT_NODE=11,xme=dme.NOTATION_NODE=12,kme={},$me={};kme.INDEX_SIZE_ERR=($me[1]="Index size error",1),kme.DOMSTRING_SIZE_ERR=($me[2]="DOMString size error",2);var Pme=kme.HIERARCHY_REQUEST_ERR=($me[3]="Hierarchy request error",3);kme.WRONG_DOCUMENT_ERR=($me[4]="Wrong document",4),kme.INVALID_CHARACTER_ERR=($me[5]="Invalid character",5),kme.NO_DATA_ALLOWED_ERR=($me[6]="No data allowed",6),kme.NO_MODIFICATION_ALLOWED_ERR=($me[7]="No modification allowed",7);var _me=kme.NOT_FOUND_ERR=($me[8]="Not found",8);kme.NOT_SUPPORTED_ERR=($me[9]="Not supported",9);var Tme=kme.INUSE_ATTRIBUTE_ERR=($me[10]="Attribute in use",10);function Eme(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,$me[e]),this.message=$me[e],Error.captureStackTrace&&Error.captureStackTrace(this,Eme);return n.code=e,t&&(this.message=this.message+": "+t),n}function Qme(){}function Cme(e,t){this._node=e,this._refresh=t,Ame(this)}function Ame(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);mge(e,"length",n.length),cme(n,e),e._inc=t}}function Rme(){}function Dme(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function Nme(e,t,n,r){if(r?t[Dme(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&Fme(o,e,r),function(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===ime.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function jme(e,t,n){var r=Dme(t,n);if(!(r>=0))throw new Eme(_me,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(Fme(i,e,n),n.ownerElement=null)}}function qme(){}function Ime(){}function Ume(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function Mme(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(Mme(e,t))return!0}while(e=e.nextSibling)}function Xme(){}function Fme(e,t,n,r){e&&e._inc++,n.namespaceURI===ime.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function Zme(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i,delete r[r.length]}}}function Vme(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Zme(e.ownerDocument,e),t}function Lme(e){return e&&e.nodeType===Ime.DOCUMENT_TYPE_NODE}function zme(e){return e&&e.nodeType===Ime.ELEMENT_NODE}function Wme(e){return e&&e.nodeType===Ime.TEXT_NODE}function Bme(e,t){var n=e.childNodes||[];if(n.find(zme)||Lme(t))return!1;var r=n.find(Lme);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Yme(e,t,n){if(!function(e){return e&&(e.nodeType===Ime.DOCUMENT_NODE||e.nodeType===Ime.DOCUMENT_FRAGMENT_NODE||e.nodeType===Ime.ELEMENT_NODE)}(e))throw new Eme(Pme,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new Eme(_me,"child not in parent");if(!function(e){return e&&(zme(e)||Wme(e)||Lme(e)||e.nodeType===Ime.DOCUMENT_FRAGMENT_NODE||e.nodeType===Ime.COMMENT_NODE||e.nodeType===Ime.PROCESSING_INSTRUCTION_NODE)}(t)||Lme(t)&&e.nodeType!==Ime.DOCUMENT_NODE)throw new Eme(Pme,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType);var r=e.childNodes||[],o=t.childNodes||[];if(e.nodeType===Ime.DOCUMENT_NODE){if(t.nodeType===Ime.DOCUMENT_FRAGMENT_NODE){let t=o.filter(zme);if(t.length>1||o.find(Wme))throw new Eme(Pme,"More than one element or text in fragment");if(1===t.length&&!Bme(e,n))throw new Eme(Pme,"Element in fragment can not be inserted before doctype")}if(zme(t)&&(r.find(zme)||!Bme(e,n)))throw new Eme(Pme,"Only one element can be added and only after doctype");if(Lme(t)){if(r.find(Lme))throw new Eme(Pme,"Only one doctype is allowed");let e=r.find(zme);if(n&&r.indexOf(e)<r.indexOf(n))throw new Eme(Pme,"Doctype can only be inserted before an element");if(!n&&e)throw new Eme(Pme,"Doctype can not be appended since element is present")}}var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===Sme){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var l=n?n.previousSibling:e.lastChild;a.previousSibling=l,s.nextSibling=n,l?l.nextSibling=a:e.firstChild=a,null==n?e.lastChild=s:n.previousSibling=s;do{a.parentNode=e}while(a!==s&&(a=a.nextSibling));return Zme(e.ownerDocument||e,e),t.nodeType==Sme&&(t.firstChild=t.lastChild=null),t}function Hme(){this._nsMap={}}function Gme(){}function Kme(){}function Jme(){}function ege(){}function tge(){}function nge(){}function rge(){}function oge(){}function ige(){}function age(){}function sge(){}function lge(){}function cge(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return pge(this,n,e,t,a),n.join("")}function uge(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===r&&o===ime.XML||o===ime.XMLNS)return!1;for(var i=n.length;i--;){var a=n[i];if(a.prefix===r)return a.namespace!==o}return!0}function dge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,Ume),'"')}function pge(e,t,n,r,o){if(o||(o=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case pme:var i=e.attributes,a=i.length,s=e.firstChild,l=e.tagName,c=l;if(!(n=ime.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var u,d=0;d<i.length;d++)if("xmlns"===i.item(d).name){u=i.item(d).value;break}if(!u)for(var p=o.length-1;p>=0;p--){if(""===(f=o[p]).prefix&&f.namespace===e.namespaceURI){u=f.namespace;break}}if(u!==e.namespaceURI)for(p=o.length-1;p>=0;p--){var f;if((f=o[p]).namespace===e.namespaceURI){f.prefix&&(c=f.prefix+":"+l);break}}}t.push("<",c);for(var h=0;h<a;h++){"xmlns"==(m=i.item(h)).prefix?o.push({prefix:m.localName,namespace:m.value}):"xmlns"==m.nodeName&&o.push({prefix:"",namespace:m.value})}for(h=0;h<a;h++){var m,g,O;if(uge(m=i.item(h),0,o))dge(t,(g=m.prefix||"")?"xmlns:"+g:"xmlns",O=m.namespaceURI),o.push({prefix:g,namespace:O});pge(m,t,n,r,o)}if(l===c&&uge(e,0,o))dge(t,(g=e.prefix||"")?"xmlns:"+g:"xmlns",O=e.namespaceURI),o.push({prefix:g,namespace:O});if(s||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),n&&/^script$/i.test(l))for(;s;)s.data?t.push(s.data):pge(s,t,n,r,o.slice()),s=s.nextSibling;else for(;s;)pge(s,t,n,r,o.slice()),s=s.nextSibling;t.push("</",c,">")}else t.push("/>");return;case vme:case Sme:for(s=e.firstChild;s;)pge(s,t,n,r,o.slice()),s=s.nextSibling;return;case fme:return dge(t,e.name,e.value);case hme:return t.push(e.data.replace(/[<&>]/g,Ume));case mme:return t.push("<![CDATA[",e.data,"]]>");case bme:return t.push("\x3c!--",e.data,"--\x3e");case wme:var y=e.publicId,b=e.systemId;if(t.push("<!DOCTYPE ",e.name),y)t.push(" PUBLIC ",y),b&&"."!=b&&t.push(" ",b),t.push(">");else if(b&&"."!=b)t.push(" SYSTEM ",b,">");else{var v=e.internalSubset;v&&t.push(" [",v,"]"),t.push(">")}return;case yme:return t.push("<?",e.target," ",e.data,"?>");case gme:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function fge(e,t,n){var r;switch(t.nodeType){case pme:(r=t.cloneNode(!1)).ownerDocument=e;case Sme:break;case fme:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var o=t.firstChild;o;)r.appendChild(fge(e,o,n)),o=o.nextSibling;return r}function hge(e,t,n){var r=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];"object"!=typeof i&&i!=r[o]&&(r[o]=i)}switch(t.childNodes&&(r.childNodes=new Qme),r.ownerDocument=e,r.nodeType){case pme:var a=t.attributes,s=r.attributes=new Rme,l=a.length;s._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(hge(e,a.item(c),!0));break;case fme:n=!0}if(n)for(var u=t.firstChild;u;)r.appendChild(hge(e,u,n)),u=u.nextSibling;return r}function mge(e,t,n){e[t]=n}kme.INVALID_STATE_ERR=($me[11]="Invalid state",11),kme.SYNTAX_ERR=($me[12]="Syntax error",12),kme.INVALID_MODIFICATION_ERR=($me[13]="Invalid modification",13),kme.NAMESPACE_ERR=($me[14]="Invalid namespace",14),kme.INVALID_ACCESS_ERR=($me[15]="Invalid access",15),Eme.prototype=Error.prototype,cme(kme,Eme),Qme.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)pge(this[r],n,e,t);return n.join("")},find:function(e){return Array.prototype.find.call(this,e)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},Cme.prototype.item=function(e){return Ame(this),this[e]},ume(Cme,Qme),Rme.prototype={length:0,item:Qme.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new Eme(Tme);var n=this.getNamedItem(e.nodeName);return Nme(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new Eme(Tme);return t=this.getNamedItemNS(e.namespaceURI,e.localName),Nme(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return jme(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return jme(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},qme.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new Xme;if(r.implementation=this,r.childNodes=new Qme,r.doctype=n||null,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new nge;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},Ime.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Yme(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return Vme(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return hge(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==hme&&e.nodeType==hme?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==fme?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==fme?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},cme(dme,Ime),cme(dme,Ime.prototype),Xme.prototype={nodeName:"#document",nodeType:vme,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==Sme){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return Yme(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===pme&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),Vme(this,e)},importNode:function(e,t){return fge(this,e,t)},getElementById:function(e){var t=null;return Mme(this.documentElement,(function(n){if(n.nodeType==pme&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=lme(e);return new Cme(this,(function(n){var r=[];return t.length>0&&Mme(n.documentElement,(function(o){if(o!==n&&o.nodeType===pme){var i=o.getAttribute("class");if(i){var a=e===i;if(!a){var s=lme(i);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&r.push(o)}}var l})),r}))},createElement:function(e){var t=new Hme;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new Qme,(t.attributes=new Rme)._ownerElement=t,t},createDocumentFragment:function(){var e=new age;return e.ownerDocument=this,e.childNodes=new Qme,e},createTextNode:function(e){var t=new Jme;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ege;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new tge;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new sge;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new Gme;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ige;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Hme,r=t.split(":"),o=n.attributes=new Rme;return n.childNodes=new Qme,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new Gme,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},ume(Xme,Ime),Hme.prototype={nodeType:pme,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===Sme?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Zme(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new Cme(this,(function(t){var n=[];return Mme(t,(function(r){r===t||r.nodeType!=pme||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new Cme(this,(function(n){var r=[];return Mme(n,(function(o){o===n||o.nodeType!==pme||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},Xme.prototype.getElementsByTagName=Hme.prototype.getElementsByTagName,Xme.prototype.getElementsByTagNameNS=Hme.prototype.getElementsByTagNameNS,ume(Hme,Ime),Gme.prototype.nodeType=fme,ume(Gme,Ime),Kme.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error($me[Pme])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},ume(Kme,Ime),Jme.prototype={nodeName:"#text",nodeType:hme,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},ume(Jme,Kme),ege.prototype={nodeName:"#comment",nodeType:bme},ume(ege,Kme),tge.prototype={nodeName:"#cdata-section",nodeType:mme},ume(tge,Kme),nge.prototype.nodeType=wme,ume(nge,Ime),rge.prototype.nodeType=xme,ume(rge,Ime),oge.prototype.nodeType=Ome,ume(oge,Ime),ige.prototype.nodeType=gme,ume(ige,Ime),age.prototype.nodeName="#document-fragment",age.prototype.nodeType=Sme,ume(age,Ime),sge.prototype.nodeType=yme,ume(sge,Ime),lge.prototype.serializeToString=function(e,t,n){return cge.call(e,t,n)},Ime.prototype.toString=cge;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case pme:case Sme:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(Cme.prototype,"length",{get:function(){return Ame(this),this.$$length}}),Object.defineProperty(Ime.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case pme:case Sme:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),mge=function(e,t,n){e["$$"+t]=n}}}catch(Oc){}eme.DocumentType=nge,eme.DOMException=Eme,eme.DOMImplementation=qme,eme.Element=Hme,eme.Node=Ime,eme.NodeList=Qme,eme.XMLSerializer=lge;var gge={},Oge={};!function(e){var t=tme.freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),e.entityMap=e.HTML_ENTITIES}(Oge);var yge={},bge=tme.NAMESPACE,vge=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,wge=new RegExp("[\\-\\.0-9"+vge.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Sge=new RegExp("^"+vge.source+wge.source+"*(?::"+vge.source+wge.source+"*)?$"),xge=0,kge=1,$ge=2,Pge=3,_ge=4,Tge=5,Ege=6,Qge=7;function Cge(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Cge)}function Age(){}function Rge(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function Dge(e,t,n,r,o,i){function a(e,t,r){n.attributeNames.hasOwnProperty(e)&&i.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var s,l=++t,c=xge;;){var u=e.charAt(l);switch(u){case"=":if(c===kge)s=e.slice(t,l),c=Pge;else{if(c!==$ge)throw new Error("attribute equal must after attrName");c=Pge}break;case"'":case'"':if(c===Pge||c===kge){if(c===kge&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),t=l+1,!((l=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");a(s,d=e.slice(t,l),t-1),c=Tge}else{if(c!=_ge)throw new Error('attribute value must after "="');a(s,d=e.slice(t,l),t),i.warning('attribute "'+s+'" missed start quot('+u+")!!"),t=l+1,c=Tge}break;case"/":switch(c){case xge:n.setTagName(e.slice(t,l));case Tge:case Ege:case Qge:c=Qge,n.closed=!0;case _ge:case kge:case $ge:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),c==xge&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case xge:n.setTagName(e.slice(t,l));case Tge:case Ege:case Qge:break;case _ge:case kge:"/"===(d=e.slice(t,l)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case $ge:c===$ge&&(d=s),c==_ge?(i.warning('attribute "'+d+'" missed quot(")!'),a(s,d,t)):(bge.isHTML(r[""])&&d.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),a(d,d,t));break;case Pge:throw new Error("attribute value missed!!")}return l;case"":u=" ";default:if(u<=" ")switch(c){case xge:n.setTagName(e.slice(t,l)),c=Ege;break;case kge:s=e.slice(t,l),c=$ge;break;case _ge:var d=e.slice(t,l);i.warning('attribute "'+d+'" missed quot(")!!'),a(s,d,t);case Tge:c=Ege}else switch(c){case $ge:n.tagName,bge.isHTML(r[""])&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,t),t=l,c=kge;break;case Tge:i.warning('attribute space is required"'+s+'"!!');case Ege:c=kge,t=l;break;case Pge:c=_ge,t=l;break;case Qge:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function Nge(e,t,n){for(var r=e.tagName,o=null,i=e.length;i--;){var a=e[i],s=a.qName,l=a.value;if((p=s.indexOf(":"))>0)var c=a.prefix=s.slice(0,p),u=s.slice(p+1),d="xmlns"===c&&u;else u=s,c=null,d="xmlns"===s&&"";a.localName=u,!1!==d&&(null==o&&(o={},Ige(n,n={})),n[d]=o[d]=l,a.uri=bge.XMLNS,t.startPrefixMapping(d,l))}for(i=e.length;i--;){(c=(a=e[i]).prefix)&&("xml"===c&&(a.uri=bge.XML),"xmlns"!==c&&(a.uri=n[c||""]))}var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),u=e.localName=r.slice(p+1)):(c=null,u=e.localName=r);var f=e.uri=n[c||""];if(t.startElement(f,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(f,u,r),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&t.endPrefixMapping(c)}function jge(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function qge(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function Ige(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function Uge(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}return-1}function Mge(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(o[0].length,n.processingInstruction(o[1],o[2]),r+2):-1}return-1}function Xge(){this.attributeNames={}}Cge.prototype=new Error,Cge.prototype.name=Cge.name,Age.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),Ige(t,t={}),function(e,t,n,r,o){function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?i(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function s(t){if(t>m){var n=e.substring(m,t).replace(/&#?\w+;/g,a);p&&l(m),r.characters(n,0,t-m),m=t}}function l(t,n){for(;t>=u&&(n=d.exec(e));)c=n.index,u=c+n[0].length,p.lineNumber++;p.columnNumber=t-c+1}var c=0,u=0,d=/.*(?:\r\n?|\n)|.*$/g,p=r.locator,f=[{currentNSMap:t}],h={},m=0;for(;;){try{var g=e.indexOf("<",m);if(g<0){if(!e.substr(m).match(/^\s*$/)){var O=r.doc,y=O.createTextNode(e.substr(m));O.appendChild(y),r.currentElement=y}return}switch(g>m&&s(g),e.charAt(g+1)){case"/":var b=e.indexOf(">",g+3),v=e.substring(g+2,b).replace(/[ \t\n\r]+$/g,""),w=f.pop();b<0?(v=e.substring(g+2).replace(/[\s<].*/,""),o.error("end tag name: "+v+" is not complete:"+w.tagName),b=g+1+v.length):v.match(/\s</)&&(v=v.replace(/[\s<].*/,""),o.error("end tag name: "+v+" maybe not complete"),b=g+1+v.length);var S=w.localNSMap,x=w.tagName==v;if(x||w.tagName&&w.tagName.toLowerCase()==v.toLowerCase()){if(r.endElement(w.uri,w.localName,v),S)for(var k in S)Object.prototype.hasOwnProperty.call(S,k)&&r.endPrefixMapping(k);x||o.fatalError("end tag name: "+v+" is not match the current start tagName:"+w.tagName)}else f.push(w);b++;break;case"?":p&&l(g),b=Mge(e,g,r);break;case"!":p&&l(g),b=Uge(e,g,r,o);break;default:p&&l(g);var $=new Xge,P=f[f.length-1].currentNSMap,_=(b=Dge(e,g,$,P,a,o),$.length);if(!$.closed&&qge(e,b,$.tagName,h)&&($.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),p&&_){for(var T=Rge(p,{}),E=0;E<_;E++){var Q=$[E];l(Q.offset),Q.locator=Rge(p,{})}r.locator=T,Nge($,r,P)&&f.push($),r.locator=p}else Nge($,r,P)&&f.push($);bge.isHTML($.uri)&&!$.closed?b=jge(e,b,$.tagName,a,r):b++}}catch(Oc){if(Oc instanceof Cge)throw Oc;o.error("element parse error: "+Oc),b=-1}b>m?m=b:s(Math.max(g,m)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},Xge.prototype={setTagName:function(e){if(!Sge.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!Sge.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},yge.XMLReader=Age,yge.ParseError=Cge;var Fge=tme,Zge=Oge,Vge=yge,Lge=eme.DOMImplementation,zge=Fge.NAMESPACE,Wge=Vge.ParseError,Bge=Vge.XMLReader;function Yge(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function Hge(e){this.options=e||{locator:{}}}function Gge(){this.cdata=!1}function Kge(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function Jge(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function eOe(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function tOe(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}Hge.prototype.parseFromString=function(e,t){var n=this.options,r=new Bge,o=n.domBuilder||new Gge,i=n.errorHandler,a=n.locator,s=n.xmlns||{},l=/\/x?html?$/.test(t),c=l?Zge.HTML_ENTITIES:Zge.XML_ENTITIES;a&&o.setDocumentLocator(a),r.errorHandler=function(e,t,n){if(!e){if(t instanceof Gge)return t;e=t}var r={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+Jge(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),r}(i,o,a),r.domBuilder=n.domBuilder||o,l&&(s[""]=zge.HTML),s.xml=s.xml||zge.XML;var u=n.normalizeLineEndings||Yge;return e&&"string"==typeof e?r.parse(u(e),s,c):r.errorHandler.error("invalid doc source"),o.doc},Gge.prototype={startDocument:function(){this.doc=(new Lge).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,i=o.createElementNS(e,n||t),a=r.length;tOe(this,i),this.currentElement=i,this.locator&&Kge(this.locator,i);for(var s=0;s<a;s++){e=r.getURI(s);var l=r.getValue(s),c=(n=r.getQName(s),o.createAttributeNS(e,n));this.locator&&Kge(r.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&Kge(this.locator,n),tOe(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=eOe.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&Kge(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=eOe.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&Kge(this.locator,r),tOe(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&Kge(this.locator,o),tOe(this,o),this.doc.doctype=o}},warning:function(e){console.warn("[xmldom warning]\t"+e,Jge(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,Jge(this.locator))},fatalError:function(e){throw new Wge(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){Gge.prototype[e]=function(){return null}})),gge.__DOMHandler=Gge,gge.normalizeLineEndings=Yge,gge.DOMParser=Hge;var nOe=gge.DOMParser;const rOe=Object.freeze(Object.defineProperty({__proto__:null,DOMParser:nOe},Symbol.toStringTag,{value:"Module"}))}));
|