UNPKG

@pollyjs/persister

Version:

Extendable base persister class used by @pollyjs

1 lines 117 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self)["@pollyjs/persister"]=e()}(this,(function(){"use strict";var t=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},e=function(e){return Object(t(e))},r={}.hasOwnProperty,n=function(t,e){return r.call(t,e)},o={}.toString,i=function(t){return o.call(t).slice(8,-1)},a=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)},s=function(e){return a(t(e))},u=Math.ceil,c=Math.floor,f=function(t){return isNaN(t=+t)?0:(t>0?c:u)(t)},l=Math.min,p=function(t){return t>0?l(f(t),9007199254740991):0},h=Math.max,d=Math.min;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function y(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function v(t,e){return t(e={exports:{}},e.exports),e.exports}var g,m=v((function(t){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)})),b=(m.version,v((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)}))),w=v((function(t){var e=b["__core-js_shared__"]||(b["__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)"})})),_=0,x=Math.random(),S=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++_+x).toString(36))},O=w("keys"),P=function(t){return O[t]||(O[t]=S(t))},A=(g=!1,function(t,e,r){var n,o=s(t),i=p(o.length),a=function(t,e){return(t=f(t))<0?h(t+e,0):d(t,e)}(r,i);if(g&&e!=e){for(;i>a;)if((n=o[a++])!=n)return!0}else for(;i>a;a++)if((g||a in o)&&o[a]===e)return g||a||0;return!g&&-1}),E=P("IE_PROTO"),M=function(t,e){var r,o=s(t),i=0,a=[];for(r in o)r!=E&&n(o,r)&&a.push(r);for(;e.length>i;)n(o,r=e[i++])&&(~A(a,r)||a.push(r));return a},k="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),j=Object.keys||function(t){return M(t,k)},R=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},F=function(t,e,r){if(R(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)}},T=function(t){return"object"==typeof t?null!==t:"function"==typeof t},B=function(t){if(!T(t))throw TypeError(t+" is not an object!");return t},I=function(t){try{return!!t()}catch(t){return!0}},N=!I((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),U=b.document,C=T(U)&&T(U.createElement),L=function(t){return C?U.createElement(t):{}},D=!N&&!I((function(){return 7!=Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a})),z=function(t,e){if(!T(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!T(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!T(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!T(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},Y=Object.defineProperty,W={f:N?Object.defineProperty:function(t,e,r){if(B(t),e=z(e,!0),B(r),D)try{return Y(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}},G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},V=N?function(t,e,r){return W.f(t,e,G(1,r))}:function(t,e,r){return t[e]=r,t},J=function(t,e,r){var o,i,a,s=t&J.F,u=t&J.G,c=t&J.S,f=t&J.P,l=t&J.B,p=t&J.W,h=u?m:m[e]||(m[e]={}),d=h.prototype,y=u?b:c?b[e]:(b[e]||{}).prototype;for(o in u&&(r=e),r)(i=!s&&y&&void 0!==y[o])&&n(h,o)||(a=i?y[o]:r[o],h[o]=u&&"function"!=typeof y[o]?r[o]:l&&i?F(a,b):p&&y[o]==a?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}(a):f&&"function"==typeof a?F(Function.call,a):a,f&&((h.virtual||(h.virtual={}))[o]=a,t&J.R&&d&&!d[o]&&V(d,o,a)))};J.F=1,J.G=2,J.S=4,J.P=8,J.B=16,J.W=32,J.U=64,J.R=128;var q=J,H=function(t,e){var r=(m.Object||{})[t]||Object[t],n={};n[t]=e(r),q(q.S+q.F*I((function(){r(1)})),"Object",n)};H("keys",(function(){return function(t){return j(e(t))}}));var K=m.Object.keys,$=V,Z=v((function(t){var e=S("meta"),r=W.f,o=0,i=Object.isExtensible||function(){return!0},a=!I((function(){return i(Object.preventExtensions({}))})),s=function(t){r(t,e,{value:{i:"O"+ ++o,w:{}}})},u=t.exports={KEY:e,NEED:!1,fastKey:function(t,r){if(!T(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!n(t,e)){if(!i(t))return"F";if(!r)return"E";s(t)}return t[e].i},getWeak:function(t,r){if(!n(t,e)){if(!i(t))return!0;if(!r)return!1;s(t)}return t[e].w},onFreeze:function(t){return a&&u.NEED&&i(t)&&!n(t,e)&&s(t),t}}})),X=(Z.KEY,Z.NEED,Z.fastKey,Z.getWeak,Z.onFreeze,v((function(t){var e=w("wks"),r=b.Symbol,n="function"==typeof r;(t.exports=function(t){return e[t]||(e[t]=n&&r[t]||(n?r:S)("Symbol."+t))}).store=e}))),Q=W.f,tt=X("toStringTag"),et=function(t,e,r){t&&!n(t=r?t:t.prototype,tt)&&Q(t,tt,{configurable:!0,value:e})},rt={f:X},nt=W.f,ot=function(t){var e=m.Symbol||(m.Symbol={});"_"==t.charAt(0)||t in e||nt(e,t,{value:rt.f(t)})},it={f:Object.getOwnPropertySymbols},at={f:{}.propertyIsEnumerable},st=Array.isArray||function(t){return"Array"==i(t)},ut=N?Object.defineProperties:function(t,e){B(t);for(var r,n=j(e),o=n.length,i=0;o>i;)W.f(t,r=n[i++],e[r]);return t},ct=b.document,ft=ct&&ct.documentElement,lt=P("IE_PROTO"),pt=function(){},ht=function(){var t,e=L("iframe"),r=k.length;for(e.style.display="none",ft.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ht=t.F;r--;)delete ht.prototype[k[r]];return ht()},dt=Object.create||function(t,e){var r;return null!==t?(pt.prototype=B(t),r=new pt,pt.prototype=null,r[lt]=t):r=ht(),void 0===e?r:ut(r,e)},yt=k.concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return M(t,yt)}},gt=vt.f,mt={}.toString,bt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],wt={f:function(t){return bt&&"[object Window]"==mt.call(t)?function(t){try{return gt(t)}catch(t){return bt.slice()}}(t):gt(s(t))}},_t=Object.getOwnPropertyDescriptor,xt={f:N?_t:function(t,e){if(t=s(t),e=z(e,!0),D)try{return _t(t,e)}catch(t){}if(n(t,e))return G(!at.f.call(t,e),t[e])}},St=Z.KEY,Ot=xt.f,Pt=W.f,At=wt.f,Et=b.Symbol,Mt=b.JSON,kt=Mt&&Mt.stringify,jt=X("_hidden"),Rt=X("toPrimitive"),Ft={}.propertyIsEnumerable,Tt=w("symbol-registry"),Bt=w("symbols"),It=w("op-symbols"),Nt=Object.prototype,Ut="function"==typeof Et&&!!it.f,Ct=b.QObject,Lt=!Ct||!Ct.prototype||!Ct.prototype.findChild,Dt=N&&I((function(){return 7!=dt(Pt({},"a",{get:function(){return Pt(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Ot(Nt,e);n&&delete Nt[e],Pt(t,e,r),n&&t!==Nt&&Pt(Nt,e,n)}:Pt,zt=function(t){var e=Bt[t]=dt(Et.prototype);return e._k=t,e},Yt=Ut&&"symbol"==typeof Et.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Et},Wt=function(t,e,r){return t===Nt&&Wt(It,e,r),B(t),e=z(e,!0),B(r),n(Bt,e)?(r.enumerable?(n(t,jt)&&t[jt][e]&&(t[jt][e]=!1),r=dt(r,{enumerable:G(0,!1)})):(n(t,jt)||Pt(t,jt,G(1,{})),t[jt][e]=!0),Dt(t,e,r)):Pt(t,e,r)},Gt=function(t,e){B(t);for(var r,n=function(t){var e=j(t),r=it.f;if(r)for(var n,o=r(t),i=at.f,a=0;o.length>a;)i.call(t,n=o[a++])&&e.push(n);return e}(e=s(e)),o=0,i=n.length;i>o;)Wt(t,r=n[o++],e[r]);return t},Vt=function(t){var e=Ft.call(this,t=z(t,!0));return!(this===Nt&&n(Bt,t)&&!n(It,t))&&(!(e||!n(this,t)||!n(Bt,t)||n(this,jt)&&this[jt][t])||e)},Jt=function(t,e){if(t=s(t),e=z(e,!0),t!==Nt||!n(Bt,e)||n(It,e)){var r=Ot(t,e);return!r||!n(Bt,e)||n(t,jt)&&t[jt][e]||(r.enumerable=!0),r}},qt=function(t){for(var e,r=At(s(t)),o=[],i=0;r.length>i;)n(Bt,e=r[i++])||e==jt||e==St||o.push(e);return o},Ht=function(t){for(var e,r=t===Nt,o=At(r?It:s(t)),i=[],a=0;o.length>a;)!n(Bt,e=o[a++])||r&&!n(Nt,e)||i.push(Bt[e]);return i};Ut||($((Et=function(){if(this instanceof Et)throw TypeError("Symbol is not a constructor!");var t=S(arguments.length>0?arguments[0]:void 0),e=function(r){this===Nt&&e.call(It,r),n(this,jt)&&n(this[jt],t)&&(this[jt][t]=!1),Dt(this,t,G(1,r))};return N&&Lt&&Dt(Nt,t,{configurable:!0,set:e}),zt(t)}).prototype,"toString",(function(){return this._k})),xt.f=Jt,W.f=Wt,vt.f=wt.f=qt,at.f=Vt,it.f=Ht,rt.f=function(t){return zt(X(t))}),q(q.G+q.W+q.F*!Ut,{Symbol:Et});for(var Kt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),$t=0;Kt.length>$t;)X(Kt[$t++]);for(var Zt=j(X.store),Xt=0;Zt.length>Xt;)ot(Zt[Xt++]);q(q.S+q.F*!Ut,"Symbol",{for:function(t){return n(Tt,t+="")?Tt[t]:Tt[t]=Et(t)},keyFor:function(t){if(!Yt(t))throw TypeError(t+" is not a symbol!");for(var e in Tt)if(Tt[e]===t)return e},useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),q(q.S+q.F*!Ut,"Object",{create:function(t,e){return void 0===e?dt(t):Gt(dt(t),e)},defineProperty:Wt,defineProperties:Gt,getOwnPropertyDescriptor:Jt,getOwnPropertyNames:qt,getOwnPropertySymbols:Ht});var Qt=I((function(){it.f(1)}));q(q.S+q.F*Qt,"Object",{getOwnPropertySymbols:function(t){return it.f(e(t))}}),Mt&&q(q.S+q.F*(!Ut||I((function(){var t=Et();return"[null]"!=kt([t])||"{}"!=kt({a:t})||"{}"!=kt(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],(T(e)||void 0!==t)&&!Yt(t))return st(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Yt(e))return e}),n[1]=e,kt.apply(Mt,n)}}),Et.prototype[Rt]||V(Et.prototype,Rt,Et.prototype.valueOf),et(Et,"Symbol"),et(Math,"Math",!0),et(b.JSON,"JSON",!0);var te=m.Object.getOwnPropertySymbols,ee=xt.f;H("getOwnPropertyDescriptor",(function(){return function(t,e){return ee(s(t),e)}}));var re=m.Object,ne=function(t,e){return re.getOwnPropertyDescriptor(t,e)},oe=b.Reflect,ie=oe&&oe.ownKeys||function(t){var e=vt.f(B(t)),r=it.f;return r?e.concat(r(t)):e},ae=function(t,e,r){e in t?W.f(t,e,G(0,r)):t[e]=r};q(q.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,r,n=s(t),o=xt.f,i=ie(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&ae(a,e,r);return a}});var se=m.Object.getOwnPropertyDescriptors;q(q.S+q.F*!N,"Object",{defineProperties:ut});var ue=m.Object,ce=function(t,e){return ue.defineProperties(t,e)};q(q.S+q.F*!N,"Object",{defineProperty:W.f});var fe=m.Object,le=function(t,e,r){return fe.defineProperty(t,e,r)},pe={},he={};V(he,X("iterator"),(function(){return this}));var de,ye=function(t,e,r){t.prototype=dt(he,{next:G(1,r)}),et(t,e+" Iterator")},ve=P("IE_PROTO"),ge=Object.prototype,me=Object.getPrototypeOf||function(t){return t=e(t),n(t,ve)?t[ve]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ge:null},be=X("iterator"),we=!([].keys&&"next"in[].keys()),_e=function(){return this},xe=function(t,e,r,n,o,i,a){ye(r,e,n);var s,u,c,f=function(t){if(!we&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},l=e+" Iterator",p="values"==o,h=!1,d=t.prototype,y=d[be]||d["@@iterator"]||o&&d[o],v=y||f(o),g=o?p?f("entries"):v:void 0,m="Array"==e&&d.entries||y;if(m&&(c=me(m.call(new t)))!==Object.prototype&&c.next&&et(c,l,!0),p&&y&&"values"!==y.name&&(h=!0,v=function(){return y.call(this)}),a&&(we||h||!d[be])&&V(d,be,v),pe[e]=v,pe[l]=_e,o)if(s={values:p?v:f("values"),keys:i?v:f("keys"),entries:g},a)for(u in s)u in d||$(d,u,s[u]);else q(q.P+q.F*(we||h),e,s);return s},Se=(de=!0,function(e,r){var n,o,i=String(t(e)),a=f(r),s=i.length;return a<0||a>=s?de?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?de?i.charAt(a):n:de?i.slice(a,a+2):o-56320+(n-55296<<10)+65536});xe(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=Se(e,r),this._i+=t.length,{value:t,done:!1})}));var Oe=function(t,e,r,n){try{return n?e(B(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&B(o.call(t)),e}},Pe=X("iterator"),Ae=Array.prototype,Ee=function(t){return void 0!==t&&(pe.Array===t||Ae[Pe]===t)},Me=X("toStringTag"),ke="Arguments"==i(function(){return arguments}()),je=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),Me))?r:ke?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n},Re=X("iterator"),Fe=m.getIteratorMethod=function(t){if(null!=t)return t[Re]||t["@@iterator"]||pe[je(t)]},Te=X("iterator"),Be=!1;try{var Ie=[7][Te]();Ie.return=function(){Be=!0},Array.from(Ie,(function(){throw 2}))}catch(t){}var Ne=function(t,e){if(!e&&!Be)return!1;var r=!1;try{var n=[7],o=n[Te]();o.next=function(){return{done:r=!0}},n[Te]=function(){return o},t(n)}catch(t){}return r};q(q.S+q.F*!Ne((function(t){Array.from(t)})),"Array",{from:function(t){var r,n,o,i,a=e(t),s="function"==typeof this?this:Array,u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,l=0,h=Fe(a);if(f&&(c=F(c,u>2?arguments[2]:void 0,2)),null==h||s==Array&&Ee(h))for(n=new s(r=p(a.length));r>l;l++)ae(n,l,f?c(a[l],l):a[l]);else for(i=h.call(a),n=new s;!(o=i.next()).done;l++)ae(n,l,f?Oe(i,c,[o.value,l],!0):o.value);return n.length=l,n}});var Ue=m.Array.from;ot("asyncIterator"),ot("observable");var Ce=m.Symbol,Le=function(t,e){return{value:e,done:!!t}};xe(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,Le(1)):Le(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values");pe.Arguments=pe.Array;for(var De=X("toStringTag"),ze="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(","),Ye=0;Ye<ze.length;Ye++){var We=ze[Ye],Ge=b[We],Ve=Ge&&Ge.prototype;Ve&&!Ve[De]&&V(Ve,De,We),pe[We]=pe.Array}var Je=rt.f("iterator");q(q.S,"Array",{isArray:st});var qe=m.Array.isArray,He=v((function(t){t.exports=function(t){if(qe(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0}));y(He);var Ke=v((function(t){t.exports=function(t,e){var r=null==t?null:void 0!==Ce&&t[Je]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0}));y(Ke);var $e=v((function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0}));y($e);var Ze=v((function(t){t.exports=function(t,e){if(t){if("string"==typeof t)return $e(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Ue(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$e(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0}));y(Ze);var Xe=v((function(t){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0}));y(Xe);var Qe,tr,er,rr=y(v((function(t){t.exports=function(t,e){return He(t)||Ke(t,e)||Ze(t,e)||Xe()},t.exports.default=t.exports,t.exports.__esModule=!0}))),nr=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t},or=v((function(t){var e={},r={},n=t.exports=function(t,n,o,i,a){var s,u,c,f,l=a?function(){return t}:Fe(t),h=F(o,i,n?2:1),d=0;if("function"!=typeof l)throw TypeError(t+" is not iterable!");if(Ee(l)){for(s=p(t.length);s>d;d++)if((f=n?h(B(u=t[d])[0],u[1]):h(t[d]))===e||f===r)return f}else for(c=l.call(t);!(u=c.next()).done;)if((f=Oe(c,h,u.value,n))===e||f===r)return f};n.BREAK=e,n.RETURN=r})),ir=X("species"),ar=function(t,e){var r,n=B(t).constructor;return void 0===n||null==(r=B(n)[ir])?e:R(r)},sr=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)},ur=b.process,cr=b.setImmediate,fr=b.clearImmediate,lr=b.MessageChannel,pr=b.Dispatch,hr=0,dr={},yr=function(){var t=+this;if(dr.hasOwnProperty(t)){var e=dr[t];delete dr[t],e()}},vr=function(t){yr.call(t.data)};cr&&fr||(cr=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return dr[++hr]=function(){sr("function"==typeof t?t:Function(t),e)},Qe(hr),hr},fr=function(t){delete dr[t]},"process"==i(ur)?Qe=function(t){ur.nextTick(F(yr,t,1))}:pr&&pr.now?Qe=function(t){pr.now(F(yr,t,1))}:lr?(er=(tr=new lr).port2,tr.port1.onmessage=vr,Qe=F(er.postMessage,er,1)):b.addEventListener&&"function"==typeof postMessage&&!b.importScripts?(Qe=function(t){b.postMessage(t+"","*")},b.addEventListener("message",vr,!1)):Qe="onreadystatechange"in L("script")?function(t){ft.appendChild(L("script")).onreadystatechange=function(){ft.removeChild(this),yr.call(t)}}:function(t){setTimeout(F(yr,t,1),0)});var gr={set:cr,clear:fr},mr=gr.set,br=b.MutationObserver||b.WebKitMutationObserver,wr=b.process,_r=b.Promise,xr="process"==i(wr);function Sr(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=R(e),this.reject=R(r)}var Or,Pr,Ar,Er,Mr={f:function(t){return new Sr(t)}},kr=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},jr=b.navigator,Rr=jr&&jr.userAgent||"",Fr=function(t,e){if(B(t),T(e)&&e.constructor===t)return e;var r=Mr.f(t);return(0,r.resolve)(e),r.promise},Tr=function(t,e,r){for(var n in e)r&&t[n]?t[n]=e[n]:V(t,n,e[n]);return t},Br=X("species"),Ir=function(t){var e="function"==typeof m[t]?m[t]:b[t];N&&e&&!e[Br]&&W.f(e,Br,{configurable:!0,get:function(){return this}})},Nr=gr.set,Ur=function(){var t,e,r,n=function(){var n,o;for(xr&&(n=wr.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(xr)r=function(){wr.nextTick(n)};else if(!br||b.navigator&&b.navigator.standalone)if(_r&&_r.resolve){var o=_r.resolve(void 0);r=function(){o.then(n)}}else r=function(){mr.call(b,n)};else{var i=!0,a=document.createTextNode("");new br(n).observe(a,{characterData:!0}),r=function(){a.data=i=!i}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}(),Cr=b.TypeError,Lr=b.process,Dr=Lr&&Lr.versions,zr=Dr&&Dr.v8||"",Yr=b.Promise,Wr="process"==je(Lr),Gr=function(){},Vr=Pr=Mr.f,Jr=!!function(){try{var t=Yr.resolve(1),e=(t.constructor={})[X("species")]=function(t){t(Gr,Gr)};return(Wr||"function"==typeof PromiseRejectionEvent)&&t.then(Gr)instanceof e&&0!==zr.indexOf("6.6")&&-1===Rr.indexOf("Chrome/66")}catch(t){}}(),qr=function(t){var e;return!(!T(t)||"function"!=typeof(e=t.then))&&e},Hr=function(t,e){if(!t._n){t._n=!0;var r=t._c;Ur((function(){for(var n=t._v,o=1==t._s,i=0,a=function(e){var r,i,a,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(o||(2==t._h&&Zr(t),t._h=1),!0===s?r=n:(f&&f.enter(),r=s(n),f&&(f.exit(),a=!0)),r===e.promise?c(Cr("Promise-chain cycle")):(i=qr(r))?i.call(r,u,c):u(r)):c(n)}catch(t){f&&!a&&f.exit(),c(t)}};r.length>i;)a(r[i++]);t._c=[],t._n=!1,e&&!t._h&&Kr(t)}))}},Kr=function(t){Nr.call(b,(function(){var e,r,n,o=t._v,i=$r(t);if(i&&(e=kr((function(){Wr?Lr.emit("unhandledRejection",o,t):(r=b.onunhandledrejection)?r({promise:t,reason:o}):(n=b.console)&&n.error&&n.error("Unhandled promise rejection",o)})),t._h=Wr||$r(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},$r=function(t){return 1!==t._h&&0===(t._a||t._c).length},Zr=function(t){Nr.call(b,(function(){var e;Wr?Lr.emit("rejectionHandled",t):(e=b.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Xr=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()),Hr(e,!0))},Qr=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw Cr("Promise can't be resolved itself");(e=qr(t))?Ur((function(){var n={_w:r,_d:!1};try{e.call(t,F(Qr,n,1),F(Xr,n,1))}catch(t){Xr.call(n,t)}})):(r._v=t,r._s=1,Hr(r,!1))}catch(t){Xr.call({_w:r,_d:!1},t)}}};Jr||(Yr=function(t){nr(this,Yr,"Promise","_h"),R(t),Or.call(this);try{t(F(Qr,this,1),F(Xr,this,1))}catch(t){Xr.call(this,t)}},(Or=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=Tr(Yr.prototype,{then:function(t,e){var r=Vr(ar(this,Yr));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Wr?Lr.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&Hr(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),Ar=function(){var t=new Or;this.promise=t,this.resolve=F(Qr,t,1),this.reject=F(Xr,t,1)},Mr.f=Vr=function(t){return t===Yr||t===Er?new Ar(t):Pr(t)}),q(q.G+q.W+q.F*!Jr,{Promise:Yr}),et(Yr,"Promise"),Ir("Promise"),Er=m.Promise,q(q.S+q.F*!Jr,"Promise",{reject:function(t){var e=Vr(this);return(0,e.reject)(t),e.promise}}),q(q.S+!0*q.F,"Promise",{resolve:function(t){return Fr(this===Er?Yr:this,t)}}),q(q.S+q.F*!(Jr&&Ne((function(t){Yr.all(t).catch(Gr)}))),"Promise",{all:function(t){var e=this,r=Vr(e),n=r.resolve,o=r.reject,i=kr((function(){var r=[],i=0,a=1;or(t,!1,(function(t){var s=i++,u=!1;r.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,r[s]=t,--a||n(r))}),o)})),--a||n(r)}));return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=Vr(e),n=r.reject,o=kr((function(){or(t,!1,(function(t){e.resolve(t).then(r.resolve,n)}))}));return o.e&&n(o.v),r.promise}}),q(q.P+q.R,"Promise",{finally:function(t){var e=ar(this,m.Promise||b.Promise),r="function"==typeof t;return this.then(r?function(r){return Fr(e,t()).then((function(){return r}))}:t,r?function(r){return Fr(e,t()).then((function(){throw r}))}:t)}}),q(q.S,"Promise",{try:function(t){var e=Mr.f(this),r=kr(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}});var tn=m.Promise,en=y(v((function(t){function e(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):tn.resolve(u).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new tn((function(o,i){var a=t.apply(r,n);function s(t){e(a,o,i,s,u,"next",t)}function u(t){e(a,o,i,s,u,"throw",t)}s(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0}))),rn=y(v((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}))),nn=y(v((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}))),on=y(v((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}))),an=v((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",a=n.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),a=new S(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 P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=w(a,r);if(s){if(s===f)continue;return s}}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 u=c(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var d={};s(d,o,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(O([])));v&&v!==e&&r.call(v,o)&&(d=v);var g=h.prototype=l.prototype=Object.create(d);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,s){var u=c(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}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 S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(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:P}}function P(){return{value:void 0,done:!0}}return p.prototype=h,s(g,"constructor",h),s(h,"constructor",p),p.displayName=s(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,s(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(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=O,S.prototype={constructor:S,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 a.type="throw",a.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],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)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 a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},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:O(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)}})),sn=function(t,e){if(!T(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t},un=W.f,cn=Z.fastKey,fn=N?"_s":"size",ln=function(t,e){var r,n=cn(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r},pn={getConstructor:function(t,e,r,n){var o=t((function(t,i){nr(t,o,e,"_i"),t._t=e,t._i=dt(null),t._f=void 0,t._l=void 0,t[fn]=0,null!=i&&or(i,r,t[n],t)}));return Tr(o.prototype,{clear:function(){for(var t=sn(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[fn]=0},delete:function(t){var r=sn(this,e),n=ln(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[fn]--}return!!n},forEach:function(t){sn(this,e);for(var r,n=F(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!!ln(sn(this,e),t)}}),N&&un(o.prototype,"size",{get:function(){return sn(this,e)[fn]}}),o},def:function(t,e,r){var n,o,i=ln(t,e);return i?i.v=r:(t._l=i={i:o=cn(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[fn]++,"F"!==o&&(t._i[o]=i)),t},getEntry:ln,setStrong:function(t,e,r){xe(t,e,(function(t,r){this._t=sn(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)?Le(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,Le(1))}),r?"entries":"values",!r,!0),Ir(e)}},hn=X("species"),dn=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),T(e)&&null===(e=e[hn])&&(e=void 0)),void 0===e?Array:e}(t))(e)},yn=W.f,vn=function(t,r){var n=1==t,o=2==t,i=3==t,s=4==t,u=6==t,c=5==t||u,f=r||dn;return function(r,l,h){for(var d,y,v=e(r),g=a(v),m=F(l,h,3),b=p(g.length),w=0,_=n?f(r,b):o?f(r,0):void 0;b>w;w++)if((c||w in g)&&(y=m(d=g[w],w,v),t))if(n)_[w]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return w;case 2:_.push(d)}else if(s)return!1;return u?-1:i||s?s:_}}(0);!function(t,e,r,n,o,i){var a=b[t],s=a,u=o?"set":"add",c=s&&s.prototype,f={};N&&"function"==typeof s&&(i||c.forEach&&!I((function(){(new s).entries().next()})))?(s=e((function(e,r){nr(e,s,t,"_c"),e._c=new a,null!=r&&or(r,o,e[u],e)})),vn("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||V(s.prototype,t,(function(r,n){if(nr(this,s,t),!e&&i&&!T(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,n);return e?this:o}))})),i||yn(s.prototype,"size",{get:function(){return this._c.size}})):(s=n.getConstructor(e,t,o,u),Tr(s.prototype,r),Z.NEED=!0),et(s,t),f[t]=s,q(q.G+q.W+q.F,f),i||n.setStrong(s,t,o)}("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=pn.getEntry(sn(this,"Map"),t);return e&&e.v},set:function(t,e){return pn.def(sn(this,"Map"),0===t?0:t,e)}},pn,!0);q(q.P+q.R,"Map",{toJSON:function(t){return function(){if(je(this)!=t)throw TypeError(t+"#toJSON isn't generic");return function(t,e){var r=[];return or(t,!1,r.push,r,e),r}(this)}}("Map")});var gn;gn="Map",q(q.S,gn,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}});!function(t){q(q.S,t,{from:function(t){var e,r,n,o,i=arguments[1];return R(this),(e=void 0!==i)&&R(i),null==t?new this:(r=[],e?(n=0,o=F(i,arguments[2],2),or(t,!1,(function(t){r.push(o(t,n++))}))):or(t,!1,r.push,r),new this(r))}})}("Map");var mn=m.Map,bn=v((function(t){function e(r){return"function"==typeof Ce&&"symbol"==typeof Je?(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 Ce&&t.constructor===Ce&&t!==Ce.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})),wn=y(bn),_n=m.JSON||(m.JSON={stringify:JSON.stringify}),xn=function(t){return _n.stringify.apply(_n,arguments)},Sn=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(t){return function(e){return function(r,n){var o={key:r,value:e[r]},i={key:n,value:e[n]};return t(o,i)}}}(e.cmp),o=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!==wn(e))return xn(e);var i,a;if(qe(e)){for(a="[",i=0;i<e.length;i++)i&&(a+=","),a+=t(e[i])||"null";return a+"]"}if(null===e)return"null";if(-1!==o.indexOf(e)){if(r)return xn("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(e)-1,u=K(e).sort(n&&n(e));for(a="",i=0;i<u.length;i++){var c=u[i],f=t(e[c]);f&&(a&&(a+=","),a+=xn(c)+":"+f)}return o.splice(s,1),"{"+a+"}"}}(t)},On="record",Pn="replay",An=[].slice,En={},Mn=function(t,e,r){if(!(e in En)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";En[e]=Function("F,a","return new F("+n.join(",")+")")}return En[e](t,r)},kn=Function.bind||function(t){var e=R(this),r=An.call(arguments,1),n=function(){var o=r.concat(An.call(arguments));return this instanceof n?Mn(e,o.length,o):sr(e,o,t)};return T(e.prototype)&&(n.prototype=e.prototype),n},jn=(b.Reflect||{}).construct,Rn=I((function(){function t(){}return!(jn((function(){}),[],t)instanceof t)})),Fn=!I((function(){jn((function(){}))}));q(q.S+q.F*(Rn||Fn),"Reflect",{construct:function(t,e){R(t),B(e);var r=arguments.length<3?t:R(arguments[2]);if(Fn&&!Rn)return jn(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(kn.apply(t,n))}var o=r.prototype,i=dt(T(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return T(a)?a:i}});var Tn=m.Reflect.construct,Bn=v((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})),In=y(Bn);q(q.S,"Object",{create:dt});var Nn=m.Object,Un=function(t,e){return Nn.create(t,e)},Cn=function(t,e){if(B(t),!T(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Ln={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=F(Function.call,xt.f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return Cn(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:Cn};q(q.S,"Object",{setPrototypeOf:Ln.set});var Dn=m.Object.setPrototypeOf,zn=v((function(t){function e(r,n){return t.exports=e=Dn||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}));y(zn);var Yn=y(v((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=Un(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zn(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0}))),Wn=y(v((function(t){var e=bn.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 Bn(t)},t.exports.default=t.exports,t.exports.__esModule=!0})));H("getPrototypeOf",(function(){return function(t){return me(e(t))}}));var Gn=m.Object.getPrototypeOf,Vn=v((function(t){function e(r){return t.exports=e=Dn?Gn:function(t){return t.__proto__||Gn(t)},t.exports.default=t.exports,t.exports.__esModule=!0,e(r)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),Jn=y(Vn),qn=v((function(t){t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},t.exports.default=t.exports,t.exports.__esModule=!0}));y(qn);var Hn=v((function(t){t.exports=function(){if("undefined"==typeof Reflect||!Tn)return!1;if(Tn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Tn(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0}));y(Hn);var Kn=v((function(t){function e(r,n,o){return Hn()?(t.exports=e=Tn,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&&zn(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||!Tn)return!1;if(Tn.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Tn(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Jn(t);if(e){var o=Jn(this).constructor;r=Tn(n,arguments,o)}else r=n.apply(this,arguments);return Wn(this,r)}}y(Kn);var Zn=function(t){Yn(r,t);var e=$n(r);function r(t){var n;nn(this,r);for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return n=e.call.apply(e,[this,"[Polly] ".concat(t)].concat(i)),Error.captureStackTrace&&Error.captureStackTrace(In(n),r),n.name="PollyError",n}return r}(y(v((function(t){function e(r){var n="function"==typeof mn?new mn:void 0;return t.exports=e=function(t){if(null===t||!qn(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,Vn(this).constructor)}return e.prototype=Un(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),zn(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 Xn(t,e){if(!e)throw new Zn(t)}var Qn="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",to="["+Qn+"]",eo=RegExp("^"+to+to+"*"),ro=RegExp(to+to+"*$"),no=function(t,e,r){var n={},o=I((function(){return!!Qn[t]()||"​…"!="​…"[t]()})),i=n[t]=o?e(oo):Qn[t];r&&(n[r]=i),q(q.P+q.F*o,"String",n)},oo=no.trim=function(e,r){return e=String(t(e)),1&r&&(e=e.replace(eo,"")),2&r&&(e=e.replace(ro,"")),e},io=no,ao=b.parseInt,so=io.trim,uo=/^[-+]?0[xX]/,co=8!==ao(Qn+"08")||22!==ao(Qn+"0x16")?function(t,e){var r=so(String(t),3);return ao(r,e>>>0||(uo.test(r)?16:10))}:ao;q(q.G+q.F*(parseInt!=co),{parseInt:co});var fo=m.parseInt;q(q.S,"Reflect",{get:function t(e,r){var o,i,a=arguments.length<3?e:arguments[2];return B(e)===a?e[r]:(o=xt.f(e,r))?n(o,"value")?o.value:void 0!==o.get?o.get.call(a):void 0:T(i=me(e))?t(i,r,a):void 0}});var lo=m.Reflect.get,po=v((function(t){t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Vn(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0}));y(po),y(v((function(t){function e(){return"undefined"!=typeof Reflect&&lo?(t.exports=e=lo,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t,e,r){var n=po(t,e);if(n){var o=ne(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,mo=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),a=[],s=0;s<i;s++)a.push("$"+s);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},bo=mo.call(Function.call,Object.prototype.hasOwnProperty),wo=SyntaxError,_o=Function,xo=TypeError,So=function(t){try{return _o('"use strict"; return ('+t+").constructor;")()}catch(t){}},Oo=Object.getOwnPropertyDescriptor;if(Oo)try{Oo({},"")}catch(t){Oo=null}var Po,Ao=function(){throw new xo},Eo=Oo?function(){try{return Ao}catch(t){try{return Oo(arguments,"callee").get}catch(t){return Ao}}}():Ao,Mo="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={},Ro="undefined"==typeof Uint8Array?void 0:ko(Uint8Array),Fo={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":Mo?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%":Mo?ko(ko([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Mo?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&&Mo?ko((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mo?ko(""[Symbol.iterator]()):void 0,"%Symbol%":Mo?Symbol:void 0,"%SyntaxError%":wo,"%ThrowTypeError%":Eo,"%TypedArray%":Ro,"%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},To={"%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"]},Bo=mo.call(Function.call,Array.prototype.concat),Io=mo.call(Function.apply,Array.prototype.splice),No=mo.call(Function.call,String.prototype.replace),Uo=mo.call(Function.call,String.prototype.slice),Co=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Lo=/\\(\\)?/g,Do=function(t){var e=Uo(t,0,1),r=Uo(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 No(t,Co,(function(t,e,r,o){n[n.length]=r?No(o,Lo,"$1"):e||t})),n},zo=function(t,e){var r,n=t;if(bo(To,n)&&(n="%"+(r=To[n])[0]+"%"),bo(Fo,n)){var o=Fo[n];if(o===jo&&(o=function t(e){var r;if("%AsyncFunction