@locker/shared
Advanced tools
Comparing version 0.18.3 to 0.18.4
@@ -219,3 +219,11 @@ /*! | ||
} = Boolean.prototype; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const ERR_INVALID_SANDBOX_KEY$LWS = 'Invalid sandbox key.'; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
const LOCKER_SERVICE_KEY$LWS = 'LSKey'; | ||
const LOCKER_SERVICE_KEY_LOWERED$LWS = 'lskey'; // This package is bundled by third-parties that have their own build time | ||
// replacement logic. Instead of customizing each build system to be aware | ||
@@ -232,7 +240,6 @@ // of this package we implement a two phase debug mode by performing small | ||
1}`.includes(LOCKER_IDENTIFIER_MARKER$LWS); | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const SANDBOX_EVAL_CONTEXT_NAME$LWS = '$lockerEvalContext$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; // Legacy symbol used by packages/locker-core-engine/src/LockerFilter.js. | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
const TO_STRING_BRAND_ARRAY$LWS = '[object Array]'; | ||
@@ -266,3 +273,16 @@ const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]'; | ||
} = DateCtor$LWS.prototype; | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
const { | ||
bind: FunctionProtoBind$LWS, | ||
@@ -275,2 +295,28 @@ toString: FunctionProtoToString$LWS | ||
function proxyMaskFunction$LWS(func$LWS, maskFunc$LWS) { | ||
const proxy$LWS = new ProxyCtor$LWS(maskFunc$LWS, { | ||
apply(_target$LWS, thisArg$LWS, args$LWS) { | ||
if (thisArg$LWS === proxy$LWS || thisArg$LWS === maskFunc$LWS) { | ||
thisArg$LWS = func$LWS; | ||
} | ||
return ReflectApply$LWS(func$LWS, thisArg$LWS, args$LWS); | ||
}, | ||
construct(_target$LWS, args$LWS, newTarget$LWS) { | ||
if (newTarget$LWS === proxy$LWS || newTarget$LWS === maskFunc$LWS) { | ||
newTarget$LWS = func$LWS; | ||
} | ||
return ReflectConstruct$LWS(func$LWS, args$LWS, newTarget$LWS); | ||
} | ||
}); | ||
return proxy$LWS; | ||
} | ||
function identity$LWS(value$LWS) { | ||
return value$LWS; | ||
} | ||
const MapCtor$LWS = Map; | ||
@@ -817,4 +863,2 @@ const { | ||
} = JSON; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
@@ -1191,6 +1235,4 @@ function getNearMembraneSerializedValue$LWS(object$LWS) { | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); // This is used by packages/locker-core-engine/src/LockerFilter.js | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
function isTargetLive$LWS(target$LWS, targetTraits$LWS = 0 | ||
@@ -1313,21 +1355,27 @@ /* TargetTraits.None */ | ||
} = Math; | ||
const PREFIX_HEAD$LWS = 'LSKey-'; | ||
const PREFIX_TAIL$LWS = '$'; | ||
const NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}-`; | ||
const NS_TAIL$LWS = '$'; | ||
const STORAGE_NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}[`; | ||
const STORAGE_NS_TAIL$LWS = ']'; | ||
function getNamespacePrefix$LWS(namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
function getNamespaceMarker$LWS(namespace$LWS) { | ||
return `${NS_HEAD$LWS}${namespace$LWS}${NS_TAIL$LWS}`; | ||
} | ||
function isNamespacePrefixed$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [`${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`]); | ||
function getStorageNamespaceMarker$LWS(namespace$LWS) { | ||
return `${STORAGE_NS_HEAD$LWS}${namespace$LWS}${STORAGE_NS_TAIL$LWS}`; | ||
} | ||
function prefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}${key$LWS}`; | ||
function prependNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function unprefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
function prependStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getStorageNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function removeNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const prefix$LWS = `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [prefix$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [prefix$LWS.length]) : key$LWS; | ||
const marker$LWS = getNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
@@ -1338,2 +1386,19 @@ | ||
function removeStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const marker$LWS = getStorageNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
return ''; | ||
} | ||
function startsWithNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
function startsWithStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getStorageNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
const PromiseCtor$LWS = Promise; | ||
@@ -1346,15 +1411,2 @@ const { | ||
const PromiseReject$LWS = PromiseCtor$LWS.reject.bind(PromiseCtor$LWS); | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
exports.ArrayBufferIsView = ArrayBufferIsView$LWS; | ||
@@ -1382,2 +1434,3 @@ exports.ArrayBufferProtoByteLengthGetter = ArrayBufferProtoByteLengthGetter$LWS; | ||
exports.DateProtoValueOf = DateProtoValueOf$LWS; | ||
exports.ERR_INVALID_SANDBOX_KEY = ERR_INVALID_SANDBOX_KEY$LWS; | ||
exports.ErrorCtor = ErrorCtor$LWS; | ||
@@ -1389,2 +1442,6 @@ exports.FunctionProtoBind = FunctionProtoBind$LWS; | ||
exports.LOCKER_IDENTIFIER_MARKER = LOCKER_IDENTIFIER_MARKER$LWS; | ||
exports.LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL = LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS; | ||
exports.LOCKER_NEAR_MEMBRANE_SYMBOL = LOCKER_NEAR_MEMBRANE_SYMBOL$LWS; | ||
exports.LOCKER_SERVICE_KEY = LOCKER_SERVICE_KEY$LWS; | ||
exports.LOCKER_SERVICE_KEY_LOWERED = LOCKER_SERVICE_KEY_LOWERED$LWS; | ||
exports.LOCKER_UNMINIFIED_FLAG = LOCKER_UNMINIFIED_FLAG$LWS; | ||
@@ -1498,8 +1555,9 @@ exports.LockerSecurityError = LockerSecurityError$LWS; | ||
exports.getBrand = getBrand$LWS; | ||
exports.getNamespacePrefix = getNamespacePrefix$LWS; | ||
exports.getNamespaceMarker = getNamespaceMarker$LWS; | ||
exports.getNearMembraneSerializedValue = getNearMembraneSerializedValue$LWS; | ||
exports.getStorageNamespaceMarker = getStorageNamespaceMarker$LWS; | ||
exports.getTimestamp = getTimestamp$LWS; | ||
exports.identity = identity$LWS; | ||
exports.indexOfPragma = indexOfPragma$LWS; | ||
exports.isConvertibleToString = isConvertibleToString$LWS; | ||
exports.isNamespacePrefixed = isNamespacePrefixed$LWS; | ||
exports.isNearMembrane = isNearMembrane$LWS; | ||
@@ -1512,5 +1570,11 @@ exports.isObject = isObject$LWS; | ||
exports.partialStructuredClone = partialStructuredClone$LWS; | ||
exports.prefixNamespace = prefixNamespace$LWS; | ||
exports.prependNamespaceMarker = prependNamespaceMarker$LWS; | ||
exports.prependStorageNamespaceMarker = prependStorageNamespaceMarker$LWS; | ||
exports.proxyMaskFunction = proxyMaskFunction$LWS; | ||
exports.removeNamespaceMarker = removeNamespaceMarker$LWS; | ||
exports.removeStorageNamespaceMarker = removeStorageNamespaceMarker$LWS; | ||
exports.shallowCloneArray = shallowCloneArray$LWS; | ||
exports.shallowCloneOptions = shallowCloneOptions$LWS; | ||
exports.startsWithNamespaceMarker = startsWithNamespaceMarker$LWS; | ||
exports.startsWithStorageNamespaceMarker = startsWithStorageNamespaceMarker$LWS; | ||
exports.toSafeArray = toSafeArray$LWS; | ||
@@ -1524,3 +1588,2 @@ exports.toSafeMap = toSafeMap$LWS; | ||
exports.trackTargetAsLive = trackTargetAsLive$LWS; | ||
exports.unprefixNamespace = unprefixNamespace$LWS; | ||
/*! version: 0.18.3 */ | ||
/*! version: 0.18.4 */ |
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
*/ | ||
var e;Object.defineProperty(exports,"__esModule",{value:!0});const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:s,getOwnPropertyDescriptor:c,getPrototypeOf:i,has:p,ownKeys:a,set:u,setPrototypeOf:l}=Reflect,f=Object,{assign:x,freeze:y,defineProperties:b,getOwnPropertyDescriptors:S,getOwnPropertySymbols:_,keys:g,preventExtensions:d,prototype:O}=f,{hasOwn:h}=f,{__lookupGetter__:P,__lookupSetter__:R,hasOwnProperty:N}=O,{toString:j}=O;const A="function"==typeof h?h:function(e,r){return t(N,e,[r])};function T(e,r){return null!=e&&A(e,r)?t(P,e,[r]):void 0}const E=Symbol,{asyncIterator:I,for:m,iterator:v,toStringTag:B,unscopables:L}=E,{toString:k,valueOf:D}=E.prototype,M=Array,{prototype:C}=M,{at:G,concat:w,copyWithin:W,entries:$,every:F,fill:U,findIndex:V,flat:z,flatMap:K,forEach:H,keys:J,lastIndexOf:X,map:Y,pop:Q,reduce:q,reduceRight:Z,reverse:ee,some:te,splice:re,toLocaleString:oe,toString:ne,values:se,[v]:ce}=C,ie=y(x({__proto__:null},C[L])),{includes:pe,sort:ae,unshift:ue}=C,{filter:le,find:fe,indexOf:xe,join:ye,push:be,shift:Se,slice:_e}=C,{isArray:ge}=M;const de=ArrayBuffer,{isView:Oe}=de,he=T(de.prototype,"byteLength"),Pe="function"==typeof BigInt,Re=Pe?BigInt.prototype.valueOf:void 0,{valueOf:Ne}=Boolean.prototype,je=`${()=>1}`.includes("$LWS"),Ae=Date,{now:Te}=Ae,{valueOf:Ee}=Ae.prototype,{bind:Ie,toString:me}=Function.prototype;const ve=Map,{prototype:Be}=ve,{clear:Le,delete:ke,forEach:De,get:Me,has:Ce,keys:Ge,values:we,[v]:We,[B]:$e}=Be,{entries:Fe,set:Ue}=Be,Ve=T(Be,"size");function ze(e){return l(e,null),e.clear=Le,e.delete=ke,e.entries=Fe,e.forEach=De,e.get=Me,e.has=Ce,e.keys=Ge,e.set=Ue,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Ve,set:void 0}),e.values=we,e[v]=We,e[B]=$e,l(e,Be),e}const Ke=Number,{isFinite:He,isInteger:Je}=Ke,{toFixed:Xe,valueOf:Ye}=Ke.prototype,Qe=String,{prototype:qe}=Qe,{endsWith:Ze,includes:et,indexOf:tt,match:rt,replace:ot,slice:nt,split:st,startsWith:ct,toLowerCase:it,toUpperCase:pt,valueOf:at}=qe,ut={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},lt="function"==typeof URL?URL:void 0,ft=null==lt||null==(e=lt.prototype)?void 0:e.toString,xt=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;const yt=RegExp,{prototype:bt}=yt,{exec:St,test:_t}=bt,gt=T(bt,"source"),dt=/[\\^$.*+?()[\]{}|]/g;const Ot=Set,{prototype:ht}=Ot,{clear:Pt,delete:Rt,entries:Nt,forEach:jt,has:At,keys:Tt,[v]:Et,[B]:It}=ht,{add:mt,values:vt}=ht,Bt=T(ht,"size");const Lt=WeakMap,{prototype:kt}=Lt,{has:Dt}=kt,{delete:Mt,get:Ct,set:Gt,[B]:wt}=kt;const Wt=WeakSet,{prototype:$t}=Wt,{has:Ft}=$t,{add:Ut,delete:Vt,[B]:zt}=$t;function Kt(e){return l(e,null),e.add=Ut,e.delete=Vt,e.has=Ft,e[B]=zt,l(e,$t),e}const{toStringTag:Ht}=Symbol,Jt=/[(`.[+\-/*%<>=,?^&]/,Xt=/\r\n?|\n|\u2028|\u2029/,Yt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function qt(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return ge(e)?"[object Array]":Ht in e?function(e){try{if("byteLength"in e)return t(he,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(Ee,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(Ve,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(Bt,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Dt,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Ft,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(Ye,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(D,e,[]),"[object Symbol]"}catch(e){}try{if(A(e,"lastIndex"))return t(gt,e,[]),"[object RegExp]"}catch(e){}try{if(A(e,"length"))return t(at,e,[]),"[object String]"}catch(e){}try{return t(Ne,e,[]),"[object Boolean]"}catch(e){}if(Pe)try{return t(Re,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(j,e,[])}const Zt="undefined"==typeof performance?Te:t(Ie,performance.now,[performance]);const{parse:er}=JSON,{stringify:tr}=JSON,rr=m("@@lockerNearMembraneSerializedValue"),or=m("@@lockerNearMembrane");function nr(e){return rr in e?void 0:e[rr]}function sr(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(or in e)&&!0===e[or])}const cr=ze(new ve);function ir(e,r){const o=new ve,n=t(Fe,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;const{0:i,1:p}=c;let a;r[s++]=[e=>{a=e},i],r[s++]=[e=>{t(Ue,o,[a,e])},p]}return o}function pr(e){const{flags:t,source:r}=er(nr(e));return new yt(r,t)}function ar(e,r){const o=new Ot,n=t(vt,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;r[s++]=[e=>{t(mt,o,[e])},c]}return o}function ur(e,t,r){const o=g(t);let{length:n}=e;for(let s=0,{length:c}=o;s<c;s+=1){const c=o[s],i=t[c];e[n++]=[e=>{r[c]=e},i]}}const lr=console,{warn:fr}=lr;const xr=Error,yr=TypeError;class br extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const Sr=Kt(new Wt),_r=m("@@lockerLiveValue");function gr(e,r=0){if(1&r||2&r||64&r||null==e||e===O||e===bt)return!1;if("function"==typeof e){try{return Sr.has(e)||A(e,_r)}catch(e){}return!1}if("object"==typeof e){try{if(Sr.has(e)||A(e,_r))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===f)return!0}catch(e){}try{if(null===i(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(ge(e))return!0}catch(e){return!1}if(Oe(e))return!0}try{if(A(e,"lastIndex"))return t(gt,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(he,e,[]),!0}catch(e){}}return!1}const{min:dr}=Math;const Or=Promise,{catch:hr,then:Pr}=Or.prototype,Rr=Or.resolve.bind(Or),Nr=Or.reject.bind(Or),jr=Proxy,{revocable:Ar}=jr;exports.ArrayBufferIsView=Oe,exports.ArrayBufferProtoByteLengthGetter=he,exports.ArrayConcat=function(e,...r){const o=t(_e,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];ge(n)?t(be,o,n):o[o.length]=n}return o},exports.ArrayCtor=M,exports.ArrayIsArray=ge,exports.ArrayProtoFilter=le,exports.ArrayProtoFind=fe,exports.ArrayProtoIncludes=pe,exports.ArrayProtoIndexOf=xe,exports.ArrayProtoJoin=ye,exports.ArrayProtoPush=be,exports.ArrayProtoShift=Se,exports.ArrayProtoSlice=_e,exports.ArrayProtoSort=ae,exports.ArrayProtoUnshift=ue,exports.BigIntProtoValueOf=Re,exports.BooleanProtoValueOf=Ne,exports.CHAR_ELLIPSIS="…",exports.CHAR_QUOTE_DOUBLE='"',exports.CHAR_QUOTE_SINGLE="'",exports.DateNow=Te,exports.DateProtoValueOf=Ee,exports.ErrorCtor=xr,exports.FunctionProtoBind=Ie,exports.FunctionProtoToString=me,exports.JSONParse=er,exports.JSONStringify=tr,exports.LOCKER_IDENTIFIER_MARKER="$LWS",exports.LOCKER_UNMINIFIED_FLAG=je,exports.LockerSecurityError=br,exports.MapCtor=ve,exports.MapProtoEntries=Fe,exports.MapProtoSet=Ue,exports.MapProtoSizeGetter=Ve,exports.MathMin=dr,exports.NumberIsFinite=He,exports.NumberIsInteger=Je,exports.NumberProtoToFixed=Xe,exports.NumberProtoValueOf=Ye,exports.ObjectAssign=x,exports.ObjectCtor=f,exports.ObjectDefineProperties=b,exports.ObjectFreeze=y,exports.ObjectGetOwnPropertyDescriptors=S,exports.ObjectGetOwnPropertySymbols=_,exports.ObjectHasOwn=A,exports.ObjectKeys=g,exports.ObjectLookupOwnGetter=T,exports.ObjectLookupOwnSetter=function(e,r){return null!=e&&A(e,r)?t(R,e,[r]):void 0},exports.ObjectLookupOwnValue=function(e,t){return null!=e&&A(e,t)?e[t]:void 0},exports.ObjectPreventExtensions=d,exports.ObjectProto=O,exports.ObjectProtoToString=j,exports.PromiseCtor=Or,exports.PromiseProtoCatch=hr,exports.PromiseProtoThen=Pr,exports.PromiseReject=Nr,exports.PromiseResolve=Rr,exports.ProxyCtor=jr,exports.ProxyRevocable=Ar,exports.ReflectApply=t,exports.ReflectConstruct=r,exports.ReflectDefineProperty=o,exports.ReflectDeleteProperty=n,exports.ReflectGet=s,exports.ReflectGetOwnPropertyDescriptor=c,exports.ReflectGetPrototypeOf=i,exports.ReflectHas=p,exports.ReflectOwnKeys=a,exports.ReflectSet=u,exports.ReflectSetPrototypeOf=l,exports.RegExpCtor=yt,exports.RegExpProto=bt,exports.RegExpProtoExec=St,exports.RegExpProtoSourceGetter=gt,exports.RegExpProtoTest=_t,exports.SANDBOX_EVAL_CONTEXT_NAME="$lockerEvalContext$",exports.SANDBOX_EVAL_HELPERS_NAME="$lockerEvalHelpers$",exports.SUPPORTS_BIG_INT=Pe,exports.SYMBOL_LIVE_OBJECT=_r,exports.SetCtor=Ot,exports.SetProtoAdd=mt,exports.SetProtoSizeGetter=Bt,exports.SetProtoValues=vt,exports.StringCtor=Qe,exports.StringProtoEndsWith=Ze,exports.StringProtoIncludes=et,exports.StringProtoIndexOf=tt,exports.StringProtoMatch=rt,exports.StringProtoReplace=ot,exports.StringProtoSlice=nt,exports.StringProtoSplit=st,exports.StringProtoStartsWith=ct,exports.StringProtoToLowerCase=it,exports.StringProtoToUpperCase=pt,exports.StringProtoValueOf=at,exports.SymbolAsyncIterator=I,exports.SymbolFor=m,exports.SymbolIterator=v,exports.SymbolProtoToString=k,exports.SymbolProtoValueOf=D,exports.SymbolToStringTag=B,exports.SymbolUnscopables=L,exports.TO_STRING_BRAND_ARRAY="[object Array]",exports.TO_STRING_BRAND_ARRAY_BUFFER="[object ArrayBuffer]",exports.TO_STRING_BRAND_BIG_INT="[object BigInt]",exports.TO_STRING_BRAND_BOOLEAN="[object Boolean]",exports.TO_STRING_BRAND_DATE="[object Date]",exports.TO_STRING_BRAND_ERROR="[object Error]",exports.TO_STRING_BRAND_FUNCTION="[object Function]",exports.TO_STRING_BRAND_MAP="[object Map]",exports.TO_STRING_BRAND_NULL="[object Null]",exports.TO_STRING_BRAND_NUMBER="[object Number]",exports.TO_STRING_BRAND_OBJECT="[object Object]",exports.TO_STRING_BRAND_REG_EXP="[object RegExp]",exports.TO_STRING_BRAND_SET="[object Set]",exports.TO_STRING_BRAND_STRING="[object String]",exports.TO_STRING_BRAND_SYMBOL="[object Symbol]",exports.TO_STRING_BRAND_UNDEFINED="[object Undefined]",exports.TO_STRING_BRAND_WEAK_MAP="[object WeakMap]",exports.TO_STRING_BRAND_WEAK_SET="[object WeakSet]",exports.TypeErrorCtor=yr,exports.UNCOMPILED_LOCATION_NAME="uncompiledLocation$LWS",exports.UNCOMPILED_TOP_NAME="uncompiledTop$LWS",exports.WEBPACK_REQUIRE_NAME="__webpack_require__",exports.WeakMapCtor=Lt,exports.WeakMapProtoHas=Dt,exports.WeakSetCtor=Wt,exports.WeakSetProtoHas=Ft,exports.capitalizeFirstChar=function(e){const{length:r}=e;if(r){const o=t(pt,e[0],[]);return 1===r?o:o+t(nt,e,[1])}return""},exports.consoleWarn=function(...e){t(fr,lr,e)},exports.createRevokedProxy=function(e){const t=Ar(e,{__proto__:null});return t.revoke(),t.proxy},exports.enquote=function(e,r="'"){return r+t(ot,e,[ut[r],`\\${r}`])+r},exports.escapeRegExp=function(e){return t(ot,e,[dt,"\\$&"])},exports.extractFunctionBodySource=function(e){var r,o;const n=t(me,e,[]),s=t(rt,n,[xt]);return null!=(r=null!=(o=null==s?void 0:s[1])?o:null==s?void 0:s[2])?r:""},exports.getBrand=qt,exports.getNamespacePrefix=function(e){return`LSKey-${e}$`},exports.getNearMembraneSerializedValue=nr,exports.getTimestamp=Zt,exports.indexOfPragma=function(e,r){let o=0;for(;;){Yt.lastIndex=o,o+=t(St,Yt,[e])[0].length;const n=t(St,Qt,[t(nt,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){Yt.lastIndex=o+n[0].length;const r=t(St,Yt,[e]),s=r.index+r[0].length,c=e[s];if(";"===c||"}"===c)return o;const i=s+1;if(t(_t,Xt,[r[0]])&&!("!"===c&&i<e.length&&"="===e[i]||t(_t,Jt,[c])))return o}o+=n[0].length,Yt.lastIndex=o,o+=t(St,Yt,[e])[0].length,";"===e[o]&&(o+=1)}},exports.isConvertibleToString=function(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1},exports.isNamespacePrefixed=function(e,r){return"string"==typeof e&&t(ct,e,[`LSKey-${r}$`])},exports.isNearMembrane=sr,exports.isObject=function(e){return"object"==typeof e&&null!==e},exports.isObjectLike=function(e){return"object"==typeof e&&null!==e||"function"==typeof e},exports.isTargetLive=gr,exports.markTargetAsLive=function(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||gr(e)||o(e,_r,{__proto__:null,value:void 0}),e},exports.noop=function(){},exports.partialStructuredClone=function(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(Se,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=cr.get(r);if(n){e(n);continue e}const s=qt(r);switch(s){case"[object Object]":{const e=i(r);e!==O&&null!==e&&null!==i(e)||(n={},ur(o,r,n));break}case"[object Array]":n=M(r.length),ur(o,r,n);break;case"[object Map]":n=ir(r,o);break;case"[object Set]":n=ar(r,o)}if(void 0===n){if(!sr(r)){cr.set(r,r),e(r);continue e}switch(s){case"[object RegExp]":n=pr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=f(nr(r))}}if(void 0===n){e(r);break e}cr.set(r,n),e(n)}return r}(e)}catch(e){}cr.clear()}return r},exports.prefixNamespace=function(e,t){return`LSKey-${t}$${e}`},exports.shallowCloneArray=function(e){return t(_e,e,[0])},exports.shallowCloneOptions=function(e){const t=a(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r},exports.toSafeArray=function(e){return l(e,null),e.at=G,e.concat=w,e.copyWithin=W,e.entries=$,e.every=F,e.fill=U,e.filter=le,e.find=fe,e.findIndex=V,e.flat=z,e.flatMap=K,e.forEach=H,e.includes=pe,e.indexOf=xe,e.join=ye,e.keys=J,e.lastIndexOf=X,e.map=Y,e.pop=Q,e.push=be,e.reduce=q,e.reduceRight=Z,e.reverse=ee,e.shift=Se,e.slice=_e,e.some=te,e.sort=ae,e.splice=re,e.toLocaleString=oe,e.toString=ne,e.unshift=ue,e.values=se,e[v]=ce,e[L]=ie,l(e,C),e},exports.toSafeMap=ze,exports.toSafeSet=function(e){return l(e,null),e.add=mt,e.clear=Pt,e.delete=Rt,e.entries=Nt,e.forEach=jt,e.has=At,e.keys=Tt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Bt,set:void 0}),e.values=vt,e[v]=Et,e[B]=It,l(e,ht),e},exports.toSafeTemplateStringValue=function(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(me,e,[]);if("object"==typeof e&&null!==e){if(lt&&e instanceof lt)return t(ft,e,[]);const r=t(j,e,[]);return"[object Symbol]"===r?t(k,e,[]):r}return"symbol"==typeof e?t(k,e,[]):Qe(e)}catch(e){}return"[object Unknown]"},exports.toSafeWeakMap=function(e){return l(e,null),e.delete=Mt,e.get=Ct,e.has=Dt,e.set=Gt,e[B]=wt,l(e,kt),e},exports.toSafeWeakSet=Kt,exports.toString=function(e){return"string"==typeof e?e:`${e}`},exports.trackTargetAsLive=function(e){return Sr.add(e),e},exports.unprefixNamespace=function(e,r){if("string"==typeof e){const o=`LSKey-${r}$`;return t(ct,e,[o])?t(nt,e,[o.length]):e}return""}; | ||
/*! version: 0.18.3 */ | ||
var e;Object.defineProperty(exports,"__esModule",{value:!0});const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:s,getOwnPropertyDescriptor:c,getPrototypeOf:p,has:i,ownKeys:a,set:u,setPrototypeOf:l}=Reflect,f=Object,{assign:x,freeze:y,defineProperties:S,getOwnPropertyDescriptors:b,getOwnPropertySymbols:_,keys:g,preventExtensions:O,prototype:d}=f,{hasOwn:R}=f,{__lookupGetter__:h,__lookupSetter__:E,hasOwnProperty:N}=d,{toString:P}=d;const A="function"==typeof R?R:function(e,r){return t(N,e,[r])};function j(e,r){return null!=e&&A(e,r)?t(h,e,[r]):void 0}const I=Symbol,{asyncIterator:T,for:m,iterator:B,toStringTag:L,unscopables:k}=I,{toString:v,valueOf:M}=I.prototype,D=Array,{prototype:C}=D,{at:w,concat:G,copyWithin:W,entries:$,every:F,fill:U,findIndex:V,flat:K,flatMap:z,forEach:H,keys:Y,lastIndexOf:J,map:X,pop:Q,reduce:q,reduceRight:Z,reverse:ee,some:te,splice:re,toLocaleString:oe,toString:ne,values:se,[B]:ce}=C,pe=y(x({__proto__:null},C[k])),{includes:ie,sort:ae,unshift:ue}=C,{filter:le,find:fe,indexOf:xe,join:ye,push:Se,shift:be,slice:_e}=C,{isArray:ge}=D;const Oe=ArrayBuffer,{isView:de}=Oe,Re=j(Oe.prototype,"byteLength"),he="function"==typeof BigInt,Ee=he?BigInt.prototype.valueOf:void 0,{valueOf:Ne}=Boolean.prototype,Pe=m("@@lockerNearMembraneSerializedValue"),Ae=m("@@lockerNearMembrane"),je=`${()=>1}`.includes("$LWS"),Ie=m("@@lockerLiveValue"),Te=Date,{now:me}=Te,{valueOf:Be}=Te.prototype,Le=Proxy,{revocable:ke}=Le;const{bind:ve,toString:Me}=Function.prototype;const De=Map,{prototype:Ce}=De,{clear:we,delete:Ge,forEach:We,get:$e,has:Fe,keys:Ue,values:Ve,[B]:Ke,[L]:ze}=Ce,{entries:He,set:Ye}=Ce,Je=j(Ce,"size");function Xe(e){return l(e,null),e.clear=we,e.delete=Ge,e.entries=He,e.forEach=We,e.get=$e,e.has=Fe,e.keys=Ue,e.set=Ye,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Je,set:void 0}),e.values=Ve,e[B]=Ke,e[L]=ze,l(e,Ce),e}const Qe=Number,{isFinite:qe,isInteger:Ze}=Qe,{toFixed:et,valueOf:tt}=Qe.prototype,rt=String,{prototype:ot}=rt,{endsWith:nt,includes:st,indexOf:ct,match:pt,replace:it,slice:at,split:ut,startsWith:lt,toLowerCase:ft,toUpperCase:xt,valueOf:yt}=ot,St={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},bt="function"==typeof URL?URL:void 0,_t=null==bt||null==(e=bt.prototype)?void 0:e.toString,gt=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;const Ot=RegExp,{prototype:dt}=Ot,{exec:Rt,test:ht}=dt,Et=j(dt,"source"),Nt=/[\\^$.*+?()[\]{}|]/g;const Pt=Set,{prototype:At}=Pt,{clear:jt,delete:It,entries:Tt,forEach:mt,has:Bt,keys:Lt,[B]:kt,[L]:vt}=At,{add:Mt,values:Dt}=At,Ct=j(At,"size");const wt=WeakMap,{prototype:Gt}=wt,{has:Wt}=Gt,{delete:$t,get:Ft,set:Ut,[L]:Vt}=Gt;const Kt=WeakSet,{prototype:zt}=Kt,{has:Ht}=zt,{add:Yt,delete:Jt,[L]:Xt}=zt;function Qt(e){return l(e,null),e.add=Yt,e.delete=Jt,e.has=Ht,e[L]=Xt,l(e,zt),e}const{toStringTag:qt}=Symbol,Zt=/[(`.[+\-/*%<>=,?^&]/,er=/\r\n?|\n|\u2028|\u2029/,tr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,rr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function or(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return ge(e)?"[object Array]":qt in e?function(e){try{if("byteLength"in e)return t(Re,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(Be,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(Je,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(Ct,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Wt,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Ht,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(tt,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(M,e,[]),"[object Symbol]"}catch(e){}try{if(A(e,"lastIndex"))return t(Et,e,[]),"[object RegExp]"}catch(e){}try{if(A(e,"length"))return t(yt,e,[]),"[object String]"}catch(e){}try{return t(Ne,e,[]),"[object Boolean]"}catch(e){}if(he)try{return t(Ee,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(P,e,[])}const nr="undefined"==typeof performance?me:t(ve,performance.now,[performance]);const{parse:sr}=JSON,{stringify:cr}=JSON;function pr(e){return Pe in e?void 0:e[Pe]}function ir(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(Ae in e)&&!0===e[Ae])}const ar=Xe(new De);function ur(e,r){const o=new De,n=t(He,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;const{0:p,1:i}=c;let a;r[s++]=[e=>{a=e},p],r[s++]=[e=>{t(Ye,o,[a,e])},i]}return o}function lr(e){const{flags:t,source:r}=sr(pr(e));return new Ot(r,t)}function fr(e,r){const o=new Pt,n=t(Dt,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;r[s++]=[e=>{t(Mt,o,[e])},c]}return o}function xr(e,t,r){const o=g(t);let{length:n}=e;for(let s=0,{length:c}=o;s<c;s+=1){const c=o[s],p=t[c];e[n++]=[e=>{r[c]=e},p]}}const yr=console,{warn:Sr}=yr;const br=Error,_r=TypeError;class gr extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const Or=Qt(new Kt);function dr(e,r=0){if(1&r||2&r||64&r||null==e||e===d||e===dt)return!1;if("function"==typeof e){try{return Or.has(e)||A(e,Ie)}catch(e){}return!1}if("object"==typeof e){try{if(Or.has(e)||A(e,Ie))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===f)return!0}catch(e){}try{if(null===p(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(ge(e))return!0}catch(e){return!1}if(de(e))return!0}try{if(A(e,"lastIndex"))return t(Et,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(Re,e,[]),!0}catch(e){}}return!1}const{min:Rr}=Math;function hr(e){return`LSKey-${e}$`}function Er(e){return`LSKey[${e}]`}const Nr=Promise,{catch:Pr,then:Ar}=Nr.prototype,jr=Nr.resolve.bind(Nr),Ir=Nr.reject.bind(Nr);exports.ArrayBufferIsView=de,exports.ArrayBufferProtoByteLengthGetter=Re,exports.ArrayConcat=function(e,...r){const o=t(_e,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];ge(n)?t(Se,o,n):o[o.length]=n}return o},exports.ArrayCtor=D,exports.ArrayIsArray=ge,exports.ArrayProtoFilter=le,exports.ArrayProtoFind=fe,exports.ArrayProtoIncludes=ie,exports.ArrayProtoIndexOf=xe,exports.ArrayProtoJoin=ye,exports.ArrayProtoPush=Se,exports.ArrayProtoShift=be,exports.ArrayProtoSlice=_e,exports.ArrayProtoSort=ae,exports.ArrayProtoUnshift=ue,exports.BigIntProtoValueOf=Ee,exports.BooleanProtoValueOf=Ne,exports.CHAR_ELLIPSIS="…",exports.CHAR_QUOTE_DOUBLE='"',exports.CHAR_QUOTE_SINGLE="'",exports.DateNow=me,exports.DateProtoValueOf=Be,exports.ERR_INVALID_SANDBOX_KEY="Invalid sandbox key.",exports.ErrorCtor=br,exports.FunctionProtoBind=ve,exports.FunctionProtoToString=Me,exports.JSONParse=sr,exports.JSONStringify=cr,exports.LOCKER_IDENTIFIER_MARKER="$LWS",exports.LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL=Pe,exports.LOCKER_NEAR_MEMBRANE_SYMBOL=Ae,exports.LOCKER_SERVICE_KEY="LSKey",exports.LOCKER_SERVICE_KEY_LOWERED="lskey",exports.LOCKER_UNMINIFIED_FLAG=je,exports.LockerSecurityError=gr,exports.MapCtor=De,exports.MapProtoEntries=He,exports.MapProtoSet=Ye,exports.MapProtoSizeGetter=Je,exports.MathMin=Rr,exports.NumberIsFinite=qe,exports.NumberIsInteger=Ze,exports.NumberProtoToFixed=et,exports.NumberProtoValueOf=tt,exports.ObjectAssign=x,exports.ObjectCtor=f,exports.ObjectDefineProperties=S,exports.ObjectFreeze=y,exports.ObjectGetOwnPropertyDescriptors=b,exports.ObjectGetOwnPropertySymbols=_,exports.ObjectHasOwn=A,exports.ObjectKeys=g,exports.ObjectLookupOwnGetter=j,exports.ObjectLookupOwnSetter=function(e,r){return null!=e&&A(e,r)?t(E,e,[r]):void 0},exports.ObjectLookupOwnValue=function(e,t){return null!=e&&A(e,t)?e[t]:void 0},exports.ObjectPreventExtensions=O,exports.ObjectProto=d,exports.ObjectProtoToString=P,exports.PromiseCtor=Nr,exports.PromiseProtoCatch=Pr,exports.PromiseProtoThen=Ar,exports.PromiseReject=Ir,exports.PromiseResolve=jr,exports.ProxyCtor=Le,exports.ProxyRevocable=ke,exports.ReflectApply=t,exports.ReflectConstruct=r,exports.ReflectDefineProperty=o,exports.ReflectDeleteProperty=n,exports.ReflectGet=s,exports.ReflectGetOwnPropertyDescriptor=c,exports.ReflectGetPrototypeOf=p,exports.ReflectHas=i,exports.ReflectOwnKeys=a,exports.ReflectSet=u,exports.ReflectSetPrototypeOf=l,exports.RegExpCtor=Ot,exports.RegExpProto=dt,exports.RegExpProtoExec=Rt,exports.RegExpProtoSourceGetter=Et,exports.RegExpProtoTest=ht,exports.SANDBOX_EVAL_CONTEXT_NAME="$lockerEvalContext$",exports.SANDBOX_EVAL_HELPERS_NAME="$lockerEvalHelpers$",exports.SUPPORTS_BIG_INT=he,exports.SYMBOL_LIVE_OBJECT=Ie,exports.SetCtor=Pt,exports.SetProtoAdd=Mt,exports.SetProtoSizeGetter=Ct,exports.SetProtoValues=Dt,exports.StringCtor=rt,exports.StringProtoEndsWith=nt,exports.StringProtoIncludes=st,exports.StringProtoIndexOf=ct,exports.StringProtoMatch=pt,exports.StringProtoReplace=it,exports.StringProtoSlice=at,exports.StringProtoSplit=ut,exports.StringProtoStartsWith=lt,exports.StringProtoToLowerCase=ft,exports.StringProtoToUpperCase=xt,exports.StringProtoValueOf=yt,exports.SymbolAsyncIterator=T,exports.SymbolFor=m,exports.SymbolIterator=B,exports.SymbolProtoToString=v,exports.SymbolProtoValueOf=M,exports.SymbolToStringTag=L,exports.SymbolUnscopables=k,exports.TO_STRING_BRAND_ARRAY="[object Array]",exports.TO_STRING_BRAND_ARRAY_BUFFER="[object ArrayBuffer]",exports.TO_STRING_BRAND_BIG_INT="[object BigInt]",exports.TO_STRING_BRAND_BOOLEAN="[object Boolean]",exports.TO_STRING_BRAND_DATE="[object Date]",exports.TO_STRING_BRAND_ERROR="[object Error]",exports.TO_STRING_BRAND_FUNCTION="[object Function]",exports.TO_STRING_BRAND_MAP="[object Map]",exports.TO_STRING_BRAND_NULL="[object Null]",exports.TO_STRING_BRAND_NUMBER="[object Number]",exports.TO_STRING_BRAND_OBJECT="[object Object]",exports.TO_STRING_BRAND_REG_EXP="[object RegExp]",exports.TO_STRING_BRAND_SET="[object Set]",exports.TO_STRING_BRAND_STRING="[object String]",exports.TO_STRING_BRAND_SYMBOL="[object Symbol]",exports.TO_STRING_BRAND_UNDEFINED="[object Undefined]",exports.TO_STRING_BRAND_WEAK_MAP="[object WeakMap]",exports.TO_STRING_BRAND_WEAK_SET="[object WeakSet]",exports.TypeErrorCtor=_r,exports.UNCOMPILED_LOCATION_NAME="uncompiledLocation$LWS",exports.UNCOMPILED_TOP_NAME="uncompiledTop$LWS",exports.WEBPACK_REQUIRE_NAME="__webpack_require__",exports.WeakMapCtor=wt,exports.WeakMapProtoHas=Wt,exports.WeakSetCtor=Kt,exports.WeakSetProtoHas=Ht,exports.capitalizeFirstChar=function(e){const{length:r}=e;if(r){const o=t(xt,e[0],[]);return 1===r?o:o+t(at,e,[1])}return""},exports.consoleWarn=function(...e){t(Sr,yr,e)},exports.createRevokedProxy=function(e){const t=ke(e,{__proto__:null});return t.revoke(),t.proxy},exports.enquote=function(e,r="'"){return r+t(it,e,[St[r],`\\${r}`])+r},exports.escapeRegExp=function(e){return t(it,e,[Nt,"\\$&"])},exports.extractFunctionBodySource=function(e){var r,o;const n=t(Me,e,[]),s=t(pt,n,[gt]);return null!=(r=null!=(o=null==s?void 0:s[1])?o:null==s?void 0:s[2])?r:""},exports.getBrand=or,exports.getNamespaceMarker=hr,exports.getNearMembraneSerializedValue=pr,exports.getStorageNamespaceMarker=Er,exports.getTimestamp=nr,exports.identity=function(e){return e},exports.indexOfPragma=function(e,r){let o=0;for(;;){tr.lastIndex=o,o+=t(Rt,tr,[e])[0].length;const n=t(Rt,rr,[t(at,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){tr.lastIndex=o+n[0].length;const r=t(Rt,tr,[e]),s=r.index+r[0].length,c=e[s];if(";"===c||"}"===c)return o;const p=s+1;if(t(ht,er,[r[0]])&&!("!"===c&&p<e.length&&"="===e[p]||t(ht,Zt,[c])))return o}o+=n[0].length,tr.lastIndex=o,o+=t(Rt,tr,[e])[0].length,";"===e[o]&&(o+=1)}},exports.isConvertibleToString=function(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1},exports.isNearMembrane=ir,exports.isObject=function(e){return"object"==typeof e&&null!==e},exports.isObjectLike=function(e){return"object"==typeof e&&null!==e||"function"==typeof e},exports.isTargetLive=dr,exports.markTargetAsLive=function(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||dr(e)||o(e,Ie,{__proto__:null,value:void 0}),e},exports.noop=function(){},exports.partialStructuredClone=function(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(be,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=ar.get(r);if(n){e(n);continue e}const s=or(r);switch(s){case"[object Object]":{const e=p(r);e!==d&&null!==e&&null!==p(e)||(n={},xr(o,r,n));break}case"[object Array]":n=D(r.length),xr(o,r,n);break;case"[object Map]":n=ur(r,o);break;case"[object Set]":n=fr(r,o)}if(void 0===n){if(!ir(r)){ar.set(r,r),e(r);continue e}switch(s){case"[object RegExp]":n=lr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=f(pr(r))}}if(void 0===n){e(r);break e}ar.set(r,n),e(n)}return r}(e)}catch(e){}ar.clear()}return r},exports.prependNamespaceMarker=function(e,t){return`${hr(t)}${e}`},exports.prependStorageNamespaceMarker=function(e,t){return`${Er(t)}${e}`},exports.proxyMaskFunction=function(e,o){const n=new Le(o,{apply:(r,s,c)=>(s!==n&&s!==o||(s=e),t(e,s,c)),construct:(t,s,c)=>(c!==n&&c!==o||(c=e),r(e,s,c))});return n},exports.removeNamespaceMarker=function(e,r){if("string"==typeof e){const o=hr(r);return t(lt,e,[o])?t(at,e,[o.length]):e}return""},exports.removeStorageNamespaceMarker=function(e,r){if("string"==typeof e){const o=Er(r);return t(lt,e,[o])?t(at,e,[o.length]):e}return""},exports.shallowCloneArray=function(e){return t(_e,e,[0])},exports.shallowCloneOptions=function(e){const t=a(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r},exports.startsWithNamespaceMarker=function(e,r){return"string"==typeof e&&t(lt,e,[hr(r)])},exports.startsWithStorageNamespaceMarker=function(e,r){return"string"==typeof e&&t(lt,e,[Er(r)])},exports.toSafeArray=function(e){return l(e,null),e.at=w,e.concat=G,e.copyWithin=W,e.entries=$,e.every=F,e.fill=U,e.filter=le,e.find=fe,e.findIndex=V,e.flat=K,e.flatMap=z,e.forEach=H,e.includes=ie,e.indexOf=xe,e.join=ye,e.keys=Y,e.lastIndexOf=J,e.map=X,e.pop=Q,e.push=Se,e.reduce=q,e.reduceRight=Z,e.reverse=ee,e.shift=be,e.slice=_e,e.some=te,e.sort=ae,e.splice=re,e.toLocaleString=oe,e.toString=ne,e.unshift=ue,e.values=se,e[B]=ce,e[k]=pe,l(e,C),e},exports.toSafeMap=Xe,exports.toSafeSet=function(e){return l(e,null),e.add=Mt,e.clear=jt,e.delete=It,e.entries=Tt,e.forEach=mt,e.has=Bt,e.keys=Lt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Ct,set:void 0}),e.values=Dt,e[B]=kt,e[L]=vt,l(e,At),e},exports.toSafeTemplateStringValue=function(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(Me,e,[]);if("object"==typeof e&&null!==e){if(bt&&e instanceof bt)return t(_t,e,[]);const r=t(P,e,[]);return"[object Symbol]"===r?t(v,e,[]):r}return"symbol"==typeof e?t(v,e,[]):rt(e)}catch(e){}return"[object Unknown]"},exports.toSafeWeakMap=function(e){return l(e,null),e.delete=$t,e.get=Ft,e.has=Wt,e.set=Ut,e[L]=Vt,l(e,Gt),e},exports.toSafeWeakSet=Qt,exports.toString=function(e){return"string"==typeof e?e:`${e}`},exports.trackTargetAsLive=function(e){return Or.add(e),e}; | ||
/*! version: 0.18.4 */ |
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
*/ | ||
var e;const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:a,getOwnPropertyDescriptor:s,getPrototypeOf:c,has:i,ownKeys:u,set:l,setPrototypeOf:f}=Reflect,p=Object,{assign:y,freeze:b,defineProperties:S,getOwnPropertyDescriptors:_,getOwnPropertySymbols:g,keys:O,preventExtensions:d,prototype:h}=p,{hasOwn:P}=p,{__lookupGetter__:R,__lookupSetter__:N,hasOwnProperty:j}=h,{toString:A}=h;function T(e){return"object"==typeof e&&null!==e}function E(e){return"object"==typeof e&&null!==e||"function"==typeof e}const I="function"==typeof P?P:function(e,r){return t(j,e,[r])};function m(e,r){return null!=e&&I(e,r)?t(R,e,[r]):void 0}function B(e,r){return null!=e&&I(e,r)?t(N,e,[r]):void 0}function v(e,t){return null!=e&&I(e,t)?e[t]:void 0}const L=Symbol,{asyncIterator:x,for:k,iterator:D,toStringTag:M,unscopables:C}=L,{toString:G,valueOf:w}=L.prototype,W=Array,{prototype:$}=W,{at:F,concat:U,copyWithin:V,entries:z,every:K,fill:H,findIndex:J,flat:X,flatMap:Y,forEach:Q,keys:q,lastIndexOf:Z,map:ee,pop:te,reduce:re,reduceRight:oe,reverse:ne,some:ae,splice:se,toLocaleString:ce,toString:ie,values:ue,[D]:le}=$,fe=b(y({__proto__:null},$[C])),{includes:pe,sort:ye,unshift:be}=$,{filter:Se,find:_e,indexOf:ge,join:Oe,push:de,shift:he,slice:Pe}=$,{isArray:Re}=W;function Ne(e,...r){const o=t(Pe,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];Re(n)?t(de,o,n):o[o.length]=n}return o}function je(e){return f(e,null),e.at=F,e.concat=U,e.copyWithin=V,e.entries=z,e.every=K,e.fill=H,e.filter=Se,e.find=_e,e.findIndex=J,e.flat=X,e.flatMap=Y,e.forEach=Q,e.includes=pe,e.indexOf=ge,e.join=Oe,e.keys=q,e.lastIndexOf=Z,e.map=ee,e.pop=te,e.push=de,e.reduce=re,e.reduceRight=oe,e.reverse=ne,e.shift=he,e.slice=Pe,e.some=ae,e.sort=ye,e.splice=se,e.toLocaleString=ce,e.toString=ie,e.unshift=be,e.values=ue,e[D]=le,e[C]=fe,f(e,$),e}const Ae=ArrayBuffer,{isView:Te}=Ae,Ee=m(Ae.prototype,"byteLength"),Ie="function"==typeof BigInt,me=Ie?BigInt.prototype.valueOf:void 0,{valueOf:Be}=Boolean.prototype,ve="$LWS",Le=`${()=>1}`.includes("$LWS"),xe="…",ke='"',De="'",Me="$lockerEvalContext$",Ce="$lockerEvalHelpers$",Ge="[object Array]",we="[object ArrayBuffer]",We="[object BigInt]",$e="[object Boolean]",Fe="[object Date]",Ue="[object Error]",Ve="[object Function]",ze="[object Map]",Ke="[object Null]",He="[object Number]",Je="[object Object]",Xe="[object RegExp]",Ye="[object Set]",Qe="[object String]",qe="[object Symbol]",Ze="[object Undefined]",et="[object WeakMap]",tt="[object WeakSet]",rt="uncompiledLocation$LWS",ot="uncompiledTop$LWS",nt="__webpack_require__",at=Date,{now:st}=at,{valueOf:ct}=at.prototype,{bind:it,toString:ut}=Function.prototype;function lt(){}const ft=Map,{prototype:pt}=ft,{clear:yt,delete:bt,forEach:St,get:_t,has:gt,keys:Ot,values:dt,[D]:ht,[M]:Pt}=pt,{entries:Rt,set:Nt}=pt,jt=m(pt,"size");function At(e){return f(e,null),e.clear=yt,e.delete=bt,e.entries=Rt,e.forEach=St,e.get=_t,e.has=gt,e.keys=Ot,e.set=Nt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:jt,set:void 0}),e.values=dt,e[D]=ht,e[M]=Pt,f(e,pt),e}const Tt=Number,{isFinite:Et,isInteger:It}=Tt,{toFixed:mt,valueOf:Bt}=Tt.prototype,vt=String,{prototype:Lt}=vt,{endsWith:xt,includes:kt,indexOf:Dt,match:Mt,replace:Ct,slice:Gt,split:wt,startsWith:Wt,toLowerCase:$t,toUpperCase:Ft,valueOf:Ut}=Lt,Vt={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},zt="function"==typeof URL?URL:void 0,Kt=null==zt||null==(e=zt.prototype)?void 0:e.toString,Ht=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;function Jt(e){const{length:r}=e;if(r){const o=t(Ft,e[0],[]);return 1===r?o:o+t(Gt,e,[1])}return""}function Xt(e,r="'"){return r+t(Ct,e,[Vt[r],`\\${r}`])+r}function Yt(e){var r,o;const n=t(ut,e,[]),a=t(Mt,n,[Ht]);return null!=(r=null!=(o=null==a?void 0:a[1])?o:null==a?void 0:a[2])?r:""}function Qt(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1}function qt(e){return"string"==typeof e?e:`${e}`}function Zt(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(ut,e,[]);if("object"==typeof e&&null!==e){if(zt&&e instanceof zt)return t(Kt,e,[]);const r=t(A,e,[]);return"[object Symbol]"===r?t(G,e,[]):r}return"symbol"==typeof e?t(G,e,[]):vt(e)}catch(e){}return"[object Unknown]"}const er=RegExp,{prototype:tr}=er,{exec:rr,test:or}=tr,nr=m(tr,"source"),ar=/[\\^$.*+?()[\]{}|]/g;function sr(e){return t(Ct,e,[ar,"\\$&"])}const cr=Set,{prototype:ir}=cr,{clear:ur,delete:lr,entries:fr,forEach:pr,has:yr,keys:br,[D]:Sr,[M]:_r}=ir,{add:gr,values:Or}=ir,dr=m(ir,"size");function hr(e){return f(e,null),e.add=gr,e.clear=ur,e.delete=lr,e.entries=fr,e.forEach=pr,e.has=yr,e.keys=br,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:dr,set:void 0}),e.values=Or,e[D]=Sr,e[M]=_r,f(e,ir),e}const Pr=WeakMap,{prototype:Rr}=Pr,{has:Nr}=Rr,{delete:jr,get:Ar,set:Tr,[M]:Er}=Rr;function Ir(e){return f(e,null),e.delete=jr,e.get=Ar,e.has=Nr,e.set=Tr,e[M]=Er,f(e,Rr),e}const mr=WeakSet,{prototype:Br}=mr,{has:vr}=Br,{add:Lr,delete:xr,[M]:kr}=Br;function Dr(e){return f(e,null),e.add=Lr,e.delete=xr,e.has=vr,e[M]=kr,f(e,Br),e}const{toStringTag:Mr}=Symbol,Cr=/[(`.[+\-/*%<>=,?^&]/,Gr=/\r\n?|\n|\u2028|\u2029/,wr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Wr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function $r(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return Re(e)?"[object Array]":Mr in e?function(e){try{if("byteLength"in e)return t(Ee,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(ct,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(jt,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(dr,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Nr,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(vr,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(Bt,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(w,e,[]),"[object Symbol]"}catch(e){}try{if(I(e,"lastIndex"))return t(nr,e,[]),"[object RegExp]"}catch(e){}try{if(I(e,"length"))return t(Ut,e,[]),"[object String]"}catch(e){}try{return t(Be,e,[]),"[object Boolean]"}catch(e){}if(Ie)try{return t(me,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(A,e,[])}const Fr="undefined"==typeof performance?st:t(it,performance.now,[performance]);function Ur(e,r){let o=0;for(;;){wr.lastIndex=o,o+=t(rr,wr,[e])[0].length;const n=t(rr,Wr,[t(Gt,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){wr.lastIndex=o+n[0].length;const r=t(rr,wr,[e]),a=r.index+r[0].length,s=e[a];if(";"===s||"}"===s)return o;const c=a+1;if(t(or,Gr,[r[0]])&&!("!"===s&&c<e.length&&"="===e[c]||t(or,Cr,[s])))return o}o+=n[0].length,wr.lastIndex=o,o+=t(rr,wr,[e])[0].length,";"===e[o]&&(o+=1)}}const{parse:Vr}=JSON,{stringify:zr}=JSON,Kr=k("@@lockerNearMembraneSerializedValue"),Hr=k("@@lockerNearMembrane");function Jr(e){return Kr in e?void 0:e[Kr]}function Xr(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(Hr in e)&&!0===e[Hr])}const Yr=At(new ft);function Qr(e,r){const o=new ft,n=t(Rt,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;const{0:c,1:i}=s;let u;r[a++]=[e=>{u=e},c],r[a++]=[e=>{t(Nt,o,[u,e])},i]}return o}function qr(e){const{flags:t,source:r}=Vr(Jr(e));return new er(r,t)}function Zr(e,r){const o=new cr,n=t(Or,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;r[a++]=[e=>{t(gr,o,[e])},s]}return o}function eo(e,t,r){const o=O(t);let{length:n}=e;for(let a=0,{length:s}=o;a<s;a+=1){const s=o[a],c=t[s];e[n++]=[e=>{r[s]=e},c]}}function to(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(he,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=Yr.get(r);if(n){e(n);continue e}const a=$r(r);switch(a){case"[object Object]":{const e=c(r);e!==h&&null!==e&&null!==c(e)||(n={},eo(o,r,n));break}case"[object Array]":n=W(r.length),eo(o,r,n);break;case"[object Map]":n=Qr(r,o);break;case"[object Set]":n=Zr(r,o)}if(void 0===n){if(!Xr(r)){Yr.set(r,r),e(r);continue e}switch(a){case"[object RegExp]":n=qr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=p(Jr(r))}}if(void 0===n){e(r);break e}Yr.set(r,n),e(n)}return r}(e)}catch(e){}Yr.clear()}return r}function ro(e){return t(Pe,e,[0])}function oo(e){const t=u(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r}const no=console,{warn:ao}=no;function so(...e){t(ao,no,e)}const co=Error,io=TypeError;class uo extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const lo=Dr(new mr),fo=k("@@lockerLiveValue");function po(e,r=0){if(1&r||2&r||64&r||null==e||e===h||e===tr)return!1;if("function"==typeof e){try{return lo.has(e)||I(e,fo)}catch(e){}return!1}if("object"==typeof e){try{if(lo.has(e)||I(e,fo))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===p)return!0}catch(e){}try{if(null===c(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(Re(e))return!0}catch(e){return!1}if(Te(e))return!0}try{if(I(e,"lastIndex"))return t(nr,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(Ee,e,[]),!0}catch(e){}}return!1}function yo(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||po(e)||o(e,fo,{__proto__:null,value:void 0}),e}function bo(e){return lo.add(e),e}const{min:So}=Math;function _o(e){return`LSKey-${e}$`}function go(e,r){return"string"==typeof e&&t(Wt,e,[`LSKey-${r}$`])}function Oo(e,t){return`LSKey-${t}$${e}`}function ho(e,r){if("string"==typeof e){const o=`LSKey-${r}$`;return t(Wt,e,[o])?t(Gt,e,[o.length]):e}return""}const Po=Promise,{catch:Ro,then:No}=Po.prototype,jo=Po.resolve.bind(Po),Ao=Po.reject.bind(Po),To=Proxy,{revocable:Eo}=To;function Io(e){const t=Eo(e,{__proto__:null});return t.revoke(),t.proxy}export{Te as ArrayBufferIsView,Ee as ArrayBufferProtoByteLengthGetter,Ne as ArrayConcat,W as ArrayCtor,Re as ArrayIsArray,Se as ArrayProtoFilter,_e as ArrayProtoFind,pe as ArrayProtoIncludes,ge as ArrayProtoIndexOf,Oe as ArrayProtoJoin,de as ArrayProtoPush,he as ArrayProtoShift,Pe as ArrayProtoSlice,ye as ArrayProtoSort,be as ArrayProtoUnshift,me as BigIntProtoValueOf,Be as BooleanProtoValueOf,xe as CHAR_ELLIPSIS,ke as CHAR_QUOTE_DOUBLE,De as CHAR_QUOTE_SINGLE,st as DateNow,ct as DateProtoValueOf,co as ErrorCtor,it as FunctionProtoBind,ut as FunctionProtoToString,Vr as JSONParse,zr as JSONStringify,ve as LOCKER_IDENTIFIER_MARKER,Le as LOCKER_UNMINIFIED_FLAG,uo as LockerSecurityError,ft as MapCtor,Rt as MapProtoEntries,Nt as MapProtoSet,jt as MapProtoSizeGetter,So as MathMin,Et as NumberIsFinite,It as NumberIsInteger,mt as NumberProtoToFixed,Bt as NumberProtoValueOf,y as ObjectAssign,p as ObjectCtor,S as ObjectDefineProperties,b as ObjectFreeze,_ as ObjectGetOwnPropertyDescriptors,g as ObjectGetOwnPropertySymbols,I as ObjectHasOwn,O as ObjectKeys,m as ObjectLookupOwnGetter,B as ObjectLookupOwnSetter,v as ObjectLookupOwnValue,d as ObjectPreventExtensions,h as ObjectProto,A as ObjectProtoToString,Po as PromiseCtor,Ro as PromiseProtoCatch,No as PromiseProtoThen,Ao as PromiseReject,jo as PromiseResolve,To as ProxyCtor,Eo as ProxyRevocable,t as ReflectApply,r as ReflectConstruct,o as ReflectDefineProperty,n as ReflectDeleteProperty,a as ReflectGet,s as ReflectGetOwnPropertyDescriptor,c as ReflectGetPrototypeOf,i as ReflectHas,u as ReflectOwnKeys,l as ReflectSet,f as ReflectSetPrototypeOf,er as RegExpCtor,tr as RegExpProto,rr as RegExpProtoExec,nr as RegExpProtoSourceGetter,or as RegExpProtoTest,Me as SANDBOX_EVAL_CONTEXT_NAME,Ce as SANDBOX_EVAL_HELPERS_NAME,Ie as SUPPORTS_BIG_INT,fo as SYMBOL_LIVE_OBJECT,cr as SetCtor,gr as SetProtoAdd,dr as SetProtoSizeGetter,Or as SetProtoValues,vt as StringCtor,xt as StringProtoEndsWith,kt as StringProtoIncludes,Dt as StringProtoIndexOf,Mt as StringProtoMatch,Ct as StringProtoReplace,Gt as StringProtoSlice,wt as StringProtoSplit,Wt as StringProtoStartsWith,$t as StringProtoToLowerCase,Ft as StringProtoToUpperCase,Ut as StringProtoValueOf,x as SymbolAsyncIterator,k as SymbolFor,D as SymbolIterator,G as SymbolProtoToString,w as SymbolProtoValueOf,M as SymbolToStringTag,C as SymbolUnscopables,Ge as TO_STRING_BRAND_ARRAY,we as TO_STRING_BRAND_ARRAY_BUFFER,We as TO_STRING_BRAND_BIG_INT,$e as TO_STRING_BRAND_BOOLEAN,Fe as TO_STRING_BRAND_DATE,Ue as TO_STRING_BRAND_ERROR,Ve as TO_STRING_BRAND_FUNCTION,ze as TO_STRING_BRAND_MAP,Ke as TO_STRING_BRAND_NULL,He as TO_STRING_BRAND_NUMBER,Je as TO_STRING_BRAND_OBJECT,Xe as TO_STRING_BRAND_REG_EXP,Ye as TO_STRING_BRAND_SET,Qe as TO_STRING_BRAND_STRING,qe as TO_STRING_BRAND_SYMBOL,Ze as TO_STRING_BRAND_UNDEFINED,et as TO_STRING_BRAND_WEAK_MAP,tt as TO_STRING_BRAND_WEAK_SET,io as TypeErrorCtor,rt as UNCOMPILED_LOCATION_NAME,ot as UNCOMPILED_TOP_NAME,nt as WEBPACK_REQUIRE_NAME,Pr as WeakMapCtor,Nr as WeakMapProtoHas,mr as WeakSetCtor,vr as WeakSetProtoHas,Jt as capitalizeFirstChar,so as consoleWarn,Io as createRevokedProxy,Xt as enquote,sr as escapeRegExp,Yt as extractFunctionBodySource,$r as getBrand,_o as getNamespacePrefix,Jr as getNearMembraneSerializedValue,Fr as getTimestamp,Ur as indexOfPragma,Qt as isConvertibleToString,go as isNamespacePrefixed,Xr as isNearMembrane,T as isObject,E as isObjectLike,po as isTargetLive,yo as markTargetAsLive,lt as noop,to as partialStructuredClone,Oo as prefixNamespace,ro as shallowCloneArray,oo as shallowCloneOptions,je as toSafeArray,At as toSafeMap,hr as toSafeSet,Zt as toSafeTemplateStringValue,Ir as toSafeWeakMap,Dr as toSafeWeakSet,qt as toString,bo as trackTargetAsLive,ho as unprefixNamespace}; | ||
/*! version: 0.18.3 */ | ||
var e;const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:a,getOwnPropertyDescriptor:s,getPrototypeOf:c,has:i,ownKeys:u,set:l,setPrototypeOf:f}=Reflect,p=Object,{assign:y,freeze:S,defineProperties:b,getOwnPropertyDescriptors:_,getOwnPropertySymbols:g,keys:O,preventExtensions:d,prototype:R}=p,{hasOwn:h}=p,{__lookupGetter__:E,__lookupSetter__:N,hasOwnProperty:P}=R,{toString:A}=R;function j(e){return"object"==typeof e&&null!==e}function I(e){return"object"==typeof e&&null!==e||"function"==typeof e}const T="function"==typeof h?h:function(e,r){return t(P,e,[r])};function m(e,r){return null!=e&&T(e,r)?t(E,e,[r]):void 0}function B(e,r){return null!=e&&T(e,r)?t(N,e,[r]):void 0}function L(e,t){return null!=e&&T(e,t)?e[t]:void 0}const k=Symbol,{asyncIterator:v,for:M,iterator:x,toStringTag:D,unscopables:C}=k,{toString:w,valueOf:G}=k.prototype,W=Array,{prototype:$}=W,{at:F,concat:U,copyWithin:V,entries:K,every:z,fill:H,findIndex:Y,flat:J,flatMap:X,forEach:Q,keys:q,lastIndexOf:Z,map:ee,pop:te,reduce:re,reduceRight:oe,reverse:ne,some:ae,splice:se,toLocaleString:ce,toString:ie,values:ue,[x]:le}=$,fe=S(y({__proto__:null},$[C])),{includes:pe,sort:ye,unshift:Se}=$,{filter:be,find:_e,indexOf:ge,join:Oe,push:de,shift:Re,slice:he}=$,{isArray:Ee}=W;function Ne(e,...r){const o=t(he,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];Ee(n)?t(de,o,n):o[o.length]=n}return o}function Pe(e){return f(e,null),e.at=F,e.concat=U,e.copyWithin=V,e.entries=K,e.every=z,e.fill=H,e.filter=be,e.find=_e,e.findIndex=Y,e.flat=J,e.flatMap=X,e.forEach=Q,e.includes=pe,e.indexOf=ge,e.join=Oe,e.keys=q,e.lastIndexOf=Z,e.map=ee,e.pop=te,e.push=de,e.reduce=re,e.reduceRight=oe,e.reverse=ne,e.shift=Re,e.slice=he,e.some=ae,e.sort=ye,e.splice=se,e.toLocaleString=ce,e.toString=ie,e.unshift=Se,e.values=ue,e[x]=le,e[C]=fe,f(e,$),e}const Ae=ArrayBuffer,{isView:je}=Ae,Ie=m(Ae.prototype,"byteLength"),Te="function"==typeof BigInt,me=Te?BigInt.prototype.valueOf:void 0,{valueOf:Be}=Boolean.prototype,Le="…",ke='"',ve="'",Me="Invalid sandbox key.",xe="$LWS",De=M("@@lockerNearMembraneSerializedValue"),Ce=M("@@lockerNearMembrane"),we="LSKey",Ge="lskey",We=`${()=>1}`.includes("$LWS"),$e="$lockerEvalContext$",Fe="$lockerEvalHelpers$",Ue=M("@@lockerLiveValue"),Ve="[object Array]",Ke="[object ArrayBuffer]",ze="[object BigInt]",He="[object Boolean]",Ye="[object Date]",Je="[object Error]",Xe="[object Function]",Qe="[object Map]",qe="[object Null]",Ze="[object Number]",et="[object Object]",tt="[object RegExp]",rt="[object Set]",ot="[object String]",nt="[object Symbol]",at="[object Undefined]",st="[object WeakMap]",ct="[object WeakSet]",it="uncompiledLocation$LWS",ut="uncompiledTop$LWS",lt="__webpack_require__",ft=Date,{now:pt}=ft,{valueOf:yt}=ft.prototype,St=Proxy,{revocable:bt}=St;function _t(e){const t=bt(e,{__proto__:null});return t.revoke(),t.proxy}const{bind:gt,toString:Ot}=Function.prototype;function dt(){}function Rt(e,o){const n=new St(o,{apply:(r,a,s)=>(a!==n&&a!==o||(a=e),t(e,a,s)),construct:(t,a,s)=>(s!==n&&s!==o||(s=e),r(e,a,s))});return n}function ht(e){return e}const Et=Map,{prototype:Nt}=Et,{clear:Pt,delete:At,forEach:jt,get:It,has:Tt,keys:mt,values:Bt,[x]:Lt,[D]:kt}=Nt,{entries:vt,set:Mt}=Nt,xt=m(Nt,"size");function Dt(e){return f(e,null),e.clear=Pt,e.delete=At,e.entries=vt,e.forEach=jt,e.get=It,e.has=Tt,e.keys=mt,e.set=Mt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:xt,set:void 0}),e.values=Bt,e[x]=Lt,e[D]=kt,f(e,Nt),e}const Ct=Number,{isFinite:wt,isInteger:Gt}=Ct,{toFixed:Wt,valueOf:$t}=Ct.prototype,Ft=String,{prototype:Ut}=Ft,{endsWith:Vt,includes:Kt,indexOf:zt,match:Ht,replace:Yt,slice:Jt,split:Xt,startsWith:Qt,toLowerCase:qt,toUpperCase:Zt,valueOf:er}=Ut,tr={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},rr="function"==typeof URL?URL:void 0,or=null==rr||null==(e=rr.prototype)?void 0:e.toString,nr=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;function ar(e){const{length:r}=e;if(r){const o=t(Zt,e[0],[]);return 1===r?o:o+t(Jt,e,[1])}return""}function sr(e,r="'"){return r+t(Yt,e,[tr[r],`\\${r}`])+r}function cr(e){var r,o;const n=t(Ot,e,[]),a=t(Ht,n,[nr]);return null!=(r=null!=(o=null==a?void 0:a[1])?o:null==a?void 0:a[2])?r:""}function ir(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1}function ur(e){return"string"==typeof e?e:`${e}`}function lr(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(Ot,e,[]);if("object"==typeof e&&null!==e){if(rr&&e instanceof rr)return t(or,e,[]);const r=t(A,e,[]);return"[object Symbol]"===r?t(w,e,[]):r}return"symbol"==typeof e?t(w,e,[]):Ft(e)}catch(e){}return"[object Unknown]"}const fr=RegExp,{prototype:pr}=fr,{exec:yr,test:Sr}=pr,br=m(pr,"source"),_r=/[\\^$.*+?()[\]{}|]/g;function gr(e){return t(Yt,e,[_r,"\\$&"])}const Or=Set,{prototype:dr}=Or,{clear:Rr,delete:hr,entries:Er,forEach:Nr,has:Pr,keys:Ar,[x]:jr,[D]:Ir}=dr,{add:Tr,values:mr}=dr,Br=m(dr,"size");function Lr(e){return f(e,null),e.add=Tr,e.clear=Rr,e.delete=hr,e.entries=Er,e.forEach=Nr,e.has=Pr,e.keys=Ar,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Br,set:void 0}),e.values=mr,e[x]=jr,e[D]=Ir,f(e,dr),e}const kr=WeakMap,{prototype:vr}=kr,{has:Mr}=vr,{delete:xr,get:Dr,set:Cr,[D]:wr}=vr;function Gr(e){return f(e,null),e.delete=xr,e.get=Dr,e.has=Mr,e.set=Cr,e[D]=wr,f(e,vr),e}const Wr=WeakSet,{prototype:$r}=Wr,{has:Fr}=$r,{add:Ur,delete:Vr,[D]:Kr}=$r;function zr(e){return f(e,null),e.add=Ur,e.delete=Vr,e.has=Fr,e[D]=Kr,f(e,$r),e}const{toStringTag:Hr}=Symbol,Yr=/[(`.[+\-/*%<>=,?^&]/,Jr=/\r\n?|\n|\u2028|\u2029/,Xr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function qr(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return Ee(e)?"[object Array]":Hr in e?function(e){try{if("byteLength"in e)return t(Ie,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(yt,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(xt,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(Br,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Mr,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Fr,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t($t,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(G,e,[]),"[object Symbol]"}catch(e){}try{if(T(e,"lastIndex"))return t(br,e,[]),"[object RegExp]"}catch(e){}try{if(T(e,"length"))return t(er,e,[]),"[object String]"}catch(e){}try{return t(Be,e,[]),"[object Boolean]"}catch(e){}if(Te)try{return t(me,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(A,e,[])}const Zr="undefined"==typeof performance?pt:t(gt,performance.now,[performance]);function eo(e,r){let o=0;for(;;){Xr.lastIndex=o,o+=t(yr,Xr,[e])[0].length;const n=t(yr,Qr,[t(Jt,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){Xr.lastIndex=o+n[0].length;const r=t(yr,Xr,[e]),a=r.index+r[0].length,s=e[a];if(";"===s||"}"===s)return o;const c=a+1;if(t(Sr,Jr,[r[0]])&&!("!"===s&&c<e.length&&"="===e[c]||t(Sr,Yr,[s])))return o}o+=n[0].length,Xr.lastIndex=o,o+=t(yr,Xr,[e])[0].length,";"===e[o]&&(o+=1)}}const{parse:to}=JSON,{stringify:ro}=JSON;function oo(e){return De in e?void 0:e[De]}function no(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(Ce in e)&&!0===e[Ce])}const ao=Dt(new Et);function so(e,r){const o=new Et,n=t(vt,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;const{0:c,1:i}=s;let u;r[a++]=[e=>{u=e},c],r[a++]=[e=>{t(Mt,o,[u,e])},i]}return o}function co(e){const{flags:t,source:r}=to(oo(e));return new fr(r,t)}function io(e,r){const o=new Or,n=t(mr,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;r[a++]=[e=>{t(Tr,o,[e])},s]}return o}function uo(e,t,r){const o=O(t);let{length:n}=e;for(let a=0,{length:s}=o;a<s;a+=1){const s=o[a],c=t[s];e[n++]=[e=>{r[s]=e},c]}}function lo(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(Re,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=ao.get(r);if(n){e(n);continue e}const a=qr(r);switch(a){case"[object Object]":{const e=c(r);e!==R&&null!==e&&null!==c(e)||(n={},uo(o,r,n));break}case"[object Array]":n=W(r.length),uo(o,r,n);break;case"[object Map]":n=so(r,o);break;case"[object Set]":n=io(r,o)}if(void 0===n){if(!no(r)){ao.set(r,r),e(r);continue e}switch(a){case"[object RegExp]":n=co(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=p(oo(r))}}if(void 0===n){e(r);break e}ao.set(r,n),e(n)}return r}(e)}catch(e){}ao.clear()}return r}function fo(e){return t(he,e,[0])}function po(e){const t=u(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r}const yo=console,{warn:So}=yo;function bo(...e){t(So,yo,e)}const _o=Error,go=TypeError;class Oo extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const Ro=zr(new Wr);function ho(e,r=0){if(1&r||2&r||64&r||null==e||e===R||e===pr)return!1;if("function"==typeof e){try{return Ro.has(e)||T(e,Ue)}catch(e){}return!1}if("object"==typeof e){try{if(Ro.has(e)||T(e,Ue))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===p)return!0}catch(e){}try{if(null===c(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(Ee(e))return!0}catch(e){return!1}if(je(e))return!0}try{if(T(e,"lastIndex"))return t(br,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(Ie,e,[]),!0}catch(e){}}return!1}function Eo(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||ho(e)||o(e,Ue,{__proto__:null,value:void 0}),e}function No(e){return Ro.add(e),e}const{min:Po}=Math;function Ao(e){return`LSKey-${e}$`}function jo(e){return`LSKey[${e}]`}function Io(e,t){return`${Ao(t)}${e}`}function To(e,t){return`${jo(t)}${e}`}function mo(e,r){if("string"==typeof e){const o=Ao(r);return t(Qt,e,[o])?t(Jt,e,[o.length]):e}return""}function Bo(e,r){if("string"==typeof e){const o=jo(r);return t(Qt,e,[o])?t(Jt,e,[o.length]):e}return""}function Lo(e,r){return"string"==typeof e&&t(Qt,e,[Ao(r)])}function ko(e,r){return"string"==typeof e&&t(Qt,e,[jo(r)])}const vo=Promise,{catch:Mo,then:xo}=vo.prototype,Do=vo.resolve.bind(vo),Co=vo.reject.bind(vo);export{je as ArrayBufferIsView,Ie as ArrayBufferProtoByteLengthGetter,Ne as ArrayConcat,W as ArrayCtor,Ee as ArrayIsArray,be as ArrayProtoFilter,_e as ArrayProtoFind,pe as ArrayProtoIncludes,ge as ArrayProtoIndexOf,Oe as ArrayProtoJoin,de as ArrayProtoPush,Re as ArrayProtoShift,he as ArrayProtoSlice,ye as ArrayProtoSort,Se as ArrayProtoUnshift,me as BigIntProtoValueOf,Be as BooleanProtoValueOf,Le as CHAR_ELLIPSIS,ke as CHAR_QUOTE_DOUBLE,ve as CHAR_QUOTE_SINGLE,pt as DateNow,yt as DateProtoValueOf,Me as ERR_INVALID_SANDBOX_KEY,_o as ErrorCtor,gt as FunctionProtoBind,Ot as FunctionProtoToString,to as JSONParse,ro as JSONStringify,xe as LOCKER_IDENTIFIER_MARKER,De as LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL,Ce as LOCKER_NEAR_MEMBRANE_SYMBOL,we as LOCKER_SERVICE_KEY,Ge as LOCKER_SERVICE_KEY_LOWERED,We as LOCKER_UNMINIFIED_FLAG,Oo as LockerSecurityError,Et as MapCtor,vt as MapProtoEntries,Mt as MapProtoSet,xt as MapProtoSizeGetter,Po as MathMin,wt as NumberIsFinite,Gt as NumberIsInteger,Wt as NumberProtoToFixed,$t as NumberProtoValueOf,y as ObjectAssign,p as ObjectCtor,b as ObjectDefineProperties,S as ObjectFreeze,_ as ObjectGetOwnPropertyDescriptors,g as ObjectGetOwnPropertySymbols,T as ObjectHasOwn,O as ObjectKeys,m as ObjectLookupOwnGetter,B as ObjectLookupOwnSetter,L as ObjectLookupOwnValue,d as ObjectPreventExtensions,R as ObjectProto,A as ObjectProtoToString,vo as PromiseCtor,Mo as PromiseProtoCatch,xo as PromiseProtoThen,Co as PromiseReject,Do as PromiseResolve,St as ProxyCtor,bt as ProxyRevocable,t as ReflectApply,r as ReflectConstruct,o as ReflectDefineProperty,n as ReflectDeleteProperty,a as ReflectGet,s as ReflectGetOwnPropertyDescriptor,c as ReflectGetPrototypeOf,i as ReflectHas,u as ReflectOwnKeys,l as ReflectSet,f as ReflectSetPrototypeOf,fr as RegExpCtor,pr as RegExpProto,yr as RegExpProtoExec,br as RegExpProtoSourceGetter,Sr as RegExpProtoTest,$e as SANDBOX_EVAL_CONTEXT_NAME,Fe as SANDBOX_EVAL_HELPERS_NAME,Te as SUPPORTS_BIG_INT,Ue as SYMBOL_LIVE_OBJECT,Or as SetCtor,Tr as SetProtoAdd,Br as SetProtoSizeGetter,mr as SetProtoValues,Ft as StringCtor,Vt as StringProtoEndsWith,Kt as StringProtoIncludes,zt as StringProtoIndexOf,Ht as StringProtoMatch,Yt as StringProtoReplace,Jt as StringProtoSlice,Xt as StringProtoSplit,Qt as StringProtoStartsWith,qt as StringProtoToLowerCase,Zt as StringProtoToUpperCase,er as StringProtoValueOf,v as SymbolAsyncIterator,M as SymbolFor,x as SymbolIterator,w as SymbolProtoToString,G as SymbolProtoValueOf,D as SymbolToStringTag,C as SymbolUnscopables,Ve as TO_STRING_BRAND_ARRAY,Ke as TO_STRING_BRAND_ARRAY_BUFFER,ze as TO_STRING_BRAND_BIG_INT,He as TO_STRING_BRAND_BOOLEAN,Ye as TO_STRING_BRAND_DATE,Je as TO_STRING_BRAND_ERROR,Xe as TO_STRING_BRAND_FUNCTION,Qe as TO_STRING_BRAND_MAP,qe as TO_STRING_BRAND_NULL,Ze as TO_STRING_BRAND_NUMBER,et as TO_STRING_BRAND_OBJECT,tt as TO_STRING_BRAND_REG_EXP,rt as TO_STRING_BRAND_SET,ot as TO_STRING_BRAND_STRING,nt as TO_STRING_BRAND_SYMBOL,at as TO_STRING_BRAND_UNDEFINED,st as TO_STRING_BRAND_WEAK_MAP,ct as TO_STRING_BRAND_WEAK_SET,go as TypeErrorCtor,it as UNCOMPILED_LOCATION_NAME,ut as UNCOMPILED_TOP_NAME,lt as WEBPACK_REQUIRE_NAME,kr as WeakMapCtor,Mr as WeakMapProtoHas,Wr as WeakSetCtor,Fr as WeakSetProtoHas,ar as capitalizeFirstChar,bo as consoleWarn,_t as createRevokedProxy,sr as enquote,gr as escapeRegExp,cr as extractFunctionBodySource,qr as getBrand,Ao as getNamespaceMarker,oo as getNearMembraneSerializedValue,jo as getStorageNamespaceMarker,Zr as getTimestamp,ht as identity,eo as indexOfPragma,ir as isConvertibleToString,no as isNearMembrane,j as isObject,I as isObjectLike,ho as isTargetLive,Eo as markTargetAsLive,dt as noop,lo as partialStructuredClone,Io as prependNamespaceMarker,To as prependStorageNamespaceMarker,Rt as proxyMaskFunction,mo as removeNamespaceMarker,Bo as removeStorageNamespaceMarker,fo as shallowCloneArray,po as shallowCloneOptions,Lo as startsWithNamespaceMarker,ko as startsWithStorageNamespaceMarker,Pe as toSafeArray,Dt as toSafeMap,Lr as toSafeSet,lr as toSafeTemplateStringValue,Gr as toSafeWeakMap,zr as toSafeWeakSet,ur as toString,No as trackTargetAsLive}; | ||
/*! version: 0.18.4 */ |
@@ -214,3 +214,11 @@ /*! | ||
} = Boolean.prototype; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const ERR_INVALID_SANDBOX_KEY$LWS = 'Invalid sandbox key.'; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
const LOCKER_SERVICE_KEY$LWS = 'LSKey'; | ||
const LOCKER_SERVICE_KEY_LOWERED$LWS = 'lskey'; // This package is bundled by third-parties that have their own build time | ||
// replacement logic. Instead of customizing each build system to be aware | ||
@@ -227,7 +235,6 @@ // of this package we implement a two phase debug mode by performing small | ||
1}`.includes(LOCKER_IDENTIFIER_MARKER$LWS); | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const SANDBOX_EVAL_CONTEXT_NAME$LWS = '$lockerEvalContext$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; // Legacy symbol used by packages/locker-core-engine/src/LockerFilter.js. | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
const TO_STRING_BRAND_ARRAY$LWS = '[object Array]'; | ||
@@ -261,3 +268,16 @@ const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]'; | ||
} = DateCtor$LWS.prototype; | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
const { | ||
bind: FunctionProtoBind$LWS, | ||
@@ -270,2 +290,28 @@ toString: FunctionProtoToString$LWS | ||
function proxyMaskFunction$LWS(func$LWS, maskFunc$LWS) { | ||
const proxy$LWS = new ProxyCtor$LWS(maskFunc$LWS, { | ||
apply(_target$LWS, thisArg$LWS, args$LWS) { | ||
if (thisArg$LWS === proxy$LWS || thisArg$LWS === maskFunc$LWS) { | ||
thisArg$LWS = func$LWS; | ||
} | ||
return ReflectApply$LWS(func$LWS, thisArg$LWS, args$LWS); | ||
}, | ||
construct(_target$LWS, args$LWS, newTarget$LWS) { | ||
if (newTarget$LWS === proxy$LWS || newTarget$LWS === maskFunc$LWS) { | ||
newTarget$LWS = func$LWS; | ||
} | ||
return ReflectConstruct$LWS(func$LWS, args$LWS, newTarget$LWS); | ||
} | ||
}); | ||
return proxy$LWS; | ||
} | ||
function identity$LWS(value$LWS) { | ||
return value$LWS; | ||
} | ||
const MapCtor$LWS = Map; | ||
@@ -812,4 +858,2 @@ const { | ||
} = JSON; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
@@ -1186,6 +1230,4 @@ function getNearMembraneSerializedValue$LWS(object$LWS) { | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); // This is used by packages/locker-core-engine/src/LockerFilter.js | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
function isTargetLive$LWS(target$LWS, targetTraits$LWS = 0 | ||
@@ -1308,21 +1350,27 @@ /* TargetTraits.None */ | ||
} = Math; | ||
const PREFIX_HEAD$LWS = 'LSKey-'; | ||
const PREFIX_TAIL$LWS = '$'; | ||
const NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}-`; | ||
const NS_TAIL$LWS = '$'; | ||
const STORAGE_NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}[`; | ||
const STORAGE_NS_TAIL$LWS = ']'; | ||
function getNamespacePrefix$LWS(namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
function getNamespaceMarker$LWS(namespace$LWS) { | ||
return `${NS_HEAD$LWS}${namespace$LWS}${NS_TAIL$LWS}`; | ||
} | ||
function isNamespacePrefixed$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [`${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`]); | ||
function getStorageNamespaceMarker$LWS(namespace$LWS) { | ||
return `${STORAGE_NS_HEAD$LWS}${namespace$LWS}${STORAGE_NS_TAIL$LWS}`; | ||
} | ||
function prefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}${key$LWS}`; | ||
function prependNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function unprefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
function prependStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getStorageNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function removeNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const prefix$LWS = `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [prefix$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [prefix$LWS.length]) : key$LWS; | ||
const marker$LWS = getNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
@@ -1333,2 +1381,19 @@ | ||
function removeStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const marker$LWS = getStorageNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
return ''; | ||
} | ||
function startsWithNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
function startsWithStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getStorageNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
const PromiseCtor$LWS = Promise; | ||
@@ -1341,16 +1406,3 @@ const { | ||
const PromiseReject$LWS = PromiseCtor$LWS.reject.bind(PromiseCtor$LWS); | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayBufferProtoByteLengthGetter$LWS as ArrayBufferProtoByteLengthGetter, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoFind$LWS as ArrayProtoFind, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, BigIntProtoValueOf$LWS as BigIntProtoValueOf, BooleanProtoValueOf$LWS as BooleanProtoValueOf, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, DateProtoValueOf$LWS as DateProtoValueOf, ErrorCtor$LWS as ErrorCtor, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MapProtoSizeGetter$LWS as MapProtoSizeGetter, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, NumberProtoValueOf$LWS as NumberProtoValueOf, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectDefineProperties$LWS as ObjectDefineProperties, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseCtor$LWS as PromiseCtor, PromiseProtoCatch$LWS as PromiseProtoCatch, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, PromiseResolve$LWS as PromiseResolve, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpProto$LWS as RegExpProto, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SUPPORTS_BIG_INT$LWS as SUPPORTS_BIG_INT, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoSizeGetter$LWS as SetProtoSizeGetter, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolAsyncIterator$LWS as SymbolAsyncIterator, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProtoToString$LWS as SymbolProtoToString, SymbolProtoValueOf$LWS as SymbolProtoValueOf, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_ARRAY_BUFFER$LWS as TO_STRING_BRAND_ARRAY_BUFFER, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, TypeErrorCtor$LWS as TypeErrorCtor, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, UNCOMPILED_TOP_NAME$LWS as UNCOMPILED_TOP_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapProtoHas$LWS as WeakMapProtoHas, WeakSetCtor$LWS as WeakSetCtor, WeakSetProtoHas$LWS as WeakSetProtoHas, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespacePrefix$LWS as getNamespacePrefix, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, indexOfPragma$LWS as indexOfPragma, isConvertibleToString$LWS as isConvertibleToString, isNamespacePrefixed$LWS as isNamespacePrefixed, isNearMembrane$LWS as isNearMembrane, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isTargetLive$LWS as isTargetLive, markTargetAsLive$LWS as markTargetAsLive, noop$LWS as noop, partialStructuredClone$LWS as partialStructuredClone, prefixNamespace$LWS as prefixNamespace, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toSafeArray$LWS as toSafeArray, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toSafeWeakSet$LWS as toSafeWeakSet, toString$LWS as toString, trackTargetAsLive$LWS as trackTargetAsLive, unprefixNamespace$LWS as unprefixNamespace }; | ||
/*! version: 0.18.3 */ | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayBufferProtoByteLengthGetter$LWS as ArrayBufferProtoByteLengthGetter, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoFind$LWS as ArrayProtoFind, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, BigIntProtoValueOf$LWS as BigIntProtoValueOf, BooleanProtoValueOf$LWS as BooleanProtoValueOf, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, DateProtoValueOf$LWS as DateProtoValueOf, ERR_INVALID_SANDBOX_KEY$LWS as ERR_INVALID_SANDBOX_KEY, ErrorCtor$LWS as ErrorCtor, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS as LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL, LOCKER_NEAR_MEMBRANE_SYMBOL$LWS as LOCKER_NEAR_MEMBRANE_SYMBOL, LOCKER_SERVICE_KEY$LWS as LOCKER_SERVICE_KEY, LOCKER_SERVICE_KEY_LOWERED$LWS as LOCKER_SERVICE_KEY_LOWERED, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MapProtoSizeGetter$LWS as MapProtoSizeGetter, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, NumberProtoValueOf$LWS as NumberProtoValueOf, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectDefineProperties$LWS as ObjectDefineProperties, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseCtor$LWS as PromiseCtor, PromiseProtoCatch$LWS as PromiseProtoCatch, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, PromiseResolve$LWS as PromiseResolve, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpProto$LWS as RegExpProto, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SUPPORTS_BIG_INT$LWS as SUPPORTS_BIG_INT, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoSizeGetter$LWS as SetProtoSizeGetter, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolAsyncIterator$LWS as SymbolAsyncIterator, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProtoToString$LWS as SymbolProtoToString, SymbolProtoValueOf$LWS as SymbolProtoValueOf, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_ARRAY_BUFFER$LWS as TO_STRING_BRAND_ARRAY_BUFFER, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, TypeErrorCtor$LWS as TypeErrorCtor, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, UNCOMPILED_TOP_NAME$LWS as UNCOMPILED_TOP_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapProtoHas$LWS as WeakMapProtoHas, WeakSetCtor$LWS as WeakSetCtor, WeakSetProtoHas$LWS as WeakSetProtoHas, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespaceMarker$LWS as getNamespaceMarker, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getStorageNamespaceMarker$LWS as getStorageNamespaceMarker, getTimestamp$LWS as getTimestamp, identity$LWS as identity, indexOfPragma$LWS as indexOfPragma, isConvertibleToString$LWS as isConvertibleToString, isNearMembrane$LWS as isNearMembrane, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isTargetLive$LWS as isTargetLive, markTargetAsLive$LWS as markTargetAsLive, noop$LWS as noop, partialStructuredClone$LWS as partialStructuredClone, prependNamespaceMarker$LWS as prependNamespaceMarker, prependStorageNamespaceMarker$LWS as prependStorageNamespaceMarker, proxyMaskFunction$LWS as proxyMaskFunction, removeNamespaceMarker$LWS as removeNamespaceMarker, removeStorageNamespaceMarker$LWS as removeStorageNamespaceMarker, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, startsWithNamespaceMarker$LWS as startsWithNamespaceMarker, startsWithStorageNamespaceMarker$LWS as startsWithStorageNamespaceMarker, toSafeArray$LWS as toSafeArray, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toSafeWeakSet$LWS as toSafeWeakSet, toString$LWS as toString, trackTargetAsLive$LWS as trackTargetAsLive }; | ||
/*! version: 0.18.4 */ |
{ | ||
"name": "@locker/shared", | ||
"version": "0.18.3", | ||
"version": "0.18.4", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -25,3 +25,4 @@ "author": "Salesforce UI Security Team", | ||
"LICENSE.txt" | ||
] | ||
], | ||
"gitHead": "b8da3df1954104d31b1c95cef2c86f251e194288" | ||
} |
@@ -1,8 +0,14 @@ | ||
export declare const LOCKER_IDENTIFIER_MARKER = "$LWS"; | ||
export declare const LOCKER_UNMINIFIED_FLAG: boolean; | ||
export declare const CHAR_ELLIPSIS = "\u2026"; | ||
export declare const CHAR_QUOTE_DOUBLE = "\""; | ||
export declare const CHAR_QUOTE_SINGLE = "'"; | ||
export declare const ERR_INVALID_SANDBOX_KEY = "Invalid sandbox key."; | ||
export declare const LOCKER_IDENTIFIER_MARKER = "$LWS"; | ||
export declare const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL: symbol; | ||
export declare const LOCKER_NEAR_MEMBRANE_SYMBOL: symbol; | ||
export declare const LOCKER_SERVICE_KEY = "LSKey"; | ||
export declare const LOCKER_SERVICE_KEY_LOWERED = "lskey"; | ||
export declare const LOCKER_UNMINIFIED_FLAG: boolean; | ||
export declare const SANDBOX_EVAL_CONTEXT_NAME = "$lockerEvalContext$"; | ||
export declare const SANDBOX_EVAL_HELPERS_NAME = "$lockerEvalHelpers$"; | ||
export declare const SYMBOL_LIVE_OBJECT: symbol; | ||
export declare const TO_STRING_BRAND_ARRAY = "[object Array]"; | ||
@@ -9,0 +15,0 @@ export declare const TO_STRING_BRAND_ARRAY_BUFFER = "[object ArrayBuffer]"; |
export declare const FunctionProtoBind: (this: Function, thisArg: any, ...argArray: any[]) => any, FunctionProtoToString: () => string; | ||
export declare function noop(): void; | ||
export declare function proxyMaskFunction<T extends Function>(func: Function, maskFunc: T): T; | ||
export declare function identity<T>(value: T): T; | ||
//# sourceMappingURL=Function.d.ts.map |
import type { ProxyTarget } from './types'; | ||
import { TargetTraits } from './types'; | ||
export declare const SYMBOL_LIVE_OBJECT: symbol; | ||
export declare function isTargetLive(target: ProxyTarget, targetTraits?: TargetTraits): boolean; | ||
@@ -5,0 +4,0 @@ export declare function markTargetAsLive<T extends ProxyTarget>(target: T): T; |
@@ -1,5 +0,10 @@ | ||
export declare function getNamespacePrefix(namespace: string): string; | ||
export declare function isNamespacePrefixed(key: string, namespace: string): boolean; | ||
export declare function prefixNamespace(key: string, namespace: string): string; | ||
export declare function unprefixNamespace(key: string, namespace: string): string; | ||
import type { SandboxKey } from './types'; | ||
export declare function getNamespaceMarker(namespace: SandboxKey): string; | ||
export declare function getStorageNamespaceMarker(namespace: SandboxKey): string; | ||
export declare function prependNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function prependStorageNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function removeNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function removeStorageNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function startsWithNamespaceMarker(key: string, namespace: string): boolean; | ||
export declare function startsWithStorageNamespaceMarker(key: string, namespace: string): boolean; | ||
//# sourceMappingURL=Namespace.d.ts.map |
@@ -9,3 +9,3 @@ export declare type Getter = () => any; | ||
export declare type NearMembraneSerializedValue = bigint | boolean | number | string | symbol; | ||
export declare type ProxyTarget = CallableFunction | any[] | object; | ||
export declare type ProxyTarget = CallableFunction | NewableFunction | any[] | object; | ||
export declare type SandboxKey = string; | ||
@@ -12,0 +12,0 @@ export interface SandboxRecord { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181671
2915
37
228
4
7
2