webroot.openapi-viewer.js.chunk-45efbef8-legacy.87a975ea.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartvillage-platform Show documentation
Show all versions of smartvillage-platform Show documentation
Red Hat Global Social Innovation Program is partnering with Boston University and Smarta Byar in order to collaborate on creating a global and open research platform allowing researchers to study what social sustainability means by using a digital twin of Veberöd, Sweden as the test village, supported by Smarta Byar. The goal of this collaboration is to build the open source technological infrastructure so that researchers can collaborate on this platform effectively to study mobility, public health, sustainability among other study areas to ultimately help define better the link between well being and eco-smart cities.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45efbef8"],{"044b":function(e,t){function s(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function n(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&s(e.slice(0,0))}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh
* @license MIT
*/
e.exports=function(e){return null!=e&&(s(e)||n(e)||!!e._isBuffer)}},"0a06":function(e,t,s){"use strict";var n=s("2444"),r=s("c532"),a=s("f6b4"),o=s("5270");function i(e){this.defaults=e,this.interceptors={request:new a,response:new a}}i.prototype.request=function(e){"string"===typeof e&&(e=r.merge({url:arguments[0]},arguments[1])),e=r.merge(n,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[o,void 0],s=Promise.resolve(e);this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});while(t.length)s=s.then(t.shift(),t.shift());return s},r.forEach(["delete","get","head","options"],function(e){i.prototype[e]=function(t,s){return this.request(r.merge(s||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,s,n){return this.request(r.merge(n||{},{method:e,url:t,data:s}))}}),e.exports=i},"0df6":function(e,t,s){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"1d2b":function(e,t,s){"use strict";e.exports=function(e,t){return function(){for(var s=new Array(arguments.length),n=0;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(e){c.headers[e]={}}),n.forEach(["post","put","patch"],function(e){c.headers[e]=n.merge(a)}),e.exports=c}).call(this,s("4362"))},"2d83":function(e,t,s){"use strict";var n=s("387f");e.exports=function(e,t,s,r,a){var o=new Error(e);return n(o,t,s,r,a)}},"2e67":function(e,t,s){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,s){"use strict";var n=s("c532");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,s){if(!t)return e;var a;if(s)a=s(t);else if(n.isURLSearchParams(t))a=t.toString();else{var o=[];n.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(r(t)+"="+r(e))}))}),a=o.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},"387f":function(e,t,s){"use strict";e.exports=function(e,t,s,n,r){return e.config=t,s&&(e.code=s),e.request=n,e.response=r,e}},3934:function(e,t,s){"use strict";var n=s("c532");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");function r(e){var n=e;return t&&(s.setAttribute("href",n),n=s.href),s.setAttribute("href",n),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname}}return e=r(window.location.href),function(t){var s=n.isString(t)?r(t):t;return s.protocol===e.protocol&&s.host===e.host}}():function(){return function(){return!0}}()},"467f":function(e,t,s){"use strict";var n=s("2d83");e.exports=function(e,t,s){var r=s.config.validateStatus;s.status&&r&&!r(s.status)?t(n("Request failed with status code "+s.status,s.config,null,s.request,s)):e(s)}},5270:function(e,t,s){"use strict";var n=s("c532"),r=s("c401"),a=s("2e67"),o=s("2444"),i=s("d925"),c=s("e683");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!i(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]});var t=e.adapter||o.adapter;return t(e).then(function(t){return u(e),t.data=r(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},"5ee2":function(e,t,s){},"7a77":function(e,t,s){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},"7aac":function(e,t,s){"use strict";var n=s("c532");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,s,r,a,o){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(s)&&i.push("expires="+new Date(s).toGMTString()),n.isString(r)&&i.push("path="+r),n.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"8df4":function(e,t,s){"use strict";var n=s("7a77");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var s=this;e(function(e){s.reason||(s.reason=new n(e),t(s.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r(function(t){e=t});return{token:t,cancel:e}},e.exports=r},"9fa6":function(e,t,s){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(){this.message="String contains an invalid character"}function a(e){for(var t,s,a=String(e),o="",i=0,c=n;a.charAt(0|i)||(c="=",i%1);o+=c.charAt(63&t>>8-i%1*8)){if(s=a.charCodeAt(i+=.75),s>255)throw new r;t=t<<8|s}return o}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=a},ac6a:function(e,t,s){for(var n=s("cadf"),r=s("0d58"),a=s("2aba"),o=s("7726"),i=s("32e9"),c=s("84f2"),u=s("2b4c"),p=u("iterator"),l=u("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},m=r(d),h=0;h0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" PATH PARAMETERS")]),s("parameter-inputs",{attrs:{parameters:e.pathParams}})],1):e._e(),e.queryParams.length>0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" QUERY PARAMETERS")]),s("parameter-inputs",{attrs:{parameters:e.queryParams}})],1):e._e(),e.formParams.length>0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" FORM DATA PARAMETERS")]),s("parameter-inputs",{attrs:{parameters:e.formParams,showItputs:!0}})],1):e._e(),void 0!==e.requestBody&&Object.keys(e.requestBody).length>0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" BODY PARAMETERS")]),s("div",{staticClass:"sw-row",staticStyle:{"align-items":"flex-end",padding:"0 8px 2px 0"}},[s("div",{staticClass:"sw-gray-small-text"},[e._v("\n "+e._s(e.requestBody.description)+"\n ")]),s("div",{staticStyle:{flex:"1"}}),s("div",{staticStyle:{position:"relative",top:"35px","min-width":"160px","z-index":"1",display:"flex"}},[1==e.mimeReqCount?s("span",{staticClass:"sw-section-heading",staticStyle:{"line-height":"26px"}},[e._v(" \n "+e._s(e.selectedMimeReqKey)+"\n ")]):e.mimeReqCount>1?s("el-select",{attrs:{size:"medium","popper-class":"sw-small-height-options"},model:{value:e.selectedMimeReqKey,callback:function(t){e.selectedMimeReqKey=t},expression:"selectedMimeReqKey"}},e._l(e.mimeRequestTypes,function(e,t){return s("el-option",{key:t,attrs:{label:t,value:t}})}),1):e._e()],1)]),e.mimeRequestTypes[e.selectedMimeReqKey]?s("el-tabs",{staticClass:"sw-no-tab-header-margin",model:{value:e.requestBodyActiveTab,callback:function(t){e.requestBodyActiveTab=t},expression:"requestBodyActiveTab"}},[s("el-tab-pane",{attrs:{label:"Value",name:"bodyParamExample"}},[e.mimeRequestTypes[e.selectedMimeReqKey].examples[0]?s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.mimeRequestTypes[e.selectedMimeReqKey].examples[0].exampleValue,expression:"mimeRequestTypes[selectedMimeReqKey].examples[0].exampleValue"}],staticClass:"sw-mono-font",staticStyle:{"min-height":"170px"},domProps:{value:e.mimeRequestTypes[e.selectedMimeReqKey].examples[0].exampleValue},on:{input:function(t){t.target.composing||e.$set(e.mimeRequestTypes[e.selectedMimeReqKey].examples[0],"exampleValue",t.target.value)}}}):e._e()]),s("el-tab-pane",{attrs:{label:"Model",name:"bodyParamModel"}},[s("json-tree",{attrs:{path:"/",data:e.mimeRequestTypes[e.selectedMimeReqKey].schemaTree,"display-format":"text"}})],1)],1):e._e()],1):e._e(),e.headerParams.length>0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" HEADER PARAMETERS")]),s("parameter-inputs",{attrs:{parameters:e.headerParams,showItputs:!0}})],1):e._e(),e.cookieParams.length>0?s("div",{staticClass:"sw-section-gap"},[s("div",{staticClass:"sw-section-heading3 sw-gray-text"},[e._v(" COOKIE PARAMETERS")]),s("parameter-inputs",{attrs:{parameters:e.cookieParams,showItputs:!0}})],1):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:e.$store.state.isDevMode,expression:"$store.state.isDevMode"},{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"sw-make-request"},[s("div",{staticClass:"sw-row",staticStyle:{margin:"2px 0"}},[s("button",{staticClass:"sw-btn sw-primary",on:{click:e.onTry}},[e._v(" TRY ")]),e.responseStatusCode?s("div",{class:"sw-response-status "+e.responseStatusCssClass},[e._v("\n "+e._s(e.responseStatusCode)+" : "+e._s(e.responseStatusText)+"\n ")]):e._e(),s("div",{staticStyle:{flex:"1"}}),e.showTextViewer||e.showJsonViewer?s("button",{staticClass:"sw-btn sw-plain",staticStyle:{"margin-right":"5px"},on:{click:e.onClearResponseData}},[e._v(" CLEAR ")]):e._e(),e.showTextViewer||e.showJsonViewer?s("button",{staticClass:"sw-btn sw-plain"},[e._v(" COPY ")]):e._e()]),e.showTextViewer||e.showJsonViewer?s("div",{staticClass:"sw-response-details"},[s("el-tabs",{staticClass:"sw-no-tab-header-margin",model:{value:e.responseDetailsActiveTab,callback:function(t){e.responseDetailsActiveTab=t},expression:"responseDetailsActiveTab"}},[s("el-tab-pane",{attrs:{label:"Response Text",name:"responseData"}},[e.showJsonViewer?s("json-tree",{staticClass:"sw-live-response sw-light-border",attrs:{path:"/",data:e.jsonResponse.data}}):e._e(),e.showTextViewer?s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.jsonRespText,expression:"jsonRespText"}],class:"sw-response-data sw-mono-font "+e.responseStatusCssClass,staticStyle:{"min-height":"175px"},domProps:{value:e.jsonRespText},on:{input:function(t){t.target.composing||(e.jsonRespText=t.target.value)}}}):e._e()],1),s("el-tab-pane",{attrs:{label:"Response Headers",name:"responseHeader"}},[s("json-tree",{staticClass:"sw-light-border",attrs:{path:"/",data:e.responseHeaders}})],1)],1)],1):e._e()])])},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"sw-section-heading1",staticStyle:{display:"flex","align-items":"center"}},[s("i",{staticClass:"el-icon-upload2",staticStyle:{"font-sixe":"16px"}}),s("div",{staticStyle:{"margin-left":"5px"}},[e._v("REQUEST")])])}],a=s("a4bb"),o=s.n(a),i=(s("7f7f"),s("f499")),c=s.n(i),u=s("004a"),p=(s("28a5"),s("7618")),l=(s("ac6a"),s("6762"),s("2fdb"),s("a481"),s("c0d6")),f=s("bc3a"),d=s.n(f);function m(e,t,s,n,r,a,i,c,u){var p=t,f={},m={};s&&s.map(function(e){p=p.replace("{"+e.name+"}",e.example)}),n&&n.map(function(e){e.example&&(f[e.name]=e.example)}),i&&i.map(function(e){e.example&&(m[e.name]=e.example)}),"bearer"===l["a"].state.reqTokenType&&(m["Authorization"]="Bearer "+l["a"].state.reqToken),"basic"===l["a"].state.reqTokenType?m["Authorization"]="Basic "+l["a"].state.reqToken:"apikey"===l["a"].state.reqTokenType&&"header"===l["a"].state.reqSendTokenIn&&(m[l["a"].state.reqHeader]=l["a"].state.reqToken);var y="";if(0===o()(a).length||0===o()(a[r]).length)y="";else if(m["Content-Type"]=r,a[r].examples[0])if(r.toLowerCase().includes("json"))try{y=JSON.parse(a[r].examples[0])}catch(w){y=""}else y=a[r].examples[0];return p=l["a"].state.selectedApiServer.replace(/^\/|\/$/g,"")+"/"+p.replace(/^\/|\/$/g,""),d.a.request({method:e,url:p,params:f,data:y,headers:m,paramsSerializer:function(e){return h(e)}})}function h(e){var t=o()(e),s="";return t.forEach(function(t){var n="object"===Object(p["a"])(e[t]),r=n&&e[t].length>=0;n||(s+="".concat(t,"=").concat(e[t],"&")),n&&r&&e[t].forEach(function(e){s+="".concat(t,"=").concat(e,"&")})}),s?s.slice(0,-1):s}var y=s("b279"),w=s("4efa"),v={props:{method:{type:String},url:{type:String},parameters:{type:[Array,String],default:function(){return[]}},requestBody:{type:Object}},data:function(){return{loading:!1,defaultTreeProps:{children:"children",label:"label"},requestBodyActiveTab:"bodyParamExample",responseDetailsActiveTab:"responseData",pathParams:[],queryParams:[],headerParams:[],formParams:[],cookieParams:[],mimeRequestTypes:{},mimeReqCount:0,selectedMimeReqKey:"",jsonRespText:"",jsonResponse:{data:{},headers:{}},showJsonViewer:!1,showTextViewer:!1,responseStatusCode:"",responseStatusText:"",responseHeaders:{},responseStatusCssClass:""}},methods:{onTry:function(){var e=this;e.loading=!0,this.res=m(this.method,this.url,this.pathParams,this.queryParams,this.selectedMimeReqKey,this.mimeRequestTypes,this.headerParams,this.formParams,this.cookieParams).then(function(t){e.responseStatusCode=t.status,e.responseStatusText=t.statusText,e.responseStatusCssClass="sw-2xx",e.responseHeaders=t.headers,t.request.responseText.length<2e4?(e.showJsonViewer=!0,e.showTextViewer=!1,e.jsonResponse.data=t.data):(e.showJsonViewer=!1,e.showTextViewer=!0,e.jsonRespText=c()(t.data,null,2)),e.loading=!1}).catch(function(t){e.loading=!1,e.showJsonViewer=!1,e.showTextViewer=!0,t.response&&t.response.status?(e.responseStatusCode=t.response.status,e.responseStatusText=t.response.statusText,e.responseStatusCssClass="sw-4xx",e.responseHeaders=t.response.headers,e.jsonRespText=c()(t.response.data,null,2)):(e.responseStatusCode="ERROR",e.responseStatusText=t.message,e.responseStatusCssClass="sw-4xx"),e.loading=!1})},onClearResponseData:function(){this.responseStatusCode="",this.responseStatusText="",this.responseHeaders={},this.jsonRespText="",this.jsonResponse={data:{},headers:{}},this.showJsonViewer=!1,this.showTextViewer=!1}},mounted:function(){var e=this;if(this.parameters.map(function(t){if(t){var s="";"path"===t.in?s="pathParams":"query"===t.in?s="queryParams":"header"===t.in?s="headerParams":"cookie"===t.in?s="cookieParams":"formData"===t.in&&(s="formParams"),e[s]?e[s].push({name:t.name,required:!!t.required&&t.required,description:t.description?t.description:"",schema:t.schema?t.schema:{type:"string"},example:t["x-example"]?t["x-example"]:""}):console.error("Parameter Type is not defined in the vue component: %s",t.in)}}),void 0!==e.requestBody&&o()(e.requestBody.content).length>0){var t=e.requestBody.content;for(var s in t){var n=t[s],r="",a="";try{n.schema=JSON.parse(c()(n.schema,Object(y["e"])()))}catch(i){return void console.error("Unable to resolve circular refs in schema",n.schema)}r=Object(y["f"])(n.schema,{}),a=Object(y["b"])(n.examples,n.example,n.schema,s,"text"),e.$set(e.mimeRequestTypes,s,{examples:a,schemaTree:r}),e.selectedMimeReqKey=s,e.mimeReqCount++}}},components:{ParameterInputs:w["a"],JsonTree:u["a"]}},x=v,g=(s("e1da"),s("2877")),T=Object(g["a"])(x,n,r,!1,null,"cc7e0de4",null);t["default"]=T.exports},b50d:function(e,t,s){"use strict";var n=s("c532"),r=s("467f"),a=s("30b5"),o=s("c345"),i=s("3934"),c=s("2d83"),u="undefined"!==typeof window&&window.btoa&&window.btoa.bind(window)||s("9fa6");e.exports=function(e){return new Promise(function(t,p){var l=e.data,f=e.headers;n.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest,m="onreadystatechange",h=!1;if("undefined"===typeof window||!window.XDomainRequest||"withCredentials"in d||i(e.url)||(d=new window.XDomainRequest,m="onload",h=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var y=e.auth.username||"",w=e.auth.password||"";f.Authorization="Basic "+u(y+":"+w)}if(d.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[m]=function(){if(d&&(4===d.readyState||h)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var s="getAllResponseHeaders"in d?o(d.getAllResponseHeaders()):null,n=e.responseType&&"text"!==e.responseType?d.response:d.responseText,a={data:n,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:s,config:e,request:d};r(t,p,a),d=null}},d.onerror=function(){p(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){p(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var v=s("7aac"),x=(e.withCredentials||i(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;x&&(f[e.xsrfHeaderName]=x)}if("setRequestHeader"in d&&n.forEach(f,function(e,t){"undefined"===typeof l&&"content-type"===t.toLowerCase()?delete f[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(g){if("json"!==e.responseType)throw g}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),p(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},bc3a:function(e,t,s){e.exports=s("cee4")},c345:function(e,t,s){"use strict";var n=s("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,s,a,o={};return e?(n.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),s=n.trim(e.substr(a+1)),t){if(o[t]&&r.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([s]):o[t]?o[t]+", "+s:s}}),o):o}},c401:function(e,t,s){"use strict";var n=s("c532");e.exports=function(e,t,s){return n.forEach(s,function(s){e=s(e,t)}),e}},c532:function(e,t,s){"use strict";var n=s("1d2b"),r=s("044b"),a=Object.prototype.toString;function o(e){return"[object Array]"===a.call(e)}function i(e){return"[object ArrayBuffer]"===a.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function p(e){return"string"===typeof e}function l(e){return"number"===typeof e}function f(e){return"undefined"===typeof e}function d(e){return null!==e&&"object"===typeof e}function m(e){return"[object Date]"===a.call(e)}function h(e){return"[object File]"===a.call(e)}function y(e){return"[object Blob]"===a.call(e)}function w(e){return"[object Function]"===a.call(e)}function v(e){return d(e)&&w(e.pipe)}function x(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function T(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function b(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var s=0,n=e.length;s