"use strict";exports.id=1807,exports.ids=[1807],exports.modules={71807:(a,b,c)=>{c.d(b,{fetchOpenApiResults:()=>g});var d=c(78579),e=c(71533),f=c(27591);let g=async(a,b,g)=>{let{generateFetchOptions:h}=await Promise.resolve().then(c.bind(c,89005)),i=h(a,g),j=i.queryParams?.toString(),k=a.url;j&&(k=`${k}?${j}`);let l=(0,f.Ak)(),m=await (0,d.Yl)({apiUrl:k,requestOptions:i.requestOptions,debugMeta:b});if(m.error)return(0,e.fe)([{language:"500",code:`${m.error[0]||"Something went wrong"}`,id:l}]);if("200"===m.apiStatus)return(0,e.fe)([{language:`${m.apiStatus}`,code:m.apiResponse,id:l}]);{let b=`${m.apiStatus}`,c=m.apiResponse?null:a.responses?.find(a=>a.statusCode===b);return(0,e.fe)([{language:b,code:`${m.apiResponse||c?.description||"Something went wrong"}`,id:l}])}}}};