From 2d33ed1484fc582d195e051908142ef006b272f6 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 30 Dec 2016 14:33:07 +0000 Subject: [PATCH] Webpack build: 90ca422485371b8ef0e2e0408d8d018f6e4b5f06 --- discord.indev-prism.js | 1184 ++++++++++++++++++++++-------------- discord.indev-prism.min.js | 18 +- 2 files changed, 729 insertions(+), 473 deletions(-) diff --git a/discord.indev-prism.js b/discord.indev-prism.js index ff072872..ec294e6e 100644 --- a/discord.indev-prism.js +++ b/discord.indev-prism.js @@ -63,7 +63,7 @@ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 57); +/******/ return __webpack_require__(__webpack_require__.s = 58); /******/ }) /************************************************************************/ /******/ ([ @@ -442,7 +442,7 @@ for (const key in PermissionFlags) _ALL_PERMISSIONS |= PermissionFlags[key]; exports.ALL_PERMISSIONS = _ALL_PERMISSIONS; exports.DEFAULT_PERMISSIONS = 104324097; -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(24))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(18))) /***/ }, /* 1 */ @@ -1940,7 +1940,7 @@ const Constants = __webpack_require__(0); const escapeMarkdown = __webpack_require__(15); // Done purely for GuildMember, which would cause a bad circular dependency -const Discord = __webpack_require__(57); +const Discord = __webpack_require__(58); /** * Represents a message on Discord @@ -2506,7 +2506,7 @@ module.exports = Message; /* 12 */ /***/ function(module, exports, __webpack_require__) { -const path = __webpack_require__(23); +const path = __webpack_require__(24); const Message = __webpack_require__(11); const MessageCollector = __webpack_require__(34); const Collection = __webpack_require__(3); @@ -2892,7 +2892,7 @@ exports.applyToClass = (structure, full = false) => { const Channel = __webpack_require__(9); const Role = __webpack_require__(8); const PermissionOverwrites = __webpack_require__(40); -const EvaluatedPermissions = __webpack_require__(18); +const EvaluatedPermissions = __webpack_require__(19); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); @@ -3196,7 +3196,7 @@ module.exports = GuildChannel; const TextBasedChannel = __webpack_require__(12); const Role = __webpack_require__(8); -const EvaluatedPermissions = __webpack_require__(18); +const EvaluatedPermissions = __webpack_require__(19); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); const Presence = __webpack_require__(7).Presence; @@ -3664,9 +3664,9 @@ module.exports = function escapeMarkdown(text, onlyCodeBlock = false, onlyInline -var base64 = __webpack_require__(63) -var ieee754 = __webpack_require__(65) -var isArray = __webpack_require__(66) +var base64 = __webpack_require__(64) +var ieee754 = __webpack_require__(66) +var isArray = __webpack_require__(67) exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer @@ -5444,7 +5444,7 @@ function isnan (val) { return val !== val // eslint-disable-line no-self-compare } -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(80))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(49))) /***/ }, /* 17 */ @@ -5756,6 +5756,192 @@ function isUndefined(arg) { /***/ }, /* 18 */ +/***/ function(module, exports) { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }, +/* 19 */ /***/ function(module, exports, __webpack_require__) { const Constants = __webpack_require__(0); @@ -5828,7 +6014,7 @@ module.exports = EvaluatedPermissions; /***/ }, -/* 19 */ +/* 20 */ /***/ function(module, exports, __webpack_require__) { const User = __webpack_require__(6); @@ -5839,7 +6025,7 @@ const GuildMember = __webpack_require__(14); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); const cloneObject = __webpack_require__(4); -const arraysEqual = __webpack_require__(154); +const arraysEqual = __webpack_require__(156); /** * Represents a guild (or a server) on Discord. @@ -6685,7 +6871,7 @@ module.exports = Guild; /***/ }, -/* 20 */ +/* 21 */ /***/ function(module, exports) { /** @@ -6740,10 +6926,10 @@ module.exports = ReactionEmoji; /***/ }, -/* 21 */ +/* 22 */ /***/ function(module, exports, __webpack_require__) { -const path = __webpack_require__(23); +const path = __webpack_require__(24); const escapeMarkdown = __webpack_require__(15); /** @@ -6946,7 +7132,7 @@ module.exports = Webhook; /***/ }, -/* 22 */ +/* 23 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -6966,7 +7152,7 @@ module.exports = { /***/ }, -/* 23 */ +/* 24 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors. @@ -7194,193 +7380,7 @@ var substr = 'ab'.substr(-1) === 'b' } ; -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(24))) - -/***/ }, -/* 24 */ -/***/ function(module, exports) { - -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(18))) /***/ }, /* 25 */ @@ -7400,11 +7400,11 @@ if (typeof window !== 'undefined') { // Browser window root = this; } -var Emitter = __webpack_require__(64); -var RequestBase = __webpack_require__(77); +var Emitter = __webpack_require__(65); +var RequestBase = __webpack_require__(79); var isObject = __webpack_require__(26); -var isFunction = __webpack_require__(76); -var ResponseBase = __webpack_require__(78); +var isFunction = __webpack_require__(78); +var ResponseBase = __webpack_require__(80); /** * Noop. @@ -9639,7 +9639,7 @@ module.exports = MessageEmbed; const Collection = __webpack_require__(3); const Emoji = __webpack_require__(10); -const ReactionEmoji = __webpack_require__(20); +const ReactionEmoji = __webpack_require__(21); /** * Represents a reaction to a message @@ -10601,25 +10601,50 @@ module.exports = ZStream; /* 49 */ /***/ function(module, exports) { +var g; + +// This works in non-strict mode +g = (function() { return this; })(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; /***/ }, /* 50 */ +/***/ function(module, exports) { + + + +/***/ }, +/* 51 */ /***/ function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(Buffer) {const path = __webpack_require__(23); -const fs = __webpack_require__(49); +/* WEBPACK VAR INJECTION */(function(Buffer) {const path = __webpack_require__(24); +const fs = __webpack_require__(50); const request = __webpack_require__(25); const Constants = __webpack_require__(0); -const convertArrayBuffer = __webpack_require__(53); +const convertArrayBuffer = __webpack_require__(54); const User = __webpack_require__(6); const Message = __webpack_require__(11); -const Guild = __webpack_require__(19); +const Guild = __webpack_require__(20); const Channel = __webpack_require__(9); const GuildMember = __webpack_require__(14); const Emoji = __webpack_require__(10); -const ReactionEmoji = __webpack_require__(20); +const ReactionEmoji = __webpack_require__(21); /** * The DataResolver identifies different objects and tries to resolve a specific piece of information from them, e.g. @@ -10920,14 +10945,14 @@ module.exports = ClientDataResolver; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16).Buffer)) /***/ }, -/* 51 */ +/* 52 */ /***/ function(module, exports, __webpack_require__) { -const UserAgentManager = __webpack_require__(114); -const RESTMethods = __webpack_require__(111); -const SequentialRequestHandler = __webpack_require__(113); -const BurstRequestHandler = __webpack_require__(112); -const APIRequest = __webpack_require__(110); +const UserAgentManager = __webpack_require__(116); +const RESTMethods = __webpack_require__(113); +const SequentialRequestHandler = __webpack_require__(115); +const BurstRequestHandler = __webpack_require__(114); +const APIRequest = __webpack_require__(112); const Constants = __webpack_require__(0); class RESTManager { @@ -10977,7 +11002,7 @@ module.exports = RESTManager; /***/ }, -/* 52 */ +/* 53 */ /***/ function(module, exports) { /** @@ -11034,7 +11059,7 @@ module.exports = RequestHandler; /***/ }, -/* 53 */ +/* 54 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(Buffer) {function arrayBufferToBuffer(ab) { @@ -11059,7 +11084,7 @@ module.exports = function convertArrayBuffer(x) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16).Buffer)) /***/ }, -/* 54 */ +/* 55 */ /***/ function(module, exports) { module.exports = function merge(def, given) { @@ -11077,23 +11102,23 @@ module.exports = function merge(def, given) { /***/ }, -/* 55 */ +/* 56 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {const EventEmitter = __webpack_require__(17).EventEmitter; -const mergeDefault = __webpack_require__(54); +const mergeDefault = __webpack_require__(55); const Constants = __webpack_require__(0); -const RESTManager = __webpack_require__(51); -const ClientDataManager = __webpack_require__(81); -const ClientManager = __webpack_require__(82); -const ClientDataResolver = __webpack_require__(50); -const ClientVoiceManager = __webpack_require__(157); -const WebSocketManager = __webpack_require__(116); -const ActionsManager = __webpack_require__(83); +const RESTManager = __webpack_require__(52); +const ClientDataManager = __webpack_require__(83); +const ClientManager = __webpack_require__(84); +const ClientDataResolver = __webpack_require__(51); +const ClientVoiceManager = __webpack_require__(159); +const WebSocketManager = __webpack_require__(118); +const ActionsManager = __webpack_require__(85); const Collection = __webpack_require__(3); const Presence = __webpack_require__(7).Presence; -const ShardClientUtil = __webpack_require__(156); -const VoiceBroadcast = __webpack_require__(115); +const ShardClientUtil = __webpack_require__(158); +const VoiceBroadcast = __webpack_require__(117); /** * The starting point for making a Discord Bot. @@ -11572,16 +11597,16 @@ module.exports = Client; * @param {string} info The debug information */ -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(24))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(18))) /***/ }, -/* 56 */ +/* 57 */ /***/ function(module, exports, __webpack_require__) { -const Webhook = __webpack_require__(21); -const RESTManager = __webpack_require__(51); -const ClientDataResolver = __webpack_require__(50); -const mergeDefault = __webpack_require__(54); +const Webhook = __webpack_require__(22); +const RESTManager = __webpack_require__(52); +const ClientDataResolver = __webpack_require__(51); +const mergeDefault = __webpack_require__(55); const Constants = __webpack_require__(0); /** @@ -11627,30 +11652,30 @@ module.exports = WebhookClient; /***/ }, -/* 57 */ +/* 58 */ /***/ function(module, exports, __webpack_require__) { module.exports = { - Client: __webpack_require__(55), - WebhookClient: __webpack_require__(56), - Shard: __webpack_require__(60), - ShardClientUtil: __webpack_require__(61), - ShardingManager: __webpack_require__(62), + Client: __webpack_require__(56), + WebhookClient: __webpack_require__(57), + Shard: __webpack_require__(61), + ShardClientUtil: __webpack_require__(62), + ShardingManager: __webpack_require__(63), Collection: __webpack_require__(3), splitMessage: __webpack_require__(43), escapeMarkdown: __webpack_require__(15), - fetchRecommendedShards: __webpack_require__(59), + fetchRecommendedShards: __webpack_require__(60), Channel: __webpack_require__(9), ClientOAuth2Application: __webpack_require__(28), ClientUser: __webpack_require__(29), DMChannel: __webpack_require__(30), Emoji: __webpack_require__(10), - EvaluatedPermissions: __webpack_require__(18), + EvaluatedPermissions: __webpack_require__(19), Game: __webpack_require__(7).Game, GroupDMChannel: __webpack_require__(31), - Guild: __webpack_require__(19), + Guild: __webpack_require__(20), GuildChannel: __webpack_require__(13), GuildMember: __webpack_require__(14), Invite: __webpack_require__(32), @@ -11664,13 +11689,13 @@ module.exports = { PartialGuildChannel: __webpack_require__(39), PermissionOverwrites: __webpack_require__(40), Presence: __webpack_require__(7).Presence, - ReactionEmoji: __webpack_require__(20), - RichEmbed: __webpack_require__(58), + ReactionEmoji: __webpack_require__(21), + RichEmbed: __webpack_require__(59), Role: __webpack_require__(8), TextChannel: __webpack_require__(41), User: __webpack_require__(6), VoiceChannel: __webpack_require__(42), - Webhook: __webpack_require__(21), + Webhook: __webpack_require__(22), version: __webpack_require__(27).version, Constants: __webpack_require__(0), @@ -11680,7 +11705,7 @@ if (typeof window !== 'undefined') window.Discord = module.exports; // eslint-di /***/ }, -/* 58 */ +/* 59 */ /***/ function(module, exports) { /** @@ -11890,7 +11915,7 @@ function resolveString(data) { /***/ }, -/* 59 */ +/* 60 */ /***/ function(module, exports, __webpack_require__) { const superagent = __webpack_require__(25); @@ -11914,12 +11939,6 @@ module.exports = function fetchRecommendedShards(token) { }; -/***/ }, -/* 60 */ -/***/ function(module, exports) { - -/* (ignored) */ - /***/ }, /* 61 */ /***/ function(module, exports) { @@ -11934,6 +11953,12 @@ module.exports = function fetchRecommendedShards(token) { /***/ }, /* 63 */ +/***/ function(module, exports) { + +/* (ignored) */ + +/***/ }, +/* 64 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -12054,7 +12079,7 @@ function fromByteArray (uint8) { /***/ }, -/* 64 */ +/* 65 */ /***/ function(module, exports, __webpack_require__) { @@ -12223,7 +12248,7 @@ Emitter.prototype.hasListeners = function(event){ /***/ }, -/* 65 */ +/* 66 */ /***/ function(module, exports) { exports.read = function (buffer, offset, isLE, mLen, nBytes) { @@ -12313,7 +12338,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { /***/ }, -/* 66 */ +/* 67 */ /***/ function(module, exports) { var toString = {}.toString; @@ -12324,7 +12349,7 @@ module.exports = Array.isArray || function (arr) { /***/ }, -/* 67 */ +/* 68 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -12333,8 +12358,8 @@ module.exports = Array.isArray || function (arr) { var assign = __webpack_require__(5).assign; -var deflate = __webpack_require__(68); -var inflate = __webpack_require__(69); +var deflate = __webpack_require__(69); +var inflate = __webpack_require__(70); var constants = __webpack_require__(46); var pako = {}; @@ -12345,17 +12370,17 @@ module.exports = pako; /***/ }, -/* 68 */ +/* 69 */ /***/ function(module, exports, __webpack_require__) { "use strict"; -var zlib_deflate = __webpack_require__(70); +var zlib_deflate = __webpack_require__(71); var utils = __webpack_require__(5); var strings = __webpack_require__(44); -var msg = __webpack_require__(22); +var msg = __webpack_require__(23); var ZStream = __webpack_require__(48); var toString = Object.prototype.toString; @@ -12752,20 +12777,20 @@ exports.gzip = gzip; /***/ }, -/* 69 */ +/* 70 */ /***/ function(module, exports, __webpack_require__) { "use strict"; -var zlib_inflate = __webpack_require__(73); +var zlib_inflate = __webpack_require__(74); var utils = __webpack_require__(5); var strings = __webpack_require__(44); var c = __webpack_require__(46); -var msg = __webpack_require__(22); +var msg = __webpack_require__(23); var ZStream = __webpack_require__(48); -var GZheader = __webpack_require__(71); +var GZheader = __webpack_require__(72); var toString = Object.prototype.toString; @@ -13177,17 +13202,17 @@ exports.ungzip = inflate; /***/ }, -/* 70 */ +/* 71 */ /***/ function(module, exports, __webpack_require__) { "use strict"; var utils = __webpack_require__(5); -var trees = __webpack_require__(75); +var trees = __webpack_require__(76); var adler32 = __webpack_require__(45); var crc32 = __webpack_require__(47); -var msg = __webpack_require__(22); +var msg = __webpack_require__(23); /* Public constants ==========================================================*/ /* ===========================================================================*/ @@ -15039,7 +15064,7 @@ exports.deflateTune = deflateTune; /***/ }, -/* 71 */ +/* 72 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -15086,7 +15111,7 @@ module.exports = GZheader; /***/ }, -/* 72 */ +/* 73 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -15419,7 +15444,7 @@ module.exports = function inflate_fast(strm, start) { /***/ }, -/* 73 */ +/* 74 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -15429,8 +15454,8 @@ module.exports = function inflate_fast(strm, start) { var utils = __webpack_require__(5); var adler32 = __webpack_require__(45); var crc32 = __webpack_require__(47); -var inflate_fast = __webpack_require__(72); -var inflate_table = __webpack_require__(74); +var inflate_fast = __webpack_require__(73); +var inflate_table = __webpack_require__(75); var CODES = 0; var LENS = 1; @@ -16964,7 +16989,7 @@ exports.inflateUndermine = inflateUndermine; /***/ }, -/* 74 */ +/* 75 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -17296,7 +17321,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta /***/ }, -/* 75 */ +/* 76 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -18505,7 +18530,200 @@ exports._tr_align = _tr_align; /***/ }, -/* 76 */ +/* 77 */ +/***/ function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { + "use strict"; + + if (global.setImmediate) { + return; + } + + var nextHandle = 1; // Spec says greater than zero + var tasksByHandle = {}; + var currentlyRunningATask = false; + var doc = global.document; + var registerImmediate; + + function setImmediate(callback) { + // Callback can either be a function or a string + if (typeof callback !== "function") { + callback = new Function("" + callback); + } + // Copy function arguments + var args = new Array(arguments.length - 1); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i + 1]; + } + // Store and register the task + var task = { callback: callback, args: args }; + tasksByHandle[nextHandle] = task; + registerImmediate(nextHandle); + return nextHandle++; + } + + function clearImmediate(handle) { + delete tasksByHandle[handle]; + } + + function run(task) { + var callback = task.callback; + var args = task.args; + switch (args.length) { + case 0: + callback(); + break; + case 1: + callback(args[0]); + break; + case 2: + callback(args[0], args[1]); + break; + case 3: + callback(args[0], args[1], args[2]); + break; + default: + callback.apply(undefined, args); + break; + } + } + + function runIfPresent(handle) { + // From the spec: "Wait until any invocations of this algorithm started before this one have completed." + // So if we're currently running a task, we'll need to delay this invocation. + if (currentlyRunningATask) { + // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a + // "too much recursion" error. + setTimeout(runIfPresent, 0, handle); + } else { + var task = tasksByHandle[handle]; + if (task) { + currentlyRunningATask = true; + try { + run(task); + } finally { + clearImmediate(handle); + currentlyRunningATask = false; + } + } + } + } + + function installNextTickImplementation() { + registerImmediate = function(handle) { + process.nextTick(function () { runIfPresent(handle); }); + }; + } + + function canUsePostMessage() { + // The test against `importScripts` prevents this implementation from being installed inside a web worker, + // where `global.postMessage` means something completely different and can't be used for this purpose. + if (global.postMessage && !global.importScripts) { + var postMessageIsAsynchronous = true; + var oldOnMessage = global.onmessage; + global.onmessage = function() { + postMessageIsAsynchronous = false; + }; + global.postMessage("", "*"); + global.onmessage = oldOnMessage; + return postMessageIsAsynchronous; + } + } + + function installPostMessageImplementation() { + // Installs an event handler on `global` for the `message` event: see + // * https://developer.mozilla.org/en/DOM/window.postMessage + // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages + + var messagePrefix = "setImmediate$" + Math.random() + "$"; + var onGlobalMessage = function(event) { + if (event.source === global && + typeof event.data === "string" && + event.data.indexOf(messagePrefix) === 0) { + runIfPresent(+event.data.slice(messagePrefix.length)); + } + }; + + if (global.addEventListener) { + global.addEventListener("message", onGlobalMessage, false); + } else { + global.attachEvent("onmessage", onGlobalMessage); + } + + registerImmediate = function(handle) { + global.postMessage(messagePrefix + handle, "*"); + }; + } + + function installMessageChannelImplementation() { + var channel = new MessageChannel(); + channel.port1.onmessage = function(event) { + var handle = event.data; + runIfPresent(handle); + }; + + registerImmediate = function(handle) { + channel.port2.postMessage(handle); + }; + } + + function installReadyStateChangeImplementation() { + var html = doc.documentElement; + registerImmediate = function(handle) { + // Create a