@ketch-sdk/ketch-data-layer 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +41 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export default class Watcher extends EventEmitter {
|
|
|
28
28
|
/**
|
|
29
29
|
* Starts watching for identities.
|
|
30
30
|
*/
|
|
31
|
-
start(): void
|
|
31
|
+
start(): Promise<void>;
|
|
32
32
|
/**
|
|
33
33
|
* Stops watching for identities.
|
|
34
34
|
*/
|
|
@@ -37,4 +37,44 @@ export default class Watcher extends EventEmitter {
|
|
|
37
37
|
* Fetches and notifies about identities.
|
|
38
38
|
*/
|
|
39
39
|
notify(): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Alias for `emitter.on(eventName, listener)`.
|
|
42
|
+
*/
|
|
43
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
44
|
+
/**
|
|
45
|
+
* Adds the `listener` function to the end of the listeners array for the
|
|
46
|
+
* event named `eventName`. No checks are made to see if the `listener` has
|
|
47
|
+
* already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple
|
|
48
|
+
* times.
|
|
49
|
+
*
|
|
50
|
+
* @param eventName The name of the event.
|
|
51
|
+
* @param listener The callback function
|
|
52
|
+
*/
|
|
53
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
54
|
+
/**
|
|
55
|
+
* Adds a **one-time**`listener` function for the event named `eventName`. The
|
|
56
|
+
* next time `eventName` is triggered, this listener is removed and then invoked.
|
|
57
|
+
*
|
|
58
|
+
* @param eventName The name of the event.
|
|
59
|
+
* @param listener The callback function
|
|
60
|
+
*/
|
|
61
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
62
|
+
/**
|
|
63
|
+
* Removes the specified `listener` from the listener array for the event named`eventName`.
|
|
64
|
+
*/
|
|
65
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
66
|
+
/**
|
|
67
|
+
* Alias for `emitter.removeListener()`.
|
|
68
|
+
*/
|
|
69
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
70
|
+
/**
|
|
71
|
+
* Removes all listeners, or those of the specified `eventName`.
|
|
72
|
+
*
|
|
73
|
+
* It is bad practice to remove listeners added elsewhere in the code,
|
|
74
|
+
* particularly when the `EventEmitter` instance was created by some other
|
|
75
|
+
* component or module (e.g. sockets or file streams).
|
|
76
|
+
*
|
|
77
|
+
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
78
|
+
*/
|
|
79
|
+
removeAllListeners(event?: string | symbol): this;
|
|
40
80
|
}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var t={8874:t=>{(()=>{"use strict";var e={};(()=>{e.d=(t,r)=>{for(var n in r){if(e.o(r,n)&&!e.o(t,n)){Object.defineProperty(t,n,{enumerable:true,get:r[n]})}}}})();(()=>{e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})();(()=>{e.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();if(typeof e!=="undefined")e.ab=__dirname+"/";var r={};e.r(r);e.d(r,{ALL_TABS:()=>n,isTab:()=>isTab,ExperienceClosedReason:()=>o,ExperienceDefault:()=>a,ExperienceButtonDestination:()=>i,ExperiencePrimaryButtonAction:()=>u,MigrationOption:()=>c,CookieDuration:()=>l,CookieProvenance:()=>s,CookieCategory:()=>p,IdentityType:()=>y,IdentityFormat:()=>v,SwitchTextRenderLogic:()=>g,BannerPosition:()=>b,ModalPosition:()=>d});const n=["overviewTab","rightsTab","consentsTab"];function isTab(t){return n.includes(t)}var o;(function(t){t["SET_CONSENT"]="setConsent";t["INVOKE_RIGHT"]="invokeRight";t["CLOSE"]="close"})(o||(o={}));var a;(function(t){t[t["BANNER"]=1]="BANNER";t[t["MODAL"]=2]="MODAL"})(a||(a={}));var i;(function(t){t[t["GOTO_MODAL"]=1]="GOTO_MODAL";t[t["GOTO_PREFERENCE"]=2]="GOTO_PREFERENCE";t[t["REJECT_ALL"]=3]="REJECT_ALL"})(i||(i={}));var u;(function(t){t[t["SAVE_CURRENT_STATE"]=1]="SAVE_CURRENT_STATE";t[t["ACCEPT_ALL"]=2]="ACCEPT_ALL"})(u||(u={}));var c;(function(t){t[t["MIGRATE_DEFAULT"]=0]="MIGRATE_DEFAULT";t[t["MIGRATE_NEVER"]=1]="MIGRATE_NEVER";t[t["MIGRATE_FROM_ALLOW"]=2]="MIGRATE_FROM_ALLOW";t[t["MIGRATE_FROM_DENY"]=3]="MIGRATE_FROM_DENY";t[t["MIGRATE_ALWAYS"]=4]="MIGRATE_ALWAYS"})(c||(c={}));var l;(function(t){t[t["SESSION"]=1]="SESSION";t[t["PERSISTENT"]=2]="PERSISTENT"})(l||(l={}));var s;(function(t){t[t["FIRST_PARTY"]=1]="FIRST_PARTY";t[t["THIRD_PARTY"]=2]="THIRD_PARTY"})(s||(s={}));var p;(function(t){t[t["STRICTLY_NECESSARY"]=1]="STRICTLY_NECESSARY";t[t["FUNCTIONAL"]=2]="FUNCTIONAL";t[t["PERFORMANCE"]=3]="PERFORMANCE";t[t["MARKETING"]=4]="MARKETING"})(p||(p={}));var y;(function(t){t["IDENTITY_TYPE_UNDEFINED"]="";t["IDENTITY_TYPE_DATA_LAYER"]="dataLayer";t["IDENTITY_TYPE_WINDOW"]="window";t["IDENTITY_TYPE_COOKIE"]="cookie";t["IDENTITY_TYPE_MANAGED"]="managedCookie";t["IDENTITY_TYPE_LOCAL_STORAGE"]="localStorage";t["IDENTITY_TYPE_SESSION_STORAGE"]="sessionStorage";t["IDENTITY_TYPE_QUERY_STRING"]="queryString"})(y||(y={}));var v;(function(t){t["IDENTITY_FORMAT_UNDEFINED"]="";t["IDENTITY_FORMAT_STRING"]="string";t["IDENTITY_FORMAT_JSON"]="json";t["IDENTITY_FORMAT_JWT"]="jwt";t["IDENTITY_FORMAT_QUERY"]="query";t["IDENTITY_FORMAT_SEMICOLON"]="semicolon"})(v||(v={}));var g;(function(t){t[t["SWITCH_TEXT_RENDER_ALL"]=1]="SWITCH_TEXT_RENDER_ALL";t[t["SWITCH_TEXT_RENDER_LEGAL_BASIS"]=2]="SWITCH_TEXT_RENDER_LEGAL_BASIS";t[t["SWITCH_TEXT_RENDER_CHANGE"]=3]="SWITCH_TEXT_RENDER_CHANGE";t[t["SWITCH_TEXT_RENDER_NEVER"]=4]="SWITCH_TEXT_RENDER_NEVER"})(g||(g={}));var b;(function(t){t[t["BOTTOM"]=1]="BOTTOM";t[t["TOP"]=2]="TOP";t[t["BOTTOM_LEFT"]=3]="BOTTOM_LEFT";t[t["BOTTOM_RIGHT"]=4]="BOTTOM_RIGHT"})(b||(b={}));var d;(function(t){t[t["CENTER"]=1]="CENTER";t[t["LEFT_FULL_HEIGHT"]=2]="LEFT_FULL_HEIGHT";t[t["RIGHT_FULL_HEIGHT"]=3]="RIGHT_FULL_HEIGHT"})(d||(d={}));t.exports=r})()},8803:(t,e,r)=>{"use strict";var n=r(4538);var o=r(2977);var a=o(n("String.prototype.indexOf"));t.exports=function callBoundIntrinsic(t,e){var r=n(t,!!e);if(typeof r==="function"&&a(t,".prototype.")>-1){return o(r)}return r}},2977:(t,e,r)=>{"use strict";var n=r(8334);var o=r(4538);var a=o("%Function.prototype.apply%");var i=o("%Function.prototype.call%");var u=o("%Reflect.apply%",true)||n.call(i,a);var c=o("%Object.getOwnPropertyDescriptor%",true);var l=o("%Object.defineProperty%",true);var s=o("%Math.max%");if(l){try{l({},"a",{value:1})}catch(t){l=null}}t.exports=function callBind(t){var e=u(n,i,arguments);if(c&&l){var r=c(e,"length");if(r.configurable){l(e,"length",{value:1+s(0,t.length-(arguments.length-1))})}}return e};var p=function applyBind(){return u(n,a,arguments)};if(l){l(t.exports,"apply",{value:p})}else{t.exports.apply=p}},3414:(t,e,r)=>{"use strict";var n=r(137);var o=r(2119);var a=r(8653);var i=r(6403);var u=r(8608);var c=r(893);var l=r(9711);var s=r(6596);var p=r(4538);var y=r(8803);var v=r(5735);var g=r(7204);var b=r(4334);var d=r(1257);var h=r(1690);var S=y("ArrayBuffer.prototype.byteLength",true);function isArrayBuffer(t){if(!t||typeof t!=="object"||!S){return false}try{S(t);return true}catch(t){return false}}var m=y("Date.prototype.getTime");var E=Object.getPrototypeOf;var _=y("Object.prototype.toString");var O=p("%Set%",true);var T=y("Map.prototype.has",true);var j=y("Map.prototype.get",true);var A=y("Map.prototype.size",true);var I=y("Set.prototype.add",true);var w=y("Set.prototype.delete",true);var P=y("Set.prototype.has",true);var x=y("Set.prototype.size",true);function setHasEqualElement(t,e,r,n){var o=g(t);var a;while((a=o.next())&&!a.done){if(internalDeepEqual(e,a.value,r,n)){w(t,a.value);return true}}return false}function findLooseMatchingPrimitives(t){if(typeof t==="undefined"){return null}if(typeof t==="object"){return void 0}if(typeof t==="symbol"){return false}if(typeof t==="string"||typeof t==="number"){return+t===+t}return true}function mapMightHaveLoosePrim(t,e,r,n,o,a){var i=findLooseMatchingPrimitives(r);if(i!=null){return i}var u=j(e,i);var c=h({},o,{strict:false});if(typeof u==="undefined"&&!T(e,i)||!internalDeepEqual(n,u,c,a)){return false}return!T(t,i)&&internalDeepEqual(n,u,c,a)}function setMightHaveLoosePrim(t,e,r){var n=findLooseMatchingPrimitives(r);if(n!=null){return n}return P(e,n)&&!P(t,n)}function mapHasEqualEntry(t,e,r,n,o,a){var i=g(t);var u;var c;while((u=i.next())&&!u.done){c=u.value;if(internalDeepEqual(r,c,o,a)&&internalDeepEqual(n,j(e,c),o,a)){w(t,c);return true}}return false}function internalDeepEqual(t,e,r,n){var o=r||{};if(o.strict?a(t,e):t===e){return true}var i=s(t);var u=s(e);if(i!==u){return false}if(!t||!e||typeof t!=="object"&&typeof e!=="object"){return o.strict?a(t,e):t==e}var c=n.has(t);var l=n.has(e);var p;if(c&&l){if(n.get(t)===n.get(e)){return true}}else{p={}}if(!c){n.set(t,p)}if(!l){n.set(e,p)}return objEquiv(t,e,o,n)}function isBuffer(t){if(!t||typeof t!=="object"||typeof t.length!=="number"){return false}if(typeof t.copy!=="function"||typeof t.slice!=="function"){return false}if(t.length>0&&typeof t[0]!=="number"){return false}return!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function setEquiv(t,e,r,n){if(x(t)!==x(e)){return false}var o=g(t);var a=g(e);var i;var u;var c;while((i=o.next())&&!i.done){if(i.value&&typeof i.value==="object"){if(!c){c=new O}I(c,i.value)}else if(!P(e,i.value)){if(r.strict){return false}if(!setMightHaveLoosePrim(t,e,i.value)){return false}if(!c){c=new O}I(c,i.value)}}if(c){while((u=a.next())&&!u.done){if(u.value&&typeof u.value==="object"){if(!setHasEqualElement(c,u.value,r.strict,n)){return false}}else if(!r.strict&&!P(t,u.value)&&!setHasEqualElement(c,u.value,r.strict,n)){return false}}return x(c)===0}return true}function mapEquiv(t,e,r,n){if(A(t)!==A(e)){return false}var o=g(t);var a=g(e);var i;var u;var c;var l;var s;var p;while((i=o.next())&&!i.done){l=i.value[0];s=i.value[1];if(l&&typeof l==="object"){if(!c){c=new O}I(c,l)}else{p=j(e,l);if(typeof p==="undefined"&&!T(e,l)||!internalDeepEqual(s,p,r,n)){if(r.strict){return false}if(!mapMightHaveLoosePrim(t,e,l,s,r,n)){return false}if(!c){c=new O}I(c,l)}}}if(c){while((u=a.next())&&!u.done){l=u.value[0];p=u.value[1];if(l&&typeof l==="object"){if(!mapHasEqualEntry(c,t,l,p,r,n)){return false}}else if(!r.strict&&(!t.has(l)||!internalDeepEqual(j(t,l),p,r,n))&&!mapHasEqualEntry(c,t,l,p,h({},r,{strict:false}),n)){return false}}return x(c)===0}return true}function objEquiv(t,e,r,a){var s,p;if(typeof t!==typeof e){return false}if(t==null||e==null){return false}if(_(t)!==_(e)){return false}if(o(t)!==o(e)){return false}var y=c(t);var g=c(e);if(y!==g){return false}var b=t instanceof Error;var h=e instanceof Error;if(b!==h){return false}if(b||h){if(t.name!==e.name||t.message!==e.message){return false}}var O=i(t);var T=i(e);if(O!==T){return false}if((O||T)&&(t.source!==e.source||u(t)!==u(e))){return false}var j=l(t);var A=l(e);if(j!==A){return false}if(j||A){if(m(t)!==m(e)){return false}}if(r.strict&&E&&E(t)!==E(e)){return false}if(d(t)!==d(e)){return false}var I=isBuffer(t);var w=isBuffer(e);if(I!==w){return false}if(I||w){if(t.length!==e.length){return false}for(s=0;s<t.length;s++){if(t[s]!==e[s]){return false}}return true}var P=isArrayBuffer(t);var x=isArrayBuffer(e);if(P!==x){return false}if(P||x){if(S(t)!==S(e)){return false}return typeof Uint8Array==="function"&&internalDeepEqual(new Uint8Array(t),new Uint8Array(e),r,a)}if(typeof t!==typeof e){return false}var R=n(t);var k=n(e);if(R.length!==k.length){return false}R.sort();k.sort();for(s=R.length-1;s>=0;s--){if(R[s]!=k[s]){return false}}for(s=R.length-1;s>=0;s--){p=R[s];if(!internalDeepEqual(t[p],e[p],r,a)){return false}}var N=v(t);var M=v(e);if(N!==M){return false}if(N==="Set"||M==="Set"){return setEquiv(t,e,r,a)}if(N==="Map"){return mapEquiv(t,e,r,a)}return true}t.exports=function deepEqual(t,e,r){return internalDeepEqual(t,e,r,b())}},9234:(t,e,r)=>{"use strict";var n=r(137);var o=typeof Symbol==="function"&&typeof Symbol("foo")==="symbol";var a=Object.prototype.toString;var i=Array.prototype.concat;var u=Object.defineProperty;var isFunction=function(t){return typeof t==="function"&&a.call(t)==="[object Function]"};var c=r(176)();var l=u&&c;var defineProperty=function(t,e,r,n){if(e in t&&(!isFunction(n)||!n())){return}if(l){u(t,e,{configurable:true,enumerable:false,value:r,writable:true})}else{t[e]=r}};var defineProperties=function(t,e){var r=arguments.length>2?arguments[2]:{};var a=n(e);if(o){a=i.call(a,Object.getOwnPropertySymbols(e))}for(var u=0;u<a.length;u+=1){defineProperty(t,a[u],e[a[u]],r[a[u]])}};defineProperties.supportsDescriptors=!!l;t.exports=defineProperties},3710:(t,e,r)=>{"use strict";var n=r(4615);var o=Object.prototype.toString;var a=Object.prototype.hasOwnProperty;var i=function forEachArray(t,e,r){for(var n=0,o=t.length;n<o;n++){if(a.call(t,n)){if(r==null){e(t[n],n,t)}else{e.call(r,t[n],n,t)}}}};var u=function forEachString(t,e,r){for(var n=0,o=t.length;n<o;n++){if(r==null){e(t.charAt(n),n,t)}else{e.call(r,t.charAt(n),n,t)}}};var c=function forEachObject(t,e,r){for(var n in t){if(a.call(t,n)){if(r==null){e(t[n],n,t)}else{e.call(r,t[n],n,t)}}}};var l=function forEach(t,e,r){if(!n(e)){throw new TypeError("iterator must be a function")}var a;if(arguments.length>=3){a=r}if(o.call(t)==="[object Array]"){i(t,e,a)}else if(typeof t==="string"){u(t,e,a)}else{c(t,e,a)}};t.exports=l},9320:t=>{"use strict";var e="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var n=Object.prototype.toString;var o="[object Function]";t.exports=function bind(t){var a=this;if(typeof a!=="function"||n.call(a)!==o){throw new TypeError(e+a)}var i=r.call(arguments,1);var u;var binder=function(){if(this instanceof u){var e=a.apply(this,i.concat(r.call(arguments)));if(Object(e)===e){return e}return this}else{return a.apply(t,i.concat(r.call(arguments)))}};var c=Math.max(0,a.length-i.length);var l=[];for(var s=0;s<c;s++){l.push("$"+s)}u=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(binder);if(a.prototype){var p=function Empty(){};p.prototype=a.prototype;u.prototype=new p;p.prototype=null}return u}},8334:(t,e,r)=>{"use strict";var n=r(9320);t.exports=Function.prototype.bind||n},9019:t=>{"use strict";var e=function functionsHaveNames(){return typeof function f(){}.name==="string"};var r=Object.getOwnPropertyDescriptor;if(r){try{r([],"length")}catch(t){r=null}}e.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){if(!e()||!r){return false}var t=r((function(){}),"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;e.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return e()&&typeof n==="function"&&function f(){}.bind().name!==""};t.exports=e},4538:(t,e,r)=>{"use strict";var n;var o=SyntaxError;var a=Function;var i=TypeError;var getEvalledConstructor=function(t){try{return a('"use strict"; return ('+t+").constructor;")()}catch(t){}};var u=Object.getOwnPropertyDescriptor;if(u){try{u({},"")}catch(t){u=null}}var throwTypeError=function(){throw new i};var c=u?function(){try{arguments.callee;return throwTypeError}catch(t){try{return u(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError;var l=r(587)();var s=Object.getPrototypeOf||function(t){return t.__proto__};var p={};var y=typeof Uint8Array==="undefined"?n:s(Uint8Array);var v={"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":l?s([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?s(s([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!l?n:s((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!l?n:s((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?s(""[Symbol.iterator]()):n,"%Symbol%":l?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet};var g=function doEval(t){var e;if(t==="%AsyncFunction%"){e=getEvalledConstructor("async function () {}")}else if(t==="%GeneratorFunction%"){e=getEvalledConstructor("function* () {}")}else if(t==="%AsyncGeneratorFunction%"){e=getEvalledConstructor("async function* () {}")}else if(t==="%AsyncGenerator%"){var r=doEval("%AsyncGeneratorFunction%");if(r){e=r.prototype}}else if(t==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n){e=s(n.prototype)}}v[t]=e;return e};var b={"%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"]};var d=r(8334);var h=r(6339);var S=d.call(Function.call,Array.prototype.concat);var m=d.call(Function.apply,Array.prototype.splice);var E=d.call(Function.call,String.prototype.replace);var _=d.call(Function.call,String.prototype.slice);var O=d.call(Function.call,RegExp.prototype.exec);var T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var j=/\\(\\)?/g;var A=function stringToPath(t){var e=_(t,0,1);var r=_(t,-1);if(e==="%"&&r!=="%"){throw new o("invalid intrinsic syntax, expected closing `%`")}else if(r==="%"&&e!=="%"){throw new o("invalid intrinsic syntax, expected opening `%`")}var n=[];E(t,T,(function(t,e,r,o){n[n.length]=r?E(o,j,"$1"):e||t}));return n};var I=function getBaseIntrinsic(t,e){var r=t;var n;if(h(b,r)){n=b[r];r="%"+n[0]+"%"}if(h(v,r)){var a=v[r];if(a===p){a=g(r)}if(typeof a==="undefined"&&!e){throw new i("intrinsic "+t+" exists, but is not available. Please file an issue!")}return{alias:n,name:r,value:a}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function GetIntrinsic(t,e){if(typeof t!=="string"||t.length===0){throw new i("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof e!=="boolean"){throw new i('"allowMissing" argument must be a boolean')}if(O(/^%?[^%]*%?$/,t)===null){throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var r=A(t);var a=r.length>0?r[0]:"";var c=I("%"+a+"%",e);var l=c.name;var s=c.value;var p=false;var y=c.alias;if(y){a=y[0];m(r,S([0,1],y))}for(var g=1,b=true;g<r.length;g+=1){var d=r[g];var E=_(d,0,1);var T=_(d,-1);if((E==='"'||E==="'"||E==="`"||(T==='"'||T==="'"||T==="`"))&&E!==T){throw new o("property names with quotes must have matching quotes")}if(d==="constructor"||!b){p=true}a+="."+d;l="%"+a+"%";if(h(v,l)){s=v[l]}else if(s!=null){if(!(d in s)){if(!e){throw new i("base intrinsic for "+t+" exists, but the property is not available.")}return void n}if(u&&g+1>=r.length){var j=u(s,d);b=!!j;if(b&&"get"in j&&!("originalValue"in j.get)){s=j.get}else{s=s[d]}}else{b=h(s,d);s=s[d]}if(b&&!p){v[l]=s}}}return s}},8501:(t,e,r)=>{"use strict";var n=r(4538);var o=n("%Object.getOwnPropertyDescriptor%",true);if(o){try{o([],"length")}catch(t){o=null}}t.exports=o},2115:t=>{"use strict";var e=typeof BigInt!=="undefined"&&BigInt;t.exports=function hasNativeBigInts(){return typeof e==="function"&&typeof BigInt==="function"&&typeof e(42)==="bigint"&&typeof BigInt(42)==="bigint"}},176:(t,e,r)=>{"use strict";var n=r(4538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(t){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(t){return true}};t.exports=a},587:(t,e,r)=>{"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=r(7747);t.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},7747:t=>{"use strict";t.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var t={};var e=Symbol("test");var r=Object(e);if(typeof e==="string"){return false}if(Object.prototype.toString.call(e)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(r)!=="[object Symbol]"){return false}var n=42;t[e]=n;for(e in t){return false}if(typeof Object.keys==="function"&&Object.keys(t).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(t).length!==0){return false}var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==e){return false}if(!Object.prototype.propertyIsEnumerable.call(t,e)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(t,e);if(a.value!==n||a.enumerable!==true){return false}}return true}},9038:(t,e,r)=>{"use strict";var n=r(7747);t.exports=function hasToStringTagShams(){return n()&&!!Symbol.toStringTag}},6339:(t,e,r)=>{"use strict";var n=r(8334);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},2119:(t,e,r)=>{"use strict";var n=r(9038)();var o=r(8803);var a=o("Object.prototype.toString");var i=function isArguments(t){if(n&&t&&typeof t==="object"&&Symbol.toStringTag in t){return false}return a(t)==="[object Arguments]"};var u=function isArguments(t){if(i(t)){return true}return t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&a(t)!=="[object Array]"&&a(t.callee)==="[object Function]"};var c=function(){return i(arguments)}();i.isLegacyArguments=u;t.exports=c?i:u},6544:(t,e,r)=>{"use strict";var n=r(2115)();if(n){var o=BigInt.prototype.valueOf;var a=function tryBigIntObject(t){try{o.call(t);return true}catch(t){}return false};t.exports=function isBigInt(t){if(t===null||typeof t==="undefined"||typeof t==="boolean"||typeof t==="string"||typeof t==="number"||typeof t==="symbol"||typeof t==="function"){return false}if(typeof t==="bigint"){return true}return a(t)}}else{t.exports=function isBigInt(t){return false&&0}}},7306:(t,e,r)=>{"use strict";var n=r(8803);var o=n("Boolean.prototype.toString");var a=n("Object.prototype.toString");var i=function booleanBrandCheck(t){try{o(t);return true}catch(t){return false}};var u="[object Boolean]";var c=r(9038)();t.exports=function isBoolean(t){if(typeof t==="boolean"){return true}if(t===null||typeof t!=="object"){return false}return c&&Symbol.toStringTag in t?i(t):a(t)===u}},4615:t=>{"use strict";var e=Function.prototype.toString;var r=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply;var n;var o;if(typeof r==="function"&&typeof Object.defineProperty==="function"){try{n=Object.defineProperty({},"length",{get:function(){throw o}});o={};r((function(){throw 42}),null,n)}catch(t){if(t!==o){r=null}}}else{r=null}var a=/^\s*class\b/;var i=function isES6ClassFunction(t){try{var r=e.call(t);return a.test(r)}catch(t){return false}};var u=function tryFunctionToStr(t){try{if(i(t)){return false}e.call(t);return true}catch(t){return false}};var c=Object.prototype.toString;var l="[object Object]";var s="[object Function]";var p="[object GeneratorFunction]";var y="[object HTMLAllCollection]";var v="[object HTML document.all class]";var g="[object HTMLCollection]";var b=typeof Symbol==="function"&&!!Symbol.toStringTag;var d=!(0 in[,]);var h=function isDocumentDotAll(){return false};if(typeof document==="object"){var S=document.all;if(c.call(S)===c.call(document.all)){h=function isDocumentDotAll(t){if((d||!t)&&(typeof t==="undefined"||typeof t==="object")){try{var e=c.call(t);return(e===y||e===v||e===g||e===l)&&t("")==null}catch(t){}}return false}}}t.exports=r?function isCallable(t){if(h(t)){return true}if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}try{r(t,null,n)}catch(t){if(t!==o){return false}}return!i(t)&&u(t)}:function isCallable(t){if(h(t)){return true}if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}if(b){return u(t)}if(i(t)){return false}var e=c.call(t);if(e!==s&&e!==p&&!/^\[object HTML/.test(e)){return false}return u(t)}},9711:(t,e,r)=>{"use strict";var n=Date.prototype.getDay;var o=function tryDateGetDayCall(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object Date]";var u=r(9038)();t.exports=function isDateObject(t){if(typeof t!=="object"||t===null){return false}return u?o(t):a.call(t)===i}},8445:t=>{"use strict";var e=typeof Map==="function"&&Map.prototype?Map:null;var r=typeof Set==="function"&&Set.prototype?Set:null;var n;if(!e){n=function isMap(t){return false}}var o=e?Map.prototype.has:null;var a=r?Set.prototype.has:null;if(!n&&!o){n=function isMap(t){return false}}t.exports=n||function isMap(t){if(!t||typeof t!=="object"){return false}try{o.call(t);if(a){try{a.call(t)}catch(t){return true}}return t instanceof e}catch(t){}return false}},8550:(t,e,r)=>{"use strict";var n=Number.prototype.toString;var o=function tryNumberObject(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object Number]";var u=r(9038)();t.exports=function isNumberObject(t){if(typeof t==="number"){return true}if(typeof t!=="object"){return false}return u?o(t):a.call(t)===i}},6403:(t,e,r)=>{"use strict";var n=r(8803);var o=r(9038)();var a;var i;var u;var c;if(o){a=n("Object.prototype.hasOwnProperty");i=n("RegExp.prototype.exec");u={};var throwRegexMarker=function(){throw u};c={toString:throwRegexMarker,valueOf:throwRegexMarker};if(typeof Symbol.toPrimitive==="symbol"){c[Symbol.toPrimitive]=throwRegexMarker}}var l=n("Object.prototype.toString");var s=Object.getOwnPropertyDescriptor;var p="[object RegExp]";t.exports=o?function isRegex(t){if(!t||typeof t!=="object"){return false}var e=s(t,"lastIndex");var r=e&&a(e,"value");if(!r){return false}try{i(t,c)}catch(t){return t===u}}:function isRegex(t){if(!t||typeof t!=="object"&&typeof t!=="function"){return false}return l(t)===p}},2210:t=>{"use strict";var e=typeof Map==="function"&&Map.prototype?Map:null;var r=typeof Set==="function"&&Set.prototype?Set:null;var n;if(!r){n=function isSet(t){return false}}var o=e?Map.prototype.has:null;var a=r?Set.prototype.has:null;if(!n&&!a){n=function isSet(t){return false}}t.exports=n||function isSet(t){if(!t||typeof t!=="object"){return false}try{a.call(t);if(o){try{o.call(t)}catch(t){return true}}return t instanceof r}catch(t){}return false}},639:(t,e,r)=>{"use strict";var n=String.prototype.valueOf;var o=function tryStringObject(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object String]";var u=r(9038)();t.exports=function isString(t){if(typeof t==="string"){return true}if(typeof t!=="object"){return false}return u?o(t):a.call(t)===i}},6510:(t,e,r)=>{"use strict";var n=Object.prototype.toString;var o=r(587)();if(o){var a=Symbol.prototype.toString;var i=/^Symbol\(.*\)$/;var u=function isRealSymbolObject(t){if(typeof t.valueOf()!=="symbol"){return false}return i.test(a.call(t))};t.exports=function isSymbol(t){if(typeof t==="symbol"){return true}if(n.call(t)!=="[object Symbol]"){return false}try{return u(t)}catch(t){return false}}}else{t.exports=function isSymbol(t){return false&&0}}},4486:(t,e,r)=>{"use strict";var n=r(3710);var o=r(1527);var a=r(8803);var i=a("Object.prototype.toString");var u=r(9038)();var c=r(8501);var l=typeof globalThis==="undefined"?global:globalThis;var s=o();var p=a("Array.prototype.indexOf",true)||function indexOf(t,e){for(var r=0;r<t.length;r+=1){if(t[r]===e){return r}}return-1};var y=a("String.prototype.slice");var v={};var g=Object.getPrototypeOf;if(u&&c&&g){n(s,(function(t){var e=new l[t];if(Symbol.toStringTag in e){var r=g(e);var n=c(r,Symbol.toStringTag);if(!n){var o=g(r);n=c(o,Symbol.toStringTag)}v[t]=n.get}}))}var b=function tryAllTypedArrays(t){var e=false;n(v,(function(r,n){if(!e){try{e=r.call(t)===n}catch(t){}}}));return e};t.exports=function isTypedArray(t){if(!t||typeof t!=="object"){return false}if(!u||!(Symbol.toStringTag in t)){var e=y(i(t),8,-1);return p(s,e)>-1}if(!c){return false}return b(t)}},2801:t=>{"use strict";var e=typeof WeakMap==="function"&&WeakMap.prototype?WeakMap:null;var r=typeof WeakSet==="function"&&WeakSet.prototype?WeakSet:null;var n;if(!e){n=function isWeakMap(t){return false}}var o=e?e.prototype.has:null;var a=r?r.prototype.has:null;if(!n&&!o){n=function isWeakMap(t){return false}}t.exports=n||function isWeakMap(t){if(!t||typeof t!=="object"){return false}try{o.call(t,o);if(a){try{a.call(t,a)}catch(t){return true}}return t instanceof e}catch(t){}return false}},5268:(t,e,r)=>{"use strict";var n=r(4538);var o=r(8803);var a=n("%WeakSet%",true);var i=o("WeakSet.prototype.has",true);if(i){var u=o("WeakMap.prototype.has",true);t.exports=function isWeakSet(t){if(!t||typeof t!=="object"){return false}try{i(t,i);if(u){try{u(t,u)}catch(t){return true}}return t instanceof a}catch(t){}return false}}else{t.exports=function isWeakSet(t){return false}}},893:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return e.call(t)=="[object Array]"}},504:(t,e,r)=>{var n=typeof Map==="function"&&Map.prototype;var o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var a=n&&o&&typeof o.get==="function"?o.get:null;var i=n&&Map.prototype.forEach;var u=typeof Set==="function"&&Set.prototype;var c=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var l=u&&c&&typeof c.get==="function"?c.get:null;var s=u&&Set.prototype.forEach;var p=typeof WeakMap==="function"&&WeakMap.prototype;var y=p?WeakMap.prototype.has:null;var v=typeof WeakSet==="function"&&WeakSet.prototype;var g=v?WeakSet.prototype.has:null;var b=typeof WeakRef==="function"&&WeakRef.prototype;var d=b?WeakRef.prototype.deref:null;var h=Boolean.prototype.valueOf;var S=Object.prototype.toString;var m=Function.prototype.toString;var E=String.prototype.match;var _=String.prototype.slice;var O=String.prototype.replace;var T=String.prototype.toUpperCase;var j=String.prototype.toLowerCase;var A=RegExp.prototype.test;var I=Array.prototype.concat;var w=Array.prototype.join;var P=Array.prototype.slice;var x=Math.floor;var R=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var k=Object.getOwnPropertySymbols;var N=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var M=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var F=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M?"object":"symbol")?Symbol.toStringTag:null;var D=Object.prototype.propertyIsEnumerable;var L=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function addNumericSeparator(t,e){if(t===Infinity||t===-Infinity||t!==t||t&&t>-1e3&&t<1e3||A.call(/e/,e)){return e}var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t==="number"){var n=t<0?-x(-t):x(t);if(n!==t){var o=String(n);var a=_.call(e,o.length+1);return O.call(o,r,"$&_")+"."+O.call(O.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(e,r,"$&_")}var C=r(7265);var B=C.custom;var W=isSymbol(B)?B:null;t.exports=function inspect_(t,e,r,n){var o=e||{};if(has(o,"quoteStyle")&&(o.quoteStyle!=="single"&&o.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(o,"maxStringLength")&&(typeof o.maxStringLength==="number"?o.maxStringLength<0&&o.maxStringLength!==Infinity:o.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var u=has(o,"customInspect")?o.customInspect:true;if(typeof u!=="boolean"&&u!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(o,"indent")&&o.indent!==null&&o.indent!=="\t"&&!(parseInt(o.indent,10)===o.indent&&o.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(o,"numericSeparator")&&typeof o.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var c=o.numericSeparator;if(typeof t==="undefined"){return"undefined"}if(t===null){return"null"}if(typeof t==="boolean"){return t?"true":"false"}if(typeof t==="string"){return inspectString(t,o)}if(typeof t==="number"){if(t===0){return Infinity/t>0?"0":"-0"}var p=String(t);return c?addNumericSeparator(t,p):p}if(typeof t==="bigint"){var y=String(t)+"n";return c?addNumericSeparator(t,y):y}var v=typeof o.depth==="undefined"?5:o.depth;if(typeof r==="undefined"){r=0}if(r>=v&&v>0&&typeof t==="object"){return isArray(t)?"[Array]":"[Object]"}var g=getIndent(o,r);if(typeof n==="undefined"){n=[]}else if(indexOf(n,t)>=0){return"[Circular]"}function inspect(t,e,a){if(e){n=P.call(n);n.push(e)}if(a){var i={depth:o.depth};if(has(o,"quoteStyle")){i.quoteStyle=o.quoteStyle}return inspect_(t,i,r+1,n)}return inspect_(t,o,r+1,n)}if(typeof t==="function"&&!isRegExp(t)){var b=nameOf(t);var d=arrObjKeys(t,inspect);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(d.length>0?" { "+w.call(d,", ")+" }":"")}if(isSymbol(t)){var S=M?O.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return typeof t==="object"&&!M?markBoxed(S):S}if(isElement(t)){var m="<"+j.call(String(t.nodeName));var E=t.attributes||[];for(var T=0;T<E.length;T++){m+=" "+E[T].name+"="+wrapQuotes(quote(E[T].value),"double",o)}m+=">";if(t.childNodes&&t.childNodes.length){m+="..."}m+="</"+j.call(String(t.nodeName))+">";return m}if(isArray(t)){if(t.length===0){return"[]"}var A=arrObjKeys(t,inspect);if(g&&!singleLineValues(A)){return"["+indentedJoin(A,g)+"]"}return"[ "+w.call(A,", ")+" ]"}if(isError(t)){var x=arrObjKeys(t,inspect);if(!("cause"in Error.prototype)&&"cause"in t&&!D.call(t,"cause")){return"{ ["+String(t)+"] "+w.call(I.call("[cause]: "+inspect(t.cause),x),", ")+" }"}if(x.length===0){return"["+String(t)+"]"}return"{ ["+String(t)+"] "+w.call(x,", ")+" }"}if(typeof t==="object"&&u){if(W&&typeof t[W]==="function"&&C){return C(t,{depth:v-r})}else if(u!=="symbol"&&typeof t.inspect==="function"){return t.inspect()}}if(isMap(t)){var k=[];i.call(t,(function(e,r){k.push(inspect(r,t,true)+" => "+inspect(e,t))}));return collectionOf("Map",a.call(t),k,g)}if(isSet(t)){var B=[];s.call(t,(function(e){B.push(inspect(e,t))}));return collectionOf("Set",l.call(t),B,g)}if(isWeakMap(t)){return weakCollectionOf("WeakMap")}if(isWeakSet(t)){return weakCollectionOf("WeakSet")}if(isWeakRef(t)){return weakCollectionOf("WeakRef")}if(isNumber(t)){return markBoxed(inspect(Number(t)))}if(isBigInt(t)){return markBoxed(inspect(R.call(t)))}if(isBoolean(t)){return markBoxed(h.call(t))}if(isString(t)){return markBoxed(inspect(String(t)))}if(!isDate(t)&&!isRegExp(t)){var U=arrObjKeys(t,inspect);var q=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object;var Y=t instanceof Object?"":"null prototype";var G=!q&&F&&Object(t)===t&&F in t?_.call(toStr(t),8,-1):Y?"Object":"";var H=q||typeof t.constructor!=="function"?"":t.constructor.name?t.constructor.name+" ":"";var $=H+(G||Y?"["+w.call(I.call([],G||[],Y||[]),": ")+"] ":"");if(U.length===0){return $+"{}"}if(g){return $+"{"+indentedJoin(U,g)+"}"}return $+"{ "+w.call(U,", ")+" }"}return String(t)};function wrapQuotes(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function quote(t){return O.call(String(t),/"/g,""")}function isArray(t){return toStr(t)==="[object Array]"&&(!F||!(typeof t==="object"&&F in t))}function isDate(t){return toStr(t)==="[object Date]"&&(!F||!(typeof t==="object"&&F in t))}function isRegExp(t){return toStr(t)==="[object RegExp]"&&(!F||!(typeof t==="object"&&F in t))}function isError(t){return toStr(t)==="[object Error]"&&(!F||!(typeof t==="object"&&F in t))}function isString(t){return toStr(t)==="[object String]"&&(!F||!(typeof t==="object"&&F in t))}function isNumber(t){return toStr(t)==="[object Number]"&&(!F||!(typeof t==="object"&&F in t))}function isBoolean(t){return toStr(t)==="[object Boolean]"&&(!F||!(typeof t==="object"&&F in t))}function isSymbol(t){if(M){return t&&typeof t==="object"&&t instanceof Symbol}if(typeof t==="symbol"){return true}if(!t||typeof t!=="object"||!N){return false}try{N.call(t);return true}catch(t){}return false}function isBigInt(t){if(!t||typeof t!=="object"||!R){return false}try{R.call(t);return true}catch(t){}return false}var U=Object.prototype.hasOwnProperty||function(t){return t in this};function has(t,e){return U.call(t,e)}function toStr(t){return S.call(t)}function nameOf(t){if(t.name){return t.name}var e=E.call(m.call(t),/^function\s*([\w$]+)/);if(e){return e[1]}return null}function indexOf(t,e){if(t.indexOf){return t.indexOf(e)}for(var r=0,n=t.length;r<n;r++){if(t[r]===e){return r}}return-1}function isMap(t){if(!a||!t||typeof t!=="object"){return false}try{a.call(t);try{l.call(t)}catch(t){return true}return t instanceof Map}catch(t){}return false}function isWeakMap(t){if(!y||!t||typeof t!=="object"){return false}try{y.call(t,y);try{g.call(t,g)}catch(t){return true}return t instanceof WeakMap}catch(t){}return false}function isWeakRef(t){if(!d||!t||typeof t!=="object"){return false}try{d.call(t);return true}catch(t){}return false}function isSet(t){if(!l||!t||typeof t!=="object"){return false}try{l.call(t);try{a.call(t)}catch(t){return true}return t instanceof Set}catch(t){}return false}function isWeakSet(t){if(!g||!t||typeof t!=="object"){return false}try{g.call(t,g);try{y.call(t,y)}catch(t){return true}return t instanceof WeakSet}catch(t){}return false}function isElement(t){if(!t||typeof t!=="object"){return false}if(typeof HTMLElement!=="undefined"&&t instanceof HTMLElement){return true}return typeof t.nodeName==="string"&&typeof t.getAttribute==="function"}function inspectString(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength;var n="... "+r+" more character"+(r>1?"s":"");return inspectString(_.call(t,0,e.maxStringLength),e)+n}var o=O.call(O.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(o,"single",e)}function lowbyte(t){var e=t.charCodeAt(0);var r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];if(r){return"\\"+r}return"\\x"+(e<16?"0":"")+T.call(e.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,e,r,n){var o=n?indentedJoin(r,n):w.call(r,", ");return t+" ("+e+") {"+o+"}"}function singleLineValues(t){for(var e=0;e<t.length;e++){if(indexOf(t[e],"\n")>=0){return false}}return true}function getIndent(t,e){var r;if(t.indent==="\t"){r="\t"}else if(typeof t.indent==="number"&&t.indent>0){r=w.call(Array(t.indent+1)," ")}else{return null}return{base:r,prev:w.call(Array(e+1),r)}}function indentedJoin(t,e){if(t.length===0){return""}var r="\n"+e.prev+e.base;return r+w.call(t,","+r)+"\n"+e.prev}function arrObjKeys(t,e){var r=isArray(t);var n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++){n[o]=has(t,o)?e(t[o],t):""}}var a=typeof k==="function"?k(t):[];var i;if(M){i={};for(var u=0;u<a.length;u++){i["$"+a[u]]=a[u]}}for(var c in t){if(!has(t,c)){continue}if(r&&String(Number(c))===c&&c<t.length){continue}if(M&&i["$"+c]instanceof Symbol){continue}else if(A.call(/[^\w$]/,c)){n.push(e(c,t)+": "+e(t[c],t))}else{n.push(c+": "+e(t[c],t))}}if(typeof k==="function"){for(var l=0;l<a.length;l++){if(D.call(t,a[l])){n.push("["+e(a[l])+"]: "+e(t[a[l]],t))}}}return n}},7265:(t,e,r)=>{t.exports=r(3837).inspect},5545:t=>{"use strict";var numberIsNaN=function(t){return t!==t};t.exports=function is(t,e){if(t===0&&e===0){return 1/t===1/e}if(t===e){return true}if(numberIsNaN(t)&&numberIsNaN(e)){return true}return false}},8653:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(5545);var i=r(7377);var u=r(973);var c=o(i(),Object);n(c,{getPolyfill:i,implementation:a,shim:u});t.exports=c},7377:(t,e,r)=>{"use strict";var n=r(5545);t.exports=function getPolyfill(){return typeof Object.is==="function"?Object.is:n}},973:(t,e,r)=>{"use strict";var n=r(7377);var o=r(9234);t.exports=function shimObjectIs(){var t=n();o(Object,{is:t},{is:function testObjectIs(){return Object.is!==t}});return t}},8435:(t,e,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;var i=r(6362);var u=Object.prototype.propertyIsEnumerable;var c=!u.call({toString:null},"toString");var l=u.call((function(){}),"prototype");var s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var equalsConstructorPrototype=function(t){var e=t.constructor;return e&&e.prototype===t};var p={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true};var y=function(){if(typeof window==="undefined"){return false}for(var t in window){try{if(!p["$"+t]&&o.call(window,t)&&window[t]!==null&&typeof window[t]==="object"){try{equalsConstructorPrototype(window[t])}catch(t){return true}}}catch(t){return true}}return false}();var equalsConstructorPrototypeIfNotBuggy=function(t){if(typeof window==="undefined"||!y){return equalsConstructorPrototype(t)}try{return equalsConstructorPrototype(t)}catch(t){return false}};n=function keys(t){var e=t!==null&&typeof t==="object";var r=a.call(t)==="[object Function]";var n=i(t);var u=e&&a.call(t)==="[object String]";var p=[];if(!e&&!r&&!n){throw new TypeError("Object.keys called on a non-object")}var y=l&&r;if(u&&t.length>0&&!o.call(t,0)){for(var v=0;v<t.length;++v){p.push(String(v))}}if(n&&t.length>0){for(var g=0;g<t.length;++g){p.push(String(g))}}else{for(var b in t){if(!(y&&b==="prototype")&&o.call(t,b)){p.push(String(b))}}}if(c){var d=equalsConstructorPrototypeIfNotBuggy(t);for(var h=0;h<s.length;++h){if(!(d&&s[h]==="constructor")&&o.call(t,s[h])){p.push(s[h])}}}return p}}t.exports=n},137:(t,e,r)=>{"use strict";var n=Array.prototype.slice;var o=r(6362);var a=Object.keys;var i=a?function keys(t){return a(t)}:r(8435);var u=Object.keys;i.shim=function shimObjectKeys(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);if(!t){Object.keys=function keys(t){if(o(t)){return u(n.call(t))}return u(t)}}}else{Object.keys=i}return Object.keys||i};t.exports=i},6362:t=>{"use strict";var e=Object.prototype.toString;t.exports=function isArguments(t){var r=e.call(t);var n=r==="[object Arguments]";if(!n){n=r!=="[object Array]"&&t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&e.call(t.callee)==="[object Function]"}return n}},2818:(t,e,r)=>{"use strict";var n=r(137);var o=r(7747)();var a=r(8803);var i=Object;var u=a("Array.prototype.push");var c=a("Object.prototype.propertyIsEnumerable");var l=o?Object.getOwnPropertySymbols:null;t.exports=function assign(t,e){if(t==null){throw new TypeError("target must be an object")}var r=i(t);if(arguments.length===1){return r}for(var a=1;a<arguments.length;++a){var s=i(arguments[a]);var p=n(s);var y=o&&(Object.getOwnPropertySymbols||l);if(y){var v=y(s);for(var g=0;g<v.length;++g){var b=v[g];if(c(s,b)){u(p,b)}}}for(var d=0;d<p.length;++d){var h=p[d];if(c(s,h)){var S=s[h];r[h]=S}}}return r}},1690:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(2818);var i=r(6619);var u=r(3249);var c=o.apply(i());var l=function assign(t,e){return c(Object,arguments)};n(l,{getPolyfill:i,implementation:a,shim:u});t.exports=l},6619:(t,e,r)=>{"use strict";var n=r(2818);var lacksProperEnumerationOrder=function(){if(!Object.assign){return false}var t="abcdefghijklmnopqrst";var e=t.split("");var r={};for(var n=0;n<e.length;++n){r[e[n]]=e[n]}var o=Object.assign({},r);var a="";for(var i in o){a+=i}return t!==a};var assignHasPendingExceptions=function(){if(!Object.assign||!Object.preventExtensions){return false}var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return t[1]==="y"}return false};t.exports=function getPolyfill(){if(!Object.assign){return n}if(lacksProperEnumerationOrder()){return n}if(assignHasPendingExceptions()){return n}return Object.assign}},3249:(t,e,r)=>{"use strict";var n=r(9234);var o=r(6619);t.exports=function shimAssign(){var t=o();n(Object,{assign:t},{assign:function(){return Object.assign!==t}});return t}},2687:(t,e,r)=>{"use strict";var n=r(9019).functionsHaveConfigurableNames();var o=Object;var a=TypeError;t.exports=function flags(){if(this!=null&&this!==o(this)){throw new a("RegExp.prototype.flags getter called on non-object")}var t="";if(this.hasIndices){t+="d"}if(this.global){t+="g"}if(this.ignoreCase){t+="i"}if(this.multiline){t+="m"}if(this.dotAll){t+="s"}if(this.unicode){t+="u"}if(this.sticky){t+="y"}return t};if(n&&Object.defineProperty){Object.defineProperty(t.exports,"name",{value:"get flags"})}},8608:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(2687);var i=r(8655);var u=r(9330);var c=o(i());n(c,{getPolyfill:i,implementation:a,shim:u});t.exports=c},8655:(t,e,r)=>{"use strict";var n=r(2687);var o=r(9234).supportsDescriptors;var a=Object.getOwnPropertyDescriptor;t.exports=function getPolyfill(){if(o&&/a/gim.flags==="gim"){var t=a(RegExp.prototype,"flags");if(t&&typeof t.get==="function"&&typeof RegExp.prototype.dotAll==="boolean"&&typeof RegExp.prototype.hasIndices==="boolean"){var e="";var r={};Object.defineProperty(r,"hasIndices",{get:function(){e+="d"}});Object.defineProperty(r,"sticky",{get:function(){e+="y"}});if(e==="dy"){return t.get}}}return n}},9330:(t,e,r)=>{"use strict";var n=r(9234).supportsDescriptors;var o=r(8655);var a=Object.getOwnPropertyDescriptor;var i=Object.defineProperty;var u=TypeError;var c=Object.getPrototypeOf;var l=/a/;t.exports=function shimFlags(){if(!n||!c){throw new u("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors")}var t=o();var e=c(l);var r=a(e,"flags");if(!r||r.get!==t){i(e,"flags",{configurable:true,enumerable:false,get:t})}return t}},4334:(t,e,r)=>{"use strict";var n=r(4538);var o=r(8803);var a=r(504);var i=n("%TypeError%");var u=n("%WeakMap%",true);var c=n("%Map%",true);var l=o("WeakMap.prototype.get",true);var s=o("WeakMap.prototype.set",true);var p=o("WeakMap.prototype.has",true);var y=o("Map.prototype.get",true);var v=o("Map.prototype.set",true);var g=o("Map.prototype.has",true);var listGetNode=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n){if(n.key===e){r.next=n.next;n.next=t.next;t.next=n;return n}}};var listGet=function(t,e){var r=listGetNode(t,e);return r&&r.value};var listSet=function(t,e,r){var n=listGetNode(t,e);if(n){n.value=r}else{t.next={key:e,next:t.next,value:r}}};var listHas=function(t,e){return!!listGetNode(t,e)};t.exports=function getSideChannel(){var t;var e;var r;var n={assert:function(t){if(!n.has(t)){throw new i("Side channel does not contain "+a(t))}},get:function(n){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(t){return l(t,n)}}else if(c){if(e){return y(e,n)}}else{if(r){return listGet(r,n)}}},has:function(n){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(t){return p(t,n)}}else if(c){if(e){return g(e,n)}}else{if(r){return listHas(r,n)}}return false},set:function(n,o){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(!t){t=new u}s(t,n,o)}else if(c){if(!e){e=new c}v(e,n,o)}else{if(!r){r={key:{},next:null}}listSet(r,n,o)}}};return n}},6596:(t,e,r)=>{"use strict";var n=r(639);var o=r(8550);var a=r(7306);var i=r(6510);var u=r(6544);t.exports=function whichBoxedPrimitive(t){if(t==null||typeof t!=="object"&&typeof t!=="function"){return null}if(n(t)){return"String"}if(o(t)){return"Number"}if(a(t)){return"Boolean"}if(i(t)){return"Symbol"}if(u(t)){return"BigInt"}}},1257:(t,e,r)=>{"use strict";var n=r(3710);var o=r(1527);var a=r(8803);var i=r(8501);var u=a("Object.prototype.toString");var c=r(9038)();var l=typeof globalThis==="undefined"?global:globalThis;var s=o();var p=a("String.prototype.slice");var y={};var v=Object.getPrototypeOf;if(c&&i&&v){n(s,(function(t){if(typeof l[t]==="function"){var e=new l[t];if(Symbol.toStringTag in e){var r=v(e);var n=i(r,Symbol.toStringTag);if(!n){var o=v(r);n=i(o,Symbol.toStringTag)}y[t]=n.get}}}))}var g=function tryAllTypedArrays(t){var e=false;n(y,(function(r,n){if(!e){try{var o=r.call(t);if(o===n){e=o}}catch(t){}}}));return e};var b=r(4486);t.exports=function whichTypedArray(t){if(!b(t)){return false}if(!c||!(Symbol.toStringTag in t)){return p(u(t),8,-1)}return g(t)}},3837:t=>{"use strict";t.exports=require("util")},1527:t=>{"use strict";var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"];var r=typeof globalThis==="undefined"?global:globalThis;t.exports=function availableTypedArrays(){var t=[];for(var n=0;n<e.length;n++){if(typeof r[e[n]]==="function"){t[t.length]=e[n]}}return t}},7204:t=>{"use strict";var e=Symbol.iterator;t.exports=function getIterator(t){if(t!=null&&typeof t[e]!=="undefined"){return t[e]()}}},5735:(t,e,r)=>{"use strict";var n=r(8445);var o=r(2210);var a=r(2801);var i=r(5268);t.exports=function whichCollection(t){if(t&&typeof t==="object"){if(n(t)){return"Map"}if(o(t)){return"Set"}if(a(t)){return"WeakMap"}if(i(t)){return"WeakSet"}}return false}}};var e={};function __nccwpck_require__(r){var n=e[r];if(n!==undefined){return n.exports}var o=e[r]={exports:{}};var a=true;try{t[r](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete e[r]}return o.exports}(()=>{__nccwpck_require__.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;__nccwpck_require__.d(e,{a:e});return e}})();(()=>{__nccwpck_require__.d=(t,e)=>{for(var r in e){if(__nccwpck_require__.o(e,r)&&!__nccwpck_require__.o(t,r)){Object.defineProperty(t,r,{enumerable:true,get:e[r]})}}}})();(()=>{__nccwpck_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{"use strict";__nccwpck_require__.r(r);__nccwpck_require__.d(r,{default:()=>Watcher});const t=require("events");var e=__nccwpck_require__(8874);function getCookie(t,e){return t.document.cookie.split("; ").reduce(((t,r)=>{const n=r.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),"")}function setCookie(t,e,r,n){const o=n||1;const a=new Date(Date.now()+o*864e5).toUTCString();const i=t.document.location.hostname.split(".");const u=`${e}=${encodeURIComponent(r)}; expires=${a}; path=/; SameSite=None; Secure`;for(let r=2;r<=i.length;r++){t.document.cookie=`${u}; domain=${i.slice(-1*r).join(".")}`;const n=t.document.cookie.split("; ").reduce(((t,r)=>{const n=r.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),"");if(n){return}}t.document.cookie=u}var n=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function cookieFetcher(t,e){return n(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}const r=getCookie(t,e);if(!r){return[]}return[r]}))}var o=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function dataLayerFetcher(t,e){return o(this,void 0,void 0,(function*(){if(!t||!t.dataLayer||e.length===0){return[]}let r=[];for(const n of t.dataLayer){if(Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];if(t){r=r.concat(t)}}}return r}))}var a=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function windowFetcher(t,e){return a(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}try{const r=getProperty(t,e);if(!r){return[]}return[r]}catch(t){return[]}}))}function getProperty(t,e){const r=e.split(".");let n=t;let o=null;while(r.length>0){if(r[0]==="window"){r.shift()}else if(typeof n==="object"){if(r[0].slice(-2)==="()"){o=n;n=n[r[0].slice(0,-2)]}else{o=n;n=n[r.shift()]}}else if(typeof n==="function"){const t=n.call(o);o=n;n=t;r.shift()}else{return null}}if(n&&typeof n!=="string"){n=n.toString()}return n}var i=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function fetcher(t){return function storageFetcher(e,r){return i(this,void 0,void 0,(function*(){if(!e||r.length===0){return[]}try{const n=t==="localStorage"?e.localStorage:e.sessionStorage;const o=n.getItem(r);if(!o){return[]}return[o]}catch(t){return[]}}))}}const u=fetcher("localStorage");const c=fetcher("sessionStorage");var l=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function queryStringFetcher(t,e){return l(this,void 0,void 0,(function*(){if(!t||!t.location||t.location.search.length===0||e.length===0){return[]}return new URLSearchParams(t.location.search).getAll(e)}))}function queryStringStructure(t){const e={};for(const[r,n]of new URLSearchParams(t).entries()){e[r]=n}return e}var s=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};const p=730;function managedFetcher(t,e){return s(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}e="_swb";let r=getCookie(t,e);if(r){return[r]}setCookie(t,e,"",p);r=getCookie(t,e);if(r){return[r]}return[]}))}function stringStructure(t){return{value:t}}function jsonStructure(t){return JSON.parse(t)}function jwtStructure(t){const e=t;const r=e.split(".");const n=r[1];const o=Buffer.from(n,"base64").toString();return JSON.parse(o)}function semicolonStructure(t){const e=t.split(";").map((t=>t.trim().split("=")));const r={};for(const[t,n]of e){r[decodeURIComponent(t)]=decodeURIComponent(n)}return r}var y=__nccwpck_require__(3414);var v=__nccwpck_require__.n(y);var g=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};class Watcher extends t.EventEmitter{constructor(t,e){super();this._w=t;this._listenerOptions=e||{};this._fetchers=new Map;this._identities={}}add(t,r){let n;switch(r.format){case e.IdentityFormat.IDENTITY_FORMAT_JSON:n=jsonStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_JWT:n=jwtStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_QUERY:n=queryStringStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_SEMICOLON:n=semicolonStructure;break;default:n=stringStructure}const o=r.key||"value";switch(r.type){case e.IdentityType.IDENTITY_TYPE_COOKIE:this._fetchers.set(t,(t=>cookieFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_DATA_LAYER:this._fetchers.set(t,(t=>dataLayerFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_WINDOW:this._fetchers.set(t,(t=>windowFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_LOCAL_STORAGE:this._fetchers.set(t,(t=>u(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_SESSION_STORAGE:this._fetchers.set(t,(t=>c(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_QUERY_STRING:this._fetchers.set(t,(t=>queryStringFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_MANAGED:this._fetchers.set(t,(t=>managedFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;default:throw new Error(`unsupported identity type ${r.type} for ${t}`)}}start(){if(this._intervalId){return}this.notify();if(this._listenerOptions.interval){this._intervalId=this._w.setInterval(this.notify,this._listenerOptions.interval);if(this._listenerOptions.timeout){this._w.setTimeout(this.stop,this._listenerOptions.timeout)}}}stop(){if(!this._intervalId){return}this._w.clearInterval(this._intervalId);this._intervalId=undefined}notify(){return g(this,void 0,void 0,(function*(){const t={};for(const[e,r]of this._fetchers.entries()){const n=yield r(this._w);for(const r of n){t[e]=r}}if(!v()(t,this._identities)){this.emit("identity",t);this._identities=t}}))}}})();module.exports=r})();
|
|
1
|
+
(()=>{var t={8874:t=>{(()=>{"use strict";var e={};(()=>{e.d=(t,r)=>{for(var n in r){if(e.o(r,n)&&!e.o(t,n)){Object.defineProperty(t,n,{enumerable:true,get:r[n]})}}}})();(()=>{e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})();(()=>{e.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();if(typeof e!=="undefined")e.ab=__dirname+"/";var r={};e.r(r);e.d(r,{ALL_TABS:()=>n,isTab:()=>isTab,ExperienceType:()=>o,ConsentExperienceType:()=>a,ExperienceClosedReason:()=>i,ExperienceDefault:()=>u,ExperienceButtonDestination:()=>c,ExperiencePrimaryButtonAction:()=>l,MigrationOption:()=>s,CookieDuration:()=>p,CookieProvenance:()=>y,CookieCategory:()=>v,IdentityType:()=>g,IdentityFormat:()=>b,SwitchTextRenderLogic:()=>d,BannerPosition:()=>h,ModalPosition:()=>S});const n=["overviewTab","rightsTab","consentsTab"];function isTab(t){return n.includes(t)}var o;(function(t){t["Consent"]="experiences.consent";t["Preference"]="experiences.preference"})(o||(o={}));var a;(function(t){t["Banner"]="experiences.consent.banner";t["Modal"]="experiences.consent.modal";t["JIT"]="experiences.consent.jit"})(a||(a={}));var i;(function(t){t["SET_CONSENT"]="setConsent";t["INVOKE_RIGHT"]="invokeRight";t["CLOSE"]="close";t["WILL_NOT_SHOW"]="willNotShow"})(i||(i={}));var u;(function(t){t[t["BANNER"]=1]="BANNER";t[t["MODAL"]=2]="MODAL"})(u||(u={}));var c;(function(t){t[t["GOTO_MODAL"]=1]="GOTO_MODAL";t[t["GOTO_PREFERENCE"]=2]="GOTO_PREFERENCE";t[t["REJECT_ALL"]=3]="REJECT_ALL"})(c||(c={}));var l;(function(t){t[t["SAVE_CURRENT_STATE"]=1]="SAVE_CURRENT_STATE";t[t["ACCEPT_ALL"]=2]="ACCEPT_ALL"})(l||(l={}));var s;(function(t){t[t["MIGRATE_DEFAULT"]=0]="MIGRATE_DEFAULT";t[t["MIGRATE_NEVER"]=1]="MIGRATE_NEVER";t[t["MIGRATE_FROM_ALLOW"]=2]="MIGRATE_FROM_ALLOW";t[t["MIGRATE_FROM_DENY"]=3]="MIGRATE_FROM_DENY";t[t["MIGRATE_ALWAYS"]=4]="MIGRATE_ALWAYS"})(s||(s={}));var p;(function(t){t[t["SESSION"]=1]="SESSION";t[t["PERSISTENT"]=2]="PERSISTENT"})(p||(p={}));var y;(function(t){t[t["FIRST_PARTY"]=1]="FIRST_PARTY";t[t["THIRD_PARTY"]=2]="THIRD_PARTY"})(y||(y={}));var v;(function(t){t[t["STRICTLY_NECESSARY"]=1]="STRICTLY_NECESSARY";t[t["FUNCTIONAL"]=2]="FUNCTIONAL";t[t["PERFORMANCE"]=3]="PERFORMANCE";t[t["MARKETING"]=4]="MARKETING"})(v||(v={}));var g;(function(t){t["IDENTITY_TYPE_UNDEFINED"]="";t["IDENTITY_TYPE_DATA_LAYER"]="dataLayer";t["IDENTITY_TYPE_WINDOW"]="window";t["IDENTITY_TYPE_COOKIE"]="cookie";t["IDENTITY_TYPE_MANAGED"]="managedCookie";t["IDENTITY_TYPE_LOCAL_STORAGE"]="localStorage";t["IDENTITY_TYPE_SESSION_STORAGE"]="sessionStorage";t["IDENTITY_TYPE_QUERY_STRING"]="queryString"})(g||(g={}));var b;(function(t){t["IDENTITY_FORMAT_UNDEFINED"]="";t["IDENTITY_FORMAT_STRING"]="string";t["IDENTITY_FORMAT_JSON"]="json";t["IDENTITY_FORMAT_JWT"]="jwt";t["IDENTITY_FORMAT_QUERY"]="query";t["IDENTITY_FORMAT_SEMICOLON"]="semicolon"})(b||(b={}));var d;(function(t){t[t["SWITCH_TEXT_RENDER_ALL"]=1]="SWITCH_TEXT_RENDER_ALL";t[t["SWITCH_TEXT_RENDER_LEGAL_BASIS"]=2]="SWITCH_TEXT_RENDER_LEGAL_BASIS";t[t["SWITCH_TEXT_RENDER_CHANGE"]=3]="SWITCH_TEXT_RENDER_CHANGE";t[t["SWITCH_TEXT_RENDER_NEVER"]=4]="SWITCH_TEXT_RENDER_NEVER"})(d||(d={}));var h;(function(t){t[t["BOTTOM"]=1]="BOTTOM";t[t["TOP"]=2]="TOP";t[t["BOTTOM_LEFT"]=3]="BOTTOM_LEFT";t[t["BOTTOM_RIGHT"]=4]="BOTTOM_RIGHT"})(h||(h={}));var S;(function(t){t[t["CENTER"]=1]="CENTER";t[t["LEFT_FULL_HEIGHT"]=2]="LEFT_FULL_HEIGHT";t[t["RIGHT_FULL_HEIGHT"]=3]="RIGHT_FULL_HEIGHT"})(S||(S={}));t.exports=r})()},8803:(t,e,r)=>{"use strict";var n=r(4538);var o=r(2977);var a=o(n("String.prototype.indexOf"));t.exports=function callBoundIntrinsic(t,e){var r=n(t,!!e);if(typeof r==="function"&&a(t,".prototype.")>-1){return o(r)}return r}},2977:(t,e,r)=>{"use strict";var n=r(8334);var o=r(4538);var a=o("%Function.prototype.apply%");var i=o("%Function.prototype.call%");var u=o("%Reflect.apply%",true)||n.call(i,a);var c=o("%Object.getOwnPropertyDescriptor%",true);var l=o("%Object.defineProperty%",true);var s=o("%Math.max%");if(l){try{l({},"a",{value:1})}catch(t){l=null}}t.exports=function callBind(t){var e=u(n,i,arguments);if(c&&l){var r=c(e,"length");if(r.configurable){l(e,"length",{value:1+s(0,t.length-(arguments.length-1))})}}return e};var p=function applyBind(){return u(n,a,arguments)};if(l){l(t.exports,"apply",{value:p})}else{t.exports.apply=p}},3414:(t,e,r)=>{"use strict";var n=r(137);var o=r(2119);var a=r(8653);var i=r(6403);var u=r(8608);var c=r(893);var l=r(9711);var s=r(6596);var p=r(4538);var y=r(8803);var v=r(5735);var g=r(7204);var b=r(4334);var d=r(1257);var h=r(1690);var S=y("ArrayBuffer.prototype.byteLength",true);function isArrayBuffer(t){if(!t||typeof t!=="object"||!S){return false}try{S(t);return true}catch(t){return false}}var m=y("Date.prototype.getTime");var E=Object.getPrototypeOf;var _=y("Object.prototype.toString");var O=p("%Set%",true);var T=y("Map.prototype.has",true);var j=y("Map.prototype.get",true);var A=y("Map.prototype.size",true);var I=y("Set.prototype.add",true);var w=y("Set.prototype.delete",true);var P=y("Set.prototype.has",true);var x=y("Set.prototype.size",true);function setHasEqualElement(t,e,r,n){var o=g(t);var a;while((a=o.next())&&!a.done){if(internalDeepEqual(e,a.value,r,n)){w(t,a.value);return true}}return false}function findLooseMatchingPrimitives(t){if(typeof t==="undefined"){return null}if(typeof t==="object"){return void 0}if(typeof t==="symbol"){return false}if(typeof t==="string"||typeof t==="number"){return+t===+t}return true}function mapMightHaveLoosePrim(t,e,r,n,o,a){var i=findLooseMatchingPrimitives(r);if(i!=null){return i}var u=j(e,i);var c=h({},o,{strict:false});if(typeof u==="undefined"&&!T(e,i)||!internalDeepEqual(n,u,c,a)){return false}return!T(t,i)&&internalDeepEqual(n,u,c,a)}function setMightHaveLoosePrim(t,e,r){var n=findLooseMatchingPrimitives(r);if(n!=null){return n}return P(e,n)&&!P(t,n)}function mapHasEqualEntry(t,e,r,n,o,a){var i=g(t);var u;var c;while((u=i.next())&&!u.done){c=u.value;if(internalDeepEqual(r,c,o,a)&&internalDeepEqual(n,j(e,c),o,a)){w(t,c);return true}}return false}function internalDeepEqual(t,e,r,n){var o=r||{};if(o.strict?a(t,e):t===e){return true}var i=s(t);var u=s(e);if(i!==u){return false}if(!t||!e||typeof t!=="object"&&typeof e!=="object"){return o.strict?a(t,e):t==e}var c=n.has(t);var l=n.has(e);var p;if(c&&l){if(n.get(t)===n.get(e)){return true}}else{p={}}if(!c){n.set(t,p)}if(!l){n.set(e,p)}return objEquiv(t,e,o,n)}function isBuffer(t){if(!t||typeof t!=="object"||typeof t.length!=="number"){return false}if(typeof t.copy!=="function"||typeof t.slice!=="function"){return false}if(t.length>0&&typeof t[0]!=="number"){return false}return!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function setEquiv(t,e,r,n){if(x(t)!==x(e)){return false}var o=g(t);var a=g(e);var i;var u;var c;while((i=o.next())&&!i.done){if(i.value&&typeof i.value==="object"){if(!c){c=new O}I(c,i.value)}else if(!P(e,i.value)){if(r.strict){return false}if(!setMightHaveLoosePrim(t,e,i.value)){return false}if(!c){c=new O}I(c,i.value)}}if(c){while((u=a.next())&&!u.done){if(u.value&&typeof u.value==="object"){if(!setHasEqualElement(c,u.value,r.strict,n)){return false}}else if(!r.strict&&!P(t,u.value)&&!setHasEqualElement(c,u.value,r.strict,n)){return false}}return x(c)===0}return true}function mapEquiv(t,e,r,n){if(A(t)!==A(e)){return false}var o=g(t);var a=g(e);var i;var u;var c;var l;var s;var p;while((i=o.next())&&!i.done){l=i.value[0];s=i.value[1];if(l&&typeof l==="object"){if(!c){c=new O}I(c,l)}else{p=j(e,l);if(typeof p==="undefined"&&!T(e,l)||!internalDeepEqual(s,p,r,n)){if(r.strict){return false}if(!mapMightHaveLoosePrim(t,e,l,s,r,n)){return false}if(!c){c=new O}I(c,l)}}}if(c){while((u=a.next())&&!u.done){l=u.value[0];p=u.value[1];if(l&&typeof l==="object"){if(!mapHasEqualEntry(c,t,l,p,r,n)){return false}}else if(!r.strict&&(!t.has(l)||!internalDeepEqual(j(t,l),p,r,n))&&!mapHasEqualEntry(c,t,l,p,h({},r,{strict:false}),n)){return false}}return x(c)===0}return true}function objEquiv(t,e,r,a){var s,p;if(typeof t!==typeof e){return false}if(t==null||e==null){return false}if(_(t)!==_(e)){return false}if(o(t)!==o(e)){return false}var y=c(t);var g=c(e);if(y!==g){return false}var b=t instanceof Error;var h=e instanceof Error;if(b!==h){return false}if(b||h){if(t.name!==e.name||t.message!==e.message){return false}}var O=i(t);var T=i(e);if(O!==T){return false}if((O||T)&&(t.source!==e.source||u(t)!==u(e))){return false}var j=l(t);var A=l(e);if(j!==A){return false}if(j||A){if(m(t)!==m(e)){return false}}if(r.strict&&E&&E(t)!==E(e)){return false}if(d(t)!==d(e)){return false}var I=isBuffer(t);var w=isBuffer(e);if(I!==w){return false}if(I||w){if(t.length!==e.length){return false}for(s=0;s<t.length;s++){if(t[s]!==e[s]){return false}}return true}var P=isArrayBuffer(t);var x=isArrayBuffer(e);if(P!==x){return false}if(P||x){if(S(t)!==S(e)){return false}return typeof Uint8Array==="function"&&internalDeepEqual(new Uint8Array(t),new Uint8Array(e),r,a)}if(typeof t!==typeof e){return false}var R=n(t);var k=n(e);if(R.length!==k.length){return false}R.sort();k.sort();for(s=R.length-1;s>=0;s--){if(R[s]!=k[s]){return false}}for(s=R.length-1;s>=0;s--){p=R[s];if(!internalDeepEqual(t[p],e[p],r,a)){return false}}var N=v(t);var M=v(e);if(N!==M){return false}if(N==="Set"||M==="Set"){return setEquiv(t,e,r,a)}if(N==="Map"){return mapEquiv(t,e,r,a)}return true}t.exports=function deepEqual(t,e,r){return internalDeepEqual(t,e,r,b())}},9234:(t,e,r)=>{"use strict";var n=r(137);var o=typeof Symbol==="function"&&typeof Symbol("foo")==="symbol";var a=Object.prototype.toString;var i=Array.prototype.concat;var u=Object.defineProperty;var isFunction=function(t){return typeof t==="function"&&a.call(t)==="[object Function]"};var c=r(176)();var l=u&&c;var defineProperty=function(t,e,r,n){if(e in t&&(!isFunction(n)||!n())){return}if(l){u(t,e,{configurable:true,enumerable:false,value:r,writable:true})}else{t[e]=r}};var defineProperties=function(t,e){var r=arguments.length>2?arguments[2]:{};var a=n(e);if(o){a=i.call(a,Object.getOwnPropertySymbols(e))}for(var u=0;u<a.length;u+=1){defineProperty(t,a[u],e[a[u]],r[a[u]])}};defineProperties.supportsDescriptors=!!l;t.exports=defineProperties},3710:(t,e,r)=>{"use strict";var n=r(4615);var o=Object.prototype.toString;var a=Object.prototype.hasOwnProperty;var i=function forEachArray(t,e,r){for(var n=0,o=t.length;n<o;n++){if(a.call(t,n)){if(r==null){e(t[n],n,t)}else{e.call(r,t[n],n,t)}}}};var u=function forEachString(t,e,r){for(var n=0,o=t.length;n<o;n++){if(r==null){e(t.charAt(n),n,t)}else{e.call(r,t.charAt(n),n,t)}}};var c=function forEachObject(t,e,r){for(var n in t){if(a.call(t,n)){if(r==null){e(t[n],n,t)}else{e.call(r,t[n],n,t)}}}};var l=function forEach(t,e,r){if(!n(e)){throw new TypeError("iterator must be a function")}var a;if(arguments.length>=3){a=r}if(o.call(t)==="[object Array]"){i(t,e,a)}else if(typeof t==="string"){u(t,e,a)}else{c(t,e,a)}};t.exports=l},9320:t=>{"use strict";var e="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var n=Object.prototype.toString;var o="[object Function]";t.exports=function bind(t){var a=this;if(typeof a!=="function"||n.call(a)!==o){throw new TypeError(e+a)}var i=r.call(arguments,1);var u;var binder=function(){if(this instanceof u){var e=a.apply(this,i.concat(r.call(arguments)));if(Object(e)===e){return e}return this}else{return a.apply(t,i.concat(r.call(arguments)))}};var c=Math.max(0,a.length-i.length);var l=[];for(var s=0;s<c;s++){l.push("$"+s)}u=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(binder);if(a.prototype){var p=function Empty(){};p.prototype=a.prototype;u.prototype=new p;p.prototype=null}return u}},8334:(t,e,r)=>{"use strict";var n=r(9320);t.exports=Function.prototype.bind||n},9019:t=>{"use strict";var e=function functionsHaveNames(){return typeof function f(){}.name==="string"};var r=Object.getOwnPropertyDescriptor;if(r){try{r([],"length")}catch(t){r=null}}e.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){if(!e()||!r){return false}var t=r((function(){}),"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;e.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return e()&&typeof n==="function"&&function f(){}.bind().name!==""};t.exports=e},4538:(t,e,r)=>{"use strict";var n;var o=SyntaxError;var a=Function;var i=TypeError;var getEvalledConstructor=function(t){try{return a('"use strict"; return ('+t+").constructor;")()}catch(t){}};var u=Object.getOwnPropertyDescriptor;if(u){try{u({},"")}catch(t){u=null}}var throwTypeError=function(){throw new i};var c=u?function(){try{arguments.callee;return throwTypeError}catch(t){try{return u(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError;var l=r(587)();var s=Object.getPrototypeOf||function(t){return t.__proto__};var p={};var y=typeof Uint8Array==="undefined"?n:s(Uint8Array);var v={"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":l?s([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?s(s([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!l?n:s((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!l?n:s((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?s(""[Symbol.iterator]()):n,"%Symbol%":l?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet};var g=function doEval(t){var e;if(t==="%AsyncFunction%"){e=getEvalledConstructor("async function () {}")}else if(t==="%GeneratorFunction%"){e=getEvalledConstructor("function* () {}")}else if(t==="%AsyncGeneratorFunction%"){e=getEvalledConstructor("async function* () {}")}else if(t==="%AsyncGenerator%"){var r=doEval("%AsyncGeneratorFunction%");if(r){e=r.prototype}}else if(t==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n){e=s(n.prototype)}}v[t]=e;return e};var b={"%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"]};var d=r(8334);var h=r(6339);var S=d.call(Function.call,Array.prototype.concat);var m=d.call(Function.apply,Array.prototype.splice);var E=d.call(Function.call,String.prototype.replace);var _=d.call(Function.call,String.prototype.slice);var O=d.call(Function.call,RegExp.prototype.exec);var T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var j=/\\(\\)?/g;var A=function stringToPath(t){var e=_(t,0,1);var r=_(t,-1);if(e==="%"&&r!=="%"){throw new o("invalid intrinsic syntax, expected closing `%`")}else if(r==="%"&&e!=="%"){throw new o("invalid intrinsic syntax, expected opening `%`")}var n=[];E(t,T,(function(t,e,r,o){n[n.length]=r?E(o,j,"$1"):e||t}));return n};var I=function getBaseIntrinsic(t,e){var r=t;var n;if(h(b,r)){n=b[r];r="%"+n[0]+"%"}if(h(v,r)){var a=v[r];if(a===p){a=g(r)}if(typeof a==="undefined"&&!e){throw new i("intrinsic "+t+" exists, but is not available. Please file an issue!")}return{alias:n,name:r,value:a}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function GetIntrinsic(t,e){if(typeof t!=="string"||t.length===0){throw new i("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof e!=="boolean"){throw new i('"allowMissing" argument must be a boolean')}if(O(/^%?[^%]*%?$/,t)===null){throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var r=A(t);var a=r.length>0?r[0]:"";var c=I("%"+a+"%",e);var l=c.name;var s=c.value;var p=false;var y=c.alias;if(y){a=y[0];m(r,S([0,1],y))}for(var g=1,b=true;g<r.length;g+=1){var d=r[g];var E=_(d,0,1);var T=_(d,-1);if((E==='"'||E==="'"||E==="`"||(T==='"'||T==="'"||T==="`"))&&E!==T){throw new o("property names with quotes must have matching quotes")}if(d==="constructor"||!b){p=true}a+="."+d;l="%"+a+"%";if(h(v,l)){s=v[l]}else if(s!=null){if(!(d in s)){if(!e){throw new i("base intrinsic for "+t+" exists, but the property is not available.")}return void n}if(u&&g+1>=r.length){var j=u(s,d);b=!!j;if(b&&"get"in j&&!("originalValue"in j.get)){s=j.get}else{s=s[d]}}else{b=h(s,d);s=s[d]}if(b&&!p){v[l]=s}}}return s}},8501:(t,e,r)=>{"use strict";var n=r(4538);var o=n("%Object.getOwnPropertyDescriptor%",true);if(o){try{o([],"length")}catch(t){o=null}}t.exports=o},2115:t=>{"use strict";var e=typeof BigInt!=="undefined"&&BigInt;t.exports=function hasNativeBigInts(){return typeof e==="function"&&typeof BigInt==="function"&&typeof e(42)==="bigint"&&typeof BigInt(42)==="bigint"}},176:(t,e,r)=>{"use strict";var n=r(4538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(t){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(t){return true}};t.exports=a},587:(t,e,r)=>{"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=r(7747);t.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},7747:t=>{"use strict";t.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var t={};var e=Symbol("test");var r=Object(e);if(typeof e==="string"){return false}if(Object.prototype.toString.call(e)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(r)!=="[object Symbol]"){return false}var n=42;t[e]=n;for(e in t){return false}if(typeof Object.keys==="function"&&Object.keys(t).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(t).length!==0){return false}var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==e){return false}if(!Object.prototype.propertyIsEnumerable.call(t,e)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(t,e);if(a.value!==n||a.enumerable!==true){return false}}return true}},9038:(t,e,r)=>{"use strict";var n=r(7747);t.exports=function hasToStringTagShams(){return n()&&!!Symbol.toStringTag}},6339:(t,e,r)=>{"use strict";var n=r(8334);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},2119:(t,e,r)=>{"use strict";var n=r(9038)();var o=r(8803);var a=o("Object.prototype.toString");var i=function isArguments(t){if(n&&t&&typeof t==="object"&&Symbol.toStringTag in t){return false}return a(t)==="[object Arguments]"};var u=function isArguments(t){if(i(t)){return true}return t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&a(t)!=="[object Array]"&&a(t.callee)==="[object Function]"};var c=function(){return i(arguments)}();i.isLegacyArguments=u;t.exports=c?i:u},6544:(t,e,r)=>{"use strict";var n=r(2115)();if(n){var o=BigInt.prototype.valueOf;var a=function tryBigIntObject(t){try{o.call(t);return true}catch(t){}return false};t.exports=function isBigInt(t){if(t===null||typeof t==="undefined"||typeof t==="boolean"||typeof t==="string"||typeof t==="number"||typeof t==="symbol"||typeof t==="function"){return false}if(typeof t==="bigint"){return true}return a(t)}}else{t.exports=function isBigInt(t){return false&&0}}},7306:(t,e,r)=>{"use strict";var n=r(8803);var o=n("Boolean.prototype.toString");var a=n("Object.prototype.toString");var i=function booleanBrandCheck(t){try{o(t);return true}catch(t){return false}};var u="[object Boolean]";var c=r(9038)();t.exports=function isBoolean(t){if(typeof t==="boolean"){return true}if(t===null||typeof t!=="object"){return false}return c&&Symbol.toStringTag in t?i(t):a(t)===u}},4615:t=>{"use strict";var e=Function.prototype.toString;var r=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply;var n;var o;if(typeof r==="function"&&typeof Object.defineProperty==="function"){try{n=Object.defineProperty({},"length",{get:function(){throw o}});o={};r((function(){throw 42}),null,n)}catch(t){if(t!==o){r=null}}}else{r=null}var a=/^\s*class\b/;var i=function isES6ClassFunction(t){try{var r=e.call(t);return a.test(r)}catch(t){return false}};var u=function tryFunctionToStr(t){try{if(i(t)){return false}e.call(t);return true}catch(t){return false}};var c=Object.prototype.toString;var l="[object Object]";var s="[object Function]";var p="[object GeneratorFunction]";var y="[object HTMLAllCollection]";var v="[object HTML document.all class]";var g="[object HTMLCollection]";var b=typeof Symbol==="function"&&!!Symbol.toStringTag;var d=!(0 in[,]);var h=function isDocumentDotAll(){return false};if(typeof document==="object"){var S=document.all;if(c.call(S)===c.call(document.all)){h=function isDocumentDotAll(t){if((d||!t)&&(typeof t==="undefined"||typeof t==="object")){try{var e=c.call(t);return(e===y||e===v||e===g||e===l)&&t("")==null}catch(t){}}return false}}}t.exports=r?function isCallable(t){if(h(t)){return true}if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}try{r(t,null,n)}catch(t){if(t!==o){return false}}return!i(t)&&u(t)}:function isCallable(t){if(h(t)){return true}if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}if(b){return u(t)}if(i(t)){return false}var e=c.call(t);if(e!==s&&e!==p&&!/^\[object HTML/.test(e)){return false}return u(t)}},9711:(t,e,r)=>{"use strict";var n=Date.prototype.getDay;var o=function tryDateGetDayCall(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object Date]";var u=r(9038)();t.exports=function isDateObject(t){if(typeof t!=="object"||t===null){return false}return u?o(t):a.call(t)===i}},8445:t=>{"use strict";var e=typeof Map==="function"&&Map.prototype?Map:null;var r=typeof Set==="function"&&Set.prototype?Set:null;var n;if(!e){n=function isMap(t){return false}}var o=e?Map.prototype.has:null;var a=r?Set.prototype.has:null;if(!n&&!o){n=function isMap(t){return false}}t.exports=n||function isMap(t){if(!t||typeof t!=="object"){return false}try{o.call(t);if(a){try{a.call(t)}catch(t){return true}}return t instanceof e}catch(t){}return false}},8550:(t,e,r)=>{"use strict";var n=Number.prototype.toString;var o=function tryNumberObject(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object Number]";var u=r(9038)();t.exports=function isNumberObject(t){if(typeof t==="number"){return true}if(typeof t!=="object"){return false}return u?o(t):a.call(t)===i}},6403:(t,e,r)=>{"use strict";var n=r(8803);var o=r(9038)();var a;var i;var u;var c;if(o){a=n("Object.prototype.hasOwnProperty");i=n("RegExp.prototype.exec");u={};var throwRegexMarker=function(){throw u};c={toString:throwRegexMarker,valueOf:throwRegexMarker};if(typeof Symbol.toPrimitive==="symbol"){c[Symbol.toPrimitive]=throwRegexMarker}}var l=n("Object.prototype.toString");var s=Object.getOwnPropertyDescriptor;var p="[object RegExp]";t.exports=o?function isRegex(t){if(!t||typeof t!=="object"){return false}var e=s(t,"lastIndex");var r=e&&a(e,"value");if(!r){return false}try{i(t,c)}catch(t){return t===u}}:function isRegex(t){if(!t||typeof t!=="object"&&typeof t!=="function"){return false}return l(t)===p}},2210:t=>{"use strict";var e=typeof Map==="function"&&Map.prototype?Map:null;var r=typeof Set==="function"&&Set.prototype?Set:null;var n;if(!r){n=function isSet(t){return false}}var o=e?Map.prototype.has:null;var a=r?Set.prototype.has:null;if(!n&&!a){n=function isSet(t){return false}}t.exports=n||function isSet(t){if(!t||typeof t!=="object"){return false}try{a.call(t);if(o){try{o.call(t)}catch(t){return true}}return t instanceof r}catch(t){}return false}},639:(t,e,r)=>{"use strict";var n=String.prototype.valueOf;var o=function tryStringObject(t){try{n.call(t);return true}catch(t){return false}};var a=Object.prototype.toString;var i="[object String]";var u=r(9038)();t.exports=function isString(t){if(typeof t==="string"){return true}if(typeof t!=="object"){return false}return u?o(t):a.call(t)===i}},6510:(t,e,r)=>{"use strict";var n=Object.prototype.toString;var o=r(587)();if(o){var a=Symbol.prototype.toString;var i=/^Symbol\(.*\)$/;var u=function isRealSymbolObject(t){if(typeof t.valueOf()!=="symbol"){return false}return i.test(a.call(t))};t.exports=function isSymbol(t){if(typeof t==="symbol"){return true}if(n.call(t)!=="[object Symbol]"){return false}try{return u(t)}catch(t){return false}}}else{t.exports=function isSymbol(t){return false&&0}}},4486:(t,e,r)=>{"use strict";var n=r(3710);var o=r(1527);var a=r(8803);var i=a("Object.prototype.toString");var u=r(9038)();var c=r(8501);var l=typeof globalThis==="undefined"?global:globalThis;var s=o();var p=a("Array.prototype.indexOf",true)||function indexOf(t,e){for(var r=0;r<t.length;r+=1){if(t[r]===e){return r}}return-1};var y=a("String.prototype.slice");var v={};var g=Object.getPrototypeOf;if(u&&c&&g){n(s,(function(t){var e=new l[t];if(Symbol.toStringTag in e){var r=g(e);var n=c(r,Symbol.toStringTag);if(!n){var o=g(r);n=c(o,Symbol.toStringTag)}v[t]=n.get}}))}var b=function tryAllTypedArrays(t){var e=false;n(v,(function(r,n){if(!e){try{e=r.call(t)===n}catch(t){}}}));return e};t.exports=function isTypedArray(t){if(!t||typeof t!=="object"){return false}if(!u||!(Symbol.toStringTag in t)){var e=y(i(t),8,-1);return p(s,e)>-1}if(!c){return false}return b(t)}},2801:t=>{"use strict";var e=typeof WeakMap==="function"&&WeakMap.prototype?WeakMap:null;var r=typeof WeakSet==="function"&&WeakSet.prototype?WeakSet:null;var n;if(!e){n=function isWeakMap(t){return false}}var o=e?e.prototype.has:null;var a=r?r.prototype.has:null;if(!n&&!o){n=function isWeakMap(t){return false}}t.exports=n||function isWeakMap(t){if(!t||typeof t!=="object"){return false}try{o.call(t,o);if(a){try{a.call(t,a)}catch(t){return true}}return t instanceof e}catch(t){}return false}},5268:(t,e,r)=>{"use strict";var n=r(4538);var o=r(8803);var a=n("%WeakSet%",true);var i=o("WeakSet.prototype.has",true);if(i){var u=o("WeakMap.prototype.has",true);t.exports=function isWeakSet(t){if(!t||typeof t!=="object"){return false}try{i(t,i);if(u){try{u(t,u)}catch(t){return true}}return t instanceof a}catch(t){}return false}}else{t.exports=function isWeakSet(t){return false}}},893:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return e.call(t)=="[object Array]"}},504:(t,e,r)=>{var n=typeof Map==="function"&&Map.prototype;var o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var a=n&&o&&typeof o.get==="function"?o.get:null;var i=n&&Map.prototype.forEach;var u=typeof Set==="function"&&Set.prototype;var c=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var l=u&&c&&typeof c.get==="function"?c.get:null;var s=u&&Set.prototype.forEach;var p=typeof WeakMap==="function"&&WeakMap.prototype;var y=p?WeakMap.prototype.has:null;var v=typeof WeakSet==="function"&&WeakSet.prototype;var g=v?WeakSet.prototype.has:null;var b=typeof WeakRef==="function"&&WeakRef.prototype;var d=b?WeakRef.prototype.deref:null;var h=Boolean.prototype.valueOf;var S=Object.prototype.toString;var m=Function.prototype.toString;var E=String.prototype.match;var _=String.prototype.slice;var O=String.prototype.replace;var T=String.prototype.toUpperCase;var j=String.prototype.toLowerCase;var A=RegExp.prototype.test;var I=Array.prototype.concat;var w=Array.prototype.join;var P=Array.prototype.slice;var x=Math.floor;var R=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var k=Object.getOwnPropertySymbols;var N=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var M=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var F=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M?"object":"symbol")?Symbol.toStringTag:null;var D=Object.prototype.propertyIsEnumerable;var L=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function addNumericSeparator(t,e){if(t===Infinity||t===-Infinity||t!==t||t&&t>-1e3&&t<1e3||A.call(/e/,e)){return e}var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t==="number"){var n=t<0?-x(-t):x(t);if(n!==t){var o=String(n);var a=_.call(e,o.length+1);return O.call(o,r,"$&_")+"."+O.call(O.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(e,r,"$&_")}var C=r(7265);var B=C.custom;var W=isSymbol(B)?B:null;t.exports=function inspect_(t,e,r,n){var o=e||{};if(has(o,"quoteStyle")&&(o.quoteStyle!=="single"&&o.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(o,"maxStringLength")&&(typeof o.maxStringLength==="number"?o.maxStringLength<0&&o.maxStringLength!==Infinity:o.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var u=has(o,"customInspect")?o.customInspect:true;if(typeof u!=="boolean"&&u!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(o,"indent")&&o.indent!==null&&o.indent!=="\t"&&!(parseInt(o.indent,10)===o.indent&&o.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(o,"numericSeparator")&&typeof o.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var c=o.numericSeparator;if(typeof t==="undefined"){return"undefined"}if(t===null){return"null"}if(typeof t==="boolean"){return t?"true":"false"}if(typeof t==="string"){return inspectString(t,o)}if(typeof t==="number"){if(t===0){return Infinity/t>0?"0":"-0"}var p=String(t);return c?addNumericSeparator(t,p):p}if(typeof t==="bigint"){var y=String(t)+"n";return c?addNumericSeparator(t,y):y}var v=typeof o.depth==="undefined"?5:o.depth;if(typeof r==="undefined"){r=0}if(r>=v&&v>0&&typeof t==="object"){return isArray(t)?"[Array]":"[Object]"}var g=getIndent(o,r);if(typeof n==="undefined"){n=[]}else if(indexOf(n,t)>=0){return"[Circular]"}function inspect(t,e,a){if(e){n=P.call(n);n.push(e)}if(a){var i={depth:o.depth};if(has(o,"quoteStyle")){i.quoteStyle=o.quoteStyle}return inspect_(t,i,r+1,n)}return inspect_(t,o,r+1,n)}if(typeof t==="function"&&!isRegExp(t)){var b=nameOf(t);var d=arrObjKeys(t,inspect);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(d.length>0?" { "+w.call(d,", ")+" }":"")}if(isSymbol(t)){var S=M?O.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return typeof t==="object"&&!M?markBoxed(S):S}if(isElement(t)){var m="<"+j.call(String(t.nodeName));var E=t.attributes||[];for(var T=0;T<E.length;T++){m+=" "+E[T].name+"="+wrapQuotes(quote(E[T].value),"double",o)}m+=">";if(t.childNodes&&t.childNodes.length){m+="..."}m+="</"+j.call(String(t.nodeName))+">";return m}if(isArray(t)){if(t.length===0){return"[]"}var A=arrObjKeys(t,inspect);if(g&&!singleLineValues(A)){return"["+indentedJoin(A,g)+"]"}return"[ "+w.call(A,", ")+" ]"}if(isError(t)){var x=arrObjKeys(t,inspect);if(!("cause"in Error.prototype)&&"cause"in t&&!D.call(t,"cause")){return"{ ["+String(t)+"] "+w.call(I.call("[cause]: "+inspect(t.cause),x),", ")+" }"}if(x.length===0){return"["+String(t)+"]"}return"{ ["+String(t)+"] "+w.call(x,", ")+" }"}if(typeof t==="object"&&u){if(W&&typeof t[W]==="function"&&C){return C(t,{depth:v-r})}else if(u!=="symbol"&&typeof t.inspect==="function"){return t.inspect()}}if(isMap(t)){var k=[];i.call(t,(function(e,r){k.push(inspect(r,t,true)+" => "+inspect(e,t))}));return collectionOf("Map",a.call(t),k,g)}if(isSet(t)){var B=[];s.call(t,(function(e){B.push(inspect(e,t))}));return collectionOf("Set",l.call(t),B,g)}if(isWeakMap(t)){return weakCollectionOf("WeakMap")}if(isWeakSet(t)){return weakCollectionOf("WeakSet")}if(isWeakRef(t)){return weakCollectionOf("WeakRef")}if(isNumber(t)){return markBoxed(inspect(Number(t)))}if(isBigInt(t)){return markBoxed(inspect(R.call(t)))}if(isBoolean(t)){return markBoxed(h.call(t))}if(isString(t)){return markBoxed(inspect(String(t)))}if(!isDate(t)&&!isRegExp(t)){var U=arrObjKeys(t,inspect);var q=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object;var Y=t instanceof Object?"":"null prototype";var G=!q&&F&&Object(t)===t&&F in t?_.call(toStr(t),8,-1):Y?"Object":"";var H=q||typeof t.constructor!=="function"?"":t.constructor.name?t.constructor.name+" ":"";var $=H+(G||Y?"["+w.call(I.call([],G||[],Y||[]),": ")+"] ":"");if(U.length===0){return $+"{}"}if(g){return $+"{"+indentedJoin(U,g)+"}"}return $+"{ "+w.call(U,", ")+" }"}return String(t)};function wrapQuotes(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function quote(t){return O.call(String(t),/"/g,""")}function isArray(t){return toStr(t)==="[object Array]"&&(!F||!(typeof t==="object"&&F in t))}function isDate(t){return toStr(t)==="[object Date]"&&(!F||!(typeof t==="object"&&F in t))}function isRegExp(t){return toStr(t)==="[object RegExp]"&&(!F||!(typeof t==="object"&&F in t))}function isError(t){return toStr(t)==="[object Error]"&&(!F||!(typeof t==="object"&&F in t))}function isString(t){return toStr(t)==="[object String]"&&(!F||!(typeof t==="object"&&F in t))}function isNumber(t){return toStr(t)==="[object Number]"&&(!F||!(typeof t==="object"&&F in t))}function isBoolean(t){return toStr(t)==="[object Boolean]"&&(!F||!(typeof t==="object"&&F in t))}function isSymbol(t){if(M){return t&&typeof t==="object"&&t instanceof Symbol}if(typeof t==="symbol"){return true}if(!t||typeof t!=="object"||!N){return false}try{N.call(t);return true}catch(t){}return false}function isBigInt(t){if(!t||typeof t!=="object"||!R){return false}try{R.call(t);return true}catch(t){}return false}var U=Object.prototype.hasOwnProperty||function(t){return t in this};function has(t,e){return U.call(t,e)}function toStr(t){return S.call(t)}function nameOf(t){if(t.name){return t.name}var e=E.call(m.call(t),/^function\s*([\w$]+)/);if(e){return e[1]}return null}function indexOf(t,e){if(t.indexOf){return t.indexOf(e)}for(var r=0,n=t.length;r<n;r++){if(t[r]===e){return r}}return-1}function isMap(t){if(!a||!t||typeof t!=="object"){return false}try{a.call(t);try{l.call(t)}catch(t){return true}return t instanceof Map}catch(t){}return false}function isWeakMap(t){if(!y||!t||typeof t!=="object"){return false}try{y.call(t,y);try{g.call(t,g)}catch(t){return true}return t instanceof WeakMap}catch(t){}return false}function isWeakRef(t){if(!d||!t||typeof t!=="object"){return false}try{d.call(t);return true}catch(t){}return false}function isSet(t){if(!l||!t||typeof t!=="object"){return false}try{l.call(t);try{a.call(t)}catch(t){return true}return t instanceof Set}catch(t){}return false}function isWeakSet(t){if(!g||!t||typeof t!=="object"){return false}try{g.call(t,g);try{y.call(t,y)}catch(t){return true}return t instanceof WeakSet}catch(t){}return false}function isElement(t){if(!t||typeof t!=="object"){return false}if(typeof HTMLElement!=="undefined"&&t instanceof HTMLElement){return true}return typeof t.nodeName==="string"&&typeof t.getAttribute==="function"}function inspectString(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength;var n="... "+r+" more character"+(r>1?"s":"");return inspectString(_.call(t,0,e.maxStringLength),e)+n}var o=O.call(O.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(o,"single",e)}function lowbyte(t){var e=t.charCodeAt(0);var r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];if(r){return"\\"+r}return"\\x"+(e<16?"0":"")+T.call(e.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,e,r,n){var o=n?indentedJoin(r,n):w.call(r,", ");return t+" ("+e+") {"+o+"}"}function singleLineValues(t){for(var e=0;e<t.length;e++){if(indexOf(t[e],"\n")>=0){return false}}return true}function getIndent(t,e){var r;if(t.indent==="\t"){r="\t"}else if(typeof t.indent==="number"&&t.indent>0){r=w.call(Array(t.indent+1)," ")}else{return null}return{base:r,prev:w.call(Array(e+1),r)}}function indentedJoin(t,e){if(t.length===0){return""}var r="\n"+e.prev+e.base;return r+w.call(t,","+r)+"\n"+e.prev}function arrObjKeys(t,e){var r=isArray(t);var n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++){n[o]=has(t,o)?e(t[o],t):""}}var a=typeof k==="function"?k(t):[];var i;if(M){i={};for(var u=0;u<a.length;u++){i["$"+a[u]]=a[u]}}for(var c in t){if(!has(t,c)){continue}if(r&&String(Number(c))===c&&c<t.length){continue}if(M&&i["$"+c]instanceof Symbol){continue}else if(A.call(/[^\w$]/,c)){n.push(e(c,t)+": "+e(t[c],t))}else{n.push(c+": "+e(t[c],t))}}if(typeof k==="function"){for(var l=0;l<a.length;l++){if(D.call(t,a[l])){n.push("["+e(a[l])+"]: "+e(t[a[l]],t))}}}return n}},7265:(t,e,r)=>{t.exports=r(3837).inspect},5545:t=>{"use strict";var numberIsNaN=function(t){return t!==t};t.exports=function is(t,e){if(t===0&&e===0){return 1/t===1/e}if(t===e){return true}if(numberIsNaN(t)&&numberIsNaN(e)){return true}return false}},8653:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(5545);var i=r(7377);var u=r(973);var c=o(i(),Object);n(c,{getPolyfill:i,implementation:a,shim:u});t.exports=c},7377:(t,e,r)=>{"use strict";var n=r(5545);t.exports=function getPolyfill(){return typeof Object.is==="function"?Object.is:n}},973:(t,e,r)=>{"use strict";var n=r(7377);var o=r(9234);t.exports=function shimObjectIs(){var t=n();o(Object,{is:t},{is:function testObjectIs(){return Object.is!==t}});return t}},8435:(t,e,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;var i=r(6362);var u=Object.prototype.propertyIsEnumerable;var c=!u.call({toString:null},"toString");var l=u.call((function(){}),"prototype");var s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var equalsConstructorPrototype=function(t){var e=t.constructor;return e&&e.prototype===t};var p={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true};var y=function(){if(typeof window==="undefined"){return false}for(var t in window){try{if(!p["$"+t]&&o.call(window,t)&&window[t]!==null&&typeof window[t]==="object"){try{equalsConstructorPrototype(window[t])}catch(t){return true}}}catch(t){return true}}return false}();var equalsConstructorPrototypeIfNotBuggy=function(t){if(typeof window==="undefined"||!y){return equalsConstructorPrototype(t)}try{return equalsConstructorPrototype(t)}catch(t){return false}};n=function keys(t){var e=t!==null&&typeof t==="object";var r=a.call(t)==="[object Function]";var n=i(t);var u=e&&a.call(t)==="[object String]";var p=[];if(!e&&!r&&!n){throw new TypeError("Object.keys called on a non-object")}var y=l&&r;if(u&&t.length>0&&!o.call(t,0)){for(var v=0;v<t.length;++v){p.push(String(v))}}if(n&&t.length>0){for(var g=0;g<t.length;++g){p.push(String(g))}}else{for(var b in t){if(!(y&&b==="prototype")&&o.call(t,b)){p.push(String(b))}}}if(c){var d=equalsConstructorPrototypeIfNotBuggy(t);for(var h=0;h<s.length;++h){if(!(d&&s[h]==="constructor")&&o.call(t,s[h])){p.push(s[h])}}}return p}}t.exports=n},137:(t,e,r)=>{"use strict";var n=Array.prototype.slice;var o=r(6362);var a=Object.keys;var i=a?function keys(t){return a(t)}:r(8435);var u=Object.keys;i.shim=function shimObjectKeys(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);if(!t){Object.keys=function keys(t){if(o(t)){return u(n.call(t))}return u(t)}}}else{Object.keys=i}return Object.keys||i};t.exports=i},6362:t=>{"use strict";var e=Object.prototype.toString;t.exports=function isArguments(t){var r=e.call(t);var n=r==="[object Arguments]";if(!n){n=r!=="[object Array]"&&t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&e.call(t.callee)==="[object Function]"}return n}},2818:(t,e,r)=>{"use strict";var n=r(137);var o=r(7747)();var a=r(8803);var i=Object;var u=a("Array.prototype.push");var c=a("Object.prototype.propertyIsEnumerable");var l=o?Object.getOwnPropertySymbols:null;t.exports=function assign(t,e){if(t==null){throw new TypeError("target must be an object")}var r=i(t);if(arguments.length===1){return r}for(var a=1;a<arguments.length;++a){var s=i(arguments[a]);var p=n(s);var y=o&&(Object.getOwnPropertySymbols||l);if(y){var v=y(s);for(var g=0;g<v.length;++g){var b=v[g];if(c(s,b)){u(p,b)}}}for(var d=0;d<p.length;++d){var h=p[d];if(c(s,h)){var S=s[h];r[h]=S}}}return r}},1690:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(2818);var i=r(6619);var u=r(3249);var c=o.apply(i());var l=function assign(t,e){return c(Object,arguments)};n(l,{getPolyfill:i,implementation:a,shim:u});t.exports=l},6619:(t,e,r)=>{"use strict";var n=r(2818);var lacksProperEnumerationOrder=function(){if(!Object.assign){return false}var t="abcdefghijklmnopqrst";var e=t.split("");var r={};for(var n=0;n<e.length;++n){r[e[n]]=e[n]}var o=Object.assign({},r);var a="";for(var i in o){a+=i}return t!==a};var assignHasPendingExceptions=function(){if(!Object.assign||!Object.preventExtensions){return false}var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return t[1]==="y"}return false};t.exports=function getPolyfill(){if(!Object.assign){return n}if(lacksProperEnumerationOrder()){return n}if(assignHasPendingExceptions()){return n}return Object.assign}},3249:(t,e,r)=>{"use strict";var n=r(9234);var o=r(6619);t.exports=function shimAssign(){var t=o();n(Object,{assign:t},{assign:function(){return Object.assign!==t}});return t}},2687:(t,e,r)=>{"use strict";var n=r(9019).functionsHaveConfigurableNames();var o=Object;var a=TypeError;t.exports=function flags(){if(this!=null&&this!==o(this)){throw new a("RegExp.prototype.flags getter called on non-object")}var t="";if(this.hasIndices){t+="d"}if(this.global){t+="g"}if(this.ignoreCase){t+="i"}if(this.multiline){t+="m"}if(this.dotAll){t+="s"}if(this.unicode){t+="u"}if(this.sticky){t+="y"}return t};if(n&&Object.defineProperty){Object.defineProperty(t.exports,"name",{value:"get flags"})}},8608:(t,e,r)=>{"use strict";var n=r(9234);var o=r(2977);var a=r(2687);var i=r(8655);var u=r(9330);var c=o(i());n(c,{getPolyfill:i,implementation:a,shim:u});t.exports=c},8655:(t,e,r)=>{"use strict";var n=r(2687);var o=r(9234).supportsDescriptors;var a=Object.getOwnPropertyDescriptor;t.exports=function getPolyfill(){if(o&&/a/gim.flags==="gim"){var t=a(RegExp.prototype,"flags");if(t&&typeof t.get==="function"&&typeof RegExp.prototype.dotAll==="boolean"&&typeof RegExp.prototype.hasIndices==="boolean"){var e="";var r={};Object.defineProperty(r,"hasIndices",{get:function(){e+="d"}});Object.defineProperty(r,"sticky",{get:function(){e+="y"}});if(e==="dy"){return t.get}}}return n}},9330:(t,e,r)=>{"use strict";var n=r(9234).supportsDescriptors;var o=r(8655);var a=Object.getOwnPropertyDescriptor;var i=Object.defineProperty;var u=TypeError;var c=Object.getPrototypeOf;var l=/a/;t.exports=function shimFlags(){if(!n||!c){throw new u("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors")}var t=o();var e=c(l);var r=a(e,"flags");if(!r||r.get!==t){i(e,"flags",{configurable:true,enumerable:false,get:t})}return t}},4334:(t,e,r)=>{"use strict";var n=r(4538);var o=r(8803);var a=r(504);var i=n("%TypeError%");var u=n("%WeakMap%",true);var c=n("%Map%",true);var l=o("WeakMap.prototype.get",true);var s=o("WeakMap.prototype.set",true);var p=o("WeakMap.prototype.has",true);var y=o("Map.prototype.get",true);var v=o("Map.prototype.set",true);var g=o("Map.prototype.has",true);var listGetNode=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n){if(n.key===e){r.next=n.next;n.next=t.next;t.next=n;return n}}};var listGet=function(t,e){var r=listGetNode(t,e);return r&&r.value};var listSet=function(t,e,r){var n=listGetNode(t,e);if(n){n.value=r}else{t.next={key:e,next:t.next,value:r}}};var listHas=function(t,e){return!!listGetNode(t,e)};t.exports=function getSideChannel(){var t;var e;var r;var n={assert:function(t){if(!n.has(t)){throw new i("Side channel does not contain "+a(t))}},get:function(n){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(t){return l(t,n)}}else if(c){if(e){return y(e,n)}}else{if(r){return listGet(r,n)}}},has:function(n){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(t){return p(t,n)}}else if(c){if(e){return g(e,n)}}else{if(r){return listHas(r,n)}}return false},set:function(n,o){if(u&&n&&(typeof n==="object"||typeof n==="function")){if(!t){t=new u}s(t,n,o)}else if(c){if(!e){e=new c}v(e,n,o)}else{if(!r){r={key:{},next:null}}listSet(r,n,o)}}};return n}},6596:(t,e,r)=>{"use strict";var n=r(639);var o=r(8550);var a=r(7306);var i=r(6510);var u=r(6544);t.exports=function whichBoxedPrimitive(t){if(t==null||typeof t!=="object"&&typeof t!=="function"){return null}if(n(t)){return"String"}if(o(t)){return"Number"}if(a(t)){return"Boolean"}if(i(t)){return"Symbol"}if(u(t)){return"BigInt"}}},1257:(t,e,r)=>{"use strict";var n=r(3710);var o=r(1527);var a=r(8803);var i=r(8501);var u=a("Object.prototype.toString");var c=r(9038)();var l=typeof globalThis==="undefined"?global:globalThis;var s=o();var p=a("String.prototype.slice");var y={};var v=Object.getPrototypeOf;if(c&&i&&v){n(s,(function(t){if(typeof l[t]==="function"){var e=new l[t];if(Symbol.toStringTag in e){var r=v(e);var n=i(r,Symbol.toStringTag);if(!n){var o=v(r);n=i(o,Symbol.toStringTag)}y[t]=n.get}}}))}var g=function tryAllTypedArrays(t){var e=false;n(y,(function(r,n){if(!e){try{var o=r.call(t);if(o===n){e=o}}catch(t){}}}));return e};var b=r(4486);t.exports=function whichTypedArray(t){if(!b(t)){return false}if(!c||!(Symbol.toStringTag in t)){return p(u(t),8,-1)}return g(t)}},3837:t=>{"use strict";t.exports=require("util")},1527:t=>{"use strict";var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"];var r=typeof globalThis==="undefined"?global:globalThis;t.exports=function availableTypedArrays(){var t=[];for(var n=0;n<e.length;n++){if(typeof r[e[n]]==="function"){t[t.length]=e[n]}}return t}},7204:t=>{"use strict";var e=Symbol.iterator;t.exports=function getIterator(t){if(t!=null&&typeof t[e]!=="undefined"){return t[e]()}}},5735:(t,e,r)=>{"use strict";var n=r(8445);var o=r(2210);var a=r(2801);var i=r(5268);t.exports=function whichCollection(t){if(t&&typeof t==="object"){if(n(t)){return"Map"}if(o(t)){return"Set"}if(a(t)){return"WeakMap"}if(i(t)){return"WeakSet"}}return false}}};var e={};function __nccwpck_require__(r){var n=e[r];if(n!==undefined){return n.exports}var o=e[r]={exports:{}};var a=true;try{t[r](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete e[r]}return o.exports}(()=>{__nccwpck_require__.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;__nccwpck_require__.d(e,{a:e});return e}})();(()=>{__nccwpck_require__.d=(t,e)=>{for(var r in e){if(__nccwpck_require__.o(e,r)&&!__nccwpck_require__.o(t,r)){Object.defineProperty(t,r,{enumerable:true,get:e[r]})}}}})();(()=>{__nccwpck_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{"use strict";__nccwpck_require__.r(r);__nccwpck_require__.d(r,{default:()=>Watcher});const t=require("events");var e=__nccwpck_require__(8874);function getCookie(t,e){return t.document.cookie.split("; ").reduce(((t,r)=>{const n=r.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),"")}function setCookie(t,e,r,n){const o=n||1;const a=new Date(Date.now()+o*864e5).toUTCString();const i=t.document.location.hostname.split(".");const u=`${e}=${encodeURIComponent(r)}; expires=${a}; path=/; SameSite=None; Secure`;for(let r=2;r<=i.length;r++){t.document.cookie=`${u}; domain=${i.slice(-1*r).join(".")}`;const n=t.document.cookie.split("; ").reduce(((t,r)=>{const n=r.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),"");if(n){return}}t.document.cookie=u}var n=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function cookieFetcher(t,e){return n(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}const r=getCookie(t,e);if(!r||r==="0"){return[]}return[r]}))}var o=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function dataLayerFetcher(t,e){return o(this,void 0,void 0,(function*(){if(!t||!t.dataLayer||e.length===0){return[]}let r=[];for(const n of t.dataLayer){if(Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];if(t&&t!=="0"){r=r.concat(t)}}}return r}))}var a=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function windowFetcher(t,e){return a(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}try{const r=getProperty(t,e);if(!r||r==="0"){return[]}return[r]}catch(t){return[]}}))}function getProperty(t,e){const r=e.split(".");let n=t;let o=null;while(r.length>0){if(r[0]==="window"){r.shift()}else if(typeof n==="object"){if(r[0].slice(-2)==="()"){o=n;n=n[r[0].slice(0,-2)]}else{o=n;n=n[r.shift()]}}else if(typeof n==="function"){const t=n.call(o);o=n;n=t;r.shift()}else{return null}}if(n&&typeof n!=="string"){n=n.toString();if(n.startsWith("[object")){return""}}return n}var i=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function fetcher(t){return function storageFetcher(e,r){return i(this,void 0,void 0,(function*(){if(!e||r.length===0){return[]}try{const n=t==="localStorage"?e.localStorage:e.sessionStorage;const o=n.getItem(r);if(!o||o==="0"){return[]}return[o]}catch(t){return[]}}))}}const u=fetcher("localStorage");const c=fetcher("sessionStorage");var l=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};function queryStringFetcher(t,e){return l(this,void 0,void 0,(function*(){if(!t||!t.location||t.location.search.length===0||e.length===0){return[]}return new URLSearchParams(t.location.search).getAll(e).filter((t=>t!=="0"))}))}function queryStringStructure(t){const e={};for(const[r,n]of new URLSearchParams(t).entries()){e[r]=n}return e}var s=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};const p=730;function managedFetcher(t,e){return s(this,void 0,void 0,(function*(){if(!t||e.length===0){return[]}e="_swb";let r=getCookie(t,e);if(r){return[r]}setCookie(t,e,"",p);r=getCookie(t,e);if(r){return[r]}return[]}))}function stringStructure(t){return{value:t}}function jsonStructure(t){return JSON.parse(t)}function jwtStructure(t){const e=t;const r=e.split(".");const n=r[1];const o=Buffer.from(n,"base64").toString();return JSON.parse(o)}function semicolonStructure(t){const e=t.split(";").map((t=>t.trim().split("=")));const r={};for(const[t,n]of e){r[decodeURIComponent(t)]=decodeURIComponent(n)}return r}var y=__nccwpck_require__(3414);var v=__nccwpck_require__.n(y);var g=undefined&&undefined.__awaiter||function(t,e,r,n){function adopt(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(t){try{step(n.next(t))}catch(t){o(t)}}function rejected(t){try{step(n["throw"](t))}catch(t){o(t)}}function step(t){t.done?r(t.value):adopt(t.value).then(fulfilled,rejected)}step((n=n.apply(t,e||[])).next())}))};class Watcher extends t.EventEmitter{constructor(t,e){super();this._w=t;this._listenerOptions=e||{};this._fetchers=new Map;this._identities={}}add(t,r){let n;switch(r.format){case e.IdentityFormat.IDENTITY_FORMAT_JSON:n=jsonStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_JWT:n=jwtStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_QUERY:n=queryStringStructure;break;case e.IdentityFormat.IDENTITY_FORMAT_SEMICOLON:n=semicolonStructure;break;default:n=stringStructure}const o=r.key||"value";switch(r.type){case e.IdentityType.IDENTITY_TYPE_COOKIE:this._fetchers.set(t,(t=>cookieFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_DATA_LAYER:this._fetchers.set(t,(t=>dataLayerFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_WINDOW:this._fetchers.set(t,(t=>windowFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_LOCAL_STORAGE:this._fetchers.set(t,(t=>u(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_SESSION_STORAGE:this._fetchers.set(t,(t=>c(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_QUERY_STRING:this._fetchers.set(t,(t=>queryStringFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;case e.IdentityType.IDENTITY_TYPE_MANAGED:this._fetchers.set(t,(t=>managedFetcher(t,r.variable).then((t=>t.map(n).map((t=>t[o]))))));break;default:throw new Error(`unsupported identity type ${r.type} for ${t}`)}}start(){return g(this,void 0,void 0,(function*(){if(this._intervalId){return}if(this._listenerOptions.interval){this._intervalId=this._w.setInterval(this.notify.bind(this),this._listenerOptions.interval);if(this._listenerOptions.timeout){this._w.setTimeout(this.stop.bind(this),this._listenerOptions.timeout)}}return this.notify()}))}stop(){if(!this._intervalId){return}this._w.clearInterval(this._intervalId);this._intervalId=undefined}notify(){return g(this,void 0,void 0,(function*(){const t={};for(const[e,r]of this._fetchers.entries()){const n=yield r(this._w);for(const r of n){t[e]=r}}if(!v()(t,this._identities)){this.emit("identity",t);this._identities=t}}))}addListener(t,e){super.addListener(t,e);return this}on(t,e){super.on(t,e);return this}once(t,e){super.once(t,e);return this}removeListener(t,e){super.removeListener(t,e);return this}off(t,e){super.off(t,e);return this}removeAllListeners(t){super.removeAllListeners(t);return this}}})();module.exports=r})();
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@ketch-sdk/ketch-data-layer", "version": "0.0.
|
|
1
|
+
{"name": "@ketch-sdk/ketch-data-layer", "version": "0.0.3", "description": "Ketch Data Layer interface", "main": "dist/index.js", "scripts": {"build": "ncc build --minify --license licenses.txt src/index.ts", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "docs": "typedoc --githubPages true --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-data-layer.git"}, "homepage": "https://github.com/ketch-sdk/ketch-data-layer", "bugs": {"url": "https://github.com/ketch-sdk/ketch-data-layer/issues"}, "keywords": ["Ketch", "dataLayer"], "author": "Ketch Kloud, Inc.", "license": "MIT", "devDependencies": {"@ketch-sdk/ketch-types": "^1.1.0", "@types/deep-equal": "^1.0.1", "@types/events": "^3.0.0", "@types/jest": "^29.2.2", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", "@vercel/ncc": "^0.34.0", "eslint": "^8.26.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.3", "eslint-plugin-prettier": "^4.2.1", "events": "^3.3.0", "jest": "^29.2.2", "jest-environment-jsdom": "^29.2.2", "jest-junit": "^14.0.1", "js-yaml": "^4.1.0", "prettier": "^2.7.1", "ts-jest": "^29.0.3", "typedoc": "^0.23.20", "typescript": "^4.8.4"}, "dependencies": {"deep-equal": "^2.1.0"}, "files": ["dist/"]}
|