@pollyjs/adapter
Version:
Extendable base adapter class used by @pollyjs
1 lines • 87.7 kB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self)["@pollyjs/adapter"]=e()}(this,(function(){"use strict";var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},r=function(t){return Object(e(t))},n={}.hasOwnProperty,o=function(t,e){return n.call(t,e)},i={}.toString,u=function(t){return i.call(t).slice(8,-1)},a=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==u(t)?t.split(""):Object(t)},s=function(t){return a(e(t))},c=Math.ceil,f=Math.floor,p=function(t){return isNaN(t=+t)?0:(t>0?f:c)(t)},l=Math.min,h=function(t){return t>0?l(p(t),9007199254740991):0},y=Math.max,d=Math.min;function v(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function g(t,e){return t(e={exports:{}},e.exports),e.exports}var b,m=g((function(t){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)})),w=(m.version,g((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)}))),_=g((function(t){var e=w["__core-js_shared__"]||(w["__core-js_shared__"]={});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:m.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),x=0,A=Math.random(),P=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++x+A).toString(36))},S=_("keys"),E=function(t){return S[t]||(S[t]=P(t))},O=(b=!1,function(t,e,r){var n,o=s(t),i=h(o.length),u=function(t,e){return(t=p(t))<0?y(t+e,0):d(t,e)}(r,i);if(b&&e!=e){for(;i>u;)if((n=o[u++])!=n)return!0}else for(;i>u;u++)if((b||u in o)&&o[u]===e)return b||u||0;return!b&&-1}),R=E("IE_PROTO"),k=function(t,e){var r,n=s(t),i=0,u=[];for(r in n)r!=R&&o(n,r)&&u.push(r);for(;e.length>i;)o(n,r=e[i++])&&(~O(u,r)||u.push(r));return u},j="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),M=Object.keys||function(t){return k(t,j)},T=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},I=function(t,e,r){if(T(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},F=function(t){return"object"==typeof t?null!==t:"function"==typeof t},U=function(t){if(!F(t))throw TypeError(t+" is not an object!");return t},L=function(t){try{return!!t()}catch(t){return!0}},B=!L((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),D=w.document,C=F(D)&&F(D.createElement),N=function(t){return C?D.createElement(t):{}},Y=!B&&!L((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),G=function(t,e){if(!F(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!F(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!F(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!F(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},W=Object.defineProperty,z={f:B?Object.defineProperty:function(t,e,r){if(U(t),e=G(e,!0),U(r),Y)try{return W(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},q=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},J=B?function(t,e,r){return z.f(t,e,q(1,r))}:function(t,e,r){return t[e]=r,t},V=function(t,e,r){var n,i,u,a=t&V.F,s=t&V.G,c=t&V.S,f=t&V.P,p=t&V.B,l=t&V.W,h=s?m:m[e]||(m[e]={}),y=h.prototype,d=s?w:c?w[e]:(w[e]||{}).prototype;for(n in s&&(r=e),r)(i=!a&&d&&void 0!==d[n])&&o(h,n)||(u=i?d[n]:r[n],h[n]=s&&"function"!=typeof d[n]?r[n]:p&&i?I(u,w):l&&d[n]==u?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):f&&"function"==typeof u?I(Function.call,u):u,f&&((h.virtual||(h.virtual={}))[n]=u,t&V.R&&y&&!y[n]&&J(y,n,u)))};V.F=1,V.G=2,V.S=4,V.P=8,V.B=16,V.W=32,V.U=64,V.R=128;var K=V,$=function(t,e){var r=(m.Object||{})[t]||Object[t],n={};n[t]=e(r),K(K.S+K.F*L((function(){r(1)})),"Object",n)};$("keys",(function(){return function(t){return M(r(t))}}));var H=m.Object.keys,Z=J,Q=g((function(t){var e=P("meta"),r=z.f,n=0,i=Object.isExtensible||function(){return!0},u=!L((function(){return i(Object.preventExtensions({}))})),a=function(t){r(t,e,{value:{i:"O"+ ++n,w:{}}})},s=t.exports={KEY:e,NEED:!1,fastKey:function(t,r){if(!F(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!i(t))return"F";if(!r)return"E";a(t)}return t[e].i},getWeak:function(t,r){if(!o(t,e)){if(!i(t))return!0;if(!r)return!1;a(t)}return t[e].w},onFreeze:function(t){return u&&s.NEED&&i(t)&&!o(t,e)&&a(t),t}}})),X=(Q.KEY,Q.NEED,Q.fastKey,Q.getWeak,Q.onFreeze,g((function(t){var e=_("wks"),r=w.Symbol,n="function"==typeof r;(t.exports=function(t){return e[t]||(e[t]=n&&r[t]||(n?r:P)("Symbol."+t))}).store=e}))),tt=z.f,et=X("toStringTag"),rt=function(t,e,r){t&&!o(t=r?t:t.prototype,et)&&tt(t,et,{configurable:!0,value:e})},nt={f:X},ot=z.f,it=function(t){var e=m.Symbol||(m.Symbol={});"_"==t.charAt(0)||t in e||ot(e,t,{value:nt.f(t)})},ut={f:Object.getOwnPropertySymbols},at={f:{}.propertyIsEnumerable},st=Array.isArray||function(t){return"Array"==u(t)},ct=B?Object.defineProperties:function(t,e){U(t);for(var r,n=M(e),o=n.length,i=0;o>i;)z.f(t,r=n[i++],e[r]);return t},ft=w.document,pt=ft&&ft.documentElement,lt=E("IE_PROTO"),ht=function(){},yt=function(){var t,e=N("iframe"),r=j.length;for(e.style.display="none",pt.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),yt=t.F;r--;)delete yt.prototype[j[r]];return yt()},dt=Object.create||function(t,e){var r;return null!==t?(ht.prototype=U(t),r=new ht,ht.prototype=null,r[lt]=t):r=yt(),void 0===e?r:ct(r,e)},vt=j.concat("length","prototype"),gt={f:Object.getOwnPropertyNames||function(t){return k(t,vt)}},bt=gt.f,mt={}.toString,wt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_t={f:function(t){return wt&&"[object Window]"==mt.call(t)?function(t){try{return bt(t)}catch(t){return wt.slice()}}(t):bt(s(t))}},xt=Object.getOwnPropertyDescriptor,At={f:B?xt:function(t,e){if(t=s(t),e=G(e,!0),Y)try{return xt(t,e)}catch(t){}if(o(t,e))return q(!at.f.call(t,e),t[e])}},Pt=Q.KEY,St=At.f,Et=z.f,Ot=_t.f,Rt=w.Symbol,kt=w.JSON,jt=kt&&kt.stringify,Mt=X("_hidden"),Tt=X("toPrimitive"),It={}.propertyIsEnumerable,Ft=_("symbol-registry"),Ut=_("symbols"),Lt=_("op-symbols"),Bt=Object.prototype,Dt="function"==typeof Rt&&!!ut.f,Ct=w.QObject,Nt=!Ct||!Ct.prototype||!Ct.prototype.findChild,Yt=B&&L((function(){return 7!=dt(Et({},"a",{get:function(){return Et(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=St(Bt,e);n&&delete Bt[e],Et(t,e,r),n&&t!==Bt&&Et(Bt,e,n)}:Et,Gt=function(t){var e=Ut[t]=dt(Rt.prototype);return e._k=t,e},Wt=Dt&&"symbol"==typeof Rt.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Rt},zt=function(t,e,r){return t===Bt&&zt(Lt,e,r),U(t),e=G(e,!0),U(r),o(Ut,e)?(r.enumerable?(o(t,Mt)&&t[Mt][e]&&(t[Mt][e]=!1),r=dt(r,{enumerable:q(0,!1)})):(o(t,Mt)||Et(t,Mt,q(1,{})),t[Mt][e]=!0),Yt(t,e,r)):Et(t,e,r)},qt=function(t,e){U(t);for(var r,n=function(t){var e=M(t),r=ut.f;if(r)for(var n,o=r(t),i=at.f,u=0;o.length>u;)i.call(t,n=o[u++])&&e.push(n);return e}(e=s(e)),o=0,i=n.length;i>o;)zt(t,r=n[o++],e[r]);return t},Jt=function(t){var e=It.call(this,t=G(t,!0));return!(this===Bt&&o(Ut,t)&&!o(Lt,t))&&(!(e||!o(this,t)||!o(Ut,t)||o(this,Mt)&&this[Mt][t])||e)},Vt=function(t,e){if(t=s(t),e=G(e,!0),t!==Bt||!o(Ut,e)||o(Lt,e)){var r=St(t,e);return!r||!o(Ut,e)||o(t,Mt)&&t[Mt][e]||(r.enumerable=!0),r}},Kt=function(t){for(var e,r=Ot(s(t)),n=[],i=0;r.length>i;)o(Ut,e=r[i++])||e==Mt||e==Pt||n.push(e);return n},$t=function(t){for(var e,r=t===Bt,n=Ot(r?Lt:s(t)),i=[],u=0;n.length>u;)!o(Ut,e=n[u++])||r&&!o(Bt,e)||i.push(Ut[e]);return i};Dt||(Z((Rt=function(){if(this instanceof Rt)throw TypeError("Symbol is not a constructor!");var t=P(arguments.length>0?arguments[0]:void 0),e=function(r){this===Bt&&e.call(Lt,r),o(this,Mt)&&o(this[Mt],t)&&(this[Mt][t]=!1),Yt(this,t,q(1,r))};return B&&Nt&&Yt(Bt,t,{configurable:!0,set:e}),Gt(t)}).prototype,"toString",(function(){return this._k})),At.f=Vt,z.f=zt,gt.f=_t.f=Kt,at.f=Jt,ut.f=$t,nt.f=function(t){return Gt(X(t))}),K(K.G+K.W+K.F*!Dt,{Symbol:Rt});for(var Ht="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Zt=0;Ht.length>Zt;)X(Ht[Zt++]);for(var Qt=M(X.store),Xt=0;Qt.length>Xt;)it(Qt[Xt++]);K(K.S+K.F*!Dt,"Symbol",{for:function(t){return o(Ft,t+="")?Ft[t]:Ft[t]=Rt(t)},keyFor:function(t){if(!Wt(t))throw TypeError(t+" is not a symbol!");for(var e in Ft)if(Ft[e]===t)return e},useSetter:function(){Nt=!0},useSimple:function(){Nt=!1}}),K(K.S+K.F*!Dt,"Object",{create:function(t,e){return void 0===e?dt(t):qt(dt(t),e)},defineProperty:zt,defineProperties:qt,getOwnPropertyDescriptor:Vt,getOwnPropertyNames:Kt,getOwnPropertySymbols:$t});var te=L((function(){ut.f(1)}));K(K.S+K.F*te,"Object",{getOwnPropertySymbols:function(t){return ut.f(r(t))}}),kt&&K(K.S+K.F*(!Dt||L((function(){var t=Rt();return"[null]"!=jt([t])||"{}"!=jt({a:t})||"{}"!=jt(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(F(e)||void 0!==t)&&!Wt(t))return st(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Wt(e))return e}),n[1]=e,jt.apply(kt,n)}}),Rt.prototype[Tt]||J(Rt.prototype,Tt,Rt.prototype.valueOf),rt(Rt,"Symbol"),rt(Math,"Math",!0),rt(w.JSON,"JSON",!0);var ee=m.Object.getOwnPropertySymbols,re=At.f;$("getOwnPropertyDescriptor",(function(){return function(t,e){return re(s(t),e)}}));var ne=m.Object,oe=function(t,e){return ne.getOwnPropertyDescriptor(t,e)},ie=w.Reflect,ue=ie&&ie.ownKeys||function(t){var e=gt.f(U(t)),r=ut.f;return r?e.concat(r(t)):e},ae=function(t,e,r){e in t?z.f(t,e,q(0,r)):t[e]=r};K(K.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,r,n=s(t),o=At.f,i=ue(n),u={},a=0;i.length>a;)void 0!==(r=o(n,e=i[a++]))&&ae(u,e,r);return u}});var se=m.Object.getOwnPropertyDescriptors;K(K.S+K.F*!B,"Object",{defineProperties:ct});var ce=m.Object,fe=function(t,e){return ce.defineProperties(t,e)};K(K.S+K.F*!B,"Object",{defineProperty:z.f});var pe=m.Object,le=function(t,e,r){return pe.defineProperty(t,e,r)},he={},ye={};J(ye,X("iterator"),(function(){return this}));var de,ve=function(t,e,r){t.prototype=dt(ye,{next:q(1,r)}),rt(t,e+" Iterator")},ge=E("IE_PROTO"),be=Object.prototype,me=Object.getPrototypeOf||function(t){return t=r(t),o(t,ge)?t[ge]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?be:null},we=X("iterator"),_e=!([].keys&&"next"in[].keys()),xe=function(){return this},Ae=function(t,e,r,n,o,i,u){ve(r,e,n);var a,s,c,f=function(t){if(!_e&&t in y)return y[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},p=e+" Iterator",l="values"==o,h=!1,y=t.prototype,d=y[we]||y["@@iterator"]||o&&y[o],v=d||f(o),g=o?l?f("entries"):v:void 0,b="Array"==e&&y.entries||d;if(b&&(c=me(b.call(new t)))!==Object.prototype&&c.next&&rt(c,p,!0),l&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),u&&(_e||h||!y[we])&&J(y,we,v),he[e]=v,he[p]=xe,o)if(a={values:l?v:f("values"),keys:i?v:f("keys"),entries:g},u)for(s in a)s in y||Z(y,s,a[s]);else K(K.P+K.F*(_e||h),e,a);return a},Pe=(de=!0,function(t,r){var n,o,i=String(e(t)),u=p(r),a=i.length;return u<0||u>=a?de?"":void 0:(n=i.charCodeAt(u))<55296||n>56319||u+1===a||(o=i.charCodeAt(u+1))<56320||o>57343?de?i.charAt(u):n:de?i.slice(u,u+2):o-56320+(n-55296<<10)+65536});Ae(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=Pe(e,r),this._i+=t.length,{value:t,done:!1})}));var Se=function(t,e){return{value:e,done:!!t}};Ae(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,Se(1)):Se(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values");he.Arguments=he.Array;for(var Ee=X("toStringTag"),Oe="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Re=0;Re<Oe.length;Re++){var ke=Oe[Re],je=w[ke],Me=je&&je.prototype;Me&&!Me[Ee]&&J(Me,Ee,ke),he[ke]=he.Array}var Te,Ie,Fe,Ue=X("toStringTag"),Le="Arguments"==u(function(){return arguments}()),Be=function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Ue))?r:Le?u(e):"Object"==(n=u(e))&&"function"==typeof e.callee?"Arguments":n},De=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t},Ce=function(t,e,r,n){try{return n?e(U(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&U(o.call(t)),e}},Ne=X("iterator"),Ye=Array.prototype,Ge=function(t){return void 0!==t&&(he.Array===t||Ye[Ne]===t)},We=X("iterator"),ze=m.getIteratorMethod=function(t){if(null!=t)return t[We]||t["@@iterator"]||he[Be(t)]},qe=g((function(t){var e={},r={},n=t.exports=function(t,n,o,i,u){var a,s,c,f,p=u?function(){return t}:ze(t),l=I(o,i,n?2:1),y=0;if("function"!=typeof p)throw TypeError(t+" is not iterable!");if(Ge(p)){for(a=h(t.length);a>y;y++)if((f=n?l(U(s=t[y])[0],s[1]):l(t[y]))===e||f===r)return f}else for(c=p.call(t);!(s=c.next()).done;)if((f=Ce(c,l,s.value,n))===e||f===r)return f};n.BREAK=e,n.RETURN=r})),Je=X("species"),Ve=function(t,e){var r,n=U(t).constructor;return void 0===n||null==(r=U(n)[Je])?e:T(r)},Ke=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)},$e=w.process,He=w.setImmediate,Ze=w.clearImmediate,Qe=w.MessageChannel,Xe=w.Dispatch,tr=0,er={},rr=function(){var t=+this;if(er.hasOwnProperty(t)){var e=er[t];delete er[t],e()}},nr=function(t){rr.call(t.data)};He&&Ze||(He=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return er[++tr]=function(){Ke("function"==typeof t?t:Function(t),e)},Te(tr),tr},Ze=function(t){delete er[t]},"process"==u($e)?Te=function(t){$e.nextTick(I(rr,t,1))}:Xe&&Xe.now?Te=function(t){Xe.now(I(rr,t,1))}:Qe?(Fe=(Ie=new Qe).port2,Ie.port1.onmessage=nr,Te=I(Fe.postMessage,Fe,1)):w.addEventListener&&"function"==typeof postMessage&&!w.importScripts?(Te=function(t){w.postMessage(t+"","*")},w.addEventListener("message",nr,!1)):Te="onreadystatechange"in N("script")?function(t){pt.appendChild(N("script")).onreadystatechange=function(){pt.removeChild(this),rr.call(t)}}:function(t){setTimeout(I(rr,t,1),0)});var or={set:He,clear:Ze},ir=or.set,ur=w.MutationObserver||w.WebKitMutationObserver,ar=w.process,sr=w.Promise,cr="process"==u(ar);function fr(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=T(e),this.reject=T(r)}var pr={f:function(t){return new fr(t)}},lr=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},hr=w.navigator,yr=hr&&hr.userAgent||"",dr=function(t,e){if(U(t),F(e)&&e.constructor===t)return e;var r=pr.f(t);return(0,r.resolve)(e),r.promise},vr=function(t,e,r){for(var n in e)r&&t[n]?t[n]=e[n]:J(t,n,e[n]);return t},gr=X("species"),br=function(t){var e="function"==typeof m[t]?m[t]:w[t];B&&e&&!e[gr]&&z.f(e,gr,{configurable:!0,get:function(){return this}})},mr=X("iterator"),wr=!1;try{var _r=[7][mr]();_r.return=function(){wr=!0},Array.from(_r,(function(){throw 2}))}catch(t){}var xr,Ar,Pr,Sr,Er=function(t,e){if(!e&&!wr)return!1;var r=!1;try{var n=[7],o=n[mr]();o.next=function(){return{done:r=!0}},n[mr]=function(){return o},t(n)}catch(t){}return r},Or=or.set,Rr=function(){var t,e,r,n=function(){var n,o;for(cr&&(n=ar.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(cr)r=function(){ar.nextTick(n)};else if(!ur||w.navigator&&w.navigator.standalone)if(sr&&sr.resolve){var o=sr.resolve(void 0);r=function(){o.then(n)}}else r=function(){ir.call(w,n)};else{var i=!0,u=document.createTextNode("");new ur(n).observe(u,{characterData:!0}),r=function(){u.data=i=!i}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}(),kr=w.TypeError,jr=w.process,Mr=jr&&jr.versions,Tr=Mr&&Mr.v8||"",Ir=w.Promise,Fr="process"==Be(jr),Ur=function(){},Lr=Ar=pr.f,Br=!!function(){try{var t=Ir.resolve(1),e=(t.constructor={})[X("species")]=function(t){t(Ur,Ur)};return(Fr||"function"==typeof PromiseRejectionEvent)&&t.then(Ur)instanceof e&&0!==Tr.indexOf("6.6")&&-1===yr.indexOf("Chrome/66")}catch(t){}}(),Dr=function(t){var e;return!(!F(t)||"function"!=typeof(e=t.then))&&e},Cr=function(t,e){if(!t._n){t._n=!0;var r=t._c;Rr((function(){for(var n=t._v,o=1==t._s,i=0,u=function(e){var r,i,u,a=o?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{a?(o||(2==t._h&&Gr(t),t._h=1),!0===a?r=n:(f&&f.enter(),r=a(n),f&&(f.exit(),u=!0)),r===e.promise?c(kr("Promise-chain cycle")):(i=Dr(r))?i.call(r,s,c):s(r)):c(n)}catch(t){f&&!u&&f.exit(),c(t)}};r.length>i;)u(r[i++]);t._c=[],t._n=!1,e&&!t._h&&Nr(t)}))}},Nr=function(t){Or.call(w,(function(){var e,r,n,o=t._v,i=Yr(t);if(i&&(e=lr((function(){Fr?jr.emit("unhandledRejection",o,t):(r=w.onunhandledrejection)?r({promise:t,reason:o}):(n=w.console)&&n.error&&n.error("Unhandled promise rejection",o)})),t._h=Fr||Yr(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},Yr=function(t){return 1!==t._h&&0===(t._a||t._c).length},Gr=function(t){Or.call(w,(function(){var e;Fr?jr.emit("rejectionHandled",t):(e=w.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Wr=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()),Cr(e,!0))},zr=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw kr("Promise can't be resolved itself");(e=Dr(t))?Rr((function(){var n={_w:r,_d:!1};try{e.call(t,I(zr,n,1),I(Wr,n,1))}catch(t){Wr.call(n,t)}})):(r._v=t,r._s=1,Cr(r,!1))}catch(t){Wr.call({_w:r,_d:!1},t)}}};Br||(Ir=function(t){De(this,Ir,"Promise","_h"),T(t),xr.call(this);try{t(I(zr,this,1),I(Wr,this,1))}catch(t){Wr.call(this,t)}},(xr=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=vr(Ir.prototype,{then:function(t,e){var r=Lr(Ve(this,Ir));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Fr?jr.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&Cr(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),Pr=function(){var t=new xr;this.promise=t,this.resolve=I(zr,t,1),this.reject=I(Wr,t,1)},pr.f=Lr=function(t){return t===Ir||t===Sr?new Pr(t):Ar(t)}),K(K.G+K.W+K.F*!Br,{Promise:Ir}),rt(Ir,"Promise"),br("Promise"),Sr=m.Promise,K(K.S+K.F*!Br,"Promise",{reject:function(t){var e=Lr(this);return(0,e.reject)(t),e.promise}}),K(K.S+!0*K.F,"Promise",{resolve:function(t){return dr(this===Sr?Ir:this,t)}}),K(K.S+K.F*!(Br&&Er((function(t){Ir.all(t).catch(Ur)}))),"Promise",{all:function(t){var e=this,r=Lr(e),n=r.resolve,o=r.reject,i=lr((function(){var r=[],i=0,u=1;qe(t,!1,(function(t){var a=i++,s=!1;r.push(void 0),u++,e.resolve(t).then((function(t){s||(s=!0,r[a]=t,--u||n(r))}),o)})),--u||n(r)}));return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=Lr(e),n=r.reject,o=lr((function(){qe(t,!1,(function(t){e.resolve(t).then(r.resolve,n)}))}));return o.e&&n(o.v),r.promise}}),K(K.P+K.R,"Promise",{finally:function(t){var e=Ve(this,m.Promise||w.Promise),r="function"==typeof t;return this.then(r?function(r){return dr(e,t()).then((function(){return r}))}:t,r?function(r){return dr(e,t()).then((function(){throw r}))}:t)}}),K(K.S,"Promise",{try:function(t){var e=pr.f(this),r=lr(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}});var qr=m.Promise,Jr=v(g((function(t){function e(t,e,r,n,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void r(t)}a.done?e(s):qr.resolve(s).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new qr((function(o,i){var u=t.apply(r,n);function a(t){e(u,o,i,a,s,"next",t)}function s(t){e(u,o,i,a,s,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0}))),Vr=v(g((function(t){t.exports=function(t,e,r){return e in t?le(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0}))),Kr=v(g((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0}))),$r=v(g((function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),le(t,n.key,n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0}))),Hr=g((function(t){var e=function(t){var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),u=new A(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var a=w(u,r);if(a){if(a===f)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=c(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,u),i}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f={};function p(){}function l(){}function h(){}var y={};a(y,o,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(P([])));v&&v!==e&&r.call(v,o)&&(y=v);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var n;this._invoke=function(o,i){function u(){return new e((function(n,u){!function n(o,i,u,a){var s=c(t[o],t,i);if("throw"!==s.type){var f=s.arg,p=f.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,u,a)}),(function(t){n("throw",t,u,a)})):e.resolve(p).then((function(t){f.value=t,u(f)}),(function(t){return n("throw",t,u,a)}))}a(s.arg)}(o,i,n,u)}))}return n=n?n.then(u,u):u()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function P(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return l.prototype=h,a(g,"constructor",h),a(h,"constructor",l),l.displayName=a(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===l||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,a(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(m.prototype),a(m.prototype,i,(function(){return this})),t.AsyncIterator=m,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var u=new m(s(e,r,n,o),i);return t.isGeneratorFunction(r)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},b(g),a(g,u,"Generator"),a(g,o,(function(){return this})),a(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return u.type="throw",u.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(u)},complete:function(t,e){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&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));it("asyncIterator"),it("observable");var Zr=m.Symbol,Qr=m.JSON||(m.JSON={stringify:JSON.stringify}),Xr=function(t){return Qr.stringify.apply(Qr,arguments)},tn="record",en="replay",rn="passthrough",nn="record",on="replay",un="intercept",an="passthrough",sn="record",cn="warn",fn="error",pn=[].slice,ln={},hn=function(t,e,r){if(!(e in ln)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";ln[e]=Function("F,a","return new F("+n.join(",")+")")}return ln[e](t,r)},yn=Function.bind||function(t){var e=T(this),r=pn.call(arguments,1),n=function(){var o=r.concat(pn.call(arguments));return this instanceof n?hn(e,o.length,o):Ke(e,o,t)};return F(e.prototype)&&(n.prototype=e.prototype),n},dn=(w.Reflect||{}).construct,vn=L((function(){function t(){}return!(dn((function(){}),[],t)instanceof t)})),gn=!L((function(){dn((function(){}))}));K(K.S+K.F*(vn||gn),"Reflect",{construct:function(t,e){T(t),U(e);var r=arguments.length<3?t:T(arguments[2]);if(gn&&!vn)return dn(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(yn.apply(t,n))}var o=r.prototype,i=dt(F(o)?o:Object.prototype),u=Function.apply.call(t,i,e);return F(u)?u:i}});var bn=m.Reflect.construct,mn=g((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0})),wn=v(mn);K(K.S,"Object",{create:dt});var _n=m.Object,xn=function(t,e){return _n.create(t,e)},An=function(t,e){if(U(t),!F(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Pn={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=I(Function.call,At.f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return An(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:An};K(K.S,"Object",{setPrototypeOf:Pn.set});var Sn=m.Object.setPrototypeOf,En=g((function(t){function e(r,n){return t.exports=e=Sn||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,e(r,n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}));v(En);var On=v(g((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=xn(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&En(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0}))),Rn=nt.f("iterator"),kn=g((function(t){function e(r){return"function"==typeof Zr&&"symbol"==typeof Rn?(t.exports=e=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t){return t&&"function"==typeof Zr&&t.constructor===Zr&&t!==Zr.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}));v(kn);var jn=v(g((function(t){var e=kn.default;t.exports=function(t,r){if(r&&("object"===e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return mn(t)},t.exports.default=t.exports,t.exports.__esModule=!0})));$("getPrototypeOf",(function(){return function(t){return me(r(t))}}));var Mn=m.Object.getPrototypeOf,Tn=g((function(t){function e(r){return t.exports=e=Sn?Mn:function(t){return t.__proto__||Mn(t)},t.exports.default=t.exports,t.exports.__esModule=!0,e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),In=v(Tn),Fn=function(t,e){if(!F(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t},Un=z.f,Ln=Q.fastKey,Bn=B?"_s":"size",Dn=function(t,e){var r,n=Ln(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r},Cn={getConstructor:function(t,e,r,n){var o=t((function(t,i){De(t,o,e,"_i"),t._t=e,t._i=dt(null),t._f=void 0,t._l=void 0,t[Bn]=0,null!=i&&qe(i,r,t[n],t)}));return vr(o.prototype,{clear:function(){for(var t=Fn(this,e),r=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];t._f=t._l=void 0,t[Bn]=0},delete:function(t){var r=Fn(this,e),n=Dn(r,t);if(n){var o=n.n,i=n.p;delete r._i[n.i],n.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==n&&(r._f=o),r._l==n&&(r._l=i),r[Bn]--}return!!n},forEach:function(t){Fn(this,e);for(var r,n=I(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(n(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!Dn(Fn(this,e),t)}}),B&&Un(o.prototype,"size",{get:function(){return Fn(this,e)[Bn]}}),o},def:function(t,e,r){var n,o,i=Dn(t,e);return i?i.v=r:(t._l=i={i:o=Ln(e,!0),k:e,v:r,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[Bn]++,"F"!==o&&(t._i[o]=i)),t},getEntry:Dn,setStrong:function(t,e,r){Ae(t,e,(function(t,r){this._t=Fn(t,e),this._k=r,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?Se(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,Se(1))}),r?"entries":"values",!r,!0),br(e)}},Nn=X("species"),Yn=function(t,e){return new(function(t){var e;return st(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!st(e.prototype)||(e=void 0),F(e)&&null===(e=e[Nn])&&(e=void 0)),void 0===e?Array:e}(t))(e)},Gn=z.f,Wn=function(t,e){var n=1==t,o=2==t,i=3==t,u=4==t,s=6==t,c=5==t||s,f=e||Yn;return function(e,p,l){for(var y,d,v=r(e),g=a(v),b=I(p,l,3),m=h(g.length),w=0,_=n?f(e,m):o?f(e,0):void 0;m>w;w++)if((c||w in g)&&(d=b(y=g[w],w,v),t))if(n)_[w]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:_.push(y)}else if(u)return!1;return s?-1:i||u?u:_}}(0);!function(t,e,r,n,o,i){var u=w[t],a=u,s=o?"set":"add",c=a&&a.prototype,f={};B&&"function"==typeof a&&(i||c.forEach&&!L((function(){(new a).entries().next()})))?(a=e((function(e,r){De(e,a,t,"_c"),e._c=new u,null!=r&&qe(r,o,e[s],e)})),Wn("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(t){var e="add"==t||"set"==t;!(t in c)||i&&"clear"==t||J(a.prototype,t,(function(r,n){if(De(this,a,t),!e&&i&&!F(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,n);return e?this:o}))})),i||Gn(a.prototype,"size",{get:function(){return this._c.size}})):(a=n.getConstructor(e,t,o,s),vr(a.prototype,r),Q.NEED=!0),rt(a,t),f[t]=a,K(K.G+K.W+K.F,f),i||n.setStrong(a,t,o)}("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=Cn.getEntry(Fn(this,"Map"),t);return e&&e.v},set:function(t,e){return Cn.def(Fn(this,"Map"),0===t?0:t,e)}},Cn,!0);K(K.P+K.R,"Map",{toJSON:function(t){return function(){if(Be(this)!=t)throw TypeError(t+"#toJSON isn't generic");return function(t,e){var r=[];return qe(t,!1,r.push,r,e),r}(this)}}("Map")});var zn;zn="Map",K(K.S,zn,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}});!function(t){K(K.S,t,{from:function(t){var e,r,n,o,i=arguments[1];return T(this),(e=void 0!==i)&&T(i),null==t?new this:(r=[],e?(n=0,o=I(i,arguments[2],2),qe(t,!1,(function(t){r.push(o(t,n++))}))):qe(t,!1,r.push,r),new this(r))}})}("Map");var qn=m.Map,Jn=g((function(t){t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},t.exports.default=t.exports,t.exports.__esModule=!0}));v(Jn);var Vn=g((function(t){t.exports=function(){if("undefined"==typeof Reflect||!bn)return!1;if(bn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(bn(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0}));v(Vn);var Kn=g((function(t){function e(r,n,o){return Vn()?(t.exports=e=bn,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&En(o,r.prototype),o},t.exports.default=t.exports,t.exports.__esModule=!0),e.apply(null,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}));function $n(t){var e=function(){if("undefined"==typeof Reflect||!bn)return!1;if(bn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(bn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=In(t);if(e){var o=In(this).constructor;r=bn(n,arguments,o)}else r=n.apply(this,arguments);return jn(this,r)}}v(Kn);var Hn=function(t){On(r,t);var e=$n(r);function r(t){var n;Kr(this,r);for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return n=e.call.apply(e,[this,"[Polly] ".concat(t)].concat(i)),Error.captureStackTrace&&Error.captureStackTrace(wn(n),r),n.name="PollyError",n}return r}(v(g((function(t){function e(r){var n="function"==typeof qn?new qn:void 0;return t.exports=e=function(t){if(null===t||!Jn(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return Kn(t,arguments,Tn(this).constructor)}return e.prototype=xn(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),En(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0,e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})))(Error));function Zn(t,e){if(!e)throw new Hn(t)}var Qn="\t\n\v\f\r \u2028\u2029\ufeff",Xn="["+Qn+"]",to=RegExp("^"+Xn+Xn+"*"),eo=RegExp(Xn+Xn+"*$"),ro=function(t,e,r){var n={},o=L((function(){return!!Qn[t]()||"
"!="
"[t]()})),i=n[t]=o?e(no):Qn[t];r&&(n[r]=i),K(K.P+K.F*o,"String",n)},no=ro.trim=function(t,r){return t=String(e(t)),1&r&&(t=t.replace(to,"")),2&r&&(t=t.replace(eo,"")),t},oo=ro,io=w.parseInt,uo=oo.trim,ao=/^[-+]?0[xX]/,so=8!==io(Qn+"08")||22!==io(Qn+"0x16")?function(t,e){var r=uo(String(t),3);return io(r,e>>>0||(ao.test(r)?16:10))}:io;K(K.G+K.F*(parseInt!=so),{parseInt:so});m.parseInt;K(K.S+K.F*!Er((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,i,u=r(t),a="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,f=void 0!==c,p=0,l=ze(u);if(f&&(c=I(c,s>2?arguments[2]:void 0,2)),null==l||a==Array&&Ge(l))for(n=new a(e=h(u.length));e>p;p++)ae(n,p,f?c(u[p],p):u[p]);else for(i=l.call(u),n=new a;!(o=i.next()).done;p++)ae(n,p,f?Ce(i,c,[o.value,p],!0):o.value);return n.length=p,n}});var co=m.Array.from;K(K.S,"Array",{isArray:st});var fo=m.Array.isArray;K(K.S,"Reflect",{get:function t(e,r){var n,i,u=arguments.length<3?e:arguments[2];return U(e)===u?e[r]:(n=At.f(e,r))?o(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:F(i=me(e))?t(i,r,u):void 0}});var po=m.Reflect.get,lo=g((function(t){t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Tn(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0}));v(lo),v(g((function(t){function e(){return"undefined"!=typeof Reflect&&po?(t.exports=e=po,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t,e,r){var n=lo(t,e);if(n){var o=oe(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},t.exports.default=t.exports,t.exports.__esModule=!0),e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})));var ho="undefined"!=typeof Symbol&&Symbol,yo="Function.prototype.bind called on incompatible ",vo=Array.prototype.slice,go=Object.prototype.toString,bo=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==go.call(e))throw new TypeError(yo+e);for(var r,n=vo.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(vo.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(vo.call(arguments)))},i=Math.max(0,e.length-n.length),u=[],a=0;a<i;a++)u.push("$"+a);if(r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},mo=bo.call(Function.call,Object.prototype.hasOwnProperty),wo=SyntaxError,_o=Function,xo=TypeError,Ao=function(t){try{return _o('"use strict"; return ('+t+").constructor;")()}catch(t){}},Po=Object.getOwnPropertyDescriptor;if(Po)try{Po({},"")}catch(t){Po=null}var So,Eo=function(){throw new xo},Oo=Po?function(){try{return Eo}catch(t){try{return Po(arguments,"callee").get}catch(t){return Eo}}}():Eo,Ro="function"==typeof ho&&"function"==typeof Symbol&&"symbol"==typeof ho("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),ko=Object.getPrototypeOf||function(t){return t.__proto__},jo={},Mo="undefined"==typeof Uint8Array?void 0:ko(Uint8Array),To={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":Ro?ko([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":jo,"%AsyncGenerator%":jo,"%AsyncGeneratorFunction%":jo,"%AsyncIteratorPrototype%":jo,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":_o,"%GeneratorFunction%":jo,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ro?ko(ko([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ro?ko((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ro?ko((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ro?ko(""[Symbol.iterator]()):void 0,"%Symbol%":Ro?Symbol:void 0,"%SyntaxError%":wo,"%ThrowTypeError%":Oo,"%TypedArray%":Mo,"%TypeError%":xo,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},Io={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Fo=bo.call(Function.call,Array.prototype.concat),Uo=bo.call(Function.apply,Array.prototype.splice),Lo=bo.call(Function.call,String.prototype.replace),Bo=bo.call(Function.call,String.prototype.slice),Do=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Co=/\\(\\)?/g,No=function(t){var e=Bo(t,0,1),r=Bo(t,-1);if("%"===e&&"%"!==r)throw new wo("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new wo("invalid intrinsic syntax, expected opening `%`");var n=[];return Lo(t,Do,(function(t,e,r,o){n[n.length]=r?Lo(o,Co,"$1"):e||t})),n},Yo=function(t,e){var r,n=t;if(mo(Io,n)&&(n="%"+(r=Io[n])[0]+"%"),mo(To,n)){var o=To[n];if(o===jo&&(o=function t(e){var r;if("%AsyncFunction%"===e)r=Ao("async function () {}");else if("%GeneratorFunction%"===e)r=Ao("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Ao("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=ko(o.prototype))}return To[e]=r,r}(n)),void 0===o&&!e)throw new xo("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new wo("intrinsic "+t+" does not exist!")},Go=function(t,e){if("string"!=typeof t||0===t.length)throw new xo("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new xo('"allowMissing" argument must be a boolean');var r=No(t),n=r.length>0?r[0]:"",o=Yo("%"+n+"%",e),i=o.name,u=o.value,a=!1,s=o.alias;s&&(n=s[0],Uo(r,Fo([0,1],s)));for(var c=1,f=!0;c<r.length;c+=1){var p=r[c],l=Bo(p,0,1),h=Bo(p,-1);if(('"'===l||"'"===l||"`"===l||'"'===h||"'"===h||"`"===h)&&l!==h)throw new wo("property names with quotes must have matching quotes");if("constructor"!==p&&f||(a=!0),mo(To,i="%"+(n+="."+p)+"%"))u=To[i];else if(null!=u){if(!(p in u)){if(!e)throw new xo("base intrinsic for "+t+" exists, but the property is not available.");return}if(Po&&c+1>=r.length){var y=Po(u,p);u=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=mo(u,p),u=u[p];f&&!a&&(To[i]=u)}}return u},Wo=g((function(t){var e=Go("%Function.prototype.apply%"),r=Go("%Function.prototype.call%"),n=Go("%Reflect.apply%",!0)||bo.call(r,e),o=Go("%Object.getOwnPropertyDescriptor%",!0),i=Go("%Object.defineProperty%",!0),u=Go("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=n(bo,r,arguments);if(o&&i){var a=o(e,"length");a.configurable&&i(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var a=function(){return n(bo,e,arguments)};i?i(t.exports,"apply",{value:a}):t.exports.apply=a})),zo=(Wo.apply,Wo(Go("String.prototype.indexOf"))),qo=function(t,e){var r=Go(t,!!e);return"function"==typeof r&&zo(t,".prototype.")>-1?Wo(r):r},Jo=(So=Object.freeze({default:{}}))&&So.default||So,Vo="function"==typeof Map&&Map.prototype,Ko=Object.getOwnPropertyDescriptor&