1 line
37 KiB
Plaintext
1 line
37 KiB
Plaintext
{"version":3,"sources":["es6-shim.js"],"names":["root","factory","define","amd","exports","module","returnExports","this","isCallableWithoutNew","func","e","supportsSubclassing","C","f","Sub","apply","arguments","__proto__","Object","setPrototypeOf","prototype","create","constructor","value","arePropertyDescriptorsSupported","defineProperty","startsWithRejectsRegex","rejectsRegex","String","startsWith","getGlobal","Function","globals","global_isFinite","isFinite","supportsDescriptors","startsWithIsCompliant","_slice","Array","slice","_indexOf","indexOf","_toString","toString","_hasOwnProperty","hasOwnProperty","ArrayIterator","object","name","force","configurable","enumerable","writable","defineProperties","map","keys","forEach","method","properties","Type","$iterator$","Symbol","iterator","Set","addIterator","impl","o","isArguments","str","call","result","length","callee","emulateES6construct","ES","TypeIsObject","TypeError","_es6construct","IsCallable","CheckObjectCoercible","x","optMessage","ToObject","ToInt32","ToUint32","ToInteger","number","Number","isNaN","Math","floor","abs","ToLength","len","MAX_SAFE_INTEGER","SameValue","a","b","SameValueZero","IsIterable","GetIterator","it","IteratorNext","next","Construct","args","obj","numberConversion","roundToEven","n","w","packIEEE754","v","ebits","fbits","bias","s","ln","i","bits","bytes","pow","Infinity","min","log","LN2","push","reverse","join","parseInt","unpackIEEE754","j","NaN","unpackFloat64","packFloat64","unpackFloat32","packFloat32","conversions","toFloat32","num","Float32Array","float32array","fromCodePoint","_","points","RangeError","fromCharCode","raw","callSite","substitutions","cooked","rawValue","literalsegments","stringElements","nextIndex","nextKey","nextSeg","nextSub","originalFromCodePoint","StringShims","repeat","times","half","thisStr","searchStr","startArg","start","max","endsWith","thisLen","posArg","pos","end","contains","searchString","position","codePointAt","first","charCodeAt","isEnd","second","hasStringTrimBug","trim","originalStringTrim","ws","trimRegexp","RegExp","replace","StringIterator","_s","_i","done","substr","ArrayShims","from","iterable","mapFn","list","hasThisArg","thisArg","usingIterator","iterationValue","of","arrayFromSwallowsNegativeLengths","array","kind","retval","ArrayPrototypeShims","copyWithin","target","to","fin","count","direction","fill","O","relativeStart","relativeEnd","find","predicate","findIndex","values","entries","getPrototypeOf","maxSafeInteger","MIN_SAFE_INTEGER","EPSILON","parseFloat","isInteger","isSafeInteger","item","idx","getPropertyDescriptor","subject","pd","getOwnPropertyDescriptor","proto","getPropertyNames","getOwnPropertyNames","addProperty","property","assign","source","reduce","key","is","magic","set","checkArgs","polyfill","FAKENULL","gpo","spo","p","originalObjectKeys","MathShims","acosh","sqrt","asinh","atanh","cbrt","negate","clz32","cosh","exp","expm1","hypot","y","anyNaN","allZero","anyInfinity","numbers","every","arg","sort","largest","divided","sum","log2","LOG2E","log10","LOG10E","log1p","sign","sinh","tanh","trunc","imul","ah","al","bh","bl","fround","PromiseShim","Promise","Promise$prototype","IsPromise","promise","_promiseConstructor","_status","PromiseCapability","capability","resolver","resolve","reject","setTimeout","makeZeroTimeout","window","postMessage","timeouts","messageName","setZeroTimeout","fn","handleMessage","event","data","stopPropagation","shift","addEventListener","makePromiseAsap","P","task","then","enqueue","setImmediate","bind","process","nextTick","triggerPromiseReactions","reactions","reaction","handler","updateResult","updatePromiseFromPotentialThenable","promiseResolutionHandler","onFulfilled","onRejected","_resolveReactions","_rejectReactions","resolution","_result","reason","@@create","_promiseAllResolver","index","remaining","all","nextPromise","resolveElement","race","resolutionHandler","resolveReaction","rejectReaction","promiseSupportsSubclassing","S","promiseIgnoresNonFunctionThenCallbacks","ex","promiseRequiresObjectContext","testOrder","k","preservesInsertionOrder","preservesNumericInsertionOrder","fastkey","type","emptyObject","collectionShims","Map","empty","MapEntry","prev","isRemoved","MapIterator","head","_head","_es6map","_storage","_size","adder","nextItem","Map$prototype","get","fkey","entry","has","delete","clear","callback","context","SetShim","_es6set","[[SetData]]","add","Set$prototype","ensureMap","m","charAt","size","hasFKey","entireSet","M"],"mappings":";;;;;;;;;CAYC,SAAUA,EAAMC,GACf,SAAWC,UAAW,YAAcA,OAAOC,IAAK,CAE9CD,OAAOD,OACF,UAAWG,WAAY,SAAU,CAItCC,OAAOD,QAAUH,QACZ,CA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