From 57c5dc57cd8bd2bb5710903e9c580cc217092357 Mon Sep 17 00:00:00 2001 From: Guillaume Smaha Date: Sun, 3 Dec 2023 14:55:25 +0100 Subject: [PATCH] Wrap JSON.parse into userScriptStartAdBlock function --- dist/adblockMain.js | 2 +- src/adblock.js | 64 +++++++++++++++++++++++---------------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/dist/adblockMain.js b/dist/adblockMain.js index e03db58..c162ea2 100644 --- a/dist/adblockMain.js +++ b/dist/adblockMain.js @@ -1 +1 @@ -!function(){var t={2236:function(t,e,n){var r=n(2547),o=n(6507),i=n(7460),a=n(2073),s=n(888),c=function(t){"use strict";var e,n=Object.prototype,s=n.hasOwnProperty,c="function"==typeof r?r:{},u=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=v;return function(o,i){if(r===g)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===v)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=g;var c=d(t,e,n);if("normal"===c.type){if(r=n.done?m:y,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var v="suspendedStart",y="suspendedYield",g="executing",m="completed",b={};function w(){}function x(){}function S(){}var k={};p(k,u,(function(){return this}));var O=o&&o(o(R([])));O&&O!==n&&s.call(O,u)&&(k=O);var E=S.prototype=w.prototype=Object.create(k);function A(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function n(r,o,i,a){var c=d(t[r],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&s.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return n("throw",t,i,a)}))}a(c.arg)}var r;this._invoke=function(t,o){function i(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(i,i):i()}}function T(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method))return b;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function L(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function R(t){if(t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=s.call(i,"catchLoc"),u=s.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}(t.exports);try{regeneratorRuntime=c}catch(t){"object"==typeof s?s.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}},3219:function(t,e,n){var r,o,i=n(2073),a=n(8065);void 0===(o="function"==typeof(r=function(){var t=function t(e){function n(t,e){return t>>>e|t<<32-e}for(var r,o,s=Math.pow,c=s(2,32),u="",f=[],l=8*e.length,p=t.h=t.h||[],h=t.k=t.k||[],d=h.length,v={},y=2;d<64;y++)if(!v[y]){for(r=0;r<313;r+=y)v[r]=y;p[d]=s(y,.5)*c|0,h[d++]=s(y,1/3)*c|0}for(e+="€";e.length%64-56;)e+="\0";for(r=0;r>8)return;f[r>>2]|=o<<(3-r)%4*8}for(f[f.length]=l/c|0,f[f.length]=l,o=0;o>>3)+g[r-7]+(n(x,17)^n(x,19)^x>>>10)|0),E=(n(S,2)^n(S,13)^n(S,22))+(S&p[1]^S&p[2]^p[1]&p[2]);(p=a(b=[O+E|0]).call(b,p))[4]=p[4]+O|0}for(r=0;r<8;r++)p[r]=p[r]+m[r]|0}for(r=0;r<8;r++)for(o=3;o+1;o--){var A=p[r]>>8*o&255;u+=(A<16?0:"")+A.toString(16)}return u};return t.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;ed;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',t})?r.apply(e,[]):r)||(t.exports=o)},6014:function(){!function(t){function e(t){return void 0===t?0:Number(t)}function n(t,e){return t!==e&&!(isNaN(t)&&isNaN(e))}self.DOMRect=function(t,r,o,i){var a,s,c,u,f,l,p,h;a=e(t),s=e(r),c=e(o),u=e(i),Object.defineProperties(this,{x:{get:function(){return a},set:function(t){n(a,t)&&(a=t,f=l=void 0)},enumerable:!0},y:{get:function(){return s},set:function(t){n(s,t)&&(s=t,p=h=void 0)},enumerable:!0},width:{get:function(){return c},set:function(t){n(c,t)&&(c=t,f=l=void 0)},enumerable:!0},height:{get:function(){return u},set:function(t){n(u,t)&&(u=t,p=h=void 0)},enumerable:!0},left:{get:function(){return void 0===f&&(f=a+Math.min(0,c)),f},enumerable:!0},right:{get:function(){return void 0===l&&(l=a+Math.max(0,c)),l},enumerable:!0},top:{get:function(){return void 0===p&&(p=s+Math.min(0,u)),p},enumerable:!0},bottom:{get:function(){return void 0===h&&(h=s+Math.max(0,u)),h},enumerable:!0}})}}()},7510:function(){"navigate"in window?console.log("No need for navigate polyfill"):(console.log("Set navigate polyfill"),window.navigate=function(t){var e=document.activeElement;e||(e=document.querySelector(":focus")),e||(e=document.querySelector('[tabindex="0"]'));var n=e.tabIndex,r=document.querySelector('[tabindex="0"]');if(null!==n)if("down"==t||"right"==t){n+=1;var o=document.querySelector('[tabindex="'+n+'"]');null!==o&&(r=o)}else if("up"==t||"left"==t)if((n-=1)>=0){var i=document.querySelector('[tabindex="'+n+'"]');null!==i&&(r=i)}else for(var a=document.querySelectorAll("[tabindex]"),s=0,c=0;cs&&(n=s=a[c].tabIndex,r=a[c]);console.log("Move to tabIndex: "+n),r.focus()},window.__spatialNavigation__={})},6820:function(t,e,n){var r=n(6243);t.exports=r},5023:function(t,e,n){var r=n(2369);t.exports=r},4493:function(t,e,n){n(7971),n(3242);var r=n(4058);t.exports=r.Array.from},5367:function(t,e,n){n(5906);var r=n(5703);t.exports=r("Array").concat},2710:function(t,e,n){n(6274),n(5967);var r=n(5703);t.exports=r("Array").entries},2383:function(t,e,n){n(1501);var r=n(5703);t.exports=r("Array").filter},7671:function(t,e,n){n(833);var r=n(5703);t.exports=r("Array").find},991:function(t,e,n){n(7690);var r=n(5703);t.exports=r("Array").includes},8700:function(t,e,n){n(9076);var r=n(5703);t.exports=r("Array").indexOf},3866:function(t,e,n){n(8787);var r=n(5703);t.exports=r("Array").map},4900:function(t,e,n){n(186);var r=n(5703);t.exports=r("Array").slice},2948:function(t,e,n){n(4115);var r=n(5703);t.exports=r("Array").sort},3830:function(t,e,n){n(6274),n(7971);var r=n(2902);t.exports=r},1031:function(t,e,n){n(2595),t.exports=n(1899)},6043:function(t,e,n){var r=n(7046),o=n(5367),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||r(i,t)&&e===i.concat?o:e}},2480:function(t,e,n){var r=n(7046),o=n(2383),i=Array.prototype;t.exports=function(t){var e=t.filter;return t===i||r(i,t)&&e===i.filter?o:e}},7171:function(t,e,n){var r=n(7046),o=n(7671),i=Array.prototype;t.exports=function(t){var e=t.find;return t===i||r(i,t)&&e===i.find?o:e}},8557:function(t,e,n){var r=n(7046),o=n(991),i=n(1631),a=Array.prototype,s=String.prototype;t.exports=function(t){var e=t.includes;return t===a||r(a,t)&&e===a.includes?o:"string"==typeof t||t===s||r(s,t)&&e===s.includes?i:e}},4570:function(t,e,n){var r=n(7046),o=n(8700),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||r(i,t)&&e===i.indexOf?o:e}},8287:function(t,e,n){var r=n(7046),o=n(3866),i=Array.prototype;t.exports=function(t){var e=t.map;return t===i||r(i,t)&&e===i.map?o:e}},9601:function(t,e,n){var r=n(7046),o=n(4900),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||r(i,t)&&e===i.slice?o:e}},9355:function(t,e,n){var r=n(7046),o=n(2948),i=Array.prototype;t.exports=function(t){var e=t.sort;return t===i||r(i,t)&&e===i.sort?o:e}},2774:function(t,e,n){var r=n(7046),o=n(3348),i=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===i||r(i,t)&&e===i.trim?o:e}},4426:function(t,e,n){n(2619);var r=n(4058),o=n(9730);r.JSON||(r.JSON={stringify:JSON.stringify}),t.exports=function(t,e,n){return o(r.JSON.stringify,null,arguments)}},3288:function(t,e,n){n(9816);var r=n(4058).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},3966:function(t,e,n){n(7405);var r=n(4058);t.exports=r.Object.getPrototypeOf},2956:function(t,e,n){n(7627),n(6274),n(5967),n(8881),n(4560),n(7206),n(4349),n(7971);var r=n(4058);t.exports=r.Promise},1631:function(t,e,n){n(1035);var r=n(5703);t.exports=r("String").includes},3348:function(t,e,n){n(7398);var r=n(5703);t.exports=r("String").trim},7473:function(t,e,n){n(5906),n(5967),n(5824),n(8555),n(2615),n(1732),n(5903),n(1825),n(8394),n(5915),n(1766),n(2737),n(9911),n(4315),n(3131),n(4714),n(659),n(9120),n(5327),n(1502);var r=n(4058);t.exports=r.Symbol},4227:function(t,e,n){n(6274),n(5967),n(7971),n(1825);var r=n(1477);t.exports=r.f("iterator")},2209:function(t,e,n){t.exports=n(478)},888:function(t,e,n){t.exports=n(1403)},478:function(t,e,n){var r=n(6820);t.exports=r},1403:function(t,e,n){n(9668);var r=n(5023);t.exports=r},4883:function(t,e,n){var r=n(7475),o=n(9826),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},174:function(t,e,n){var r=n(4284),o=n(9826),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a constructor")}},1851:function(t,e,n){var r=n(7475),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},8479:function(t){t.exports=function(){}},5743:function(t,e,n){var r=n(7046),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw o("Incorrect invocation")}},6059:function(t,e,n){var r=n(941),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1354:function(t,e,n){"use strict";var r=n(6843),o=n(8834),i=n(9678),a=n(5196),s=n(6782),c=n(4284),u=n(623),f=n(5449),l=n(3476),p=n(2902),h=Array;t.exports=function(t){var e=i(t),n=c(this),d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v;y&&(v=r(v,d>2?arguments[2]:void 0));var g,m,b,w,x,S,k=p(e),O=0;if(!k||this===h&&s(k))for(g=u(e),m=n?new this(g):h(g);g>O;O++)S=y?v(e[O],O):e[O],f(m,O,S);else for(x=(w=l(e,k)).next,m=n?new this:[];!(b=o(x,w)).done;O++)S=y?a(w,v,[b.value,O],!0):b.value,f(m,O,S);return m.length=O,m}},1692:function(t,e,n){var r=n(4529),o=n(9413),i=n(623),a=function(t){return function(e,n,a){var s,c=r(e),u=i(c),f=o(a,u);if(t&&n!=n){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},3610:function(t,e,n){var r=n(6843),o=n(5329),i=n(7026),a=n(9678),s=n(623),c=n(4692),u=o([].push),f=function(t){var e=1==t,n=2==t,o=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(d,v,y,g){for(var m,b,w=a(d),x=i(w),S=r(v,y),k=s(x),O=0,E=g||c,A=e?E(d,k):n||p?E(d,0):void 0;k>O;O++)if((h||O in x)&&(b=S(m=x[O],O,w),t))if(e)A[O]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return O;case 2:u(A,m)}else switch(t){case 4:return!1;case 7:u(A,m)}return l?-1:o||f?f:A}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},568:function(t,e,n){var r=n(5981),o=n(9813),i=n(3385),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4194:function(t,e,n){"use strict";var r=n(5981);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},5790:function(t,e,n){var r=n(9413),o=n(623),i=n(5449),a=Array,s=Math.max;t.exports=function(t,e,n){for(var c=o(t),u=r(e,c),f=r(void 0===n?c:n,c),l=a(s(f-u,0)),p=0;u0;)t[r]=t[--r];r!==i++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var o=e.length,i=n.length,a=0,s=0;a9007199254740991)throw e("Maximum allowed index exceeded");return t}},3281:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4342:function(t,e,n){var r=n(2861).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},3321:function(t,e,n){var r=n(8501),o=n(6049);t.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},8501:function(t){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},7797:function(t,e,n){var r=n(2861);t.exports=/MSIE|Trident/.test(r)},4470:function(t,e,n){var r=n(2861),o=n(1899);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},2570:function(t,e,n){var r=n(2861);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:function(t,e,n){var r=n(2532),o=n(1899);t.exports="process"==r(o.process)},8045:function(t,e,n){var r=n(2861);t.exports=/web0s(?!.*chrome)/i.test(r)},2861:function(t,e,n){var r=n(626);t.exports=r("navigator","userAgent")||""},3385:function(t,e,n){var r,o,i=n(1899),a=n(2861),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,f=u&&u.v8;f&&(o=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},8938:function(t,e,n){var r=n(2861).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},5703:function(t,e,n){var r=n(4058);t.exports=function(t){return r[t+"Prototype"]}},6759:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8780:function(t,e,n){var r=n(5981),o=n(1887);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},6887:function(t,e,n){"use strict";var r=n(1899),o=n(9730),i=n(5329),a=n(7475),s=n(9677).f,c=n(7252),u=n(4058),f=n(6843),l=n(2029),p=n(953),h=function(t){var e=function(n,r,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,o,d,v,y,g,m,b,w=t.target,x=t.global,S=t.stat,k=t.proto,O=x?r:S?r[w]:(r[w]||{}).prototype,E=x?u:u[w]||l(u,w,{})[w],A=E.prototype;for(d in e)n=!c(x?d:w+(S?".":"#")+d,t.forced)&&O&&p(O,d),y=E[d],n&&(g=t.dontCallGetSet?(b=s(O,d))&&b.value:O[d]),v=n&&g?g:e[d],n&&typeof y==typeof v||(m=t.bind&&n?f(v,r):t.wrap&&n?h(v):k&&a(v)?i(v):v,(t.sham||v&&v.sham||y&&y.sham)&&l(m,"sham",!0),l(E,d,m),k&&(p(u,o=w+"Prototype")||l(u,o,{}),l(u[o],d,v),t.real&&A&&!A[d]&&l(A,d,v)))}},5981:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9730:function(t,e,n){var r=n(8285),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6843:function(t,e,n){var r=n(5329),o=n(4883),i=n(8285),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},8285:function(t,e,n){var r=n(5981);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8834:function(t,e,n){var r=n(8285),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},9417:function(t,e,n){var r=n(5746),o=n(953),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},5329:function(t,e,n){var r=n(8285),o=Function.prototype,i=o.bind,a=o.call,s=r&&i.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},626:function(t,e,n){var r=n(4058),o=n(1899),i=n(7475),a=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t])||a(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},2902:function(t,e,n){var r=n(9697),o=n(4229),i=n(2077),a=n(9813)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[r(t)]}},3476:function(t,e,n){var r=n(8834),o=n(4883),i=n(6059),a=n(9826),s=n(2902),c=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(o(n))return i(r(n,t));throw c(a(t)+" is not iterable")}},4229:function(t,e,n){var r=n(4883);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},1899:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},953:function(t,e,n){var r=n(5329),o=n(9678),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},7748:function(t){t.exports={}},4845:function(t,e,n){var r=n(1899);t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},5463:function(t,e,n){var r=n(626);t.exports=r("document","documentElement")},2840:function(t,e,n){var r=n(5746),o=n(5981),i=n(1333);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7026:function(t,e,n){var r=n(5329),o=n(5981),i=n(2532),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},1302:function(t,e,n){var r=n(5329),o=n(7475),i=n(3030),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3794:function(t,e,n){var r=n(941),o=n(2029);t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},5402:function(t,e,n){var r,o,i,a=n(8019),s=n(1899),c=n(5329),u=n(941),f=n(2029),l=n(953),p=n(3030),h=n(4262),d=n(7748),v="Object already initialized",y=s.TypeError,g=s.WeakMap;if(a||p.state){var m=p.state||(p.state=new g),b=c(m.get),w=c(m.has),x=c(m.set);r=function(t,e){if(w(m,t))throw new y(v);return e.facade=t,x(m,t,e),e},o=function(t){return b(m,t)||{}},i=function(t){return w(m,t)}}else{var S=h("state");d[S]=!0,r=function(t,e){if(l(t,S))throw new y(v);return e.facade=t,f(t,S,e),e},o=function(t){return l(t,S)?t[S]:{}},i=function(t){return l(t,S)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw y("Incompatible receiver, "+t+" required");return n}}}},6782:function(t,e,n){var r=n(9813),o=n(2077),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},1052:function(t,e,n){var r=n(2532);t.exports=Array.isArray||function(t){return"Array"==r(t)}},7475:function(t){t.exports=function(t){return"function"==typeof t}},4284:function(t,e,n){var r=n(5329),o=n(5981),i=n(7475),a=n(9697),s=n(626),c=n(1302),u=function(){},f=[],l=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=r(p.exec),d=!p.exec(u),v=function(t){if(!i(t))return!1;try{return l(u,f,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(p,c(t))}catch(t){return!0}};y.sham=!0,t.exports=!l||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?y:v},7252:function(t,e,n){var r=n(5981),o=n(7475),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==f||n!=u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},941:function(t,e,n){var r=n(7475);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},2529:function(t){t.exports=!0},685:function(t,e,n){var r=n(941),o=n(2532),i=n(9813)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},6664:function(t,e,n){var r=n(626),o=n(7475),i=n(7046),a=n(2302),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},3091:function(t,e,n){var r=n(6843),o=n(8834),i=n(6059),a=n(9826),s=n(6782),c=n(623),u=n(7046),f=n(3476),l=n(2902),p=n(7609),h=TypeError,d=function(t,e){this.stopped=t,this.result=e},v=d.prototype;t.exports=function(t,e,n){var y,g,m,b,w,x,S,k=n&&n.that,O=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),T=r(e,k),L=function(t){return y&&p(y,"normal",t),new d(!0,t)},j=function(t){return O?(i(t),P?T(t[0],t[1],L):T(t[0],t[1])):P?T(t,L):T(t)};if(E)y=t.iterator;else if(A)y=t;else{if(!(g=l(t)))throw h(a(t)+" is not iterable");if(s(g)){for(m=0,b=c(t);b>m;m++)if((w=j(t[m]))&&u(v,w))return w;return new d(!1)}y=f(t,g)}for(x=E?t.next:y.next;!(S=o(x,y)).done;){try{w=j(S.value)}catch(t){p(y,"throw",t)}if("object"==typeof w&&w&&u(v,w))return w}return new d(!1)}},7609:function(t,e,n){var r=n(8834),o=n(6059),i=n(4229);t.exports=function(t,e,n){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return o(a),n}},5143:function(t,e,n){"use strict";var r,o,i,a=n(5981),s=n(7475),c=n(9290),u=n(249),f=n(5929),l=n(9813),p=n(2529),h=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):d=!0),null==r||a((function(){var t={};return r[h].call(t)!==t}))?r={}:p&&(r=c(r)),s(r[h])||f(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},2077:function(t){t.exports={}},623:function(t,e,n){var r=n(3057);t.exports=function(t){return r(t.length)}},5331:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},6132:function(t,e,n){var r,o,i,a,s,c,u,f,l=n(1899),p=n(6843),h=n(9677).f,d=n(2941).set,v=n(2570),y=n(4470),g=n(8045),m=n(6049),b=l.MutationObserver||l.WebKitMutationObserver,w=l.document,x=l.process,S=l.Promise,k=h(l,"queueMicrotask"),O=k&&k.value;O||(r=function(){var t,e;for(m&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},v||m||g||!b||!w?!y&&S&&S.resolve?((u=S.resolve(void 0)).constructor=S,f=p(u.then,u),a=function(){f(r)}):m?a=function(){x.nextTick(r)}:(d=p(d,l),a=function(){d(r)}):(s=!0,c=w.createTextNode(""),new b(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=O||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},5366:function(t,e,n){var r=n(2497);t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},2497:function(t,e,n){var r=n(3385),o=n(5981);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8468:function(t,e,n){var r=n(5981),o=n(9813),i=n(2529),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8019:function(t,e,n){var r=n(1899),o=n(7475),i=n(1302),a=r.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},9520:function(t,e,n){"use strict";var r=n(4883),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},4649:function(t,e,n){var r=n(5803);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},344:function(t,e,n){var r=n(685),o=TypeError;t.exports=function(t){if(r(t))throw o("The method doesn't accept regular expressions");return t}},4420:function(t,e,n){"use strict";var r=n(5746),o=n(5329),i=n(8834),a=n(5981),s=n(4771),c=n(7857),u=n(6760),f=n(9678),l=n(7026),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(r&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[n]||s(p({},e)).join("")!=o}))?function(t,e){for(var n=f(t),o=arguments.length,a=1,p=c.f,h=u.f;o>a;)for(var v,y=l(arguments[a++]),g=p?d(s(y),p(y)):s(y),m=g.length,b=0;m>b;)v=g[b++],r&&!i(h,y,v)||(n[v]=y[v]);return n}:p},9290:function(t,e,n){var r,o=n(6059),i=n(9938),a=n(6759),s=n(7748),c=n(5463),u=n(1333),f=n(4262)("IE_PROTO"),l=function(){},p=function(t){return"