@redocly/openapi-docs 3.0.0-alpha.82 → 3.0.0-alpha.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/console.redocly-openapi-docs.min.js +3 -3
- package/dist/oauth2-redirect.js +1 -1
- package/dist/redocly-openapi-docs.min.js +693 -610
- package/lib/components/Fields/DescriptionEnums.js +1 -1
- package/lib/components/OperationItem/OperationItem.js +3 -1
- package/lib/models/security.js +1 -1
- package/lib/services/labels/LabelsService.js +1 -1
- package/lib/services/labels/types.d.ts +1 -0
- package/lib/utils/openapi.js +1 -1
- package/lib-esm/components/Fields/DescriptionEnums.js +1 -1
- package/lib-esm/components/OperationItem/OperationItem.js +3 -1
- package/lib-esm/models/security.js +1 -1
- package/lib-esm/services/labels/LabelsService.js +1 -1
- package/lib-esm/services/labels/types.d.ts +1 -0
- package/lib-esm/utils/openapi.js +1 -1
- package/package.json +10 -10
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Redocly OpenAPI Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "3.0.0-alpha.
|
|
5
|
+
* Version: "3.0.0-alpha.84"
|
|
6
6
|
*/(this.webpackChunkRedoclyOpenAPIDocs=this.webpackChunkRedoclyOpenAPIDocs||[]).push([[290],{26179:(v,C)=>{"use strict";/*!
|
|
7
7
|
* cookie
|
|
8
8
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
`+r.slice(i,s),i=s+1),o=a;return l+=`
|
|
45
45
|
`,r.length-i>e&&o>i?l+=r.slice(i,o)+`
|
|
46
46
|
`+r.slice(o+1):l+=r.slice(i),l.slice(1)}function G1(r){for(var e="",t=0,n,i=0;i<r.length;t>=65536?i+=2:i++)t=Fs(r,i),n=Gt[t],!n&&Bs(t)?(e+=r[i],t>=65536&&(e+=r[i+1])):e+=n||B1(t);return e}function K1(r,e,t){var n="",i=r.tag,s,o,a;for(s=0,o=t.length;s<o;s+=1)a=t[s],r.replacer&&(a=r.replacer.call(t,String(s),a)),(kn(r,e,a,!1,!1)||typeof a>"u"&&kn(r,e,null,!1,!1))&&(n!==""&&(n+=","+(r.condenseFlow?"":" ")),n+=r.dump);r.tag=i,r.dump="["+n+"]"}function Rh(r,e,t,n){var i="",s=r.tag,o,a,l;for(o=0,a=t.length;o<a;o+=1)l=t[o],r.replacer&&(l=r.replacer.call(t,String(o),l)),(kn(r,e+1,l,!0,!0,!1,!0)||typeof l>"u"&&kn(r,e+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=sc(r,e)),r.dump&&Rs===r.dump.charCodeAt(0)?i+="-":i+="- ",i+=r.dump);r.tag=s,r.dump=i||"[]"}function Y1(r,e,t){var n="",i=r.tag,s=Object.keys(t),o,a,l,c,u;for(o=0,a=s.length;o<a;o+=1)u="",n!==""&&(u+=", "),r.condenseFlow&&(u+='"'),l=s[o],c=t[l],r.replacer&&(c=r.replacer.call(t,l,c)),kn(r,e,l,!1,!1)&&(r.dump.length>1024&&(u+="? "),u+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),kn(r,e,c,!1,!1)&&(u+=r.dump,n+=u));r.tag=i,r.dump="{"+n+"}"}function J1(r,e,t,n){var i="",s=r.tag,o=Object.keys(t),a,l,c,u,h,d;if(r.sortKeys===!0)o.sort();else if(typeof r.sortKeys=="function")o.sort(r.sortKeys);else if(r.sortKeys)throw new pt("sortKeys must be a boolean or a function");for(a=0,l=o.length;a<l;a+=1)d="",(!n||i!=="")&&(d+=sc(r,e)),c=o[a],u=t[c],r.replacer&&(u=r.replacer.call(t,c,u)),kn(r,e+1,c,!0,!0,!0)&&(h=r.tag!==null&&r.tag!=="?"||r.dump&&r.dump.length>1024,h&&(r.dump&&Rs===r.dump.charCodeAt(0)?d+="?":d+="? "),d+=r.dump,h&&(d+=sc(r,e)),kn(r,e+1,u,!0,h)&&(r.dump&&Rs===r.dump.charCodeAt(0)?d+=":":d+=": ",d+=r.dump,i+=d));r.tag=s,r.dump=i||"{}"}function Lh(r,e,t){var n,i,s,o,a,l;for(i=t?r.explicitTypes:r.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof e=="object"&&e instanceof a.instanceOf)&&(!a.predicate||a.predicate(e))){if(t?a.multi&&a.representName?r.tag=a.representName(e):r.tag=a.tag:r.tag="?",a.represent){if(l=r.styleMap[a.tag]||a.defaultStyle,vh.call(a.represent)==="[object Function]")n=a.represent(e,l);else if(yh.call(a.represent,l))n=a.represent[l](e,l);else throw new pt("!<"+a.tag+'> tag resolver accepts not "'+l+'" style');r.dump=n}return!0}return!1}function kn(r,e,t,n,i,s,o){r.tag=null,r.dump=t,Lh(r,t,!1)||Lh(r,t,!0);var a=vh.call(r.dump),l=n,c;n&&(n=r.flowLevel<0||r.flowLevel>e);var u=a==="[object Object]"||a==="[object Array]",h,d;if(u&&(h=r.duplicates.indexOf(t),d=h!==-1),(r.tag!==null&&r.tag!=="?"||d||r.indent!==2&&e>0)&&(i=!1),d&&r.usedDuplicates[h])r.dump="*ref_"+h;else{if(u&&d&&!r.usedDuplicates[h]&&(r.usedDuplicates[h]=!0),a==="[object Object]")n&&Object.keys(r.dump).length!==0?(J1(r,e,r.dump,i),d&&(r.dump="&ref_"+h+r.dump)):(Y1(r,e,r.dump),d&&(r.dump="&ref_"+h+" "+r.dump));else if(a==="[object Array]")n&&r.dump.length!==0?(r.noArrayIndent&&!o&&e>0?Rh(r,e-1,r.dump,i):Rh(r,e,r.dump,i),d&&(r.dump="&ref_"+h+r.dump)):(K1(r,e,r.dump),d&&(r.dump="&ref_"+h+" "+r.dump));else if(a==="[object String]")r.tag!=="?"&&z1(r,r.dump,e,s,l);else{if(a==="[object Undefined]")return!1;if(r.skipInvalid)return!1;throw new pt("unacceptable kind of an object to dump "+a)}r.tag!==null&&r.tag!=="?"&&(c=encodeURI(r.tag[0]==="!"?r.tag.slice(1):r.tag).replace(/!/g,"%21"),r.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",r.dump=c+" "+r.dump)}return!0}function X1(r,e){var t=[],n=[],i,s;for(ac(r,t,n),i=0,s=n.length;i<s;i+=1)e.duplicates.push(t[n[i]]);e.usedDuplicates=new Array(s)}function ac(r,e,t){var n,i,s;if(r!==null&&typeof r=="object")if(i=e.indexOf(r),i!==-1)t.indexOf(i)===-1&&t.push(i);else if(e.push(r),Array.isArray(r))for(i=0,s=r.length;i<s;i+=1)ac(r[i],e,t);else for(n=Object.keys(r),i=0,s=n.length;i<s;i+=1)ac(r[n[i]],e,t)}function Q1(r,e){e=e||{};var t=new j1(e);t.noRefs||X1(r,t);var n=r;return t.replacer&&(n=t.replacer.call({"":n},"",n)),kn(t,0,n,!0,!0)?t.dump+`
|
|
47
|
-
`:""}var Z1=Q1,_1={dump:Z1};function lc(r,e){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var q1=gt,ex=wn,tx=$r,rx=Fn,nx=Li,ix=ql,sx=mh.load,ox=mh.loadAll,ax=_1.dump,lx=pt,cx={binary:Ko,float:Is,map:Rn,null:Ce,pairs:eh,set:th,timestamp:Fi,bool:_,int:Ut,merge:ji,omap:qf,seq:hi,str:Nn},ux=lc("safeLoad","load"),fx=lc("safeLoadAll","loadAll"),hx=lc("safeDump","dump"),dx={Type:q1,Schema:ex,FAILSAFE_SCHEMA:tx,JSON_SCHEMA:rx,CORE_SCHEMA:nx,DEFAULT_SCHEMA:ix,load:sx,loadAll:ox,dump:ax,YAMLException:lx,types:cx,safeLoad:ux,safeLoadAll:fx,safeDump:hx};const px=dx,gx=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:window}(),{FormData:Bh,Blob:ea,File:Fh}=gx,mx=r=>":/?#[]@!$&'()*+,;=".indexOf(r)>-1,vx=r=>/^[a-z0-9\-._~]+$/i.test(r);function Ki(r){let{escape:e}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return typeof r=="number"&&(r=r.toString()),typeof r!="string"||!r.length||!e?r:t?JSON.parse(r):[...r].map(n=>{if(vx(n)||mx(n)&&e==="unsafe")return n;const i=new TextEncoder;return Array.from(i.encode(n)).map(o=>`0${o.toString(16).toUpperCase()}`.slice(-2)).map(o=>`%${o}`).join("")}).join("")}function cc(r){const{value:e}=r;return Array.isArray(e)?yx(r):typeof e=="object"?bx(r):xx(r)}function yx(r){let{key:e,value:t,style:n,explode:i,escape:s}=r;const o=a=>Ki(a,{escape:s});if(n==="simple")return t.map(a=>o(a)).join(",");if(n==="label")return`.${t.map(a=>o(a)).join(".")}`;if(n==="matrix")return t.map(a=>o(a)).reduce((a,l)=>!a||i?`${a||""};${e}=${l}`:`${a},${l}`,"");if(n==="form"){const a=i?`&${e}=`:",";return t.map(l=>o(l)).join(a)}if(n==="spaceDelimited"){const a=i?`${e}=`:"";return t.map(l=>o(l)).join(` ${a}`)}if(n==="pipeDelimited"){const a=i?`${e}=`:"";return t.map(l=>o(l)).join(`|${a}`)}}function bx(r){let{key:e,value:t,style:n,explode:i,escape:s}=r;const o=l=>Ki(l,{escape:s}),a=Object.keys(t);if(n==="simple")return a.reduce((l,c)=>{const u=o(t[c]),h=i?"=":",";return`${l?`${l},`:""}${c}${h}${u}`},"");if(n==="label")return a.reduce((l,c)=>{const u=o(t[c]),h=i?"=":".";return`${l?`${l}.`:"."}${c}${h}${u}`},"");if(n==="matrix"&&i)return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l};`:";"}${c}=${u}`},"");if(n==="matrix")return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l},`:`;${e}=`}${c},${u}`},"");if(n==="form")return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l}${i?"&":","}`:""}${c}${i?"=":","}${u}`},"")}function xx(r){let{key:e,value:t,style:n,escape:i}=r;const s=o=>Ki(o,{escape:i});if(n==="simple")return s(t);if(n==="label")return`.${s(t)}`;if(n==="matrix")return`;${e}=${s(t)}`;if(n==="form")return s(t);if(n==="deepObject")return s(t,{},!0)}const wx=(r,e)=>{e.body=r},uc={serializeRes:Cx,mergeInQueryOrForm:Hh};async function Sx(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof r=="object"&&(e=r,r=e.url),e.headers=e.headers||{},uc.mergeInQueryOrForm(e),e.headers&&Object.keys(e.headers).forEach(i=>{const s=e.headers[i];typeof s=="string"&&(e.headers[i]=s.replace(/\n+/g," "))}),e.requestInterceptor&&(e=await e.requestInterceptor(e)||e);const t=e.headers["content-type"]||e.headers["Content-Type"];/multipart\/form-data/i.test(t)&&e.body instanceof Bh&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);let n;try{n=await(e.userFetch||fetch)(e.url,e),n=await uc.serializeRes(n,r,e),e.responseInterceptor&&(n=await e.responseInterceptor(n)||n)}catch(i){if(!n)throw i;const s=new Error(n.statusText||`response status is ${n.status}`);throw s.status=n.status,s.statusCode=n.status,s.responseError=i,s}if(!n.ok){const i=new Error(n.statusText||`response status is ${n.status}`);throw i.status=n.status,i.statusCode=n.status,i.response=n,i}return n}const kx=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(r)};function Ax(r,e){return e&&(e.indexOf("application/json")===0||e.indexOf("+json")>0)?JSON.parse(r):px.load(r)}function Cx(r,e){let{loadSpec:t=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n={ok:r.ok,url:r.url||e,status:r.status,statusText:r.statusText,headers:Ex(r.headers)},i=n.headers["content-type"],s=t||kx(i);return(s?r.text:r.blob||r.buffer).call(r).then(a=>{if(n.text=a,n.data=a,s)try{const l=Ax(a,i);n.body=l,n.obj=l}catch(l){n.parseError=l}return n})}function Ox(r){return r.includes(", ")?r.split(", "):r}function Ex(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return typeof r.entries!="function"?{}:Array.from(r.entries()).reduce((e,t)=>{let[n,i]=t;return e[n]=Ox(i),e},{})}function fc(r,e){return!e&&typeof navigator<"u"&&(e=navigator),e&&e.product==="ReactNative"?!!(r&&typeof r=="object"&&typeof r.uri=="string"):typeof Fh<"u"&&r instanceof Fh||typeof ea<"u"&&r instanceof ea||ArrayBuffer.isView(r)?!0:r!==null&&typeof r=="object"&&typeof r.pipe=="function"}function jh(r,e){return Array.isArray(r)&&r.some(t=>fc(t,e))}const Tx={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Px={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Vh(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{collectionFormat:n,allowEmptyValue:i,serializationOption:s,encoding:o}=e,a=typeof e=="object"&&!Array.isArray(e)?e.value:e,l=t?u=>u.toString():u=>encodeURIComponent(u),c=l(r);if(typeof a>"u"&&i)return[[c,""]];if(fc(a)||jh(a))return[[c,a]];if(s)return Wh(r,a,t,s);if(o){if([typeof o.style,typeof o.explode,typeof o.allowReserved].some(u=>u!=="undefined")){const{style:u,explode:h,allowReserved:d}=o;return Wh(r,a,t,{style:u,explode:h,allowReserved:d})}if(o.contentType){if(o.contentType==="application/json"){const u=typeof a=="string"?a:JSON.stringify(a);return[[c,l(u)]]}return[[c,l(a.toString())]]}return typeof a!="object"?[[c,l(a)]]:Array.isArray(a)&&a.every(u=>typeof u!="object")?[[c,a.map(l).join(",")]]:[[c,l(JSON.stringify(a))]]}return typeof a!="object"?[[c,l(a)]]:Array.isArray(a)?n==="multi"?[[c,a.map(l)]]:[[c,a.map(l).join(Px[n||"csv"])]]:[[c,""]]}function Wh(r,e,t,n){const i=n.style||"form",s=typeof n.explode>"u"?i==="form":n.explode,o=t?!1:n&&n.allowReserved?"unsafe":"reserved",a=c=>Ki(c,{escape:o}),l=t?c=>c:c=>Ki(c,{escape:o});return typeof e!="object"?[[l(r),a(e)]]:Array.isArray(e)?s?[[l(r),e.map(a)]]:[[l(r),e.map(a).join(Tx[i])]]:i==="deepObject"?Object.keys(e).map(c=>[l(`${r}[${c}]`),a(e[c])]):s?Object.keys(e).map(c=>[l(c),a(e[c])]):[[l(r),Object.keys(e).map(c=>[`${l(c)},${a(e[c])}`]).join(",")]]}function Mx(r){return Object.entries(r).reduce((e,t)=>{let[n,i]=t;for(const[s,o]of Vh(n,i,!0))if(Array.isArray(o))for(const a of o)if(ArrayBuffer.isView(a)){const l=new ea([a]);e.append(s,l)}else e.append(s,a);else if(ArrayBuffer.isView(o)){const a=new ea([o]);e.append(s,a)}else e.append(s,o);return e},new Bh)}function $h(r){const e=Object.keys(r).reduce((t,n)=>{for(const[i,s]of Vh(n,r[n]))t[i]=s;return t},{});return We().stringify(e,{encode:!1,indices:!1})||""}function Hh(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{url:e="",query:t,form:n}=r,i=function(){for(var s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];const l=o.filter(c=>c).join("&");return l?`?${l}`:""};if(n){const s=Object.keys(n).some(a=>{const{value:l}=n[a];return fc(l)||jh(l)}),o=r.headers["content-type"]||r.headers["Content-Type"];if(s||/multipart\/form-data/i.test(o)){const a=Mx(r.form);wx(a,r)}else r.body=$h(n);delete r.form}if(t){const[s,o]=e.split("?");let a="";if(o){const c=We().parse(o);Object.keys(t).forEach(h=>delete c[h]),a=We().stringify(c,{encode:!0})}const l=i(a,$h(t));r.url=s+l,delete r.query}return r}function JI(r,e,t){return t=t||(n=>n),e=e||(n=>n),n=>(typeof n=="string"&&(n={url:n}),uc.mergeInQueryOrForm(n),n=e(n),t(r(n)))}function Ix(r,e){function t(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];[this.message]=i,e&&e.apply(this,i)}return t.prototype=new Error,t.prototype.name=r,t.prototype.constructor=t,t}const Dx={body:Nx,header:Lx,query:Fx,path:Bx,formData:Rx};function Nx(r){let{req:e,value:t}=r;e.body=t}function Rx(r){let{req:e,value:t,parameter:n}=r;(t||n.allowEmptyValue)&&(e.form=e.form||{},e.form[n.name]={value:t,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function Lx(r){let{req:e,parameter:t,value:n}=r;e.headers=e.headers||{},typeof n<"u"&&(e.headers[t.name]=n)}function Bx(r){let{req:e,value:t,parameter:n}=r;e.url=e.url.split(`{${n.name}}`).join(encodeURIComponent(t))}function Fx(r){let{req:e,value:t,parameter:n}=r;if(e.query=e.query||{},t===!1&&n.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(n.type)>-1&&(t="0"),t)e.query[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&t!==void 0){const i=n.name;e.query[i]=e.query[i]||{},e.query[i].allowEmptyValue=!0}}function ta(r,e){return e.includes("application/json")?typeof r=="string"?r:JSON.stringify(r):r.toString()}function jx(r){let{req:e,value:t,parameter:n}=r;const{name:i,style:s,explode:o,content:a}=n;if(a){const c=Object.keys(a)[0];e.url=e.url.split(`{${i}}`).join(Ki(ta(t,c),{escape:!0}));return}const l=cc({key:n.name,value:t,style:s||"simple",explode:o||!1,escape:!0});e.url=e.url.split(`{${i}}`).join(l)}function Vx(r){let{req:e,value:t,parameter:n}=r;if(e.query=e.query||{},n.content){const i=Object.keys(n.content)[0],s=ta(t,i);if(s)e.query[n.name]=s;else if(n.allowEmptyValue&&t!==void 0){const o=n.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}return}if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:i,explode:s,allowReserved:o}=n;e.query[n.name]={value:t,serializationOption:{style:i,explode:s,allowReserved:o}}}else if(n.allowEmptyValue&&t!==void 0){const i=n.name;e.query[i]=e.query[i]||{},e.query[i].allowEmptyValue=!0}}const Wx=["accept","authorization","content-type"];function $x(r){let{req:e,parameter:t,value:n}=r;if(e.headers=e.headers||{},!(Wx.indexOf(t.name.toLowerCase())>-1)){if(t.content){const i=Object.keys(t.content)[0];e.headers[t.name]=ta(n,i);return}typeof n<"u"&&(e.headers[t.name]=cc({key:t.name,value:n,style:t.style||"simple",explode:typeof t.explode>"u"?!1:t.explode,escape:!1}))}}function Hx(r){let{req:e,parameter:t,value:n}=r;e.headers=e.headers||{};const i=typeof n;if(t.content){const s=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${ta(n,s)}`;return}if(i!=="undefined"){const s=i==="object"&&!Array.isArray(n)&&t.explode?"":`${t.name}=`;e.headers.Cookie=s+cc({key:t.name,value:n,escape:!1,style:t.style||"form",explode:typeof t.explode>"u"?!1:t.explode})}}const zx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:window)(),{btoa:Ux}=zx,zh=Ux;function Gx(r,e){const{operation:t,requestBody:n,securities:i,spec:s,attachContentTypeForEmptyPayload:o}=r;let{requestContentType:a}=r;e=Kx({request:e,securities:i,operation:t,spec:s});const l=t.requestBody||{},c=Object.keys(l.content||{}),u=a&&c.indexOf(a)>-1;if(n||o){if(a&&u)e.headers["Content-Type"]=a;else if(!a){const h=c[0];h&&(e.headers["Content-Type"]=h,a=h)}}else a&&u&&(e.headers["Content-Type"]=a);if(!r.responseContentType&&t.responses){const h=Object.entries(t.responses).filter(d=>{let[p,m]=d;const y=parseInt(p,10);return y>=200&&y<300&&ge(m.content)}).reduce((d,p)=>{let[,m]=p;return d.concat(Object.keys(m.content))},[]);h.length>0&&(e.headers.accept=h.join(", "))}if(n)if(a){if(c.indexOf(a)>-1)if(a==="application/x-www-form-urlencoded"||a==="multipart/form-data")if(typeof n=="object"){const h=(l.content[a]||{}).encoding||{};e.form={},Object.keys(n).forEach(d=>{e.form[d]={value:n[d],encoding:h[d]||{}}})}else e.form=n;else e.body=n}else e.body=n;return e}function Kx(r){let{request:e,securities:t={},operation:n={},spec:i}=r;const s=ee({},e),{authorized:o={}}=t,a=n.security||i.security||[],l=o&&!!Object.keys(o).length,c=ue()(i,["components","securitySchemes"])||{};return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!l||!a||Array.isArray(n.security)&&!n.security.length?e:(a.forEach(u=>{Object.keys(u).forEach(h=>{const d=o[h],p=c[h];if(!d)return;const m=d.value||d,{type:y}=p;if(d){if(y==="apiKey")p.in==="query"&&(s.query[p.name]=m),p.in==="header"&&(s.headers[p.name]=m),p.in==="cookie"&&(s.cookies[p.name]=m);else if(y==="http"){if(/^basic$/i.test(p.scheme)){const w=m.username||"",A=m.password||"",T=zh(`${w}:${A}`);s.headers.Authorization=`Basic ${T}`}/^bearer$/i.test(p.scheme)&&(s.headers.Authorization=`Bearer ${m}`)}else if(y==="oauth2"||y==="openIdConnect"){const w=d.token||{},A=p["x-tokenName"]||"access_token",T=w[A];let E=w.token_type;(!E||E.toLowerCase()==="bearer")&&(E="Bearer"),s.headers.Authorization=`${E} ${T}`}}})}),s)}function Yx(r,e){const{spec:t,operation:n,securities:i,requestContentType:s,responseContentType:o,attachContentTypeForEmptyPayload:a}=r;if(e=Jx({request:e,securities:i,operation:n,spec:t}),e.body||e.form||a)s?e.headers["Content-Type"]=s:Array.isArray(n.consumes)?[e.headers["Content-Type"]]=n.consumes:Array.isArray(t.consumes)?[e.headers["Content-Type"]]=t.consumes:n.parameters&&n.parameters.filter(l=>l.type==="file").length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(l=>l.in==="formData").length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){const l=n.parameters&&n.parameters.filter(u=>u.in==="body").length>0,c=n.parameters&&n.parameters.filter(u=>u.in==="formData").length>0;(l||c)&&(e.headers["Content-Type"]=s)}return!o&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function Jx(r){let{request:e,securities:t={},operation:n={},spec:i}=r;const s=ee({},e),{authorized:o={},specSecurity:a=[]}=t,l=n.security||a,c=o&&!!Object.keys(o).length,u=i.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!c||!l||Array.isArray(n.security)&&!n.security.length?e:(l.forEach(h=>{Object.keys(h).forEach(d=>{const p=o[d];if(!p)return;const{token:m}=p,y=p.value||p,w=u[d],{type:A}=w,T=w["x-tokenName"]||"access_token",E=m&&m[T];let F=m&&m.token_type;if(p)if(A==="apiKey"){const I=w.in==="query"?"query":"headers";s[I]=s[I]||{},s[I][w.name]=y}else if(A==="basic")if(y.header)s.headers.authorization=y.header;else{const I=y.username||"",W=y.password||"";y.base64=zh(`${I}:${W}`),s.headers.authorization=`Basic ${y.base64}`}else A==="oauth2"&&E&&(F=!F||F.toLowerCase()==="bearer"?"Bearer":F,s.headers.authorization=`${F} ${E}`)})}),s)}function Uh(r,e){return`${e.toLowerCase()}-${r}`}function Xx(r,e,t){if(!r||typeof r!="object"||!r.paths||typeof r.paths!="object")return null;const{paths:n}=r;for(const i in n)for(const s in n[i]){if(s.toUpperCase()==="PARAMETERS")continue;const o=n[i][s];if(!o||typeof o!="object")continue;const a={spec:r,pathName:i,method:s.toUpperCase(),operation:o},l=e(a);if(t&&l)return a}}function Qx(r,e){return Xx(r,e,!0)||null}const Gh=r=>r.replace(/\W/gi,"_");function Zx(r,e){let{v2OperationIdCompatibilityMode:t}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){let n=`${e.toLowerCase()}_${r}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${r.substring(1)}_${e}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${e.toLowerCase()}${Gh(r)}`}function _x(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",{v2OperationIdCompatibilityMode:n}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return!r||typeof r!="object"?null:(r.operationId||"").replace(/\s/g,"").length?Gh(r.operationId):Zx(e,t,{v2OperationIdCompatibilityMode:n})}function qx(r,e){return!r||!r.paths?null:Qx(r,t=>{let{pathName:n,method:i,operation:s}=t;if(!s||typeof s!="object")return!1;const o=s.operationId,a=_x(s,n,i),l=Uh(n,i);return[a,l,o].some(c=>c&&c===e)})}const QI=r=>{try{const{swagger:e}=r;return e==="2.0"}catch{return!1}},ew=r=>{try{const{openapi:e}=r;return typeof e=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(e)}catch{return!1}},tw=r=>{try{const{openapi:e}=r;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},Kh=r=>ew(r)||tw(r),rw=["http","fetch","spec","operationId","pathName","method","parameters","securities"],Yh=r=>Array.isArray(r)?r:[],nw=Ix("OperationNotFoundError",function(e,t,n){this.originalError=n,Object.assign(this,t||{})}),iw=(r,e)=>e.filter(t=>t.name===r),sw=r=>{const e={};r.forEach(n=>{e[n.in]||(e[n.in]={}),e[n.in][n.name]=n});const t=[];return Object.keys(e).forEach(n=>{Object.keys(e[n]).forEach(i=>{t.push(e[n][i])})}),t},ow={buildRequest:lw};function aw(r){let{http:e,fetch:t,spec:n,operationId:i,pathName:s,method:o,parameters:a,securities:l}=r,c=ie(r,rw);const u=e||t||Sx;s&&o&&!i&&(i=Uh(s,o));const h=ow.buildRequest(ee({spec:n,operationId:i,parameters:a,securities:l,http:u},c));return h.body&&(ge(h.body)||Array.isArray(h.body))&&(h.body=JSON.stringify(h.body)),u(h)}function lw(r){const{spec:e,operationId:t,responseContentType:n,scheme:i,requestInterceptor:s,responseInterceptor:o,contextUrl:a,userFetch:l,server:c,serverVariables:u,http:h,signal:d}=r;let{parameters:p,parameterBuilders:m}=r;const y=Kh(e);m||(y?m=g:m=Dx);let A={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};d&&(A.signal=d),s&&(A.requestInterceptor=s),o&&(A.responseInterceptor=o),l&&(A.userFetch=l);const T=qx(e,t);if(!T)throw new nw(`Operation ${t} not found`);const{operation:E={},method:F,pathName:I}=T;if(A.url+=cw({spec:e,scheme:i,contextUrl:a,server:c,serverVariables:u,pathName:I,method:F}),!t)return delete A.cookies,A;A.url+=I,A.method=`${F}`.toUpperCase(),p=p||{};const W=e.paths[I]||{};n&&(A.headers.accept=n);const j=sw([].concat(Yh(E.parameters)).concat(Yh(W.parameters)));j.forEach(B=>{const U=m[B.in];let G;if(B.in==="body"&&B.schema&&B.schema.properties&&(G=p),G=B&&B.name&&p[B.name],typeof G>"u"?G=B&&B.name&&p[`${B.in}.${B.name}`]:iw(B.name,j).length>1&&console.warn(`Parameter '${B.name}' is ambiguous because the defined spec has more than one parameter with the name: '${B.name}' and the passed-in parameter values did not define an 'in' value.`),G!==null){if(typeof B.default<"u"&&typeof G>"u"&&(G=B.default),typeof G>"u"&&B.required&&!B.allowEmptyValue)throw new Error(`Required parameter ${B.name} is not provided`);if(y&&B.schema&&B.schema.type==="object"&&typeof G=="string")try{G=JSON.parse(G)}catch{throw new Error("Could not parse object parameter value string as JSON")}U&&U({req:A,parameter:B,value:G,operation:E,spec:e})}});const Q=ee(ee({},r),{},{operation:E});if(y?A=Gx(Q,A):A=Yx(Q,A),A.cookies&&Object.keys(A.cookies).length){const B=Object.keys(A.cookies).reduce((U,G)=>{const re=A.cookies[G],ce=U?"&":"",he=Y.serialize(G,re);return U+ce+he},"");A.headers.Cookie=B}return A.cookies&&delete A.cookies,Hh(A),A}const hc=r=>r?r.replace(/\W/g,""):null;function cw(r){return Kh(r.spec)?uw(r):dw(r)}function uw(r){let{spec:e,pathName:t,method:n,server:i,contextUrl:s,serverVariables:o={}}=r;const a=ue()(e,["paths",t,(n||"").toLowerCase(),"servers"])||ue()(e,["paths",t,"servers"])||ue()(e,["servers"]);let l="",c=null;if(i&&a&&a.length){const u=a.map(h=>h.url);u.indexOf(i)>-1&&(l=i,c=a[u.indexOf(i)])}return!l&&a&&a.length&&(l=a[0].url,[c]=a),l.indexOf("{")>-1&&hw(l).forEach(h=>{if(c.variables&&c.variables[h]){const d=c.variables[h],p=o[h]||d.default,m=new RegExp(`{${h}}`,"g");l=l.replace(m,p)}}),fw(l,s)}function fw(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const t=r&&e?V.parse(V.resolve(e,r)):V.parse(r),n=V.parse(e),i=hc(t.protocol)||hc(n.protocol)||"",s=t.host||n.host,o=t.pathname||"";let a;return i&&s?a=`${i}://${s+o}`:a=o,a[a.length-1]==="/"?a.slice(0,-1):a}function hw(r){const e=[],t=/{([^}]+)}/g;let n;for(;n=t.exec(r);)e.push(n[1]);return e}function dw(r){let{spec:e,scheme:t,contextUrl:n=""}=r;const i=V.parse(n),s=Array.isArray(e.schemes)?e.schemes[0]:null,o=t||s||hc(i.protocol)||"http",a=e.host||i.host||"",l=e.basePath||"";let c;return o&&a?c=`${o}://${a+l}`:c=l,c[c.length-1]==="/"?c.slice(0,-1):c}var S=f(52983),mt=f(20202),Hr=f(52886),vt=f(56618),pw=f(25358),gw=f(91643),mw=f(2526),vw=Object.defineProperty,yw=Object.defineProperties,bw=Object.getOwnPropertyDescriptors,Jh=Object.getOwnPropertySymbols,xw=Object.prototype.hasOwnProperty,ww=Object.prototype.propertyIsEnumerable,Xh=(r,e,t)=>e in r?vw(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Sw=(r,e)=>{for(var t in e||(e={}))xw.call(e,t)&&Xh(r,t,e[t]);if(Jh)for(var t of Jh(e))ww.call(e,t)&&Xh(r,t,e[t]);return r},kw=(r,e)=>yw(r,bw(e)),Aw=(r,e,t)=>new Promise((n,i)=>{var s=l=>{try{a(t.next(l))}catch(c){i(c)}},o=l=>{try{a(t.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((t=t.apply(r,e)).next())});function Cw(r,e){return Aw(this,null,function*(){var t,n,i,s;const o=JSON.parse(JSON.stringify(e)),a=o.openapi?{openapi:o.openapi}:o.swagger?{swagger:o.swagger}:{},l=kw(Sw({},a),{components:o.components,paths:{[r.path]:{[r.httpVerb]:(n=(t=o.paths)==null?void 0:t[r.path])==null?void 0:n[r.httpVerb],parameters:(s=(i=o.paths)==null?void 0:i[r.path])==null?void 0:s.parameters}}}),c=new gw.Config({}),u=(0,mw.I)(l),h={config:c,doc:u,dereference:!0};return yield(0,pw.bundle)(h),o})}var Ow=f(98910),ra=f(84862),_r=f(53134),Qh=(r,e,t)=>new Promise((n,i)=>{var s=l=>{try{a(t.next(l))}catch(c){i(c)}},o=l=>{try{a(t.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((t=t.apply(r,e)).next())});const Zh=Object.values(_r.FileUploadFormats),Ew=["application/octet-stream","application/pdf","application/gzip","application/zip"],_h=["image/","audio/","video/"];function qh(r){if(_h.some(e=>r.startsWith(e)))return r}function na(r){return Ew.includes(r)?!0:_h.some(e=>r.startsWith(e))}function Tw(r){const e=r.type==="array"?r.items:r;if(!e||!e.type||e?.type==="any")return!0;const t=e.contentMediaType||"",n=e.format||e.contentEncoding||(na(t)?"binary":"");return e.type===_r.DefinitionTypes.STRING&&Zh.includes(n)}function ed(r,e){if(!r||!r.type||r.type==="any")return na(e);const t=r.format||r.contentEncoding||"";return r.type===_r.DefinitionTypes.STRING&&Zh.includes(t)}function td(r){return new Promise((e,t)=>{const n=new FileReader;n.onload=()=>{const s=n.result.replace(/data:.*\/.*;base64,/g,"");e(s)},n.onerror=()=>t(n.error),n.readAsDataURL(r)})}function rd({format:r,contentEncoding:e,contentMediaType:t}){return[r,e,t].includes(_r.FileUploadFormats.BASE64)}function Pw(r,e){return Qh(this,null,function*(){const t=Object.values(r);let n=t.length===1?t[0]:t;return e.type===_r.DefinitionTypes.STRING&&rd(e)?n=yield td(t[0]):e.type===_r.DefinitionTypes.ARRAY&&e.items&&(rd(e.items)?n=yield Promise.all(t.map(s=>Qh(this,null,function*(){return yield td(s)}))):n=t),n})}var dc=f(84622),Be=f(38612),Ye=f(95404),Oe=f(85739),Nr=f(71608),Mw=f(64393),$n=f(60991);function Iw({response:r}){const{jsonSampleExpandLevel:e}=(0,Hr.Dv)($n.qd);return S.createElement(S.Fragment,null,S.createElement(Nr.EE,null," Body: "),Dw(r,e))}function Dw(r,e){return r.body?S.createElement(mt.JsonViewer,{data:r.body,jsonSampleExpandLevel:e}):r.fileInfo?S.createElement(Mw.s,{fileInfo:r.fileInfo}):r.data!==null?r.data?S.createElement(mt.CodeBlock,{lang:(0,Oe.M)(r.headers["Content-Type"]||"text/plain"),source:r.data,header:{controls:{copy:{}}}}):S.createElement(mt.CodeBlockContainer,{withControls:!0},S.createElement("i",null,"(no content)")):null}function Nw({headers:r}){const e=(0,Hr.Dv)($n.qd),[t,n]=(0,S.useState)(!0),{maxResponseHeadersToShowInTryIt:i}=e,s=Object.keys(r),o=!!i&&s.length>i,a=o&&t?[...s].splice(0,i):[...s],l=()=>{n(!t)};return S.createElement(S.Fragment,null,S.createElement(Nr.EE,null," Headers: "),S.createElement(mt.CodeBlockContainer,{withControls:!0},a.map(c=>S.createElement("div",{key:c},S.createElement(nd,null,c,":"),S.createElement("code",null,r[c]))),o&&S.createElement(id,{onClick:l},t?"Show more...":"Hide headers")))}const nd=Ye.ZP.strong`
|
|
47
|
+
`:""}var Z1=Q1,_1={dump:Z1};function lc(r,e){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var q1=gt,ex=wn,tx=$r,rx=Fn,nx=Li,ix=ql,sx=mh.load,ox=mh.loadAll,ax=_1.dump,lx=pt,cx={binary:Ko,float:Is,map:Rn,null:Ce,pairs:eh,set:th,timestamp:Fi,bool:_,int:Ut,merge:ji,omap:qf,seq:hi,str:Nn},ux=lc("safeLoad","load"),fx=lc("safeLoadAll","loadAll"),hx=lc("safeDump","dump"),dx={Type:q1,Schema:ex,FAILSAFE_SCHEMA:tx,JSON_SCHEMA:rx,CORE_SCHEMA:nx,DEFAULT_SCHEMA:ix,load:sx,loadAll:ox,dump:ax,YAMLException:lx,types:cx,safeLoad:ux,safeLoadAll:fx,safeDump:hx};const px=dx,gx=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:window}(),{FormData:Bh,Blob:ea,File:Fh}=gx,mx=r=>":/?#[]@!$&'()*+,;=".indexOf(r)>-1,vx=r=>/^[a-z0-9\-._~]+$/i.test(r);function Ki(r){let{escape:e}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return typeof r=="number"&&(r=r.toString()),typeof r!="string"||!r.length||!e?r:t?JSON.parse(r):[...r].map(n=>{if(vx(n)||mx(n)&&e==="unsafe")return n;const i=new TextEncoder;return Array.from(i.encode(n)).map(o=>`0${o.toString(16).toUpperCase()}`.slice(-2)).map(o=>`%${o}`).join("")}).join("")}function cc(r){const{value:e}=r;return Array.isArray(e)?yx(r):typeof e=="object"?bx(r):xx(r)}function yx(r){let{key:e,value:t,style:n,explode:i,escape:s}=r;const o=a=>Ki(a,{escape:s});if(n==="simple")return t.map(a=>o(a)).join(",");if(n==="label")return`.${t.map(a=>o(a)).join(".")}`;if(n==="matrix")return t.map(a=>o(a)).reduce((a,l)=>!a||i?`${a||""};${e}=${l}`:`${a},${l}`,"");if(n==="form"){const a=i?`&${e}=`:",";return t.map(l=>o(l)).join(a)}if(n==="spaceDelimited"){const a=i?`${e}=`:"";return t.map(l=>o(l)).join(` ${a}`)}if(n==="pipeDelimited"){const a=i?`${e}=`:"";return t.map(l=>o(l)).join(`|${a}`)}}function bx(r){let{key:e,value:t,style:n,explode:i,escape:s}=r;const o=l=>Ki(l,{escape:s}),a=Object.keys(t);if(n==="simple")return a.reduce((l,c)=>{const u=o(t[c]),h=i?"=":",";return`${l?`${l},`:""}${c}${h}${u}`},"");if(n==="label")return a.reduce((l,c)=>{const u=o(t[c]),h=i?"=":".";return`${l?`${l}.`:"."}${c}${h}${u}`},"");if(n==="matrix"&&i)return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l};`:";"}${c}=${u}`},"");if(n==="matrix")return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l},`:`;${e}=`}${c},${u}`},"");if(n==="form")return a.reduce((l,c)=>{const u=o(t[c]);return`${l?`${l}${i?"&":","}`:""}${c}${i?"=":","}${u}`},"")}function xx(r){let{key:e,value:t,style:n,escape:i}=r;const s=o=>Ki(o,{escape:i});if(n==="simple")return s(t);if(n==="label")return`.${s(t)}`;if(n==="matrix")return`;${e}=${s(t)}`;if(n==="form")return s(t);if(n==="deepObject")return s(t,{},!0)}const wx=(r,e)=>{e.body=r},uc={serializeRes:Cx,mergeInQueryOrForm:Hh};async function Sx(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof r=="object"&&(e=r,r=e.url),e.headers=e.headers||{},uc.mergeInQueryOrForm(e),e.headers&&Object.keys(e.headers).forEach(i=>{const s=e.headers[i];typeof s=="string"&&(e.headers[i]=s.replace(/\n+/g," "))}),e.requestInterceptor&&(e=await e.requestInterceptor(e)||e);const t=e.headers["content-type"]||e.headers["Content-Type"];/multipart\/form-data/i.test(t)&&e.body instanceof Bh&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);let n;try{n=await(e.userFetch||fetch)(e.url,e),n=await uc.serializeRes(n,r,e),e.responseInterceptor&&(n=await e.responseInterceptor(n)||n)}catch(i){if(!n)throw i;const s=new Error(n.statusText||`response status is ${n.status}`);throw s.status=n.status,s.statusCode=n.status,s.responseError=i,s}if(!n.ok){const i=new Error(n.statusText||`response status is ${n.status}`);throw i.status=n.status,i.statusCode=n.status,i.response=n,i}return n}const kx=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(r)};function Ax(r,e){return e&&(e.indexOf("application/json")===0||e.indexOf("+json")>0)?JSON.parse(r):px.load(r)}function Cx(r,e){let{loadSpec:t=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n={ok:r.ok,url:r.url||e,status:r.status,statusText:r.statusText,headers:Ex(r.headers)},i=n.headers["content-type"],s=t||kx(i);return(s?r.text:r.blob||r.buffer).call(r).then(a=>{if(n.text=a,n.data=a,s)try{const l=Ax(a,i);n.body=l,n.obj=l}catch(l){n.parseError=l}return n})}function Ox(r){return r.includes(", ")?r.split(", "):r}function Ex(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return typeof r.entries!="function"?{}:Array.from(r.entries()).reduce((e,t)=>{let[n,i]=t;return e[n]=Ox(i),e},{})}function fc(r,e){return!e&&typeof navigator<"u"&&(e=navigator),e&&e.product==="ReactNative"?!!(r&&typeof r=="object"&&typeof r.uri=="string"):typeof Fh<"u"&&r instanceof Fh||typeof ea<"u"&&r instanceof ea||ArrayBuffer.isView(r)?!0:r!==null&&typeof r=="object"&&typeof r.pipe=="function"}function jh(r,e){return Array.isArray(r)&&r.some(t=>fc(t,e))}const Tx={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Px={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Vh(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{collectionFormat:n,allowEmptyValue:i,serializationOption:s,encoding:o}=e,a=typeof e=="object"&&!Array.isArray(e)?e.value:e,l=t?u=>u.toString():u=>encodeURIComponent(u),c=l(r);if(typeof a>"u"&&i)return[[c,""]];if(fc(a)||jh(a))return[[c,a]];if(s)return Wh(r,a,t,s);if(o){if([typeof o.style,typeof o.explode,typeof o.allowReserved].some(u=>u!=="undefined")){const{style:u,explode:h,allowReserved:d}=o;return Wh(r,a,t,{style:u,explode:h,allowReserved:d})}if(o.contentType){if(o.contentType==="application/json"){const u=typeof a=="string"?a:JSON.stringify(a);return[[c,l(u)]]}return[[c,l(a.toString())]]}return typeof a!="object"?[[c,l(a)]]:Array.isArray(a)&&a.every(u=>typeof u!="object")?[[c,a.map(l).join(",")]]:[[c,l(JSON.stringify(a))]]}return typeof a!="object"?[[c,l(a)]]:Array.isArray(a)?n==="multi"?[[c,a.map(l)]]:[[c,a.map(l).join(Px[n||"csv"])]]:[[c,""]]}function Wh(r,e,t,n){const i=n.style||"form",s=typeof n.explode>"u"?i==="form":n.explode,o=t?!1:n&&n.allowReserved?"unsafe":"reserved",a=c=>Ki(c,{escape:o}),l=t?c=>c:c=>Ki(c,{escape:o});return typeof e!="object"?[[l(r),a(e)]]:Array.isArray(e)?s?[[l(r),e.map(a)]]:[[l(r),e.map(a).join(Tx[i])]]:i==="deepObject"?Object.keys(e).map(c=>[l(`${r}[${c}]`),a(e[c])]):s?Object.keys(e).map(c=>[l(c),a(e[c])]):[[l(r),Object.keys(e).map(c=>[`${l(c)},${a(e[c])}`]).join(",")]]}function Mx(r){return Object.entries(r).reduce((e,t)=>{let[n,i]=t;for(const[s,o]of Vh(n,i,!0))if(Array.isArray(o))for(const a of o)if(ArrayBuffer.isView(a)){const l=new ea([a]);e.append(s,l)}else e.append(s,a);else if(ArrayBuffer.isView(o)){const a=new ea([o]);e.append(s,a)}else e.append(s,o);return e},new Bh)}function $h(r){const e=Object.keys(r).reduce((t,n)=>{for(const[i,s]of Vh(n,r[n]))t[i]=s;return t},{});return We().stringify(e,{encode:!1,indices:!1})||""}function Hh(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{url:e="",query:t,form:n}=r,i=function(){for(var s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];const l=o.filter(c=>c).join("&");return l?`?${l}`:""};if(n){const s=Object.keys(n).some(a=>{const{value:l}=n[a];return fc(l)||jh(l)}),o=r.headers["content-type"]||r.headers["Content-Type"];if(s||/multipart\/form-data/i.test(o)){const a=Mx(r.form);wx(a,r)}else r.body=$h(n);delete r.form}if(t){const[s,o]=e.split("?");let a="";if(o){const c=We().parse(o);Object.keys(t).forEach(h=>delete c[h]),a=We().stringify(c,{encode:!0})}const l=i(a,$h(t));r.url=s+l,delete r.query}return r}function JI(r,e,t){return t=t||(n=>n),e=e||(n=>n),n=>(typeof n=="string"&&(n={url:n}),uc.mergeInQueryOrForm(n),n=e(n),t(r(n)))}function Ix(r,e){function t(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];[this.message]=i,e&&e.apply(this,i)}return t.prototype=new Error,t.prototype.name=r,t.prototype.constructor=t,t}const Dx={body:Nx,header:Lx,query:Fx,path:Bx,formData:Rx};function Nx(r){let{req:e,value:t}=r;e.body=t}function Rx(r){let{req:e,value:t,parameter:n}=r;(t||n.allowEmptyValue)&&(e.form=e.form||{},e.form[n.name]={value:t,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function Lx(r){let{req:e,parameter:t,value:n}=r;e.headers=e.headers||{},typeof n<"u"&&(e.headers[t.name]=n)}function Bx(r){let{req:e,value:t,parameter:n}=r;e.url=e.url.split(`{${n.name}}`).join(encodeURIComponent(t))}function Fx(r){let{req:e,value:t,parameter:n}=r;if(e.query=e.query||{},t===!1&&n.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(n.type)>-1&&(t="0"),t)e.query[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&t!==void 0){const i=n.name;e.query[i]=e.query[i]||{},e.query[i].allowEmptyValue=!0}}function ta(r,e){return e.includes("application/json")?typeof r=="string"?r:JSON.stringify(r):r.toString()}function jx(r){let{req:e,value:t,parameter:n}=r;const{name:i,style:s,explode:o,content:a}=n;if(a){const c=Object.keys(a)[0];e.url=e.url.split(`{${i}}`).join(Ki(ta(t,c),{escape:!0}));return}const l=cc({key:n.name,value:t,style:s||"simple",explode:o||!1,escape:!0});e.url=e.url.split(`{${i}}`).join(l)}function Vx(r){let{req:e,value:t,parameter:n}=r;if(e.query=e.query||{},n.content){const i=Object.keys(n.content)[0],s=ta(t,i);if(s)e.query[n.name]=s;else if(n.allowEmptyValue&&t!==void 0){const o=n.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}return}if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:i,explode:s,allowReserved:o}=n;e.query[n.name]={value:t,serializationOption:{style:i,explode:s,allowReserved:o}}}else if(n.allowEmptyValue&&t!==void 0){const i=n.name;e.query[i]=e.query[i]||{},e.query[i].allowEmptyValue=!0}}const Wx=["accept","authorization","content-type"];function $x(r){let{req:e,parameter:t,value:n}=r;if(e.headers=e.headers||{},!(Wx.indexOf(t.name.toLowerCase())>-1)){if(t.content){const i=Object.keys(t.content)[0];e.headers[t.name]=ta(n,i);return}typeof n<"u"&&(e.headers[t.name]=cc({key:t.name,value:n,style:t.style||"simple",explode:typeof t.explode>"u"?!1:t.explode,escape:!1}))}}function Hx(r){let{req:e,parameter:t,value:n}=r;e.headers=e.headers||{};const i=typeof n;if(t.content){const s=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${ta(n,s)}`;return}if(i!=="undefined"){const s=i==="object"&&!Array.isArray(n)&&t.explode?"":`${t.name}=`;e.headers.Cookie=s+cc({key:t.name,value:n,escape:!1,style:t.style||"form",explode:typeof t.explode>"u"?!1:t.explode})}}const zx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:window)(),{btoa:Ux}=zx,zh=Ux;function Gx(r,e){const{operation:t,requestBody:n,securities:i,spec:s,attachContentTypeForEmptyPayload:o}=r;let{requestContentType:a}=r;e=Kx({request:e,securities:i,operation:t,spec:s});const l=t.requestBody||{},c=Object.keys(l.content||{}),u=a&&c.indexOf(a)>-1;if(n||o){if(a&&u)e.headers["Content-Type"]=a;else if(!a){const h=c[0];h&&(e.headers["Content-Type"]=h,a=h)}}else a&&u&&(e.headers["Content-Type"]=a);if(!r.responseContentType&&t.responses){const h=Object.entries(t.responses).filter(d=>{let[p,m]=d;const y=parseInt(p,10);return y>=200&&y<300&&ge(m.content)}).reduce((d,p)=>{let[,m]=p;return d.concat(Object.keys(m.content))},[]);h.length>0&&(e.headers.accept=h.join(", "))}if(n)if(a){if(c.indexOf(a)>-1)if(a==="application/x-www-form-urlencoded"||a==="multipart/form-data")if(typeof n=="object"){const h=(l.content[a]||{}).encoding||{};e.form={},Object.keys(n).forEach(d=>{e.form[d]={value:n[d],encoding:h[d]||{}}})}else e.form=n;else e.body=n}else e.body=n;return e}function Kx(r){let{request:e,securities:t={},operation:n={},spec:i}=r;const s=ee({},e),{authorized:o={}}=t,a=n.security||i.security||[],l=o&&!!Object.keys(o).length,c=ue()(i,["components","securitySchemes"])||{};return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!l||!a||Array.isArray(n.security)&&!n.security.length?e:(a.forEach(u=>{Object.keys(u).forEach(h=>{const d=o[h],p=c[h];if(!d)return;const m=d.value||d,{type:y}=p;if(d){if(y==="apiKey")p.in==="query"&&(s.query[p.name]=m),p.in==="header"&&(s.headers[p.name]=m),p.in==="cookie"&&(s.cookies[p.name]=m);else if(y==="http"){if(/^basic$/i.test(p.scheme)){const w=m.username||"",A=m.password||"",T=zh(`${w}:${A}`);s.headers.Authorization=`Basic ${T}`}/^bearer$/i.test(p.scheme)&&(s.headers.Authorization=`Bearer ${m}`)}else if(y==="oauth2"||y==="openIdConnect"){const w=d.token||{},A=p["x-tokenName"]||"access_token",T=w[A];let E=w.token_type;(!E||E.toLowerCase()==="bearer")&&(E="Bearer"),s.headers.Authorization=`${E} ${T}`}}})}),s)}function Yx(r,e){const{spec:t,operation:n,securities:i,requestContentType:s,responseContentType:o,attachContentTypeForEmptyPayload:a}=r;if(e=Jx({request:e,securities:i,operation:n,spec:t}),e.body||e.form||a)s?e.headers["Content-Type"]=s:Array.isArray(n.consumes)?[e.headers["Content-Type"]]=n.consumes:Array.isArray(t.consumes)?[e.headers["Content-Type"]]=t.consumes:n.parameters&&n.parameters.filter(l=>l.type==="file").length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(l=>l.in==="formData").length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){const l=n.parameters&&n.parameters.filter(u=>u.in==="body").length>0,c=n.parameters&&n.parameters.filter(u=>u.in==="formData").length>0;(l||c)&&(e.headers["Content-Type"]=s)}return!o&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function Jx(r){let{request:e,securities:t={},operation:n={},spec:i}=r;const s=ee({},e),{authorized:o={},specSecurity:a=[]}=t,l=n.security||a,c=o&&!!Object.keys(o).length,u=i.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!c||!l||Array.isArray(n.security)&&!n.security.length?e:(l.forEach(h=>{Object.keys(h).forEach(d=>{const p=o[d];if(!p)return;const{token:m}=p,y=p.value||p,w=u[d],{type:A}=w,T=w["x-tokenName"]||"access_token",E=m&&m[T];let F=m&&m.token_type;if(p)if(A==="apiKey"){const I=w.in==="query"?"query":"headers";s[I]=s[I]||{},s[I][w.name]=y}else if(A==="basic")if(y.header)s.headers.authorization=y.header;else{const I=y.username||"",W=y.password||"";y.base64=zh(`${I}:${W}`),s.headers.authorization=`Basic ${y.base64}`}else A==="oauth2"&&E&&(F=!F||F.toLowerCase()==="bearer"?"Bearer":F,s.headers.authorization=`${F} ${E}`)})}),s)}function Uh(r,e){return`${e.toLowerCase()}-${r}`}function Xx(r,e,t){if(!r||typeof r!="object"||!r.paths||typeof r.paths!="object")return null;const{paths:n}=r;for(const i in n)for(const s in n[i]){if(s.toUpperCase()==="PARAMETERS")continue;const o=n[i][s];if(!o||typeof o!="object")continue;const a={spec:r,pathName:i,method:s.toUpperCase(),operation:o},l=e(a);if(t&&l)return a}}function Qx(r,e){return Xx(r,e,!0)||null}const Gh=r=>r.replace(/\W/gi,"_");function Zx(r,e){let{v2OperationIdCompatibilityMode:t}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){let n=`${e.toLowerCase()}_${r}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${r.substring(1)}_${e}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${e.toLowerCase()}${Gh(r)}`}function _x(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",{v2OperationIdCompatibilityMode:n}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return!r||typeof r!="object"?null:(r.operationId||"").replace(/\s/g,"").length?Gh(r.operationId):Zx(e,t,{v2OperationIdCompatibilityMode:n})}function qx(r,e){return!r||!r.paths?null:Qx(r,t=>{let{pathName:n,method:i,operation:s}=t;if(!s||typeof s!="object")return!1;const o=s.operationId,a=_x(s,n,i),l=Uh(n,i);return[a,l,o].some(c=>c&&c===e)})}const QI=r=>{try{const{swagger:e}=r;return e==="2.0"}catch{return!1}},ew=r=>{try{const{openapi:e}=r;return typeof e=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(e)}catch{return!1}},tw=r=>{try{const{openapi:e}=r;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},Kh=r=>ew(r)||tw(r),rw=["http","fetch","spec","operationId","pathName","method","parameters","securities"],Yh=r=>Array.isArray(r)?r:[],nw=Ix("OperationNotFoundError",function(e,t,n){this.originalError=n,Object.assign(this,t||{})}),iw=(r,e)=>e.filter(t=>t.name===r),sw=r=>{const e={};r.forEach(n=>{e[n.in]||(e[n.in]={}),e[n.in][n.name]=n});const t=[];return Object.keys(e).forEach(n=>{Object.keys(e[n]).forEach(i=>{t.push(e[n][i])})}),t},ow={buildRequest:lw};function aw(r){let{http:e,fetch:t,spec:n,operationId:i,pathName:s,method:o,parameters:a,securities:l}=r,c=ie(r,rw);const u=e||t||Sx;s&&o&&!i&&(i=Uh(s,o));const h=ow.buildRequest(ee({spec:n,operationId:i,parameters:a,securities:l,http:u},c));return h.body&&(ge(h.body)||Array.isArray(h.body))&&(h.body=JSON.stringify(h.body)),u(h)}function lw(r){const{spec:e,operationId:t,responseContentType:n,scheme:i,requestInterceptor:s,responseInterceptor:o,contextUrl:a,userFetch:l,server:c,serverVariables:u,http:h,signal:d}=r;let{parameters:p,parameterBuilders:m}=r;const y=Kh(e);m||(y?m=g:m=Dx);let A={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};d&&(A.signal=d),s&&(A.requestInterceptor=s),o&&(A.responseInterceptor=o),l&&(A.userFetch=l);const T=qx(e,t);if(!T)throw new nw(`Operation ${t} not found`);const{operation:E={},method:F,pathName:I}=T;if(A.url+=cw({spec:e,scheme:i,contextUrl:a,server:c,serverVariables:u,pathName:I,method:F}),!t)return delete A.cookies,A;A.url+=I,A.method=`${F}`.toUpperCase(),p=p||{};const W=e.paths[I]||{};n&&(A.headers.accept=n);const j=sw([].concat(Yh(E.parameters)).concat(Yh(W.parameters)));j.forEach(B=>{const U=m[B.in];let G;if(B.in==="body"&&B.schema&&B.schema.properties&&(G=p),G=B&&B.name&&p[B.name],typeof G>"u"?G=B&&B.name&&p[`${B.in}.${B.name}`]:iw(B.name,j).length>1&&console.warn(`Parameter '${B.name}' is ambiguous because the defined spec has more than one parameter with the name: '${B.name}' and the passed-in parameter values did not define an 'in' value.`),G!==null){if(typeof B.default<"u"&&typeof G>"u"&&(G=B.default),typeof G>"u"&&B.required&&!B.allowEmptyValue)throw new Error(`Required parameter ${B.name} is not provided`);if(y&&B.schema&&B.schema.type==="object"&&typeof G=="string")try{G=JSON.parse(G)}catch{throw new Error("Could not parse object parameter value string as JSON")}U&&U({req:A,parameter:B,value:G,operation:E,spec:e})}});const Q=ee(ee({},r),{},{operation:E});if(y?A=Gx(Q,A):A=Yx(Q,A),A.cookies&&Object.keys(A.cookies).length){const B=Object.keys(A.cookies).reduce((U,G)=>{const re=A.cookies[G],ce=U?"&":"",he=Y.serialize(G,re);return U+ce+he},"");A.headers.Cookie=B}return A.cookies&&delete A.cookies,Hh(A),A}const hc=r=>r?r.replace(/\W/g,""):null;function cw(r){return Kh(r.spec)?uw(r):dw(r)}function uw(r){let{spec:e,pathName:t,method:n,server:i,contextUrl:s,serverVariables:o={}}=r;const a=ue()(e,["paths",t,(n||"").toLowerCase(),"servers"])||ue()(e,["paths",t,"servers"])||ue()(e,["servers"]);let l="",c=null;if(i&&a&&a.length){const u=a.map(h=>h.url);u.indexOf(i)>-1&&(l=i,c=a[u.indexOf(i)])}return!l&&a&&a.length&&(l=a[0].url,[c]=a),l.indexOf("{")>-1&&hw(l).forEach(h=>{if(c.variables&&c.variables[h]){const d=c.variables[h],p=o[h]||d.default,m=new RegExp(`{${h}}`,"g");l=l.replace(m,p)}}),fw(l,s)}function fw(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const t=r&&e?V.parse(V.resolve(e,r)):V.parse(r),n=V.parse(e),i=hc(t.protocol)||hc(n.protocol)||"",s=t.host||n.host,o=t.pathname||"";let a;return i&&s?a=`${i}://${s+o}`:a=o,a[a.length-1]==="/"?a.slice(0,-1):a}function hw(r){const e=[],t=/{([^}]+)}/g;let n;for(;n=t.exec(r);)e.push(n[1]);return e}function dw(r){let{spec:e,scheme:t,contextUrl:n=""}=r;const i=V.parse(n),s=Array.isArray(e.schemes)?e.schemes[0]:null,o=t||s||hc(i.protocol)||"http",a=e.host||i.host||"",l=e.basePath||"";let c;return o&&a?c=`${o}://${a+l}`:c=l,c[c.length-1]==="/"?c.slice(0,-1):c}var S=f(52983),mt=f(20202),Hr=f(95659),vt=f(56618),pw=f(25358),gw=f(91643),mw=f(2526),vw=Object.defineProperty,yw=Object.defineProperties,bw=Object.getOwnPropertyDescriptors,Jh=Object.getOwnPropertySymbols,xw=Object.prototype.hasOwnProperty,ww=Object.prototype.propertyIsEnumerable,Xh=(r,e,t)=>e in r?vw(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Sw=(r,e)=>{for(var t in e||(e={}))xw.call(e,t)&&Xh(r,t,e[t]);if(Jh)for(var t of Jh(e))ww.call(e,t)&&Xh(r,t,e[t]);return r},kw=(r,e)=>yw(r,bw(e)),Aw=(r,e,t)=>new Promise((n,i)=>{var s=l=>{try{a(t.next(l))}catch(c){i(c)}},o=l=>{try{a(t.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((t=t.apply(r,e)).next())});function Cw(r,e){return Aw(this,null,function*(){var t,n,i,s;const o=JSON.parse(JSON.stringify(e)),a=o.openapi?{openapi:o.openapi}:o.swagger?{swagger:o.swagger}:{},l=kw(Sw({},a),{components:o.components,paths:{[r.path]:{[r.httpVerb]:(n=(t=o.paths)==null?void 0:t[r.path])==null?void 0:n[r.httpVerb],parameters:(s=(i=o.paths)==null?void 0:i[r.path])==null?void 0:s.parameters}}}),c=new gw.Config({}),u=(0,mw.I)(l),h={config:c,doc:u,dereference:!0};return yield(0,pw.bundle)(h),o})}var Ow=f(98910),ra=f(84862),_r=f(53134),Qh=(r,e,t)=>new Promise((n,i)=>{var s=l=>{try{a(t.next(l))}catch(c){i(c)}},o=l=>{try{a(t.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((t=t.apply(r,e)).next())});const Zh=Object.values(_r.FileUploadFormats),Ew=["application/octet-stream","application/pdf","application/gzip","application/zip"],_h=["image/","audio/","video/"];function qh(r){if(_h.some(e=>r.startsWith(e)))return r}function na(r){return Ew.includes(r)?!0:_h.some(e=>r.startsWith(e))}function Tw(r){const e=r.type==="array"?r.items:r;if(!e||!e.type||e?.type==="any")return!0;const t=e.contentMediaType||"",n=e.format||e.contentEncoding||(na(t)?"binary":"");return e.type===_r.DefinitionTypes.STRING&&Zh.includes(n)}function ed(r,e){if(!r||!r.type||r.type==="any")return na(e);const t=r.format||r.contentEncoding||"";return r.type===_r.DefinitionTypes.STRING&&Zh.includes(t)}function td(r){return new Promise((e,t)=>{const n=new FileReader;n.onload=()=>{const s=n.result.replace(/data:.*\/.*;base64,/g,"");e(s)},n.onerror=()=>t(n.error),n.readAsDataURL(r)})}function rd({format:r,contentEncoding:e,contentMediaType:t}){return[r,e,t].includes(_r.FileUploadFormats.BASE64)}function Pw(r,e){return Qh(this,null,function*(){const t=Object.values(r);let n=t.length===1?t[0]:t;return e.type===_r.DefinitionTypes.STRING&&rd(e)?n=yield td(t[0]):e.type===_r.DefinitionTypes.ARRAY&&e.items&&(rd(e.items)?n=yield Promise.all(t.map(s=>Qh(this,null,function*(){return yield td(s)}))):n=t),n})}var dc=f(84622),Be=f(38612),Ye=f(95404),Oe=f(85739),Nr=f(71608),Mw=f(64393),$n=f(60991);function Iw({response:r}){const{jsonSampleExpandLevel:e}=(0,Hr.Dv)($n.qd);return S.createElement(S.Fragment,null,S.createElement(Nr.EE,null," Body: "),Dw(r,e))}function Dw(r,e){return r.body?S.createElement(mt.JsonViewer,{data:r.body,jsonSampleExpandLevel:e}):r.fileInfo?S.createElement(Mw.s,{fileInfo:r.fileInfo}):r.data!==null?r.data?S.createElement(mt.CodeBlock,{lang:(0,Oe.M)(r.headers["Content-Type"]||"text/plain"),source:r.data,header:{controls:{copy:{}}}}):S.createElement(mt.CodeBlockContainer,{withControls:!0},S.createElement("i",null,"(no content)")):null}function Nw({headers:r}){const e=(0,Hr.Dv)($n.qd),[t,n]=(0,S.useState)(!0),{maxResponseHeadersToShowInTryIt:i}=e,s=Object.keys(r),o=!!i&&s.length>i,a=o&&t?[...s].splice(0,i):[...s],l=()=>{n(!t)};return S.createElement(S.Fragment,null,S.createElement(Nr.EE,null," Headers: "),S.createElement(mt.CodeBlockContainer,{withControls:!0},a.map(c=>S.createElement("div",{key:c},S.createElement(nd,null,c,":"),S.createElement("code",null,r[c]))),o&&S.createElement(id,{onClick:l},t?"Show more...":"Hide headers")))}const nd=Ye.ZP.strong`
|
|
48
48
|
text-transform: capitalize;
|
|
49
49
|
display: inline-block;
|
|
50
50
|
padding-right: 5px;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
`;var pS=f(4296),gS=f(62701),mS=f(18373);const vS=(0,Ye.ZP)(ad.A3)`
|
|
130
130
|
border-radius: var(--panel-border-radius);
|
|
131
131
|
margin-bottom: 10px;
|
|
132
|
-
`;var oa=f(42112),vc=f(34716),yS=f(
|
|
132
|
+
`;var oa=f(42112),vc=f(34716),yS=f(66291),bS=Object.defineProperty,xS=Object.defineProperties,wS=Object.getOwnPropertyDescriptors,wd=Object.getOwnPropertySymbols,SS=Object.prototype.hasOwnProperty,kS=Object.prototype.propertyIsEnumerable,Sd=(r,e,t)=>e in r?bS(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,AS=(r,e)=>{for(var t in e||(e={}))SS.call(e,t)&&Sd(r,t,e[t]);if(wd)for(var t of wd(e))kS.call(e,t)&&Sd(r,t,e[t]);return r},CS=(r,e)=>xS(r,wS(e)),OS=(r,e,t)=>new Promise((n,i)=>{var s=l=>{try{a(t.next(l))}catch(c){i(c)}},o=l=>{try{a(t.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((t=t.apply(r,e)).next())});const kd=(0,S.forwardRef)(({schema:r,contentName:e,onChange:t,fieldName:n,className:i,accept:s,multiple:o},a)=>{const{register:l}=(0,vt.Gc)(),c=u=>OS(void 0,null,function*(){const h=yield Pw(u.target.files,r);t(e,h)});return S.createElement("input",CS(AS({},l(n)),{"data-cy":"file-upload-input",type:"file",id:n,className:i,name:n,onChange:c,multiple:o,accept:s,ref:a}))});kd.displayName="FileUpload";var yc=f(21156);function ES({mediaType:r,onChange:e}){var t;const{setValue:n}=(0,vt.Gc)(),i=r.examples||{},{exampleKey:s}=(0,vc.C6)(r.operation,i),o=(t=i[s])==null?void 0:t.rawValue,a=PS(r);(0,S.useEffect)(()=>n&&a.forEach(c=>{var u,h;const d=o?.[c.name],p=(h=(u=c.example)!=null?u:d?.example)!=null?h:d,m=typeof p=="object"?JSON.stringify(p):p;p!==void 0&&n("body."+c.name,`${m}`)}),[s]);const l=r.schema||{};return ed(l,r.name)?S.createElement(Ad,null,S.createElement(ye.NI,null,S.createElement(Cd,{fullWidth:!0,fieldName:`body.${r.name}`,accept:qh(r.name),schema:l,contentName:r.name,onChange:e}))):l.type!==_r.DefinitionTypes.OBJECT&&!a?(console.warn(`Invalid schema for request body and mime type: "${r.name}"`,l),null):S.createElement(Ad,null,a.map(c=>{const u=c.schema||{contentMediaType:"",type:"",description:""},h=r.name===oa.Tr.MULTIPART&&Tw(u),d=u.contentMediaType||"",p=h?S.createElement(Cd,{fullWidth:!0,fieldName:"body."+c.name,accept:qh(d),multiple:u.type==="array",schema:u,contentName:c.name,onChange:e}):S.createElement(st.Xn,{fullWidth:!0,id:"body."+c.name,fieldName:"body."+c.name,placeholder:(0,Oe.bG)(u.description)||c.name,panel:"try-it"});return S.createElement(ye.NI,{key:c.name},S.createElement(ye.lX,null,c.name,":"),p)}))}const TS=(0,S.memo)(ES);function PS(r){var e,t,n,i,s,o;const{activeOneOf:a}=(0,yS.Sb)((0,yc.N)(r.operation.pointer)),l=(t=a[((e=r.schema)==null?void 0:e.pointer)||""])!=null?t:0;return((i=(n=r.schema)==null?void 0:n.oneOf)!=null&&i.length?((s=r.schema)==null?void 0:s.oneOf[l].fields)||[]:((o=r.schema)==null?void 0:o.fields)||[]).filter(c=>!c.schema.readOnly)}const Ad=Ye.ZP.div`
|
|
133
133
|
> div {
|
|
134
134
|
margin-top: 10px;
|
|
135
135
|
}
|
package/dist/oauth2-redirect.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Redocly OpenAPI Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "3.0.0-alpha.
|
|
5
|
+
* Version: "3.0.0-alpha.84"
|
|
6
6
|
*/(function(Dr,dr){typeof exports=="object"&&typeof module=="object"?module.exports=dr():typeof define=="function"&&define.amd?define([],dr):typeof exports=="object"?exports.RedoclyOpenAPIDocs=dr():Dr.RedoclyOpenAPIDocs=dr()})(this,()=>(()=>{var it={40312:(n,c,r)=>{var t=r(37235),o=r(22734),a=TypeError;n.exports=function(e){if(t(e))return e;throw a(o(e)+" is not a function")}},87725:(n,c,r)=>{var t=r(37235),o=String,a=TypeError;n.exports=function(e){if(typeof e=="object"||t(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},84102:(n,c,r)=>{var t=r(23967),o=r(36101),a=r(99051).f,e=t("unscopables"),s=Array.prototype;s[e]==null&&a(s,e,{configurable:!0,value:o(null)}),n.exports=function(i){s[e][i]=!0}},61507:(n,c,r)=>{var t=r(56471),o=TypeError;n.exports=function(a,e){if(t(e,a))return a;throw o("Incorrect invocation")}},86347:(n,c,r)=>{var t=r(82951),o=String,a=TypeError;n.exports=function(e){if(t(e))return e;throw a(o(e)+" is not an object")}},65335:(n,c,r)=>{"use strict";var t=r(58495),o=r(71970),a=r(72296),e=r(16429),s=r(38861),i=r(19106),l=r(2312),f=r(13980),d=r(53401),p=r(30205),g=Array;n.exports=function(x){var P=a(x),R=i(this),L=arguments.length,C=L>1?arguments[1]:void 0,D=C!==void 0;D&&(C=t(C,L>2?arguments[2]:void 0));var O=p(P),T=0,U,$,rr,nr,K,k;if(O&&!(this===g&&s(O)))for(nr=d(P,O),K=nr.next,$=R?new this:[];!(rr=o(K,nr)).done;T++)k=D?e(nr,C,[rr.value,T],!0):rr.value,f($,T,k);else for(U=l(P),$=R?new this(U):g(U);U>T;T++)k=D?C(P[T],T):P[T],f($,T,k);return $.length=T,$}},10752:(n,c,r)=>{var t=r(11884),o=r(83260),a=r(2312),e=function(s){return function(i,l,f){var d=t(i),p=a(d),g=o(f,p),m;if(s&&l!=l){for(;p>g;)if(m=d[g++],m!=m)return!0}else for(;p>g;g++)if((s||g in d)&&d[g]===l)return s||g||0;return!s&&-1}};n.exports={includes:e(!0),indexOf:e(!1)}},17401:(n,c,r)=>{var t=r(83260),o=r(2312),a=r(13980),e=Array,s=Math.max;n.exports=function(i,l,f){for(var d=o(i),p=t(l,d),g=t(f===void 0?d:f,d),m=e(s(g-p,0)),x=0;p<g;p++,x++)a(m,x,i[p]);return m.length=x,m}},5515:(n,c,r)=>{var t=r(17401),o=Math.floor,a=function(i,l){var f=i.length,d=o(f/2);return f<8?e(i,l):s(i,a(t(i,0,d),l),a(t(i,d),l),l)},e=function(i,l){for(var f=i.length,d=1,p,g;d<f;){for(g=d,p=i[d];g&&l(i[g-1],p)>0;)i[g]=i[--g];g!==d++&&(i[g]=p)}return i},s=function(i,l,f,d){for(var p=l.length,g=f.length,m=0,x=0;m<p||x<g;)i[m+x]=m<p&&x<g?d(l[m],f[x])<=0?l[m++]:f[x++]:m<p?l[m++]:f[x++];return i};n.exports=a},16429:(n,c,r)=>{var t=r(86347),o=r(16177);n.exports=function(a,e,s,i){try{return i?e(t(s)[0],s[1]):e(s)}catch(l){o(a,"throw",l)}}},20237:(n,c,r)=>{var t=r(29027),o=t({}.toString),a=t("".slice);n.exports=function(e){return a(o(e),8,-1)}},95032:(n,c,r)=>{var t=r(65727),o=r(37235),a=r(20237),e=r(23967),s=e("toStringTag"),i=Object,l=a(function(){return arguments}())=="Arguments",f=function(d,p){try{return d[p]}catch{}};n.exports=t?a:function(d){var p,g,m;return d===void 0?"Undefined":d===null?"Null":typeof(g=f(p=i(d),s))=="string"?g:l?a(p):(m=a(p))=="Object"&&o(p.callee)?"Arguments":m}},20292:(n,c,r)=>{var t=r(85831),o=r(42231),a=r(80381),e=r(99051);n.exports=function(s,i,l){for(var f=o(i),d=e.f,p=a.f,g=0;g<f.length;g++){var m=f[g];!t(s,m)&&!(l&&t(l,m))&&d(s,m,p(i,m))}}},40328:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},9401:n=>{n.exports=function(c,r){return{value:c,done:r}}},70235:(n,c,r)=>{var t=r(76986),o=r(99051),a=r(99829);n.exports=t?function(e,s,i){return o.f(e,s,a(1,i))}:function(e,s,i){return e[s]=i,e}},99829:n=>{n.exports=function(c,r){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:r}}},13980:(n,c,r)=>{"use strict";var t=r(47568),o=r(99051),a=r(99829);n.exports=function(e,s,i){var l=t(s);l in e?o.f(e,l,a(0,i)):e[l]=i}},16317:(n,c,r)=>{var t=r(49578),o=r(99051);n.exports=function(a,e,s){return s.get&&t(s.get,e,{getter:!0}),s.set&&t(s.set,e,{setter:!0}),o.f(a,e,s)}},62072:(n,c,r)=>{var t=r(37235),o=r(99051),a=r(49578),e=r(8108);n.exports=function(s,i,l,f){f||(f={});var d=f.enumerable,p=f.name!==void 0?f.name:i;if(t(l)&&a(l,p,f),f.global)d?s[i]=l:e(i,l);else{try{f.unsafe?s[i]&&(d=!0):delete s[i]}catch{}d?s[i]=l:o.f(s,i,{value:l,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return s}},64266:(n,c,r)=>{var t=r(62072);n.exports=function(o,a,e){for(var s in a)t(o,s,a[s],e);return o}},8108:(n,c,r)=>{var t=r(80376),o=Object.defineProperty;n.exports=function(a,e){try{o(t,a,{value:e,configurable:!0,writable:!0})}catch{t[a]=e}return e}},76986:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},74401:n=>{var c=typeof document=="object"&&document.all,r=typeof c>"u"&&c!==void 0;n.exports={all:c,IS_HTMLDDA:r}},30030:(n,c,r)=>{var t=r(80376),o=r(82951),a=t.document,e=o(a)&&o(a.createElement);n.exports=function(s){return e?a.createElement(s):{}}},96229:n=>{n.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},81150:(n,c,r)=>{var t=r(80376),o=r(96229),a=t.process,e=t.Deno,s=a&&a.versions||e&&e.version,i=s&&s.v8,l,f;i&&(l=i.split("."),f=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!f&&o&&(l=o.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=o.match(/Chrome\/(\d+)/),l&&(f=+l[1]))),n.exports=f},68671:n=>{n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},59401:(n,c,r)=>{var t=r(80376),o=r(80381).f,a=r(70235),e=r(62072),s=r(8108),i=r(20292),l=r(74039);n.exports=function(f,d){var p=f.target,g=f.global,m=f.stat,x,P,R,L,C,D;if(g?P=t:m?P=t[p]||s(p,{}):P=(t[p]||{}).prototype,P)for(R in d){if(C=d[R],f.dontCallGetSet?(D=o(P,R),L=D&&D.value):L=P[R],x=l(g?R:p+(m?".":"#")+R,f.forced),!x&&L!==void 0){if(typeof C==typeof L)continue;i(C,L)}(f.sham||L&&L.sham)&&a(C,"sham",!0),e(P,R,C,f)}}},59769:n=>{n.exports=function(c){try{return!!c()}catch{return!0}}},58495:(n,c,r)=>{var t=r(44914),o=r(40312),a=r(71945),e=t(t.bind);n.exports=function(s,i){return o(s),i===void 0?s:a?e(s,i):function(){return s.apply(i,arguments)}}},71945:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){var o=function(){}.bind();return typeof o!="function"||o.hasOwnProperty("prototype")})},71970:(n,c,r)=>{var t=r(71945),o=Function.prototype.call;n.exports=t?o.bind(o):function(){return o.apply(o,arguments)}},34157:(n,c,r)=>{var t=r(76986),o=r(85831),a=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,s=o(a,"name"),i=s&&function(){}.name==="something",l=s&&(!t||t&&e(a,"name").configurable);n.exports={EXISTS:s,PROPER:i,CONFIGURABLE:l}},12352:(n,c,r)=>{var t=r(29027),o=r(40312);n.exports=function(a,e,s){try{return t(o(Object.getOwnPropertyDescriptor(a,e)[s]))}catch{}}},44914:(n,c,r)=>{var t=r(20237),o=r(29027);n.exports=function(a){if(t(a)==="Function")return o(a)}},29027:(n,c,r)=>{var t=r(71945),o=Function.prototype,a=o.call,e=t&&o.bind.bind(a,a);n.exports=t?e:function(s){return function(){return a.apply(s,arguments)}}},49023:(n,c,r)=>{var t=r(80376),o=r(37235),a=function(e){return o(e)?e:void 0};n.exports=function(e,s){return arguments.length<2?a(t[e]):t[e]&&t[e][s]}},30205:(n,c,r)=>{var t=r(95032),o=r(63953),a=r(51246),e=r(90857),s=r(23967),i=s("iterator");n.exports=function(l){if(!a(l))return o(l,i)||o(l,"@@iterator")||e[t(l)]}},53401:(n,c,r)=>{var t=r(71970),o=r(40312),a=r(86347),e=r(22734),s=r(30205),i=TypeError;n.exports=function(l,f){var d=arguments.length<2?s(l):f;if(o(d))return a(t(d,l));throw i(e(l)+" is not iterable")}},63953:(n,c,r)=>{var t=r(40312),o=r(51246);n.exports=function(a,e){var s=a[e];return o(s)?void 0:t(s)}},80376:(n,c,r)=>{var t=function(o){return o&&o.Math==Math&&o};n.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof r.g=="object"&&r.g)||function(){return this}()||Function("return this")()},85831:(n,c,r)=>{var t=r(29027),o=r(72296),a=t({}.hasOwnProperty);n.exports=Object.hasOwn||function(s,i){return a(o(s),i)}},33804:n=>{n.exports={}},18673:(n,c,r)=>{var t=r(49023);n.exports=t("document","documentElement")},74690:(n,c,r)=>{var t=r(76986),o=r(59769),a=r(30030);n.exports=!t&&!o(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},60144:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(20237),e=Object,s=t("".split);n.exports=o(function(){return!e("z").propertyIsEnumerable(0)})?function(i){return a(i)=="String"?s(i,""):e(i)}:e},96441:(n,c,r)=>{var t=r(29027),o=r(37235),a=r(58797),e=t(Function.toString);o(a.inspectSource)||(a.inspectSource=function(s){return e(s)}),n.exports=a.inspectSource},92569:(n,c,r)=>{var t=r(63545),o=r(80376),a=r(82951),e=r(70235),s=r(85831),i=r(58797),l=r(41506),f=r(33804),d="Object already initialized",p=o.TypeError,g=o.WeakMap,m,x,P,R=function(O){return P(O)?x(O):m(O,{})},L=function(O){return function(T){var U;if(!a(T)||(U=x(T)).type!==O)throw p("Incompatible receiver, "+O+" required");return U}};if(t||i.state){var C=i.state||(i.state=new g);C.get=C.get,C.has=C.has,C.set=C.set,m=function(O,T){if(C.has(O))throw p(d);return T.facade=O,C.set(O,T),T},x=function(O){return C.get(O)||{}},P=function(O){return C.has(O)}}else{var D=l("state");f[D]=!0,m=function(O,T){if(s(O,D))throw p(d);return T.facade=O,e(O,D,T),T},x=function(O){return s(O,D)?O[D]:{}},P=function(O){return s(O,D)}}n.exports={set:m,get:x,has:P,enforce:R,getterFor:L}},38861:(n,c,r)=>{var t=r(23967),o=r(90857),a=t("iterator"),e=Array.prototype;n.exports=function(s){return s!==void 0&&(o.Array===s||e[a]===s)}},37235:(n,c,r)=>{var t=r(74401),o=t.all;n.exports=t.IS_HTMLDDA?function(a){return typeof a=="function"||a===o}:function(a){return typeof a=="function"}},19106:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(37235),e=r(95032),s=r(49023),i=r(96441),l=function(){},f=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,g=t(p.exec),m=!p.exec(l),x=function(L){if(!a(L))return!1;try{return d(l,f,L),!0}catch{return!1}},P=function(L){if(!a(L))return!1;switch(e(L)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!g(p,i(L))}catch{return!0}};P.sham=!0,n.exports=!d||o(function(){var R;return x(x.call)||!x(Object)||!x(function(){R=!0})||R})?P:x},74039:(n,c,r)=>{var t=r(59769),o=r(37235),a=/#|\.prototype\./,e=function(d,p){var g=i[s(d)];return g==f?!0:g==l?!1:o(p)?t(p):!!p},s=e.normalize=function(d){return String(d).replace(a,".").toLowerCase()},i=e.data={},l=e.NATIVE="N",f=e.POLYFILL="P";n.exports=e},51246:n=>{n.exports=function(c){return c==null}},82951:(n,c,r)=>{var t=r(37235),o=r(74401),a=o.all;n.exports=o.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:t(e)||e===a}:function(e){return typeof e=="object"?e!==null:t(e)}},68264:n=>{n.exports=!1},47082:(n,c,r)=>{var t=r(49023),o=r(37235),a=r(56471),e=r(19366),s=Object;n.exports=e?function(i){return typeof i=="symbol"}:function(i){var l=t("Symbol");return o(l)&&a(l.prototype,s(i))}},16177:(n,c,r)=>{var t=r(71970),o=r(86347),a=r(63953);n.exports=function(e,s,i){var l,f;o(e);try{if(l=a(e,"return"),!l){if(s==="throw")throw i;return i}l=t(l,e)}catch(d){f=!0,l=d}if(s==="throw")throw i;if(f)throw l;return o(l),i}},21811:(n,c,r)=>{"use strict";var t=r(74929).IteratorPrototype,o=r(36101),a=r(99829),e=r(65746),s=r(90857),i=function(){return this};n.exports=function(l,f,d,p){var g=f+" Iterator";return l.prototype=o(t,{next:a(+!p,d)}),e(l,g,!1,!0),s[g]=i,l}},48710:(n,c,r)=>{"use strict";var t=r(59401),o=r(71970),a=r(68264),e=r(34157),s=r(37235),i=r(21811),l=r(74972),f=r(90331),d=r(65746),p=r(70235),g=r(62072),m=r(23967),x=r(90857),P=r(74929),R=e.PROPER,L=e.CONFIGURABLE,C=P.IteratorPrototype,D=P.BUGGY_SAFARI_ITERATORS,O=m("iterator"),T="keys",U="values",$="entries",rr=function(){return this};n.exports=function(nr,K,k,gr,ir,N,H){i(k,K,gr);var G=function(tr){if(tr===ir&&V)return V;if(!D&&tr in W)return W[tr];switch(tr){case T:return function(){return new k(this,tr)};case U:return function(){return new k(this,tr)};case $:return function(){return new k(this,tr)}}return function(){return new k(this)}},F=K+" Iterator",Y=!1,W=nr.prototype,z=W[O]||W["@@iterator"]||ir&&W[ir],V=!D&&z||G(ir),ur=K=="Array"&&W.entries||z,X,Q,ar;if(ur&&(X=l(ur.call(new nr)),X!==Object.prototype&&X.next&&(!a&&l(X)!==C&&(f?f(X,C):s(X[O])||g(X,O,rr)),d(X,F,!0,!0),a&&(x[F]=rr))),R&&ir==U&&z&&z.name!==U&&(!a&&L?p(W,"name",U):(Y=!0,V=function(){return o(z,this)})),ir)if(Q={values:G(U),keys:N?V:G(T),entries:G($)},H)for(ar in Q)(D||Y||!(ar in W))&&g(W,ar,Q[ar]);else t({target:K,proto:!0,forced:D||Y},Q);return(!a||H)&&W[O]!==V&&g(W,O,V,{name:ir}),x[K]=V,Q}},74929:(n,c,r)=>{"use strict";var t=r(59769),o=r(37235),a=r(82951),e=r(36101),s=r(74972),i=r(62072),l=r(23967),f=r(68264),d=l("iterator"),p=!1,g,m,x;[].keys&&(x=[].keys(),"next"in x?(m=s(s(x)),m!==Object.prototype&&(g=m)):p=!0);var P=!a(g)||t(function(){var R={};return g[d].call(R)!==R});P?g={}:f&&(g=e(g)),o(g[d])||i(g,d,function(){return this}),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:p}},90857:n=>{n.exports={}},2312:(n,c,r)=>{var t=r(65346);n.exports=function(o){return t(o.length)}},49578:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(37235),e=r(85831),s=r(76986),i=r(34157).CONFIGURABLE,l=r(96441),f=r(92569),d=f.enforce,p=f.get,g=String,m=Object.defineProperty,x=t("".slice),P=t("".replace),R=t([].join),L=s&&!o(function(){return m(function(){},"length",{value:8}).length!==8}),C=String(String).split("String"),D=n.exports=function(O,T,U){x(g(T),0,7)==="Symbol("&&(T="["+P(g(T),/^Symbol\(([^)]*)\)/,"$1")+"]"),U&&U.getter&&(T="get "+T),U&&U.setter&&(T="set "+T),(!e(O,"name")||i&&O.name!==T)&&(s?m(O,"name",{value:T,configurable:!0}):O.name=T),L&&U&&e(U,"arity")&&O.length!==U.arity&&m(O,"length",{value:U.arity});try{U&&e(U,"constructor")&&U.constructor?s&&m(O,"prototype",{writable:!1}):O.prototype&&(O.prototype=void 0)}catch{}var $=d(O);return e($,"source")||($.source=R(C,typeof T=="string"?T:"")),O};Function.prototype.toString=D(function(){return a(this)&&p(this).source||l(this)},"toString")},79498:n=>{var c=Math.ceil,r=Math.floor;n.exports=Math.trunc||function(o){var a=+o;return(a>0?r:c)(a)}},55993:(n,c,r)=>{"use strict";var t=r(76986),o=r(29027),a=r(71970),e=r(59769),s=r(75070),i=r(54207),l=r(53749),f=r(72296),d=r(60144),p=Object.assign,g=Object.defineProperty,m=o([].concat);n.exports=!p||e(function(){if(t&&p({b:1},p(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},P={},R=Symbol(),L="abcdefghijklmnopqrst";return x[R]=7,L.split("").forEach(function(C){P[C]=C}),p({},x)[R]!=7||s(p({},P)).join("")!=L})?function(P,R){for(var L=f(P),C=arguments.length,D=1,O=i.f,T=l.f;C>D;)for(var U=d(arguments[D++]),$=O?m(s(U),O(U)):s(U),rr=$.length,nr=0,K;rr>nr;)K=$[nr++],(!t||a(T,U,K))&&(L[K]=U[K]);return L}:p},36101:(n,c,r)=>{var t=r(86347),o=r(2041),a=r(68671),e=r(33804),s=r(18673),i=r(30030),l=r(41506),f=">",d="<",p="prototype",g="script",m=l("IE_PROTO"),x=function(){},P=function(O){return d+g+f+O+d+"/"+g+f},R=function(O){O.write(P("")),O.close();var T=O.parentWindow.Object;return O=null,T},L=function(){var O=i("iframe"),T="java"+g+":",U;return O.style.display="none",s.appendChild(O),O.src=String(T),U=O.contentWindow.document,U.open(),U.write(P("document.F=Object")),U.close(),U.F},C,D=function(){try{C=new ActiveXObject("htmlfile")}catch{}D=typeof document<"u"?document.domain&&C?R(C):L():R(C);for(var O=a.length;O--;)delete D[p][a[O]];return D()};e[m]=!0,n.exports=Object.create||function(T,U){var $;return T!==null?(x[p]=t(T),$=new x,x[p]=null,$[m]=T):$=D(),U===void 0?$:o.f($,U)}},2041:(n,c,r)=>{var t=r(76986),o=r(30774),a=r(99051),e=r(86347),s=r(11884),i=r(75070);c.f=t&&!o?Object.defineProperties:function(f,d){e(f);for(var p=s(d),g=i(d),m=g.length,x=0,P;m>x;)a.f(f,P=g[x++],p[P]);return f}},99051:(n,c,r)=>{var t=r(76986),o=r(74690),a=r(30774),e=r(86347),s=r(47568),i=TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",g="writable";c.f=t?a?function(x,P,R){if(e(x),P=s(P),e(R),typeof x=="function"&&P==="prototype"&&"value"in R&&g in R&&!R[g]){var L=f(x,P);L&&L[g]&&(x[P]=R.value,R={configurable:p in R?R[p]:L[p],enumerable:d in R?R[d]:L[d],writable:!1})}return l(x,P,R)}:l:function(x,P,R){if(e(x),P=s(P),e(R),o)try{return l(x,P,R)}catch{}if("get"in R||"set"in R)throw i("Accessors not supported");return"value"in R&&(x[P]=R.value),x}},80381:(n,c,r)=>{var t=r(76986),o=r(71970),a=r(53749),e=r(99829),s=r(11884),i=r(47568),l=r(85831),f=r(74690),d=Object.getOwnPropertyDescriptor;c.f=t?d:function(g,m){if(g=s(g),m=i(m),f)try{return d(g,m)}catch{}if(l(g,m))return e(!o(a.f,g,m),g[m])}},6099:(n,c,r)=>{var t=r(86360),o=r(68671),a=o.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return t(s,a)}},54207:(n,c)=>{c.f=Object.getOwnPropertySymbols},74972:(n,c,r)=>{var t=r(85831),o=r(37235),a=r(72296),e=r(41506),s=r(40328),i=e("IE_PROTO"),l=Object,f=l.prototype;n.exports=s?l.getPrototypeOf:function(d){var p=a(d);if(t(p,i))return p[i];var g=p.constructor;return o(g)&&p instanceof g?g.prototype:p instanceof l?f:null}},56471:(n,c,r)=>{var t=r(29027);n.exports=t({}.isPrototypeOf)},86360:(n,c,r)=>{var t=r(29027),o=r(85831),a=r(11884),e=r(10752).indexOf,s=r(33804),i=t([].push);n.exports=function(l,f){var d=a(l),p=0,g=[],m;for(m in d)!o(s,m)&&o(d,m)&&i(g,m);for(;f.length>p;)o(d,m=f[p++])&&(~e(g,m)||i(g,m));return g}},75070:(n,c,r)=>{var t=r(86360),o=r(68671);n.exports=Object.keys||function(e){return t(e,o)}},53749:(n,c)=>{"use strict";var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,o=t&&!r.call({1:2},1);c.f=o?function(e){var s=t(this,e);return!!s&&s.enumerable}:r},90331:(n,c,r)=>{var t=r(12352),o=r(86347),a=r(87725);n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,s={},i;try{i=t(Object.prototype,"__proto__","set"),i(s,[]),e=s instanceof Array}catch{}return function(f,d){return o(f),a(d),e?i(f,d):f.__proto__=d,f}}():void 0)},97963:(n,c,r)=>{var t=r(71970),o=r(37235),a=r(82951),e=TypeError;n.exports=function(s,i){var l,f;if(i==="string"&&o(l=s.toString)&&!a(f=t(l,s))||o(l=s.valueOf)&&!a(f=t(l,s))||i!=="string"&&o(l=s.toString)&&!a(f=t(l,s)))return f;throw e("Can't convert object to primitive value")}},42231:(n,c,r)=>{var t=r(49023),o=r(29027),a=r(6099),e=r(54207),s=r(86347),i=o([].concat);n.exports=t("Reflect","ownKeys")||function(f){var d=a.f(s(f)),p=e.f;return p?i(d,p(f)):d}},41537:(n,c,r)=>{var t=r(80376);n.exports=t},88224:(n,c,r)=>{var t=r(51246),o=TypeError;n.exports=function(a){if(t(a))throw o("Can't call method on "+a);return a}},65746:(n,c,r)=>{var t=r(99051).f,o=r(85831),a=r(23967),e=a("toStringTag");n.exports=function(s,i,l){s&&!l&&(s=s.prototype),s&&!o(s,e)&&t(s,e,{configurable:!0,value:i})}},41506:(n,c,r)=>{var t=r(54377),o=r(73380),a=t("keys");n.exports=function(e){return a[e]||(a[e]=o(e))}},58797:(n,c,r)=>{var t=r(80376),o=r(8108),a="__core-js_shared__",e=t[a]||o(a,{});n.exports=e},54377:(n,c,r)=>{var t=r(68264),o=r(58797);(n.exports=function(a,e){return o[a]||(o[a]=e!==void 0?e:{})})("versions",[]).push({version:"3.29.1",mode:t?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},80273:(n,c,r)=>{var t=r(29027),o=r(11835),a=r(72100),e=r(88224),s=t("".charAt),i=t("".charCodeAt),l=t("".slice),f=function(d){return function(p,g){var m=a(e(p)),x=o(g),P=m.length,R,L;return x<0||x>=P?d?"":void 0:(R=i(m,x),R<55296||R>56319||x+1===P||(L=i(m,x+1))<56320||L>57343?d?s(m,x):R:d?l(m,x,x+2):(R-55296<<10)+(L-56320)+65536)}};n.exports={codeAt:f(!1),charAt:f(!0)}},70603:(n,c,r)=>{var t=r(29027),o=2147483647,a=36,e=1,s=26,i=38,l=700,f=72,d=128,p="-",g=/[^\0-\u007E]/,m=/[.\u3002\uFF0E\uFF61]/g,x="Overflow: input needs wider integers to process",P=a-e,R=RangeError,L=t(m.exec),C=Math.floor,D=String.fromCharCode,O=t("".charCodeAt),T=t([].join),U=t([].push),$=t("".replace),rr=t("".split),nr=t("".toLowerCase),K=function(N){for(var H=[],G=0,F=N.length;G<F;){var Y=O(N,G++);if(Y>=55296&&Y<=56319&&G<F){var W=O(N,G++);(W&64512)==56320?U(H,((Y&1023)<<10)+(W&1023)+65536):(U(H,Y),G--)}else U(H,Y)}return H},k=function(N){return N+22+75*(N<26)},gr=function(N,H,G){var F=0;for(N=G?C(N/l):N>>1,N+=C(N/H);N>P*s>>1;)N=C(N/P),F+=a;return C(F+(P+1)*N/(N+i))},ir=function(N){var H=[];N=K(N);var G=N.length,F=d,Y=0,W=f,z,V;for(z=0;z<N.length;z++)V=N[z],V<128&&U(H,D(V));var ur=H.length,X=ur;for(ur&&U(H,p);X<G;){var Q=o;for(z=0;z<N.length;z++)V=N[z],V>=F&&V<Q&&(Q=V);var ar=X+1;if(Q-F>C((o-Y)/ar))throw R(x);for(Y+=(Q-F)*ar,F=Q,z=0;z<N.length;z++){if(V=N[z],V<F&&++Y>o)throw R(x);if(V==F){for(var tr=Y,cr=a;;){var hr=cr<=W?e:cr>=W+s?s:cr-W;if(tr<hr)break;var lr=tr-hr,Lr=a-hr;U(H,D(k(hr+lr%Lr))),tr=C(lr/Lr),cr+=a}U(H,D(k(tr))),W=gr(Y,ar,X==ur),Y=0,X++}}Y++,F++}return T(H,"")};n.exports=function(N){var H=[],G=rr($(nr(N),m,"."),"."),F,Y;for(F=0;F<G.length;F++)Y=G[F],U(H,L(g,Y)?"xn--"+ir(Y):Y);return T(H,".")}},52727:(n,c,r)=>{var t=r(81150),o=r(59769);n.exports=!!Object.getOwnPropertySymbols&&!o(function(){var a=Symbol();return!String(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&t&&t<41})},83260:(n,c,r)=>{var t=r(11835),o=Math.max,a=Math.min;n.exports=function(e,s){var i=t(e);return i<0?o(i+s,0):a(i,s)}},11884:(n,c,r)=>{var t=r(60144),o=r(88224);n.exports=function(a){return t(o(a))}},11835:(n,c,r)=>{var t=r(79498);n.exports=function(o){var a=+o;return a!==a||a===0?0:t(a)}},65346:(n,c,r)=>{var t=r(11835),o=Math.min;n.exports=function(a){return a>0?o(t(a),9007199254740991):0}},72296:(n,c,r)=>{var t=r(88224),o=Object;n.exports=function(a){return o(t(a))}},30799:(n,c,r)=>{var t=r(71970),o=r(82951),a=r(47082),e=r(63953),s=r(97963),i=r(23967),l=TypeError,f=i("toPrimitive");n.exports=function(d,p){if(!o(d)||a(d))return d;var g=e(d,f),m;if(g){if(p===void 0&&(p="default"),m=t(g,d,p),!o(m)||a(m))return m;throw l("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(d,p)}},47568:(n,c,r)=>{var t=r(30799),o=r(47082);n.exports=function(a){var e=t(a,"string");return o(e)?e:e+""}},65727:(n,c,r)=>{var t=r(23967),o=t("toStringTag"),a={};a[o]="z",n.exports=String(a)==="[object z]"},72100:(n,c,r)=>{var t=r(95032),o=String;n.exports=function(a){if(t(a)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o(a)}},22734:n=>{var c=String;n.exports=function(r){try{return c(r)}catch{return"Object"}}},73380:(n,c,r)=>{var t=r(29027),o=0,a=Math.random(),e=t(1 .toString);n.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+e(++o+a,36)}},9269:(n,c,r)=>{var t=r(59769),o=r(23967),a=r(76986),e=r(68264),s=o("iterator");n.exports=!t(function(){var i=new URL("b?a=1&b=2&c=3","http://a"),l=i.searchParams,f="";return i.pathname="c%20d",l.forEach(function(d,p){l.delete("b"),f+=p+d}),e&&!i.toJSON||!l.size&&(e||!a)||!l.sort||i.href!=="http://a/c%20d?a=1&c=3"||l.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!l[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("http://x",void 0).host!=="x"})},19366:(n,c,r)=>{var t=r(52727);n.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},30774:(n,c,r)=>{var t=r(76986),o=r(59769);n.exports=t&&o(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},31238:n=>{var c=TypeError;n.exports=function(r,t){if(r<t)throw c("Not enough arguments");return r}},63545:(n,c,r)=>{var t=r(80376),o=r(37235),a=t.WeakMap;n.exports=o(a)&&/native code/.test(String(a))},23967:(n,c,r)=>{var t=r(80376),o=r(54377),a=r(85831),e=r(73380),s=r(52727),i=r(19366),l=t.Symbol,f=o("wks"),d=i?l.for||l:l&&l.withoutSetter||e;n.exports=function(p){return a(f,p)||(f[p]=s&&a(l,p)?l[p]:d("Symbol."+p)),f[p]}},46861:(n,c,r)=>{"use strict";var t=r(11884),o=r(84102),a=r(90857),e=r(92569),s=r(99051).f,i=r(48710),l=r(9401),f=r(68264),d=r(76986),p="Array Iterator",g=e.set,m=e.getterFor(p);n.exports=i(Array,"Array",function(P,R){g(this,{type:p,target:t(P),index:0,kind:R})},function(){var P=m(this),R=P.target,L=P.kind,C=P.index++;return!R||C>=R.length?(P.target=void 0,l(void 0,!0)):L=="keys"?l(C,!1):L=="values"?l(R[C],!1):l([C,R[C]],!1)},"values");var x=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!f&&d&&x.name!=="values")try{s(x,"name",{value:"values"})}catch{}},19711:(n,c,r)=>{"use strict";var t=r(80273).charAt,o=r(72100),a=r(92569),e=r(48710),s=r(9401),i="String Iterator",l=a.set,f=a.getterFor(i);e(String,"String",function(d){l(this,{type:i,string:o(d),index:0})},function(){var p=f(this),g=p.string,m=p.index,x;return m>=g.length?s(void 0,!0):(x=t(g,m),p.index+=x.length,s(x,!1))})},16321:(n,c,r)=>{"use strict";r(46861);var t=r(59401),o=r(80376),a=r(71970),e=r(29027),s=r(76986),i=r(9269),l=r(62072),f=r(16317),d=r(64266),p=r(65746),g=r(21811),m=r(92569),x=r(61507),P=r(37235),R=r(85831),L=r(58495),C=r(95032),D=r(86347),O=r(82951),T=r(72100),U=r(36101),$=r(99829),rr=r(53401),nr=r(30205),K=r(31238),k=r(23967),gr=r(5515),ir=k("iterator"),N="URLSearchParams",H=N+"Iterator",G=m.set,F=m.getterFor(N),Y=m.getterFor(H),W=Object.getOwnPropertyDescriptor,z=function(E){if(!s)return o[E];var b=W(o,E);return b&&b.value},V=z("fetch"),ur=z("Request"),X=z("Headers"),Q=ur&&ur.prototype,ar=X&&X.prototype,tr=o.RegExp,cr=o.TypeError,hr=o.decodeURIComponent,lr=o.encodeURIComponent,Lr=e("".charAt),Br=e([].join),Ir=e([].push),Cr=e("".replace),Jr=e([].shift),Hr=e([].splice),Gr=e("".split),$r=e("".slice),Xr=/\+/g,zr=Array(4),Qr=function(E){return zr[E-1]||(zr[E-1]=tr("((?:%[\\da-f]{2}){"+E+"})","gi"))},Zr=function(E){try{return hr(E)}catch{return E}},Kr=function(E){var b=Cr(E,Xr," "),j=4;try{return hr(b)}catch{for(;j;)b=Cr(b,Qr(j--),Zr);return b}},sr=/[!'()~]|%20/g,kr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},qr=function(E){return kr[E]},Yr=function(E){return Cr(lr(E),sr,qr)},Or=g(function(b,j){G(this,{type:H,iterator:rr(F(b).entries),kind:j})},"Iterator",function(){var b=Y(this),j=b.kind,M=b.iterator.next(),B=M.value;return M.done||(M.value=j==="keys"?B.key:j==="values"?B.value:[B.key,B.value]),M},!0),Ur=function(E){this.entries=[],this.url=null,E!==void 0&&(O(E)?this.parseObject(E):this.parseQuery(typeof E=="string"?Lr(E,0)==="?"?$r(E,1):E:T(E)))};Ur.prototype={type:N,bindURL:function(E){this.url=E,this.update()},parseObject:function(E){var b=nr(E),j,M,B,J,mr,Ar,pr;if(b)for(j=rr(E,b),M=j.next;!(B=a(M,j)).done;){if(J=rr(D(B.value)),mr=J.next,(Ar=a(mr,J)).done||(pr=a(mr,J)).done||!a(mr,J).done)throw cr("Expected sequence with length 2");Ir(this.entries,{key:T(Ar.value),value:T(pr.value)})}else for(var Sr in E)R(E,Sr)&&Ir(this.entries,{key:Sr,value:T(E[Sr])})},parseQuery:function(E){if(E)for(var b=Gr(E,"&"),j=0,M,B;j<b.length;)M=b[j++],M.length&&(B=Gr(M,"="),Ir(this.entries,{key:Kr(Jr(B)),value:Kr(Br(B,"="))}))},serialize:function(){for(var E=this.entries,b=[],j=0,M;j<E.length;)M=E[j++],Ir(b,Yr(M.key)+"="+Yr(M.value));return Br(b,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var br=function(){x(this,Pr);var b=arguments.length>0?arguments[0]:void 0,j=G(this,new Ur(b));s||(this.length=j.entries.length)},Pr=br.prototype;if(d(Pr,{append:function(b,j){K(arguments.length,2);var M=F(this);Ir(M.entries,{key:T(b),value:T(j)}),s||this.length++,M.updateURL()},delete:function(E){K(arguments.length,1);for(var b=F(this),j=b.entries,M=T(E),B=0;B<j.length;)j[B].key===M?Hr(j,B,1):B++;s||(this.length=j.length),b.updateURL()},get:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=0;B<j.length;B++)if(j[B].key===M)return j[B].value;return null},getAll:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=[],J=0;J<j.length;J++)j[J].key===M&&Ir(B,j[J].value);return B},has:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=0;B<j.length;)if(j[B++].key===M)return!0;return!1},set:function(b,j){K(arguments.length,1);for(var M=F(this),B=M.entries,J=!1,mr=T(b),Ar=T(j),pr=0,Sr;pr<B.length;pr++)Sr=B[pr],Sr.key===mr&&(J?Hr(B,pr--,1):(J=!0,Sr.value=Ar));J||Ir(B,{key:mr,value:Ar}),s||(this.length=B.length),M.updateURL()},sort:function(){var b=F(this);gr(b.entries,function(j,M){return j.key>M.key?1:-1}),b.updateURL()},forEach:function(b){for(var j=F(this).entries,M=L(b,arguments.length>1?arguments[1]:void 0),B=0,J;B<j.length;)J=j[B++],M(J.value,J.key,this)},keys:function(){return new Or(this,"keys")},values:function(){return new Or(this,"values")},entries:function(){return new Or(this,"entries")}},{enumerable:!0}),l(Pr,ir,Pr.entries,{name:"entries"}),l(Pr,"toString",function(){return F(this).serialize()},{enumerable:!0}),s&&f(Pr,"size",{get:function(){return F(this).entries.length},configurable:!0,enumerable:!0}),p(br,N),t({global:!0,constructor:!0,forced:!i},{URLSearchParams:br}),!i&&P(X)){var Mr=e(ar.has),yr=e(ar.set),jr=function(E){if(O(E)){var b=E.body,j;if(C(b)===N)return j=E.headers?new X(E.headers):new X,Mr(j,"content-type")||yr(j,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),U(E,{body:$(0,T(b)),headers:$(0,j)})}return E};if(P(V)&&t({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(b){return V(b,arguments.length>1?jr(arguments[1]):{})}}),P(ur)){var Rr=function(b){return x(this,Q),new ur(b,arguments.length>1?jr(arguments[1]):{})};Q.constructor=Rr,Rr.prototype=Q,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rr})}}n.exports={URLSearchParams:br,getState:F}},86337:(n,c,r)=>{r(16321)},97138:(n,c,r)=>{"use strict";var t=r(76986),o=r(29027),a=r(16317),e=URLSearchParams.prototype,s=o(e.forEach);t&&!("size"in e)&&a(e,"size",{get:function(){var l=0;return s(this,function(){l++}),l},configurable:!0,enumerable:!0})},6217:(n,c,r)=>{"use strict";r(19711);var t=r(59401),o=r(76986),a=r(9269),e=r(80376),s=r(58495),i=r(29027),l=r(62072),f=r(16317),d=r(61507),p=r(85831),g=r(55993),m=r(65335),x=r(17401),P=r(80273).codeAt,R=r(70603),L=r(72100),C=r(65746),D=r(31238),O=r(16321),T=r(92569),U=T.set,$=T.getterFor("URL"),rr=O.URLSearchParams,nr=O.getState,K=e.URL,k=e.TypeError,gr=e.parseInt,ir=Math.floor,N=Math.pow,H=i("".charAt),G=i(/./.exec),F=i([].join),Y=i(1 .toString),W=i([].pop),z=i([].push),V=i("".replace),ur=i([].shift),X=i("".split),Q=i("".slice),ar=i("".toLowerCase),tr=i([].unshift),cr="Invalid authority",hr="Invalid scheme",lr="Invalid host",Lr="Invalid port",Br=/[a-z]/i,Ir=/[\d+-.a-z]/i,Cr=/\d/,Jr=/^0x/i,Hr=/^[0-7]+$/,Gr=/^\d+$/,$r=/^[\da-f]+$/i,Xr=/[\0\t\n\r #%/:<>?@[\\\]^|]/,zr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Qr=/^[\u0000-\u0020]+/,Zr=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kr=/[\t\n\r]/g,sr,kr=function(v){var I=X(v,"."),h,u,y,w,A,Z,q;if(I.length&&I[I.length-1]==""&&I.length--,h=I.length,h>4)return v;for(u=[],y=0;y<h;y++){if(w=I[y],w=="")return v;if(A=10,w.length>1&&H(w,0)=="0"&&(A=G(Jr,w)?16:8,w=Q(w,A==8?1:2)),w==="")Z=0;else{if(!G(A==10?Gr:A==8?Hr:$r,w))return v;Z=gr(w,A)}z(u,Z)}for(y=0;y<h;y++)if(Z=u[y],y==h-1){if(Z>=N(256,5-h))return null}else if(Z>255)return null;for(q=W(u),y=0;y<u.length;y++)q+=u[y]*N(256,3-y);return q},qr=function(v){var I=[0,0,0,0,0,0,0,0],h=0,u=null,y=0,w,A,Z,q,er,fr,S,_=function(){return H(v,y)};if(_()==":"){if(H(v,1)!=":")return;y+=2,h++,u=h}for(;_();){if(h==8)return;if(_()==":"){if(u!==null)return;y++,h++,u=h;continue}for(w=A=0;A<4&&G($r,_());)w=w*16+gr(_(),16),y++,A++;if(_()=="."){if(A==0||(y-=A,h>6))return;for(Z=0;_();){if(q=null,Z>0)if(_()=="."&&Z<4)y++;else return;if(!G(Cr,_()))return;for(;G(Cr,_());){if(er=gr(_(),10),q===null)q=er;else{if(q==0)return;q=q*10+er}if(q>255)return;y++}I[h]=I[h]*256+q,Z++,(Z==2||Z==4)&&h++}if(Z!=4)return;break}else if(_()==":"){if(y++,!_())return}else if(_())return;I[h++]=w}if(u!==null)for(fr=h-u,h=7;h!=0&&fr>0;)S=I[h],I[h--]=I[u+fr-1],I[u+--fr]=S;else if(h!=8)return;return I},Yr=function(v){for(var I=null,h=1,u=null,y=0,w=0;w<8;w++)v[w]!==0?(y>h&&(I=u,h=y),u=null,y=0):(u===null&&(u=w),++y);return y>h&&(I=u,h=y),I},Or=function(v){var I,h,u,y;if(typeof v=="number"){for(I=[],h=0;h<4;h++)tr(I,v%256),v=ir(v/256);return F(I,".")}else if(typeof v=="object"){for(I="",u=Yr(v),h=0;h<8;h++)y&&v[h]===0||(y&&(y=!1),u===h?(I+=h?":":"::",y=!0):(I+=Y(v[h],16),h<7&&(I+=":")));return"["+I+"]"}return v},Ur={},br=g({},Ur,{" ":1,'"':1,"<":1,">":1,"`":1}),Pr=g({},br,{"#":1,"?":1,"{":1,"}":1}),Mr=g({},Pr,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),yr=function(v,I){var h=P(v,0);return h>32&&h<127&&!p(I,v)?v:encodeURIComponent(v)},jr={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Rr=function(v,I){var h;return v.length==2&&G(Br,H(v,0))&&((h=H(v,1))==":"||!I&&h=="|")},E=function(v){var I;return v.length>1&&Rr(Q(v,0,2))&&(v.length==2||(I=H(v,2))==="/"||I==="\\"||I==="?"||I==="#")},b=function(v){return v==="."||ar(v)==="%2e"},j=function(v){return v=ar(v),v===".."||v==="%2e."||v===".%2e"||v==="%2e%2e"},M={},B={},J={},mr={},Ar={},pr={},Sr={},lt={},Vr={},Wr={},_r={},rt={},tt={},et={},vt={},nt={},Nr={},xr={},ft={},wr={},Tr={},at=function(v,I,h){var u=L(v),y,w,A;if(I){if(w=this.parse(u),w)throw k(w);this.searchParams=null}else{if(h!==void 0&&(y=new at(h,!0)),w=this.parse(u,null,y),w)throw k(w);A=nr(new rr),A.bindURL(this),this.searchParams=A}};at.prototype={type:"URL",parse:function(v,I,h){var u=this,y=I||M,w=0,A="",Z=!1,q=!1,er=!1,fr,S,_,Er;for(v=L(v),I||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,v=V(v,Qr,""),v=V(v,Zr,"$1")),v=V(v,Kr,""),fr=m(v);w<=fr.length;){switch(S=fr[w],y){case M:if(S&&G(Br,S))A+=ar(S),y=B;else{if(I)return hr;y=J;continue}break;case B:if(S&&(G(Ir,S)||S=="+"||S=="-"||S=="."))A+=ar(S);else if(S==":"){if(I&&(u.isSpecial()!=p(jr,A)||A=="file"&&(u.includesCredentials()||u.port!==null)||u.scheme=="file"&&!u.host))return;if(u.scheme=A,I){u.isSpecial()&&jr[u.scheme]==u.port&&(u.port=null);return}A="",u.scheme=="file"?y=et:u.isSpecial()&&h&&h.scheme==u.scheme?y=mr:u.isSpecial()?y=lt:fr[w+1]=="/"?(y=Ar,w++):(u.cannotBeABaseURL=!0,z(u.path,""),y=ft)}else{if(I)return hr;A="",y=J,w=0;continue}break;case J:if(!h||h.cannotBeABaseURL&&S!="#")return hr;if(h.cannotBeABaseURL&&S=="#"){u.scheme=h.scheme,u.path=x(h.path),u.query=h.query,u.fragment="",u.cannotBeABaseURL=!0,y=Tr;break}y=h.scheme=="file"?et:pr;continue;case mr:if(S=="/"&&fr[w+1]=="/")y=Vr,w++;else{y=pr;continue}break;case Ar:if(S=="/"){y=Wr;break}else{y=xr;continue}case pr:if(u.scheme=h.scheme,S==sr)u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query=h.query;else if(S=="/"||S=="\\"&&u.isSpecial())y=Sr;else if(S=="?")u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query="",y=wr;else if(S=="#")u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query=h.query,u.fragment="",y=Tr;else{u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.path.length--,y=xr;continue}break;case Sr:if(u.isSpecial()&&(S=="/"||S=="\\"))y=Vr;else if(S=="/")y=Wr;else{u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,y=xr;continue}break;case lt:if(y=Vr,S!="/"||H(A,w+1)!="/")continue;w++;break;case Vr:if(S!="/"&&S!="\\"){y=Wr;continue}break;case Wr:if(S=="@"){Z&&(A="%40"+A),Z=!0,_=m(A);for(var ot=0;ot<_.length;ot++){var pt=_[ot];if(pt==":"&&!er){er=!0;continue}var dt=yr(pt,Mr);er?u.password+=dt:u.username+=dt}A=""}else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(Z&&A=="")return cr;w-=m(A).length+1,A="",y=_r}else A+=S;break;case _r:case rt:if(I&&u.scheme=="file"){y=nt;continue}else if(S==":"&&!q){if(A=="")return lr;if(Er=u.parseHost(A),Er)return Er;if(A="",y=tt,I==rt)return}else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(u.isSpecial()&&A=="")return lr;if(I&&A==""&&(u.includesCredentials()||u.port!==null))return;if(Er=u.parseHost(A),Er)return Er;if(A="",y=Nr,I)return;continue}else S=="["?q=!0:S=="]"&&(q=!1),A+=S;break;case tt:if(G(Cr,S))A+=S;else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()||I){if(A!=""){var st=gr(A,10);if(st>65535)return Lr;u.port=u.isSpecial()&&st===jr[u.scheme]?null:st,A=""}if(I)return;y=Nr;continue}else return Lr;break;case et:if(u.scheme="file",S=="/"||S=="\\")y=vt;else if(h&&h.scheme=="file")if(S==sr)u.host=h.host,u.path=x(h.path),u.query=h.query;else if(S=="?")u.host=h.host,u.path=x(h.path),u.query="",y=wr;else if(S=="#")u.host=h.host,u.path=x(h.path),u.query=h.query,u.fragment="",y=Tr;else{E(F(x(fr,w),""))||(u.host=h.host,u.path=x(h.path),u.shortenPath()),y=xr;continue}else{y=xr;continue}break;case vt:if(S=="/"||S=="\\"){y=nt;break}h&&h.scheme=="file"&&!E(F(x(fr,w),""))&&(Rr(h.path[0],!0)?z(u.path,h.path[0]):u.host=h.host),y=xr;continue;case nt:if(S==sr||S=="/"||S=="\\"||S=="?"||S=="#"){if(!I&&Rr(A))y=xr;else if(A==""){if(u.host="",I)return;y=Nr}else{if(Er=u.parseHost(A),Er)return Er;if(u.host=="localhost"&&(u.host=""),I)return;A="",y=Nr}continue}else A+=S;break;case Nr:if(u.isSpecial()){if(y=xr,S!="/"&&S!="\\")continue}else if(!I&&S=="?")u.query="",y=wr;else if(!I&&S=="#")u.fragment="",y=Tr;else if(S!=sr&&(y=xr,S!="/"))continue;break;case xr:if(S==sr||S=="/"||S=="\\"&&u.isSpecial()||!I&&(S=="?"||S=="#")){if(j(A)?(u.shortenPath(),S!="/"&&!(S=="\\"&&u.isSpecial())&&z(u.path,"")):b(A)?S!="/"&&!(S=="\\"&&u.isSpecial())&&z(u.path,""):(u.scheme=="file"&&!u.path.length&&Rr(A)&&(u.host&&(u.host=""),A=H(A,0)+":"),z(u.path,A)),A="",u.scheme=="file"&&(S==sr||S=="?"||S=="#"))for(;u.path.length>1&&u.path[0]==="";)ur(u.path);S=="?"?(u.query="",y=wr):S=="#"&&(u.fragment="",y=Tr)}else A+=yr(S,Pr);break;case ft:S=="?"?(u.query="",y=wr):S=="#"?(u.fragment="",y=Tr):S!=sr&&(u.path[0]+=yr(S,Ur));break;case wr:!I&&S=="#"?(u.fragment="",y=Tr):S!=sr&&(S=="'"&&u.isSpecial()?u.query+="%27":S=="#"?u.query+="%23":u.query+=yr(S,Ur));break;case Tr:S!=sr&&(u.fragment+=yr(S,br));break}w++}},parseHost:function(v){var I,h,u;if(H(v,0)=="["){if(H(v,v.length-1)!="]"||(I=qr(Q(v,1,-1)),!I))return lr;this.host=I}else if(this.isSpecial()){if(v=R(v),G(Xr,v)||(I=kr(v),I===null))return lr;this.host=I}else{if(G(zr,v))return lr;for(I="",h=m(v),u=0;u<h.length;u++)I+=yr(h[u],Ur);this.host=I}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme=="file"},includesCredentials:function(){return this.username!=""||this.password!=""},isSpecial:function(){return p(jr,this.scheme)},shortenPath:function(){var v=this.path,I=v.length;I&&(this.scheme!="file"||I!=1||!Rr(v[0],!0))&&v.length--},serialize:function(){var v=this,I=v.scheme,h=v.username,u=v.password,y=v.host,w=v.port,A=v.path,Z=v.query,q=v.fragment,er=I+":";return y!==null?(er+="//",v.includesCredentials()&&(er+=h+(u?":"+u:"")+"@"),er+=Or(y),w!==null&&(er+=":"+w)):I=="file"&&(er+="//"),er+=v.cannotBeABaseURL?A[0]:A.length?"/"+F(A,"/"):"",Z!==null&&(er+="?"+Z),q!==null&&(er+="#"+q),er},setHref:function(v){var I=this.parse(v);if(I)throw k(I);this.searchParams.update()},getOrigin:function(){var v=this.scheme,I=this.port;if(v=="blob")try{return new Fr(v.path[0]).origin}catch{return"null"}return v=="file"||!this.isSpecial()?"null":v+"://"+Or(this.host)+(I!==null?":"+I:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(v){this.parse(L(v)+":",M)},getUsername:function(){return this.username},setUsername:function(v){var I=m(L(v));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var h=0;h<I.length;h++)this.username+=yr(I[h],Mr)}},getPassword:function(){return this.password},setPassword:function(v){var I=m(L(v));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var h=0;h<I.length;h++)this.password+=yr(I[h],Mr)}},getHost:function(){var v=this.host,I=this.port;return v===null?"":I===null?Or(v):Or(v)+":"+I},setHost:function(v){this.cannotBeABaseURL||this.parse(v,_r)},getHostname:function(){var v=this.host;return v===null?"":Or(v)},setHostname:function(v){this.cannotBeABaseURL||this.parse(v,rt)},getPort:function(){var v=this.port;return v===null?"":L(v)},setPort:function(v){this.cannotHaveUsernamePasswordPort()||(v=L(v),v==""?this.port=null:this.parse(v,tt))},getPathname:function(){var v=this.path;return this.cannotBeABaseURL?v[0]:v.length?"/"+F(v,"/"):""},setPathname:function(v){this.cannotBeABaseURL||(this.path=[],this.parse(v,Nr))},getSearch:function(){var v=this.query;return v?"?"+v:""},setSearch:function(v){v=L(v),v==""?this.query=null:(H(v,0)=="?"&&(v=Q(v,1)),this.query="",this.parse(v,wr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var v=this.fragment;return v?"#"+v:""},setHash:function(v){if(v=L(v),v==""){this.fragment=null;return}H(v,0)=="#"&&(v=Q(v,1)),this.fragment="",this.parse(v,Tr)},update:function(){this.query=this.searchParams.serialize()||null}};var Fr=function(I){var h=d(this,or),u=D(arguments.length,1)>1?arguments[1]:void 0,y=U(h,new at(I,!1,u));o||(h.href=y.serialize(),h.origin=y.getOrigin(),h.protocol=y.getProtocol(),h.username=y.getUsername(),h.password=y.getPassword(),h.host=y.getHost(),h.hostname=y.getHostname(),h.port=y.getPort(),h.pathname=y.getPathname(),h.search=y.getSearch(),h.searchParams=y.getSearchParams(),h.hash=y.getHash())},or=Fr.prototype,vr=function(v,I){return{get:function(){return $(this)[v]()},set:I&&function(h){return $(this)[I](h)},configurable:!0,enumerable:!0}};if(o&&(f(or,"href",vr("serialize","setHref")),f(or,"origin",vr("getOrigin")),f(or,"protocol",vr("getProtocol","setProtocol")),f(or,"username",vr("getUsername","setUsername")),f(or,"password",vr("getPassword","setPassword")),f(or,"host",vr("getHost","setHost")),f(or,"hostname",vr("getHostname","setHostname")),f(or,"port",vr("getPort","setPort")),f(or,"pathname",vr("getPathname","setPathname")),f(or,"search",vr("getSearch","setSearch")),f(or,"searchParams",vr("getSearchParams")),f(or,"hash",vr("getHash","setHash"))),l(or,"toJSON",function(){return $(this).serialize()},{enumerable:!0}),l(or,"toString",function(){return $(this).serialize()},{enumerable:!0}),K){var ct=K.createObjectURL,ht=K.revokeObjectURL;ct&&l(Fr,"createObjectURL",s(ct,K)),ht&&l(Fr,"revokeObjectURL",s(ht,K))}C(Fr,"URL"),t({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Fr})},42294:(n,c,r)=>{r(6217)},5721:(n,c,r)=>{"use strict";var t=r(59401),o=r(71970);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},77303:(n,c,r)=>{r(42294),r(5721),r(86337),r(97138);var t=r(41537);n.exports=t.URL}},Dr={};function dr(n){var c=Dr[n];if(c!==void 0)return c.exports;var r=Dr[n]={exports:{}};return it[n](r,r.exports,dr),r.exports}dr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),dr.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var ut={};return(()=>{"use strict";dr.r(ut);var n=dr(77303);const c="Something went wrong, please, try again.";function r(e){return e&&e.replace(/=+$/,"")}function t(e,s){return!!e&&!!s&&r(e)===r(s)}function o(e){let s;if(/code|token|error/.test(window.location.hash)?s=window.location.hash.substring(1):s=location.search.substring(1),!s)throw console.error("No query string in OAuth 2 redirect URL"),new Error(c);const i=new URLSearchParams(s),l=i.get("access_token"),f=i.get("code"),d=i.get("token_type"),p=i.get("expires_in"),g=i.get("state"),m=i.get("error"),x=i.get("error_description")||c;if(m)throw new Error(x);if(!t(g,e?.state))throw new Error("Outdated OAuth2 state");if(e?.flow==="implicit"){if(!l)throw new Error(`Your OAuth2 authentication service provider redirected you without an "access_token".
|
|
7
7
|
Please, try again or make sure your OAuth2 settings are correct.`);if(!d)throw new Error(`Your OAuth2 authentication service provider redirected you without a "token_type".
|
|
8
8
|
Please, try again or make sure your OAuth2 settings are correct.`);e?.successCallback({access_token:l,token_type:d,expires_in:p,auth_code:""})}if(e?.flow==="authorizationCode"){if(!f)throw new Error(`Your OAuth2 authentication service provider redirected you without authorization "code".
|