@finn-no/polyfills
Advanced tools
Comparing version 1.3.0 to 1.4.0
# Change log | ||
## [1.4.0] | ||
* Add Promise (with finally) from ES2017 | ||
## [1.2.5] | ||
@@ -4,0 +8,0 @@ |
@@ -1,2 +0,2 @@ | ||
!(function(){"use strict";!(function(e){function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){this.map={},e instanceof n?e.forEach((function(e,t){this.append(t,e)}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function i(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function s(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function a(e){var t=new FileReader;return t.readAsText(e),i(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(d.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(d.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!d.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},d.blob?(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return a(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this);return e||Promise.resolve(this._bodyText)},d.formData&&(this.formData=function(){return this.text().then(l)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return y.indexOf(t)>-1?t:e}function h(e,t){var r=(t=t||{}).body;if(h.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new n(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new n(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function l(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function c(e){var t=new n;return(e.getAllResponseHeaders()||"").trim().split("\n").forEach((function(e){var r=e.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();t.append(n,o)})),t}function p(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof n?t.headers:new n(t.headers),this.url=t.url||"",this._initBody(e)}if((!e.navigator||"Microsoft Internet Explorer"===e.navigator.appName&&/MSIE 9\.0;/.test(navigator.userAgent))&&!e.fetch){n.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];o||(o=[],this.map[e]=o),o.push(n)},n.prototype.delete=function(e){delete this.map[t(e)]},n.prototype.get=function(e){var r=this.map[t(e)];return r?r[0]:null},n.prototype.getAll=function(e){return this.map[t(e)]||[]},n.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},n.prototype.set=function(e,n){this.map[t(e)]=[r(n)]},n.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach((function(r){this.map[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)};var d={blob:"FileReader"in e&&"Blob"in e&&(function(){try{return new Blob,!0}catch(e){return!1}})(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e},y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this)},u.call(h.prototype),u.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new n(this.headers),url:this.url})},p.error=function(){var e=new p(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];p.redirect=function(e,t){if(-1===v.indexOf(t))throw new RangeError("Invalid status code");return new p(null,{status:t,headers:{location:e}})},e.Headers=n,e.Request=h,e.Response=p,e.fetch=function(e,t){return new Promise(function(r,n){function o(){return"responseURL"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):void 0}var i;i=h.prototype.isPrototypeOf(e)&&!t?e:new h(e,t);var s=new XMLHttpRequest;s.onload=function(){var e=1223===s.status?204:s.status;if(e<100||e>599)n(new TypeError("Network request failed"));else{var t={status:e,statusText:s.statusText,headers:c(s),url:o()},i="response"in s?s.response:s.responseText;r(new p(i,t))}},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.open(i.method,i.url,!0),"include"===i.credentials&&(s.withCredentials=!0),"responseType"in s&&d.blob&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),s.send(void 0===i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}})("undefined"!=typeof self?self:void 0);!(function(e,t){t={exports:{}},e(t,t.exports),t.exports})((function(e,t){!(function(t){e.exports=t()})((function(){function e(){}function t(e,r,n){var o=/(?:([a-zA-Z0-9\-]+\:))?(?:\/\/(?:[^@]*@)?([^\/:\?#]+)(?::([0-9]+))?)?([^\?#]*)(?:(\?[^#]+)|\?)?(?:(#.*))?/;if(null==e||""===e||r)e=r?e:b.href,O&&!n||(e=e.replace(/^[^#]*/,"")||"#",e=b.protocol.replace(/:.*$|$/,":")+"//"+b.host+F.basepath+e.replace(new RegExp("^#[/]?(?:"+F.type+")?"),""));else{var i=t(),s=v.getElementsByTagName("base")[0];!n&&s&&s.getAttribute("href")&&(s.href=s.href,i=t(s.href,null,!0));var a=i._pathname,u=i._protocol;e=""+e,e=/^(?:\w+\:)?\/\//.test(e)?0===e.indexOf("/")?u+e:e:u+"//"+i._host+(0===e.indexOf("/")?e:0===e.indexOf("?")?a+e:0===e.indexOf("#")?a+i._search+e:a.replace(/[^\/]+$/g,"")+e)}$.href=e;var f=o.exec($.href),h=f[2]+(f[3]?":"+f[3]:""),l=f[4]||"/",c=f[5]||"",p="#"===f[6]?"":f[6]||"",d=l+c+p,y=l.replace(new RegExp("^"+F.basepath,"i"),F.type)+c;return{_href:f[1]+"//"+h+d,_protocol:f[1],_host:h,_hostname:f[2],_port:f[3]||"",_pathname:l,_search:c,_hash:p,_relative:d,_nohash:y,_special:y+p}}function r(){var e;try{(e=d.sessionStorage).setItem(j+"t","1"),e.removeItem(j+"t")}catch(t){e={getItem:function(e){var t=v.cookie.split(e+"=");return t.length>1&&t.pop().split(";").shift()||"null"},setItem:function(e,t){var r={};(r[b.href]=E.state)&&(v.cookie=e+"="+_.stringify(r))}}}try{M=_.parse(e.getItem(j))||{}}catch(e){M={}}U(A+"unload",(function(){e.setItem(j,_.stringify(M))}),!1)}function n(t,r,n,o){var i=0;n||(n={set:e},i=1);var s=!n.set,a=!n.get,u={configurable:!0,set:function(){s=1},get:function(){a=1}};try{R(t,r,u),t[r]=t[r],R(t,r,n)}catch(e){}if(!(s&&a||(t.__defineGetter__&&(t.__defineGetter__(r,u.get),t.__defineSetter__(r,u.set),t[r]=t[r],n.get&&t.__defineGetter__(r,n.get),n.set&&t.__defineSetter__(r,n.set)),s&&a))){if(i)return!1;if(t===d){try{var f=t[r];t[r]=null}catch(e){}if("execScript"in d)d.execScript("Public "+r,"VBScript"),d.execScript("var "+r+";","JavaScript");else try{R(t,r,{value:e})}catch(e){"onpopstate"===r&&(U("popstate",n=function(){L("popstate",n,!1);var e=t.onpopstate;t.onpopstate=null,setTimeout((function(){t.onpopstate=e}),1)},!1),k=0)}t[r]=f}else try{try{var h=g.create(t);R(g.getPrototypeOf(h)===t?h:t,r,n);for(var l in t)"function"==typeof t[l]&&(h[l]=t[l].bind(t));try{o.call(h,h,t)}catch(e){}t=h}catch(e){R(t.constructor.prototype,r,n)}}catch(e){return!1}}return t}function o(e,t,r){return r=r||{},e=e===Z?b:e,r.set=r.set||function(r){e[t]=r},r.get=r.get||function(){return e[t]},r}function i(t,r){var o=(""+("string"==typeof t?t:t.type)).replace(/^on/,""),i=J[o];if(i){if(null==(r="string"==typeof t?r:t).target)for(var s=["target","currentTarget","srcElement","type"];t=s.pop();)r=n(r,t,{get:"type"===t?function(){return o}:function(){return d}});k&&(("popstate"===o?d.onpopstate:d.onhashchange)||e).call(d,r);for(var a=0,u=i.length;a<u;a++)i[a].call(d,r);return!0}return N(t,r)}function s(){var e=v.createEvent?v.createEvent("Event"):v.createEventObject();e.initEvent?e.initEvent("popstate",!1,!1):e.type="popstate",e.state=E.state,i(e)}function a(){C&&(C=!1,s())}function u(e,r,n,o){if(O)q=b.href;else{0===G&&(G=2);var i=t(r,2===G&&-1!==(""+r).indexOf("#"));i._relative!==t()._relative&&(q=o,n?b.replace("#"+i._special):b.hash=i._special)}!B&&e&&(M[b.href]=e),C=!1}function f(e){var r=q;if(q=b.href,r){H!==b.href&&s(),e=e||d.event;var n=t(r,!0),o=t();e.oldURL||(e.oldURL=n._href,e.newURL=o._href),n._hash!==o._hash&&i(e)}}function h(e){setTimeout((function(){U("popstate",(function(e){H=b.href,B||(e=n(e,"state",{get:function(){return E.state}})),i(e)}),!1)}),0),!O&&!0!==e&&"location"in E&&(p(P.hash),a())}function l(e){for(;e;){if("A"===e.nodeName)return e;e=e.parentNode}}function c(e){var r=e||d.event,n=l(r.target||r.srcElement),o="defaultPrevented"in r?r.defaultPrevented:!1===r.returnValue;if(n&&"A"===n.nodeName&&!o){var i=t(),s=t(n.getAttribute("href",2));i._href.split("#").shift()===s._href.split("#").shift()&&s._hash&&(i._hash!==s._hash&&(P.hash=s._hash),p(s._hash),r.preventDefault?r.preventDefault():r.returnValue=!1)}}function p(e){var t=v.getElementById(e=(e||"").replace(/^#/,""));if(t&&t.id===e&&"A"===t.nodeName){var r=t.getBoundingClientRect();d.scrollTo(m.scrollLeft||0,r.top+(m.scrollTop||0)-(m.clientTop||0))}}var d=("object"==typeof window?window:this)||{};if(!d.history||"emulate"in d.history)return d.history;var y,v=d.document,m=v.documentElement,g=d.Object,_=d.JSON,b=d.location,w=d.history,E=w,x=w.pushState,T=w.replaceState,O=(function(){var e=d.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&!!x})(),B="state"in w,R=g.defineProperty,P=n({},"t")?{}:v.createElement("a"),A="",S=d.addEventListener?"addEventListener":(A="on")&&"attachEvent",I=d.removeEventListener?"removeEventListener":"detachEvent",D=d.dispatchEvent?"dispatchEvent":"fireEvent",U=d[S],L=d[I],N=d[D],F={basepath:"/",redirect:0,type:"/",init:0},j="__historyAPI__",$=v.createElement("a"),q=b.href,H="",k=1,C=!1,G=0,M={},J={},V=v.title,X={onhashchange:null,onpopstate:null},z=function(e,t){var r=d.history!==w;r&&(d.history=w),e.apply(w,t),r&&(d.history=E)},W={setup:function(e,t,r){F.basepath=(""+(null==e?F.basepath:e)).replace(/(?:^|\/)[^\/]*$/,"/"),F.type=null==t?F.type:t,F.redirect=null==r?F.redirect:!!r},redirect:function(e,r){if(E.setup(r,e),r=F.basepath,d.top==d.self){var n=t(null,!1,!0)._relative,o=b.pathname+b.search;O?(o=o.replace(/([^\/])$/,"$1/"),n!=r&&new RegExp("^"+r+"$","i").test(o)&&b.replace(n)):o!=r&&(o=o.replace(/([^\/])\?/,"$1/?"),new RegExp("^"+r,"i").test(o)&&b.replace(r+"#"+o.replace(new RegExp("^"+r,"i"),F.type)+b.hash))}},pushState:function(e,t,r){var n=v.title;null!=V&&(v.title=V),x&&z(x,arguments),u(e,r),v.title=n,V=t},replaceState:function(e,t,r){var n=v.title;null!=V&&(v.title=V),delete M[b.href],T&&z(T,arguments),u(e,r,!0),v.title=n,V=t},location:{set:function(e){0===G&&(G=1),d.location=e},get:function(){return 0===G&&(G=1),P}},state:{get:function(){return"object"==typeof M[b.href]?_.parse(_.stringify(M[b.href])):void 0!==M[b.href]?M[b.href]:null}}},Z={assign:function(e){O||0!==(""+e).indexOf("#")?b.assign(e):u(null,e)},reload:function(e){b.reload(e)},replace:function(e){O||0!==(""+e).indexOf("#")?b.replace(e):u(null,e,!0)},toString:function(){return this.href},origin:{get:function(){return void 0!==y?y:b.origin?b.origin:b.protocol+"//"+b.hostname+(b.port?":"+b.port:"")},set:function(e){y=e}},href:O?null:{get:function(){return t()._href}},protocol:null,host:null,hostname:null,port:null,pathname:O?null:{get:function(){return t()._pathname}},search:O?null:{get:function(){return t()._search}},hash:O?null:{set:function(e){u(null,(""+e).replace(/^(#|)/,"#"),!1,q)},get:function(){return t()._hash}}};return (function(){var e=v.getElementsByTagName("script"),i=(e[e.length-1]||{}).src||"";(-1!==i.indexOf("?")?i.split("?").pop():"").replace(/(\w+)(?:=([^&]*))?/g,(function(e,t,r){F[t]=(r||"").replace(/^(0|false)$/,"")})),U(A+"hashchange",f,!1);var s=[Z,P,X,d,W,E];B&&delete W.state;for(var a=0;a<s.length;a+=2)for(var u in s[a])if(s[a].hasOwnProperty(u))if("object"!=typeof s[a][u])s[a+1][u]=s[a][u];else{var l=o(s[a],u,s[a][u]);if(!n(s[a+1],u,l,(function(e,t){t===E&&(d.history=E=s[a+1]=e)})))return L(A+"hashchange",f,!1),!1;s[a+1]===d&&(J[u]=J[u.substr(2)]=[])}return E.setup(),F.redirect&&E.redirect(),F.init&&(G=1),!B&&_&&r(),O||v[S](A+"click",c,!1),"complete"===v.readyState?h(!0):(O||t()._relative===F.basepath||(C=!0),U(A+"load",h,!1)),!0})()?(E.emulate=!O,d[S]=function(e,t,r){e in J?J[e].push(t):arguments.length>3?U(e,t,r,arguments[3]):U(e,t,r)},d[I]=function(e,t,r){var n=J[e];if(n){for(var o=n.length;o--;)if(n[o]===t){n.splice(o,1);break}}else L(e,t,r)},d[D]=i,E):void 0}))}))})(); | ||
!(function(){"use strict";!(function(e){if((!e.navigator||"Microsoft Internet Explorer"===e.navigator.appName&&/MSIE 9\.0;/.test(navigator.userAgent))&&!e.fetch){h.prototype.append=function(e,t){e=s(e),t=a(t);var r=this.map[e];r||(r=[],this.map[e]=r),r.push(t)},h.prototype.delete=function(e){delete this.map[s(e)]},h.prototype.get=function(e){var t=this.map[s(e)];return t?t[0]:null},h.prototype.getAll=function(e){return this.map[s(e)]||[]},h.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},h.prototype.set=function(e,t){this.map[s(e)]=[a(t)]},h.prototype.forEach=function(r,n){Object.getOwnPropertyNames(this.map).forEach((function(t){this.map[t].forEach((function(e){r.call(n,e,t,this)}),this)}),this)};var n="FileReader"in e&&"Blob"in e&&(function(){try{return new Blob,!0}catch(e){return!1}})(),t="FormData"in e,r="ArrayBuffer"in e,i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this)},c.call(p.prototype),c.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=h,e.Request=p,e.Response=y,e.fetch=function(t,r){return new Promise(function(i,s){var e;e=p.prototype.isPrototypeOf(t)&&!r?t:new p(t,r);var a=new XMLHttpRequest;a.onload=function(){var e=1223===a.status?204:a.status;if(e<100||599<e)s(new TypeError("Network request failed"));else{var t,o,r={status:e,statusText:a.statusText,headers:(t=a,o=new h,(t.getAllResponseHeaders()||"").trim().split("\n").forEach((function(e){var t=e.trim().split(":"),r=t.shift().trim(),n=t.join(":").trim();o.append(r,n)})),o),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},n="response"in a?a.response:a.responseText;i(new y(n,r))}},a.onerror=function(){s(new TypeError("Network request failed"))},a.ontimeout=function(){s(new TypeError("Network request failed"))},a.open(e.method,e.url,!0),"include"===e.credentials&&(a.withCredentials=!0),"responseType"in a&&n&&(a.responseType="blob"),e.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send(void 0===e._bodyInit?null:e._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function h(t){this.map={},t instanceof h?t.forEach((function(e,t){this.append(t,e)}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function l(e){var t=new FileReader;return t.readAsArrayBuffer(e),f(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e){if("string"==typeof(this._bodyInit=e))this._bodyText=e;else if(n&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},this.text=n?(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(l)},function(){var e,t,r=u(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,(t=new FileReader).readAsText(e),f(t);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):function(){var e=u(this);return e||Promise.resolve(this._bodyText)},t&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var r,n,o=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),-1<i.indexOf(n)?n:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function d(e){var o=new FormData;return e.trim().split("&").forEach((function(e){if(e){var t=e.split("="),r=t.shift().replace(/\+/g," "),n=t.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(n))}})),o}function y(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=200<=this.status&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof h?t.headers:new h(t.headers),this.url=t.url||"",this._initBody(e)}})("undefined"!=typeof self?self:void 0);var e;(function(e,t){e.exports=(function(){var l=("object"==typeof window?window:this)||{};if(!l.history||"emulate"in l.history)return l.history;var t,e,d=l.document,n=d.documentElement,c=l.Object,s=l.JSON,y=l.location,o=l.history,a=o,i=o.pushState,h=o.replaceState,v=(-1===(e=l.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&!!i,u="state"in o,p=c.defineProperty,f=k({},"t")?{}:d.createElement("a"),m="",g=l.addEventListener?"addEventListener":(m="on")&&"attachEvent",r=l.removeEventListener?"removeEventListener":"detachEvent",_=l.dispatchEvent?"dispatchEvent":"fireEvent",b=H(l[g]),E=H(l[r]),w=H(l[_]),x={basepath:"/",redirect:0,type:"/",init:0},T="__historyAPI__",O=d.createElement("a"),R=y.href,B="",P=1,A=!1,S=0,I={},U={},L=d.title,D={onhashchange:null,onpopstate:null},N=function(e,t){var r=l.history!==o;r&&(l.history=o),e.apply(o,t),r&&(l.history=a)},F={setup:function(e,t,r){x.basepath=(""+(null==e?x.basepath:e)).replace(/(?:^|\/)[^\/]*$/,"/"),x.type=null==t?x.type:t,x.redirect=null==r?x.redirect:!!r},redirect:function(e,t){if(a.setup(t,e),t=x.basepath,l.top==l.self){var r=q(null,!1,!0)._relative,n=y.pathname+y.search;v?(n=n.replace(/([^\/])$/,"$1/"),r!=t&&new RegExp("^"+t+"$","i").test(n)&&y.replace(r)):n!=t&&(n=n.replace(/([^\/])\?/,"$1/?"),new RegExp("^"+t,"i").test(n)&&y.replace(t+"#"+n.replace(new RegExp("^"+t,"i"),x.type)+y.hash))}},pushState:function(e,t,r){var n=d.title;null!=L&&(d.title=L),i&&N(i,arguments),J(e,r),d.title=n,L=t},replaceState:function(e,t,r){var n=d.title;null!=L&&(d.title=L),delete I[y.href],h&&N(h,arguments),J(e,r,!0),d.title=n,L=t},location:{set:function(e){0===S&&(S=1),l.location=e},get:function(){return 0===S&&(S=1),f}},state:{get:function(){return"object"==typeof I[y.href]?s.parse(s.stringify(I[y.href])):void 0!==I[y.href]?I[y.href]:null}}},j={assign:function(e){v||0!==(""+e).indexOf("#")?y.assign(e):J(null,e)},reload:function(e){y.reload(e)},replace:function(e){v||0!==(""+e).indexOf("#")?y.replace(e):J(null,e,!0)},toString:function(){return this.href},origin:{get:function(){return void 0!==t?t:y.origin?y.origin:y.protocol+"//"+y.hostname+(y.port?":"+y.port:"")},set:function(e){t=e}},href:v?null:{get:function(){return q()._href}},protocol:null,host:null,hostname:null,port:null,pathname:v?null:{get:function(){return q()._pathname}},search:v?null:{get:function(){return q()._search}},hash:v?null:{set:function(e){J(null,(""+e).replace(/^(#|)/,"#"),!1,R)},get:function(){return q()._hash}}};function $(){}function q(e,t,r){if(null==e||""===e||t)e=t?e:y.href,v&&!r||(e=e.replace(/^[^#]*/,"")||"#",e=y.protocol.replace(/:.*$|$/,":")+"//"+y.host+x.basepath+e.replace(new RegExp("^#[/]?(?:"+x.type+")?"),""));else{var n=q(),o=d.getElementsByTagName("base")[0];!r&&o&&o.getAttribute("href")&&(o.href=o.href,n=q(o.href,null,!0));var i=n._pathname,s=n._protocol;e=/^(?:\w+\:)?\/\//.test(e=""+e)?0===e.indexOf("/")?s+e:e:s+"//"+n._host+(0===e.indexOf("/")?e:0===e.indexOf("?")?i+e:0===e.indexOf("#")?i+n._search+e:i.replace(/[^\/]+$/g,"")+e)}O.href=e;var a=/(?:([a-zA-Z0-9\-]+\:))?(?:\/\/(?:[^@]*@)?([^\/:\?#]+)(?::([0-9]+))?)?([^\?#]*)(?:(\?[^#]+)|\?)?(?:(#.*))?/.exec(O.href),h=a[2]+(a[3]?":"+a[3]:""),u=a[4]||"/",f=a[5]||"",l="#"===a[6]?"":a[6]||"",c=u+f+l,p=u.replace(new RegExp("^"+x.basepath,"i"),x.type)+f;return{_href:a[1]+"//"+h+c,_protocol:a[1],_host:h,_hostname:a[2],_port:a[3]||"",_pathname:u,_search:f,_hash:l,_relative:c,_nohash:p,_special:p+l}}function H(e){return e&&l&&l.EventTarget&&"function"==typeof l.EventTarget.prototype.addEventListener&&"function"==typeof e.bind?e.bind(l):e}function k(t,r,n,e){var o=0;n||(n={set:$},o=1);var i=!n.set,s=!n.get,a={configurable:!0,set:function(){i=1},get:function(){s=1}};try{p(t,r,a),t[r]=t[r],p(t,r,n)}catch(e){}if(!(i&&s||(t.__defineGetter__&&(t.__defineGetter__(r,a.get),t.__defineSetter__(r,a.set),t[r]=t[r],n.get&&t.__defineGetter__(r,n.get),n.set&&t.__defineSetter__(r,n.set)),i&&s))){if(o)return!1;if(t===l){try{var h=t[r];t[r]=null}catch(e){}if("execScript"in l)l.execScript("Public "+r,"VBScript"),l.execScript("var "+r+";","JavaScript");else try{p(t,r,{value:$})}catch(e){"onpopstate"===r&&(b("popstate",n=function(){E("popstate",n,!1);var e=t.onpopstate;t.onpopstate=null,setTimeout((function(){t.onpopstate=e}),1)},!1),P=0)}t[r]=h}else try{try{var u=c.create(t);for(var f in p(c.getPrototypeOf(u)===t?u:t,r,n),t)"function"==typeof t[f]&&(u[f]=t[f].bind(t));try{e.call(u,u,t)}catch(e){}t=u}catch(e){p(t.constructor.prototype,r,n)}}catch(e){return!1}}return t}function C(t,r,e){return t=t===j?y:t,(e=e||{}).set=e.set||function(e){t[r]=e},e.get=e.get||function(){return t[r]},e}function G(e,t){var r=(""+("string"==typeof e?e:e.type)).replace(/^on/,""),n=U[r];if(n){if(null==(t="string"==typeof e?t:e).target)for(var o=["target","currentTarget","srcElement","type"];e=o.pop();)t=k(t,e,{get:"type"===e?function(){return r}:function(){return l}});P&&(("popstate"===r?l.onpopstate:l.onhashchange)||$).call(l,t);for(var i=0,s=n.length;i<s;i++)n[i].call(l,t);return!0}return w(e,t)}function M(){var e=d.createEvent?d.createEvent("Event"):d.createEventObject();e.initEvent?e.initEvent("popstate",!1,!1):e.type="popstate",e.state=a.state,G(e)}function J(e,t,r,n){if(v)R=y.href;else{0===S&&(S=2);var o=q(t,2===S&&-1!==(""+t).indexOf("#"));o._relative!==q()._relative&&(R=n,r?y.replace("#"+o._special):y.hash=o._special)}!u&&e&&(I[y.href]=e),A=!1}function V(e){var t=R;if(R=y.href,t){B!==y.href&&M(),e=e||l.event;var r=q(t,!0),n=q();e.oldURL||(e.oldURL=r._href,e.newURL=n._href),r._hash!==n._hash&&G(e)}}function X(e){setTimeout((function(){b("popstate",(function(e){B=y.href,u||(e=k(e,"state",{get:function(){return a.state}})),G(e)}),!1)}),0),!v&&!0!==e&&"location"in a&&(W(f.hash),A&&(A=!1,M()))}function z(e){var t=e||l.event,r=(function(e){for(;e;){if("A"===e.nodeName)return e;e=e.parentNode}})(t.target||t.srcElement),n="defaultPrevented"in t?t.defaultPrevented:!1===t.returnValue;if(r&&"A"===r.nodeName&&!n){var o=q(),i=q(r.getAttribute("href",2)),s=o._href.split("#").shift()===i._href.split("#").shift();s&&i._hash&&(o._hash!==i._hash&&(f.hash=i._hash),W(i._hash),t.preventDefault?t.preventDefault():t.returnValue=!1)}}function W(e){var t=d.getElementById(e=(e||"").replace(/^#/,""));if(t&&t.id===e&&"A"===t.nodeName){var r=t.getBoundingClientRect();l.scrollTo(n.scrollLeft||0,r.top+(n.scrollTop||0)-(n.clientTop||0))}}return (function(){var e=d.getElementsByTagName("script"),t=(e[e.length-1]||{}).src||"";(-1!==t.indexOf("?")?t.split("?").pop():"").replace(/(\w+)(?:=([^&]*))?/g,(function(e,t,r){x[t]=(r||"").replace(/^(0|false)$/,"")})),b(m+"hashchange",V,!1);var r=[j,f,D,l,F,a];u&&delete F.state;for(var n=0;n<r.length;n+=2)for(var o in r[n])if(r[n].hasOwnProperty(o))if("object"!=typeof r[n][o])r[n+1][o]=r[n][o];else{var i=C(r[n],o,r[n][o]);if(!k(r[n+1],o,i,(function(e,t){t===a&&(l.history=a=r[n+1]=e)})))return E(m+"hashchange",V,!1),!1;r[n+1]===l&&(U[o]=U[o.substr(2)]=[])}return a.setup(),x.redirect&&a.redirect(),x.init&&(S=1),!u&&s&&(function(){var t;try{(t=l.sessionStorage).setItem(T+"t","1"),t.removeItem(T+"t")}catch(e){t={getItem:function(e){var t=d.cookie.split(e+"=");return 1<t.length&&t.pop().split(";").shift()||"null"},setItem:function(e,t){var r={};(r[y.href]=a.state)&&(d.cookie=e+"="+s.stringify(r))}}}try{I=s.parse(t.getItem(T))||{}}catch(e){I={}}b(m+"unload",(function(){t.setItem(T,s.stringify(I))}),!1)})(),v||d[g](m+"click",z,!1),"complete"===d.readyState?X(!0):(v||q()._relative===x.basepath||(A=!0),b(m+"load",X,!1)),!0})()?(a.emulate=!v,l[g]=function(e,t,r){e in U?U[e].push(t):3<arguments.length?b(e,t,r,arguments[3]):b(e,t,r)},l[r]=function(e,t,r){var n=U[e];if(n){for(var o=n.length;o--;)if(n[o]===t){n.splice(o,1);break}}else E(e,t,r)},l[_]=G,a):void 0})()})(e={exports:{}},e.exports)})(); | ||
//# sourceMappingURL=polyfills-ie9-extras.js.map |
@@ -1,2 +0,2 @@ | ||
!(function(){"use strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=O(e),this.reject=O(n)}var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=t((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),o=t((function(t){var e=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=e)})),i=function(t){return"object"==typeof t?null!==t:"function"==typeof t},a=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t},u=function(t){try{return!!t()}catch(t){return!0}},c=!u((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s=r.document,f=i(s)&&i(s.createElement),l=function(t){return f?s.createElement(t):{}},h=!c&&!u((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),p=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,y={f:c?Object.defineProperty:function(t,e,n){if(a(t),e=p(e,!0),a(n),h)try{return d(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},m=c?function(t,e,n){return y.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},b={}.hasOwnProperty,g=function(t,e){return b.call(t,e)},w=0,_=Math.random(),E=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++w+_).toString(36))},S=t((function(t){var e=E("src"),n=Function.toString,i=(""+n).split("toString");o.inspectSource=function(t){return n.call(t)},(t.exports=function(t,n,o,a){var u="function"==typeof o;u&&(g(o,"name")||m(o,"name",n)),t[n]!==o&&(u&&(g(o,e)||m(o,e,t[n]?""+t[n]:i.join(String(n)))),t===r?t[n]=o:a?t[n]?t[n]=o:m(t,n,o):(delete t[n],m(t,n,o)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[e]||n.call(this)}))})),O=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},T=function(t,e,n){if(O(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},A=function(t,e,n){var i,a,u,c,s=t&A.F,f=t&A.G,l=t&A.S,h=t&A.P,p=t&A.B,d=f?r:l?r[e]||(r[e]={}):(r[e]||{}).prototype,y=f?o:o[e]||(o[e]={}),v=y.prototype||(y.prototype={});f&&(n=e);for(i in n)u=((a=!s&&d&&void 0!==d[i])?d:n)[i],c=p&&a?T(u,r):h&&"function"==typeof u?T(Function.call,u):u,d&&S(d,i,u,t&A.U),y[i]!=u&&m(y,i,c),h&&v[i]!=u&&(v[i]=u)};r.core=o,A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128;var j=A,P={}.toString,x=function(t){return P.call(t).slice(8,-1)},L=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==x(t)?t.split(""):Object(t)},C=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},F=function(t){return L(C(t))},D=Math.ceil,M=Math.floor,k=function(t){return isNaN(t=+t)?0:(t>0?M:D)(t)},R=Math.min,N=function(t){return t>0?R(k(t),9007199254740991):0},I=Math.max,U=Math.min,B=function(t,e){return(t=k(t))<0?I(t+e,0):U(t,e)},K=function(t){return function(e,n,r){var o,i=F(e),a=N(i.length),u=B(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},q=r["__core-js_shared__"]||(r["__core-js_shared__"]={}),G=function(t){return q[t]||(q[t]={})},W=G("keys"),H=function(t){return W[t]||(W[t]=E(t))},V=K(!1),$=H("IE_PROTO"),z=function(t,e){var n,r=F(t),o=0,i=[];for(n in r)n!=$&&g(r,n)&&i.push(n);for(;e.length>o;)g(r,n=e[o++])&&(~V(i,n)||i.push(n));return i},J="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),X=Object.keys||function(t){return z(t,J)},Y={f:Object.getOwnPropertySymbols},Z={f:{}.propertyIsEnumerable},Q=function(t){return Object(C(t))},tt=Object.assign,et=!tt||u((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=tt({},t)[n]||Object.keys(tt({},e)).join("")!=r}))?function(t,e){for(var n=Q(t),r=arguments.length,o=1,i=Y.f,a=Z.f;r>o;)for(var u,c=L(arguments[o++]),s=i?X(c).concat(i(c)):X(c),f=s.length,l=0;f>l;)a.call(c,u=s[l++])&&(n[u]=c[u]);return n}:tt;j(j.S+j.F,"Object",{assign:et}),j(j.S,"String",{raw:function(t){for(var e=F(t.raw),n=N(e.length),r=arguments.length,o=[],i=0;n>i;)o.push(String(e[i++])),i<r&&o.push(String(arguments[i]));return o.join("")}});var nt={},rt=c?Object.defineProperties:function(t,e){a(t);for(var n,r=X(e),o=r.length,i=0;o>i;)y.f(t,n=r[i++],e[n]);return t},ot=r.document,it=ot&&ot.documentElement,at=H("IE_PROTO"),ut=function(){},ct=function(){var t,e=l("iframe"),n=J.length;for(e.style.display="none",it.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ct=t.F;n--;)delete ct.prototype[J[n]];return ct()},st=Object.create||function(t,e){var n;return null!==t?(ut.prototype=a(t),n=new ut,ut.prototype=null,n[at]=t):n=ct(),void 0===e?n:rt(n,e)},ft=t((function(t){var e=G("wks"),n=r.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:E)("Symbol."+t))}).store=e})),lt=y.f,ht=ft("toStringTag"),pt=function(t,e,n){t&&!g(t=n?t:t.prototype,ht)&<(t,ht,{configurable:!0,value:e})},dt={};m(dt,ft("iterator"),(function(){return this}));var yt=function(t,e,n){t.prototype=st(dt,{next:v(1,n)}),pt(t,e+" Iterator")},vt=H("IE_PROTO"),mt=Object.prototype,bt=Object.getPrototypeOf||function(t){return t=Q(t),g(t,vt)?t[vt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mt:null},gt=ft("iterator"),wt=!([].keys&&"next"in[].keys()),_t=function(){return this},Et=function(t,e,n,r,o,i,a){yt(n,e,r);var u,c,s,f=function(t){if(!wt&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},l=e+" Iterator",h="values"==o,p=!1,d=t.prototype,y=d[gt]||d["@@iterator"]||o&&d[o],v=y||f(o),b=o?h?f("entries"):v:void 0,w="Array"==e?d.entries||y:y;if(w&&(s=bt(w.call(new t)))!==Object.prototype&&s.next&&(pt(s,l,!0),g(s,gt)||m(s,gt,_t)),h&&y&&"values"!==y.name&&(p=!0,v=function(){return y.call(this)}),(wt||p||!d[gt])&&m(d,gt,v),nt[e]=v,nt[l]=_t,o)if(u={values:h?v:f("values"),keys:i?v:f("keys"),entries:b},a)for(c in u)c in d||S(d,c,u[c]);else j(j.P+j.F*(wt||p),e,u);return u},St=(function(t){return function(e,n){var r,o,i=String(C(e)),a=k(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}})(!0);Et(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=St(e,n),this._i+=t.length,{value:t,done:!1})}));var Ot="\t\n\v\f\r \u2028\u2029\ufeff",Tt="["+Ot+"]",At=RegExp("^"+Tt+Tt+"*"),jt=RegExp(Tt+Tt+"*$"),Pt=function(t,e,n){var r={},o=u((function(){return!!Ot[t]()||" "!=" "[t]()})),i=r[t]=o?e(xt):Ot[t];n&&(r[n]=i),j(j.P+j.F*o,"String",r)},xt=Pt.trim=function(t,e){return t=String(C(t)),1&e&&(t=t.replace(At,"")),2&e&&(t=t.replace(jt,"")),t};Pt("trim",(function(t){return function(){return t(this,3)}}));var Lt=ft("match"),Ct=function(t){var e;return i(t)&&(void 0!==(e=t[Lt])?!!e:"RegExp"==x(t))},Ft=function(t,e,n){if(Ct(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(C(t))},Dt=ft("match"),Mt=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Dt]=!1,!"/./"[t](e)}catch(t){}}return!0},kt="".endsWith;j(j.P+j.F*Mt("endsWith"),"String",{endsWith:function(t){var e=Ft(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=N(e.length),o=void 0===n?r:Math.min(N(n),r),i=String(t);return kt?kt.call(e,i,o):e.slice(o-i.length,o)===i}});j(j.P+j.F*Mt("includes"),"String",{includes:function(t){return!!~Ft(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}});j(j.P,"String",{repeat:function(t){var e=String(C(this)),n="",r=k(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}});var Rt="".startsWith;j(j.P+j.F*Mt("startsWith"),"String",{startsWith:function(t){var e=Ft(this,t,"startsWith"),n=N(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return Rt?Rt.call(e,r,n):e.slice(n,n+r.length)===r}}),j(j.S,"Date",{now:function(){return(new Date).getTime()}}),j(j.P+j.F*u((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=Q(this),n=p(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}});var Nt=Date.prototype.getTime,It=Date.prototype.toISOString,Ut=function(t){return t>9?t:"0"+t},Bt=u((function(){return"0385-07-25T07:06:39.999Z"!=It.call(new Date(-5e13-1))}))||!u((function(){It.call(new Date(NaN))}))?function(){if(!isFinite(Nt.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+Ut(t.getUTCMonth()+1)+"-"+Ut(t.getUTCDate())+"T"+Ut(t.getUTCHours())+":"+Ut(t.getUTCMinutes())+":"+Ut(t.getUTCSeconds())+"."+(n>99?n:"0"+Ut(n))+"Z"}:It;j(j.P+j.F*(Date.prototype.toISOString!==Bt),"Date",{toISOString:Bt});var Kt=Date.prototype,qt=Kt.toString,Gt=Kt.getTime;new Date(NaN)+""!="Invalid Date"&&S(Kt,"toString",(function(){var t=Gt.call(this);return t===t?qt.call(this):"Invalid Date"}));var Wt=ft("toPrimitive"),Ht=Date.prototype;Wt in Ht||m(Ht,Wt,(function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return p(a(this),"number"!=t)}));var Vt=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&a(o.call(t)),e}},$t=ft("iterator"),zt=Array.prototype,Jt=function(t){return void 0!==t&&(nt.Array===t||zt[$t]===t)},Xt=function(t,e,n){e in t?y.f(t,e,v(0,n)):t[e]=n},Yt=ft("toStringTag"),Zt="Arguments"==x(function(){return arguments}()),Qt=function(t,e){try{return t[e]}catch(t){}},te=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Qt(e=Object(t),Yt))?n:Zt?x(e):"Object"==(r=x(e))&&"function"==typeof e.callee?"Arguments":r},ee=ft("iterator"),ne=o.getIteratorMethod=function(t){if(void 0!=t)return t[ee]||t["@@iterator"]||nt[te(t)]},re=ft("iterator"),oe=!1;try{[7][re]().return=function(){oe=!0}}catch(t){}var ie=function(t,e){if(!e&&!oe)return!1;var n=!1;try{var r=[7],o=r[re]();o.next=function(){return{done:n=!0}},r[re]=function(){return o},t(r)}catch(t){}return n};j(j.S+j.F*!ie((function(t){})),"Array",{from:function(t){var e,n,r,o,i=Q(t),a="function"==typeof this?this:Array,u=arguments.length,c=u>1?arguments[1]:void 0,s=void 0!==c,f=0,l=ne(i);if(s&&(c=T(c,u>2?arguments[2]:void 0,2)),void 0==l||a==Array&&Jt(l))for(n=new a(e=N(i.length));e>f;f++)Xt(n,f,s?c(i[f],f):i[f]);else for(o=l.call(i),n=new a;!(r=o.next()).done;f++)Xt(n,f,s?Vt(o,c,[r.value,f],!0):r.value);return n.length=f,n}}),j(j.S+j.F*u((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)Xt(n,t,arguments[t++]);return n.length=e,n}});var ae=[].copyWithin||function(t,e){var n=Q(this),r=N(n.length),o=B(t,r),i=B(e,r),a=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===a?r:B(a,r))-i,r-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=c,i+=c;return n},ue=ft("unscopables"),ce=Array.prototype;void 0==ce[ue]&&m(ce,ue,{});var se=function(t){ce[ue][t]=!0};j(j.P,"Array",{copyWithin:ae}),se("copyWithin");j(j.P,"Array",{fill:function(t){for(var e=Q(this),n=N(e.length),r=arguments.length,o=B(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:B(i,n);a>o;)e[o++]=t;return e}}),se("fill");var fe=Array.isArray||function(t){return"Array"==x(t)},le=ft("species"),he=function(t){var e;return fe(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!fe(e.prototype)||(e=void 0),i(e)&&null===(e=e[le])&&(e=void 0)),void 0===e?Array:e},pe=function(t,e){return new(he(t))(e)},de=function(t,e){var n=1==t,r=2==t,o=3==t,i=4==t,a=6==t,u=5==t||a,c=e||pe;return function(e,s,f){for(var l,h,p=Q(e),d=L(p),y=T(s,f,3),v=N(d.length),m=0,b=n?c(e,v):r?c(e,0):void 0;v>m;m++)if((u||m in d)&&(l=d[m],h=y(l,m,p),t))if(n)b[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:b.push(l)}else if(i)return!1;return a?-1:o||i?i:b}},ye=de(5),ve=!0;"find"in[]&&Array(1).find((function(){ve=!1})),j(j.P+j.F*ve,"Array",{find:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)}}),se("find");var me=de(6),be=!0;"findIndex"in[]&&Array(1).findIndex((function(){be=!1})),j(j.P+j.F*be,"Array",{findIndex:function(t){return me(this,t,arguments.length>1?arguments[1]:void 0)}}),se("findIndex");var ge=function(t,e){return{value:e,done:!!t}},we=Et(Array,"Array",(function(t,e){this._t=F(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,ge(1)):"keys"==e?ge(0,n):"values"==e?ge(0,t[n]):ge(0,[n,t[n]])}),"values");nt.Arguments=nt.Array,se("keys"),se("values"),se("entries");var _e={};_e[ft("toStringTag")]="z",_e+""!="[object z]"&&S(Object.prototype,"toString",(function(){return"[object "+te(this)+"]"}),!0);for(var Ee=ft("iterator"),Se=ft("toStringTag"),Oe=nt.Array,Te={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},Ae=X(Te),je=0;je<Ae.length;je++){var Pe,xe=Ae[je],Le=Te[xe],Ce=r[xe],Fe=Ce&&Ce.prototype;if(Fe&&(Fe[Ee]||m(Fe,Ee,Oe),Fe[Se]||m(Fe,Se,xe),nt[xe]=Oe,Le))for(Pe in we)Fe[Pe]||S(Fe,Pe,we[Pe],!0)}var De,Me,ke,Re=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t},Ne=t((function(t){var e={},n={},r=t.exports=function(t,r,o,i,u){var c,s,f,l,h=u?function(){return t}:ne(t),p=T(o,i,r?2:1),d=0;if("function"!=typeof h)throw TypeError(t+" is not iterable!");if(Jt(h)){for(c=N(t.length);c>d;d++)if((l=r?p(a(s=t[d])[0],s[1]):p(t[d]))===e||l===n)return l}else for(f=h.call(t);!(s=f.next()).done;)if((l=Vt(f,p,s.value,r))===e||l===n)return l};r.BREAK=e,r.RETURN=n})),Ie=ft("species"),Ue=function(t,e){var n,r=a(t).constructor;return void 0===r||void 0==(n=a(r)[Ie])?e:O(n)},Be=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)},Ke=r.process,qe=r.setImmediate,Ge=r.clearImmediate,We=r.MessageChannel,He=r.Dispatch,Ve=0,$e={},ze=function(){var t=+this;if($e.hasOwnProperty(t)){var e=$e[t];delete $e[t],e()}},Je=function(t){ze.call(t.data)};qe&&Ge||(qe=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return $e[++Ve]=function(){Be("function"==typeof t?t:Function(t),e)},De(Ve),Ve},Ge=function(t){delete $e[t]},"process"==x(Ke)?De=function(t){Ke.nextTick(T(ze,t,1))}:He&&He.now?De=function(t){He.now(T(ze,t,1))}:We?(ke=(Me=new We).port2,Me.port1.onmessage=Je,De=T(ke.postMessage,ke,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts?(De=function(t){r.postMessage(t+"","*")},r.addEventListener("message",Je,!1)):De="onreadystatechange"in l("script")?function(t){it.appendChild(l("script")).onreadystatechange=function(){it.removeChild(this),ze.call(t)}}:function(t){setTimeout(T(ze,t,1),0)});var Xe,Ye,Ze,Qe,tn={set:qe,clear:Ge},en=tn.set,nn=r.MutationObserver||r.WebKitMutationObserver,rn=r.process,on=r.Promise,an="process"==x(rn),un={f:function(t){return new e(t)}},cn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},sn=function(t,e){if(a(t),i(e)&&e.constructor===t)return e;var n=un.f(t);return(0,n.resolve)(e),n.promise},fn=ft("species"),ln=tn.set,hn=(function(){var t,e,n,o=function(){var r,o;for(an&&(r=rn.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(an)n=function(){rn.nextTick(o)};else if(nn){var i=!0,a=document.createTextNode("");new nn(o).observe(a,{characterData:!0}),n=function(){a.data=i=!i}}else if(on&&on.resolve){var u=on.resolve();n=function(){u.then(o)}}else n=function(){en.call(r,o)};return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}})(),pn=r.TypeError,dn=r.process,yn=r.Promise,vn="process"==te(dn),mn=function(){},bn=Ye=un.f,gn=!!(function(){try{var t=yn.resolve(1),e=(t.constructor={})[ft("species")]=function(t){t(mn,mn)};return(vn||"function"==typeof PromiseRejectionEvent)&&t.then(mn)instanceof e}catch(t){}})(),wn=function(t){var e;return!(!i(t)||"function"!=typeof(e=t.then))&&e},_n=function(t,e){if(!t._n){t._n=!0;var n=t._c;hn((function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!(function(e){var n,i,a=o?e.ok:e.fail,u=e.resolve,c=e.reject,s=e.domain;try{a?(o||(2==t._h&&On(t),t._h=1),!0===a?n=r:(s&&s.enter(),n=a(r),s&&s.exit()),n===e.promise?c(pn("Promise-chain cycle")):(i=wn(n))?i.call(n,u,c):u(n)):c(r)}catch(t){c(t)}})(n[i++]);t._c=[],t._n=!1,e&&!t._h&&En(t)}))}},En=function(t){ln.call(r,(function(){var e,n,o,i=t._v,a=Sn(t);if(a&&(e=cn((function(){vn?dn.emit("unhandledRejection",i,t):(n=r.onunhandledrejection)?n({promise:t,reason:i}):(o=r.console)&&o.error&&o.error("Unhandled promise rejection",i)})),t._h=vn||Sn(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},Sn=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if((e=n[r++]).fail||!Sn(e.promise))return!1;return!0},On=function(t){ln.call(r,(function(){var e;vn?dn.emit("rejectionHandled",t):(e=r.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Tn=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),_n(e,!0))},An=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw pn("Promise can't be resolved itself");(e=wn(t))?hn((function(){var r={_w:n,_d:!1};try{e.call(t,T(An,r,1),T(Tn,r,1))}catch(t){Tn.call(r,t)}})):(n._v=t,n._s=1,_n(n,!1))}catch(t){Tn.call({_w:n,_d:!1},t)}}};gn||(yn=function(t){Re(this,yn,"Promise","_h"),O(t),Xe.call(this);try{t(T(An,this,1),T(Tn,this,1))}catch(t){Tn.call(this,t)}},(Xe=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=(function(t,e,n){for(var r in e)S(t,r,e[r],n);return t})(yn.prototype,{then:function(t,e){var n=bn(Ue(this,yn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=vn?dn.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&_n(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Ze=function(){var t=new Xe;this.promise=t,this.resolve=T(An,t,1),this.reject=T(Tn,t,1)},un.f=bn=function(t){return t===yn||t===Qe?new Ze(t):Ye(t)}),j(j.G+j.W+j.F*!gn,{Promise:yn}),pt(yn,"Promise"),(function(t){var e=r[t];c&&e&&!e[fn]&&y.f(e,fn,{configurable:!0,get:function(){return this}})})("Promise"),Qe=o.Promise,j(j.S+j.F*!gn,"Promise",{reject:function(t){var e=bn(this);return(0,e.reject)(t),e.promise}}),j(j.S+j.F*!gn,"Promise",{resolve:function(t){return sn(this,t)}}),j(j.S+j.F*!(gn&&ie((function(t){yn.all(t).catch(mn)}))),"Promise",{all:function(t){var e=this,n=bn(e),r=n.resolve,o=n.reject,i=cn((function(){var n=[],i=0,a=1;Ne(t,!1,(function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[u]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=bn(e),r=n.reject,o=cn((function(){Ne(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}});var jn=t((function(t){var e=E("meta"),n=y.f,r=0,o=Object.isExtensible||function(){return!0},a=!u((function(){return o(Object.preventExtensions({}))})),c=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},s=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!g(t,e)){if(!o(t))return"F";if(!n)return"E";c(t)}return t[e].i},getWeak:function(t,n){if(!g(t,e)){if(!o(t))return!0;if(!n)return!1;c(t)}return t[e].w},onFreeze:function(t){return a&&s.NEED&&o(t)&&!g(t,e)&&c(t),t}}})),Pn={f:ft},xn=y.f,Ln=function(t){var e=X(t),n=Y.f;if(n)for(var r,o=n(t),i=Z.f,a=0;o.length>a;)i.call(t,r=o[a++])&&e.push(r);return e},Cn=J.concat("length","prototype"),Fn={f:Object.getOwnPropertyNames||function(t){return z(t,Cn)}},Dn=Fn.f,Mn={}.toString,kn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Rn=function(t){try{return Dn(t)}catch(t){return kn.slice()}},Nn={f:function(t){return kn&&"[object Window]"==Mn.call(t)?Rn(t):Dn(F(t))}},In=Object.getOwnPropertyDescriptor,Un={f:c?In:function(t,e){if(t=F(t),e=p(e,!0),h)try{return In(t,e)}catch(t){}if(g(t,e))return v(!Z.f.call(t,e),t[e])}},Bn=jn.KEY,Kn=Un.f,qn=y.f,Gn=Nn.f,Wn=r.Symbol,Hn=r.JSON,Vn=Hn&&Hn.stringify,$n=ft("_hidden"),zn=ft("toPrimitive"),Jn={}.propertyIsEnumerable,Xn=G("symbol-registry"),Yn=G("symbols"),Zn=G("op-symbols"),Qn=Object.prototype,tr="function"==typeof Wn,er=r.QObject,nr=!er||!er.prototype||!er.prototype.findChild,rr=c&&u((function(){return 7!=st(qn({},"a",{get:function(){return qn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Kn(Qn,e);r&&delete Qn[e],qn(t,e,n),r&&t!==Qn&&qn(Qn,e,r)}:qn,or=function(t){var e=Yn[t]=st(Wn.prototype);return e._k=t,e},ir=tr&&"symbol"==typeof Wn.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Wn},ar=function(t,e,n){return t===Qn&&ar(Zn,e,n),a(t),e=p(e,!0),a(n),g(Yn,e)?(n.enumerable?(g(t,$n)&&t[$n][e]&&(t[$n][e]=!1),n=st(n,{enumerable:v(0,!1)})):(g(t,$n)||qn(t,$n,v(1,{})),t[$n][e]=!0),rr(t,e,n)):qn(t,e,n)},ur=function(t,e){a(t);for(var n,r=Ln(e=F(e)),o=0,i=r.length;i>o;)ar(t,n=r[o++],e[n]);return t},cr=function(t){var e=Jn.call(this,t=p(t,!0));return!(this===Qn&&g(Yn,t)&&!g(Zn,t))&&(!(e||!g(this,t)||!g(Yn,t)||g(this,$n)&&this[$n][t])||e)},sr=function(t,e){if(t=F(t),e=p(e,!0),t!==Qn||!g(Yn,e)||g(Zn,e)){var n=Kn(t,e);return!n||!g(Yn,e)||g(t,$n)&&t[$n][e]||(n.enumerable=!0),n}},fr=function(t){for(var e,n=Gn(F(t)),r=[],o=0;n.length>o;)g(Yn,e=n[o++])||e==$n||e==Bn||r.push(e);return r},lr=function(t){for(var e,n=t===Qn,r=Gn(n?Zn:F(t)),o=[],i=0;r.length>i;)!g(Yn,e=r[i++])||n&&!g(Qn,e)||o.push(Yn[e]);return o};tr||(S((Wn=function(){if(this instanceof Wn)throw TypeError("Symbol is not a constructor!");var t=E(arguments.length>0?arguments[0]:void 0),e=function(n){this===Qn&&e.call(Zn,n),g(this,$n)&&g(this[$n],t)&&(this[$n][t]=!1),rr(this,t,v(1,n))};return c&&nr&&rr(Qn,t,{configurable:!0,set:e}),or(t)}).prototype,"toString",(function(){return this._k})),Un.f=sr,y.f=ar,Fn.f=Nn.f=fr,Z.f=cr,Y.f=lr,c&&S(Qn,"propertyIsEnumerable",cr,!0),Pn.f=function(t){return or(ft(t))}),j(j.G+j.W+j.F*!tr,{Symbol:Wn});for(var hr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),pr=0;hr.length>pr;)ft(hr[pr++]);for(var dr=X(ft.store),yr=0;dr.length>yr;)!(function(t){var e=o.Symbol||(o.Symbol=r.Symbol||{});"_"==t.charAt(0)||t in e||xn(e,t,{value:Pn.f(t)})})(dr[yr++]);j(j.S+j.F*!tr,"Symbol",{for:function(t){return g(Xn,t+="")?Xn[t]:Xn[t]=Wn(t)},keyFor:function(t){if(!ir(t))throw TypeError(t+" is not a symbol!");for(var e in Xn)if(Xn[e]===t)return e},useSetter:function(){nr=!0},useSimple:function(){nr=!1}}),j(j.S+j.F*!tr,"Object",{create:function(t,e){return void 0===e?st(t):ur(st(t),e)},defineProperty:ar,defineProperties:ur,getOwnPropertyDescriptor:sr,getOwnPropertyNames:fr,getOwnPropertySymbols:lr}),Hn&&j(j.S+j.F*(!tr||u((function(){var t=Wn();return"[null]"!=Vn([t])||"{}"!=Vn({a:t})||"{}"!=Vn(Object(t))}))),"JSON",{stringify:function(t){if(void 0!==t&&!ir(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(e=r[1])&&(n=e),!n&&fe(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!ir(e))return e}),r[1]=e,Vn.apply(Hn,r)}}}),Wn.prototype[zn]||m(Wn.prototype,zn,Wn.prototype.valueOf),pt(Wn,"Symbol"),pt(Math,"Math",!0),pt(r.JSON,"JSON",!0);Pn.f("iterator");var vr=Math.floor;j(j.S,"Number",{isInteger:function(t){return!i(t)&&isFinite(t)&&vr(t)===t}});var mr=K(!0);j(j.P,"Array",{includes:function(t){return mr(this,t,arguments.length>1?arguments[1]:void 0)}}),se("includes");var br=Z.f,gr=function(t){return function(e){for(var n,r=F(e),o=X(r),i=o.length,a=0,u=[];i>a;)br.call(r,n=o[a++])&&u.push(t?[n,r[n]]:r[n]);return u}},wr=gr(!0);j(j.S,"Object",{entries:function(t){return wr(t)}});var _r=gr(!1);j(j.S,"Object",{values:function(t){return _r(t)}}),(function(t){function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return m.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function u(t){var e=new FileReader,n=a(e);return e.readAsArrayBuffer(t),n}function c(t){var e=new FileReader,n=a(e);return e.readAsText(t),n}function s(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(m.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(m.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(m.arrayBuffer&&m.blob&&g(t))this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(s(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return _.indexOf(e)>-1?e:t}function p(t,e){var n=(e=e||{}).body;if(t instanceof p){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function d(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function y(t){var e=new o;return t.split(/\r?\n/).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e}function v(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var m={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&(function(){try{return new Blob,!0}catch(t){return!1}})(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&b.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,r){t=e(t),r=n(r);var o=this.map[t];this.map[t]=o?o+","+r:r},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=n(r)},o.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},o.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),r(t)},o.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),r(t)},o.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),r(t)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},l.call(p.prototype),l.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];v.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new v(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=p,t.Response=v,t.fetch=function(t,e){return new Promise(function(n,r){var o=new p(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;n(new v(e,t))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}})("undefined"!=typeof self?self:void 0),(function(t){function e(e){return!!e&&("Symbol"in t&&"iterator"in t.Symbol&&"function"==typeof e[Symbol.iterator]||!!Array.isArray(e))}function n(t){return"from"in Array?Array.from(t):Array.prototype.slice.call(t)}!(function(){function r(t){var e="",n=!0;return t.forEach((function(t){var r=encodeURIComponent(t.name),o=encodeURIComponent(t.value);n||(e+="&"),e+=r+"="+o,n=!1})),e.replace(/%20/g,"+")}function o(t,e){var n=t.split("&");e&&-1===n[0].indexOf("=")&&(n[0]="="+n[0]);var r=[];n.forEach((function(t){if(0!==t.length){var e=t.indexOf("=");if(-1!==e)var n=t.substring(0,e),o=t.substring(e+1);else n=t,o="";n=n.replace(/\+/g," "),o=o.replace(/\+/g," "),r.push({name:n,value:o})}}));var o=[];return r.forEach((function(t){o.push({name:decodeURIComponent(t.name),value:decodeURIComponent(t.value)})})),o}function i(t){if(s)return new f(t);var e=document.createElement("a");return e.href=t,e}function a(t){var i=this;this._list=[],void 0===t||null===t||(t instanceof a?this._list=o(String(t)):"object"==typeof t&&e(t)?n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();i._list.push({name:String(r[0]),value:String(r[1])})})):"object"==typeof t&&t?Object.keys(t).forEach((function(e){i._list.push({name:String(e),value:String(t[e])})})):("?"===(t=String(t)).substring(0,1)&&(t=t.substring(1)),this._list=o(t))),this._url_object=null,this._setList=function(t){u||(i._list=t)};var u=!1;this._update_steps=function(){u||(u=!0,i._url_object&&("about:"===i._url_object.protocol&&-1!==i._url_object.pathname.indexOf("?")&&(i._url_object.pathname=i._url_object.pathname.split("?")[0]),i._url_object.search=r(i._list),u=!1))}}function u(t,e){var n=0;this.next=function(){if(n>=t.length)return{done:!0,value:void 0};var r=t[n++];return{done:!1,value:"key"===e?r.name:"value"===e?r.value:[r.name,r.value]}}}function c(e,n){function r(){var t=c.href.replace(/#$|\?$|\?(?=#)/g,"");c.href!==t&&(c.href=t)}function u(){h._setList(c.search?o(c.search.substring(1)):[]),h._update_steps()}if(!(this instanceof t.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");n&&(e=(function(){if(s)return new f(e,n).href;var t;if(document.implementation&&document.implementation.createHTMLDocument?t=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((t=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(t.createElement("head")),t.documentElement.appendChild(t.createElement("body"))):window.ActiveXObject&&((t=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=n,t.getElementsByTagName("head")[0].appendChild(r);var o=t.createElement("a");return o.href=e,o.href})());var c=i(e||""),l=(function(){if(!("defineProperties"in Object))return!1;try{var t={};return Object.defineProperties(t,{prop:{get:function(){return!0}}}),t.prop}catch(t){return!1}})()?this:document.createElement("a"),h=new a(c.search?c.search.substring(1):null);return h._url_object=l,Object.defineProperties(l,{href:{get:function(){return c.href},set:function(t){c.href=t,r(),u()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in c?c.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return c.protocol},set:function(t){c.protocol=t},enumerable:!0,configurable:!0},username:{get:function(){return c.username},set:function(t){c.username=t},enumerable:!0,configurable:!0},password:{get:function(){return c.password},set:function(t){c.password=t},enumerable:!0,configurable:!0},host:{get:function(){var t={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[c.protocol];return t?c.host.replace(t,""):c.host},set:function(t){c.host=t},enumerable:!0,configurable:!0},hostname:{get:function(){return c.hostname},set:function(t){c.hostname=t},enumerable:!0,configurable:!0},port:{get:function(){return c.port},set:function(t){c.port=t},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==c.pathname.charAt(0)?"/"+c.pathname:c.pathname},set:function(t){c.pathname=t},enumerable:!0,configurable:!0},search:{get:function(){return c.search},set:function(t){c.search!==t&&(c.search=t,r(),u())},enumerable:!0,configurable:!0},searchParams:{get:function(){return h},enumerable:!0,configurable:!0},hash:{get:function(){return c.hash},set:function(t){c.hash=t,r()},enumerable:!0,configurable:!0},toString:{value:function(){return c.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return c.valueOf()},enumerable:!1,configurable:!0}}),l}var s,f=t.URL;try{if(f){if("searchParams"in(s=new t.URL("http://example.com")))return;"href"in s||(s=void 0)}}catch(t){}if(Object.defineProperties(a.prototype,{append:{value:function(t,e){this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(t){for(var e=0;e<this._list.length;)this._list[e].name===t?this._list.splice(e,1):++e;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return this._list[e].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(t){for(var e=[],n=0;n<this._list.length;++n)this._list[n].name===t&&e.push(this._list[n].value);return e},writable:!0,enumerable:!0,configurable:!0},has:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(t,e){for(var n=!1,r=0;r<this._list.length;)this._list[r].name===t?n?this._list.splice(r,1):(this._list[r].value=e,n=!0,++r):++r;n||this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new u(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new u(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new u(this._list,"value")},writable:!0,enumerable:!0,configurable:!0},forEach:{value:function(t){var e=arguments.length>1?arguments[1]:void 0;this._list.forEach((function(n,r){t.call(e,n.value,n.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return r(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in t&&"iterator"in t.Symbol&&(Object.defineProperty(a.prototype,t.Symbol.iterator,{value:a.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,t.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),f)for(var l in f)f.hasOwnProperty(l)&&"function"==typeof f[l]&&(c[l]=f[l]);t.URL=c,t.URLSearchParams=a})(),(function(){if("1"!==new t.URLSearchParams([["a",1]]).get("a")||"1"!==new t.URLSearchParams({a:1}).get("a")){var r=t.URLSearchParams;t.URLSearchParams=function(t){if(t&&"object"==typeof t&&e(t)){var o=new r;return n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();o.append(r[0],r[1])})),o}return t&&"object"==typeof t?(o=new r,Object.keys(t).forEach((function(e){o.set(e,t[e])})),o):new r(t)}}})()})(self);for(var Er=t((function(t){(function(){var e,n,r,o,i,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-i)/1e6},n=process.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(n)})),Sr="undefined"==typeof window?n:window,Or=["moz","webkit"],Tr="AnimationFrame",Ar=Sr["request"+Tr],jr=Sr["cancel"+Tr]||Sr["cancelRequest"+Tr],Pr=0;!Ar&&Pr<Or.length;Pr++)Ar=Sr[Or[Pr]+"Request"+Tr],jr=Sr[Or[Pr]+"Cancel"+Tr]||Sr[Or[Pr]+"CancelRequest"+Tr];if(!Ar||!jr){var xr=0,Lr=0,Cr=[];Ar=function(t){if(0===Cr.length){var e=Er(),n=Math.max(0,1e3/60-(e-xr));xr=n+e,setTimeout((function(){var t=Cr.slice(0);Cr.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(xr)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return Cr.push({handle:++Lr,callback:t,cancelled:!1}),Lr},jr=function(t){for(var e=0;e<Cr.length;e++)Cr[e].handle===t&&(Cr[e].cancelled=!0)}}var Fr=function(t){return Ar.call(Sr,t)};Fr.cancel=function(){jr.apply(Sr,arguments)},Fr.polyfill=function(){Sr.requestAnimationFrame=Ar,Sr.cancelAnimationFrame=jr},(function(t){function e(){return l.createDocumentFragment()}function n(t){return l.createElement(t)}function r(t,e){if(!t)throw new Error("Failed to construct "+e+": 1 argument required, but only 0 present.")}function o(t){if(1===t.length)return i(t[0]);for(var n=e(),r=I.call(t),o=0;o<t.length;o++)n.appendChild(i(r[o]));return n}function i(t){return"string"==typeof t?l.createTextNode(t):t}for(var a,u,c,s,f,l=t.document,h=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(t,e,n){return h.call(n,"value")?t[e]=n.value:(h.call(n,"get")&&t.__defineGetter__(e,n.get),h.call(n,"set")&&t.__defineSetter__(e,n.set)),t},d=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},y=function(t){if(!t)throw"SyntaxError";if(w.test(t))throw"InvalidCharacterError";return t},v=function(t){var e=void 0===t.className,n=e?t.getAttribute("class")||"":t.className,r=e||"object"==typeof n,o=(r?e?n:n.baseVal:n).replace(g,"");o.length&&N.push.apply(this,o.split(w)),this._isSVG=r,this._=t},m={get:function(){return new v(this)},set:function(){}},b="dom4-tmp-".concat(Math.random()*+new Date).replace(".","-"),g=/^\s+|\s+$/g,w=/\s+/,_=function(t,e){return this.contains(t)?e||this.remove(t):(void 0===e||e)&&(e=!0,this.add(t)),!!e},E=t.DocumentFragment&&DocumentFragment.prototype,S=t.Node,O=(S||Element).prototype,T=t.CharacterData||S,A=T&&T.prototype,j=t.DocumentType,P=j&&j.prototype,x=(t.Element||S||t.HTMLElement).prototype,L=t.HTMLSelectElement||n("select").constructor,C=L.prototype.remove,F=t.ShadowRoot,D=t.SVGElement,M=/ /g,k=function(t){var e="querySelectorAll"===t;return function(n){var r,o,i,a,u,c,s=this.parentNode;if(s){for(a=(i=this.getAttribute("id")||b)===b?i:i.replace(M,"\\ "),c=n.split(","),o=0;o<c.length;o++)c[o]="#"+a+" "+c[o];n=c.join(",")}if(i===b&&this.setAttribute("id",i),u=(s||this)[t](n),i===b&&this.removeAttribute("id"),e)for(o=u.length,r=new Array(o);o--;)r[o]=u[o];else r=u;return r}},R=function(t){"query"in t||(t.query=x.query),"queryAll"in t||(t.queryAll=x.queryAll)},N=["matches",x.matchesSelector||x.webkitMatchesSelector||x.khtmlMatchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||function(t){var e=this.parentNode;return!!e&&-1<d.call(e.querySelectorAll(t),this)},"closest",function(t){for(var e,n=this;(e=n&&n.matches)&&!n.matches(t);)n=n.parentNode;return e?n:null},"prepend",function(){var t=this.firstChild,e=o(arguments);t?this.insertBefore(e,t):this.appendChild(e)},"append",function(){this.appendChild(o(arguments))},"before",function(){var t=this.parentNode;t&&t.insertBefore(o(arguments),this)},"after",function(){var t=this.parentNode,e=this.nextSibling,n=o(arguments);t&&(e?t.insertBefore(n,e):t.appendChild(n))},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var t=this.parentNode;t&&t.replaceChild(o(arguments),this)},"remove",function(){var t=this.parentNode;t&&t.removeChild(this)},"query",k("querySelector"),"queryAll",k("querySelectorAll")],I=N.slice,U=N.length;U;U-=2)if((u=N[U-2])in x||(x[u]=N[U-1]),"remove"===u&&(L.prototype[u]=function(){return 0<arguments.length?C.apply(this,arguments):x.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(u)&&(!T||u in A||(A[u]=N[U-1]),!j||u in P||(P[u]=N[U-1])),/^(?:append|prepend)$/.test(u))if(E)u in E||(E[u]=N[U-1]);else try{e().constructor.prototype[u]=N[U-1]}catch(t){}if(R(l),E)R(E);else try{R(e().constructor.prototype)}catch(t){}F&&R(F.prototype),n("a").matches("a")||(x[u]=(function(t){return function(n){return t.call(this.parentNode?this:e().appendChild(this),n)}})(x[u])),v.prototype={length:0,add:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)||N.push.call(this,u);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:(function(t){return function(e){return-1<(U=t.call(this,u=y(e)))}})([].indexOf||function(t){for(U=this.length;U--&&this[U]!==t;);return U}),item:function(t){return this[t]||null},remove:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)&&N.splice.call(this,U,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:_,toString:function(){return N.join.call(this," ")}},!D||"classList"in D.prototype||p(D.prototype,"classList",m),"classList"in l.documentElement?((s=n("div").classList).add("a","b","a"),"a b"!=s&&("add"in(c=s.constructor.prototype)||(c=t.TemporaryTokenList.prototype),f=function(t){return function(){for(var e=0;e<arguments.length;)t.call(this,arguments[e++])}},c.add=f(c.add),c.remove=f(c.remove),c.toggle=_)):p(x,"classList",m),"contains"in O||p(O,"contains",{value:function(t){for(;t&&t!==this;)t=t.parentNode;return this===t}}),"head"in l||p(l,"head",{get:function(){return a||(a=l.getElementsByTagName("head")[0])}}),(function(){for(var e,n=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||t[o[i]+"RequestAnimationFrame"],r=t[o[i]+"CancelAnimationFrame"]||t[o[i]+"CancelRequestAnimationFrame"];r||(n?(e=n,n=function(t){var n=!0;return e((function(){n&&t.apply(this,arguments)})),function(){n=!1}},r=function(t){t()}):(n=function(t){return setTimeout(t,15,15)},r=function(t){clearTimeout(t)})),t.requestAnimationFrame=n,t.cancelAnimationFrame=r})();try{new t.CustomEvent("?")}catch(e){t.CustomEvent=(function(t,e){function n(t,e,n,r){this.initEvent(t,e,n),this.detail=r}return function(r,o){var i=l.createEvent(t);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==t&&(i.initCustomEvent=n),null==o&&(o=e),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i}})(t.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(e){e=(function(t){function e(t,e){r(arguments.length,"Event");var n=l.createEvent("Event");return e||(e={}),n.initEvent(t,!!e.bubbles,!!e.cancelable),n}return e.prototype=t.prototype,e})(t.Event||function(){}),p(t,"Event",{value:e}),Event!==e&&(Event=e)}try{new KeyboardEvent("_",{})}catch(e){e=(function(e){function n(t){for(var e=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)t[n[r]]&&e.push(n[r+1]);return e.join(" ")}function o(t,e){for(var n in e)e.hasOwnProperty(n)&&!e.hasOwnProperty.call(t,n)&&(t[n]=e[n]);return t}function i(t,e,n){try{e[t]=n[t]}catch(t){}}function a(e,a){r(arguments.length,"KeyboardEvent"),a=o(a||{},s);var f,h=l.createEvent(u),p=a.ctrlKey,d=a.shiftKey,y=a.altKey,v=a.metaKey,m=a.altGraphKey,b=c>3?n(a):null,g=String(a.key),w=String(a.char),_=a.location,E=a.keyCode||(a.keyCode=g)&&g.charCodeAt(0)||0,S=a.charCode||(a.charCode=w)&&w.charCodeAt(0)||0,O=a.bubbles,T=a.cancelable,A=a.repeat,j=a.locale,P=a.view||t;if(a.which||(a.which=a.keyCode),"initKeyEvent"in h)h.initKeyEvent(e,O,T,P,p,y,d,v,E,S);else if(0<c&&"initKeyboardEvent"in h){switch(f=[e,O,T,P],c){case 1:f.push(g,_,p,d,y,v,m);break;case 2:f.push(p,y,d,v,E,S);break;case 3:f.push(g,_,p,y,d,v,m);break;case 4:f.push(g,_,b,A,j);break;default:f.push(char,g,_,b,A,j)}h.initKeyboardEvent.apply(h,f)}else h.initEvent(e,O,T);for(g in h)s.hasOwnProperty(g)&&h[g]!==a[g]&&i(g,h,a);return h}var u,c=0,s={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var f=l.createEvent("KeyboardEvent");f.initKeyboardEvent("keyup",!1,!1,t,"+",3,!0,!1,!0,!1,!1),c="+"==(f.keyIdentifier||f.key)&&3==(f.keyLocation||f.location)&&(f.ctrlKey?f.altKey?1:3:f.shiftKey?2:4)||9}catch(t){}return u=0<c?"KeyboardEvent":"Event",a.prototype=e.prototype,a})(t.KeyboardEvent||function(){}),p(t,"KeyboardEvent",{value:e}),KeyboardEvent!==e&&(KeyboardEvent=e)}try{new MouseEvent("_",{})}catch(e){e=(function(e){function n(e,n){r(arguments.length,"MouseEvent");var o=l.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||t,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=e.prototype,n})(t.MouseEvent||function(){}),p(t,"MouseEvent",{value:e}),MouseEvent!==e&&(MouseEvent=e)}})(window),(function(t){function e(){}function n(t,e,r){function o(t){o.once&&(t.currentTarget.removeEventListener(t.type,e,o),o.removed=!0),o.passive&&(t.preventDefault=n.preventDefault),"function"==typeof o.callback?o.callback.call(this,t):o.callback&&o.callback.handleEvent(t),o.passive&&delete t.preventDefault}return o.type=t,o.callback=e,o.capture=!!r.capture,o.passive=!!r.passive,o.once=!!r.once,o.removed=!1,o}var r=t.WeakMap||(function(){function t(t,e,n){u=n,a=!1,r=void 0,t.dispatchEvent(e)}function e(t){this.value=t}function n(){o++,this.__ce__=new i("@DOMMap:"+o+Math.random())}var r,o=0,a=!1,u=!1;return e.prototype.handleEvent=function(t){a=!0,u?t.currentTarget.removeEventListener(t.type,this,!1):r=this.value},n.prototype={constructor:n,delete:function(e){return t(e,this.__ce__,!0),a},get:function(e){t(e,this.__ce__,!1);var n=r;return r=void 0,n},has:function(e){return t(e,this.__ce__,!1),a},set:function(n,r){return t(n,this.__ce__,!0),n.addEventListener(this.__ce__.type,new e(r),!1),this}},n})();e.prototype=(Object.create||Object)(null),n.preventDefault=function(){};var o,i=t.CustomEvent,a=(Object.prototype.hasOwnProperty,t.dispatchEvent),u=t.addEventListener,c=t.removeEventListener,s=0,f=function(){s++},l=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},h=function(t){return"".concat(t.capture?"1":"0",t.passive?"1":"0",t.once?"1":"0")};try{u("_",f,{once:!0}),a(new i("_")),a(new i("_")),c("_",f,{once:!0})}catch(t){}1!==s&&(function(){function i(t){return function(r,o,i){if(i&&"boolean"!=typeof i){var a,c,s,f=u.get(this),p=h(i);f||u.set(this,f=new e),r in f||(f[r]={handler:[],wrap:[]}),c=f[r],(a=l.call(c.handler,o))<0?(a=c.handler.push(o)-1,c.wrap[a]=s=new e):s=c.wrap[a],p in s||(s[p]=n(r,o,i),t.call(this,r,s[p],s[p].capture))}else t.call(this,r,o,i)}}function a(t){return function(e,n,r){if(r&&"boolean"!=typeof r){var o,i,a,c,s=u.get(this);if(s&&e in s&&(a=s[e],-1<(i=l.call(a.handler,n))&&(o=h(r),c=a.wrap[i],o in c))){t.call(this,e,c[o],c[o].capture),delete c[o];for(o in c)return;a.handler.splice(i,1),a.wrap.splice(i,1),0===a.handler.length&&delete s[e]}}else t.call(this,e,n,r)}}var u=new r;o=function(t){if(t){var e=t.prototype;e.addEventListener=i(e.addEventListener),e.removeEventListener=a(e.removeEventListener)}},t.EventTarget?o(EventTarget):(o(t.Text),o(t.Element||t.HTMLElement),o(t.HTMLDocument),o(t.Window||{prototype:t}),o(t.XMLHttpRequest))})()})(self),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),Fr.polyfill()})(); | ||
!(function(){"use strict";var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var y=e((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),v=e((function(t){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)})),c=(v.version,function(t){return"object"==typeof t?null!==t:"function"==typeof t}),d=function(t){if(!c(t))throw TypeError(t+" is not an object!");return t},s=function(t){try{return!!t()}catch(t){return!0}},r=!s((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),n=y.document,i=c(n)&&c(n.createElement),o=function(t){return i?n.createElement(t):{}},a=!r&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})),u=function(t,e){if(!c(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!c(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},l=Object.defineProperty,f={f:r?Object.defineProperty:function(t,e,n){if(d(t),e=u(e,!0),d(n),a)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},E=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},S=r?function(t,e,n){return f.f(t,e,E(1,n))}:function(t,e,n){return t[e]=n,t},h={}.hasOwnProperty,p=function(t,e){return h.call(t,e)},m=0,b=Math.random(),g=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++m+b).toString(36))},O=e((function(t){var o=g("src"),e="toString",n=Function[e],a=(""+n).split(e);v.inspectSource=function(t){return n.call(t)},(t.exports=function(t,e,n,r){var i="function"==typeof n;i&&(p(n,"name")||S(n,"name",e)),t[e]!==n&&(i&&(p(n,o)||S(n,o,t[e]?""+t[e]:a.join(String(e)))),t===y?t[e]=n:r?t[e]?t[e]=n:S(t,e,n):(delete t[e],S(t,e,n)))})(Function.prototype,e,(function(){return"function"==typeof this&&this[o]||n.call(this)}))})),w=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},_=function(r,i,t){if(w(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}},A="prototype",T=function(t,e,n){var r,i,o,a,u=t&T.F,c=t&T.G,s=t&T.S,l=t&T.P,f=t&T.B,h=c?y:s?y[e]||(y[e]={}):(y[e]||{})[A],p=c?v:v[e]||(v[e]={}),d=p[A]||(p[A]={});for(r in c&&(n=e),n)o=((i=!u&&h&&void 0!==h[r])?h:n)[r],a=f&&i?_(o,y):l&&"function"==typeof o?_(Function.call,o):o,h&&O(h,r,o,t&T.U),p[r]!=o&&S(p,r,a),l&&d[r]!=o&&(d[r]=o)};y.core=v,T.F=1,T.G=2,T.S=4,T.P=8,T.B=16,T.W=32,T.U=64,T.R=128;var j=T,P={}.toString,x=function(t){return P.call(t).slice(8,-1)},C=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==x(t)?t.split(""):Object(t)},L=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},F=function(t){return C(L(t))},M=Math.ceil,k=Math.floor,D=function(t){return isNaN(t=+t)?0:(0<t?k:M)(t)},R=Math.min,N=function(t){return 0<t?R(D(t),9007199254740991):0},I=Math.max,U=Math.min,B=function(t,e){return(t=D(t))<0?I(t+e,0):U(t,e)},K=function(u){return function(t,e,n){var r,i=F(t),o=N(i.length),a=B(n,o);if(u&&e!=e){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((u||a in i)&&i[a]===e)return u||a||0;return!u&&-1}},q=e((function(t){var e="__core-js_shared__",n=y[e]||(y[e]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:v.version,mode:"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})})),W=q("keys"),G=function(t){return W[t]||(W[t]=g(t))},H=K(!1),V=G("IE_PROTO"),z=function(t,e){var n,r=F(t),i=0,o=[];for(n in r)n!=V&&p(r,n)&&o.push(n);for(;e.length>i;)p(r,n=e[i++])&&(~H(o,n)||o.push(n));return o},$="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),J=Object.keys||function(t){return z(t,$)},X={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Z=function(t){return Object(L(t))},Q=Object.assign,tt=!Q||s((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Q({},t)[n]||Object.keys(Q({},e)).join("")!=r}))?function(t,e){for(var n=Z(t),r=arguments.length,i=1,o=X.f,a=Y.f;i<r;)for(var u,c=C(arguments[i++]),s=o?J(c).concat(o(c)):J(c),l=s.length,f=0;f<l;)a.call(c,u=s[f++])&&(n[u]=c[u]);return n}:Q;j(j.S+j.F,"Object",{assign:tt});v.Object.assign;j(j.S,"String",{raw:function(t){for(var e=F(t.raw),n=N(e.length),r=arguments.length,i=[],o=0;o<n;)i.push(String(e[o++])),o<r&&i.push(String(arguments[o]));return i.join("")}});v.String.raw;var et={},nt=r?Object.defineProperties:function(t,e){d(t);for(var n,r=J(e),i=r.length,o=0;o<i;)f.f(t,n=r[o++],e[n]);return t},rt=y.document,it=rt&&rt.documentElement,ot=G("IE_PROTO"),at=function(){},ut="prototype",ct=function(){var t,e=o("iframe"),n=$.length;for(e.style.display="none",it.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ct=t.F;n--;)delete ct[ut][$[n]];return ct()},st=Object.create||function(t,e){var n;return null!==t?(at[ut]=d(t),n=new at,at[ut]=null,n[ot]=t):n=ct(),void 0===e?n:nt(n,e)},lt=e((function(t){var e=q("wks"),n=y.Symbol,r="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=r&&n[t]||(r?n:g)("Symbol."+t))}).store=e})),ft=f.f,ht=lt("toStringTag"),pt=function(t,e,n){t&&!p(t=n?t:t.prototype,ht)&&ft(t,ht,{configurable:!0,value:e})},dt={};S(dt,lt("iterator"),(function(){return this}));var yt,vt=G("IE_PROTO"),mt=Object.prototype,bt=Object.getPrototypeOf||function(t){return t=Z(t),p(t,vt)?t[vt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mt:null},gt=lt("iterator"),wt=!([].keys&&"next"in[].keys()),_t="values",Et=function(){return this},St=function(t,e,n,r,i,o,a){var u,c,s;c=e,s=r,(u=n).prototype=st(dt,{next:E(1,s)}),pt(u,c+" Iterator");var l,f,h,p=function(t){if(!wt&&t in m)return m[t];switch(t){case"keys":case _t:return function(){return new n(this,t)}}return function(){return new n(this,t)}},d=e+" Iterator",y=i==_t,v=!1,m=t.prototype,b=m[gt]||m["@@iterator"]||i&&m[i],g=b||p(i),w=i?y?p("entries"):g:void 0,_="Array"==e&&m.entries||b;if(_&&(h=bt(_.call(new t)))!==Object.prototype&&h.next&&(pt(h,d,!0),"function"!=typeof h[gt]&&S(h,gt,Et)),y&&b&&b.name!==_t&&(v=!0,g=function(){return b.call(this)}),(wt||v||!m[gt])&&S(m,gt,g),et[e]=g,et[d]=Et,i)if(l={values:y?g:p(_t),keys:o?g:p("keys"),entries:w},a)for(f in l)f in m||O(m,f,l[f]);else j(j.P+j.F*(wt||v),e,l);return l},Ot=(yt=!0,function(t,e){var n,r,i=String(L(t)),o=D(e),a=i.length;return o<0||a<=o?yt?"":void 0:(n=i.charCodeAt(o))<55296||56319<n||o+1===a||(r=i.charCodeAt(o+1))<56320||57343<r?yt?i.charAt(o):n:yt?i.slice(o,o+2):r-56320+(n-55296<<10)+65536});St(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=Ot(e,n),this._i+=t.length,{value:t,done:!1})}));var At="\t\n\v\f\r \u2028\u2029\ufeff",Tt="["+At+"]",jt=RegExp("^"+Tt+Tt+"*"),Pt=RegExp(Tt+Tt+"*$"),xt=function(t,e,n){var r={},i=s((function(){return!!At[t]()||" "!=" "[t]()})),o=r[t]=i?e(Ct):At[t];n&&(r[n]=o),j(j.P+j.F*i,"String",r)},Ct=xt.trim=function(t,e){return t=String(L(t)),1&e&&(t=t.replace(jt,"")),2&e&&(t=t.replace(Pt,"")),t};xt("trim",(function(t){return function(){return t(this,3)}}));v.String.trim;var Lt=lt("match"),Ft=function(t,e,n){if(c(r=e)&&(void 0!==(i=r[Lt])?i:"RegExp"==x(r)))throw TypeError("String#"+n+" doesn't accept regex!");var r,i;return String(L(t))},Mt=lt("match"),kt=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[Mt]=!1,!"/./"[e](n)}catch(t){}}return!0},Dt="endsWith",Rt=""[Dt];j(j.P+j.F*kt(Dt),"String",{endsWith:function(t){var e=Ft(this,t,Dt),n=1<arguments.length?arguments[1]:void 0,r=N(e.length),i=void 0===n?r:Math.min(N(n),r),o=String(t);return Rt?Rt.call(e,o,i):e.slice(i-o.length,i)===o}});v.String.endsWith;var Nt="includes";j(j.P+j.F*kt(Nt),"String",{includes:function(t){return!!~Ft(this,t,Nt).indexOf(t,1<arguments.length?arguments[1]:void 0)}});v.String.includes;j(j.P,"String",{repeat:function(t){var e=String(L(this)),n="",r=D(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0<r;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}});v.String.repeat;var It="startsWith",Ut=""[It];j(j.P+j.F*kt(It),"String",{startsWith:function(t){var e=Ft(this,t,It),n=N(Math.min(1<arguments.length?arguments[1]:void 0,e.length)),r=String(t);return Ut?Ut.call(e,r,n):e.slice(n,n+r.length)===r}});v.String.startsWith;j(j.S,"Date",{now:function(){return(new Date).getTime()}}),j(j.P+j.F*s((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=Z(this),n=u(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}});var Bt=Date.prototype.getTime,Kt=Date.prototype.toISOString,qt=function(t){return 9<t?t:"0"+t},Wt=s((function(){return"0385-07-25T07:06:39.999Z"!=Kt.call(new Date(-5e13-1))}))||!s((function(){Kt.call(new Date(NaN))}))?function(){if(!isFinite(Bt.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":9999<e?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+qt(t.getUTCMonth()+1)+"-"+qt(t.getUTCDate())+"T"+qt(t.getUTCHours())+":"+qt(t.getUTCMinutes())+":"+qt(t.getUTCSeconds())+"."+(99<n?n:"0"+qt(n))+"Z"}:Kt;j(j.P+j.F*(Date.prototype.toISOString!==Wt),"Date",{toISOString:Wt});var Gt=Date.prototype,Ht="Invalid Date",Vt="toString",zt=Gt[Vt],$t=Gt.getTime;new Date(NaN)+""!=Ht&&O(Gt,Vt,(function(){var t=$t.call(this);return t==t?zt.call(this):Ht}));var Jt=lt("toPrimitive"),Xt=Date.prototype;Jt in Xt||S(Xt,Jt,(function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return u(d(this),"number"!=t)}));var Yt=function(e,t,n,r){try{return r?t(d(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&d(i.call(e)),t}},Zt=lt("iterator"),Qt=Array.prototype,te=function(t){return void 0!==t&&(et.Array===t||Qt[Zt]===t)},ee=function(t,e,n){e in t?f.f(t,e,E(0,n)):t[e]=n},ne=lt("toStringTag"),re="Arguments"==x(function(){return arguments}()),ie=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(function(t,e){try{return t[e]}catch(t){}})(e=Object(t),ne))?n:re?x(e):"Object"==(r=x(e))&&"function"==typeof e.callee?"Arguments":r},oe=lt("iterator"),ae=v.getIteratorMethod=function(t){if(null!=t)return t[oe]||t["@@iterator"]||et[ie(t)]},ue=lt("iterator"),ce=!1;try{[7][ue]().return=function(){ce=!0}}catch(t){}var se=function(t,e){if(!e&&!ce)return!1;var n=!1;try{var r=[7],i=r[ue]();i.next=function(){return{done:n=!0}},r[ue]=function(){return i},t(r)}catch(t){}return n};j(j.S+j.F*!se((function(t){})),"Array",{from:function(t){var e,n,r,i,o=Z(t),a="function"==typeof this?this:Array,u=arguments.length,c=1<u?arguments[1]:void 0,s=void 0!==c,l=0,f=ae(o);if(s&&(c=_(c,2<u?arguments[2]:void 0,2)),null==f||a==Array&&te(f))for(n=new a(e=N(o.length));l<e;l++)ee(n,l,s?c(o[l],l):o[l]);else for(i=f.call(o),n=new a;!(r=i.next()).done;l++)ee(n,l,s?Yt(i,c,[r.value,l],!0):r.value);return n.length=l,n}});v.Array.from;j(j.S+j.F*s((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);t<e;)ee(n,t,arguments[t++]);return n.length=e,n}});v.Array.of;var le=[].copyWithin||function(t,e){var n=Z(this),r=N(n.length),i=B(t,r),o=B(e,r),a=2<arguments.length?arguments[2]:void 0,u=Math.min((void 0===a?r:B(a,r))-o,r-i),c=1;for(o<i&&i<o+u&&(c=-1,o+=u-1,i+=u-1);0<u--;)o in n?n[i]=n[o]:delete n[i],i+=c,o+=c;return n},fe=lt("unscopables"),he=Array.prototype;null==he[fe]&&S(he,fe,{});var pe=function(t){he[fe][t]=!0};j(j.P,"Array",{copyWithin:le}),pe("copyWithin");v.Array.copyWithin;j(j.P,"Array",{fill:function(t){for(var e=Z(this),n=N(e.length),r=arguments.length,i=B(1<r?arguments[1]:void 0,n),o=2<r?arguments[2]:void 0,a=void 0===o?n:B(o,n);i<a;)e[i++]=t;return e}}),pe("fill");v.Array.fill;var de=Array.isArray||function(t){return"Array"==x(t)},ye=lt("species"),ve=function(t,e){return de(n=t)&&("function"!=typeof(r=n.constructor)||r!==Array&&!de(r.prototype)||(r=void 0),c(r)&&null===(r=r[ye])&&(r=void 0)),new(void 0===r?Array:r)(e);var n,r},me=function(f,t){var h=1==f,p=2==f,d=3==f,y=4==f,v=6==f,m=5==f||v,b=t||ve;return function(t,e,n){for(var r,i,o=Z(t),a=C(o),u=_(e,n,3),c=N(a.length),s=0,l=h?b(t,c):p?b(t,0):void 0;s<c;s++)if((m||s in a)&&(i=u(r=a[s],s,o),f))if(h)l[s]=i;else if(i)switch(f){case 3:return!0;case 5:return r;case 6:return s;case 2:l.push(r)}else if(y)return!1;return v?-1:d||y?y:l}},be=me(5),ge="find",we=!0;ge in[]&&Array(1)[ge]((function(){we=!1})),j(j.P+j.F*we,"Array",{find:function(t){return be(this,t,1<arguments.length?arguments[1]:void 0)}}),pe(ge);v.Array.find;var _e=me(6),Ee="findIndex",Se=!0;Ee in[]&&Array(1)[Ee]((function(){Se=!1})),j(j.P+j.F*Se,"Array",{findIndex:function(t){return _e(this,t,1<arguments.length?arguments[1]:void 0)}}),pe(Ee);v.Array.findIndex;var Oe=function(t,e){return{value:e,done:!!t}},Ae=St(Array,"Array",(function(t,e){this._t=F(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,Oe(1)):Oe(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values");et.Arguments=et.Array,pe("keys"),pe("values"),pe("entries");v.Array.values;var Te={};Te[lt("toStringTag")]="z",Te+""!="[object z]"&&O(Object.prototype,"toString",(function(){return"[object "+ie(this)+"]"}),!0);for(var je=lt("iterator"),Pe=lt("toStringTag"),xe=et.Array,Ce={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},Le=J(Ce),Fe=0;Fe<Le.length;Fe++){var Me,ke=Le[Fe],De=Ce[ke],Re=y[ke],Ne=Re&&Re.prototype;if(Ne&&(Ne[je]||S(Ne,je,xe),Ne[Pe]||S(Ne,Pe,ke),et[ke]=xe,De))for(Me in Ae)Ne[Me]||O(Ne,Me,Ae[Me],!0)}var Ie,Ue,Be,Ke=e((function(t){var h={},p={},e=t.exports=function(t,e,n,r,i){var o,a,u,c,s=i?function(){return t}:ae(t),l=_(n,r,e?2:1),f=0;if("function"!=typeof s)throw TypeError(t+" is not iterable!");if(te(s)){for(o=N(t.length);f<o;f++)if((c=e?l(d(a=t[f])[0],a[1]):l(t[f]))===h||c===p)return c}else for(u=s.call(t);!(a=u.next()).done;)if((c=Yt(u,l,a.value,e))===h||c===p)return c};e.BREAK=h,e.RETURN=p})),qe=lt("species"),We=function(t,e){var n,r=d(t).constructor;return void 0===r||null==(n=d(r)[qe])?e:w(n)},Ge=y.process,He=y.setImmediate,Ve=y.clearImmediate,ze=y.MessageChannel,$e=y.Dispatch,Je=0,Xe={},Ye="onreadystatechange",Ze=function(){var t=+this;if(Xe.hasOwnProperty(t)){var e=Xe[t];delete Xe[t],e()}},Qe=function(t){Ze.call(t.data)};He&&Ve||(He=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Xe[++Je]=function(){!(function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}t.apply(n,e)})("function"==typeof t?t:Function(t),e)},Ie(Je),Je},Ve=function(t){delete Xe[t]},"process"==x(Ge)?Ie=function(t){Ge.nextTick(_(Ze,t,1))}:$e&&$e.now?Ie=function(t){$e.now(_(Ze,t,1))}:ze?(Be=(Ue=new ze).port2,Ue.port1.onmessage=Qe,Ie=_(Be.postMessage,Be,1)):y.addEventListener&&"function"==typeof postMessage&&!y.importScripts?(Ie=function(t){y.postMessage(t+"","*")},y.addEventListener("message",Qe,!1)):Ie=Ye in o("script")?function(t){it.appendChild(o("script"))[Ye]=function(){it.removeChild(this),Ze.call(t)}}:function(t){setTimeout(_(Ze,t,1),0)});var tn={set:He,clear:Ve},en=tn.set,nn=y.MutationObserver||y.WebKitMutationObserver,rn=y.process,on=y.Promise,an="process"==x(rn);function un(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=w(n),this.reject=w(r)}var cn,sn,ln,fn,hn,pn={f:function(t){return new un(t)}},dn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},yn=y.navigator,vn=yn&&yn.userAgent||"",mn=function(t,e){if(d(t),c(e)&&e.constructor===t)return e;var n=pn.f(t);return(0,n.resolve)(e),n.promise},bn=lt("species"),gn=tn.set,wn=(function(){var n,r,i,t=function(){var t,e;for(an&&(t=rn.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?i():r=void 0,t}}r=void 0,t&&t.enter()};if(an)i=function(){rn.nextTick(t)};else if(!nn||y.navigator&&y.navigator.standalone)if(on&&on.resolve){var e=on.resolve(void 0);i=function(){e.then(t)}}else i=function(){en.call(y,t)};else{var o=!0,a=document.createTextNode("");new nn(t).observe(a,{characterData:!0}),i=function(){a.data=o=!o}}return function(t){var e={fn:t,next:void 0};r&&(r.next=e),n||(n=e,i()),r=e}})(),_n="Promise",En=y.TypeError,Sn=y.process,On=Sn&&Sn.versions,An=On&&On.v8||"",Tn=y[_n],jn="process"==ie(Sn),Pn=function(){},xn=sn=pn.f,Cn=!!(function(){try{var t=Tn.resolve(1),e=(t.constructor={})[lt("species")]=function(t){t(Pn,Pn)};return(jn||"function"==typeof PromiseRejectionEvent)&&t.then(Pn)instanceof e&&0!==An.indexOf("6.6")&&-1===vn.indexOf("Chrome/66")}catch(t){}})(),Ln=function(t){var e;return!(!c(t)||"function"!=typeof(e=t.then))&&e},Fn=function(l,n){if(!l._n){l._n=!0;var r=l._c;wn((function(){for(var c=l._v,s=1==l._s,t=0,e=function(t){var e,n,r,i=s?t.ok:t.fail,o=t.resolve,a=t.reject,u=t.domain;try{i?(s||(2==l._h&&Dn(l),l._h=1),!0===i?e=c:(u&&u.enter(),e=i(c),u&&(u.exit(),r=!0)),e===t.promise?a(En("Promise-chain cycle")):(n=Ln(e))?n.call(e,o,a):o(e)):a(c)}catch(t){u&&!r&&u.exit(),a(t)}};r.length>t;)e(r[t++]);l._c=[],l._n=!1,n&&!l._h&&Mn(l)}))}},Mn=function(o){gn.call(y,(function(){var t,e,n,r=o._v,i=kn(o);if(i&&(t=dn((function(){jn?Sn.emit("unhandledRejection",r,o):(e=y.onunhandledrejection)?e({promise:o,reason:r}):(n=y.console)&&n.error&&n.error("Unhandled promise rejection",r)})),o._h=jn||kn(o)?2:1),o._a=void 0,i&&t.e)throw t.v}))},kn=function(t){return 1!==t._h&&0===(t._a||t._c).length},Dn=function(e){gn.call(y,(function(){var t;jn?Sn.emit("rejectionHandled",e):(t=y.onrejectionhandled)&&t({promise:e,reason:e._v})}))},Rn=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),Fn(e,!0))},Nn=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw En("Promise can't be resolved itself");(n=Ln(t))?wn((function(){var e={_w:r,_d:!1};try{n.call(t,_(Nn,e,1),_(Rn,e,1))}catch(t){Rn.call(e,t)}})):(r._v=t,r._s=1,Fn(r,!1))}catch(t){Rn.call({_w:r,_d:!1},t)}}};Cn||(Tn=function(t){!(function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!")})(this,Tn,_n,"_h"),w(t),cn.call(this);try{t(_(Nn,this,1),_(Rn,this,1))}catch(t){Rn.call(this,t)}},(cn=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=(function(t,e,n){for(var r in e)O(t,r,e[r],n);return t})(Tn.prototype,{then:function(t,e){var n=xn(We(this,Tn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=jn?Sn.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Fn(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),ln=function(){var t=new cn;this.promise=t,this.resolve=_(Nn,t,1),this.reject=_(Rn,t,1)},pn.f=xn=function(t){return t===Tn||t===fn?new ln(t):sn(t)}),j(j.G+j.W+j.F*!Cn,{Promise:Tn}),pt(Tn,_n),hn=y[_n],r&&hn&&!hn[bn]&&f.f(hn,bn,{configurable:!0,get:function(){return this}}),fn=v[_n],j(j.S+j.F*!Cn,_n,{reject:function(t){var e=xn(this);return(0,e.reject)(t),e.promise}}),j(j.S+j.F*!Cn,_n,{resolve:function(t){return mn(this,t)}}),j(j.S+j.F*!(Cn&&se((function(t){Tn.all(t).catch(Pn)}))),_n,{all:function(t){var a=this,e=xn(a),u=e.resolve,c=e.reject,n=dn((function(){var r=[],i=0,o=1;Ke(t,!1,(function(t){var e=i++,n=!1;r.push(void 0),o++,a.resolve(t).then((function(t){n||(n=!0,r[e]=t,--o||u(r))}),c)})),--o||u(r)}));return n.e&&c(n.v),e.promise},race:function(t){var e=this,n=xn(e),r=n.reject,i=dn((function(){Ke(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}});v.Promise;var In,Un,Bn=e((function(t){var n=g("meta"),e=f.f,r=0,i=Object.isExtensible||function(){return!0},o=!s((function(){return i(Object.preventExtensions({}))})),a=function(t){e(t,n,{value:{i:"O"+ ++r,w:{}}})},u=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!c(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!p(t,n)){if(!i(t))return"F";if(!e)return"E";a(t)}return t[n].i},getWeak:function(t,e){if(!p(t,n)){if(!i(t))return!0;if(!e)return!1;a(t)}return t[n].w},onFreeze:function(t){return o&&u.NEED&&i(t)&&!p(t,n)&&a(t),t}}})),Kn=(Bn.KEY,Bn.NEED,Bn.fastKey,Bn.getWeak,Bn.onFreeze,{f:lt}),qn=f.f,Wn=$.concat("length","prototype"),Gn={f:Object.getOwnPropertyNames||function(t){return z(t,Wn)}},Hn=Gn.f,Vn={}.toString,zn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],$n={f:function(t){return zn&&"[object Window]"==Vn.call(t)?(function(t){try{return Hn(t)}catch(t){return zn.slice()}})(t):Hn(F(t))}},Jn=Object.getOwnPropertyDescriptor,Xn={f:r?Jn:function(t,e){if(t=F(t),e=u(e,!0),a)try{return Jn(t,e)}catch(t){}if(p(t,e))return E(!Y.f.call(t,e),t[e])}},Yn=Bn.KEY,Zn=Xn.f,Qn=f.f,tr=$n.f,er=y.Symbol,nr=y.JSON,rr=nr&&nr.stringify,ir="prototype",or=lt("_hidden"),ar=lt("toPrimitive"),ur={}.propertyIsEnumerable,cr=q("symbol-registry"),sr=q("symbols"),lr=q("op-symbols"),fr=Object[ir],hr="function"==typeof er,pr=y.QObject,dr=!pr||!pr[ir]||!pr[ir].findChild,yr=r&&s((function(){return 7!=st(Qn({},"a",{get:function(){return Qn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Zn(fr,e);r&&delete fr[e],Qn(t,e,n),r&&t!==fr&&Qn(fr,e,r)}:Qn,vr=function(t){var e=sr[t]=st(er[ir]);return e._k=t,e},mr=hr&&"symbol"==typeof er.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof er},br=function(t,e,n){return t===fr&&br(lr,e,n),d(t),e=u(e,!0),d(n),p(sr,e)?(n.enumerable?(p(t,or)&&t[or][e]&&(t[or][e]=!1),n=st(n,{enumerable:E(0,!1)})):(p(t,or)||Qn(t,or,E(1,{})),t[or][e]=!0),yr(t,e,n)):Qn(t,e,n)},gr=function(t,e){d(t);for(var n,r=(function(t){var e=J(t),n=X.f;if(n)for(var r,i=n(t),o=Y.f,a=0;i.length>a;)o.call(t,r=i[a++])&&e.push(r);return e})(e=F(e)),i=0,o=r.length;i<o;)br(t,n=r[i++],e[n]);return t},wr=function(t){var e=ur.call(this,t=u(t,!0));return!(this===fr&&p(sr,t)&&!p(lr,t))&&(!(e||!p(this,t)||!p(sr,t)||p(this,or)&&this[or][t])||e)},_r=function(t,e){if(t=F(t),e=u(e,!0),t!==fr||!p(sr,e)||p(lr,e)){var n=Zn(t,e);return!n||!p(sr,e)||p(t,or)&&t[or][e]||(n.enumerable=!0),n}},Er=function(t){for(var e,n=tr(F(t)),r=[],i=0;n.length>i;)p(sr,e=n[i++])||e==or||e==Yn||r.push(e);return r},Sr=function(t){for(var e,n=t===fr,r=tr(n?lr:F(t)),i=[],o=0;r.length>o;)!p(sr,e=r[o++])||n&&!p(fr,e)||i.push(sr[e]);return i};hr||(O((er=function(){if(this instanceof er)throw TypeError("Symbol is not a constructor!");var e=g(0<arguments.length?arguments[0]:void 0),n=function(t){this===fr&&n.call(lr,t),p(this,or)&&p(this[or],e)&&(this[or][e]=!1),yr(this,e,E(1,t))};return r&&dr&&yr(fr,e,{configurable:!0,set:n}),vr(e)})[ir],"toString",(function(){return this._k})),Xn.f=_r,f.f=br,Gn.f=$n.f=Er,Y.f=wr,X.f=Sr,r&&O(fr,"propertyIsEnumerable",wr,!0),Kn.f=function(t){return vr(lt(t))}),j(j.G+j.W+j.F*!hr,{Symbol:er});for(var Or="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ar=0;Or.length>Ar;)lt(Or[Ar++]);for(var Tr=J(lt.store),jr=0;Tr.length>jr;)In=Tr[jr++],void 0,Un=v.Symbol||(v.Symbol=y.Symbol||{}),"_"==In.charAt(0)||In in Un||qn(Un,In,{value:Kn.f(In)});j(j.S+j.F*!hr,"Symbol",{for:function(t){return p(cr,t+="")?cr[t]:cr[t]=er(t)},keyFor:function(t){if(!mr(t))throw TypeError(t+" is not a symbol!");for(var e in cr)if(cr[e]===t)return e},useSetter:function(){dr=!0},useSimple:function(){dr=!1}}),j(j.S+j.F*!hr,"Object",{create:function(t,e){return void 0===e?st(t):gr(st(t),e)},defineProperty:br,defineProperties:gr,getOwnPropertyDescriptor:_r,getOwnPropertyNames:Er,getOwnPropertySymbols:Sr}),nr&&j(j.S+j.F*(!hr||s((function(){var t=er();return"[null]"!=rr([t])||"{}"!=rr({a:t})||"{}"!=rr(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(c(e)||void 0!==t)&&!mr(t))return de(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!mr(e))return e}),r[1]=e,rr.apply(nr,r)}}),er[ir][ar]||S(er[ir],ar,er[ir].valueOf),pt(er,"Symbol"),pt(Math,"Math",!0),pt(y.JSON,"JSON",!0);v.Symbol,Kn.f("iterator");var Pr=Math.floor;j(j.S,"Number",{isInteger:function(t){return!c(t)&&isFinite(t)&&Pr(t)===t}});v.Number.isInteger;var xr=K(!0);j(j.P,"Array",{includes:function(t){return xr(this,t,1<arguments.length?arguments[1]:void 0)}}),pe("includes");v.Array.includes;var Cr=Y.f,Lr=function(u){return function(t){for(var e,n=F(t),r=J(n),i=r.length,o=0,a=[];o<i;)Cr.call(n,e=r[o++])&&a.push(u?[e,n[e]]:n[e]);return a}},Fr=Lr(!0);j(j.S,"Object",{entries:function(t){return Fr(t)}});v.Object.entries;var Mr=Lr(!1);j(j.S,"Object",{values:function(t){return Mr(t)}});v.Object.values;j(j.P+j.R,"Promise",{finally:function(e){var n=We(this,v.Promise||y.Promise),t="function"==typeof e;return this.then(t?function(t){return mn(n,e()).then((function(){return t}))}:e,t?function(t){return mn(n,e()).then((function(){throw t}))}:e)}});v.Promise.finally;!(function(t){if(!t.fetch){var e="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,a="FileReader"in t&&"Blob"in t&&(function(){try{return new Blob,!0}catch(t){return!1}})(),r="FormData"in t,i="ArrayBuffer"in t;if(i)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=function(t){return t&&DataView.prototype.isPrototypeOf(t)},c=ArrayBuffer.isView||function(t){return t&&-1<o.indexOf(Object.prototype.toString.call(t))};d.prototype.append=function(t,e){t=f(t),e=h(e);var n=this.map[t];this.map[t]=n?n+","+e:e},d.prototype.delete=function(t){delete this.map[f(t)]},d.prototype.get=function(t){return t=f(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},d.prototype.set=function(t,e){this.map[f(t)]=h(e)},d.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach((function(t,e){n.push(e)})),p(n)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},d.prototype.entries=function(){var n=[];return this.forEach((function(t,e){n.push([e,t])})),p(n)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var s=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},g.call(w.prototype),g.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},E.error=function(){var t=new E(null,{status:0,statusText:""});return t.type="error",t};var l=[301,302,303,307,308];E.redirect=function(t,e){if(-1===l.indexOf(e))throw new RangeError("Invalid status code");return new E(null,{status:e,headers:{location:t}})},t.Headers=d,t.Request=w,t.Response=E,t.fetch=function(n,i){return new Promise(function(r,t){var e=new w(n,i),o=new XMLHttpRequest;o.onload=function(){var t,i,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",i=new d,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var r=e.join(":").trim();i.append(n,r)}})),i)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;r(new E(n,e))},o.onerror=function(){t(new TypeError("Network request failed"))},o.ontimeout=function(){t(new TypeError("Network request failed"))},o.open(e.method,e.url,!0),"include"===e.credentials?o.withCredentials=!0:"omit"===e.credentials&&(o.withCredentials=!1),"responseType"in o&&a&&(o.responseType="blob"),e.headers.forEach((function(t,e){o.setRequestHeader(e,t)})),o.send(void 0===e._bodyInit?null:e._bodyInit)})},t.fetch.polyfill=!0}function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function h(t){return"string"!=typeof t&&(t=String(t)),t}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(e)?e.forEach((function(t){this.append(t[0],t[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function v(n){return new Promise(function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}})}function m(t){var e=new FileReader,n=v(e);return e.readAsArrayBuffer(t),n}function b(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t)if("string"==typeof t)this._bodyText=t;else if(a&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(r&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(i&&a&&u(t))this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(t)&&!c(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=b(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var t,e,n,r=y(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=v(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}function w(t,e){var n,r,i=(e=e||{}).body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),-1<s.indexOf(r)?r:n),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function _(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(n),decodeURIComponent(r))}})),i}function E(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}})("undefined"!=typeof self?self:void 0),(function(f){function i(t){return!!t&&("Symbol"in f&&"iterator"in f.Symbol&&"function"==typeof t[Symbol.iterator]||!!Array.isArray(t))}function o(t){return"from"in Array?Array.from(t):Array.prototype.slice.call(t)}!(function(){var u,c=f.URL;try{if(c){if("searchParams"in(u=new f.URL("http://example.com")))return;"href"in u||(u=void 0)}}catch(t){}function t(t){var r="",i=!0;return t.forEach((function(t){var e=encodeURIComponent(t.name),n=encodeURIComponent(t.value);i||(r+="&"),r+=e+"="+n,i=!1})),r.replace(/%20/g,"+")}function s(t,e){var n=t.split("&");e&&-1===n[0].indexOf("=")&&(n[0]="="+n[0]);var i=[];n.forEach((function(t){if(0!==t.length){var e=t.indexOf("=");if(-1!==e)var n=t.substring(0,e),r=t.substring(e+1);else n=t,r="";n=n.replace(/\+/g," "),r=r.replace(/\+/g," "),i.push({name:n,value:r})}}));var r=[];return i.forEach((function(t){r.push({name:decodeURIComponent(t.name),value:decodeURIComponent(t.value)})})),r}function l(e){var n=this;this._list=[],null==e||(e instanceof l?this._list=s(String(e)):"object"==typeof e&&i(e)?o(e).forEach((function(t){if(!i(t))throw TypeError();var e=o(t);if(2!==e.length)throw TypeError();n._list.push({name:String(e[0]),value:String(e[1])})})):"object"==typeof e&&e?Object.keys(e).forEach((function(t){n._list.push({name:String(t),value:String(e[t])})})):("?"===(e=String(e)).substring(0,1)&&(e=e.substring(1)),this._list=s(e))),this._url_object=null;var r=!(this._setList=function(t){r||(n._list=t)});this._update_steps=function(){r||(r=!0,n._url_object&&("about:"===n._url_object.protocol&&-1!==n._url_object.pathname.indexOf("?")&&(n._url_object.pathname=n._url_object.pathname.split("?")[0]),n._url_object.search=t(n._list),r=!1))}}function e(e,n){var r=0;this.next=function(){if(r>=e.length)return{done:!0,value:void 0};var t=e[r++];return{done:!1,value:"key"===n?t.name:"value"===n?t.value:[t.name,t.value]}}}function n(i,o){if(!(this instanceof f.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");o&&(i=(function(){if(u)return new c(i,o).href;var t;try{var e;if("[object OperaMini]"===Object.prototype.toString.call(window.operamini)?((t=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(t),e=t.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?e=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((e=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(e.createElement("head")),e.documentElement.appendChild(e.createElement("body"))):window.ActiveXObject&&((e=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),e.close()),!e)throw Error("base not supported");var n=e.createElement("base");n.href=o,e.getElementsByTagName("head")[0].appendChild(n);var r=e.createElement("a");return r.href=i,r.href}finally{t&&t.parentNode.removeChild(t)}})());var e=(function(t){if(u)return new c(t);var e=document.createElement("a");return e.href=t,e})(i||""),t=(function(){if(!("defineProperties"in Object))return!1;try{var t={};return Object.defineProperties(t,{prop:{get:function(){return!0}}}),t.prop}catch(t){return!1}})()?this:document.createElement("a"),n=new l(e.search?e.search.substring(1):null);function r(){var t=e.href.replace(/#$|\?$|\?(?=#)/g,"");e.href!==t&&(e.href=t)}function a(){n._setList(e.search?s(e.search.substring(1)):[]),n._update_steps()}return n._url_object=t,Object.defineProperties(t,{href:{get:function(){return e.href},set:function(t){e.href=t,r(),a()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in e?e.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return e.protocol},set:function(t){e.protocol=t},enumerable:!0,configurable:!0},username:{get:function(){return e.username},set:function(t){e.username=t},enumerable:!0,configurable:!0},password:{get:function(){return e.password},set:function(t){e.password=t},enumerable:!0,configurable:!0},host:{get:function(){var t={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[e.protocol];return t?e.host.replace(t,""):e.host},set:function(t){e.host=t},enumerable:!0,configurable:!0},hostname:{get:function(){return e.hostname},set:function(t){e.hostname=t},enumerable:!0,configurable:!0},port:{get:function(){return e.port},set:function(t){e.port=t},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==e.pathname.charAt(0)?"/"+e.pathname:e.pathname},set:function(t){e.pathname=t},enumerable:!0,configurable:!0},search:{get:function(){return e.search},set:function(t){e.search!==t&&(e.search=t,r(),a())},enumerable:!0,configurable:!0},searchParams:{get:function(){return n},enumerable:!0,configurable:!0},hash:{get:function(){return e.hash},set:function(t){e.hash=t,r()},enumerable:!0,configurable:!0},toString:{value:function(){return e.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return e.valueOf()},enumerable:!1,configurable:!0}}),t}if(Object.defineProperties(l.prototype,{append:{value:function(t,e){this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(t){for(var e=0;e<this._list.length;)this._list[e].name===t?this._list.splice(e,1):++e;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return this._list[e].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(t){for(var e=[],n=0;n<this._list.length;++n)this._list[n].name===t&&e.push(this._list[n].value);return e},writable:!0,enumerable:!0,configurable:!0},has:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(t,e){for(var n=!1,r=0;r<this._list.length;)this._list[r].name===t?n?this._list.splice(r,1):(this._list[r].value=e,n=!0,++r):++r;n||this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new e(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new e(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new e(this._list,"value")},writable:!0,enumerable:!0,configurable:!0},forEach:{value:function(n){var r=1<arguments.length?arguments[1]:void 0;this._list.forEach((function(t,e){n.call(r,t.value,t.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return t(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in f&&"iterator"in f.Symbol&&(Object.defineProperty(l.prototype,f.Symbol.iterator,{value:l.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,f.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),c)for(var r in c)c.hasOwnProperty(r)&&"function"==typeof c[r]&&(n[r]=c[r]);f.URL=n,f.URLSearchParams=l})(),(function(){if("1"!==new f.URLSearchParams([["a",1]]).get("a")||"1"!==new f.URLSearchParams({a:1}).get("a")){var t=f.URLSearchParams;f.URLSearchParams=function(e){if(e&&"object"==typeof e&&i(e)){var n=new t;return o(e).forEach((function(t){if(!i(t))throw TypeError();var e=o(t);if(2!==e.length)throw TypeError();n.append(e[0],e[1])})),n}return e&&"object"==typeof e?(n=new t,Object.keys(e).forEach((function(t){n.set(t,e[t])})),n):new t(e)}}})()})(self);for(var kr=e((function(a){(function(){var t,e,n,r,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?a.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(a.exports=function(){return(t()-i)/1e6},e=process.hrtime,r=(t=function(){var t;return 1e9*(t=e())[0]+t[1]})(),o=1e9*process.uptime(),i=r-o):n=Date.now?(a.exports=function(){return Date.now()-n},Date.now()):(a.exports=function(){return(new Date).getTime()-n},(new Date).getTime())}).call(t)})),Dr="undefined"==typeof window?t:window,Rr=["moz","webkit"],Nr="AnimationFrame",Ir=Dr["request"+Nr],Ur=Dr["cancel"+Nr]||Dr["cancelRequest"+Nr],Br=0;!Ir&&Br<Rr.length;Br++)Ir=Dr[Rr[Br]+"Request"+Nr],Ur=Dr[Rr[Br]+"Cancel"+Nr]||Dr[Rr[Br]+"CancelRequest"+Nr];if(!Ir||!Ur){var Kr=0,qr=0,Wr=[];Ir=function(t){if(0===Wr.length){var e=kr(),n=Math.max(0,1e3/60-(e-Kr));Kr=n+e,setTimeout((function(){for(var t=Wr.slice(0),e=Wr.length=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(Kr)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return Wr.push({handle:++qr,callback:t,cancelled:!1}),qr},Ur=function(t){for(var e=0;e<Wr.length;e++)Wr[e].handle===t&&(Wr[e].cancelled=!0)}}var Gr=function(t){return Ir.call(Dr,t)};Gr.cancel=function(){Ur.apply(Dr,arguments)},Gr.polyfill=function(t){t||(t=Dr),t.requestAnimationFrame=Ir,t.cancelAnimationFrame=Ur},(function(O){function i(){return T.createDocumentFragment()}function t(t){return T.createElement(t)}function A(t,e){if(!t)throw new Error("Failed to construct "+e+": 1 argument required, but only 0 present.")}function r(t){if(1===t.length)return o(t[0]);for(var e=i(),n=I.call(t),r=0;r<t.length;r++)e.appendChild(o(n[r]));return e}function o(t){return"string"==typeof t?T.createTextNode(t):t}for(var e,n,a,u,c,T=O.document,s=Object.prototype.hasOwnProperty,l=Object.defineProperty||function(t,e,n){return s.call(n,"value")?t[e]=n.value:(s.call(n,"get")&&t.__defineGetter__(e,n.get),s.call(n,"set")&&t.__defineSetter__(e,n.set)),t},f=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},h=function(t){var e=void 0===t.className,n=e?t.getAttribute("class")||"":t.className,r=e||"object"==typeof n,i=(r?e?n:n.baseVal:n).replace(y,"");i.length&&N.push.apply(this,i.split(v)),this._isSVG=r,this._=t},p={get:function(){return new h(this)},set:function(){}},d="dom4-tmp-".concat(Math.random()*+new Date).replace(".","-"),y=/^\s+|\s+$/g,v=/\s+/,m="classList",b=function(t,e){return this.contains(t)?e||this.remove(t):(void 0===e||e)&&(e=!0,this.add(t)),!!e},g=O.DocumentFragment&&DocumentFragment.prototype,w=O.Node,_=(w||Element).prototype,E=O.CharacterData||w,S=E&&E.prototype,j=O.DocumentType,P=j&&j.prototype,x=(O.Element||w||O.HTMLElement).prototype,C=O.HTMLSelectElement||t("select").constructor,L=C.prototype.remove,F=O.ShadowRoot,M=O.SVGElement,k=/ /g,D=function(c){var s="querySelectorAll"===c;return function(t){var e,n,r,i,o,a,u=this.parentNode;if(u){for(i=(r=this.getAttribute("id")||d)===d?r:r.replace(k,"\\ "),a=t.split(","),n=0;n<a.length;n++)a[n]="#"+i+" "+a[n];t=a.join(",")}if(r===d&&this.setAttribute("id",r),o=(u||this)[c](t),r===d&&this.removeAttribute("id"),s)for(n=o.length,e=new Array(n);n--;)e[n]=o[n];else e=o;return e}},R=function(t){"query"in t||(t.query=x.query),"queryAll"in t||(t.queryAll=x.queryAll)},N=["matches",x.matchesSelector||x.webkitMatchesSelector||x.khtmlMatchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||function(t){var e=this.parentNode;return!!e&&-1<f.call(e.querySelectorAll(t),this)},"closest",function(t){for(var e,n=this;(e=n&&n.matches)&&!n.matches(t);)n=n.parentNode;return e?n:null},"prepend",function(){var t=this.firstChild,e=r(arguments);t?this.insertBefore(e,t):this.appendChild(e)},"append",function(){this.appendChild(r(arguments))},"before",function(){var t=this.parentNode;t&&t.insertBefore(r(arguments),this)},"after",function(){var t=this.parentNode,e=this.nextSibling,n=r(arguments);t&&(e?t.insertBefore(n,e):t.appendChild(n))},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var t=this.parentNode;t&&t.replaceChild(r(arguments),this)},"remove",function(){var t=this.parentNode;t&&t.removeChild(this)},"query",D("querySelector"),"queryAll",D("querySelectorAll")],I=N.slice,U=N.length;U;U-=2)if((n=N[U-2])in x||(x[n]=N[U-1]),"remove"===n&&(C.prototype[n]=function(){return 0<arguments.length?L.apply(this,arguments):x.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(n)&&(!E||n in S||(S[n]=N[U-1]),!j||n in P||(P[n]=N[U-1])),/^(?:append|prepend)$/.test(n))if(g)n in g||(g[n]=N[U-1]);else try{i().constructor.prototype[n]=N[U-1]}catch(t){}if(R(T),g)R(g);else try{R(i().constructor.prototype)}catch(t){}var B,K;F&&R(F.prototype),t("a").matches("a")||(x[n]=(B=x[n],function(t){return B.call(this.parentNode?this:i().appendChild(this),t)})),h.prototype={length:0,add:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)||N.push.call(this,n);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:(K=[].indexOf||function(t){for(U=this.length;U--&&this[U]!==t;);return U},function(t){return-1<(U=K.call(this,n=(function(t){if(!t)throw"SyntaxError";if(v.test(t))throw"InvalidCharacterError";return t})(t)))}),item:function(t){return this[t]||null},remove:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)&&N.splice.call(this,U,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:b,toString:function(){return N.join.call(this," ")}},!M||m in M.prototype||l(M.prototype,m,p),m in T.documentElement?((u=t("div")[m]).add("a","b","a"),"a b"!=u&&("add"in(a=u.constructor.prototype)||(a=O.TemporaryTokenList.prototype),c=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},a.add=c(a.add),a.remove=c(a.remove),a.toggle=b)):l(x,m,p),"contains"in _||l(_,"contains",{value:function(t){for(;t&&t!==this;)t=t.parentNode;return this===t}}),"head"in T||l(T,"head",{get:function(){return e||(e=T.getElementsByTagName("head")[0])}}),(function(){for(var n,t=O.requestAnimationFrame,e=O.cancelAnimationFrame,r=["o","ms","moz","webkit"],i=r.length;!e&&i--;)t=t||O[r[i]+"RequestAnimationFrame"],e=O[r[i]+"CancelAnimationFrame"]||O[r[i]+"CancelRequestAnimationFrame"];e||(e=t?(n=t,t=function(t){var e=!0;return n((function(){e&&t.apply(this,arguments)})),function(){e=!1}},function(t){t()}):(t=function(t){return setTimeout(t,15,15)},function(t){clearTimeout(t)})),O.requestAnimationFrame=t,O.cancelAnimationFrame=e})();try{new O.CustomEvent("?")}catch(t){O.CustomEvent=(function(r,i){function o(t,e,n,r){this.initEvent(t,e,n),this.detail=r}return function(t,e){var n=T.createEvent(r);if("string"!=typeof t)throw new Error("An event name must be provided");return"Event"==r&&(n.initCustomEvent=o),null==e&&(e=i),n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}})(O.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(t){t=(function(t){function e(t,e){A(arguments.length,"Event");var n=T.createEvent("Event");return e||(e={}),n.initEvent(t,!!e.bubbles,!!e.cancelable),n}return e.prototype=t.prototype,e})(O.Event||function(){}),l(O,"Event",{value:t}),Event!==t&&(Event=t)}try{new KeyboardEvent("_",{})}catch(t){t=(function(t){var w,_=0,E={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var e=T.createEvent("KeyboardEvent");e.initKeyboardEvent("keyup",!1,!1,O,"+",3,!0,!1,!0,!1,!1),_="+"==(e.keyIdentifier||e.key)&&3==(e.keyLocation||e.location)&&(e.ctrlKey?e.altKey?1:3:e.shiftKey?2:4)||9}catch(t){}function S(t,e,n){try{e[t]=n[t]}catch(t){}}function n(t,e){A(arguments.length,"KeyboardEvent"),e=(function(t,e){for(var n in e)e.hasOwnProperty(n)&&!e.hasOwnProperty.call(t,n)&&(t[n]=e[n]);return t})(e||{},E);var n,r=T.createEvent(w),i=e.ctrlKey,o=e.shiftKey,a=e.altKey,u=e.metaKey,c=e.altGraphKey,s=3<_?(function(t){for(var e=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)t[n[r]]&&e.push(n[r+1]);return e.join(" ")})(e):null,l=String(e.key),f=String(e.char),h=e.location,p=e.keyCode||(e.keyCode=l)&&l.charCodeAt(0)||0,d=e.charCode||(e.charCode=f)&&f.charCodeAt(0)||0,y=e.bubbles,v=e.cancelable,m=e.repeat,b=e.locale,g=e.view||O;if(e.which||(e.which=e.keyCode),"initKeyEvent"in r)r.initKeyEvent(t,y,v,g,i,a,o,u,p,d);else if(0<_&&"initKeyboardEvent"in r){switch(n=[t,y,v,g],_){case 1:n.push(l,h,i,o,a,u,c);break;case 2:n.push(i,a,o,u,p,d);break;case 3:n.push(l,h,i,a,o,u,c);break;case 4:n.push(l,h,s,m,b);break;default:n.push(char,l,h,s,m,b)}r.initKeyboardEvent.apply(r,n)}else r.initEvent(t,y,v);for(l in r)E.hasOwnProperty(l)&&r[l]!==e[l]&&S(l,r,e);return r}return w=0<_?"KeyboardEvent":"Event",n.prototype=t.prototype,n})(O.KeyboardEvent||function(){}),l(O,"KeyboardEvent",{value:t}),KeyboardEvent!==t&&(KeyboardEvent=t)}try{new MouseEvent("_",{})}catch(t){t=(function(t){function e(t,e){A(arguments.length,"MouseEvent");var n=T.createEvent("MouseEvent");return e||(e={}),n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||O,e.detail||1,e.screenX||0,e.screenY||0,e.clientX||0,e.clientY||0,!!e.ctrlKey,!!e.altKey,!!e.shiftKey,!!e.metaKey,e.button||0,e.relatedTarget||null),n}return e.prototype=t.prototype,e})(O.MouseEvent||function(){}),l(O,"MouseEvent",{value:t}),MouseEvent!==t&&(MouseEvent=t)}})(window),(function(t){var e=t.WeakMap||(function(){var r,t=0,i=!1,o=!1;function n(t,e,n){o=n,i=!1,r=void 0,t.dispatchEvent(e)}function a(t){this.value=t}function e(){t++,this.__ce__=new u("@DOMMap:"+t+Math.random())}return a.prototype.handleEvent=function(t){i=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):r=this.value},e.prototype={constructor:e,delete:function(t){return n(t,this.__ce__,!0),i},get:function(t){n(t,this.__ce__,!1);var e=r;return r=void 0,e},has:function(t){return n(t,this.__ce__,!1),i},set:function(t,e){return n(t,this.__ce__,!0),t.addEventListener(this.__ce__.type,new a(e),!1),this}},e})();function l(){}function f(t,e,n){function r(t){r.once&&(t.currentTarget.removeEventListener(t.type,e,r),r.removed=!0),r.passive&&(t.preventDefault=f.preventDefault),"function"==typeof r.callback?r.callback.call(this,t):r.callback&&r.callback.handleEvent(t),r.passive&&delete t.preventDefault}return r.type=t,r.callback=e,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}l.prototype=(Object.create||Object)(null),f.preventDefault=function(){};var n,h,u=t.CustomEvent,r=t.dispatchEvent,i=t.addEventListener,o=t.removeEventListener,a=0,c=function(){a++},p=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},d=function(t){return"".concat(t.capture?"1":"0",t.passive?"1":"0",t.once?"1":"0")};try{i("_",c,{once:!0}),r(new u("_")),r(new u("_")),o("_",c,{once:!0})}catch(t){}1!==a&&(h=new e,n=function(t){if(t){var c,s,e=t.prototype;e.addEventListener=(c=e.addEventListener,function(t,e,n){if(n&&"boolean"!=typeof n){var r,i,o,a=h.get(this),u=d(n);a||h.set(this,a=new l),t in a||(a[t]={handler:[],wrap:[]}),i=a[t],(r=p.call(i.handler,e))<0?(r=i.handler.push(e)-1,i.wrap[r]=o=new l):o=i.wrap[r],u in o||(o[u]=f(t,e,n),c.call(this,t,o[u],o[u].capture))}else c.call(this,t,e,n)}),e.removeEventListener=(s=e.removeEventListener,function(t,e,n){if(n&&"boolean"!=typeof n){var r,i,o,a,u=h.get(this);if(u&&t in u&&(o=u[t],-1<(i=p.call(o.handler,e))&&(r=d(n))in(a=o.wrap[i]))){for(r in s.call(this,t,a[r],a[r].capture),delete a[r],a)return;o.handler.splice(i,1),o.wrap.splice(i,1),0===o.handler.length&&delete u[t]}}else s.call(this,t,e,n)})}},t.EventTarget?n(EventTarget):(n(t.Text),n(t.Element||t.HTMLElement),n(t.HTMLDocument),n(t.Window||{prototype:t}),n(t.XMLHttpRequest)))})(self),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),Gr.polyfill()})(); | ||
//# sourceMappingURL=polyfills.js.map |
{ | ||
"name": "@finn-no/polyfills", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"cdnTemplate": { | ||
@@ -29,3 +29,3 @@ "base": "https://static.finncdn.no/_c/polyfill/{version}/", | ||
"devDependencies": { | ||
"core-js": "^2.5.1", | ||
"core-js": "^2.5.7", | ||
"dom4": "^1.8.5", | ||
@@ -41,5 +41,5 @@ "eslint": "^4.6.1", | ||
"rimraf": "^2.5.4", | ||
"rollup": "^0.49.3", | ||
"rollup-plugin-commonjs": "^8.2.1", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rollup": "^0.66.4", | ||
"rollup-plugin-commonjs": "^9.1.8", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
@@ -46,0 +46,0 @@ "uglify-js": "^3.1.0", |
@@ -44,4 +44,5 @@ # Polyfills | ||
- ES2017 features | ||
- [Object.entries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries) | ||
- [Object.values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) | ||
- [Object.entries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries) | ||
- [Object.values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) | ||
- [Promise (with finally)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) | ||
@@ -48,0 +49,0 @@ The following polyfills are bundled in `polyfills-ie9-extras.js`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
257
90
168780
2