diff --git a/dist/es5node/leader-election-web-lock.js b/dist/es5node/leader-election-web-lock.js index 63ed9092..bd245d9f 100644 --- a/dist/es5node/leader-election-web-lock.js +++ b/dist/es5node/leader-election-web-lock.js @@ -72,7 +72,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -91,6 +90,6 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; \ No newline at end of file diff --git a/dist/es5node/methods/native.js b/dist/es5node/methods/native.js index 739200f5..245b6995 100644 --- a/dist/es5node/methods/native.js +++ b/dist/es5node/methods/native.js @@ -47,10 +47,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/dist/esbrowser/leader-election-web-lock.js b/dist/esbrowser/leader-election-web-lock.js index 6f83d418..a1b1b6d8 100644 --- a/dist/esbrowser/leader-election-web-lock.js +++ b/dist/esbrowser/leader-election-web-lock.js @@ -66,7 +66,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = sendLeaderMessage(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -85,6 +84,6 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return sendLeaderMessage(this, 'death'); } }; \ No newline at end of file diff --git a/dist/esbrowser/methods/native.js b/dist/esbrowser/methods/native.js index 03713d09..cd27da13 100644 --- a/dist/esbrowser/methods/native.js +++ b/dist/esbrowser/methods/native.js @@ -31,10 +31,7 @@ export function onMessage(channelState, fn) { channelState.messagesCallback = fn; } export function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/dist/esnode/leader-election-web-lock.js b/dist/esnode/leader-election-web-lock.js index 6f83d418..a1b1b6d8 100644 --- a/dist/esnode/leader-election-web-lock.js +++ b/dist/esnode/leader-election-web-lock.js @@ -66,7 +66,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = sendLeaderMessage(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -85,6 +84,6 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return sendLeaderMessage(this, 'death'); } }; \ No newline at end of file diff --git a/dist/esnode/methods/native.js b/dist/esnode/methods/native.js index 03713d09..cd27da13 100644 --- a/dist/esnode/methods/native.js +++ b/dist/esnode/methods/native.js @@ -31,10 +31,7 @@ export function onMessage(channelState, fn) { channelState.messagesCallback = fn; } export function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/dist/lib/browser.js b/dist/lib/browser.js index 8a6ed431..f3f80ecc 100644 --- a/dist/lib/browser.js +++ b/dist/lib/browser.js @@ -474,7 +474,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -493,7 +492,7 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; },{"./leader-election-util.js":5,"./util.js":14}],7:[function(require,module,exports){ @@ -1441,10 +1440,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/dist/lib/browser.min.js b/dist/lib/browser.min.js index e015c987..b4b7842b 100644 --- a/dist/lib/browser.min.js +++ b/dist/lib/browser.min.js @@ -1 +1 @@ -!function o(r,i,s){function a(t,e){if(!i[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(u)return u(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=i[t]={exports:{}},r[t][0].call(n.exports,function(e){return a(r[t][1][e]||e)},n,n.exports,o,r,i,s)}return i[t].exports}for(var u="function"==typeof require&&require,e=0;e=t&&e.fn(n.data)})},r=i.method.microSeconds(),i._prepP?i._prepP.then(function(){i._iL=!0,i.method.onMessage(i._state,o,r)}):(i._iL=!0,i.method.onMessage(i._state,o,r)))}function h(e,t,n){e._addEL[t]=e._addEL[t].filter(function(e){return e!==n});t=e;t._iL&&!d(t)&&(t._iL=!1,e=t.method.microSeconds(),t.method.onMessage(t._state,null,e))}(n.BroadcastChannel=o)._pubkey=!0,o.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return l(this,"message",e)},postInternal:function(e){return l(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};h(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,f(this,"message",t)):this._onML=null},addEventListener:function(e,t){var n=this.method.microSeconds();f(this,e,{time:n,fn:t})},removeEventListener:function(e,t){var n=this._addEL[e].find(function(e){return e.fn===t});h(this,e,n)},close:function(){var e,t=this;if(!this.closed)return u.delete(this),this.closed=!0,e=this._prepP||i.PROMISE_RESOLVED_VOID,this._onML=null,this._addEL.message=[],e.then(function(){return Promise.all(Array.from(t._uMP))}).then(function(){return Promise.all(t._befC.map(function(e){return e()}))}).then(function(){return t.method.close(t._state)})},get type(){return this.method.type},get isClosed(){return this.closed}}},{"./method-chooser.js":8,"./options.js":13,"./util.js":14}],2:[function(e,t,n){"use strict";var e=e("./index.es5.js"),o=e.BroadcastChannel,e=e.createLeaderElection;window.BroadcastChannel2=o,window.createLeaderElection=e},{"./index.es5.js":3}],3:[function(e,t,n){"use strict";e=e("./index.js");t.exports={BroadcastChannel:e.BroadcastChannel,createLeaderElection:e.createLeaderElection,clearNodeFolder:e.clearNodeFolder,enforceOptions:e.enforceOptions,beLeader:e.beLeader}},{"./index.js":4}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BroadcastChannel",{enumerable:!0,get:function(){return o.BroadcastChannel}}),Object.defineProperty(n,"OPEN_BROADCAST_CHANNELS",{enumerable:!0,get:function(){return o.OPEN_BROADCAST_CHANNELS}}),Object.defineProperty(n,"beLeader",{enumerable:!0,get:function(){return i.beLeader}}),Object.defineProperty(n,"clearNodeFolder",{enumerable:!0,get:function(){return o.clearNodeFolder}}),Object.defineProperty(n,"createLeaderElection",{enumerable:!0,get:function(){return r.createLeaderElection}}),Object.defineProperty(n,"enforceOptions",{enumerable:!0,get:function(){return o.enforceOptions}});var o=e("./broadcast-channel.js"),r=e("./leader-election.js"),i=e("./leader-election-util.js")},{"./broadcast-channel.js":1,"./leader-election-util.js":5,"./leader-election.js":7}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.beLeader=function(t){t.isLeader=!0,t._hasLeader=!0;function e(e){"leader"===e.context&&"apply"===e.action&&r(t,"tell"),"leader"!==e.context||"tell"!==e.action||t._dpLC||(t._dpLC=!0,t._dpL(),r(t,"tell"))}var n=(0,o.add)(function(){return t.die()});t._unl.push(n);return t.broadcastChannel.addEventListener("internal",e),t._lstns.push(e),r(t,"tell")},n.sendLeaderMessage=r;var o=e("unload");function r(e,t){t={context:"leader",action:t,token:e.token};return e.broadcastChannel.postInternal(t)}},{unload:19}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LeaderElectionWebLock=void 0;function o(e,t){var n=this;(this.broadcastChannel=e)._befC.push(function(){return n.die()}),this._options=t,this.isLeader=!1,this.isDead=!1,this.token=(0,r.randomToken)(),this._lstns=[],this._unl=[],this._dpL=function(){},this._dpLC=!1,this._wKMC={},this.lN="pubkey-bc||"+e.method.type+"||"+e.name}var r=e("./util.js"),i=e("./leader-election-util.js");(n.LeaderElectionWebLock=o).prototype={hasLeader:function(){var t=this;return navigator.locks.query().then(function(e){e=e.held?e.held.filter(function(e){return e.name===t.lN}):[];return!!(e&&0s.token&&n(),"tell"===e.action)&&(n(),s._hasLeader=!0)}),r=i?4*s._options.responseTime:s._options.responseTime,(0,u.sendLeaderMessage)(s,"apply").then(function(){return Promise.race([(0,a.sleep)(r),e.then(function(){return Promise.reject(new Error)})])}).then(function(){return(0,u.sendLeaderMessage)(s,"apply")}).then(function(){return Promise.race([(0,a.sleep)(r),e.then(function(){return Promise.reject(new Error)})])}).catch(function(){}).then(function(){return s.broadcastChannel.removeEventListener("internal",o),!t&&(0,u.beLeader)(s).then(function(){return!0})}));var t,n,e,o,r}).then(function(){s._aplQC=s._aplQC-1}),this._aplQ.then(function(){return s.isLeader}))},awaitLeadership:function(){return this._aLP||(this._aLP=function(r){if(r.isLeader)return a.PROMISE_RESOLVED_VOID;return new Promise(function(e){var t=!1;function n(){t||(t=!0,r.broadcastChannel.removeEventListener("internal",o),e(!0))}r.applyOnce().then(function(){r.isLeader&&n()});(function e(){return(0,a.sleep)(r._options.fallbackInterval).then(function(){if(!r.isDead&&!t)return r.isLeader?void n():r.applyOnce(!0).then(function(){(r.isLeader?n:e)()})})})();var o=function(e){"leader"===e.context&&"death"===e.action&&(r._hasLeader=!1,r.applyOnce().then(function(){r.isLeader&&n()}))};r.broadcastChannel.addEventListener("internal",o),r._lstns.push(o)})}(this)),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var t=this;return this._lstns.forEach(function(e){return t.broadcastChannel.removeEventListener("internal",e)}),this._lstns=[],this._unl.forEach(function(e){return e.remove()}),this._unl=[],this.isLeader&&(this._hasLeader=!1,this.isLeader=!1),this.isDead=!0,(0,u.sendLeaderMessage)(this,"death")}}},{"./leader-election-util.js":5,"./leader-election-web-lock.js":6,"./util.js":14}],8:[function(e,t,n){"use strict";e("@babel/runtime/helpers/typeof");Object.defineProperty(n,"__esModule",{value:!0}),n.chooseMethod=function(t){var e=[].concat(t.methods,s).filter(Boolean);if(t.type){if("simulate"===t.type)return i.SimulateMethod;var n=e.find(function(e){return e.type===t.type});if(n)return n;throw new Error("method-type "+t.type+" not found")}t.webWorkerSupport||(e=e.filter(function(e){return"idb"!==e.type}));n=e.find(function(e){return e.canBeUsed()});{if(n)return n;throw new Error("No usable method found in "+JSON.stringify(s.map(function(e){return e.type})))}};var n=e("./methods/native.js"),o=e("./methods/indexed-db.js"),r=e("./methods/localstorage.js"),i=e("./methods/simulate.js");var s=[n.NativeMethod,o.IndexedDBMethod,r.LocalstorageMethod]},{"./methods/indexed-db.js":9,"./methods/localstorage.js":10,"./methods/native.js":11,"./methods/simulate.js":12,"@babel/runtime/helpers/typeof":15}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TRANSACTION_SETTINGS=n.IndexedDBMethod=void 0,n.averageResponseTime=E,n.canBeUsed=y,n.cleanOldMessages=v,n.close=g,n.commitIndexedDBTransaction=d,n.create=_,n.createDatabase=u,n.getAllMessages=function(e){var n=e.transaction(c,"readonly",l),o=n.objectStore(c),r=[];return new Promise(function(t){o.openCursor().onsuccess=function(e){e=e.target.result;e?(r.push(e.value),e.continue()):(d(n),t(r))}})},n.getIdb=a,n.getMessagesHigherThan=h,n.getOldMessages=m,n.microSeconds=void 0,n.onMessage=L,n.postMessage=w,n.removeMessagesById=p,n.type=void 0,n.writeMessage=f;var r=e("../util.js"),i=e("oblivious-set"),s=e("../options.js"),e=r.microSeconds,o=(n.microSeconds=e,"pubkey.broadcast-channel-0-"),c="messages",l={durability:"relaxed"};n.TRANSACTION_SETTINGS=l;function a(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function d(e){e.commit&&e.commit()}function u(e){var n=a().open(o+e);return n.onupgradeneeded=function(e){e.target.result.createObjectStore(c,{keyPath:"id",autoIncrement:!0})},new Promise(function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}})}function f(e,t,n){var o={uuid:t,time:(new Date).getTime(),data:n},r=e.transaction([c],"readwrite",l);return new Promise(function(e,t){r.oncomplete=function(){return e()},r.onerror=function(e){return t(e)},r.objectStore(c).add(o),d(r)})}function h(e,o){var r,i=e.transaction(c,"readonly",l),s=i.objectStore(c),a=[],u=IDBKeyRange.bound(o+1,1/0);return s.getAll?(r=s.getAll(u),new Promise(function(t,n){r.onerror=function(e){return n(e)},r.onsuccess=function(e){t(e.target.result)}})):new Promise(function(t,n){var e=function(){try{return u=IDBKeyRange.bound(o+1,1/0),s.openCursor(u)}catch(e){return s.openCursor()}}();e.onerror=function(e){return n(e)},e.onsuccess=function(e){e=e.target.result;e?e.value.idn.lastCursorId&&(n.lastCursorId=e.id),e}).filter(function(e){return t=n,(e=e).uuid!==t.uuid&&!(t.eMIs.has(e.id)||e.data.time=t&&e.fn(n.data)})},r=i.method.microSeconds(),i._prepP?i._prepP.then(function(){i._iL=!0,i.method.onMessage(i._state,o,r)}):(i._iL=!0,i.method.onMessage(i._state,o,r)))}function h(e,t,n){e._addEL[t]=e._addEL[t].filter(function(e){return e!==n});t=e;t._iL&&!d(t)&&(t._iL=!1,e=t.method.microSeconds(),t.method.onMessage(t._state,null,e))}(n.BroadcastChannel=o)._pubkey=!0,o.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return l(this,"message",e)},postInternal:function(e){return l(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};h(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,f(this,"message",t)):this._onML=null},addEventListener:function(e,t){var n=this.method.microSeconds();f(this,e,{time:n,fn:t})},removeEventListener:function(e,t){var n=this._addEL[e].find(function(e){return e.fn===t});h(this,e,n)},close:function(){var e,t=this;if(!this.closed)return u.delete(this),this.closed=!0,e=this._prepP||i.PROMISE_RESOLVED_VOID,this._onML=null,this._addEL.message=[],e.then(function(){return Promise.all(Array.from(t._uMP))}).then(function(){return Promise.all(t._befC.map(function(e){return e()}))}).then(function(){return t.method.close(t._state)})},get type(){return this.method.type},get isClosed(){return this.closed}}},{"./method-chooser.js":8,"./options.js":13,"./util.js":14}],2:[function(e,t,n){"use strict";var e=e("./index.es5.js"),o=e.BroadcastChannel,e=e.createLeaderElection;window.BroadcastChannel2=o,window.createLeaderElection=e},{"./index.es5.js":3}],3:[function(e,t,n){"use strict";e=e("./index.js");t.exports={BroadcastChannel:e.BroadcastChannel,createLeaderElection:e.createLeaderElection,clearNodeFolder:e.clearNodeFolder,enforceOptions:e.enforceOptions,beLeader:e.beLeader}},{"./index.js":4}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BroadcastChannel",{enumerable:!0,get:function(){return o.BroadcastChannel}}),Object.defineProperty(n,"OPEN_BROADCAST_CHANNELS",{enumerable:!0,get:function(){return o.OPEN_BROADCAST_CHANNELS}}),Object.defineProperty(n,"beLeader",{enumerable:!0,get:function(){return i.beLeader}}),Object.defineProperty(n,"clearNodeFolder",{enumerable:!0,get:function(){return o.clearNodeFolder}}),Object.defineProperty(n,"createLeaderElection",{enumerable:!0,get:function(){return r.createLeaderElection}}),Object.defineProperty(n,"enforceOptions",{enumerable:!0,get:function(){return o.enforceOptions}});var o=e("./broadcast-channel.js"),r=e("./leader-election.js"),i=e("./leader-election-util.js")},{"./broadcast-channel.js":1,"./leader-election-util.js":5,"./leader-election.js":7}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.beLeader=function(t){t.isLeader=!0,t._hasLeader=!0;function e(e){"leader"===e.context&&"apply"===e.action&&r(t,"tell"),"leader"!==e.context||"tell"!==e.action||t._dpLC||(t._dpLC=!0,t._dpL(),r(t,"tell"))}var n=(0,o.add)(function(){return t.die()});t._unl.push(n);return t.broadcastChannel.addEventListener("internal",e),t._lstns.push(e),r(t,"tell")},n.sendLeaderMessage=r;var o=e("unload");function r(e,t){t={context:"leader",action:t,token:e.token};return e.broadcastChannel.postInternal(t)}},{unload:19}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LeaderElectionWebLock=void 0;function o(e,t){var n=this;(this.broadcastChannel=e)._befC.push(function(){return n.die()}),this._options=t,this.isLeader=!1,this.isDead=!1,this.token=(0,r.randomToken)(),this._lstns=[],this._unl=[],this._dpL=function(){},this._dpLC=!1,this._wKMC={},this.lN="pubkey-bc||"+e.method.type+"||"+e.name}var r=e("./util.js"),i=e("./leader-election-util.js");(n.LeaderElectionWebLock=o).prototype={hasLeader:function(){var t=this;return navigator.locks.query().then(function(e){e=e.held?e.held.filter(function(e){return e.name===t.lN}):[];return!!(e&&0s.token&&n(),"tell"===e.action)&&(n(),s._hasLeader=!0)}),r=i?4*s._options.responseTime:s._options.responseTime,(0,u.sendLeaderMessage)(s,"apply").then(function(){return Promise.race([(0,a.sleep)(r),e.then(function(){return Promise.reject(new Error)})])}).then(function(){return(0,u.sendLeaderMessage)(s,"apply")}).then(function(){return Promise.race([(0,a.sleep)(r),e.then(function(){return Promise.reject(new Error)})])}).catch(function(){}).then(function(){return s.broadcastChannel.removeEventListener("internal",o),!t&&(0,u.beLeader)(s).then(function(){return!0})}));var t,n,e,o,r}).then(function(){s._aplQC=s._aplQC-1}),this._aplQ.then(function(){return s.isLeader}))},awaitLeadership:function(){return this._aLP||(this._aLP=function(r){if(r.isLeader)return a.PROMISE_RESOLVED_VOID;return new Promise(function(e){var t=!1;function n(){t||(t=!0,r.broadcastChannel.removeEventListener("internal",o),e(!0))}r.applyOnce().then(function(){r.isLeader&&n()});(function e(){return(0,a.sleep)(r._options.fallbackInterval).then(function(){if(!r.isDead&&!t)return r.isLeader?void n():r.applyOnce(!0).then(function(){(r.isLeader?n:e)()})})})();var o=function(e){"leader"===e.context&&"death"===e.action&&(r._hasLeader=!1,r.applyOnce().then(function(){r.isLeader&&n()}))};r.broadcastChannel.addEventListener("internal",o),r._lstns.push(o)})}(this)),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var t=this;return this._lstns.forEach(function(e){return t.broadcastChannel.removeEventListener("internal",e)}),this._lstns=[],this._unl.forEach(function(e){return e.remove()}),this._unl=[],this.isLeader&&(this._hasLeader=!1,this.isLeader=!1),this.isDead=!0,(0,u.sendLeaderMessage)(this,"death")}}},{"./leader-election-util.js":5,"./leader-election-web-lock.js":6,"./util.js":14}],8:[function(e,t,n){"use strict";e("@babel/runtime/helpers/typeof");Object.defineProperty(n,"__esModule",{value:!0}),n.chooseMethod=function(t){var e=[].concat(t.methods,s).filter(Boolean);if(t.type){if("simulate"===t.type)return i.SimulateMethod;var n=e.find(function(e){return e.type===t.type});if(n)return n;throw new Error("method-type "+t.type+" not found")}t.webWorkerSupport||(e=e.filter(function(e){return"idb"!==e.type}));n=e.find(function(e){return e.canBeUsed()});{if(n)return n;throw new Error("No usable method found in "+JSON.stringify(s.map(function(e){return e.type})))}};var n=e("./methods/native.js"),o=e("./methods/indexed-db.js"),r=e("./methods/localstorage.js"),i=e("./methods/simulate.js");var s=[n.NativeMethod,o.IndexedDBMethod,r.LocalstorageMethod]},{"./methods/indexed-db.js":9,"./methods/localstorage.js":10,"./methods/native.js":11,"./methods/simulate.js":12,"@babel/runtime/helpers/typeof":15}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TRANSACTION_SETTINGS=n.IndexedDBMethod=void 0,n.averageResponseTime=E,n.canBeUsed=y,n.cleanOldMessages=v,n.close=g,n.commitIndexedDBTransaction=d,n.create=_,n.createDatabase=u,n.getAllMessages=function(e){var n=e.transaction(c,"readonly",l),o=n.objectStore(c),r=[];return new Promise(function(t){o.openCursor().onsuccess=function(e){e=e.target.result;e?(r.push(e.value),e.continue()):(d(n),t(r))}})},n.getIdb=a,n.getMessagesHigherThan=h,n.getOldMessages=m,n.microSeconds=void 0,n.onMessage=L,n.postMessage=w,n.removeMessagesById=p,n.type=void 0,n.writeMessage=f;var r=e("../util.js"),i=e("oblivious-set"),s=e("../options.js"),e=r.microSeconds,o=(n.microSeconds=e,"pubkey.broadcast-channel-0-"),c="messages",l={durability:"relaxed"};n.TRANSACTION_SETTINGS=l;function a(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function d(e){e.commit&&e.commit()}function u(e){var n=a().open(o+e);return n.onupgradeneeded=function(e){e.target.result.createObjectStore(c,{keyPath:"id",autoIncrement:!0})},new Promise(function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}})}function f(e,t,n){var o={uuid:t,time:(new Date).getTime(),data:n},r=e.transaction([c],"readwrite",l);return new Promise(function(e,t){r.oncomplete=function(){return e()},r.onerror=function(e){return t(e)},r.objectStore(c).add(o),d(r)})}function h(e,o){var r,i=e.transaction(c,"readonly",l),s=i.objectStore(c),a=[],u=IDBKeyRange.bound(o+1,1/0);return s.getAll?(r=s.getAll(u),new Promise(function(t,n){r.onerror=function(e){return n(e)},r.onsuccess=function(e){t(e.target.result)}})):new Promise(function(t,n){var e=function(){try{return u=IDBKeyRange.bound(o+1,1/0),s.openCursor(u)}catch(e){return s.openCursor()}}();e.onerror=function(e){return n(e)},e.onsuccess=function(e){e=e.target.result;e?e.value.idn.lastCursorId&&(n.lastCursorId=e.id),e}).filter(function(e){return t=n,(e=e).uuid!==t.uuid&&!(t.eMIs.has(e.id)||e.data.time TIMEOUT_MAX) { + throw new Error('setTimeout cannot be called with time greater than ' + TIMEOUT_MAX); + } + if (timeoutInMilliseconds < TIMEOUT_MIN) { + throw new Error('setTimeout cannot be called with time lower than ' + TIMEOUT_MIN); + } + return timeoutInMilliseconds; +} },{}],34:[function(require,module,exports){ -'use strict'; +"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports['default'] = waitForever; - -var _wait = require('./wait'); - -var _wait2 = _interopRequireDefault(_wait); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - +exports["default"] = waitForever; /** * waits forever * @return {Promise} @@ -2489,13 +2495,16 @@ function waitForever(fun) { return new Promise(function (res) {}); } -},{"./wait":37}],35:[function(require,module,exports){ -"use strict"; +},{}],35:[function(require,module,exports){ +'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); -exports["default"] = waitResolveable; +exports['default'] = waitResolveable; + +var _utils = require('./utils'); + /** * this returns a promise and the resolve-function * which can be called to resolve before the timeout has passed @@ -2509,11 +2518,11 @@ function waitResolveable() { ret.resolve = function (x) { return res(x); }; - setTimeout(res, ms); + setTimeout(res, (0, _utils.ensureInSetTimeoutLimit)(ms)); }); return ret; } -},{}],36:[function(require,module,exports){ +},{"./utils":33}],36:[function(require,module,exports){ 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -2580,12 +2589,15 @@ function waitUntil(fun) { }); } },{"./promisify":27,"./wait":37}],37:[function(require,module,exports){ -"use strict"; +'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); -exports["default"] = wait; +exports['default'] = wait; + +var _utils = require('./utils'); + /** * [promiseWait description] * @param {Number} [ms=0] time in ms @@ -2595,10 +2607,41 @@ function wait() { var ms = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; return new Promise(function (res) { - return setTimeout(res, ms); + return setTimeout(res, (0, _utils.ensureInSetTimeoutLimit)(ms)); }); } -},{}],38:[function(require,module,exports){ +},{"./utils":33}],38:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var possibleNames = [ + 'BigInt64Array', + 'BigUint64Array', + 'Float32Array', + 'Float64Array', + 'Int16Array', + 'Int32Array', + 'Int8Array', + 'Uint16Array', + 'Uint32Array', + 'Uint8Array', + 'Uint8ClampedArray' +]; + +var g = typeof globalThis === 'undefined' ? global : globalThis; + +module.exports = function availableTypedArrays() { + var out = []; + for (var i = 0; i < possibleNames.length; i++) { + if (typeof g[possibleNames[i]] === 'function') { + out[out.length] = possibleNames[i]; + } + } + return out; +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{}],39:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength @@ -2750,9 +2793,9 @@ function fromByteArray (uint8) { return parts.join('') } -},{}],39:[function(require,module,exports){ - },{}],40:[function(require,module,exports){ + +},{}],41:[function(require,module,exports){ (function (Buffer){(function (){ /*! * The buffer module from node.js, for the browser. @@ -4533,7 +4576,73 @@ function numberIsNaN (obj) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"base64-js":38,"buffer":40,"ieee754":349}],41:[function(require,module,exports){ +},{"base64-js":39,"buffer":41,"ieee754":364}],42:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var callBind = require('./'); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; + +},{"./":43,"get-intrinsic":356}],43:[function(require,module,exports){ +'use strict'; + +var bind = require('function-bind'); +var GetIntrinsic = require('get-intrinsic'); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} + +},{"function-bind":354,"get-intrinsic":356}],44:[function(require,module,exports){ (function (Buffer){(function (){ var clone = (function() { 'use strict'; @@ -4794,7 +4903,7 @@ if (typeof module === 'object' && module.exports) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":40}],42:[function(require,module,exports){ +},{"buffer":41}],45:[function(require,module,exports){ require('../modules/es6.symbol'); require('../modules/es6.object.create'); require('../modules/es6.object.define-property'); @@ -4935,74 +5044,74 @@ require('../modules/es6.reflect.set'); require('../modules/es6.reflect.set-prototype-of'); module.exports = require('../modules/_core'); -},{"../modules/_core":91,"../modules/es6.array.copy-within":193,"../modules/es6.array.every":194,"../modules/es6.array.fill":195,"../modules/es6.array.filter":196,"../modules/es6.array.find":198,"../modules/es6.array.find-index":197,"../modules/es6.array.for-each":199,"../modules/es6.array.from":200,"../modules/es6.array.index-of":201,"../modules/es6.array.is-array":202,"../modules/es6.array.iterator":203,"../modules/es6.array.join":204,"../modules/es6.array.last-index-of":205,"../modules/es6.array.map":206,"../modules/es6.array.of":207,"../modules/es6.array.reduce":209,"../modules/es6.array.reduce-right":208,"../modules/es6.array.slice":210,"../modules/es6.array.some":211,"../modules/es6.array.sort":212,"../modules/es6.array.species":213,"../modules/es6.date.now":214,"../modules/es6.date.to-iso-string":215,"../modules/es6.date.to-json":216,"../modules/es6.date.to-primitive":217,"../modules/es6.date.to-string":218,"../modules/es6.function.bind":219,"../modules/es6.function.has-instance":220,"../modules/es6.function.name":221,"../modules/es6.map":222,"../modules/es6.math.acosh":223,"../modules/es6.math.asinh":224,"../modules/es6.math.atanh":225,"../modules/es6.math.cbrt":226,"../modules/es6.math.clz32":227,"../modules/es6.math.cosh":228,"../modules/es6.math.expm1":229,"../modules/es6.math.fround":230,"../modules/es6.math.hypot":231,"../modules/es6.math.imul":232,"../modules/es6.math.log10":233,"../modules/es6.math.log1p":234,"../modules/es6.math.log2":235,"../modules/es6.math.sign":236,"../modules/es6.math.sinh":237,"../modules/es6.math.tanh":238,"../modules/es6.math.trunc":239,"../modules/es6.number.constructor":240,"../modules/es6.number.epsilon":241,"../modules/es6.number.is-finite":242,"../modules/es6.number.is-integer":243,"../modules/es6.number.is-nan":244,"../modules/es6.number.is-safe-integer":245,"../modules/es6.number.max-safe-integer":246,"../modules/es6.number.min-safe-integer":247,"../modules/es6.number.parse-float":248,"../modules/es6.number.parse-int":249,"../modules/es6.number.to-fixed":250,"../modules/es6.number.to-precision":251,"../modules/es6.object.assign":252,"../modules/es6.object.create":253,"../modules/es6.object.define-properties":254,"../modules/es6.object.define-property":255,"../modules/es6.object.freeze":256,"../modules/es6.object.get-own-property-descriptor":257,"../modules/es6.object.get-own-property-names":258,"../modules/es6.object.get-prototype-of":259,"../modules/es6.object.is":263,"../modules/es6.object.is-extensible":260,"../modules/es6.object.is-frozen":261,"../modules/es6.object.is-sealed":262,"../modules/es6.object.keys":264,"../modules/es6.object.prevent-extensions":265,"../modules/es6.object.seal":266,"../modules/es6.object.set-prototype-of":267,"../modules/es6.object.to-string":268,"../modules/es6.parse-float":269,"../modules/es6.parse-int":270,"../modules/es6.promise":271,"../modules/es6.reflect.apply":272,"../modules/es6.reflect.construct":273,"../modules/es6.reflect.define-property":274,"../modules/es6.reflect.delete-property":275,"../modules/es6.reflect.enumerate":276,"../modules/es6.reflect.get":279,"../modules/es6.reflect.get-own-property-descriptor":277,"../modules/es6.reflect.get-prototype-of":278,"../modules/es6.reflect.has":280,"../modules/es6.reflect.is-extensible":281,"../modules/es6.reflect.own-keys":282,"../modules/es6.reflect.prevent-extensions":283,"../modules/es6.reflect.set":285,"../modules/es6.reflect.set-prototype-of":284,"../modules/es6.regexp.constructor":286,"../modules/es6.regexp.exec":287,"../modules/es6.regexp.flags":288,"../modules/es6.regexp.match":289,"../modules/es6.regexp.replace":290,"../modules/es6.regexp.search":291,"../modules/es6.regexp.split":292,"../modules/es6.regexp.to-string":293,"../modules/es6.set":294,"../modules/es6.string.anchor":295,"../modules/es6.string.big":296,"../modules/es6.string.blink":297,"../modules/es6.string.bold":298,"../modules/es6.string.code-point-at":299,"../modules/es6.string.ends-with":300,"../modules/es6.string.fixed":301,"../modules/es6.string.fontcolor":302,"../modules/es6.string.fontsize":303,"../modules/es6.string.from-code-point":304,"../modules/es6.string.includes":305,"../modules/es6.string.italics":306,"../modules/es6.string.iterator":307,"../modules/es6.string.link":308,"../modules/es6.string.raw":309,"../modules/es6.string.repeat":310,"../modules/es6.string.small":311,"../modules/es6.string.starts-with":312,"../modules/es6.string.strike":313,"../modules/es6.string.sub":314,"../modules/es6.string.sup":315,"../modules/es6.string.trim":316,"../modules/es6.symbol":317,"../modules/es6.typed.array-buffer":318,"../modules/es6.typed.data-view":319,"../modules/es6.typed.float32-array":320,"../modules/es6.typed.float64-array":321,"../modules/es6.typed.int16-array":322,"../modules/es6.typed.int32-array":323,"../modules/es6.typed.int8-array":324,"../modules/es6.typed.uint16-array":325,"../modules/es6.typed.uint32-array":326,"../modules/es6.typed.uint8-array":327,"../modules/es6.typed.uint8-clamped-array":328,"../modules/es6.weak-map":329,"../modules/es6.weak-set":330}],43:[function(require,module,exports){ +},{"../modules/_core":94,"../modules/es6.array.copy-within":196,"../modules/es6.array.every":197,"../modules/es6.array.fill":198,"../modules/es6.array.filter":199,"../modules/es6.array.find":201,"../modules/es6.array.find-index":200,"../modules/es6.array.for-each":202,"../modules/es6.array.from":203,"../modules/es6.array.index-of":204,"../modules/es6.array.is-array":205,"../modules/es6.array.iterator":206,"../modules/es6.array.join":207,"../modules/es6.array.last-index-of":208,"../modules/es6.array.map":209,"../modules/es6.array.of":210,"../modules/es6.array.reduce":212,"../modules/es6.array.reduce-right":211,"../modules/es6.array.slice":213,"../modules/es6.array.some":214,"../modules/es6.array.sort":215,"../modules/es6.array.species":216,"../modules/es6.date.now":217,"../modules/es6.date.to-iso-string":218,"../modules/es6.date.to-json":219,"../modules/es6.date.to-primitive":220,"../modules/es6.date.to-string":221,"../modules/es6.function.bind":222,"../modules/es6.function.has-instance":223,"../modules/es6.function.name":224,"../modules/es6.map":225,"../modules/es6.math.acosh":226,"../modules/es6.math.asinh":227,"../modules/es6.math.atanh":228,"../modules/es6.math.cbrt":229,"../modules/es6.math.clz32":230,"../modules/es6.math.cosh":231,"../modules/es6.math.expm1":232,"../modules/es6.math.fround":233,"../modules/es6.math.hypot":234,"../modules/es6.math.imul":235,"../modules/es6.math.log10":236,"../modules/es6.math.log1p":237,"../modules/es6.math.log2":238,"../modules/es6.math.sign":239,"../modules/es6.math.sinh":240,"../modules/es6.math.tanh":241,"../modules/es6.math.trunc":242,"../modules/es6.number.constructor":243,"../modules/es6.number.epsilon":244,"../modules/es6.number.is-finite":245,"../modules/es6.number.is-integer":246,"../modules/es6.number.is-nan":247,"../modules/es6.number.is-safe-integer":248,"../modules/es6.number.max-safe-integer":249,"../modules/es6.number.min-safe-integer":250,"../modules/es6.number.parse-float":251,"../modules/es6.number.parse-int":252,"../modules/es6.number.to-fixed":253,"../modules/es6.number.to-precision":254,"../modules/es6.object.assign":255,"../modules/es6.object.create":256,"../modules/es6.object.define-properties":257,"../modules/es6.object.define-property":258,"../modules/es6.object.freeze":259,"../modules/es6.object.get-own-property-descriptor":260,"../modules/es6.object.get-own-property-names":261,"../modules/es6.object.get-prototype-of":262,"../modules/es6.object.is":266,"../modules/es6.object.is-extensible":263,"../modules/es6.object.is-frozen":264,"../modules/es6.object.is-sealed":265,"../modules/es6.object.keys":267,"../modules/es6.object.prevent-extensions":268,"../modules/es6.object.seal":269,"../modules/es6.object.set-prototype-of":270,"../modules/es6.object.to-string":271,"../modules/es6.parse-float":272,"../modules/es6.parse-int":273,"../modules/es6.promise":274,"../modules/es6.reflect.apply":275,"../modules/es6.reflect.construct":276,"../modules/es6.reflect.define-property":277,"../modules/es6.reflect.delete-property":278,"../modules/es6.reflect.enumerate":279,"../modules/es6.reflect.get":282,"../modules/es6.reflect.get-own-property-descriptor":280,"../modules/es6.reflect.get-prototype-of":281,"../modules/es6.reflect.has":283,"../modules/es6.reflect.is-extensible":284,"../modules/es6.reflect.own-keys":285,"../modules/es6.reflect.prevent-extensions":286,"../modules/es6.reflect.set":288,"../modules/es6.reflect.set-prototype-of":287,"../modules/es6.regexp.constructor":289,"../modules/es6.regexp.exec":290,"../modules/es6.regexp.flags":291,"../modules/es6.regexp.match":292,"../modules/es6.regexp.replace":293,"../modules/es6.regexp.search":294,"../modules/es6.regexp.split":295,"../modules/es6.regexp.to-string":296,"../modules/es6.set":297,"../modules/es6.string.anchor":298,"../modules/es6.string.big":299,"../modules/es6.string.blink":300,"../modules/es6.string.bold":301,"../modules/es6.string.code-point-at":302,"../modules/es6.string.ends-with":303,"../modules/es6.string.fixed":304,"../modules/es6.string.fontcolor":305,"../modules/es6.string.fontsize":306,"../modules/es6.string.from-code-point":307,"../modules/es6.string.includes":308,"../modules/es6.string.italics":309,"../modules/es6.string.iterator":310,"../modules/es6.string.link":311,"../modules/es6.string.raw":312,"../modules/es6.string.repeat":313,"../modules/es6.string.small":314,"../modules/es6.string.starts-with":315,"../modules/es6.string.strike":316,"../modules/es6.string.sub":317,"../modules/es6.string.sup":318,"../modules/es6.string.trim":319,"../modules/es6.symbol":320,"../modules/es6.typed.array-buffer":321,"../modules/es6.typed.data-view":322,"../modules/es6.typed.float32-array":323,"../modules/es6.typed.float64-array":324,"../modules/es6.typed.int16-array":325,"../modules/es6.typed.int32-array":326,"../modules/es6.typed.int8-array":327,"../modules/es6.typed.uint16-array":328,"../modules/es6.typed.uint32-array":329,"../modules/es6.typed.uint8-array":330,"../modules/es6.typed.uint8-clamped-array":331,"../modules/es6.weak-map":332,"../modules/es6.weak-set":333}],46:[function(require,module,exports){ require('../../modules/es7.array.flat-map'); module.exports = require('../../modules/_core').Array.flatMap; -},{"../../modules/_core":91,"../../modules/es7.array.flat-map":331}],44:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.array.flat-map":334}],47:[function(require,module,exports){ require('../../modules/es7.array.includes'); module.exports = require('../../modules/_core').Array.includes; -},{"../../modules/_core":91,"../../modules/es7.array.includes":332}],45:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.array.includes":335}],48:[function(require,module,exports){ require('../../modules/es7.object.entries'); module.exports = require('../../modules/_core').Object.entries; -},{"../../modules/_core":91,"../../modules/es7.object.entries":333}],46:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.object.entries":336}],49:[function(require,module,exports){ require('../../modules/es7.object.get-own-property-descriptors'); module.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors; -},{"../../modules/_core":91,"../../modules/es7.object.get-own-property-descriptors":334}],47:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.object.get-own-property-descriptors":337}],50:[function(require,module,exports){ require('../../modules/es7.object.values'); module.exports = require('../../modules/_core').Object.values; -},{"../../modules/_core":91,"../../modules/es7.object.values":335}],48:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.object.values":338}],51:[function(require,module,exports){ 'use strict'; require('../../modules/es6.promise'); require('../../modules/es7.promise.finally'); module.exports = require('../../modules/_core').Promise['finally']; -},{"../../modules/_core":91,"../../modules/es6.promise":271,"../../modules/es7.promise.finally":336}],49:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es6.promise":274,"../../modules/es7.promise.finally":339}],52:[function(require,module,exports){ require('../../modules/es7.string.pad-end'); module.exports = require('../../modules/_core').String.padEnd; -},{"../../modules/_core":91,"../../modules/es7.string.pad-end":337}],50:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.string.pad-end":340}],53:[function(require,module,exports){ require('../../modules/es7.string.pad-start'); module.exports = require('../../modules/_core').String.padStart; -},{"../../modules/_core":91,"../../modules/es7.string.pad-start":338}],51:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.string.pad-start":341}],54:[function(require,module,exports){ require('../../modules/es7.string.trim-right'); module.exports = require('../../modules/_core').String.trimRight; -},{"../../modules/_core":91,"../../modules/es7.string.trim-right":340}],52:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.string.trim-right":343}],55:[function(require,module,exports){ require('../../modules/es7.string.trim-left'); module.exports = require('../../modules/_core').String.trimLeft; -},{"../../modules/_core":91,"../../modules/es7.string.trim-left":339}],53:[function(require,module,exports){ +},{"../../modules/_core":94,"../../modules/es7.string.trim-left":342}],56:[function(require,module,exports){ require('../../modules/es7.symbol.async-iterator'); module.exports = require('../../modules/_wks-ext').f('asyncIterator'); -},{"../../modules/_wks-ext":190,"../../modules/es7.symbol.async-iterator":341}],54:[function(require,module,exports){ +},{"../../modules/_wks-ext":193,"../../modules/es7.symbol.async-iterator":344}],57:[function(require,module,exports){ require('../modules/es7.global'); module.exports = require('../modules/_core').global; -},{"../modules/_core":57,"../modules/es7.global":71}],55:[function(require,module,exports){ +},{"../modules/_core":60,"../modules/es7.global":74}],58:[function(require,module,exports){ module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; -},{}],56:[function(require,module,exports){ +},{}],59:[function(require,module,exports){ var isObject = require('./_is-object'); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; -},{"./_is-object":67}],57:[function(require,module,exports){ +},{"./_is-object":70}],60:[function(require,module,exports){ var core = module.exports = { version: '2.6.12' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef -},{}],58:[function(require,module,exports){ +},{}],61:[function(require,module,exports){ // optional / simple context binding var aFunction = require('./_a-function'); module.exports = function (fn, that, length) { @@ -5024,13 +5133,13 @@ module.exports = function (fn, that, length) { }; }; -},{"./_a-function":55}],59:[function(require,module,exports){ +},{"./_a-function":58}],62:[function(require,module,exports){ // Thank's IE8 for his funny defineProperty module.exports = !require('./_fails')(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); -},{"./_fails":62}],60:[function(require,module,exports){ +},{"./_fails":65}],63:[function(require,module,exports){ var isObject = require('./_is-object'); var document = require('./_global').document; // typeof document.createElement is 'object' in old IE @@ -5039,7 +5148,7 @@ module.exports = function (it) { return is ? document.createElement(it) : {}; }; -},{"./_global":63,"./_is-object":67}],61:[function(require,module,exports){ +},{"./_global":66,"./_is-object":70}],64:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var ctx = require('./_ctx'); @@ -5103,7 +5212,7 @@ $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; -},{"./_core":57,"./_ctx":58,"./_global":63,"./_has":64,"./_hide":65}],62:[function(require,module,exports){ +},{"./_core":60,"./_ctx":61,"./_global":66,"./_has":67,"./_hide":68}],65:[function(require,module,exports){ module.exports = function (exec) { try { return !!exec(); @@ -5112,7 +5221,7 @@ module.exports = function (exec) { } }; -},{}],63:[function(require,module,exports){ +},{}],66:[function(require,module,exports){ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self @@ -5120,13 +5229,13 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef -},{}],64:[function(require,module,exports){ +},{}],67:[function(require,module,exports){ var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; -},{}],65:[function(require,module,exports){ +},{}],68:[function(require,module,exports){ var dP = require('./_object-dp'); var createDesc = require('./_property-desc'); module.exports = require('./_descriptors') ? function (object, key, value) { @@ -5136,17 +5245,17 @@ module.exports = require('./_descriptors') ? function (object, key, value) { return object; }; -},{"./_descriptors":59,"./_object-dp":68,"./_property-desc":69}],66:[function(require,module,exports){ +},{"./_descriptors":62,"./_object-dp":71,"./_property-desc":72}],69:[function(require,module,exports){ module.exports = !require('./_descriptors') && !require('./_fails')(function () { return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7; }); -},{"./_descriptors":59,"./_dom-create":60,"./_fails":62}],67:[function(require,module,exports){ +},{"./_descriptors":62,"./_dom-create":63,"./_fails":65}],70:[function(require,module,exports){ module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; -},{}],68:[function(require,module,exports){ +},{}],71:[function(require,module,exports){ var anObject = require('./_an-object'); var IE8_DOM_DEFINE = require('./_ie8-dom-define'); var toPrimitive = require('./_to-primitive'); @@ -5164,7 +5273,7 @@ exports.f = require('./_descriptors') ? Object.defineProperty : function defineP return O; }; -},{"./_an-object":56,"./_descriptors":59,"./_ie8-dom-define":66,"./_to-primitive":70}],69:[function(require,module,exports){ +},{"./_an-object":59,"./_descriptors":62,"./_ie8-dom-define":69,"./_to-primitive":73}],72:[function(require,module,exports){ module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), @@ -5174,7 +5283,7 @@ module.exports = function (bitmap, value) { }; }; -},{}],70:[function(require,module,exports){ +},{}],73:[function(require,module,exports){ // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = require('./_is-object'); // instead of the ES6 spec version, we didn't implement @@toPrimitive case @@ -5188,22 +5297,22 @@ module.exports = function (it, S) { throw TypeError("Can't convert object to primitive value"); }; -},{"./_is-object":67}],71:[function(require,module,exports){ +},{"./_is-object":70}],74:[function(require,module,exports){ // https://github.com/tc39/proposal-global var $export = require('./_export'); $export($export.G, { global: require('./_global') }); -},{"./_export":61,"./_global":63}],72:[function(require,module,exports){ -arguments[4][55][0].apply(exports,arguments) -},{"dup":55}],73:[function(require,module,exports){ +},{"./_export":64,"./_global":66}],75:[function(require,module,exports){ +arguments[4][58][0].apply(exports,arguments) +},{"dup":58}],76:[function(require,module,exports){ var cof = require('./_cof'); module.exports = function (it, msg) { if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; }; -},{"./_cof":87}],74:[function(require,module,exports){ +},{"./_cof":90}],77:[function(require,module,exports){ // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = require('./_wks')('unscopables'); var ArrayProto = Array.prototype; @@ -5212,7 +5321,7 @@ module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true; }; -},{"./_hide":111,"./_wks":191}],75:[function(require,module,exports){ +},{"./_hide":114,"./_wks":194}],78:[function(require,module,exports){ 'use strict'; var at = require('./_string-at')(true); @@ -5222,16 +5331,16 @@ module.exports = function (S, index, unicode) { return index + (unicode ? at(S, index).length : 1); }; -},{"./_string-at":168}],76:[function(require,module,exports){ +},{"./_string-at":171}],79:[function(require,module,exports){ module.exports = function (it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!'); } return it; }; -},{}],77:[function(require,module,exports){ -arguments[4][56][0].apply(exports,arguments) -},{"./_is-object":120,"dup":56}],78:[function(require,module,exports){ +},{}],80:[function(require,module,exports){ +arguments[4][59][0].apply(exports,arguments) +},{"./_is-object":123,"dup":59}],81:[function(require,module,exports){ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; var toObject = require('./_to-object'); @@ -5259,7 +5368,7 @@ module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* } return O; }; -},{"./_to-absolute-index":176,"./_to-length":180,"./_to-object":181}],79:[function(require,module,exports){ +},{"./_to-absolute-index":179,"./_to-length":183,"./_to-object":184}],82:[function(require,module,exports){ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; var toObject = require('./_to-object'); @@ -5276,7 +5385,7 @@ module.exports = function fill(value /* , start = 0, end = @length */) { return O; }; -},{"./_to-absolute-index":176,"./_to-length":180,"./_to-object":181}],80:[function(require,module,exports){ +},{"./_to-absolute-index":179,"./_to-length":183,"./_to-object":184}],83:[function(require,module,exports){ // false -> Array#indexOf // true -> Array#includes var toIObject = require('./_to-iobject'); @@ -5301,7 +5410,7 @@ module.exports = function (IS_INCLUDES) { }; }; -},{"./_to-absolute-index":176,"./_to-iobject":179,"./_to-length":180}],81:[function(require,module,exports){ +},{"./_to-absolute-index":179,"./_to-iobject":182,"./_to-length":183}],84:[function(require,module,exports){ // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter @@ -5347,7 +5456,7 @@ module.exports = function (TYPE, $create) { }; }; -},{"./_array-species-create":84,"./_ctx":93,"./_iobject":116,"./_to-length":180,"./_to-object":181}],82:[function(require,module,exports){ +},{"./_array-species-create":87,"./_ctx":96,"./_iobject":119,"./_to-length":183,"./_to-object":184}],85:[function(require,module,exports){ var aFunction = require('./_a-function'); var toObject = require('./_to-object'); var IObject = require('./_iobject'); @@ -5377,7 +5486,7 @@ module.exports = function (that, callbackfn, aLen, memo, isRight) { return memo; }; -},{"./_a-function":72,"./_iobject":116,"./_to-length":180,"./_to-object":181}],83:[function(require,module,exports){ +},{"./_a-function":75,"./_iobject":119,"./_to-length":183,"./_to-object":184}],86:[function(require,module,exports){ var isObject = require('./_is-object'); var isArray = require('./_is-array'); var SPECIES = require('./_wks')('species'); @@ -5395,7 +5504,7 @@ module.exports = function (original) { } return C === undefined ? Array : C; }; -},{"./_is-array":118,"./_is-object":120,"./_wks":191}],84:[function(require,module,exports){ +},{"./_is-array":121,"./_is-object":123,"./_wks":194}],87:[function(require,module,exports){ // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = require('./_array-species-constructor'); @@ -5403,7 +5512,7 @@ module.exports = function (original, length) { return new (speciesConstructor(original))(length); }; -},{"./_array-species-constructor":83}],85:[function(require,module,exports){ +},{"./_array-species-constructor":86}],88:[function(require,module,exports){ 'use strict'; var aFunction = require('./_a-function'); var isObject = require('./_is-object'); @@ -5430,7 +5539,7 @@ module.exports = Function.bind || function bind(that /* , ...args */) { return bound; }; -},{"./_a-function":72,"./_invoke":115,"./_is-object":120}],86:[function(require,module,exports){ +},{"./_a-function":75,"./_invoke":118,"./_is-object":123}],89:[function(require,module,exports){ // getting tag from 19.1.3.6 Object.prototype.toString() var cof = require('./_cof'); var TAG = require('./_wks')('toStringTag'); @@ -5455,14 +5564,14 @@ module.exports = function (it) { : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; -},{"./_cof":87,"./_wks":191}],87:[function(require,module,exports){ +},{"./_cof":90,"./_wks":194}],90:[function(require,module,exports){ var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; -},{}],88:[function(require,module,exports){ +},{}],91:[function(require,module,exports){ 'use strict'; var dP = require('./_object-dp').f; var create = require('./_object-create'); @@ -5608,7 +5717,7 @@ module.exports = { } }; -},{"./_an-instance":76,"./_ctx":93,"./_descriptors":97,"./_for-of":107,"./_iter-define":124,"./_iter-step":126,"./_meta":133,"./_object-create":137,"./_object-dp":138,"./_redefine-all":156,"./_set-species":162,"./_validate-collection":188}],89:[function(require,module,exports){ +},{"./_an-instance":79,"./_ctx":96,"./_descriptors":100,"./_for-of":110,"./_iter-define":127,"./_iter-step":129,"./_meta":136,"./_object-create":140,"./_object-dp":141,"./_redefine-all":159,"./_set-species":165,"./_validate-collection":191}],92:[function(require,module,exports){ 'use strict'; var redefineAll = require('./_redefine-all'); var getWeak = require('./_meta').getWeak; @@ -5695,7 +5804,7 @@ module.exports = { ufstore: uncaughtFrozenStore }; -},{"./_an-instance":76,"./_an-object":77,"./_array-methods":81,"./_for-of":107,"./_has":110,"./_is-object":120,"./_meta":133,"./_redefine-all":156,"./_validate-collection":188}],90:[function(require,module,exports){ +},{"./_an-instance":79,"./_an-object":80,"./_array-methods":84,"./_for-of":110,"./_has":113,"./_is-object":123,"./_meta":136,"./_redefine-all":159,"./_validate-collection":191}],93:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var $export = require('./_export'); @@ -5782,9 +5891,9 @@ module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { return C; }; -},{"./_an-instance":76,"./_export":101,"./_fails":103,"./_for-of":107,"./_global":109,"./_inherit-if-required":114,"./_is-object":120,"./_iter-detect":125,"./_meta":133,"./_redefine":157,"./_redefine-all":156,"./_set-to-string-tag":163}],91:[function(require,module,exports){ -arguments[4][57][0].apply(exports,arguments) -},{"dup":57}],92:[function(require,module,exports){ +},{"./_an-instance":79,"./_export":104,"./_fails":106,"./_for-of":110,"./_global":112,"./_inherit-if-required":117,"./_is-object":123,"./_iter-detect":128,"./_meta":136,"./_redefine":160,"./_redefine-all":159,"./_set-to-string-tag":166}],94:[function(require,module,exports){ +arguments[4][60][0].apply(exports,arguments) +},{"dup":60}],95:[function(require,module,exports){ 'use strict'; var $defineProperty = require('./_object-dp'); var createDesc = require('./_property-desc'); @@ -5794,9 +5903,9 @@ module.exports = function (object, index, value) { else object[index] = value; }; -},{"./_object-dp":138,"./_property-desc":155}],93:[function(require,module,exports){ -arguments[4][58][0].apply(exports,arguments) -},{"./_a-function":72,"dup":58}],94:[function(require,module,exports){ +},{"./_object-dp":141,"./_property-desc":158}],96:[function(require,module,exports){ +arguments[4][61][0].apply(exports,arguments) +},{"./_a-function":75,"dup":61}],97:[function(require,module,exports){ 'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var fails = require('./_fails'); @@ -5824,7 +5933,7 @@ module.exports = (fails(function () { ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; } : $toISOString; -},{"./_fails":103}],95:[function(require,module,exports){ +},{"./_fails":106}],98:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); var toPrimitive = require('./_to-primitive'); @@ -5835,24 +5944,24 @@ module.exports = function (hint) { return toPrimitive(anObject(this), hint != NUMBER); }; -},{"./_an-object":77,"./_to-primitive":182}],96:[function(require,module,exports){ +},{"./_an-object":80,"./_to-primitive":185}],99:[function(require,module,exports){ // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; -},{}],97:[function(require,module,exports){ -arguments[4][59][0].apply(exports,arguments) -},{"./_fails":103,"dup":59}],98:[function(require,module,exports){ -arguments[4][60][0].apply(exports,arguments) -},{"./_global":109,"./_is-object":120,"dup":60}],99:[function(require,module,exports){ +},{}],100:[function(require,module,exports){ +arguments[4][62][0].apply(exports,arguments) +},{"./_fails":106,"dup":62}],101:[function(require,module,exports){ +arguments[4][63][0].apply(exports,arguments) +},{"./_global":112,"./_is-object":123,"dup":63}],102:[function(require,module,exports){ // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); -},{}],100:[function(require,module,exports){ +},{}],103:[function(require,module,exports){ // all enumerable object keys, includes symbols var getKeys = require('./_object-keys'); var gOPS = require('./_object-gops'); @@ -5869,7 +5978,7 @@ module.exports = function (it) { } return result; }; -},{"./_object-gops":143,"./_object-keys":146,"./_object-pie":147}],101:[function(require,module,exports){ +},{"./_object-gops":146,"./_object-keys":149,"./_object-pie":150}],104:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var hide = require('./_hide'); @@ -5914,7 +6023,7 @@ $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; -},{"./_core":91,"./_ctx":93,"./_global":109,"./_hide":111,"./_redefine":157}],102:[function(require,module,exports){ +},{"./_core":94,"./_ctx":96,"./_global":112,"./_hide":114,"./_redefine":160}],105:[function(require,module,exports){ var MATCH = require('./_wks')('match'); module.exports = function (KEY) { var re = /./; @@ -5928,9 +6037,9 @@ module.exports = function (KEY) { } return true; }; -},{"./_wks":191}],103:[function(require,module,exports){ -arguments[4][62][0].apply(exports,arguments) -},{"dup":62}],104:[function(require,module,exports){ +},{"./_wks":194}],106:[function(require,module,exports){ +arguments[4][65][0].apply(exports,arguments) +},{"dup":65}],107:[function(require,module,exports){ 'use strict'; require('./es6.regexp.exec'); var redefine = require('./_redefine'); @@ -6028,7 +6137,7 @@ module.exports = function (KEY, length, exec) { } }; -},{"./_defined":96,"./_fails":103,"./_hide":111,"./_redefine":157,"./_regexp-exec":159,"./_wks":191,"./es6.regexp.exec":287}],105:[function(require,module,exports){ +},{"./_defined":99,"./_fails":106,"./_hide":114,"./_redefine":160,"./_regexp-exec":162,"./_wks":194,"./es6.regexp.exec":290}],108:[function(require,module,exports){ 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = require('./_an-object'); @@ -6043,7 +6152,7 @@ module.exports = function () { return result; }; -},{"./_an-object":77}],106:[function(require,module,exports){ +},{"./_an-object":80}],109:[function(require,module,exports){ 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = require('./_is-array'); @@ -6084,7 +6193,7 @@ function flattenIntoArray(target, original, source, sourceLen, start, depth, map module.exports = flattenIntoArray; -},{"./_ctx":93,"./_is-array":118,"./_is-object":120,"./_to-length":180,"./_wks":191}],107:[function(require,module,exports){ +},{"./_ctx":96,"./_is-array":121,"./_is-object":123,"./_to-length":183,"./_wks":194}],110:[function(require,module,exports){ var ctx = require('./_ctx'); var call = require('./_iter-call'); var isArrayIter = require('./_is-array-iter'); @@ -6111,22 +6220,22 @@ var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) exports.BREAK = BREAK; exports.RETURN = RETURN; -},{"./_an-object":77,"./_ctx":93,"./_is-array-iter":117,"./_iter-call":122,"./_to-length":180,"./core.get-iterator-method":192}],108:[function(require,module,exports){ +},{"./_an-object":80,"./_ctx":96,"./_is-array-iter":120,"./_iter-call":125,"./_to-length":183,"./core.get-iterator-method":195}],111:[function(require,module,exports){ module.exports = require('./_shared')('native-function-to-string', Function.toString); -},{"./_shared":165}],109:[function(require,module,exports){ -arguments[4][63][0].apply(exports,arguments) -},{"dup":63}],110:[function(require,module,exports){ -arguments[4][64][0].apply(exports,arguments) -},{"dup":64}],111:[function(require,module,exports){ -arguments[4][65][0].apply(exports,arguments) -},{"./_descriptors":97,"./_object-dp":138,"./_property-desc":155,"dup":65}],112:[function(require,module,exports){ +},{"./_shared":168}],112:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"dup":66}],113:[function(require,module,exports){ +arguments[4][67][0].apply(exports,arguments) +},{"dup":67}],114:[function(require,module,exports){ +arguments[4][68][0].apply(exports,arguments) +},{"./_descriptors":100,"./_object-dp":141,"./_property-desc":158,"dup":68}],115:[function(require,module,exports){ var document = require('./_global').document; module.exports = document && document.documentElement; -},{"./_global":109}],113:[function(require,module,exports){ -arguments[4][66][0].apply(exports,arguments) -},{"./_descriptors":97,"./_dom-create":98,"./_fails":103,"dup":66}],114:[function(require,module,exports){ +},{"./_global":112}],116:[function(require,module,exports){ +arguments[4][69][0].apply(exports,arguments) +},{"./_descriptors":100,"./_dom-create":101,"./_fails":106,"dup":69}],117:[function(require,module,exports){ var isObject = require('./_is-object'); var setPrototypeOf = require('./_set-proto').set; module.exports = function (that, target, C) { @@ -6137,7 +6246,7 @@ module.exports = function (that, target, C) { } return that; }; -},{"./_is-object":120,"./_set-proto":161}],115:[function(require,module,exports){ +},{"./_is-object":123,"./_set-proto":164}],118:[function(require,module,exports){ // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; @@ -6155,7 +6264,7 @@ module.exports = function (fn, args, that) { } return fn.apply(that, args); }; -},{}],116:[function(require,module,exports){ +},{}],119:[function(require,module,exports){ // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = require('./_cof'); // eslint-disable-next-line no-prototype-builtins @@ -6163,7 +6272,7 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; -},{"./_cof":87}],117:[function(require,module,exports){ +},{"./_cof":90}],120:[function(require,module,exports){ // check on default Array iterator var Iterators = require('./_iterators'); var ITERATOR = require('./_wks')('iterator'); @@ -6173,14 +6282,14 @@ module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; -},{"./_iterators":127,"./_wks":191}],118:[function(require,module,exports){ +},{"./_iterators":130,"./_wks":194}],121:[function(require,module,exports){ // 7.2.2 IsArray(argument) var cof = require('./_cof'); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; -},{"./_cof":87}],119:[function(require,module,exports){ +},{"./_cof":90}],122:[function(require,module,exports){ // 20.1.2.3 Number.isInteger(number) var isObject = require('./_is-object'); var floor = Math.floor; @@ -6188,9 +6297,9 @@ module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; }; -},{"./_is-object":120}],120:[function(require,module,exports){ -arguments[4][67][0].apply(exports,arguments) -},{"dup":67}],121:[function(require,module,exports){ +},{"./_is-object":123}],123:[function(require,module,exports){ +arguments[4][70][0].apply(exports,arguments) +},{"dup":70}],124:[function(require,module,exports){ // 7.2.8 IsRegExp(argument) var isObject = require('./_is-object'); var cof = require('./_cof'); @@ -6200,7 +6309,7 @@ module.exports = function (it) { return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; -},{"./_cof":87,"./_is-object":120,"./_wks":191}],122:[function(require,module,exports){ +},{"./_cof":90,"./_is-object":123,"./_wks":194}],125:[function(require,module,exports){ // call something on iterator step with safe closing on error var anObject = require('./_an-object'); module.exports = function (iterator, fn, value, entries) { @@ -6214,7 +6323,7 @@ module.exports = function (iterator, fn, value, entries) { } }; -},{"./_an-object":77}],123:[function(require,module,exports){ +},{"./_an-object":80}],126:[function(require,module,exports){ 'use strict'; var create = require('./_object-create'); var descriptor = require('./_property-desc'); @@ -6229,7 +6338,7 @@ module.exports = function (Constructor, NAME, next) { setToStringTag(Constructor, NAME + ' Iterator'); }; -},{"./_hide":111,"./_object-create":137,"./_property-desc":155,"./_set-to-string-tag":163,"./_wks":191}],124:[function(require,module,exports){ +},{"./_hide":114,"./_object-create":140,"./_property-desc":158,"./_set-to-string-tag":166,"./_wks":194}],127:[function(require,module,exports){ 'use strict'; var LIBRARY = require('./_library'); var $export = require('./_export'); @@ -6300,7 +6409,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE return methods; }; -},{"./_export":101,"./_hide":111,"./_iter-create":123,"./_iterators":127,"./_library":128,"./_object-gpo":144,"./_redefine":157,"./_set-to-string-tag":163,"./_wks":191}],125:[function(require,module,exports){ +},{"./_export":104,"./_hide":114,"./_iter-create":126,"./_iterators":130,"./_library":131,"./_object-gpo":147,"./_redefine":160,"./_set-to-string-tag":166,"./_wks":194}],128:[function(require,module,exports){ var ITERATOR = require('./_wks')('iterator'); var SAFE_CLOSING = false; @@ -6324,18 +6433,18 @@ module.exports = function (exec, skipClosing) { return safe; }; -},{"./_wks":191}],126:[function(require,module,exports){ +},{"./_wks":194}],129:[function(require,module,exports){ module.exports = function (done, value) { return { value: value, done: !!done }; }; -},{}],127:[function(require,module,exports){ +},{}],130:[function(require,module,exports){ module.exports = {}; -},{}],128:[function(require,module,exports){ +},{}],131:[function(require,module,exports){ module.exports = false; -},{}],129:[function(require,module,exports){ +},{}],132:[function(require,module,exports){ // 20.2.2.14 Math.expm1(x) var $expm1 = Math.expm1; module.exports = (!$expm1 @@ -6347,7 +6456,7 @@ module.exports = (!$expm1 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; } : $expm1; -},{}],130:[function(require,module,exports){ +},{}],133:[function(require,module,exports){ // 20.2.2.16 Math.fround(x) var sign = require('./_math-sign'); var pow = Math.pow; @@ -6372,20 +6481,20 @@ module.exports = Math.fround || function fround(x) { return $sign * result; }; -},{"./_math-sign":132}],131:[function(require,module,exports){ +},{"./_math-sign":135}],134:[function(require,module,exports){ // 20.2.2.20 Math.log1p(x) module.exports = Math.log1p || function log1p(x) { return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); }; -},{}],132:[function(require,module,exports){ +},{}],135:[function(require,module,exports){ // 20.2.2.28 Math.sign(x) module.exports = Math.sign || function sign(x) { // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; }; -},{}],133:[function(require,module,exports){ +},{}],136:[function(require,module,exports){ var META = require('./_uid')('meta'); var isObject = require('./_is-object'); var has = require('./_has'); @@ -6440,7 +6549,7 @@ var meta = module.exports = { onFreeze: onFreeze }; -},{"./_fails":103,"./_has":110,"./_is-object":120,"./_object-dp":138,"./_uid":186}],134:[function(require,module,exports){ +},{"./_fails":106,"./_has":113,"./_is-object":123,"./_object-dp":141,"./_uid":189}],137:[function(require,module,exports){ var global = require('./_global'); var macrotask = require('./_task').set; var Observer = global.MutationObserver || global.WebKitMutationObserver; @@ -6511,7 +6620,7 @@ module.exports = function () { }; }; -},{"./_cof":87,"./_global":109,"./_task":175}],135:[function(require,module,exports){ +},{"./_cof":90,"./_global":112,"./_task":178}],138:[function(require,module,exports){ 'use strict'; // 25.4.1.5 NewPromiseCapability(C) var aFunction = require('./_a-function'); @@ -6531,7 +6640,7 @@ module.exports.f = function (C) { return new PromiseCapability(C); }; -},{"./_a-function":72}],136:[function(require,module,exports){ +},{"./_a-function":75}],139:[function(require,module,exports){ 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var DESCRIPTORS = require('./_descriptors'); @@ -6571,7 +6680,7 @@ module.exports = !$assign || require('./_fails')(function () { } return T; } : $assign; -},{"./_descriptors":97,"./_fails":103,"./_iobject":116,"./_object-gops":143,"./_object-keys":146,"./_object-pie":147,"./_to-object":181}],137:[function(require,module,exports){ +},{"./_descriptors":100,"./_fails":106,"./_iobject":119,"./_object-gops":146,"./_object-keys":149,"./_object-pie":150,"./_to-object":184}],140:[function(require,module,exports){ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = require('./_an-object'); var dPs = require('./_object-dps'); @@ -6614,9 +6723,9 @@ module.exports = Object.create || function create(O, Properties) { return Properties === undefined ? result : dPs(result, Properties); }; -},{"./_an-object":77,"./_dom-create":98,"./_enum-bug-keys":99,"./_html":112,"./_object-dps":139,"./_shared-key":164}],138:[function(require,module,exports){ -arguments[4][68][0].apply(exports,arguments) -},{"./_an-object":77,"./_descriptors":97,"./_ie8-dom-define":113,"./_to-primitive":182,"dup":68}],139:[function(require,module,exports){ +},{"./_an-object":80,"./_dom-create":101,"./_enum-bug-keys":102,"./_html":115,"./_object-dps":142,"./_shared-key":167}],141:[function(require,module,exports){ +arguments[4][71][0].apply(exports,arguments) +},{"./_an-object":80,"./_descriptors":100,"./_ie8-dom-define":116,"./_to-primitive":185,"dup":71}],142:[function(require,module,exports){ var dP = require('./_object-dp'); var anObject = require('./_an-object'); var getKeys = require('./_object-keys'); @@ -6631,7 +6740,7 @@ module.exports = require('./_descriptors') ? Object.defineProperties : function return O; }; -},{"./_an-object":77,"./_descriptors":97,"./_object-dp":138,"./_object-keys":146}],140:[function(require,module,exports){ +},{"./_an-object":80,"./_descriptors":100,"./_object-dp":141,"./_object-keys":149}],143:[function(require,module,exports){ var pIE = require('./_object-pie'); var createDesc = require('./_property-desc'); var toIObject = require('./_to-iobject'); @@ -6649,7 +6758,7 @@ exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; -},{"./_descriptors":97,"./_has":110,"./_ie8-dom-define":113,"./_object-pie":147,"./_property-desc":155,"./_to-iobject":179,"./_to-primitive":182}],141:[function(require,module,exports){ +},{"./_descriptors":100,"./_has":113,"./_ie8-dom-define":116,"./_object-pie":150,"./_property-desc":158,"./_to-iobject":182,"./_to-primitive":185}],144:[function(require,module,exports){ // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = require('./_to-iobject'); var gOPN = require('./_object-gopn').f; @@ -6670,7 +6779,7 @@ module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; -},{"./_object-gopn":142,"./_to-iobject":179}],142:[function(require,module,exports){ +},{"./_object-gopn":145,"./_to-iobject":182}],145:[function(require,module,exports){ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = require('./_object-keys-internal'); var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype'); @@ -6679,10 +6788,10 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; -},{"./_enum-bug-keys":99,"./_object-keys-internal":145}],143:[function(require,module,exports){ +},{"./_enum-bug-keys":102,"./_object-keys-internal":148}],146:[function(require,module,exports){ exports.f = Object.getOwnPropertySymbols; -},{}],144:[function(require,module,exports){ +},{}],147:[function(require,module,exports){ // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = require('./_has'); var toObject = require('./_to-object'); @@ -6697,7 +6806,7 @@ module.exports = Object.getPrototypeOf || function (O) { } return O instanceof Object ? ObjectProto : null; }; -},{"./_has":110,"./_shared-key":164,"./_to-object":181}],145:[function(require,module,exports){ +},{"./_has":113,"./_shared-key":167,"./_to-object":184}],148:[function(require,module,exports){ var has = require('./_has'); var toIObject = require('./_to-iobject'); var arrayIndexOf = require('./_array-includes')(false); @@ -6716,7 +6825,7 @@ module.exports = function (object, names) { return result; }; -},{"./_array-includes":80,"./_has":110,"./_shared-key":164,"./_to-iobject":179}],146:[function(require,module,exports){ +},{"./_array-includes":83,"./_has":113,"./_shared-key":167,"./_to-iobject":182}],149:[function(require,module,exports){ // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = require('./_object-keys-internal'); var enumBugKeys = require('./_enum-bug-keys'); @@ -6725,10 +6834,10 @@ module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; -},{"./_enum-bug-keys":99,"./_object-keys-internal":145}],147:[function(require,module,exports){ +},{"./_enum-bug-keys":102,"./_object-keys-internal":148}],150:[function(require,module,exports){ exports.f = {}.propertyIsEnumerable; -},{}],148:[function(require,module,exports){ +},{}],151:[function(require,module,exports){ // most Object methods by ES6 should accept primitives var $export = require('./_export'); var core = require('./_core'); @@ -6740,7 +6849,7 @@ module.exports = function (KEY, exec) { $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; -},{"./_core":91,"./_export":101,"./_fails":103}],149:[function(require,module,exports){ +},{"./_core":94,"./_export":104,"./_fails":106}],152:[function(require,module,exports){ var DESCRIPTORS = require('./_descriptors'); var getKeys = require('./_object-keys'); var toIObject = require('./_to-iobject'); @@ -6763,7 +6872,7 @@ module.exports = function (isEntries) { }; }; -},{"./_descriptors":97,"./_object-keys":146,"./_object-pie":147,"./_to-iobject":179}],150:[function(require,module,exports){ +},{"./_descriptors":100,"./_object-keys":149,"./_object-pie":150,"./_to-iobject":182}],153:[function(require,module,exports){ // all object keys, includes non-enumerable and symbols var gOPN = require('./_object-gopn'); var gOPS = require('./_object-gops'); @@ -6775,7 +6884,7 @@ module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { return getSymbols ? keys.concat(getSymbols(it)) : keys; }; -},{"./_an-object":77,"./_global":109,"./_object-gopn":142,"./_object-gops":143}],151:[function(require,module,exports){ +},{"./_an-object":80,"./_global":112,"./_object-gopn":145,"./_object-gops":146}],154:[function(require,module,exports){ var $parseFloat = require('./_global').parseFloat; var $trim = require('./_string-trim').trim; @@ -6785,7 +6894,7 @@ module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat; -},{"./_global":109,"./_string-trim":173,"./_string-ws":174}],152:[function(require,module,exports){ +},{"./_global":112,"./_string-trim":176,"./_string-ws":177}],155:[function(require,module,exports){ var $parseInt = require('./_global').parseInt; var $trim = require('./_string-trim').trim; var ws = require('./_string-ws'); @@ -6796,7 +6905,7 @@ module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? f return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); } : $parseInt; -},{"./_global":109,"./_string-trim":173,"./_string-ws":174}],153:[function(require,module,exports){ +},{"./_global":112,"./_string-trim":176,"./_string-ws":177}],156:[function(require,module,exports){ module.exports = function (exec) { try { return { e: false, v: exec() }; @@ -6805,7 +6914,7 @@ module.exports = function (exec) { } }; -},{}],154:[function(require,module,exports){ +},{}],157:[function(require,module,exports){ var anObject = require('./_an-object'); var isObject = require('./_is-object'); var newPromiseCapability = require('./_new-promise-capability'); @@ -6819,16 +6928,16 @@ module.exports = function (C, x) { return promiseCapability.promise; }; -},{"./_an-object":77,"./_is-object":120,"./_new-promise-capability":135}],155:[function(require,module,exports){ -arguments[4][69][0].apply(exports,arguments) -},{"dup":69}],156:[function(require,module,exports){ +},{"./_an-object":80,"./_is-object":123,"./_new-promise-capability":138}],158:[function(require,module,exports){ +arguments[4][72][0].apply(exports,arguments) +},{"dup":72}],159:[function(require,module,exports){ var redefine = require('./_redefine'); module.exports = function (target, src, safe) { for (var key in src) redefine(target, key, src[key], safe); return target; }; -},{"./_redefine":157}],157:[function(require,module,exports){ +},{"./_redefine":160}],160:[function(require,module,exports){ var global = require('./_global'); var hide = require('./_hide'); var has = require('./_has'); @@ -6861,7 +6970,7 @@ require('./_core').inspectSource = function (it) { return typeof this == 'function' && this[SRC] || $toString.call(this); }); -},{"./_core":91,"./_function-to-string":108,"./_global":109,"./_has":110,"./_hide":111,"./_uid":186}],158:[function(require,module,exports){ +},{"./_core":94,"./_function-to-string":111,"./_global":112,"./_has":113,"./_hide":114,"./_uid":189}],161:[function(require,module,exports){ 'use strict'; var classof = require('./_classof'); @@ -6884,7 +6993,7 @@ module.exports = function (R, S) { return builtinExec.call(R, S); }; -},{"./_classof":86}],159:[function(require,module,exports){ +},{"./_classof":89}],162:[function(require,module,exports){ 'use strict'; var regexpFlags = require('./_flags'); @@ -6944,14 +7053,14 @@ if (PATCH) { module.exports = patchedExec; -},{"./_flags":105}],160:[function(require,module,exports){ +},{"./_flags":108}],163:[function(require,module,exports){ // 7.2.9 SameValue(x, y) module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; -},{}],161:[function(require,module,exports){ +},{}],164:[function(require,module,exports){ // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = require('./_is-object'); @@ -6978,7 +7087,7 @@ module.exports = { check: check }; -},{"./_an-object":77,"./_ctx":93,"./_is-object":120,"./_object-gopd":140}],162:[function(require,module,exports){ +},{"./_an-object":80,"./_ctx":96,"./_is-object":123,"./_object-gopd":143}],165:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var dP = require('./_object-dp'); @@ -6993,7 +7102,7 @@ module.exports = function (KEY) { }); }; -},{"./_descriptors":97,"./_global":109,"./_object-dp":138,"./_wks":191}],163:[function(require,module,exports){ +},{"./_descriptors":100,"./_global":112,"./_object-dp":141,"./_wks":194}],166:[function(require,module,exports){ var def = require('./_object-dp').f; var has = require('./_has'); var TAG = require('./_wks')('toStringTag'); @@ -7002,14 +7111,14 @@ module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; -},{"./_has":110,"./_object-dp":138,"./_wks":191}],164:[function(require,module,exports){ +},{"./_has":113,"./_object-dp":141,"./_wks":194}],167:[function(require,module,exports){ var shared = require('./_shared')('keys'); var uid = require('./_uid'); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; -},{"./_shared":165,"./_uid":186}],165:[function(require,module,exports){ +},{"./_shared":168,"./_uid":189}],168:[function(require,module,exports){ var core = require('./_core'); var global = require('./_global'); var SHARED = '__core-js_shared__'; @@ -7023,7 +7132,7 @@ var store = global[SHARED] || (global[SHARED] = {}); copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); -},{"./_core":91,"./_global":109,"./_library":128}],166:[function(require,module,exports){ +},{"./_core":94,"./_global":112,"./_library":131}],169:[function(require,module,exports){ // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = require('./_an-object'); var aFunction = require('./_a-function'); @@ -7034,7 +7143,7 @@ module.exports = function (O, D) { return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; -},{"./_a-function":72,"./_an-object":77,"./_wks":191}],167:[function(require,module,exports){ +},{"./_a-function":75,"./_an-object":80,"./_wks":194}],170:[function(require,module,exports){ 'use strict'; var fails = require('./_fails'); @@ -7045,7 +7154,7 @@ module.exports = function (method, arg) { }); }; -},{"./_fails":103}],168:[function(require,module,exports){ +},{"./_fails":106}],171:[function(require,module,exports){ var toInteger = require('./_to-integer'); var defined = require('./_defined'); // true -> String#at @@ -7064,7 +7173,7 @@ module.exports = function (TO_STRING) { }; }; -},{"./_defined":96,"./_to-integer":178}],169:[function(require,module,exports){ +},{"./_defined":99,"./_to-integer":181}],172:[function(require,module,exports){ // helper for String#{startsWith, endsWith, includes} var isRegExp = require('./_is-regexp'); var defined = require('./_defined'); @@ -7074,7 +7183,7 @@ module.exports = function (that, searchString, NAME) { return String(defined(that)); }; -},{"./_defined":96,"./_is-regexp":121}],170:[function(require,module,exports){ +},{"./_defined":99,"./_is-regexp":124}],173:[function(require,module,exports){ var $export = require('./_export'); var fails = require('./_fails'); var defined = require('./_defined'); @@ -7095,7 +7204,7 @@ module.exports = function (NAME, exec) { }), 'String', O); }; -},{"./_defined":96,"./_export":101,"./_fails":103}],171:[function(require,module,exports){ +},{"./_defined":99,"./_export":104,"./_fails":106}],174:[function(require,module,exports){ // https://github.com/tc39/proposal-string-pad-start-end var toLength = require('./_to-length'); var repeat = require('./_string-repeat'); @@ -7113,7 +7222,7 @@ module.exports = function (that, maxLength, fillString, left) { return left ? stringFiller + S : S + stringFiller; }; -},{"./_defined":96,"./_string-repeat":172,"./_to-length":180}],172:[function(require,module,exports){ +},{"./_defined":99,"./_string-repeat":175,"./_to-length":183}],175:[function(require,module,exports){ 'use strict'; var toInteger = require('./_to-integer'); var defined = require('./_defined'); @@ -7127,7 +7236,7 @@ module.exports = function repeat(count) { return res; }; -},{"./_defined":96,"./_to-integer":178}],173:[function(require,module,exports){ +},{"./_defined":99,"./_to-integer":181}],176:[function(require,module,exports){ var $export = require('./_export'); var defined = require('./_defined'); var fails = require('./_fails'); @@ -7159,11 +7268,11 @@ var trim = exporter.trim = function (string, TYPE) { module.exports = exporter; -},{"./_defined":96,"./_export":101,"./_fails":103,"./_string-ws":174}],174:[function(require,module,exports){ +},{"./_defined":99,"./_export":104,"./_fails":106,"./_string-ws":177}],177:[function(require,module,exports){ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; -},{}],175:[function(require,module,exports){ +},{}],178:[function(require,module,exports){ var ctx = require('./_ctx'); var invoke = require('./_invoke'); var html = require('./_html'); @@ -7249,7 +7358,7 @@ module.exports = { clear: clearTask }; -},{"./_cof":87,"./_ctx":93,"./_dom-create":98,"./_global":109,"./_html":112,"./_invoke":115}],176:[function(require,module,exports){ +},{"./_cof":90,"./_ctx":96,"./_dom-create":101,"./_global":112,"./_html":115,"./_invoke":118}],179:[function(require,module,exports){ var toInteger = require('./_to-integer'); var max = Math.max; var min = Math.min; @@ -7258,7 +7367,7 @@ module.exports = function (index, length) { return index < 0 ? max(index + length, 0) : min(index, length); }; -},{"./_to-integer":178}],177:[function(require,module,exports){ +},{"./_to-integer":181}],180:[function(require,module,exports){ // https://tc39.github.io/ecma262/#sec-toindex var toInteger = require('./_to-integer'); var toLength = require('./_to-length'); @@ -7270,7 +7379,7 @@ module.exports = function (it) { return length; }; -},{"./_to-integer":178,"./_to-length":180}],178:[function(require,module,exports){ +},{"./_to-integer":181,"./_to-length":183}],181:[function(require,module,exports){ // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; @@ -7278,7 +7387,7 @@ module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; -},{}],179:[function(require,module,exports){ +},{}],182:[function(require,module,exports){ // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = require('./_iobject'); var defined = require('./_defined'); @@ -7286,7 +7395,7 @@ module.exports = function (it) { return IObject(defined(it)); }; -},{"./_defined":96,"./_iobject":116}],180:[function(require,module,exports){ +},{"./_defined":99,"./_iobject":119}],183:[function(require,module,exports){ // 7.1.15 ToLength var toInteger = require('./_to-integer'); var min = Math.min; @@ -7294,16 +7403,16 @@ module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; -},{"./_to-integer":178}],181:[function(require,module,exports){ +},{"./_to-integer":181}],184:[function(require,module,exports){ // 7.1.13 ToObject(argument) var defined = require('./_defined'); module.exports = function (it) { return Object(defined(it)); }; -},{"./_defined":96}],182:[function(require,module,exports){ -arguments[4][70][0].apply(exports,arguments) -},{"./_is-object":120,"dup":70}],183:[function(require,module,exports){ +},{"./_defined":99}],185:[function(require,module,exports){ +arguments[4][73][0].apply(exports,arguments) +},{"./_is-object":123,"dup":73}],186:[function(require,module,exports){ 'use strict'; if (require('./_descriptors')) { var LIBRARY = require('./_library'); @@ -7785,7 +7894,7 @@ if (require('./_descriptors')) { }; } else module.exports = function () { /* empty */ }; -},{"./_an-instance":76,"./_array-copy-within":78,"./_array-fill":79,"./_array-includes":80,"./_array-methods":81,"./_classof":86,"./_ctx":93,"./_descriptors":97,"./_export":101,"./_fails":103,"./_global":109,"./_has":110,"./_hide":111,"./_is-array-iter":117,"./_is-object":120,"./_iter-detect":125,"./_iterators":127,"./_library":128,"./_object-create":137,"./_object-dp":138,"./_object-gopd":140,"./_object-gopn":142,"./_object-gpo":144,"./_property-desc":155,"./_redefine-all":156,"./_set-species":162,"./_species-constructor":166,"./_to-absolute-index":176,"./_to-index":177,"./_to-integer":178,"./_to-length":180,"./_to-object":181,"./_to-primitive":182,"./_typed":185,"./_typed-buffer":184,"./_uid":186,"./_wks":191,"./core.get-iterator-method":192,"./es6.array.iterator":203}],184:[function(require,module,exports){ +},{"./_an-instance":79,"./_array-copy-within":81,"./_array-fill":82,"./_array-includes":83,"./_array-methods":84,"./_classof":89,"./_ctx":96,"./_descriptors":100,"./_export":104,"./_fails":106,"./_global":112,"./_has":113,"./_hide":114,"./_is-array-iter":120,"./_is-object":123,"./_iter-detect":128,"./_iterators":130,"./_library":131,"./_object-create":140,"./_object-dp":141,"./_object-gopd":143,"./_object-gopn":145,"./_object-gpo":147,"./_property-desc":158,"./_redefine-all":159,"./_set-species":165,"./_species-constructor":169,"./_to-absolute-index":179,"./_to-index":180,"./_to-integer":181,"./_to-length":183,"./_to-object":184,"./_to-primitive":185,"./_typed":188,"./_typed-buffer":187,"./_uid":189,"./_wks":194,"./core.get-iterator-method":195,"./es6.array.iterator":206}],187:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var DESCRIPTORS = require('./_descriptors'); @@ -8063,7 +8172,7 @@ hide($DataView[PROTOTYPE], $typed.VIEW, true); exports[ARRAY_BUFFER] = $ArrayBuffer; exports[DATA_VIEW] = $DataView; -},{"./_an-instance":76,"./_array-fill":79,"./_descriptors":97,"./_fails":103,"./_global":109,"./_hide":111,"./_library":128,"./_object-dp":138,"./_object-gopn":142,"./_redefine-all":156,"./_set-to-string-tag":163,"./_to-index":177,"./_to-integer":178,"./_to-length":180,"./_typed":185}],185:[function(require,module,exports){ +},{"./_an-instance":79,"./_array-fill":82,"./_descriptors":100,"./_fails":106,"./_global":112,"./_hide":114,"./_library":131,"./_object-dp":141,"./_object-gopn":145,"./_redefine-all":159,"./_set-to-string-tag":166,"./_to-index":180,"./_to-integer":181,"./_to-length":183,"./_typed":188}],188:[function(require,module,exports){ var global = require('./_global'); var hide = require('./_hide'); var uid = require('./_uid'); @@ -8093,27 +8202,27 @@ module.exports = { VIEW: VIEW }; -},{"./_global":109,"./_hide":111,"./_uid":186}],186:[function(require,module,exports){ +},{"./_global":112,"./_hide":114,"./_uid":189}],189:[function(require,module,exports){ var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; -},{}],187:[function(require,module,exports){ +},{}],190:[function(require,module,exports){ var global = require('./_global'); var navigator = global.navigator; module.exports = navigator && navigator.userAgent || ''; -},{"./_global":109}],188:[function(require,module,exports){ +},{"./_global":112}],191:[function(require,module,exports){ var isObject = require('./_is-object'); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; }; -},{"./_is-object":120}],189:[function(require,module,exports){ +},{"./_is-object":123}],192:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var LIBRARY = require('./_library'); @@ -8124,10 +8233,10 @@ module.exports = function (name) { if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; -},{"./_core":91,"./_global":109,"./_library":128,"./_object-dp":138,"./_wks-ext":190}],190:[function(require,module,exports){ +},{"./_core":94,"./_global":112,"./_library":131,"./_object-dp":141,"./_wks-ext":193}],193:[function(require,module,exports){ exports.f = require('./_wks'); -},{"./_wks":191}],191:[function(require,module,exports){ +},{"./_wks":194}],194:[function(require,module,exports){ var store = require('./_shared')('wks'); var uid = require('./_uid'); var Symbol = require('./_global').Symbol; @@ -8140,7 +8249,7 @@ var $exports = module.exports = function (name) { $exports.store = store; -},{"./_global":109,"./_shared":165,"./_uid":186}],192:[function(require,module,exports){ +},{"./_global":112,"./_shared":168,"./_uid":189}],195:[function(require,module,exports){ var classof = require('./_classof'); var ITERATOR = require('./_wks')('iterator'); var Iterators = require('./_iterators'); @@ -8150,7 +8259,7 @@ module.exports = require('./_core').getIteratorMethod = function (it) { || Iterators[classof(it)]; }; -},{"./_classof":86,"./_core":91,"./_iterators":127,"./_wks":191}],193:[function(require,module,exports){ +},{"./_classof":89,"./_core":94,"./_iterators":130,"./_wks":194}],196:[function(require,module,exports){ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = require('./_export'); @@ -8158,7 +8267,7 @@ $export($export.P, 'Array', { copyWithin: require('./_array-copy-within') }); require('./_add-to-unscopables')('copyWithin'); -},{"./_add-to-unscopables":74,"./_array-copy-within":78,"./_export":101}],194:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_array-copy-within":81,"./_export":104}],197:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $every = require('./_array-methods')(4); @@ -8170,7 +8279,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].every, true), 'A } }); -},{"./_array-methods":81,"./_export":101,"./_strict-method":167}],195:[function(require,module,exports){ +},{"./_array-methods":84,"./_export":104,"./_strict-method":170}],198:[function(require,module,exports){ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = require('./_export'); @@ -8178,7 +8287,7 @@ $export($export.P, 'Array', { fill: require('./_array-fill') }); require('./_add-to-unscopables')('fill'); -},{"./_add-to-unscopables":74,"./_array-fill":79,"./_export":101}],196:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_array-fill":82,"./_export":104}],199:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $filter = require('./_array-methods')(2); @@ -8190,7 +8299,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].filter, true), ' } }); -},{"./_array-methods":81,"./_export":101,"./_strict-method":167}],197:[function(require,module,exports){ +},{"./_array-methods":84,"./_export":104,"./_strict-method":170}],200:[function(require,module,exports){ 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = require('./_export'); @@ -8206,7 +8315,7 @@ $export($export.P + $export.F * forced, 'Array', { }); require('./_add-to-unscopables')(KEY); -},{"./_add-to-unscopables":74,"./_array-methods":81,"./_export":101}],198:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_array-methods":84,"./_export":104}],201:[function(require,module,exports){ 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = require('./_export'); @@ -8222,7 +8331,7 @@ $export($export.P + $export.F * forced, 'Array', { }); require('./_add-to-unscopables')(KEY); -},{"./_add-to-unscopables":74,"./_array-methods":81,"./_export":101}],199:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_array-methods":84,"./_export":104}],202:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $forEach = require('./_array-methods')(0); @@ -8235,7 +8344,7 @@ $export($export.P + $export.F * !STRICT, 'Array', { } }); -},{"./_array-methods":81,"./_export":101,"./_strict-method":167}],200:[function(require,module,exports){ +},{"./_array-methods":84,"./_export":104,"./_strict-method":170}],203:[function(require,module,exports){ 'use strict'; var ctx = require('./_ctx'); var $export = require('./_export'); @@ -8274,7 +8383,7 @@ $export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Arr } }); -},{"./_create-property":92,"./_ctx":93,"./_export":101,"./_is-array-iter":117,"./_iter-call":122,"./_iter-detect":125,"./_to-length":180,"./_to-object":181,"./core.get-iterator-method":192}],201:[function(require,module,exports){ +},{"./_create-property":95,"./_ctx":96,"./_export":104,"./_is-array-iter":120,"./_iter-call":125,"./_iter-detect":128,"./_to-length":183,"./_to-object":184,"./core.get-iterator-method":195}],204:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $indexOf = require('./_array-includes')(false); @@ -8291,13 +8400,13 @@ $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($ } }); -},{"./_array-includes":80,"./_export":101,"./_strict-method":167}],202:[function(require,module,exports){ +},{"./_array-includes":83,"./_export":104,"./_strict-method":170}],205:[function(require,module,exports){ // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = require('./_export'); $export($export.S, 'Array', { isArray: require('./_is-array') }); -},{"./_export":101,"./_is-array":118}],203:[function(require,module,exports){ +},{"./_export":104,"./_is-array":121}],206:[function(require,module,exports){ 'use strict'; var addToUnscopables = require('./_add-to-unscopables'); var step = require('./_iter-step'); @@ -8333,7 +8442,7 @@ addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); -},{"./_add-to-unscopables":74,"./_iter-define":124,"./_iter-step":126,"./_iterators":127,"./_to-iobject":179}],204:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_iter-define":127,"./_iter-step":129,"./_iterators":130,"./_to-iobject":182}],207:[function(require,module,exports){ 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = require('./_export'); @@ -8347,7 +8456,7 @@ $export($export.P + $export.F * (require('./_iobject') != Object || !require('./ } }); -},{"./_export":101,"./_iobject":116,"./_strict-method":167,"./_to-iobject":179}],205:[function(require,module,exports){ +},{"./_export":104,"./_iobject":119,"./_strict-method":170,"./_to-iobject":182}],208:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toIObject = require('./_to-iobject'); @@ -8371,7 +8480,7 @@ $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($ } }); -},{"./_export":101,"./_strict-method":167,"./_to-integer":178,"./_to-iobject":179,"./_to-length":180}],206:[function(require,module,exports){ +},{"./_export":104,"./_strict-method":170,"./_to-integer":181,"./_to-iobject":182,"./_to-length":183}],209:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $map = require('./_array-methods')(1); @@ -8383,7 +8492,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Arr } }); -},{"./_array-methods":81,"./_export":101,"./_strict-method":167}],207:[function(require,module,exports){ +},{"./_array-methods":84,"./_export":104,"./_strict-method":170}],210:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var createProperty = require('./_create-property'); @@ -8404,7 +8513,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_create-property":92,"./_export":101,"./_fails":103}],208:[function(require,module,exports){ +},{"./_create-property":95,"./_export":104,"./_fails":106}],211:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $reduce = require('./_array-reduce'); @@ -8416,7 +8525,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].reduceRight, tru } }); -},{"./_array-reduce":82,"./_export":101,"./_strict-method":167}],209:[function(require,module,exports){ +},{"./_array-reduce":85,"./_export":104,"./_strict-method":170}],212:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $reduce = require('./_array-reduce'); @@ -8428,7 +8537,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].reduce, true), ' } }); -},{"./_array-reduce":82,"./_export":101,"./_strict-method":167}],210:[function(require,module,exports){ +},{"./_array-reduce":85,"./_export":104,"./_strict-method":170}],213:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var html = require('./_html'); @@ -8458,7 +8567,7 @@ $export($export.P + $export.F * require('./_fails')(function () { } }); -},{"./_cof":87,"./_export":101,"./_fails":103,"./_html":112,"./_to-absolute-index":176,"./_to-length":180}],211:[function(require,module,exports){ +},{"./_cof":90,"./_export":104,"./_fails":106,"./_html":115,"./_to-absolute-index":179,"./_to-length":183}],214:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $some = require('./_array-methods')(3); @@ -8470,7 +8579,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Ar } }); -},{"./_array-methods":81,"./_export":101,"./_strict-method":167}],212:[function(require,module,exports){ +},{"./_array-methods":84,"./_export":104,"./_strict-method":170}],215:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var aFunction = require('./_a-function'); @@ -8495,16 +8604,16 @@ $export($export.P + $export.F * (fails(function () { } }); -},{"./_a-function":72,"./_export":101,"./_fails":103,"./_strict-method":167,"./_to-object":181}],213:[function(require,module,exports){ +},{"./_a-function":75,"./_export":104,"./_fails":106,"./_strict-method":170,"./_to-object":184}],216:[function(require,module,exports){ require('./_set-species')('Array'); -},{"./_set-species":162}],214:[function(require,module,exports){ +},{"./_set-species":165}],217:[function(require,module,exports){ // 20.3.3.1 / 15.9.4.4 Date.now() var $export = require('./_export'); $export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); -},{"./_export":101}],215:[function(require,module,exports){ +},{"./_export":104}],218:[function(require,module,exports){ // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var $export = require('./_export'); var toISOString = require('./_date-to-iso-string'); @@ -8514,7 +8623,7 @@ $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'D toISOString: toISOString }); -},{"./_date-to-iso-string":94,"./_export":101}],216:[function(require,module,exports){ +},{"./_date-to-iso-string":97,"./_export":104}],219:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toObject = require('./_to-object'); @@ -8532,13 +8641,13 @@ $export($export.P + $export.F * require('./_fails')(function () { } }); -},{"./_export":101,"./_fails":103,"./_to-object":181,"./_to-primitive":182}],217:[function(require,module,exports){ +},{"./_export":104,"./_fails":106,"./_to-object":184,"./_to-primitive":185}],220:[function(require,module,exports){ var TO_PRIMITIVE = require('./_wks')('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive')); -},{"./_date-to-primitive":95,"./_hide":111,"./_wks":191}],218:[function(require,module,exports){ +},{"./_date-to-primitive":98,"./_hide":114,"./_wks":194}],221:[function(require,module,exports){ var DateProto = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING = 'toString'; @@ -8552,13 +8661,13 @@ if (new Date(NaN) + '' != INVALID_DATE) { }); } -},{"./_redefine":157}],219:[function(require,module,exports){ +},{"./_redefine":160}],222:[function(require,module,exports){ // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = require('./_export'); $export($export.P, 'Function', { bind: require('./_bind') }); -},{"./_bind":85,"./_export":101}],220:[function(require,module,exports){ +},{"./_bind":88,"./_export":104}],223:[function(require,module,exports){ 'use strict'; var isObject = require('./_is-object'); var getPrototypeOf = require('./_object-gpo'); @@ -8573,7 +8682,7 @@ if (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, H return false; } }); -},{"./_is-object":120,"./_object-dp":138,"./_object-gpo":144,"./_wks":191}],221:[function(require,module,exports){ +},{"./_is-object":123,"./_object-dp":141,"./_object-gpo":147,"./_wks":194}],224:[function(require,module,exports){ var dP = require('./_object-dp').f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; @@ -8591,7 +8700,7 @@ NAME in FProto || require('./_descriptors') && dP(FProto, NAME, { } }); -},{"./_descriptors":97,"./_object-dp":138}],222:[function(require,module,exports){ +},{"./_descriptors":100,"./_object-dp":141}],225:[function(require,module,exports){ 'use strict'; var strong = require('./_collection-strong'); var validate = require('./_validate-collection'); @@ -8612,7 +8721,7 @@ module.exports = require('./_collection')(MAP, function (get) { } }, strong, true); -},{"./_collection":90,"./_collection-strong":88,"./_validate-collection":188}],223:[function(require,module,exports){ +},{"./_collection":93,"./_collection-strong":91,"./_validate-collection":191}],226:[function(require,module,exports){ // 20.2.2.3 Math.acosh(x) var $export = require('./_export'); var log1p = require('./_math-log1p'); @@ -8632,7 +8741,7 @@ $export($export.S + $export.F * !($acosh } }); -},{"./_export":101,"./_math-log1p":131}],224:[function(require,module,exports){ +},{"./_export":104,"./_math-log1p":134}],227:[function(require,module,exports){ // 20.2.2.5 Math.asinh(x) var $export = require('./_export'); var $asinh = Math.asinh; @@ -8644,7 +8753,7 @@ function asinh(x) { // Tor Browser bug: Math.asinh(0) -> -0 $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); -},{"./_export":101}],225:[function(require,module,exports){ +},{"./_export":104}],228:[function(require,module,exports){ // 20.2.2.7 Math.atanh(x) var $export = require('./_export'); var $atanh = Math.atanh; @@ -8656,7 +8765,7 @@ $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { } }); -},{"./_export":101}],226:[function(require,module,exports){ +},{"./_export":104}],229:[function(require,module,exports){ // 20.2.2.9 Math.cbrt(x) var $export = require('./_export'); var sign = require('./_math-sign'); @@ -8667,7 +8776,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":101,"./_math-sign":132}],227:[function(require,module,exports){ +},{"./_export":104,"./_math-sign":135}],230:[function(require,module,exports){ // 20.2.2.11 Math.clz32(x) var $export = require('./_export'); @@ -8677,7 +8786,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],228:[function(require,module,exports){ +},{"./_export":104}],231:[function(require,module,exports){ // 20.2.2.12 Math.cosh(x) var $export = require('./_export'); var exp = Math.exp; @@ -8688,20 +8797,20 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],229:[function(require,module,exports){ +},{"./_export":104}],232:[function(require,module,exports){ // 20.2.2.14 Math.expm1(x) var $export = require('./_export'); var $expm1 = require('./_math-expm1'); $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); -},{"./_export":101,"./_math-expm1":129}],230:[function(require,module,exports){ +},{"./_export":104,"./_math-expm1":132}],233:[function(require,module,exports){ // 20.2.2.16 Math.fround(x) var $export = require('./_export'); $export($export.S, 'Math', { fround: require('./_math-fround') }); -},{"./_export":101,"./_math-fround":130}],231:[function(require,module,exports){ +},{"./_export":104,"./_math-fround":133}],234:[function(require,module,exports){ // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) var $export = require('./_export'); var abs = Math.abs; @@ -8728,7 +8837,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],232:[function(require,module,exports){ +},{"./_export":104}],235:[function(require,module,exports){ // 20.2.2.18 Math.imul(x, y) var $export = require('./_export'); var $imul = Math.imul; @@ -8747,7 +8856,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_export":101,"./_fails":103}],233:[function(require,module,exports){ +},{"./_export":104,"./_fails":106}],236:[function(require,module,exports){ // 20.2.2.21 Math.log10(x) var $export = require('./_export'); @@ -8757,13 +8866,13 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],234:[function(require,module,exports){ +},{"./_export":104}],237:[function(require,module,exports){ // 20.2.2.20 Math.log1p(x) var $export = require('./_export'); $export($export.S, 'Math', { log1p: require('./_math-log1p') }); -},{"./_export":101,"./_math-log1p":131}],235:[function(require,module,exports){ +},{"./_export":104,"./_math-log1p":134}],238:[function(require,module,exports){ // 20.2.2.22 Math.log2(x) var $export = require('./_export'); @@ -8773,13 +8882,13 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],236:[function(require,module,exports){ +},{"./_export":104}],239:[function(require,module,exports){ // 20.2.2.28 Math.sign(x) var $export = require('./_export'); $export($export.S, 'Math', { sign: require('./_math-sign') }); -},{"./_export":101,"./_math-sign":132}],237:[function(require,module,exports){ +},{"./_export":104,"./_math-sign":135}],240:[function(require,module,exports){ // 20.2.2.30 Math.sinh(x) var $export = require('./_export'); var expm1 = require('./_math-expm1'); @@ -8796,7 +8905,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_export":101,"./_fails":103,"./_math-expm1":129}],238:[function(require,module,exports){ +},{"./_export":104,"./_fails":106,"./_math-expm1":132}],241:[function(require,module,exports){ // 20.2.2.33 Math.tanh(x) var $export = require('./_export'); var expm1 = require('./_math-expm1'); @@ -8810,7 +8919,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":101,"./_math-expm1":129}],239:[function(require,module,exports){ +},{"./_export":104,"./_math-expm1":132}],242:[function(require,module,exports){ // 20.2.2.34 Math.trunc(x) var $export = require('./_export'); @@ -8820,7 +8929,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":101}],240:[function(require,module,exports){ +},{"./_export":104}],243:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var has = require('./_has'); @@ -8891,13 +9000,13 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { require('./_redefine')(global, NUMBER, $Number); } -},{"./_cof":87,"./_descriptors":97,"./_fails":103,"./_global":109,"./_has":110,"./_inherit-if-required":114,"./_object-create":137,"./_object-dp":138,"./_object-gopd":140,"./_object-gopn":142,"./_redefine":157,"./_string-trim":173,"./_to-primitive":182}],241:[function(require,module,exports){ +},{"./_cof":90,"./_descriptors":100,"./_fails":106,"./_global":112,"./_has":113,"./_inherit-if-required":117,"./_object-create":140,"./_object-dp":141,"./_object-gopd":143,"./_object-gopn":145,"./_redefine":160,"./_string-trim":176,"./_to-primitive":185}],244:[function(require,module,exports){ // 20.1.2.1 Number.EPSILON var $export = require('./_export'); $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); -},{"./_export":101}],242:[function(require,module,exports){ +},{"./_export":104}],245:[function(require,module,exports){ // 20.1.2.2 Number.isFinite(number) var $export = require('./_export'); var _isFinite = require('./_global').isFinite; @@ -8908,13 +9017,13 @@ $export($export.S, 'Number', { } }); -},{"./_export":101,"./_global":109}],243:[function(require,module,exports){ +},{"./_export":104,"./_global":112}],246:[function(require,module,exports){ // 20.1.2.3 Number.isInteger(number) var $export = require('./_export'); $export($export.S, 'Number', { isInteger: require('./_is-integer') }); -},{"./_export":101,"./_is-integer":119}],244:[function(require,module,exports){ +},{"./_export":104,"./_is-integer":122}],247:[function(require,module,exports){ // 20.1.2.4 Number.isNaN(number) var $export = require('./_export'); @@ -8925,7 +9034,7 @@ $export($export.S, 'Number', { } }); -},{"./_export":101}],245:[function(require,module,exports){ +},{"./_export":104}],248:[function(require,module,exports){ // 20.1.2.5 Number.isSafeInteger(number) var $export = require('./_export'); var isInteger = require('./_is-integer'); @@ -8937,31 +9046,31 @@ $export($export.S, 'Number', { } }); -},{"./_export":101,"./_is-integer":119}],246:[function(require,module,exports){ +},{"./_export":104,"./_is-integer":122}],249:[function(require,module,exports){ // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = require('./_export'); $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); -},{"./_export":101}],247:[function(require,module,exports){ +},{"./_export":104}],250:[function(require,module,exports){ // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = require('./_export'); $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); -},{"./_export":101}],248:[function(require,module,exports){ +},{"./_export":104}],251:[function(require,module,exports){ var $export = require('./_export'); var $parseFloat = require('./_parse-float'); // 20.1.2.12 Number.parseFloat(string) $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); -},{"./_export":101,"./_parse-float":151}],249:[function(require,module,exports){ +},{"./_export":104,"./_parse-float":154}],252:[function(require,module,exports){ var $export = require('./_export'); var $parseInt = require('./_parse-int'); // 20.1.2.13 Number.parseInt(string, radix) $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); -},{"./_export":101,"./_parse-int":152}],250:[function(require,module,exports){ +},{"./_export":104,"./_parse-int":155}],253:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toInteger = require('./_to-integer'); @@ -9077,7 +9186,7 @@ $export($export.P + $export.F * (!!$toFixed && ( } }); -},{"./_a-number-value":73,"./_export":101,"./_fails":103,"./_string-repeat":172,"./_to-integer":178}],251:[function(require,module,exports){ +},{"./_a-number-value":76,"./_export":104,"./_fails":106,"./_string-repeat":175,"./_to-integer":181}],254:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $fails = require('./_fails'); @@ -9097,28 +9206,28 @@ $export($export.P + $export.F * ($fails(function () { } }); -},{"./_a-number-value":73,"./_export":101,"./_fails":103}],252:[function(require,module,exports){ +},{"./_a-number-value":76,"./_export":104,"./_fails":106}],255:[function(require,module,exports){ // 19.1.3.1 Object.assign(target, source) var $export = require('./_export'); $export($export.S + $export.F, 'Object', { assign: require('./_object-assign') }); -},{"./_export":101,"./_object-assign":136}],253:[function(require,module,exports){ +},{"./_export":104,"./_object-assign":139}],256:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: require('./_object-create') }); -},{"./_export":101,"./_object-create":137}],254:[function(require,module,exports){ +},{"./_export":104,"./_object-create":140}],257:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) $export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') }); -},{"./_descriptors":97,"./_export":101,"./_object-dps":139}],255:[function(require,module,exports){ +},{"./_descriptors":100,"./_export":104,"./_object-dps":142}],258:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f }); -},{"./_descriptors":97,"./_export":101,"./_object-dp":138}],256:[function(require,module,exports){ +},{"./_descriptors":100,"./_export":104,"./_object-dp":141}],259:[function(require,module,exports){ // 19.1.2.5 Object.freeze(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -9129,7 +9238,7 @@ require('./_object-sap')('freeze', function ($freeze) { }; }); -},{"./_is-object":120,"./_meta":133,"./_object-sap":148}],257:[function(require,module,exports){ +},{"./_is-object":123,"./_meta":136,"./_object-sap":151}],260:[function(require,module,exports){ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = require('./_to-iobject'); var $getOwnPropertyDescriptor = require('./_object-gopd').f; @@ -9140,13 +9249,13 @@ require('./_object-sap')('getOwnPropertyDescriptor', function () { }; }); -},{"./_object-gopd":140,"./_object-sap":148,"./_to-iobject":179}],258:[function(require,module,exports){ +},{"./_object-gopd":143,"./_object-sap":151,"./_to-iobject":182}],261:[function(require,module,exports){ // 19.1.2.7 Object.getOwnPropertyNames(O) require('./_object-sap')('getOwnPropertyNames', function () { return require('./_object-gopn-ext').f; }); -},{"./_object-gopn-ext":141,"./_object-sap":148}],259:[function(require,module,exports){ +},{"./_object-gopn-ext":144,"./_object-sap":151}],262:[function(require,module,exports){ // 19.1.2.9 Object.getPrototypeOf(O) var toObject = require('./_to-object'); var $getPrototypeOf = require('./_object-gpo'); @@ -9157,7 +9266,7 @@ require('./_object-sap')('getPrototypeOf', function () { }; }); -},{"./_object-gpo":144,"./_object-sap":148,"./_to-object":181}],260:[function(require,module,exports){ +},{"./_object-gpo":147,"./_object-sap":151,"./_to-object":184}],263:[function(require,module,exports){ // 19.1.2.11 Object.isExtensible(O) var isObject = require('./_is-object'); @@ -9167,7 +9276,7 @@ require('./_object-sap')('isExtensible', function ($isExtensible) { }; }); -},{"./_is-object":120,"./_object-sap":148}],261:[function(require,module,exports){ +},{"./_is-object":123,"./_object-sap":151}],264:[function(require,module,exports){ // 19.1.2.12 Object.isFrozen(O) var isObject = require('./_is-object'); @@ -9177,7 +9286,7 @@ require('./_object-sap')('isFrozen', function ($isFrozen) { }; }); -},{"./_is-object":120,"./_object-sap":148}],262:[function(require,module,exports){ +},{"./_is-object":123,"./_object-sap":151}],265:[function(require,module,exports){ // 19.1.2.13 Object.isSealed(O) var isObject = require('./_is-object'); @@ -9187,12 +9296,12 @@ require('./_object-sap')('isSealed', function ($isSealed) { }; }); -},{"./_is-object":120,"./_object-sap":148}],263:[function(require,module,exports){ +},{"./_is-object":123,"./_object-sap":151}],266:[function(require,module,exports){ // 19.1.3.10 Object.is(value1, value2) var $export = require('./_export'); $export($export.S, 'Object', { is: require('./_same-value') }); -},{"./_export":101,"./_same-value":160}],264:[function(require,module,exports){ +},{"./_export":104,"./_same-value":163}],267:[function(require,module,exports){ // 19.1.2.14 Object.keys(O) var toObject = require('./_to-object'); var $keys = require('./_object-keys'); @@ -9203,7 +9312,7 @@ require('./_object-sap')('keys', function () { }; }); -},{"./_object-keys":146,"./_object-sap":148,"./_to-object":181}],265:[function(require,module,exports){ +},{"./_object-keys":149,"./_object-sap":151,"./_to-object":184}],268:[function(require,module,exports){ // 19.1.2.15 Object.preventExtensions(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -9214,7 +9323,7 @@ require('./_object-sap')('preventExtensions', function ($preventExtensions) { }; }); -},{"./_is-object":120,"./_meta":133,"./_object-sap":148}],266:[function(require,module,exports){ +},{"./_is-object":123,"./_meta":136,"./_object-sap":151}],269:[function(require,module,exports){ // 19.1.2.17 Object.seal(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -9225,12 +9334,12 @@ require('./_object-sap')('seal', function ($seal) { }; }); -},{"./_is-object":120,"./_meta":133,"./_object-sap":148}],267:[function(require,module,exports){ +},{"./_is-object":123,"./_meta":136,"./_object-sap":151}],270:[function(require,module,exports){ // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = require('./_export'); $export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set }); -},{"./_export":101,"./_set-proto":161}],268:[function(require,module,exports){ +},{"./_export":104,"./_set-proto":164}],271:[function(require,module,exports){ 'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = require('./_classof'); @@ -9242,19 +9351,19 @@ if (test + '' != '[object z]') { }, true); } -},{"./_classof":86,"./_redefine":157,"./_wks":191}],269:[function(require,module,exports){ +},{"./_classof":89,"./_redefine":160,"./_wks":194}],272:[function(require,module,exports){ var $export = require('./_export'); var $parseFloat = require('./_parse-float'); // 18.2.4 parseFloat(string) $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); -},{"./_export":101,"./_parse-float":151}],270:[function(require,module,exports){ +},{"./_export":104,"./_parse-float":154}],273:[function(require,module,exports){ var $export = require('./_export'); var $parseInt = require('./_parse-int'); // 18.2.5 parseInt(string, radix) $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); -},{"./_export":101,"./_parse-int":152}],271:[function(require,module,exports){ +},{"./_export":104,"./_parse-int":155}],274:[function(require,module,exports){ 'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); @@ -9542,7 +9651,7 @@ $export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(functi } }); -},{"./_a-function":72,"./_an-instance":76,"./_classof":86,"./_core":91,"./_ctx":93,"./_export":101,"./_for-of":107,"./_global":109,"./_is-object":120,"./_iter-detect":125,"./_library":128,"./_microtask":134,"./_new-promise-capability":135,"./_perform":153,"./_promise-resolve":154,"./_redefine-all":156,"./_set-species":162,"./_set-to-string-tag":163,"./_species-constructor":166,"./_task":175,"./_user-agent":187,"./_wks":191}],272:[function(require,module,exports){ +},{"./_a-function":75,"./_an-instance":79,"./_classof":89,"./_core":94,"./_ctx":96,"./_export":104,"./_for-of":110,"./_global":112,"./_is-object":123,"./_iter-detect":128,"./_library":131,"./_microtask":137,"./_new-promise-capability":138,"./_perform":156,"./_promise-resolve":157,"./_redefine-all":159,"./_set-species":165,"./_set-to-string-tag":166,"./_species-constructor":169,"./_task":178,"./_user-agent":190,"./_wks":194}],275:[function(require,module,exports){ // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = require('./_export'); var aFunction = require('./_a-function'); @@ -9560,7 +9669,7 @@ $export($export.S + $export.F * !require('./_fails')(function () { } }); -},{"./_a-function":72,"./_an-object":77,"./_export":101,"./_fails":103,"./_global":109}],273:[function(require,module,exports){ +},{"./_a-function":75,"./_an-object":80,"./_export":104,"./_fails":106,"./_global":112}],276:[function(require,module,exports){ // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = require('./_export'); var create = require('./_object-create'); @@ -9609,7 +9718,7 @@ $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { } }); -},{"./_a-function":72,"./_an-object":77,"./_bind":85,"./_export":101,"./_fails":103,"./_global":109,"./_is-object":120,"./_object-create":137}],274:[function(require,module,exports){ +},{"./_a-function":75,"./_an-object":80,"./_bind":88,"./_export":104,"./_fails":106,"./_global":112,"./_is-object":123,"./_object-create":140}],277:[function(require,module,exports){ // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) var dP = require('./_object-dp'); var $export = require('./_export'); @@ -9634,7 +9743,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_an-object":77,"./_export":101,"./_fails":103,"./_object-dp":138,"./_to-primitive":182}],275:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_fails":106,"./_object-dp":141,"./_to-primitive":185}],278:[function(require,module,exports){ // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = require('./_export'); var gOPD = require('./_object-gopd').f; @@ -9647,7 +9756,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101,"./_object-gopd":140}],276:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_object-gopd":143}],279:[function(require,module,exports){ 'use strict'; // 26.1.5 Reflect.enumerate(target) var $export = require('./_export'); @@ -9675,7 +9784,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101,"./_iter-create":123}],277:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_iter-create":126}],280:[function(require,module,exports){ // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) var gOPD = require('./_object-gopd'); var $export = require('./_export'); @@ -9687,7 +9796,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101,"./_object-gopd":140}],278:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_object-gopd":143}],281:[function(require,module,exports){ // 26.1.8 Reflect.getPrototypeOf(target) var $export = require('./_export'); var getProto = require('./_object-gpo'); @@ -9699,7 +9808,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101,"./_object-gpo":144}],279:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_object-gpo":147}],282:[function(require,module,exports){ // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = require('./_object-gopd'); var getPrototypeOf = require('./_object-gpo'); @@ -9722,7 +9831,7 @@ function get(target, propertyKey /* , receiver */) { $export($export.S, 'Reflect', { get: get }); -},{"./_an-object":77,"./_export":101,"./_has":110,"./_is-object":120,"./_object-gopd":140,"./_object-gpo":144}],280:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_has":113,"./_is-object":123,"./_object-gopd":143,"./_object-gpo":147}],283:[function(require,module,exports){ // 26.1.9 Reflect.has(target, propertyKey) var $export = require('./_export'); @@ -9732,7 +9841,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_export":101}],281:[function(require,module,exports){ +},{"./_export":104}],284:[function(require,module,exports){ // 26.1.10 Reflect.isExtensible(target) var $export = require('./_export'); var anObject = require('./_an-object'); @@ -9745,13 +9854,13 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101}],282:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104}],285:[function(require,module,exports){ // 26.1.11 Reflect.ownKeys(target) var $export = require('./_export'); $export($export.S, 'Reflect', { ownKeys: require('./_own-keys') }); -},{"./_export":101,"./_own-keys":150}],283:[function(require,module,exports){ +},{"./_export":104,"./_own-keys":153}],286:[function(require,module,exports){ // 26.1.12 Reflect.preventExtensions(target) var $export = require('./_export'); var anObject = require('./_an-object'); @@ -9769,7 +9878,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":77,"./_export":101}],284:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104}],287:[function(require,module,exports){ // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = require('./_export'); var setProto = require('./_set-proto'); @@ -9786,7 +9895,7 @@ if (setProto) $export($export.S, 'Reflect', { } }); -},{"./_export":101,"./_set-proto":161}],285:[function(require,module,exports){ +},{"./_export":104,"./_set-proto":164}],288:[function(require,module,exports){ // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = require('./_object-dp'); var gOPD = require('./_object-gopd'); @@ -9821,7 +9930,7 @@ function set(target, propertyKey, V /* , receiver */) { $export($export.S, 'Reflect', { set: set }); -},{"./_an-object":77,"./_export":101,"./_has":110,"./_is-object":120,"./_object-dp":138,"./_object-gopd":140,"./_object-gpo":144,"./_property-desc":155}],286:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_has":113,"./_is-object":123,"./_object-dp":141,"./_object-gopd":143,"./_object-gpo":147,"./_property-desc":158}],289:[function(require,module,exports){ var global = require('./_global'); var inheritIfRequired = require('./_inherit-if-required'); var dP = require('./_object-dp').f; @@ -9866,7 +9975,7 @@ if (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function ( require('./_set-species')('RegExp'); -},{"./_descriptors":97,"./_fails":103,"./_flags":105,"./_global":109,"./_inherit-if-required":114,"./_is-regexp":121,"./_object-dp":138,"./_object-gopn":142,"./_redefine":157,"./_set-species":162,"./_wks":191}],287:[function(require,module,exports){ +},{"./_descriptors":100,"./_fails":106,"./_flags":108,"./_global":112,"./_inherit-if-required":117,"./_is-regexp":124,"./_object-dp":141,"./_object-gopn":145,"./_redefine":160,"./_set-species":165,"./_wks":194}],290:[function(require,module,exports){ 'use strict'; var regexpExec = require('./_regexp-exec'); require('./_export')({ @@ -9877,14 +9986,14 @@ require('./_export')({ exec: regexpExec }); -},{"./_export":101,"./_regexp-exec":159}],288:[function(require,module,exports){ +},{"./_export":104,"./_regexp-exec":162}],291:[function(require,module,exports){ // 21.2.5.3 get RegExp.prototype.flags() if (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', { configurable: true, get: require('./_flags') }); -},{"./_descriptors":97,"./_flags":105,"./_object-dp":138}],289:[function(require,module,exports){ +},{"./_descriptors":100,"./_flags":108,"./_object-dp":141}],292:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -9926,7 +10035,7 @@ require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCall ]; }); -},{"./_advance-string-index":75,"./_an-object":77,"./_fix-re-wks":104,"./_regexp-exec-abstract":158,"./_to-length":180}],290:[function(require,module,exports){ +},{"./_advance-string-index":78,"./_an-object":80,"./_fix-re-wks":107,"./_regexp-exec-abstract":161,"./_to-length":183}],293:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -10046,7 +10155,7 @@ require('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, may } }); -},{"./_advance-string-index":75,"./_an-object":77,"./_fix-re-wks":104,"./_regexp-exec-abstract":158,"./_to-integer":178,"./_to-length":180,"./_to-object":181}],291:[function(require,module,exports){ +},{"./_advance-string-index":78,"./_an-object":80,"./_fix-re-wks":107,"./_regexp-exec-abstract":161,"./_to-integer":181,"./_to-length":183,"./_to-object":184}],294:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -10079,7 +10188,7 @@ require('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeC ]; }); -},{"./_an-object":77,"./_fix-re-wks":104,"./_regexp-exec-abstract":158,"./_same-value":160}],292:[function(require,module,exports){ +},{"./_an-object":80,"./_fix-re-wks":107,"./_regexp-exec-abstract":161,"./_same-value":163}],295:[function(require,module,exports){ 'use strict'; var isRegExp = require('./_is-regexp'); @@ -10215,7 +10324,7 @@ require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCall ]; }); -},{"./_advance-string-index":75,"./_an-object":77,"./_fails":103,"./_fix-re-wks":104,"./_is-regexp":121,"./_regexp-exec":159,"./_regexp-exec-abstract":158,"./_species-constructor":166,"./_to-length":180}],293:[function(require,module,exports){ +},{"./_advance-string-index":78,"./_an-object":80,"./_fails":106,"./_fix-re-wks":107,"./_is-regexp":124,"./_regexp-exec":162,"./_regexp-exec-abstract":161,"./_species-constructor":169,"./_to-length":183}],296:[function(require,module,exports){ 'use strict'; require('./es6.regexp.flags'); var anObject = require('./_an-object'); @@ -10242,7 +10351,7 @@ if (require('./_fails')(function () { return $toString.call({ source: 'a', flags }); } -},{"./_an-object":77,"./_descriptors":97,"./_fails":103,"./_flags":105,"./_redefine":157,"./es6.regexp.flags":288}],294:[function(require,module,exports){ +},{"./_an-object":80,"./_descriptors":100,"./_fails":106,"./_flags":108,"./_redefine":160,"./es6.regexp.flags":291}],297:[function(require,module,exports){ 'use strict'; var strong = require('./_collection-strong'); var validate = require('./_validate-collection'); @@ -10258,7 +10367,7 @@ module.exports = require('./_collection')(SET, function (get) { } }, strong); -},{"./_collection":90,"./_collection-strong":88,"./_validate-collection":188}],295:[function(require,module,exports){ +},{"./_collection":93,"./_collection-strong":91,"./_validate-collection":191}],298:[function(require,module,exports){ 'use strict'; // B.2.3.2 String.prototype.anchor(name) require('./_string-html')('anchor', function (createHTML) { @@ -10267,7 +10376,7 @@ require('./_string-html')('anchor', function (createHTML) { }; }); -},{"./_string-html":170}],296:[function(require,module,exports){ +},{"./_string-html":173}],299:[function(require,module,exports){ 'use strict'; // B.2.3.3 String.prototype.big() require('./_string-html')('big', function (createHTML) { @@ -10276,7 +10385,7 @@ require('./_string-html')('big', function (createHTML) { }; }); -},{"./_string-html":170}],297:[function(require,module,exports){ +},{"./_string-html":173}],300:[function(require,module,exports){ 'use strict'; // B.2.3.4 String.prototype.blink() require('./_string-html')('blink', function (createHTML) { @@ -10285,7 +10394,7 @@ require('./_string-html')('blink', function (createHTML) { }; }); -},{"./_string-html":170}],298:[function(require,module,exports){ +},{"./_string-html":173}],301:[function(require,module,exports){ 'use strict'; // B.2.3.5 String.prototype.bold() require('./_string-html')('bold', function (createHTML) { @@ -10294,7 +10403,7 @@ require('./_string-html')('bold', function (createHTML) { }; }); -},{"./_string-html":170}],299:[function(require,module,exports){ +},{"./_string-html":173}],302:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $at = require('./_string-at')(false); @@ -10305,7 +10414,7 @@ $export($export.P, 'String', { } }); -},{"./_export":101,"./_string-at":168}],300:[function(require,module,exports){ +},{"./_export":104,"./_string-at":171}],303:[function(require,module,exports){ // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; var $export = require('./_export'); @@ -10327,7 +10436,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'Strin } }); -},{"./_export":101,"./_fails-is-regexp":102,"./_string-context":169,"./_to-length":180}],301:[function(require,module,exports){ +},{"./_export":104,"./_fails-is-regexp":105,"./_string-context":172,"./_to-length":183}],304:[function(require,module,exports){ 'use strict'; // B.2.3.6 String.prototype.fixed() require('./_string-html')('fixed', function (createHTML) { @@ -10336,7 +10445,7 @@ require('./_string-html')('fixed', function (createHTML) { }; }); -},{"./_string-html":170}],302:[function(require,module,exports){ +},{"./_string-html":173}],305:[function(require,module,exports){ 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) require('./_string-html')('fontcolor', function (createHTML) { @@ -10345,7 +10454,7 @@ require('./_string-html')('fontcolor', function (createHTML) { }; }); -},{"./_string-html":170}],303:[function(require,module,exports){ +},{"./_string-html":173}],306:[function(require,module,exports){ 'use strict'; // B.2.3.8 String.prototype.fontsize(size) require('./_string-html')('fontsize', function (createHTML) { @@ -10354,7 +10463,7 @@ require('./_string-html')('fontsize', function (createHTML) { }; }); -},{"./_string-html":170}],304:[function(require,module,exports){ +},{"./_string-html":173}],307:[function(require,module,exports){ var $export = require('./_export'); var toAbsoluteIndex = require('./_to-absolute-index'); var fromCharCode = String.fromCharCode; @@ -10379,7 +10488,7 @@ $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1) } }); -},{"./_export":101,"./_to-absolute-index":176}],305:[function(require,module,exports){ +},{"./_export":104,"./_to-absolute-index":179}],308:[function(require,module,exports){ // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; var $export = require('./_export'); @@ -10393,7 +10502,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String } }); -},{"./_export":101,"./_fails-is-regexp":102,"./_string-context":169}],306:[function(require,module,exports){ +},{"./_export":104,"./_fails-is-regexp":105,"./_string-context":172}],309:[function(require,module,exports){ 'use strict'; // B.2.3.9 String.prototype.italics() require('./_string-html')('italics', function (createHTML) { @@ -10402,7 +10511,7 @@ require('./_string-html')('italics', function (createHTML) { }; }); -},{"./_string-html":170}],307:[function(require,module,exports){ +},{"./_string-html":173}],310:[function(require,module,exports){ 'use strict'; var $at = require('./_string-at')(true); @@ -10421,7 +10530,7 @@ require('./_iter-define')(String, 'String', function (iterated) { return { value: point, done: false }; }); -},{"./_iter-define":124,"./_string-at":168}],308:[function(require,module,exports){ +},{"./_iter-define":127,"./_string-at":171}],311:[function(require,module,exports){ 'use strict'; // B.2.3.10 String.prototype.link(url) require('./_string-html')('link', function (createHTML) { @@ -10430,7 +10539,7 @@ require('./_string-html')('link', function (createHTML) { }; }); -},{"./_string-html":170}],309:[function(require,module,exports){ +},{"./_string-html":173}],312:[function(require,module,exports){ var $export = require('./_export'); var toIObject = require('./_to-iobject'); var toLength = require('./_to-length'); @@ -10450,7 +10559,7 @@ $export($export.S, 'String', { } }); -},{"./_export":101,"./_to-iobject":179,"./_to-length":180}],310:[function(require,module,exports){ +},{"./_export":104,"./_to-iobject":182,"./_to-length":183}],313:[function(require,module,exports){ var $export = require('./_export'); $export($export.P, 'String', { @@ -10458,7 +10567,7 @@ $export($export.P, 'String', { repeat: require('./_string-repeat') }); -},{"./_export":101,"./_string-repeat":172}],311:[function(require,module,exports){ +},{"./_export":104,"./_string-repeat":175}],314:[function(require,module,exports){ 'use strict'; // B.2.3.11 String.prototype.small() require('./_string-html')('small', function (createHTML) { @@ -10467,7 +10576,7 @@ require('./_string-html')('small', function (createHTML) { }; }); -},{"./_string-html":170}],312:[function(require,module,exports){ +},{"./_string-html":173}],315:[function(require,module,exports){ // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; var $export = require('./_export'); @@ -10487,7 +10596,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'Str } }); -},{"./_export":101,"./_fails-is-regexp":102,"./_string-context":169,"./_to-length":180}],313:[function(require,module,exports){ +},{"./_export":104,"./_fails-is-regexp":105,"./_string-context":172,"./_to-length":183}],316:[function(require,module,exports){ 'use strict'; // B.2.3.12 String.prototype.strike() require('./_string-html')('strike', function (createHTML) { @@ -10496,7 +10605,7 @@ require('./_string-html')('strike', function (createHTML) { }; }); -},{"./_string-html":170}],314:[function(require,module,exports){ +},{"./_string-html":173}],317:[function(require,module,exports){ 'use strict'; // B.2.3.13 String.prototype.sub() require('./_string-html')('sub', function (createHTML) { @@ -10505,7 +10614,7 @@ require('./_string-html')('sub', function (createHTML) { }; }); -},{"./_string-html":170}],315:[function(require,module,exports){ +},{"./_string-html":173}],318:[function(require,module,exports){ 'use strict'; // B.2.3.14 String.prototype.sup() require('./_string-html')('sup', function (createHTML) { @@ -10514,7 +10623,7 @@ require('./_string-html')('sup', function (createHTML) { }; }); -},{"./_string-html":170}],316:[function(require,module,exports){ +},{"./_string-html":173}],319:[function(require,module,exports){ 'use strict'; // 21.1.3.25 String.prototype.trim() require('./_string-trim')('trim', function ($trim) { @@ -10523,7 +10632,7 @@ require('./_string-trim')('trim', function ($trim) { }; }); -},{"./_string-trim":173}],317:[function(require,module,exports){ +},{"./_string-trim":176}],320:[function(require,module,exports){ 'use strict'; // ECMAScript 6 symbols shim var global = require('./_global'); @@ -10771,7 +10880,7 @@ setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); -},{"./_an-object":77,"./_descriptors":97,"./_enum-keys":100,"./_export":101,"./_fails":103,"./_global":109,"./_has":110,"./_hide":111,"./_is-array":118,"./_is-object":120,"./_library":128,"./_meta":133,"./_object-create":137,"./_object-dp":138,"./_object-gopd":140,"./_object-gopn":142,"./_object-gopn-ext":141,"./_object-gops":143,"./_object-keys":146,"./_object-pie":147,"./_property-desc":155,"./_redefine":157,"./_set-to-string-tag":163,"./_shared":165,"./_to-iobject":179,"./_to-object":181,"./_to-primitive":182,"./_uid":186,"./_wks":191,"./_wks-define":189,"./_wks-ext":190}],318:[function(require,module,exports){ +},{"./_an-object":80,"./_descriptors":100,"./_enum-keys":103,"./_export":104,"./_fails":106,"./_global":112,"./_has":113,"./_hide":114,"./_is-array":121,"./_is-object":123,"./_library":131,"./_meta":136,"./_object-create":140,"./_object-dp":141,"./_object-gopd":143,"./_object-gopn":145,"./_object-gopn-ext":144,"./_object-gops":146,"./_object-keys":149,"./_object-pie":150,"./_property-desc":158,"./_redefine":160,"./_set-to-string-tag":166,"./_shared":168,"./_to-iobject":182,"./_to-object":184,"./_to-primitive":185,"./_uid":189,"./_wks":194,"./_wks-define":192,"./_wks-ext":193}],321:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $typed = require('./_typed'); @@ -10819,76 +10928,76 @@ $export($export.P + $export.U + $export.F * require('./_fails')(function () { require('./_set-species')(ARRAY_BUFFER); -},{"./_an-object":77,"./_export":101,"./_fails":103,"./_global":109,"./_is-object":120,"./_set-species":162,"./_species-constructor":166,"./_to-absolute-index":176,"./_to-length":180,"./_typed":185,"./_typed-buffer":184}],319:[function(require,module,exports){ +},{"./_an-object":80,"./_export":104,"./_fails":106,"./_global":112,"./_is-object":123,"./_set-species":165,"./_species-constructor":169,"./_to-absolute-index":179,"./_to-length":183,"./_typed":188,"./_typed-buffer":187}],322:[function(require,module,exports){ var $export = require('./_export'); $export($export.G + $export.W + $export.F * !require('./_typed').ABV, { DataView: require('./_typed-buffer').DataView }); -},{"./_export":101,"./_typed":185,"./_typed-buffer":184}],320:[function(require,module,exports){ +},{"./_export":104,"./_typed":188,"./_typed-buffer":187}],323:[function(require,module,exports){ require('./_typed-array')('Float32', 4, function (init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],321:[function(require,module,exports){ +},{"./_typed-array":186}],324:[function(require,module,exports){ require('./_typed-array')('Float64', 8, function (init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],322:[function(require,module,exports){ +},{"./_typed-array":186}],325:[function(require,module,exports){ require('./_typed-array')('Int16', 2, function (init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],323:[function(require,module,exports){ +},{"./_typed-array":186}],326:[function(require,module,exports){ require('./_typed-array')('Int32', 4, function (init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],324:[function(require,module,exports){ +},{"./_typed-array":186}],327:[function(require,module,exports){ require('./_typed-array')('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],325:[function(require,module,exports){ +},{"./_typed-array":186}],328:[function(require,module,exports){ require('./_typed-array')('Uint16', 2, function (init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],326:[function(require,module,exports){ +},{"./_typed-array":186}],329:[function(require,module,exports){ require('./_typed-array')('Uint32', 4, function (init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],327:[function(require,module,exports){ +},{"./_typed-array":186}],330:[function(require,module,exports){ require('./_typed-array')('Uint8', 1, function (init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":183}],328:[function(require,module,exports){ +},{"./_typed-array":186}],331:[function(require,module,exports){ require('./_typed-array')('Uint8', 1, function (init) { return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }, true); -},{"./_typed-array":183}],329:[function(require,module,exports){ +},{"./_typed-array":186}],332:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var each = require('./_array-methods')(0); @@ -10950,7 +11059,7 @@ if (NATIVE_WEAK_MAP && IS_IE11) { }); } -},{"./_array-methods":81,"./_collection":90,"./_collection-weak":89,"./_global":109,"./_is-object":120,"./_meta":133,"./_object-assign":136,"./_redefine":157,"./_validate-collection":188}],330:[function(require,module,exports){ +},{"./_array-methods":84,"./_collection":93,"./_collection-weak":92,"./_global":112,"./_is-object":123,"./_meta":136,"./_object-assign":139,"./_redefine":160,"./_validate-collection":191}],333:[function(require,module,exports){ 'use strict'; var weak = require('./_collection-weak'); var validate = require('./_validate-collection'); @@ -10966,7 +11075,7 @@ require('./_collection')(WEAK_SET, function (get) { } }, weak, false, true); -},{"./_collection":90,"./_collection-weak":89,"./_validate-collection":188}],331:[function(require,module,exports){ +},{"./_collection":93,"./_collection-weak":92,"./_validate-collection":191}],334:[function(require,module,exports){ 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = require('./_export'); @@ -10990,7 +11099,7 @@ $export($export.P, 'Array', { require('./_add-to-unscopables')('flatMap'); -},{"./_a-function":72,"./_add-to-unscopables":74,"./_array-species-create":84,"./_export":101,"./_flatten-into-array":106,"./_to-length":180,"./_to-object":181}],332:[function(require,module,exports){ +},{"./_a-function":75,"./_add-to-unscopables":77,"./_array-species-create":87,"./_export":104,"./_flatten-into-array":109,"./_to-length":183,"./_to-object":184}],335:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = require('./_export'); @@ -11004,7 +11113,7 @@ $export($export.P, 'Array', { require('./_add-to-unscopables')('includes'); -},{"./_add-to-unscopables":74,"./_array-includes":80,"./_export":101}],333:[function(require,module,exports){ +},{"./_add-to-unscopables":77,"./_array-includes":83,"./_export":104}],336:[function(require,module,exports){ // https://github.com/tc39/proposal-object-values-entries var $export = require('./_export'); var $entries = require('./_object-to-array')(true); @@ -11015,7 +11124,7 @@ $export($export.S, 'Object', { } }); -},{"./_export":101,"./_object-to-array":149}],334:[function(require,module,exports){ +},{"./_export":104,"./_object-to-array":152}],337:[function(require,module,exports){ // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = require('./_export'); var ownKeys = require('./_own-keys'); @@ -11039,7 +11148,7 @@ $export($export.S, 'Object', { } }); -},{"./_create-property":92,"./_export":101,"./_object-gopd":140,"./_own-keys":150,"./_to-iobject":179}],335:[function(require,module,exports){ +},{"./_create-property":95,"./_export":104,"./_object-gopd":143,"./_own-keys":153,"./_to-iobject":182}],338:[function(require,module,exports){ // https://github.com/tc39/proposal-object-values-entries var $export = require('./_export'); var $values = require('./_object-to-array')(false); @@ -11050,7 +11159,7 @@ $export($export.S, 'Object', { } }); -},{"./_export":101,"./_object-to-array":149}],336:[function(require,module,exports){ +},{"./_export":104,"./_object-to-array":152}],339:[function(require,module,exports){ // https://github.com/tc39/proposal-promise-finally 'use strict'; var $export = require('./_export'); @@ -11072,7 +11181,7 @@ $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { ); } }); -},{"./_core":91,"./_export":101,"./_global":109,"./_promise-resolve":154,"./_species-constructor":166}],337:[function(require,module,exports){ +},{"./_core":94,"./_export":104,"./_global":112,"./_promise-resolve":157,"./_species-constructor":169}],340:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export'); @@ -11088,7 +11197,7 @@ $export($export.P + $export.F * WEBKIT_BUG, 'String', { } }); -},{"./_export":101,"./_string-pad":171,"./_user-agent":187}],338:[function(require,module,exports){ +},{"./_export":104,"./_string-pad":174,"./_user-agent":190}],341:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export'); @@ -11104,7 +11213,7 @@ $export($export.P + $export.F * WEBKIT_BUG, 'String', { } }); -},{"./_export":101,"./_string-pad":171,"./_user-agent":187}],339:[function(require,module,exports){ +},{"./_export":104,"./_string-pad":174,"./_user-agent":190}],342:[function(require,module,exports){ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim require('./_string-trim')('trimLeft', function ($trim) { @@ -11113,7 +11222,7 @@ require('./_string-trim')('trimLeft', function ($trim) { }; }, 'trimStart'); -},{"./_string-trim":173}],340:[function(require,module,exports){ +},{"./_string-trim":176}],343:[function(require,module,exports){ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim require('./_string-trim')('trimRight', function ($trim) { @@ -11122,10 +11231,10 @@ require('./_string-trim')('trimRight', function ($trim) { }; }, 'trimEnd'); -},{"./_string-trim":173}],341:[function(require,module,exports){ +},{"./_string-trim":176}],344:[function(require,module,exports){ require('./_wks-define')('asyncIterator'); -},{"./_wks-define":189}],342:[function(require,module,exports){ +},{"./_wks-define":192}],345:[function(require,module,exports){ var $iterators = require('./es6.array.iterator'); var getKeys = require('./_object-keys'); var redefine = require('./_redefine'); @@ -11185,7 +11294,7 @@ for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++ } } -},{"./_global":109,"./_hide":111,"./_iterators":127,"./_object-keys":146,"./_redefine":157,"./_wks":191,"./es6.array.iterator":203}],343:[function(require,module,exports){ +},{"./_global":112,"./_hide":114,"./_iterators":130,"./_object-keys":149,"./_redefine":160,"./_wks":194,"./es6.array.iterator":206}],346:[function(require,module,exports){ var $export = require('./_export'); var $task = require('./_task'); $export($export.G + $export.B, { @@ -11193,7 +11302,7 @@ $export($export.G + $export.B, { clearImmediate: $task.clear }); -},{"./_export":101,"./_task":175}],344:[function(require,module,exports){ +},{"./_export":104,"./_task":178}],347:[function(require,module,exports){ // ie9- setTimeout & setInterval additional parameters fix var global = require('./_global'); var $export = require('./_export'); @@ -11215,180 +11324,1331 @@ $export($export.G + $export.B + $export.F * MSIE, { setInterval: wrap(global.setInterval) }); -},{"./_export":101,"./_global":109,"./_user-agent":187}],345:[function(require,module,exports){ +},{"./_export":104,"./_global":112,"./_user-agent":190}],348:[function(require,module,exports){ require('../modules/web.timers'); require('../modules/web.immediate'); require('../modules/web.dom.iterable'); module.exports = require('../modules/_core'); -},{"../modules/_core":91,"../modules/web.dom.iterable":342,"../modules/web.immediate":343,"../modules/web.timers":344}],346:[function(require,module,exports){ -var pSlice = Array.prototype.slice; -var objectKeys = require('./lib/keys.js'); -var isArguments = require('./lib/is_arguments.js'); +},{"../modules/_core":94,"../modules/web.dom.iterable":345,"../modules/web.immediate":346,"../modules/web.timers":347}],349:[function(require,module,exports){ +'use strict'; + +var assign = require('object.assign'); +var callBound = require('call-bind/callBound'); +var flags = require('regexp.prototype.flags'); +var GetIntrinsic = require('get-intrinsic'); +var getIterator = require('es-get-iterator'); +var getSideChannel = require('side-channel'); +var is = require('object-is'); +var isArguments = require('is-arguments'); +var isArray = require('isarray'); +var isArrayBuffer = require('is-array-buffer'); +var isDate = require('is-date-object'); +var isRegex = require('is-regex'); +var isSharedArrayBuffer = require('is-shared-array-buffer'); +var objectKeys = require('object-keys'); +var whichBoxedPrimitive = require('which-boxed-primitive'); +var whichCollection = require('which-collection'); +var whichTypedArray = require('which-typed-array'); + +var byteLength = callBound('ArrayBuffer.prototype.byteLength', true) + || function byteLength(ab) { return ab.byteLength; }; // in node < 0.11, byteLength is an own nonconfigurable property +var sabByteLength = callBound('SharedArrayBuffer.prototype.byteLength', true); + +var $getTime = callBound('Date.prototype.getTime'); +var gPO = Object.getPrototypeOf; +var $objToString = callBound('Object.prototype.toString'); + +var $Set = GetIntrinsic('%Set%', true); +var $mapHas = callBound('Map.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSize = callBound('Map.prototype.size', true); +var $setAdd = callBound('Set.prototype.add', true); +var $setDelete = callBound('Set.prototype.delete', true); +var $setHas = callBound('Set.prototype.has', true); +var $setSize = callBound('Set.prototype.size', true); + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L401-L414 +function setHasEqualElement(set, val1, opts, channel) { + var i = getIterator(set); + var result; + while ((result = i.next()) && !result.done) { + if (internalDeepEqual(val1, result.value, opts, channel)) { // eslint-disable-line no-use-before-define + // Remove the matching element to make sure we do not check that again. + $setDelete(set, result.value); + return true; + } + } + + return false; +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L416-L439 +function findLooseMatchingPrimitives(prim) { + if (typeof prim === 'undefined') { + return null; + } + if (typeof prim === 'object') { // Only pass in null as object! + return void 0; + } + if (typeof prim === 'symbol') { + return false; + } + if (typeof prim === 'string' || typeof prim === 'number') { + // Loose equal entries exist only if the string is possible to convert to a regular number and not NaN. + return +prim === +prim; // eslint-disable-line no-implicit-coercion + } + return true; +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L449-L460 +function mapMightHaveLoosePrim(a, b, prim, item, opts, channel) { + var altValue = findLooseMatchingPrimitives(prim); + if (altValue != null) { + return altValue; + } + var curB = $mapGet(b, altValue); + var looseOpts = assign({}, opts, { strict: false }); + if ( + (typeof curB === 'undefined' && !$mapHas(b, altValue)) + // eslint-disable-next-line no-use-before-define + || !internalDeepEqual(item, curB, looseOpts, channel) + ) { + return false; + } + // eslint-disable-next-line no-use-before-define + return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel); +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L441-L447 +function setMightHaveLoosePrim(a, b, prim) { + var altValue = findLooseMatchingPrimitives(prim); + if (altValue != null) { + return altValue; + } + + return $setHas(b, altValue) && !$setHas(a, altValue); +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L518-L533 +function mapHasEqualEntry(set, map, key1, item1, opts, channel) { + var i = getIterator(set); + var result; + var key2; + while ((result = i.next()) && !result.done) { + key2 = result.value; + if ( + // eslint-disable-next-line no-use-before-define + internalDeepEqual(key1, key2, opts, channel) + // eslint-disable-next-line no-use-before-define + && internalDeepEqual(item1, $mapGet(map, key2), opts, channel) + ) { + $setDelete(set, key2); + return true; + } + } + + return false; +} + +function internalDeepEqual(actual, expected, options, channel) { + var opts = options || {}; -var deepEqual = module.exports = function (actual, expected, opts) { - if (!opts) opts = {}; // 7.1. All identical values are equivalent, as determined by ===. - if (actual === expected) { + if (opts.strict ? is(actual, expected) : actual === expected) { return true; + } + + var actualBoxed = whichBoxedPrimitive(actual); + var expectedBoxed = whichBoxedPrimitive(expected); + if (actualBoxed !== expectedBoxed) { + return false; + } - } else if (actual instanceof Date && expected instanceof Date) { - return actual.getTime() === expected.getTime(); + // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==. + if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) { + return opts.strict ? is(actual, expected) : actual == expected; // eslint-disable-line eqeqeq + } - // 7.3. Other pairs that do not both pass typeof value == 'object', - // equivalence is determined by ==. - } else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') { - return opts.strict ? actual === expected : actual == expected; + /* + * 7.4. For all other Object pairs, including Array objects, equivalence is + * determined by having the same number of owned properties (as verified + * with Object.prototype.hasOwnProperty.call), the same set of keys + * (although not necessarily the same order), equivalent values for every + * corresponding key, and an identical 'prototype' property. Note: this + * accounts for both named and indexed properties on Arrays. + */ + // see https://github.com/nodejs/node/commit/d3aafd02efd3a403d646a3044adcf14e63a88d32 for memos/channel inspiration - // 7.4. For all other Object pairs, including Array objects, equivalence is - // determined by having the same number of owned properties (as verified - // with Object.prototype.hasOwnProperty.call), the same set of keys - // (although not necessarily the same order), equivalent values for every - // corresponding key, and an identical 'prototype' property. Note: this - // accounts for both named and indexed properties on Arrays. + var hasActual = channel.has(actual); + var hasExpected = channel.has(expected); + var sentinel; + if (hasActual && hasExpected) { + if (channel.get(actual) === channel.get(expected)) { + return true; + } } else { - return objEquiv(actual, expected, opts); + sentinel = {}; } -} + if (!hasActual) { channel.set(actual, sentinel); } + if (!hasExpected) { channel.set(expected, sentinel); } -function isUndefinedOrNull(value) { - return value === null || value === undefined; + // eslint-disable-next-line no-use-before-define + return objEquiv(actual, expected, opts, channel); } -function isBuffer (x) { - if (!x || typeof x !== 'object' || typeof x.length !== 'number') return false; +function isBuffer(x) { + if (!x || typeof x !== 'object' || typeof x.length !== 'number') { + return false; + } if (typeof x.copy !== 'function' || typeof x.slice !== 'function') { return false; } - if (x.length > 0 && typeof x[0] !== 'number') return false; + if (x.length > 0 && typeof x[0] !== 'number') { + return false; + } + + return !!(x.constructor && x.constructor.isBuffer && x.constructor.isBuffer(x)); +} + +function setEquiv(a, b, opts, channel) { + if ($setSize(a) !== $setSize(b)) { + return false; + } + var iA = getIterator(a); + var iB = getIterator(b); + var resultA; + var resultB; + var set; + while ((resultA = iA.next()) && !resultA.done) { + if (resultA.value && typeof resultA.value === 'object') { + if (!set) { set = new $Set(); } + $setAdd(set, resultA.value); + } else if (!$setHas(b, resultA.value)) { + if (opts.strict) { return false; } + if (!setMightHaveLoosePrim(a, b, resultA.value)) { + return false; + } + if (!set) { set = new $Set(); } + $setAdd(set, resultA.value); + } + } + if (set) { + while ((resultB = iB.next()) && !resultB.done) { + // We have to check if a primitive value is already matching and only if it's not, go hunting for it. + if (resultB.value && typeof resultB.value === 'object') { + if (!setHasEqualElement(set, resultB.value, opts.strict, channel)) { + return false; + } + } else if ( + !opts.strict + && !$setHas(a, resultB.value) + && !setHasEqualElement(set, resultB.value, opts.strict, channel) + ) { + return false; + } + } + return $setSize(set) === 0; + } return true; } -function objEquiv(a, b, opts) { - var i, key; - if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) +function mapEquiv(a, b, opts, channel) { + if ($mapSize(a) !== $mapSize(b)) { return false; - // an identical 'prototype' property. - if (a.prototype !== b.prototype) return false; - //~~~I've managed to break Object.keys through screwy arguments passing. - // Converting to array solves the problem. - if (isArguments(a)) { - if (!isArguments(b)) { - return false; + } + var iA = getIterator(a); + var iB = getIterator(b); + var resultA; + var resultB; + var set; + var key; + var item1; + var item2; + while ((resultA = iA.next()) && !resultA.done) { + key = resultA.value[0]; + item1 = resultA.value[1]; + if (key && typeof key === 'object') { + if (!set) { set = new $Set(); } + $setAdd(set, key); + } else { + item2 = $mapGet(b, key); + if ((typeof item2 === 'undefined' && !$mapHas(b, key)) || !internalDeepEqual(item1, item2, opts, channel)) { + if (opts.strict) { + return false; + } + if (!mapMightHaveLoosePrim(a, b, key, item1, opts, channel)) { + return false; + } + if (!set) { set = new $Set(); } + $setAdd(set, key); + } } - a = pSlice.call(a); - b = pSlice.call(b); - return deepEqual(a, b, opts); } - if (isBuffer(a)) { - if (!isBuffer(b)) { - return false; + + if (set) { + while ((resultB = iB.next()) && !resultB.done) { + key = resultB.value[0]; + item2 = resultB.value[1]; + if (key && typeof key === 'object') { + if (!mapHasEqualEntry(set, a, key, item2, opts, channel)) { + return false; + } + } else if ( + !opts.strict + && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel)) + && !mapHasEqualEntry(set, a, key, item2, assign({}, opts, { strict: false }), channel) + ) { + return false; + } } - if (a.length !== b.length) return false; + return $setSize(set) === 0; + } + return true; +} + +function objEquiv(a, b, opts, channel) { + /* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5], max-lines: [2, 400] */ + var i, key; + + if (typeof a !== typeof b) { return false; } + if (a == null || b == null) { return false; } + + if ($objToString(a) !== $objToString(b)) { return false; } + + if (isArguments(a) !== isArguments(b)) { return false; } + + var aIsArray = isArray(a); + var bIsArray = isArray(b); + if (aIsArray !== bIsArray) { return false; } + + // TODO: replace when a cross-realm brand check is available + var aIsError = a instanceof Error; + var bIsError = b instanceof Error; + if (aIsError !== bIsError) { return false; } + if (aIsError || bIsError) { + if (a.name !== b.name || a.message !== b.message) { return false; } + } + + var aIsRegex = isRegex(a); + var bIsRegex = isRegex(b); + if (aIsRegex !== bIsRegex) { return false; } + if ((aIsRegex || bIsRegex) && (a.source !== b.source || flags(a) !== flags(b))) { + return false; + } + + var aIsDate = isDate(a); + var bIsDate = isDate(b); + if (aIsDate !== bIsDate) { return false; } + if (aIsDate || bIsDate) { // && would work too, because both are true or both false here + if ($getTime(a) !== $getTime(b)) { return false; } + } + if (opts.strict && gPO && gPO(a) !== gPO(b)) { return false; } + + var aWhich = whichTypedArray(a); + var bWhich = whichTypedArray(b); + if ((aWhich || bWhich) && aWhich !== bWhich) { + return false; + } + + var aIsBuffer = isBuffer(a); + var bIsBuffer = isBuffer(b); + if (aIsBuffer !== bIsBuffer) { return false; } + if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here + if (a.length !== b.length) { return false; } for (i = 0; i < a.length; i++) { - if (a[i] !== b[i]) return false; + if (a[i] !== b[i]) { return false; } } return true; } - try { - var ka = objectKeys(a), - kb = objectKeys(b); - } catch (e) {//happens when one is a string literal and the other isn't - return false; + + var aIsArrayBuffer = isArrayBuffer(a); + var bIsArrayBuffer = isArrayBuffer(b); + if (aIsArrayBuffer !== bIsArrayBuffer) { return false; } + if (aIsArrayBuffer || bIsArrayBuffer) { // && would work too, because both are true or both false here + if (byteLength(a) !== byteLength(b)) { return false; } + return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel); } - // having the same number of owned properties (keys incorporates - // hasOwnProperty) - if (ka.length != kb.length) - return false; - //the same set of keys (although not necessarily the same order), + + var aIsSAB = isSharedArrayBuffer(a); + var bIsSAB = isSharedArrayBuffer(b); + if (aIsSAB !== bIsSAB) { return false; } + if (aIsSAB || bIsSAB) { // && would work too, because both are true or both false here + if (sabByteLength(a) !== sabByteLength(b)) { return false; } + return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel); + } + + if (typeof a !== typeof b) { return false; } + + var ka = objectKeys(a); + var kb = objectKeys(b); + // having the same number of owned properties (keys incorporates hasOwnProperty) + if (ka.length !== kb.length) { return false; } + + // the same set of keys (although not necessarily the same order), ka.sort(); kb.sort(); - //~~~cheap key test + // ~~~cheap key test for (i = ka.length - 1; i >= 0; i--) { - if (ka[i] != kb[i]) - return false; + if (ka[i] != kb[i]) { return false; } // eslint-disable-line eqeqeq } - //equivalent values for every corresponding key, and - //~~~possibly expensive deep test + + // equivalent values for every corresponding key, and ~~~possibly expensive deep test for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; - if (!deepEqual(a[key], b[key], opts)) return false; + if (!internalDeepEqual(a[key], b[key], opts, channel)) { return false; } } - return typeof a === typeof b; -} -},{"./lib/is_arguments.js":347,"./lib/keys.js":348}],347:[function(require,module,exports){ -var supportsArgumentsClass = (function(){ - return Object.prototype.toString.call(arguments) -})() == '[object Arguments]'; + var aCollection = whichCollection(a); + var bCollection = whichCollection(b); + if (aCollection !== bCollection) { + return false; + } + if (aCollection === 'Set' || bCollection === 'Set') { // aCollection === bCollection + return setEquiv(a, b, opts, channel); + } + if (aCollection === 'Map') { // aCollection === bCollection + return mapEquiv(a, b, opts, channel); + } -exports = module.exports = supportsArgumentsClass ? supported : unsupported; + return true; +} -exports.supported = supported; -function supported(object) { - return Object.prototype.toString.call(object) == '[object Arguments]'; +module.exports = function deepEqual(a, b, opts) { + return internalDeepEqual(a, b, opts, getSideChannel()); }; -exports.unsupported = unsupported; -function unsupported(object){ - return object && - typeof object == 'object' && - typeof object.length == 'number' && - Object.prototype.hasOwnProperty.call(object, 'callee') && - !Object.prototype.propertyIsEnumerable.call(object, 'callee') || - false; +},{"call-bind/callBound":42,"es-get-iterator":351,"get-intrinsic":356,"is-arguments":366,"is-array-buffer":367,"is-date-object":371,"is-regex":375,"is-shared-array-buffer":377,"isarray":383,"object-is":386,"object-keys":390,"object.assign":393,"regexp.prototype.flags":400,"side-channel":403,"which-boxed-primitive":408,"which-collection":409,"which-typed-array":410}],350:[function(require,module,exports){ +'use strict'; + +var keys = require('object-keys'); +var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; + +var toStr = Object.prototype.toString; +var concat = Array.prototype.concat; +var origDefineProperty = Object.defineProperty; + +var isFunction = function (fn) { + return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; }; -},{}],348:[function(require,module,exports){ -exports = module.exports = typeof Object.keys === 'function' - ? Object.keys : shim; +var hasPropertyDescriptors = require('has-property-descriptors')(); -exports.shim = shim; -function shim (obj) { - var keys = []; - for (var key in obj) keys.push(key); - return keys; -} +var supportsDescriptors = origDefineProperty && hasPropertyDescriptors; -},{}],349:[function(require,module,exports){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = (nBytes * 8) - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] +var defineProperty = function (object, name, value, predicate) { + if (name in object) { + if (predicate === true) { + if (object[name] === value) { + return; + } + } else if (!isFunction(predicate) || !predicate()) { + return; + } + } + if (supportsDescriptors) { + origDefineProperty(object, name, { + configurable: true, + enumerable: false, + value: value, + writable: true + }); + } else { + object[name] = value; // eslint-disable-line no-param-reassign + } +}; - i += d +var defineProperties = function (object, map) { + var predicates = arguments.length > 2 ? arguments[2] : {}; + var props = keys(map); + if (hasSymbols) { + props = concat.call(props, Object.getOwnPropertySymbols(map)); + } + for (var i = 0; i < props.length; i += 1) { + defineProperty(object, props[i], map[props[i]], predicates[props[i]]); + } +}; - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} +defineProperties.supportsDescriptors = !!supportsDescriptors; - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} +module.exports = defineProperties; - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) +},{"has-property-descriptors":359,"object-keys":390}],351:[function(require,module,exports){ +(function (process){(function (){ +'use strict'; + +/* eslint global-require: 0 */ +// the code is structured this way so that bundlers can +// alias out `has-symbols` to `() => true` or `() => false` if your target +// environments' Symbol capabilities are known, and then use +// dead code elimination on the rest of this module. +// +// Similarly, `isarray` can be aliased to `Array.isArray` if +// available in all target environments. + +var isArguments = require('is-arguments'); +var getStopIterationIterator = require('stop-iteration-iterator'); + +if (require('has-symbols')() || require('has-symbols/shams')()) { + var $iterator = Symbol.iterator; + // Symbol is available natively or shammed + // natively: + // - Chrome >= 38 + // - Edge 12-14?, Edge >= 15 for sure + // - FF >= 36 + // - Safari >= 9 + // - node >= 0.12 + module.exports = function getIterator(iterable) { + // alternatively, `iterable[$iterator]?.()` + if (iterable != null && typeof iterable[$iterator] !== 'undefined') { + return iterable[$iterator](); + } + if (isArguments(iterable)) { + // arguments objects lack Symbol.iterator + // - node 0.12 + return Array.prototype[$iterator].call(iterable); + } + }; +} else { + // Symbol is not available, native or shammed + var isArray = require('isarray'); + var isString = require('is-string'); + var GetIntrinsic = require('get-intrinsic'); + var $Map = GetIntrinsic('%Map%', true); + var $Set = GetIntrinsic('%Set%', true); + var callBound = require('call-bind/callBound'); + var $arrayPush = callBound('Array.prototype.push'); + var $charCodeAt = callBound('String.prototype.charCodeAt'); + var $stringSlice = callBound('String.prototype.slice'); + + var advanceStringIndex = function advanceStringIndex(S, index) { + var length = S.length; + if ((index + 1) >= length) { + return index + 1; + } + + var first = $charCodeAt(S, index); + if (first < 0xD800 || first > 0xDBFF) { + return index + 1; + } + + var second = $charCodeAt(S, index + 1); + if (second < 0xDC00 || second > 0xDFFF) { + return index + 1; + } + + return index + 2; + }; + + var getArrayIterator = function getArrayIterator(arraylike) { + var i = 0; + return { + next: function next() { + var done = i >= arraylike.length; + var value; + if (!done) { + value = arraylike[i]; + i += 1; + } + return { + done: done, + value: value + }; + } + }; + }; + + var getNonCollectionIterator = function getNonCollectionIterator(iterable, noPrimordialCollections) { + if (isArray(iterable) || isArguments(iterable)) { + return getArrayIterator(iterable); + } + if (isString(iterable)) { + var i = 0; + return { + next: function next() { + var nextIndex = advanceStringIndex(iterable, i); + var value = $stringSlice(iterable, i, nextIndex); + i = nextIndex; + return { + done: nextIndex > iterable.length, + value: value + }; + } + }; + } + + // es6-shim and es-shims' es-map use a string "_es6-shim iterator_" property on different iterables, such as MapIterator. + if (noPrimordialCollections && typeof iterable['_es6-shim iterator_'] !== 'undefined') { + return iterable['_es6-shim iterator_'](); + } + }; + + if (!$Map && !$Set) { + // the only language iterables are Array, String, arguments + // - Safari <= 6.0 + // - Chrome < 38 + // - node < 0.12 + // - FF < 13 + // - IE < 11 + // - Edge < 11 + + module.exports = function getIterator(iterable) { + if (iterable != null) { + return getNonCollectionIterator(iterable, true); + } + }; + } else { + // either Map or Set are available, but Symbol is not + // - es6-shim on an ES5 browser + // - Safari 6.2 (maybe 6.1?) + // - FF v[13, 36) + // - IE 11 + // - Edge 11 + // - Safari v[6, 9) + + var isMap = require('is-map'); + var isSet = require('is-set'); + + // Firefox >= 27, IE 11, Safari 6.2 - 9, Edge 11, es6-shim in older envs, all have forEach + var $mapForEach = callBound('Map.prototype.forEach', true); + var $setForEach = callBound('Set.prototype.forEach', true); + if (typeof process === 'undefined' || !process.versions || !process.versions.node) { // "if is not node" + + // Firefox 17 - 26 has `.iterator()`, whose iterator `.next()` either + // returns a value, or throws a StopIteration object. These browsers + // do not have any other mechanism for iteration. + var $mapIterator = callBound('Map.prototype.iterator', true); + var $setIterator = callBound('Set.prototype.iterator', true); + } + // Firefox 27-35, and some older es6-shim versions, use a string "@@iterator" property + // this returns a proper iterator object, so we should use it instead of forEach. + // newer es6-shim versions use a string "_es6-shim iterator_" property. + var $mapAtAtIterator = callBound('Map.prototype.@@iterator', true) || callBound('Map.prototype._es6-shim iterator_', true); + var $setAtAtIterator = callBound('Set.prototype.@@iterator', true) || callBound('Set.prototype._es6-shim iterator_', true); + + var getCollectionIterator = function getCollectionIterator(iterable) { + if (isMap(iterable)) { + if ($mapIterator) { + return getStopIterationIterator($mapIterator(iterable)); + } + if ($mapAtAtIterator) { + return $mapAtAtIterator(iterable); + } + if ($mapForEach) { + var entries = []; + $mapForEach(iterable, function (v, k) { + $arrayPush(entries, [k, v]); + }); + return getArrayIterator(entries); + } + } + if (isSet(iterable)) { + if ($setIterator) { + return getStopIterationIterator($setIterator(iterable)); + } + if ($setAtAtIterator) { + return $setAtAtIterator(iterable); + } + if ($setForEach) { + var values = []; + $setForEach(iterable, function (v) { + $arrayPush(values, v); + }); + return getArrayIterator(values); + } + } + }; + + module.exports = function getIterator(iterable) { + return getCollectionIterator(iterable) || getNonCollectionIterator(iterable); + }; + } } -exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = (nBytes * 8) - mLen - 1 - var eMax = (1 << eLen) - 1 +}).call(this)}).call(this,require('_process')) +},{"_process":397,"call-bind/callBound":42,"get-intrinsic":356,"has-symbols":360,"has-symbols/shams":361,"is-arguments":366,"is-map":372,"is-set":376,"is-string":378,"isarray":383,"stop-iteration-iterator":404}],352:[function(require,module,exports){ +'use strict'; + +var isCallable = require('is-callable'); + +var toStr = Object.prototype.toString; +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var forEachArray = function forEachArray(array, iterator, receiver) { + for (var i = 0, len = array.length; i < len; i++) { + if (hasOwnProperty.call(array, i)) { + if (receiver == null) { + iterator(array[i], i, array); + } else { + iterator.call(receiver, array[i], i, array); + } + } + } +}; + +var forEachString = function forEachString(string, iterator, receiver) { + for (var i = 0, len = string.length; i < len; i++) { + // no such thing as a sparse string. + if (receiver == null) { + iterator(string.charAt(i), i, string); + } else { + iterator.call(receiver, string.charAt(i), i, string); + } + } +}; + +var forEachObject = function forEachObject(object, iterator, receiver) { + for (var k in object) { + if (hasOwnProperty.call(object, k)) { + if (receiver == null) { + iterator(object[k], k, object); + } else { + iterator.call(receiver, object[k], k, object); + } + } + } +}; + +var forEach = function forEach(list, iterator, thisArg) { + if (!isCallable(iterator)) { + throw new TypeError('iterator must be a function'); + } + + var receiver; + if (arguments.length >= 3) { + receiver = thisArg; + } + + if (toStr.call(list) === '[object Array]') { + forEachArray(list, iterator, receiver); + } else if (typeof list === 'string') { + forEachString(list, iterator, receiver); + } else { + forEachObject(list, iterator, receiver); + } +}; + +module.exports = forEach; + +},{"is-callable":370}],353:[function(require,module,exports){ +'use strict'; + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + +},{}],354:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = Function.prototype.bind || implementation; + +},{"./implementation":353}],355:[function(require,module,exports){ +'use strict'; + +var functionsHaveNames = function functionsHaveNames() { + return typeof function f() {}.name === 'string'; +}; + +var gOPD = Object.getOwnPropertyDescriptor; +if (gOPD) { + try { + gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + gOPD = null; + } +} + +functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() { + if (!functionsHaveNames() || !gOPD) { + return false; + } + var desc = gOPD(function () {}, 'name'); + return !!desc && !!desc.configurable; +}; + +var $bind = Function.prototype.bind; + +functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() { + return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== ''; +}; + +module.exports = functionsHaveNames; + +},{}],356:[function(require,module,exports){ +'use strict'; + +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = require('has-symbols')(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +try { + null.error; // eslint-disable-line no-unused-expressions +} catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = require('function-bind'); +var hasOwn = require('has'); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + +},{"function-bind":354,"has":363,"has-symbols":360}],357:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; + +},{"get-intrinsic":356}],358:[function(require,module,exports){ +'use strict'; + +var $BigInt = typeof BigInt !== 'undefined' && BigInt; + +module.exports = function hasNativeBigInts() { + return typeof $BigInt === 'function' + && typeof BigInt === 'function' + && typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers + && typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers +}; + +},{}],359:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); + +var hasPropertyDescriptors = function hasPropertyDescriptors() { + if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + return true; + } catch (e) { + // IE 8 has a broken defineProperty + return false; + } + } + return false; +}; + +hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() { + // node v0.6 has a bug where array lengths can be Set but not Defined + if (!hasPropertyDescriptors()) { + return null; + } + try { + return $defineProperty([], 'length', { value: 1 }).length !== 1; + } catch (e) { + // In Firefox 4-22, defining length on an array throws an exception. + return true; + } +}; + +module.exports = hasPropertyDescriptors; + +},{"get-intrinsic":356}],360:[function(require,module,exports){ +'use strict'; + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = require('./shams'); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + +},{"./shams":361}],361:[function(require,module,exports){ +'use strict'; + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + +},{}],362:[function(require,module,exports){ +'use strict'; + +var hasSymbols = require('has-symbols/shams'); + +module.exports = function hasToStringTagShams() { + return hasSymbols() && !!Symbol.toStringTag; +}; + +},{"has-symbols/shams":361}],363:[function(require,module,exports){ +'use strict'; + +var bind = require('function-bind'); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + +},{"function-bind":354}],364:[function(require,module,exports){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +exports.read = function (buffer, offset, isLE, mLen, nBytes) { + var e, m + var eLen = (nBytes * 8) - mLen - 1 + var eMax = (1 << eLen) - 1 + var eBias = eMax >> 1 + var nBits = -7 + var i = isLE ? (nBytes - 1) : 0 + var d = isLE ? -1 : 1 + var s = buffer[offset + i] + + i += d + + e = s & ((1 << (-nBits)) - 1) + s >>= (-nBits) + nBits += eLen + for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} + + m = e & ((1 << (-nBits)) - 1) + e >>= (-nBits) + nBits += mLen + for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} + + if (e === 0) { + e = 1 - eBias + } else if (e === eMax) { + return m ? NaN : ((s ? -1 : 1) * Infinity) + } else { + m = m + Math.pow(2, mLen) + e = e - eBias + } + return (s ? -1 : 1) * m * Math.pow(2, e - mLen) +} + +exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { + var e, m, c + var eLen = (nBytes * 8) - mLen - 1 + var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) var i = isLE ? 0 : (nBytes - 1) @@ -11437,7 +12697,390 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { buffer[offset + i - d] |= s * 128 } -},{}],350:[function(require,module,exports){ +},{}],365:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var has = require('has'); +var channel = require('side-channel')(); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var SLOT = { + assert: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + channel.assert(O); + if (!SLOT.has(O, slot)) { + throw new $TypeError('`' + slot + '` is not present on `O`'); + } + }, + get: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + return slots && slots['$' + slot]; + }, + has: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + return !!slots && has(slots, '$' + slot); + }, + set: function (O, slot, V) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + if (!slots) { + slots = {}; + channel.set(O, slots); + } + slots['$' + slot] = V; + } +}; + +if (Object.freeze) { + Object.freeze(SLOT); +} + +module.exports = SLOT; + +},{"get-intrinsic":356,"has":363,"side-channel":403}],366:[function(require,module,exports){ +'use strict'; + +var hasToStringTag = require('has-tostringtag/shams')(); +var callBound = require('call-bind/callBound'); + +var $toString = callBound('Object.prototype.toString'); + +var isStandardArguments = function isArguments(value) { + if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) { + return false; + } + return $toString(value) === '[object Arguments]'; +}; + +var isLegacyArguments = function isArguments(value) { + if (isStandardArguments(value)) { + return true; + } + return value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + $toString(value) !== '[object Array]' && + $toString(value.callee) === '[object Function]'; +}; + +var supportsStandardArguments = (function () { + return isStandardArguments(arguments); +}()); + +isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests + +module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments; + +},{"call-bind/callBound":42,"has-tostringtag/shams":362}],367:[function(require,module,exports){ +'use strict'; + +var callBind = require('call-bind'); +var callBound = require('call-bind/callBound'); +var GetIntrinsic = require('get-intrinsic'); +var isTypedArray = require('is-typed-array'); + +var $ArrayBuffer = GetIntrinsic('ArrayBuffer', true); +var $Float32Array = GetIntrinsic('Float32Array', true); +var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true); + +// in node 0.10, ArrayBuffers have no prototype methods, but have an own slot-checking `slice` method +var abSlice = $ArrayBuffer && !$byteLength && new $ArrayBuffer().slice; +var $abSlice = abSlice && callBind(abSlice); + +module.exports = $byteLength || $abSlice + ? function isArrayBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + try { + if ($byteLength) { + $byteLength(obj); + } else { + $abSlice(obj, 0); + } + return true; + } catch (e) { + return false; + } + } + : $Float32Array + // in node 0.8, ArrayBuffers have no prototype or own methods + ? function IsArrayBuffer(obj) { + try { + return (new $Float32Array(obj)).buffer === obj && !isTypedArray(obj); + } catch (e) { + return typeof obj === 'object' && e.name === 'RangeError'; + } + } + : function isArrayBuffer(obj) { // eslint-disable-line no-unused-vars + return false; + }; + +},{"call-bind":43,"call-bind/callBound":42,"get-intrinsic":356,"is-typed-array":380}],368:[function(require,module,exports){ +'use strict'; + +var hasBigInts = require('has-bigints')(); + +if (hasBigInts) { + var bigIntValueOf = BigInt.prototype.valueOf; + var tryBigInt = function tryBigIntObject(value) { + try { + bigIntValueOf.call(value); + return true; + } catch (e) { + } + return false; + }; + + module.exports = function isBigInt(value) { + if ( + value === null + || typeof value === 'undefined' + || typeof value === 'boolean' + || typeof value === 'string' + || typeof value === 'number' + || typeof value === 'symbol' + || typeof value === 'function' + ) { + return false; + } + if (typeof value === 'bigint') { + return true; + } + + return tryBigInt(value); + }; +} else { + module.exports = function isBigInt(value) { + return false && value; + }; +} + +},{"has-bigints":358}],369:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); +var $boolToStr = callBound('Boolean.prototype.toString'); +var $toString = callBound('Object.prototype.toString'); + +var tryBooleanObject = function booleanBrandCheck(value) { + try { + $boolToStr(value); + return true; + } catch (e) { + return false; + } +}; +var boolClass = '[object Boolean]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isBoolean(value) { + if (typeof value === 'boolean') { + return true; + } + if (value === null || typeof value !== 'object') { + return false; + } + return hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString(value) === boolClass; +}; + +},{"call-bind/callBound":42,"has-tostringtag/shams":362}],370:[function(require,module,exports){ +'use strict'; + +var fnToStr = Function.prototype.toString; +var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply; +var badArrayLike; +var isCallableMarker; +if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') { + try { + badArrayLike = Object.defineProperty({}, 'length', { + get: function () { + throw isCallableMarker; + } + }); + isCallableMarker = {}; + // eslint-disable-next-line no-throw-literal + reflectApply(function () { throw 42; }, null, badArrayLike); + } catch (_) { + if (_ !== isCallableMarker) { + reflectApply = null; + } + } +} else { + reflectApply = null; +} + +var constructorRegex = /^\s*class\b/; +var isES6ClassFn = function isES6ClassFunction(value) { + try { + var fnStr = fnToStr.call(value); + return constructorRegex.test(fnStr); + } catch (e) { + return false; // not a function + } +}; + +var tryFunctionObject = function tryFunctionToStr(value) { + try { + if (isES6ClassFn(value)) { return false; } + fnToStr.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var objectClass = '[object Object]'; +var fnClass = '[object Function]'; +var genClass = '[object GeneratorFunction]'; +var ddaClass = '[object HTMLAllCollection]'; // IE 11 +var ddaClass2 = '[object HTML document.all class]'; +var ddaClass3 = '[object HTMLCollection]'; // IE 9-10 +var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` + +var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing + +var isDDA = function isDocumentDotAll() { return false; }; +if (typeof document === 'object') { + // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly + var all = document.all; + if (toStr.call(all) === toStr.call(document.all)) { + isDDA = function isDocumentDotAll(value) { + /* globals document: false */ + // in IE 6-8, typeof document.all is "object" and it's truthy + if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) { + try { + var str = toStr.call(value); + return ( + str === ddaClass + || str === ddaClass2 + || str === ddaClass3 // opera 12.16 + || str === objectClass // IE 6-8 + ) && value('') == null; // eslint-disable-line eqeqeq + } catch (e) { /**/ } + } + return false; + }; + } +} + +module.exports = reflectApply + ? function isCallable(value) { + if (isDDA(value)) { return true; } + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + try { + reflectApply(value, null, badArrayLike); + } catch (e) { + if (e !== isCallableMarker) { return false; } + } + return !isES6ClassFn(value) && tryFunctionObject(value); + } + : function isCallable(value) { + if (isDDA(value)) { return true; } + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + if (hasToStringTag) { return tryFunctionObject(value); } + if (isES6ClassFn(value)) { return false; } + var strClass = toStr.call(value); + if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { return false; } + return tryFunctionObject(value); + }; + +},{}],371:[function(require,module,exports){ +'use strict'; + +var getDay = Date.prototype.getDay; +var tryDateObject = function tryDateGetDayCall(value) { + try { + getDay.call(value); + return true; + } catch (e) { + return false; + } +}; + +var toStr = Object.prototype.toString; +var dateClass = '[object Date]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isDateObject(value) { + if (typeof value !== 'object' || value === null) { + return false; + } + return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; +}; + +},{"has-tostringtag/shams":362}],372:[function(require,module,exports){ +'use strict'; + +var $Map = typeof Map === 'function' && Map.prototype ? Map : null; +var $Set = typeof Set === 'function' && Set.prototype ? Set : null; + +var exported; + +if (!$Map) { + // eslint-disable-next-line no-unused-vars + exported = function isMap(x) { + // `Map` is not present in this environment. + return false; + }; +} + +var $mapHas = $Map ? Map.prototype.has : null; +var $setHas = $Set ? Set.prototype.has : null; +if (!exported && !$mapHas) { + // eslint-disable-next-line no-unused-vars + exported = function isMap(x) { + // `Map` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isMap(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $mapHas.call(x); + if ($setHas) { + try { + $setHas.call(x); + } catch (e) { + return true; + } + } + return x instanceof $Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +}; + +},{}],373:[function(require,module,exports){ (function (process){(function (){ // Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md 'use strict'; @@ -11445,7 +13088,1282 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { exports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node); }).call(this)}).call(this,require('_process')) -},{"_process":352}],351:[function(require,module,exports){ +},{"_process":397}],374:[function(require,module,exports){ +'use strict'; + +var numToStr = Number.prototype.toString; +var tryNumberObject = function tryNumberObject(value) { + try { + numToStr.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var numClass = '[object Number]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isNumberObject(value) { + if (typeof value === 'number') { + return true; + } + if (typeof value !== 'object') { + return false; + } + return hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass; +}; + +},{"has-tostringtag/shams":362}],375:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); +var hasToStringTag = require('has-tostringtag/shams')(); +var has; +var $exec; +var isRegexMarker; +var badStringifier; + +if (hasToStringTag) { + has = callBound('Object.prototype.hasOwnProperty'); + $exec = callBound('RegExp.prototype.exec'); + isRegexMarker = {}; + + var throwRegexMarker = function () { + throw isRegexMarker; + }; + badStringifier = { + toString: throwRegexMarker, + valueOf: throwRegexMarker + }; + + if (typeof Symbol.toPrimitive === 'symbol') { + badStringifier[Symbol.toPrimitive] = throwRegexMarker; + } +} + +var $toString = callBound('Object.prototype.toString'); +var gOPD = Object.getOwnPropertyDescriptor; +var regexClass = '[object RegExp]'; + +module.exports = hasToStringTag + // eslint-disable-next-line consistent-return + ? function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } + + var descriptor = gOPD(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } + + try { + $exec(value, badStringifier); + } catch (e) { + return e === isRegexMarker; + } + } + : function isRegex(value) { + // In older browsers, typeof regex incorrectly returns 'function' + if (!value || (typeof value !== 'object' && typeof value !== 'function')) { + return false; + } + + return $toString(value) === regexClass; + }; + +},{"call-bind/callBound":42,"has-tostringtag/shams":362}],376:[function(require,module,exports){ +'use strict'; + +var $Map = typeof Map === 'function' && Map.prototype ? Map : null; +var $Set = typeof Set === 'function' && Set.prototype ? Set : null; + +var exported; + +if (!$Set) { + // eslint-disable-next-line no-unused-vars + exported = function isSet(x) { + // `Set` is not present in this environment. + return false; + }; +} + +var $mapHas = $Map ? Map.prototype.has : null; +var $setHas = $Set ? Set.prototype.has : null; +if (!exported && !$setHas) { + // eslint-disable-next-line no-unused-vars + exported = function isSet(x) { + // `Set` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isSet(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $setHas.call(x); + if ($mapHas) { + try { + $mapHas.call(x); + } catch (e) { + return true; + } + } + return x instanceof $Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +}; + +},{}],377:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); + +var $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true); + +module.exports = $byteLength + ? function isSharedArrayBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + try { + $byteLength(obj); + return true; + } catch (e) { + return false; + } + } + : function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars + return false; + }; + +},{"call-bind/callBound":42}],378:[function(require,module,exports){ +'use strict'; + +var strValue = String.prototype.valueOf; +var tryStringObject = function tryStringObject(value) { + try { + strValue.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var strClass = '[object String]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isString(value) { + if (typeof value === 'string') { + return true; + } + if (typeof value !== 'object') { + return false; + } + return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass; +}; + +},{"has-tostringtag/shams":362}],379:[function(require,module,exports){ +'use strict'; + +var toStr = Object.prototype.toString; +var hasSymbols = require('has-symbols')(); + +if (hasSymbols) { + var symToStr = Symbol.prototype.toString; + var symStringRegex = /^Symbol\(.*\)$/; + var isSymbolObject = function isRealSymbolObject(value) { + if (typeof value.valueOf() !== 'symbol') { + return false; + } + return symStringRegex.test(symToStr.call(value)); + }; + + module.exports = function isSymbol(value) { + if (typeof value === 'symbol') { + return true; + } + if (toStr.call(value) !== '[object Symbol]') { + return false; + } + try { + return isSymbolObject(value); + } catch (e) { + return false; + } + }; +} else { + + module.exports = function isSymbol(value) { + // this environment does not support Symbols. + return false && value; + }; +} + +},{"has-symbols":360}],380:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var forEach = require('for-each'); +var availableTypedArrays = require('available-typed-arrays'); +var callBound = require('call-bind/callBound'); + +var $toString = callBound('Object.prototype.toString'); +var hasToStringTag = require('has-tostringtag/shams')(); +var gOPD = require('gopd'); + +var g = typeof globalThis === 'undefined' ? global : globalThis; +var typedArrays = availableTypedArrays(); + +var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) { + for (var i = 0; i < array.length; i += 1) { + if (array[i] === value) { + return i; + } + } + return -1; +}; +var $slice = callBound('String.prototype.slice'); +var toStrTags = {}; +var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); +if (hasToStringTag && gOPD && getPrototypeOf) { + forEach(typedArrays, function (typedArray) { + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; + } + }); +} + +var tryTypedArrays = function tryAllTypedArrays(value) { + var anyTrue = false; + forEach(toStrTags, function (getter, typedArray) { + if (!anyTrue) { + try { + anyTrue = getter.call(value) === typedArray; + } catch (e) { /**/ } + } + }); + return anyTrue; +}; + +module.exports = function isTypedArray(value) { + if (!value || typeof value !== 'object') { return false; } + if (!hasToStringTag || !(Symbol.toStringTag in value)) { + var tag = $slice($toString(value), 8, -1); + return $indexOf(typedArrays, tag) > -1; + } + if (!gOPD) { return false; } + return tryTypedArrays(value); +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"available-typed-arrays":38,"call-bind/callBound":42,"for-each":352,"gopd":357,"has-tostringtag/shams":362}],381:[function(require,module,exports){ +'use strict'; + +var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null; +var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null; + +var exported; + +if (!$WeakMap) { + // eslint-disable-next-line no-unused-vars + exported = function isWeakMap(x) { + // `WeakMap` is not present in this environment. + return false; + }; +} + +var $mapHas = $WeakMap ? $WeakMap.prototype.has : null; +var $setHas = $WeakSet ? $WeakSet.prototype.has : null; +if (!exported && !$mapHas) { + // eslint-disable-next-line no-unused-vars + exported = function isWeakMap(x) { + // `WeakMap` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isWeakMap(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $mapHas.call(x, $mapHas); + if ($setHas) { + try { + $setHas.call(x, $setHas); + } catch (e) { + return true; + } + } + return x instanceof $WeakMap; // core-js workaround, pre-v3 + } catch (e) {} + return false; +}; + +},{}],382:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bind/callBound'); + +var $WeakSet = GetIntrinsic('%WeakSet%', true); + +var $setHas = callBound('WeakSet.prototype.has', true); + +if ($setHas) { + var $mapHas = callBound('WeakMap.prototype.has', true); + + module.exports = function isWeakSet(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $setHas(x, $setHas); + if ($mapHas) { + try { + $mapHas(x, $mapHas); + } catch (e) { + return true; + } + } + return x instanceof $WeakSet; // core-js workaround, pre-v3 + } catch (e) {} + return false; + }; +} else { + // eslint-disable-next-line no-unused-vars + module.exports = function isWeakSet(x) { + // `WeakSet` does not exist, or does not have a `has` method + return false; + }; +} + +},{"call-bind/callBound":42,"get-intrinsic":356}],383:[function(require,module,exports){ +var toString = {}.toString; + +module.exports = Array.isArray || function (arr) { + return toString.call(arr) == '[object Array]'; +}; + +},{}],384:[function(require,module,exports){ +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = require('./util.inspect'); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} + +},{"./util.inspect":40}],385:[function(require,module,exports){ +'use strict'; + +var numberIsNaN = function (value) { + return value !== value; +}; + +module.exports = function is(a, b) { + if (a === 0 && b === 0) { + return 1 / a === 1 / b; + } + if (a === b) { + return true; + } + if (numberIsNaN(a) && numberIsNaN(b)) { + return true; + } + return false; +}; + + +},{}],386:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var polyfill = callBind(getPolyfill(), Object); + +define(polyfill, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = polyfill; + +},{"./implementation":385,"./polyfill":387,"./shim":388,"call-bind":43,"define-properties":350}],387:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = function getPolyfill() { + return typeof Object.is === 'function' ? Object.is : implementation; +}; + +},{"./implementation":385}],388:[function(require,module,exports){ +'use strict'; + +var getPolyfill = require('./polyfill'); +var define = require('define-properties'); + +module.exports = function shimObjectIs() { + var polyfill = getPolyfill(); + define(Object, { is: polyfill }, { + is: function testObjectIs() { + return Object.is !== polyfill; + } + }); + return polyfill; +}; + +},{"./polyfill":387,"define-properties":350}],389:[function(require,module,exports){ +'use strict'; + +var keysShim; +if (!Object.keys) { + // modified from https://github.com/es-shims/es5-shim + var has = Object.prototype.hasOwnProperty; + var toStr = Object.prototype.toString; + var isArgs = require('./isArguments'); // eslint-disable-line global-require + var isEnumerable = Object.prototype.propertyIsEnumerable; + var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); + var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); + var dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ]; + var equalsConstructorPrototype = function (o) { + var ctor = o.constructor; + return ctor && ctor.prototype === o; + }; + var excludedKeys = { + $applicationCache: true, + $console: true, + $external: true, + $frame: true, + $frameElement: true, + $frames: true, + $innerHeight: true, + $innerWidth: true, + $onmozfullscreenchange: true, + $onmozfullscreenerror: true, + $outerHeight: true, + $outerWidth: true, + $pageXOffset: true, + $pageYOffset: true, + $parent: true, + $scrollLeft: true, + $scrollTop: true, + $scrollX: true, + $scrollY: true, + $self: true, + $webkitIndexedDB: true, + $webkitStorageInfo: true, + $window: true + }; + var hasAutomationEqualityBug = (function () { + /* global window */ + if (typeof window === 'undefined') { return false; } + for (var k in window) { + try { + if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { + try { + equalsConstructorPrototype(window[k]); + } catch (e) { + return true; + } + } + } catch (e) { + return true; + } + } + return false; + }()); + var equalsConstructorPrototypeIfNotBuggy = function (o) { + /* global window */ + if (typeof window === 'undefined' || !hasAutomationEqualityBug) { + return equalsConstructorPrototype(o); + } + try { + return equalsConstructorPrototype(o); + } catch (e) { + return false; + } + }; + + keysShim = function keys(object) { + var isObject = object !== null && typeof object === 'object'; + var isFunction = toStr.call(object) === '[object Function]'; + var isArguments = isArgs(object); + var isString = isObject && toStr.call(object) === '[object String]'; + var theKeys = []; + + if (!isObject && !isFunction && !isArguments) { + throw new TypeError('Object.keys called on a non-object'); + } + + var skipProto = hasProtoEnumBug && isFunction; + if (isString && object.length > 0 && !has.call(object, 0)) { + for (var i = 0; i < object.length; ++i) { + theKeys.push(String(i)); + } + } + + if (isArguments && object.length > 0) { + for (var j = 0; j < object.length; ++j) { + theKeys.push(String(j)); + } + } else { + for (var name in object) { + if (!(skipProto && name === 'prototype') && has.call(object, name)) { + theKeys.push(String(name)); + } + } + } + + if (hasDontEnumBug) { + var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); + + for (var k = 0; k < dontEnums.length; ++k) { + if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { + theKeys.push(dontEnums[k]); + } + } + } + return theKeys; + }; +} +module.exports = keysShim; + +},{"./isArguments":391}],390:[function(require,module,exports){ +'use strict'; + +var slice = Array.prototype.slice; +var isArgs = require('./isArguments'); + +var origKeys = Object.keys; +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation'); + +var originalKeys = Object.keys; + +keysShim.shim = function shimObjectKeys() { + if (Object.keys) { + var keysWorksWithArguments = (function () { + // Safari 5.0 bug + var args = Object.keys(arguments); + return args && args.length === arguments.length; + }(1, 2)); + if (!keysWorksWithArguments) { + Object.keys = function keys(object) { // eslint-disable-line func-name-matching + if (isArgs(object)) { + return originalKeys(slice.call(object)); + } + return originalKeys(object); + }; + } + } else { + Object.keys = keysShim; + } + return Object.keys || keysShim; +}; + +module.exports = keysShim; + +},{"./implementation":389,"./isArguments":391}],391:[function(require,module,exports){ +'use strict'; + +var toStr = Object.prototype.toString; + +module.exports = function isArguments(value) { + var str = toStr.call(value); + var isArgs = str === '[object Arguments]'; + if (!isArgs) { + isArgs = str !== '[object Array]' && + value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + toStr.call(value.callee) === '[object Function]'; + } + return isArgs; +}; + +},{}],392:[function(require,module,exports){ +'use strict'; + +// modified from https://github.com/es-shims/es6-shim +var objectKeys = require('object-keys'); +var hasSymbols = require('has-symbols/shams')(); +var callBound = require('call-bind/callBound'); +var toObject = Object; +var $push = callBound('Array.prototype.push'); +var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); +var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null; + +// eslint-disable-next-line no-unused-vars +module.exports = function assign(target, source1) { + if (target == null) { throw new TypeError('target must be an object'); } + var to = toObject(target); // step 1 + if (arguments.length === 1) { + return to; // step 2 + } + for (var s = 1; s < arguments.length; ++s) { + var from = toObject(arguments[s]); // step 3.a.i + + // step 3.a.ii: + var keys = objectKeys(from); + var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols); + if (getSymbols) { + var syms = getSymbols(from); + for (var j = 0; j < syms.length; ++j) { + var key = syms[j]; + if ($propIsEnumerable(from, key)) { + $push(keys, key); + } + } + } + + // step 3.a.iii: + for (var i = 0; i < keys.length; ++i) { + var nextKey = keys[i]; + if ($propIsEnumerable(from, nextKey)) { // step 3.a.iii.2 + var propValue = from[nextKey]; // step 3.a.iii.2.a + to[nextKey] = propValue; // step 3.a.iii.2.b + } + } + } + + return to; // step 4 +}; + +},{"call-bind/callBound":42,"has-symbols/shams":361,"object-keys":390}],393:[function(require,module,exports){ +'use strict'; + +var defineProperties = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var polyfill = callBind.apply(getPolyfill()); +// eslint-disable-next-line no-unused-vars +var bound = function assign(target, source1) { + return polyfill(Object, arguments); +}; + +defineProperties(bound, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = bound; + +},{"./implementation":392,"./polyfill":394,"./shim":395,"call-bind":43,"define-properties":350}],394:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +var lacksProperEnumerationOrder = function () { + if (!Object.assign) { + return false; + } + /* + * v8, specifically in node 4.x, has a bug with incorrect property enumeration order + * note: this does not detect the bug unless there's 20 characters + */ + var str = 'abcdefghijklmnopqrst'; + var letters = str.split(''); + var map = {}; + for (var i = 0; i < letters.length; ++i) { + map[letters[i]] = letters[i]; + } + var obj = Object.assign({}, map); + var actual = ''; + for (var k in obj) { + actual += k; + } + return str !== actual; +}; + +var assignHasPendingExceptions = function () { + if (!Object.assign || !Object.preventExtensions) { + return false; + } + /* + * Firefox 37 still has "pending exception" logic in its Object.assign implementation, + * which is 72% slower than our shim, and Firefox 40's native implementation. + */ + var thrower = Object.preventExtensions({ 1: 2 }); + try { + Object.assign(thrower, 'xy'); + } catch (e) { + return thrower[1] === 'y'; + } + return false; +}; + +module.exports = function getPolyfill() { + if (!Object.assign) { + return implementation; + } + if (lacksProperEnumerationOrder()) { + return implementation; + } + if (assignHasPendingExceptions()) { + return implementation; + } + return Object.assign; +}; + +},{"./implementation":392}],395:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var getPolyfill = require('./polyfill'); + +module.exports = function shimAssign() { + var polyfill = getPolyfill(); + define( + Object, + { assign: polyfill }, + { assign: function () { return Object.assign !== polyfill; } } + ); + return polyfill; +}; + +},{"./polyfill":394,"define-properties":350}],396:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.now = exports.removeTooOldValues = exports.ObliviousSet = void 0; @@ -11523,7 +14441,7 @@ function now() { } exports.now = now; -},{}],352:[function(require,module,exports){ +},{}],397:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; @@ -11709,7 +14627,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{}],353:[function(require,module,exports){ +},{}],398:[function(require,module,exports){ /** * Copyright (c) 2014-present, Facebook, Inc. * @@ -12472,7 +15390,305 @@ try { } } -},{}],354:[function(require,module,exports){ +},{}],399:[function(require,module,exports){ +'use strict'; + +var functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames(); + +var $Object = Object; +var $TypeError = TypeError; + +module.exports = function flags() { + if (this != null && this !== $Object(this)) { + throw new $TypeError('RegExp.prototype.flags getter called on non-object'); + } + var result = ''; + if (this.hasIndices) { + result += 'd'; + } + if (this.global) { + result += 'g'; + } + if (this.ignoreCase) { + result += 'i'; + } + if (this.multiline) { + result += 'm'; + } + if (this.dotAll) { + result += 's'; + } + if (this.unicode) { + result += 'u'; + } + if (this.unicodeSets) { + result += 'v'; + } + if (this.sticky) { + result += 'y'; + } + return result; +}; + +if (functionsHaveConfigurableNames && Object.defineProperty) { + Object.defineProperty(module.exports, 'name', { value: 'get flags' }); +} + +},{"functions-have-names":355}],400:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var flagsBound = callBind(getPolyfill()); + +define(flagsBound, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = flagsBound; + +},{"./implementation":399,"./polyfill":401,"./shim":402,"call-bind":43,"define-properties":350}],401:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +var supportsDescriptors = require('define-properties').supportsDescriptors; +var $gOPD = Object.getOwnPropertyDescriptor; + +module.exports = function getPolyfill() { + if (supportsDescriptors && (/a/mig).flags === 'gim') { + var descriptor = $gOPD(RegExp.prototype, 'flags'); + if ( + descriptor + && typeof descriptor.get === 'function' + && typeof RegExp.prototype.dotAll === 'boolean' + && typeof RegExp.prototype.hasIndices === 'boolean' + ) { + /* eslint getter-return: 0 */ + var calls = ''; + var o = {}; + Object.defineProperty(o, 'hasIndices', { + get: function () { + calls += 'd'; + } + }); + Object.defineProperty(o, 'sticky', { + get: function () { + calls += 'y'; + } + }); + if (calls === 'dy') { + return descriptor.get; + } + } + } + return implementation; +}; + +},{"./implementation":399,"define-properties":350}],402:[function(require,module,exports){ +'use strict'; + +var supportsDescriptors = require('define-properties').supportsDescriptors; +var getPolyfill = require('./polyfill'); +var gOPD = Object.getOwnPropertyDescriptor; +var defineProperty = Object.defineProperty; +var TypeErr = TypeError; +var getProto = Object.getPrototypeOf; +var regex = /a/; + +module.exports = function shimFlags() { + if (!supportsDescriptors || !getProto) { + throw new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); + } + var polyfill = getPolyfill(); + var proto = getProto(regex); + var descriptor = gOPD(proto, 'flags'); + if (!descriptor || descriptor.get !== polyfill) { + defineProperty(proto, 'flags', { + configurable: true, + enumerable: false, + get: polyfill + }); + } + return polyfill; +}; + +},{"./polyfill":401,"define-properties":350}],403:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bind/callBound'); +var inspect = require('object-inspect'); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); +var $Map = GetIntrinsic('%Map%', true); + +var $weakMapGet = callBound('WeakMap.prototype.get', true); +var $weakMapSet = callBound('WeakMap.prototype.set', true); +var $weakMapHas = callBound('WeakMap.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSet = callBound('Map.prototype.set', true); +var $mapHas = callBound('Map.prototype.has', true); + +/* + * This function traverses the list returning the node corresponding to the + * given key. + * + * That node is also moved to the head of the list, so that if it's accessed + * again we don't need to traverse the whole list. By doing so, all the recently + * used nodes can be accessed relatively quickly. + */ +var listGetNode = function (list, key) { // eslint-disable-line consistent-return + for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + curr.next = list.next; + list.next = curr; // eslint-disable-line no-param-reassign + return curr; + } + } +}; + +var listGet = function (objects, key) { + var node = listGetNode(objects, key); + return node && node.value; +}; +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = { // eslint-disable-line no-param-reassign + key: key, + next: objects.next, + value: value + }; + } +}; +var listHas = function (objects, key) { + return !!listGetNode(objects, key); +}; + +module.exports = function getSideChannel() { + var $wm; + var $m; + var $o; + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + get: function (key) { // eslint-disable-line consistent-return + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapGet($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listGet($o, key); + } + } + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapHas($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listHas($o, key); + } + } + return false; + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if ($Map) { + if (!$m) { + $m = new $Map(); + } + $mapSet($m, key, value); + } else { + if (!$o) { + /* + * Initialize the linked list as an empty node, so that we don't have + * to special-case handling of the first node: we can always refer to + * it as (previous node).next, instead of something like (list).head + */ + $o = { key: {}, next: null }; + } + listSet($o, key, value); + } + } + }; + return channel; +}; + +},{"call-bind/callBound":42,"get-intrinsic":356,"object-inspect":384}],404:[function(require,module,exports){ +'use strict'; + +var SLOT = require('internal-slot'); + +var $SyntaxError = SyntaxError; +var $StopIteration = typeof StopIteration === 'object' ? StopIteration : null; + +module.exports = function getStopIterationIterator(origIterator) { + if (!$StopIteration) { + throw new $SyntaxError('this environment lacks StopIteration'); + } + + SLOT.set(origIterator, '[[Done]]', false); + + var siIterator = { + next: function next() { + var iterator = SLOT.get(this, '[[Iterator]]'); + var done = SLOT.get(iterator, '[[Done]]'); + try { + return { + done: done, + value: done ? void undefined : iterator.next() + }; + } catch (e) { + SLOT.set(iterator, '[[Done]]', true); + if (e !== $StopIteration) { + throw e; + } + return { + done: true, + value: void undefined + }; + } + } + }; + + SLOT.set(siIterator, '[[Iterator]]', origIterator); + + return siIterator; +}; + +},{"internal-slot":365}],405:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -12524,7 +15740,7 @@ function addBrowser(fn) { * @link https://stackoverflow.com/a/26193516/3443137 */ } -},{}],355:[function(require,module,exports){ +},{}],406:[function(require,module,exports){ (function (process){(function (){ "use strict"; @@ -12585,7 +15801,7 @@ function getSize() { return LISTENERS.size; } }).call(this)}).call(this,require('_process')) -},{"./browser.js":354,"./node.js":356,"_process":352}],356:[function(require,module,exports){ +},{"./browser.js":405,"./node.js":407,"_process":397}],407:[function(require,module,exports){ (function (process){(function (){ "use strict"; @@ -12624,7 +15840,124 @@ function addNode(fn) { }); } }).call(this)}).call(this,require('_process')) -},{"_process":352}],357:[function(require,module,exports){ +},{"_process":397}],408:[function(require,module,exports){ +'use strict'; + +var isString = require('is-string'); +var isNumber = require('is-number-object'); +var isBoolean = require('is-boolean-object'); +var isSymbol = require('is-symbol'); +var isBigInt = require('is-bigint'); + +// eslint-disable-next-line consistent-return +module.exports = function whichBoxedPrimitive(value) { + // eslint-disable-next-line eqeqeq + if (value == null || (typeof value !== 'object' && typeof value !== 'function')) { + return null; + } + if (isString(value)) { + return 'String'; + } + if (isNumber(value)) { + return 'Number'; + } + if (isBoolean(value)) { + return 'Boolean'; + } + if (isSymbol(value)) { + return 'Symbol'; + } + if (isBigInt(value)) { + return 'BigInt'; + } +}; + +},{"is-bigint":368,"is-boolean-object":369,"is-number-object":374,"is-string":378,"is-symbol":379}],409:[function(require,module,exports){ +'use strict'; + +var isMap = require('is-map'); +var isSet = require('is-set'); +var isWeakMap = require('is-weakmap'); +var isWeakSet = require('is-weakset'); + +module.exports = function whichCollection(value) { + if (value && typeof value === 'object') { + if (isMap(value)) { + return 'Map'; + } + if (isSet(value)) { + return 'Set'; + } + if (isWeakMap(value)) { + return 'WeakMap'; + } + if (isWeakSet(value)) { + return 'WeakSet'; + } + } + return false; +}; + +},{"is-map":372,"is-set":376,"is-weakmap":381,"is-weakset":382}],410:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var forEach = require('for-each'); +var availableTypedArrays = require('available-typed-arrays'); +var callBound = require('call-bind/callBound'); +var gOPD = require('gopd'); + +var $toString = callBound('Object.prototype.toString'); +var hasToStringTag = require('has-tostringtag/shams')(); + +var g = typeof globalThis === 'undefined' ? global : globalThis; +var typedArrays = availableTypedArrays(); + +var $slice = callBound('String.prototype.slice'); +var toStrTags = {}; +var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); +if (hasToStringTag && gOPD && getPrototypeOf) { + forEach(typedArrays, function (typedArray) { + if (typeof g[typedArray] === 'function') { + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; + } + } + }); +} + +var tryTypedArrays = function tryAllTypedArrays(value) { + var foundName = false; + forEach(toStrTags, function (getter, typedArray) { + if (!foundName) { + try { + var name = getter.call(value); + if (name === typedArray) { + foundName = name; + } + } catch (e) {} + } + }); + return foundName; +}; + +var isTypedArray = require('is-typed-array'); + +module.exports = function whichTypedArray(value) { + if (!isTypedArray(value)) { return false; } + if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); } + return tryTypedArrays(value); +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"available-typed-arrays":38,"call-bind/callBound":42,"for-each":352,"gopd":357,"has-tostringtag/shams":362,"is-typed-array":380}],411:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -12998,7 +16331,7 @@ try { console.log('error in run-function:'); console.error(error); } -},{"../../":2,"./util.js":358,"@babel/polyfill":14,"@babel/runtime/helpers/asyncToGenerator":16,"@babel/runtime/helpers/interopRequireDefault":17,"@babel/runtime/regenerator":20,"async-test-util":24}],358:[function(require,module,exports){ +},{"../../":2,"./util.js":412,"@babel/polyfill":14,"@babel/runtime/helpers/asyncToGenerator":16,"@babel/runtime/helpers/interopRequireDefault":17,"@babel/runtime/regenerator":20,"async-test-util":24}],412:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -13017,4 +16350,4 @@ function getParameterByName(name, url) { if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, ' ')); } -},{}]},{},[357]); +},{}]},{},[411]); diff --git a/docs/iframe.js b/docs/iframe.js index e3f3e754..d2d68789 100644 --- a/docs/iframe.js +++ b/docs/iframe.js @@ -466,7 +466,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -485,7 +484,7 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; },{"./leader-election-util.js":4,"./util.js":13}],6:[function(require,module,exports){ @@ -1433,10 +1432,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/docs/index.js b/docs/index.js index c195ab9d..4a9469b9 100644 --- a/docs/index.js +++ b/docs/index.js @@ -466,7 +466,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -485,7 +484,7 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; },{"./leader-election-util.js":4,"./util.js":13}],6:[function(require,module,exports){ @@ -1433,10 +1432,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/docs/leader-iframe.js b/docs/leader-iframe.js index fa8ec71a..0c27ed2c 100644 --- a/docs/leader-iframe.js +++ b/docs/leader-iframe.js @@ -466,7 +466,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -485,7 +484,7 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; },{"./leader-election-util.js":4,"./util.js":13}],6:[function(require,module,exports){ @@ -1433,10 +1432,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } diff --git a/docs/worker.js b/docs/worker.js index ffa1ce20..f9557295 100644 --- a/docs/worker.js +++ b/docs/worker.js @@ -391,7 +391,7 @@ function beLeader(leaderElector) { leaderElector._lstns.push(isLeaderListener); return sendLeaderMessage(leaderElector, 'tell'); } -},{"unload":351}],5:[function(require,module,exports){ +},{"unload":402}],5:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -466,7 +466,6 @@ LeaderElectionWebLock.prototype = { }, die: function die() { var _this4 = this; - var ret = (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); this._lstns.forEach(function (listener) { return _this4.broadcastChannel.removeEventListener('internal', listener); }); @@ -485,7 +484,7 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return (0, _leaderElectionUtil.sendLeaderMessage)(this, 'death'); } }; },{"./leader-election-util.js":4,"./util.js":13}],6:[function(require,module,exports){ @@ -1210,7 +1209,7 @@ var IndexedDBMethod = { microSeconds: microSeconds }; exports.IndexedDBMethod = IndexedDBMethod; -},{"../options.js":12,"../util.js":13,"oblivious-set":347}],9:[function(require,module,exports){ +},{"../options.js":12,"../util.js":13,"oblivious-set":392}],9:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -1383,7 +1382,7 @@ var LocalstorageMethod = { microSeconds: microSeconds }; exports.LocalstorageMethod = LocalstorageMethod; -},{"../options.js":12,"../util.js":13,"oblivious-set":347}],10:[function(require,module,exports){ +},{"../options.js":12,"../util.js":13,"oblivious-set":392}],10:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -1433,10 +1432,7 @@ function onMessage(channelState, fn) { channelState.messagesCallback = fn; } function canBeUsed() { - if (typeof window === 'undefined') { - return false; - } - if (typeof BroadcastChannel === 'function') { + if ((typeof window !== 'undefined' || typeof self !== 'undefined') && typeof BroadcastChannel === 'function') { if (BroadcastChannel._pubkey) { throw new Error('BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill'); } @@ -1658,7 +1654,7 @@ if (_global["default"]._babelPolyfill && typeof console !== "undefined" && conso } _global["default"]._babelPolyfill = true; -},{"./noConflict":15,"core-js/library/fn/global":50}],15:[function(require,module,exports){ +},{"./noConflict":15,"core-js/library/fn/global":53}],15:[function(require,module,exports){ "use strict"; require("core-js/es6"); @@ -1688,7 +1684,7 @@ require("core-js/fn/promise/finally"); require("core-js/web"); require("regenerator-runtime/runtime"); -},{"core-js/es6":38,"core-js/fn/array/flat-map":39,"core-js/fn/array/includes":40,"core-js/fn/object/entries":41,"core-js/fn/object/get-own-property-descriptors":42,"core-js/fn/object/values":43,"core-js/fn/promise/finally":44,"core-js/fn/string/pad-end":45,"core-js/fn/string/pad-start":46,"core-js/fn/string/trim-end":47,"core-js/fn/string/trim-start":48,"core-js/fn/symbol/async-iterator":49,"core-js/web":341,"regenerator-runtime/runtime":349}],16:[function(require,module,exports){ +},{"core-js/es6":41,"core-js/fn/array/flat-map":42,"core-js/fn/array/includes":43,"core-js/fn/object/entries":44,"core-js/fn/object/get-own-property-descriptors":45,"core-js/fn/object/values":46,"core-js/fn/promise/finally":47,"core-js/fn/string/pad-end":48,"core-js/fn/string/pad-start":49,"core-js/fn/string/trim-end":50,"core-js/fn/string/trim-start":51,"core-js/fn/symbol/async-iterator":52,"core-js/web":344,"regenerator-runtime/runtime":394}],16:[function(require,module,exports){ function _typeof(obj) { "@babel/helpers - typeof"; @@ -1779,7 +1775,7 @@ var _clone2 = _interopRequireDefault(_clone); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _clone2['default']; -},{"clone":37}],19:[function(require,module,exports){ +},{"clone":40}],19:[function(require,module,exports){ 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -1793,7 +1789,7 @@ var _deepEqual2 = _interopRequireDefault(_deepEqual); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _deepEqual2['default']; -},{"deep-equal":342}],20:[function(require,module,exports){ +},{"deep-equal":345}],20:[function(require,module,exports){ 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -1945,7 +1941,7 @@ function performanceNow() { return perf.now(); } -},{"./require-on-node-only":35,"is-node":346}],23:[function(require,module,exports){ +},{"./require-on-node-only":36,"is-node":369}],23:[function(require,module,exports){ 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -2092,32 +2088,42 @@ function runForever(predicate) { }); } },{"./promisify":23,"./wait":33}],29:[function(require,module,exports){ -"use strict"; +'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.oneOfArrayNotInString = oneOfArrayNotInString; +exports.ensureInSetTimeoutLimit = ensureInSetTimeoutLimit; function oneOfArrayNotInString(stringAr, str) { var foundNotInString = stringAr.find(function (sub) { return !str.includes(sub); }); if (foundNotInString) return true;else return false; } + +var TIMEOUT_MAX = exports.TIMEOUT_MAX = 2147483647; +var TIMEOUT_MIN = exports.TIMEOUT_MIN = 0; + +/** + * @link https://mrcoles.com/maximum-delay-settimeout/ + */ +function ensureInSetTimeoutLimit(timeoutInMilliseconds) { + if (timeoutInMilliseconds > TIMEOUT_MAX) { + throw new Error('setTimeout cannot be called with time greater than ' + TIMEOUT_MAX); + } + if (timeoutInMilliseconds < TIMEOUT_MIN) { + throw new Error('setTimeout cannot be called with time lower than ' + TIMEOUT_MIN); + } + return timeoutInMilliseconds; +} },{}],30:[function(require,module,exports){ -'use strict'; +"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports['default'] = waitForever; - -var _wait = require('./wait'); - -var _wait2 = _interopRequireDefault(_wait); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - +exports["default"] = waitForever; /** * waits forever * @return {Promise} @@ -2128,13 +2134,16 @@ function waitForever(fun) { return new Promise(function (res) {}); } -},{"./wait":33}],31:[function(require,module,exports){ -"use strict"; +},{}],31:[function(require,module,exports){ +'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); -exports["default"] = waitResolveable; +exports['default'] = waitResolveable; + +var _utils = require('./utils'); + /** * this returns a promise and the resolve-function * which can be called to resolve before the timeout has passed @@ -2148,11 +2157,11 @@ function waitResolveable() { ret.resolve = function (x) { return res(x); }; - setTimeout(res, ms); + setTimeout(res, (0, _utils.ensureInSetTimeoutLimit)(ms)); }); return ret; } -},{}],32:[function(require,module,exports){ +},{"./utils":29}],32:[function(require,module,exports){ 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -2219,12 +2228,15 @@ function waitUntil(fun) { }); } },{"./promisify":23,"./wait":33}],33:[function(require,module,exports){ -"use strict"; +'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); -exports["default"] = wait; +exports['default'] = wait; + +var _utils = require('./utils'); + /** * [promiseWait description] * @param {Number} [ms=0] time in ms @@ -2234,10 +2246,41 @@ function wait() { var ms = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; return new Promise(function (res) { - return setTimeout(res, ms); + return setTimeout(res, (0, _utils.ensureInSetTimeoutLimit)(ms)); }); } -},{}],34:[function(require,module,exports){ +},{"./utils":29}],34:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var possibleNames = [ + 'BigInt64Array', + 'BigUint64Array', + 'Float32Array', + 'Float64Array', + 'Int16Array', + 'Int32Array', + 'Int8Array', + 'Uint16Array', + 'Uint32Array', + 'Uint8Array', + 'Uint8ClampedArray' +]; + +var g = typeof globalThis === 'undefined' ? global : globalThis; + +module.exports = function availableTypedArrays() { + var out = []; + for (var i = 0; i < possibleNames.length; i++) { + if (typeof g[possibleNames[i]] === 'function') { + out[out.length] = possibleNames[i]; + } + } + return out; +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{}],35:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength @@ -2389,9 +2432,9 @@ function fromByteArray (uint8) { return parts.join('') } -},{}],35:[function(require,module,exports){ - },{}],36:[function(require,module,exports){ + +},{}],37:[function(require,module,exports){ (function (Buffer){(function (){ /*! * The buffer module from node.js, for the browser. @@ -4172,7 +4215,73 @@ function numberIsNaN (obj) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"base64-js":34,"buffer":36,"ieee754":345}],37:[function(require,module,exports){ +},{"base64-js":35,"buffer":37,"ieee754":360}],38:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var callBind = require('./'); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; + +},{"./":39,"get-intrinsic":352}],39:[function(require,module,exports){ +'use strict'; + +var bind = require('function-bind'); +var GetIntrinsic = require('get-intrinsic'); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} + +},{"function-bind":350,"get-intrinsic":352}],40:[function(require,module,exports){ (function (Buffer){(function (){ var clone = (function() { 'use strict'; @@ -4433,7 +4542,7 @@ if (typeof module === 'object' && module.exports) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":36}],38:[function(require,module,exports){ +},{"buffer":37}],41:[function(require,module,exports){ require('../modules/es6.symbol'); require('../modules/es6.object.create'); require('../modules/es6.object.define-property'); @@ -4574,74 +4683,74 @@ require('../modules/es6.reflect.set'); require('../modules/es6.reflect.set-prototype-of'); module.exports = require('../modules/_core'); -},{"../modules/_core":87,"../modules/es6.array.copy-within":189,"../modules/es6.array.every":190,"../modules/es6.array.fill":191,"../modules/es6.array.filter":192,"../modules/es6.array.find":194,"../modules/es6.array.find-index":193,"../modules/es6.array.for-each":195,"../modules/es6.array.from":196,"../modules/es6.array.index-of":197,"../modules/es6.array.is-array":198,"../modules/es6.array.iterator":199,"../modules/es6.array.join":200,"../modules/es6.array.last-index-of":201,"../modules/es6.array.map":202,"../modules/es6.array.of":203,"../modules/es6.array.reduce":205,"../modules/es6.array.reduce-right":204,"../modules/es6.array.slice":206,"../modules/es6.array.some":207,"../modules/es6.array.sort":208,"../modules/es6.array.species":209,"../modules/es6.date.now":210,"../modules/es6.date.to-iso-string":211,"../modules/es6.date.to-json":212,"../modules/es6.date.to-primitive":213,"../modules/es6.date.to-string":214,"../modules/es6.function.bind":215,"../modules/es6.function.has-instance":216,"../modules/es6.function.name":217,"../modules/es6.map":218,"../modules/es6.math.acosh":219,"../modules/es6.math.asinh":220,"../modules/es6.math.atanh":221,"../modules/es6.math.cbrt":222,"../modules/es6.math.clz32":223,"../modules/es6.math.cosh":224,"../modules/es6.math.expm1":225,"../modules/es6.math.fround":226,"../modules/es6.math.hypot":227,"../modules/es6.math.imul":228,"../modules/es6.math.log10":229,"../modules/es6.math.log1p":230,"../modules/es6.math.log2":231,"../modules/es6.math.sign":232,"../modules/es6.math.sinh":233,"../modules/es6.math.tanh":234,"../modules/es6.math.trunc":235,"../modules/es6.number.constructor":236,"../modules/es6.number.epsilon":237,"../modules/es6.number.is-finite":238,"../modules/es6.number.is-integer":239,"../modules/es6.number.is-nan":240,"../modules/es6.number.is-safe-integer":241,"../modules/es6.number.max-safe-integer":242,"../modules/es6.number.min-safe-integer":243,"../modules/es6.number.parse-float":244,"../modules/es6.number.parse-int":245,"../modules/es6.number.to-fixed":246,"../modules/es6.number.to-precision":247,"../modules/es6.object.assign":248,"../modules/es6.object.create":249,"../modules/es6.object.define-properties":250,"../modules/es6.object.define-property":251,"../modules/es6.object.freeze":252,"../modules/es6.object.get-own-property-descriptor":253,"../modules/es6.object.get-own-property-names":254,"../modules/es6.object.get-prototype-of":255,"../modules/es6.object.is":259,"../modules/es6.object.is-extensible":256,"../modules/es6.object.is-frozen":257,"../modules/es6.object.is-sealed":258,"../modules/es6.object.keys":260,"../modules/es6.object.prevent-extensions":261,"../modules/es6.object.seal":262,"../modules/es6.object.set-prototype-of":263,"../modules/es6.object.to-string":264,"../modules/es6.parse-float":265,"../modules/es6.parse-int":266,"../modules/es6.promise":267,"../modules/es6.reflect.apply":268,"../modules/es6.reflect.construct":269,"../modules/es6.reflect.define-property":270,"../modules/es6.reflect.delete-property":271,"../modules/es6.reflect.enumerate":272,"../modules/es6.reflect.get":275,"../modules/es6.reflect.get-own-property-descriptor":273,"../modules/es6.reflect.get-prototype-of":274,"../modules/es6.reflect.has":276,"../modules/es6.reflect.is-extensible":277,"../modules/es6.reflect.own-keys":278,"../modules/es6.reflect.prevent-extensions":279,"../modules/es6.reflect.set":281,"../modules/es6.reflect.set-prototype-of":280,"../modules/es6.regexp.constructor":282,"../modules/es6.regexp.exec":283,"../modules/es6.regexp.flags":284,"../modules/es6.regexp.match":285,"../modules/es6.regexp.replace":286,"../modules/es6.regexp.search":287,"../modules/es6.regexp.split":288,"../modules/es6.regexp.to-string":289,"../modules/es6.set":290,"../modules/es6.string.anchor":291,"../modules/es6.string.big":292,"../modules/es6.string.blink":293,"../modules/es6.string.bold":294,"../modules/es6.string.code-point-at":295,"../modules/es6.string.ends-with":296,"../modules/es6.string.fixed":297,"../modules/es6.string.fontcolor":298,"../modules/es6.string.fontsize":299,"../modules/es6.string.from-code-point":300,"../modules/es6.string.includes":301,"../modules/es6.string.italics":302,"../modules/es6.string.iterator":303,"../modules/es6.string.link":304,"../modules/es6.string.raw":305,"../modules/es6.string.repeat":306,"../modules/es6.string.small":307,"../modules/es6.string.starts-with":308,"../modules/es6.string.strike":309,"../modules/es6.string.sub":310,"../modules/es6.string.sup":311,"../modules/es6.string.trim":312,"../modules/es6.symbol":313,"../modules/es6.typed.array-buffer":314,"../modules/es6.typed.data-view":315,"../modules/es6.typed.float32-array":316,"../modules/es6.typed.float64-array":317,"../modules/es6.typed.int16-array":318,"../modules/es6.typed.int32-array":319,"../modules/es6.typed.int8-array":320,"../modules/es6.typed.uint16-array":321,"../modules/es6.typed.uint32-array":322,"../modules/es6.typed.uint8-array":323,"../modules/es6.typed.uint8-clamped-array":324,"../modules/es6.weak-map":325,"../modules/es6.weak-set":326}],39:[function(require,module,exports){ +},{"../modules/_core":90,"../modules/es6.array.copy-within":192,"../modules/es6.array.every":193,"../modules/es6.array.fill":194,"../modules/es6.array.filter":195,"../modules/es6.array.find":197,"../modules/es6.array.find-index":196,"../modules/es6.array.for-each":198,"../modules/es6.array.from":199,"../modules/es6.array.index-of":200,"../modules/es6.array.is-array":201,"../modules/es6.array.iterator":202,"../modules/es6.array.join":203,"../modules/es6.array.last-index-of":204,"../modules/es6.array.map":205,"../modules/es6.array.of":206,"../modules/es6.array.reduce":208,"../modules/es6.array.reduce-right":207,"../modules/es6.array.slice":209,"../modules/es6.array.some":210,"../modules/es6.array.sort":211,"../modules/es6.array.species":212,"../modules/es6.date.now":213,"../modules/es6.date.to-iso-string":214,"../modules/es6.date.to-json":215,"../modules/es6.date.to-primitive":216,"../modules/es6.date.to-string":217,"../modules/es6.function.bind":218,"../modules/es6.function.has-instance":219,"../modules/es6.function.name":220,"../modules/es6.map":221,"../modules/es6.math.acosh":222,"../modules/es6.math.asinh":223,"../modules/es6.math.atanh":224,"../modules/es6.math.cbrt":225,"../modules/es6.math.clz32":226,"../modules/es6.math.cosh":227,"../modules/es6.math.expm1":228,"../modules/es6.math.fround":229,"../modules/es6.math.hypot":230,"../modules/es6.math.imul":231,"../modules/es6.math.log10":232,"../modules/es6.math.log1p":233,"../modules/es6.math.log2":234,"../modules/es6.math.sign":235,"../modules/es6.math.sinh":236,"../modules/es6.math.tanh":237,"../modules/es6.math.trunc":238,"../modules/es6.number.constructor":239,"../modules/es6.number.epsilon":240,"../modules/es6.number.is-finite":241,"../modules/es6.number.is-integer":242,"../modules/es6.number.is-nan":243,"../modules/es6.number.is-safe-integer":244,"../modules/es6.number.max-safe-integer":245,"../modules/es6.number.min-safe-integer":246,"../modules/es6.number.parse-float":247,"../modules/es6.number.parse-int":248,"../modules/es6.number.to-fixed":249,"../modules/es6.number.to-precision":250,"../modules/es6.object.assign":251,"../modules/es6.object.create":252,"../modules/es6.object.define-properties":253,"../modules/es6.object.define-property":254,"../modules/es6.object.freeze":255,"../modules/es6.object.get-own-property-descriptor":256,"../modules/es6.object.get-own-property-names":257,"../modules/es6.object.get-prototype-of":258,"../modules/es6.object.is":262,"../modules/es6.object.is-extensible":259,"../modules/es6.object.is-frozen":260,"../modules/es6.object.is-sealed":261,"../modules/es6.object.keys":263,"../modules/es6.object.prevent-extensions":264,"../modules/es6.object.seal":265,"../modules/es6.object.set-prototype-of":266,"../modules/es6.object.to-string":267,"../modules/es6.parse-float":268,"../modules/es6.parse-int":269,"../modules/es6.promise":270,"../modules/es6.reflect.apply":271,"../modules/es6.reflect.construct":272,"../modules/es6.reflect.define-property":273,"../modules/es6.reflect.delete-property":274,"../modules/es6.reflect.enumerate":275,"../modules/es6.reflect.get":278,"../modules/es6.reflect.get-own-property-descriptor":276,"../modules/es6.reflect.get-prototype-of":277,"../modules/es6.reflect.has":279,"../modules/es6.reflect.is-extensible":280,"../modules/es6.reflect.own-keys":281,"../modules/es6.reflect.prevent-extensions":282,"../modules/es6.reflect.set":284,"../modules/es6.reflect.set-prototype-of":283,"../modules/es6.regexp.constructor":285,"../modules/es6.regexp.exec":286,"../modules/es6.regexp.flags":287,"../modules/es6.regexp.match":288,"../modules/es6.regexp.replace":289,"../modules/es6.regexp.search":290,"../modules/es6.regexp.split":291,"../modules/es6.regexp.to-string":292,"../modules/es6.set":293,"../modules/es6.string.anchor":294,"../modules/es6.string.big":295,"../modules/es6.string.blink":296,"../modules/es6.string.bold":297,"../modules/es6.string.code-point-at":298,"../modules/es6.string.ends-with":299,"../modules/es6.string.fixed":300,"../modules/es6.string.fontcolor":301,"../modules/es6.string.fontsize":302,"../modules/es6.string.from-code-point":303,"../modules/es6.string.includes":304,"../modules/es6.string.italics":305,"../modules/es6.string.iterator":306,"../modules/es6.string.link":307,"../modules/es6.string.raw":308,"../modules/es6.string.repeat":309,"../modules/es6.string.small":310,"../modules/es6.string.starts-with":311,"../modules/es6.string.strike":312,"../modules/es6.string.sub":313,"../modules/es6.string.sup":314,"../modules/es6.string.trim":315,"../modules/es6.symbol":316,"../modules/es6.typed.array-buffer":317,"../modules/es6.typed.data-view":318,"../modules/es6.typed.float32-array":319,"../modules/es6.typed.float64-array":320,"../modules/es6.typed.int16-array":321,"../modules/es6.typed.int32-array":322,"../modules/es6.typed.int8-array":323,"../modules/es6.typed.uint16-array":324,"../modules/es6.typed.uint32-array":325,"../modules/es6.typed.uint8-array":326,"../modules/es6.typed.uint8-clamped-array":327,"../modules/es6.weak-map":328,"../modules/es6.weak-set":329}],42:[function(require,module,exports){ require('../../modules/es7.array.flat-map'); module.exports = require('../../modules/_core').Array.flatMap; -},{"../../modules/_core":87,"../../modules/es7.array.flat-map":327}],40:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.array.flat-map":330}],43:[function(require,module,exports){ require('../../modules/es7.array.includes'); module.exports = require('../../modules/_core').Array.includes; -},{"../../modules/_core":87,"../../modules/es7.array.includes":328}],41:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.array.includes":331}],44:[function(require,module,exports){ require('../../modules/es7.object.entries'); module.exports = require('../../modules/_core').Object.entries; -},{"../../modules/_core":87,"../../modules/es7.object.entries":329}],42:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.object.entries":332}],45:[function(require,module,exports){ require('../../modules/es7.object.get-own-property-descriptors'); module.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors; -},{"../../modules/_core":87,"../../modules/es7.object.get-own-property-descriptors":330}],43:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.object.get-own-property-descriptors":333}],46:[function(require,module,exports){ require('../../modules/es7.object.values'); module.exports = require('../../modules/_core').Object.values; -},{"../../modules/_core":87,"../../modules/es7.object.values":331}],44:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.object.values":334}],47:[function(require,module,exports){ 'use strict'; require('../../modules/es6.promise'); require('../../modules/es7.promise.finally'); module.exports = require('../../modules/_core').Promise['finally']; -},{"../../modules/_core":87,"../../modules/es6.promise":267,"../../modules/es7.promise.finally":332}],45:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es6.promise":270,"../../modules/es7.promise.finally":335}],48:[function(require,module,exports){ require('../../modules/es7.string.pad-end'); module.exports = require('../../modules/_core').String.padEnd; -},{"../../modules/_core":87,"../../modules/es7.string.pad-end":333}],46:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.string.pad-end":336}],49:[function(require,module,exports){ require('../../modules/es7.string.pad-start'); module.exports = require('../../modules/_core').String.padStart; -},{"../../modules/_core":87,"../../modules/es7.string.pad-start":334}],47:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.string.pad-start":337}],50:[function(require,module,exports){ require('../../modules/es7.string.trim-right'); module.exports = require('../../modules/_core').String.trimRight; -},{"../../modules/_core":87,"../../modules/es7.string.trim-right":336}],48:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.string.trim-right":339}],51:[function(require,module,exports){ require('../../modules/es7.string.trim-left'); module.exports = require('../../modules/_core').String.trimLeft; -},{"../../modules/_core":87,"../../modules/es7.string.trim-left":335}],49:[function(require,module,exports){ +},{"../../modules/_core":90,"../../modules/es7.string.trim-left":338}],52:[function(require,module,exports){ require('../../modules/es7.symbol.async-iterator'); module.exports = require('../../modules/_wks-ext').f('asyncIterator'); -},{"../../modules/_wks-ext":186,"../../modules/es7.symbol.async-iterator":337}],50:[function(require,module,exports){ +},{"../../modules/_wks-ext":189,"../../modules/es7.symbol.async-iterator":340}],53:[function(require,module,exports){ require('../modules/es7.global'); module.exports = require('../modules/_core').global; -},{"../modules/_core":53,"../modules/es7.global":67}],51:[function(require,module,exports){ +},{"../modules/_core":56,"../modules/es7.global":70}],54:[function(require,module,exports){ module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; -},{}],52:[function(require,module,exports){ +},{}],55:[function(require,module,exports){ var isObject = require('./_is-object'); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; -},{"./_is-object":63}],53:[function(require,module,exports){ +},{"./_is-object":66}],56:[function(require,module,exports){ var core = module.exports = { version: '2.6.12' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef -},{}],54:[function(require,module,exports){ +},{}],57:[function(require,module,exports){ // optional / simple context binding var aFunction = require('./_a-function'); module.exports = function (fn, that, length) { @@ -4663,13 +4772,13 @@ module.exports = function (fn, that, length) { }; }; -},{"./_a-function":51}],55:[function(require,module,exports){ +},{"./_a-function":54}],58:[function(require,module,exports){ // Thank's IE8 for his funny defineProperty module.exports = !require('./_fails')(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); -},{"./_fails":58}],56:[function(require,module,exports){ +},{"./_fails":61}],59:[function(require,module,exports){ var isObject = require('./_is-object'); var document = require('./_global').document; // typeof document.createElement is 'object' in old IE @@ -4678,7 +4787,7 @@ module.exports = function (it) { return is ? document.createElement(it) : {}; }; -},{"./_global":59,"./_is-object":63}],57:[function(require,module,exports){ +},{"./_global":62,"./_is-object":66}],60:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var ctx = require('./_ctx'); @@ -4742,7 +4851,7 @@ $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; -},{"./_core":53,"./_ctx":54,"./_global":59,"./_has":60,"./_hide":61}],58:[function(require,module,exports){ +},{"./_core":56,"./_ctx":57,"./_global":62,"./_has":63,"./_hide":64}],61:[function(require,module,exports){ module.exports = function (exec) { try { return !!exec(); @@ -4751,7 +4860,7 @@ module.exports = function (exec) { } }; -},{}],59:[function(require,module,exports){ +},{}],62:[function(require,module,exports){ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self @@ -4759,13 +4868,13 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef -},{}],60:[function(require,module,exports){ +},{}],63:[function(require,module,exports){ var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; -},{}],61:[function(require,module,exports){ +},{}],64:[function(require,module,exports){ var dP = require('./_object-dp'); var createDesc = require('./_property-desc'); module.exports = require('./_descriptors') ? function (object, key, value) { @@ -4775,17 +4884,17 @@ module.exports = require('./_descriptors') ? function (object, key, value) { return object; }; -},{"./_descriptors":55,"./_object-dp":64,"./_property-desc":65}],62:[function(require,module,exports){ +},{"./_descriptors":58,"./_object-dp":67,"./_property-desc":68}],65:[function(require,module,exports){ module.exports = !require('./_descriptors') && !require('./_fails')(function () { return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7; }); -},{"./_descriptors":55,"./_dom-create":56,"./_fails":58}],63:[function(require,module,exports){ +},{"./_descriptors":58,"./_dom-create":59,"./_fails":61}],66:[function(require,module,exports){ module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; -},{}],64:[function(require,module,exports){ +},{}],67:[function(require,module,exports){ var anObject = require('./_an-object'); var IE8_DOM_DEFINE = require('./_ie8-dom-define'); var toPrimitive = require('./_to-primitive'); @@ -4803,7 +4912,7 @@ exports.f = require('./_descriptors') ? Object.defineProperty : function defineP return O; }; -},{"./_an-object":52,"./_descriptors":55,"./_ie8-dom-define":62,"./_to-primitive":66}],65:[function(require,module,exports){ +},{"./_an-object":55,"./_descriptors":58,"./_ie8-dom-define":65,"./_to-primitive":69}],68:[function(require,module,exports){ module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), @@ -4813,7 +4922,7 @@ module.exports = function (bitmap, value) { }; }; -},{}],66:[function(require,module,exports){ +},{}],69:[function(require,module,exports){ // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = require('./_is-object'); // instead of the ES6 spec version, we didn't implement @@toPrimitive case @@ -4827,22 +4936,22 @@ module.exports = function (it, S) { throw TypeError("Can't convert object to primitive value"); }; -},{"./_is-object":63}],67:[function(require,module,exports){ +},{"./_is-object":66}],70:[function(require,module,exports){ // https://github.com/tc39/proposal-global var $export = require('./_export'); $export($export.G, { global: require('./_global') }); -},{"./_export":57,"./_global":59}],68:[function(require,module,exports){ -arguments[4][51][0].apply(exports,arguments) -},{"dup":51}],69:[function(require,module,exports){ +},{"./_export":60,"./_global":62}],71:[function(require,module,exports){ +arguments[4][54][0].apply(exports,arguments) +},{"dup":54}],72:[function(require,module,exports){ var cof = require('./_cof'); module.exports = function (it, msg) { if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; }; -},{"./_cof":83}],70:[function(require,module,exports){ +},{"./_cof":86}],73:[function(require,module,exports){ // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = require('./_wks')('unscopables'); var ArrayProto = Array.prototype; @@ -4851,7 +4960,7 @@ module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true; }; -},{"./_hide":107,"./_wks":187}],71:[function(require,module,exports){ +},{"./_hide":110,"./_wks":190}],74:[function(require,module,exports){ 'use strict'; var at = require('./_string-at')(true); @@ -4861,16 +4970,16 @@ module.exports = function (S, index, unicode) { return index + (unicode ? at(S, index).length : 1); }; -},{"./_string-at":164}],72:[function(require,module,exports){ +},{"./_string-at":167}],75:[function(require,module,exports){ module.exports = function (it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!'); } return it; }; -},{}],73:[function(require,module,exports){ -arguments[4][52][0].apply(exports,arguments) -},{"./_is-object":116,"dup":52}],74:[function(require,module,exports){ +},{}],76:[function(require,module,exports){ +arguments[4][55][0].apply(exports,arguments) +},{"./_is-object":119,"dup":55}],77:[function(require,module,exports){ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; var toObject = require('./_to-object'); @@ -4898,7 +5007,7 @@ module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* } return O; }; -},{"./_to-absolute-index":172,"./_to-length":176,"./_to-object":177}],75:[function(require,module,exports){ +},{"./_to-absolute-index":175,"./_to-length":179,"./_to-object":180}],78:[function(require,module,exports){ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; var toObject = require('./_to-object'); @@ -4915,7 +5024,7 @@ module.exports = function fill(value /* , start = 0, end = @length */) { return O; }; -},{"./_to-absolute-index":172,"./_to-length":176,"./_to-object":177}],76:[function(require,module,exports){ +},{"./_to-absolute-index":175,"./_to-length":179,"./_to-object":180}],79:[function(require,module,exports){ // false -> Array#indexOf // true -> Array#includes var toIObject = require('./_to-iobject'); @@ -4940,7 +5049,7 @@ module.exports = function (IS_INCLUDES) { }; }; -},{"./_to-absolute-index":172,"./_to-iobject":175,"./_to-length":176}],77:[function(require,module,exports){ +},{"./_to-absolute-index":175,"./_to-iobject":178,"./_to-length":179}],80:[function(require,module,exports){ // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter @@ -4986,7 +5095,7 @@ module.exports = function (TYPE, $create) { }; }; -},{"./_array-species-create":80,"./_ctx":89,"./_iobject":112,"./_to-length":176,"./_to-object":177}],78:[function(require,module,exports){ +},{"./_array-species-create":83,"./_ctx":92,"./_iobject":115,"./_to-length":179,"./_to-object":180}],81:[function(require,module,exports){ var aFunction = require('./_a-function'); var toObject = require('./_to-object'); var IObject = require('./_iobject'); @@ -5016,7 +5125,7 @@ module.exports = function (that, callbackfn, aLen, memo, isRight) { return memo; }; -},{"./_a-function":68,"./_iobject":112,"./_to-length":176,"./_to-object":177}],79:[function(require,module,exports){ +},{"./_a-function":71,"./_iobject":115,"./_to-length":179,"./_to-object":180}],82:[function(require,module,exports){ var isObject = require('./_is-object'); var isArray = require('./_is-array'); var SPECIES = require('./_wks')('species'); @@ -5034,7 +5143,7 @@ module.exports = function (original) { } return C === undefined ? Array : C; }; -},{"./_is-array":114,"./_is-object":116,"./_wks":187}],80:[function(require,module,exports){ +},{"./_is-array":117,"./_is-object":119,"./_wks":190}],83:[function(require,module,exports){ // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = require('./_array-species-constructor'); @@ -5042,7 +5151,7 @@ module.exports = function (original, length) { return new (speciesConstructor(original))(length); }; -},{"./_array-species-constructor":79}],81:[function(require,module,exports){ +},{"./_array-species-constructor":82}],84:[function(require,module,exports){ 'use strict'; var aFunction = require('./_a-function'); var isObject = require('./_is-object'); @@ -5069,7 +5178,7 @@ module.exports = Function.bind || function bind(that /* , ...args */) { return bound; }; -},{"./_a-function":68,"./_invoke":111,"./_is-object":116}],82:[function(require,module,exports){ +},{"./_a-function":71,"./_invoke":114,"./_is-object":119}],85:[function(require,module,exports){ // getting tag from 19.1.3.6 Object.prototype.toString() var cof = require('./_cof'); var TAG = require('./_wks')('toStringTag'); @@ -5094,14 +5203,14 @@ module.exports = function (it) { : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; -},{"./_cof":83,"./_wks":187}],83:[function(require,module,exports){ +},{"./_cof":86,"./_wks":190}],86:[function(require,module,exports){ var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; -},{}],84:[function(require,module,exports){ +},{}],87:[function(require,module,exports){ 'use strict'; var dP = require('./_object-dp').f; var create = require('./_object-create'); @@ -5247,7 +5356,7 @@ module.exports = { } }; -},{"./_an-instance":72,"./_ctx":89,"./_descriptors":93,"./_for-of":103,"./_iter-define":120,"./_iter-step":122,"./_meta":129,"./_object-create":133,"./_object-dp":134,"./_redefine-all":152,"./_set-species":158,"./_validate-collection":184}],85:[function(require,module,exports){ +},{"./_an-instance":75,"./_ctx":92,"./_descriptors":96,"./_for-of":106,"./_iter-define":123,"./_iter-step":125,"./_meta":132,"./_object-create":136,"./_object-dp":137,"./_redefine-all":155,"./_set-species":161,"./_validate-collection":187}],88:[function(require,module,exports){ 'use strict'; var redefineAll = require('./_redefine-all'); var getWeak = require('./_meta').getWeak; @@ -5334,7 +5443,7 @@ module.exports = { ufstore: uncaughtFrozenStore }; -},{"./_an-instance":72,"./_an-object":73,"./_array-methods":77,"./_for-of":103,"./_has":106,"./_is-object":116,"./_meta":129,"./_redefine-all":152,"./_validate-collection":184}],86:[function(require,module,exports){ +},{"./_an-instance":75,"./_an-object":76,"./_array-methods":80,"./_for-of":106,"./_has":109,"./_is-object":119,"./_meta":132,"./_redefine-all":155,"./_validate-collection":187}],89:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var $export = require('./_export'); @@ -5421,9 +5530,9 @@ module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { return C; }; -},{"./_an-instance":72,"./_export":97,"./_fails":99,"./_for-of":103,"./_global":105,"./_inherit-if-required":110,"./_is-object":116,"./_iter-detect":121,"./_meta":129,"./_redefine":153,"./_redefine-all":152,"./_set-to-string-tag":159}],87:[function(require,module,exports){ -arguments[4][53][0].apply(exports,arguments) -},{"dup":53}],88:[function(require,module,exports){ +},{"./_an-instance":75,"./_export":100,"./_fails":102,"./_for-of":106,"./_global":108,"./_inherit-if-required":113,"./_is-object":119,"./_iter-detect":124,"./_meta":132,"./_redefine":156,"./_redefine-all":155,"./_set-to-string-tag":162}],90:[function(require,module,exports){ +arguments[4][56][0].apply(exports,arguments) +},{"dup":56}],91:[function(require,module,exports){ 'use strict'; var $defineProperty = require('./_object-dp'); var createDesc = require('./_property-desc'); @@ -5433,9 +5542,9 @@ module.exports = function (object, index, value) { else object[index] = value; }; -},{"./_object-dp":134,"./_property-desc":151}],89:[function(require,module,exports){ -arguments[4][54][0].apply(exports,arguments) -},{"./_a-function":68,"dup":54}],90:[function(require,module,exports){ +},{"./_object-dp":137,"./_property-desc":154}],92:[function(require,module,exports){ +arguments[4][57][0].apply(exports,arguments) +},{"./_a-function":71,"dup":57}],93:[function(require,module,exports){ 'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var fails = require('./_fails'); @@ -5463,7 +5572,7 @@ module.exports = (fails(function () { ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; } : $toISOString; -},{"./_fails":99}],91:[function(require,module,exports){ +},{"./_fails":102}],94:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); var toPrimitive = require('./_to-primitive'); @@ -5474,24 +5583,24 @@ module.exports = function (hint) { return toPrimitive(anObject(this), hint != NUMBER); }; -},{"./_an-object":73,"./_to-primitive":178}],92:[function(require,module,exports){ +},{"./_an-object":76,"./_to-primitive":181}],95:[function(require,module,exports){ // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; -},{}],93:[function(require,module,exports){ -arguments[4][55][0].apply(exports,arguments) -},{"./_fails":99,"dup":55}],94:[function(require,module,exports){ -arguments[4][56][0].apply(exports,arguments) -},{"./_global":105,"./_is-object":116,"dup":56}],95:[function(require,module,exports){ +},{}],96:[function(require,module,exports){ +arguments[4][58][0].apply(exports,arguments) +},{"./_fails":102,"dup":58}],97:[function(require,module,exports){ +arguments[4][59][0].apply(exports,arguments) +},{"./_global":108,"./_is-object":119,"dup":59}],98:[function(require,module,exports){ // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); -},{}],96:[function(require,module,exports){ +},{}],99:[function(require,module,exports){ // all enumerable object keys, includes symbols var getKeys = require('./_object-keys'); var gOPS = require('./_object-gops'); @@ -5508,7 +5617,7 @@ module.exports = function (it) { } return result; }; -},{"./_object-gops":139,"./_object-keys":142,"./_object-pie":143}],97:[function(require,module,exports){ +},{"./_object-gops":142,"./_object-keys":145,"./_object-pie":146}],100:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var hide = require('./_hide'); @@ -5553,7 +5662,7 @@ $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; -},{"./_core":87,"./_ctx":89,"./_global":105,"./_hide":107,"./_redefine":153}],98:[function(require,module,exports){ +},{"./_core":90,"./_ctx":92,"./_global":108,"./_hide":110,"./_redefine":156}],101:[function(require,module,exports){ var MATCH = require('./_wks')('match'); module.exports = function (KEY) { var re = /./; @@ -5567,9 +5676,9 @@ module.exports = function (KEY) { } return true; }; -},{"./_wks":187}],99:[function(require,module,exports){ -arguments[4][58][0].apply(exports,arguments) -},{"dup":58}],100:[function(require,module,exports){ +},{"./_wks":190}],102:[function(require,module,exports){ +arguments[4][61][0].apply(exports,arguments) +},{"dup":61}],103:[function(require,module,exports){ 'use strict'; require('./es6.regexp.exec'); var redefine = require('./_redefine'); @@ -5667,7 +5776,7 @@ module.exports = function (KEY, length, exec) { } }; -},{"./_defined":92,"./_fails":99,"./_hide":107,"./_redefine":153,"./_regexp-exec":155,"./_wks":187,"./es6.regexp.exec":283}],101:[function(require,module,exports){ +},{"./_defined":95,"./_fails":102,"./_hide":110,"./_redefine":156,"./_regexp-exec":158,"./_wks":190,"./es6.regexp.exec":286}],104:[function(require,module,exports){ 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = require('./_an-object'); @@ -5682,7 +5791,7 @@ module.exports = function () { return result; }; -},{"./_an-object":73}],102:[function(require,module,exports){ +},{"./_an-object":76}],105:[function(require,module,exports){ 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = require('./_is-array'); @@ -5723,7 +5832,7 @@ function flattenIntoArray(target, original, source, sourceLen, start, depth, map module.exports = flattenIntoArray; -},{"./_ctx":89,"./_is-array":114,"./_is-object":116,"./_to-length":176,"./_wks":187}],103:[function(require,module,exports){ +},{"./_ctx":92,"./_is-array":117,"./_is-object":119,"./_to-length":179,"./_wks":190}],106:[function(require,module,exports){ var ctx = require('./_ctx'); var call = require('./_iter-call'); var isArrayIter = require('./_is-array-iter'); @@ -5750,22 +5859,22 @@ var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) exports.BREAK = BREAK; exports.RETURN = RETURN; -},{"./_an-object":73,"./_ctx":89,"./_is-array-iter":113,"./_iter-call":118,"./_to-length":176,"./core.get-iterator-method":188}],104:[function(require,module,exports){ +},{"./_an-object":76,"./_ctx":92,"./_is-array-iter":116,"./_iter-call":121,"./_to-length":179,"./core.get-iterator-method":191}],107:[function(require,module,exports){ module.exports = require('./_shared')('native-function-to-string', Function.toString); -},{"./_shared":161}],105:[function(require,module,exports){ -arguments[4][59][0].apply(exports,arguments) -},{"dup":59}],106:[function(require,module,exports){ -arguments[4][60][0].apply(exports,arguments) -},{"dup":60}],107:[function(require,module,exports){ -arguments[4][61][0].apply(exports,arguments) -},{"./_descriptors":93,"./_object-dp":134,"./_property-desc":151,"dup":61}],108:[function(require,module,exports){ +},{"./_shared":164}],108:[function(require,module,exports){ +arguments[4][62][0].apply(exports,arguments) +},{"dup":62}],109:[function(require,module,exports){ +arguments[4][63][0].apply(exports,arguments) +},{"dup":63}],110:[function(require,module,exports){ +arguments[4][64][0].apply(exports,arguments) +},{"./_descriptors":96,"./_object-dp":137,"./_property-desc":154,"dup":64}],111:[function(require,module,exports){ var document = require('./_global').document; module.exports = document && document.documentElement; -},{"./_global":105}],109:[function(require,module,exports){ -arguments[4][62][0].apply(exports,arguments) -},{"./_descriptors":93,"./_dom-create":94,"./_fails":99,"dup":62}],110:[function(require,module,exports){ +},{"./_global":108}],112:[function(require,module,exports){ +arguments[4][65][0].apply(exports,arguments) +},{"./_descriptors":96,"./_dom-create":97,"./_fails":102,"dup":65}],113:[function(require,module,exports){ var isObject = require('./_is-object'); var setPrototypeOf = require('./_set-proto').set; module.exports = function (that, target, C) { @@ -5776,7 +5885,7 @@ module.exports = function (that, target, C) { } return that; }; -},{"./_is-object":116,"./_set-proto":157}],111:[function(require,module,exports){ +},{"./_is-object":119,"./_set-proto":160}],114:[function(require,module,exports){ // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; @@ -5794,7 +5903,7 @@ module.exports = function (fn, args, that) { } return fn.apply(that, args); }; -},{}],112:[function(require,module,exports){ +},{}],115:[function(require,module,exports){ // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = require('./_cof'); // eslint-disable-next-line no-prototype-builtins @@ -5802,7 +5911,7 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; -},{"./_cof":83}],113:[function(require,module,exports){ +},{"./_cof":86}],116:[function(require,module,exports){ // check on default Array iterator var Iterators = require('./_iterators'); var ITERATOR = require('./_wks')('iterator'); @@ -5812,14 +5921,14 @@ module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; -},{"./_iterators":123,"./_wks":187}],114:[function(require,module,exports){ +},{"./_iterators":126,"./_wks":190}],117:[function(require,module,exports){ // 7.2.2 IsArray(argument) var cof = require('./_cof'); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; -},{"./_cof":83}],115:[function(require,module,exports){ +},{"./_cof":86}],118:[function(require,module,exports){ // 20.1.2.3 Number.isInteger(number) var isObject = require('./_is-object'); var floor = Math.floor; @@ -5827,9 +5936,9 @@ module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; }; -},{"./_is-object":116}],116:[function(require,module,exports){ -arguments[4][63][0].apply(exports,arguments) -},{"dup":63}],117:[function(require,module,exports){ +},{"./_is-object":119}],119:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"dup":66}],120:[function(require,module,exports){ // 7.2.8 IsRegExp(argument) var isObject = require('./_is-object'); var cof = require('./_cof'); @@ -5839,7 +5948,7 @@ module.exports = function (it) { return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; -},{"./_cof":83,"./_is-object":116,"./_wks":187}],118:[function(require,module,exports){ +},{"./_cof":86,"./_is-object":119,"./_wks":190}],121:[function(require,module,exports){ // call something on iterator step with safe closing on error var anObject = require('./_an-object'); module.exports = function (iterator, fn, value, entries) { @@ -5853,7 +5962,7 @@ module.exports = function (iterator, fn, value, entries) { } }; -},{"./_an-object":73}],119:[function(require,module,exports){ +},{"./_an-object":76}],122:[function(require,module,exports){ 'use strict'; var create = require('./_object-create'); var descriptor = require('./_property-desc'); @@ -5868,7 +5977,7 @@ module.exports = function (Constructor, NAME, next) { setToStringTag(Constructor, NAME + ' Iterator'); }; -},{"./_hide":107,"./_object-create":133,"./_property-desc":151,"./_set-to-string-tag":159,"./_wks":187}],120:[function(require,module,exports){ +},{"./_hide":110,"./_object-create":136,"./_property-desc":154,"./_set-to-string-tag":162,"./_wks":190}],123:[function(require,module,exports){ 'use strict'; var LIBRARY = require('./_library'); var $export = require('./_export'); @@ -5939,7 +6048,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE return methods; }; -},{"./_export":97,"./_hide":107,"./_iter-create":119,"./_iterators":123,"./_library":124,"./_object-gpo":140,"./_redefine":153,"./_set-to-string-tag":159,"./_wks":187}],121:[function(require,module,exports){ +},{"./_export":100,"./_hide":110,"./_iter-create":122,"./_iterators":126,"./_library":127,"./_object-gpo":143,"./_redefine":156,"./_set-to-string-tag":162,"./_wks":190}],124:[function(require,module,exports){ var ITERATOR = require('./_wks')('iterator'); var SAFE_CLOSING = false; @@ -5963,18 +6072,18 @@ module.exports = function (exec, skipClosing) { return safe; }; -},{"./_wks":187}],122:[function(require,module,exports){ +},{"./_wks":190}],125:[function(require,module,exports){ module.exports = function (done, value) { return { value: value, done: !!done }; }; -},{}],123:[function(require,module,exports){ +},{}],126:[function(require,module,exports){ module.exports = {}; -},{}],124:[function(require,module,exports){ +},{}],127:[function(require,module,exports){ module.exports = false; -},{}],125:[function(require,module,exports){ +},{}],128:[function(require,module,exports){ // 20.2.2.14 Math.expm1(x) var $expm1 = Math.expm1; module.exports = (!$expm1 @@ -5986,7 +6095,7 @@ module.exports = (!$expm1 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; } : $expm1; -},{}],126:[function(require,module,exports){ +},{}],129:[function(require,module,exports){ // 20.2.2.16 Math.fround(x) var sign = require('./_math-sign'); var pow = Math.pow; @@ -6011,20 +6120,20 @@ module.exports = Math.fround || function fround(x) { return $sign * result; }; -},{"./_math-sign":128}],127:[function(require,module,exports){ +},{"./_math-sign":131}],130:[function(require,module,exports){ // 20.2.2.20 Math.log1p(x) module.exports = Math.log1p || function log1p(x) { return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); }; -},{}],128:[function(require,module,exports){ +},{}],131:[function(require,module,exports){ // 20.2.2.28 Math.sign(x) module.exports = Math.sign || function sign(x) { // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; }; -},{}],129:[function(require,module,exports){ +},{}],132:[function(require,module,exports){ var META = require('./_uid')('meta'); var isObject = require('./_is-object'); var has = require('./_has'); @@ -6079,7 +6188,7 @@ var meta = module.exports = { onFreeze: onFreeze }; -},{"./_fails":99,"./_has":106,"./_is-object":116,"./_object-dp":134,"./_uid":182}],130:[function(require,module,exports){ +},{"./_fails":102,"./_has":109,"./_is-object":119,"./_object-dp":137,"./_uid":185}],133:[function(require,module,exports){ var global = require('./_global'); var macrotask = require('./_task').set; var Observer = global.MutationObserver || global.WebKitMutationObserver; @@ -6150,7 +6259,7 @@ module.exports = function () { }; }; -},{"./_cof":83,"./_global":105,"./_task":171}],131:[function(require,module,exports){ +},{"./_cof":86,"./_global":108,"./_task":174}],134:[function(require,module,exports){ 'use strict'; // 25.4.1.5 NewPromiseCapability(C) var aFunction = require('./_a-function'); @@ -6170,7 +6279,7 @@ module.exports.f = function (C) { return new PromiseCapability(C); }; -},{"./_a-function":68}],132:[function(require,module,exports){ +},{"./_a-function":71}],135:[function(require,module,exports){ 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var DESCRIPTORS = require('./_descriptors'); @@ -6210,7 +6319,7 @@ module.exports = !$assign || require('./_fails')(function () { } return T; } : $assign; -},{"./_descriptors":93,"./_fails":99,"./_iobject":112,"./_object-gops":139,"./_object-keys":142,"./_object-pie":143,"./_to-object":177}],133:[function(require,module,exports){ +},{"./_descriptors":96,"./_fails":102,"./_iobject":115,"./_object-gops":142,"./_object-keys":145,"./_object-pie":146,"./_to-object":180}],136:[function(require,module,exports){ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = require('./_an-object'); var dPs = require('./_object-dps'); @@ -6253,9 +6362,9 @@ module.exports = Object.create || function create(O, Properties) { return Properties === undefined ? result : dPs(result, Properties); }; -},{"./_an-object":73,"./_dom-create":94,"./_enum-bug-keys":95,"./_html":108,"./_object-dps":135,"./_shared-key":160}],134:[function(require,module,exports){ -arguments[4][64][0].apply(exports,arguments) -},{"./_an-object":73,"./_descriptors":93,"./_ie8-dom-define":109,"./_to-primitive":178,"dup":64}],135:[function(require,module,exports){ +},{"./_an-object":76,"./_dom-create":97,"./_enum-bug-keys":98,"./_html":111,"./_object-dps":138,"./_shared-key":163}],137:[function(require,module,exports){ +arguments[4][67][0].apply(exports,arguments) +},{"./_an-object":76,"./_descriptors":96,"./_ie8-dom-define":112,"./_to-primitive":181,"dup":67}],138:[function(require,module,exports){ var dP = require('./_object-dp'); var anObject = require('./_an-object'); var getKeys = require('./_object-keys'); @@ -6270,7 +6379,7 @@ module.exports = require('./_descriptors') ? Object.defineProperties : function return O; }; -},{"./_an-object":73,"./_descriptors":93,"./_object-dp":134,"./_object-keys":142}],136:[function(require,module,exports){ +},{"./_an-object":76,"./_descriptors":96,"./_object-dp":137,"./_object-keys":145}],139:[function(require,module,exports){ var pIE = require('./_object-pie'); var createDesc = require('./_property-desc'); var toIObject = require('./_to-iobject'); @@ -6288,7 +6397,7 @@ exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; -},{"./_descriptors":93,"./_has":106,"./_ie8-dom-define":109,"./_object-pie":143,"./_property-desc":151,"./_to-iobject":175,"./_to-primitive":178}],137:[function(require,module,exports){ +},{"./_descriptors":96,"./_has":109,"./_ie8-dom-define":112,"./_object-pie":146,"./_property-desc":154,"./_to-iobject":178,"./_to-primitive":181}],140:[function(require,module,exports){ // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = require('./_to-iobject'); var gOPN = require('./_object-gopn').f; @@ -6309,7 +6418,7 @@ module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; -},{"./_object-gopn":138,"./_to-iobject":175}],138:[function(require,module,exports){ +},{"./_object-gopn":141,"./_to-iobject":178}],141:[function(require,module,exports){ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = require('./_object-keys-internal'); var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype'); @@ -6318,10 +6427,10 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; -},{"./_enum-bug-keys":95,"./_object-keys-internal":141}],139:[function(require,module,exports){ +},{"./_enum-bug-keys":98,"./_object-keys-internal":144}],142:[function(require,module,exports){ exports.f = Object.getOwnPropertySymbols; -},{}],140:[function(require,module,exports){ +},{}],143:[function(require,module,exports){ // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = require('./_has'); var toObject = require('./_to-object'); @@ -6336,7 +6445,7 @@ module.exports = Object.getPrototypeOf || function (O) { } return O instanceof Object ? ObjectProto : null; }; -},{"./_has":106,"./_shared-key":160,"./_to-object":177}],141:[function(require,module,exports){ +},{"./_has":109,"./_shared-key":163,"./_to-object":180}],144:[function(require,module,exports){ var has = require('./_has'); var toIObject = require('./_to-iobject'); var arrayIndexOf = require('./_array-includes')(false); @@ -6355,7 +6464,7 @@ module.exports = function (object, names) { return result; }; -},{"./_array-includes":76,"./_has":106,"./_shared-key":160,"./_to-iobject":175}],142:[function(require,module,exports){ +},{"./_array-includes":79,"./_has":109,"./_shared-key":163,"./_to-iobject":178}],145:[function(require,module,exports){ // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = require('./_object-keys-internal'); var enumBugKeys = require('./_enum-bug-keys'); @@ -6364,10 +6473,10 @@ module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; -},{"./_enum-bug-keys":95,"./_object-keys-internal":141}],143:[function(require,module,exports){ +},{"./_enum-bug-keys":98,"./_object-keys-internal":144}],146:[function(require,module,exports){ exports.f = {}.propertyIsEnumerable; -},{}],144:[function(require,module,exports){ +},{}],147:[function(require,module,exports){ // most Object methods by ES6 should accept primitives var $export = require('./_export'); var core = require('./_core'); @@ -6379,7 +6488,7 @@ module.exports = function (KEY, exec) { $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; -},{"./_core":87,"./_export":97,"./_fails":99}],145:[function(require,module,exports){ +},{"./_core":90,"./_export":100,"./_fails":102}],148:[function(require,module,exports){ var DESCRIPTORS = require('./_descriptors'); var getKeys = require('./_object-keys'); var toIObject = require('./_to-iobject'); @@ -6402,7 +6511,7 @@ module.exports = function (isEntries) { }; }; -},{"./_descriptors":93,"./_object-keys":142,"./_object-pie":143,"./_to-iobject":175}],146:[function(require,module,exports){ +},{"./_descriptors":96,"./_object-keys":145,"./_object-pie":146,"./_to-iobject":178}],149:[function(require,module,exports){ // all object keys, includes non-enumerable and symbols var gOPN = require('./_object-gopn'); var gOPS = require('./_object-gops'); @@ -6414,7 +6523,7 @@ module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { return getSymbols ? keys.concat(getSymbols(it)) : keys; }; -},{"./_an-object":73,"./_global":105,"./_object-gopn":138,"./_object-gops":139}],147:[function(require,module,exports){ +},{"./_an-object":76,"./_global":108,"./_object-gopn":141,"./_object-gops":142}],150:[function(require,module,exports){ var $parseFloat = require('./_global').parseFloat; var $trim = require('./_string-trim').trim; @@ -6424,7 +6533,7 @@ module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat; -},{"./_global":105,"./_string-trim":169,"./_string-ws":170}],148:[function(require,module,exports){ +},{"./_global":108,"./_string-trim":172,"./_string-ws":173}],151:[function(require,module,exports){ var $parseInt = require('./_global').parseInt; var $trim = require('./_string-trim').trim; var ws = require('./_string-ws'); @@ -6435,7 +6544,7 @@ module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? f return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); } : $parseInt; -},{"./_global":105,"./_string-trim":169,"./_string-ws":170}],149:[function(require,module,exports){ +},{"./_global":108,"./_string-trim":172,"./_string-ws":173}],152:[function(require,module,exports){ module.exports = function (exec) { try { return { e: false, v: exec() }; @@ -6444,7 +6553,7 @@ module.exports = function (exec) { } }; -},{}],150:[function(require,module,exports){ +},{}],153:[function(require,module,exports){ var anObject = require('./_an-object'); var isObject = require('./_is-object'); var newPromiseCapability = require('./_new-promise-capability'); @@ -6458,16 +6567,16 @@ module.exports = function (C, x) { return promiseCapability.promise; }; -},{"./_an-object":73,"./_is-object":116,"./_new-promise-capability":131}],151:[function(require,module,exports){ -arguments[4][65][0].apply(exports,arguments) -},{"dup":65}],152:[function(require,module,exports){ +},{"./_an-object":76,"./_is-object":119,"./_new-promise-capability":134}],154:[function(require,module,exports){ +arguments[4][68][0].apply(exports,arguments) +},{"dup":68}],155:[function(require,module,exports){ var redefine = require('./_redefine'); module.exports = function (target, src, safe) { for (var key in src) redefine(target, key, src[key], safe); return target; }; -},{"./_redefine":153}],153:[function(require,module,exports){ +},{"./_redefine":156}],156:[function(require,module,exports){ var global = require('./_global'); var hide = require('./_hide'); var has = require('./_has'); @@ -6500,7 +6609,7 @@ require('./_core').inspectSource = function (it) { return typeof this == 'function' && this[SRC] || $toString.call(this); }); -},{"./_core":87,"./_function-to-string":104,"./_global":105,"./_has":106,"./_hide":107,"./_uid":182}],154:[function(require,module,exports){ +},{"./_core":90,"./_function-to-string":107,"./_global":108,"./_has":109,"./_hide":110,"./_uid":185}],157:[function(require,module,exports){ 'use strict'; var classof = require('./_classof'); @@ -6523,7 +6632,7 @@ module.exports = function (R, S) { return builtinExec.call(R, S); }; -},{"./_classof":82}],155:[function(require,module,exports){ +},{"./_classof":85}],158:[function(require,module,exports){ 'use strict'; var regexpFlags = require('./_flags'); @@ -6583,14 +6692,14 @@ if (PATCH) { module.exports = patchedExec; -},{"./_flags":101}],156:[function(require,module,exports){ +},{"./_flags":104}],159:[function(require,module,exports){ // 7.2.9 SameValue(x, y) module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; -},{}],157:[function(require,module,exports){ +},{}],160:[function(require,module,exports){ // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = require('./_is-object'); @@ -6617,7 +6726,7 @@ module.exports = { check: check }; -},{"./_an-object":73,"./_ctx":89,"./_is-object":116,"./_object-gopd":136}],158:[function(require,module,exports){ +},{"./_an-object":76,"./_ctx":92,"./_is-object":119,"./_object-gopd":139}],161:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var dP = require('./_object-dp'); @@ -6632,7 +6741,7 @@ module.exports = function (KEY) { }); }; -},{"./_descriptors":93,"./_global":105,"./_object-dp":134,"./_wks":187}],159:[function(require,module,exports){ +},{"./_descriptors":96,"./_global":108,"./_object-dp":137,"./_wks":190}],162:[function(require,module,exports){ var def = require('./_object-dp').f; var has = require('./_has'); var TAG = require('./_wks')('toStringTag'); @@ -6641,14 +6750,14 @@ module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; -},{"./_has":106,"./_object-dp":134,"./_wks":187}],160:[function(require,module,exports){ +},{"./_has":109,"./_object-dp":137,"./_wks":190}],163:[function(require,module,exports){ var shared = require('./_shared')('keys'); var uid = require('./_uid'); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; -},{"./_shared":161,"./_uid":182}],161:[function(require,module,exports){ +},{"./_shared":164,"./_uid":185}],164:[function(require,module,exports){ var core = require('./_core'); var global = require('./_global'); var SHARED = '__core-js_shared__'; @@ -6662,7 +6771,7 @@ var store = global[SHARED] || (global[SHARED] = {}); copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); -},{"./_core":87,"./_global":105,"./_library":124}],162:[function(require,module,exports){ +},{"./_core":90,"./_global":108,"./_library":127}],165:[function(require,module,exports){ // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = require('./_an-object'); var aFunction = require('./_a-function'); @@ -6673,7 +6782,7 @@ module.exports = function (O, D) { return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; -},{"./_a-function":68,"./_an-object":73,"./_wks":187}],163:[function(require,module,exports){ +},{"./_a-function":71,"./_an-object":76,"./_wks":190}],166:[function(require,module,exports){ 'use strict'; var fails = require('./_fails'); @@ -6684,7 +6793,7 @@ module.exports = function (method, arg) { }); }; -},{"./_fails":99}],164:[function(require,module,exports){ +},{"./_fails":102}],167:[function(require,module,exports){ var toInteger = require('./_to-integer'); var defined = require('./_defined'); // true -> String#at @@ -6703,7 +6812,7 @@ module.exports = function (TO_STRING) { }; }; -},{"./_defined":92,"./_to-integer":174}],165:[function(require,module,exports){ +},{"./_defined":95,"./_to-integer":177}],168:[function(require,module,exports){ // helper for String#{startsWith, endsWith, includes} var isRegExp = require('./_is-regexp'); var defined = require('./_defined'); @@ -6713,7 +6822,7 @@ module.exports = function (that, searchString, NAME) { return String(defined(that)); }; -},{"./_defined":92,"./_is-regexp":117}],166:[function(require,module,exports){ +},{"./_defined":95,"./_is-regexp":120}],169:[function(require,module,exports){ var $export = require('./_export'); var fails = require('./_fails'); var defined = require('./_defined'); @@ -6734,7 +6843,7 @@ module.exports = function (NAME, exec) { }), 'String', O); }; -},{"./_defined":92,"./_export":97,"./_fails":99}],167:[function(require,module,exports){ +},{"./_defined":95,"./_export":100,"./_fails":102}],170:[function(require,module,exports){ // https://github.com/tc39/proposal-string-pad-start-end var toLength = require('./_to-length'); var repeat = require('./_string-repeat'); @@ -6752,7 +6861,7 @@ module.exports = function (that, maxLength, fillString, left) { return left ? stringFiller + S : S + stringFiller; }; -},{"./_defined":92,"./_string-repeat":168,"./_to-length":176}],168:[function(require,module,exports){ +},{"./_defined":95,"./_string-repeat":171,"./_to-length":179}],171:[function(require,module,exports){ 'use strict'; var toInteger = require('./_to-integer'); var defined = require('./_defined'); @@ -6766,7 +6875,7 @@ module.exports = function repeat(count) { return res; }; -},{"./_defined":92,"./_to-integer":174}],169:[function(require,module,exports){ +},{"./_defined":95,"./_to-integer":177}],172:[function(require,module,exports){ var $export = require('./_export'); var defined = require('./_defined'); var fails = require('./_fails'); @@ -6798,11 +6907,11 @@ var trim = exporter.trim = function (string, TYPE) { module.exports = exporter; -},{"./_defined":92,"./_export":97,"./_fails":99,"./_string-ws":170}],170:[function(require,module,exports){ +},{"./_defined":95,"./_export":100,"./_fails":102,"./_string-ws":173}],173:[function(require,module,exports){ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; -},{}],171:[function(require,module,exports){ +},{}],174:[function(require,module,exports){ var ctx = require('./_ctx'); var invoke = require('./_invoke'); var html = require('./_html'); @@ -6888,7 +6997,7 @@ module.exports = { clear: clearTask }; -},{"./_cof":83,"./_ctx":89,"./_dom-create":94,"./_global":105,"./_html":108,"./_invoke":111}],172:[function(require,module,exports){ +},{"./_cof":86,"./_ctx":92,"./_dom-create":97,"./_global":108,"./_html":111,"./_invoke":114}],175:[function(require,module,exports){ var toInteger = require('./_to-integer'); var max = Math.max; var min = Math.min; @@ -6897,7 +7006,7 @@ module.exports = function (index, length) { return index < 0 ? max(index + length, 0) : min(index, length); }; -},{"./_to-integer":174}],173:[function(require,module,exports){ +},{"./_to-integer":177}],176:[function(require,module,exports){ // https://tc39.github.io/ecma262/#sec-toindex var toInteger = require('./_to-integer'); var toLength = require('./_to-length'); @@ -6909,7 +7018,7 @@ module.exports = function (it) { return length; }; -},{"./_to-integer":174,"./_to-length":176}],174:[function(require,module,exports){ +},{"./_to-integer":177,"./_to-length":179}],177:[function(require,module,exports){ // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; @@ -6917,7 +7026,7 @@ module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; -},{}],175:[function(require,module,exports){ +},{}],178:[function(require,module,exports){ // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = require('./_iobject'); var defined = require('./_defined'); @@ -6925,7 +7034,7 @@ module.exports = function (it) { return IObject(defined(it)); }; -},{"./_defined":92,"./_iobject":112}],176:[function(require,module,exports){ +},{"./_defined":95,"./_iobject":115}],179:[function(require,module,exports){ // 7.1.15 ToLength var toInteger = require('./_to-integer'); var min = Math.min; @@ -6933,16 +7042,16 @@ module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; -},{"./_to-integer":174}],177:[function(require,module,exports){ +},{"./_to-integer":177}],180:[function(require,module,exports){ // 7.1.13 ToObject(argument) var defined = require('./_defined'); module.exports = function (it) { return Object(defined(it)); }; -},{"./_defined":92}],178:[function(require,module,exports){ -arguments[4][66][0].apply(exports,arguments) -},{"./_is-object":116,"dup":66}],179:[function(require,module,exports){ +},{"./_defined":95}],181:[function(require,module,exports){ +arguments[4][69][0].apply(exports,arguments) +},{"./_is-object":119,"dup":69}],182:[function(require,module,exports){ 'use strict'; if (require('./_descriptors')) { var LIBRARY = require('./_library'); @@ -7424,7 +7533,7 @@ if (require('./_descriptors')) { }; } else module.exports = function () { /* empty */ }; -},{"./_an-instance":72,"./_array-copy-within":74,"./_array-fill":75,"./_array-includes":76,"./_array-methods":77,"./_classof":82,"./_ctx":89,"./_descriptors":93,"./_export":97,"./_fails":99,"./_global":105,"./_has":106,"./_hide":107,"./_is-array-iter":113,"./_is-object":116,"./_iter-detect":121,"./_iterators":123,"./_library":124,"./_object-create":133,"./_object-dp":134,"./_object-gopd":136,"./_object-gopn":138,"./_object-gpo":140,"./_property-desc":151,"./_redefine-all":152,"./_set-species":158,"./_species-constructor":162,"./_to-absolute-index":172,"./_to-index":173,"./_to-integer":174,"./_to-length":176,"./_to-object":177,"./_to-primitive":178,"./_typed":181,"./_typed-buffer":180,"./_uid":182,"./_wks":187,"./core.get-iterator-method":188,"./es6.array.iterator":199}],180:[function(require,module,exports){ +},{"./_an-instance":75,"./_array-copy-within":77,"./_array-fill":78,"./_array-includes":79,"./_array-methods":80,"./_classof":85,"./_ctx":92,"./_descriptors":96,"./_export":100,"./_fails":102,"./_global":108,"./_has":109,"./_hide":110,"./_is-array-iter":116,"./_is-object":119,"./_iter-detect":124,"./_iterators":126,"./_library":127,"./_object-create":136,"./_object-dp":137,"./_object-gopd":139,"./_object-gopn":141,"./_object-gpo":143,"./_property-desc":154,"./_redefine-all":155,"./_set-species":161,"./_species-constructor":165,"./_to-absolute-index":175,"./_to-index":176,"./_to-integer":177,"./_to-length":179,"./_to-object":180,"./_to-primitive":181,"./_typed":184,"./_typed-buffer":183,"./_uid":185,"./_wks":190,"./core.get-iterator-method":191,"./es6.array.iterator":202}],183:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var DESCRIPTORS = require('./_descriptors'); @@ -7702,7 +7811,7 @@ hide($DataView[PROTOTYPE], $typed.VIEW, true); exports[ARRAY_BUFFER] = $ArrayBuffer; exports[DATA_VIEW] = $DataView; -},{"./_an-instance":72,"./_array-fill":75,"./_descriptors":93,"./_fails":99,"./_global":105,"./_hide":107,"./_library":124,"./_object-dp":134,"./_object-gopn":138,"./_redefine-all":152,"./_set-to-string-tag":159,"./_to-index":173,"./_to-integer":174,"./_to-length":176,"./_typed":181}],181:[function(require,module,exports){ +},{"./_an-instance":75,"./_array-fill":78,"./_descriptors":96,"./_fails":102,"./_global":108,"./_hide":110,"./_library":127,"./_object-dp":137,"./_object-gopn":141,"./_redefine-all":155,"./_set-to-string-tag":162,"./_to-index":176,"./_to-integer":177,"./_to-length":179,"./_typed":184}],184:[function(require,module,exports){ var global = require('./_global'); var hide = require('./_hide'); var uid = require('./_uid'); @@ -7732,27 +7841,27 @@ module.exports = { VIEW: VIEW }; -},{"./_global":105,"./_hide":107,"./_uid":182}],182:[function(require,module,exports){ +},{"./_global":108,"./_hide":110,"./_uid":185}],185:[function(require,module,exports){ var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; -},{}],183:[function(require,module,exports){ +},{}],186:[function(require,module,exports){ var global = require('./_global'); var navigator = global.navigator; module.exports = navigator && navigator.userAgent || ''; -},{"./_global":105}],184:[function(require,module,exports){ +},{"./_global":108}],187:[function(require,module,exports){ var isObject = require('./_is-object'); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; }; -},{"./_is-object":116}],185:[function(require,module,exports){ +},{"./_is-object":119}],188:[function(require,module,exports){ var global = require('./_global'); var core = require('./_core'); var LIBRARY = require('./_library'); @@ -7763,10 +7872,10 @@ module.exports = function (name) { if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; -},{"./_core":87,"./_global":105,"./_library":124,"./_object-dp":134,"./_wks-ext":186}],186:[function(require,module,exports){ +},{"./_core":90,"./_global":108,"./_library":127,"./_object-dp":137,"./_wks-ext":189}],189:[function(require,module,exports){ exports.f = require('./_wks'); -},{"./_wks":187}],187:[function(require,module,exports){ +},{"./_wks":190}],190:[function(require,module,exports){ var store = require('./_shared')('wks'); var uid = require('./_uid'); var Symbol = require('./_global').Symbol; @@ -7779,7 +7888,7 @@ var $exports = module.exports = function (name) { $exports.store = store; -},{"./_global":105,"./_shared":161,"./_uid":182}],188:[function(require,module,exports){ +},{"./_global":108,"./_shared":164,"./_uid":185}],191:[function(require,module,exports){ var classof = require('./_classof'); var ITERATOR = require('./_wks')('iterator'); var Iterators = require('./_iterators'); @@ -7789,7 +7898,7 @@ module.exports = require('./_core').getIteratorMethod = function (it) { || Iterators[classof(it)]; }; -},{"./_classof":82,"./_core":87,"./_iterators":123,"./_wks":187}],189:[function(require,module,exports){ +},{"./_classof":85,"./_core":90,"./_iterators":126,"./_wks":190}],192:[function(require,module,exports){ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = require('./_export'); @@ -7797,7 +7906,7 @@ $export($export.P, 'Array', { copyWithin: require('./_array-copy-within') }); require('./_add-to-unscopables')('copyWithin'); -},{"./_add-to-unscopables":70,"./_array-copy-within":74,"./_export":97}],190:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_array-copy-within":77,"./_export":100}],193:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $every = require('./_array-methods')(4); @@ -7809,7 +7918,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].every, true), 'A } }); -},{"./_array-methods":77,"./_export":97,"./_strict-method":163}],191:[function(require,module,exports){ +},{"./_array-methods":80,"./_export":100,"./_strict-method":166}],194:[function(require,module,exports){ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = require('./_export'); @@ -7817,7 +7926,7 @@ $export($export.P, 'Array', { fill: require('./_array-fill') }); require('./_add-to-unscopables')('fill'); -},{"./_add-to-unscopables":70,"./_array-fill":75,"./_export":97}],192:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_array-fill":78,"./_export":100}],195:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $filter = require('./_array-methods')(2); @@ -7829,7 +7938,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].filter, true), ' } }); -},{"./_array-methods":77,"./_export":97,"./_strict-method":163}],193:[function(require,module,exports){ +},{"./_array-methods":80,"./_export":100,"./_strict-method":166}],196:[function(require,module,exports){ 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = require('./_export'); @@ -7845,7 +7954,7 @@ $export($export.P + $export.F * forced, 'Array', { }); require('./_add-to-unscopables')(KEY); -},{"./_add-to-unscopables":70,"./_array-methods":77,"./_export":97}],194:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_array-methods":80,"./_export":100}],197:[function(require,module,exports){ 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = require('./_export'); @@ -7861,7 +7970,7 @@ $export($export.P + $export.F * forced, 'Array', { }); require('./_add-to-unscopables')(KEY); -},{"./_add-to-unscopables":70,"./_array-methods":77,"./_export":97}],195:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_array-methods":80,"./_export":100}],198:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $forEach = require('./_array-methods')(0); @@ -7874,7 +7983,7 @@ $export($export.P + $export.F * !STRICT, 'Array', { } }); -},{"./_array-methods":77,"./_export":97,"./_strict-method":163}],196:[function(require,module,exports){ +},{"./_array-methods":80,"./_export":100,"./_strict-method":166}],199:[function(require,module,exports){ 'use strict'; var ctx = require('./_ctx'); var $export = require('./_export'); @@ -7913,7 +8022,7 @@ $export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Arr } }); -},{"./_create-property":88,"./_ctx":89,"./_export":97,"./_is-array-iter":113,"./_iter-call":118,"./_iter-detect":121,"./_to-length":176,"./_to-object":177,"./core.get-iterator-method":188}],197:[function(require,module,exports){ +},{"./_create-property":91,"./_ctx":92,"./_export":100,"./_is-array-iter":116,"./_iter-call":121,"./_iter-detect":124,"./_to-length":179,"./_to-object":180,"./core.get-iterator-method":191}],200:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $indexOf = require('./_array-includes')(false); @@ -7930,13 +8039,13 @@ $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($ } }); -},{"./_array-includes":76,"./_export":97,"./_strict-method":163}],198:[function(require,module,exports){ +},{"./_array-includes":79,"./_export":100,"./_strict-method":166}],201:[function(require,module,exports){ // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = require('./_export'); $export($export.S, 'Array', { isArray: require('./_is-array') }); -},{"./_export":97,"./_is-array":114}],199:[function(require,module,exports){ +},{"./_export":100,"./_is-array":117}],202:[function(require,module,exports){ 'use strict'; var addToUnscopables = require('./_add-to-unscopables'); var step = require('./_iter-step'); @@ -7972,7 +8081,7 @@ addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); -},{"./_add-to-unscopables":70,"./_iter-define":120,"./_iter-step":122,"./_iterators":123,"./_to-iobject":175}],200:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_iter-define":123,"./_iter-step":125,"./_iterators":126,"./_to-iobject":178}],203:[function(require,module,exports){ 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = require('./_export'); @@ -7986,7 +8095,7 @@ $export($export.P + $export.F * (require('./_iobject') != Object || !require('./ } }); -},{"./_export":97,"./_iobject":112,"./_strict-method":163,"./_to-iobject":175}],201:[function(require,module,exports){ +},{"./_export":100,"./_iobject":115,"./_strict-method":166,"./_to-iobject":178}],204:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toIObject = require('./_to-iobject'); @@ -8010,7 +8119,7 @@ $export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($ } }); -},{"./_export":97,"./_strict-method":163,"./_to-integer":174,"./_to-iobject":175,"./_to-length":176}],202:[function(require,module,exports){ +},{"./_export":100,"./_strict-method":166,"./_to-integer":177,"./_to-iobject":178,"./_to-length":179}],205:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $map = require('./_array-methods')(1); @@ -8022,7 +8131,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Arr } }); -},{"./_array-methods":77,"./_export":97,"./_strict-method":163}],203:[function(require,module,exports){ +},{"./_array-methods":80,"./_export":100,"./_strict-method":166}],206:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var createProperty = require('./_create-property'); @@ -8043,7 +8152,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_create-property":88,"./_export":97,"./_fails":99}],204:[function(require,module,exports){ +},{"./_create-property":91,"./_export":100,"./_fails":102}],207:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $reduce = require('./_array-reduce'); @@ -8055,7 +8164,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].reduceRight, tru } }); -},{"./_array-reduce":78,"./_export":97,"./_strict-method":163}],205:[function(require,module,exports){ +},{"./_array-reduce":81,"./_export":100,"./_strict-method":166}],208:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $reduce = require('./_array-reduce'); @@ -8067,7 +8176,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].reduce, true), ' } }); -},{"./_array-reduce":78,"./_export":97,"./_strict-method":163}],206:[function(require,module,exports){ +},{"./_array-reduce":81,"./_export":100,"./_strict-method":166}],209:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var html = require('./_html'); @@ -8097,7 +8206,7 @@ $export($export.P + $export.F * require('./_fails')(function () { } }); -},{"./_cof":83,"./_export":97,"./_fails":99,"./_html":108,"./_to-absolute-index":172,"./_to-length":176}],207:[function(require,module,exports){ +},{"./_cof":86,"./_export":100,"./_fails":102,"./_html":111,"./_to-absolute-index":175,"./_to-length":179}],210:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $some = require('./_array-methods')(3); @@ -8109,7 +8218,7 @@ $export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Ar } }); -},{"./_array-methods":77,"./_export":97,"./_strict-method":163}],208:[function(require,module,exports){ +},{"./_array-methods":80,"./_export":100,"./_strict-method":166}],211:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var aFunction = require('./_a-function'); @@ -8134,16 +8243,16 @@ $export($export.P + $export.F * (fails(function () { } }); -},{"./_a-function":68,"./_export":97,"./_fails":99,"./_strict-method":163,"./_to-object":177}],209:[function(require,module,exports){ +},{"./_a-function":71,"./_export":100,"./_fails":102,"./_strict-method":166,"./_to-object":180}],212:[function(require,module,exports){ require('./_set-species')('Array'); -},{"./_set-species":158}],210:[function(require,module,exports){ +},{"./_set-species":161}],213:[function(require,module,exports){ // 20.3.3.1 / 15.9.4.4 Date.now() var $export = require('./_export'); $export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); -},{"./_export":97}],211:[function(require,module,exports){ +},{"./_export":100}],214:[function(require,module,exports){ // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var $export = require('./_export'); var toISOString = require('./_date-to-iso-string'); @@ -8153,7 +8262,7 @@ $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'D toISOString: toISOString }); -},{"./_date-to-iso-string":90,"./_export":97}],212:[function(require,module,exports){ +},{"./_date-to-iso-string":93,"./_export":100}],215:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toObject = require('./_to-object'); @@ -8171,13 +8280,13 @@ $export($export.P + $export.F * require('./_fails')(function () { } }); -},{"./_export":97,"./_fails":99,"./_to-object":177,"./_to-primitive":178}],213:[function(require,module,exports){ +},{"./_export":100,"./_fails":102,"./_to-object":180,"./_to-primitive":181}],216:[function(require,module,exports){ var TO_PRIMITIVE = require('./_wks')('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive')); -},{"./_date-to-primitive":91,"./_hide":107,"./_wks":187}],214:[function(require,module,exports){ +},{"./_date-to-primitive":94,"./_hide":110,"./_wks":190}],217:[function(require,module,exports){ var DateProto = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING = 'toString'; @@ -8191,13 +8300,13 @@ if (new Date(NaN) + '' != INVALID_DATE) { }); } -},{"./_redefine":153}],215:[function(require,module,exports){ +},{"./_redefine":156}],218:[function(require,module,exports){ // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = require('./_export'); $export($export.P, 'Function', { bind: require('./_bind') }); -},{"./_bind":81,"./_export":97}],216:[function(require,module,exports){ +},{"./_bind":84,"./_export":100}],219:[function(require,module,exports){ 'use strict'; var isObject = require('./_is-object'); var getPrototypeOf = require('./_object-gpo'); @@ -8212,7 +8321,7 @@ if (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, H return false; } }); -},{"./_is-object":116,"./_object-dp":134,"./_object-gpo":140,"./_wks":187}],217:[function(require,module,exports){ +},{"./_is-object":119,"./_object-dp":137,"./_object-gpo":143,"./_wks":190}],220:[function(require,module,exports){ var dP = require('./_object-dp').f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; @@ -8230,7 +8339,7 @@ NAME in FProto || require('./_descriptors') && dP(FProto, NAME, { } }); -},{"./_descriptors":93,"./_object-dp":134}],218:[function(require,module,exports){ +},{"./_descriptors":96,"./_object-dp":137}],221:[function(require,module,exports){ 'use strict'; var strong = require('./_collection-strong'); var validate = require('./_validate-collection'); @@ -8251,7 +8360,7 @@ module.exports = require('./_collection')(MAP, function (get) { } }, strong, true); -},{"./_collection":86,"./_collection-strong":84,"./_validate-collection":184}],219:[function(require,module,exports){ +},{"./_collection":89,"./_collection-strong":87,"./_validate-collection":187}],222:[function(require,module,exports){ // 20.2.2.3 Math.acosh(x) var $export = require('./_export'); var log1p = require('./_math-log1p'); @@ -8271,7 +8380,7 @@ $export($export.S + $export.F * !($acosh } }); -},{"./_export":97,"./_math-log1p":127}],220:[function(require,module,exports){ +},{"./_export":100,"./_math-log1p":130}],223:[function(require,module,exports){ // 20.2.2.5 Math.asinh(x) var $export = require('./_export'); var $asinh = Math.asinh; @@ -8283,7 +8392,7 @@ function asinh(x) { // Tor Browser bug: Math.asinh(0) -> -0 $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); -},{"./_export":97}],221:[function(require,module,exports){ +},{"./_export":100}],224:[function(require,module,exports){ // 20.2.2.7 Math.atanh(x) var $export = require('./_export'); var $atanh = Math.atanh; @@ -8295,7 +8404,7 @@ $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { } }); -},{"./_export":97}],222:[function(require,module,exports){ +},{"./_export":100}],225:[function(require,module,exports){ // 20.2.2.9 Math.cbrt(x) var $export = require('./_export'); var sign = require('./_math-sign'); @@ -8306,7 +8415,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":97,"./_math-sign":128}],223:[function(require,module,exports){ +},{"./_export":100,"./_math-sign":131}],226:[function(require,module,exports){ // 20.2.2.11 Math.clz32(x) var $export = require('./_export'); @@ -8316,7 +8425,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],224:[function(require,module,exports){ +},{"./_export":100}],227:[function(require,module,exports){ // 20.2.2.12 Math.cosh(x) var $export = require('./_export'); var exp = Math.exp; @@ -8327,20 +8436,20 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],225:[function(require,module,exports){ +},{"./_export":100}],228:[function(require,module,exports){ // 20.2.2.14 Math.expm1(x) var $export = require('./_export'); var $expm1 = require('./_math-expm1'); $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); -},{"./_export":97,"./_math-expm1":125}],226:[function(require,module,exports){ +},{"./_export":100,"./_math-expm1":128}],229:[function(require,module,exports){ // 20.2.2.16 Math.fround(x) var $export = require('./_export'); $export($export.S, 'Math', { fround: require('./_math-fround') }); -},{"./_export":97,"./_math-fround":126}],227:[function(require,module,exports){ +},{"./_export":100,"./_math-fround":129}],230:[function(require,module,exports){ // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) var $export = require('./_export'); var abs = Math.abs; @@ -8367,7 +8476,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],228:[function(require,module,exports){ +},{"./_export":100}],231:[function(require,module,exports){ // 20.2.2.18 Math.imul(x, y) var $export = require('./_export'); var $imul = Math.imul; @@ -8386,7 +8495,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_export":97,"./_fails":99}],229:[function(require,module,exports){ +},{"./_export":100,"./_fails":102}],232:[function(require,module,exports){ // 20.2.2.21 Math.log10(x) var $export = require('./_export'); @@ -8396,13 +8505,13 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],230:[function(require,module,exports){ +},{"./_export":100}],233:[function(require,module,exports){ // 20.2.2.20 Math.log1p(x) var $export = require('./_export'); $export($export.S, 'Math', { log1p: require('./_math-log1p') }); -},{"./_export":97,"./_math-log1p":127}],231:[function(require,module,exports){ +},{"./_export":100,"./_math-log1p":130}],234:[function(require,module,exports){ // 20.2.2.22 Math.log2(x) var $export = require('./_export'); @@ -8412,13 +8521,13 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],232:[function(require,module,exports){ +},{"./_export":100}],235:[function(require,module,exports){ // 20.2.2.28 Math.sign(x) var $export = require('./_export'); $export($export.S, 'Math', { sign: require('./_math-sign') }); -},{"./_export":97,"./_math-sign":128}],233:[function(require,module,exports){ +},{"./_export":100,"./_math-sign":131}],236:[function(require,module,exports){ // 20.2.2.30 Math.sinh(x) var $export = require('./_export'); var expm1 = require('./_math-expm1'); @@ -8435,7 +8544,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_export":97,"./_fails":99,"./_math-expm1":125}],234:[function(require,module,exports){ +},{"./_export":100,"./_fails":102,"./_math-expm1":128}],237:[function(require,module,exports){ // 20.2.2.33 Math.tanh(x) var $export = require('./_export'); var expm1 = require('./_math-expm1'); @@ -8449,7 +8558,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":97,"./_math-expm1":125}],235:[function(require,module,exports){ +},{"./_export":100,"./_math-expm1":128}],238:[function(require,module,exports){ // 20.2.2.34 Math.trunc(x) var $export = require('./_export'); @@ -8459,7 +8568,7 @@ $export($export.S, 'Math', { } }); -},{"./_export":97}],236:[function(require,module,exports){ +},{"./_export":100}],239:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var has = require('./_has'); @@ -8530,13 +8639,13 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { require('./_redefine')(global, NUMBER, $Number); } -},{"./_cof":83,"./_descriptors":93,"./_fails":99,"./_global":105,"./_has":106,"./_inherit-if-required":110,"./_object-create":133,"./_object-dp":134,"./_object-gopd":136,"./_object-gopn":138,"./_redefine":153,"./_string-trim":169,"./_to-primitive":178}],237:[function(require,module,exports){ +},{"./_cof":86,"./_descriptors":96,"./_fails":102,"./_global":108,"./_has":109,"./_inherit-if-required":113,"./_object-create":136,"./_object-dp":137,"./_object-gopd":139,"./_object-gopn":141,"./_redefine":156,"./_string-trim":172,"./_to-primitive":181}],240:[function(require,module,exports){ // 20.1.2.1 Number.EPSILON var $export = require('./_export'); $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); -},{"./_export":97}],238:[function(require,module,exports){ +},{"./_export":100}],241:[function(require,module,exports){ // 20.1.2.2 Number.isFinite(number) var $export = require('./_export'); var _isFinite = require('./_global').isFinite; @@ -8547,13 +8656,13 @@ $export($export.S, 'Number', { } }); -},{"./_export":97,"./_global":105}],239:[function(require,module,exports){ +},{"./_export":100,"./_global":108}],242:[function(require,module,exports){ // 20.1.2.3 Number.isInteger(number) var $export = require('./_export'); $export($export.S, 'Number', { isInteger: require('./_is-integer') }); -},{"./_export":97,"./_is-integer":115}],240:[function(require,module,exports){ +},{"./_export":100,"./_is-integer":118}],243:[function(require,module,exports){ // 20.1.2.4 Number.isNaN(number) var $export = require('./_export'); @@ -8564,7 +8673,7 @@ $export($export.S, 'Number', { } }); -},{"./_export":97}],241:[function(require,module,exports){ +},{"./_export":100}],244:[function(require,module,exports){ // 20.1.2.5 Number.isSafeInteger(number) var $export = require('./_export'); var isInteger = require('./_is-integer'); @@ -8576,31 +8685,31 @@ $export($export.S, 'Number', { } }); -},{"./_export":97,"./_is-integer":115}],242:[function(require,module,exports){ +},{"./_export":100,"./_is-integer":118}],245:[function(require,module,exports){ // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = require('./_export'); $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); -},{"./_export":97}],243:[function(require,module,exports){ +},{"./_export":100}],246:[function(require,module,exports){ // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = require('./_export'); $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); -},{"./_export":97}],244:[function(require,module,exports){ +},{"./_export":100}],247:[function(require,module,exports){ var $export = require('./_export'); var $parseFloat = require('./_parse-float'); // 20.1.2.12 Number.parseFloat(string) $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); -},{"./_export":97,"./_parse-float":147}],245:[function(require,module,exports){ +},{"./_export":100,"./_parse-float":150}],248:[function(require,module,exports){ var $export = require('./_export'); var $parseInt = require('./_parse-int'); // 20.1.2.13 Number.parseInt(string, radix) $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); -},{"./_export":97,"./_parse-int":148}],246:[function(require,module,exports){ +},{"./_export":100,"./_parse-int":151}],249:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var toInteger = require('./_to-integer'); @@ -8716,7 +8825,7 @@ $export($export.P + $export.F * (!!$toFixed && ( } }); -},{"./_a-number-value":69,"./_export":97,"./_fails":99,"./_string-repeat":168,"./_to-integer":174}],247:[function(require,module,exports){ +},{"./_a-number-value":72,"./_export":100,"./_fails":102,"./_string-repeat":171,"./_to-integer":177}],250:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $fails = require('./_fails'); @@ -8736,28 +8845,28 @@ $export($export.P + $export.F * ($fails(function () { } }); -},{"./_a-number-value":69,"./_export":97,"./_fails":99}],248:[function(require,module,exports){ +},{"./_a-number-value":72,"./_export":100,"./_fails":102}],251:[function(require,module,exports){ // 19.1.3.1 Object.assign(target, source) var $export = require('./_export'); $export($export.S + $export.F, 'Object', { assign: require('./_object-assign') }); -},{"./_export":97,"./_object-assign":132}],249:[function(require,module,exports){ +},{"./_export":100,"./_object-assign":135}],252:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: require('./_object-create') }); -},{"./_export":97,"./_object-create":133}],250:[function(require,module,exports){ +},{"./_export":100,"./_object-create":136}],253:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) $export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') }); -},{"./_descriptors":93,"./_export":97,"./_object-dps":135}],251:[function(require,module,exports){ +},{"./_descriptors":96,"./_export":100,"./_object-dps":138}],254:[function(require,module,exports){ var $export = require('./_export'); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f }); -},{"./_descriptors":93,"./_export":97,"./_object-dp":134}],252:[function(require,module,exports){ +},{"./_descriptors":96,"./_export":100,"./_object-dp":137}],255:[function(require,module,exports){ // 19.1.2.5 Object.freeze(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -8768,7 +8877,7 @@ require('./_object-sap')('freeze', function ($freeze) { }; }); -},{"./_is-object":116,"./_meta":129,"./_object-sap":144}],253:[function(require,module,exports){ +},{"./_is-object":119,"./_meta":132,"./_object-sap":147}],256:[function(require,module,exports){ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = require('./_to-iobject'); var $getOwnPropertyDescriptor = require('./_object-gopd').f; @@ -8779,13 +8888,13 @@ require('./_object-sap')('getOwnPropertyDescriptor', function () { }; }); -},{"./_object-gopd":136,"./_object-sap":144,"./_to-iobject":175}],254:[function(require,module,exports){ +},{"./_object-gopd":139,"./_object-sap":147,"./_to-iobject":178}],257:[function(require,module,exports){ // 19.1.2.7 Object.getOwnPropertyNames(O) require('./_object-sap')('getOwnPropertyNames', function () { return require('./_object-gopn-ext').f; }); -},{"./_object-gopn-ext":137,"./_object-sap":144}],255:[function(require,module,exports){ +},{"./_object-gopn-ext":140,"./_object-sap":147}],258:[function(require,module,exports){ // 19.1.2.9 Object.getPrototypeOf(O) var toObject = require('./_to-object'); var $getPrototypeOf = require('./_object-gpo'); @@ -8796,7 +8905,7 @@ require('./_object-sap')('getPrototypeOf', function () { }; }); -},{"./_object-gpo":140,"./_object-sap":144,"./_to-object":177}],256:[function(require,module,exports){ +},{"./_object-gpo":143,"./_object-sap":147,"./_to-object":180}],259:[function(require,module,exports){ // 19.1.2.11 Object.isExtensible(O) var isObject = require('./_is-object'); @@ -8806,7 +8915,7 @@ require('./_object-sap')('isExtensible', function ($isExtensible) { }; }); -},{"./_is-object":116,"./_object-sap":144}],257:[function(require,module,exports){ +},{"./_is-object":119,"./_object-sap":147}],260:[function(require,module,exports){ // 19.1.2.12 Object.isFrozen(O) var isObject = require('./_is-object'); @@ -8816,7 +8925,7 @@ require('./_object-sap')('isFrozen', function ($isFrozen) { }; }); -},{"./_is-object":116,"./_object-sap":144}],258:[function(require,module,exports){ +},{"./_is-object":119,"./_object-sap":147}],261:[function(require,module,exports){ // 19.1.2.13 Object.isSealed(O) var isObject = require('./_is-object'); @@ -8826,12 +8935,12 @@ require('./_object-sap')('isSealed', function ($isSealed) { }; }); -},{"./_is-object":116,"./_object-sap":144}],259:[function(require,module,exports){ +},{"./_is-object":119,"./_object-sap":147}],262:[function(require,module,exports){ // 19.1.3.10 Object.is(value1, value2) var $export = require('./_export'); $export($export.S, 'Object', { is: require('./_same-value') }); -},{"./_export":97,"./_same-value":156}],260:[function(require,module,exports){ +},{"./_export":100,"./_same-value":159}],263:[function(require,module,exports){ // 19.1.2.14 Object.keys(O) var toObject = require('./_to-object'); var $keys = require('./_object-keys'); @@ -8842,7 +8951,7 @@ require('./_object-sap')('keys', function () { }; }); -},{"./_object-keys":142,"./_object-sap":144,"./_to-object":177}],261:[function(require,module,exports){ +},{"./_object-keys":145,"./_object-sap":147,"./_to-object":180}],264:[function(require,module,exports){ // 19.1.2.15 Object.preventExtensions(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -8853,7 +8962,7 @@ require('./_object-sap')('preventExtensions', function ($preventExtensions) { }; }); -},{"./_is-object":116,"./_meta":129,"./_object-sap":144}],262:[function(require,module,exports){ +},{"./_is-object":119,"./_meta":132,"./_object-sap":147}],265:[function(require,module,exports){ // 19.1.2.17 Object.seal(O) var isObject = require('./_is-object'); var meta = require('./_meta').onFreeze; @@ -8864,12 +8973,12 @@ require('./_object-sap')('seal', function ($seal) { }; }); -},{"./_is-object":116,"./_meta":129,"./_object-sap":144}],263:[function(require,module,exports){ +},{"./_is-object":119,"./_meta":132,"./_object-sap":147}],266:[function(require,module,exports){ // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = require('./_export'); $export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set }); -},{"./_export":97,"./_set-proto":157}],264:[function(require,module,exports){ +},{"./_export":100,"./_set-proto":160}],267:[function(require,module,exports){ 'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = require('./_classof'); @@ -8881,19 +8990,19 @@ if (test + '' != '[object z]') { }, true); } -},{"./_classof":82,"./_redefine":153,"./_wks":187}],265:[function(require,module,exports){ +},{"./_classof":85,"./_redefine":156,"./_wks":190}],268:[function(require,module,exports){ var $export = require('./_export'); var $parseFloat = require('./_parse-float'); // 18.2.4 parseFloat(string) $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); -},{"./_export":97,"./_parse-float":147}],266:[function(require,module,exports){ +},{"./_export":100,"./_parse-float":150}],269:[function(require,module,exports){ var $export = require('./_export'); var $parseInt = require('./_parse-int'); // 18.2.5 parseInt(string, radix) $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); -},{"./_export":97,"./_parse-int":148}],267:[function(require,module,exports){ +},{"./_export":100,"./_parse-int":151}],270:[function(require,module,exports){ 'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); @@ -9181,7 +9290,7 @@ $export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(functi } }); -},{"./_a-function":68,"./_an-instance":72,"./_classof":82,"./_core":87,"./_ctx":89,"./_export":97,"./_for-of":103,"./_global":105,"./_is-object":116,"./_iter-detect":121,"./_library":124,"./_microtask":130,"./_new-promise-capability":131,"./_perform":149,"./_promise-resolve":150,"./_redefine-all":152,"./_set-species":158,"./_set-to-string-tag":159,"./_species-constructor":162,"./_task":171,"./_user-agent":183,"./_wks":187}],268:[function(require,module,exports){ +},{"./_a-function":71,"./_an-instance":75,"./_classof":85,"./_core":90,"./_ctx":92,"./_export":100,"./_for-of":106,"./_global":108,"./_is-object":119,"./_iter-detect":124,"./_library":127,"./_microtask":133,"./_new-promise-capability":134,"./_perform":152,"./_promise-resolve":153,"./_redefine-all":155,"./_set-species":161,"./_set-to-string-tag":162,"./_species-constructor":165,"./_task":174,"./_user-agent":186,"./_wks":190}],271:[function(require,module,exports){ // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = require('./_export'); var aFunction = require('./_a-function'); @@ -9199,7 +9308,7 @@ $export($export.S + $export.F * !require('./_fails')(function () { } }); -},{"./_a-function":68,"./_an-object":73,"./_export":97,"./_fails":99,"./_global":105}],269:[function(require,module,exports){ +},{"./_a-function":71,"./_an-object":76,"./_export":100,"./_fails":102,"./_global":108}],272:[function(require,module,exports){ // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = require('./_export'); var create = require('./_object-create'); @@ -9248,7 +9357,7 @@ $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { } }); -},{"./_a-function":68,"./_an-object":73,"./_bind":81,"./_export":97,"./_fails":99,"./_global":105,"./_is-object":116,"./_object-create":133}],270:[function(require,module,exports){ +},{"./_a-function":71,"./_an-object":76,"./_bind":84,"./_export":100,"./_fails":102,"./_global":108,"./_is-object":119,"./_object-create":136}],273:[function(require,module,exports){ // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) var dP = require('./_object-dp'); var $export = require('./_export'); @@ -9273,7 +9382,7 @@ $export($export.S + $export.F * require('./_fails')(function () { } }); -},{"./_an-object":73,"./_export":97,"./_fails":99,"./_object-dp":134,"./_to-primitive":178}],271:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_fails":102,"./_object-dp":137,"./_to-primitive":181}],274:[function(require,module,exports){ // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = require('./_export'); var gOPD = require('./_object-gopd').f; @@ -9286,7 +9395,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97,"./_object-gopd":136}],272:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_object-gopd":139}],275:[function(require,module,exports){ 'use strict'; // 26.1.5 Reflect.enumerate(target) var $export = require('./_export'); @@ -9314,7 +9423,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97,"./_iter-create":119}],273:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_iter-create":122}],276:[function(require,module,exports){ // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) var gOPD = require('./_object-gopd'); var $export = require('./_export'); @@ -9326,7 +9435,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97,"./_object-gopd":136}],274:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_object-gopd":139}],277:[function(require,module,exports){ // 26.1.8 Reflect.getPrototypeOf(target) var $export = require('./_export'); var getProto = require('./_object-gpo'); @@ -9338,7 +9447,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97,"./_object-gpo":140}],275:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_object-gpo":143}],278:[function(require,module,exports){ // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = require('./_object-gopd'); var getPrototypeOf = require('./_object-gpo'); @@ -9361,7 +9470,7 @@ function get(target, propertyKey /* , receiver */) { $export($export.S, 'Reflect', { get: get }); -},{"./_an-object":73,"./_export":97,"./_has":106,"./_is-object":116,"./_object-gopd":136,"./_object-gpo":140}],276:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_has":109,"./_is-object":119,"./_object-gopd":139,"./_object-gpo":143}],279:[function(require,module,exports){ // 26.1.9 Reflect.has(target, propertyKey) var $export = require('./_export'); @@ -9371,7 +9480,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_export":97}],277:[function(require,module,exports){ +},{"./_export":100}],280:[function(require,module,exports){ // 26.1.10 Reflect.isExtensible(target) var $export = require('./_export'); var anObject = require('./_an-object'); @@ -9384,13 +9493,13 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97}],278:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100}],281:[function(require,module,exports){ // 26.1.11 Reflect.ownKeys(target) var $export = require('./_export'); $export($export.S, 'Reflect', { ownKeys: require('./_own-keys') }); -},{"./_export":97,"./_own-keys":146}],279:[function(require,module,exports){ +},{"./_export":100,"./_own-keys":149}],282:[function(require,module,exports){ // 26.1.12 Reflect.preventExtensions(target) var $export = require('./_export'); var anObject = require('./_an-object'); @@ -9408,7 +9517,7 @@ $export($export.S, 'Reflect', { } }); -},{"./_an-object":73,"./_export":97}],280:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100}],283:[function(require,module,exports){ // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = require('./_export'); var setProto = require('./_set-proto'); @@ -9425,7 +9534,7 @@ if (setProto) $export($export.S, 'Reflect', { } }); -},{"./_export":97,"./_set-proto":157}],281:[function(require,module,exports){ +},{"./_export":100,"./_set-proto":160}],284:[function(require,module,exports){ // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = require('./_object-dp'); var gOPD = require('./_object-gopd'); @@ -9460,7 +9569,7 @@ function set(target, propertyKey, V /* , receiver */) { $export($export.S, 'Reflect', { set: set }); -},{"./_an-object":73,"./_export":97,"./_has":106,"./_is-object":116,"./_object-dp":134,"./_object-gopd":136,"./_object-gpo":140,"./_property-desc":151}],282:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_has":109,"./_is-object":119,"./_object-dp":137,"./_object-gopd":139,"./_object-gpo":143,"./_property-desc":154}],285:[function(require,module,exports){ var global = require('./_global'); var inheritIfRequired = require('./_inherit-if-required'); var dP = require('./_object-dp').f; @@ -9505,7 +9614,7 @@ if (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function ( require('./_set-species')('RegExp'); -},{"./_descriptors":93,"./_fails":99,"./_flags":101,"./_global":105,"./_inherit-if-required":110,"./_is-regexp":117,"./_object-dp":134,"./_object-gopn":138,"./_redefine":153,"./_set-species":158,"./_wks":187}],283:[function(require,module,exports){ +},{"./_descriptors":96,"./_fails":102,"./_flags":104,"./_global":108,"./_inherit-if-required":113,"./_is-regexp":120,"./_object-dp":137,"./_object-gopn":141,"./_redefine":156,"./_set-species":161,"./_wks":190}],286:[function(require,module,exports){ 'use strict'; var regexpExec = require('./_regexp-exec'); require('./_export')({ @@ -9516,14 +9625,14 @@ require('./_export')({ exec: regexpExec }); -},{"./_export":97,"./_regexp-exec":155}],284:[function(require,module,exports){ +},{"./_export":100,"./_regexp-exec":158}],287:[function(require,module,exports){ // 21.2.5.3 get RegExp.prototype.flags() if (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', { configurable: true, get: require('./_flags') }); -},{"./_descriptors":93,"./_flags":101,"./_object-dp":134}],285:[function(require,module,exports){ +},{"./_descriptors":96,"./_flags":104,"./_object-dp":137}],288:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -9565,7 +9674,7 @@ require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCall ]; }); -},{"./_advance-string-index":71,"./_an-object":73,"./_fix-re-wks":100,"./_regexp-exec-abstract":154,"./_to-length":176}],286:[function(require,module,exports){ +},{"./_advance-string-index":74,"./_an-object":76,"./_fix-re-wks":103,"./_regexp-exec-abstract":157,"./_to-length":179}],289:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -9685,7 +9794,7 @@ require('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, may } }); -},{"./_advance-string-index":71,"./_an-object":73,"./_fix-re-wks":100,"./_regexp-exec-abstract":154,"./_to-integer":174,"./_to-length":176,"./_to-object":177}],287:[function(require,module,exports){ +},{"./_advance-string-index":74,"./_an-object":76,"./_fix-re-wks":103,"./_regexp-exec-abstract":157,"./_to-integer":177,"./_to-length":179,"./_to-object":180}],290:[function(require,module,exports){ 'use strict'; var anObject = require('./_an-object'); @@ -9718,7 +9827,7 @@ require('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeC ]; }); -},{"./_an-object":73,"./_fix-re-wks":100,"./_regexp-exec-abstract":154,"./_same-value":156}],288:[function(require,module,exports){ +},{"./_an-object":76,"./_fix-re-wks":103,"./_regexp-exec-abstract":157,"./_same-value":159}],291:[function(require,module,exports){ 'use strict'; var isRegExp = require('./_is-regexp'); @@ -9854,7 +9963,7 @@ require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCall ]; }); -},{"./_advance-string-index":71,"./_an-object":73,"./_fails":99,"./_fix-re-wks":100,"./_is-regexp":117,"./_regexp-exec":155,"./_regexp-exec-abstract":154,"./_species-constructor":162,"./_to-length":176}],289:[function(require,module,exports){ +},{"./_advance-string-index":74,"./_an-object":76,"./_fails":102,"./_fix-re-wks":103,"./_is-regexp":120,"./_regexp-exec":158,"./_regexp-exec-abstract":157,"./_species-constructor":165,"./_to-length":179}],292:[function(require,module,exports){ 'use strict'; require('./es6.regexp.flags'); var anObject = require('./_an-object'); @@ -9881,7 +9990,7 @@ if (require('./_fails')(function () { return $toString.call({ source: 'a', flags }); } -},{"./_an-object":73,"./_descriptors":93,"./_fails":99,"./_flags":101,"./_redefine":153,"./es6.regexp.flags":284}],290:[function(require,module,exports){ +},{"./_an-object":76,"./_descriptors":96,"./_fails":102,"./_flags":104,"./_redefine":156,"./es6.regexp.flags":287}],293:[function(require,module,exports){ 'use strict'; var strong = require('./_collection-strong'); var validate = require('./_validate-collection'); @@ -9897,7 +10006,7 @@ module.exports = require('./_collection')(SET, function (get) { } }, strong); -},{"./_collection":86,"./_collection-strong":84,"./_validate-collection":184}],291:[function(require,module,exports){ +},{"./_collection":89,"./_collection-strong":87,"./_validate-collection":187}],294:[function(require,module,exports){ 'use strict'; // B.2.3.2 String.prototype.anchor(name) require('./_string-html')('anchor', function (createHTML) { @@ -9906,7 +10015,7 @@ require('./_string-html')('anchor', function (createHTML) { }; }); -},{"./_string-html":166}],292:[function(require,module,exports){ +},{"./_string-html":169}],295:[function(require,module,exports){ 'use strict'; // B.2.3.3 String.prototype.big() require('./_string-html')('big', function (createHTML) { @@ -9915,7 +10024,7 @@ require('./_string-html')('big', function (createHTML) { }; }); -},{"./_string-html":166}],293:[function(require,module,exports){ +},{"./_string-html":169}],296:[function(require,module,exports){ 'use strict'; // B.2.3.4 String.prototype.blink() require('./_string-html')('blink', function (createHTML) { @@ -9924,7 +10033,7 @@ require('./_string-html')('blink', function (createHTML) { }; }); -},{"./_string-html":166}],294:[function(require,module,exports){ +},{"./_string-html":169}],297:[function(require,module,exports){ 'use strict'; // B.2.3.5 String.prototype.bold() require('./_string-html')('bold', function (createHTML) { @@ -9933,7 +10042,7 @@ require('./_string-html')('bold', function (createHTML) { }; }); -},{"./_string-html":166}],295:[function(require,module,exports){ +},{"./_string-html":169}],298:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $at = require('./_string-at')(false); @@ -9944,7 +10053,7 @@ $export($export.P, 'String', { } }); -},{"./_export":97,"./_string-at":164}],296:[function(require,module,exports){ +},{"./_export":100,"./_string-at":167}],299:[function(require,module,exports){ // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; var $export = require('./_export'); @@ -9966,7 +10075,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'Strin } }); -},{"./_export":97,"./_fails-is-regexp":98,"./_string-context":165,"./_to-length":176}],297:[function(require,module,exports){ +},{"./_export":100,"./_fails-is-regexp":101,"./_string-context":168,"./_to-length":179}],300:[function(require,module,exports){ 'use strict'; // B.2.3.6 String.prototype.fixed() require('./_string-html')('fixed', function (createHTML) { @@ -9975,7 +10084,7 @@ require('./_string-html')('fixed', function (createHTML) { }; }); -},{"./_string-html":166}],298:[function(require,module,exports){ +},{"./_string-html":169}],301:[function(require,module,exports){ 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) require('./_string-html')('fontcolor', function (createHTML) { @@ -9984,7 +10093,7 @@ require('./_string-html')('fontcolor', function (createHTML) { }; }); -},{"./_string-html":166}],299:[function(require,module,exports){ +},{"./_string-html":169}],302:[function(require,module,exports){ 'use strict'; // B.2.3.8 String.prototype.fontsize(size) require('./_string-html')('fontsize', function (createHTML) { @@ -9993,7 +10102,7 @@ require('./_string-html')('fontsize', function (createHTML) { }; }); -},{"./_string-html":166}],300:[function(require,module,exports){ +},{"./_string-html":169}],303:[function(require,module,exports){ var $export = require('./_export'); var toAbsoluteIndex = require('./_to-absolute-index'); var fromCharCode = String.fromCharCode; @@ -10018,7 +10127,7 @@ $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1) } }); -},{"./_export":97,"./_to-absolute-index":172}],301:[function(require,module,exports){ +},{"./_export":100,"./_to-absolute-index":175}],304:[function(require,module,exports){ // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; var $export = require('./_export'); @@ -10032,7 +10141,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String } }); -},{"./_export":97,"./_fails-is-regexp":98,"./_string-context":165}],302:[function(require,module,exports){ +},{"./_export":100,"./_fails-is-regexp":101,"./_string-context":168}],305:[function(require,module,exports){ 'use strict'; // B.2.3.9 String.prototype.italics() require('./_string-html')('italics', function (createHTML) { @@ -10041,7 +10150,7 @@ require('./_string-html')('italics', function (createHTML) { }; }); -},{"./_string-html":166}],303:[function(require,module,exports){ +},{"./_string-html":169}],306:[function(require,module,exports){ 'use strict'; var $at = require('./_string-at')(true); @@ -10060,7 +10169,7 @@ require('./_iter-define')(String, 'String', function (iterated) { return { value: point, done: false }; }); -},{"./_iter-define":120,"./_string-at":164}],304:[function(require,module,exports){ +},{"./_iter-define":123,"./_string-at":167}],307:[function(require,module,exports){ 'use strict'; // B.2.3.10 String.prototype.link(url) require('./_string-html')('link', function (createHTML) { @@ -10069,7 +10178,7 @@ require('./_string-html')('link', function (createHTML) { }; }); -},{"./_string-html":166}],305:[function(require,module,exports){ +},{"./_string-html":169}],308:[function(require,module,exports){ var $export = require('./_export'); var toIObject = require('./_to-iobject'); var toLength = require('./_to-length'); @@ -10089,7 +10198,7 @@ $export($export.S, 'String', { } }); -},{"./_export":97,"./_to-iobject":175,"./_to-length":176}],306:[function(require,module,exports){ +},{"./_export":100,"./_to-iobject":178,"./_to-length":179}],309:[function(require,module,exports){ var $export = require('./_export'); $export($export.P, 'String', { @@ -10097,7 +10206,7 @@ $export($export.P, 'String', { repeat: require('./_string-repeat') }); -},{"./_export":97,"./_string-repeat":168}],307:[function(require,module,exports){ +},{"./_export":100,"./_string-repeat":171}],310:[function(require,module,exports){ 'use strict'; // B.2.3.11 String.prototype.small() require('./_string-html')('small', function (createHTML) { @@ -10106,7 +10215,7 @@ require('./_string-html')('small', function (createHTML) { }; }); -},{"./_string-html":166}],308:[function(require,module,exports){ +},{"./_string-html":169}],311:[function(require,module,exports){ // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; var $export = require('./_export'); @@ -10126,7 +10235,7 @@ $export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'Str } }); -},{"./_export":97,"./_fails-is-regexp":98,"./_string-context":165,"./_to-length":176}],309:[function(require,module,exports){ +},{"./_export":100,"./_fails-is-regexp":101,"./_string-context":168,"./_to-length":179}],312:[function(require,module,exports){ 'use strict'; // B.2.3.12 String.prototype.strike() require('./_string-html')('strike', function (createHTML) { @@ -10135,7 +10244,7 @@ require('./_string-html')('strike', function (createHTML) { }; }); -},{"./_string-html":166}],310:[function(require,module,exports){ +},{"./_string-html":169}],313:[function(require,module,exports){ 'use strict'; // B.2.3.13 String.prototype.sub() require('./_string-html')('sub', function (createHTML) { @@ -10144,7 +10253,7 @@ require('./_string-html')('sub', function (createHTML) { }; }); -},{"./_string-html":166}],311:[function(require,module,exports){ +},{"./_string-html":169}],314:[function(require,module,exports){ 'use strict'; // B.2.3.14 String.prototype.sup() require('./_string-html')('sup', function (createHTML) { @@ -10153,7 +10262,7 @@ require('./_string-html')('sup', function (createHTML) { }; }); -},{"./_string-html":166}],312:[function(require,module,exports){ +},{"./_string-html":169}],315:[function(require,module,exports){ 'use strict'; // 21.1.3.25 String.prototype.trim() require('./_string-trim')('trim', function ($trim) { @@ -10162,7 +10271,7 @@ require('./_string-trim')('trim', function ($trim) { }; }); -},{"./_string-trim":169}],313:[function(require,module,exports){ +},{"./_string-trim":172}],316:[function(require,module,exports){ 'use strict'; // ECMAScript 6 symbols shim var global = require('./_global'); @@ -10410,7 +10519,7 @@ setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); -},{"./_an-object":73,"./_descriptors":93,"./_enum-keys":96,"./_export":97,"./_fails":99,"./_global":105,"./_has":106,"./_hide":107,"./_is-array":114,"./_is-object":116,"./_library":124,"./_meta":129,"./_object-create":133,"./_object-dp":134,"./_object-gopd":136,"./_object-gopn":138,"./_object-gopn-ext":137,"./_object-gops":139,"./_object-keys":142,"./_object-pie":143,"./_property-desc":151,"./_redefine":153,"./_set-to-string-tag":159,"./_shared":161,"./_to-iobject":175,"./_to-object":177,"./_to-primitive":178,"./_uid":182,"./_wks":187,"./_wks-define":185,"./_wks-ext":186}],314:[function(require,module,exports){ +},{"./_an-object":76,"./_descriptors":96,"./_enum-keys":99,"./_export":100,"./_fails":102,"./_global":108,"./_has":109,"./_hide":110,"./_is-array":117,"./_is-object":119,"./_library":127,"./_meta":132,"./_object-create":136,"./_object-dp":137,"./_object-gopd":139,"./_object-gopn":141,"./_object-gopn-ext":140,"./_object-gops":142,"./_object-keys":145,"./_object-pie":146,"./_property-desc":154,"./_redefine":156,"./_set-to-string-tag":162,"./_shared":164,"./_to-iobject":178,"./_to-object":180,"./_to-primitive":181,"./_uid":185,"./_wks":190,"./_wks-define":188,"./_wks-ext":189}],317:[function(require,module,exports){ 'use strict'; var $export = require('./_export'); var $typed = require('./_typed'); @@ -10458,76 +10567,76 @@ $export($export.P + $export.U + $export.F * require('./_fails')(function () { require('./_set-species')(ARRAY_BUFFER); -},{"./_an-object":73,"./_export":97,"./_fails":99,"./_global":105,"./_is-object":116,"./_set-species":158,"./_species-constructor":162,"./_to-absolute-index":172,"./_to-length":176,"./_typed":181,"./_typed-buffer":180}],315:[function(require,module,exports){ +},{"./_an-object":76,"./_export":100,"./_fails":102,"./_global":108,"./_is-object":119,"./_set-species":161,"./_species-constructor":165,"./_to-absolute-index":175,"./_to-length":179,"./_typed":184,"./_typed-buffer":183}],318:[function(require,module,exports){ var $export = require('./_export'); $export($export.G + $export.W + $export.F * !require('./_typed').ABV, { DataView: require('./_typed-buffer').DataView }); -},{"./_export":97,"./_typed":181,"./_typed-buffer":180}],316:[function(require,module,exports){ +},{"./_export":100,"./_typed":184,"./_typed-buffer":183}],319:[function(require,module,exports){ require('./_typed-array')('Float32', 4, function (init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],317:[function(require,module,exports){ +},{"./_typed-array":182}],320:[function(require,module,exports){ require('./_typed-array')('Float64', 8, function (init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],318:[function(require,module,exports){ +},{"./_typed-array":182}],321:[function(require,module,exports){ require('./_typed-array')('Int16', 2, function (init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],319:[function(require,module,exports){ +},{"./_typed-array":182}],322:[function(require,module,exports){ require('./_typed-array')('Int32', 4, function (init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],320:[function(require,module,exports){ +},{"./_typed-array":182}],323:[function(require,module,exports){ require('./_typed-array')('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],321:[function(require,module,exports){ +},{"./_typed-array":182}],324:[function(require,module,exports){ require('./_typed-array')('Uint16', 2, function (init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],322:[function(require,module,exports){ +},{"./_typed-array":182}],325:[function(require,module,exports){ require('./_typed-array')('Uint32', 4, function (init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],323:[function(require,module,exports){ +},{"./_typed-array":182}],326:[function(require,module,exports){ require('./_typed-array')('Uint8', 1, function (init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); -},{"./_typed-array":179}],324:[function(require,module,exports){ +},{"./_typed-array":182}],327:[function(require,module,exports){ require('./_typed-array')('Uint8', 1, function (init) { return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }, true); -},{"./_typed-array":179}],325:[function(require,module,exports){ +},{"./_typed-array":182}],328:[function(require,module,exports){ 'use strict'; var global = require('./_global'); var each = require('./_array-methods')(0); @@ -10589,7 +10698,7 @@ if (NATIVE_WEAK_MAP && IS_IE11) { }); } -},{"./_array-methods":77,"./_collection":86,"./_collection-weak":85,"./_global":105,"./_is-object":116,"./_meta":129,"./_object-assign":132,"./_redefine":153,"./_validate-collection":184}],326:[function(require,module,exports){ +},{"./_array-methods":80,"./_collection":89,"./_collection-weak":88,"./_global":108,"./_is-object":119,"./_meta":132,"./_object-assign":135,"./_redefine":156,"./_validate-collection":187}],329:[function(require,module,exports){ 'use strict'; var weak = require('./_collection-weak'); var validate = require('./_validate-collection'); @@ -10605,7 +10714,7 @@ require('./_collection')(WEAK_SET, function (get) { } }, weak, false, true); -},{"./_collection":86,"./_collection-weak":85,"./_validate-collection":184}],327:[function(require,module,exports){ +},{"./_collection":89,"./_collection-weak":88,"./_validate-collection":187}],330:[function(require,module,exports){ 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = require('./_export'); @@ -10629,7 +10738,7 @@ $export($export.P, 'Array', { require('./_add-to-unscopables')('flatMap'); -},{"./_a-function":68,"./_add-to-unscopables":70,"./_array-species-create":80,"./_export":97,"./_flatten-into-array":102,"./_to-length":176,"./_to-object":177}],328:[function(require,module,exports){ +},{"./_a-function":71,"./_add-to-unscopables":73,"./_array-species-create":83,"./_export":100,"./_flatten-into-array":105,"./_to-length":179,"./_to-object":180}],331:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = require('./_export'); @@ -10643,7 +10752,7 @@ $export($export.P, 'Array', { require('./_add-to-unscopables')('includes'); -},{"./_add-to-unscopables":70,"./_array-includes":76,"./_export":97}],329:[function(require,module,exports){ +},{"./_add-to-unscopables":73,"./_array-includes":79,"./_export":100}],332:[function(require,module,exports){ // https://github.com/tc39/proposal-object-values-entries var $export = require('./_export'); var $entries = require('./_object-to-array')(true); @@ -10654,7 +10763,7 @@ $export($export.S, 'Object', { } }); -},{"./_export":97,"./_object-to-array":145}],330:[function(require,module,exports){ +},{"./_export":100,"./_object-to-array":148}],333:[function(require,module,exports){ // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = require('./_export'); var ownKeys = require('./_own-keys'); @@ -10678,7 +10787,7 @@ $export($export.S, 'Object', { } }); -},{"./_create-property":88,"./_export":97,"./_object-gopd":136,"./_own-keys":146,"./_to-iobject":175}],331:[function(require,module,exports){ +},{"./_create-property":91,"./_export":100,"./_object-gopd":139,"./_own-keys":149,"./_to-iobject":178}],334:[function(require,module,exports){ // https://github.com/tc39/proposal-object-values-entries var $export = require('./_export'); var $values = require('./_object-to-array')(false); @@ -10689,7 +10798,7 @@ $export($export.S, 'Object', { } }); -},{"./_export":97,"./_object-to-array":145}],332:[function(require,module,exports){ +},{"./_export":100,"./_object-to-array":148}],335:[function(require,module,exports){ // https://github.com/tc39/proposal-promise-finally 'use strict'; var $export = require('./_export'); @@ -10711,7 +10820,7 @@ $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { ); } }); -},{"./_core":87,"./_export":97,"./_global":105,"./_promise-resolve":150,"./_species-constructor":162}],333:[function(require,module,exports){ +},{"./_core":90,"./_export":100,"./_global":108,"./_promise-resolve":153,"./_species-constructor":165}],336:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export'); @@ -10727,7 +10836,7 @@ $export($export.P + $export.F * WEBKIT_BUG, 'String', { } }); -},{"./_export":97,"./_string-pad":167,"./_user-agent":183}],334:[function(require,module,exports){ +},{"./_export":100,"./_string-pad":170,"./_user-agent":186}],337:[function(require,module,exports){ 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export'); @@ -10743,7 +10852,7 @@ $export($export.P + $export.F * WEBKIT_BUG, 'String', { } }); -},{"./_export":97,"./_string-pad":167,"./_user-agent":183}],335:[function(require,module,exports){ +},{"./_export":100,"./_string-pad":170,"./_user-agent":186}],338:[function(require,module,exports){ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim require('./_string-trim')('trimLeft', function ($trim) { @@ -10752,7 +10861,7 @@ require('./_string-trim')('trimLeft', function ($trim) { }; }, 'trimStart'); -},{"./_string-trim":169}],336:[function(require,module,exports){ +},{"./_string-trim":172}],339:[function(require,module,exports){ 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim require('./_string-trim')('trimRight', function ($trim) { @@ -10761,10 +10870,10 @@ require('./_string-trim')('trimRight', function ($trim) { }; }, 'trimEnd'); -},{"./_string-trim":169}],337:[function(require,module,exports){ +},{"./_string-trim":172}],340:[function(require,module,exports){ require('./_wks-define')('asyncIterator'); -},{"./_wks-define":185}],338:[function(require,module,exports){ +},{"./_wks-define":188}],341:[function(require,module,exports){ var $iterators = require('./es6.array.iterator'); var getKeys = require('./_object-keys'); var redefine = require('./_redefine'); @@ -10824,7 +10933,7 @@ for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++ } } -},{"./_global":105,"./_hide":107,"./_iterators":123,"./_object-keys":142,"./_redefine":153,"./_wks":187,"./es6.array.iterator":199}],339:[function(require,module,exports){ +},{"./_global":108,"./_hide":110,"./_iterators":126,"./_object-keys":145,"./_redefine":156,"./_wks":190,"./es6.array.iterator":202}],342:[function(require,module,exports){ var $export = require('./_export'); var $task = require('./_task'); $export($export.G + $export.B, { @@ -10832,7 +10941,7 @@ $export($export.G + $export.B, { clearImmediate: $task.clear }); -},{"./_export":97,"./_task":171}],340:[function(require,module,exports){ +},{"./_export":100,"./_task":174}],343:[function(require,module,exports){ // ie9- setTimeout & setInterval additional parameters fix var global = require('./_global'); var $export = require('./_export'); @@ -10854,180 +10963,1331 @@ $export($export.G + $export.B + $export.F * MSIE, { setInterval: wrap(global.setInterval) }); -},{"./_export":97,"./_global":105,"./_user-agent":183}],341:[function(require,module,exports){ +},{"./_export":100,"./_global":108,"./_user-agent":186}],344:[function(require,module,exports){ require('../modules/web.timers'); require('../modules/web.immediate'); require('../modules/web.dom.iterable'); module.exports = require('../modules/_core'); -},{"../modules/_core":87,"../modules/web.dom.iterable":338,"../modules/web.immediate":339,"../modules/web.timers":340}],342:[function(require,module,exports){ -var pSlice = Array.prototype.slice; -var objectKeys = require('./lib/keys.js'); -var isArguments = require('./lib/is_arguments.js'); +},{"../modules/_core":90,"../modules/web.dom.iterable":341,"../modules/web.immediate":342,"../modules/web.timers":343}],345:[function(require,module,exports){ +'use strict'; + +var assign = require('object.assign'); +var callBound = require('call-bind/callBound'); +var flags = require('regexp.prototype.flags'); +var GetIntrinsic = require('get-intrinsic'); +var getIterator = require('es-get-iterator'); +var getSideChannel = require('side-channel'); +var is = require('object-is'); +var isArguments = require('is-arguments'); +var isArray = require('isarray'); +var isArrayBuffer = require('is-array-buffer'); +var isDate = require('is-date-object'); +var isRegex = require('is-regex'); +var isSharedArrayBuffer = require('is-shared-array-buffer'); +var objectKeys = require('object-keys'); +var whichBoxedPrimitive = require('which-boxed-primitive'); +var whichCollection = require('which-collection'); +var whichTypedArray = require('which-typed-array'); + +var byteLength = callBound('ArrayBuffer.prototype.byteLength', true) + || function byteLength(ab) { return ab.byteLength; }; // in node < 0.11, byteLength is an own nonconfigurable property +var sabByteLength = callBound('SharedArrayBuffer.prototype.byteLength', true); + +var $getTime = callBound('Date.prototype.getTime'); +var gPO = Object.getPrototypeOf; +var $objToString = callBound('Object.prototype.toString'); + +var $Set = GetIntrinsic('%Set%', true); +var $mapHas = callBound('Map.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSize = callBound('Map.prototype.size', true); +var $setAdd = callBound('Set.prototype.add', true); +var $setDelete = callBound('Set.prototype.delete', true); +var $setHas = callBound('Set.prototype.has', true); +var $setSize = callBound('Set.prototype.size', true); + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L401-L414 +function setHasEqualElement(set, val1, opts, channel) { + var i = getIterator(set); + var result; + while ((result = i.next()) && !result.done) { + if (internalDeepEqual(val1, result.value, opts, channel)) { // eslint-disable-line no-use-before-define + // Remove the matching element to make sure we do not check that again. + $setDelete(set, result.value); + return true; + } + } + + return false; +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L416-L439 +function findLooseMatchingPrimitives(prim) { + if (typeof prim === 'undefined') { + return null; + } + if (typeof prim === 'object') { // Only pass in null as object! + return void 0; + } + if (typeof prim === 'symbol') { + return false; + } + if (typeof prim === 'string' || typeof prim === 'number') { + // Loose equal entries exist only if the string is possible to convert to a regular number and not NaN. + return +prim === +prim; // eslint-disable-line no-implicit-coercion + } + return true; +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L449-L460 +function mapMightHaveLoosePrim(a, b, prim, item, opts, channel) { + var altValue = findLooseMatchingPrimitives(prim); + if (altValue != null) { + return altValue; + } + var curB = $mapGet(b, altValue); + var looseOpts = assign({}, opts, { strict: false }); + if ( + (typeof curB === 'undefined' && !$mapHas(b, altValue)) + // eslint-disable-next-line no-use-before-define + || !internalDeepEqual(item, curB, looseOpts, channel) + ) { + return false; + } + // eslint-disable-next-line no-use-before-define + return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel); +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L441-L447 +function setMightHaveLoosePrim(a, b, prim) { + var altValue = findLooseMatchingPrimitives(prim); + if (altValue != null) { + return altValue; + } + + return $setHas(b, altValue) && !$setHas(a, altValue); +} + +// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L518-L533 +function mapHasEqualEntry(set, map, key1, item1, opts, channel) { + var i = getIterator(set); + var result; + var key2; + while ((result = i.next()) && !result.done) { + key2 = result.value; + if ( + // eslint-disable-next-line no-use-before-define + internalDeepEqual(key1, key2, opts, channel) + // eslint-disable-next-line no-use-before-define + && internalDeepEqual(item1, $mapGet(map, key2), opts, channel) + ) { + $setDelete(set, key2); + return true; + } + } + + return false; +} + +function internalDeepEqual(actual, expected, options, channel) { + var opts = options || {}; -var deepEqual = module.exports = function (actual, expected, opts) { - if (!opts) opts = {}; // 7.1. All identical values are equivalent, as determined by ===. - if (actual === expected) { + if (opts.strict ? is(actual, expected) : actual === expected) { return true; + } + + var actualBoxed = whichBoxedPrimitive(actual); + var expectedBoxed = whichBoxedPrimitive(expected); + if (actualBoxed !== expectedBoxed) { + return false; + } - } else if (actual instanceof Date && expected instanceof Date) { - return actual.getTime() === expected.getTime(); + // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==. + if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) { + return opts.strict ? is(actual, expected) : actual == expected; // eslint-disable-line eqeqeq + } - // 7.3. Other pairs that do not both pass typeof value == 'object', - // equivalence is determined by ==. - } else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') { - return opts.strict ? actual === expected : actual == expected; + /* + * 7.4. For all other Object pairs, including Array objects, equivalence is + * determined by having the same number of owned properties (as verified + * with Object.prototype.hasOwnProperty.call), the same set of keys + * (although not necessarily the same order), equivalent values for every + * corresponding key, and an identical 'prototype' property. Note: this + * accounts for both named and indexed properties on Arrays. + */ + // see https://github.com/nodejs/node/commit/d3aafd02efd3a403d646a3044adcf14e63a88d32 for memos/channel inspiration - // 7.4. For all other Object pairs, including Array objects, equivalence is - // determined by having the same number of owned properties (as verified - // with Object.prototype.hasOwnProperty.call), the same set of keys - // (although not necessarily the same order), equivalent values for every - // corresponding key, and an identical 'prototype' property. Note: this - // accounts for both named and indexed properties on Arrays. + var hasActual = channel.has(actual); + var hasExpected = channel.has(expected); + var sentinel; + if (hasActual && hasExpected) { + if (channel.get(actual) === channel.get(expected)) { + return true; + } } else { - return objEquiv(actual, expected, opts); + sentinel = {}; } -} + if (!hasActual) { channel.set(actual, sentinel); } + if (!hasExpected) { channel.set(expected, sentinel); } -function isUndefinedOrNull(value) { - return value === null || value === undefined; + // eslint-disable-next-line no-use-before-define + return objEquiv(actual, expected, opts, channel); } -function isBuffer (x) { - if (!x || typeof x !== 'object' || typeof x.length !== 'number') return false; +function isBuffer(x) { + if (!x || typeof x !== 'object' || typeof x.length !== 'number') { + return false; + } if (typeof x.copy !== 'function' || typeof x.slice !== 'function') { return false; } - if (x.length > 0 && typeof x[0] !== 'number') return false; + if (x.length > 0 && typeof x[0] !== 'number') { + return false; + } + + return !!(x.constructor && x.constructor.isBuffer && x.constructor.isBuffer(x)); +} + +function setEquiv(a, b, opts, channel) { + if ($setSize(a) !== $setSize(b)) { + return false; + } + var iA = getIterator(a); + var iB = getIterator(b); + var resultA; + var resultB; + var set; + while ((resultA = iA.next()) && !resultA.done) { + if (resultA.value && typeof resultA.value === 'object') { + if (!set) { set = new $Set(); } + $setAdd(set, resultA.value); + } else if (!$setHas(b, resultA.value)) { + if (opts.strict) { return false; } + if (!setMightHaveLoosePrim(a, b, resultA.value)) { + return false; + } + if (!set) { set = new $Set(); } + $setAdd(set, resultA.value); + } + } + if (set) { + while ((resultB = iB.next()) && !resultB.done) { + // We have to check if a primitive value is already matching and only if it's not, go hunting for it. + if (resultB.value && typeof resultB.value === 'object') { + if (!setHasEqualElement(set, resultB.value, opts.strict, channel)) { + return false; + } + } else if ( + !opts.strict + && !$setHas(a, resultB.value) + && !setHasEqualElement(set, resultB.value, opts.strict, channel) + ) { + return false; + } + } + return $setSize(set) === 0; + } return true; } -function objEquiv(a, b, opts) { - var i, key; - if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) +function mapEquiv(a, b, opts, channel) { + if ($mapSize(a) !== $mapSize(b)) { return false; - // an identical 'prototype' property. - if (a.prototype !== b.prototype) return false; - //~~~I've managed to break Object.keys through screwy arguments passing. - // Converting to array solves the problem. - if (isArguments(a)) { - if (!isArguments(b)) { - return false; + } + var iA = getIterator(a); + var iB = getIterator(b); + var resultA; + var resultB; + var set; + var key; + var item1; + var item2; + while ((resultA = iA.next()) && !resultA.done) { + key = resultA.value[0]; + item1 = resultA.value[1]; + if (key && typeof key === 'object') { + if (!set) { set = new $Set(); } + $setAdd(set, key); + } else { + item2 = $mapGet(b, key); + if ((typeof item2 === 'undefined' && !$mapHas(b, key)) || !internalDeepEqual(item1, item2, opts, channel)) { + if (opts.strict) { + return false; + } + if (!mapMightHaveLoosePrim(a, b, key, item1, opts, channel)) { + return false; + } + if (!set) { set = new $Set(); } + $setAdd(set, key); + } } - a = pSlice.call(a); - b = pSlice.call(b); - return deepEqual(a, b, opts); } - if (isBuffer(a)) { - if (!isBuffer(b)) { - return false; + + if (set) { + while ((resultB = iB.next()) && !resultB.done) { + key = resultB.value[0]; + item2 = resultB.value[1]; + if (key && typeof key === 'object') { + if (!mapHasEqualEntry(set, a, key, item2, opts, channel)) { + return false; + } + } else if ( + !opts.strict + && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel)) + && !mapHasEqualEntry(set, a, key, item2, assign({}, opts, { strict: false }), channel) + ) { + return false; + } } - if (a.length !== b.length) return false; + return $setSize(set) === 0; + } + return true; +} + +function objEquiv(a, b, opts, channel) { + /* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5], max-lines: [2, 400] */ + var i, key; + + if (typeof a !== typeof b) { return false; } + if (a == null || b == null) { return false; } + + if ($objToString(a) !== $objToString(b)) { return false; } + + if (isArguments(a) !== isArguments(b)) { return false; } + + var aIsArray = isArray(a); + var bIsArray = isArray(b); + if (aIsArray !== bIsArray) { return false; } + + // TODO: replace when a cross-realm brand check is available + var aIsError = a instanceof Error; + var bIsError = b instanceof Error; + if (aIsError !== bIsError) { return false; } + if (aIsError || bIsError) { + if (a.name !== b.name || a.message !== b.message) { return false; } + } + + var aIsRegex = isRegex(a); + var bIsRegex = isRegex(b); + if (aIsRegex !== bIsRegex) { return false; } + if ((aIsRegex || bIsRegex) && (a.source !== b.source || flags(a) !== flags(b))) { + return false; + } + + var aIsDate = isDate(a); + var bIsDate = isDate(b); + if (aIsDate !== bIsDate) { return false; } + if (aIsDate || bIsDate) { // && would work too, because both are true or both false here + if ($getTime(a) !== $getTime(b)) { return false; } + } + if (opts.strict && gPO && gPO(a) !== gPO(b)) { return false; } + + var aWhich = whichTypedArray(a); + var bWhich = whichTypedArray(b); + if ((aWhich || bWhich) && aWhich !== bWhich) { + return false; + } + + var aIsBuffer = isBuffer(a); + var bIsBuffer = isBuffer(b); + if (aIsBuffer !== bIsBuffer) { return false; } + if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here + if (a.length !== b.length) { return false; } for (i = 0; i < a.length; i++) { - if (a[i] !== b[i]) return false; + if (a[i] !== b[i]) { return false; } } return true; } - try { - var ka = objectKeys(a), - kb = objectKeys(b); - } catch (e) {//happens when one is a string literal and the other isn't - return false; + + var aIsArrayBuffer = isArrayBuffer(a); + var bIsArrayBuffer = isArrayBuffer(b); + if (aIsArrayBuffer !== bIsArrayBuffer) { return false; } + if (aIsArrayBuffer || bIsArrayBuffer) { // && would work too, because both are true or both false here + if (byteLength(a) !== byteLength(b)) { return false; } + return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel); } - // having the same number of owned properties (keys incorporates - // hasOwnProperty) - if (ka.length != kb.length) - return false; - //the same set of keys (although not necessarily the same order), + + var aIsSAB = isSharedArrayBuffer(a); + var bIsSAB = isSharedArrayBuffer(b); + if (aIsSAB !== bIsSAB) { return false; } + if (aIsSAB || bIsSAB) { // && would work too, because both are true or both false here + if (sabByteLength(a) !== sabByteLength(b)) { return false; } + return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel); + } + + if (typeof a !== typeof b) { return false; } + + var ka = objectKeys(a); + var kb = objectKeys(b); + // having the same number of owned properties (keys incorporates hasOwnProperty) + if (ka.length !== kb.length) { return false; } + + // the same set of keys (although not necessarily the same order), ka.sort(); kb.sort(); - //~~~cheap key test + // ~~~cheap key test for (i = ka.length - 1; i >= 0; i--) { - if (ka[i] != kb[i]) - return false; + if (ka[i] != kb[i]) { return false; } // eslint-disable-line eqeqeq } - //equivalent values for every corresponding key, and - //~~~possibly expensive deep test + + // equivalent values for every corresponding key, and ~~~possibly expensive deep test for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; - if (!deepEqual(a[key], b[key], opts)) return false; + if (!internalDeepEqual(a[key], b[key], opts, channel)) { return false; } } - return typeof a === typeof b; -} -},{"./lib/is_arguments.js":343,"./lib/keys.js":344}],343:[function(require,module,exports){ -var supportsArgumentsClass = (function(){ - return Object.prototype.toString.call(arguments) -})() == '[object Arguments]'; + var aCollection = whichCollection(a); + var bCollection = whichCollection(b); + if (aCollection !== bCollection) { + return false; + } + if (aCollection === 'Set' || bCollection === 'Set') { // aCollection === bCollection + return setEquiv(a, b, opts, channel); + } + if (aCollection === 'Map') { // aCollection === bCollection + return mapEquiv(a, b, opts, channel); + } -exports = module.exports = supportsArgumentsClass ? supported : unsupported; + return true; +} -exports.supported = supported; -function supported(object) { - return Object.prototype.toString.call(object) == '[object Arguments]'; +module.exports = function deepEqual(a, b, opts) { + return internalDeepEqual(a, b, opts, getSideChannel()); }; -exports.unsupported = unsupported; -function unsupported(object){ - return object && - typeof object == 'object' && - typeof object.length == 'number' && - Object.prototype.hasOwnProperty.call(object, 'callee') && - !Object.prototype.propertyIsEnumerable.call(object, 'callee') || - false; +},{"call-bind/callBound":38,"es-get-iterator":347,"get-intrinsic":352,"is-arguments":362,"is-array-buffer":363,"is-date-object":367,"is-regex":371,"is-shared-array-buffer":373,"isarray":379,"object-is":382,"object-keys":386,"object.assign":389,"regexp.prototype.flags":396,"side-channel":399,"which-boxed-primitive":404,"which-collection":405,"which-typed-array":406}],346:[function(require,module,exports){ +'use strict'; + +var keys = require('object-keys'); +var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; + +var toStr = Object.prototype.toString; +var concat = Array.prototype.concat; +var origDefineProperty = Object.defineProperty; + +var isFunction = function (fn) { + return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; }; -},{}],344:[function(require,module,exports){ -exports = module.exports = typeof Object.keys === 'function' - ? Object.keys : shim; +var hasPropertyDescriptors = require('has-property-descriptors')(); -exports.shim = shim; -function shim (obj) { - var keys = []; - for (var key in obj) keys.push(key); - return keys; -} +var supportsDescriptors = origDefineProperty && hasPropertyDescriptors; -},{}],345:[function(require,module,exports){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = (nBytes * 8) - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] +var defineProperty = function (object, name, value, predicate) { + if (name in object) { + if (predicate === true) { + if (object[name] === value) { + return; + } + } else if (!isFunction(predicate) || !predicate()) { + return; + } + } + if (supportsDescriptors) { + origDefineProperty(object, name, { + configurable: true, + enumerable: false, + value: value, + writable: true + }); + } else { + object[name] = value; // eslint-disable-line no-param-reassign + } +}; - i += d +var defineProperties = function (object, map) { + var predicates = arguments.length > 2 ? arguments[2] : {}; + var props = keys(map); + if (hasSymbols) { + props = concat.call(props, Object.getOwnPropertySymbols(map)); + } + for (var i = 0; i < props.length; i += 1) { + defineProperty(object, props[i], map[props[i]], predicates[props[i]]); + } +}; - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} +defineProperties.supportsDescriptors = !!supportsDescriptors; - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} +module.exports = defineProperties; - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) +},{"has-property-descriptors":355,"object-keys":386}],347:[function(require,module,exports){ +(function (process){(function (){ +'use strict'; + +/* eslint global-require: 0 */ +// the code is structured this way so that bundlers can +// alias out `has-symbols` to `() => true` or `() => false` if your target +// environments' Symbol capabilities are known, and then use +// dead code elimination on the rest of this module. +// +// Similarly, `isarray` can be aliased to `Array.isArray` if +// available in all target environments. + +var isArguments = require('is-arguments'); +var getStopIterationIterator = require('stop-iteration-iterator'); + +if (require('has-symbols')() || require('has-symbols/shams')()) { + var $iterator = Symbol.iterator; + // Symbol is available natively or shammed + // natively: + // - Chrome >= 38 + // - Edge 12-14?, Edge >= 15 for sure + // - FF >= 36 + // - Safari >= 9 + // - node >= 0.12 + module.exports = function getIterator(iterable) { + // alternatively, `iterable[$iterator]?.()` + if (iterable != null && typeof iterable[$iterator] !== 'undefined') { + return iterable[$iterator](); + } + if (isArguments(iterable)) { + // arguments objects lack Symbol.iterator + // - node 0.12 + return Array.prototype[$iterator].call(iterable); + } + }; +} else { + // Symbol is not available, native or shammed + var isArray = require('isarray'); + var isString = require('is-string'); + var GetIntrinsic = require('get-intrinsic'); + var $Map = GetIntrinsic('%Map%', true); + var $Set = GetIntrinsic('%Set%', true); + var callBound = require('call-bind/callBound'); + var $arrayPush = callBound('Array.prototype.push'); + var $charCodeAt = callBound('String.prototype.charCodeAt'); + var $stringSlice = callBound('String.prototype.slice'); + + var advanceStringIndex = function advanceStringIndex(S, index) { + var length = S.length; + if ((index + 1) >= length) { + return index + 1; + } + + var first = $charCodeAt(S, index); + if (first < 0xD800 || first > 0xDBFF) { + return index + 1; + } + + var second = $charCodeAt(S, index + 1); + if (second < 0xDC00 || second > 0xDFFF) { + return index + 1; + } + + return index + 2; + }; + + var getArrayIterator = function getArrayIterator(arraylike) { + var i = 0; + return { + next: function next() { + var done = i >= arraylike.length; + var value; + if (!done) { + value = arraylike[i]; + i += 1; + } + return { + done: done, + value: value + }; + } + }; + }; + + var getNonCollectionIterator = function getNonCollectionIterator(iterable, noPrimordialCollections) { + if (isArray(iterable) || isArguments(iterable)) { + return getArrayIterator(iterable); + } + if (isString(iterable)) { + var i = 0; + return { + next: function next() { + var nextIndex = advanceStringIndex(iterable, i); + var value = $stringSlice(iterable, i, nextIndex); + i = nextIndex; + return { + done: nextIndex > iterable.length, + value: value + }; + } + }; + } + + // es6-shim and es-shims' es-map use a string "_es6-shim iterator_" property on different iterables, such as MapIterator. + if (noPrimordialCollections && typeof iterable['_es6-shim iterator_'] !== 'undefined') { + return iterable['_es6-shim iterator_'](); + } + }; + + if (!$Map && !$Set) { + // the only language iterables are Array, String, arguments + // - Safari <= 6.0 + // - Chrome < 38 + // - node < 0.12 + // - FF < 13 + // - IE < 11 + // - Edge < 11 + + module.exports = function getIterator(iterable) { + if (iterable != null) { + return getNonCollectionIterator(iterable, true); + } + }; + } else { + // either Map or Set are available, but Symbol is not + // - es6-shim on an ES5 browser + // - Safari 6.2 (maybe 6.1?) + // - FF v[13, 36) + // - IE 11 + // - Edge 11 + // - Safari v[6, 9) + + var isMap = require('is-map'); + var isSet = require('is-set'); + + // Firefox >= 27, IE 11, Safari 6.2 - 9, Edge 11, es6-shim in older envs, all have forEach + var $mapForEach = callBound('Map.prototype.forEach', true); + var $setForEach = callBound('Set.prototype.forEach', true); + if (typeof process === 'undefined' || !process.versions || !process.versions.node) { // "if is not node" + + // Firefox 17 - 26 has `.iterator()`, whose iterator `.next()` either + // returns a value, or throws a StopIteration object. These browsers + // do not have any other mechanism for iteration. + var $mapIterator = callBound('Map.prototype.iterator', true); + var $setIterator = callBound('Set.prototype.iterator', true); + } + // Firefox 27-35, and some older es6-shim versions, use a string "@@iterator" property + // this returns a proper iterator object, so we should use it instead of forEach. + // newer es6-shim versions use a string "_es6-shim iterator_" property. + var $mapAtAtIterator = callBound('Map.prototype.@@iterator', true) || callBound('Map.prototype._es6-shim iterator_', true); + var $setAtAtIterator = callBound('Set.prototype.@@iterator', true) || callBound('Set.prototype._es6-shim iterator_', true); + + var getCollectionIterator = function getCollectionIterator(iterable) { + if (isMap(iterable)) { + if ($mapIterator) { + return getStopIterationIterator($mapIterator(iterable)); + } + if ($mapAtAtIterator) { + return $mapAtAtIterator(iterable); + } + if ($mapForEach) { + var entries = []; + $mapForEach(iterable, function (v, k) { + $arrayPush(entries, [k, v]); + }); + return getArrayIterator(entries); + } + } + if (isSet(iterable)) { + if ($setIterator) { + return getStopIterationIterator($setIterator(iterable)); + } + if ($setAtAtIterator) { + return $setAtAtIterator(iterable); + } + if ($setForEach) { + var values = []; + $setForEach(iterable, function (v) { + $arrayPush(values, v); + }); + return getArrayIterator(values); + } + } + }; + + module.exports = function getIterator(iterable) { + return getCollectionIterator(iterable) || getNonCollectionIterator(iterable); + }; + } } -exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = (nBytes * 8) - mLen - 1 - var eMax = (1 << eLen) - 1 +}).call(this)}).call(this,require('_process')) +},{"_process":393,"call-bind/callBound":38,"get-intrinsic":352,"has-symbols":356,"has-symbols/shams":357,"is-arguments":362,"is-map":368,"is-set":372,"is-string":374,"isarray":379,"stop-iteration-iterator":400}],348:[function(require,module,exports){ +'use strict'; + +var isCallable = require('is-callable'); + +var toStr = Object.prototype.toString; +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var forEachArray = function forEachArray(array, iterator, receiver) { + for (var i = 0, len = array.length; i < len; i++) { + if (hasOwnProperty.call(array, i)) { + if (receiver == null) { + iterator(array[i], i, array); + } else { + iterator.call(receiver, array[i], i, array); + } + } + } +}; + +var forEachString = function forEachString(string, iterator, receiver) { + for (var i = 0, len = string.length; i < len; i++) { + // no such thing as a sparse string. + if (receiver == null) { + iterator(string.charAt(i), i, string); + } else { + iterator.call(receiver, string.charAt(i), i, string); + } + } +}; + +var forEachObject = function forEachObject(object, iterator, receiver) { + for (var k in object) { + if (hasOwnProperty.call(object, k)) { + if (receiver == null) { + iterator(object[k], k, object); + } else { + iterator.call(receiver, object[k], k, object); + } + } + } +}; + +var forEach = function forEach(list, iterator, thisArg) { + if (!isCallable(iterator)) { + throw new TypeError('iterator must be a function'); + } + + var receiver; + if (arguments.length >= 3) { + receiver = thisArg; + } + + if (toStr.call(list) === '[object Array]') { + forEachArray(list, iterator, receiver); + } else if (typeof list === 'string') { + forEachString(list, iterator, receiver); + } else { + forEachObject(list, iterator, receiver); + } +}; + +module.exports = forEach; + +},{"is-callable":366}],349:[function(require,module,exports){ +'use strict'; + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + +},{}],350:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = Function.prototype.bind || implementation; + +},{"./implementation":349}],351:[function(require,module,exports){ +'use strict'; + +var functionsHaveNames = function functionsHaveNames() { + return typeof function f() {}.name === 'string'; +}; + +var gOPD = Object.getOwnPropertyDescriptor; +if (gOPD) { + try { + gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + gOPD = null; + } +} + +functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() { + if (!functionsHaveNames() || !gOPD) { + return false; + } + var desc = gOPD(function () {}, 'name'); + return !!desc && !!desc.configurable; +}; + +var $bind = Function.prototype.bind; + +functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() { + return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== ''; +}; + +module.exports = functionsHaveNames; + +},{}],352:[function(require,module,exports){ +'use strict'; + +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = require('has-symbols')(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +try { + null.error; // eslint-disable-line no-unused-expressions +} catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = require('function-bind'); +var hasOwn = require('has'); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + +},{"function-bind":350,"has":359,"has-symbols":356}],353:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; + +},{"get-intrinsic":352}],354:[function(require,module,exports){ +'use strict'; + +var $BigInt = typeof BigInt !== 'undefined' && BigInt; + +module.exports = function hasNativeBigInts() { + return typeof $BigInt === 'function' + && typeof BigInt === 'function' + && typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers + && typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers +}; + +},{}],355:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); + +var hasPropertyDescriptors = function hasPropertyDescriptors() { + if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + return true; + } catch (e) { + // IE 8 has a broken defineProperty + return false; + } + } + return false; +}; + +hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() { + // node v0.6 has a bug where array lengths can be Set but not Defined + if (!hasPropertyDescriptors()) { + return null; + } + try { + return $defineProperty([], 'length', { value: 1 }).length !== 1; + } catch (e) { + // In Firefox 4-22, defining length on an array throws an exception. + return true; + } +}; + +module.exports = hasPropertyDescriptors; + +},{"get-intrinsic":352}],356:[function(require,module,exports){ +'use strict'; + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = require('./shams'); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + +},{"./shams":357}],357:[function(require,module,exports){ +'use strict'; + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + +},{}],358:[function(require,module,exports){ +'use strict'; + +var hasSymbols = require('has-symbols/shams'); + +module.exports = function hasToStringTagShams() { + return hasSymbols() && !!Symbol.toStringTag; +}; + +},{"has-symbols/shams":357}],359:[function(require,module,exports){ +'use strict'; + +var bind = require('function-bind'); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + +},{"function-bind":350}],360:[function(require,module,exports){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +exports.read = function (buffer, offset, isLE, mLen, nBytes) { + var e, m + var eLen = (nBytes * 8) - mLen - 1 + var eMax = (1 << eLen) - 1 + var eBias = eMax >> 1 + var nBits = -7 + var i = isLE ? (nBytes - 1) : 0 + var d = isLE ? -1 : 1 + var s = buffer[offset + i] + + i += d + + e = s & ((1 << (-nBits)) - 1) + s >>= (-nBits) + nBits += eLen + for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} + + m = e & ((1 << (-nBits)) - 1) + e >>= (-nBits) + nBits += mLen + for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} + + if (e === 0) { + e = 1 - eBias + } else if (e === eMax) { + return m ? NaN : ((s ? -1 : 1) * Infinity) + } else { + m = m + Math.pow(2, mLen) + e = e - eBias + } + return (s ? -1 : 1) * m * Math.pow(2, e - mLen) +} + +exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { + var e, m, c + var eLen = (nBytes * 8) - mLen - 1 + var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) var i = isLE ? 0 : (nBytes - 1) @@ -11076,7 +12336,390 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { buffer[offset + i - d] |= s * 128 } -},{}],346:[function(require,module,exports){ +},{}],361:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var has = require('has'); +var channel = require('side-channel')(); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var SLOT = { + assert: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + channel.assert(O); + if (!SLOT.has(O, slot)) { + throw new $TypeError('`' + slot + '` is not present on `O`'); + } + }, + get: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + return slots && slots['$' + slot]; + }, + has: function (O, slot) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + return !!slots && has(slots, '$' + slot); + }, + set: function (O, slot, V) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new $TypeError('`O` is not an object'); + } + if (typeof slot !== 'string') { + throw new $TypeError('`slot` must be a string'); + } + var slots = channel.get(O); + if (!slots) { + slots = {}; + channel.set(O, slots); + } + slots['$' + slot] = V; + } +}; + +if (Object.freeze) { + Object.freeze(SLOT); +} + +module.exports = SLOT; + +},{"get-intrinsic":352,"has":359,"side-channel":399}],362:[function(require,module,exports){ +'use strict'; + +var hasToStringTag = require('has-tostringtag/shams')(); +var callBound = require('call-bind/callBound'); + +var $toString = callBound('Object.prototype.toString'); + +var isStandardArguments = function isArguments(value) { + if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) { + return false; + } + return $toString(value) === '[object Arguments]'; +}; + +var isLegacyArguments = function isArguments(value) { + if (isStandardArguments(value)) { + return true; + } + return value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + $toString(value) !== '[object Array]' && + $toString(value.callee) === '[object Function]'; +}; + +var supportsStandardArguments = (function () { + return isStandardArguments(arguments); +}()); + +isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests + +module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments; + +},{"call-bind/callBound":38,"has-tostringtag/shams":358}],363:[function(require,module,exports){ +'use strict'; + +var callBind = require('call-bind'); +var callBound = require('call-bind/callBound'); +var GetIntrinsic = require('get-intrinsic'); +var isTypedArray = require('is-typed-array'); + +var $ArrayBuffer = GetIntrinsic('ArrayBuffer', true); +var $Float32Array = GetIntrinsic('Float32Array', true); +var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true); + +// in node 0.10, ArrayBuffers have no prototype methods, but have an own slot-checking `slice` method +var abSlice = $ArrayBuffer && !$byteLength && new $ArrayBuffer().slice; +var $abSlice = abSlice && callBind(abSlice); + +module.exports = $byteLength || $abSlice + ? function isArrayBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + try { + if ($byteLength) { + $byteLength(obj); + } else { + $abSlice(obj, 0); + } + return true; + } catch (e) { + return false; + } + } + : $Float32Array + // in node 0.8, ArrayBuffers have no prototype or own methods + ? function IsArrayBuffer(obj) { + try { + return (new $Float32Array(obj)).buffer === obj && !isTypedArray(obj); + } catch (e) { + return typeof obj === 'object' && e.name === 'RangeError'; + } + } + : function isArrayBuffer(obj) { // eslint-disable-line no-unused-vars + return false; + }; + +},{"call-bind":39,"call-bind/callBound":38,"get-intrinsic":352,"is-typed-array":376}],364:[function(require,module,exports){ +'use strict'; + +var hasBigInts = require('has-bigints')(); + +if (hasBigInts) { + var bigIntValueOf = BigInt.prototype.valueOf; + var tryBigInt = function tryBigIntObject(value) { + try { + bigIntValueOf.call(value); + return true; + } catch (e) { + } + return false; + }; + + module.exports = function isBigInt(value) { + if ( + value === null + || typeof value === 'undefined' + || typeof value === 'boolean' + || typeof value === 'string' + || typeof value === 'number' + || typeof value === 'symbol' + || typeof value === 'function' + ) { + return false; + } + if (typeof value === 'bigint') { + return true; + } + + return tryBigInt(value); + }; +} else { + module.exports = function isBigInt(value) { + return false && value; + }; +} + +},{"has-bigints":354}],365:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); +var $boolToStr = callBound('Boolean.prototype.toString'); +var $toString = callBound('Object.prototype.toString'); + +var tryBooleanObject = function booleanBrandCheck(value) { + try { + $boolToStr(value); + return true; + } catch (e) { + return false; + } +}; +var boolClass = '[object Boolean]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isBoolean(value) { + if (typeof value === 'boolean') { + return true; + } + if (value === null || typeof value !== 'object') { + return false; + } + return hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString(value) === boolClass; +}; + +},{"call-bind/callBound":38,"has-tostringtag/shams":358}],366:[function(require,module,exports){ +'use strict'; + +var fnToStr = Function.prototype.toString; +var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply; +var badArrayLike; +var isCallableMarker; +if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') { + try { + badArrayLike = Object.defineProperty({}, 'length', { + get: function () { + throw isCallableMarker; + } + }); + isCallableMarker = {}; + // eslint-disable-next-line no-throw-literal + reflectApply(function () { throw 42; }, null, badArrayLike); + } catch (_) { + if (_ !== isCallableMarker) { + reflectApply = null; + } + } +} else { + reflectApply = null; +} + +var constructorRegex = /^\s*class\b/; +var isES6ClassFn = function isES6ClassFunction(value) { + try { + var fnStr = fnToStr.call(value); + return constructorRegex.test(fnStr); + } catch (e) { + return false; // not a function + } +}; + +var tryFunctionObject = function tryFunctionToStr(value) { + try { + if (isES6ClassFn(value)) { return false; } + fnToStr.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var objectClass = '[object Object]'; +var fnClass = '[object Function]'; +var genClass = '[object GeneratorFunction]'; +var ddaClass = '[object HTMLAllCollection]'; // IE 11 +var ddaClass2 = '[object HTML document.all class]'; +var ddaClass3 = '[object HTMLCollection]'; // IE 9-10 +var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` + +var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing + +var isDDA = function isDocumentDotAll() { return false; }; +if (typeof document === 'object') { + // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly + var all = document.all; + if (toStr.call(all) === toStr.call(document.all)) { + isDDA = function isDocumentDotAll(value) { + /* globals document: false */ + // in IE 6-8, typeof document.all is "object" and it's truthy + if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) { + try { + var str = toStr.call(value); + return ( + str === ddaClass + || str === ddaClass2 + || str === ddaClass3 // opera 12.16 + || str === objectClass // IE 6-8 + ) && value('') == null; // eslint-disable-line eqeqeq + } catch (e) { /**/ } + } + return false; + }; + } +} + +module.exports = reflectApply + ? function isCallable(value) { + if (isDDA(value)) { return true; } + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + try { + reflectApply(value, null, badArrayLike); + } catch (e) { + if (e !== isCallableMarker) { return false; } + } + return !isES6ClassFn(value) && tryFunctionObject(value); + } + : function isCallable(value) { + if (isDDA(value)) { return true; } + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + if (hasToStringTag) { return tryFunctionObject(value); } + if (isES6ClassFn(value)) { return false; } + var strClass = toStr.call(value); + if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { return false; } + return tryFunctionObject(value); + }; + +},{}],367:[function(require,module,exports){ +'use strict'; + +var getDay = Date.prototype.getDay; +var tryDateObject = function tryDateGetDayCall(value) { + try { + getDay.call(value); + return true; + } catch (e) { + return false; + } +}; + +var toStr = Object.prototype.toString; +var dateClass = '[object Date]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isDateObject(value) { + if (typeof value !== 'object' || value === null) { + return false; + } + return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; +}; + +},{"has-tostringtag/shams":358}],368:[function(require,module,exports){ +'use strict'; + +var $Map = typeof Map === 'function' && Map.prototype ? Map : null; +var $Set = typeof Set === 'function' && Set.prototype ? Set : null; + +var exported; + +if (!$Map) { + // eslint-disable-next-line no-unused-vars + exported = function isMap(x) { + // `Map` is not present in this environment. + return false; + }; +} + +var $mapHas = $Map ? Map.prototype.has : null; +var $setHas = $Set ? Set.prototype.has : null; +if (!exported && !$mapHas) { + // eslint-disable-next-line no-unused-vars + exported = function isMap(x) { + // `Map` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isMap(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $mapHas.call(x); + if ($setHas) { + try { + $setHas.call(x); + } catch (e) { + return true; + } + } + return x instanceof $Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +}; + +},{}],369:[function(require,module,exports){ (function (process){(function (){ // Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md 'use strict'; @@ -11084,7 +12727,1282 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { exports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node); }).call(this)}).call(this,require('_process')) -},{"_process":348}],347:[function(require,module,exports){ +},{"_process":393}],370:[function(require,module,exports){ +'use strict'; + +var numToStr = Number.prototype.toString; +var tryNumberObject = function tryNumberObject(value) { + try { + numToStr.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var numClass = '[object Number]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isNumberObject(value) { + if (typeof value === 'number') { + return true; + } + if (typeof value !== 'object') { + return false; + } + return hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass; +}; + +},{"has-tostringtag/shams":358}],371:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); +var hasToStringTag = require('has-tostringtag/shams')(); +var has; +var $exec; +var isRegexMarker; +var badStringifier; + +if (hasToStringTag) { + has = callBound('Object.prototype.hasOwnProperty'); + $exec = callBound('RegExp.prototype.exec'); + isRegexMarker = {}; + + var throwRegexMarker = function () { + throw isRegexMarker; + }; + badStringifier = { + toString: throwRegexMarker, + valueOf: throwRegexMarker + }; + + if (typeof Symbol.toPrimitive === 'symbol') { + badStringifier[Symbol.toPrimitive] = throwRegexMarker; + } +} + +var $toString = callBound('Object.prototype.toString'); +var gOPD = Object.getOwnPropertyDescriptor; +var regexClass = '[object RegExp]'; + +module.exports = hasToStringTag + // eslint-disable-next-line consistent-return + ? function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } + + var descriptor = gOPD(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } + + try { + $exec(value, badStringifier); + } catch (e) { + return e === isRegexMarker; + } + } + : function isRegex(value) { + // In older browsers, typeof regex incorrectly returns 'function' + if (!value || (typeof value !== 'object' && typeof value !== 'function')) { + return false; + } + + return $toString(value) === regexClass; + }; + +},{"call-bind/callBound":38,"has-tostringtag/shams":358}],372:[function(require,module,exports){ +'use strict'; + +var $Map = typeof Map === 'function' && Map.prototype ? Map : null; +var $Set = typeof Set === 'function' && Set.prototype ? Set : null; + +var exported; + +if (!$Set) { + // eslint-disable-next-line no-unused-vars + exported = function isSet(x) { + // `Set` is not present in this environment. + return false; + }; +} + +var $mapHas = $Map ? Map.prototype.has : null; +var $setHas = $Set ? Set.prototype.has : null; +if (!exported && !$setHas) { + // eslint-disable-next-line no-unused-vars + exported = function isSet(x) { + // `Set` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isSet(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $setHas.call(x); + if ($mapHas) { + try { + $mapHas.call(x); + } catch (e) { + return true; + } + } + return x instanceof $Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +}; + +},{}],373:[function(require,module,exports){ +'use strict'; + +var callBound = require('call-bind/callBound'); + +var $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true); + +module.exports = $byteLength + ? function isSharedArrayBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + try { + $byteLength(obj); + return true; + } catch (e) { + return false; + } + } + : function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars + return false; + }; + +},{"call-bind/callBound":38}],374:[function(require,module,exports){ +'use strict'; + +var strValue = String.prototype.valueOf; +var tryStringObject = function tryStringObject(value) { + try { + strValue.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var strClass = '[object String]'; +var hasToStringTag = require('has-tostringtag/shams')(); + +module.exports = function isString(value) { + if (typeof value === 'string') { + return true; + } + if (typeof value !== 'object') { + return false; + } + return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass; +}; + +},{"has-tostringtag/shams":358}],375:[function(require,module,exports){ +'use strict'; + +var toStr = Object.prototype.toString; +var hasSymbols = require('has-symbols')(); + +if (hasSymbols) { + var symToStr = Symbol.prototype.toString; + var symStringRegex = /^Symbol\(.*\)$/; + var isSymbolObject = function isRealSymbolObject(value) { + if (typeof value.valueOf() !== 'symbol') { + return false; + } + return symStringRegex.test(symToStr.call(value)); + }; + + module.exports = function isSymbol(value) { + if (typeof value === 'symbol') { + return true; + } + if (toStr.call(value) !== '[object Symbol]') { + return false; + } + try { + return isSymbolObject(value); + } catch (e) { + return false; + } + }; +} else { + + module.exports = function isSymbol(value) { + // this environment does not support Symbols. + return false && value; + }; +} + +},{"has-symbols":356}],376:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var forEach = require('for-each'); +var availableTypedArrays = require('available-typed-arrays'); +var callBound = require('call-bind/callBound'); + +var $toString = callBound('Object.prototype.toString'); +var hasToStringTag = require('has-tostringtag/shams')(); +var gOPD = require('gopd'); + +var g = typeof globalThis === 'undefined' ? global : globalThis; +var typedArrays = availableTypedArrays(); + +var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) { + for (var i = 0; i < array.length; i += 1) { + if (array[i] === value) { + return i; + } + } + return -1; +}; +var $slice = callBound('String.prototype.slice'); +var toStrTags = {}; +var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); +if (hasToStringTag && gOPD && getPrototypeOf) { + forEach(typedArrays, function (typedArray) { + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; + } + }); +} + +var tryTypedArrays = function tryAllTypedArrays(value) { + var anyTrue = false; + forEach(toStrTags, function (getter, typedArray) { + if (!anyTrue) { + try { + anyTrue = getter.call(value) === typedArray; + } catch (e) { /**/ } + } + }); + return anyTrue; +}; + +module.exports = function isTypedArray(value) { + if (!value || typeof value !== 'object') { return false; } + if (!hasToStringTag || !(Symbol.toStringTag in value)) { + var tag = $slice($toString(value), 8, -1); + return $indexOf(typedArrays, tag) > -1; + } + if (!gOPD) { return false; } + return tryTypedArrays(value); +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"available-typed-arrays":34,"call-bind/callBound":38,"for-each":348,"gopd":353,"has-tostringtag/shams":358}],377:[function(require,module,exports){ +'use strict'; + +var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null; +var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null; + +var exported; + +if (!$WeakMap) { + // eslint-disable-next-line no-unused-vars + exported = function isWeakMap(x) { + // `WeakMap` is not present in this environment. + return false; + }; +} + +var $mapHas = $WeakMap ? $WeakMap.prototype.has : null; +var $setHas = $WeakSet ? $WeakSet.prototype.has : null; +if (!exported && !$mapHas) { + // eslint-disable-next-line no-unused-vars + exported = function isWeakMap(x) { + // `WeakMap` does not have a `has` method + return false; + }; +} + +module.exports = exported || function isWeakMap(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $mapHas.call(x, $mapHas); + if ($setHas) { + try { + $setHas.call(x, $setHas); + } catch (e) { + return true; + } + } + return x instanceof $WeakMap; // core-js workaround, pre-v3 + } catch (e) {} + return false; +}; + +},{}],378:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bind/callBound'); + +var $WeakSet = GetIntrinsic('%WeakSet%', true); + +var $setHas = callBound('WeakSet.prototype.has', true); + +if ($setHas) { + var $mapHas = callBound('WeakMap.prototype.has', true); + + module.exports = function isWeakSet(x) { + if (!x || typeof x !== 'object') { + return false; + } + try { + $setHas(x, $setHas); + if ($mapHas) { + try { + $mapHas(x, $mapHas); + } catch (e) { + return true; + } + } + return x instanceof $WeakSet; // core-js workaround, pre-v3 + } catch (e) {} + return false; + }; +} else { + // eslint-disable-next-line no-unused-vars + module.exports = function isWeakSet(x) { + // `WeakSet` does not exist, or does not have a `has` method + return false; + }; +} + +},{"call-bind/callBound":38,"get-intrinsic":352}],379:[function(require,module,exports){ +var toString = {}.toString; + +module.exports = Array.isArray || function (arr) { + return toString.call(arr) == '[object Array]'; +}; + +},{}],380:[function(require,module,exports){ +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = require('./util.inspect'); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} + +},{"./util.inspect":36}],381:[function(require,module,exports){ +'use strict'; + +var numberIsNaN = function (value) { + return value !== value; +}; + +module.exports = function is(a, b) { + if (a === 0 && b === 0) { + return 1 / a === 1 / b; + } + if (a === b) { + return true; + } + if (numberIsNaN(a) && numberIsNaN(b)) { + return true; + } + return false; +}; + + +},{}],382:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var polyfill = callBind(getPolyfill(), Object); + +define(polyfill, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = polyfill; + +},{"./implementation":381,"./polyfill":383,"./shim":384,"call-bind":39,"define-properties":346}],383:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = function getPolyfill() { + return typeof Object.is === 'function' ? Object.is : implementation; +}; + +},{"./implementation":381}],384:[function(require,module,exports){ +'use strict'; + +var getPolyfill = require('./polyfill'); +var define = require('define-properties'); + +module.exports = function shimObjectIs() { + var polyfill = getPolyfill(); + define(Object, { is: polyfill }, { + is: function testObjectIs() { + return Object.is !== polyfill; + } + }); + return polyfill; +}; + +},{"./polyfill":383,"define-properties":346}],385:[function(require,module,exports){ +'use strict'; + +var keysShim; +if (!Object.keys) { + // modified from https://github.com/es-shims/es5-shim + var has = Object.prototype.hasOwnProperty; + var toStr = Object.prototype.toString; + var isArgs = require('./isArguments'); // eslint-disable-line global-require + var isEnumerable = Object.prototype.propertyIsEnumerable; + var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); + var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); + var dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ]; + var equalsConstructorPrototype = function (o) { + var ctor = o.constructor; + return ctor && ctor.prototype === o; + }; + var excludedKeys = { + $applicationCache: true, + $console: true, + $external: true, + $frame: true, + $frameElement: true, + $frames: true, + $innerHeight: true, + $innerWidth: true, + $onmozfullscreenchange: true, + $onmozfullscreenerror: true, + $outerHeight: true, + $outerWidth: true, + $pageXOffset: true, + $pageYOffset: true, + $parent: true, + $scrollLeft: true, + $scrollTop: true, + $scrollX: true, + $scrollY: true, + $self: true, + $webkitIndexedDB: true, + $webkitStorageInfo: true, + $window: true + }; + var hasAutomationEqualityBug = (function () { + /* global window */ + if (typeof window === 'undefined') { return false; } + for (var k in window) { + try { + if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { + try { + equalsConstructorPrototype(window[k]); + } catch (e) { + return true; + } + } + } catch (e) { + return true; + } + } + return false; + }()); + var equalsConstructorPrototypeIfNotBuggy = function (o) { + /* global window */ + if (typeof window === 'undefined' || !hasAutomationEqualityBug) { + return equalsConstructorPrototype(o); + } + try { + return equalsConstructorPrototype(o); + } catch (e) { + return false; + } + }; + + keysShim = function keys(object) { + var isObject = object !== null && typeof object === 'object'; + var isFunction = toStr.call(object) === '[object Function]'; + var isArguments = isArgs(object); + var isString = isObject && toStr.call(object) === '[object String]'; + var theKeys = []; + + if (!isObject && !isFunction && !isArguments) { + throw new TypeError('Object.keys called on a non-object'); + } + + var skipProto = hasProtoEnumBug && isFunction; + if (isString && object.length > 0 && !has.call(object, 0)) { + for (var i = 0; i < object.length; ++i) { + theKeys.push(String(i)); + } + } + + if (isArguments && object.length > 0) { + for (var j = 0; j < object.length; ++j) { + theKeys.push(String(j)); + } + } else { + for (var name in object) { + if (!(skipProto && name === 'prototype') && has.call(object, name)) { + theKeys.push(String(name)); + } + } + } + + if (hasDontEnumBug) { + var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); + + for (var k = 0; k < dontEnums.length; ++k) { + if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { + theKeys.push(dontEnums[k]); + } + } + } + return theKeys; + }; +} +module.exports = keysShim; + +},{"./isArguments":387}],386:[function(require,module,exports){ +'use strict'; + +var slice = Array.prototype.slice; +var isArgs = require('./isArguments'); + +var origKeys = Object.keys; +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation'); + +var originalKeys = Object.keys; + +keysShim.shim = function shimObjectKeys() { + if (Object.keys) { + var keysWorksWithArguments = (function () { + // Safari 5.0 bug + var args = Object.keys(arguments); + return args && args.length === arguments.length; + }(1, 2)); + if (!keysWorksWithArguments) { + Object.keys = function keys(object) { // eslint-disable-line func-name-matching + if (isArgs(object)) { + return originalKeys(slice.call(object)); + } + return originalKeys(object); + }; + } + } else { + Object.keys = keysShim; + } + return Object.keys || keysShim; +}; + +module.exports = keysShim; + +},{"./implementation":385,"./isArguments":387}],387:[function(require,module,exports){ +'use strict'; + +var toStr = Object.prototype.toString; + +module.exports = function isArguments(value) { + var str = toStr.call(value); + var isArgs = str === '[object Arguments]'; + if (!isArgs) { + isArgs = str !== '[object Array]' && + value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + toStr.call(value.callee) === '[object Function]'; + } + return isArgs; +}; + +},{}],388:[function(require,module,exports){ +'use strict'; + +// modified from https://github.com/es-shims/es6-shim +var objectKeys = require('object-keys'); +var hasSymbols = require('has-symbols/shams')(); +var callBound = require('call-bind/callBound'); +var toObject = Object; +var $push = callBound('Array.prototype.push'); +var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); +var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null; + +// eslint-disable-next-line no-unused-vars +module.exports = function assign(target, source1) { + if (target == null) { throw new TypeError('target must be an object'); } + var to = toObject(target); // step 1 + if (arguments.length === 1) { + return to; // step 2 + } + for (var s = 1; s < arguments.length; ++s) { + var from = toObject(arguments[s]); // step 3.a.i + + // step 3.a.ii: + var keys = objectKeys(from); + var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols); + if (getSymbols) { + var syms = getSymbols(from); + for (var j = 0; j < syms.length; ++j) { + var key = syms[j]; + if ($propIsEnumerable(from, key)) { + $push(keys, key); + } + } + } + + // step 3.a.iii: + for (var i = 0; i < keys.length; ++i) { + var nextKey = keys[i]; + if ($propIsEnumerable(from, nextKey)) { // step 3.a.iii.2 + var propValue = from[nextKey]; // step 3.a.iii.2.a + to[nextKey] = propValue; // step 3.a.iii.2.b + } + } + } + + return to; // step 4 +}; + +},{"call-bind/callBound":38,"has-symbols/shams":357,"object-keys":386}],389:[function(require,module,exports){ +'use strict'; + +var defineProperties = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var polyfill = callBind.apply(getPolyfill()); +// eslint-disable-next-line no-unused-vars +var bound = function assign(target, source1) { + return polyfill(Object, arguments); +}; + +defineProperties(bound, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = bound; + +},{"./implementation":388,"./polyfill":390,"./shim":391,"call-bind":39,"define-properties":346}],390:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +var lacksProperEnumerationOrder = function () { + if (!Object.assign) { + return false; + } + /* + * v8, specifically in node 4.x, has a bug with incorrect property enumeration order + * note: this does not detect the bug unless there's 20 characters + */ + var str = 'abcdefghijklmnopqrst'; + var letters = str.split(''); + var map = {}; + for (var i = 0; i < letters.length; ++i) { + map[letters[i]] = letters[i]; + } + var obj = Object.assign({}, map); + var actual = ''; + for (var k in obj) { + actual += k; + } + return str !== actual; +}; + +var assignHasPendingExceptions = function () { + if (!Object.assign || !Object.preventExtensions) { + return false; + } + /* + * Firefox 37 still has "pending exception" logic in its Object.assign implementation, + * which is 72% slower than our shim, and Firefox 40's native implementation. + */ + var thrower = Object.preventExtensions({ 1: 2 }); + try { + Object.assign(thrower, 'xy'); + } catch (e) { + return thrower[1] === 'y'; + } + return false; +}; + +module.exports = function getPolyfill() { + if (!Object.assign) { + return implementation; + } + if (lacksProperEnumerationOrder()) { + return implementation; + } + if (assignHasPendingExceptions()) { + return implementation; + } + return Object.assign; +}; + +},{"./implementation":388}],391:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var getPolyfill = require('./polyfill'); + +module.exports = function shimAssign() { + var polyfill = getPolyfill(); + define( + Object, + { assign: polyfill }, + { assign: function () { return Object.assign !== polyfill; } } + ); + return polyfill; +}; + +},{"./polyfill":390,"define-properties":346}],392:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.now = exports.removeTooOldValues = exports.ObliviousSet = void 0; @@ -11162,7 +14080,7 @@ function now() { } exports.now = now; -},{}],348:[function(require,module,exports){ +},{}],393:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; @@ -11348,7 +14266,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{}],349:[function(require,module,exports){ +},{}],394:[function(require,module,exports){ /** * Copyright (c) 2014-present, Facebook, Inc. * @@ -12111,7 +15029,305 @@ try { } } -},{}],350:[function(require,module,exports){ +},{}],395:[function(require,module,exports){ +'use strict'; + +var functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames(); + +var $Object = Object; +var $TypeError = TypeError; + +module.exports = function flags() { + if (this != null && this !== $Object(this)) { + throw new $TypeError('RegExp.prototype.flags getter called on non-object'); + } + var result = ''; + if (this.hasIndices) { + result += 'd'; + } + if (this.global) { + result += 'g'; + } + if (this.ignoreCase) { + result += 'i'; + } + if (this.multiline) { + result += 'm'; + } + if (this.dotAll) { + result += 's'; + } + if (this.unicode) { + result += 'u'; + } + if (this.unicodeSets) { + result += 'v'; + } + if (this.sticky) { + result += 'y'; + } + return result; +}; + +if (functionsHaveConfigurableNames && Object.defineProperty) { + Object.defineProperty(module.exports, 'name', { value: 'get flags' }); +} + +},{"functions-have-names":351}],396:[function(require,module,exports){ +'use strict'; + +var define = require('define-properties'); +var callBind = require('call-bind'); + +var implementation = require('./implementation'); +var getPolyfill = require('./polyfill'); +var shim = require('./shim'); + +var flagsBound = callBind(getPolyfill()); + +define(flagsBound, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = flagsBound; + +},{"./implementation":395,"./polyfill":397,"./shim":398,"call-bind":39,"define-properties":346}],397:[function(require,module,exports){ +'use strict'; + +var implementation = require('./implementation'); + +var supportsDescriptors = require('define-properties').supportsDescriptors; +var $gOPD = Object.getOwnPropertyDescriptor; + +module.exports = function getPolyfill() { + if (supportsDescriptors && (/a/mig).flags === 'gim') { + var descriptor = $gOPD(RegExp.prototype, 'flags'); + if ( + descriptor + && typeof descriptor.get === 'function' + && typeof RegExp.prototype.dotAll === 'boolean' + && typeof RegExp.prototype.hasIndices === 'boolean' + ) { + /* eslint getter-return: 0 */ + var calls = ''; + var o = {}; + Object.defineProperty(o, 'hasIndices', { + get: function () { + calls += 'd'; + } + }); + Object.defineProperty(o, 'sticky', { + get: function () { + calls += 'y'; + } + }); + if (calls === 'dy') { + return descriptor.get; + } + } + } + return implementation; +}; + +},{"./implementation":395,"define-properties":346}],398:[function(require,module,exports){ +'use strict'; + +var supportsDescriptors = require('define-properties').supportsDescriptors; +var getPolyfill = require('./polyfill'); +var gOPD = Object.getOwnPropertyDescriptor; +var defineProperty = Object.defineProperty; +var TypeErr = TypeError; +var getProto = Object.getPrototypeOf; +var regex = /a/; + +module.exports = function shimFlags() { + if (!supportsDescriptors || !getProto) { + throw new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); + } + var polyfill = getPolyfill(); + var proto = getProto(regex); + var descriptor = gOPD(proto, 'flags'); + if (!descriptor || descriptor.get !== polyfill) { + defineProperty(proto, 'flags', { + configurable: true, + enumerable: false, + get: polyfill + }); + } + return polyfill; +}; + +},{"./polyfill":397,"define-properties":346}],399:[function(require,module,exports){ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bind/callBound'); +var inspect = require('object-inspect'); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); +var $Map = GetIntrinsic('%Map%', true); + +var $weakMapGet = callBound('WeakMap.prototype.get', true); +var $weakMapSet = callBound('WeakMap.prototype.set', true); +var $weakMapHas = callBound('WeakMap.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSet = callBound('Map.prototype.set', true); +var $mapHas = callBound('Map.prototype.has', true); + +/* + * This function traverses the list returning the node corresponding to the + * given key. + * + * That node is also moved to the head of the list, so that if it's accessed + * again we don't need to traverse the whole list. By doing so, all the recently + * used nodes can be accessed relatively quickly. + */ +var listGetNode = function (list, key) { // eslint-disable-line consistent-return + for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + curr.next = list.next; + list.next = curr; // eslint-disable-line no-param-reassign + return curr; + } + } +}; + +var listGet = function (objects, key) { + var node = listGetNode(objects, key); + return node && node.value; +}; +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = { // eslint-disable-line no-param-reassign + key: key, + next: objects.next, + value: value + }; + } +}; +var listHas = function (objects, key) { + return !!listGetNode(objects, key); +}; + +module.exports = function getSideChannel() { + var $wm; + var $m; + var $o; + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + get: function (key) { // eslint-disable-line consistent-return + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapGet($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listGet($o, key); + } + } + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapHas($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listHas($o, key); + } + } + return false; + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if ($Map) { + if (!$m) { + $m = new $Map(); + } + $mapSet($m, key, value); + } else { + if (!$o) { + /* + * Initialize the linked list as an empty node, so that we don't have + * to special-case handling of the first node: we can always refer to + * it as (previous node).next, instead of something like (list).head + */ + $o = { key: {}, next: null }; + } + listSet($o, key, value); + } + } + }; + return channel; +}; + +},{"call-bind/callBound":38,"get-intrinsic":352,"object-inspect":380}],400:[function(require,module,exports){ +'use strict'; + +var SLOT = require('internal-slot'); + +var $SyntaxError = SyntaxError; +var $StopIteration = typeof StopIteration === 'object' ? StopIteration : null; + +module.exports = function getStopIterationIterator(origIterator) { + if (!$StopIteration) { + throw new $SyntaxError('this environment lacks StopIteration'); + } + + SLOT.set(origIterator, '[[Done]]', false); + + var siIterator = { + next: function next() { + var iterator = SLOT.get(this, '[[Iterator]]'); + var done = SLOT.get(iterator, '[[Done]]'); + try { + return { + done: done, + value: done ? void undefined : iterator.next() + }; + } catch (e) { + SLOT.set(iterator, '[[Done]]', true); + if (e !== $StopIteration) { + throw e; + } + return { + done: true, + value: void undefined + }; + } + } + }; + + SLOT.set(siIterator, '[[Iterator]]', origIterator); + + return siIterator; +}; + +},{"internal-slot":361}],401:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -12163,7 +15379,7 @@ function addBrowser(fn) { * @link https://stackoverflow.com/a/26193516/3443137 */ } -},{}],351:[function(require,module,exports){ +},{}],402:[function(require,module,exports){ (function (process){(function (){ "use strict"; @@ -12224,7 +15440,7 @@ function getSize() { return LISTENERS.size; } }).call(this)}).call(this,require('_process')) -},{"./browser.js":350,"./node.js":352,"_process":348}],352:[function(require,module,exports){ +},{"./browser.js":401,"./node.js":403,"_process":393}],403:[function(require,module,exports){ (function (process){(function (){ "use strict"; @@ -12263,7 +15479,124 @@ function addNode(fn) { }); } }).call(this)}).call(this,require('_process')) -},{"_process":348}],353:[function(require,module,exports){ +},{"_process":393}],404:[function(require,module,exports){ +'use strict'; + +var isString = require('is-string'); +var isNumber = require('is-number-object'); +var isBoolean = require('is-boolean-object'); +var isSymbol = require('is-symbol'); +var isBigInt = require('is-bigint'); + +// eslint-disable-next-line consistent-return +module.exports = function whichBoxedPrimitive(value) { + // eslint-disable-next-line eqeqeq + if (value == null || (typeof value !== 'object' && typeof value !== 'function')) { + return null; + } + if (isString(value)) { + return 'String'; + } + if (isNumber(value)) { + return 'Number'; + } + if (isBoolean(value)) { + return 'Boolean'; + } + if (isSymbol(value)) { + return 'Symbol'; + } + if (isBigInt(value)) { + return 'BigInt'; + } +}; + +},{"is-bigint":364,"is-boolean-object":365,"is-number-object":370,"is-string":374,"is-symbol":375}],405:[function(require,module,exports){ +'use strict'; + +var isMap = require('is-map'); +var isSet = require('is-set'); +var isWeakMap = require('is-weakmap'); +var isWeakSet = require('is-weakset'); + +module.exports = function whichCollection(value) { + if (value && typeof value === 'object') { + if (isMap(value)) { + return 'Map'; + } + if (isSet(value)) { + return 'Set'; + } + if (isWeakMap(value)) { + return 'WeakMap'; + } + if (isWeakSet(value)) { + return 'WeakSet'; + } + } + return false; +}; + +},{"is-map":368,"is-set":372,"is-weakmap":377,"is-weakset":378}],406:[function(require,module,exports){ +(function (global){(function (){ +'use strict'; + +var forEach = require('for-each'); +var availableTypedArrays = require('available-typed-arrays'); +var callBound = require('call-bind/callBound'); +var gOPD = require('gopd'); + +var $toString = callBound('Object.prototype.toString'); +var hasToStringTag = require('has-tostringtag/shams')(); + +var g = typeof globalThis === 'undefined' ? global : globalThis; +var typedArrays = availableTypedArrays(); + +var $slice = callBound('String.prototype.slice'); +var toStrTags = {}; +var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof'); +if (hasToStringTag && gOPD && getPrototypeOf) { + forEach(typedArrays, function (typedArray) { + if (typeof g[typedArray] === 'function') { + var arr = new g[typedArray](); + if (Symbol.toStringTag in arr) { + var proto = getPrototypeOf(arr); + var descriptor = gOPD(proto, Symbol.toStringTag); + if (!descriptor) { + var superProto = getPrototypeOf(proto); + descriptor = gOPD(superProto, Symbol.toStringTag); + } + toStrTags[typedArray] = descriptor.get; + } + } + }); +} + +var tryTypedArrays = function tryAllTypedArrays(value) { + var foundName = false; + forEach(toStrTags, function (getter, typedArray) { + if (!foundName) { + try { + var name = getter.call(value); + if (name === typedArray) { + foundName = name; + } + } catch (e) {} + } + }); + return foundName; +}; + +var isTypedArray = require('is-typed-array'); + +module.exports = function whichTypedArray(value) { + if (!isTypedArray(value)) { return false; } + if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); } + return tryTypedArrays(value); +}; + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"available-typed-arrays":34,"call-bind/callBound":38,"for-each":348,"gopd":353,"has-tostringtag/shams":358,"is-typed-array":376}],407:[function(require,module,exports){ "use strict"; /* eslint-disable */ @@ -12335,4 +15668,4 @@ self.addEventListener('message', function (e) { } ; }, false); -},{"../../":2,"@babel/polyfill":14,"async-test-util":20}]},{},[353]); +},{"../../":2,"@babel/polyfill":14,"async-test-util":20}]},{},[407]); diff --git a/package.json b/package.json index c297eef2..253c4b68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "broadcast-channel", - "version": "5.0.3", + "version": "5.1.0", "description": "A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers and NodeJs and iframes", "exports": { ".": { diff --git a/src/leader-election-web-lock.js b/src/leader-election-web-lock.js index 6c506cf4..38d30c7a 100644 --- a/src/leader-election-web-lock.js +++ b/src/leader-election-web-lock.js @@ -74,7 +74,6 @@ LeaderElectionWebLock.prototype = { // Do nothing because there are no duplicates in the WebLock version }, die() { - const ret = sendLeaderMessage(this, 'death'); this._lstns.forEach(listener => this.broadcastChannel.removeEventListener('internal', listener)); this._lstns = []; this._unl.forEach(uFn => uFn.remove()); @@ -89,6 +88,6 @@ LeaderElectionWebLock.prototype = { if (this._wKMC.c) { this._wKMC.c.abort('LeaderElectionWebLock.die() called'); } - return ret; + return sendLeaderMessage(this, 'death'); } };