From 29e65df42ffe5a8ae1ad37505e03649fa8e5bab0 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Wed, 25 May 2016 15:08:19 -0700 Subject: [PATCH] improved demo page --- dist/build.js | 14686 ++++++++++++++++++++++++++++++--- dist/prism.css | 184 +- index.html | 10 +- src/App.vue | 206 +- src/components/Install.vue | 2 +- src/components/Jumbotron.vue | 212 - 6 files changed, 13918 insertions(+), 1382 deletions(-) delete mode 100644 src/components/Jumbotron.vue diff --git a/dist/build.js b/dist/build.js index 2a870d5..7cdf833 100644 --- a/dist/build.js +++ b/dist/build.js @@ -1,47 +1,1452 @@ -(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o bytes) { end = bytes; } + + if (start >= bytes || start >= end || bytes === 0) { + return new ArrayBuffer(0); + } + + var abv = new Uint8Array(arraybuffer); + var result = new Uint8Array(end - start); + for (var i = start, ii = 0; i < end; i++, ii++) { + result[ii] = abv[i]; + } + return result.buffer; }; +}).apply(this, arguments); + +},{}],4:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/babel-runtime/core-js/object/keys.js", module); +(function(){ +module.exports = { "default": require("core-js/library/fn/object/keys"), __esModule: true }; +}).apply(this, arguments); + +},{"core-js/library/fn/object/keys":18}],5:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/babel-runtime/core-js/symbol.js", module); +(function(){ +module.exports = { "default": require("core-js/library/fn/symbol"), __esModule: true }; +}).apply(this, arguments); + +},{"core-js/library/fn/symbol":19}],6:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/babel-runtime/core-js/symbol/iterator.js", module); +(function(){ +module.exports = { "default": require("core-js/library/fn/symbol/iterator"), __esModule: true }; +}).apply(this, arguments); + +},{"core-js/library/fn/symbol/iterator":20}],7:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/babel-runtime/helpers/typeof.js", module); +(function(){ +"use strict"; + exports.__esModule = true; -},{"babel-runtime/core-js/symbol":2}],4:[function(require,module,exports){ + +var _iterator = require("babel-runtime/core-js/symbol/iterator"); + +var _iterator2 = _interopRequireDefault(_iterator); + +var _symbol = require("babel-runtime/core-js/symbol"); + +var _symbol2 = _interopRequireDefault(_symbol); + +var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default ? "symbol" : typeof obj; }; + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) { + return typeof obj === "undefined" ? "undefined" : _typeof(obj); +} : function (obj) { + return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); +}; +}).apply(this, arguments); + +},{"babel-runtime/core-js/symbol":5,"babel-runtime/core-js/symbol/iterator":6}],8:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/backo2/index.js", module); +(function(){ + +/** + * Expose `Backoff`. + */ + +module.exports = Backoff; + +/** + * Initialize backoff timer with `opts`. + * + * - `min` initial timeout in milliseconds [100] + * - `max` max timeout [10000] + * - `jitter` [0] + * - `factor` [2] + * + * @param {Object} opts + * @api public + */ + +function Backoff(opts) { + opts = opts || {}; + this.ms = opts.min || 100; + this.max = opts.max || 10000; + this.factor = opts.factor || 2; + this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0; + this.attempts = 0; +} + +/** + * Return the backoff duration. + * + * @return {Number} + * @api public + */ + +Backoff.prototype.duration = function(){ + var ms = this.ms * Math.pow(this.factor, this.attempts++); + if (this.jitter) { + var rand = Math.random(); + var deviation = Math.floor(rand * this.jitter * ms); + ms = (Math.floor(rand * 10) & 1) == 0 ? ms - deviation : ms + deviation; + } + return Math.min(ms, this.max) | 0; +}; + +/** + * Reset the number of attempts. + * + * @api public + */ + +Backoff.prototype.reset = function(){ + this.attempts = 0; +}; + +/** + * Set the minimum duration + * + * @api public + */ + +Backoff.prototype.setMin = function(min){ + this.ms = min; +}; + +/** + * Set the maximum duration + * + * @api public + */ + +Backoff.prototype.setMax = function(max){ + this.max = max; +}; + +/** + * Set the jitter + * + * @api public + */ + +Backoff.prototype.setJitter = function(jitter){ + this.jitter = jitter; +}; + + +}).apply(this, arguments); + +},{}],9:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/base64-arraybuffer/lib/base64-arraybuffer.js", module); +(function(){ +/* + * base64-arraybuffer + * https://github.com/niklasvh/base64-arraybuffer + * + * Copyright (c) 2012 Niklas von Hertzen + * Licensed under the MIT license. + */ +(function(chars){ + "use strict"; + + exports.encode = function(arraybuffer) { + var bytes = new Uint8Array(arraybuffer), + i, len = bytes.length, base64 = ""; + + for (i = 0; i < len; i+=3) { + base64 += chars[bytes[i] >> 2]; + base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)]; + base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)]; + base64 += chars[bytes[i + 2] & 63]; + } + + if ((len % 3) === 2) { + base64 = base64.substring(0, base64.length - 1) + "="; + } else if (len % 3 === 1) { + base64 = base64.substring(0, base64.length - 2) + "=="; + } + + return base64; + }; + + exports.decode = function(base64) { + var bufferLength = base64.length * 0.75, + len = base64.length, i, p = 0, + encoded1, encoded2, encoded3, encoded4; + + if (base64[base64.length - 1] === "=") { + bufferLength--; + if (base64[base64.length - 2] === "=") { + bufferLength--; + } + } + + var arraybuffer = new ArrayBuffer(bufferLength), + bytes = new Uint8Array(arraybuffer); + + for (i = 0; i < len; i+=4) { + encoded1 = chars.indexOf(base64[i]); + encoded2 = chars.indexOf(base64[i+1]); + encoded3 = chars.indexOf(base64[i+2]); + encoded4 = chars.indexOf(base64[i+3]); + + bytes[p++] = (encoded1 << 2) | (encoded2 >> 4); + bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2); + bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63); + } + + return arraybuffer; + }; +})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); + +}).apply(this, arguments); + +},{}],10:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/blob/index.js", module); +(function(){ +(function (global){ +/** + * Create a blob builder even when vendor prefixes exist + */ + +var BlobBuilder = global.BlobBuilder + || global.WebKitBlobBuilder + || global.MSBlobBuilder + || global.MozBlobBuilder; + +/** + * Check if Blob constructor is supported + */ + +var blobSupported = (function() { + try { + var a = new Blob(['hi']); + return a.size === 2; + } catch(e) { + return false; + } +})(); + +/** + * Check if Blob constructor supports ArrayBufferViews + * Fails in Safari 6, so we need to map to ArrayBuffers there. + */ + +var blobSupportsArrayBufferView = blobSupported && (function() { + try { + var b = new Blob([new Uint8Array([1,2])]); + return b.size === 2; + } catch(e) { + return false; + } +})(); + +/** + * Check if BlobBuilder is supported + */ + +var blobBuilderSupported = BlobBuilder + && BlobBuilder.prototype.append + && BlobBuilder.prototype.getBlob; + +/** + * Helper function that maps ArrayBufferViews to ArrayBuffers + * Used by BlobBuilder constructor and old browsers that didn't + * support it in the Blob constructor. + */ + +function mapArrayBufferViews(ary) { + for (var i = 0; i < ary.length; i++) { + var chunk = ary[i]; + if (chunk.buffer instanceof ArrayBuffer) { + var buf = chunk.buffer; + + // if this is a subarray, make a copy so we only + // include the subarray region from the underlying buffer + if (chunk.byteLength !== buf.byteLength) { + var copy = new Uint8Array(chunk.byteLength); + copy.set(new Uint8Array(buf, chunk.byteOffset, chunk.byteLength)); + buf = copy.buffer; + } + + ary[i] = buf; + } + } +} + +function BlobBuilderConstructor(ary, options) { + options = options || {}; + + var bb = new BlobBuilder(); + mapArrayBufferViews(ary); + + for (var i = 0; i < ary.length; i++) { + bb.append(ary[i]); + } + + return (options.type) ? bb.getBlob(options.type) : bb.getBlob(); +}; + +function BlobConstructor(ary, options) { + mapArrayBufferViews(ary); + return new Blob(ary, options || {}); +}; + +module.exports = (function() { + if (blobSupported) { + return blobSupportsArrayBufferView ? global.Blob : BlobConstructor; + } else if (blobBuilderSupported) { + return BlobBuilderConstructor; + } else { + return undefined; + } +})(); + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) + +}).apply(this, arguments); + +},{}],11:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/browser-resolve/empty.js", module); +(function(){ + +}).apply(this, arguments); + +},{}],12:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/browserify-hmr/inc/index.js", module); +(function(){ +(function (global){ +'use strict'; + +var has = require('../lib/has'); +var StrSet = require('../lib/str-set'); +var forEach = require('lodash/collection/forEach'); +var some = require('lodash/collection/some'); +var map = require('lodash/collection/map'); +var filter = require('lodash/collection/filter'); +var zipObject = require('lodash/array/zipObject'); +var forOwn = require('lodash/object/forOwn'); +var mapValues = require('lodash/object/mapValues'); +var assign = require('lodash/object/assign'); + +function emitError(err) { + setTimeout(function() { + throw err; + }, 0); +} + +function makeModuleIndexesToNames(moduleMeta) { + var moduleIndexesToNames = {}; + forOwn(moduleMeta, function(value, name) { + moduleIndexesToNames[value.index] = name; + }); + return moduleIndexesToNames; +} + +var console = global.console ? global.console : { + error: function(){}, log: function() {} +}; + +function main( + moduleDefs, cachedModules, moduleMeta, updateUrl, + updateMode, supportModes, ignoreUnaccepted, updateCacheBust, bundleKey, + socketio, + bundle__filename, bundle__dirname +) { + var moduleIndexesToNames = makeModuleIndexesToNames(moduleMeta); + + var socket; + var name, i, len; + + if (!global._hmr[bundleKey].setStatus) { + var runtimeModuleInfo = {}; + var createInfoEntry = function(name) { + runtimeModuleInfo[name] = { + index: moduleMeta[name].index, + hash: moduleMeta[name].hash, + parents: new StrSet(moduleMeta[name].parents), + module: null, + disposeData: null, + accepters: new StrSet(), + accepting: new StrSet(), + decliners: new StrSet(), + declining: new StrSet(), + selfAcceptCbs: [], // may contain null. nonzero length means module is self-accepting + disposeHandlers: [] + }; + }; + for (name in moduleMeta) { + if (has(moduleMeta, name)) { + createInfoEntry(name); + } + } + + // loaders take a callback(err, data). They may give null for data if they + // know there hasn't been an update. + var fileReloaders = { + fs: function(cb) { + var fs; + try { + fs = require('f'+'s'); + } catch(e) { + cb(e); + return; + } + fs.readFile(localHmr.updateUrl || bundle__filename, 'utf8', cb); + }, + ajax: function(cb) { + var xhr; + try { + xhr = new XMLHttpRequest(); + } catch(e) { + cb(e); + return; + } + xhr.onreadystatechange = function() { + if (xhr.readyState === 4) { + if (xhr.status === 200) { + cb(null, xhr.responseText); + } else { + cb(new Error("Request had response "+xhr.status)); + } + } + }; + var url = localHmr.updateUrl + (updateCacheBust?'?_v='+(+new Date()):''); + xhr.open('GET', url, true); + xhr.send(); + } + }; + + var lastScriptData = null; + + // cb(err, expectUpdate) + var reloadAndRunScript = function(cb) { + if (!has(fileReloaders, localHmr.updateMode)) { + cb(new Error("updateMode "+localHmr.updateMode+" not implemented")); + return; + } + var reloader = fileReloaders[localHmr.updateMode]; + reloader(function(err, data) { + if (err || !data || lastScriptData === data) { + cb(err, false); + return; + } + lastScriptData = data; + localHmr.newLoad = null; + try { + //jshint evil:true + if (bundle__filename || bundle__dirname) { + new Function('require', '__filename', '__dirname', data)(require, bundle__filename, bundle__dirname); + } else { + new Function('require', data)(require); + } + // running the file sets _hmr.newLoad + } catch (err2) { + localHmr.newLoad = null; + cb(err2); + return; + } + if (!localHmr.newLoad) { + cb(new Error("Reloaded script did not set hot module reload data")); + return; + } + cb(null, true); + }); + }; + + var getOutdatedModules = function() { + var outdated = []; + var name; + // add changed and deleted modules + for (name in runtimeModuleInfo) { + if (has(runtimeModuleInfo, name)) { + if ( + !has(localHmr.newLoad.moduleMeta, name) || + runtimeModuleInfo[name].hash !== localHmr.newLoad.moduleMeta[name].hash + ) { + outdated.push(name); + } + } + } + // add brand new modules + for (name in localHmr.newLoad.moduleMeta) { + if (has(localHmr.newLoad.moduleMeta, name)) { + if (!has(runtimeModuleInfo, name)) { + outdated.push(name); + } + } + } + // add modules that are non-accepting/declining parents of outdated modules. + // important: if outdated has new elements added during the loop, + // then we iterate over them too. + for (var i=0; i Array#indexOf +// true -> Array#includes +var toIObject = require('./_to-iobject') + , toLength = require('./_to-length') + , toIndex = require('./_to-index'); +module.exports = function(IS_INCLUDES){ + return function($this, el, fromIndex){ + var O = toIObject($this) + , length = toLength(O.length) + , index = toIndex(fromIndex, length) + , value; + // Array#includes uses SameValueZero equality algorithm + if(IS_INCLUDES && el != el)while(length > index){ + value = O[index++]; + if(value != value)return true; + // Array#toIndex ignores holes, Array#includes - not + } else for(;length > index; index++)if(IS_INCLUDES || index in O){ + if(O[index] === el)return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; +}).apply(this, arguments); + +},{"./_to-index":68,"./_to-iobject":70,"./_to-length":71}],25:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_cof.js", module); +(function(){ var toString = {}.toString; module.exports = function(it){ return toString.call(it).slice(8, -1); }; -},{}],9:[function(require,module,exports){ -var core = module.exports = {version: '1.2.6'}; +}).apply(this, arguments); + +},{}],26:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_core.js", module); +(function(){ +var core = module.exports = {version: '2.4.0'}; if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef -},{}],10:[function(require,module,exports){ +}).apply(this, arguments); + +},{}],27:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_ctx.js", module); +(function(){ // optional / simple context binding -var aFunction = require('./$.a-function'); +var aFunction = require('./_a-function'); module.exports = function(fn, that, length){ aFunction(fn); if(that === undefined)return fn; @@ -60,36 +1465,75 @@ module.exports = function(fn, that, length){ return fn.apply(that, arguments); }; }; -},{"./$.a-function":6}],11:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_a-function":21}],28:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_defined.js", module); +(function(){ // 7.2.1 RequireObjectCoercible(argument) module.exports = function(it){ if(it == undefined)throw TypeError("Can't call method on " + it); return it; }; -},{}],12:[function(require,module,exports){ +}).apply(this, arguments); + +},{}],29:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_descriptors.js", module); +(function(){ // Thank's IE8 for his funny defineProperty -module.exports = !require('./$.fails')(function(){ +module.exports = !require('./_fails')(function(){ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; }); -},{"./$.fails":15}],13:[function(require,module,exports){ -// all enumerable object keys, includes symbols -var $ = require('./$'); +}).apply(this, arguments); + +},{"./_fails":34}],30:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_dom-create.js", module); +(function(){ +var isObject = require('./_is-object') + , document = require('./_global').document + // in old IE typeof document.createElement is 'object' + , is = isObject(document) && isObject(document.createElement); module.exports = function(it){ - var keys = $.getKeys(it) - , getSymbols = $.getSymbols; + return is ? document.createElement(it) : {}; +}; +}).apply(this, arguments); + +},{"./_global":35,"./_is-object":42}],31:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_enum-bug-keys.js", module); +(function(){ +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); +}).apply(this, arguments); + +},{}],32:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_enum-keys.js", module); +(function(){ +// all enumerable object keys, includes symbols +var getKeys = require('./_object-keys') + , gOPS = require('./_object-gops') + , pIE = require('./_object-pie'); +module.exports = function(it){ + var result = getKeys(it) + , getSymbols = gOPS.f; if(getSymbols){ var symbols = getSymbols(it) - , isEnum = $.isEnum + , isEnum = pIE.f , i = 0 , key; - while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key); - } - return keys; + while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key); + } return result; }; -},{"./$":23}],14:[function(require,module,exports){ -var global = require('./$.global') - , core = require('./$.core') - , ctx = require('./$.ctx') +}).apply(this, arguments); + +},{"./_object-gops":56,"./_object-keys":59,"./_object-pie":60}],33:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_export.js", module); +(function(){ +var global = require('./_global') + , core = require('./_core') + , ctx = require('./_ctx') + , hide = require('./_hide') , PROTOTYPE = 'prototype'; var $export = function(type, name, source){ @@ -100,12 +1544,13 @@ var $export = function(type, name, source){ , IS_BIND = type & $export.B , IS_WRAP = type & $export.W , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) + , expProto = exports[PROTOTYPE] , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] , key, own, out; if(IS_GLOBAL)source = name; for(key in source){ // contains in native - own = !IS_FORCED && target && key in target; + own = !IS_FORCED && target && target[key] !== undefined; if(own && key in exports)continue; // export native or passed out = own ? target[key] : source[key]; @@ -115,25 +1560,42 @@ var $export = function(type, name, source){ : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function(C){ - var F = function(param){ - return this instanceof C ? new C(param) : C(param); + var F = function(a, b, c){ + if(this instanceof C){ + switch(arguments.length){ + case 0: return new C; + case 1: return new C(a); + case 2: return new C(a, b); + } return new C(a, b, c); + } return C.apply(this, arguments); }; F[PROTOTYPE] = C[PROTOTYPE]; return F; // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out; + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% + if(IS_PROTO){ + (exports.virtual || (exports.virtual = {}))[key] = out; + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% + if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); + } } }; // type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` module.exports = $export; -},{"./$.core":9,"./$.ctx":10,"./$.global":17}],15:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_core":26,"./_ctx":27,"./_global":35,"./_hide":37}],34:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_fails.js", module); +(function(){ module.exports = function(exec){ try { return !!exec(); @@ -141,101 +1603,491 @@ module.exports = function(exec){ return true; } }; -},{}],16:[function(require,module,exports){ -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -var toIObject = require('./$.to-iobject') - , getNames = require('./$').getNames - , toString = {}.toString; +}).apply(this, arguments); -var windowNames = typeof window == 'object' && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - -var getWindowNames = function(it){ - try { - return getNames(it); - } catch(e){ - return windowNames.slice(); - } -}; - -module.exports.get = function getOwnPropertyNames(it){ - if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it); - return getNames(toIObject(it)); -}; -},{"./$":23,"./$.to-iobject":31}],17:[function(require,module,exports){ +},{}],35:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_global.js", module); +(function(){ // 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 : Function('return this')(); if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef -},{}],18:[function(require,module,exports){ +}).apply(this, arguments); + +},{}],36:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_has.js", module); +(function(){ var hasOwnProperty = {}.hasOwnProperty; module.exports = function(it, key){ return hasOwnProperty.call(it, key); }; -},{}],19:[function(require,module,exports){ -var $ = require('./$') - , createDesc = require('./$.property-desc'); -module.exports = require('./$.descriptors') ? function(object, key, value){ - return $.setDesc(object, key, createDesc(1, value)); +}).apply(this, arguments); + +},{}],37:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_hide.js", module); +(function(){ +var dP = require('./_object-dp') + , createDesc = require('./_property-desc'); +module.exports = require('./_descriptors') ? function(object, key, value){ + return dP.f(object, key, createDesc(1, value)); } : function(object, key, value){ object[key] = value; return object; }; -},{"./$":23,"./$.descriptors":12,"./$.property-desc":27}],20:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_descriptors":29,"./_object-dp":51,"./_property-desc":62}],38:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_html.js", module); +(function(){ +module.exports = require('./_global').document && document.documentElement; +}).apply(this, arguments); + +},{"./_global":35}],39:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_ie8-dom-define.js", module); +(function(){ +module.exports = !require('./_descriptors') && !require('./_fails')(function(){ + return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; +}); +}).apply(this, arguments); + +},{"./_descriptors":29,"./_dom-create":30,"./_fails":34}],40:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_iobject.js", module); +(function(){ // fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = require('./$.cof'); +var cof = require('./_cof'); module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){ return cof(it) == 'String' ? it.split('') : Object(it); }; -},{"./$.cof":8}],21:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_cof":25}],41:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_is-array.js", module); +(function(){ // 7.2.2 IsArray(argument) -var cof = require('./$.cof'); -module.exports = Array.isArray || function(arg){ +var cof = require('./_cof'); +module.exports = Array.isArray || function isArray(arg){ return cof(arg) == 'Array'; }; -},{"./$.cof":8}],22:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_cof":25}],42:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_is-object.js", module); +(function(){ module.exports = function(it){ return typeof it === 'object' ? it !== null : typeof it === 'function'; }; -},{}],23:[function(require,module,exports){ -var $Object = Object; -module.exports = { - create: $Object.create, - getProto: $Object.getPrototypeOf, - isEnum: {}.propertyIsEnumerable, - getDesc: $Object.getOwnPropertyDescriptor, - setDesc: $Object.defineProperty, - setDescs: $Object.defineProperties, - getKeys: $Object.keys, - getNames: $Object.getOwnPropertyNames, - getSymbols: $Object.getOwnPropertySymbols, - each: [].forEach +}).apply(this, arguments); + +},{}],43:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_iter-create.js", module); +(function(){ +'use strict'; +var create = require('./_object-create') + , descriptor = require('./_property-desc') + , setToStringTag = require('./_set-to-string-tag') + , IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; }); + +module.exports = function(Constructor, NAME, next){ + Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)}); + setToStringTag(Constructor, NAME + ' Iterator'); }; -},{}],24:[function(require,module,exports){ -var $ = require('./$') - , toIObject = require('./$.to-iobject'); +}).apply(this, arguments); + +},{"./_hide":37,"./_object-create":50,"./_property-desc":62,"./_set-to-string-tag":64,"./_wks":77}],44:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_iter-define.js", module); +(function(){ +'use strict'; +var LIBRARY = require('./_library') + , $export = require('./_export') + , redefine = require('./_redefine') + , hide = require('./_hide') + , has = require('./_has') + , Iterators = require('./_iterators') + , $iterCreate = require('./_iter-create') + , setToStringTag = require('./_set-to-string-tag') + , getPrototypeOf = require('./_object-gpo') + , ITERATOR = require('./_wks')('iterator') + , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` + , FF_ITERATOR = '@@iterator' + , KEYS = 'keys' + , VALUES = 'values'; + +var returnThis = function(){ return this; }; + +module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){ + $iterCreate(Constructor, NAME, next); + var getMethod = function(kind){ + if(!BUGGY && kind in proto)return proto[kind]; + switch(kind){ + case KEYS: return function keys(){ return new Constructor(this, kind); }; + case VALUES: return function values(){ return new Constructor(this, kind); }; + } return function entries(){ return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator' + , DEF_VALUES = DEFAULT == VALUES + , VALUES_BUG = false + , proto = Base.prototype + , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] + , $default = $native || getMethod(DEFAULT) + , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined + , $anyNative = NAME == 'Array' ? proto.entries || $native : $native + , methods, key, IteratorPrototype; + // Fix native + if($anyNative){ + IteratorPrototype = getPrototypeOf($anyNative.call(new Base)); + if(IteratorPrototype !== Object.prototype){ + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if(DEF_VALUES && $native && $native.name !== VALUES){ + VALUES_BUG = true; + $default = function values(){ return $native.call(this); }; + } + // Define iterator + if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){ + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if(DEFAULT){ + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if(FORCED)for(key in methods){ + if(!(key in proto))redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; +}).apply(this, arguments); + +},{"./_export":33,"./_has":36,"./_hide":37,"./_iter-create":43,"./_iterators":46,"./_library":48,"./_object-gpo":57,"./_redefine":63,"./_set-to-string-tag":64,"./_wks":77}],45:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_iter-step.js", module); +(function(){ +module.exports = function(done, value){ + return {value: value, done: !!done}; +}; +}).apply(this, arguments); + +},{}],46:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_iterators.js", module); +(function(){ +module.exports = {}; +}).apply(this, arguments); + +},{}],47:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_keyof.js", module); +(function(){ +var getKeys = require('./_object-keys') + , toIObject = require('./_to-iobject'); module.exports = function(object, el){ var O = toIObject(object) - , keys = $.getKeys(O) + , keys = getKeys(O) , length = keys.length , index = 0 , key; while(length > index)if(O[key = keys[index++]] === el)return key; }; -},{"./$":23,"./$.to-iobject":31}],25:[function(require,module,exports){ +}).apply(this, arguments); + +},{"./_object-keys":59,"./_to-iobject":70}],48:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_library.js", module); +(function(){ module.exports = true; -},{}],26:[function(require,module,exports){ +}).apply(this, arguments); + +},{}],49:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_meta.js", module); +(function(){ +var META = require('./_uid')('meta') + , isObject = require('./_is-object') + , has = require('./_has') + , setDesc = require('./_object-dp').f + , id = 0; +var isExtensible = Object.isExtensible || function(){ + return true; +}; +var FREEZE = !require('./_fails')(function(){ + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function(it){ + setDesc(it, META, {value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + }}); +}; +var fastKey = function(it, create){ + // return primitive with prefix + if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if(!has(it, META)){ + // can't set metadata to uncaught frozen object + if(!isExtensible(it))return 'F'; + // not necessary to add metadata + if(!create)return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function(it, create){ + if(!has(it, META)){ + // can't set metadata to uncaught frozen object + if(!isExtensible(it))return true; + // not necessary to add metadata + if(!create)return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function(it){ + if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; +}).apply(this, arguments); + +},{"./_fails":34,"./_has":36,"./_is-object":42,"./_object-dp":51,"./_uid":74}],50:[function(require,module,exports){ +_hmr["websocket:null"].initModule("node_modules/core-js/library/modules/_object-create.js", module); +(function(){ +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = require('./_an-object') + , dPs = require('./_object-dps') + , enumBugKeys = require('./_enum-bug-keys') + , IE_PROTO = require('./_shared-key')('IE_PROTO') + , Empty = function(){ /* empty */ } + , PROTOTYPE = 'prototype'; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function(){ + // Thrash, waste and sodomy: IE GC bug + var iframe = require('./_dom-create')('iframe') + , i = enumBugKeys.length + , gt = '>' + , iframeDocument; + iframe.style.display = 'none'; + require('./_html').appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(' diff --git a/src/components/Install.vue b/src/components/Install.vue index 9205026..d85671d 100644 --- a/src/components/Install.vue +++ b/src/components/Install.vue @@ -1,5 +1,5 @@