Socket
Socket
Sign inDemoInstall

ses

Package Overview
Dependencies
Maintainers
3
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ses - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

2

dist/ses.umd.min.js

@@ -1,1 +0,1 @@

!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t=t||self).SES={})}(this,(function(t){"use strict";function r(t,r){if(!t)throw new TypeError(r)}const{getPrototypeOf:o}=Object;const{getOwnPropertyDescriptor:e,getPrototypeOf:n}=Object;function a(t){return n(t).constructor}const i=["Array","ArrayBuffer","ArrayBufferPrototype","ArrayIteratorPrototype","ArrayPrototype","AsyncFunction","AsyncFunctionPrototype","AsyncGenerator","AsyncGeneratorFunction","AsyncGeneratorPrototype","AsyncIteratorPrototype","Atomics","BigInt","BigIntPrototype","BigInt64Array","BigInt64ArrayPrototype","BigUint64Array","BigUint64ArrayPrototype","Boolean","BooleanPrototype","DataView","DataViewPrototype","Date","DatePrototype","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","ErrorPrototype","eval","EvalError","EvalErrorPrototype","Float32Array","Float32ArrayPrototype","Float64Array","Float64ArrayPrototype","Function","FunctionPrototype","Generator","GeneratorFunction","GeneratorPrototype","Int8Array","Int8ArrayPrototype","Int16Array","Int16ArrayPrototype","Int32Array","Int32ArrayPrototype","isFinite","isNaN","IteratorPrototype","JSON","Map","MapIteratorPrototype","MapPrototype","Math","Number","NumberPrototype","Object","ObjectPrototype","parseFloat","parseInt","Promise","PromisePrototype","Proxy","RangeError","RangeErrorPrototype","ReferenceError","ReferenceErrorPrototype","Reflect","RegExp","RegExpPrototype","RegExpStringIteratorPrototype","Set","SetIteratorPrototype","SetPrototype","SharedArrayBuffer","SharedArrayBufferPrototype","String","StringIteratorPrototype","StringPrototype","Symbol","SymbolPrototype","SyntaxError","SyntaxErrorPrototype","ThrowTypeError","TypedArray","TypedArrayPrototype","TypeError","TypeErrorPrototype","Uint8Array","Uint8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","Uint16Array","Uint16ArrayPrototype","Uint32Array","Uint32ArrayPrototype","URIError","URIErrorPrototype","WeakMap","WeakMapPrototype","WeakSet","WeakSetPrototype","escape","unescape","FunctionPrototypeConstructor","Compartment","CompartmentPrototype","harden"],{getOwnPropertyDescriptor:c}=Object;function s(t,o){const e=c(t,o);return r(!("get"in e||"set"in e),`unexpected accessor on global property: ${o}`),e.value}const{apply:p}=Reflect,y=(t=>(r,...o)=>p(t,r,o))(Object.prototype.hasOwnProperty);function l(){const t={__proto__:null},c=function(){const t=Function.prototype.constructor,r=typeof Symbol&&Symbol.iterator||"@@iterator",o=typeof Symbol&&Symbol.matchAll||"@@matchAll",i=e(arguments,"callee").get,c=(new String)[r](),s=n(c),p=(new RegExp)[o](),y=n(p),l=(new Array)[r](),u=n(l),f=n(Float32Array),g=(new Map)[r](),P=n(g),b=(new Set)[r](),m=n(b),d=n(u);function*h(){}const A=a(h),E=A.prototype;async function*S(){}const w=a(S),I=w.prototype,F=I.prototype,_=n(F);async function T(){}const v=a(T),O={FunctionPrototypeConstructor:t,ArrayIteratorPrototype:u,AsyncFunction:v,AsyncGenerator:I,AsyncGeneratorFunction:w,AsyncGeneratorPrototype:F,AsyncIteratorPrototype:_,Generator:E,GeneratorFunction:A,IteratorPrototype:d,MapIteratorPrototype:P,RegExpStringIteratorPrototype:y,SetIteratorPrototype:m,StringIteratorPrototype:s,ThrowTypeError:i,TypedArray:f};return O}();!function(t){const{FunctionPrototypeConstructor:e,ArrayIteratorPrototype:n,AsyncFunction:a,AsyncGenerator:i,AsyncGeneratorFunction:c,AsyncGeneratorPrototype:s,AsyncIteratorPrototype:p,Generator:y,GeneratorFunction:l,IteratorPrototype:u,MapIteratorPrototype:f,RegExpStringIteratorPrototype:g,SetIteratorPrototype:P,StringIteratorPrototype:b,ThrowTypeError:m,TypedArray:d}=t;r(o(m)===Function.prototype,"ThrowTypeError.__proto__ should be Function.prototype"),r(o(b)===u,"StringIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(g)===u,"RegExpStringIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(d)===Function.prototype,"TypedArray.__proto__ should be Function.prototype"),r(o(f)===u,"MapIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(P)===u,"SetIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(u)===Object.prototype,"IteratorPrototype.__proto__ should be Object.prototype"),r(o(p)===Object.prototype,"AsyncIteratorPrototype.__proto__ should be Object.prototype"),r(o(n)===u,"AsyncIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(l)===e,"GeneratorFunction.__proto__ should be Function"),r("GeneratorFunction"===l.name,'GeneratorFunction.name should be "GeneratorFunction"'),r(o(y)===Function.prototype,"Generator.__proto__ should be Function.prototype"),r(o(c)===e,"AsyncGeneratorFunction.__proto__ should be Function"),r("AsyncGeneratorFunction"===c.name,'AsyncGeneratorFunction.name should be "AsyncGeneratorFunction"'),r(o(i)===Function.prototype,"AsyncGenerator.__proto__ should be Function.prototype"),r(o(s)===p,"AsyncGeneratorPrototype.__proto__ should be AsyncIteratorPrototype"),r(o(a)===e,"AsyncFunction.__proto__ should be Function"),r("AsyncFunction"===a.name,'AsyncFunction.name should be "AsyncFunction"')}(c);for(const r of i){if(y(c,r)){t[r]=c[r];continue}if(y(globalThis,r)){t[r]=s(globalThis,r);continue}if(r.endsWith("Prototype")){const o=r.slice(0,-"Prototype".length);if(y(c,o)){const e=c[o];t[r]=e.prototype;continue}if(y(globalThis,o)){const e=s(globalThis,o);t[r]=e.prototype;continue}}}return function(t){Object.keys(t).forEach(r=>{if(void 0===t[r])throw new TypeError(`Malformed intrinsic: ${r}`)})}(t),t}const u={"**proto**":"FunctionPrototype",length:"number",name:"string"},f=u,g={get:f,set:"undefined"};function P(t){return{"**proto**":"Error",prototype:t,length:"number",name:"string"}}function b(t){return{"**proto**":"ErrorPrototype",constructor:t,message:"string",name:"string",toString:f}}function m(t){return{"**proto**":"TypedArray",length:"number",name:"string",BYTES_PER_ELEMENT:"number",prototype:t}}function d(t){return{"**proto**":"TypedArrayPrototype",BYTES_PER_ELEMENT:"number",constructor:t}}var h={"**proto**":null,ThrowTypeError:f,Infinity:"number",NaN:"number",undefined:"undefined",eval:f,isFinite:f,isNaN:f,parseFloat:f,parseInt:f,decodeURI:f,decodeURIComponent:f,encodeURI:f,encodeURIComponent:f,Object:{"**proto**":"FunctionPrototype",assign:f,create:f,defineProperties:f,defineProperty:f,entries:f,freeze:f,fromEntries:f,getOwnPropertyDescriptor:f,getOwnPropertyDescriptors:f,getOwnPropertyNames:f,getOwnPropertySymbols:f,getPrototypeOf:f,is:f,isExtensible:f,isFrozen:f,isSealed:f,keys:f,preventExtensions:f,prototype:"ObjectPrototype",seal:f,setPrototypeOf:f,values:f},ObjectPrototype:{"**proto**":null,constructor:"Object",hasOwnProperty:f,isPrototypeOf:f,propertyIsEnumerable:f,toLocaleString:f,toString:f,valueOf:f,__defineGetter__:f,__defineSetter__:f,__lookupGetter__:f,__lookupSetter__:f},Function:{"**proto**":"FunctionPrototype",length:"number",prototype:"FunctionPrototype"},FunctionPrototype:{length:"number",name:"string",apply:f,bind:f,call:f,constructor:"FunctionPrototypeConstructor",toString:f,"@@hasInstance":f},Boolean:{"**proto**":"FunctionPrototype",prototype:"BooleanPrototype"},BooleanPrototype:{constructor:"Boolean",toString:f,valueOf:f},Symbol:{"**proto**":"FunctionPrototype",asyncIterator:"symbol",for:f,hasInstance:"symbol",isConcatSpreadable:"symbol",iterator:"symbol",keyFor:f,match:"symbol",matchAll:"symbol",prototype:"SymbolPrototype",replace:"symbol",search:"symbol",species:"symbol",split:"symbol",toPrimitive:"symbol",toStringTag:"symbol",unscopables:"symbol"},SymbolPrototype:{constructor:"Symbol",description:g,toString:f,valueOf:f,"@@toPrimitive":f,"@@toStringTag":"string"},Error:{"**proto**":"FunctionPrototype",prototype:"ErrorPrototype",captureStackTrace:f,stackTraceLimit:"number"},ErrorPrototype:{constructor:"Error",message:"string",name:"string",toString:f},EvalError:P("EvalErrorPrototype"),RangeError:P("RangeErrorPrototype"),ReferenceError:P("ReferenceErrorPrototype"),SyntaxError:P("SyntaxErrorPrototype"),TypeError:P("TypeErrorPrototype"),URIError:P("URIErrorPrototype"),EvalErrorPrototype:b("EvalError"),RangeErrorPrototype:b("RangeError"),ReferenceErrorPrototype:b("ReferenceError"),SyntaxErrorPrototype:b("SyntaxError"),TypeErrorPrototype:b("TypeError"),URIErrorPrototype:b("URIError"),Number:{"**proto**":"FunctionPrototype",EPSILON:"number",isFinite:f,isInteger:f,isNaN:f,isSafeInteger:f,MAX_SAFE_INTEGER:"number",MAX_VALUE:"number",MIN_SAFE_INTEGER:"number",MIN_VALUE:"number",NaN:"number",NEGATIVE_INFINITY:"number",parseFloat:f,parseInt:f,POSITIVE_INFINITY:"number",prototype:"NumberPrototype"},NumberPrototype:{constructor:"Number",toExponential:f,toFixed:f,toLocaleString:f,toPrecision:f,toString:f,valueOf:f},BigInt:{"**proto**":"FunctionPrototype",asIntN:f,asUintN:f,prototype:"BigIntPrototype"},BigIntPrototype:{constructor:"BigInt",toLocaleString:f,toString:f,valueOf:f,"@@toStringTag":"string"},Math:{E:"number",LN10:"number",LN2:"number",LOG10E:"number",LOG2E:"number",PI:"number",SQRT1_2:"number",SQRT2:"number","@@toStringTag":"string",abs:f,acos:f,acosh:f,asin:f,asinh:f,atan:f,atanh:f,atan2:f,cbrt:f,ceil:f,clz32:f,cos:f,cosh:f,exp:f,expm1:f,floor:f,fround:f,hypot:f,imul:f,log:f,log1p:f,log10:f,log2:f,max:f,min:f,pow:f,random:f,round:f,sign:f,sin:f,sinh:f,sqrt:f,tan:f,tanh:f,trunc:f},Date:{"**proto**":"FunctionPrototype",now:f,parse:f,prototype:"DatePrototype",UTC:f},DatePrototype:{constructor:"Date",getDate:f,getDay:f,getFullYear:f,getHours:f,getMilliseconds:f,getMinutes:f,getMonth:f,getSeconds:f,getTime:f,getTimezoneOffset:f,getUTCDate:f,getUTCDay:f,getUTCFullYear:f,getUTCHours:f,getUTCMilliseconds:f,getUTCMinutes:f,getUTCMonth:f,getUTCSeconds:f,setDate:f,setFullYear:f,setHours:f,setMilliseconds:f,setMinutes:f,setMonth:f,setSeconds:f,setTime:f,setUTCDate:f,setUTCFullYear:f,setUTCHours:f,setUTCMilliseconds:f,setUTCMinutes:f,setUTCMonth:f,setUTCSeconds:f,toDateString:f,toISOString:f,toJSON:f,toLocaleDateString:f,toLocaleString:f,toLocaleTimeString:f,toString:f,toTimeString:f,toUTCString:f,valueOf:f,"@@toPrimitive":f,getYear:f,setYear:f,toGMTString:f},String:{"**proto**":"FunctionPrototype",fromCharCode:f,fromCodePoint:f,prototype:"StringPrototype",raw:f},StringPrototype:{length:"number",charAt:f,charCodeAt:f,codePointAt:f,concat:f,constructor:"String",endsWith:f,includes:f,indexOf:f,lastIndexOf:f,localeCompare:f,match:f,matchAll:f,normalize:f,padEnd:f,padStart:f,repeat:f,replace:f,search:f,slice:f,split:f,startsWith:f,substring:f,toLocaleLowerCase:f,toLocaleUpperCase:f,toLowerCase:f,toString:f,toUpperCase:f,trim:f,trimEnd:f,trimStart:f,valueOf:f,"@@iterator":f,substr:f,anchor:f,big:f,blink:f,bold:f,fixed:f,fontcolor:f,fontsize:f,italics:f,link:f,small:f,strike:f,sub:f,sup:f,trimLeft:f,trimRight:f},StringIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},RegExp:{"**proto**":"FunctionPrototype",prototype:"RegExpPrototype","@@species":g},RegExpPrototype:{constructor:"RegExp",exec:f,dotAll:g,flags:g,global:g,ignoreCase:g,"@@match":f,"@@matchAll":f,multiline:g,"@@replace":f,"@@search":f,source:g,"@@split":f,sticky:g,test:f,toString:f,unicode:g,compile:!1},RegExpStringIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},Array:{"**proto**":"FunctionPrototype",from:f,isArray:f,of:f,prototype:"ArrayPrototype","@@species":g},ArrayPrototype:{length:"number",concat:f,constructor:"Array",copyWithin:f,entries:f,every:f,fill:f,filter:f,find:f,findIndex:f,flat:f,flatMap:f,forEach:f,includes:f,indexOf:f,join:f,keys:f,lastIndexOf:f,map:f,pop:f,push:f,reduce:f,reduceRight:f,reverse:f,shift:f,slice:f,some:f,sort:f,splice:f,toLocaleString:f,toString:f,unshift:f,values:f,"@@iterator":f,"@@unscopables":{"**proto**":null,copyWithin:"boolean",entries:"boolean",fill:"boolean",find:"boolean",findIndex:"boolean",flat:"boolean",flatMap:"boolean",includes:"boolean",keys:"boolean",values:"boolean"}},ArrayIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},TypedArray:{"**proto**":"FunctionPrototype",from:f,of:f,prototype:"TypedArrayPrototype","@@species":g},TypedArrayPrototype:{buffer:g,byteLength:g,byteOffset:g,constructor:"TypedArray",copyWithin:f,entries:f,every:f,fill:f,filter:f,find:f,findIndex:f,forEach:f,includes:f,indexOf:f,join:f,keys:f,lastIndexOf:f,length:g,map:f,reduce:f,reduceRight:f,reverse:f,set:f,slice:f,some:f,sort:f,subarray:f,toLocaleString:f,toString:f,values:f,"@@iterator":f,"@@toStringTag":g},BigInt64Array:m("BigInt64ArrayPrototype"),BigUint64Array:m("BigUint64ArrayPrototype"),Float32Array:m("Float32ArrayPrototype"),Float64Array:m("Float64ArrayPrototype"),Int16Array:m("Int16ArrayPrototype"),Int32Array:m("Int32ArrayPrototype"),Int8Array:m("Int8ArrayPrototype"),Uint16Array:m("Uint16ArrayPrototype"),Uint32Array:m("Uint32ArrayPrototype"),Uint8Array:m("Uint8ArrayPrototype"),Uint8ClampedArray:m("Uint8ClampedArrayPrototype"),BigInt64ArrayPrototype:d("BigInt64Array"),BigUint64ArrayPrototype:d("BigUint64Array"),Float32ArrayPrototype:d("Float32Array"),Float64ArrayPrototype:d("Float64Array"),Int16ArrayPrototype:d("Int16Array"),Int32ArrayPrototype:d("Int32Array"),Int8ArrayPrototype:d("Int8Array"),Uint16ArrayPrototype:d("Uint16Array"),Uint32ArrayPrototype:d("Uint32Array"),Uint8ArrayPrototype:d("Uint8Array"),Uint8ClampedArrayPrototype:d("Uint8ClampedArray"),Map:{"**proto**":"FunctionPrototype","@@species":g,prototype:"MapPrototype"},MapPrototype:{clear:f,constructor:"Map",delete:f,entries:f,forEach:f,get:f,has:f,keys:f,set:f,size:g,values:f,"@@iterator":f,"@@toStringTag":"string"},MapIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},Set:{"**proto**":"FunctionPrototype",prototype:"SetPrototype","@@species":g},SetPrototype:{add:f,clear:f,constructor:"Set",delete:f,entries:f,forEach:f,has:f,keys:f,size:g,values:f,"@@iterator":f,"@@toStringTag":"string"},SetIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},WeakMap:{"**proto**":"FunctionPrototype",prototype:"WeakMapPrototype"},WeakMapPrototype:{constructor:"WeakMap",delete:f,get:f,has:f,set:f,"@@toStringTag":"string"},WeakSet:{"**proto**":"FunctionPrototype",prototype:"WeakSetPrototype"},WeakSetPrototype:{add:f,constructor:"WeakSet",delete:f,has:f,"@@toStringTag":"string"},ArrayBuffer:{"**proto**":"FunctionPrototype",isView:f,prototype:"ArrayBufferPrototype","@@species":g},ArrayBufferPrototype:{byteLength:g,constructor:"ArrayBuffer",slice:f,"@@toStringTag":"string"},SharedArrayBuffer:!1,DataView:{"**proto**":"FunctionPrototype",prototype:"DataViewPrototype"},DataViewPrototype:{buffer:g,byteLength:g,byteOffset:g,constructor:"DataView",getBigInt64:f,getBigUint64:f,getFloat32:f,getFloat64:f,getInt8:f,getInt16:f,getInt32:f,getUint8:f,getUint16:f,getUint32:f,setBigInt64:f,setBigUint64:f,setFloat32:f,setFloat64:f,setInt8:f,setInt16:f,setInt32:f,setUint8:f,setUint16:f,setUint32:f,"@@toStringTag":"string"},Atomics:!1,JSON:{parse:f,stringify:f,"@@toStringTag":"string"},IteratorPrototype:{"@@iterator":f},AsyncIteratorPrototype:{"@@asyncIterator":f},GeneratorFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"Generator"},Generator:{"**proto**":"FunctionPrototype",constructor:"GeneratorFunction",prototype:"GeneratorPrototype"},AsyncGeneratorFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"AsyncGenerator"},AsyncGenerator:{"**proto**":"FunctionPrototype",constructor:"AsyncGeneratorFunction",prototype:"AsyncGeneratorPrototype","@@toStringTag":"string"},GeneratorPrototype:{"**proto**":"IteratorPrototype",constructor:"Generator",next:f,return:f,throw:f,"@@toStringTag":"string"},AsyncGeneratorPrototype:{"**proto**":"AsyncIteratorPrototype",constructor:"AsyncGenerator",next:f,return:f,throw:f,"@@toStringTag":"string"},Promise:{"**proto**":"FunctionPrototype",all:f,allSettled:f,prototype:"PromisePrototype",race:f,reject:f,resolve:f,"@@species":g},PromisePrototype:{catch:f,constructor:"Promise",finally:f,then:f,"@@toStringTag":"string"},AsyncFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"AsyncFunctionPrototype"},AsyncFunctionPrototype:{"**proto**":"FunctionPrototype",constructor:"AsyncFunction","@@toStringTag":"string"},Reflect:{apply:f,construct:f,defineProperty:f,deleteProperty:f,get:f,getOwnPropertyDescriptor:f,getPrototypeOf:f,has:f,isExtensible:f,ownKeys:f,preventExtensions:f,set:f,setPrototypeOf:f},Proxy:{"**proto**":"FunctionPrototype",revocable:f},escape:f,unescape:f,FunctionPrototypeConstructor:{"**proto**":"FunctionPrototype",length:"number",prototype:"FunctionPrototype"},Compartment:{"**proto**":"FunctionPrototype",prototype:"CompartmentPrototype"},CompartmentPrototype:{constructor:"Compartment",evaluate:f,global:g},harden:f};const{getPrototypeOf:A,getOwnPropertyDescriptor:E}=Object,{apply:S,ownKeys:w}=Reflect,I=(t=>(r,...o)=>S(t,r,o))(Object.prototype.hasOwnProperty);function F(t,r){if("string"==typeof r)return r;if("symbol"==typeof r)return`@@${r.toString().slice(14,-1)}`;throw new TypeError(`Unexpected property name type ${t} ${r}`)}function _(t){const r=["undefined","boolean","number","string","symbol"];function o(o,e,n,i){if("object"==typeof i)return a(o,e,i),!0;if(!1===i)return!1;if("string"==typeof i)if("prototype"===n||"constructor"===n){if(I(t,i))return e===t[i]}else if(r.includes(i))return typeof e===i;throw new TypeError(`Unexpected whitelist permit ${o}`)}function e(t,r,e,n){const a=E(r,e);return I(a,"value")?o(t,a.value,e,n):o(`${t}<get>`,a.get,e,n.get)&&o(`${t}<set>`,a.set,e,n.set)}function n(t,r){return I(t,r)?t[r]:"FunctionPrototype"===t["**proto**"]&&I(u,r)?u[r]:void 0}function a(r,o,a){!function(r,o,e){const n=A(o);if(null!==n||null!==e){if(void 0!==e&&"string"!=typeof e)throw new TypeError(`Malformed whitelist permit ${r}.__proto__`);if(n!==t[e||"ObjectPrototype"])throw new Error(`Unexpected intrinsic ${r}.__proto__`)}}(r,o,a["**proto**"]);for(const t of w(o)){if("__proto__"===t)continue;const i=F(r,t),c=`${r}.${i}`,s=n(a,i);s&&e(c,o,t,s)||delete o[t]}}a("intrinsics",t,h)}const{defineProperties:T,getOwnPropertyDescriptors:v}=Object;const{getOwnPropertyDescriptor:O}=Object;const{defineProperties:U,getOwnPropertyDescriptors:x,getOwnPropertyDescriptor:R}=Object;const C=!0;var M={ObjectPrototype:"*",ArrayPrototype:"*",FunctionPrototype:{constructor:C,bind:C,name:C,toString:C},ErrorPrototype:{constructor:C,message:C,name:C},PromisePrototype:{constructor:C},TypedArrayPrototype:"*",Generator:{constructor:C,name:C,toString:C},IteratorPrototype:"*"};const{defineProperties:k,getOwnPropertyNames:G,getOwnPropertyDescriptor:j,getOwnPropertyDescriptors:N}=Object,{ownKeys:$}=Reflect;function D(t){return null!==t&&"object"==typeof t}const{assign:B,freeze:L,defineProperties:W,getOwnPropertyDescriptor:V,getOwnPropertyNames:z,getPrototypeOf:Y,setPrototypeOf:J,prototype:H}=Object,{apply:K,get:Q,set:X}=Reflect,{isArray:q,prototype:Z}=Array,{revocable:tt}=Proxy,{prototype:rt}=RegExp,{prototype:ot}=String,{prototype:et}=WeakMap,nt=t=>(r,...o)=>K(t,r,o),at=nt(H.hasOwnProperty),it=(nt(Z.filter),nt(Z.join)),ct=(nt(Z.push),nt(Z.pop)),st=nt(Z.includes),pt=nt(rt.test),yt=(nt(ot.match),nt(ot.search)),lt=nt(ot.slice),ut=nt(ot.split),ft=(nt(et.get),nt(et.set),nt(et.has),t=>Q(Y(t),"constructor")),gt=L({__proto__:null});function Pt(t,r){const o=`please report internal shim error: ${t}`;throw console.error(o),r&&(console.error(`${r}`),console.error(`${r.stack}`)),TypeError(o)}function bt(t,r){t||Pt(r)}const mt=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","let","static","enum","implements","package","protected","interface","private","public","await","null","true","false","this","arguments"],dt=new RegExp("^[a-zA-Z_$][\\w$]*$");function ht(t){return"eval"!==t&&!st(mt,t)&&pt(dt,t)}function At(t,r){const o=V(t,r);return(!1===o.configurable&&!1===o.writable&&at(o,"value"))}const Et=new Proxy(gt,{get(t,r){Pt(`unexpected scope handler trap called: ${String(r)}`)}});function St(t,r){const o=yt(t,r);return o<0?-1:ut(lt(t,0,o),"\n").length}const wt=new RegExp("(?:\x3c!--|--\x3e)");const It=new RegExp("\\bimport\\s*(?:\\(|/[/*])");const Ft=new RegExp("\\beval\\s*(?:\\(|/[/*])");const _t={rewrite:t=>(function(t){const r=St(t,wt);if(r<0)return t;throw new SyntaxError(`possible html comment syntax rejected around line ${r}`)}(t.src),function(t){const r=St(t,It);if(r<0)return t;throw new SyntaxError(`possible import expression rejected around line ${r}`)}(t.src),function(t){const r=St(t,Ft);if(r<0)return t;throw new SyntaxError(`possible direct eval expression rejected around line ${r}`)}(t.src),t)};function Tt(t,r=[]){const o=function(t){return 0===t.length?"":`const {${it(t,",")}} = this;`}(r);return t.intrinsics.Function(`\n with (this) {\n ${o}\n return function() {\n 'use strict';\n return eval(arguments[0]);\n };\n }\n `)}function vt(t,r,o,e={},{localTransforms:n=[],globalTransforms:a=[],sloppyGlobalsMode:i=!1}={}){let c={src:r,endowments:e};c=function(t,r){for(const o of r)"function"==typeof o.rewrite&&(t=o.rewrite(t));return t}(c,[...n,...a,_t]);const s=function(t,r,o={},{sloppyGlobalsMode:e=!1}={}){return{__proto__:Et,useUnsafeEvaluator:!1,get(e,n){if("symbol"!=typeof n)return"eval"===n&&!0===this.useUnsafeEvaluator?(this.useUnsafeEvaluator=!1,t.intrinsics.eval):n in o?Q(o,n,r):Q(r,n)},set(t,e,n){if(e in o){return"value"in V(o,e)?X(o,e,n):X(o,e,n,r)}return X(r,e,n)},has:(t,n)=>!!(e||"eval"===n||n in o||n in r||n in globalThis),getPrototypeOf:()=>null}}(t,o,c.endowments,{sloppyGlobalsMode:i}),p=tt(gt,s),y=Tt(t,function(t,r={}){const o=z(t),e=z(r),n=e.filter(t=>ht(t)&&At(r,t));return[...o.filter(r=>!e.includes(r)&&ht(r)&&At(t,r)),...n]}(o,c.endowments)),l=K(y,p.proxy,[]);let u;s.useUnsafeEvaluator=!0;try{return K(l,o,[c.src])}catch(t){throw u=t,t}finally{!0===s.useUnsafeEvaluator&&(Pt("handler did not revoke useUnsafeEvaluator",u),p.revoke())}}const Ot=(t,r,o={})=>{const e=e=>"string"!=typeof e?e:vt(t,e,r,{},o);return W(e,{toString:{value:()=>"function eval() { [native code] }",writable:!1,enumerable:!1,configurable:!0}}),bt(ft(e)!==Function,"eval constructor is Function"),bt(ft(e)!==t.intrinsics.Function,"eval contructions is %Function%"),e};function Ut(t,r,o={}){const e=function(e){const n=`${ct(arguments)||""}`,a=`${it(arguments,",")}`;new t.intrinsics.Function(a,n);const i=`(function anonymous(${a}\n) {\n${n}\n})`;return vt(t,i,r,{},o)};return W(e,{prototype:{value:t.intrinsics.Function.prototype,writable:!1,enumerable:!1,configurable:!1},toString:{value:()=>"function Function() { [native code] }",writable:!1,enumerable:!1,configurable:!0}}),bt(Y(Function)===Function.prototype),bt(Y(e)===Function.prototype),bt(ft(e)!==Function),bt(ft(e)!==t.intrinsics.Function),e}const xt=["eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","Proxy","RangeError","ReferenceError","RegExp","Set","String","Symbol","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet","JSON","Math","Reflect","escape","unescape","globalThis","Compartment","harden"];const{getOwnPropertyDescriptor:Rt}=Object,Ct=["eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","Proxy","RangeError","ReferenceError","RegExp","Set","String","Symbol","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet","JSON","Math","Reflect","escape","unescape","globalThis","Compartment","harden"];let Mt;function kt(){if(Mt)return Mt;const t=function(){const t={__proto__:null};for(const r of Ct){const o=Rt(globalThis,r);if(o){if("get"in o||"set"in o)throw new TypeError(`Unexpected accessor on global property: ${r}`);t[r]=o.value}}return t}();return Mt={__proto__:null,intrinsics:t},L(Mt)}const Gt=new WeakMap;class jt{constructor(t,r,o={}){const{transforms:e=[]}=o,n=[...e],a=function(t,{globalTransforms:r}){const o={},e={Infinity:{value:1/0,enumerable:!1},NaN:{value:NaN,enumerable:!1},undefined:{value:void 0,enumerable:!1}};for(const n of xt){if(!at(t.intrinsics,n))continue;let a;switch(n){case"eval":a=Ot(t,o,{globalTransforms:r});break;case"Function":a=Ut(t,o,{globalTransforms:r});break;case"globalThis":a=o;break;default:a=t.intrinsics[n]}e[n]={value:a,configurable:!0,writable:!0,enumerable:!1}}return W(o,e),bt(o.eval!==t.intrinsics.eval,"eval on global object"),bt(o.Function!==t.intrinsics.Function,"Function on global object"),o}(kt(),{globalTransforms:n});B(a,t),Gt.set(this,{globalTransforms:n,globalObject:a})}get global(){return Gt.get(this).globalObject}evaluate(t,r={}){if("string"!=typeof t)throw new TypeError("first argument of evaluate() must be a string");const{endowments:o={},transforms:e=[],sloppyGlobalsMode:n=!1}=r,a=[...e],{globalTransforms:i,globalObject:c}=Gt.get(this);return vt(kt(),t,c,o,{globalTransforms:i,localTransforms:a,sloppyGlobalsMode:n})}toString(){return"[object Compartment]"}static toString(){return"function Compartment() { [shim code] }"}}let Nt;function $t(t,r){if(!t)throw new TypeError(r)}t.lockdown=function(t={}){const{noTameDate:r=!1,noTameError:o=!1,noTameMath:e=!1,noTameRegExp:n=!1,registerOnly:a=!1,...i}=t,c=Object.keys(i);$t(0===c.length,`lockdown(): non supported option ${c.join(", ")}`);const s={noTameDate:r,noTameError:o,noTameMath:e,noTameRegExp:n,registerOnly:a};if(Nt)return Object.keys(s).forEach(t=>{$t(s[t]===Nt[t],`lockdown(): cannot re-invoke with different option ${t}`)}),!1;Nt=s,function(){try{(0,Function.prototype.constructor)("return 1")}catch(t){return}const{defineProperties:t,getPrototypeOf:r,setPrototypeOf:o}=Object;function e(e,n){let a;try{a=(0,eval)(n)}catch(t){if(t instanceof SyntaxError)return;throw t}const i=r(a),c=function(){throw new TypeError("Not available")};t(c,{name:{value:e,writable:!1,enumerable:!1,configurable:!0},toString:{value:()=>`function ${e}() { [native code] }`,writable:!1,enumerable:!1,configurable:!0}}),t(i,{constructor:{value:c}}),t(c,{prototype:{value:i}}),c!==Function.prototype.constructor&&o(c,Function.prototype.constructor)}e("Function","(function(){})"),e("GeneratorFunction","(function*(){})"),e("AsyncFunction","(async function(){})"),e("AsyncGeneratorFunction","(async function*(){})")}(),r||function(){const t={now:()=>NaN};Date.now=t.now;const r={toLocaleString:()=>NaN};Date.prototype.toLocaleString=r.toLocaleString;const o=Date,e=function(){return void 0===new.target?"Invalid Date":arguments.length>0?Reflect.construct(o,arguments,new.target):Reflect.construct(o,[NaN],new.target)},n=v(o);T(e,n);const a=v(o.prototype);a.constructor.value=e,T(e.prototype,a),globalThis.Date=e;const i={toLocaleString(){throw new TypeError("Object.prototype.toLocaleString is disabled")}};Object.prototype.toLocaleString=i.toLocaleString}(),o||function(){if(delete Error.captureStackTrace,O(Error,"captureStackTrace"))throw Error("Cannot remove Error.captureStackTrace");if(delete Error.stackTraceLimit,O(Error,"stackTraceLimit"))throw Error("Cannot remove Error.stackTraceLimit")}(),e||function(){const t={random(){throw TypeError("Math.random() is disabled")}};Math.random=t.random}(),n||function(){delete RegExp.prototype.compile;const t=RegExp,r=function(...r){return new.target?Reflect.construct(t,r,new.target):t(...r)},o=R(t,Symbol.species);U(r,Symbol.species,o);const e=x(t.prototype);e.constructor.value=r,U(r.prototype,e),globalThis.RegExp=r}();const p=function(t,r={}){const{freeze:o,getOwnPropertyDescriptors:e,getPrototypeOf:n}=Object,{ownKeys:a}=Reflect;let{fringeSet:i}=r;if(i){if("function"!=typeof i.add||"function"!=typeof i.has)throw new TypeError("options.fringeSet must have add() and has() methods");if(t)for(const r of t)i.add(r)}else i=new WeakSet(t);const c=r&&r.naivePrepareObject,{harden:s}={harden(t){const r=new Set,s=new Map,p=new WeakMap;function y(t,o){if(Object(t)!==t)return;const e=typeof t;if("object"!==e&&"function"!==e)throw new TypeError(`Unexpected typeof: ${e}`);i.has(t)||r.has(t)||(r.add(t),p.set(t,o))}function l(t){c&&c(t),o(t);const r=n(t),i=e(t),l=p.get(t)||"unknown";null===r||s.has(r)||(s.set(r,l),p.set(r,`${l}.__proto__`)),a(i).forEach(t=>{const r=`${l}.${String(t)}`,o=i[t];"value"in o?y(o.value,`${r}`):(y(o.get,`${r}(get)`),y(o.set,`${r}(set)`))})}return y(t),r.forEach(l),s.forEach((t,o)=>{if(!r.has(o)&&!i.has(o)){let r;try{r=`prototype ${o} of ${t} is not already in the fringeSet`}catch(e){r="a prototype of something is not already in the fringeset (and .toString failed)";try{console.log(r),console.log("the prototype:",o),console.log("of something:",t)}catch(t){}}throw new TypeError(r)}}),r.forEach(i.add,i),t}};return s}();Object.defineProperties(globalThis,{harden:{value:p,configurable:!0,writable:!0,enumerable:!1},Compartment:{value:jt,configurable:!0,writable:!0,enumerable:!1}});const y=l();_(y),function(){try{(0,Object.prototype.__lookupGetter__)("x")}catch(t){return}const{defineProperty:t,defineProperties:r,getOwnPropertyDescriptor:o,getPrototypeOf:e,prototype:n}=Object;function a(t){if(null==t)throw new TypeError("can't convert undefined or null to object");return Object(t)}function i(t){return"symbol"==typeof t?t:`${t}`}function c(t,r){if("function"!=typeof t)throw TypeError(`invalid ${r} usage`);return t}r(n,{__defineGetter__:{value:function(r,o){const e=a(this);t(e,r,{get:c(o,"getter"),enumerable:!0,configurable:!0})}},__defineSetter__:{value:function(r,o){const e=a(this);t(e,r,{set:c(o,"setter"),enumerable:!0,configurable:!0})}},__lookupGetter__:{value:function(t){let r,n=a(this);for(t=i(t);n&&!(r=o(n,t));)n=e(n);return r&&r.get}},__lookupSetter__:{value:function(t){let r,n=a(this);for(t=i(t);n&&!(r=o(n,t));)n=e(n);return r&&r.set}}})}();const u=function(t){const r={};function o(t,o,e,n){if("value"in n&&n.configurable){const{value:a}=n;r[t]=a,k(o,{[e]:{get:function(){return a},set:function(r){if(o===this)throw new TypeError(`Cannot assign to read only property '${e}' of '${t}'`);hasOwnProperty.call(this,e)?this[e]=r:k(this,{[e]:{value:r,writable:!0,enumerable:n.enumerable,configurable:n.configurable}})},enumerable:n.enumerable,configurable:n.configurable}})}}function e(t,r,e){const n=j(r,e);n&&o(t,r,e,n)}function n(t,r){const e=N(r);e&&$(e).forEach(n=>o(t,r,n,e[n]))}return function t(r,o,a){for(const i of G(a)){const c=j(o,i);if(!c||c.get||c.set)continue;const s=`${r}.${i}`,p=a[i];if(!0===p)e(s,o,i);else if("*"===p)n(s,c.value);else{if(!D(p))throw new TypeError(`Unexpected override enablement plan ${s}`);t(s,c.value,p)}}}("root",t,M),r}(y);return p(y,a),p(u,a),!0},Object.defineProperty(t,"__esModule",{value:!0})}));
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t=t||self).SES={})}(this,(function(t){"use strict";function r(t,r){if(!t)throw new TypeError(r)}const{getPrototypeOf:o}=Object;const{getOwnPropertyDescriptor:e,getPrototypeOf:n}=Object;function a(t){return n(t).constructor}const i=["Array","ArrayBuffer","ArrayBufferPrototype","ArrayIteratorPrototype","ArrayPrototype","AsyncFunction","AsyncFunctionPrototype","AsyncGenerator","AsyncGeneratorFunction","AsyncGeneratorPrototype","AsyncIteratorPrototype","Atomics","BigInt","BigIntPrototype","BigInt64Array","BigInt64ArrayPrototype","BigUint64Array","BigUint64ArrayPrototype","Boolean","BooleanPrototype","DataView","DataViewPrototype","Date","DatePrototype","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","ErrorPrototype","eval","EvalError","EvalErrorPrototype","Float32Array","Float32ArrayPrototype","Float64Array","Float64ArrayPrototype","Function","FunctionPrototype","Generator","GeneratorFunction","GeneratorPrototype","Int8Array","Int8ArrayPrototype","Int16Array","Int16ArrayPrototype","Int32Array","Int32ArrayPrototype","isFinite","isNaN","IteratorPrototype","JSON","Map","MapIteratorPrototype","MapPrototype","Math","Number","NumberPrototype","Object","ObjectPrototype","parseFloat","parseInt","Promise","PromisePrototype","Proxy","RangeError","RangeErrorPrototype","ReferenceError","ReferenceErrorPrototype","Reflect","RegExp","RegExpPrototype","RegExpStringIteratorPrototype","Set","SetIteratorPrototype","SetPrototype","SharedArrayBuffer","SharedArrayBufferPrototype","String","StringIteratorPrototype","StringPrototype","Symbol","SymbolPrototype","SyntaxError","SyntaxErrorPrototype","ThrowTypeError","TypedArray","TypedArrayPrototype","TypeError","TypeErrorPrototype","Uint8Array","Uint8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","Uint16Array","Uint16ArrayPrototype","Uint32Array","Uint32ArrayPrototype","URIError","URIErrorPrototype","WeakMap","WeakMapPrototype","WeakSet","WeakSetPrototype","escape","unescape","FunctionPrototypeConstructor","Compartment","CompartmentPrototype","harden"],{getOwnPropertyDescriptor:c}=Object;function s(t,o){const e=c(t,o);return r(!("get"in e||"set"in e),`unexpected accessor on global property: ${o}`),e.value}const{apply:p}=Reflect,y=(t=>(r,...o)=>p(t,r,o))(Object.prototype.hasOwnProperty);function u(){const t={__proto__:null},c=function(){const t=Function.prototype.constructor,r=typeof Symbol&&Symbol.iterator||"@@iterator",o=typeof Symbol&&Symbol.matchAll||"@@matchAll",i=e(arguments,"callee").get,c=(new String)[r](),s=n(c),p=(new RegExp)[o](),y=n(p),u=(new Array)[r](),l=n(u),f=n(Float32Array),g=(new Map)[r](),P=n(g),b=(new Set)[r](),m=n(b),d=n(l);function*h(){}const A=a(h),E=A.prototype;async function*S(){}const w=a(S),I=w.prototype,F=I.prototype,_=n(F);async function T(){}const v=a(T),O={FunctionPrototypeConstructor:t,ArrayIteratorPrototype:l,AsyncFunction:v,AsyncGenerator:I,AsyncGeneratorFunction:w,AsyncGeneratorPrototype:F,AsyncIteratorPrototype:_,Generator:E,GeneratorFunction:A,IteratorPrototype:d,MapIteratorPrototype:P,RegExpStringIteratorPrototype:y,SetIteratorPrototype:m,StringIteratorPrototype:s,ThrowTypeError:i,TypedArray:f};return O}();!function(t){const{FunctionPrototypeConstructor:e,ArrayIteratorPrototype:n,AsyncFunction:a,AsyncGenerator:i,AsyncGeneratorFunction:c,AsyncGeneratorPrototype:s,AsyncIteratorPrototype:p,Generator:y,GeneratorFunction:u,IteratorPrototype:l,MapIteratorPrototype:f,RegExpStringIteratorPrototype:g,SetIteratorPrototype:P,StringIteratorPrototype:b,ThrowTypeError:m,TypedArray:d}=t;r(o(m)===Function.prototype,"ThrowTypeError.__proto__ should be Function.prototype"),r(o(b)===l,"StringIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(g)===l,"RegExpStringIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(d)===Function.prototype,"TypedArray.__proto__ should be Function.prototype"),r(o(f)===l,"MapIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(P)===l,"SetIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(l)===Object.prototype,"IteratorPrototype.__proto__ should be Object.prototype"),r(o(p)===Object.prototype,"AsyncIteratorPrototype.__proto__ should be Object.prototype"),r(o(n)===l,"AsyncIteratorPrototype.__proto__ should be IteratorPrototype"),r(o(u)===e,"GeneratorFunction.__proto__ should be Function"),r("GeneratorFunction"===u.name,'GeneratorFunction.name should be "GeneratorFunction"'),r(o(y)===Function.prototype,"Generator.__proto__ should be Function.prototype"),r(o(c)===e,"AsyncGeneratorFunction.__proto__ should be Function"),r("AsyncGeneratorFunction"===c.name,'AsyncGeneratorFunction.name should be "AsyncGeneratorFunction"'),r(o(i)===Function.prototype,"AsyncGenerator.__proto__ should be Function.prototype"),r(o(s)===p,"AsyncGeneratorPrototype.__proto__ should be AsyncIteratorPrototype"),r(o(a)===e,"AsyncFunction.__proto__ should be Function"),r("AsyncFunction"===a.name,'AsyncFunction.name should be "AsyncFunction"')}(c);for(const r of i){if(y(c,r)){t[r]=c[r];continue}if(y(globalThis,r)){t[r]=s(globalThis,r);continue}if(r.endsWith("Prototype")){const o=r.slice(0,-"Prototype".length);if(y(c,o)){const e=c[o];t[r]=e.prototype;continue}if(y(globalThis,o)){const e=s(globalThis,o);t[r]=e.prototype;continue}}}return function(t){Object.keys(t).forEach(r=>{if(void 0===t[r])throw new TypeError(`Malformed intrinsic: ${r}`)})}(t),t}const l={"**proto**":"FunctionPrototype",length:"number",name:"string"},f=l,g={get:f,set:"undefined"};function P(t){return{"**proto**":"Error",prototype:t,length:"number",name:"string"}}function b(t){return{"**proto**":"ErrorPrototype",constructor:t,message:"string",name:"string",toString:f}}function m(t){return{"**proto**":"TypedArray",length:"number",name:"string",BYTES_PER_ELEMENT:"number",prototype:t}}function d(t){return{"**proto**":"TypedArrayPrototype",BYTES_PER_ELEMENT:"number",constructor:t}}var h={"**proto**":null,ThrowTypeError:f,Infinity:"number",NaN:"number",undefined:"undefined",eval:f,isFinite:f,isNaN:f,parseFloat:f,parseInt:f,decodeURI:f,decodeURIComponent:f,encodeURI:f,encodeURIComponent:f,Object:{"**proto**":"FunctionPrototype",assign:f,create:f,defineProperties:f,defineProperty:f,entries:f,freeze:f,fromEntries:f,getOwnPropertyDescriptor:f,getOwnPropertyDescriptors:f,getOwnPropertyNames:f,getOwnPropertySymbols:f,getPrototypeOf:f,is:f,isExtensible:f,isFrozen:f,isSealed:f,keys:f,preventExtensions:f,prototype:"ObjectPrototype",seal:f,setPrototypeOf:f,values:f},ObjectPrototype:{"**proto**":null,constructor:"Object",hasOwnProperty:f,isPrototypeOf:f,propertyIsEnumerable:f,toLocaleString:f,toString:f,valueOf:f,__defineGetter__:f,__defineSetter__:f,__lookupGetter__:f,__lookupSetter__:f},Function:{"**proto**":"FunctionPrototype",length:"number",prototype:"FunctionPrototype"},FunctionPrototype:{length:"number",name:"string",apply:f,bind:f,call:f,constructor:"FunctionPrototypeConstructor",toString:f,"@@hasInstance":f},Boolean:{"**proto**":"FunctionPrototype",prototype:"BooleanPrototype"},BooleanPrototype:{constructor:"Boolean",toString:f,valueOf:f},Symbol:{"**proto**":"FunctionPrototype",asyncIterator:"symbol",for:f,hasInstance:"symbol",isConcatSpreadable:"symbol",iterator:"symbol",keyFor:f,match:"symbol",matchAll:"symbol",prototype:"SymbolPrototype",replace:"symbol",search:"symbol",species:"symbol",split:"symbol",toPrimitive:"symbol",toStringTag:"symbol",unscopables:"symbol"},SymbolPrototype:{constructor:"Symbol",description:g,toString:f,valueOf:f,"@@toPrimitive":f,"@@toStringTag":"string"},Error:{"**proto**":"FunctionPrototype",prototype:"ErrorPrototype",captureStackTrace:f,stackTraceLimit:"number"},ErrorPrototype:{constructor:"Error",message:"string",name:"string",toString:f},EvalError:P("EvalErrorPrototype"),RangeError:P("RangeErrorPrototype"),ReferenceError:P("ReferenceErrorPrototype"),SyntaxError:P("SyntaxErrorPrototype"),TypeError:P("TypeErrorPrototype"),URIError:P("URIErrorPrototype"),EvalErrorPrototype:b("EvalError"),RangeErrorPrototype:b("RangeError"),ReferenceErrorPrototype:b("ReferenceError"),SyntaxErrorPrototype:b("SyntaxError"),TypeErrorPrototype:b("TypeError"),URIErrorPrototype:b("URIError"),Number:{"**proto**":"FunctionPrototype",EPSILON:"number",isFinite:f,isInteger:f,isNaN:f,isSafeInteger:f,MAX_SAFE_INTEGER:"number",MAX_VALUE:"number",MIN_SAFE_INTEGER:"number",MIN_VALUE:"number",NaN:"number",NEGATIVE_INFINITY:"number",parseFloat:f,parseInt:f,POSITIVE_INFINITY:"number",prototype:"NumberPrototype"},NumberPrototype:{constructor:"Number",toExponential:f,toFixed:f,toLocaleString:f,toPrecision:f,toString:f,valueOf:f},BigInt:{"**proto**":"FunctionPrototype",asIntN:f,asUintN:f,prototype:"BigIntPrototype"},BigIntPrototype:{constructor:"BigInt",toLocaleString:f,toString:f,valueOf:f,"@@toStringTag":"string"},Math:{E:"number",LN10:"number",LN2:"number",LOG10E:"number",LOG2E:"number",PI:"number",SQRT1_2:"number",SQRT2:"number","@@toStringTag":"string",abs:f,acos:f,acosh:f,asin:f,asinh:f,atan:f,atanh:f,atan2:f,cbrt:f,ceil:f,clz32:f,cos:f,cosh:f,exp:f,expm1:f,floor:f,fround:f,hypot:f,imul:f,log:f,log1p:f,log10:f,log2:f,max:f,min:f,pow:f,random:f,round:f,sign:f,sin:f,sinh:f,sqrt:f,tan:f,tanh:f,trunc:f},Date:{"**proto**":"FunctionPrototype",now:f,parse:f,prototype:"DatePrototype",UTC:f},DatePrototype:{constructor:"Date",getDate:f,getDay:f,getFullYear:f,getHours:f,getMilliseconds:f,getMinutes:f,getMonth:f,getSeconds:f,getTime:f,getTimezoneOffset:f,getUTCDate:f,getUTCDay:f,getUTCFullYear:f,getUTCHours:f,getUTCMilliseconds:f,getUTCMinutes:f,getUTCMonth:f,getUTCSeconds:f,setDate:f,setFullYear:f,setHours:f,setMilliseconds:f,setMinutes:f,setMonth:f,setSeconds:f,setTime:f,setUTCDate:f,setUTCFullYear:f,setUTCHours:f,setUTCMilliseconds:f,setUTCMinutes:f,setUTCMonth:f,setUTCSeconds:f,toDateString:f,toISOString:f,toJSON:f,toLocaleDateString:f,toLocaleString:f,toLocaleTimeString:f,toString:f,toTimeString:f,toUTCString:f,valueOf:f,"@@toPrimitive":f,getYear:f,setYear:f,toGMTString:f},String:{"**proto**":"FunctionPrototype",fromCharCode:f,fromCodePoint:f,prototype:"StringPrototype",raw:f},StringPrototype:{length:"number",charAt:f,charCodeAt:f,codePointAt:f,concat:f,constructor:"String",endsWith:f,includes:f,indexOf:f,lastIndexOf:f,localeCompare:f,match:f,matchAll:f,normalize:f,padEnd:f,padStart:f,repeat:f,replace:f,search:f,slice:f,split:f,startsWith:f,substring:f,toLocaleLowerCase:f,toLocaleUpperCase:f,toLowerCase:f,toString:f,toUpperCase:f,trim:f,trimEnd:f,trimStart:f,valueOf:f,"@@iterator":f,substr:f,anchor:f,big:f,blink:f,bold:f,fixed:f,fontcolor:f,fontsize:f,italics:f,link:f,small:f,strike:f,sub:f,sup:f,trimLeft:f,trimRight:f},StringIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},RegExp:{"**proto**":"FunctionPrototype",prototype:"RegExpPrototype","@@species":g},RegExpPrototype:{constructor:"RegExp",exec:f,dotAll:g,flags:g,global:g,ignoreCase:g,"@@match":f,"@@matchAll":f,multiline:g,"@@replace":f,"@@search":f,source:g,"@@split":f,sticky:g,test:f,toString:f,unicode:g,compile:!1},RegExpStringIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},Array:{"**proto**":"FunctionPrototype",from:f,isArray:f,of:f,prototype:"ArrayPrototype","@@species":g},ArrayPrototype:{length:"number",concat:f,constructor:"Array",copyWithin:f,entries:f,every:f,fill:f,filter:f,find:f,findIndex:f,flat:f,flatMap:f,forEach:f,includes:f,indexOf:f,join:f,keys:f,lastIndexOf:f,map:f,pop:f,push:f,reduce:f,reduceRight:f,reverse:f,shift:f,slice:f,some:f,sort:f,splice:f,toLocaleString:f,toString:f,unshift:f,values:f,"@@iterator":f,"@@unscopables":{"**proto**":null,copyWithin:"boolean",entries:"boolean",fill:"boolean",find:"boolean",findIndex:"boolean",flat:"boolean",flatMap:"boolean",includes:"boolean",keys:"boolean",values:"boolean"}},ArrayIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},TypedArray:{"**proto**":"FunctionPrototype",from:f,of:f,prototype:"TypedArrayPrototype","@@species":g},TypedArrayPrototype:{buffer:g,byteLength:g,byteOffset:g,constructor:"TypedArray",copyWithin:f,entries:f,every:f,fill:f,filter:f,find:f,findIndex:f,forEach:f,includes:f,indexOf:f,join:f,keys:f,lastIndexOf:f,length:g,map:f,reduce:f,reduceRight:f,reverse:f,set:f,slice:f,some:f,sort:f,subarray:f,toLocaleString:f,toString:f,values:f,"@@iterator":f,"@@toStringTag":g},BigInt64Array:m("BigInt64ArrayPrototype"),BigUint64Array:m("BigUint64ArrayPrototype"),Float32Array:m("Float32ArrayPrototype"),Float64Array:m("Float64ArrayPrototype"),Int16Array:m("Int16ArrayPrototype"),Int32Array:m("Int32ArrayPrototype"),Int8Array:m("Int8ArrayPrototype"),Uint16Array:m("Uint16ArrayPrototype"),Uint32Array:m("Uint32ArrayPrototype"),Uint8Array:m("Uint8ArrayPrototype"),Uint8ClampedArray:m("Uint8ClampedArrayPrototype"),BigInt64ArrayPrototype:d("BigInt64Array"),BigUint64ArrayPrototype:d("BigUint64Array"),Float32ArrayPrototype:d("Float32Array"),Float64ArrayPrototype:d("Float64Array"),Int16ArrayPrototype:d("Int16Array"),Int32ArrayPrototype:d("Int32Array"),Int8ArrayPrototype:d("Int8Array"),Uint16ArrayPrototype:d("Uint16Array"),Uint32ArrayPrototype:d("Uint32Array"),Uint8ArrayPrototype:d("Uint8Array"),Uint8ClampedArrayPrototype:d("Uint8ClampedArray"),Map:{"**proto**":"FunctionPrototype","@@species":g,prototype:"MapPrototype"},MapPrototype:{clear:f,constructor:"Map",delete:f,entries:f,forEach:f,get:f,has:f,keys:f,set:f,size:g,values:f,"@@iterator":f,"@@toStringTag":"string"},MapIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},Set:{"**proto**":"FunctionPrototype",prototype:"SetPrototype","@@species":g},SetPrototype:{add:f,clear:f,constructor:"Set",delete:f,entries:f,forEach:f,has:f,keys:f,size:g,values:f,"@@iterator":f,"@@toStringTag":"string"},SetIteratorPrototype:{"**proto**":"IteratorPrototype",next:f,"@@toStringTag":"string"},WeakMap:{"**proto**":"FunctionPrototype",prototype:"WeakMapPrototype"},WeakMapPrototype:{constructor:"WeakMap",delete:f,get:f,has:f,set:f,"@@toStringTag":"string"},WeakSet:{"**proto**":"FunctionPrototype",prototype:"WeakSetPrototype"},WeakSetPrototype:{add:f,constructor:"WeakSet",delete:f,has:f,"@@toStringTag":"string"},ArrayBuffer:{"**proto**":"FunctionPrototype",isView:f,prototype:"ArrayBufferPrototype","@@species":g},ArrayBufferPrototype:{byteLength:g,constructor:"ArrayBuffer",slice:f,"@@toStringTag":"string"},SharedArrayBuffer:!1,DataView:{"**proto**":"FunctionPrototype",prototype:"DataViewPrototype"},DataViewPrototype:{buffer:g,byteLength:g,byteOffset:g,constructor:"DataView",getBigInt64:f,getBigUint64:f,getFloat32:f,getFloat64:f,getInt8:f,getInt16:f,getInt32:f,getUint8:f,getUint16:f,getUint32:f,setBigInt64:f,setBigUint64:f,setFloat32:f,setFloat64:f,setInt8:f,setInt16:f,setInt32:f,setUint8:f,setUint16:f,setUint32:f,"@@toStringTag":"string"},Atomics:!1,JSON:{parse:f,stringify:f,"@@toStringTag":"string"},IteratorPrototype:{"@@iterator":f},AsyncIteratorPrototype:{"@@asyncIterator":f},GeneratorFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"Generator"},Generator:{"**proto**":"FunctionPrototype",constructor:"GeneratorFunction",prototype:"GeneratorPrototype"},AsyncGeneratorFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"AsyncGenerator"},AsyncGenerator:{"**proto**":"FunctionPrototype",constructor:"AsyncGeneratorFunction",prototype:"AsyncGeneratorPrototype","@@toStringTag":"string"},GeneratorPrototype:{"**proto**":"IteratorPrototype",constructor:"Generator",next:f,return:f,throw:f,"@@toStringTag":"string"},AsyncGeneratorPrototype:{"**proto**":"AsyncIteratorPrototype",constructor:"AsyncGenerator",next:f,return:f,throw:f,"@@toStringTag":"string"},Promise:{"**proto**":"FunctionPrototype",all:f,allSettled:f,prototype:"PromisePrototype",race:f,reject:f,resolve:f,"@@species":g},PromisePrototype:{catch:f,constructor:"Promise",finally:f,then:f,"@@toStringTag":"string"},AsyncFunction:{"**proto**":"FunctionPrototypeConstructor",name:"string",length:"number",prototype:"AsyncFunctionPrototype"},AsyncFunctionPrototype:{"**proto**":"FunctionPrototype",constructor:"AsyncFunction","@@toStringTag":"string"},Reflect:{apply:f,construct:f,defineProperty:f,deleteProperty:f,get:f,getOwnPropertyDescriptor:f,getPrototypeOf:f,has:f,isExtensible:f,ownKeys:f,preventExtensions:f,set:f,setPrototypeOf:f},Proxy:{"**proto**":"FunctionPrototype",revocable:f},escape:f,unescape:f,FunctionPrototypeConstructor:{"**proto**":"FunctionPrototype",length:"number",prototype:"FunctionPrototype"},Compartment:{"**proto**":"FunctionPrototype",prototype:"CompartmentPrototype"},CompartmentPrototype:{constructor:"Compartment",evaluate:f,global:g},harden:f};const{getPrototypeOf:A,getOwnPropertyDescriptor:E}=Object,{apply:S,ownKeys:w}=Reflect,I=(t=>(r,...o)=>S(t,r,o))(Object.prototype.hasOwnProperty);function F(t,r){if("string"==typeof r)return r;if("symbol"==typeof r)return`@@${r.toString().slice(14,-1)}`;throw new TypeError(`Unexpected property name type ${t} ${r}`)}function _(t){const r=["undefined","boolean","number","string","symbol"];function o(o,e,n,i){if("object"==typeof i)return a(o,e,i),!0;if(!1===i)return!1;if("string"==typeof i)if("prototype"===n||"constructor"===n){if(I(t,i))return e===t[i]}else if(r.includes(i))return typeof e===i;throw new TypeError(`Unexpected whitelist permit ${o}`)}function e(t,r,e,n){const a=E(r,e);return I(a,"value")?o(t,a.value,e,n):o(`${t}<get>`,a.get,e,n.get)&&o(`${t}<set>`,a.set,e,n.set)}function n(t,r){return I(t,r)?t[r]:"FunctionPrototype"===t["**proto**"]&&I(l,r)?l[r]:void 0}function a(r,o,a){!function(r,o,e){const n=A(o);if(null!==n||null!==e){if(void 0!==e&&"string"!=typeof e)throw new TypeError(`Malformed whitelist permit ${r}.__proto__`);if(n!==t[e||"ObjectPrototype"])throw new Error(`Unexpected intrinsic ${r}.__proto__`)}}(r,o,a["**proto**"]);for(const t of w(o)){if("__proto__"===t)continue;const i=F(r,t),c=`${r}.${i}`,s=n(a,i);s&&e(c,o,t,s)||delete o[t]}}a("intrinsics",t,h)}const{defineProperties:T,getOwnPropertyDescriptors:v}=Object;const{getOwnPropertyDescriptor:O}=Object;const{defineProperties:U,getOwnPropertyDescriptors:x,getOwnPropertyDescriptor:R}=Object;const C=!0;var M={ObjectPrototype:"*",ArrayPrototype:"*",FunctionPrototype:{constructor:C,bind:C,name:C,toString:C},ErrorPrototype:{constructor:C,message:C,name:C,toString:C},TypeErrorPrototype:{constructor:C,name:C},PromisePrototype:{constructor:C},TypedArrayPrototype:"*",Generator:{constructor:C,name:C,toString:C},IteratorPrototype:"*"};const{defineProperties:k,getOwnPropertyNames:G,getOwnPropertyDescriptor:j,getOwnPropertyDescriptors:N}=Object,{ownKeys:$}=Reflect;function D(t){return null!==t&&"object"==typeof t}const{assign:B,freeze:L,defineProperties:W,getOwnPropertyDescriptor:V,getOwnPropertyNames:z,getPrototypeOf:Y,setPrototypeOf:J,prototype:H}=Object,{apply:K,get:Q,set:X}=Reflect,{isArray:q,prototype:Z}=Array,{revocable:tt}=Proxy,{prototype:rt}=RegExp,{prototype:ot}=String,{prototype:et}=WeakMap,nt=t=>(r,...o)=>K(t,r,o),at=nt(H.hasOwnProperty),it=(nt(Z.filter),nt(Z.join)),ct=(nt(Z.push),nt(Z.pop)),st=nt(Z.includes),pt=nt(rt.test),yt=(nt(ot.match),nt(ot.search)),ut=nt(ot.slice),lt=nt(ot.split),ft=(nt(et.get),nt(et.set),nt(et.has),t=>Q(Y(t),"constructor")),gt=L({__proto__:null});function Pt(t,r){const o=`please report internal shim error: ${t}`;throw console.error(o),r&&(console.error(`${r}`),console.error(`${r.stack}`)),TypeError(o)}function bt(t,r){t||Pt(r)}const mt=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","let","static","enum","implements","package","protected","interface","private","public","await","null","true","false","this","arguments"],dt=new RegExp("^[a-zA-Z_$][\\w$]*$");function ht(t){return"eval"!==t&&!st(mt,t)&&pt(dt,t)}function At(t,r){const o=V(t,r);return(!1===o.configurable&&!1===o.writable&&at(o,"value"))}const Et=new Proxy(gt,{get(t,r){Pt(`unexpected scope handler trap called: ${String(r)}`)}});function St(t,r){const o=yt(t,r);return o<0?-1:lt(ut(t,0,o),"\n").length}const wt=new RegExp("(?:\x3c!--|--\x3e)");const It=new RegExp("\\bimport\\s*(?:\\(|/[/*])");const Ft=new RegExp("\\beval\\s*(?:\\(|/[/*])");const _t={rewrite:t=>(function(t){const r=St(t,wt);if(r<0)return t;throw new SyntaxError(`possible html comment syntax rejected around line ${r}`)}(t.src),function(t){const r=St(t,It);if(r<0)return t;throw new SyntaxError(`possible import expression rejected around line ${r}`)}(t.src),function(t){const r=St(t,Ft);if(r<0)return t;throw new SyntaxError(`possible direct eval expression rejected around line ${r}`)}(t.src),t)};function Tt(t,r=[]){const o=function(t){return 0===t.length?"":`const {${it(t,",")}} = this;`}(r);return t.intrinsics.Function(`\n with (this) {\n ${o}\n return function() {\n 'use strict';\n return eval(arguments[0]);\n };\n }\n `)}function vt(t,r,o,e={},{localTransforms:n=[],globalTransforms:a=[],sloppyGlobalsMode:i=!1}={}){let c={src:r,endowments:e};c=function(t,r){for(const o of r)"function"==typeof o.rewrite&&(t=o.rewrite(t));return t}(c,[...n,...a,_t]);const s=function(t,r,o={},{sloppyGlobalsMode:e=!1}={}){return{__proto__:Et,useUnsafeEvaluator:!1,get(e,n){if("symbol"!=typeof n)return"eval"===n&&!0===this.useUnsafeEvaluator?(this.useUnsafeEvaluator=!1,t.intrinsics.eval):n in o?Q(o,n,r):Q(r,n)},set(t,e,n){if(e in o){return"value"in V(o,e)?X(o,e,n):X(o,e,n,r)}return X(r,e,n)},has:(t,n)=>!!(e||"eval"===n||n in o||n in r||n in globalThis),getPrototypeOf:()=>null}}(t,o,c.endowments,{sloppyGlobalsMode:i}),p=tt(gt,s),y=Tt(t,function(t,r={}){const o=z(t),e=z(r),n=e.filter(t=>ht(t)&&At(r,t));return[...o.filter(r=>!e.includes(r)&&ht(r)&&At(t,r)),...n]}(o,c.endowments)),u=K(y,p.proxy,[]);let l;s.useUnsafeEvaluator=!0;try{return K(u,o,[c.src])}catch(t){throw l=t,t}finally{!0===s.useUnsafeEvaluator&&(Pt("handler did not revoke useUnsafeEvaluator",l),p.revoke())}}const Ot=(t,r,o={})=>{const e=e=>"string"!=typeof e?e:vt(t,e,r,{},o);return W(e,{toString:{value:()=>"function eval() { [native code] }",writable:!1,enumerable:!1,configurable:!0}}),bt(ft(e)!==Function,"eval constructor is Function"),bt(ft(e)!==t.intrinsics.Function,"eval contructions is %Function%"),e};function Ut(t,r,o={}){const e=function(e){const n=`${ct(arguments)||""}`,a=`${it(arguments,",")}`;new t.intrinsics.Function(a,n);const i=`(function anonymous(${a}\n) {\n${n}\n})`;return vt(t,i,r,{},o)};return W(e,{prototype:{value:t.intrinsics.Function.prototype,writable:!1,enumerable:!1,configurable:!1},toString:{value:()=>"function Function() { [native code] }",writable:!1,enumerable:!1,configurable:!0}}),bt(Y(Function)===Function.prototype),bt(Y(e)===Function.prototype),bt(ft(e)!==Function),bt(ft(e)!==t.intrinsics.Function),e}const xt=["eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","Proxy","RangeError","ReferenceError","RegExp","Set","String","Symbol","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet","JSON","Math","Reflect","escape","unescape","globalThis","Compartment","harden"];const{getOwnPropertyDescriptor:Rt}=Object,Ct=["eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","Proxy","RangeError","ReferenceError","RegExp","Set","String","Symbol","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet","JSON","Math","Reflect","escape","unescape","globalThis","Compartment","harden"];let Mt;function kt(){if(Mt)return Mt;const t=function(){const t={__proto__:null};for(const r of Ct){const o=Rt(globalThis,r);if(o){if("get"in o||"set"in o)throw new TypeError(`Unexpected accessor on global property: ${r}`);t[r]=o.value}}return t}();return Mt={__proto__:null,intrinsics:t},L(Mt)}const Gt=new WeakMap;class jt{constructor(t,r,o={}){const{transforms:e=[]}=o,n=[...e],a=function(t,{globalTransforms:r}){const o={},e={Infinity:{value:1/0,enumerable:!1},NaN:{value:NaN,enumerable:!1},undefined:{value:void 0,enumerable:!1}};for(const n of xt){if(!at(t.intrinsics,n))continue;let a;switch(n){case"eval":a=Ot(t,o,{globalTransforms:r});break;case"Function":a=Ut(t,o,{globalTransforms:r});break;case"globalThis":a=o;break;default:a=t.intrinsics[n]}e[n]={value:a,configurable:!0,writable:!0,enumerable:!1}}return W(o,e),bt(o.eval!==t.intrinsics.eval,"eval on global object"),bt(o.Function!==t.intrinsics.Function,"Function on global object"),o}(kt(),{globalTransforms:n});B(a,t),Gt.set(this,{globalTransforms:n,globalObject:a})}get global(){return Gt.get(this).globalObject}evaluate(t,r={}){if("string"!=typeof t)throw new TypeError("first argument of evaluate() must be a string");const{endowments:o={},transforms:e=[],sloppyGlobalsMode:n=!1}=r,a=[...e],{globalTransforms:i,globalObject:c}=Gt.get(this);return vt(kt(),t,c,o,{globalTransforms:i,localTransforms:a,sloppyGlobalsMode:n})}toString(){return"[object Compartment]"}static toString(){return"function Compartment() { [shim code] }"}}let Nt;function $t(t,r){if(!t)throw new TypeError(r)}t.lockdown=function(t={}){const{noTameDate:r=!1,noTameError:o=!1,noTameMath:e=!1,noTameRegExp:n=!1,registerOnly:a=!1,...i}=t,c=Object.keys(i);$t(0===c.length,`lockdown(): non supported option ${c.join(", ")}`);const s={noTameDate:r,noTameError:o,noTameMath:e,noTameRegExp:n,registerOnly:a};if(Nt)return Object.keys(s).forEach(t=>{$t(s[t]===Nt[t],`lockdown(): cannot re-invoke with different option ${t}`)}),!1;Nt=s,function(){try{(0,Function.prototype.constructor)("return 1")}catch(t){return}const{defineProperties:t,getPrototypeOf:r,setPrototypeOf:o}=Object;function e(e,n){let a;try{a=(0,eval)(n)}catch(t){if(t instanceof SyntaxError)return;throw t}const i=r(a),c=function(){throw new TypeError("Not available")};t(c,{name:{value:e,writable:!1,enumerable:!1,configurable:!0},toString:{value:()=>`function ${e}() { [native code] }`,writable:!1,enumerable:!1,configurable:!0}}),t(i,{constructor:{value:c}}),t(c,{prototype:{value:i}}),c!==Function.prototype.constructor&&o(c,Function.prototype.constructor)}e("Function","(function(){})"),e("GeneratorFunction","(function*(){})"),e("AsyncFunction","(async function(){})"),e("AsyncGeneratorFunction","(async function*(){})")}(),r||function(){const t={now:()=>NaN};Date.now=t.now;const r={toLocaleString:()=>NaN};Date.prototype.toLocaleString=r.toLocaleString;const o=Date,e=function(){return void 0===new.target?"Invalid Date":arguments.length>0?Reflect.construct(o,arguments,new.target):Reflect.construct(o,[NaN],new.target)},n=v(o);T(e,n);const a=v(o.prototype);a.constructor.value=e,T(e.prototype,a),globalThis.Date=e;const i={toLocaleString(){throw new TypeError("Object.prototype.toLocaleString is disabled")}};Object.prototype.toLocaleString=i.toLocaleString}(),o||function(){if(delete Error.captureStackTrace,O(Error,"captureStackTrace"))throw Error("Cannot remove Error.captureStackTrace");if(delete Error.stackTraceLimit,O(Error,"stackTraceLimit"))throw Error("Cannot remove Error.stackTraceLimit")}(),e||function(){const t={random(){throw TypeError("Math.random() is disabled")}};Math.random=t.random}(),n||function(){delete RegExp.prototype.compile;const t=RegExp,r=function(...r){return new.target?Reflect.construct(t,r,new.target):t(...r)},o=R(t,Symbol.species);U(r,Symbol.species,o);const e=x(t.prototype);e.constructor.value=r,U(r.prototype,e),globalThis.RegExp=r}();const p=function(t,r={}){const{freeze:o,getOwnPropertyDescriptors:e,getPrototypeOf:n}=Object,{ownKeys:a}=Reflect;let{fringeSet:i}=r;if(i){if("function"!=typeof i.add||"function"!=typeof i.has)throw new TypeError("options.fringeSet must have add() and has() methods");if(t)for(const r of t)i.add(r)}else i=new WeakSet(t);const c=r&&r.naivePrepareObject,{harden:s}={harden(t){const r=new Set,s=new Map,p=new WeakMap;function y(t,o){if(Object(t)!==t)return;const e=typeof t;if("object"!==e&&"function"!==e)throw new TypeError(`Unexpected typeof: ${e}`);i.has(t)||r.has(t)||(r.add(t),p.set(t,o))}function u(t){c&&c(t),o(t);const r=n(t),i=e(t),u=p.get(t)||"unknown";null===r||s.has(r)||(s.set(r,u),p.set(r,`${u}.__proto__`)),a(i).forEach(t=>{const r=`${u}.${String(t)}`,o=i[t];"value"in o?y(o.value,`${r}`):(y(o.get,`${r}(get)`),y(o.set,`${r}(set)`))})}return y(t),r.forEach(u),s.forEach((t,o)=>{if(!r.has(o)&&!i.has(o)){let r;try{r=`prototype ${o} of ${t} is not already in the fringeSet`}catch(e){r="a prototype of something is not already in the fringeset (and .toString failed)";try{console.log(r),console.log("the prototype:",o),console.log("of something:",t)}catch(t){}}throw new TypeError(r)}}),r.forEach(i.add,i),t}};return s}();Object.defineProperties(globalThis,{harden:{value:p,configurable:!0,writable:!0,enumerable:!1},Compartment:{value:jt,configurable:!0,writable:!0,enumerable:!1}});const y=u();_(y),function(){try{(0,Object.prototype.__lookupGetter__)("x")}catch(t){return}const{defineProperty:t,defineProperties:r,getOwnPropertyDescriptor:o,getPrototypeOf:e,prototype:n}=Object;function a(t){if(null==t)throw new TypeError("can't convert undefined or null to object");return Object(t)}function i(t){return"symbol"==typeof t?t:`${t}`}function c(t,r){if("function"!=typeof t)throw TypeError(`invalid ${r} usage`);return t}r(n,{__defineGetter__:{value:function(r,o){const e=a(this);t(e,r,{get:c(o,"getter"),enumerable:!0,configurable:!0})}},__defineSetter__:{value:function(r,o){const e=a(this);t(e,r,{set:c(o,"setter"),enumerable:!0,configurable:!0})}},__lookupGetter__:{value:function(t){let r,n=a(this);for(t=i(t);n&&!(r=o(n,t));)n=e(n);return r&&r.get}},__lookupSetter__:{value:function(t){let r,n=a(this);for(t=i(t);n&&!(r=o(n,t));)n=e(n);return r&&r.set}}})}();const l=function(t){const r={};function o(t,o,e,n){if("value"in n&&n.configurable){const{value:a}=n;r[t]=a,k(o,{[e]:{get:function(){return a},set:function(r){if(o===this)throw new TypeError(`Cannot assign to read only property '${e}' of '${t}'`);hasOwnProperty.call(this,e)?this[e]=r:k(this,{[e]:{value:r,writable:!0,enumerable:n.enumerable,configurable:n.configurable}})},enumerable:n.enumerable,configurable:n.configurable}})}}function e(t,r,e){const n=j(r,e);n&&o(t,r,e,n)}function n(t,r){const e=N(r);e&&$(e).forEach(n=>o(t,r,n,e[n]))}return function t(r,o,a){for(const i of G(a)){const c=j(o,i);if(!c||c.get||c.set)continue;const s=`${r}.${i}`,p=a[i];if(!0===p)e(s,o,i);else if("*"===p)n(s,c.value);else{if(!D(p))throw new TypeError(`Unexpected override enablement plan ${s}`);t(s,c.value,p)}}}("root",t,M),r}(y);return p(y,a),p(l,a),!0},Object.defineProperty(t,"__esModule",{value:!0})}));
{
"name": "ses",
"version": "0.7.4",
"version": "0.7.5",
"description": "Secure ECMAScript",

@@ -19,2 +19,3 @@ "author": "Agoric",

"clean": "rm -rf dist",
"prepublish": "yarn clean && yarn build",
"lint": "yarn clean && eslint '**/*.js'",

@@ -21,0 +22,0 @@ "lint-fix": "yarn clean && eslint --fix '**/*.js' '**/*.mjs' '**/*.cjs'",

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 too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc