module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "fb15"); /******/ }) /************************************************************************/ /******/ ({ /***/ "0029": /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /***/ "0185": /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__("e5fa"); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /***/ "01f9": /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__("2d00"); var $export = __webpack_require__("5ca1"); var redefine = __webpack_require__("2aba"); var hide = __webpack_require__("32e9"); var Iterators = __webpack_require__("84f2"); var $iterCreate = __webpack_require__("41a0"); var setToStringTag = __webpack_require__("7f20"); var getPrototypeOf = __webpack_require__("38fd"); var ITERATOR = __webpack_require__("2b4c")('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var 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'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') 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; }; /***/ }), /***/ "02f4": /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__("4588"); var defined = __webpack_require__("be13"); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /***/ "0a49": /***/ (function(module, exports, __webpack_require__) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter // 3 -> Array#some // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex var ctx = __webpack_require__("9b43"); var IObject = __webpack_require__("626a"); var toObject = __webpack_require__("4bf8"); var toLength = __webpack_require__("9def"); var asc = __webpack_require__("cd1c"); module.exports = function (TYPE, $create) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; var create = $create || asc; return function ($this, callbackfn, that) { var O = toObject($this); var self = IObject(O); var f = ctx(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; var val, res; for (;length > index; index++) if (NO_HOLES || index in self) { val = self[index]; res = f(val, index, O); if (TYPE) { if (IS_MAP) result[index] = res; // map else if (res) switch (TYPE) { case 3: return true; // some case 5: return val; // find case 6: return index; // findIndex case 2: result.push(val); // filter } else if (IS_EVERY) return false; // every } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; }; }; /***/ }), /***/ "0a91": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("b42c"); __webpack_require__("93c4"); module.exports = __webpack_require__("b77f"); /***/ }), /***/ "0bfb": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__("cb7c"); module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; /***/ }), /***/ "0d58": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__("ce10"); var enumBugKeys = __webpack_require__("e11e"); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /***/ "0f89": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("6f8a"); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /***/ "103a": /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__("da3c").document; module.exports = document && document.documentElement; /***/ }), /***/ "1169": /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__("2d95"); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /***/ "11e9": /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__("52a7"); var createDesc = __webpack_require__("4630"); var toIObject = __webpack_require__("6821"); var toPrimitive = __webpack_require__("6a99"); var has = __webpack_require__("69a8"); var IE8_DOM_DEFINE = __webpack_require__("c69a"); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /***/ "12fd": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("6f8a"); var document = __webpack_require__("da3c").document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /***/ "1495": /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__("86cc"); var anObject = __webpack_require__("cb7c"); var getKeys = __webpack_require__("0d58"); module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /***/ "1938": /***/ (function(module, exports, __webpack_require__) { // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = __webpack_require__("d13f"); $export($export.S, 'Array', { isArray: __webpack_require__("b5aa") }); /***/ }), /***/ "1b55": /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__("7772")('wks'); var uid = __webpack_require__("7b00"); var Symbol = __webpack_require__("da3c").Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /***/ "1b8f": /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__("a812"); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /***/ "1c01": /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__("5ca1"); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !__webpack_require__("9e1e"), 'Object', { defineProperty: __webpack_require__("86cc").f }); /***/ }), /***/ "1fa8": /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error var anObject = __webpack_require__("cb7c"); module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) } catch (e) { var ret = iterator['return']; if (ret !== undefined) anObject(ret.call(iterator)); throw e; } }; /***/ }), /***/ "230e": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("d3f4"); var document = __webpack_require__("7726").document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /***/ "2312": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("8ce0"); /***/ }), /***/ "23c6": /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__("2d95"); var TAG = __webpack_require__("2b4c")('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /***/ "2418": /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__("6a9b"); var toLength = __webpack_require__("a5ab"); var toAbsoluteIndex = __webpack_require__("1b8f"); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf 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; }; }; /***/ }), /***/ "245b": /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /***/ "2621": /***/ (function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }), /***/ "2695": /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__("43c8"); var toIObject = __webpack_require__("6a9b"); var arrayIndexOf = __webpack_require__("2418")(false); var IE_PROTO = __webpack_require__("5d8f")('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /***/ "27ee": /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__("23c6"); var ITERATOR = __webpack_require__("2b4c")('iterator'); var Iterators = __webpack_require__("84f2"); module.exports = __webpack_require__("8378").getIteratorMethod = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }), /***/ "2a4e": /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__("a812"); var defined = __webpack_require__("e5fa"); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /***/ "2aba": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("7726"); var hide = __webpack_require__("32e9"); var has = __webpack_require__("69a8"); var SRC = __webpack_require__("ca5a")('src'); var TO_STRING = 'toString'; var $toString = Function[TO_STRING]; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__("8378").inspectSource = function (it) { return $toString.call(it); }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val == 'function'; if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { delete O[key]; hide(O, key, val); } else if (O[key]) { O[key] = val; } else { hide(O, key, val); } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), /***/ "2aeb": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__("cb7c"); var dPs = __webpack_require__("1495"); var enumBugKeys = __webpack_require__("e11e"); var IE_PROTO = __webpack_require__("613b")('IE_PROTO'); var Empty = function () { /* empty */ }; var 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 = __webpack_require__("230e")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__("fab2").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(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /***/ "2b4c": /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__("5537")('wks'); var uid = __webpack_require__("ca5a"); var Symbol = __webpack_require__("7726").Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /***/ "2d00": /***/ (function(module, exports) { module.exports = false; /***/ }), /***/ "2d95": /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /***/ "2ea1": /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__("6f8a"); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /***/ "2f21": /***/ (function(module, exports, __webpack_require__) { "use strict"; var fails = __webpack_require__("79e5"); module.exports = function (method, arg) { return !!method && fails(function () { // eslint-disable-next-line no-useless-call arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); }); }; /***/ }), /***/ "2fdb": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.1.3.7 String.prototype.includes(searchString, position = 0) var $export = __webpack_require__("5ca1"); var context = __webpack_require__("d2c8"); var INCLUDES = 'includes'; $export($export.P + $export.F * __webpack_require__("5147")(INCLUDES), 'String', { includes: function includes(searchString /* , position = 0 */) { return !!~context(this, searchString, INCLUDES) .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); } }); /***/ }), /***/ "32e9": /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__("86cc"); var createDesc = __webpack_require__("4630"); module.exports = __webpack_require__("9e1e") ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /***/ "33a4": /***/ (function(module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__("84f2"); var ITERATOR = __webpack_require__("2b4c")('iterator'); var ArrayProto = Array.prototype; module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; /***/ }), /***/ "3425": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1f4209d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/vue-draggable-resizable.vue?vue&type=template&id=635de075& var render = function () { var _obj; var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[( _obj = {}, _obj[_vm.classNameActive] = _vm.enabled, _obj[_vm.classNameDragging] = _vm.dragging, _obj[_vm.classNameResizing] = _vm.resizing, _obj[_vm.classNameDraggable] = _vm.draggable, _obj[_vm.classNameResizable] = _vm.resizable, _obj ), _vm.className],style:(_vm.style),on:{"mousedown":_vm.elementMouseDown,"touchstart":_vm.elementTouchDown}},[_vm._l((_vm.actualHandles),function(handle){return _c('div',{key:handle,class:[_vm.classNameHandle, _vm.classNameHandle + '-' + handle],style:({display: _vm.enabled ? 'block' : 'none'}),on:{"mousedown":function($event){$event.stopPropagation();$event.preventDefault();_vm.handleDown(handle, $event)},"touchstart":function($event){$event.stopPropagation();$event.preventDefault();_vm.handleTouchDown(handle, $event)}}},[_vm._t(handle)],2)}),_vm._v(" "),_vm._t("default")],2)} var staticRenderFns = [] // CONCATENATED MODULE: ./src/components/vue-draggable-resizable.vue?vue&type=template&id=635de075& // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.define-property.js var es6_object_define_property = __webpack_require__("1c01"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.define-properties.js var es6_object_define_properties = __webpack_require__("58b2"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js var es7_object_get_own_property_descriptors = __webpack_require__("8e6e"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.for-each.js var es6_array_for_each = __webpack_require__("f3e2"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js var es6_object_keys = __webpack_require__("456d"); // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js var define_property = __webpack_require__("85f2"); var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property); // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js function _defineProperty(obj, key, value) { if (key in obj) { define_property_default()(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js var es6_regexp_constructor = __webpack_require__("3b2b"); // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js var is_array = __webpack_require__("a745"); var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array); // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js function _arrayWithHoles(arr) { if (is_array_default()(arr)) return arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/get-iterator.js var get_iterator = __webpack_require__("5d73"); var get_iterator_default = /*#__PURE__*/__webpack_require__.n(get_iterator); // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/is-iterable.js var is_iterable = __webpack_require__("c8bb"); var is_iterable_default = /*#__PURE__*/__webpack_require__.n(is_iterable); // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { if (!(is_iterable_default()(Object(arr)) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = get_iterator_default()(arr), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableRest.js function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/slicedToArray.js function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.array.includes.js var es7_array_includes = __webpack_require__("6762"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.includes.js var es6_string_includes = __webpack_require__("2fdb"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.filter.js var es6_array_filter = __webpack_require__("d25f"); // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js var web_dom_iterable = __webpack_require__("ac6a"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js var es6_array_iterator = __webpack_require__("cadf"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js var es6_string_iterator = __webpack_require__("5df3"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.set.js var es6_set = __webpack_require__("4f7f"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js var es6_number_constructor = __webpack_require__("c5f6"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js var es6_array_find = __webpack_require__("7514"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js var es6_regexp_to_string = __webpack_require__("6b54"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.date.to-string.js var es6_date_to_string = __webpack_require__("87b3"); // CONCATENATED MODULE: ./src/utils/fns.js function isFunction(func) { return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'; } function snapToGrid(grid, pendingX, pendingY) { var scale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; var _ref = typeof scale === 'number' ? [scale, scale] : scale, _ref2 = _slicedToArray(_ref, 2), scaleX = _ref2[0], scaleY = _ref2[1]; var x = Math.round(pendingX / scaleX / grid[0]) * grid[0]; var y = Math.round(pendingY / scaleY / grid[1]) * grid[1]; return [x, y]; } function getSize(el) { var rect = el.getBoundingClientRect(); return [parseInt(rect.width), parseInt(rect.height)]; } function computeWidth(parentWidth, left, right) { return parentWidth - left - right; } function computeHeight(parentHeight, top, bottom) { return parentHeight - top - bottom; } function restrictToBounds(value, min, max) { if (min !== null && value < min) { return min; } if (max !== null && max < value) { return max; } return value; } // CONCATENATED MODULE: ./src/utils/dom.js function matchesSelectorToParentElements(el, selector, baseNode) { var node = el; var matchesSelectorFunc = ['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'].find(function (func) { return isFunction(node[func]); }); if (!isFunction(node[matchesSelectorFunc])) return false; do { if (node[matchesSelectorFunc](selector)) return true; if (node === baseNode) return false; node = node.parentNode; } while (node); return false; } function getComputedSize($el) { var style = window.getComputedStyle($el); return [parseFloat(style.getPropertyValue('width'), 10), parseFloat(style.getPropertyValue('height'), 10)]; } function addEvent(el, event, handler) { if (!el) { return; } if (el.attachEvent) { el.attachEvent('on' + event, handler); } else if (el.addEventListener) { el.addEventListener(event, handler, true); } else { el['on' + event] = handler; } } function removeEvent(el, event, handler) { if (!el) { return; } if (el.detachEvent) { el.detachEvent('on' + event, handler); } else if (el.removeEventListener) { el.removeEventListener(event, handler, true); } else { el['on' + event] = null; } } // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/vue-draggable-resizable.vue?vue&type=script&lang=js& function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } // // // // // // // // // // // // // // // // // // // // // // // // // // // var events = { mouse: { start: 'mousedown', move: 'mousemove', stop: 'mouseup' }, touch: { start: 'touchstart', move: 'touchmove', stop: 'touchend' } }; var userSelectNone = { userSelect: 'none', MozUserSelect: 'none', WebkitUserSelect: 'none', MsUserSelect: 'none' }; var userSelectAuto = { userSelect: 'auto', MozUserSelect: 'auto', WebkitUserSelect: 'auto', MsUserSelect: 'auto' }; var eventsFor = events.mouse; /* harmony default export */ var vue_draggable_resizablevue_type_script_lang_js_ = ({ replace: true, name: 'vue-draggable-resizable', props: { className: { type: String, default: 'vdr' }, classNameDraggable: { type: String, default: 'draggable' }, classNameResizable: { type: String, default: 'resizable' }, classNameDragging: { type: String, default: 'dragging' }, classNameResizing: { type: String, default: 'resizing' }, classNameActive: { type: String, default: 'active' }, classNameHandle: { type: String, default: 'handle' }, disableUserSelect: { type: Boolean, default: true }, enableNativeDrag: { type: Boolean, default: false }, preventDeactivation: { type: Boolean, default: false }, active: { type: Boolean, default: false }, draggable: { type: Boolean, default: true }, resizable: { type: Boolean, default: true }, lockAspectRatio: { type: Boolean, default: false }, w: { type: [Number, String], default: 200, validator: function validator(val) { if (typeof val === 'number') { return val > 0; } return val === 'auto'; } }, h: { type: [Number, String], default: 200, validator: function validator(val) { if (typeof val === 'number') { return val > 0; } return val === 'auto'; } }, minWidth: { type: Number, default: 0, validator: function validator(val) { return val >= 0; } }, minHeight: { type: Number, default: 0, validator: function validator(val) { return val >= 0; } }, maxWidth: { type: Number, default: null, validator: function validator(val) { return val >= 0; } }, maxHeight: { type: Number, default: null, validator: function validator(val) { return val >= 0; } }, x: { type: Number, default: 0 }, y: { type: Number, default: 0 }, z: { type: [String, Number], default: 'auto', validator: function validator(val) { return typeof val === 'string' ? val === 'auto' : val >= 0; } }, handles: { type: Array, default: function _default() { return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']; }, validator: function validator(val) { var s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']); return new Set(val.filter(function (h) { return s.has(h); })).size === val.length; } }, dragHandle: { type: String, default: null }, dragCancel: { type: String, default: null }, axis: { type: String, default: 'both', validator: function validator(val) { return ['x', 'y', 'both'].includes(val); } }, grid: { type: Array, default: function _default() { return [1, 1]; } }, parent: { type: Boolean, default: false }, scale: { type: [Number, Array], default: 1, validator: function validator(val) { if (typeof val === 'number') { return val > 0; } return val.length === 2 && val[0] > 0 && val[1] > 0; } }, onDragStart: { type: Function, default: function _default() { return true; } }, onDrag: { type: Function, default: function _default() { return true; } }, onResizeStart: { type: Function, default: function _default() { return true; } }, onResize: { type: Function, default: function _default() { return true; } } }, data: function data() { return { left: this.x, top: this.y, right: null, bottom: null, width: null, height: null, widthTouched: false, heightTouched: false, aspectFactor: null, parentWidth: null, parentHeight: null, minW: this.minWidth, minH: this.minHeight, maxW: this.maxWidth, maxH: this.maxHeight, handle: null, enabled: this.active, resizing: false, dragging: false, dragEnable: false, resizeEnable: false, zIndex: this.z }; }, created: function created() { // eslint-disable-next-line if (this.maxWidth && this.minWidth > this.maxWidth) console.warn('[Vdr warn]: Invalid prop: minWidth cannot be greater than maxWidth'); // eslint-disable-next-line if (this.maxWidth && this.minHeight > this.maxHeight) console.warn('[Vdr warn]: Invalid prop: minHeight cannot be greater than maxHeight'); this.resetBoundsAndMouseState(); }, mounted: function mounted() { if (!this.enableNativeDrag) { this.$el.ondragstart = function () { return false; }; } var _this$getParentSize = this.getParentSize(), _this$getParentSize2 = _slicedToArray(_this$getParentSize, 2), parentWidth = _this$getParentSize2[0], parentHeight = _this$getParentSize2[1]; this.parentWidth = parentWidth; this.parentHeight = parentHeight; var _getComputedSize = getComputedSize(this.$el), _getComputedSize2 = _slicedToArray(_getComputedSize, 2), width = _getComputedSize2[0], height = _getComputedSize2[1]; this.aspectFactor = (this.w !== 'auto' ? this.w : width) / (this.h !== 'auto' ? this.h : height); this.width = this.w !== 'auto' ? this.w : width; this.height = this.h !== 'auto' ? this.h : height; this.right = this.parentWidth - this.width - this.left; this.bottom = this.parentHeight - this.height - this.top; if (this.active) { this.$emit('activated'); } addEvent(document.documentElement, 'mousedown', this.deselect); addEvent(document.documentElement, 'touchend touchcancel', this.deselect); addEvent(window, 'resize', this.checkParentSize); }, beforeDestroy: function beforeDestroy() { removeEvent(document.documentElement, 'mousedown', this.deselect); removeEvent(document.documentElement, 'touchstart', this.handleUp); removeEvent(document.documentElement, 'mousemove', this.move); removeEvent(document.documentElement, 'touchmove', this.move); removeEvent(document.documentElement, 'mouseup', this.handleUp); removeEvent(document.documentElement, 'touchend touchcancel', this.deselect); removeEvent(window, 'resize', this.checkParentSize); }, methods: { resetBoundsAndMouseState: function resetBoundsAndMouseState() { this.mouseClickPosition = { mouseX: 0, mouseY: 0, x: 0, y: 0, w: 0, h: 0 }; this.bounds = { minLeft: null, maxLeft: null, minRight: null, maxRight: null, minTop: null, maxTop: null, minBottom: null, maxBottom: null }; }, checkParentSize: function checkParentSize() { if (this.parent) { var _this$getParentSize3 = this.getParentSize(), _this$getParentSize4 = _slicedToArray(_this$getParentSize3, 2), newParentWidth = _this$getParentSize4[0], newParentHeight = _this$getParentSize4[1]; this.parentWidth = newParentWidth; this.parentHeight = newParentHeight; this.right = this.parentWidth - this.width - this.left; this.bottom = this.parentHeight - this.height - this.top; } }, getParentSize: function getParentSize() { if (this.parent) { var style = window.getComputedStyle(this.$el.parentNode, null); return [parseInt(style.getPropertyValue('width'), 10), parseInt(style.getPropertyValue('height'), 10)]; } return [null, null]; }, elementTouchDown: function elementTouchDown(e) { eventsFor = events.touch; this.elementDown(e); }, elementMouseDown: function elementMouseDown(e) { eventsFor = events.mouse; this.elementDown(e); }, elementDown: function elementDown(e) { if (e instanceof MouseEvent && e.which !== 1) { return; } var target = e.target || e.srcElement; if (this.$el.contains(target)) { if (this.onDragStart(e) === false) { return; } if (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el) || this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el)) { this.dragging = false; return; } if (!this.enabled) { this.enabled = true; this.$emit('activated'); this.$emit('update:active', true); } if (this.draggable) { this.dragEnable = true; } this.mouseClickPosition.mouseX = e.touches ? e.touches[0].pageX : e.pageX; this.mouseClickPosition.mouseY = e.touches ? e.touches[0].pageY : e.pageY; this.mouseClickPosition.left = this.left; this.mouseClickPosition.right = this.right; this.mouseClickPosition.top = this.top; this.mouseClickPosition.bottom = this.bottom; if (this.parent) { this.bounds = this.calcDragLimits(); } addEvent(document.documentElement, eventsFor.move, this.move); addEvent(document.documentElement, eventsFor.stop, this.handleUp); } }, calcDragLimits: function calcDragLimits() { return { minLeft: this.left % this.grid[0], maxLeft: Math.floor((this.parentWidth - this.width - this.left) / this.grid[0]) * this.grid[0] + this.left, minRight: this.right % this.grid[0], maxRight: Math.floor((this.parentWidth - this.width - this.right) / this.grid[0]) * this.grid[0] + this.right, minTop: this.top % this.grid[1], maxTop: Math.floor((this.parentHeight - this.height - this.top) / this.grid[1]) * this.grid[1] + this.top, minBottom: this.bottom % this.grid[1], maxBottom: Math.floor((this.parentHeight - this.height - this.bottom) / this.grid[1]) * this.grid[1] + this.bottom }; }, deselect: function deselect(e) { var target = e.target || e.srcElement; var regex = new RegExp(this.className + '-([trmbl]{2})', ''); if (!this.$el.contains(target) && !regex.test(target.className)) { if (this.enabled && !this.preventDeactivation) { this.enabled = false; this.$emit('deactivated'); this.$emit('update:active', false); } removeEvent(document.documentElement, eventsFor.move, this.handleResize); } this.resetBoundsAndMouseState(); }, handleTouchDown: function handleTouchDown(handle, e) { eventsFor = events.touch; this.handleDown(handle, e); }, handleDown: function handleDown(handle, e) { if (e instanceof MouseEvent && e.which !== 1) { return; } if (this.onResizeStart(handle, e) === false) { return; } if (e.stopPropagation) e.stopPropagation(); // Here we avoid a dangerous recursion by faking // corner handles as middle handles if (this.lockAspectRatio && !handle.includes('m')) { this.handle = 'm' + handle.substring(1); } else { this.handle = handle; } this.resizeEnable = true; this.mouseClickPosition.mouseX = e.touches ? e.touches[0].pageX : e.pageX; this.mouseClickPosition.mouseY = e.touches ? e.touches[0].pageY : e.pageY; this.mouseClickPosition.left = this.left; this.mouseClickPosition.right = this.right; this.mouseClickPosition.top = this.top; this.mouseClickPosition.bottom = this.bottom; this.bounds = this.calcResizeLimits(); addEvent(document.documentElement, eventsFor.move, this.handleResize); addEvent(document.documentElement, eventsFor.stop, this.handleUp); }, calcResizeLimits: function calcResizeLimits() { var minW = this.minW; var minH = this.minH; var maxW = this.maxW; var maxH = this.maxH; var aspectFactor = this.aspectFactor; var _this$grid = _slicedToArray(this.grid, 2), gridX = _this$grid[0], gridY = _this$grid[1]; var width = this.width; var height = this.height; var left = this.left; var top = this.top; var right = this.right; var bottom = this.bottom; if (this.lockAspectRatio) { if (minW / minH > aspectFactor) { minH = minW / aspectFactor; } else { minW = aspectFactor * minH; } if (maxW && maxH) { maxW = Math.min(maxW, aspectFactor * maxH); maxH = Math.min(maxH, maxW / aspectFactor); } else if (maxW) { maxH = maxW / aspectFactor; } else if (maxH) { maxW = aspectFactor * maxH; } } maxW = maxW - maxW % gridX; maxH = maxH - maxH % gridY; var limits = { minLeft: null, maxLeft: null, minTop: null, maxTop: null, minRight: null, maxRight: null, minBottom: null, maxBottom: null }; if (this.parent) { limits.minLeft = left % gridX; limits.maxLeft = left + Math.floor((width - minW) / gridX) * gridX; limits.minTop = top % gridY; limits.maxTop = top + Math.floor((height - minH) / gridY) * gridY; limits.minRight = right % gridX; limits.maxRight = right + Math.floor((width - minW) / gridX) * gridX; limits.minBottom = bottom % gridY; limits.maxBottom = bottom + Math.floor((height - minH) / gridY) * gridY; if (maxW) { limits.minLeft = Math.max(limits.minLeft, this.parentWidth - right - maxW); limits.minRight = Math.max(limits.minRight, this.parentWidth - left - maxW); } if (maxH) { limits.minTop = Math.max(limits.minTop, this.parentHeight - bottom - maxH); limits.minBottom = Math.max(limits.minBottom, this.parentHeight - top - maxH); } if (this.lockAspectRatio) { limits.minLeft = Math.max(limits.minLeft, left - top * aspectFactor); limits.minTop = Math.max(limits.minTop, top - left / aspectFactor); limits.minRight = Math.max(limits.minRight, right - bottom * aspectFactor); limits.minBottom = Math.max(limits.minBottom, bottom - right / aspectFactor); } } else { limits.minLeft = null; limits.maxLeft = left + Math.floor((width - minW) / gridX) * gridX; limits.minTop = null; limits.maxTop = top + Math.floor((height - minH) / gridY) * gridY; limits.minRight = null; limits.maxRight = right + Math.floor((width - minW) / gridX) * gridX; limits.minBottom = null; limits.maxBottom = bottom + Math.floor((height - minH) / gridY) * gridY; if (maxW) { limits.minLeft = -(right + maxW); limits.minRight = -(left + maxW); } if (maxH) { limits.minTop = -(bottom + maxH); limits.minBottom = -(top + maxH); } if (this.lockAspectRatio && maxW && maxH) { limits.minLeft = Math.min(limits.minLeft, -(right + maxW)); limits.minTop = Math.min(limits.minTop, -(maxH + bottom)); limits.minRight = Math.min(limits.minRight, -left - maxW); limits.minBottom = Math.min(limits.minBottom, -top - maxH); } } return limits; }, move: function move(e) { if (this.resizing) { this.handleResize(e); } else if (this.dragEnable) { this.handleDrag(e); } }, handleDrag: function handleDrag(e) { var axis = this.axis; var grid = this.grid; var bounds = this.bounds; var mouseClickPosition = this.mouseClickPosition; var tmpDeltaX = axis && axis !== 'y' ? mouseClickPosition.mouseX - (e.touches ? e.touches[0].pageX : e.pageX) : 0; var tmpDeltaY = axis && axis !== 'x' ? mouseClickPosition.mouseY - (e.touches ? e.touches[0].pageY : e.pageY) : 0; var _snapToGrid = snapToGrid(grid, tmpDeltaX, tmpDeltaY, this.scale), _snapToGrid2 = _slicedToArray(_snapToGrid, 2), deltaX = _snapToGrid2[0], deltaY = _snapToGrid2[1]; var left = restrictToBounds(mouseClickPosition.left - deltaX, bounds.minLeft, bounds.maxLeft); var top = restrictToBounds(mouseClickPosition.top - deltaY, bounds.minTop, bounds.maxTop); if (this.onDrag(left, top) === false) { return; } var right = restrictToBounds(mouseClickPosition.right + deltaX, bounds.minRight, bounds.maxRight); var bottom = restrictToBounds(mouseClickPosition.bottom + deltaY, bounds.minBottom, bounds.maxBottom); this.left = left; this.top = top; this.right = right; this.bottom = bottom; this.$emit('dragging', this.left, this.top); this.dragging = true; }, moveHorizontally: function moveHorizontally(val) { // should calculate with scale 1. var _snapToGrid3 = snapToGrid(this.grid, val, this.top, 1), _snapToGrid4 = _slicedToArray(_snapToGrid3, 2), deltaX = _snapToGrid4[0], _ = _snapToGrid4[1]; var left = restrictToBounds(deltaX, this.bounds.minLeft, this.bounds.maxLeft); this.left = left; this.right = this.parentWidth - this.width - left; }, moveVertically: function moveVertically(val) { // should calculate with scale 1. var _snapToGrid5 = snapToGrid(this.grid, this.left, val, 1), _snapToGrid6 = _slicedToArray(_snapToGrid5, 2), _ = _snapToGrid6[0], deltaY = _snapToGrid6[1]; var top = restrictToBounds(deltaY, this.bounds.minTop, this.bounds.maxTop); this.top = top; this.bottom = this.parentHeight - this.height - top; }, handleResize: function handleResize(e) { var left = this.left; var top = this.top; var right = this.right; var bottom = this.bottom; var mouseClickPosition = this.mouseClickPosition; var lockAspectRatio = this.lockAspectRatio; var aspectFactor = this.aspectFactor; var tmpDeltaX = mouseClickPosition.mouseX - (e.touches ? e.touches[0].pageX : e.pageX); var tmpDeltaY = mouseClickPosition.mouseY - (e.touches ? e.touches[0].pageY : e.pageY); if (!this.widthTouched && tmpDeltaX) { this.widthTouched = true; } if (!this.heightTouched && tmpDeltaY) { this.heightTouched = true; } var _snapToGrid7 = snapToGrid(this.grid, tmpDeltaX, tmpDeltaY, this.scale), _snapToGrid8 = _slicedToArray(_snapToGrid7, 2), deltaX = _snapToGrid8[0], deltaY = _snapToGrid8[1]; if (this.handle.includes('b')) { bottom = restrictToBounds(mouseClickPosition.bottom + deltaY, this.bounds.minBottom, this.bounds.maxBottom); if (this.lockAspectRatio && this.resizingOnY) { right = this.right - (this.bottom - bottom) * aspectFactor; } } else if (this.handle.includes('t')) { top = restrictToBounds(mouseClickPosition.top - deltaY, this.bounds.minTop, this.bounds.maxTop); if (this.lockAspectRatio && this.resizingOnY) { left = this.left - (this.top - top) * aspectFactor; } } if (this.handle.includes('r')) { right = restrictToBounds(mouseClickPosition.right + deltaX, this.bounds.minRight, this.bounds.maxRight); if (this.lockAspectRatio && this.resizingOnX) { bottom = this.bottom - (this.right - right) / aspectFactor; } } else if (this.handle.includes('l')) { left = restrictToBounds(mouseClickPosition.left - deltaX, this.bounds.minLeft, this.bounds.maxLeft); if (this.lockAspectRatio && this.resizingOnX) { top = this.top - (this.left - left) / aspectFactor; } } var width = computeWidth(this.parentWidth, left, right); var height = computeHeight(this.parentHeight, top, bottom); if (this.onResize(this.handle, left, top, width, height) === false) { return; } this.left = left; this.top = top; this.right = right; this.bottom = bottom; this.width = width; this.height = height; this.$emit('resizing', this.left, this.top, this.width, this.height); this.resizing = true; }, changeWidth: function changeWidth(val) { // should calculate with scale 1. var _snapToGrid9 = snapToGrid(this.grid, val, 0, 1), _snapToGrid10 = _slicedToArray(_snapToGrid9, 2), newWidth = _snapToGrid10[0], _ = _snapToGrid10[1]; var right = restrictToBounds(this.parentWidth - newWidth - this.left, this.bounds.minRight, this.bounds.maxRight); var bottom = this.bottom; if (this.lockAspectRatio) { bottom = this.bottom - (this.right - right) / this.aspectFactor; } var width = computeWidth(this.parentWidth, this.left, right); var height = computeHeight(this.parentHeight, this.top, bottom); this.right = right; this.bottom = bottom; this.width = width; this.height = height; }, changeHeight: function changeHeight(val) { // should calculate with scale 1. var _snapToGrid11 = snapToGrid(this.grid, 0, val, 1), _snapToGrid12 = _slicedToArray(_snapToGrid11, 2), _ = _snapToGrid12[0], newHeight = _snapToGrid12[1]; var bottom = restrictToBounds(this.parentHeight - newHeight - this.top, this.bounds.minBottom, this.bounds.maxBottom); var right = this.right; if (this.lockAspectRatio) { right = this.right - (this.bottom - bottom) * this.aspectFactor; } var width = computeWidth(this.parentWidth, this.left, right); var height = computeHeight(this.parentHeight, this.top, bottom); this.right = right; this.bottom = bottom; this.width = width; this.height = height; }, handleUp: function handleUp(e) { this.handle = null; this.resetBoundsAndMouseState(); this.dragEnable = false; this.resizeEnable = false; if (this.resizing) { this.resizing = false; this.$emit('resizestop', this.left, this.top, this.width, this.height); } if (this.dragging) { this.dragging = false; this.$emit('dragstop', this.left, this.top); } removeEvent(document.documentElement, eventsFor.move, this.handleResize); } }, computed: { style: function style() { return _objectSpread({ transform: "translate(".concat(this.left, "px, ").concat(this.top, "px)"), width: this.computedWidth, height: this.computedHeight, zIndex: this.zIndex }, this.dragging && this.disableUserSelect ? userSelectNone : userSelectAuto); }, actualHandles: function actualHandles() { if (!this.resizable) return []; return this.handles; }, computedWidth: function computedWidth() { if (this.w === 'auto') { if (!this.widthTouched) { return 'auto'; } } return this.width + 'px'; }, computedHeight: function computedHeight() { if (this.h === 'auto') { if (!this.heightTouched) { return 'auto'; } } return this.height + 'px'; }, resizingOnX: function resizingOnX() { return Boolean(this.handle) && (this.handle.includes('l') || this.handle.includes('r')); }, resizingOnY: function resizingOnY() { return Boolean(this.handle) && (this.handle.includes('t') || this.handle.includes('b')); }, isCornerHandle: function isCornerHandle() { return Boolean(this.handle) && ['tl', 'tr', 'br', 'bl'].includes(this.handle); } }, watch: { active: function active(val) { this.enabled = val; if (val) { this.$emit('activated'); } else { this.$emit('deactivated'); } }, z: function z(val) { if (val >= 0 || val === 'auto') { this.zIndex = val; } }, x: function x(val) { if (this.resizing || this.dragging) { return; } if (this.parent) { this.bounds = this.calcDragLimits(); } this.moveHorizontally(val); }, y: function y(val) { if (this.resizing || this.dragging) { return; } if (this.parent) { this.bounds = this.calcDragLimits(); } this.moveVertically(val); }, lockAspectRatio: function lockAspectRatio(val) { if (val) { this.aspectFactor = this.width / this.height; } else { this.aspectFactor = undefined; } }, minWidth: function minWidth(val) { if (val > 0 && val <= this.width) { this.minW = val; } }, minHeight: function minHeight(val) { if (val > 0 && val <= this.height) { this.minH = val; } }, maxWidth: function maxWidth(val) { this.maxW = val; }, maxHeight: function maxHeight(val) { this.maxH = val; }, w: function w(val) { if (this.resizing || this.dragging) { return; } if (this.parent) { this.bounds = this.calcResizeLimits(); } this.changeWidth(val); }, h: function h(val) { if (this.resizing || this.dragging) { return; } if (this.parent) { this.bounds = this.calcResizeLimits(); } this.changeHeight(val); } } }); // CONCATENATED MODULE: ./src/components/vue-draggable-resizable.vue?vue&type=script&lang=js& /* harmony default export */ var components_vue_draggable_resizablevue_type_script_lang_js_ = (vue_draggable_resizablevue_type_script_lang_js_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } // CONCATENATED MODULE: ./src/components/vue-draggable-resizable.vue /* normalize component */ var component = normalizeComponent( components_vue_draggable_resizablevue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* harmony default export */ var vue_draggable_resizable = __webpack_exports__["a"] = (component.exports); /***/ }), /***/ "3846": /***/ (function(module, exports, __webpack_require__) { // 21.2.5.3 get RegExp.prototype.flags() if (__webpack_require__("9e1e") && /./g.flags != 'g') __webpack_require__("86cc").f(RegExp.prototype, 'flags', { configurable: true, get: __webpack_require__("0bfb") }); /***/ }), /***/ "38fd": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__("69a8"); var toObject = __webpack_require__("4bf8"); var IE_PROTO = __webpack_require__("613b")('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; /***/ }), /***/ "3adc": /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__("0f89"); var IE8_DOM_DEFINE = __webpack_require__("a47f"); var toPrimitive = __webpack_require__("2ea1"); var dP = Object.defineProperty; exports.f = __webpack_require__("7d95") ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /***/ "3b2b": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("7726"); var inheritIfRequired = __webpack_require__("5dbc"); var dP = __webpack_require__("86cc").f; var gOPN = __webpack_require__("9093").f; var isRegExp = __webpack_require__("aae3"); var $flags = __webpack_require__("0bfb"); var $RegExp = global.RegExp; var Base = $RegExp; var proto = $RegExp.prototype; var re1 = /a/g; var re2 = /a/g; // "new" creates a new object, old webkit buggy here var CORRECT_NEW = new $RegExp(re1) !== re1; if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(function () { re2[__webpack_require__("2b4c")('match')] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; }))) { $RegExp = function RegExp(p, f) { var tiRE = this instanceof $RegExp; var piRE = isRegExp(p); var fiU = f === undefined; return !tiRE && piRE && p.constructor === $RegExp && fiU ? p : inheritIfRequired(CORRECT_NEW ? new Base(piRE && !fiU ? p.source : p, f) : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) , tiRE ? this : proto, $RegExp); }; var proxy = function (key) { key in $RegExp || dP($RegExp, key, { configurable: true, get: function () { return Base[key]; }, set: function (it) { Base[key] = it; } }); }; for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); proto.constructor = $RegExp; $RegExp.prototype = proto; __webpack_require__("2aba")(global, 'RegExp', $RegExp); } __webpack_require__("7a56")('RegExp'); /***/ }), /***/ "41a0": /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__("2aeb"); var descriptor = __webpack_require__("4630"); var setToStringTag = __webpack_require__("7f20"); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__("32e9")(IteratorPrototype, __webpack_require__("2b4c")('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /***/ "43c8": /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /***/ "456d": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 Object.keys(O) var toObject = __webpack_require__("4bf8"); var $keys = __webpack_require__("0d58"); __webpack_require__("5eda")('keys', function () { return function keys(it) { return $keys(toObject(it)); }; }); /***/ }), /***/ "4588": /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /***/ "4630": /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /***/ "4a59": /***/ (function(module, exports, __webpack_require__) { var ctx = __webpack_require__("9b43"); var call = __webpack_require__("1fa8"); var isArrayIter = __webpack_require__("33a4"); var anObject = __webpack_require__("cb7c"); var toLength = __webpack_require__("9def"); var getIterFn = __webpack_require__("27ee"); var BREAK = {}; var RETURN = {}; var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); var f = ctx(fn, that, entries ? 2 : 1); var index = 0; var length, step, iterator, result; if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); // fast case for arrays with default iterator if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); if (result === BREAK || result === RETURN) return result; } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { result = call(iterator, f, step.value, entries); if (result === BREAK || result === RETURN) return result; } }; exports.BREAK = BREAK; exports.RETURN = RETURN; /***/ }), /***/ "4bf8": /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__("be13"); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /***/ "4f7f": /***/ (function(module, exports, __webpack_require__) { "use strict"; var strong = __webpack_require__("c26b"); var validate = __webpack_require__("b39a"); var SET = 'Set'; // 23.2 Set Objects module.exports = __webpack_require__("e0b8")(SET, function (get) { return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.2.3.1 Set.prototype.add(value) add: function add(value) { return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); } }, strong); /***/ }), /***/ "5147": /***/ (function(module, exports, __webpack_require__) { var MATCH = __webpack_require__("2b4c")('match'); module.exports = function (KEY) { var re = /./; try { '/./'[KEY](re); } catch (e) { try { re[MATCH] = false; return !'/./'[KEY](re); } catch (f) { /* empty */ } } return true; }; /***/ }), /***/ "52a7": /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /***/ "5537": /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__("8378"); var global = __webpack_require__("7726"); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__("2d00") ? 'pure' : 'global', copyright: '© 2018 Denis Pushkarev (zloirock.ru)' }); /***/ }), /***/ "58b2": /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__("5ca1"); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) $export($export.S + $export.F * !__webpack_require__("9e1e"), 'Object', { defineProperties: __webpack_require__("1495") }); /***/ }), /***/ "5ca1": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("7726"); var core = __webpack_require__("8378"); var hide = __webpack_require__("32e9"); var redefine = __webpack_require__("2aba"); var ctx = __webpack_require__("9b43"); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // 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.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /***/ "5cc5": /***/ (function(module, exports, __webpack_require__) { var ITERATOR = __webpack_require__("2b4c")('iterator'); var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); riter['return'] = function () { SAFE_CLOSING = true; }; // eslint-disable-next-line no-throw-literal Array.from(riter, function () { throw 2; }); } catch (e) { /* empty */ } module.exports = function (exec, skipClosing) { if (!skipClosing && !SAFE_CLOSING) return false; var safe = false; try { var arr = [7]; var iter = arr[ITERATOR](); iter.next = function () { return { done: safe = true }; }; arr[ITERATOR] = function () { return iter; }; exec(arr); } catch (e) { /* empty */ } return safe; }; /***/ }), /***/ "5ce7": /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__("7108"); var descriptor = __webpack_require__("f845"); var setToStringTag = __webpack_require__("c0d8"); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__("8ce0")(IteratorPrototype, __webpack_require__("1b55")('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /***/ "5d73": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("0a91"); /***/ }), /***/ "5d8f": /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__("7772")('keys'); var uid = __webpack_require__("7b00"); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /***/ "5dbc": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("d3f4"); var setPrototypeOf = __webpack_require__("8b97").set; module.exports = function (that, target, C) { var S = target.constructor; var P; if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { setPrototypeOf(that, P); } return that; }; /***/ }), /***/ "5df3": /***/ (function(module, exports, __webpack_require__) { "use strict"; var $at = __webpack_require__("02f4")(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__("01f9")(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t; var index = this._i; var point; if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; return { value: point, done: false }; }); /***/ }), /***/ "5eda": /***/ (function(module, exports, __webpack_require__) { // most Object methods by ES6 should accept primitives var $export = __webpack_require__("5ca1"); var core = __webpack_require__("8378"); var fails = __webpack_require__("79e5"); module.exports = function (KEY, exec) { var fn = (core.Object || {})[KEY] || Object[KEY]; var exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; /***/ }), /***/ "613b": /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__("5537")('keys'); var uid = __webpack_require__("ca5a"); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /***/ "626a": /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__("2d95"); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /***/ "6762": /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/Array.prototype.includes var $export = __webpack_require__("5ca1"); var $includes = __webpack_require__("c366")(true); $export($export.P, 'Array', { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__("9c6c")('includes'); /***/ }), /***/ "67ab": /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__("ca5a")('meta'); var isObject = __webpack_require__("d3f4"); var has = __webpack_require__("69a8"); var setDesc = __webpack_require__("86cc").f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; var FREEZE = !__webpack_require__("79e5")(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 }; /***/ }), /***/ "6821": /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__("626a"); var defined = __webpack_require__("be13"); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /***/ "69a8": /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /***/ "6a99": /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__("d3f4"); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /***/ "6a9b": /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__("8bab"); var defined = __webpack_require__("e5fa"); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /***/ "6b54": /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__("3846"); var anObject = __webpack_require__("cb7c"); var $flags = __webpack_require__("0bfb"); var DESCRIPTORS = __webpack_require__("9e1e"); var TO_STRING = 'toString'; var $toString = /./[TO_STRING]; var define = function (fn) { __webpack_require__("2aba")(RegExp.prototype, TO_STRING, fn, true); }; // 21.2.5.14 RegExp.prototype.toString() if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { define(function toString() { var R = anObject(this); return '/'.concat(R.source, '/', 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); }); // FF44- RegExp#toString has a wrong name } else if ($toString.name != TO_STRING) { define(function toString() { return $toString.call(this); }); } /***/ }), /***/ "6e1f": /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /***/ "6f42": /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "6f8a": /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /***/ "7108": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__("0f89"); var dPs = __webpack_require__("f568"); var enumBugKeys = __webpack_require__("0029"); var IE_PROTO = __webpack_require__("5d8f")('IE_PROTO'); var Empty = function () { /* empty */ }; var 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 = __webpack_require__("12fd")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__("103a").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(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /***/ "7514": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__("5ca1"); var $find = __webpack_require__("0a49")(5); var KEY = 'find'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__("9c6c")(KEY); /***/ }), /***/ "7633": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__("2695"); var enumBugKeys = __webpack_require__("0029"); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /***/ "7726": /***/ (function(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 // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /***/ "7772": /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__("a7d3"); var global = __webpack_require__("da3c"); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__("b457") ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }), /***/ "77f1": /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__("4588"); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /***/ "79e5": /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /***/ "7a56": /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__("7726"); var dP = __webpack_require__("86cc"); var DESCRIPTORS = __webpack_require__("9e1e"); var SPECIES = __webpack_require__("2b4c")('species'); module.exports = function (KEY) { var C = global[KEY]; if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { configurable: true, get: function () { return this; } }); }; /***/ }), /***/ "7b00": /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /***/ "7d8a": /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__("6e1f"); var TAG = __webpack_require__("1b55")('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /***/ "7d95": /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__("d782")(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /***/ "7f20": /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__("86cc").f; var has = __webpack_require__("69a8"); var TAG = __webpack_require__("2b4c")('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /***/ "8378": /***/ (function(module, exports) { var core = module.exports = { version: '2.6.1' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /***/ "84f2": /***/ (function(module, exports) { module.exports = {}; /***/ }), /***/ "85f2": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("ec5b"); /***/ }), /***/ "86cc": /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__("cb7c"); var IE8_DOM_DEFINE = __webpack_require__("c69a"); var toPrimitive = __webpack_require__("6a99"); var dP = Object.defineProperty; exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /***/ "87b3": /***/ (function(module, exports, __webpack_require__) { var DateProto = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING = 'toString'; var $toString = DateProto[TO_STRING]; var getTime = DateProto.getTime; if (new Date(NaN) + '' != INVALID_DATE) { __webpack_require__("2aba")(DateProto, TO_STRING, function toString() { var value = getTime.call(this); // eslint-disable-next-line no-self-compare return value === value ? $toString.call(this) : INVALID_DATE; }); } /***/ }), /***/ "8875": /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller // MIT license // source: https://github.com/amiller-gh/currentScript-polyfill // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505 (function (root, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} }(typeof self !== 'undefined' ? self : this, function () { function getCurrentScript () { if (document.currentScript) { return document.currentScript } // IE 8-10 support script readyState // IE 11+ & Firefox support stack trace try { throw new Error(); } catch (err) { // Find the second match for the "at" string to get file src url from stack. var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig, ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig, stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack), scriptLocation = (stackDetails && stackDetails[1]) || false, line = (stackDetails && stackDetails[2]) || false, currentLocation = document.location.href.replace(document.location.hash, ''), pageSource, inlineScriptSourceRegExp, inlineScriptSource, scripts = document.getElementsByTagName('script'); // Live NodeList collection if (scriptLocation === currentLocation) { pageSource = document.documentElement.outerHTML; inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*