UNPKG

@ace-fetch/core

Version:

Fetch Provider.

5 lines (4 loc) 86 kB
/** * @ace-fetch/core@0.11.1 */ !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define("index",["exports"],r):r(((t="undefined"!=typeof globalThis?globalThis:t||self).AceFetch=t.AceFetch||{},t.AceFetch.Core={}))}(this,(function(t){"use strict";!function(){var t=this||self;t.globalThis=t}(),function(){const t={NODE_ENV:"production"};try{if(process)return process.env=Object.assign({},process.env),void Object.assign(process.env,t)}catch(t){}globalThis.process={env:t}}(),t.debug="production"!==process.env.NODE_ENV;function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function e(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}function n(t,r,e){return(r=function(t){var r=function(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof r?r:r+""}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function o(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function i(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?o(Object(e),!0).forEach((function(r){n(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function a(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(r.includes(n))continue;e[n]=t[n]}return e}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],r.includes(e)||{}.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function u(){u=function(){return r};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var i=r&&r.prototype instanceof b?r:b,a=Object.create(i.prototype),u=new R(n||[]);return o(a,"_invoke",{value:I(t,e,u)}),a}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var v="suspendedStart",h="suspendedYield",d="executing",y="completed",g={};function b(){}function m(){}function w(){}var O={};s(O,a,(function(){return this}));var S=Object.getPrototypeOf,j=S&&S(S(k([])));j&&j!==e&&n.call(j,a)&&(O=j);var E=w.prototype=b.prototype=Object.create(O);function x(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function _(t,r){function e(o,i,a,u){var c=p(t[o],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"==typeof s&&n.call(s,"__await")?r.resolve(s.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):r.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new r((function(r,o){e(t,n,r,o)}))}return i=i?i.then(o,o):o()}})}function I(r,e,n){var o=v;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=A(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var f=p(r,e,n);if("normal"===f.type){if(o=n.done?y:h,f.arg===g)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(o=y,n.method="throw",n.arg=f.arg)}}}function A(r,e){var n=e.method,o=r.iterator[n];if(o===t)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=t,A(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function k(r){if(r||""===r){var e=r[a];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,i=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return i.next=i}}throw new TypeError(typeof r+" is not iterable")}return m.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,f,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===m||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,f,"GeneratorFunction")),t.prototype=Object.create(E),t},r.awrap=function(t){return{__await:t}},x(_.prototype),s(_.prototype,c,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new _(l(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(E),s(E,f,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=k,R.prototype={constructor:R,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function o(n,o){return u.type="throw",u.arg=r,e.next=n,o&&(e.method="next",e.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(c&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),T(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;T(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:k(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function c(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(e=e.call(t)).next,0===r);else for(;!(c=(n=i.call(e)).done)&&(u.push(n.value),u.length!==r);c=!0);}catch(t){f=!0,o=t}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(t,r)||l(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function l(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var h=function(t){return t&&t.Math===Math&&t},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof p&&p)||h("object"==typeof p&&p)||function(){return this}()||Function("return this")(),y={},g=function(t){try{return!!t()}catch(t){return!0}},b=!g((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!g((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),w=m,O=Function.prototype.call,S=w?O.bind(O):function(){return O.apply(O,arguments)},j={},E={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,_=x&&!E.call({1:2},1);j.f=_?function(t){var r=x(this,t);return!!r&&r.enumerable}:E;var I,A,P=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},T=m,R=Function.prototype,k=R.call,N=T&&R.bind.bind(k,k),F=T?N:function(t){return function(){return k.apply(t,arguments)}},C=F,L=C({}.toString),D=C("".slice),M=function(t){return D(L(t),8,-1)},U=g,$=M,z=Object,G=F("".split),B=U((function(){return!z("z").propertyIsEnumerable(0)}))?function(t){return"String"===$(t)?G(t,""):z(t)}:z,W=function(t){return null==t},V=W,q=TypeError,Y=function(t){if(V(t))throw new q("Can't call method on "+t);return t},K=B,H=Y,J=function(t){return K(H(t))},X="object"==typeof document&&document.all,Q=void 0===X&&void 0!==X?function(t){return"function"==typeof t||t===X}:function(t){return"function"==typeof t},Z=Q,tt=function(t){return"object"==typeof t?null!==t:Z(t)},rt=d,et=Q,nt=function(t,r){return arguments.length<2?(e=rt[t],et(e)?e:void 0):rt[t]&&rt[t][r];var e},ot=F({}.isPrototypeOf),it=d.navigator,at=it&&it.userAgent,ut=at?String(at):"",ct=d,ft=ut,st=ct.process,lt=ct.Deno,pt=st&&st.versions||lt&&lt.version,vt=pt&&pt.v8;vt&&(A=(I=vt.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!A&&ft&&(!(I=ft.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ft.match(/Chrome\/(\d+)/))&&(A=+I[1]);var ht=A,dt=ht,yt=g,gt=d.String,bt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol("symbol detection");return!gt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),mt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,wt=nt,Ot=Q,St=ot,jt=Object,Et=mt?function(t){return"symbol"==typeof t}:function(t){var r=wt("Symbol");return Ot(r)&&St(r.prototype,jt(t))},xt=String,_t=function(t){try{return xt(t)}catch(t){return"Object"}},It=Q,At=_t,Pt=TypeError,Tt=function(t){if(It(t))return t;throw new Pt(At(t)+" is not a function")},Rt=Tt,kt=W,Nt=function(t,r){var e=t[r];return kt(e)?void 0:Rt(e)},Ft=S,Ct=Q,Lt=tt,Dt=TypeError,Mt={exports:{}},Ut=d,$t=Object.defineProperty,zt=function(t,r){try{$t(Ut,t,{value:r,configurable:!0,writable:!0})}catch(e){Ut[t]=r}return r},Gt=d,Bt=zt,Wt="__core-js_shared__",Vt=Mt.exports=Gt[Wt]||Bt(Wt,{});(Vt.versions||(Vt.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var qt=Mt.exports,Yt=qt,Kt=function(t,r){return Yt[t]||(Yt[t]=r||{})},Ht=Y,Jt=Object,Xt=function(t){return Jt(Ht(t))},Qt=Xt,Zt=F({}.hasOwnProperty),tr=Object.hasOwn||function(t,r){return Zt(Qt(t),r)},rr=F,er=0,nr=Math.random(),or=rr(1..toString),ir=function(t){return"Symbol("+(void 0===t?"":t)+")_"+or(++er+nr,36)},ar=Kt,ur=tr,cr=ir,fr=bt,sr=mt,lr=d.Symbol,pr=ar("wks"),vr=sr?lr.for||lr:lr&&lr.withoutSetter||cr,hr=function(t){return ur(pr,t)||(pr[t]=fr&&ur(lr,t)?lr[t]:vr("Symbol."+t)),pr[t]},dr=S,yr=tt,gr=Et,br=Nt,mr=function(t,r){var e,n;if("string"===r&&Ct(e=t.toString)&&!Lt(n=Ft(e,t)))return n;if(Ct(e=t.valueOf)&&!Lt(n=Ft(e,t)))return n;if("string"!==r&&Ct(e=t.toString)&&!Lt(n=Ft(e,t)))return n;throw new Dt("Can't convert object to primitive value")},wr=TypeError,Or=hr("toPrimitive"),Sr=function(t,r){if(!yr(t)||gr(t))return t;var e,n=br(t,Or);if(n){if(void 0===r&&(r="default"),e=dr(n,t,r),!yr(e)||gr(e))return e;throw new wr("Can't convert object to primitive value")}return void 0===r&&(r="number"),mr(t,r)},jr=Sr,Er=Et,xr=function(t){var r=jr(t,"string");return Er(r)?r:r+""},_r=tt,Ir=d.document,Ar=_r(Ir)&&_r(Ir.createElement),Pr=function(t){return Ar?Ir.createElement(t):{}},Tr=Pr,Rr=!b&&!g((function(){return 7!==Object.defineProperty(Tr("div"),"a",{get:function(){return 7}}).a})),kr=b,Nr=S,Fr=j,Cr=P,Lr=J,Dr=xr,Mr=tr,Ur=Rr,$r=Object.getOwnPropertyDescriptor;y.f=kr?$r:function(t,r){if(t=Lr(t),r=Dr(r),Ur)try{return $r(t,r)}catch(t){}if(Mr(t,r))return Cr(!Nr(Fr.f,t,r),t[r])};var zr={},Gr=b&&g((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Br=tt,Wr=String,Vr=TypeError,qr=function(t){if(Br(t))return t;throw new Vr(Wr(t)+" is not an object")},Yr=b,Kr=Rr,Hr=Gr,Jr=qr,Xr=xr,Qr=TypeError,Zr=Object.defineProperty,te=Object.getOwnPropertyDescriptor,re="enumerable",ee="configurable",ne="writable";zr.f=Yr?Hr?function(t,r,e){if(Jr(t),r=Xr(r),Jr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&ne in e&&!e[ne]){var n=te(t,r);n&&n[ne]&&(t[r]=e.value,e={configurable:ee in e?e[ee]:n[ee],enumerable:re in e?e[re]:n[re],writable:!1})}return Zr(t,r,e)}:Zr:function(t,r,e){if(Jr(t),r=Xr(r),Jr(e),Kr)try{return Zr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Qr("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var oe=zr,ie=P,ae=b?function(t,r,e){return oe.f(t,r,ie(1,e))}:function(t,r,e){return t[r]=e,t},ue={exports:{}},ce=b,fe=tr,se=Function.prototype,le=ce&&Object.getOwnPropertyDescriptor,pe=fe(se,"name"),ve={EXISTS:pe,PROPER:pe&&"something"===function(){}.name,CONFIGURABLE:pe&&(!ce||ce&&le(se,"name").configurable)},he=Q,de=qt,ye=F(Function.toString);he(de.inspectSource)||(de.inspectSource=function(t){return ye(t)});var ge,be,me,we=de.inspectSource,Oe=Q,Se=d.WeakMap,je=Oe(Se)&&/native code/.test(String(Se)),Ee=ir,xe=Kt("keys"),_e=function(t){return xe[t]||(xe[t]=Ee(t))},Ie={},Ae=je,Pe=d,Te=tt,Re=ae,ke=tr,Ne=qt,Fe=_e,Ce=Ie,Le="Object already initialized",De=Pe.TypeError,Me=Pe.WeakMap;if(Ae||Ne.state){var Ue=Ne.state||(Ne.state=new Me);Ue.get=Ue.get,Ue.has=Ue.has,Ue.set=Ue.set,ge=function(t,r){if(Ue.has(t))throw new De(Le);return r.facade=t,Ue.set(t,r),r},be=function(t){return Ue.get(t)||{}},me=function(t){return Ue.has(t)}}else{var $e=Fe("state");Ce[$e]=!0,ge=function(t,r){if(ke(t,$e))throw new De(Le);return r.facade=t,Re(t,$e,r),r},be=function(t){return ke(t,$e)?t[$e]:{}},me=function(t){return ke(t,$e)}}var ze={set:ge,get:be,has:me,enforce:function(t){return me(t)?be(t):ge(t,{})},getterFor:function(t){return function(r){var e;if(!Te(r)||(e=be(r)).type!==t)throw new De("Incompatible receiver, "+t+" required");return e}}},Ge=F,Be=g,We=Q,Ve=tr,qe=b,Ye=ve.CONFIGURABLE,Ke=we,He=ze.enforce,Je=ze.get,Xe=String,Qe=Object.defineProperty,Ze=Ge("".slice),tn=Ge("".replace),rn=Ge([].join),en=qe&&!Be((function(){return 8!==Qe((function(){}),"length",{value:8}).length})),nn=String(String).split("String"),on=ue.exports=function(t,r,e){"Symbol("===Ze(Xe(r),0,7)&&(r="["+tn(Xe(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!Ve(t,"name")||Ye&&t.name!==r)&&(qe?Qe(t,"name",{value:r,configurable:!0}):t.name=r),en&&e&&Ve(e,"arity")&&t.length!==e.arity&&Qe(t,"length",{value:e.arity});try{e&&Ve(e,"constructor")&&e.constructor?qe&&Qe(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=He(t);return Ve(n,"source")||(n.source=rn(nn,"string"==typeof r?r:"")),t};Function.prototype.toString=on((function(){return We(this)&&Je(this).source||Ke(this)}),"toString");var an=ue.exports,un=Q,cn=zr,fn=an,sn=zt,ln=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(un(e)&&fn(e,i,n),n.global)o?t[r]=e:sn(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(t){}o?t[r]=e:cn.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},pn={},vn=Math.ceil,hn=Math.floor,dn=Math.trunc||function(t){var r=+t;return(r>0?hn:vn)(r)},yn=function(t){var r=+t;return r!=r||0===r?0:dn(r)},gn=yn,bn=Math.max,mn=Math.min,wn=function(t,r){var e=gn(t);return e<0?bn(e+r,0):mn(e,r)},On=yn,Sn=Math.min,jn=function(t){var r=On(t);return r>0?Sn(r,9007199254740991):0},En=jn,xn=function(t){return En(t.length)},_n=J,In=wn,An=xn,Pn=function(t){return function(r,e,n){var o=_n(r),i=An(o);if(0===i)return!t&&-1;var a,u=In(n,i);if(t&&e!=e){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===e)return t||u||0;return!t&&-1}},Tn={includes:Pn(!0),indexOf:Pn(!1)},Rn=tr,kn=J,Nn=Tn.indexOf,Fn=Ie,Cn=F([].push),Ln=function(t,r){var e,n=kn(t),o=0,i=[];for(e in n)!Rn(Fn,e)&&Rn(n,e)&&Cn(i,e);for(;r.length>o;)Rn(n,e=r[o++])&&(~Nn(i,e)||Cn(i,e));return i},Dn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mn=Ln,Un=Dn.concat("length","prototype");pn.f=Object.getOwnPropertyNames||function(t){return Mn(t,Un)};var $n={};$n.f=Object.getOwnPropertySymbols;var zn=nt,Gn=pn,Bn=$n,Wn=qr,Vn=F([].concat),qn=zn("Reflect","ownKeys")||function(t){var r=Gn.f(Wn(t)),e=Bn.f;return e?Vn(r,e(t)):r},Yn=tr,Kn=qn,Hn=y,Jn=zr,Xn=function(t,r,e){for(var n=Kn(r),o=Jn.f,i=Hn.f,a=0;a<n.length;a++){var u=n[a];Yn(t,u)||e&&Yn(e,u)||o(t,u,i(r,u))}},Qn=g,Zn=Q,to=/#|\.prototype\./,ro=function(t,r){var e=no[eo(t)];return e===io||e!==oo&&(Zn(r)?Qn(r):!!r)},eo=ro.normalize=function(t){return String(t).replace(to,".").toLowerCase()},no=ro.data={},oo=ro.NATIVE="N",io=ro.POLYFILL="P",ao=ro,uo=d,co=y.f,fo=ae,so=ln,lo=zt,po=Xn,vo=ao,ho=function(t,r){var e,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(e=c?uo:f?uo[u]||lo(u,{}):uo[u]&&uo[u].prototype)for(n in r){if(i=r[n],o=t.dontCallGetSet?(a=co(e,n))&&a.value:e[n],!vo(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;po(i,o)}(t.sham||o&&o.sham)&&fo(i,"sham",!0),so(e,n,i,t)}},yo={},go=Ln,bo=Dn,mo=Object.keys||function(t){return go(t,bo)},wo=b,Oo=Gr,So=zr,jo=qr,Eo=J,xo=mo;yo.f=wo&&!Oo?Object.defineProperties:function(t,r){jo(t);for(var e,n=Eo(r),o=xo(r),i=o.length,a=0;i>a;)So.f(t,e=o[a++],n[e]);return t};var _o,Io=nt("document","documentElement"),Ao=qr,Po=yo,To=Dn,Ro=Ie,ko=Io,No=Pr,Fo="prototype",Co="script",Lo=_e("IE_PROTO"),Do=function(){},Mo=function(t){return"<"+Co+">"+t+"</"+Co+">"},Uo=function(t){t.write(Mo("")),t.close();var r=t.parentWindow.Object;return t=null,r},$o=function(){try{_o=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;$o="undefined"!=typeof document?document.domain&&_o?Uo(_o):(r=No("iframe"),e="java"+Co+":",r.style.display="none",ko.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Mo("document.F=Object")),t.close(),t.F):Uo(_o);for(var n=To.length;n--;)delete $o[Fo][To[n]];return $o()};Ro[Lo]=!0;var zo=Object.create||function(t,r){var e;return null!==t?(Do[Fo]=Ao(t),e=new Do,Do[Fo]=null,e[Lo]=t):e=$o(),void 0===r?e:Po.f(e,r)},Go=hr,Bo=zo,Wo=zr.f,Vo=Go("unscopables"),qo=Array.prototype;void 0===qo[Vo]&&Wo(qo,Vo,{configurable:!0,value:Bo(null)});var Yo=function(t){qo[Vo][t]=!0},Ko=Tn.includes,Ho=Yo;ho({target:"Array",proto:!0,forced:g((function(){return!Array(1).includes()}))},{includes:function(t){return Ko(this,t,arguments.length>1?arguments[1]:void 0)}}),Ho("includes");var Jo=g,Xo=function(t,r){var e=[][t];return!!e&&Jo((function(){e.call(null,r||function(){return 1},1)}))},Qo=ho,Zo=B,ti=J,ri=Xo,ei=F([].join);Qo({target:"Array",proto:!0,forced:Zo!==Object||!ri("join",",")},{join:function(t){return ei(ti(this),void 0===t?",":t)}});var ni=Xt,oi=mo;ho({target:"Object",stat:!0,forced:g((function(){oi(1)}))},{keys:function(t){return oi(ni(t))}});var ii={};ii[hr("toStringTag")]="z";var ai="[object z]"===String(ii),ui=ai,ci=Q,fi=M,si=hr("toStringTag"),li=Object,pi="Arguments"===fi(function(){return arguments}()),vi=ui?fi:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=li(t),si))?e:pi?fi(r):"Object"===(n=fi(r))&&ci(r.callee)?"Arguments":n},hi=vi,di=ai?{}.toString:function(){return"[object "+hi(this)+"]"};ai||ln(Object.prototype,"toString",di,{unsafe:!0});var yi=tt,gi=M,bi=hr("match"),mi=function(t){var r;return yi(t)&&(void 0!==(r=t[bi])?!!r:"RegExp"===gi(t))},wi=mi,Oi=TypeError,Si=function(t){if(wi(t))throw new Oi("The method doesn't accept regular expressions");return t},ji=vi,Ei=String,xi=function(t){if("Symbol"===ji(t))throw new TypeError("Cannot convert a Symbol value to a string");return Ei(t)},_i=hr("match"),Ii=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[_i]=!1,"/./"[t](r)}catch(t){}}return!1},Ai=ho,Pi=Si,Ti=Y,Ri=xi,ki=Ii,Ni=F("".indexOf);Ai({target:"String",proto:!0,forced:!ki("includes")},{includes:function(t){return!!~Ni(Ri(Ti(this)),Ri(Pi(t)),arguments.length>1?arguments[1]:void 0)}});var Fi,Ci=M,Li=F,Di=function(t){if("Function"===Ci(t))return Li(t)},Mi=ho,Ui=Di,$i=y.f,zi=jn,Gi=xi,Bi=Si,Wi=Y,Vi=Ii,qi=Ui("".slice),Yi=Math.min,Ki=Vi("startsWith");Mi({target:"String",proto:!0,forced:!!(Ki||(Fi=$i(String.prototype,"startsWith"),!Fi||Fi.writable))&&!Ki},{startsWith:function(t){var r=Gi(Wi(this));Bi(t);var e=zi(Yi(arguments.length>1?arguments[1]:void 0,r.length)),n=Gi(t);return qi(r,e,e+n.length)===n}});var Hi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ji=Pr("span").classList,Xi=Ji&&Ji.constructor&&Ji.constructor.prototype,Qi=Xi===Object.prototype?void 0:Xi,Zi=Tt,ta=m,ra=Di(Di.bind),ea=function(t,r){return Zi(t),void 0===r?t:ta?ra(t,r):function(){return t.apply(r,arguments)}},na=M,oa=Array.isArray||function(t){return"Array"===na(t)},ia=F,aa=g,ua=Q,ca=vi,fa=we,sa=function(){},la=nt("Reflect","construct"),pa=/^\s*(?:class|function)\b/,va=ia(pa.exec),ha=!pa.test(sa),da=function(t){if(!ua(t))return!1;try{return la(sa,[],t),!0}catch(t){return!1}},ya=function(t){if(!ua(t))return!1;switch(ca(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ha||!!va(pa,fa(t))}catch(t){return!0}};ya.sham=!0;var ga=!la||aa((function(){var t;return da(da.call)||!da(Object)||!da((function(){t=!0}))||t}))?ya:da,ba=oa,ma=ga,wa=tt,Oa=hr("species"),Sa=Array,ja=function(t){var r;return ba(t)&&(r=t.constructor,(ma(r)&&(r===Sa||ba(r.prototype))||wa(r)&&null===(r=r[Oa]))&&(r=void 0)),void 0===r?Sa:r},Ea=function(t,r){return new(ja(t))(0===r?0:r)},xa=ea,_a=B,Ia=Xt,Aa=xn,Pa=Ea,Ta=F([].push),Ra=function(t){var r=1===t,e=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(c,f,s,l){for(var p,v,h=Ia(c),d=_a(h),y=Aa(d),g=xa(f,s),b=0,m=l||Pa,w=r?m(c,y):e||a?m(c,0):void 0;y>b;b++)if((u||b in d)&&(v=g(p=d[b],b,h),t))if(r)w[b]=v;else if(v)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Ta(w,p)}else switch(t){case 4:return!1;case 7:Ta(w,p)}return i?-1:n||o?o:w}},ka={forEach:Ra(0),map:Ra(1),filter:Ra(2),some:Ra(3),every:Ra(4),find:Ra(5),findIndex:Ra(6),filterReject:Ra(7)},Na=ka.forEach,Fa=Xo("forEach")?[].forEach:function(t){return Na(this,t,arguments.length>1?arguments[1]:void 0)},Ca=d,La=Hi,Da=Qi,Ma=Fa,Ua=ae,$a=function(t){if(t&&t.forEach!==Ma)try{Ua(t,"forEach",Ma)}catch(r){t.forEach=Ma}};for(var za in La)La[za]&&$a(Ca[za]&&Ca[za].prototype);$a(Da);var Ga=qr,Ba=function(){var t=Ga(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Wa=g,Va=d.RegExp,qa=Wa((function(){var t=Va("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ya=qa||Wa((function(){return!Va("a","y").sticky})),Ka={BROKEN_CARET:qa||Wa((function(){var t=Va("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ya,UNSUPPORTED_Y:qa},Ha=g,Ja=d.RegExp,Xa=Ha((function(){var t=Ja(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Qa=g,Za=d.RegExp,tu=Qa((function(){var t=Za("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),ru=S,eu=F,nu=xi,ou=Ba,iu=Ka,au=zo,uu=ze.get,cu=Xa,fu=tu,su=Kt("native-string-replace",String.prototype.replace),lu=RegExp.prototype.exec,pu=lu,vu=eu("".charAt),hu=eu("".indexOf),du=eu("".replace),yu=eu("".slice),gu=function(){var t=/a/,r=/b*/g;return ru(lu,t,"a"),ru(lu,r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),bu=iu.BROKEN_CARET,mu=void 0!==/()??/.exec("")[1];(gu||mu||bu||cu||fu)&&(pu=function(t){var r,e,n,o,i,a,u,c=this,f=uu(c),s=nu(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,r=ru(pu,l,s),c.lastIndex=l.lastIndex,r;var p=f.groups,v=bu&&c.sticky,h=ru(ou,c),d=c.source,y=0,g=s;if(v&&(h=du(h,"y",""),-1===hu(h,"g")&&(h+="g"),g=yu(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==vu(s,c.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),e=new RegExp("^(?:"+d+")",h)),mu&&(e=new RegExp("^"+d+"$(?!\\s)",h)),gu&&(n=c.lastIndex),o=ru(lu,v?e:c,g),v?o?(o.input=yu(o.input,y),o[0]=yu(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:gu&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),mu&&o&&o.length>1&&ru(su,o[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=au(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var wu=pu;ho({target:"RegExp",proto:!0,forced:/./.exec!==wu},{exec:wu});var Ou={},Su=F([].slice),ju=M,Eu=J,xu=pn.f,_u=Su,Iu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ou.f=function(t){return Iu&&"Window"===ju(t)?function(t){try{return xu(t)}catch(t){return _u(Iu)}}(t):xu(Eu(t))};var Au=an,Pu=zr,Tu=function(t,r,e){return e.get&&Au(e.get,r,{getter:!0}),e.set&&Au(e.set,r,{setter:!0}),Pu.f(t,r,e)},Ru={},ku=hr;Ru.f=ku;var Nu=d,Fu=Nu,Cu=tr,Lu=Ru,Du=zr.f,Mu=function(t){var r=Fu.Symbol||(Fu.Symbol={});Cu(r,t)||Du(r,t,{value:Lu.f(t)})},Uu=S,$u=nt,zu=hr,Gu=ln,Bu=zr.f,Wu=tr,Vu=hr("toStringTag"),qu=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Wu(t,Vu)&&Bu(t,Vu,{configurable:!0,value:r})},Yu=ho,Ku=d,Hu=S,Ju=F,Xu=b,Qu=bt,Zu=g,tc=tr,rc=ot,ec=qr,nc=J,oc=xr,ic=xi,ac=P,uc=zo,cc=mo,fc=pn,sc=Ou,lc=$n,pc=y,vc=zr,hc=yo,dc=j,yc=ln,gc=Tu,bc=Kt,mc=Ie,wc=ir,Oc=hr,Sc=Ru,jc=Mu,Ec=function(){var t=$u("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=zu("toPrimitive");r&&!r[n]&&Gu(r,n,(function(t){return Uu(e,this)}),{arity:1})},xc=qu,_c=ze,Ic=ka.forEach,Ac=_e("hidden"),Pc="Symbol",Tc="prototype",Rc=_c.set,kc=_c.getterFor(Pc),Nc=Object[Tc],Fc=Ku.Symbol,Cc=Fc&&Fc[Tc],Lc=Ku.RangeError,Dc=Ku.TypeError,Mc=Ku.QObject,Uc=pc.f,$c=vc.f,zc=sc.f,Gc=dc.f,Bc=Ju([].push),Wc=bc("symbols"),Vc=bc("op-symbols"),qc=bc("wks"),Yc=!Mc||!Mc[Tc]||!Mc[Tc].findChild,Kc=function(t,r,e){var n=Uc(Nc,r);n&&delete Nc[r],$c(t,r,e),n&&t!==Nc&&$c(Nc,r,n)},Hc=Xu&&Zu((function(){return 7!==uc($c({},"a",{get:function(){return $c(this,"a",{value:7}).a}})).a}))?Kc:$c,Jc=function(t,r){var e=Wc[t]=uc(Cc);return Rc(e,{type:Pc,tag:t,description:r}),Xu||(e.description=r),e},Xc=function(t,r,e){t===Nc&&Xc(Vc,r,e),ec(t);var n=oc(r);return ec(e),tc(Wc,n)?(e.enumerable?(tc(t,Ac)&&t[Ac][n]&&(t[Ac][n]=!1),e=uc(e,{enumerable:ac(0,!1)})):(tc(t,Ac)||$c(t,Ac,ac(1,uc(null))),t[Ac][n]=!0),Hc(t,n,e)):$c(t,n,e)},Qc=function(t,r){ec(t);var e=nc(r),n=cc(e).concat(ef(e));return Ic(n,(function(r){Xu&&!Hu(Zc,e,r)||Xc(t,r,e[r])})),t},Zc=function(t){var r=oc(t),e=Hu(Gc,this,r);return!(this===Nc&&tc(Wc,r)&&!tc(Vc,r))&&(!(e||!tc(this,r)||!tc(Wc,r)||tc(this,Ac)&&this[Ac][r])||e)},tf=function(t,r){var e=nc(t),n=oc(r);if(e!==Nc||!tc(Wc,n)||tc(Vc,n)){var o=Uc(e,n);return!o||!tc(Wc,n)||tc(e,Ac)&&e[Ac][n]||(o.enumerable=!0),o}},rf=function(t){var r=zc(nc(t)),e=[];return Ic(r,(function(t){tc(Wc,t)||tc(mc,t)||Bc(e,t)})),e},ef=function(t){var r=t===Nc,e=zc(r?Vc:nc(t)),n=[];return Ic(e,(function(t){!tc(Wc,t)||r&&!tc(Nc,t)||Bc(n,Wc[t])})),n};Qu||(Fc=function(){if(rc(Cc,this))throw new Dc("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ic(arguments[0]):void 0,r=wc(t),e=function(t){var n=void 0===this?Ku:this;n===Nc&&Hu(e,Vc,t),tc(n,Ac)&&tc(n[Ac],r)&&(n[Ac][r]=!1);var o=ac(1,t);try{Hc(n,r,o)}catch(t){if(!(t instanceof Lc))throw t;Kc(n,r,o)}};return Xu&&Yc&&Hc(Nc,r,{configurable:!0,set:e}),Jc(r,t)},yc(Cc=Fc[Tc],"toString",(function(){return kc(this).tag})),yc(Fc,"withoutSetter",(function(t){return Jc(wc(t),t)})),dc.f=Zc,vc.f=Xc,hc.f=Qc,pc.f=tf,fc.f=sc.f=rf,lc.f=ef,Sc.f=function(t){return Jc(Oc(t),t)},Xu&&(gc(Cc,"description",{configurable:!0,get:function(){return kc(this).description}}),yc(Nc,"propertyIsEnumerable",Zc,{unsafe:!0}))),Yu({global:!0,constructor:!0,wrap:!0,forced:!Qu,sham:!Qu},{Symbol:Fc}),Ic(cc(qc),(function(t){jc(t)})),Yu({target:Pc,stat:!0,forced:!Qu},{useSetter:function(){Yc=!0},useSimple:function(){Yc=!1}}),Yu({target:"Object",stat:!0,forced:!Qu,sham:!Xu},{create:function(t,r){return void 0===r?uc(t):Qc(uc(t),r)},defineProperty:Xc,defineProperties:Qc,getOwnPropertyDescriptor:tf}),Yu({target:"Object",stat:!0,forced:!Qu},{getOwnPropertyNames:rf}),Ec(),xc(Fc,Pc),mc[Ac]=!0;var nf=bt&&!!Symbol.for&&!!Symbol.keyFor,of=ho,af=nt,uf=tr,cf=xi,ff=Kt,sf=nf,lf=ff("string-to-symbol-registry"),pf=ff("symbol-to-string-registry");of({target:"Symbol",stat:!0,forced:!sf},{for:function(t){var r=cf(t);if(uf(lf,r))return lf[r];var e=af("Symbol")(r);return lf[r]=e,pf[e]=r,e}});var vf=ho,hf=tr,df=Et,yf=_t,gf=nf,bf=Kt("symbol-to-string-registry");vf({target:"Symbol",stat:!0,forced:!gf},{keyFor:function(t){if(!df(t))throw new TypeError(yf(t)+" is not a symbol");if(hf(bf,t))return bf[t]}});var mf=m,wf=Function.prototype,Of=wf.apply,Sf=wf.call,jf="object"==typeof Reflect&&Reflect.apply||(mf?Sf.bind(Of):function(){return Sf.apply(Of,arguments)}),Ef=oa,xf=Q,_f=M,If=xi,Af=F([].push),Pf=ho,Tf=nt,Rf=jf,kf=S,Nf=F,Ff=g,Cf=Q,Lf=Et,Df=Su,Mf=function(t){if(xf(t))return t;if(Ef(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?Af(e,o):"number"!=typeof o&&"Number"!==_f(o)&&"String"!==_f(o)||Af(e,If(o))}var i=e.length,a=!0;return function(t,r){if(a)return a=!1,r;if(Ef(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}},Uf=bt,$f=String,zf=Tf("JSON","stringify"),Gf=Nf(/./.exec),Bf=Nf("".charAt),Wf=Nf("".charCodeAt),Vf=Nf("".replace),qf=Nf(1..toString),Yf=/[\uD800-\uDFFF]/g,Kf=/^[\uD800-\uDBFF]$/,Hf=/^[\uDC00-\uDFFF]$/,Jf=!Uf||Ff((function(){var t=Tf("Symbol")("stringify detection");return"[null]"!==zf([t])||"{}"!==zf({a:t})||"{}"!==zf(Object(t))})),Xf=Ff((function(){return'"\\udf06\\ud834"'!==zf("\udf06\ud834")||'"\\udead"'!==zf("\udead")})),Qf=function(t,r){var e=Df(arguments),n=Mf(r);if(Cf(n)||void 0!==t&&!Lf(t))return e[1]=function(t,r){if(Cf(n)&&(r=kf(n,this,$f(t),r)),!Lf(r))return r},Rf(zf,null,e)},Zf=function(t,r,e){var n=Bf(e,r-1),o=Bf(e,r+1);return Gf(Kf,t)&&!Gf(Hf,o)||Gf(Hf,t)&&!Gf(Kf,n)?"\\u"+qf(Wf(t,0),16):t};zf&&Pf({target:"JSON",stat:!0,arity:3,forced:Jf||Xf},{stringify:function(t,r,e){var n=Df(arguments),o=Rf(Jf?Qf:zf,null,n);return Xf&&"string"==typeof o?Vf(o,Yf,Zf):o}});var ts=$n,rs=Xt;ho({target:"Object",stat:!0,forced:!bt||g((function(){ts.f(1)}))},{getOwnPropertySymbols:function(t){var r=ts.f;return r?r(rs(t)):[]}});var es=ho,ns=b,os=F,is=tr,as=Q,us=ot,cs=xi,fs=Tu,ss=Xn,ls=d.Symbol,ps=ls&&ls.prototype;if(ns&&as(ls)&&(!("description"in ps)||void 0!==ls().description)){var vs={},hs=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:cs(arguments[0]),r=us(ps,this)?new ls(t):void 0===t?ls():ls(t);return""===t&&(vs[r]=!0),r};ss(hs,ls),hs.prototype=ps,ps.constructor=hs;var ds="Symbol(description detection)"===String(ls("description detection")),ys=os(ps.valueOf),gs=os(ps.toString),bs=/^Symbol\((.*)\)[^)]+$/,ms=os("".replace),ws=os("".slice);fs(ps,"description",{configurable:!0,get:function(){var t=ys(this);if(is(vs,t))return"";var r=gs(t),e=ds?ws(r,7,-1):ms(r,bs,"$1");return""===e?void 0:e}}),es({global:!0,constructor:!0,forced:!0},{Symbol:hs})}Mu("iterator");var Os=TypeError,Ss=function(t){if(t>9007199254740991)throw Os("Maximum allowed index exceeded");return t},js=b,Es=zr,xs=P,_s=function(t,r,e){js?Es.f(t,r,xs(0,e)):t[r]=e},Is=g,As=ht,Ps=hr("species"),Ts=function(t){return As>=51||!Is((function(){var r=[];return(r.constructor={})[Ps]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Rs=ho,ks=g,Ns=oa,Fs=tt,Cs=Xt,Ls=xn,Ds=Ss,Ms=_s,Us=Ea,$s=Ts,zs=ht,Gs=hr("isConcatSpreadable"),Bs=zs>=51||!ks((function(){var t=[];return t[Gs]=!1,t.concat()[0]!==t})),Ws=function(t){if(!Fs(t))return!1;var r=t[Gs];return void 0!==r?!!r:Ns(t)};Rs({target:"Array",proto:!0,arity:1,forced:!Bs||!$s("concat")},{concat:function(t){var r,e,n,o,i,a=Cs(this),u=Us(a,0),c=0;for(r=-1,n=arguments.length;r<n;r++)if(Ws(i=-1===r?a:arguments[r]))for(o=Ls(i),Ds(c+o),e=0;e<o;e++,c++)e in i&&Ms(u,c,i[e]);else Ds(c+1),Ms(u,c++,i);return u.length=c,u}});var Vs=ho,qs=ka.findIndex,Ys=Yo,Ks="findIndex",Hs=!0;Ks in[]&&Array(1)[Ks]((function(){Hs=!1})),Vs({target:"Array",proto:!0,forced:Hs},{findIndex:function(t){return qs(this,t,arguments.length>1?arguments[1]:void 0)}}),Ys(Ks);var Js,Xs,Qs,Zs={},tl=!g((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),rl=tr,el=Q,nl=Xt,ol=tl,il=_e("IE_PROTO"),al=Object,ul=al.prototype,cl=ol?al.getPrototypeOf:function(t){var r=nl(t);if(rl(r,il))return r[il];var e=r.constructor;return el(e)&&r instanceof e?e.prototype:r instanceof al?ul:null},fl=g,sl=Q,ll=tt,pl=cl,vl=ln,hl=hr("iterator"),dl=!1;[].keys&&("next"in(Qs=[].keys())?(Xs=pl(pl(Qs)))!==Object.prototype&&(Js=Xs):dl=!0);var yl=!ll(Js)||fl((function(){var t={};return Js[hl].call(t)!==t}));yl&&(Js={}),sl(Js[hl])||vl(Js,hl,(function(){return this}));var gl={IteratorPrototype:Js,BUGGY_SAFARI_ITERATORS:dl},bl=gl.IteratorPrototype,ml=zo,wl=P,Ol=qu,Sl=Zs,jl=function(){return this},El=F,xl=Tt,_l=tt,Il=function(t){return _l(t)||null===t},Al=String,Pl=TypeError,Tl=function(t,r,e){try{return El(xl(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}},Rl=tt,kl=Y,Nl=function(t){if(Il(t))return t;throw new Pl("Can't set "+Al(t)+" as a prototype")},Fl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Tl(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return kl(e),Nl(n),Rl(e)?(r?t(e,n):e.__proto__=n,e):e}}():void 0),Cl=ho,Ll=S,Dl=Q,Ml=function(t,r,e,n){var o=r+" Iterator";return t.prototype=ml(bl,{next:wl(+!n,e)}),Ol(t,o,!1),Sl[o]=jl,t},Ul=cl,$l=Fl,zl=qu,Gl=ae,Bl=ln,Wl=Zs,Vl=ve.PROPER,ql=ve.CONFIGURABLE,Yl=gl.IteratorPrototype,Kl=gl.BUGGY_SAFARI_ITERATORS,Hl=hr("iterator"),Jl="keys",Xl="values",Ql="entries",Zl=function(){return this},tp=function(t,r,e,n,o,i,a){Ml(e,r,n);var u,c,f,s=function(t){if(t===o&&d)return d;if(!Kl&&t&&t in v)return v[t];switch(t){case Jl:case Xl:case Ql:return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,v=t.prototype,h=v[Hl]||v["@@iterator"]||o&&v[o],d=!Kl&&h||s(o),y="Array"===r&&v.entries||h;if(y&&(u=Ul(y.call(new t)))!==Object.prototype&&u.next&&(Ul(u)!==Yl&&($l?$l(u,Yl):Dl(u[Hl])||Bl(u,Hl,Zl)),zl(u,l,!0)),Vl&&o===Xl&&h&&h.name!==Xl&&(ql?Gl(v,"name",Xl):(p=!0,d=function(){return Ll(h,this)})),o)if(c={values:s(Xl),keys:i?d:s(Jl),entries:s(Ql)},a)for(f in c)(Kl||p||!(f in v))&&Bl(v,f,c[f]);else Cl({target:r,proto:!0,forced:Kl||p},c);return v[Hl]!==d&&Bl(v,Hl,d,{name:o}),Wl[r]=d,c},rp=function(t,r){return{value:t,done:r}},ep=J,np=Yo,op=Zs,ip=ze,ap=zr.f,up=tp,cp=rp,fp=b,sp="Array Iterator",lp=ip.set,pp=ip.getterFor(sp),vp=up(Array,"Array",(function(t,r){lp(this,{type:sp,target:ep(t),index:0,kind:r})}),(function(){var t=pp(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,cp(void 0,!0);switch(t.kind){case"keys":return cp(e,!1);case"values":return cp(r[e],!1)}return cp([e,r[e]],!1)}),"values"),hp=op.Arguments=op.Array;if(np("keys"),np("values"),np("entries"),fp&&"values"!==hp.name)try{ap(hp,"name",{value:"values"})}catch(t){}var dp=ho,yp=oa,gp=ga,bp=tt,mp=wn,wp=xn,Op=J,Sp=_s,jp=hr,Ep=Su,xp=Ts("slice"),_p=jp("species"),Ip=Array,Ap=Math.max;dp({target:"Array",proto:!0,forced:!xp},{slice:function(t,r){var e,n,o,i=Op(this),a=wp(i),u=mp(t,a),c=mp(void 0===r?a:r,a);if(yp(i)&&(e=i.constructor,(gp(e)&&(e===Ip||yp(e.prototype))||bp(e)&&null===(e=e[_p]))&&(e=void 0),e===Ip||void 0===e))return Ep(i,u,c);for(n=new(void 0===e?Ip:e)(Ap(c-u,0)),o=0;u<c;u++,o++)u in i&&Sp(n,o,i[u]);return n.length=o,n}});var Pp=b,Tp=oa,Rp=TypeError,kp=Object.getOwnPropertyDescriptor,Np=Pp&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),Fp=_t,Cp=TypeError,Lp=function(t,r){if(!delete t[r])throw new Cp("Cannot delete property "+Fp(r)+" of "+Fp(t))},Dp=ho,Mp=Xt,Up=wn,$p=yn,zp=xn,Gp=Np?function(t,r){if(Tp(t)&&!kp(t,"length").writable)throw new Rp("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},Bp=Ss,Wp=Ea,Vp=_s,qp=Lp,Yp=Ts("splice"),Kp=Math.max,Hp=Math.min;Dp({target:"Array",proto:!0,forced:!Yp},{splice:function(t,r){var e,n,o,i,a,u,c=Mp(this),f=zp(c),s=Up(t,f),l=arguments.length;for(0===l?e=n=0:1===l?(e=0,n=f-s):(e=l-2,n=Hp(Kp($p(r),0),f-s)),Bp(f+e-n),o=Wp(c,n),i=0;i<n;i++)(a=s+i)in c&&Vp(o,i,c[a]);if(o.length=n,e<n){for(i=s;i<f-n;i++)u=i+e,(a=i+n)in c?c[u]=c[a]:qp(c,u);for(i=f;i>f-n+e;i--)qp(c,i-1)}else if(e>n)for(i=f-n;i>s;i--)u=i+e-1,(a=i+n-1)in c?c[u]=c[a]:qp(c,u);for(i=0;i<e;i++)c[i+s]=arguments[i+2];return Gp(c,f-n+e),o}});var Jp={exports:{}},Xp=g((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),Qp=g,Zp=tt,tv=M,rv=Xp,ev=Object.isExtensible,nv=Qp((function(){ev(1)}))||rv?function(t){return!!Zp(t)&&((!rv||"ArrayBuffer"!==tv(t))&&(!ev||ev(t)))}:ev,ov=!g((function(){return Object.isExtensible(Object.preventExtensions({}))})),iv=ho,av=F,uv=Ie,cv=tt,fv=tr,sv=zr.f,lv=pn,pv=Ou,vv=nv,hv=ov,dv=!1,yv=ir("meta"),gv=0,bv=function(t){sv(t,yv,{value:{objectID:"O"+gv++,weakData:{}}})},mv=Jp.exports={enable:function(){mv.enable=function(){},dv=!0;var t=lv.f,r=av([].splice),e={};e[yv]=1,t(e).length&&(lv.f=function(e){for(var n=t(e),o=0,i=n.length;o<i;o++)if(n[o]===yv){r(n,o,1);break}return n},iv({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:pv.f}))},fastKey:function(t,r){if(!cv(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!fv(t,yv)){if(!vv(t))return"F";if(!r)return"E";bv(t)}return t[yv].objectID},getWeakData:function(t,r){if(!fv(t,yv)){if(!vv(t))return!0;if(!r)return!1;bv(t)}return t[yv].weakData},onFreeze:function(t){return hv&&dv&&vv(t)&&!fv(t,yv)&&bv(t),t}};uv[yv]=!0;var wv=Jp.exports,Ov=Zs,Sv=hr("iterator"),jv=Array.prototype,Ev=vi,xv=Nt,_v=W,Iv=Zs,Av=hr("iterator"),Pv=function(t){if(!_v(t))return xv(t,Av)||xv(t,"@@iterator")||Iv[Ev(t)]},Tv=S,Rv=Tt,kv=qr,Nv=_t,Fv=Pv,Cv=TypeError,Lv=S,Dv=qr,Mv=Nt,Uv=ea,$v=S,zv=qr,Gv=_t,Bv=function(t){return void 0!==t&&(Ov.Array===t||jv[Sv]===t)},Wv=xn,Vv=ot,qv=function(t,r){var e=arguments.length<2?Fv(t):r;if(Rv(e))return kv(Tv(e,t));throw new Cv(Nv(t)+" is not iterable")},Yv=Pv,Kv=function(t,r,e){var n,o;Dv(t);try{if(!(n=Mv(t,"return"))){if("throw"===r)throw e;return e}n=Lv(n,t)}catch(t){o=!0,n=t}if("throw"===r)throw e;if(o)throw n;return Dv(n),e},Hv=TypeError,Jv=function(t,r){this.stopped=t,this.result=r},Xv=Jv.prototype,Qv=function(t,r,e){var n,o,i,a,u,c,f,s=e&&e.that,l=!(!e||!e.AS_ENTRIES),p=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),h=!(!e||!e.INTERRUPTED),d=Uv(r,s),y=function(t){return n&&Kv(n,"normal",t),new Jv(!0,t)},g=function(t){return l?(zv(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=Yv(t)))throw new Hv(Gv(t)+" is not iterable");if(Bv(o)){for(i=0,a=Wv(t);a>i;i++)if((u=g(t[i]))&&Vv(Xv,u))return u;return new Jv(!1)}n=qv(t,o)}for(c=p?t.next:n.next;!(f=$v(c,n)).done;){try{u=g(f.value)}catch(t){Kv(n,"throw",t)}if("object"==typeof u&&u&&Vv(Xv,u))return u}return new Jv(!1)},Zv=ot,th=TypeError,rh=function(t,r){if(Zv(r,t))return t;throw new th("Incorrect invocation")},eh=hr("iterator"),nh=!1;try{var oh=0,ih={next:function(){return{done:!!oh++}},return:function(){nh=!0}};ih[eh]=function(){return this},Array.from(ih,(function(){throw 2}))}catch(t){}var ah=function(t,r){try{if(!r&&!nh)return!1}catch(t){return!1}var e=!1;try{var n={};n[eh]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(t){}return e},uh=Q,ch=tt,fh=Fl,sh=function(t,r,e){var n,o;return fh&&uh(n=r.constructor)&&n!==e&&ch(o=n.prototype)&&o!==e.prototype&&fh(t,o),t},lh=ho,ph=d,vh=F,hh=ao,dh=ln,yh=wv,gh=Qv,bh=rh,mh=Q,wh=W,Oh=tt,Sh=g,jh=ah,Eh=qu,xh=sh,_h=ln,Ih=nt,Ah=Tu,Ph=b,Th=hr("species"),Rh=function(t){var r=Ih(t);Ph&&r&&!r[Th]&&Ah(r,Th,{configurable:!0,get:function(){return this}})},kh=zo,Nh=Tu,Fh=function(t,r,e){for(var n in r)_h(t,n,r[n],e);return t},Ch=ea,Lh=rh,Dh=W,Mh=Qv,Uh=tp,$h=rp,zh=Rh,Gh=b,Bh=wv.fastKey,Wh=ze.set,Vh=ze.getterFor,qh={getConstructor:function(t,r,e,n){var o=t((function(t,o){Lh(t,i),Wh(t,{type:r,index:kh(null),first:null,last:null,size:0}),Gh||(t.size=0),Dh(o)||Mh(o,t[n],{that:t,AS_ENTRIES:e})})),i=o.prototype,a=Vh(r),u=function(t,r,e){var n,o,i=a(t),u=c(t,r);return u?u.value=e:(i.last=u={index:o=Bh(r,!0),key:r,value:e,previous:n=i.last,next:null,removed:!1},i.first||(i.first=u),n&&(n.next=u),Gh?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},c=function(t,r){var e,n=a(t),o=Bh(r);if("F"!==o)return n.index[o];for(e=n.first;e;e=e.next)if(e.key===r)return e};return Fh(i,{clear:function(){for(var t=a(this),r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;t.first=t.last=null,t.index=kh(null),Gh?t.size=0:this.size=0},delete:function(t){var r=this,e=a(r),n=c(r,t);if(n){var o=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),e.first===n&&(e.first=o),e.last===n&&(e.last=i),Gh?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=a(this),n=Ch(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!c(this,t)}}),Fh(i,e?{get:function(t){var r=c(this,t);return r&&r.value},set:function(t,r){return u(this,0===t?0:t,r)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),Gh&&Nh(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,r,e){var n=r+" Iterator",o=Vh(r),i=Vh(n);Uh(t,r,(function(t,r){Wh(this,{type:n,target:t,state:o(t),kind:r,last:null})}),(function(){for(var t=i(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?$h("keys"===r?e.key:"values"===r?e.value:[e.key,e.value],!1):(t.target=null,$h(void 0,!0))}),e?"entries":"values",!e,!0),zh(r)}},Yh=function(t,r,e){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",a=ph[t],u=a&&a.prototype,c=a,f={},s=function(t){var r=vh(u[t]);dh(u,t,"add"===t?function(t){return r(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!Oh(t))&&r(this,0===t?0:t)}:"get"===t?function(t){return o&&!Oh(t)?void 0:r(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!Oh(t))&&r(this,0===t?0:t)}:function(t,e){return r(this,0===t?0:t,e),this})};if(hh(t,!mh(a)||!(o||u.forEach&&!Sh((function(){(new a).entries().next()})))))c=e.getConstructor(r,t,n,i),yh.enable();else if(hh(t,!0)){var l=new c,p=l[i](o?{}:-0,1)!==l,v=Sh((function(){l.has(1)})),h=jh((function(t){new a(t)})),d=!o&&Sh((function(){for(var t=new a,r=5;r--;)t[i](r,r);return!t.has(-0)}));h||((c=r((function(t,r){bh(t,u);var e=xh(new a,t,c);return wh(r)||gh(r,e[i],{that:e,AS_ENTRIES:n}),e}))).prototype=u,u.constructor=c),(v||d)&&(s("delete"),s("has"),n&&s("get")),(d||p)&&s(i),o&&u.clear&&delete u.clear}return f[t]=c,lh({global:!0,constructor:!0,forced:c!==a},f),Eh(c,t),o||e.setStrong(c,t,n),c};Yh("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),qh);var Kh=ho,Hh=ov,Jh=g,Xh=tt,Qh=wv.onFreeze,Zh=Object.freeze;Kh({target:"Object",stat:!0,forced:Jh((function(){Zh(1)})),sham:!Hh},{freeze:function(t){return Zh&&Xh(t)?Zh(Qh(t)):t}});var td=F,rd=yn,ed=xi,nd=Y,od=td("".charAt),id=td("".charCodeAt),ad=td("".slice),ud=function(t){return function(r,e){var n,o,i=ed(nd(r)),a=rd(e),u=i.length;return a<0||a>=u?t?"":void 0:(n=id(i,a))<55296||n>56319||a+1===u||(o=id(i,a+1))<56320||o>57343?t?od(i,a):n:t?ad(i,a,a+2):o-56320+(n-55296<<10)+65536}},cd={codeAt:ud(!1),charAt:ud(!0)},fd=cd.charAt,sd=xi,ld=ze,pd=tp,vd=rp,hd="String Iterator",dd=ld.set,yd=ld.getterFor(hd);pd(String,"String",(function(t){dd(this,{type:hd,string:sd(t),index:0})}),(function(){var t,r=yd(this),e=r.string,n=r.index;return n>=e.length?vd(void 0,!0):(t=fd(e,n),r.index+=t.length,vd(t,!1))}));var gd=d,bd=Hi,md=Qi,wd=vp,Od=ae,Sd=qu,jd=hr("iterator"),Ed=wd.values,xd=function(t,r){if(t){if(t[jd]!==Ed)try{Od(t,jd,Ed)}catch(r){t[jd]=Ed}if(Sd(t,r,!0),bd[r])for(var e in wd)if(t[e]!==wd[e])try{Od(t,e,wd[e])}catch(r){t[e]=wd[e]}}};for(var _d in bd)xd(gd[_d]&&gd[_d].prototype,_d);xd(md,"DOMTokenList");var Id=S,Ad=ln,Pd=wu,Td=g,Rd=hr,kd=ae,Nd=Rd("species"),Fd=RegExp.prototype,Cd=function(t,r,e,n){var o=Rd(t),i=!Td((function(){var r={};return r[o]=function(){return 7},7!==""[t](r)})),a=i&&!Td((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Nd]=function(){return e},e.flags="",e[o]=/./[o]),e.exec=function(){return r=!0,null},e[o](""),!r}));if(!i||!a||e){var u=/./[o],c=r(o,""[t],(function(t,r,e,n,o){var a=r.exec;return a===Pd||a===Fd.exec?i&&!o?{done:!0,value:Id(u,r,e,n)}:{done:!0,value:Id(t,e,r,n)}:{done:!1}}));Ad(String.prototype,t,c[0]),Ad(Fd,o,c[1])}n&&kd(Fd[o],"sham",!0)},Ld=cd.charAt,Dd=function(t,r,e){return r+(e?Ld(t,r).length:1)},Md=F,Ud=Xt,$d=Math.floor,zd=Md("".charAt),Gd=Md("".replace),Bd=Md("".slice),Wd=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Vd=/\$([$&'`]|\d{1,2})/g,qd=S,Yd=qr,Kd=Q,Hd=M,Jd=wu,Xd=TypeError,Qd=function(t,r){var e=t.exec;if(Kd(e)){var n=qd(e,t,r);return null!==n&&Yd(n),n}if("RegExp"===Hd(t))return qd(Jd,t,r);throw new Xd("RegExp#exec called on incompatible receiver")},Zd=jf,ty=S,ry=F,ey=Cd,ny=g,oy=qr,iy=Q,ay=W,uy=yn,cy=jn,fy=xi,sy=Y,ly=Dd,py=Nt,vy=function(t,r,e,n,o,i){var a=e+t.length,u=n.length,c=Vd;return void 0!==o&&(o=Ud(o),c=Wd),Gd(i,c,(function(i,c){var f;switch(zd(c,0)){case"$":return"$";case"&":return t;case"`":return Bd(r,0,e);case"'":return Bd(r,a);case"<":f=o[Bd(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>u){var l=$d(s/10);return 0===l?i:l<=u?void 0===n[l-1]?zd(c,1):n[l-1]+zd(c,1):i}f=n[s-1]}return void 0===f?"":f}))},hy=Qd,dy=hr("replace"),yy=Math.max,gy=Math.min,by=ry([].concat),my=ry([].push),wy=ry("".indexOf),Oy=ry("".slice),Sy="$0"==="a".replace(/./,"$0"),jy=!!/./[dy]&&""===/./[dy]("a","$0");function Ey(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];if(void 0===r)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!t){var o=0,i="[warn]: "+r.replace(/%s/g,(function(){return e[o++]}));"undefined"!=typeof console&&console.error(i)}}ey("replace",(function(t,r,e){var n=jy?"$":"$0";return[function(t,e){var n=sy(this),o=ay(t)?void 0:py(t,dy);return o?ty(o,t,n,e):ty(r,fy(n),t,e)},function(t,o){var i=oy(this),a=fy(t);if("string"==typeof o&&-1===wy(o,n)&&-1===wy(o,"$<")){var u=e(r,i,a,o);if(u.done)return u.value}var c=iy(o);c||(o=fy(o));var f,s=i.global;s&&(f=i.unicode,i.lastIndex=0);for(var l,p=[];null!==(l=hy(i,a))&&(my(p,l),s);){""===fy(l[0])&&(i.lastIndex=ly(a,cy(i.lastIndex),f))}for(var v,h=