!function(){"use strict";function e(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(void 0!==o&&null!==o)for(var s=Object.keys(Object(o)),u=0,i=s.length;u<i;u++){var a=s[u],c=Object.getOwnPropertyDescriptor(o,a);void 0!==c&&c.enumerable&&(n[a]=o[a])}}return n}var t="function"==typeof fetch?fetch.bind():function(e,t){return t=t||{},new Promise(function(n,r){function o(){var e,t=[],n=[],r={};return s.getAllResponseHeaders().replace(/^(.*?):\s*([\s\S]*?)$/gm,function(o,s,u){t.push(s=s.toLowerCase()),n.push([s,u]),e=r[s],r[s]=e?e+","+u:u}),{ok:1==(s.status/200|0),status:s.status,statusText:s.statusText,url:s.responseURL,clone:o,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return r[e.toLowerCase()]},has:function(e){return e.toLowerCase()in r}}}}var s=new XMLHttpRequest;s.open(t.method||"get",e);for(var u in t.headers)s.setRequestHeader(u,t.headers[u]);s.withCredentials="include"==t.credentials,s.onload=function(){n(o())},s.onerror=r,s.send(t.body)})},n=Object.freeze({default:t}),r=n&&t||n;window.fetch||(window.fetch=r.default||r);({assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}).polyfill()}();