From dad3f8e9e78f8c0842628ad9558547a3c62382b7 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 5 Mar 2015 01:32:19 -0800 Subject: [PATCH] v0.27.1 --- CHANGELOG.md | 4 ++++ bower.json | 2 +- component.json | 2 +- es6-sham.js | 4 ++-- es6-sham.min.js | 4 ++-- es6-shim.js | 4 ++-- es6-shim.map | 2 +- es6-shim.min.js | 8 ++++---- package.json | 2 +- 9 files changed, 18 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23f10335..37764c76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # es6-shim x.x.x (not yet released) +# es6-shim 0.27.1 (5 Mar 2015) +* Revert `Array#slice` changes. (#322) +* Test on `io.js` `v1.4` + # es6-shim 0.27.0 (26 Feb 2015) * Overwrite `Array#slice` so that it supports Array subclasses. * Improve `Map`/`Set` `TypeError` messages when called as a function. (#321) diff --git a/bower.json b/bower.json index 8375cfdd..9d13578f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "es6-shim", - "version": "0.27.0", + "version": "0.27.1", "repo": "paulmillr/es6-shim", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [ diff --git a/component.json b/component.json index b4529dca..a620bc64 100644 --- a/component.json +++ b/component.json @@ -1,6 +1,6 @@ { "name": "es6-shim", - "version": "0.27.0", + "version": "0.27.1", "repo": "paulmillr/es6-shim", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [ diff --git a/es6-sham.js b/es6-sham.js index 9ba96367..59f77493 100644 --- a/es6-sham.js +++ b/es6-sham.js @@ -2,8 +2,8 @@ * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2015 by Paul Miller (http://paulmillr.com) * and contributors, MIT License - * es6-sham: v0.27.0 - * see https://github.com/paulmillr/es6-shim/blob/0.27.0/LICENSE + * es6-sham: v0.27.1 + * see https://github.com/paulmillr/es6-shim/blob/0.27.1/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-shim/ */ diff --git a/es6-sham.min.js b/es6-sham.min.js index a0889669..685a51e0 100644 --- a/es6-sham.min.js +++ b/es6-sham.min.js @@ -2,8 +2,8 @@ * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2015 by Paul Miller (http://paulmillr.com) * and contributors, MIT License - * es6-sham: v0.27.0 - * see https://github.com/paulmillr/es6-shim/blob/0.27.0/LICENSE + * es6-sham: v0.27.1 + * see https://github.com/paulmillr/es6-shim/blob/0.27.1/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-shim/ */ diff --git a/es6-shim.js b/es6-shim.js index d99c7627..6d2160f1 100644 --- a/es6-shim.js +++ b/es6-shim.js @@ -2,8 +2,8 @@ * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2015 by Paul Miller (http://paulmillr.com) * and contributors, MIT License - * es6-shim: v0.27.0 - * see https://github.com/paulmillr/es6-shim/blob/0.27.0/LICENSE + * es6-shim: v0.27.1 + * see https://github.com/paulmillr/es6-shim/blob/0.27.1/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-shim/ */ diff --git a/es6-shim.map b/es6-shim.map index 0fc4156b..cdf4ade5 100644 --- a/es6-shim.map +++ b/es6-shim.map @@ -1 +1 @@ -{"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","_indexOf","call","bind","indexOf","_toString","toString","_hasOwnProperty","hasOwnProperty","ArrayIterator","noop","arraySlice","Array","slice","Symbol","symbolSpecies","species","Type","object","x","string","regex","symbol","name","force","configurable","enumerable","writable","Value","getter","TypeError","get","proxy","originalObject","key","targetObject","originalDescriptor","getOwnPropertyDescriptor","getKey","set","setKey","redefine","property","newValue","descriptor","preserveToString","target","source","defineProperties","map","keys","forEach","method","properties","Prototype","$iterator$","iterator","Set","addIterator","impl","o","isArguments","str","result","length","callee","safeApply","ES","Call","F","V","args","IsCallable","RequireObjectCoercible","optMessage","TypeIsObject","ToObject","ToInt32","ToNumber","ToUint32","ToInteger","number","Number","isNaN","Math","floor","abs","ToLength","len","MAX_SAFE_INTEGER","SameValue","a","b","SameValueZero","IsIterable","GetIterator","itFn","it","IteratorNext","next","Construct","obj","_es6construct","CreateHTML","tag","attribute","S","p1","escapedV","replace","p2","p3","emulateES6construct","numberConversion","roundToEven","n","w","packIEEE754","v","ebits","fbits","bias","s","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","codePoints","RangeError","fromCharCode","raw","callSite","cooked","rawValue","rawString","literalsegments","stringElements","nextIndex","nextKey","nextSeg","nextSub","originalFromCodePoint","stringRepeat","repeat","times","half","stringMaxLength","StringShims","thisStr","searchStr","startArg","start","max","endsWith","thisLen","posArg","pos","end","includes","searchString","position","codePointAt","first","charCodeAt","isEnd","second","hasStringTrimBug","trim","ws","trimRegexp","RegExp","StringIterator","_s","_i","done","substr","ArrayShims","from","iterable","mapFn","list","hasThisArg","thisArg","usingIterator","iterationValue","of","arrayFromSwallowsNegativeLengths","iterator_result","array","kind","retval","ObjectIterator","getAllKeys","shift","ArrayPrototypeShims","copyWithin","to","fin","count","direction","fill","O","relativeStart","relativeEnd","find","predicate","findIndex","values","entries","unscopables","originalArrayPrototypeValues","Empty","k","finalEnd","A","getPrototypeOf","maxSafeInteger","MIN_SAFE_INTEGER","EPSILON","parseFloat","isInteger","isSafeInteger","item","idx","assign","reduce","is","magic","checkArgs","proto","polyfill","FAKENULL","gpo","spo","p","objectKeysAcceptsPrimitives","originalObjectKeys","getOwnPropertyNames","objectGOPNAcceptsPrimitives","originalObjectGetOwnPropertyNames","objectGOPDAcceptsPrimitives","originalObjectGetOwnPropertyDescriptor","seal","objectSealAcceptsPrimitives","originalObjectSeal","isSealed","objectIsSealedAcceptsPrimitives","originalObjectIsSealed","freeze","objectFreezeAcceptsPrimitives","originalObjectFreeze","isFrozen","objectIsFrozenAcceptsPrimitives","originalObjectIsFrozen","preventExtensions","objectPreventExtensionsAcceptsPrimitives","originalObjectPreventExtensions","isExtensible","objectIsExtensibleAcceptsPrimitives","originalObjectIsExtensible","objectGetProtoAcceptsPrimitives","originalGetProto","flags","regExpFlagsGetter","global","ignoreCase","multiline","unicode","sticky","regExpSupportsFlagsWithRegex","OrigRegExp","RegExpShim","pattern","MathShims","acosh","E","sqrt","asinh","atanh","cbrt","negate","clz32","cosh","exp","expm1","t","sum","hypot","y","anyNaN","allZero","anyInfinity","numbers","every","arg","sort","largest","divided","log2","LOG2E","log10","LOG10E","log1p","sign","sinh","tanh","trunc","imul","ah","al","bh","bl","fround","MAX_VALUE","expm1OfTen","roundHandlesBoundaryConditions","round","origMathRound","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","addEventListener","makePromiseAsap","P","task","then","enqueue","setImmediate","process","nextTick","updatePromiseFromPotentialThenable","triggerPromiseReactions","reactions","reaction","handler","updateResult","promiseResolutionHandler","onFulfilled","onRejected","_resolveReactions","_rejectReactions","resolution","_result","reason","_promiseAllResolver","index","remaining","all","nextPromise","resolveElement","race","rejectPromise","resolvePromise","catch","resolutionHandler","resolveReaction","rejectReaction","accept","defer","chain","promiseSupportsSubclassing","promiseIgnoresNonFunctionThenCallbacks","ex","promiseRequiresObjectContext","testOrder","preservesInsertionOrder","preservesNumericInsertionOrder","fastkey","type","emptyObject","collectionShims","Map","empty","MapEntry","prev","isRemoved","MapIterator","head","_head","_es6map","_storage","_size","adder","nextItem","Map$prototype","fkey","entry","has","delete","clear","callback","context","SetShim","_es6set","[[SetData]]","add","Set$prototype","ensureMap","m","charAt","size","hasFKey","entireSet","M","Reflect","throwUnlessTargetIsObject","construct","deleteProperty","desc","enumerate","ownKeys","getOwnPropertySymbols","callAndCatchException","internal_get","receiver","parent","undefined","internal_set","existingDesc","ConvertExceptionToBoolean","_","propertyKey","attributes","objectDotGetPrototypeOf","willCreateCircularPrototype","Date","dateToString","shimmedDateToString","valueOf","stringHTMLshims","anchor","big","blink","bold","fixed","fontcolor","color","fontsize","italics","link","url","small","strike","sub","sup","shouldOverwrite","output","quotesCount","concat","match","toLowerCase"],"mappings":";;;;;;;;;CAYC,SAAUA,EAAMC,GAEf,SAAWC,UAAW,YAAcA,OAAOC,IAAK,CAE9CD,OAAOD,OACF,UAAWG,WAAY,SAAU,CAItCC,OAAOD,QAAUH,QACZ,CAELD,EAAKM,cAAgBL,OAEvBM,KAAM,WACN,YAEA,IAAIC,GAAuB,SAAUC,GACnC,IACEA,IACA,MAAOC,GACP,MAAO,OAET,MAAO,MAGT,IAAIC,GAAsB,SAAUC,EAAGC,GAErC,IACE,GAAIC,GAAM,WAAcF,EAAEG,MAAMR,KAAMS,WACtC,KAAKF,EAAIG,UAAW,CAAE,MAAO,OAC7BC,OAAOC,eAAeL,EAAKF,EAC3BE,GAAIM,UAAYF,OAAOG,OAAOT,EAAEQ,WAC9BE,aAAeC,MAAOX,IAExB,OAAOC,GAAEC,GACT,MAAOJ,GACP,MAAO,QAIX,IAAIc,GAAkC,WACpC,IACEN,OAAOO,kBAAmB,OAC1B,OAAO,MACP,MAAOf,GACP,MAAO,QAIX,IAAIgB,GAAyB,WAC3B,GAAIC,GAAe,KACnB,IAAIC,O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AiBpa,QAAQ,SAAUjB,GAC7C,GAAIkB,GAAS5D,OAAOR,UAAUkD,EAC9B,IAAIqc,GAAkB,KACtB,IAAIpa,EAAGK,WAAWpB,GAAS,CACzB,GAAIob,GAASpb,EAAOlD,KAAK,GAAI,MAC7B,IAAIue,MAAiBC,OAAOF,EAAOG,MAAM,OAAO3a,MAChDua,GAAkBC,IAAWA,EAAOI,eAAiBH,EAAc,MAC9D,CACLF,EAAkB,KAEpB,GAAIA,EAAiB,CACnBlf,EAAeG,OAAOR,UAAWkD,EAAKqb,GAAgBrb,GAAM,QAIhE,OAAOtC"} \ No newline at end of file +{"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","_indexOf","call","bind","indexOf","_toString","toString","_hasOwnProperty","hasOwnProperty","ArrayIterator","noop","Symbol","symbolSpecies","species","Type","object","x","string","regex","symbol","name","force","configurable","enumerable","writable","Value","getter","TypeError","get","proxy","originalObject","key","targetObject","originalDescriptor","getOwnPropertyDescriptor","getKey","set","setKey","redefine","property","newValue","descriptor","preserveToString","target","source","defineProperties","map","keys","forEach","method","properties","Prototype","$iterator$","iterator","Set","addIterator","impl","o","isArguments","str","result","length","callee","safeApply","ES","Call","F","V","args","IsCallable","RequireObjectCoercible","optMessage","TypeIsObject","ToObject","ToInt32","ToNumber","ToUint32","ToInteger","number","Number","isNaN","Math","floor","abs","ToLength","len","MAX_SAFE_INTEGER","SameValue","a","b","SameValueZero","IsIterable","GetIterator","itFn","it","IteratorNext","next","Construct","obj","_es6construct","CreateHTML","tag","attribute","S","p1","escapedV","replace","p2","p3","emulateES6construct","numberConversion","roundToEven","n","w","packIEEE754","v","ebits","fbits","bias","s","i","bits","bytes","pow","Infinity","min","log","LN2","push","reverse","join","parseInt","slice","unpackIEEE754","j","NaN","unpackFloat64","packFloat64","unpackFloat32","packFloat32","conversions","toFloat32","num","Float32Array","float32array","fromCodePoint","codePoints","RangeError","fromCharCode","raw","callSite","cooked","rawValue","rawString","literalsegments","stringElements","nextIndex","nextKey","nextSeg","nextSub","originalFromCodePoint","stringRepeat","repeat","times","half","stringMaxLength","StringShims","thisStr","searchStr","startArg","start","max","endsWith","thisLen","posArg","pos","end","includes","searchString","position","codePointAt","first","charCodeAt","isEnd","second","hasStringTrimBug","trim","ws","trimRegexp","RegExp","StringIterator","_s","_i","done","substr","ArrayShims","from","iterable","mapFn","list","hasThisArg","thisArg","usingIterator","iterationValue","Array","of","arrayFromSwallowsNegativeLengths","iterator_result","array","kind","retval","ObjectIterator","getAllKeys","shift","ArrayPrototypeShims","copyWithin","to","fin","count","direction","fill","O","relativeStart","relativeEnd","find","predicate","findIndex","values","entries","unscopables","originalArrayPrototypeValues","getPrototypeOf","maxSafeInteger","MIN_SAFE_INTEGER","EPSILON","parseFloat","isInteger","isSafeInteger","item","idx","assign","reduce","is","magic","checkArgs","proto","polyfill","FAKENULL","gpo","spo","p","objectKeysAcceptsPrimitives","originalObjectKeys","getOwnPropertyNames","objectGOPNAcceptsPrimitives","originalObjectGetOwnPropertyNames","objectGOPDAcceptsPrimitives","originalObjectGetOwnPropertyDescriptor","seal","objectSealAcceptsPrimitives","originalObjectSeal","isSealed","objectIsSealedAcceptsPrimitives","originalObjectIsSealed","freeze","objectFreezeAcceptsPrimitives","originalObjectFreeze","isFrozen","objectIsFrozenAcceptsPrimitives","originalObjectIsFrozen","preventExtensions","objectPreventExtensionsAcceptsPrimitives","originalObjectPreventExtensions","isExtensible","objectIsExtensibleAcceptsPrimitives","originalObjectIsExtensible","objectGetProtoAcceptsPrimitives","originalGetProto","flags","regExpFlagsGetter","global","ignoreCase","multiline","unicode","sticky","regExpSupportsFlagsWithRegex","OrigRegExp","RegExpShim","pattern","MathShims","acosh","E","sqrt","asinh","atanh","cbrt","negate","clz32","cosh","exp","expm1","t","sum","hypot","y","anyNaN","allZero","anyInfinity","numbers","every","arg","sort","largest","divided","log2","LOG2E","log10","LOG10E","log1p","sign","sinh","tanh","trunc","imul","ah","al","bh","bl","fround","MAX_VALUE","expm1OfTen","roundHandlesBoundaryConditions","round","origMathRound","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","addEventListener","makePromiseAsap","P","task","then","enqueue","setImmediate","process","nextTick","updatePromiseFromPotentialThenable","triggerPromiseReactions","reactions","reaction","handler","updateResult","promiseResolutionHandler","onFulfilled","onRejected","_resolveReactions","_rejectReactions","resolution","_result","reason","_promiseAllResolver","index","remaining","all","nextPromise","resolveElement","race","rejectPromise","resolvePromise","catch","resolutionHandler","resolveReaction","rejectReaction","accept","defer","chain","promiseSupportsSubclassing","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","fkey","entry","has","delete","clear","callback","context","SetShim","_es6set","[[SetData]]","add","Set$prototype","ensureMap","m","charAt","size","hasFKey","entireSet","M","Reflect","throwUnlessTargetIsObject","construct","deleteProperty","desc","enumerate","ownKeys","getOwnPropertySymbols","callAndCatchException","internal_get","receiver","parent","undefined","internal_set","existingDesc","ConvertExceptionToBoolean","_","propertyKey","attributes","objectDotGetPrototypeOf","willCreateCircularPrototype","Date","dateToString","shimmedDateToString","valueOf","stringHTMLshims","anchor","big","blink","bold","fixed","fontcolor","color","fontsize","italics","link","url","small","strike","sub","sup","shouldOverwrite","output","quotesCount","concat","match","toLowerCase"],"mappings":";;;;;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OAAOR,UAAW+C,EAAKob,GAAgBpb,GAAM,QAIhE,OAAOnC"} \ No newline at end of file diff --git a/es6-shim.min.js b/es6-shim.min.js index 37b708d2..501822b2 100644 --- a/es6-shim.min.js +++ b/es6-shim.min.js @@ -2,11 +2,11 @@ * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2015 by Paul Miller (http://paulmillr.com) * and contributors, MIT License - * es6-shim: v0.27.0 - * see https://github.com/paulmillr/es6-shim/blob/0.27.0/LICENSE + * es6-shim: v0.27.1 + * see https://github.com/paulmillr/es6-shim/blob/0.27.1/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-shim/ */ -(function(e,t){if(typeof define==="function"&&define.amd){define(t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){"use strict";var e=function(e){try{e()}catch(t){return false}return true};var t=function(e,t){try{var r=function(){e.apply(this,arguments)};if(!r.__proto__){return false}Object.setPrototypeOf(r,e);r.prototype=Object.create(e.prototype,{constructor:{value:e}});return t(r)}catch(n){return false}};var r=function(){try{Object.defineProperty({},"x",{});return true}catch(e){return false}};var n=function(){var e=false;if(String.prototype.startsWith){try{"/a/".startsWith(/a/)}catch(t){e=true}}return e};var i=new Function("return this;");var o=i();var a=o.isFinite;var u=!!Object.defineProperty&&r();var s=n();var f=Function.call.bind(String.prototype.indexOf);var c=Function.call.bind(Object.prototype.toString);var l=Function.call.bind(Object.prototype.hasOwnProperty);var p;var h=function(){};var v=Array.prototype.slice;var y=o.Symbol||{};var b=y.species||"@@species";var g={object:function(e){return e!==null&&typeof e==="object"},string:function(e){return c(e)==="[object String]"},regex:function(e){return c(e)==="[object RegExp]"},symbol:function(e){return typeof o.Symbol==="function"&&typeof e==="symbol"}};var d=function(e,t,r,n){if(!n&&t in e){return}if(u){Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:r})}else{e[t]=r}};var m={getter:function(e,t,r){if(!u){throw new TypeError("getters require true ES5 support")}Object.defineProperty(e,t,{configurable:true,enumerable:false,get:r})},proxy:function(e,t,r){if(!u){throw new TypeError("getters require true ES5 support")}var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,{configurable:n.configurable,enumerable:n.enumerable,get:function i(){return e[t]},set:function o(r){e[t]=r}})},redefine:function(e,t,r){if(u){var n=Object.getOwnPropertyDescriptor(e,t);n.value=r;Object.defineProperty(e,t,n)}else{e[t]=r}},preserveToString:function(e,t){d(e,"toString",t.toString.bind(t),true)}};var O=function(e,t){Object.keys(t).forEach(function(r){var n=t[r];d(e,r,n,false)})};var w=Object.create||function(e,t){function r(){}r.prototype=e;var n=new r;if(typeof t!=="undefined"){O(n,t)}return n};var j=g.symbol(y.iterator)?y.iterator:"_es6-shim iterator_";if(o.Set&&typeof(new o.Set)["@@iterator"]==="function"){j="@@iterator"}var T=function(e,t){if(!t){t=function n(){return this}}var r={};r[j]=t;O(e,r);if(!e[j]&&g.symbol(j)){e[j]=t}};var I=function qt(e){var t=c(e);var r=t==="[object Arguments]";if(!r){r=t!=="[object Array]"&&e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&c(e.callee)==="[object Function]"}return r};var M=Function.call.bind(Function.apply);var S={Call:function Ht(e,t){var r=arguments.length>2?arguments[2]:[];if(!S.IsCallable(e)){throw new TypeError(e+" is not a function")}return M(e,t,r)},RequireObjectCoercible:function(e,t){if(e==null){throw new TypeError(t||"Cannot call method on "+e)}},TypeIsObject:function(e){return e!=null&&Object(e)===e},ToObject:function(e,t){S.RequireObjectCoercible(e,t);return Object(e)},IsCallable:function(e){return typeof e==="function"&&c(e)==="[object Function]"},ToInt32:function(e){return S.ToNumber(e)>>0},ToUint32:function(e){return S.ToNumber(e)>>>0},ToNumber:function(e){if(c(e)==="[object Symbol]"){throw new TypeError("Cannot convert a Symbol value to a number")}return+e},ToInteger:function(e){var t=S.ToNumber(e);if(Number.isNaN(t)){return 0}if(t===0||!Number.isFinite(t)){return t}return(t>0?1:-1)*Math.floor(Math.abs(t))},ToLength:function(e){var t=S.ToInteger(e);if(t<=0){return 0}if(t>Number.MAX_SAFE_INTEGER){return Number.MAX_SAFE_INTEGER}return t},SameValue:function(e,t){if(e===t){if(e===0){return 1/e===1/t}return true}return Number.isNaN(e)&&Number.isNaN(t)},SameValueZero:function(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)},IsIterable:function(e){return S.TypeIsObject(e)&&(typeof e[j]!=="undefined"||I(e))},GetIterator:function(e){if(I(e)){return new p(e,"value")}var t=e[j];if(!S.IsCallable(t)){throw new TypeError("value is not an iterable")}var r=t.call(e);if(!S.TypeIsObject(r)){throw new TypeError("bad iterator")}return r},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!S.TypeIsObject(t)){throw new TypeError("bad iterator")}return t},Construct:function(e,t){var r;if(S.IsCallable(e[b])){r=e[b]()}else{r=w(e.prototype||null)}O(r,{_es6construct:true});var n=S.Call(e,r,t);return S.TypeIsObject(n)?n:r},CreateHTML:function(e,t,r,n){var i=String(e);var o="<"+t;if(r!==""){var a=String(n);var u=a.replace(/"/g,""");o+=" "+r+'="'+u+'"'}var s=o+">";var f=s+i;return f+""}};var E=function(e){if(!S.TypeIsObject(e)){throw new TypeError("bad object")}if(!e._es6construct){if(e.constructor&&S.IsCallable(e.constructor[b])){e=e.constructor[b](e)}O(e,{_es6construct:true})}return e};var N=function(){function e(e){var t=Math.floor(e),r=e-t;if(r<.5){return t}if(r>.5){return t+1}return t%2?t+1:t}function t(t,r,n){var i=(1<=Math.pow(2,1-i)){a=Math.min(Math.floor(Math.log(t)/Math.LN2),1023);u=e(t/Math.pow(2,a)*Math.pow(2,n));if(u/Math.pow(2,n)>=2){a=a+1;u=1}if(a>i){a=(1<>1}}n.reverse();u=n.join("");s=(1<0){return f*Math.pow(2,c-s)*(1+l/Math.pow(2,r))}else if(l!==0){return f*Math.pow(2,-(s-1))*(l/Math.pow(2,r))}else{return f<0?-0:0}}function n(e){return r(e,11,52)}function i(e){return t(e,11,52)}function o(e){return r(e,8,23)}function a(e){return t(e,8,23)}var u={toFloat32:function(e){return o(a(e))}};if(typeof Float32Array!=="undefined"){var s=new Float32Array(1);u.toFloat32=function(e){s[0]=e;return s[0]}}return u}();O(String,{fromCodePoint:function Gt(e){var t=[];var r;for(var n=0,i=arguments.length;n1114111){throw new RangeError("Invalid code point "+r)}if(r<65536){t.push(String.fromCharCode(r))}else{r-=65536;t.push(String.fromCharCode((r>>10)+55296));t.push(String.fromCharCode(r%1024+56320))}}return t.join("")},raw:function Wt(e){var t=S.ToObject(e,"bad callSite");var r=t.raw;var n=S.ToObject(r,"bad raw value");var i=n.length;var o=S.ToLength(i);if(o<=0){return""}var a=[];var u=0;var s,f,c,l;while(u=o){break}f=u+1=P){throw new RangeError("repeat count must be less than infinity and not overflow maximum string size")}return _(t,e)},startsWith:function(e){S.RequireObjectCoercible(this);var t=String(this);if(g.regex(e)){throw new TypeError('Cannot call method "startsWith" with a regex')}e=String(e);var r=arguments.length>1?arguments[1]:void 0;var n=Math.max(S.ToInteger(r),0);return t.slice(n,n+e.length)===e},endsWith:function(e){S.RequireObjectCoercible(this);var t=String(this);if(g.regex(e)){throw new TypeError('Cannot call method "endsWith" with a regex')}e=String(e);var r=t.length;var n=arguments.length>1?arguments[1]:void 0;var i=typeof n==="undefined"?r:S.ToInteger(n);var o=Math.min(Math.max(i,0),r);return t.slice(o-e.length,o)===e},includes:function Zt(e){var t=arguments.length>1?arguments[1]:void 0;return f(this,e,t)!==-1},codePointAt:function(e){S.RequireObjectCoercible(this);var t=String(this);var r=S.ToInteger(e);var n=t.length;if(r>=0&&r56319||o){return i}var a=t.charCodeAt(r+1);if(a<56320||a>57343){return i}return(i-55296)*1024+(a-56320)+65536}}};O(String.prototype,C);var k="\x85".trim().length!==1;if(k){delete String.prototype.trim;var A=[" \n \f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join("");var R=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g");O(String.prototype,{trim:function(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(R,"")}})}var L=function(e){S.RequireObjectCoercible(e);this._s=String(e);this._i=0};L.prototype.next=function(){var e=this._s,t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return{value:void 0,done:true}}var r=e.charCodeAt(t),n,i;if(r<55296||r>56319||t+1===e.length){i=1}else{n=e.charCodeAt(t+1);i=n<56320||n>57343?1:2}this._i=t+i;return{value:e.substr(t,i),done:false}};T(L.prototype);T(String.prototype,function(){return new L(this)});if(!s){d(String.prototype,"startsWith",C.startsWith,true);d(String.prototype,"endsWith",C.endsWith,true)}var z={from:function $t(e){var t=arguments.length>1?arguments[1]:void 0;var r=S.ToObject(e,"bad iterable");if(typeof t!=="undefined"&&!S.IsCallable(t)){throw new TypeError("Array.from: when provided, the second argument must be a function")}var n=arguments.length>2;var i=n?arguments[2]:void 0;var o=S.IsIterable(r);var a;var u,s,f;if(o){s=0;u=S.IsCallable(this)?Object(new this):[];var c=o?S.GetIterator(r):null;var l;do{l=S.IteratorNext(c);if(!l.done){f=l.value;if(t){u[s]=n?t.call(i,f,s):t(f,s)}else{u[s]=f}s+=1}}while(!l.done);a=s}else{a=S.ToLength(r.length);u=S.IsCallable(this)?Object(new this(a)):new Array(a);for(s=0;s0){e=t.shift();if(!(e in this.object)){continue}if(this.kind==="key"){return D(e)}else if(this.kind==="value"){return D(this.object[e])}else{return D([e,this.object[e]])}}return D()}});T(q.prototype);var G={copyWithin:function Bt(e,t){var r=arguments[2];var n=S.ToObject(this);var i=S.ToLength(n.length);e=S.ToInteger(e);t=S.ToInteger(t);var o=e<0?Math.max(i+e,0):Math.min(e,i);var a=t<0?Math.max(i+t,0):Math.min(t,i);r=typeof r==="undefined"?i:S.ToInteger(r);var u=r<0?Math.max(i+r,0):Math.min(r,i);var s=Math.min(u-a,i-o);var f=1;if(a0){if(l(n,a)){n[o]=n[a]}else{delete n[a]}a+=f;o+=f;s-=1}return n},fill:function Jt(e){var t=arguments.length>1?arguments[1]:void 0;var r=arguments.length>2?arguments[2]:void 0;var n=S.ToObject(this);var i=S.ToLength(n.length);t=S.ToInteger(typeof t==="undefined"?0:t);r=S.ToInteger(typeof r==="undefined"?i:r);var o=t<0?Math.max(i+t,0):Math.min(t,i);var a=r<0?i+r:r;for(var u=o;u1?arguments[1]:null;for(var i=0,o;i1?arguments[1]:null;for(var i=0;i1){return NaN}if(e===-1){return-Infinity}if(e===1){return Infinity}if(e===0){return e}return.5*Math.log((1+e)/(1-e))},cbrt:function(e){e=Number(e);if(e===0){return e}var t=e<0,r;if(t){e=-e}r=Math.pow(e,1/3);return t?-r:r},clz32:function(e){e=Number(e);var t=S.ToUint32(e);if(t===0){return 32}return 32-t.toString(2).length},cosh:function(e){e=Number(e);if(e===0){return 1}if(Number.isNaN(e)){return NaN}if(!a(e)){return Infinity}if(e<0){e=-e}if(e>21){return Math.exp(e)/2}return(Math.exp(e)+Math.exp(-e))/2},expm1:function(e){var t=Number(e);if(t===-Infinity){return-1}if(!a(t)||e===0){return t}if(Math.abs(t)>.5){return Math.exp(t)-1}var r=t;var n=0;var i=1;while(n+r!==n){n+=r;i+=1;r*=t/i}return n},hypot:function(e,t){var r=false;var n=true;var i=false;var o=[];Array.prototype.every.call(arguments,function(e){var t=Number(e);if(Number.isNaN(t)){r=true}else if(t===Infinity||t===-Infinity){i=true}else if(t!==0){n=false}if(i){return false}else if(!r){o.push(Math.abs(t))}return true});if(i){return Infinity}if(r){return NaN}if(n){return 0}o.sort(function(e,t){return t-e});var a=o[0];var u=o.map(function(e){return e/a});var s=u.reduce(function(e,t){return e+t*t},0);return a*Math.sqrt(s)},log2:function(e){return Math.log(e)*Math.LOG2E},log10:function(e){return Math.log(e)*Math.LOG10E},log1p:function(e){var t=Number(e);if(t<-1||Number.isNaN(t)){return NaN}if(t===0||t===Infinity){return t}if(t===-1){return-Infinity}return 1+t-1===0?t:t*(Math.log(1+t)/(1+t-1))},sign:function(e){var t=+e;if(t===0){return t}if(Number.isNaN(t)){return t}return t<0?-1:1},sinh:function(e){var t=Number(e);if(!a(e)||e===0){return e}if(Math.abs(t)<1){return(Math.expm1(t)-Math.expm1(-t))/2}return(Math.exp(t-1)-Math.exp(-t-1))*Math.E/2},tanh:function(e){var t=Number(e);if(Number.isNaN(e)||t===0){return t}if(t===Infinity){return 1}if(t===-Infinity){return-1}var r=Math.expm1(t);var n=Math.expm1(-t);if(r===Infinity){return 1}if(n===Infinity){return-1}return(r-n)/(Math.exp(t)+Math.exp(-t))},trunc:function(e){var t=Number(e);return t<0?-Math.floor(-t):Math.floor(t)},imul:function(e,t){e=S.ToUint32(e);t=S.ToUint32(t);var r=e>>>16&65535;var n=e&65535;var i=t>>>16&65535;var o=t&65535;return n*o+(r*o+n*i<<16>>>0)|0},fround:function(e){if(e===0||e===Infinity||e===-Infinity||Number.isNaN(e)){return e}var t=Number(e);return N.toFloat32(t)}};O(Math,bt);d(Math,"tanh",bt.tanh,Math.tanh(-2e-17)!==-2e-17);d(Math,"acosh",bt.acosh,Math.acosh(Number.MAX_VALUE)===Infinity);d(Math,"sinh",bt.sinh,Math.sinh(-2e-17)!==-2e-17);var gt=Math.expm1(10);d(Math,"expm1",bt.expm1,gt>22025.465794806718||gt<22025.465794806718);var dt=Math.round(.5-Number.EPSILON/4)===0&&Math.round(-.5+Number.EPSILON/3.99)===1;var mt=Math.round;d(Math,"round",function dr(e){if(-.5<=e&&e<.5&&e!==0){return Math.sign(e*0)}return mt(e)},!dt);if(Math.imul(4294967295,5)!==-5){Math.imul=bt.imul}var Ot=function(){var e,t;S.IsPromise=function(e){if(!S.TypeIsObject(e)){return false}if(!e._promiseConstructor){return false}if(typeof e._status==="undefined"){return false}return true};var r=function(e){if(!S.IsCallable(e)){throw new TypeError("bad promise constructor")}var t=this;var r=function(e,r){t.resolve=e;t.reject=r};t.promise=S.Construct(e,[r]);if(!t.promise._es6construct){throw new TypeError("bad promise constructor")}if(!(S.IsCallable(t.resolve)&&S.IsCallable(t.reject))){throw new TypeError("bad promise constructor")}};var n=o.setTimeout;var i;if(typeof window!=="undefined"&&S.IsCallable(window.postMessage)){i=function(){var e=[];var t="zero-timeout-message";var r=function(r){e.push(r);window.postMessage(t,"*")};var n=function(r){if(r.source===window&&r.data===t){r.stopPropagation();if(e.length===0){return}var n=e.shift();n()}};window.addEventListener("message",n,true);return r}}var a=function(){var e=o.Promise;return e&&e.resolve&&function(t){return e.resolve().then(t)}};var u=S.IsCallable(o.setImmediate)?o.setImmediate.bind(o):typeof process==="object"&&process.nextTick?process.nextTick:a()||(S.IsCallable(i)?i():function(e){n(e,0)});var s=function(e,t){if(!S.TypeIsObject(e)){return false}var r=t.resolve;var n=t.reject;try{var i=e.then;if(!S.IsCallable(i)){return false}i.call(e,r,n)}catch(o){n(o)}return true};var f=function(e,t){e.forEach(function(e){u(function(){var r=e.handler;var n=e.capability;var i=n.resolve;var o=n.reject;try{var a=r(t);if(a===n.promise){throw new TypeError("self resolution")}var u=s(a,n);if(!u){i(a)}}catch(f){o(f)}})})};var c=function(e,t,n){return function(i){if(i===e){return n(new TypeError("self resolution"))}var o=e._promiseConstructor;var a=new r(o);var u=s(i,a);if(u){return a.promise.then(t,n)}else{return t(i)}}};e=function(e){var t=this;t=E(t);if(!t._promiseConstructor){throw new TypeError("bad promise")}if(typeof t._status!=="undefined"){throw new TypeError("promise already initialized")}if(!S.IsCallable(e)){throw new TypeError("not a valid resolver")}t._status="unresolved";t._resolveReactions=[];t._rejectReactions=[];var r=function(e){if(t._status!=="unresolved"){return}var r=t._resolveReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-resolution";f(r,e)};var n=function(e){if(t._status!=="unresolved"){return}var r=t._rejectReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-rejection";f(r,e)};try{e(r,n)}catch(i){n(i)}return t};t=e.prototype;var l=function(e,t,r,n){var i=false;return function(o){if(i){return}i=true;t[e]=o;if(--n.count===0){var a=r.resolve;a(t)}}};d(e,b,function(e){var r=this;var n=r.prototype||t;e=e||w(n);O(e,{_status:void 0,_result:void 0,_resolveReactions:void 0,_rejectReactions:void 0,_promiseConstructor:void 0});e._promiseConstructor=r;return e});O(e,{all:function p(e){var t=this;var n=new r(t);var i=n.resolve;var o=n.reject;try{if(!S.IsIterable(e)){throw new TypeError("bad iterable")}var a=S.GetIterator(e);var u=[],s={count:1};for(var f=0;;f++){var c=S.IteratorNext(a);if(c.done){break}var p=t.resolve(c.value);var h=l(f,u,n,s);s.count++;p.then(h,n.reject)}if(--s.count===0){i(u)}}catch(v){o(v)}return n.promise},race:function h(e){var t=this;var n=new r(t);var i=n.resolve;var o=n.reject;try{if(!S.IsIterable(e)){throw new TypeError("bad iterable")}var a=S.GetIterator(e);while(true){var u=S.IteratorNext(a);if(u.done){break}var s=t.resolve(u.value);s.then(i,o)}}catch(f){o(f)}return n.promise},reject:function v(e){var t=this;var n=new r(t);var i=n.reject;i(e);return n.promise},resolve:function y(e){var t=this;if(S.IsPromise(e)){var n=e._promiseConstructor;if(n===t){return e}}var i=new r(t);var o=i.resolve;o(e);return i.promise}});O(t,{"catch":function(e){return this.then(void 0,e)},then:function g(e,t){var n=this;if(!S.IsPromise(n)){throw new TypeError("not a promise")}var i=this.constructor;var o=new r(i);if(!S.IsCallable(t)){t=function(e){throw e}}if(!S.IsCallable(e)){e=function(e){return e}}var a=c(n,e,t);var u={capability:o,handler:a};var s={capability:o,handler:t};switch(n._status){case"unresolved":n._resolveReactions.push(u);n._rejectReactions.push(s);break;case"has-resolution":f([u],n._result);break;case"has-rejection":f([s],n._result);break;default:throw new TypeError("unexpected")}return o.promise}});return e}();if(o.Promise){delete o.Promise.accept;delete o.Promise.defer;delete o.Promise.prototype.chain}O(o,{Promise:Ot});var wt=t(o.Promise,function(e){return e.resolve(42)instanceof e});var jt=function(){try{o.Promise.reject(42).then(null,5).then(null,h);return true}catch(e){return false}}();var Tt=function(){try{Promise.call(3,h)}catch(e){return true}return false}();if(!wt||!jt||!Tt){Promise=Ot;d(o,"Promise",Ot,true)}var It=function(e){var t=Object.keys(e.reduce(function(e,t){e[t]=true;return e},{}));return e.join(":")===t.join(":")};var Mt=It(["z","a","bb"]);var St=It(["z",1,"a","3",2]);if(u){var Et=function mr(e){if(!Mt){return null}var t=typeof e;if(t==="string"){return"$"+e}else if(t==="number"){if(!St){return"n"+e}return e}return null};var Nt=function Or(){return Object.create?Object.create(null):{}};var xt={Map:function(){var e={};function t(e,t){this.key=e;this.value=t;this.next=null;this.prev=null}t.prototype.isRemoved=function(){return this.key===e};function r(e,t){this.head=e._head;this.i=this.head;this.kind=t}r.prototype={next:function(){var e=this.i,t=this.kind,r=this.head,n;if(typeof this.i==="undefined"){return{value:void 0,done:true}}while(e.isRemoved()&&e!==r){e=e.prev}while(e.next!==r){e=e.next;if(!e.isRemoved()){if(t==="key"){n=e.key}else if(t==="value"){n=e.value}else{n=[e.key,e.value]}this.i=e;return{value:n,done:false}}}this.i=void 0;return{value:void 0,done:true}}};T(r.prototype);function n(e){var r=this;if(!S.TypeIsObject(r)){throw new TypeError("Constructor Map requires 'new'")}r=E(r);if(!r._es6map){throw new TypeError("bad map")}var n=new t(null,null);n.next=n.prev=n;O(r,{_head:n,_storage:Nt(),_size:0});if(typeof e!=="undefined"&&e!==null){var i=S.GetIterator(e);var o=r.set;if(!S.IsCallable(o)){throw new TypeError("bad map")}while(true){var a=S.IteratorNext(i);if(a.done){break}var u=a.value;if(!S.TypeIsObject(u)){throw new TypeError("expected iterable of pairs")}o.call(r,u[0],u[1])}}return r}var i=n.prototype;d(n,b,function(e){var t=this;var r=t.prototype||i;e=e||w(r);O(e,{_es6map:true});return e});m.getter(n.prototype,"size",function(){if(typeof this._size==="undefined"){throw new TypeError("size method called on incompatible Map")}return this._size});O(n.prototype,{get:function(e){var t=Et(e);if(t!==null){var r=this._storage[t];if(r){return r.value}else{return}}var n=this._head,i=n;while((i=i.next)!==n){if(S.SameValueZero(i.key,e)){return i.value}}},has:function(e){var t=Et(e);if(t!==null){return typeof this._storage[t]!=="undefined"}var r=this._head,n=r;while((n=n.next)!==r){if(S.SameValueZero(n.key,e)){return true}}return false},set:function(e,r){var n=this._head,i=n,o;var a=Et(e);if(a!==null){if(typeof this._storage[a]!=="undefined"){this._storage[a].value=r;return this}else{o=this._storage[a]=new t(e,r);i=n.prev}}while((i=i.next)!==n){if(S.SameValueZero(i.key,e)){i.value=r;return this}}o=o||new t(e,r);if(S.SameValue(-0,e)){o.key=+0}o.next=this._head;o.prev=this._head.prev;o.prev.next=o;o.next.prev=o;this._size+=1;return this},"delete":function(t){var r=this._head,n=r;var i=Et(t);if(i!==null){if(typeof this._storage[i]==="undefined"){return false}n=this._storage[i].prev;delete this._storage[i]}while((n=n.next)!==r){if(S.SameValueZero(n.key,t)){n.key=n.value=e;n.prev.next=n.next;n.next.prev=n.prev;this._size-=1;return true}}return false},clear:function(){this._size=0;this._storage=Nt();var t=this._head,r=t,n=r.next;while((r=n)!==t){r.key=r.value=e;n=r.next;r.next=r.prev=t}t.next=t.prev=t},keys:function(){return new r(this,"key")},values:function(){return new r(this,"value")},entries:function(){return new r(this,"key+value")},forEach:function(e){var t=arguments.length>1?arguments[1]:null;var r=this.entries();for(var n=r.next();!n.done;n=r.next()){if(t){e.call(t,n.value[1],n.value[0],this)}else{e(n.value[1],n.value[0],this)}}}});T(n.prototype,function(){return this.entries()});return n}(),Set:function(){var e=function n(e){var t=this;if(!S.TypeIsObject(t)){throw new TypeError("Constructor Set requires 'new'")}t=E(t);if(!t._es6set){throw new TypeError("bad set")}O(t,{"[[SetData]]":null,_storage:Nt()});if(typeof e!=="undefined"&&e!==null){var r=S.GetIterator(e);var n=t.add;if(!S.IsCallable(n)){throw new TypeError("bad set")}while(true){var i=S.IteratorNext(r);if(i.done){break}var o=i.value;n.call(t,o)}}return t};var t=e.prototype;d(e,b,function(e){var r=this;var n=r.prototype||t;e=e||w(n);O(e,{_es6set:true});return e});var r=function i(e){if(!e["[[SetData]]"]){var t=e["[[SetData]]"]=new xt.Map;Object.keys(e._storage).forEach(function(e){if(e.charCodeAt(0)===36){e=e.slice(1)}else if(e.charAt(0)==="n"){e=+e.slice(1)}else{e=+e}t.set(e,e)});e._storage=null}};m.getter(e.prototype,"size",function(){if(typeof this._storage==="undefined"){throw new TypeError("size method called on incompatible Set") -}r(this);return this["[[SetData]]"].size});O(e.prototype,{has:function(e){var t;if(this._storage&&(t=Et(e))!==null){return!!this._storage[t]}r(this);return this["[[SetData]]"].has(e)},add:function(e){var t;if(this._storage&&(t=Et(e))!==null){this._storage[t]=true;return this}r(this);this["[[SetData]]"].set(e,e);return this},"delete":function(e){var t;if(this._storage&&(t=Et(e))!==null){var n=l(this._storage,t);return delete this._storage[t]&&n}r(this);return this["[[SetData]]"]["delete"](e)},clear:function(){if(this._storage){this._storage=Nt()}else{this["[[SetData]]"].clear()}},values:function(){r(this);return this["[[SetData]]"].values()},entries:function(){r(this);return this["[[SetData]]"].entries()},forEach:function(e){var t=arguments.length>1?arguments[1]:null;var n=this;r(n);this["[[SetData]]"].forEach(function(r,i){if(t){e.call(t,i,i,n)}else{e(i,i,n)}})}});d(e,"keys",e.values,true);T(e.prototype,function(){return this.values()});return e}()};O(o,xt);if(o.Map||o.Set){if(typeof o.Map.prototype.clear!=="function"||(new o.Set).size!==0||(new o.Map).size!==0||typeof o.Map.prototype.keys!=="function"||typeof o.Set.prototype.keys!=="function"||typeof o.Map.prototype.forEach!=="function"||typeof o.Set.prototype.forEach!=="function"||e(o.Map)||e(o.Set)||!t(o.Map,function(e){var t=new e([]);t.set(42,42);return t instanceof e})){o.Map=xt.Map;o.Set=xt.Set}}if(o.Set.prototype.keys!==o.Set.prototype.values){d(o.Set.prototype,"keys",o.Set.prototype.values,true)}T(Object.getPrototypeOf((new o.Map).keys()));T(Object.getPrototypeOf((new o.Set).keys()))}if(!o.Reflect){d(o,"Reflect",{})}var _t=o.Reflect;var Pt=function wr(e){if(!S.TypeIsObject(e)){throw new TypeError("target must be an object")}};O(o.Reflect,{apply:function jr(){return S.Call.apply(null,arguments)},construct:function Tr(e,t){if(!S.IsCallable(e)){throw new TypeError("First argument must be callable.")}return S.Construct(e,t)},deleteProperty:function Ir(e,t){Pt(e);if(u){var r=Object.getOwnPropertyDescriptor(e,t);if(r&&!r.configurable){return false}}return delete e[t]},enumerate:function Mr(e){Pt(e);return new q(e,"key")},has:function Sr(e,t){Pt(e);return t in e}});if(Object.getOwnPropertyNames){O(o.Reflect,{ownKeys:function Er(e){Pt(e);var t=Object.getOwnPropertyNames(e);if(S.IsCallable(Object.getOwnPropertySymbols)){t.push.apply(t,Object.getOwnPropertySymbols(e))}return t}})}if(Object.preventExtensions){O(o.Reflect,{isExtensible:function Nr(e){Pt(e);return Object.isExtensible(e)},preventExtensions:function xr(e){Pt(e);return At(function(){Object.preventExtensions(e)})}})}if(u){var Ct=function _r(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t);if(!n){var i=Object.getPrototypeOf(e);if(i===null){return undefined}return Ct(i,t,r)}if("value"in n){return n.value}if(n.get){return n.get.call(r)}return undefined};var kt=function Pr(e,t,r,n){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var o=Object.getPrototypeOf(e);if(o!==null){return kt(o,t,r,n)}i={value:void 0,writable:true,enumerable:true,configurable:true}}if("value"in i){if(!i.writable){return false}if(!S.TypeIsObject(n)){return false}var a=Object.getOwnPropertyDescriptor(n,t);if(a){return _t.defineProperty(n,t,{value:r})}else{return _t.defineProperty(n,t,{value:r,writable:true,enumerable:true,configurable:true})}}if(i.set){i.set.call(n,r);return true}return false};var At=function Cr(e){try{e()}catch(t){return false}return true};O(o.Reflect,{defineProperty:function kr(e,t,r){Pt(e);return At(function(){Object.defineProperty(e,t,r)})},getOwnPropertyDescriptor:function Ar(e,t){Pt(e);return Object.getOwnPropertyDescriptor(e,t)},get:function Rr(e,t){Pt(e);var r=arguments.length>2?arguments[2]:e;return Ct(e,t,r)},set:function Lr(e,t,r){Pt(e);var n=arguments.length>3?arguments[3]:e;return kt(e,t,r,n)}})}if(Object.getPrototypeOf){var Rt=Object.getPrototypeOf;O(o.Reflect,{getPrototypeOf:function zr(e){Pt(e);return Rt(e)}})}if(Object.setPrototypeOf){var Lt=function(e,t){while(t){if(e===t){return true}t=_t.getPrototypeOf(t)}return false};O(o.Reflect,{setPrototypeOf:function Fr(e,t){Pt(e);if(t!==null&&!S.TypeIsObject(t)){throw new TypeError("proto must be an object or null")}if(t===_t.getPrototypeOf(e)){return true}if(_t.isExtensible&&!_t.isExtensible(e)){return false}if(Lt(e,t)){return false}Object.setPrototypeOf(e,t);return true}})}if(String(new Date(NaN))!=="Invalid Date"){var zt=Date.prototype.toString;var Ft=function Dr(){var e=+this;if(e!==e){return"Invalid Date"}return zt.call(this)};d(Ft,"toString",zt.toString,true);d(Date.prototype,"toString",Ft,true)}var Dt={anchor:function qr(e){return S.CreateHTML(this,"a","name",e)},big:function Hr(){return S.CreateHTML(this,"big","","")},blink:function Gr(){return S.CreateHTML(this,"blink","","")},bold:function Wr(){return S.CreateHTML(this,"b","","")},fixed:function Vr(){return S.CreateHTML(this,"tt","","")},fontcolor:function Ur(e){return S.CreateHTML(this,"font","color",e)},fontsize:function Xr(e){return S.CreateHTML(this,"font","size",e)},italics:function Zr(){return S.CreateHTML(this,"i","","")},link:function $r(e){return S.CreateHTML(this,"a","href",e)},small:function Kr(){return S.CreateHTML(this,"small","","")},strike:function Br(){return S.CreateHTML(this,"strike","","")},sub:function Jr(){return S.CreateHTML(this,"sub","","")},sup:function Qr(){return S.CreateHTML(this,"sup","","")}};O(String.prototype,Dt);Object.keys(Dt).forEach(function(e){var t=String.prototype[e];var r=false;if(S.IsCallable(t)){var n=t.call("",' " ');var i=[].concat(n.match(/"/g)).length;r=n!==n.toLowerCase()||i>2}else{r=true}if(r){d(String.prototype,e,Dt[e],true)}});return o}); +(function(e,t){if(typeof define==="function"&&define.amd){define(t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){"use strict";var e=function(e){try{e()}catch(t){return false}return true};var t=function(e,t){try{var r=function(){e.apply(this,arguments)};if(!r.__proto__){return false}Object.setPrototypeOf(r,e);r.prototype=Object.create(e.prototype,{constructor:{value:e}});return t(r)}catch(n){return false}};var r=function(){try{Object.defineProperty({},"x",{});return true}catch(e){return false}};var n=function(){var e=false;if(String.prototype.startsWith){try{"/a/".startsWith(/a/)}catch(t){e=true}}return e};var i=new Function("return this;");var o=i();var a=o.isFinite;var u=!!Object.defineProperty&&r();var s=n();var f=Function.call.bind(String.prototype.indexOf);var c=Function.call.bind(Object.prototype.toString);var l=Function.call.bind(Object.prototype.hasOwnProperty);var p;var v=function(){};var h=o.Symbol||{};var y=h.species||"@@species";var b={object:function(e){return e!==null&&typeof e==="object"},string:function(e){return c(e)==="[object String]"},regex:function(e){return c(e)==="[object RegExp]"},symbol:function(e){return typeof o.Symbol==="function"&&typeof e==="symbol"}};var g=function(e,t,r,n){if(!n&&t in e){return}if(u){Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:r})}else{e[t]=r}};var d={getter:function(e,t,r){if(!u){throw new TypeError("getters require true ES5 support")}Object.defineProperty(e,t,{configurable:true,enumerable:false,get:r})},proxy:function(e,t,r){if(!u){throw new TypeError("getters require true ES5 support")}var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,{configurable:n.configurable,enumerable:n.enumerable,get:function i(){return e[t]},set:function o(r){e[t]=r}})},redefine:function(e,t,r){if(u){var n=Object.getOwnPropertyDescriptor(e,t);n.value=r;Object.defineProperty(e,t,n)}else{e[t]=r}},preserveToString:function(e,t){g(e,"toString",t.toString.bind(t),true)}};var m=function(e,t){Object.keys(t).forEach(function(r){var n=t[r];g(e,r,n,false)})};var O=Object.create||function(e,t){function r(){}r.prototype=e;var n=new r;if(typeof t!=="undefined"){m(n,t)}return n};var w=b.symbol(h.iterator)?h.iterator:"_es6-shim iterator_";if(o.Set&&typeof(new o.Set)["@@iterator"]==="function"){w="@@iterator"}var j=function(e,t){if(!t){t=function n(){return this}}var r={};r[w]=t;m(e,r);if(!e[w]&&b.symbol(w)){e[w]=t}};var T=function Ft(e){var t=c(e);var r=t==="[object Arguments]";if(!r){r=t!=="[object Array]"&&e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&c(e.callee)==="[object Function]"}return r};var I=Function.call.bind(Function.apply);var M={Call:function Dt(e,t){var r=arguments.length>2?arguments[2]:[];if(!M.IsCallable(e)){throw new TypeError(e+" is not a function")}return I(e,t,r)},RequireObjectCoercible:function(e,t){if(e==null){throw new TypeError(t||"Cannot call method on "+e)}},TypeIsObject:function(e){return e!=null&&Object(e)===e},ToObject:function(e,t){M.RequireObjectCoercible(e,t);return Object(e)},IsCallable:function(e){return typeof e==="function"&&c(e)==="[object Function]"},ToInt32:function(e){return M.ToNumber(e)>>0},ToUint32:function(e){return M.ToNumber(e)>>>0},ToNumber:function(e){if(c(e)==="[object Symbol]"){throw new TypeError("Cannot convert a Symbol value to a number")}return+e},ToInteger:function(e){var t=M.ToNumber(e);if(Number.isNaN(t)){return 0}if(t===0||!Number.isFinite(t)){return t}return(t>0?1:-1)*Math.floor(Math.abs(t))},ToLength:function(e){var t=M.ToInteger(e);if(t<=0){return 0}if(t>Number.MAX_SAFE_INTEGER){return Number.MAX_SAFE_INTEGER}return t},SameValue:function(e,t){if(e===t){if(e===0){return 1/e===1/t}return true}return Number.isNaN(e)&&Number.isNaN(t)},SameValueZero:function(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)},IsIterable:function(e){return M.TypeIsObject(e)&&(typeof e[w]!=="undefined"||T(e))},GetIterator:function(e){if(T(e)){return new p(e,"value")}var t=e[w];if(!M.IsCallable(t)){throw new TypeError("value is not an iterable")}var r=t.call(e);if(!M.TypeIsObject(r)){throw new TypeError("bad iterator")}return r},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!M.TypeIsObject(t)){throw new TypeError("bad iterator")}return t},Construct:function(e,t){var r;if(M.IsCallable(e[y])){r=e[y]()}else{r=O(e.prototype||null)}m(r,{_es6construct:true});var n=M.Call(e,r,t);return M.TypeIsObject(n)?n:r},CreateHTML:function(e,t,r,n){var i=String(e);var o="<"+t;if(r!==""){var a=String(n);var u=a.replace(/"/g,""");o+=" "+r+'="'+u+'"'}var s=o+">";var f=s+i;return f+""}};var S=function(e){if(!M.TypeIsObject(e)){throw new TypeError("bad object")}if(!e._es6construct){if(e.constructor&&M.IsCallable(e.constructor[y])){e=e.constructor[y](e)}m(e,{_es6construct:true})}return e};var E=function(){function e(e){var t=Math.floor(e),r=e-t;if(r<.5){return t}if(r>.5){return t+1}return t%2?t+1:t}function t(t,r,n){var i=(1<=Math.pow(2,1-i)){a=Math.min(Math.floor(Math.log(t)/Math.LN2),1023);u=e(t/Math.pow(2,a)*Math.pow(2,n));if(u/Math.pow(2,n)>=2){a=a+1;u=1}if(a>i){a=(1<>1}}n.reverse();u=n.join("");s=(1<0){return f*Math.pow(2,c-s)*(1+l/Math.pow(2,r))}else if(l!==0){return f*Math.pow(2,-(s-1))*(l/Math.pow(2,r))}else{return f<0?-0:0}}function n(e){return r(e,11,52)}function i(e){return t(e,11,52)}function o(e){return r(e,8,23)}function a(e){return t(e,8,23)}var u={toFloat32:function(e){return o(a(e))}};if(typeof Float32Array!=="undefined"){var s=new Float32Array(1);u.toFloat32=function(e){s[0]=e;return s[0]}}return u}();m(String,{fromCodePoint:function qt(e){var t=[];var r;for(var n=0,i=arguments.length;n1114111){throw new RangeError("Invalid code point "+r)}if(r<65536){t.push(String.fromCharCode(r))}else{r-=65536;t.push(String.fromCharCode((r>>10)+55296));t.push(String.fromCharCode(r%1024+56320))}}return t.join("")},raw:function Ht(e){var t=M.ToObject(e,"bad callSite");var r=t.raw;var n=M.ToObject(r,"bad raw value");var i=n.length;var o=M.ToLength(i);if(o<=0){return""}var a=[];var u=0;var s,f,c,l;while(u=o){break}f=u+1=_){throw new RangeError("repeat count must be less than infinity and not overflow maximum string size")}return x(t,e)},startsWith:function(e){M.RequireObjectCoercible(this);var t=String(this);if(b.regex(e)){throw new TypeError('Cannot call method "startsWith" with a regex')}e=String(e);var r=arguments.length>1?arguments[1]:void 0;var n=Math.max(M.ToInteger(r),0);return t.slice(n,n+e.length)===e},endsWith:function(e){M.RequireObjectCoercible(this);var t=String(this);if(b.regex(e)){throw new TypeError('Cannot call method "endsWith" with a regex')}e=String(e);var r=t.length;var n=arguments.length>1?arguments[1]:void 0;var i=typeof n==="undefined"?r:M.ToInteger(n);var o=Math.min(Math.max(i,0),r);return t.slice(o-e.length,o)===e},includes:function Ut(e){var t=arguments.length>1?arguments[1]:void 0;return f(this,e,t)!==-1},codePointAt:function(e){M.RequireObjectCoercible(this);var t=String(this);var r=M.ToInteger(e);var n=t.length;if(r>=0&&r56319||o){return i}var a=t.charCodeAt(r+1);if(a<56320||a>57343){return i}return(i-55296)*1024+(a-56320)+65536}}};m(String.prototype,P);var C="\x85".trim().length!==1;if(C){delete String.prototype.trim;var k=[" \n \f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join("");var A=new RegExp("(^["+k+"]+)|(["+k+"]+$)","g");m(String.prototype,{trim:function(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(A,"")}})}var R=function(e){M.RequireObjectCoercible(e);this._s=String(e);this._i=0};R.prototype.next=function(){var e=this._s,t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return{value:void 0,done:true}}var r=e.charCodeAt(t),n,i;if(r<55296||r>56319||t+1===e.length){i=1}else{n=e.charCodeAt(t+1);i=n<56320||n>57343?1:2}this._i=t+i;return{value:e.substr(t,i),done:false}};j(R.prototype);j(String.prototype,function(){return new R(this)});if(!s){g(String.prototype,"startsWith",P.startsWith,true);g(String.prototype,"endsWith",P.endsWith,true)}var L={from:function Xt(e){var t=arguments.length>1?arguments[1]:void 0;var r=M.ToObject(e,"bad iterable");if(typeof t!=="undefined"&&!M.IsCallable(t)){throw new TypeError("Array.from: when provided, the second argument must be a function")}var n=arguments.length>2;var i=n?arguments[2]:void 0;var o=M.IsIterable(r);var a;var u,s,f;if(o){s=0;u=M.IsCallable(this)?Object(new this):[];var c=o?M.GetIterator(r):null;var l;do{l=M.IteratorNext(c);if(!l.done){f=l.value;if(t){u[s]=n?t.call(i,f,s):t(f,s)}else{u[s]=f}s+=1}}while(!l.done);a=s}else{a=M.ToLength(r.length);u=M.IsCallable(this)?Object(new this(a)):new Array(a);for(s=0;s0){e=t.shift();if(!(e in this.object)){continue}if(this.kind==="key"){return F(e)}else if(this.kind==="value"){return F(this.object[e])}else{return F([e,this.object[e]])}}return F()}});j(D.prototype);var H={copyWithin:function $t(e,t){var r=arguments[2];var n=M.ToObject(this);var i=M.ToLength(n.length);e=M.ToInteger(e);t=M.ToInteger(t);var o=e<0?Math.max(i+e,0):Math.min(e,i);var a=t<0?Math.max(i+t,0):Math.min(t,i);r=typeof r==="undefined"?i:M.ToInteger(r);var u=r<0?Math.max(i+r,0):Math.min(r,i);var s=Math.min(u-a,i-o);var f=1;if(a0){if(l(n,a)){n[o]=n[a]}else{delete n[a]}a+=f;o+=f;s-=1}return n},fill:function Kt(e){var t=arguments.length>1?arguments[1]:void 0;var r=arguments.length>2?arguments[2]:void 0;var n=M.ToObject(this);var i=M.ToLength(n.length);t=M.ToInteger(typeof t==="undefined"?0:t);r=M.ToInteger(typeof r==="undefined"?i:r);var o=t<0?Math.max(i+t,0):Math.min(t,i);var a=r<0?i+r:r;for(var u=o;u1?arguments[1]:null;for(var i=0,o;i1?arguments[1]:null;for(var i=0;i1){return NaN}if(e===-1){return-Infinity}if(e===1){return Infinity}if(e===0){return e}return.5*Math.log((1+e)/(1-e))},cbrt:function(e){e=Number(e);if(e===0){return e}var t=e<0,r;if(t){e=-e}r=Math.pow(e,1/3);return t?-r:r},clz32:function(e){e=Number(e);var t=M.ToUint32(e);if(t===0){return 32}return 32-t.toString(2).length},cosh:function(e){e=Number(e);if(e===0){return 1}if(Number.isNaN(e)){return NaN}if(!a(e)){return Infinity}if(e<0){e=-e}if(e>21){return Math.exp(e)/2}return(Math.exp(e)+Math.exp(-e))/2},expm1:function(e){var t=Number(e);if(t===-Infinity){return-1}if(!a(t)||e===0){return t}if(Math.abs(t)>.5){return Math.exp(t)-1}var r=t;var n=0;var i=1;while(n+r!==n){n+=r;i+=1;r*=t/i}return n},hypot:function(e,t){var r=false;var n=true;var i=false;var o=[];Array.prototype.every.call(arguments,function(e){var t=Number(e);if(Number.isNaN(t)){r=true}else if(t===Infinity||t===-Infinity){i=true}else if(t!==0){n=false}if(i){return false}else if(!r){o.push(Math.abs(t))}return true});if(i){return Infinity}if(r){return NaN}if(n){return 0}o.sort(function(e,t){return t-e});var a=o[0];var u=o.map(function(e){return e/a});var s=u.reduce(function(e,t){return e+t*t},0);return a*Math.sqrt(s)},log2:function(e){return Math.log(e)*Math.LOG2E},log10:function(e){return Math.log(e)*Math.LOG10E},log1p:function(e){var t=Number(e);if(t<-1||Number.isNaN(t)){return NaN}if(t===0||t===Infinity){return t}if(t===-1){return-Infinity}return 1+t-1===0?t:t*(Math.log(1+t)/(1+t-1))},sign:function(e){var t=+e;if(t===0){return t}if(Number.isNaN(t)){return t}return t<0?-1:1},sinh:function(e){var t=Number(e);if(!a(e)||e===0){return e}if(Math.abs(t)<1){return(Math.expm1(t)-Math.expm1(-t))/2}return(Math.exp(t-1)-Math.exp(-t-1))*Math.E/2},tanh:function(e){var t=Number(e);if(Number.isNaN(e)||t===0){return t}if(t===Infinity){return 1}if(t===-Infinity){return-1}var r=Math.expm1(t);var n=Math.expm1(-t);if(r===Infinity){return 1}if(n===Infinity){return-1}return(r-n)/(Math.exp(t)+Math.exp(-t))},trunc:function(e){var t=Number(e);return t<0?-Math.floor(-t):Math.floor(t)},imul:function(e,t){e=M.ToUint32(e);t=M.ToUint32(t);var r=e>>>16&65535;var n=e&65535;var i=t>>>16&65535;var o=t&65535;return n*o+(r*o+n*i<<16>>>0)|0},fround:function(e){if(e===0||e===Infinity||e===-Infinity||Number.isNaN(e)){return e}var t=Number(e);return E.toFloat32(t)}};m(Math,ht);g(Math,"tanh",ht.tanh,Math.tanh(-2e-17)!==-2e-17);g(Math,"acosh",ht.acosh,Math.acosh(Number.MAX_VALUE)===Infinity);g(Math,"sinh",ht.sinh,Math.sinh(-2e-17)!==-2e-17);var yt=Math.expm1(10);g(Math,"expm1",ht.expm1,yt>22025.465794806718||yt<22025.465794806718);var bt=Math.round(.5-Number.EPSILON/4)===0&&Math.round(-.5+Number.EPSILON/3.99)===1;var gt=Math.round;g(Math,"round",function hr(e){if(-.5<=e&&e<.5&&e!==0){return Math.sign(e*0)}return gt(e)},!bt);if(Math.imul(4294967295,5)!==-5){Math.imul=ht.imul}var dt=function(){var e,t;M.IsPromise=function(e){if(!M.TypeIsObject(e)){return false}if(!e._promiseConstructor){return false}if(typeof e._status==="undefined"){return false}return true};var r=function(e){if(!M.IsCallable(e)){throw new TypeError("bad promise constructor")}var t=this;var r=function(e,r){t.resolve=e;t.reject=r};t.promise=M.Construct(e,[r]);if(!t.promise._es6construct){throw new TypeError("bad promise constructor")}if(!(M.IsCallable(t.resolve)&&M.IsCallable(t.reject))){throw new TypeError("bad promise constructor")}};var n=o.setTimeout;var i;if(typeof window!=="undefined"&&M.IsCallable(window.postMessage)){i=function(){var e=[];var t="zero-timeout-message";var r=function(r){e.push(r);window.postMessage(t,"*")};var n=function(r){if(r.source===window&&r.data===t){r.stopPropagation();if(e.length===0){return}var n=e.shift();n()}};window.addEventListener("message",n,true);return r}}var a=function(){var e=o.Promise;return e&&e.resolve&&function(t){return e.resolve().then(t)}};var u=M.IsCallable(o.setImmediate)?o.setImmediate.bind(o):typeof process==="object"&&process.nextTick?process.nextTick:a()||(M.IsCallable(i)?i():function(e){n(e,0)});var s=function(e,t){if(!M.TypeIsObject(e)){return false}var r=t.resolve;var n=t.reject;try{var i=e.then;if(!M.IsCallable(i)){return false}i.call(e,r,n)}catch(o){n(o)}return true};var f=function(e,t){e.forEach(function(e){u(function(){var r=e.handler;var n=e.capability;var i=n.resolve;var o=n.reject;try{var a=r(t);if(a===n.promise){throw new TypeError("self resolution")}var u=s(a,n);if(!u){i(a)}}catch(f){o(f)}})})};var c=function(e,t,n){return function(i){if(i===e){return n(new TypeError("self resolution"))}var o=e._promiseConstructor;var a=new r(o);var u=s(i,a);if(u){return a.promise.then(t,n)}else{return t(i)}}};e=function(e){var t=this;t=S(t);if(!t._promiseConstructor){throw new TypeError("bad promise")}if(typeof t._status!=="undefined"){throw new TypeError("promise already initialized")}if(!M.IsCallable(e)){throw new TypeError("not a valid resolver")}t._status="unresolved";t._resolveReactions=[];t._rejectReactions=[];var r=function(e){if(t._status!=="unresolved"){return}var r=t._resolveReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-resolution";f(r,e)};var n=function(e){if(t._status!=="unresolved"){return}var r=t._rejectReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-rejection";f(r,e)};try{e(r,n)}catch(i){n(i)}return t};t=e.prototype;var l=function(e,t,r,n){var i=false;return function(o){if(i){return}i=true;t[e]=o;if(--n.count===0){var a=r.resolve;a(t)}}};g(e,y,function(e){var r=this;var n=r.prototype||t;e=e||O(n);m(e,{_status:void 0,_result:void 0,_resolveReactions:void 0,_rejectReactions:void 0,_promiseConstructor:void 0});e._promiseConstructor=r;return e});m(e,{all:function p(e){var t=this;var n=new r(t);var i=n.resolve;var o=n.reject;try{if(!M.IsIterable(e)){throw new TypeError("bad iterable")}var a=M.GetIterator(e);var u=[],s={count:1};for(var f=0;;f++){var c=M.IteratorNext(a);if(c.done){break}var p=t.resolve(c.value);var v=l(f,u,n,s);s.count++;p.then(v,n.reject)}if(--s.count===0){i(u)}}catch(h){o(h)}return n.promise},race:function v(e){var t=this;var n=new r(t);var i=n.resolve;var o=n.reject;try{if(!M.IsIterable(e)){throw new TypeError("bad iterable")}var a=M.GetIterator(e);while(true){var u=M.IteratorNext(a);if(u.done){break}var s=t.resolve(u.value);s.then(i,o)}}catch(f){o(f)}return n.promise},reject:function h(e){var t=this;var n=new r(t);var i=n.reject;i(e);return n.promise},resolve:function b(e){var t=this;if(M.IsPromise(e)){var n=e._promiseConstructor;if(n===t){return e}}var i=new r(t);var o=i.resolve;o(e);return i.promise}});m(t,{"catch":function(e){return this.then(void 0,e)},then:function d(e,t){var n=this;if(!M.IsPromise(n)){throw new TypeError("not a promise")}var i=this.constructor;var o=new r(i);if(!M.IsCallable(t)){t=function(e){throw e}}if(!M.IsCallable(e)){e=function(e){return e}}var a=c(n,e,t);var u={capability:o,handler:a};var s={capability:o,handler:t};switch(n._status){case"unresolved":n._resolveReactions.push(u);n._rejectReactions.push(s);break;case"has-resolution":f([u],n._result);break;case"has-rejection":f([s],n._result);break;default:throw new TypeError("unexpected")}return o.promise}});return e}();if(o.Promise){delete o.Promise.accept;delete o.Promise.defer;delete o.Promise.prototype.chain}m(o,{Promise:dt});var mt=t(o.Promise,function(e){return e.resolve(42)instanceof e});var Ot=function(){try{o.Promise.reject(42).then(null,5).then(null,v);return true}catch(e){return false}}();var wt=function(){try{Promise.call(3,v)}catch(e){return true}return false}();if(!mt||!Ot||!wt){Promise=dt;g(o,"Promise",dt,true)}var jt=function(e){var t=Object.keys(e.reduce(function(e,t){e[t]=true;return e},{}));return e.join(":")===t.join(":")};var Tt=jt(["z","a","bb"]);var It=jt(["z",1,"a","3",2]);if(u){var Mt=function yr(e){if(!Tt){return null}var t=typeof e;if(t==="string"){return"$"+e}else if(t==="number"){if(!It){return"n"+e}return e}return null};var St=function br(){return Object.create?Object.create(null):{}};var Et={Map:function(){var e={};function t(e,t){this.key=e;this.value=t;this.next=null;this.prev=null}t.prototype.isRemoved=function(){return this.key===e};function r(e,t){this.head=e._head;this.i=this.head;this.kind=t}r.prototype={next:function(){var e=this.i,t=this.kind,r=this.head,n;if(typeof this.i==="undefined"){return{value:void 0,done:true}}while(e.isRemoved()&&e!==r){e=e.prev}while(e.next!==r){e=e.next;if(!e.isRemoved()){if(t==="key"){n=e.key}else if(t==="value"){n=e.value}else{n=[e.key,e.value]}this.i=e;return{value:n,done:false}}}this.i=void 0;return{value:void 0,done:true}}};j(r.prototype);function n(e){var r=this;if(!M.TypeIsObject(r)){throw new TypeError("Constructor Map requires 'new'")}r=S(r);if(!r._es6map){throw new TypeError("bad map")}var n=new t(null,null);n.next=n.prev=n;m(r,{_head:n,_storage:St(),_size:0});if(typeof e!=="undefined"&&e!==null){var i=M.GetIterator(e);var o=r.set;if(!M.IsCallable(o)){throw new TypeError("bad map")}while(true){var a=M.IteratorNext(i);if(a.done){break}var u=a.value;if(!M.TypeIsObject(u)){throw new TypeError("expected iterable of pairs")}o.call(r,u[0],u[1])}}return r}var i=n.prototype;g(n,y,function(e){var t=this;var r=t.prototype||i;e=e||O(r);m(e,{_es6map:true});return e});d.getter(n.prototype,"size",function(){if(typeof this._size==="undefined"){throw new TypeError("size method called on incompatible Map")}return this._size});m(n.prototype,{get:function(e){var t=Mt(e);if(t!==null){var r=this._storage[t];if(r){return r.value}else{return}}var n=this._head,i=n;while((i=i.next)!==n){if(M.SameValueZero(i.key,e)){return i.value}}},has:function(e){var t=Mt(e);if(t!==null){return typeof this._storage[t]!=="undefined"}var r=this._head,n=r;while((n=n.next)!==r){if(M.SameValueZero(n.key,e)){return true}}return false},set:function(e,r){var n=this._head,i=n,o;var a=Mt(e);if(a!==null){if(typeof this._storage[a]!=="undefined"){this._storage[a].value=r;return this}else{o=this._storage[a]=new t(e,r);i=n.prev}}while((i=i.next)!==n){if(M.SameValueZero(i.key,e)){i.value=r;return this}}o=o||new t(e,r);if(M.SameValue(-0,e)){o.key=+0}o.next=this._head;o.prev=this._head.prev;o.prev.next=o;o.next.prev=o;this._size+=1;return this},"delete":function(t){var r=this._head,n=r;var i=Mt(t);if(i!==null){if(typeof this._storage[i]==="undefined"){return false}n=this._storage[i].prev;delete this._storage[i]}while((n=n.next)!==r){if(M.SameValueZero(n.key,t)){n.key=n.value=e;n.prev.next=n.next;n.next.prev=n.prev;this._size-=1;return true}}return false},clear:function(){this._size=0;this._storage=St();var t=this._head,r=t,n=r.next;while((r=n)!==t){r.key=r.value=e;n=r.next;r.next=r.prev=t}t.next=t.prev=t},keys:function(){return new r(this,"key")},values:function(){return new r(this,"value")},entries:function(){return new r(this,"key+value")},forEach:function(e){var t=arguments.length>1?arguments[1]:null;var r=this.entries();for(var n=r.next();!n.done;n=r.next()){if(t){e.call(t,n.value[1],n.value[0],this)}else{e(n.value[1],n.value[0],this)}}}});j(n.prototype,function(){return this.entries()});return n}(),Set:function(){var e=function n(e){var t=this;if(!M.TypeIsObject(t)){throw new TypeError("Constructor Set requires 'new'")}t=S(t);if(!t._es6set){throw new TypeError("bad set")}m(t,{"[[SetData]]":null,_storage:St()});if(typeof e!=="undefined"&&e!==null){var r=M.GetIterator(e);var n=t.add;if(!M.IsCallable(n)){throw new TypeError("bad set")}while(true){var i=M.IteratorNext(r);if(i.done){break}var o=i.value;n.call(t,o)}}return t};var t=e.prototype;g(e,y,function(e){var r=this;var n=r.prototype||t;e=e||O(n);m(e,{_es6set:true});return e});var r=function i(e){if(!e["[[SetData]]"]){var t=e["[[SetData]]"]=new Et.Map;Object.keys(e._storage).forEach(function(e){if(e.charCodeAt(0)===36){e=e.slice(1)}else if(e.charAt(0)==="n"){e=+e.slice(1)}else{e=+e}t.set(e,e)});e._storage=null}};d.getter(e.prototype,"size",function(){if(typeof this._storage==="undefined"){throw new TypeError("size method called on incompatible Set")}r(this);return this["[[SetData]]"].size});m(e.prototype,{has:function(e){var t;if(this._storage&&(t=Mt(e))!==null){return!!this._storage[t]}r(this);return this["[[SetData]]"].has(e)},add:function(e){var t;if(this._storage&&(t=Mt(e))!==null){this._storage[t]=true;return this}r(this);this["[[SetData]]"].set(e,e);return this},"delete":function(e){var t;if(this._storage&&(t=Mt(e))!==null){var n=l(this._storage,t);return delete this._storage[t]&&n}r(this);return this["[[SetData]]"]["delete"](e)},clear:function(){if(this._storage){this._storage=St() +}else{this["[[SetData]]"].clear()}},values:function(){r(this);return this["[[SetData]]"].values()},entries:function(){r(this);return this["[[SetData]]"].entries()},forEach:function(e){var t=arguments.length>1?arguments[1]:null;var n=this;r(n);this["[[SetData]]"].forEach(function(r,i){if(t){e.call(t,i,i,n)}else{e(i,i,n)}})}});g(e,"keys",e.values,true);j(e.prototype,function(){return this.values()});return e}()};m(o,Et);if(o.Map||o.Set){if(typeof o.Map.prototype.clear!=="function"||(new o.Set).size!==0||(new o.Map).size!==0||typeof o.Map.prototype.keys!=="function"||typeof o.Set.prototype.keys!=="function"||typeof o.Map.prototype.forEach!=="function"||typeof o.Set.prototype.forEach!=="function"||e(o.Map)||e(o.Set)||!t(o.Map,function(e){var t=new e([]);t.set(42,42);return t instanceof e})){o.Map=Et.Map;o.Set=Et.Set}}if(o.Set.prototype.keys!==o.Set.prototype.values){g(o.Set.prototype,"keys",o.Set.prototype.values,true)}j(Object.getPrototypeOf((new o.Map).keys()));j(Object.getPrototypeOf((new o.Set).keys()))}if(!o.Reflect){g(o,"Reflect",{})}var Nt=o.Reflect;var xt=function gr(e){if(!M.TypeIsObject(e)){throw new TypeError("target must be an object")}};m(o.Reflect,{apply:function dr(){return M.Call.apply(null,arguments)},construct:function mr(e,t){if(!M.IsCallable(e)){throw new TypeError("First argument must be callable.")}return M.Construct(e,t)},deleteProperty:function Or(e,t){xt(e);if(u){var r=Object.getOwnPropertyDescriptor(e,t);if(r&&!r.configurable){return false}}return delete e[t]},enumerate:function wr(e){xt(e);return new D(e,"key")},has:function jr(e,t){xt(e);return t in e}});if(Object.getOwnPropertyNames){m(o.Reflect,{ownKeys:function Tr(e){xt(e);var t=Object.getOwnPropertyNames(e);if(M.IsCallable(Object.getOwnPropertySymbols)){t.push.apply(t,Object.getOwnPropertySymbols(e))}return t}})}if(Object.preventExtensions){m(o.Reflect,{isExtensible:function Ir(e){xt(e);return Object.isExtensible(e)},preventExtensions:function Mr(e){xt(e);return Ct(function(){Object.preventExtensions(e)})}})}if(u){var _t=function Sr(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t);if(!n){var i=Object.getPrototypeOf(e);if(i===null){return undefined}return _t(i,t,r)}if("value"in n){return n.value}if(n.get){return n.get.call(r)}return undefined};var Pt=function Er(e,t,r,n){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var o=Object.getPrototypeOf(e);if(o!==null){return Pt(o,t,r,n)}i={value:void 0,writable:true,enumerable:true,configurable:true}}if("value"in i){if(!i.writable){return false}if(!M.TypeIsObject(n)){return false}var a=Object.getOwnPropertyDescriptor(n,t);if(a){return Nt.defineProperty(n,t,{value:r})}else{return Nt.defineProperty(n,t,{value:r,writable:true,enumerable:true,configurable:true})}}if(i.set){i.set.call(n,r);return true}return false};var Ct=function Nr(e){try{e()}catch(t){return false}return true};m(o.Reflect,{defineProperty:function xr(e,t,r){xt(e);return Ct(function(){Object.defineProperty(e,t,r)})},getOwnPropertyDescriptor:function _r(e,t){xt(e);return Object.getOwnPropertyDescriptor(e,t)},get:function Pr(e,t){xt(e);var r=arguments.length>2?arguments[2]:e;return _t(e,t,r)},set:function Cr(e,t,r){xt(e);var n=arguments.length>3?arguments[3]:e;return Pt(e,t,r,n)}})}if(Object.getPrototypeOf){var kt=Object.getPrototypeOf;m(o.Reflect,{getPrototypeOf:function kr(e){xt(e);return kt(e)}})}if(Object.setPrototypeOf){var At=function(e,t){while(t){if(e===t){return true}t=Nt.getPrototypeOf(t)}return false};m(o.Reflect,{setPrototypeOf:function Ar(e,t){xt(e);if(t!==null&&!M.TypeIsObject(t)){throw new TypeError("proto must be an object or null")}if(t===Nt.getPrototypeOf(e)){return true}if(Nt.isExtensible&&!Nt.isExtensible(e)){return false}if(At(e,t)){return false}Object.setPrototypeOf(e,t);return true}})}if(String(new Date(NaN))!=="Invalid Date"){var Rt=Date.prototype.toString;var Lt=function Rr(){var e=+this;if(e!==e){return"Invalid Date"}return Rt.call(this)};g(Lt,"toString",Rt.toString,true);g(Date.prototype,"toString",Lt,true)}var zt={anchor:function Lr(e){return M.CreateHTML(this,"a","name",e)},big:function zr(){return M.CreateHTML(this,"big","","")},blink:function Fr(){return M.CreateHTML(this,"blink","","")},bold:function Dr(){return M.CreateHTML(this,"b","","")},fixed:function qr(){return M.CreateHTML(this,"tt","","")},fontcolor:function Hr(e){return M.CreateHTML(this,"font","color",e)},fontsize:function Gr(e){return M.CreateHTML(this,"font","size",e)},italics:function Wr(){return M.CreateHTML(this,"i","","")},link:function Vr(e){return M.CreateHTML(this,"a","href",e)},small:function Ur(){return M.CreateHTML(this,"small","","")},strike:function Xr(){return M.CreateHTML(this,"strike","","")},sub:function Zr(){return M.CreateHTML(this,"sub","","")},sup:function $r(){return M.CreateHTML(this,"sup","","")}};m(String.prototype,zt);Object.keys(zt).forEach(function(e){var t=String.prototype[e];var r=false;if(M.IsCallable(t)){var n=t.call("",' " ');var i=[].concat(n.match(/"/g)).length;r=n!==n.toLowerCase()||i>2}else{r=true}if(r){g(String.prototype,e,zt[e],true)}});return o}); //# sourceMappingURL=es6-shim.map \ No newline at end of file diff --git a/package.json b/package.json index 1dc4d8c2..078fef09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "es6-shim", - "version": "0.27.0", + "version": "0.27.1", "author": "Paul Miller (http://paulmillr.com)", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [