://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var frCa = moment.defineLocale('fr-ca', {\n months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),\n monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),\n monthsParseExact : true,\n weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin : 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'YYYY-MM-DD',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Aujourd’hui à] LT',\n nextDay : '[Demain à] LT',\n nextWeek : 'dddd [à] LT',\n lastDay : '[Hier à] LT',\n lastWeek : 'dddd [dernier à] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'dans %s',\n past : 'il y a %s',\n s : 'quelques secondes',\n ss : '%d secondes',\n m : 'une minute',\n mm : '%d minutes',\n h : 'une heure',\n hh : '%d heures',\n d : 'un jour',\n dd : '%d jours',\n M : 'un mois',\n MM : '%d mois',\n y : 'un an',\n yy : '%d ans'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal : function (number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n }\n });\n\n return frCa;\n\n})));\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n Function('return this')();\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nlBe = moment.defineLocale('nl-be', {\n months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort : function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse : monthsParse,\n longMonthsParse : monthsParse,\n shortMonthsParse : monthsParse,\n\n weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'over %s',\n past : '%s geleden',\n s : 'een paar seconden',\n ss : '%d seconden',\n m : 'één minuut',\n mm : '%d minuten',\n h : 'één uur',\n hh : '%d uur',\n d : 'één dag',\n dd : '%d dagen',\n M : 'één maand',\n MM : '%d maanden',\n y : 'één jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return nlBe;\n\n})));\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n var hi = moment.defineLocale('hi', {\n months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),\n monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),\n monthsParseExact: true,\n weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat : {\n LT : 'A h:mm बजे',\n LTS : 'A h:mm:ss बजे',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm बजे',\n LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[कल] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[कल] LT',\n lastWeek : '[पिछले] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s में',\n past : '%s पहले',\n s : 'कुछ ही क्षण',\n ss : '%d सेकंड',\n m : 'एक मिनट',\n mm : '%d मिनट',\n h : 'एक घंटा',\n hh : '%d घंटे',\n d : 'एक दिन',\n dd : '%d दिन',\n M : 'एक महीने',\n MM : '%d महीने',\n y : 'एक वर्ष',\n yy : '%d वर्ष'\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सुबह|दोपहर|शाम/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सुबह') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सुबह';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return hi;\n\n})));\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Array.includes\nif (!Array.prototype.includes) {\n Array.prototype.includes = function (searchElement /*, fromIndex*/) {\n 'use strict';\n var O = Object(this);\n var len = parseInt(O.length, 10) || 0;\n if (len === 0) {\n return false;\n }\n var n = parseInt(arguments[1], 10) || 0;\n var k;\n if (n >= 0) {\n k = n;\n }\n else {\n k = len + n;\n if (k < 0) {\n k = 0;\n }\n }\n var currentElement;\n while (k < len) {\n currentElement = O[k];\n if (searchElement === currentElement ||\n (searchElement !== searchElement && currentElement !== currentElement)) { // NaN !== NaN\n return true;\n }\n k++;\n }\n return false;\n };\n}\n// Object.keys\nif (!Object.keys) {\n // tslint:disable-next-line: only-arrow-functions\n Object.keys = (function () {\n 'use strict';\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var hasDontEnumBug = !({ toString: null }).propertyIsEnumerable('toString');\n var dontEnums = [\n 'toString',\n 'toLocaleString',\n 'valueOf',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'constructor'\n ];\n var dontEnumsLength = dontEnums.length;\n // tslint:disable-next-line: only-arrow-functions\n return function (obj) {\n if (typeof obj !== 'function' && (typeof obj !== 'object' || obj === null)) {\n throw new TypeError('Object.keys called on non-object');\n }\n var result = [];\n var prop;\n var i;\n for (prop in obj) {\n if (hasOwnProperty.call(obj, prop)) {\n result.push(prop);\n }\n }\n if (hasDontEnumBug) {\n for (i = 0; i < dontEnumsLength; i++) {\n if (hasOwnProperty.call(obj, dontEnums[i])) {\n result.push(dontEnums[i]);\n }\n }\n }\n return result;\n };\n }());\n}\n// Object.assign\nif (typeof Object.assign !== 'function') {\n // tslint:disable-next-line: only-arrow-functions\n Object.assign = function (target, varArgs) {\n 'use strict';\n if (target == null) { // TypeError if undefined or null\n throw new TypeError('Cannot convert undefined or null to object');\n }\n var to = Object(target);\n for (var index = 1; index < arguments.length; index++) {\n var nextSource = arguments[index];\n if (nextSource != null) { // Skip over if undefined or null\n for (var nextKey in nextSource) {\n // Avoid bugs when hasOwnProperty is shadowed\n if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n return to;\n };\n}\n// test polyfill\n// @ts-ignore\nif (!Array.test) {\n // @ts-ignore\n // tslint:disable-next-line: only-arrow-functions\n Array.test = function () {\n return 'test';\n };\n}\nexports.includes = Array.prototype.includes;\nexports.keys = Object.keys;\n// @ts-ignore\nexports.test = Array.test;\n//# sourceMappingURL=polyfills.js.map","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","// `Symbol.prototype.description` getter\n// https://tc39.github.io/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar has = require('../internals/has');\nvar isObject = require('../internals/is-object');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\n\nif (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);\n var result = this instanceof SymbolWrapper\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;\n symbolPrototype.constructor = SymbolWrapper;\n\n var symbolToString = symbolPrototype.toString;\n var native = String(NativeSymbol('test')) == 'Symbol(test)';\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n defineProperty(symbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = isObject(this) ? this.valueOf() : this;\n var string = symbolToString.call(symbol);\n if (has(EmptyStringDescriptionStore, symbol)) return '';\n var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","// extracted by mini-css-extract-plugin","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '૧',\n '2': '૨',\n '3': '૩',\n '4': '૪',\n '5': '૫',\n '6': '૬',\n '7': '૭',\n '8': '૮',\n '9': '૯',\n '0': '૦'\n },\n numberMap = {\n '૧': '1',\n '૨': '2',\n '૩': '3',\n '૪': '4',\n '૫': '5',\n '૬': '6',\n '૭': '7',\n '૮': '8',\n '૯': '9',\n '૦': '0'\n };\n\n var gu = moment.defineLocale('gu', {\n months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'),\n monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'),\n monthsParseExact: true,\n weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'),\n weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),\n weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm વાગ્યે',\n LTS: 'A h:mm:ss વાગ્યે',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm વાગ્યે',\n LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે'\n },\n calendar: {\n sameDay: '[આજ] LT',\n nextDay: '[કાલે] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ગઇકાલે] LT',\n lastWeek: '[પાછલા] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s મા',\n past: '%s પેહલા',\n s: 'અમુક પળો',\n ss: '%d સેકંડ',\n m: 'એક મિનિટ',\n mm: '%d મિનિટ',\n h: 'એક કલાક',\n hh: '%d કલાક',\n d: 'એક દિવસ',\n dd: '%d દિવસ',\n M: 'એક મહિનો',\n MM: '%d મહિનો',\n y: 'એક વર્ષ',\n yy: '%d વર્ષ'\n },\n preparse: function (string) {\n return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'રાત') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'સવાર') {\n return hour;\n } else if (meridiem === 'બપોર') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'સાંજ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'રાત';\n } else if (hour < 10) {\n return 'સવાર';\n } else if (hour < 17) {\n return 'બપોર';\n } else if (hour < 20) {\n return 'સાંજ';\n } else {\n return 'રાત';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return gu;\n\n})));\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ValidationResult = /** @class */ (function () {\n function ValidationResult() {\n this.valid = true;\n this.errors = [];\n }\n return ValidationResult;\n}());\nexports.default = ValidationResult;\n//# sourceMappingURL=ValidationResult.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var enIe = moment.defineLocale('en-ie', {\n months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Today at] LT',\n nextDay : '[Tomorrow at] LT',\n nextWeek : 'dddd [at] LT',\n lastDay : '[Yesterday at] LT',\n lastWeek : '[Last] dddd [at] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'in %s',\n past : '%s ago',\n s : 'a few seconds',\n ss : '%d seconds',\n m : 'a minute',\n mm : '%d minutes',\n h : 'an hour',\n hh : '%d hours',\n d : 'a day',\n dd : '%d days',\n M : 'a month',\n MM : '%d months',\n y : 'a year',\n yy : '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal : function (number) {\n var b = number % 10,\n output = (~~(number % 100 / 10) === 1) ? 'th' :\n (b === 1) ? 'st' :\n (b === 2) ? 'nd' :\n (b === 3) ? 'rd' : 'th';\n return number + output;\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return enIe;\n\n})));\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.github.io/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar WrappedPropertyBase_1 = require(\"./WrappedPropertyBase\");\nvar WrappedPropertyArrayItem_1 = require(\"./WrappedPropertyArrayItem\");\nvar WrappedPropertyCtor_1 = require(\"./WrappedPropertyCtor\");\nvar functions_1 = require(\"./functions\");\nvar WrappedPropertyArrayItemDirect_1 = require(\"./WrappedPropertyArrayItemDirect\");\nvar fixData_1 = require(\"../JSchema/fixData\");\nvar calcFunction_1 = require(\"../JSchema/calcFunction\");\nvar aggregateFunction_1 = require(\"../JSchema/aggregateFunction\");\nvar setData_1 = require(\"../JSchema/setData\");\nvar defaultValue_1 = require(\"../JSchema/defaultValue\");\nvar WrappedPropertyArray = /** @class */ (function (_super) {\n __extends(WrappedPropertyArray, _super);\n function WrappedPropertyArray(dest, parent, propName, schema, options) {\n var _this = _super.call(this, dest, parent, propName, schema, options) || this;\n var internal = _this._internal;\n _this._internal.mparent = _this.$model;\n _this._internal.schitems = schema.items;\n // internal.subitemcache = [];\n _this._internal.cachedKey = '';\n _this._internal.cachedItems = [];\n _this._internal.mparent = _this.$model;\n _this.$schema.itemType = schema.items.type;\n // //export const wrapSchemaProps = ['maxLength', 'minLength', 'maxItems', 'minItems', 'minimum', 'maximum', 'exclusiveMaximum', 'exclusiveMinimum', 'precision'];\n functions_1.wrapSchemaProps(_this.$schema, internal, 'number', ['maxItems', 'minItems']);\n if (_this.$schema.warnings) {\n functions_1.wrapWarningProps(_this.$schema, internal, 'number', ['maxItems', 'minItems']);\n }\n // tworzenie tablicy\n var mlength = internal.mparent.length;\n _this._internal.ntable = new Array(mlength);\n // console.time('addRows wrapall:' + internal.options.wrapAll + ' (' + mlength + ')');\n // if (internal.options.wrapAll) {\n if (false) {\n for (var i = 0; i < mlength; i++) {\n // const ssubitem = new WrapperPropertyArrayItem(self, internal.mparent, rowIndex, schitems, internal.options);\n // internal.ntable.push(new WrapperPropertyArrayItem(this, internal.mparent, i, internal.schitems, internal.options));\n internal.ntable[i] = new WrappedPropertyArrayItemDirect_1.WrapperPropertyArrayItemDirect(_this, internal.mparent, i, internal.schitems, internal.options);\n // addRow(this, internal, internal.schitems, i);\n }\n }\n else {\n for (var i = 0; i < mlength; i++) {\n // const ssubitem = new WrapperPropertyArrayItem(self, internal.mparent, rowIndex, schitems, internal.options);\n // internal.ntable.push(new WrapperPropertyArrayItem(this, internal.mparent, i, internal.schitems, internal.options));\n internal.ntable[i] = new WrappedPropertyArrayItem_1.WrapperPropertyArrayItem(_this, internal.mparent, i, internal.schitems, internal.options);\n // return ssubitem as IWrapperPropertyArrayItem;\n // addRow(this, internal, internal.schitems, i);\n }\n }\n // length\n if (schema.length !== undefined) {\n if (typeof schema.length !== 'number') {\n functions_1.wrapSchemaProp(_this.$schema, 'length', internal, function (newValue) { return _this.$setLength(newValue); });\n }\n else {\n _this.$schema.length = schema.length;\n _this.$setLength(schema.length);\n }\n }\n // console.timeEnd('addRows wrapall:' + internal.options.wrapAll + ' (' + mlength + ')');\n // computed\n var self = _this;\n internal.useComputedModel = true;\n internal.computed.items = function () {\n var smodel = parent[propName];\n var l = smodel.length;\n // console.log('mparent.length', mparent.length);\n if (l > internal.ntable.length) {\n // console.log('autogrow', l, ntable.length);\n while (internal.ntable.length < l) {\n fixData_1.default(internal.schitems, smodel[internal.ntable.length], options.Vue);\n addRow(_this, internal, internal.schitems, internal.ntable.length);\n }\n }\n else if (l < internal.ntable.length) {\n clearCached(internal);\n internal.ntable.length = l;\n }\n return internal.ntable;\n // return [];\n };\n internal.watch.items = {\n // deep,\n handler: function (newValue) {\n if (schema.debug) {\n debugger;\n }\n self.$dirty = true;\n // self.$validate(parent[propName]);\n }\n };\n // potrzebne przeliczenia na starcie\n if (mlength && !self._options.disableCalculations && !self._options.wrapAll) {\n var needCalc = functions_1.anyCalc(internal.schitems);\n var props = internal.schitems.properties;\n if (needCalc && props) {\n // są jakieś pola wymagające kalkulacji\n // $root,$parent,$parent2,$parent3,$external,$methods,$obj\n var paramdata = [_this.$root.$model, internal.mparent, {}, {}, options.external, options.schemaMethods, , null];\n if (dest) {\n paramdata[2] = dest.$model;\n if (dest.$parent) {\n paramdata[3] = dest.$parent.$model;\n }\n }\n // let props = schitems.properties;\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\n var schkey = _a[_i];\n var schitem = props[schkey];\n if (schitem.calc) {\n var stime = new Date().getTime();\n var calcFunc = calcFunction_1.default(schitem, true, process.env.NODE_ENV === 'development' && schitem.debug);\n var $mparent = {\n $parent: self,\n $key: 0\n };\n paramdata[6] = { $key: schkey, $parent: $mparent, $parent2: self, $parent3: self.$parent };\n try {\n // for (let i = 0; i < mlength; i++) {\n // paramdata[6].$parent.$key = i;\n for (; $mparent.$key < mlength; $mparent.$key++) {\n var res = calcFunc.apply(internal.mparent[$mparent.$key], paramdata);\n if (res !== undefined) {\n options.Vue.set(internal.mparent[$mparent.$key], schkey, res);\n }\n // mparent[$mparent.$key][schkey] = calcFunc.apply(mparent[$mparent.$key], paramdata);\n }\n }\n catch (err) {\n if (process.env.NODE_ENV === 'development') {\n console.error('ERR calc:model result', err);\n }\n // moze się wywalić wiec spokojnie\n continue;\n }\n // console.log(`calc ${schkey} in ${propName}[${mlength}]`, new Date().getTime() - stime);\n }\n else if (schitem.aggregate) {\n if (process.env.NODE_ENV === 'development') {\n console.time('agg:model ' + self.$path + '[].' + schkey);\n // console.info('agg:model', new Date().getTime() - stime);\n }\n var stime = new Date().getTime();\n var aggFunc = aggregateFunction_1.default(schitem, true, process.env.NODE_ENV === 'development' && schitem.debug);\n var $mparent = {\n $parent: self,\n $key: 0\n };\n paramdata[6] = { $key: schkey, $parent: $mparent, $parent2: self, $parent3: self.$parent };\n try {\n // for (let i = 0; i < mlength; i++) {\n // paramdata[6].$parent.$key = i;\n for (; $mparent.$key < mlength; $mparent.$key++) {\n var res = aggFunc.apply(internal.mparent[$mparent.$key], paramdata);\n // mparent[$mparent.$key][schkey] = res;\n if (res !== undefined) {\n options.Vue.set(internal.mparent[$mparent.$key], schkey, res);\n }\n // mparent[$mparent.$key][schkey] = calcFunc.apply(mparent[$mparent.$key], paramdata);\n }\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd('agg:model ' + self.$path + '[].' + schkey);\n // console.info('agg:model', new Date().getTime() - stime);\n }\n }\n catch (err) {\n if (process.env.NODE_ENV === 'development') {\n console.warn('agg:model rerror', err);\n console.timeEnd('agg:model ' + self.$path + '[].' + schkey);\n }\n // moze się wywalić wiec spokojnie\n continue;\n }\n }\n // if (schitems.calc) || (schitem.summary) || (schitem.agg)\n }\n }\n }\n functions_1.initVue(_this, _this._internal);\n return _this;\n // już po stworzeniu Vue\n // this._options.Vue.set(this.$data, 'order', '');\n // this.$setUserData('order', '');\n }\n WrappedPropertyArray.prototype.$validate = function (value) {\n if (value === undefined) {\n value = this.$model;\n }\n this.$dirty = true;\n if (value === undefined || value === null) {\n if (this.$schema.fieldRequired) {\n return functions_1.getRuleMessage(this._internal, 'required', value, this.$schema);\n }\n else {\n return null;\n }\n }\n return _super.prototype.$validate.call(this, value);\n };\n WrappedPropertyArray.prototype.$validateAll = function (result) {\n if (result === undefined) {\n result = [];\n }\n if (this.$validate() !== null) {\n result.push(this);\n }\n // this.$dirty = true; //przeniesiono do $validate()\n for (var i = 0; i < this._internal.ntable.length; i++) {\n this._internal.ntable[i].$item.$validateAll(result);\n }\n return result;\n };\n WrappedPropertyArray.prototype.$check = function (value, checkResult) {\n if (this._internal.schema.warnings) {\n if (value === undefined) {\n value = this.$model;\n }\n this.$dirty = true;\n checkResult = checkResult || [];\n if (value === undefined || value === null) {\n if (this.$schema.warnings.fieldRequired) {\n checkResult.push(functions_1.getWarningMessage(this._internal, 'required', value, this.$schema));\n }\n return checkResult;\n }\n return _super.prototype.$check.call(this, value, checkResult);\n }\n return [];\n };\n WrappedPropertyArray.prototype.$checkAll = function (result) {\n if (result === undefined) {\n result = [];\n }\n if (this.$check().length) {\n result.push(this);\n }\n // this.$dirty = true; //przeniesiono do $validate()\n for (var i = 0; i < this._internal.ntable.length; i++) {\n this._internal.ntable[i].$item.$checkAll(result);\n }\n return result;\n };\n WrappedPropertyArray.prototype.$setData = function (value, path, fixArraySize) {\n // /Vue.set(parent, propName, value);\n return setData_1.default(this._internal.schema, this.$model, value, path, 0, this._options.Vue, fixArraySize);\n };\n WrappedPropertyArray.prototype.$reset = function () {\n /*\n for (let i = 0; i < this.internal.mparent.length; i++) {\n const subitem = this.internal.subitemcache[i];\n if (subitem !== undefined) {\n subitem.$reset();\n }\n }\n */\n for (var i = 0; i < this._internal.ntable.length; i++) {\n this._internal.ntable[i].$reset();\n }\n _super.prototype.$reset.call(this);\n // this.$dirty = false;\n // this.internal.vm.error = null;\n };\n WrappedPropertyArray.prototype.$dirtyList = function (result) {\n if (result === undefined) {\n result = [];\n }\n for (var i = 0; i < this._internal.ntable.length; i++) {\n this._internal.ntable[i].$dirtyList(result);\n }\n /*\n \n for (let i = 0; i < this.internal.mparent.length; i++) {\n const subitem = this.internal.subitemcache[i];\n if (subitem !== undefined) {\n subitem.$dirtyList(result);\n }\n }\n */\n return result;\n };\n Object.defineProperty(WrappedPropertyArray.prototype, \"$items\", {\n get: function () {\n if (this._internal.vm) {\n return this._internal.vm.items;\n }\n else {\n return this._internal.ntable;\n }\n },\n enumerable: true,\n configurable: true\n });\n WrappedPropertyArray.prototype.$setLength = function (newLength) {\n var stable = this.$model;\n if (stable.length !== newLength) {\n while (stable.length > newLength) {\n this.$removeRow(stable.length - 1);\n }\n while (stable.length < newLength) {\n // obj.$addRow(undefined, 1);\n this.$addRow(undefined, newLength - stable.length);\n }\n }\n return true;\n };\n WrappedPropertyArray.prototype.$addRow = function (nvalue, count) {\n if (count === void 0) { count = 1; }\n var mparent2 = this.$model;\n if (mparent2 === undefined) {\n // Vue.set(parent, propName, []);\n var defvalue = defaultValue_1.default(this._internal.schema, true);\n // console.log('recreate array',propName,defvalue);\n this.$setData(defvalue);\n // this.internal.Vue.set(this.internal.parent, this.propName, defvalue);\n mparent2 = this.$model;\n }\n // gdy jest ustawiona stała długość\n if (this.$schema.length !== undefined && mparent2.length === this.$schema.length) {\n return false;\n }\n this._internal.cachedKey = '';\n var startindex = mparent2.length;\n var schitems = this._internal.schitems;\n var nvalue2;\n if (schitems.type === 'object') {\n for (var i = 0; i < count; i++) {\n nvalue2 = defaultValue_1.default(schitems, true);\n if (nvalue) {\n nvalue2 = Object.assign(nvalue2, nvalue);\n }\n mparent2.push(nvalue2);\n }\n }\n else {\n for (var i = 0; i < count; i++) {\n if (nvalue !== undefined) {\n nvalue2 = nvalue;\n }\n else {\n nvalue2 = defaultValue_1.default(schitems, true);\n }\n this._options.Vue.set(mparent2, startindex + i, nvalue2);\n if (process.env.NODE_ENV === 'development') {\n console.log('vue set array item', startindex, nvalue2, mparent2.length);\n }\n }\n }\n for (var i = 0; i < count; i++) {\n addRow(this, this._internal, schitems, startindex + i);\n }\n return true;\n };\n WrappedPropertyArray.prototype.$removeRow = function (index) {\n if (process.env.NODE_ENV === 'development') {\n console.time('$removeRow');\n }\n var modeltable = this.$model;\n // schematable.splice(index, 1);\n if (this.$schema.length !== undefined && modeltable.length === this.$schema.length) {\n return false;\n }\n this._internal.cachedKey = '';\n this._internal.ntable.splice(index, 1);\n var l = this._internal.ntable.length;\n for (var i = index; i < l; i++) {\n this._internal.ntable[i].$setKey(i);\n }\n /*\n this.internal.subitemcache.splice(index, 1);\n for (let i = index; i < l; i++) {\n this.internal.ntable[i].$key = i;\n if (this.internal.subitemcache[i] !== undefined) {\n this.internal.subitemcache[i].$key = i;\n }\n }\n */\n modeltable.splice(index, 1); // bo na tym jest event ?\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd('$removeRow');\n }\n return true;\n };\n WrappedPropertyArray.prototype.$clearRow = function (index) {\n var nitem = defaultValue_1.default(this._internal.schema);\n this._internal.ntable[index].$clearCache();\n /*\n if (this.internal.subitemcache[index] !== undefined) {\n this.internal.subitemcache[index].$destroy();\n this.internal.subitemcache[index] = undefined;\n }\n */\n this._options.Vue.set(this.$model, index, nitem);\n return true;\n };\n WrappedPropertyArray.prototype.$exchangeRow = function (index1, index2) {\n this._internal.cachedKey = '';\n if (process.env.NODE_ENV === 'development') {\n console.time(\"$exchangeRow(\" + index1 + \",\" + index2 + \")\");\n }\n var mparent = this.$model;\n var item1 = mparent[index1];\n var item2 = mparent[index2];\n this._internal.ntable[index1].$clearCache();\n this._internal.ntable[index2].$clearCache();\n /*\n if (this.internal.subitemcache[index1] !== undefined) {\n this.internal.subitemcache[index1].$destroy();\n this.internal.subitemcache[index1] = undefined;\n }\n if (this.internal.subitemcache[index2] !== undefined) {\n this.internal.subitemcache[index2].$destroy();\n this.internal.subitemcache[index2] = undefined;\n }\n */\n this._options.Vue.set(mparent, index1, item2);\n this._options.Vue.set(mparent, index2, item1);\n // mparent[index1] = item2;\n // mparent[index2] = item1;\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd(\"$exchangeRow(\" + index1 + \",\" + index2 + \")\");\n }\n return true;\n // console.log('exchanged', index1, index2);\n };\n WrappedPropertyArray.prototype.$moveUp = function (index) {\n if (index > 0) {\n return this.$exchangeRow(index, index - 1);\n }\n return false;\n };\n WrappedPropertyArray.prototype.$moveDown = function (index) {\n if (index < this.$model.length - 1) {\n return this.$exchangeRow(index, index + 1);\n }\n return false;\n };\n WrappedPropertyArray.prototype.$sort = function (field) {\n // let stime = new Date().getTime();\n if (process.env.NODE_ENV === 'development') {\n console.time(\"$sort(\" + this.$key + \",\" + field + \")\");\n }\n this._internal.cachedKey = '';\n var mparent = (this._internal.mparent = this._internal.mparent.sort(function (a, b) { return (b[field] === a[field] ? 0 : b[field] > a[field] ? -1 : 1); }));\n // mparent = parent[propName] = narray;\n // destroy\n // clearCached();\n var index = this._internal.ntable.length;\n while (index--) {\n this._internal.ntable[index].$clearCache();\n }\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd(\"$sort(\" + this.$key + \",\" + field + \")\");\n console.log(\" [0].\" + field + \"=\" + mparent[0][field] + (\", [\" + (mparent.length - 1) + \"].\" + field) + (\"=\" + mparent[mparent.length - 1][field]));\n }\n // tslint:disable-next-line: max-line-length\n // console.log('sorting', propName, field, new Date().getTime() - stime, mparent[0][field], mparent[mparent.length - 1][field]);\n };\n WrappedPropertyArray.prototype.$filter = function (func) {\n if (func) {\n return this._internal.ntable.filter(func);\n }\n return this._internal.ntable;\n };\n Object.defineProperty(WrappedPropertyArray.prototype, \"pageNumber\", {\n get: function () {\n return this.$getUserData('pageNumber', 0);\n // return this.$data.pageNumber || 0;\n },\n set: function (newValue) {\n if (newValue < 0) {\n this.$setUserData('pageNumber', 0);\n // this._options.Vue.set(this.$data, 'pageNumber', 0);\n }\n else if (newValue >= this.pageCount) {\n if (process.env.NODE_ENV === 'development') {\n console.log('overflow pagenumber', newValue, this.pageCount - 1);\n }\n this.$setUserData('pageNumber', this.pageCount - 1);\n // this._options.Vue.set(this.obj.$data, 'pageNumber', this.pageCount - 1);\n }\n else {\n this.$setUserData('pageNumber', newValue);\n // this._options.Vue.set(this.obj.$data, 'pageNumber', newValue);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedPropertyArray.prototype, \"pageSize\", {\n get: function () {\n return this.$getUserData('pageSize', 25);\n // return this.$data.pageSize;\n },\n set: function (newValue) {\n this.$setUserData('pageSize', newValue);\n // this._options.Vue.set(this.$data, 'pageSize', newValue);\n if (this.pageNumber >= this.pageCount) {\n this.pageNumber = this.pageCount - 1;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedPropertyArray.prototype, \"pageCount\", {\n get: function () {\n return Math.ceil(this.$model.length / this.pageSize);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedPropertyArray.prototype, \"order\", {\n get: function () {\n return this.$getUserData('order', '');\n },\n set: function (newValue) {\n this.$setUserData('order', newValue);\n // this._options.Vue.set(this.$data, 'order', newValue);\n },\n enumerable: true,\n configurable: true\n });\n WrappedPropertyArray.prototype.$getItems = function (start, count) {\n // console.log('dssdfsdfs');\n var mparent2 = this.$model;\n start = start || 0;\n if (count && this.pageSize !== count) {\n // console.log('set pageSize', count);\n this.pageSize = count;\n }\n var end = count;\n if (end === undefined) {\n end = mparent2.length;\n }\n else {\n end += start;\n if (end >= mparent2.length) {\n end = mparent2.length;\n }\n }\n var stime = new Date().getTime();\n var res = [];\n if (true /*usesubitem*/) {\n // const order = this.order;\n var order_1 = this.$getUserData('order', '');\n var nkey = start + \"|\" + end + \"|\" + order_1;\n if (nkey === this._internal.cachedKey) {\n // console.log('return cached data', new Date().getTime() - stime);\n return this._internal.cachedItems;\n }\n if (order_1) {\n if (process.env.NODE_ENV === 'development') {\n console.time(\"$getItems.order('\" + order_1 + \"',\" + start + \",\" + end + \")\");\n }\n // let stime = new Date().getTime();\n var otable = Array.from(this._internal.ntable);\n otable.sort(function (a, b) { return (mparent2[b.$key][order_1] === mparent2[a.$key][order_1] ? 0 : mparent2[b.$key][order_1] > mparent2[a.$key][order_1] ? -1 : 1); });\n // console.log('order by', (new Date()).getTime() - stime, order, otable[0].$item, ntable[0].$item);\n // tslint:disable-next-line: max-line-length\n // let narray = parent[propName].sort((a: any, b: any) => (b[field] === a[field]) ? 0 : (b[field] > a[field]) ? -1 : 1);\n for (var i = start; i < end; i++) {\n res.push(otable[i].$item);\n }\n if (process.env.NODE_ENV === 'development') {\n console.time(\"$getItems.order('\" + order_1 + \"',\" + start + \",\" + end + \")\");\n }\n // console.log('return ordered data', new Date().getTime() - stime);\n }\n else {\n if (process.env.NODE_ENV === 'development') {\n console.time(\"$getItems(\" + start + \",\" + end + \")\");\n }\n // console.log('not ordered', ntable[0].$item);\n for (var i = start; i < end; i++) {\n res.push(this._internal.ntable[i].$item);\n }\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd(\"$getItems(\" + start + \",\" + end + \")\");\n }\n }\n this._internal.cachedItems = res;\n this._internal.cachedKey = nkey;\n // const aa: any[] = this.$items as WrappedProperty[];\n // console.log(\"$getItems\",start,end,res.length,aa.length);\n // console.log(\"$getItems\", propName, start, end, res.length, (new Date()).getTime() - stime);\n // return res;\n // res = reactivedata.items.slice(start, end).map((x: any) => x.$item);\n }\n else {\n // res = reactivedata.items.slice(start, end);\n }\n // console.log('$getItems.slide', (new Date()).getTime() - stime, res);\n return res;\n // return\n };\n WrappedPropertyArray.prototype.$getPage = function (page, pageSize) {\n if (pageSize === void 0) { pageSize = 25; }\n // console.log('get page');\n return this.$getItems(page * pageSize, pageSize);\n };\n return WrappedPropertyArray;\n}(WrappedPropertyBase_1.default));\nexports.default = WrappedPropertyArray;\nfunction addRow(self, internal, schitems, rowIndex) {\n // const ssubitem = internal.options.wrapAll ? new WrapperPropertyArrayItemDirect(self, internal.mparent, rowIndex, schitems, internal.options) : new WrapperPropertyArrayItem(self, internal.mparent, rowIndex, schitems, internal.options);\n var ssubitem = new WrappedPropertyArrayItem_1.WrapperPropertyArrayItem(self, internal.mparent, rowIndex, schitems, internal.options);\n internal.ntable.push(ssubitem);\n return ssubitem;\n /*\n \n const ssubitem: any = new Object();\n // const ssubitem: any = { $key: rowIndex };\n // let subitem: any;\n \n Object.defineProperties(ssubitem, {\n $key: {\n writable: true,\n value: rowIndex\n },\n \n $item: {\n get() {\n let subitem = internal.subitemcache[this.$key];\n if (subitem === undefined) {\n subitem = new WrappedPropertyCtor[internal.schema.items.type](self, internal.parent, this.$key, schitems, internal.options);\n this.internal.subitemcache[this.$key] = subitem;\n }\n return subitem;\n }\n }\n });\n \n */\n /*\n if (needCalc) {\n subitemcache[ff] = self.wrapProperty(obj, mparent, ff, schitems);\n }\n */\n internal.ntable.push(ssubitem);\n if (internal.options.wrapAll) {\n var a = ssubitem.$item;\n }\n return ssubitem;\n}\nfunction clearCached(internal) {\n // destroy\n for (var i = 0; i < internal.ntable.length; i++) {\n internal.ntable[i].$clearCache();\n }\n /*\n for (let i = 0; i < internal.subitemcache.length; i++) {\n const item = internal.subitemcache[i];\n if (item !== undefined) {\n item.$destroy();\n }\n }\n \n internal.subitemcache = [];\n */\n}\n// przeliczanie tablicy, calc i aggragate\nfunction recalcArray() {\n return true;\n}\nWrappedPropertyCtor_1.default.array = WrappedPropertyArray;\n//# sourceMappingURL=WrappedPropertyArray.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar IOptions_1 = require(\"./WrappedProperty/IOptions\");\nvar WrappedProperty_1 = require(\"./WrappedProperty\");\nvar fixAndMergeSchema_1 = require(\"./JSchema/fixAndMergeSchema\");\nvar defaultValue_1 = require(\"./JSchema/defaultValue\");\nvar fixData_1 = require(\"./JSchema/fixData\");\nvar validationMessages_1 = require(\"./validationMessages\");\nvar schemaMixin = {\n beforeCreate: function () {\n var vm = this;\n // constructor\n var Vue = vm.constructor;\n while (Vue.super) {\n Vue = Vue.super;\n }\n if (Vue.Renderless) {\n Vue = Vue.Renderless;\n }\n vm.$VueConstructor = Vue;\n vm.$methods = Vue.prototype.$methods = IOptions_1.defaultOptions.schemaMethods;\n },\n created: function () {\n var vm = this;\n var schema = vm.$options.schema;\n if (schema && vm.$setSchema) {\n vm.$setSchema(schema, false);\n }\n },\n beforeDestroy: function () {\n this.$setSchema();\n },\n methods: {\n $setSchema: function (schema, forceUpdate) {\n var vm = this;\n if (vm.$schema) {\n vm.$schema.$destroy();\n }\n vm.$schema = undefined;\n if (!schema) {\n return undefined;\n }\n if (vm.model === undefined) {\n throw new Error('no `model` property in data');\n return undefined;\n }\n var sopts = vm.schemaOptions || vm.$options.schemaOptions;\n var soptions = IOptions_1.fixSchemaOptions(sopts);\n if (sopts && sopts.validationMessages) {\n soptions.validationMessages = Object.assign({}, validationMessages_1.default, sopts.validationMessages);\n }\n // constructor\n soptions.Vue = vm.$VueConstructor;\n // externalv\n if (vm.$options.external) {\n soptions.external = vm.$external = vm.$options.external;\n }\n // form\n vm.$form = soptions.form = vm.form || {};\n // methods\n // vm.$methods = soptions.schemaMethods;\n // merge schema\n var schema2 = null;\n // let fixtime = new Date().getTime();\n if (process.env.NODE_ENV === 'development') {\n console.time('schema fixing time');\n }\n var fixOptions = Object.assign({}, fixAndMergeSchema_1.fixSchemaDefaultOptions);\n if (vm.$options.schemaOptions && vm.$options.schemaOptions.arrayItemGuidField !== undefined) {\n fixOptions.arrayItemGuidField = vm.$options.schemaOptions.arrayItemGuidField;\n }\n fixOptions.model = vm.model;\n if (!Array.isArray(schema)) {\n schema = [schema];\n }\n else {\n schema = schema.slice(0);\n }\n if (vm.$options.beforeFixSchema) {\n vm.$options.beforeFixSchema.call(vm, schema, fixOptions);\n }\n schema2 = fixAndMergeSchema_1.default(schema, fixOptions);\n // let ooo = JSON.stringify(schema2);\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd('schema fixing time');\n }\n // console.log('schema fixing time', new Date().getTime() - fixtime);\n // const stime = new Date().getTime();\n // for (let i = 0; i < 100; i++) {\n // Object.defineProperty(this,\"$schema\",{\n // enumerable: true,\n // get: wrapobj.wrap(this, \"model\", schema)\n // })\n var nfix = vm.$options.schemaOptions === undefined || vm.$options.schemaOptions.fixData === undefined || vm.$options.schemaOptions.fixData === true;\n if (vm.model === null) {\n // tworzenie domyslnego\n if (nfix) {\n vm.model = defaultValue_1.default(schema2, true);\n }\n else {\n vm.model = {};\n }\n }\n else {\n if (nfix) {\n if (process.env.NODE_ENV === 'development') {\n console.time('fixData');\n }\n var fixed = fixData_1.default(schema2, vm.model, soptions.Vue);\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd('fixData');\n if (fixed) {\n console.log('fixed fields: ' + fixed);\n }\n }\n }\n }\n if (vm.$options.beforeSchema) {\n vm.$options.beforeSchema.call(vm, vm.model, schema2, soptions);\n }\n // if (process.env.NODE_ENV === 'development') {\n // console.log('$schema.options', soptions);\n // }\n // console.log('wrapping model', vm.model);\n // vm.$schema = wrapobj.wrap(vm, schema2, 'model');\n // vm.$schema = new WrappedPropertyObject(null, vm, 'model', schema2, soptions);\n if (process.env.NODE_ENV === 'development') {\n console.time('wrapping schema');\n }\n vm.$schema = new WrappedProperty_1.default[schema2.type](null, vm, 'model', schema2, soptions);\n if (process.env.NODE_ENV === 'development') {\n console.timeEnd('wrapping schema');\n }\n if (vm.$options.afterSchema) {\n vm.$options.afterSchema.call(vm, vm.$schema);\n }\n // console.log('wrapping schema', vm.$schema);\n // }\n // tslint:disable-next-line: no-console\n // console.log('wraptime', new Date().getTime() - stime, vm.$schema);\n if (forceUpdate && vm.$forceUpdate) {\n vm.$forceUpdate();\n }\n return vm.$schema;\n }\n }\n /*\n destroyed() {\n const vm: any = this as any;\n },\n */\n /*\n directives: {\n schema: {\n bind: (el: any, binding: any, vnode: any) => {\n if (vnode && vnode.componentInstance && vnode.componentInstance.setModel) {\n vnode.componentInstance.setModel(binding.value, binding.modifiers);\n \n }\n },\n },\n },\n */\n};\nexports.default = schemaMixin;\n//# sourceMappingURL=schemaMixin.js.map","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.github.io/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar isObject = require('../internals/is-object');\nvar aFunction = require('../internals/a-function');\nvar anInstance = require('../internals/an-instance');\nvar classof = require('../internals/classof-raw');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar PromiseConstructor = NativePromise;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar $fetch = getBuiltIn('fetch');\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar IS_NODE = classof(process) == 'process';\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);\n if (!GLOBAL_CORE_JS_PROMISE) {\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (V8_VERSION === 66) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n if (!IS_NODE && typeof PromiseRejectionEvent != 'function') return true;\n }\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = PromiseConstructor.resolve(1);\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n return !(promise.then(function () { /* empty */ }) instanceof FakePromise);\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\n\nvar notify = function (promise, state, isReject) {\n if (state.notified) return;\n state.notified = true;\n var chain = state.reactions;\n microtask(function () {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var index = 0;\n // variable length - can't use forEach\n while (chain.length > index) {\n var reaction = chain[index++];\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n }\n state.reactions = [];\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(promise, state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (handler = global['on' + name]) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (promise, state) {\n task.call(global, function () {\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (promise, state) {\n task.call(global, function () {\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, promise, state, unwrap) {\n return function (value) {\n fn(promise, state, value, unwrap);\n };\n};\n\nvar internalReject = function (promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(promise, state, true);\n};\n\nvar internalResolve = function (promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n then.call(value,\n bind(internalResolve, promise, wrapper, state),\n bind(internalReject, promise, wrapper, state)\n );\n } catch (error) {\n internalReject(promise, wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(promise, state, false);\n }\n } catch (error) {\n internalReject(promise, { done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromiseConstructor, PROMISE);\n aFunction(executor);\n Internal.call(this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, this, state), bind(internalReject, this, state));\n } catch (error) {\n internalReject(this, state, error);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: [],\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n // `Promise.prototype.then` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.then\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n state.parent = true;\n state.reactions.push(reaction);\n if (state.state != PENDING) notify(this, state, false);\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, promise, state);\n this.reject = bind(internalReject, promise, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && typeof NativePromise == 'function') {\n nativeThen = NativePromise.prototype.then;\n\n // wrap native Promise#then for native async functions\n redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n nativeThen.call(that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // wrap fetch result\n if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {\n // eslint-disable-next-line no-unused-vars\n fetch: function fetch(input /* , init */) {\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n }\n });\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.github.io/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n capability.reject.call(undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.github.io/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.github.io/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n $promiseResolve.call(C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.github.io/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n iterate(iterable, function (promise) {\n $promiseResolve.call(C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '១',\n '2': '២',\n '3': '៣',\n '4': '៤',\n '5': '៥',\n '6': '៦',\n '7': '៧',\n '8': '៨',\n '9': '៩',\n '0': '០'\n }, numberMap = {\n '១': '1',\n '២': '2',\n '៣': '3',\n '៤': '4',\n '៥': '5',\n '៦': '6',\n '៧': '7',\n '៨': '8',\n '៩': '9',\n '០': '0'\n };\n\n var km = moment.defineLocale('km', {\n months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),\n weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /ព្រឹក|ល្ងាច/,\n isPM: function (input) {\n return input === 'ល្ងាច';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ព្រឹក';\n } else {\n return 'ល្ងាច';\n }\n },\n calendar: {\n sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',\n nextDay: '[ស្អែក ម៉ោង] LT',\n nextWeek: 'dddd [ម៉ោង] LT',\n lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%sទៀត',\n past: '%sមុន',\n s: 'ប៉ុន្មានវិនាទី',\n ss: '%d វិនាទី',\n m: 'មួយនាទី',\n mm: '%d នាទី',\n h: 'មួយម៉ោង',\n hh: '%d ម៉ោង',\n d: 'មួយថ្ងៃ',\n dd: '%d ថ្ងៃ',\n M: 'មួយខែ',\n MM: '%d ខែ',\n y: 'មួយឆ្នាំ',\n yy: '%d ឆ្នាំ'\n },\n dayOfMonthOrdinalParse : /ទី\\d{1,2}/,\n ordinal : 'ទី%d',\n preparse: function (string) {\n return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return km;\n\n})));\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.github.io/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./spoiler.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./spoiler.vue?vue&type=style&index=0&lang=css&\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar WrappedPropertyCtor_1 = require(\"./WrappedPropertyCtor\");\nvar WrapperPropertyArrayItem = /** @class */ (function () {\n function WrapperPropertyArrayItem(dest, parent, key, schema, options) {\n this.$key = key;\n this._dest = dest;\n this._parent = parent;\n this._schema = schema;\n this._options = options;\n if (options.wrapAll || schema.type !== 'object') {\n this._cache = new WrappedPropertyCtor_1.default[this._schema.type](this._dest, this._parent, this.$key, this._schema, this._options);\n }\n }\n Object.defineProperty(WrapperPropertyArrayItem.prototype, \"$item\", {\n get: function () {\n if (this._cache) {\n return this._cache;\n }\n else {\n // console.log('WrappedPropertyCtor', Ctor);\n return (this._cache = new WrappedPropertyCtor_1.default[this._schema.type](this._dest, this._parent, this.$key, this._schema, this._options));\n }\n },\n enumerable: true,\n configurable: true\n });\n WrapperPropertyArrayItem.prototype.$clearCache = function () {\n if (this._cache) {\n this._cache.$destroy();\n this._cache = undefined;\n }\n };\n /**\n * ustawienie $dirty na false ale tylko wtedy gdy jest pobrane\n */\n WrapperPropertyArrayItem.prototype.$reset = function () {\n if (this._cache) {\n this._cache.$reset();\n }\n };\n /**\n *\n */\n WrapperPropertyArrayItem.prototype.$dirtyList = function (result) {\n if (this._cache) {\n this._cache.$dirtyList(result);\n }\n return result;\n };\n WrapperPropertyArrayItem.prototype.$destroy = function () {\n this.$clearCache();\n };\n WrapperPropertyArrayItem.prototype.$setKey = function (newKey) {\n this.$key = newKey;\n if (this._cache) {\n this._cache.$key = newKey;\n }\n };\n return WrapperPropertyArrayItem;\n}());\nexports.WrapperPropertyArrayItem = WrapperPropertyArrayItem;\n//# sourceMappingURL=WrappedPropertyArrayItem.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fdatetime_1 = require(\"./fdatetime\");\nvar padNumber_1 = require(\"./padNumber\");\nvar datePart_1 = require(\"./datePart\");\n/**\n * Zwraca tablicę zawierającą listę miesięcy pomiędzy datami\n * @param startDate data początkowa\n * @param endDate data końcowa\n * @param format format, domyślnie MMMM yyyy, czyli \"styczeń 2019\"\n */\nfunction listMonths(startDate, endDate, format /* = 'MMMM yyyy'*/) {\n /*\n const dt1 = dateParse(startDate);\n const dt2 = dateParse(endDate);\n\n let m1 = dt1.getMonth();\n let y1 = dt1.getFullYear();\n const m2 = dt2.getMonth();\n const y2 = dt2.getFullYear();\n */\n var m1 = datePart_1.default(startDate, 'M') - 1;\n var y1 = datePart_1.default(startDate, 'y');\n var m2 = datePart_1.default(endDate, 'M') - 1;\n var y2 = datePart_1.default(endDate, 'y');\n var result = [];\n var func;\n switch (format) {\n case 'MMMM yyyy':\n func = function (m, y) { return fdatetime_1.monthNames[m] + ' ' + y; };\n break;\n case 'MMM yyyy':\n func = function (m, y) { return fdatetime_1.monthShort[m] + ' ' + y; };\n break;\n case 'MM yyyy':\n func = function (m, y) { return padNumber_1.default(m + 1) + ' ' + y; };\n break;\n case 'M yyyy':\n func = function (m, y) { return m + 1 + ' ' + y; };\n break;\n case 'MMMM':\n func = function (m, y) { return fdatetime_1.monthNames[m]; };\n break;\n case 'MMM':\n func = function (m, y) { return fdatetime_1.monthShort[m]; };\n break;\n case 'MM':\n func = function (m, y) { return padNumber_1.default(m + 1); };\n break;\n case 'M':\n func = function (m, y) { return (m + 1).toString(); };\n break;\n default:\n func = function (m, y) { return fdatetime_1.monthNames[m] + ' ' + y; };\n break;\n }\n while ((m1 <= m2 && y1 === y2) || y1 < y2) {\n result.push(func(m1, y1));\n m1++;\n if (m1 > 11) {\n m1 = 0;\n y1++;\n }\n }\n return result;\n}\nexports.default = listMonths;\n//# sourceMappingURL=listMonths.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar datePart_1 = require(\"./datePart\");\n/**\n * Zwraca tablicę zawierającą listę lat pomiędzy datami\n * @param startDate data początkowa\n * @param endDate data końcowa\n */\nfunction listYears(startDate, endDate) {\n var y1 = datePart_1.default(startDate, 'y');\n var y2 = datePart_1.default(endDate, 'y');\n var result = [];\n while (y1 <= y2) {\n result.push(y1);\n y1++;\n }\n return result;\n}\nexports.default = listYears;\n//# sourceMappingURL=listYears.js.map","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var ms = moment.defineLocale('ms', {\n months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),\n monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat : {\n LT : 'HH.mm',\n LTS : 'HH.mm.ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY [pukul] HH.mm',\n LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar : {\n sameDay : '[Hari ini pukul] LT',\n nextDay : '[Esok pukul] LT',\n nextWeek : 'dddd [pukul] LT',\n lastDay : '[Kelmarin pukul] LT',\n lastWeek : 'dddd [lepas pukul] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'dalam %s',\n past : '%s yang lepas',\n s : 'beberapa saat',\n ss : '%d saat',\n m : 'seminit',\n mm : '%d minit',\n h : 'sejam',\n hh : '%d jam',\n d : 'sehari',\n dd : '%d hari',\n M : 'sebulan',\n MM : '%d bulan',\n y : 'setahun',\n yy : '%d tahun'\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return ms;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n 'ss': [number + 'sekundi', number + 'sekundit'],\n 'm' : ['ühe minuti', 'üks minut'],\n 'mm': [number + ' minuti', number + ' minutit'],\n 'h' : ['ühe tunni', 'tund aega', 'üks tund'],\n 'hh': [number + ' tunni', number + ' tundi'],\n 'd' : ['ühe päeva', 'üks päev'],\n 'M' : ['kuu aja', 'kuu aega', 'üks kuu'],\n 'MM': [number + ' kuu', number + ' kuud'],\n 'y' : ['ühe aasta', 'aasta', 'üks aasta'],\n 'yy': [number + ' aasta', number + ' aastat']\n };\n if (withoutSuffix) {\n return format[key][2] ? format[key][2] : format[key][1];\n }\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var et = moment.defineLocale('et', {\n months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),\n monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),\n weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),\n weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),\n weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),\n longDateFormat : {\n LT : 'H:mm',\n LTS : 'H:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D. MMMM YYYY',\n LLL : 'D. MMMM YYYY H:mm',\n LLLL : 'dddd, D. MMMM YYYY H:mm'\n },\n calendar : {\n sameDay : '[Täna,] LT',\n nextDay : '[Homme,] LT',\n nextWeek : '[Järgmine] dddd LT',\n lastDay : '[Eile,] LT',\n lastWeek : '[Eelmine] dddd LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s pärast',\n past : '%s tagasi',\n s : processRelativeTime,\n ss : processRelativeTime,\n m : processRelativeTime,\n mm : processRelativeTime,\n h : processRelativeTime,\n hh : processRelativeTime,\n d : processRelativeTime,\n dd : '%d päeva',\n M : processRelativeTime,\n MM : processRelativeTime,\n y : processRelativeTime,\n yy : processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return et;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n /*jshint -W100*/\n var si = moment.defineLocale('si', {\n months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),\n monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),\n weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),\n weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),\n weekdaysMin : 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'a h:mm',\n LTS : 'a h:mm:ss',\n L : 'YYYY/MM/DD',\n LL : 'YYYY MMMM D',\n LLL : 'YYYY MMMM D, a h:mm',\n LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'\n },\n calendar : {\n sameDay : '[අද] LT[ට]',\n nextDay : '[හෙට] LT[ට]',\n nextWeek : 'dddd LT[ට]',\n lastDay : '[ඊයේ] LT[ට]',\n lastWeek : '[පසුගිය] dddd LT[ට]',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%sකින්',\n past : '%sකට පෙර',\n s : 'තත්පර කිහිපය',\n ss : 'තත්පර %d',\n m : 'මිනිත්තුව',\n mm : 'මිනිත්තු %d',\n h : 'පැය',\n hh : 'පැය %d',\n d : 'දිනය',\n dd : 'දින %d',\n M : 'මාසය',\n MM : 'මාස %d',\n y : 'වසර',\n yy : 'වසර %d'\n },\n dayOfMonthOrdinalParse: /\\d{1,2} වැනි/,\n ordinal : function (number) {\n return number + ' වැනි';\n },\n meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,\n isPM : function (input) {\n return input === 'ප.ව.' || input === 'පස් වරු';\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'ප.ව.' : 'පස් වරු';\n } else {\n return isLower ? 'පෙ.ව.' : 'පෙර වරු';\n }\n }\n });\n\n return si;\n\n})));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mround_1 = require(\"./mround\");\nvar precisionsz = ['', '.0', '.00', '.000', '.0000', '.00000', '.000000', '.0000000', '.00000000'];\n/**\n * formatuje liczbę zmiennoprzecinkową do polskiego formatu\n * @param value liczba\n * @param forcezeros czy zachować zera ,00\n * @param precision do ilu miejsc po przecinku zaokrąglić, domyślnie 2\n */\nfunction fmoney(value, forcezeros, precision) {\n if (precision === void 0) { precision = 2; }\n if (value === null) {\n return '';\n }\n // const s = value.toFixed(2);\n // let s = mround(value, precision).toFixed(precision);\n if (value % 1 === 0) {\n if (forcezeros) {\n return value.toString() + precisionsz[precision].replace('.', ',');\n }\n else {\n return value.toString();\n }\n }\n var s = mround_1.default(value, precision).toFixed(precision);\n if (forcezeros) {\n return s.replace('.', ',');\n }\n else {\n return s.replace(precisionsz[precision], '').replace('.', ',');\n }\n}\nexports.default = fmoney;\n//# sourceMappingURL=fmoney.js.map","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=style&index=0&lang=css&\"","'use strict';\nvar aFunction = require('../internals/a-function');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n};\n\n// 25.4.1.5 NewPromiseCapability(C)\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","// extracted by mini-css-extract-plugin","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var pt = moment.defineLocale('pt', {\n months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),\n monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),\n weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D [de] MMMM [de] YYYY',\n LLL : 'D [de] MMMM [de] YYYY HH:mm',\n LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return (this.day() === 0 || this.day() === 6) ?\n '[Último] dddd [às] LT' : // Saturday + Sunday\n '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'em %s',\n past : 'há %s',\n s : 'segundos',\n ss : '%d segundos',\n m : 'um minuto',\n mm : '%d minutos',\n h : 'uma hora',\n hh : '%d horas',\n d : 'um dia',\n dd : '%d dias',\n M : 'um mês',\n MM : '%d meses',\n y : 'um ano',\n yy : '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal : '%dº',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return pt;\n\n})));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * sprawdza czy wartośc jest null, jeśli tak to zwraca valueIfNull\n * @param value wartość do sprawdzenia\n * @param valueIfNull co ma zwracać gdy value === null\n */\nfunction nullDefault(value, valueIfNull) {\n return value === null ? valueIfNull : value;\n}\nexports.default = nullDefault;\n//# sourceMappingURL=nullDefault.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fix_parent_1 = require(\"./fix$parent\");\nvar funcParams_1 = require(\"./funcParams\");\nvar schemaPath_1 = require(\"./schemaPath\");\nvar cacheFuncs = {};\nfunction validFunction(schema, validFunc, cache, debug) {\n if (cache === void 0) { cache = true; }\n var func = null;\n if (validFunc) {\n var stext = \"\";\n if (Array.isArray(validFunc)) {\n stext = validFunc.join(\"\\r\\n\");\n }\n else {\n stext = validFunc;\n if (stext.indexOf('{') === -1) {\n stext = \"$result=(\" + stext + \");\";\n }\n }\n if (cache && !debug) {\n func = cacheFuncs['valid_' + stext];\n if (func !== undefined) {\n return func;\n }\n }\n // let ftext = '';\n // stext = fix$parent(stext);\n var ffunc = \"var $value=$obj.$model;\\r\\nvar $result=null;\\r\\n\";\n if (debug) {\n func += \"/*** function body ***/\\r\\n\";\n }\n ffunc += \"\" + fix_parent_1.default(stext);\n // ffunc+=`${}`;\n // ffunc += 'with($data) {';\n // ffunc += `with(parent) ${stext};`;\n // ffunc += '};';\n // ffunc += `console.log('validFuncResult','${propName}',$result);`;\n // nie ma potrzeby, return i tak zadziała wcześniej\n /*\n if (stext.indexOf('return ') === -1) {\n ffunc += '\\r\\nreturn $result;';\n }\n */\n ffunc += '\\r\\nreturn $result;';\n if (debug) {\n ffunc = \"\\r\\n/*** \" + schemaPath_1.default(schema, true) + \" validFunc ***/\\r\\nconsole.debug($obj.$path); // model path\\r\\ndebugger;\\r\\n\\r\\n\" + ffunc;\n // ffunc = 'console.debug($obj.$path);\\r\\ndebugger;\\r\\n' + ffunc;\n }\n // old\n /*\n ftext += `return (${stext});`;\n\n\n\n if (debug && !debug) {\n ftext = 'debugger;\\r\\n' + ftext;\n }\n */\n func = new Function(funcParams_1.default, ffunc);\n if (cache) {\n cacheFuncs['valid_' + stext] = func;\n }\n }\n return func;\n}\nexports.default = validFunction;\n//# sourceMappingURL=validFunction.js.map","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '੧',\n '2': '੨',\n '3': '੩',\n '4': '੪',\n '5': '੫',\n '6': '੬',\n '7': '੭',\n '8': '੮',\n '9': '੯',\n '0': '੦'\n },\n numberMap = {\n '੧': '1',\n '੨': '2',\n '੩': '3',\n '੪': '4',\n '੫': '5',\n '੬': '6',\n '੭': '7',\n '੮': '8',\n '੯': '9',\n '੦': '0'\n };\n\n var paIn = moment.defineLocale('pa-in', {\n // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),\n monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),\n weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),\n weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n longDateFormat : {\n LT : 'A h:mm ਵਜੇ',\n LTS : 'A h:mm:ss ਵਜੇ',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',\n LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'\n },\n calendar : {\n sameDay : '[ਅਜ] LT',\n nextDay : '[ਕਲ] LT',\n nextWeek : '[ਅਗਲਾ] dddd, LT',\n lastDay : '[ਕਲ] LT',\n lastWeek : '[ਪਿਛਲੇ] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s ਵਿੱਚ',\n past : '%s ਪਿਛਲੇ',\n s : 'ਕੁਝ ਸਕਿੰਟ',\n ss : '%d ਸਕਿੰਟ',\n m : 'ਇਕ ਮਿੰਟ',\n mm : '%d ਮਿੰਟ',\n h : 'ਇੱਕ ਘੰਟਾ',\n hh : '%d ਘੰਟੇ',\n d : 'ਇੱਕ ਦਿਨ',\n dd : '%d ਦਿਨ',\n M : 'ਇੱਕ ਮਹੀਨਾ',\n MM : '%d ਮਹੀਨੇ',\n y : 'ਇੱਕ ਸਾਲ',\n yy : '%d ਸਾਲ'\n },\n preparse: function (string) {\n return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ਰਾਤ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ਸਵੇਰ') {\n return hour;\n } else if (meridiem === 'ਦੁਪਹਿਰ') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ਸ਼ਾਮ') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ਰਾਤ';\n } else if (hour < 10) {\n return 'ਸਵੇਰ';\n } else if (hour < 17) {\n return 'ਦੁਪਹਿਰ';\n } else if (hour < 20) {\n return 'ਸ਼ਾਮ';\n } else {\n return 'ਰਾਤ';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return paIn;\n\n})));\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var months = [\n 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'\n ];\n\n var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];\n\n var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];\n\n var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];\n\n var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];\n\n var gd = moment.defineLocale('gd', {\n months : months,\n monthsShort : monthsShort,\n monthsParseExact : true,\n weekdays : weekdays,\n weekdaysShort : weekdaysShort,\n weekdaysMin : weekdaysMin,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[An-diugh aig] LT',\n nextDay : '[A-màireach aig] LT',\n nextWeek : 'dddd [aig] LT',\n lastDay : '[An-dè aig] LT',\n lastWeek : 'dddd [seo chaidh] [aig] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'ann an %s',\n past : 'bho chionn %s',\n s : 'beagan diogan',\n ss : '%d diogan',\n m : 'mionaid',\n mm : '%d mionaidean',\n h : 'uair',\n hh : '%d uairean',\n d : 'latha',\n dd : '%d latha',\n M : 'mìos',\n MM : '%d mìosan',\n y : 'bliadhna',\n yy : '%d bliadhna'\n },\n dayOfMonthOrdinalParse : /\\d{1,2}(d|na|mh)/,\n ordinal : function (number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return gd;\n\n})));\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar WrappedPropertyBase_1 = require(\"./WrappedPropertyBase\");\nvar fmoney_1 = require(\"../methods/fmoney\");\nvar mround_1 = require(\"../methods/mround\");\nvar fnumber_1 = require(\"../methods/fnumber\");\nvar WrappedPropertyCtor_1 = require(\"./WrappedPropertyCtor\");\nvar functions_1 = require(\"./functions\");\nvar WrappedPropertyNumber = /** @class */ (function (_super) {\n __extends(WrappedPropertyNumber, _super);\n function WrappedPropertyNumber(dest, parent, propName, schema, options) {\n var _this = _super.call(this, dest, parent, propName, schema, options) || this;\n // //export const wrapSchemaProps = ['maxLength', 'minLength', 'maxItems', 'minItems', 'minimum', 'maximum', 'exclusiveMaximum', 'exclusiveMinimum', 'precision'];\n functions_1.wrapSchemaProps(_this.$schema, _this._internal, 'number', ['minimum', 'maximum', 'exclusiveMaximum', 'exclusiveMinimum', 'precision']);\n if (_this.$schema.warnings) {\n functions_1.wrapWarningProps(_this.$schema, _this._internal, 'number', ['minimum', 'maximum', 'exclusiveMaximum', 'exclusiveMinimum', 'precision']);\n }\n _this._internal.typeok = true;\n functions_1.initVue(_this, _this._internal);\n return _this;\n }\n WrappedPropertyNumber.prototype.$validate = function (value) {\n if (value === undefined) {\n value = this.$model;\n }\n // console.time('(number)$validate');\n this.$dirty = true;\n if (value === null) {\n // console.timeEnd('(number)$validate');\n if (!this._internal.typeok) {\n return functions_1.getRuleMessage(this._internal, 'type', value, this.$schema);\n }\n if (this.$schema.fieldRequired) {\n return functions_1.getRuleMessage(this._internal, 'required', value, this.$schema);\n }\n if (this.$schema.enum) {\n if (this.$schema.enum.indexOf(value) === -1) {\n return functions_1.getRuleMessage(this._internal, 'enum', value, this.$schema);\n }\n }\n return null;\n }\n var ivalue = +value;\n // console.timeEnd('(number)$validate');\n return _super.prototype.$validate.call(this, ivalue);\n };\n WrappedPropertyNumber.prototype.$check = function (value, checkResult) {\n if (this._internal.schema.warnings) {\n if (value === undefined) {\n value = this.$model;\n }\n // console.time('(number)$validate');\n this.$dirty = true;\n checkResult = checkResult || [];\n if (value === null) {\n // console.timeEnd('(number)$validate');\n if (this.$schema.warnings.fieldRequired) {\n checkResult.push(functions_1.getWarningMessage(this._internal, 'required', value, this.$schema));\n }\n if (this.$schema.warnings.enum) {\n if (this.$schema.warnings.enum.indexOf(value) === -1) {\n checkResult.push(functions_1.getWarningMessage(this._internal, 'enum', value, this.$schema));\n }\n }\n return checkResult;\n }\n var ivalue = +value;\n // console.timeEnd('(number)$validate');\n return _super.prototype.$check.call(this, ivalue, checkResult);\n }\n return [];\n };\n Object.defineProperty(WrappedPropertyNumber.prototype, \"$stringValue\", {\n get: function () {\n return this.$getUserData('stringValue', null);\n },\n enumerable: true,\n configurable: true\n });\n WrappedPropertyNumber.prototype.getValue = function () {\n var ivalue = this.$model;\n // let ivalue = obj.$model;\n /*\n if (this.$dirty) {\n this.$validate(ivalue);\n }\n */\n var stringValue = this.$getUserData('stringValue', null);\n if (ivalue === null) {\n // const svalue = this._internal.vm.stringValue;\n // if (svalue !== undefined && svalue !== null) {\n if (stringValue !== null) {\n return stringValue;\n }\n else {\n return '';\n }\n }\n if (isNaN(+ivalue)) {\n ivalue = 0;\n }\n // const err = validate(obj, ivalue);\n // if (obj.$path === 'LiczbaOdbiorcowZadania') {\n // console.log('validate ', JSON.stringify(ivalue), JSON.stringify(err));\n // }\n // vm.error = err ? getRuleMessage(schema, err, ivalue, $schema) : null;\n // let svalue = (\"\"+self.mround(ivalue)).replace(\".\",\",\");\n var svalue = '';\n switch (this.$schema.type) {\n case 'number':\n if (this.$schema.precision === undefined) {\n svalue = fnumber_1.default(ivalue, 8);\n }\n else {\n svalue = fnumber_1.default(ivalue, this.$schema.precision);\n }\n svalue = fnumber_1.default(ivalue, this.$schema.precision || 8);\n break;\n case 'money':\n if (this.$schema.precision === undefined) {\n svalue = fmoney_1.default(ivalue, false, 2);\n }\n else {\n svalue = fmoney_1.default(ivalue, false, this.$schema.precision);\n }\n break;\n case 'integer':\n svalue = fnumber_1.default(ivalue, 0);\n break;\n }\n // console.log($schema.type + 'Computed(get)', propName, JSON.stringify(svalue), err);\n return svalue;\n };\n WrappedPropertyNumber.prototype.setValue = function (newValue) {\n this._internal.typeok = true;\n var ivalue = null;\n if (this._options.dirtyOnInput) {\n this.$dirty = true;\n }\n // console.log('set model', JSON.stringify(newValue));\n if (newValue === '' || newValue == null) {\n /*\n if (this.$dirty && this.$schema.fieldRequired) {\n this.$error = getRuleMessage(this._internal.schema, 'required', newValue, this.$schema);\n // ok = false;\n // typeok = false;\n }\n */\n /*\n if (schema.default !== undefined) {\n ivalue = schema.default;\n //if (ivalue===0) {\n // typeok=true;\n //}\n }\n */\n ivalue = null;\n // this.$setUserData('stringValue', null);\n }\n else {\n ivalue = +newValue.replace(',', '.');\n if (isNaN(ivalue)) {\n /*\n if (this.$dirty) {\n this.$error = getRuleMessage(this._internal.schema, 'type', newValue, this.$schema);\n }\n this._internal.typeok = false;\n */\n this._internal.typeok = false;\n // this.$setUserData('stringValue', newValue);\n // this.stringValue = newValue;\n // ivalue = schema.default || null;\n ivalue = null;\n }\n else {\n // this.$setUserData('stringValue', null);\n }\n }\n // savedValue = ivalue;\n // if (this.focused) {\n if (!this._internal.typeok) {\n // tslint:disable-next-line: no-console\n // console.log('set $stringValue', newValue);\n this.$setUserData('stringValue', newValue);\n // this._internal.vm.stringValue = newValue;\n }\n else {\n this.$setUserData('stringValue', null);\n // this._internal.vm.stringValue = null;\n }\n var dvalue = 0;\n if (ivalue === null) {\n this.$model = null;\n }\n else {\n switch (this.$schema.type) {\n case 'integer':\n // console.log('set model', obj.$path, JSON.stringify(ivalue), JSON.stringify(mround(ivalue, 0)));\n dvalue = mround_1.default(ivalue, 0);\n break;\n case 'money':\n if (this.$schema.precision === undefined) {\n dvalue = mround_1.default(ivalue, 2);\n }\n else {\n dvalue = mround_1.default(ivalue, this.$schema.precision);\n }\n break;\n case 'number':\n if (this.$schema.precision === undefined) {\n dvalue = mround_1.default(ivalue, 8);\n }\n else {\n dvalue = mround_1.default(ivalue, this.$schema.precision);\n }\n break;\n }\n // console.log(schema.type + 'Computed(set)', propName, JSON.stringify(dvalue), JSON.stringify(typeok));\n // parent[propName] = dvalue;\n this.$model = dvalue;\n }\n };\n return WrappedPropertyNumber;\n}(WrappedPropertyBase_1.default));\nexports.default = WrappedPropertyNumber;\nWrappedPropertyCtor_1.default.integer = WrappedPropertyNumber;\nWrappedPropertyCtor_1.default.number = WrappedPropertyNumber;\nWrappedPropertyCtor_1.default.money = WrappedPropertyNumber;\n//# sourceMappingURL=WrappedPropertyNumber.js.map","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nl = moment.defineLocale('nl', {\n months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort : function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse : monthsParse,\n longMonthsParse : monthsParse,\n shortMonthsParse : monthsParse,\n\n weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD-MM-YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'over %s',\n past : '%s geleden',\n s : 'een paar seconden',\n ss : '%d seconden',\n m : 'één minuut',\n mm : '%d minuten',\n h : 'één uur',\n hh : '%d uur',\n d : 'één dag',\n dd : '%d dagen',\n M : 'één maand',\n MM : '%d maanden',\n y : 'één jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return nl;\n\n})));\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-popover',{staticClass:\"w-tooltip\",attrs:{\"placement\":_vm.placement || 'top',\"trigger\":_vm.trigger || 'hover'},scopedSlots:_vm._u([{key:\"popover\",fn:function(){return [_vm._t(\"default\",[_vm._v(_vm._s(_vm.tooltip))])]},proxy:true}],null,true)},[_c('span',{staticClass:\"footnote font-md text-primary\"},[_c('i',{staticClass:\"fa fa-fw fa-question-circle\"})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.15.0\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nvar longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\nvar timeoutDuration = 0;\nfor (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n timeoutDuration = 1;\n break;\n }\n}\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n case '#document':\n return element.body;\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null;\n\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent || null;\n // Skip hidden elements which don't have an offsetParent\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n }\n\n // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n }\n\n // Here we make sure to give as \"start\" the element that comes first in the DOM\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1;\n\n // Get common ancestor container\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer;\n\n // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n }\n\n // one of the nodes is inside shadowDOM, find which one\n var element1root = getRoot(element1);\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n var rect = {};\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n\n // subtract scrollbar size from sizes\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.right - result.left;\n var height = sizes.height || element.clientHeight || result.bottom - result.top;\n\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth, 10);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);\n\n // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0;\n\n // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop, 10);\n var marginLeft = parseFloat(styles.marginLeft, 10);\n\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft;\n\n // Attach marginTop and marginLeft because in some circumstances we may need them\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n\n return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n var parentNode = getParentNode(element);\n if (!parentNode) {\n return false;\n }\n return isFixed(parentNode);\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n var el = element.parentElement;\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n // NOTE: 1 DOM access here\n\n var boundaries = { top: 0, left: 0 };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n\n // Handle viewport case\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n // In case of HTML, we need a different computation\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n }\n\n // Add paddings\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n\n return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n var variation = placement.split('-')[1];\n\n return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0];\n\n // Get popper node sizes\n var popperRect = getOuterSizes(popper);\n\n // Add position, width and height to our offsets object\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n };\n\n // depending by the popper placement we have to compute its offsets slightly differently\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n }\n\n // use `filter` to obtain the same behavior of `find`\n return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n }\n\n // use `find` + `indexOf` if `findIndex` isn't supported\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n\n data = fn(data, modifier);\n }\n });\n\n return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style. \n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n };\n\n // compute reference element offsets\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n // store the computed placement inside `originalPlacement`\n data.originalPlacement = data.placement;\n\n data.positionFixed = this.options.positionFixed;\n\n // compute the popper offsets\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n // run the modifiers\n data = runModifiers(this.modifiers, data);\n\n // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n this.state.isDestroyed = true;\n\n // touch DOM only if `applyStyle` modifier is enabled\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners();\n\n // remove the popper if user explicity asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, { passive: true });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n // Scroll event listener on scroll parents\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n\n return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound);\n\n // Remove scroll event listener on scroll parents\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n });\n\n // Reset state\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = '';\n // add unit if the value is numeric and is one of the following\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n element.style[prop] = styles[prop] + unit;\n });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles);\n\n // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n setAttributes(data.instance.popper, data.attributes);\n\n // if arrowElement is defined and arrowStyles has some properties\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n popper.setAttribute('x-placement', placement);\n\n // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var round = Math.round,\n floor = Math.floor;\n\n var noRound = function noRound(v) {\n return v;\n };\n\n var referenceWidth = round(reference.width);\n var popperWidth = round(popper.width);\n\n var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n var isVariation = data.placement.indexOf('-') !== -1;\n var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n var verticalToInteger = !shouldRound ? noRound : round;\n\n return {\n left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n top: verticalToInteger(popper.top),\n bottom: verticalToInteger(popper.bottom),\n right: horizontalToInteger(popper.right)\n };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper;\n\n // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent);\n\n // Styles\n var styles = {\n position: popper.position\n };\n\n var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right';\n\n // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n var prefixedProperty = getSupportedPropertyName('transform');\n\n // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n var left = void 0,\n top = void 0;\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n }\n\n // Attributes\n var attributes = {\n 'x-placement': data.placement\n };\n\n // Update `data` attributes, styles and arrowStyles\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one. \n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n var _data$offsets$arrow;\n\n // arrow depends on keepTogether in order to work\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element;\n\n // if arrowElement is a string, suppose it's a CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement);\n\n // if arrowElement is not found, don't run the modifier\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n\n // top/left side\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n }\n // bottom/right side\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n data.offsets.popper = getClientRect(data.offsets.popper);\n\n // compute center of the popper\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n // prevent arrowElement from being placed not contiguously to its popper\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option. \n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right. \n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference;\n\n // using floor because the reference offsets may contain decimals we are not going to consider here\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n // flip the variation if required\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n // flips variation if reference element overflows boundaries\n var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n // flips variation if popper content overflows boundaries\n var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n\n var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : '');\n\n // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2];\n\n // If it's not a number it's an operator, I guess\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0];\n\n // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n });\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n }\n\n // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n // Convert the values with units to absolute pixels to allow our computations\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op\n // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, [])\n // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var basePlacement = placement.split('-')[0];\n\n var offsets = void 0;\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n }\n\n // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n\n options.boundaries = boundaries;\n\n var order = options.priority;\n var popper = data.offsets.popper;\n\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n return defineProperty({}, mainSide, value);\n }\n };\n\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n\n data.offsets.popper = popper;\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1];\n\n // if shift shiftvariation is specified, run the modifier\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n\n return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property. \n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers. \n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element. \n * It will read the variation of the `placement` property. \n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper. \n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces. \n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2. \n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: offset,\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries. \n * We can say it has \"escaped the boundaries\" — or just \"escaped\". \n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: arrow,\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: flip,\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport',\n /**\n * @prop {Boolean} flipVariations=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the reference element overlaps its boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariations: false,\n /**\n * @prop {Boolean} flipVariationsByContent=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the popper element overlaps its reference boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariationsByContent: false\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: computeStyle,\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: applyStyle,\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor. \n * These can be overridden using the `options` argument of Popper.js. \n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created. \n * By default, it is set to no-op. \n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates. \n * By default, it is set to no-op. \n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {Element|referenceObject} reference - The reference element used to position the popper\n * @param {Element} popper - The HTML / XML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n };\n\n // make update() debounced, so that it only runs at most once-per-tick\n this.update = debounce(this.update.bind(this));\n\n // with {} we create a new object with the options inside it\n this.options = _extends({}, Popper.Defaults, options);\n\n // init state\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n };\n\n // get reference and popper elements (allow jQuery wrappers)\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper;\n\n // Deep merge modifiers options\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n });\n\n // Refactoring modifiers' list (Object => Array)\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n })\n // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n });\n\n // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n });\n\n // fire the first update to position the popper in the right place\n this.update();\n\n var eventsEnabled = this.options.eventsEnabled;\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n }\n\n // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node. \n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nexport default Popper;\n//# sourceMappingURL=popper.js.map\n","function getInternetExplorerVersion() {\n\tvar ua = window.navigator.userAgent;\n\n\tvar msie = ua.indexOf('MSIE ');\n\tif (msie > 0) {\n\t\t// IE 10 or older => return version number\n\t\treturn parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);\n\t}\n\n\tvar trident = ua.indexOf('Trident/');\n\tif (trident > 0) {\n\t\t// IE 11 => return version number\n\t\tvar rv = ua.indexOf('rv:');\n\t\treturn parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);\n\t}\n\n\tvar edge = ua.indexOf('Edge/');\n\tif (edge > 0) {\n\t\t// Edge (IE 12+) => return version number\n\t\treturn parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);\n\t}\n\n\t// other browser\n\treturn -1;\n}\n\nvar isIE = void 0;\n\nfunction initCompat() {\n\tif (!initCompat.init) {\n\t\tinitCompat.init = true;\n\t\tisIE = getInternetExplorerVersion() !== -1;\n\t}\n}\n\nvar ResizeObserver = { render: function render() {\n\t\tvar _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: \"resize-observer\", attrs: { \"tabindex\": \"-1\" } });\n\t}, staticRenderFns: [], _scopeId: 'data-v-b329ee4c',\n\tname: 'resize-observer',\n\n\tmethods: {\n\t\tcompareAndNotify: function compareAndNotify() {\n\t\t\tif (this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) {\n\t\t\t\tthis._w = this.$el.offsetWidth;\n\t\t\t\tthis._h = this.$el.offsetHeight;\n\t\t\t\tthis.$emit('notify');\n\t\t\t}\n\t\t},\n\t\taddResizeHandlers: function addResizeHandlers() {\n\t\t\tthis._resizeObject.contentDocument.defaultView.addEventListener('resize', this.compareAndNotify);\n\t\t\tthis.compareAndNotify();\n\t\t},\n\t\tremoveResizeHandlers: function removeResizeHandlers() {\n\t\t\tif (this._resizeObject && this._resizeObject.onload) {\n\t\t\t\tif (!isIE && this._resizeObject.contentDocument) {\n\t\t\t\t\tthis._resizeObject.contentDocument.defaultView.removeEventListener('resize', this.compareAndNotify);\n\t\t\t\t}\n\t\t\t\tdelete this._resizeObject.onload;\n\t\t\t}\n\t\t}\n\t},\n\n\tmounted: function mounted() {\n\t\tvar _this = this;\n\n\t\tinitCompat();\n\t\tthis.$nextTick(function () {\n\t\t\t_this._w = _this.$el.offsetWidth;\n\t\t\t_this._h = _this.$el.offsetHeight;\n\t\t});\n\t\tvar object = document.createElement('object');\n\t\tthis._resizeObject = object;\n\t\tobject.setAttribute('aria-hidden', 'true');\n\t\tobject.setAttribute('tabindex', -1);\n\t\tobject.onload = this.addResizeHandlers;\n\t\tobject.type = 'text/html';\n\t\tif (isIE) {\n\t\t\tthis.$el.appendChild(object);\n\t\t}\n\t\tobject.data = 'about:blank';\n\t\tif (!isIE) {\n\t\t\tthis.$el.appendChild(object);\n\t\t}\n\t},\n\tbeforeDestroy: function beforeDestroy() {\n\t\tthis.removeResizeHandlers();\n\t}\n};\n\n// Install the components\nfunction install(Vue) {\n\tVue.component('resize-observer', ResizeObserver);\n\tVue.component('ResizeObserver', ResizeObserver);\n}\n\n// Plugin\nvar plugin = {\n\t// eslint-disable-next-line no-undef\n\tversion: \"0.4.5\",\n\tinstall: install\n};\n\n// Auto-install\nvar GlobalVue = null;\nif (typeof window !== 'undefined') {\n\tGlobalVue = window.Vue;\n} else if (typeof global !== 'undefined') {\n\tGlobalVue = global.Vue;\n}\nif (GlobalVue) {\n\tGlobalVue.use(plugin);\n}\n\nexport { install, ResizeObserver };\nexport default plugin;\n","import Popper from 'popper.js';\nimport { ResizeObserver } from 'vue-resize';\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}\n\nvar SVGAnimatedString = function SVGAnimatedString() {};\n\nif (typeof window !== 'undefined') {\n SVGAnimatedString = window.SVGAnimatedString;\n}\n\nfunction convertToArray(value) {\n if (typeof value === 'string') {\n value = value.split(' ');\n }\n\n return value;\n}\n/**\n * Add classes to an element.\n * This method checks to ensure that the classes don't already exist before adding them.\n * It uses el.className rather than classList in order to be IE friendly.\n * @param {object} el - The element to add the classes to.\n * @param {classes} string - List of space separated classes to be added to the element.\n */\n\nfunction addClasses(el, classes) {\n var newClasses = convertToArray(classes);\n var classList;\n\n if (el.className instanceof SVGAnimatedString) {\n classList = convertToArray(el.className.baseVal);\n } else {\n classList = convertToArray(el.className);\n }\n\n newClasses.forEach(function (newClass) {\n if (classList.indexOf(newClass) === -1) {\n classList.push(newClass);\n }\n });\n\n if (el instanceof SVGElement) {\n el.setAttribute('class', classList.join(' '));\n } else {\n el.className = classList.join(' ');\n }\n}\n/**\n * Remove classes from an element.\n * It uses el.className rather than classList in order to be IE friendly.\n * @export\n * @param {any} el The element to remove the classes from.\n * @param {any} classes List of space separated classes to be removed from the element.\n */\n\nfunction removeClasses(el, classes) {\n var newClasses = convertToArray(classes);\n var classList;\n\n if (el.className instanceof SVGAnimatedString) {\n classList = convertToArray(el.className.baseVal);\n } else {\n classList = convertToArray(el.className);\n }\n\n newClasses.forEach(function (newClass) {\n var index = classList.indexOf(newClass);\n\n if (index !== -1) {\n classList.splice(index, 1);\n }\n });\n\n if (el instanceof SVGElement) {\n el.setAttribute('class', classList.join(' '));\n } else {\n el.className = classList.join(' ');\n }\n}\nvar supportsPassive = false;\n\nif (typeof window !== 'undefined') {\n supportsPassive = false;\n\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportsPassive = true;\n }\n });\n window.addEventListener('test', null, opts);\n } catch (e) {}\n}\n\nvar DEFAULT_OPTIONS = {\n container: false,\n delay: 0,\n html: false,\n placement: 'top',\n title: '',\n template: '',\n trigger: 'hover focus',\n offset: 0\n};\nvar openTooltips = [];\n\nvar Tooltip =\n/*#__PURE__*/\nfunction () {\n /**\n * Create a new Tooltip.js instance\n * @class Tooltip\n * @param {HTMLElement} reference - The DOM node used as reference of the tooltip (it can be a jQuery element).\n * @param {Object} options\n * @param {String} options.placement=bottom\n * Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -end),\n * left(-start, -end)`\n * @param {HTMLElement|String|false} options.container=false - Append the tooltip to a specific element.\n * @param {Number|Object} options.delay=0\n * Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type.\n * If a number is supplied, delay is applied to both hide/show.\n * Object structure is: `{ show: 500, hide: 100 }`\n * @param {Boolean} options.html=false - Insert HTML into the tooltip. If false, the content will inserted with `innerText`.\n * @param {String|PlacementFunction} options.placement='top' - One of the allowed placements, or a function returning one of them.\n * @param {String} [options.template='']\n * Base HTML to used when creating the tooltip.\n * The tooltip's `title` will be injected into the `.tooltip-inner` or `.tooltip__inner`.\n * `.tooltip-arrow` or `.tooltip__arrow` will become the tooltip's arrow.\n * The outermost wrapper element should have the `.tooltip` class.\n * @param {String|HTMLElement|TitleFunction} options.title='' - Default title value if `title` attribute isn't present.\n * @param {String} [options.trigger='hover focus']\n * How tooltip is triggered - click, hover, focus, manual.\n * You may pass multiple triggers; separate them with a space. `manual` cannot be combined with any other trigger.\n * @param {HTMLElement} options.boundariesElement\n * The element used as boundaries for the tooltip. For more information refer to Popper.js'\n * [boundariesElement docs](https://popper.js.org/popper-documentation.html)\n * @param {Number|String} options.offset=0 - Offset of the tooltip relative to its reference. For more information refer to Popper.js'\n * [offset docs](https://popper.js.org/popper-documentation.html)\n * @param {Object} options.popperOptions={} - Popper options, will be passed directly to popper instance. For more information refer to Popper.js'\n * [options docs](https://popper.js.org/popper-documentation.html)\n * @return {Object} instance - The generated tooltip instance\n */\n function Tooltip(_reference, _options) {\n var _this = this;\n\n _classCallCheck(this, Tooltip);\n\n _defineProperty(this, \"_events\", []);\n\n _defineProperty(this, \"_setTooltipNodeEvent\", function (evt, reference, delay, options) {\n var relatedreference = evt.relatedreference || evt.toElement || evt.relatedTarget;\n\n var callback = function callback(evt2) {\n var relatedreference2 = evt2.relatedreference || evt2.toElement || evt2.relatedTarget; // Remove event listener after call\n\n _this._tooltipNode.removeEventListener(evt.type, callback); // If the new reference is not the reference element\n\n\n if (!reference.contains(relatedreference2)) {\n // Schedule to hide tooltip\n _this._scheduleHide(reference, options.delay, options, evt2);\n }\n };\n\n if (_this._tooltipNode.contains(relatedreference)) {\n // listen to mouseleave on the tooltip element to be able to hide the tooltip\n _this._tooltipNode.addEventListener(evt.type, callback);\n\n return true;\n }\n\n return false;\n });\n\n // apply user options over default ones\n _options = _objectSpread({}, DEFAULT_OPTIONS, _options);\n _reference.jquery && (_reference = _reference[0]);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this); // cache reference and options\n\n this.reference = _reference;\n this.options = _options; // set initial state\n\n this._isOpen = false;\n\n this._init();\n } //\n // Public methods\n //\n\n /**\n * Reveals an element's tooltip. This is considered a \"manual\" triggering of the tooltip.\n * Tooltips with zero-length titles are never displayed.\n * @method Tooltip#show\n * @memberof Tooltip\n */\n\n\n _createClass(Tooltip, [{\n key: \"show\",\n value: function show() {\n this._show(this.reference, this.options);\n }\n /**\n * Hides an element’s tooltip. This is considered a “manual” triggering of the tooltip.\n * @method Tooltip#hide\n * @memberof Tooltip\n */\n\n }, {\n key: \"hide\",\n value: function hide() {\n this._hide();\n }\n /**\n * Hides and destroys an element’s tooltip.\n * @method Tooltip#dispose\n * @memberof Tooltip\n */\n\n }, {\n key: \"dispose\",\n value: function dispose() {\n this._dispose();\n }\n /**\n * Toggles an element’s tooltip. This is considered a “manual” triggering of the tooltip.\n * @method Tooltip#toggle\n * @memberof Tooltip\n */\n\n }, {\n key: \"toggle\",\n value: function toggle() {\n if (this._isOpen) {\n return this.hide();\n } else {\n return this.show();\n }\n }\n }, {\n key: \"setClasses\",\n value: function setClasses(classes) {\n this._classes = classes;\n }\n }, {\n key: \"setContent\",\n value: function setContent(content) {\n this.options.title = content;\n\n if (this._tooltipNode) {\n this._setContent(content, this.options);\n }\n }\n }, {\n key: \"setOptions\",\n value: function setOptions(options) {\n var classesUpdated = false;\n var classes = options && options.classes || directive.options.defaultClass;\n\n if (this._classes !== classes) {\n this.setClasses(classes);\n classesUpdated = true;\n }\n\n options = getOptions(options);\n var needPopperUpdate = false;\n var needRestart = false;\n\n if (this.options.offset !== options.offset || this.options.placement !== options.placement) {\n needPopperUpdate = true;\n }\n\n if (this.options.template !== options.template || this.options.trigger !== options.trigger || this.options.container !== options.container || classesUpdated) {\n needRestart = true;\n }\n\n for (var key in options) {\n this.options[key] = options[key];\n }\n\n if (this._tooltipNode) {\n if (needRestart) {\n var isOpen = this._isOpen;\n this.dispose();\n\n this._init();\n\n if (isOpen) {\n this.show();\n }\n } else if (needPopperUpdate) {\n this.popperInstance.update();\n }\n }\n } //\n // Private methods\n //\n\n }, {\n key: \"_init\",\n value: function _init() {\n // get events list\n var events = typeof this.options.trigger === 'string' ? this.options.trigger.split(' ') : [];\n this._isDisposed = false;\n this._enableDocumentTouch = events.indexOf('manual') === -1;\n events = events.filter(function (trigger) {\n return ['click', 'hover', 'focus'].indexOf(trigger) !== -1;\n }); // set event listeners\n\n this._setEventListeners(this.reference, events, this.options); // title attribute\n\n\n this.$_originalTitle = this.reference.getAttribute('title');\n this.reference.removeAttribute('title');\n this.reference.setAttribute('data-original-title', this.$_originalTitle);\n }\n /**\n * Creates a new tooltip node\n * @memberof Tooltip\n * @private\n * @param {HTMLElement} reference\n * @param {String} template\n * @param {String|HTMLElement|TitleFunction} title\n * @param {Boolean} allowHtml\n * @return {HTMLelement} tooltipNode\n */\n\n }, {\n key: \"_create\",\n value: function _create(reference, template) {\n // create tooltip element\n var tooltipGenerator = window.document.createElement('div');\n tooltipGenerator.innerHTML = template.trim();\n var tooltipNode = tooltipGenerator.childNodes[0]; // add unique ID to our tooltip (needed for accessibility reasons)\n\n tooltipNode.id = \"tooltip_\".concat(Math.random().toString(36).substr(2, 10)); // Initially hide the tooltip\n // The attribute will be switched in a next frame so\n // CSS transitions can play\n\n tooltipNode.setAttribute('aria-hidden', 'true');\n\n if (this.options.autoHide && this.options.trigger.indexOf('hover') !== -1) {\n tooltipNode.addEventListener('mouseenter', this.hide);\n tooltipNode.addEventListener('click', this.hide);\n } // return the generated tooltip node\n\n\n return tooltipNode;\n }\n }, {\n key: \"_setContent\",\n value: function _setContent(content, options) {\n var _this2 = this;\n\n this.asyncContent = false;\n\n this._applyContent(content, options).then(function () {\n _this2.popperInstance.update();\n });\n }\n }, {\n key: \"_applyContent\",\n value: function _applyContent(title, options) {\n var _this3 = this;\n\n return new Promise(function (resolve, reject) {\n var allowHtml = options.html;\n var rootNode = _this3._tooltipNode;\n if (!rootNode) return;\n var titleNode = rootNode.querySelector(_this3.options.innerSelector);\n\n if (title.nodeType === 1) {\n // if title is a node, append it only if allowHtml is true\n if (allowHtml) {\n while (titleNode.firstChild) {\n titleNode.removeChild(titleNode.firstChild);\n }\n\n titleNode.appendChild(title);\n }\n } else if (typeof title === 'function') {\n // if title is a function, call it and set innerText or innerHtml depending by `allowHtml` value\n var result = title();\n\n if (result && typeof result.then === 'function') {\n _this3.asyncContent = true;\n options.loadingClass && addClasses(rootNode, options.loadingClass);\n\n if (options.loadingContent) {\n _this3._applyContent(options.loadingContent, options);\n }\n\n result.then(function (asyncResult) {\n options.loadingClass && removeClasses(rootNode, options.loadingClass);\n return _this3._applyContent(asyncResult, options);\n }).then(resolve).catch(reject);\n } else {\n _this3._applyContent(result, options).then(resolve).catch(reject);\n }\n\n return;\n } else {\n // if it's just a simple text, set innerText or innerHtml depending by `allowHtml` value\n allowHtml ? titleNode.innerHTML = title : titleNode.innerText = title;\n }\n\n resolve();\n });\n }\n }, {\n key: \"_show\",\n value: function _show(reference, options) {\n if (options && typeof options.container === 'string') {\n var container = document.querySelector(options.container);\n if (!container) return;\n }\n\n clearTimeout(this._disposeTimer);\n options = Object.assign({}, options);\n delete options.offset;\n var updateClasses = true;\n\n if (this._tooltipNode) {\n addClasses(this._tooltipNode, this._classes);\n updateClasses = false;\n }\n\n var result = this._ensureShown(reference, options);\n\n if (updateClasses && this._tooltipNode) {\n addClasses(this._tooltipNode, this._classes);\n }\n\n addClasses(reference, ['v-tooltip-open']);\n return result;\n }\n }, {\n key: \"_ensureShown\",\n value: function _ensureShown(reference, options) {\n var _this4 = this;\n\n // don't show if it's already visible\n if (this._isOpen) {\n return this;\n }\n\n this._isOpen = true;\n openTooltips.push(this); // if the tooltipNode already exists, just show it\n\n if (this._tooltipNode) {\n this._tooltipNode.style.display = '';\n\n this._tooltipNode.setAttribute('aria-hidden', 'false');\n\n this.popperInstance.enableEventListeners();\n this.popperInstance.update();\n\n if (this.asyncContent) {\n this._setContent(options.title, options);\n }\n\n return this;\n } // get title\n\n\n var title = reference.getAttribute('title') || options.title; // don't show tooltip if no title is defined\n\n if (!title) {\n return this;\n } // create tooltip node\n\n\n var tooltipNode = this._create(reference, options.template);\n\n this._tooltipNode = tooltipNode; // Add `aria-describedby` to our reference element for accessibility reasons\n\n reference.setAttribute('aria-describedby', tooltipNode.id); // append tooltip to container\n\n var container = this._findContainer(options.container, reference);\n\n this._append(tooltipNode, container);\n\n var popperOptions = _objectSpread({}, options.popperOptions, {\n placement: options.placement\n });\n\n popperOptions.modifiers = _objectSpread({}, popperOptions.modifiers, {\n arrow: {\n element: this.options.arrowSelector\n }\n });\n\n if (options.boundariesElement) {\n popperOptions.modifiers.preventOverflow = {\n boundariesElement: options.boundariesElement\n };\n }\n\n this.popperInstance = new Popper(reference, tooltipNode, popperOptions);\n\n this._setContent(title, options); // Fix position\n\n\n requestAnimationFrame(function () {\n if (!_this4._isDisposed && _this4.popperInstance) {\n _this4.popperInstance.update(); // Show the tooltip\n\n\n requestAnimationFrame(function () {\n if (!_this4._isDisposed) {\n _this4._isOpen && tooltipNode.setAttribute('aria-hidden', 'false');\n } else {\n _this4.dispose();\n }\n });\n } else {\n _this4.dispose();\n }\n });\n return this;\n }\n }, {\n key: \"_noLongerOpen\",\n value: function _noLongerOpen() {\n var index = openTooltips.indexOf(this);\n\n if (index !== -1) {\n openTooltips.splice(index, 1);\n }\n }\n }, {\n key: \"_hide\",\n value: function _hide()\n /* reference, options */\n {\n var _this5 = this;\n\n // don't hide if it's already hidden\n if (!this._isOpen) {\n return this;\n }\n\n this._isOpen = false;\n\n this._noLongerOpen(); // hide tooltipNode\n\n\n this._tooltipNode.style.display = 'none';\n\n this._tooltipNode.setAttribute('aria-hidden', 'true');\n\n this.popperInstance.disableEventListeners();\n clearTimeout(this._disposeTimer);\n var disposeTime = directive.options.disposeTimeout;\n\n if (disposeTime !== null) {\n this._disposeTimer = setTimeout(function () {\n if (_this5._tooltipNode) {\n _this5._tooltipNode.removeEventListener('mouseenter', _this5.hide);\n\n _this5._tooltipNode.removeEventListener('click', _this5.hide); // Don't remove popper instance, just the HTML element\n\n\n _this5._removeTooltipNode();\n }\n }, disposeTime);\n }\n\n removeClasses(this.reference, ['v-tooltip-open']);\n return this;\n }\n }, {\n key: \"_removeTooltipNode\",\n value: function _removeTooltipNode() {\n if (!this._tooltipNode) return;\n var parentNode = this._tooltipNode.parentNode;\n\n if (parentNode) {\n parentNode.removeChild(this._tooltipNode);\n this.reference.removeAttribute('aria-describedby');\n }\n\n this._tooltipNode = null;\n }\n }, {\n key: \"_dispose\",\n value: function _dispose() {\n var _this6 = this;\n\n this._isDisposed = true;\n this.reference.removeAttribute('data-original-title');\n\n if (this.$_originalTitle) {\n this.reference.setAttribute('title', this.$_originalTitle);\n } // remove event listeners first to prevent any unexpected behaviour\n\n\n this._events.forEach(function (_ref) {\n var func = _ref.func,\n event = _ref.event;\n\n _this6.reference.removeEventListener(event, func);\n });\n\n this._events = [];\n\n if (this._tooltipNode) {\n this._hide();\n\n this._tooltipNode.removeEventListener('mouseenter', this.hide);\n\n this._tooltipNode.removeEventListener('click', this.hide); // destroy instance\n\n\n this.popperInstance.destroy(); // destroy tooltipNode if removeOnDestroy is not set, as popperInstance.destroy() already removes the element\n\n if (!this.popperInstance.options.removeOnDestroy) {\n this._removeTooltipNode();\n }\n } else {\n this._noLongerOpen();\n }\n\n return this;\n }\n }, {\n key: \"_findContainer\",\n value: function _findContainer(container, reference) {\n // if container is a query, get the relative element\n if (typeof container === 'string') {\n container = window.document.querySelector(container);\n } else if (container === false) {\n // if container is `false`, set it to reference parent\n container = reference.parentNode;\n }\n\n return container;\n }\n /**\n * Append tooltip to container\n * @memberof Tooltip\n * @private\n * @param {HTMLElement} tooltip\n * @param {HTMLElement|String|false} container\n */\n\n }, {\n key: \"_append\",\n value: function _append(tooltipNode, container) {\n container.appendChild(tooltipNode);\n }\n }, {\n key: \"_setEventListeners\",\n value: function _setEventListeners(reference, events, options) {\n var _this7 = this;\n\n var directEvents = [];\n var oppositeEvents = [];\n events.forEach(function (event) {\n switch (event) {\n case 'hover':\n directEvents.push('mouseenter');\n oppositeEvents.push('mouseleave');\n if (_this7.options.hideOnTargetClick) oppositeEvents.push('click');\n break;\n\n case 'focus':\n directEvents.push('focus');\n oppositeEvents.push('blur');\n if (_this7.options.hideOnTargetClick) oppositeEvents.push('click');\n break;\n\n case 'click':\n directEvents.push('click');\n oppositeEvents.push('click');\n break;\n }\n }); // schedule show tooltip\n\n directEvents.forEach(function (event) {\n var func = function func(evt) {\n if (_this7._isOpen === true) {\n return;\n }\n\n evt.usedByTooltip = true;\n\n _this7._scheduleShow(reference, options.delay, options, evt);\n };\n\n _this7._events.push({\n event: event,\n func: func\n });\n\n reference.addEventListener(event, func);\n }); // schedule hide tooltip\n\n oppositeEvents.forEach(function (event) {\n var func = function func(evt) {\n if (evt.usedByTooltip === true) {\n return;\n }\n\n _this7._scheduleHide(reference, options.delay, options, evt);\n };\n\n _this7._events.push({\n event: event,\n func: func\n });\n\n reference.addEventListener(event, func);\n });\n }\n }, {\n key: \"_onDocumentTouch\",\n value: function _onDocumentTouch(event) {\n if (this._enableDocumentTouch) {\n this._scheduleHide(this.reference, this.options.delay, this.options, event);\n }\n }\n }, {\n key: \"_scheduleShow\",\n value: function _scheduleShow(reference, delay, options\n /*, evt */\n ) {\n var _this8 = this;\n\n // defaults to 0\n var computedDelay = delay && delay.show || delay || 0;\n clearTimeout(this._scheduleTimer);\n this._scheduleTimer = window.setTimeout(function () {\n return _this8._show(reference, options);\n }, computedDelay);\n }\n }, {\n key: \"_scheduleHide\",\n value: function _scheduleHide(reference, delay, options, evt) {\n var _this9 = this;\n\n // defaults to 0\n var computedDelay = delay && delay.hide || delay || 0;\n clearTimeout(this._scheduleTimer);\n this._scheduleTimer = window.setTimeout(function () {\n if (_this9._isOpen === false) {\n return;\n }\n\n if (!document.body.contains(_this9._tooltipNode)) {\n return;\n } // if we are hiding because of a mouseleave, we must check that the new\n // reference isn't the tooltip, because in this case we don't want to hide it\n\n\n if (evt.type === 'mouseleave') {\n var isSet = _this9._setTooltipNodeEvent(evt, reference, delay, options); // if we set the new event, don't hide the tooltip yet\n // the new event will take care to hide it if necessary\n\n\n if (isSet) {\n return;\n }\n }\n\n _this9._hide(reference, options);\n }, computedDelay);\n }\n }]);\n\n return Tooltip;\n}(); // Hide tooltips on touch devices\n\nif (typeof document !== 'undefined') {\n document.addEventListener('touchstart', function (event) {\n for (var i = 0; i < openTooltips.length; i++) {\n openTooltips[i]._onDocumentTouch(event);\n }\n }, supportsPassive ? {\n passive: true,\n capture: true\n } : true);\n}\n/**\n * Placement function, its context is the Tooltip instance.\n * @memberof Tooltip\n * @callback PlacementFunction\n * @param {HTMLElement} tooltip - tooltip DOM node.\n * @param {HTMLElement} reference - reference DOM node.\n * @return {String} placement - One of the allowed placement options.\n */\n\n/**\n * Title function, its context is the Tooltip instance.\n * @memberof Tooltip\n * @callback TitleFunction\n * @return {String} placement - The desired title.\n */\n\nvar state = {\n enabled: true\n};\nvar positions = ['top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end'];\nvar defaultOptions = {\n // Default tooltip placement relative to target element\n defaultPlacement: 'top',\n // Default CSS classes applied to the tooltip element\n defaultClass: 'vue-tooltip-theme',\n // Default CSS classes applied to the target element of the tooltip\n defaultTargetClass: 'has-tooltip',\n // Is the content HTML by default?\n defaultHtml: true,\n // Default HTML template of the tooltip element\n // It must include `tooltip-arrow` & `tooltip-inner` CSS classes (can be configured, see below)\n // Change if the classes conflict with other libraries (for example bootstrap)\n defaultTemplate: '',\n // Selector used to get the arrow element in the tooltip template\n defaultArrowSelector: '.tooltip-arrow, .tooltip__arrow',\n // Selector used to get the inner content element in the tooltip template\n defaultInnerSelector: '.tooltip-inner, .tooltip__inner',\n // Delay (ms)\n defaultDelay: 0,\n // Default events that trigger the tooltip\n defaultTrigger: 'hover focus',\n // Default position offset (px)\n defaultOffset: 0,\n // Default container where the tooltip will be appended\n defaultContainer: 'body',\n defaultBoundariesElement: undefined,\n defaultPopperOptions: {},\n // Class added when content is loading\n defaultLoadingClass: 'tooltip-loading',\n // Displayed when tooltip content is loading\n defaultLoadingContent: '...',\n // Hide on mouseover tooltip\n autoHide: true,\n // Close tooltip on click on tooltip target?\n defaultHideOnTargetClick: true,\n // Auto destroy tooltip DOM nodes (ms)\n disposeTimeout: 5000,\n // Options for popover\n popover: {\n defaultPlacement: 'bottom',\n // Use the `popoverClass` prop for theming\n defaultClass: 'vue-popover-theme',\n // Base class (change if conflicts with other libraries)\n defaultBaseClass: 'tooltip popover',\n // Wrapper class (contains arrow and inner)\n defaultWrapperClass: 'wrapper',\n // Inner content class\n defaultInnerClass: 'tooltip-inner popover-inner',\n // Arrow class\n defaultArrowClass: 'tooltip-arrow popover-arrow',\n // Class added when popover is open\n defaultOpenClass: 'open',\n defaultDelay: 0,\n defaultTrigger: 'click',\n defaultOffset: 0,\n defaultContainer: 'body',\n defaultBoundariesElement: undefined,\n defaultPopperOptions: {},\n // Hides if clicked outside of popover\n defaultAutoHide: true,\n // Update popper on content resize\n defaultHandleResize: true\n }\n};\nfunction getOptions(options) {\n var result = {\n placement: typeof options.placement !== 'undefined' ? options.placement : directive.options.defaultPlacement,\n delay: typeof options.delay !== 'undefined' ? options.delay : directive.options.defaultDelay,\n html: typeof options.html !== 'undefined' ? options.html : directive.options.defaultHtml,\n template: typeof options.template !== 'undefined' ? options.template : directive.options.defaultTemplate,\n arrowSelector: typeof options.arrowSelector !== 'undefined' ? options.arrowSelector : directive.options.defaultArrowSelector,\n innerSelector: typeof options.innerSelector !== 'undefined' ? options.innerSelector : directive.options.defaultInnerSelector,\n trigger: typeof options.trigger !== 'undefined' ? options.trigger : directive.options.defaultTrigger,\n offset: typeof options.offset !== 'undefined' ? options.offset : directive.options.defaultOffset,\n container: typeof options.container !== 'undefined' ? options.container : directive.options.defaultContainer,\n boundariesElement: typeof options.boundariesElement !== 'undefined' ? options.boundariesElement : directive.options.defaultBoundariesElement,\n autoHide: typeof options.autoHide !== 'undefined' ? options.autoHide : directive.options.autoHide,\n hideOnTargetClick: typeof options.hideOnTargetClick !== 'undefined' ? options.hideOnTargetClick : directive.options.defaultHideOnTargetClick,\n loadingClass: typeof options.loadingClass !== 'undefined' ? options.loadingClass : directive.options.defaultLoadingClass,\n loadingContent: typeof options.loadingContent !== 'undefined' ? options.loadingContent : directive.options.defaultLoadingContent,\n popperOptions: _objectSpread({}, typeof options.popperOptions !== 'undefined' ? options.popperOptions : directive.options.defaultPopperOptions)\n };\n\n if (result.offset) {\n var typeofOffset = _typeof(result.offset);\n\n var offset = result.offset; // One value -> switch\n\n if (typeofOffset === 'number' || typeofOffset === 'string' && offset.indexOf(',') === -1) {\n offset = \"0, \".concat(offset);\n }\n\n if (!result.popperOptions.modifiers) {\n result.popperOptions.modifiers = {};\n }\n\n result.popperOptions.modifiers.offset = {\n offset: offset\n };\n }\n\n if (result.trigger && result.trigger.indexOf('click') !== -1) {\n result.hideOnTargetClick = false;\n }\n\n return result;\n}\nfunction getPlacement(value, modifiers) {\n var placement = value.placement;\n\n for (var i = 0; i < positions.length; i++) {\n var pos = positions[i];\n\n if (modifiers[pos]) {\n placement = pos;\n }\n }\n\n return placement;\n}\nfunction getContent(value) {\n var type = _typeof(value);\n\n if (type === 'string') {\n return value;\n } else if (value && type === 'object') {\n return value.content;\n } else {\n return false;\n }\n}\nfunction createTooltip(el, value) {\n var modifiers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var content = getContent(value);\n var classes = typeof value.classes !== 'undefined' ? value.classes : directive.options.defaultClass;\n\n var opts = _objectSpread({\n title: content\n }, getOptions(_objectSpread({}, value, {\n placement: getPlacement(value, modifiers)\n })));\n\n var tooltip = el._tooltip = new Tooltip(el, opts);\n tooltip.setClasses(classes);\n tooltip._vueEl = el; // Class on target\n\n var targetClasses = typeof value.targetClasses !== 'undefined' ? value.targetClasses : directive.options.defaultTargetClass;\n el._tooltipTargetClasses = targetClasses;\n addClasses(el, targetClasses);\n return tooltip;\n}\nfunction destroyTooltip(el) {\n if (el._tooltip) {\n el._tooltip.dispose();\n\n delete el._tooltip;\n delete el._tooltipOldShow;\n }\n\n if (el._tooltipTargetClasses) {\n removeClasses(el, el._tooltipTargetClasses);\n delete el._tooltipTargetClasses;\n }\n}\nfunction bind(el, _ref) {\n var value = _ref.value,\n oldValue = _ref.oldValue,\n modifiers = _ref.modifiers;\n var content = getContent(value);\n\n if (!content || !state.enabled) {\n destroyTooltip(el);\n } else {\n var tooltip;\n\n if (el._tooltip) {\n tooltip = el._tooltip; // Content\n\n tooltip.setContent(content); // Options\n\n tooltip.setOptions(_objectSpread({}, value, {\n placement: getPlacement(value, modifiers)\n }));\n } else {\n tooltip = createTooltip(el, value, modifiers);\n } // Manual show\n\n\n if (typeof value.show !== 'undefined' && value.show !== el._tooltipOldShow) {\n el._tooltipOldShow = value.show;\n value.show ? tooltip.show() : tooltip.hide();\n }\n }\n}\nvar directive = {\n options: defaultOptions,\n bind: bind,\n update: bind,\n unbind: function unbind(el) {\n destroyTooltip(el);\n }\n};\n\nfunction addListeners(el) {\n el.addEventListener('click', onClick);\n el.addEventListener('touchstart', onTouchStart, supportsPassive ? {\n passive: true\n } : false);\n}\n\nfunction removeListeners(el) {\n el.removeEventListener('click', onClick);\n el.removeEventListener('touchstart', onTouchStart);\n el.removeEventListener('touchend', onTouchEnd);\n el.removeEventListener('touchcancel', onTouchCancel);\n}\n\nfunction onClick(event) {\n var el = event.currentTarget;\n event.closePopover = !el.$_vclosepopover_touch;\n event.closeAllPopover = el.$_closePopoverModifiers && !!el.$_closePopoverModifiers.all;\n}\n\nfunction onTouchStart(event) {\n if (event.changedTouches.length === 1) {\n var el = event.currentTarget;\n el.$_vclosepopover_touch = true;\n var touch = event.changedTouches[0];\n el.$_vclosepopover_touchPoint = touch;\n el.addEventListener('touchend', onTouchEnd);\n el.addEventListener('touchcancel', onTouchCancel);\n }\n}\n\nfunction onTouchEnd(event) {\n var el = event.currentTarget;\n el.$_vclosepopover_touch = false;\n\n if (event.changedTouches.length === 1) {\n var touch = event.changedTouches[0];\n var firstTouch = el.$_vclosepopover_touchPoint;\n event.closePopover = Math.abs(touch.screenY - firstTouch.screenY) < 20 && Math.abs(touch.screenX - firstTouch.screenX) < 20;\n event.closeAllPopover = el.$_closePopoverModifiers && !!el.$_closePopoverModifiers.all;\n }\n}\n\nfunction onTouchCancel(event) {\n var el = event.currentTarget;\n el.$_vclosepopover_touch = false;\n}\n\nvar vclosepopover = {\n bind: function bind(el, _ref) {\n var value = _ref.value,\n modifiers = _ref.modifiers;\n el.$_closePopoverModifiers = modifiers;\n\n if (typeof value === 'undefined' || value) {\n addListeners(el);\n }\n },\n update: function update(el, _ref2) {\n var value = _ref2.value,\n oldValue = _ref2.oldValue,\n modifiers = _ref2.modifiers;\n el.$_closePopoverModifiers = modifiers;\n\n if (value !== oldValue) {\n if (typeof value === 'undefined' || value) {\n addListeners(el);\n } else {\n removeListeners(el);\n }\n }\n },\n unbind: function unbind(el) {\n removeListeners(el);\n }\n};\n\nfunction getDefault(key) {\n var value = directive.options.popover[key];\n\n if (typeof value === 'undefined') {\n return directive.options[key];\n }\n\n return value;\n}\n\nvar isIOS = false;\n\nif (typeof window !== 'undefined' && typeof navigator !== 'undefined') {\n isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n}\n\nvar openPopovers = [];\n\nvar Element = function Element() {};\n\nif (typeof window !== 'undefined') {\n Element = window.Element;\n}\n\nvar script = {\n name: 'VPopover',\n components: {\n ResizeObserver: ResizeObserver\n },\n props: {\n open: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n placement: {\n type: String,\n default: function _default() {\n return getDefault('defaultPlacement');\n }\n },\n delay: {\n type: [String, Number, Object],\n default: function _default() {\n return getDefault('defaultDelay');\n }\n },\n offset: {\n type: [String, Number],\n default: function _default() {\n return getDefault('defaultOffset');\n }\n },\n trigger: {\n type: String,\n default: function _default() {\n return getDefault('defaultTrigger');\n }\n },\n container: {\n type: [String, Object, Element, Boolean],\n default: function _default() {\n return getDefault('defaultContainer');\n }\n },\n boundariesElement: {\n type: [String, Element],\n default: function _default() {\n return getDefault('defaultBoundariesElement');\n }\n },\n popperOptions: {\n type: Object,\n default: function _default() {\n return getDefault('defaultPopperOptions');\n }\n },\n popoverClass: {\n type: [String, Array],\n default: function _default() {\n return getDefault('defaultClass');\n }\n },\n popoverBaseClass: {\n type: [String, Array],\n default: function _default() {\n return directive.options.popover.defaultBaseClass;\n }\n },\n popoverInnerClass: {\n type: [String, Array],\n default: function _default() {\n return directive.options.popover.defaultInnerClass;\n }\n },\n popoverWrapperClass: {\n type: [String, Array],\n default: function _default() {\n return directive.options.popover.defaultWrapperClass;\n }\n },\n popoverArrowClass: {\n type: [String, Array],\n default: function _default() {\n return directive.options.popover.defaultArrowClass;\n }\n },\n autoHide: {\n type: Boolean,\n default: function _default() {\n return directive.options.popover.defaultAutoHide;\n }\n },\n handleResize: {\n type: Boolean,\n default: function _default() {\n return directive.options.popover.defaultHandleResize;\n }\n },\n openGroup: {\n type: String,\n default: null\n },\n openClass: {\n type: [String, Array],\n default: function _default() {\n return directive.options.popover.defaultOpenClass;\n }\n }\n },\n data: function data() {\n return {\n isOpen: false,\n id: Math.random().toString(36).substr(2, 10)\n };\n },\n computed: {\n cssClass: function cssClass() {\n return _defineProperty({}, this.openClass, this.isOpen);\n },\n popoverId: function popoverId() {\n return \"popover_\".concat(this.id);\n }\n },\n watch: {\n open: function open(val) {\n if (val) {\n this.show();\n } else {\n this.hide();\n }\n },\n disabled: function disabled(val, oldVal) {\n if (val !== oldVal) {\n if (val) {\n this.hide();\n } else if (this.open) {\n this.show();\n }\n }\n },\n container: function container(val) {\n if (this.isOpen && this.popperInstance) {\n var popoverNode = this.$refs.popover;\n var reference = this.$refs.trigger;\n var container = this.$_findContainer(this.container, reference);\n\n if (!container) {\n console.warn('No container for popover', this);\n return;\n }\n\n container.appendChild(popoverNode);\n this.popperInstance.scheduleUpdate();\n }\n },\n trigger: function trigger(val) {\n this.$_removeEventListeners();\n this.$_addEventListeners();\n },\n placement: function placement(val) {\n var _this = this;\n\n this.$_updatePopper(function () {\n _this.popperInstance.options.placement = val;\n });\n },\n offset: '$_restartPopper',\n boundariesElement: '$_restartPopper',\n popperOptions: {\n handler: '$_restartPopper',\n deep: true\n }\n },\n created: function created() {\n this.$_isDisposed = false;\n this.$_mounted = false;\n this.$_events = [];\n this.$_preventOpen = false;\n },\n mounted: function mounted() {\n var popoverNode = this.$refs.popover;\n popoverNode.parentNode && popoverNode.parentNode.removeChild(popoverNode);\n this.$_init();\n\n if (this.open) {\n this.show();\n }\n },\n deactivated: function deactivated() {\n this.hide();\n },\n beforeDestroy: function beforeDestroy() {\n this.dispose();\n },\n methods: {\n show: function show() {\n var _this2 = this;\n\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n event = _ref2.event,\n _ref2$skipDelay = _ref2.skipDelay,\n _ref2$force = _ref2.force,\n force = _ref2$force === void 0 ? false : _ref2$force;\n\n if (force || !this.disabled) {\n this.$_scheduleShow(event);\n this.$emit('show');\n }\n\n this.$emit('update:open', true);\n this.$_beingShowed = true;\n requestAnimationFrame(function () {\n _this2.$_beingShowed = false;\n });\n },\n hide: function hide() {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n event = _ref3.event,\n _ref3$skipDelay = _ref3.skipDelay;\n\n this.$_scheduleHide(event);\n this.$emit('hide');\n this.$emit('update:open', false);\n },\n dispose: function dispose() {\n this.$_isDisposed = true;\n this.$_removeEventListeners();\n this.hide({\n skipDelay: true\n });\n\n if (this.popperInstance) {\n this.popperInstance.destroy(); // destroy tooltipNode if removeOnDestroy is not set, as popperInstance.destroy() already removes the element\n\n if (!this.popperInstance.options.removeOnDestroy) {\n var popoverNode = this.$refs.popover;\n popoverNode.parentNode && popoverNode.parentNode.removeChild(popoverNode);\n }\n }\n\n this.$_mounted = false;\n this.popperInstance = null;\n this.isOpen = false;\n this.$emit('dispose');\n },\n $_init: function $_init() {\n if (this.trigger.indexOf('manual') === -1) {\n this.$_addEventListeners();\n }\n },\n $_show: function $_show() {\n var _this3 = this;\n\n var reference = this.$refs.trigger;\n var popoverNode = this.$refs.popover;\n clearTimeout(this.$_disposeTimer); // Already open\n\n if (this.isOpen) {\n return;\n } // Popper is already initialized\n\n\n if (this.popperInstance) {\n this.isOpen = true;\n this.popperInstance.enableEventListeners();\n this.popperInstance.scheduleUpdate();\n }\n\n if (!this.$_mounted) {\n var container = this.$_findContainer(this.container, reference);\n\n if (!container) {\n console.warn('No container for popover', this);\n return;\n }\n\n container.appendChild(popoverNode);\n this.$_mounted = true;\n }\n\n if (!this.popperInstance) {\n var popperOptions = _objectSpread({}, this.popperOptions, {\n placement: this.placement\n });\n\n popperOptions.modifiers = _objectSpread({}, popperOptions.modifiers, {\n arrow: _objectSpread({}, popperOptions.modifiers && popperOptions.modifiers.arrow, {\n element: this.$refs.arrow\n })\n });\n\n if (this.offset) {\n var offset = this.$_getOffset();\n popperOptions.modifiers.offset = _objectSpread({}, popperOptions.modifiers && popperOptions.modifiers.offset, {\n offset: offset\n });\n }\n\n if (this.boundariesElement) {\n popperOptions.modifiers.preventOverflow = _objectSpread({}, popperOptions.modifiers && popperOptions.modifiers.preventOverflow, {\n boundariesElement: this.boundariesElement\n });\n }\n\n this.popperInstance = new Popper(reference, popoverNode, popperOptions); // Fix position\n\n requestAnimationFrame(function () {\n if (_this3.hidden) {\n _this3.hidden = false;\n\n _this3.$_hide();\n\n return;\n }\n\n if (!_this3.$_isDisposed && _this3.popperInstance) {\n _this3.popperInstance.scheduleUpdate(); // Show the tooltip\n\n\n requestAnimationFrame(function () {\n if (_this3.hidden) {\n _this3.hidden = false;\n\n _this3.$_hide();\n\n return;\n }\n\n if (!_this3.$_isDisposed) {\n _this3.isOpen = true;\n } else {\n _this3.dispose();\n }\n });\n } else {\n _this3.dispose();\n }\n });\n }\n\n var openGroup = this.openGroup;\n\n if (openGroup) {\n var popover;\n\n for (var i = 0; i < openPopovers.length; i++) {\n popover = openPopovers[i];\n\n if (popover.openGroup !== openGroup) {\n popover.hide();\n popover.$emit('close-group');\n }\n }\n }\n\n openPopovers.push(this);\n this.$emit('apply-show');\n },\n $_hide: function $_hide() {\n var _this4 = this;\n\n // Already hidden\n if (!this.isOpen) {\n return;\n }\n\n var index = openPopovers.indexOf(this);\n\n if (index !== -1) {\n openPopovers.splice(index, 1);\n }\n\n this.isOpen = false;\n\n if (this.popperInstance) {\n this.popperInstance.disableEventListeners();\n }\n\n clearTimeout(this.$_disposeTimer);\n var disposeTime = directive.options.popover.disposeTimeout || directive.options.disposeTimeout;\n\n if (disposeTime !== null) {\n this.$_disposeTimer = setTimeout(function () {\n var popoverNode = _this4.$refs.popover;\n\n if (popoverNode) {\n // Don't remove popper instance, just the HTML element\n popoverNode.parentNode && popoverNode.parentNode.removeChild(popoverNode);\n _this4.$_mounted = false;\n }\n }, disposeTime);\n }\n\n this.$emit('apply-hide');\n },\n $_findContainer: function $_findContainer(container, reference) {\n // if container is a query, get the relative element\n if (typeof container === 'string') {\n container = window.document.querySelector(container);\n } else if (container === false) {\n // if container is `false`, set it to reference parent\n container = reference.parentNode;\n }\n\n return container;\n },\n $_getOffset: function $_getOffset() {\n var typeofOffset = _typeof(this.offset);\n\n var offset = this.offset; // One value -> switch\n\n if (typeofOffset === 'number' || typeofOffset === 'string' && offset.indexOf(',') === -1) {\n offset = \"0, \".concat(offset);\n }\n\n return offset;\n },\n $_addEventListeners: function $_addEventListeners() {\n var _this5 = this;\n\n var reference = this.$refs.trigger;\n var directEvents = [];\n var oppositeEvents = [];\n var events = typeof this.trigger === 'string' ? this.trigger.split(' ').filter(function (trigger) {\n return ['click', 'hover', 'focus'].indexOf(trigger) !== -1;\n }) : [];\n events.forEach(function (event) {\n switch (event) {\n case 'hover':\n directEvents.push('mouseenter');\n oppositeEvents.push('mouseleave');\n break;\n\n case 'focus':\n directEvents.push('focus');\n oppositeEvents.push('blur');\n break;\n\n case 'click':\n directEvents.push('click');\n oppositeEvents.push('click');\n break;\n }\n }); // schedule show tooltip\n\n directEvents.forEach(function (event) {\n var func = function func(event) {\n if (_this5.isOpen) {\n return;\n }\n\n event.usedByTooltip = true;\n !_this5.$_preventOpen && _this5.show({\n event: event\n });\n _this5.hidden = false;\n };\n\n _this5.$_events.push({\n event: event,\n func: func\n });\n\n reference.addEventListener(event, func);\n }); // schedule hide tooltip\n\n oppositeEvents.forEach(function (event) {\n var func = function func(event) {\n if (event.usedByTooltip) {\n return;\n }\n\n _this5.hide({\n event: event\n });\n\n _this5.hidden = true;\n };\n\n _this5.$_events.push({\n event: event,\n func: func\n });\n\n reference.addEventListener(event, func);\n });\n },\n $_scheduleShow: function $_scheduleShow() {\n var skipDelay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n clearTimeout(this.$_scheduleTimer);\n\n if (skipDelay) {\n this.$_show();\n } else {\n // defaults to 0\n var computedDelay = parseInt(this.delay && this.delay.show || this.delay || 0);\n this.$_scheduleTimer = setTimeout(this.$_show.bind(this), computedDelay);\n }\n },\n $_scheduleHide: function $_scheduleHide() {\n var _this6 = this;\n\n var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var skipDelay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n clearTimeout(this.$_scheduleTimer);\n\n if (skipDelay) {\n this.$_hide();\n } else {\n // defaults to 0\n var computedDelay = parseInt(this.delay && this.delay.hide || this.delay || 0);\n this.$_scheduleTimer = setTimeout(function () {\n if (!_this6.isOpen) {\n return;\n } // if we are hiding because of a mouseleave, we must check that the new\n // reference isn't the tooltip, because in this case we don't want to hide it\n\n\n if (event && event.type === 'mouseleave') {\n var isSet = _this6.$_setTooltipNodeEvent(event); // if we set the new event, don't hide the tooltip yet\n // the new event will take care to hide it if necessary\n\n\n if (isSet) {\n return;\n }\n }\n\n _this6.$_hide();\n }, computedDelay);\n }\n },\n $_setTooltipNodeEvent: function $_setTooltipNodeEvent(event) {\n var _this7 = this;\n\n var reference = this.$refs.trigger;\n var popoverNode = this.$refs.popover;\n var relatedreference = event.relatedreference || event.toElement || event.relatedTarget;\n\n var callback = function callback(event2) {\n var relatedreference2 = event2.relatedreference || event2.toElement || event2.relatedTarget; // Remove event listener after call\n\n popoverNode.removeEventListener(event.type, callback); // If the new reference is not the reference element\n\n if (!reference.contains(relatedreference2)) {\n // Schedule to hide tooltip\n _this7.hide({\n event: event2\n });\n }\n };\n\n if (popoverNode.contains(relatedreference)) {\n // listen to mouseleave on the tooltip element to be able to hide the tooltip\n popoverNode.addEventListener(event.type, callback);\n return true;\n }\n\n return false;\n },\n $_removeEventListeners: function $_removeEventListeners() {\n var reference = this.$refs.trigger;\n this.$_events.forEach(function (_ref4) {\n var func = _ref4.func,\n event = _ref4.event;\n reference.removeEventListener(event, func);\n });\n this.$_events = [];\n },\n $_updatePopper: function $_updatePopper(cb) {\n if (this.popperInstance) {\n cb();\n if (this.isOpen) this.popperInstance.scheduleUpdate();\n }\n },\n $_restartPopper: function $_restartPopper() {\n if (this.popperInstance) {\n var isOpen = this.isOpen;\n this.dispose();\n this.$_isDisposed = false;\n this.$_init();\n\n if (isOpen) {\n this.show({\n skipDelay: true,\n force: true\n });\n }\n }\n },\n $_handleGlobalClose: function $_handleGlobalClose(event) {\n var _this8 = this;\n\n var touch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (this.$_beingShowed) return;\n this.hide({\n event: event\n });\n\n if (event.closePopover) {\n this.$emit('close-directive');\n } else {\n this.$emit('auto-hide');\n }\n\n if (touch) {\n this.$_preventOpen = true;\n setTimeout(function () {\n _this8.$_preventOpen = false;\n }, 300);\n }\n },\n $_handleResize: function $_handleResize() {\n if (this.isOpen && this.popperInstance) {\n this.popperInstance.scheduleUpdate();\n this.$emit('resize');\n }\n }\n }\n};\n\nif (typeof document !== 'undefined' && typeof window !== 'undefined') {\n if (isIOS) {\n document.addEventListener('touchend', handleGlobalTouchend, supportsPassive ? {\n passive: true,\n capture: true\n } : true);\n } else {\n window.addEventListener('click', handleGlobalClick, true);\n }\n}\n\nfunction handleGlobalClick(event) {\n handleGlobalClose(event);\n}\n\nfunction handleGlobalTouchend(event) {\n handleGlobalClose(event, true);\n}\n\nfunction handleGlobalClose(event) {\n var touch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var _loop = function _loop(i) {\n var popover = openPopovers[i];\n\n if (popover.$refs.popover) {\n var contains = popover.$refs.popover.contains(event.target);\n requestAnimationFrame(function () {\n if (event.closeAllPopover || event.closePopover && contains || popover.autoHide && !contains) {\n popover.$_handleGlobalClose(event, touch);\n }\n });\n }\n };\n\n // Delay so that close directive has time to set values\n for (var i = 0; i < openPopovers.length; i++) {\n _loop(i);\n }\n}\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier\n/* server only */\n, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\n if (typeof shadowMode !== 'boolean') {\n createInjectorSSR = createInjector;\n createInjector = shadowMode;\n shadowMode = false;\n } // Vue.extend constructor export interop.\n\n\n var options = typeof script === 'function' ? script.options : script; // render functions\n\n if (template && template.render) {\n options.render = template.render;\n options.staticRenderFns = template.staticRenderFns;\n options._compiled = true; // functional template\n\n if (isFunctionalTemplate) {\n options.functional = true;\n }\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (style) {\n style.call(this, createInjectorSSR(context));\n } // register component module identifier for async chunk inference\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (style) {\n hook = shadowMode ? function () {\n style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));\n } : function (context) {\n style.call(this, createInjector(context));\n };\n }\n\n if (hook) {\n if (options.functional) {\n // register for functional component in vue file\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return script;\n}\n\nvar normalizeComponent_1 = normalizeComponent;\n\n/* script */\nvar __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function __vue_render__() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"v-popover\",\n class: _vm.cssClass\n }, [_c(\"div\", {\n ref: \"trigger\",\n staticClass: \"trigger\",\n staticStyle: {\n display: \"inline-block\"\n },\n attrs: {\n \"aria-describedby\": _vm.popoverId,\n tabindex: _vm.trigger.indexOf(\"focus\") !== -1 ? 0 : undefined\n }\n }, [_vm._t(\"default\")], 2), _vm._v(\" \"), _c(\"div\", {\n ref: \"popover\",\n class: [_vm.popoverBaseClass, _vm.popoverClass, _vm.cssClass],\n style: {\n visibility: _vm.isOpen ? \"visible\" : \"hidden\"\n },\n attrs: {\n id: _vm.popoverId,\n \"aria-hidden\": _vm.isOpen ? \"false\" : \"true\",\n tabindex: _vm.autoHide ? 0 : undefined\n },\n on: {\n keyup: function keyup($event) {\n if (!$event.type.indexOf(\"key\") && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n\n _vm.autoHide && _vm.hide();\n }\n }\n }, [_c(\"div\", {\n class: _vm.popoverWrapperClass\n }, [_c(\"div\", {\n ref: \"inner\",\n class: _vm.popoverInnerClass,\n staticStyle: {\n position: \"relative\"\n }\n }, [_c(\"div\", [_vm._t(\"popover\")], 2), _vm._v(\" \"), _vm.handleResize ? _c(\"ResizeObserver\", {\n on: {\n notify: _vm.$_handleResize\n }\n }) : _vm._e()], 1), _vm._v(\" \"), _c(\"div\", {\n ref: \"arrow\",\n class: _vm.popoverArrowClass\n })])])]);\n};\n\nvar __vue_staticRenderFns__ = [];\n__vue_render__._withStripped = true;\n/* style */\n\nvar __vue_inject_styles__ = undefined;\n/* scoped */\n\nvar __vue_scope_id__ = undefined;\n/* module identifier */\n\nvar __vue_module_identifier__ = undefined;\n/* functional template */\n\nvar __vue_is_functional_template__ = false;\n/* style inject */\n\n/* style inject SSR */\n\nvar Popover = normalizeComponent_1({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, undefined, undefined);\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nvar _listCacheClear = listCacheClear;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nvar eq_1 = eq;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq_1(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nvar _assocIndexOf = assocIndexOf;\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = _assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nvar _listCacheDelete = listCacheDelete;\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = _assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nvar _listCacheGet = listCacheGet;\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return _assocIndexOf(this.__data__, key) > -1;\n}\n\nvar _listCacheHas = listCacheHas;\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = _assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nvar _listCacheSet = listCacheSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = _listCacheClear;\nListCache.prototype['delete'] = _listCacheDelete;\nListCache.prototype.get = _listCacheGet;\nListCache.prototype.has = _listCacheHas;\nListCache.prototype.set = _listCacheSet;\n\nvar _ListCache = ListCache;\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new _ListCache;\n this.size = 0;\n}\n\nvar _stackClear = stackClear;\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nvar _stackDelete = stackDelete;\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nvar _stackGet = stackGet;\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nvar _stackHas = stackHas;\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\n\nvar _freeGlobal = freeGlobal;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = _freeGlobal || freeSelf || Function('return this')();\n\nvar _root = root;\n\n/** Built-in value references. */\nvar Symbol$1 = _root.Symbol;\n\nvar _Symbol = Symbol$1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nvar _getRawTag = getRawTag;\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString$1 = objectProto$1.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString$1.call(value);\n}\n\nvar _objectToString = objectToString;\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag$1 && symToStringTag$1 in Object(value))\n ? _getRawTag(value)\n : _objectToString(value);\n}\n\nvar _baseGetTag = baseGetTag;\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nvar isObject_1 = isObject;\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject_1(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = _baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nvar isFunction_1 = isFunction;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = _root['__core-js_shared__'];\n\nvar _coreJsData = coreJsData;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nvar _isMasked = isMasked;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nvar _toSource = toSource;\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto$1 = Function.prototype,\n objectProto$2 = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString$1 = funcProto$1.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$1 = objectProto$2.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString$1.call(hasOwnProperty$1).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject_1(value) || _isMasked(value)) {\n return false;\n }\n var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;\n return pattern.test(_toSource(value));\n}\n\nvar _baseIsNative = baseIsNative;\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nvar _getValue = getValue;\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = _getValue(object, key);\n return _baseIsNative(value) ? value : undefined;\n}\n\nvar _getNative = getNative;\n\n/* Built-in method references that are verified to be native. */\nvar Map = _getNative(_root, 'Map');\n\nvar _Map = Map;\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = _getNative(Object, 'create');\n\nvar _nativeCreate = nativeCreate;\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = _nativeCreate ? _nativeCreate(null) : {};\n this.size = 0;\n}\n\nvar _hashClear = hashClear;\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nvar _hashDelete = hashDelete;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto$3 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$2 = objectProto$3.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (_nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty$2.call(data, key) ? data[key] : undefined;\n}\n\nvar _hashGet = hashGet;\n\n/** Used for built-in method references. */\nvar objectProto$4 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$3 = objectProto$4.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);\n}\n\nvar _hashHas = hashHas;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED$1 = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;\n return this;\n}\n\nvar _hashSet = hashSet;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = _hashClear;\nHash.prototype['delete'] = _hashDelete;\nHash.prototype.get = _hashGet;\nHash.prototype.has = _hashHas;\nHash.prototype.set = _hashSet;\n\nvar _Hash = Hash;\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new _Hash,\n 'map': new (_Map || _ListCache),\n 'string': new _Hash\n };\n}\n\nvar _mapCacheClear = mapCacheClear;\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nvar _isKeyable = isKeyable;\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return _isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nvar _getMapData = getMapData;\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = _getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nvar _mapCacheDelete = mapCacheDelete;\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return _getMapData(this, key).get(key);\n}\n\nvar _mapCacheGet = mapCacheGet;\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return _getMapData(this, key).has(key);\n}\n\nvar _mapCacheHas = mapCacheHas;\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = _getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nvar _mapCacheSet = mapCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = _mapCacheClear;\nMapCache.prototype['delete'] = _mapCacheDelete;\nMapCache.prototype.get = _mapCacheGet;\nMapCache.prototype.has = _mapCacheHas;\nMapCache.prototype.set = _mapCacheSet;\n\nvar _MapCache = MapCache;\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof _ListCache) {\n var pairs = data.__data__;\n if (!_Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new _MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nvar _stackSet = stackSet;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new _ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = _stackClear;\nStack.prototype['delete'] = _stackDelete;\nStack.prototype.get = _stackGet;\nStack.prototype.has = _stackHas;\nStack.prototype.set = _stackSet;\n\nvar _Stack = Stack;\n\nvar defineProperty = (function() {\n try {\n var func = _getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nvar _defineProperty$1 = defineProperty;\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && _defineProperty$1) {\n _defineProperty$1(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nvar _baseAssignValue = baseAssignValue;\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq_1(object[key], value)) ||\n (value === undefined && !(key in object))) {\n _baseAssignValue(object, key, value);\n }\n}\n\nvar _assignMergeValue = assignMergeValue;\n\n/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nvar _createBaseFor = createBaseFor;\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = _createBaseFor();\n\nvar _baseFor = baseFor;\n\nvar _cloneBuffer = createCommonjsModule(function (module, exports) {\n/** Detect free variable `exports`. */\nvar freeExports = exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? _root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n});\n\n/** Built-in value references. */\nvar Uint8Array = _root.Uint8Array;\n\nvar _Uint8Array = Uint8Array;\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new _Uint8Array(result).set(new _Uint8Array(arrayBuffer));\n return result;\n}\n\nvar _cloneArrayBuffer = cloneArrayBuffer;\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? _cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nvar _cloneTypedArray = cloneTypedArray;\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nvar _copyArray = copyArray;\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject_1(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nvar _baseCreate = baseCreate;\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nvar _overArg = overArg;\n\n/** Built-in value references. */\nvar getPrototype = _overArg(Object.getPrototypeOf, Object);\n\nvar _getPrototype = getPrototype;\n\n/** Used for built-in method references. */\nvar objectProto$5 = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$5;\n\n return value === proto;\n}\n\nvar _isPrototype = isPrototype;\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !_isPrototype(object))\n ? _baseCreate(_getPrototype(object))\n : {};\n}\n\nvar _initCloneObject = initCloneObject;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nvar isObjectLike_1 = isObjectLike;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike_1(value) && _baseGetTag(value) == argsTag;\n}\n\nvar _baseIsArguments = baseIsArguments;\n\n/** Used for built-in method references. */\nvar objectProto$6 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$4 = objectProto$6.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto$6.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {\n return isObjectLike_1(value) && hasOwnProperty$4.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nvar isArguments_1 = isArguments;\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nvar isArray_1 = isArray;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nvar isLength_1 = isLength;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength_1(value.length) && !isFunction_1(value);\n}\n\nvar isArrayLike_1 = isArrayLike;\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike_1(value) && isArrayLike_1(value);\n}\n\nvar isArrayLikeObject_1 = isArrayLikeObject;\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nvar stubFalse_1 = stubFalse;\n\nvar isBuffer_1 = createCommonjsModule(function (module, exports) {\n/** Detect free variable `exports`. */\nvar freeExports = exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? _root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse_1;\n\nmodule.exports = isBuffer;\n});\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto$2 = Function.prototype,\n objectProto$7 = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString$2 = funcProto$2.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$5 = objectProto$7.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString$2.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike_1(value) || _baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = _getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty$5.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString$2.call(Ctor) == objectCtorString;\n}\n\nvar isPlainObject_1 = isPlainObject;\n\n/** `Object#toString` result references. */\nvar argsTag$1 = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag$1 = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag$1 = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag$1] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag$1] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag$1] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike_1(value) &&\n isLength_1(value.length) && !!typedArrayTags[_baseGetTag(value)];\n}\n\nvar _baseIsTypedArray = baseIsTypedArray;\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nvar _baseUnary = baseUnary;\n\nvar _nodeUtil = createCommonjsModule(function (module, exports) {\n/** Detect free variable `exports`. */\nvar freeExports = exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && _freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n});\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray;\n\nvar isTypedArray_1 = isTypedArray;\n\n/**\n * Gets the value at `key`, unless `key` is \"__proto__\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nvar _safeGet = safeGet;\n\n/** Used for built-in method references. */\nvar objectProto$8 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$6 = objectProto$8.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty$6.call(object, key) && eq_1(objValue, value)) ||\n (value === undefined && !(key in object))) {\n _baseAssignValue(object, key, value);\n }\n}\n\nvar _assignValue = assignValue;\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n _baseAssignValue(object, key, newValue);\n } else {\n _assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nvar _copyObject = copyObject;\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nvar _baseTimes = baseTimes;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER$1 = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER$1 : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nvar _isIndex = isIndex;\n\n/** Used for built-in method references. */\nvar objectProto$9 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$7 = objectProto$9.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray_1(value),\n isArg = !isArr && isArguments_1(value),\n isBuff = !isArr && !isArg && isBuffer_1(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray_1(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? _baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty$7.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n _isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nvar _arrayLikeKeys = arrayLikeKeys;\n\n/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nvar _nativeKeysIn = nativeKeysIn;\n\n/** Used for built-in method references. */\nvar objectProto$a = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$8 = objectProto$a.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject_1(object)) {\n return _nativeKeysIn(object);\n }\n var isProto = _isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty$8.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nvar _baseKeysIn = baseKeysIn;\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike_1(object) ? _arrayLikeKeys(object, true) : _baseKeysIn(object);\n}\n\nvar keysIn_1 = keysIn;\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return _copyObject(value, keysIn_1(value));\n}\n\nvar toPlainObject_1 = toPlainObject;\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = _safeGet(object, key),\n srcValue = _safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n _assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray_1(srcValue),\n isBuff = !isArr && isBuffer_1(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray_1(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray_1(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject_1(objValue)) {\n newValue = _copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = _cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = _cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject_1(srcValue) || isArguments_1(srcValue)) {\n newValue = objValue;\n if (isArguments_1(objValue)) {\n newValue = toPlainObject_1(objValue);\n }\n else if (!isObject_1(objValue) || isFunction_1(objValue)) {\n newValue = _initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n _assignMergeValue(object, key, newValue);\n}\n\nvar _baseMergeDeep = baseMergeDeep;\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n _baseFor(source, function(srcValue, key) {\n if (isObject_1(srcValue)) {\n stack || (stack = new _Stack);\n _baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(_safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n _assignMergeValue(object, key, newValue);\n }\n }, keysIn_1);\n}\n\nvar _baseMerge = baseMerge;\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nvar identity_1 = identity;\n\n/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nvar _apply = apply;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return _apply(func, this, otherArgs);\n };\n}\n\nvar _overRest = overRest;\n\n/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nvar constant_1 = constant;\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !_defineProperty$1 ? identity_1 : function(func, string) {\n return _defineProperty$1(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant_1(string),\n 'writable': true\n });\n};\n\nvar _baseSetToString = baseSetToString;\n\n/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nvar _shortOut = shortOut;\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = _shortOut(_baseSetToString);\n\nvar _setToString = setToString;\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return _setToString(_overRest(func, start, identity_1), func + '');\n}\n\nvar _baseRest = baseRest;\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject_1(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike_1(object) && _isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq_1(object[index], value);\n }\n return false;\n}\n\nvar _isIterateeCall = isIterateeCall;\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return _baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && _isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nvar _createAssigner = createAssigner;\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = _createAssigner(function(object, source, srcIndex) {\n _baseMerge(object, source, srcIndex);\n});\n\nvar merge_1 = merge;\n\nfunction styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css = \".resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}\";\nstyleInject(css);\n\nfunction install(Vue) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (install.installed) return;\n install.installed = true;\n var finalOptions = {};\n merge_1(finalOptions, defaultOptions, options);\n plugin.options = finalOptions;\n directive.options = finalOptions;\n Vue.directive('tooltip', directive);\n Vue.directive('close-popover', vclosepopover);\n Vue.component('v-popover', Popover);\n}\nvar VTooltip = directive;\nvar VClosePopover = vclosepopover;\nvar VPopover = Popover;\nvar plugin = {\n install: install,\n\n get enabled() {\n return state.enabled;\n },\n\n set enabled(value) {\n state.enabled = value;\n }\n\n}; // Auto-install\n\nvar GlobalVue = null;\n\nif (typeof window !== 'undefined') {\n GlobalVue = window.Vue;\n} else if (typeof global !== 'undefined') {\n GlobalVue = global.Vue;\n}\n\nif (GlobalVue) {\n GlobalVue.use(plugin);\n}\n\nexport default plugin;\nexport { VClosePopover, VPopover, VTooltip, createTooltip, destroyTooltip, install };\n","\n \n \n\n \n {{ tooltip }} \n \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tooltip.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tooltip.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./tooltip.vue?vue&type=template&id=4332b347&scoped=true&\"\nimport script from \"./tooltip.vue?vue&type=script&lang=js&\"\nexport * from \"./tooltip.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tooltip.vue?vue&type=style&index=0&id=4332b347&scoped=true&lang=css&\"\nimport style1 from \"./tooltip.vue?vue&type=style&index=1&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4332b347\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"preview\",class:{'text-right': _vm.type === 'money'}},[(_vm.prependicon)?_c('i',{staticClass:\"preview-icon icon-prepend fa\",class:_vm.prependicon.startsWith('fa-') ? _vm.prependicon : ''},[_vm._v(_vm._s(_vm.prependicon.startsWith('fa-') ? '' : _vm.prependicon))]):_vm._e(),_c('span',{staticClass:\"preview-text text-middle\",class:{'text-bold': _vm.bold, 'appendicon-text-right': _vm.appendicon, 'prependicon-text-left': _vm.prependicon, 'both-side': _vm.appendicon && _vm.prependicon},attrs:{\"id\":_vm.model.$form.generateId ? _vm.model.$pathId : undefined,\"data-path\":_vm.model.$form.testPath ? _vm.model.$path : undefined}},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.formattedValue))])],2),(_vm.appendicon)?_c('i',{staticClass:\"preview-icon icon-append fa\",class:_vm.appendicon.startsWith('fa-') ? _vm.appendicon : ''},[_vm._v(_vm._s(_vm.appendicon.startsWith('fa-') ? '' : _vm.appendicon))]):_vm._e(),(_vm.showError && _vm.model.$error)?_c('br'):_vm._e(),(_vm.showError)?_c('w-error',{staticClass:\"error-msg\",attrs:{\"model\":_vm.model}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./error.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./error.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./error.vue?vue&type=script&lang=js&\"\nexport * from \"./error.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n {{ prependicon.startsWith('fa-') ? '' : prependicon }} \n \n {{ formattedValue }} \n \n {{ appendicon.startsWith('fa-') ? '' : appendicon }} \n \n \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./preview-value.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./preview-value.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./preview-value.vue?vue&type=template&id=482c4aeb&scoped=true&\"\nimport script from \"./preview-value.vue?vue&type=script&lang=js&\"\nexport * from \"./preview-value.vue?vue&type=script&lang=js&\"\nimport style0 from \"./preview-value.vue?vue&type=style&index=0&id=482c4aeb&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"482c4aeb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.renderReady)?_c('div',[(_vm.getTitle)?_c('label',{staticClass:\"label\"},[(!_vm.setTitleAsPlaceholder)?[_vm._v(_vm._s(_vm.getTitle))]:_vm._e(),_vm._v(\" \"),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],2):_vm._e(),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),_c('div',{staticClass:\"input\",class:{'state-error': _vm.model.$error, 'state-disabled': _vm.disabled && !_vm.borderless}},[(_vm.prependicon || _vm.$slots.prependicon)?_c(_vm.prependicon && _vm.prependicon.startsWith('fa-') ? 'i' : 'span',{tag:\"component\",staticClass:\"icon-prepend\",class:_vm.prependicon && _vm.prependicon.startsWith('fa-') ? _vm.prependicon + ' fa': ''},[_vm._t(\"prependicon\",[_vm._v(_vm._s(_vm.prependicon.startsWith('fa-') ? '' : _vm.prependicon))])],2):_vm._e(),_c('input',{ref:\"input\",class:['form-control', {'borderless': _vm.borderless, 'text-right': _vm.textRight, 'has-append': _vm.appendicon || _vm.$slots.appendicon}, _vm.css],style:(_vm.appendiconTextRight),attrs:{\"placeholder\":_vm.getPlaceholder,\"type\":\"text\",\"disabled\":_vm.disabled,\"readonly\":_vm.model.$schema.readOnly,\"id\":_vm.model.$form.generateId ? _vm.model.$pathId : undefined,\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"value\":_vm.svalue},on:{\"input\":function($event){return _vm.onInput($event)},\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.onBlur($event)},\"mouseover\":function($event){return _vm.mouseOver($event)},\"mouseleave\":function($event){return _vm.mouseOut($event)}}}),(_vm.appendicon || _vm.$slots.appendicon)?_c(_vm.appendicon && _vm.appendicon.startsWith('fa-') ? 'i' : 'span',{tag:\"component\",staticClass:\"icon-append\",class:_vm.appendicon && _vm.appendicon.startsWith('fa-') ? _vm.appendicon + ' fa' : ''},[_vm._t(\"appendicon\",[_vm._v(_vm._s(_vm.appendicon.startsWith('fa-') ? '' : _vm.appendicon))])],2):_vm._e()],1),(_vm.showError)?_c('w-error',{attrs:{\"model\":_vm.model},on:{\"focus\":function($event){return _vm.$refs.input.focus();}}}):_vm._e(),(_vm.showWarning && !(_vm.showError && _vm.model.$error))?_c('w-warning',{attrs:{\"model\":_vm.model},on:{\"focus\":function($event){return _vm.$refs.input.focus();}}}):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: ['value', 'model', 'lazy', 'borderless', 'disabled', 'title', 'disableTooltip', 'tooltip'],\n data() {\n return {\n renderReady: false,\n isMouseOver: false\n };\n },\n\n computed: {\n formParent: {\n get() {\n let parent = this.$parent;\n for (;;) {\n if (parent.form) {\n break;\n }\n\n if (parent.$parent) {\n parent = parent.$parent;\n }\n\n if (!parent.$parent) {\n parent = undefined;\n break;\n }\n }\n\n return parent;\n }\n },\n svalue: {\n get() {\n //const mm = this.$model.$model;\n const vv = this.model.$value;\n // console.log(\"svalue.get()\", this.model.$path, vv);\n if (this.localValue !== undefined) {\n // this.resize(this.localValue);\n return this.localValue;\n }\n // this.resize(vv);\n return vv;\n }\n },\n getTitle: {\n get() {\n if (this.title == undefined) {\n return this.model.$schema.title;\n }\n return this.title;\n }\n },\n tooltipVisibility: {\n get() {\n return !this.disableTooltip && this.isMouseOver && this.tooltipContent != undefined && this.tooltipContent != '';\n }\n },\n tooltipContent: {\n get() {\n if (this.disableTooltip) {\n return undefined;\n }\n\n return this.tooltip;\n }\n }\n },\n\n created() {\n // this.$model = this.model || this.value;\n //console.log(this);\n\n //jeśli podano przez s-model\n //let smodel = this.$attrs[\"s-model.lazy\"];\n //if (smodel) {\n\n //}\n\n // jesli podano przez v-model lub :model\n\n if (this._props.lazy !== undefined) {\n //console.log('lazy', this._props.lazy);\n this.$options.lazy = this._props.lazy || this._props.lazy === '';\n }\n\n //console.log(\"created: \"+this.model.$path);\n\n if (this.value) {\n //ustawiono przez vmodel\n this.$options.vmodel = true;\n\n this.setModel(this.value);\n } else {\n this.setModel(this.model);\n }\n\n //szukanie sekcji w któej jest umieszczony komponent\n /*\n if (this.$sectionName === undefined) {\n let parent = this.$parent;\n while (parent) {\n if (parent.$sectionName !== undefined) {\n this.$sectionName = parent.$sectionName;\n break;\n }\n parent = parent.$parent;\n }\n }\n */\n },\n watch: {\n lazy(newValue) {\n // console.log('superlazy', newValue);\n this.$options.lazy = newValue;\n },\n model(newValue) {\n //console.log('model change', newValue.$path);\n //this.setModel(newValue);\n //this.$refs.input.value = this.$model.$value;\n }\n },\n methods: {\n setModel(model, modifiers) {\n if (model) {\n //this.$model = model;\n //console.log('this.$model',this.model);\n const $form = model.$form;\n if ($form) {\n // this.$options.lazy = modifiers.lazy;\n if ($form.lazy !== undefined) {\n this.$options.lazy = $form.lazy;\n //this.lazy = $form.lazy;\n }\n }\n /*\n if (modifiers) {\n // this.$options.lazy = modifiers.lazy;\n if (modifiers.lazy !== undefined) {\n this.$options.lazy = modifiers.lazy;\n }\n }\n */\n this.renderReady = true;\n } else {\n this.$model = {};\n }\n },\n //abstract\n resize(newValue, blur) {\n return; //nic nie rób\n },\n onFocus(evt) {\n // lokalna kopia\n // console.log('model mixin focus');\n this.localValue = this.model.$value;\n this.enterValue = this.localValue;\n this.resize(this.localValue);\n // ustawienie e uytkownik jest w tym polu\n this.model.$hasFocus = true;\n this.$emit('focus', evt);\n },\n onBlur(evt) {\n // console.log(\"read\",this.model.$value);\n\n if (this.$options.vmodel) {\n delete this.localValue;\n const newValue = this.model.$value;\n if (newValue !== this.enterValue) {\n this.$emit('change', newValue);\n this.fieldChanged();\n }\n } else {\n if (this.$options.lazy) {\n //if (this.lazy) {\n this.model.$value = this.localValue;\n }\n delete this.localValue;\n // this.localValue = this.model.$value;\n const newValue = this.model.$value;\n if (this.$refs.input.value !== newValue) {\n this.$refs.input.value = newValue; // skopiowanie wartości z modelu przy wyjściu\n this.$emit('input', newValue);\n }\n if (newValue !== this.enterValue) {\n this.$emit('change', newValue);\n this.fieldChanged();\n }\n }\n // console.log('model mixin blur');\n this.$emit('blur', evt);\n this.model.$hasFocus = this.hasFocus = false;\n\n this.resize(undefined, true);\n\n // this.value = this.model.$value;\n // window.console.log(\"read\",this.model.$value)\n // this.localValue = this.model.$value;\n },\n fieldChanged() {\n let parent = this.formParent;\n\n if (parent && parent.form.fieldsChanged) {\n if (!parent.form.fieldsChanged.includes(this.model.$key)) {\n parent.form.fieldsChanged.push(this.model.$key);\n parent.$emit('fieldchanged', this.model.$key);\n }\n }\n },\n onInput(evt) {\n if (evt.target.composing) {\n return;\n }\n // if (this.lazy) return;\n const newValue = evt.target.value;\n if (newValue !== this.localValue) {\n this.resize(newValue);\n this.localValue = newValue;\n if (!this.$options.vmodel) {\n if (this.$options.lazy) {\n //if (this.lazy) {\n return;\n }\n this.model.$value = newValue;\n }\n this.$emit('input', newValue);\n }\n\n // this.model.$value = this.$refs.input.value;\n },\n mouseOver(evt) {\n // console.log('mouseover');\n // this.$set(this, 'isMouseOver', true);\n },\n mouseOut(evt) {\n // console.log('mouseout');\n // this.$set(this, 'isMouseOver', false);\n }\n }\n};\n","\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./warning.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./warning.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./warning.vue?vue&type=script&lang=js&\"\nexport * from \"./warning.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n
\n {{getTitle}} \n {{tooltipContent}} \n \n
\n \n \n
\n \n {{prependicon.startsWith('fa-') ? '' : prependicon}} \n \n \n \n {{appendicon.startsWith('fa-') ? '' : appendicon}} \n \n
\n
\n
\n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./input.vue?vue&type=template&id=71bcecf6&\"\nimport script from \"./input.vue?vue&type=script&lang=js&\"\nexport * from \"./input.vue?vue&type=script&lang=js&\"\nimport style0 from \"./input.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group-s\",staticStyle:{\"position\":\"relative\"}},[(_vm.getTitle)?_c('label',[_vm._v(\" \"+_vm._s(_vm.model.$schema.title)+\" \"),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],1):_vm._e(),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),_c('label',{staticClass:\"textarea\",class:{'state-error': _vm.model.$error, 'state-disabled': _vm.disabled}},[(_vm.prependicon)?_c('i',{staticClass:\"icon-prepend fa\",class:_vm.prependicon.startsWith('fa-') ? _vm.prependicon : ''},[_vm._v(_vm._s(_vm.prependicon.startsWith('fa-') ? '' : _vm.prependicon))]):_vm._e(),_c('textarea',{ref:\"input\",class:_vm.classObject,staticStyle:{\"overflow\":\"hidden\",\"min-height\":\"34px\"},attrs:{\"disabled\":_vm.disabled,\"readonly\":_vm.model.$schema.readOnly,\"placeholder\":_vm.placeholder,\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined,\"rows\":_vm.rows},domProps:{\"value\":_vm.svalue},on:{\"input\":function($event){return _vm.onInput($event)},\"blur\":function($event){return _vm.onTextareaBlur($event)},\"focus\":function($event){return _vm.onTextareaFocus($event)},\"mouseover\":function($event){return _vm.mouseOver($event)},\"mouseleave\":function($event){return _vm.mouseOut($event)}}}),(_vm.useHelper)?_c('textarea',{ref:\"hresize\",staticClass:\"form-control areahelper\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"tabindex\":\"-1\"}}):_vm._e(),(_vm.appendicon)?_c('i',{staticClass:\"icon-append fa\",class:_vm.appendicon.startsWith('fa-') ? _vm.appendicon : ''},[_vm._v(_vm._s(_vm.appendicon.startsWith('fa-') ? '' : _vm.appendicon))]):_vm._e()]),(_vm.model.$schema.maxLength!==undefined)?_c('div',{staticClass:\"text-note text-muted\"},[_c('small',{class:{'text-danger': (_vm.length>_vm.model.$schema.maxLength)}},[_vm._v(_vm._s(_vm.length)+\" z \"+_vm._s(_vm.model.$schema.maxLength || 0))])]):_vm._e(),_c('w-error',{attrs:{\"model\":_vm.model},on:{\"focus\":function($event){return _vm.$refs.input.focus()}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./textarea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./textarea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./textarea.vue?vue&type=template&id=7730f474&\"\nimport script from \"./textarea.vue?vue&type=script&lang=js&\"\nexport * from \"./textarea.vue?vue&type=script&lang=js&\"\nimport style0 from \"./textarea.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',{staticClass:\"checkbox\",class:{'state-disabled':_vm.disabled, 'state-error': _vm.model.$error},attrs:{\"for\":_vm.sid}},[_c('input',{ref:\"input\",attrs:{\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"id\":_vm.sid,\"value\":\"true\",\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"checked\":_vm.checked},on:{\"change\":function($event){return _vm.onInput($event)},\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.onBlur($event)}}}),_c('i'),_vm._t(\"default\",[_vm._v(_vm._s(_vm.getTitle))]),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),(_vm.showError)?_c('w-error',{attrs:{\"model\":_vm.model}}):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{getTitle}} \n \n \n \n \n \n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./checkbox.vue?vue&type=template&id=2ca9e85f&\"\nimport script from \"./checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./checkbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{'inline-block': _vm.inline}},[_c('label',{staticClass:\"radio radio-inline\",class:{'state-disabled':_vm.disabled, 'state-error': _vm.model.$error},attrs:{\"for\":_vm.sid}},[_c('input',{ref:\"input\",attrs:{\"type\":\"radio\",\"disabled\":_vm.disabled,\"id\":_vm.sid,\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"checked\":_vm.checked,\"value\":_vm.value},on:{\"click\":function($event){return _vm.onClick($event)},\"change\":function($event){return _vm.onInput($event)},\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.onBlur($event)}}}),_c('i'),_vm._t(\"default\",[_vm._v(_vm._s(_vm.getTitle))]),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),(_vm.showError)?_c('w-error',{attrs:{\"model\":_vm.model}}):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{getTitle}} \n \n \n \n \n \n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./radio.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./radio.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./radio.vue?vue&type=template&id=0920d3fa&scoped=true&\"\nimport script from \"./radio.vue?vue&type=script&lang=js&\"\nexport * from \"./radio.vue?vue&type=script&lang=js&\"\nimport style0 from \"./radio.vue?vue&type=style&index=0&id=0920d3fa&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0920d3fa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"btn\",class:_vm.classObject,attrs:{\"type\":\"button\",\"disabled\":_vm.disabled},on:{\"click\":function($event){_vm.$listeners.click || _vm.onClick},\"mouseover\":function($event){return _vm.mouseOver($event)},\"mouseleave\":function($event){return _vm.mouseOut($event)}}},[_vm._v(_vm._s(_vm.getTitle))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n {{getTitle}} \n \n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./button.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./button.vue?vue&type=template&id=9d49de8e&\"\nimport script from \"./button.vue?vue&type=script&lang=js&\"\nexport * from \"./button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model.pageCount>1)?_c('ul',{ref:\"pagination\",staticClass:\"pagination\",class:_vm.paginationClass,attrs:{\"data-path\":_vm.model.$form.testPath ? _vm.model.$path : undefined}},[_c('li',{staticClass:\"disabled\"},[_c('a',[_vm._v(\"od \"+_vm._s(_vm.startNumber)+\" do \"+_vm._s(_vm.endNumber)+\" z \"+_vm._s(_vm.maxNumber))])]),_c('li',{class:{'disabled':_vm.model.pageNumber==0}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){return _vm.setPage(_vm.model.pageNumber-1)}}},[_c('i',{staticClass:\"fa\",class:_vm.previousIconClass})])]),_vm._l((_vm.elements),function(targetPage,index){return _c('li',{key:index,class:{active:(targetPage==_vm.model.pageNumber), 'disabled':(targetPage==undefined)}},[(targetPage!=undefined)?_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){return _vm.setPage(targetPage)}}},[_vm._v(_vm._s(targetPage+1))]):_vm._e(),(targetPage==undefined)?_c('span',[_vm._v(\"...\")]):_vm._e()])}),_c('li',{class:{'disabled':_vm.model.pageNumber>=_vm.model.pageCount-1}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){return _vm.setPage(_vm.model.pageNumber+1)}}},[_c('i',{staticClass:\"fa\",class:_vm.nextIconClass})])])],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./pagination.vue?vue&type=template&id=634ddf0e&\"\nimport script from \"./pagination.vue?vue&type=script&lang=js&\"\nexport * from \"./pagination.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pagination.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.sid}},[(_vm.label)?[_vm._v(_vm._s(typeof _vm.label == \"string\" ? _vm.label : _vm.getTitle))]:_vm._e(),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],2),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),_c('label',{staticClass:\"select\",class:{'state-error': _vm.model.$error, 'state-disabled':_vm.disabled},attrs:{\"for\":_vm.sid}},[(_vm.renderReady)?_c('select',{ref:\"input\",attrs:{\"disabled\":_vm.disabled,\"placeholder\":_vm.placeholder,\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"value\":_vm.svalue},on:{\"input\":function($event){return _vm.onInput($event)},\"change\":function($event){return _vm.onInput($event)},\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.onBlur($event)},\"mouseover\":function($event){return _vm.mouseOver($event)},\"mouseleave\":function($event){return _vm.mouseOut($event)}}},[(_vm.placeholder)?_c('option',{attrs:{\"disabled\":\"disabled\",\"value\":\"\"},domProps:{\"selected\":_vm.svalue}},[_vm._v(_vm._s(_vm.placeholder))]):_vm._e(),_vm._l((_vm.values),function(value,index){return [(!value.children)?_c('option',{key:index,attrs:{\"disabled\":value.disabled},domProps:{\"value\":value.value,\"selected\":_vm.svalue == value.value}},[_vm._v(_vm._s(value.text))]):_c('optgroup',{key:index,attrs:{\"label\":value.text}},_vm._l((value.children),function(child,index2){return _c('option',{key:index2,attrs:{\"disabled\":child.disabled},domProps:{\"value\":child.value,\"selected\":_vm.svalue == value.value}},[_vm._v(_vm._s(child.text))])}),0)]})],2):_vm._e(),_c('i')]),_c('w-error',{attrs:{\"model\":_vm.model},on:{\"focus\":function($event){return _vm.$refs.input.focus()}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{typeof label == \"string\" ? label : getTitle}} \n {{tooltipContent}} \n \n \n \n \n\n \n \n {{placeholder}} \n \n {{value.text}} \n \n {{child.text}} \n \n \n \n \n \n \n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./select.vue?vue&type=template&id=6014ef08&\"\nimport script from \"./select.vue?vue&type=script&lang=js&\"\nexport * from \"./select.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.sid}},[(_vm.label)?[_vm._v(_vm._s(typeof _vm.label == 'string' ? _vm.label : _vm.getTitle))]:_vm._e(),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],2),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),_c('v-select',{class:{'is-invalid': this.model.$error},attrs:{\"closeOnSelect\":_vm.closeOnSelect,\"disabled\":_vm.disabled,\"options\":_vm.options,\"value\":_vm.localValues,\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined,\"multiple\":_vm.isModelAnArray,\"searchable\":_vm.taggable || _vm.customValue ? true : _vm.searchable,\"placeholder\":_vm.placeholder,\"clearSearchOnSelect\":_vm.taggable ? true : _vm.clearSearchOnSelect,\"taggable\":_vm.taggable || _vm.customValue,\"autocomplete\":_vm.autocomplete},on:{\"search:focus\":_vm.focus,\"search:blur\":_vm.blur,\"input\":_vm.selectedValue},scopedSlots:_vm._u([(this.$scopedSlots['selected-option'])?{key:\"selected-option\",fn:function(option){return [_vm._t(\"selected-option\",[_vm._v(_vm._s(option.label))],{\"child\":option})]}}:{key:\"selected-option\",fn:function(option){return [_vm._t(\"option\",[_vm._v(_vm._s(option.label))],{\"child\":option})]}},{key:\"option\",fn:function(option){return [_vm._t(\"option\",[_vm._v(_vm._s(option.label))],{\"child\":option})]}}],null,true)},[[_vm._t(\"default\",[_c('span',[_vm._v(_vm._s(_vm.noOptionsText))])],{\"slot\":\"no-options\"})]],2),_c('w-error',{attrs:{\"model\":_vm.model}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n}","export default function _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles\";\nimport iterableToArray from \"./iterableToArray\";\nimport nonIterableSpread from \"./nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();\n}","export default function _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","\n \n \n {{ typeof label == 'string' ? label : getTitle }} \n {{ tooltipContent }} \n \n \n \n \n \n \n \n {{noOptionsText}} \n \n \n\n \n {{ option.label }} \n \n \n {{ option.label }} \n \n\n \n {{ option.label }} \n \n \n \n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vue-select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vue-select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./vue-select.vue?vue&type=template&id=64ebd21c&\"\nimport script from \"./vue-select.vue?vue&type=script&lang=js&\"\nexport * from \"./vue-select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vue-select.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.showSwitcher ? 'pkd-root' : ''},[(_vm.showSwitcher)?_c('div',{ref:\"switcher\",staticClass:\"switcher\",on:{\"click\":function($event){_vm.switcher = !_vm.switcher}}},[_c('div',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.switcher),expression:\"switcher\"}]},[_c('i',{staticClass:\"fa fa-sort-alpha-asc\"}),_vm._v(\" Zmień metodę wprowadzania \")]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.switcher),expression:\"!switcher\"}]},[_c('i',{staticClass:\"fa fa-sort-numeric-asc\"}),_vm._v(\" Zmień metodę wprowadzania \")])])]):_vm._e(),_c('w-vue-select',{ref:\"select\",class:_vm.showSwitcher ? 'pkd-list' : '',attrs:{\"model\":_vm.model,\"values\":_vm.showedOptions,\"searchable\":true,\"placeholder\":_vm.name + ' PKD...'},on:{\"input\":_vm.fixLabels}},[_c('span',{attrs:{\"name\":\"no-options\"}},[_vm._v(\"Przepraszamy, nie znaleziono podanego numeru PKD.\")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
\n \n Zmień metodę wprowadzania\n \n \n Zmień metodę wprowadzania\n \n
\n
\n
\n Przepraszamy, nie znaleziono podanego numeru PKD. \n \n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pkd-select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pkd-select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./pkd-select.vue?vue&type=template&id=36ed92e8&\"\nimport script from \"./pkd-select.vue?vue&type=script&lang=js&\"\nexport * from \"./pkd-select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pkd-select.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('w-form-table',{attrs:{\"model\":_vm.model},scopedSlots:_vm._u([{key:\"thead\",fn:function(){return [_c('tr',[_c('th',{staticClass:\"text-middle\",attrs:{\"width\":\"5%\"}},[_vm._v(\"L.p.\")]),_c('th',{staticClass:\"center-parent text-middle\",attrs:{\"width\":_vm.switcher ? '55%' : '35%'}},[_c('span',{staticClass:\"center-child\"},[_vm._v(_vm._s(_vm.switcher ? \"Nazwa PKD\" : \"Symbol PKD\"))]),_c('button',{staticClass:\"btn btn-xs btn-default btn-gray pull-right\",on:{\"click\":function($event){_vm.switcher = !_vm.switcher}}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.switcher),expression:\"switcher\"}]},[_c('i',{staticClass:\"fa fa-sort-alpha-asc\"})]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.switcher),expression:\"!switcher\"}]},[_c('i',{staticClass:\"fa fa-sort-numeric-asc\"})]),_vm._v(\" Zmień metodę wprowadzania \")])]),_c('th',{staticClass:\"text-middle\"},[_vm._v(_vm._s(_vm.switcher ? \"Symbol PKD\" : \"Nazwa PKD\"))]),_c('th',{attrs:{\"width\":\"5%\"}})])]},proxy:true}])},[_c('tbody',_vm._l((_vm.model.$items),function(item,index){return _c('tr',{key:'przedmiot' + index},[_c('w-lp-cell',{attrs:{\"index\":index}}),_c('w-table-cell',{attrs:{\"css\":\"input\",\"model\":item.$item}},[_c('w-pkd-select',{attrs:{\"model\":item.$item,\"show-switcher\":false,\"show-symbols-first\":_vm.switcher},on:{\"switcher\":function (val){_vm.switcher = val}}})],1),_c('w-table-cell',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.switcher),expression:\"!switcher\"}],attrs:{\"css\":\"input state-disabled\",\"model\":item.$item.Text}},[_c('w-preview',{attrs:{\"model\":item.$item.Text}})],1),_c('w-table-cell',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.switcher ),expression:\"switcher \"}],attrs:{\"css\":\"input state-disabled\",\"model\":item.$item.Value}},[_c('w-preview',{attrs:{\"model\":item.$item.Value}})],1),_c('w-row-buttons',{attrs:{\"model\":item.$item}})],1)}),0),_c('tfoot',[_c('tr',[_c('td',{attrs:{\"colspan\":\"4\"}},[_c('w-add-row',{attrs:{\"model\":_vm.model}},[_vm._v(\"Dodaj przedmiot\")])],1)])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n L.p. \n \n {{switcher ? \"Nazwa PKD\" : \"Symbol PKD\"}} \n \n \n \n \n \n \n Zmień metodę wprowadzania\n \n \n {{switcher ? \"Symbol PKD\" : \"Nazwa PKD\"}} \n \n \n \n \n \n \n \n {switcher = val}\"\n > \n \n \n \n \n \n \n \n \n \n \n \n \n \n Dodaj przedmiot \n \n \n \n \n
\n \n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pkd-table.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pkd-table.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./pkd-table.vue?vue&type=template&id=42063a41&\"\nimport script from \"./pkd-table.vue?vue&type=script&lang=js&\"\nexport * from \"./pkd-table.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pkd-table.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.renderReady)?_c('div',{ref:\"root\"},[(_vm.getTitle)?_c('label',{staticClass:\"label\"},[_vm._v(\" \"+_vm._s(_vm.getTitle)+\" \"),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],1):_vm._e(),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),_c('div',{staticClass:\"input w-datepicker\",class:{'state-error': _vm.model.$error, 'state-disabled': _vm.disabled && !_vm.borderless, active: _vm.datePickerVisible}},[(_vm.showIcon && _vm.showIconOnResolution)?_c('i',{staticClass:\"icon-prepend fa fa-calendar\"}):_vm._e(),_c('input',{ref:\"input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.datepicker.options.placeholder || _vm.placeholder,\"readonly\":\"readonly\",\"autocomplete\":\"off\",\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"value\":this.reductView},on:{\"focus\":function($event){return _vm.toggleDatePicker()}}}),(_vm.model.$model && _vm.model.$model.length > 0 && _vm.shouldHaveTimePicker)?_c('button',{ref:\"timepicker\",staticClass:\"btn btn-append btn-primary\",on:{\"click\":_vm.showTimePicker}},[_c('i',{staticClass:\"fa fa-clock-o\"})]):_vm._e(),(_vm.shouldHaveTimePicker && _vm.timePickerVisible)?_c('div',{staticClass:\"vdp-datepicker timepicker\"},[_c('div',{staticClass:\"vdp-datepicker__calendar\"},[_vm._m(0),_c('div',{staticStyle:{\"padding\":\"10px\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col col-6\"},[_c('label',[_vm._v(\"Godzina\")]),_c('label',{staticClass:\"select\",attrs:{\"for\":\"\"}},[_c('select',{domProps:{\"value\":_vm.hours},on:{\"change\":_vm.hoursChanged}},_vm._l((24),function(i){return _c('option',{key:'hour' + i,domProps:{\"value\":i - 1}},[_vm._v(_vm._s(i < 10 ? 0 : '')+_vm._s(i - 1))])}),0),_c('i')])]),_c('div',{staticClass:\"col col-6\"},[_c('label',[_vm._v(\"Minuta\")]),_c('label',{staticClass:\"select\",attrs:{\"for\":\"\"}},[_c('select',{domProps:{\"value\":_vm.minutes},on:{\"change\":_vm.minutesChanged}},_vm._l((60),function(i){return _c('option',{key:'minute' + i,domProps:{\"value\":i - 1}},[_vm._v(_vm._s(i < 10 ? 0 : '')+_vm._s(i - 1))])}),0),_c('i')])])])])])]):_vm._e(),(_vm.datePickerVisible)?_c('datepicker',{ref:\"datePicker\",class:{'vdp-datepicker__left': _vm.leftSide, 'vdp-datepicker__top': _vm.topSide},attrs:{\"disabled\":_vm.disabled,\"minimum-view\":_vm.minView,\"maximum-view\":_vm.maxView,\"placeholder\":_vm.datepicker.options.placeholder || _vm.placeholder,\"language\":_vm.datepicker.language,\"format\":_vm.datepicker.options.format,\"value\":_vm.model.$model,\"clear-button\":_vm.datepicker.options.clearButton,\"disabledDates\":_vm.getDisabledDates,\"full-month-name\":true,\"open-date\":_vm.openDate},on:{\"input\":_vm.dateChanged,\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.pickerBlur($event)},\"closed\":function($event){return _vm.pickerBlur($event)}}}):_vm._e()],1),_c('w-error',{attrs:{\"model\":_vm.model},on:{\"focus\":function($event){_vm.datePickerVisible ? _vm.$refs.input.focus() : _vm.$refs.datePicker.focus()}}})],1):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[_c('span',{staticClass:\"day__month_btn up\"},[_vm._v(\"Wybierz godzinę\")])])}]\n\nexport { render, staticRenderFns }","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","/*!\n * vuejs-datepicker v1.5.4\n * (c) 2016-2018 Charlie Kassel\n * Released under the MIT License.\n */\nvar Language = function Language (language, months, monthsAbbr, days) {\n this.language = language;\n this.months = months;\n this.monthsAbbr = monthsAbbr;\n this.days = days;\n this.rtl = false;\n this.ymd = false;\n this.yearSuffix = '';\n};\n\nvar prototypeAccessors = { language: { configurable: true },months: { configurable: true },monthsAbbr: { configurable: true },days: { configurable: true } };\n\nprototypeAccessors.language.get = function () {\n return this._language\n};\n\nprototypeAccessors.language.set = function (language) {\n if (typeof language !== 'string') {\n throw new TypeError('Language must be a string')\n }\n this._language = language;\n};\n\nprototypeAccessors.months.get = function () {\n return this._months\n};\n\nprototypeAccessors.months.set = function (months) {\n if (months.length !== 12) {\n throw new RangeError((\"There must be 12 months for \" + (this.language) + \" language\"))\n }\n this._months = months;\n};\n\nprototypeAccessors.monthsAbbr.get = function () {\n return this._monthsAbbr\n};\n\nprototypeAccessors.monthsAbbr.set = function (monthsAbbr) {\n if (monthsAbbr.length !== 12) {\n throw new RangeError((\"There must be 12 abbreviated months for \" + (this.language) + \" language\"))\n }\n this._monthsAbbr = monthsAbbr;\n};\n\nprototypeAccessors.days.get = function () {\n return this._days\n};\n\nprototypeAccessors.days.set = function (days) {\n if (days.length !== 7) {\n throw new RangeError((\"There must be 7 days for \" + (this.language) + \" language\"))\n }\n this._days = days;\n};\n\nObject.defineProperties( Language.prototype, prototypeAccessors );\n\nvar en = new Language(\n 'English',\n ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n)\n// eslint-disable-next-line\n;\n\nvar utils = {\n /**\n * @type {Boolean}\n */\n useUtc: false,\n /**\n * Returns the full year, using UTC or not\n * @param {Date} date\n */\n getFullYear: function getFullYear (date) {\n return this.useUtc ? date.getUTCFullYear() : date.getFullYear()\n },\n\n /**\n * Returns the month, using UTC or not\n * @param {Date} date\n */\n getMonth: function getMonth (date) {\n return this.useUtc ? date.getUTCMonth() : date.getMonth()\n },\n\n /**\n * Returns the date, using UTC or not\n * @param {Date} date\n */\n getDate: function getDate (date) {\n return this.useUtc ? date.getUTCDate() : date.getDate()\n },\n\n /**\n * Returns the day, using UTC or not\n * @param {Date} date\n */\n getDay: function getDay (date) {\n return this.useUtc ? date.getUTCDay() : date.getDay()\n },\n\n /**\n * Returns the hours, using UTC or not\n * @param {Date} date\n */\n getHours: function getHours (date) {\n return this.useUtc ? date.getUTCHours() : date.getHours()\n },\n\n /**\n * Returns the minutes, using UTC or not\n * @param {Date} date\n */\n getMinutes: function getMinutes (date) {\n return this.useUtc ? date.getUTCMinutes() : date.getMinutes()\n },\n\n /**\n * Sets the full year, using UTC or not\n * @param {Date} date\n */\n setFullYear: function setFullYear (date, value, useUtc) {\n return this.useUtc ? date.setUTCFullYear(value) : date.setFullYear(value)\n },\n\n /**\n * Sets the month, using UTC or not\n * @param {Date} date\n */\n setMonth: function setMonth (date, value, useUtc) {\n return this.useUtc ? date.setUTCMonth(value) : date.setMonth(value)\n },\n\n /**\n * Sets the date, using UTC or not\n * @param {Date} date\n * @param {Number} value\n */\n setDate: function setDate (date, value, useUtc) {\n return this.useUtc ? date.setUTCDate(value) : date.setDate(value)\n },\n\n /**\n * Check if date1 is equivalent to date2, without comparing the time\n * @see https://stackoverflow.com/a/6202196/4455925\n * @param {Date} date1\n * @param {Date} date2\n */\n compareDates: function compareDates (date1, date2) {\n var d1 = new Date(date1.getTime());\n var d2 = new Date(date2.getTime());\n\n if (this.useUtc) {\n d1.setUTCHours(0, 0, 0, 0);\n d2.setUTCHours(0, 0, 0, 0);\n } else {\n d1.setHours(0, 0, 0, 0);\n d2.setHours(0, 0, 0, 0);\n }\n return d1.getTime() === d2.getTime()\n },\n\n /**\n * Validates a date object\n * @param {Date} date - an object instantiated with the new Date constructor\n * @return {Boolean}\n */\n isValidDate: function isValidDate (date) {\n if (Object.prototype.toString.call(date) !== '[object Date]') {\n return false\n }\n return !isNaN(date.getTime())\n },\n\n /**\n * Return abbreviated week day name\n * @param {Date}\n * @param {Array}\n * @return {String}\n */\n getDayNameAbbr: function getDayNameAbbr (date, days) {\n if (typeof date !== 'object') {\n throw TypeError('Invalid Type')\n }\n return days[this.getDay(date)]\n },\n\n /**\n * Return name of the month\n * @param {Number|Date}\n * @param {Array}\n * @return {String}\n */\n getMonthName: function getMonthName (month, months) {\n if (!months) {\n throw Error('missing 2nd parameter Months array')\n }\n if (typeof month === 'object') {\n return months[this.getMonth(month)]\n }\n if (typeof month === 'number') {\n return months[month]\n }\n throw TypeError('Invalid type')\n },\n\n /**\n * Return an abbreviated version of the month\n * @param {Number|Date}\n * @return {String}\n */\n getMonthNameAbbr: function getMonthNameAbbr (month, monthsAbbr) {\n if (!monthsAbbr) {\n throw Error('missing 2nd paramter Months array')\n }\n if (typeof month === 'object') {\n return monthsAbbr[this.getMonth(month)]\n }\n if (typeof month === 'number') {\n return monthsAbbr[month]\n }\n throw TypeError('Invalid type')\n },\n\n /**\n * Alternative get total number of days in month\n * @param {Number} year\n * @param {Number} m\n * @return {Number}\n */\n daysInMonth: function daysInMonth (year, month) {\n return /8|3|5|10/.test(month) ? 30 : month === 1 ? (!(year % 4) && year % 100) || !(year % 400) ? 29 : 28 : 31\n },\n\n /**\n * Get nth suffix for date\n * @param {Number} day\n * @return {String}\n */\n getNthSuffix: function getNthSuffix (day) {\n switch (day) {\n case 1:\n case 21:\n case 31:\n return 'st'\n case 2:\n case 22:\n return 'nd'\n case 3:\n case 23:\n return 'rd'\n default:\n return 'th'\n }\n },\n\n /**\n * Formats date object\n * @param {Date}\n * @param {String}\n * @param {Object}\n * @return {String}\n */\n formatDate: function formatDate (date, format, translation) {\n translation = (!translation) ? en : translation;\n var year = this.getFullYear(date);\n var month = this.getMonth(date) + 1;\n var day = this.getDate(date);\n var str = format\n .replace(/dd/, ('0' + day).slice(-2))\n .replace(/d/, day)\n .replace(/yyyy/, year)\n .replace(/yy/, String(year).slice(2))\n .replace(/MMMM/, this.getMonthName(this.getMonth(date), translation.months))\n .replace(/MMM/, this.getMonthNameAbbr(this.getMonth(date), translation.monthsAbbr))\n .replace(/MM/, ('0' + month).slice(-2))\n .replace(/M(?!a|ä|e)/, month)\n .replace(/su/, this.getNthSuffix(this.getDate(date)))\n .replace(/D(?!e|é|i)/, this.getDayNameAbbr(date, translation.days));\n return str\n },\n\n /**\n * Creates an array of dates for each day in between two dates.\n * @param {Date} start\n * @param {Date} end\n * @return {Array}\n */\n createDateArray: function createDateArray (start, end) {\n var this$1 = this;\n\n var dates = [];\n while (start <= end) {\n dates.push(new Date(start));\n start = this$1.setDate(new Date(start), this$1.getDate(new Date(start)) + 1);\n }\n return dates\n },\n\n /**\n * method used as a prop validator for input values\n * @param {*} val\n * @return {Boolean}\n */\n validateDateInput: function validateDateInput (val) {\n return val === null || val instanceof Date || typeof val === 'string' || typeof val === 'number'\n }\n};\n\nvar makeDateUtils = function (useUtc) { return (Object.assign({}, utils, {useUtc: useUtc})); };\n\nvar utils$1 = Object.assign({}, utils)\n// eslint-disable-next-line\n;\n\n(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=\"\"; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })();\nvar DateInput = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{'input-group' : _vm.bootstrapStyling}},[(_vm.calendarButton)?_c('span',{staticClass:\"vdp-datepicker__calendar-button\",class:{'input-group-prepend' : _vm.bootstrapStyling},style:({'cursor:not-allowed;' : _vm.disabled}),on:{\"click\":_vm.showCalendar}},[_c('span',{class:{'input-group-text' : _vm.bootstrapStyling}},[_c('i',{class:_vm.calendarButtonIcon},[_vm._v(\" \"+_vm._s(_vm.calendarButtonIconContent)+\" \"),(!_vm.calendarButtonIcon)?_c('span',[_vm._v(\"…\")]):_vm._e()])])]):_vm._e(),_vm._v(\" \"),_c('input',{ref:_vm.refName,class:_vm.computedInputClass,attrs:{\"type\":_vm.inline ? 'hidden' : 'text',\"name\":_vm.name,\"id\":_vm.id,\"open-date\":_vm.openDate,\"placeholder\":_vm.placeholder,\"clear-button\":_vm.clearButton,\"disabled\":_vm.disabled,\"required\":_vm.required,\"readonly\":!_vm.typeable,\"autocomplete\":\"off\"},domProps:{\"value\":_vm.formattedValue},on:{\"click\":_vm.showCalendar,\"keyup\":_vm.parseTypedDate,\"blur\":_vm.inputBlurred}}),_vm._v(\" \"),(_vm.clearButton && _vm.selectedDate)?_c('span',{staticClass:\"vdp-datepicker__clear-button\",class:{'input-group-append' : _vm.bootstrapStyling},on:{\"click\":function($event){_vm.clearDate();}}},[_c('span',{class:{'input-group-text' : _vm.bootstrapStyling}},[_c('i',{class:_vm.clearButtonIcon},[(!_vm.clearButtonIcon)?_c('span',[_vm._v(\"×\")]):_vm._e()])])]):_vm._e(),_vm._v(\" \"),_vm._t(\"afterDateInput\")],2)},staticRenderFns: [],\n props: {\n selectedDate: Date,\n resetTypedDate: [Date],\n format: [String, Function],\n translation: Object,\n inline: Boolean,\n id: String,\n name: String,\n refName: String,\n openDate: Date,\n placeholder: String,\n inputClass: [String, Object, Array],\n clearButton: Boolean,\n clearButtonIcon: String,\n calendarButton: Boolean,\n calendarButtonIcon: String,\n calendarButtonIconContent: String,\n disabled: Boolean,\n required: Boolean,\n typeable: Boolean,\n bootstrapStyling: Boolean,\n useUtc: Boolean\n },\n data: function data () {\n var constructedDateUtils = makeDateUtils(this.useUtc);\n return {\n input: null,\n typedDate: false,\n utils: constructedDateUtils\n }\n },\n computed: {\n formattedValue: function formattedValue () {\n if (!this.selectedDate) {\n return null\n }\n if (this.typedDate) {\n return this.typedDate\n }\n return typeof this.format === 'function'\n ? this.format(this.selectedDate)\n : this.utils.formatDate(new Date(this.selectedDate), this.format, this.translation)\n },\n\n computedInputClass: function computedInputClass () {\n if (this.bootstrapStyling) {\n if (typeof this.inputClass === 'string') {\n return [this.inputClass, 'form-control'].join(' ')\n }\n return Object.assign({}, {'form-control': true}, this.inputClass)\n }\n return this.inputClass\n }\n },\n watch: {\n resetTypedDate: function resetTypedDate () {\n this.typedDate = false;\n }\n },\n methods: {\n showCalendar: function showCalendar () {\n this.$emit('showCalendar');\n },\n /**\n * Attempt to parse a typed date\n * @param {Event} event\n */\n parseTypedDate: function parseTypedDate (event) {\n // close calendar if escape or enter are pressed\n if ([\n 27, // escape\n 13 // enter\n ].includes(event.keyCode)) {\n this.input.blur();\n }\n\n if (this.typeable) {\n var typedDate = Date.parse(this.input.value);\n if (!isNaN(typedDate)) {\n this.typedDate = this.input.value;\n this.$emit('typedDate', new Date(this.typedDate));\n }\n }\n },\n /**\n * nullify the typed date to defer to regular formatting\n * called once the input is blurred\n */\n inputBlurred: function inputBlurred () {\n if (this.typeable && isNaN(Date.parse(this.input.value))) {\n this.clearDate();\n this.input.value = null;\n this.typedDate = null;\n }\n\n this.$emit('closeCalendar');\n },\n /**\n * emit a clearDate event\n */\n clearDate: function clearDate () {\n this.$emit('clearDate');\n }\n },\n mounted: function mounted () {\n this.input = this.$el.querySelector('input');\n }\n}\n// eslint-disable-next-line\n;\n\n(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=\"\"; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })();\nvar PickerDay = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showDayView),expression:\"showDayView\"}],class:[_vm.calendarClass, 'vdp-datepicker__calendar'],style:(_vm.calendarStyle),on:{\"mousedown\":function($event){$event.preventDefault();}}},[_vm._t(\"beforeCalendarHeader\"),_vm._v(\" \"),_c('header',[_c('span',{staticClass:\"prev\",class:{'disabled': _vm.isLeftNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.nextMonth() : _vm.previousMonth();}}},[_vm._v(\"<\")]),_vm._v(\" \"),_c('span',{staticClass:\"day__month_btn\",class:_vm.allowedToShowView('month') ? 'up' : '',on:{\"click\":_vm.showMonthCalendar}},[_vm._v(_vm._s(_vm.isYmd ? _vm.currYearName : _vm.currMonthName)+\" \"+_vm._s(_vm.isYmd ? _vm.currMonthName : _vm.currYearName))]),_vm._v(\" \"),_c('span',{staticClass:\"next\",class:{'disabled': _vm.isRightNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.previousMonth() : _vm.nextMonth();}}},[_vm._v(\">\")])]),_vm._v(\" \"),_c('div',{class:_vm.isRtl ? 'flex-rtl' : ''},[_vm._l((_vm.daysOfWeek),function(d){return _c('span',{key:d.timestamp,staticClass:\"cell day-header\"},[_vm._v(_vm._s(d))])}),_vm._v(\" \"),(_vm.blankDays > 0)?_vm._l((_vm.blankDays),function(d){return _c('span',{key:d.timestamp,staticClass:\"cell day blank\"})}):_vm._e(),_vm._l((_vm.days),function(day){return _c('span',{key:day.timestamp,staticClass:\"cell day\",class:_vm.dayClasses(day),domProps:{\"innerHTML\":_vm._s(_vm.dayCellContent(day))},on:{\"click\":function($event){_vm.selectDate(day);}}})})],2)],2)},staticRenderFns: [],\n props: {\n showDayView: Boolean,\n selectedDate: Date,\n pageDate: Date,\n pageTimestamp: Number,\n fullMonthName: Boolean,\n allowedToShowView: Function,\n dayCellContent: {\n type: Function,\n default: function (day) { return day.date; }\n },\n disabledDates: Object,\n highlighted: Object,\n calendarClass: [String, Object, Array],\n calendarStyle: Object,\n translation: Object,\n isRtl: Boolean,\n mondayFirst: Boolean,\n useUtc: Boolean\n },\n data: function data () {\n var constructedDateUtils = makeDateUtils(this.useUtc);\n return {\n utils: constructedDateUtils\n }\n },\n computed: {\n /**\n * Returns an array of day names\n * @return {String[]}\n */\n daysOfWeek: function daysOfWeek () {\n if (this.mondayFirst) {\n var tempDays = this.translation.days.slice();\n tempDays.push(tempDays.shift());\n return tempDays\n }\n return this.translation.days\n },\n /**\n * Returns the day number of the week less one for the first of the current month\n * Used to show amount of empty cells before the first in the day calendar layout\n * @return {Number}\n */\n blankDays: function blankDays () {\n var d = this.pageDate;\n var dObj = this.useUtc\n ? new Date(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), 1))\n : new Date(d.getFullYear(), d.getMonth(), 1, d.getHours(), d.getMinutes());\n if (this.mondayFirst) {\n return this.utils.getDay(dObj) > 0 ? this.utils.getDay(dObj) - 1 : 6\n }\n return this.utils.getDay(dObj)\n },\n /**\n * @return {Object[]}\n */\n days: function days () {\n var this$1 = this;\n\n var d = this.pageDate;\n var days = [];\n // set up a new date object to the beginning of the current 'page'\n var dObj = this.useUtc\n ? new Date(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), 1))\n : new Date(d.getFullYear(), d.getMonth(), 1, d.getHours(), d.getMinutes());\n var daysInMonth = this.utils.daysInMonth(this.utils.getFullYear(dObj), this.utils.getMonth(dObj));\n for (var i = 0; i < daysInMonth; i++) {\n days.push({\n date: this$1.utils.getDate(dObj),\n timestamp: dObj.getTime(),\n isSelected: this$1.isSelectedDate(dObj),\n isDisabled: this$1.isDisabledDate(dObj),\n isHighlighted: this$1.isHighlightedDate(dObj),\n isHighlightStart: this$1.isHighlightStart(dObj),\n isHighlightEnd: this$1.isHighlightEnd(dObj),\n isToday: this$1.utils.compareDates(dObj, new Date()),\n isWeekend: this$1.utils.getDay(dObj) === 0 || this$1.utils.getDay(dObj) === 6,\n isSaturday: this$1.utils.getDay(dObj) === 6,\n isSunday: this$1.utils.getDay(dObj) === 0\n });\n this$1.utils.setDate(dObj, this$1.utils.getDate(dObj) + 1);\n }\n return days\n },\n /**\n * Gets the name of the month the current page is on\n * @return {String}\n */\n currMonthName: function currMonthName () {\n var monthName = this.fullMonthName ? this.translation.months : this.translation.monthsAbbr;\n return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate), monthName)\n },\n /**\n * Gets the name of the year that current page is on\n * @return {Number}\n */\n currYearName: function currYearName () {\n var yearSuffix = this.translation.yearSuffix;\n return (\"\" + (this.utils.getFullYear(this.pageDate)) + yearSuffix)\n },\n /**\n * Is this translation using year/month/day format?\n * @return {Boolean}\n */\n isYmd: function isYmd () {\n return this.translation.ymd && this.translation.ymd === true\n },\n /**\n * Is the left hand navigation button disabled?\n * @return {Boolean}\n */\n isLeftNavDisabled: function isLeftNavDisabled () {\n return this.isRtl\n ? this.isNextMonthDisabled(this.pageTimestamp)\n : this.isPreviousMonthDisabled(this.pageTimestamp)\n },\n /**\n * Is the right hand navigation button disabled?\n * @return {Boolean}\n */\n isRightNavDisabled: function isRightNavDisabled () {\n return this.isRtl\n ? this.isPreviousMonthDisabled(this.pageTimestamp)\n : this.isNextMonthDisabled(this.pageTimestamp)\n }\n },\n methods: {\n selectDate: function selectDate (date) {\n if (date.isDisabled) {\n this.$emit('selectedDisabled', date);\n return false\n }\n this.$emit('selectDate', date);\n },\n /**\n * @return {Number}\n */\n getPageMonth: function getPageMonth () {\n return this.utils.getMonth(this.pageDate)\n },\n /**\n * Emit an event to show the month picker\n */\n showMonthCalendar: function showMonthCalendar () {\n this.$emit('showMonthCalendar');\n },\n /**\n * Change the page month\n * @param {Number} incrementBy\n */\n changeMonth: function changeMonth (incrementBy) {\n var date = this.pageDate;\n this.utils.setMonth(date, this.utils.getMonth(date) + incrementBy);\n this.$emit('changedMonth', date);\n },\n /**\n * Decrement the page month\n */\n previousMonth: function previousMonth () {\n if (!this.isPreviousMonthDisabled()) {\n this.changeMonth(-1);\n }\n },\n /**\n * Is the previous month disabled?\n * @return {Boolean}\n */\n isPreviousMonthDisabled: function isPreviousMonthDisabled () {\n if (!this.disabledDates || !this.disabledDates.to) {\n return false\n }\n var d = this.pageDate;\n return this.utils.getMonth(this.disabledDates.to) >= this.utils.getMonth(d) &&\n this.utils.getFullYear(this.disabledDates.to) >= this.utils.getFullYear(d)\n },\n /**\n * Increment the current page month\n */\n nextMonth: function nextMonth () {\n if (!this.isNextMonthDisabled()) {\n this.changeMonth(+1);\n }\n },\n /**\n * Is the next month disabled?\n * @return {Boolean}\n */\n isNextMonthDisabled: function isNextMonthDisabled () {\n if (!this.disabledDates || !this.disabledDates.from) {\n return false\n }\n var d = this.pageDate;\n return this.utils.getMonth(this.disabledDates.from) <= this.utils.getMonth(d) &&\n this.utils.getFullYear(this.disabledDates.from) <= this.utils.getFullYear(d)\n },\n /**\n * Whether a day is selected\n * @param {Date}\n * @return {Boolean}\n */\n isSelectedDate: function isSelectedDate (dObj) {\n return this.selectedDate && this.utils.compareDates(this.selectedDate, dObj)\n },\n /**\n * Whether a day is disabled\n * @param {Date}\n * @return {Boolean}\n */\n isDisabledDate: function isDisabledDate (date) {\n var this$1 = this;\n\n var disabledDates = false;\n\n if (typeof this.disabledDates === 'undefined') {\n return false\n }\n\n if (typeof this.disabledDates.dates !== 'undefined') {\n this.disabledDates.dates.forEach(function (d) {\n if (this$1.utils.compareDates(date, d)) {\n disabledDates = true;\n return true\n }\n });\n }\n if (typeof this.disabledDates.to !== 'undefined' && this.disabledDates.to && date < this.disabledDates.to) {\n disabledDates = true;\n }\n if (typeof this.disabledDates.from !== 'undefined' && this.disabledDates.from && date > this.disabledDates.from) {\n disabledDates = true;\n }\n if (typeof this.disabledDates.ranges !== 'undefined') {\n this.disabledDates.ranges.forEach(function (range) {\n if (typeof range.from !== 'undefined' && range.from && typeof range.to !== 'undefined' && range.to) {\n if (date < range.to && date > range.from) {\n disabledDates = true;\n return true\n }\n }\n });\n }\n if (typeof this.disabledDates.days !== 'undefined' && this.disabledDates.days.indexOf(this.utils.getDay(date)) !== -1) {\n disabledDates = true;\n }\n if (typeof this.disabledDates.daysOfMonth !== 'undefined' && this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(date)) !== -1) {\n disabledDates = true;\n }\n if (typeof this.disabledDates.customPredictor === 'function' && this.disabledDates.customPredictor(date)) {\n disabledDates = true;\n }\n return disabledDates\n },\n /**\n * Whether a day is highlighted (only if it is not disabled already except when highlighted.includeDisabled is true)\n * @param {Date}\n * @return {Boolean}\n */\n isHighlightedDate: function isHighlightedDate (date) {\n var this$1 = this;\n\n if (!(this.highlighted && this.highlighted.includeDisabled) && this.isDisabledDate(date)) {\n return false\n }\n\n var highlighted = false;\n\n if (typeof this.highlighted === 'undefined') {\n return false\n }\n\n if (typeof this.highlighted.dates !== 'undefined') {\n this.highlighted.dates.forEach(function (d) {\n if (this$1.utils.compareDates(date, d)) {\n highlighted = true;\n return true\n }\n });\n }\n\n if (this.isDefined(this.highlighted.from) && this.isDefined(this.highlighted.to)) {\n highlighted = date >= this.highlighted.from && date <= this.highlighted.to;\n }\n\n if (typeof this.highlighted.days !== 'undefined' && this.highlighted.days.indexOf(this.utils.getDay(date)) !== -1) {\n highlighted = true;\n }\n\n if (typeof this.highlighted.daysOfMonth !== 'undefined' && this.highlighted.daysOfMonth.indexOf(this.utils.getDate(date)) !== -1) {\n highlighted = true;\n }\n\n if (typeof this.highlighted.customPredictor === 'function' && this.highlighted.customPredictor(date)) {\n highlighted = true;\n }\n\n return highlighted\n },\n dayClasses: function dayClasses (day) {\n return {\n 'selected': day.isSelected,\n 'disabled': day.isDisabled,\n 'highlighted': day.isHighlighted,\n 'today': day.isToday,\n 'weekend': day.isWeekend,\n 'sat': day.isSaturday,\n 'sun': day.isSunday,\n 'highlight-start': day.isHighlightStart,\n 'highlight-end': day.isHighlightEnd\n }\n },\n /**\n * Whether a day is highlighted and it is the first date\n * in the highlighted range of dates\n * @param {Date}\n * @return {Boolean}\n */\n isHighlightStart: function isHighlightStart (date) {\n return this.isHighlightedDate(date) &&\n (this.highlighted.from instanceof Date) &&\n (this.utils.getFullYear(this.highlighted.from) === this.utils.getFullYear(date)) &&\n (this.utils.getMonth(this.highlighted.from) === this.utils.getMonth(date)) &&\n (this.utils.getDate(this.highlighted.from) === this.utils.getDate(date))\n },\n /**\n * Whether a day is highlighted and it is the first date\n * in the highlighted range of dates\n * @param {Date}\n * @return {Boolean}\n */\n isHighlightEnd: function isHighlightEnd (date) {\n return this.isHighlightedDate(date) &&\n (this.highlighted.to instanceof Date) &&\n (this.utils.getFullYear(this.highlighted.to) === this.utils.getFullYear(date)) &&\n (this.utils.getMonth(this.highlighted.to) === this.utils.getMonth(date)) &&\n (this.utils.getDate(this.highlighted.to) === this.utils.getDate(date))\n },\n /**\n * Helper\n * @param {mixed} prop\n * @return {Boolean}\n */\n isDefined: function isDefined (prop) {\n return typeof prop !== 'undefined' && prop\n }\n }\n}\n// eslint-disable-next-line\n;\n\n(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=\"\"; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })();\nvar PickerMonth = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showMonthView),expression:\"showMonthView\"}],class:[_vm.calendarClass, 'vdp-datepicker__calendar'],style:(_vm.calendarStyle),on:{\"mousedown\":function($event){$event.preventDefault();}}},[_vm._t(\"beforeCalendarHeader\"),_vm._v(\" \"),_c('header',[_c('span',{staticClass:\"prev\",class:{'disabled': _vm.isLeftNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.nextYear() : _vm.previousYear();}}},[_vm._v(\"<\")]),_vm._v(\" \"),_c('span',{staticClass:\"month__year_btn\",class:_vm.allowedToShowView('year') ? 'up' : '',on:{\"click\":_vm.showYearCalendar}},[_vm._v(_vm._s(_vm.pageYearName))]),_vm._v(\" \"),_c('span',{staticClass:\"next\",class:{'disabled': _vm.isRightNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.previousYear() : _vm.nextYear();}}},[_vm._v(\">\")])]),_vm._v(\" \"),_vm._l((_vm.months),function(month){return _c('span',{key:month.timestamp,staticClass:\"cell month\",class:{'selected': month.isSelected, 'disabled': month.isDisabled},on:{\"click\":function($event){$event.stopPropagation();_vm.selectMonth(month);}}},[_vm._v(_vm._s(month.month))])})],2)},staticRenderFns: [],\n props: {\n showMonthView: Boolean,\n selectedDate: Date,\n pageDate: Date,\n pageTimestamp: Number,\n disabledDates: Object,\n calendarClass: [String, Object, Array],\n calendarStyle: Object,\n translation: Object,\n isRtl: Boolean,\n allowedToShowView: Function,\n useUtc: Boolean\n },\n data: function data () {\n var constructedDateUtils = makeDateUtils(this.useUtc);\n return {\n utils: constructedDateUtils\n }\n },\n computed: {\n months: function months () {\n var this$1 = this;\n\n var d = this.pageDate;\n var months = [];\n // set up a new date object to the beginning of the current 'page'\n var dObj = this.useUtc\n ? new Date(Date.UTC(d.getUTCFullYear(), 0, d.getUTCDate()))\n : new Date(d.getFullYear(), 0, d.getDate(), d.getHours(), d.getMinutes());\n for (var i = 0; i < 12; i++) {\n months.push({\n month: this$1.utils.getMonthName(i, this$1.translation.months),\n timestamp: dObj.getTime(),\n isSelected: this$1.isSelectedMonth(dObj),\n isDisabled: this$1.isDisabledMonth(dObj)\n });\n this$1.utils.setMonth(dObj, this$1.utils.getMonth(dObj) + 1);\n }\n return months\n },\n /**\n * Get year name on current page.\n * @return {String}\n */\n pageYearName: function pageYearName () {\n var yearSuffix = this.translation.yearSuffix;\n return (\"\" + (this.utils.getFullYear(this.pageDate)) + yearSuffix)\n },\n /**\n * Is the left hand navigation disabled\n * @return {Boolean}\n */\n isLeftNavDisabled: function isLeftNavDisabled () {\n return this.isRtl\n ? this.isNextYearDisabled(this.pageTimestamp)\n : this.isPreviousYearDisabled(this.pageTimestamp)\n },\n /**\n * Is the right hand navigation disabled\n * @return {Boolean}\n */\n isRightNavDisabled: function isRightNavDisabled () {\n return this.isRtl\n ? this.isPreviousYearDisabled(this.pageTimestamp)\n : this.isNextYearDisabled(this.pageTimestamp)\n }\n },\n methods: {\n /**\n * Emits a selectMonth event\n * @param {Object} month\n */\n selectMonth: function selectMonth (month) {\n if (month.isDisabled) {\n return false\n }\n this.$emit('selectMonth', month);\n },\n /**\n * Changes the year up or down\n * @param {Number} incrementBy\n */\n changeYear: function changeYear (incrementBy) {\n var date = this.pageDate;\n this.utils.setFullYear(date, this.utils.getFullYear(date) + incrementBy);\n this.$emit('changedYear', date);\n },\n /**\n * Decrements the year\n */\n previousYear: function previousYear () {\n if (!this.isPreviousYearDisabled()) {\n this.changeYear(-1);\n }\n },\n /**\n * Checks if the previous year is disabled or not\n * @return {Boolean}\n */\n isPreviousYearDisabled: function isPreviousYearDisabled () {\n if (!this.disabledDates || !this.disabledDates.to) {\n return false\n }\n return this.utils.getFullYear(this.disabledDates.to) >= this.utils.getFullYear(this.pageDate)\n },\n /**\n * Increments the year\n */\n nextYear: function nextYear () {\n if (!this.isNextYearDisabled()) {\n this.changeYear(1);\n }\n },\n /**\n * Checks if the next year is disabled or not\n * @return {Boolean}\n */\n isNextYearDisabled: function isNextYearDisabled () {\n if (!this.disabledDates || !this.disabledDates.from) {\n return false\n }\n return this.utils.getFullYear(this.disabledDates.from) <= this.utils.getFullYear(this.pageDate)\n },\n /**\n * Emits an event that shows the year calendar\n */\n showYearCalendar: function showYearCalendar () {\n this.$emit('showYearCalendar');\n },\n /**\n * Whether the selected date is in this month\n * @param {Date}\n * @return {Boolean}\n */\n isSelectedMonth: function isSelectedMonth (date) {\n return (this.selectedDate &&\n this.utils.getFullYear(this.selectedDate) === this.utils.getFullYear(date) &&\n this.utils.getMonth(this.selectedDate) === this.utils.getMonth(date))\n },\n /**\n * Whether a month is disabled\n * @param {Date}\n * @return {Boolean}\n */\n isDisabledMonth: function isDisabledMonth (date) {\n var disabledDates = false;\n\n if (typeof this.disabledDates === 'undefined') {\n return false\n }\n\n if (typeof this.disabledDates.to !== 'undefined' && this.disabledDates.to) {\n if (\n (this.utils.getMonth(date) < this.utils.getMonth(this.disabledDates.to) && this.utils.getFullYear(date) <= this.utils.getFullYear(this.disabledDates.to)) ||\n this.utils.getFullYear(date) < this.utils.getFullYear(this.disabledDates.to)\n ) {\n disabledDates = true;\n }\n }\n if (typeof this.disabledDates.from !== 'undefined' && this.disabledDates.from) {\n if (\n (this.utils.getMonth(date) > this.utils.getMonth(this.disabledDates.from) && this.utils.getFullYear(date) >= this.utils.getFullYear(this.disabledDates.from)) ||\n this.utils.getFullYear(date) > this.utils.getFullYear(this.disabledDates.from)\n ) {\n disabledDates = true;\n }\n }\n\n if (typeof this.disabledDates.customPredictor === 'function' && this.disabledDates.customPredictor(date)) {\n disabledDates = true;\n }\n return disabledDates\n }\n }\n}\n// eslint-disable-next-line\n;\n\n(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=\"\"; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })();\nvar PickerYear = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showYearView),expression:\"showYearView\"}],class:[_vm.calendarClass, 'vdp-datepicker__calendar'],style:(_vm.calendarStyle),on:{\"mousedown\":function($event){$event.preventDefault();}}},[_vm._t(\"beforeCalendarHeader\"),_vm._v(\" \"),_c('header',[_c('span',{staticClass:\"prev\",class:{'disabled': _vm.isLeftNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.nextDecade() : _vm.previousDecade();}}},[_vm._v(\"<\")]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.getPageDecade))]),_vm._v(\" \"),_c('span',{staticClass:\"next\",class:{'disabled': _vm.isRightNavDisabled},on:{\"click\":function($event){_vm.isRtl ? _vm.previousDecade() : _vm.nextDecade();}}},[_vm._v(\">\")])]),_vm._v(\" \"),_vm._l((_vm.years),function(year){return _c('span',{key:year.timestamp,staticClass:\"cell year\",class:{ 'selected': year.isSelected, 'disabled': year.isDisabled },on:{\"click\":function($event){$event.stopPropagation();_vm.selectYear(year);}}},[_vm._v(_vm._s(year.year))])})],2)},staticRenderFns: [],\n props: {\n showYearView: Boolean,\n selectedDate: Date,\n pageDate: Date,\n pageTimestamp: Number,\n disabledDates: Object,\n highlighted: Object,\n calendarClass: [String, Object, Array],\n calendarStyle: Object,\n translation: Object,\n isRtl: Boolean,\n allowedToShowView: Function,\n useUtc: Boolean\n },\n computed: {\n years: function years () {\n var this$1 = this;\n\n var d = this.pageDate;\n var years = [];\n // set up a new date object to the beginning of the current 'page'7\n var dObj = this.useUtc\n ? new Date(Date.UTC(Math.floor(d.getUTCFullYear() / 10) * 10, d.getUTCMonth(), d.getUTCDate()))\n : new Date(Math.floor(d.getFullYear() / 10) * 10, d.getMonth(), d.getDate(), d.getHours(), d.getMinutes());\n for (var i = 0; i < 10; i++) {\n years.push({\n year: this$1.utils.getFullYear(dObj),\n timestamp: dObj.getTime(),\n isSelected: this$1.isSelectedYear(dObj),\n isDisabled: this$1.isDisabledYear(dObj)\n });\n this$1.utils.setFullYear(dObj, this$1.utils.getFullYear(dObj) + 1);\n }\n return years\n },\n /**\n * @return {String}\n */\n getPageDecade: function getPageDecade () {\n var decadeStart = Math.floor(this.utils.getFullYear(this.pageDate) / 10) * 10;\n var decadeEnd = decadeStart + 9;\n var yearSuffix = this.translation.yearSuffix;\n return (decadeStart + \" - \" + decadeEnd + yearSuffix)\n },\n /**\n * Is the left hand navigation button disabled?\n * @return {Boolean}\n */\n isLeftNavDisabled: function isLeftNavDisabled () {\n return this.isRtl\n ? this.isNextDecadeDisabled(this.pageTimestamp)\n : this.isPreviousDecadeDisabled(this.pageTimestamp)\n },\n /**\n * Is the right hand navigation button disabled?\n * @return {Boolean}\n */\n isRightNavDisabled: function isRightNavDisabled () {\n return this.isRtl\n ? this.isPreviousDecadeDisabled(this.pageTimestamp)\n : this.isNextDecadeDisabled(this.pageTimestamp)\n }\n },\n data: function data () {\n var constructedDateUtils = makeDateUtils(this.useUtc);\n return {\n utils: constructedDateUtils\n }\n },\n methods: {\n selectYear: function selectYear (year) {\n if (year.isDisabled) {\n return false\n }\n this.$emit('selectYear', year);\n },\n changeYear: function changeYear (incrementBy) {\n var date = this.pageDate;\n this.utils.setFullYear(date, this.utils.getFullYear(date) + incrementBy);\n this.$emit('changedDecade', date);\n },\n previousDecade: function previousDecade () {\n if (this.isPreviousDecadeDisabled()) {\n return false\n }\n this.changeYear(-10);\n },\n isPreviousDecadeDisabled: function isPreviousDecadeDisabled () {\n if (!this.disabledDates || !this.disabledDates.to) {\n return false\n }\n var disabledYear = this.utils.getFullYear(this.disabledDates.to);\n var lastYearInPreviousPage = Math.floor(this.utils.getFullYear(this.pageDate) / 10) * 10 - 1;\n return disabledYear > lastYearInPreviousPage\n },\n nextDecade: function nextDecade () {\n if (this.isNextDecadeDisabled()) {\n return false\n }\n this.changeYear(10);\n },\n isNextDecadeDisabled: function isNextDecadeDisabled () {\n if (!this.disabledDates || !this.disabledDates.from) {\n return false\n }\n var disabledYear = this.utils.getFullYear(this.disabledDates.from);\n var firstYearInNextPage = Math.ceil(this.utils.getFullYear(this.pageDate) / 10) * 10;\n return disabledYear < firstYearInNextPage\n },\n\n /**\n * Whether the selected date is in this year\n * @param {Date}\n * @return {Boolean}\n */\n isSelectedYear: function isSelectedYear (date) {\n return this.selectedDate && this.utils.getFullYear(this.selectedDate) === this.utils.getFullYear(date)\n },\n /**\n * Whether a year is disabled\n * @param {Date}\n * @return {Boolean}\n */\n isDisabledYear: function isDisabledYear (date) {\n var disabledDates = false;\n if (typeof this.disabledDates === 'undefined' || !this.disabledDates) {\n return false\n }\n\n if (typeof this.disabledDates.to !== 'undefined' && this.disabledDates.to) {\n if (this.utils.getFullYear(date) < this.utils.getFullYear(this.disabledDates.to)) {\n disabledDates = true;\n }\n }\n if (typeof this.disabledDates.from !== 'undefined' && this.disabledDates.from) {\n if (this.utils.getFullYear(date) > this.utils.getFullYear(this.disabledDates.from)) {\n disabledDates = true;\n }\n }\n\n if (typeof this.disabledDates.customPredictor === 'function' && this.disabledDates.customPredictor(date)) {\n disabledDates = true;\n }\n\n return disabledDates\n }\n }\n}\n// eslint-disable-next-line\n;\n\n(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=\".rtl { direction: rtl; } .vdp-datepicker { position: relative; text-align: left; } .vdp-datepicker * { box-sizing: border-box; } .vdp-datepicker__calendar { position: absolute; z-index: 100; background: #fff; width: 300px; border: 1px solid #ccc; } .vdp-datepicker__calendar header { display: block; line-height: 40px; } .vdp-datepicker__calendar header span { display: inline-block; text-align: center; width: 71.42857142857143%; float: left; } .vdp-datepicker__calendar header .prev, .vdp-datepicker__calendar header .next { width: 14.285714285714286%; float: left; text-indent: -10000px; position: relative; } .vdp-datepicker__calendar header .prev:after, .vdp-datepicker__calendar header .next:after { content: ''; position: absolute; left: 50%; top: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); border: 6px solid transparent; } .vdp-datepicker__calendar header .prev:after { border-right: 10px solid #000; margin-left: -5px; } .vdp-datepicker__calendar header .prev.disabled:after { border-right: 10px solid #ddd; } .vdp-datepicker__calendar header .next:after { border-left: 10px solid #000; margin-left: 5px; } .vdp-datepicker__calendar header .next.disabled:after { border-left: 10px solid #ddd; } .vdp-datepicker__calendar header .prev:not(.disabled), .vdp-datepicker__calendar header .next:not(.disabled), .vdp-datepicker__calendar header .up:not(.disabled) { cursor: pointer; } .vdp-datepicker__calendar header .prev:not(.disabled):hover, .vdp-datepicker__calendar header .next:not(.disabled):hover, .vdp-datepicker__calendar header .up:not(.disabled):hover { background: #eee; } .vdp-datepicker__calendar .disabled { color: #ddd; cursor: default; } .vdp-datepicker__calendar .flex-rtl { display: flex; width: inherit; flex-wrap: wrap; } .vdp-datepicker__calendar .cell { display: inline-block; padding: 0 5px; width: 14.285714285714286%; height: 40px; line-height: 40px; text-align: center; vertical-align: middle; border: 1px solid transparent; } .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day, .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month, .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year { cursor: pointer; } .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover, .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover, .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover { border: 1px solid #4bd; } .vdp-datepicker__calendar .cell.selected { background: #4bd; } .vdp-datepicker__calendar .cell.selected:hover { background: #4bd; } .vdp-datepicker__calendar .cell.selected.highlighted { background: #4bd; } .vdp-datepicker__calendar .cell.highlighted { background: #cae5ed; } .vdp-datepicker__calendar .cell.highlighted.disabled { color: #a3a3a3; } .vdp-datepicker__calendar .cell.grey { color: #888; } .vdp-datepicker__calendar .cell.grey:hover { background: inherit; } .vdp-datepicker__calendar .cell.day-header { font-size: 75%; white-space: nowrap; cursor: inherit; } .vdp-datepicker__calendar .cell.day-header:hover { background: inherit; } .vdp-datepicker__calendar .month, .vdp-datepicker__calendar .year { width: 33.333%; } .vdp-datepicker__clear-button, .vdp-datepicker__calendar-button { cursor: pointer; font-style: normal; } .vdp-datepicker__clear-button.disabled, .vdp-datepicker__calendar-button.disabled { color: #999; cursor: default; } \"; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })();\nvar Datepicker = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vdp-datepicker\",class:[_vm.wrapperClass, _vm.isRtl ? 'rtl' : '']},[_c('date-input',{attrs:{\"selectedDate\":_vm.selectedDate,\"resetTypedDate\":_vm.resetTypedDate,\"format\":_vm.format,\"translation\":_vm.translation,\"inline\":_vm.inline,\"id\":_vm.id,\"name\":_vm.name,\"refName\":_vm.refName,\"openDate\":_vm.openDate,\"placeholder\":_vm.placeholder,\"inputClass\":_vm.inputClass,\"typeable\":_vm.typeable,\"clearButton\":_vm.clearButton,\"clearButtonIcon\":_vm.clearButtonIcon,\"calendarButton\":_vm.calendarButton,\"calendarButtonIcon\":_vm.calendarButtonIcon,\"calendarButtonIconContent\":_vm.calendarButtonIconContent,\"disabled\":_vm.disabled,\"required\":_vm.required,\"bootstrapStyling\":_vm.bootstrapStyling,\"use-utc\":_vm.useUtc},on:{\"showCalendar\":_vm.showCalendar,\"closeCalendar\":_vm.close,\"typedDate\":_vm.setTypedDate,\"clearDate\":_vm.clearDate}},[_vm._t(\"afterDateInput\",null,{slot:\"afterDateInput\"})],2),_vm._v(\" \"),(_vm.allowedToShowView('day'))?_c('picker-day',{attrs:{\"pageDate\":_vm.pageDate,\"selectedDate\":_vm.selectedDate,\"showDayView\":_vm.showDayView,\"fullMonthName\":_vm.fullMonthName,\"allowedToShowView\":_vm.allowedToShowView,\"disabledDates\":_vm.disabledDates,\"highlighted\":_vm.highlighted,\"calendarClass\":_vm.calendarClass,\"calendarStyle\":_vm.calendarStyle,\"translation\":_vm.translation,\"pageTimestamp\":_vm.pageTimestamp,\"isRtl\":_vm.isRtl,\"mondayFirst\":_vm.mondayFirst,\"dayCellContent\":_vm.dayCellContent,\"use-utc\":_vm.useUtc},on:{\"changedMonth\":_vm.handleChangedMonthFromDayPicker,\"selectDate\":_vm.selectDate,\"showMonthCalendar\":_vm.showMonthCalendar,\"selectedDisabled\":_vm.selectDisabledDate}},[_vm._t(\"beforeCalendarHeader\",null,{slot:\"beforeCalendarHeader\"})],2):_vm._e(),_vm._v(\" \"),(_vm.allowedToShowView('month'))?_c('picker-month',{attrs:{\"pageDate\":_vm.pageDate,\"selectedDate\":_vm.selectedDate,\"showMonthView\":_vm.showMonthView,\"allowedToShowView\":_vm.allowedToShowView,\"disabledDates\":_vm.disabledDates,\"calendarClass\":_vm.calendarClass,\"calendarStyle\":_vm.calendarStyle,\"translation\":_vm.translation,\"isRtl\":_vm.isRtl,\"use-utc\":_vm.useUtc},on:{\"selectMonth\":_vm.selectMonth,\"showYearCalendar\":_vm.showYearCalendar,\"changedYear\":_vm.setPageDate}},[_vm._t(\"beforeCalendarHeader\",null,{slot:\"beforeCalendarHeader\"})],2):_vm._e(),_vm._v(\" \"),(_vm.allowedToShowView('year'))?_c('picker-year',{attrs:{\"pageDate\":_vm.pageDate,\"selectedDate\":_vm.selectedDate,\"showYearView\":_vm.showYearView,\"allowedToShowView\":_vm.allowedToShowView,\"disabledDates\":_vm.disabledDates,\"calendarClass\":_vm.calendarClass,\"calendarStyle\":_vm.calendarStyle,\"translation\":_vm.translation,\"isRtl\":_vm.isRtl,\"use-utc\":_vm.useUtc},on:{\"selectYear\":_vm.selectYear,\"changedDecade\":_vm.setPageDate}},[_vm._t(\"beforeCalendarHeader\",null,{slot:\"beforeCalendarHeader\"})],2):_vm._e()],1)},staticRenderFns: [],\n components: {\n DateInput: DateInput,\n PickerDay: PickerDay,\n PickerMonth: PickerMonth,\n PickerYear: PickerYear\n },\n props: {\n value: {\n validator: function (val) { return utils$1.validateDateInput(val); }\n },\n name: String,\n refName: String,\n id: String,\n format: {\n type: [String, Function],\n default: 'dd MMM yyyy'\n },\n language: {\n type: Object,\n default: function () { return en; }\n },\n openDate: {\n validator: function (val) { return utils$1.validateDateInput(val); }\n },\n dayCellContent: Function,\n fullMonthName: Boolean,\n disabledDates: Object,\n highlighted: Object,\n placeholder: String,\n inline: Boolean,\n calendarClass: [String, Object, Array],\n inputClass: [String, Object, Array],\n wrapperClass: [String, Object, Array],\n mondayFirst: Boolean,\n clearButton: Boolean,\n clearButtonIcon: String,\n calendarButton: Boolean,\n calendarButtonIcon: String,\n calendarButtonIconContent: String,\n bootstrapStyling: Boolean,\n initialView: String,\n disabled: Boolean,\n required: Boolean,\n typeable: Boolean,\n useUtc: Boolean,\n minimumView: {\n type: String,\n default: 'day'\n },\n maximumView: {\n type: String,\n default: 'year'\n }\n },\n data: function data () {\n var startDate = this.openDate ? new Date(this.openDate) : new Date();\n var constructedDateUtils = makeDateUtils(this.useUtc);\n var pageTimestamp = constructedDateUtils.setDate(startDate, 1);\n return {\n /*\n * Vue cannot observe changes to a Date Object so date must be stored as a timestamp\n * This represents the first day of the current viewing month\n * {Number}\n */\n pageTimestamp: pageTimestamp,\n /*\n * Selected Date\n * {Date}\n */\n selectedDate: null,\n /*\n * Flags to show calendar views\n * {Boolean}\n */\n showDayView: false,\n showMonthView: false,\n showYearView: false,\n /*\n * Positioning\n */\n calendarHeight: 0,\n resetTypedDate: new Date(),\n utils: constructedDateUtils\n }\n },\n watch: {\n value: function value (value$1) {\n this.setValue(value$1);\n },\n openDate: function openDate () {\n this.setPageDate();\n },\n initialView: function initialView () {\n this.setInitialView();\n }\n },\n computed: {\n computedInitialView: function computedInitialView () {\n if (!this.initialView) {\n return this.minimumView\n }\n\n return this.initialView\n },\n pageDate: function pageDate () {\n return new Date(this.pageTimestamp)\n },\n\n translation: function translation () {\n return this.language\n },\n\n calendarStyle: function calendarStyle () {\n return {\n position: this.isInline ? 'static' : undefined\n }\n },\n isOpen: function isOpen () {\n return this.showDayView || this.showMonthView || this.showYearView\n },\n isInline: function isInline () {\n return !!this.inline\n },\n isRtl: function isRtl () {\n return this.translation.rtl === true\n }\n },\n methods: {\n /**\n * Called in the event that the user navigates to date pages and\n * closes the picker without selecting a date.\n */\n resetDefaultPageDate: function resetDefaultPageDate () {\n if (this.selectedDate === null) {\n this.setPageDate();\n return\n }\n this.setPageDate(this.selectedDate);\n },\n /**\n * Effectively a toggle to show/hide the calendar\n * @return {mixed}\n */\n showCalendar: function showCalendar () {\n if (this.disabled || this.isInline) {\n return false\n }\n if (this.isOpen) {\n return this.close(true)\n }\n this.setInitialView();\n },\n /**\n * Sets the initial picker page view: day, month or year\n */\n setInitialView: function setInitialView () {\n var initialView = this.computedInitialView;\n if (!this.allowedToShowView(initialView)) {\n throw new Error((\"initialView '\" + (this.initialView) + \"' cannot be rendered based on minimum '\" + (this.minimumView) + \"' and maximum '\" + (this.maximumView) + \"'\"))\n }\n switch (initialView) {\n case 'year':\n this.showYearCalendar();\n break\n case 'month':\n this.showMonthCalendar();\n break\n default:\n this.showDayCalendar();\n break\n }\n },\n /**\n * Are we allowed to show a specific picker view?\n * @param {String} view\n * @return {Boolean}\n */\n allowedToShowView: function allowedToShowView (view) {\n var views = ['day', 'month', 'year'];\n var minimumViewIndex = views.indexOf(this.minimumView);\n var maximumViewIndex = views.indexOf(this.maximumView);\n var viewIndex = views.indexOf(view);\n\n return viewIndex >= minimumViewIndex && viewIndex <= maximumViewIndex\n },\n /**\n * Show the day picker\n * @return {Boolean}\n */\n showDayCalendar: function showDayCalendar () {\n if (!this.allowedToShowView('day')) {\n return false\n }\n this.close();\n this.showDayView = true;\n return true\n },\n /**\n * Show the month picker\n * @return {Boolean}\n */\n showMonthCalendar: function showMonthCalendar () {\n if (!this.allowedToShowView('month')) {\n return false\n }\n this.close();\n this.showMonthView = true;\n return true\n },\n /**\n * Show the year picker\n * @return {Boolean}\n */\n showYearCalendar: function showYearCalendar () {\n if (!this.allowedToShowView('year')) {\n return false\n }\n this.close();\n this.showYearView = true;\n return true\n },\n /**\n * Set the selected date\n * @param {Number} timestamp\n */\n setDate: function setDate (timestamp) {\n var date = new Date(timestamp);\n this.selectedDate = date;\n this.setPageDate(date);\n this.$emit('selected', date);\n this.$emit('input', date);\n },\n /**\n * Clear the selected date\n */\n clearDate: function clearDate () {\n this.selectedDate = null;\n this.setPageDate();\n this.$emit('selected', null);\n this.$emit('input', null);\n this.$emit('cleared');\n },\n /**\n * @param {Object} date\n */\n selectDate: function selectDate (date) {\n this.setDate(date.timestamp);\n if (!this.isInline) {\n this.close(true);\n }\n this.resetTypedDate = new Date();\n },\n /**\n * @param {Object} date\n */\n selectDisabledDate: function selectDisabledDate (date) {\n this.$emit('selectedDisabled', date);\n },\n /**\n * @param {Object} month\n */\n selectMonth: function selectMonth (month) {\n var date = new Date(month.timestamp);\n if (this.allowedToShowView('day')) {\n this.setPageDate(date);\n this.$emit('changedMonth', month);\n this.showDayCalendar();\n } else {\n this.selectDate(month);\n }\n },\n /**\n * @param {Object} year\n */\n selectYear: function selectYear (year) {\n var date = new Date(year.timestamp);\n if (this.allowedToShowView('month')) {\n this.setPageDate(date);\n this.$emit('changedYear', year);\n this.showMonthCalendar();\n } else {\n this.selectDate(year);\n }\n },\n /**\n * Set the datepicker value\n * @param {Date|String|Number|null} date\n */\n setValue: function setValue (date) {\n if (typeof date === 'string' || typeof date === 'number') {\n var parsed = new Date(date);\n date = isNaN(parsed.valueOf()) ? null : parsed;\n }\n if (!date) {\n this.setPageDate();\n this.selectedDate = null;\n return\n }\n this.selectedDate = date;\n this.setPageDate(date);\n },\n /**\n * Sets the date that the calendar should open on\n */\n setPageDate: function setPageDate (date) {\n if (!date) {\n if (this.openDate) {\n date = new Date(this.openDate);\n } else {\n date = new Date();\n }\n }\n this.pageTimestamp = this.utils.setDate(new Date(date), 1);\n },\n /**\n * Handles a month change from the day picker\n */\n handleChangedMonthFromDayPicker: function handleChangedMonthFromDayPicker (date) {\n this.setPageDate(date);\n this.$emit('changedMonth', date);\n },\n /**\n * Set the date from a typedDate event\n */\n setTypedDate: function setTypedDate (date) {\n this.setDate(date.getTime());\n },\n /**\n * Close all calendar layers\n * @param {Boolean} emitEvent - emit close event\n */\n close: function close (emitEvent) {\n this.showDayView = this.showMonthView = this.showYearView = false;\n if (!this.isInline) {\n if (emitEvent) {\n this.$emit('closed');\n }\n document.removeEventListener('click', this.clickOutside, false);\n }\n },\n /**\n * Initiate the component\n */\n init: function init () {\n if (this.value) {\n this.setValue(this.value);\n }\n if (this.isInline) {\n this.setInitialView();\n }\n }\n },\n mounted: function mounted () {\n this.init();\n }\n}\n// eslint-disable-next-line\n;\n\nexport default Datepicker;\n","var Language=function(t,e,s,r){this.language=t,this.months=e,this.monthsAbbr=s,this.days=r,this.rtl=!1,this.ymd=!1,this.yearSuffix=\"\"},prototypeAccessors={language:{configurable:!0},months:{configurable:!0},monthsAbbr:{configurable:!0},days:{configurable:!0}};prototypeAccessors.language.get=function(){return this._language},prototypeAccessors.language.set=function(t){if(\"string\"!=typeof t)throw new TypeError(\"Language must be a string\");this._language=t},prototypeAccessors.months.get=function(){return this._months},prototypeAccessors.months.set=function(t){if(12!==t.length)throw new RangeError(\"There must be 12 months for \"+this.language+\" language\");this._months=t},prototypeAccessors.monthsAbbr.get=function(){return this._monthsAbbr},prototypeAccessors.monthsAbbr.set=function(t){if(12!==t.length)throw new RangeError(\"There must be 12 abbreviated months for \"+this.language+\" language\");this._monthsAbbr=t},prototypeAccessors.days.get=function(){return this._days},prototypeAccessors.days.set=function(t){if(7!==t.length)throw new RangeError(\"There must be 7 days for \"+this.language+\" language\");this._days=t},Object.defineProperties(Language.prototype,prototypeAccessors);var pl=new Language(\"Polish\",[\"Styczeń\",\"Luty\",\"Marzec\",\"Kwiecień\",\"Maj\",\"Czerwiec\",\"Lipiec\",\"Sierpień\",\"Wrzesień\",\"Październik\",\"Listopad\",\"Grudzień\"],[\"Sty\",\"Lut\",\"Mar\",\"Kwi\",\"Maj\",\"Cze\",\"Lip\",\"Sie\",\"Wrz\",\"Paź\",\"Lis\",\"Gru\"],[\"Nd\",\"Pn\",\"Wt\",\"Śr\",\"Czw\",\"Pt\",\"Sob\"]);export default pl;\n","\n \n
\n {{ getTitle }}\n {{ tooltipContent }} \n \n
\n \n \n
\n
\n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./datepicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./datepicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./datepicker.vue?vue&type=template&id=02f0e812&\"\nimport script from \"./datepicker.vue?vue&type=script&lang=js&\"\nexport * from \"./datepicker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./datepicker.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.open)?_c('transition',{attrs:{\"name\":\"modal\"}},[_c('div',{staticClass:\"modal-mask modal\",class:_vm.modalClass},[_c('div',{staticClass:\"modal-wrapper\",on:{\"click\":_vm.hideModal}},[_c('div',{staticClass:\"modal-container\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.showHeader||_vm.showClose)?_c('div',{staticClass:\"modal-header\"},[(_vm.showClose)?_c('i',{staticClass:\"fa fa-times pull-right\",on:{\"click\":_vm.hideModal}}):_vm._e(),(_vm.showHeader)?_vm._t(\"header\",[_c('h3',[_vm._v(_vm._s(_vm.title))])]):_vm._e()],2):_vm._e(),_c('div',{staticClass:\"modal-body\"},[_vm._t(\"default\",[_vm._v(\"default body\")])],2),(_vm.showFooter)?_c('div',{staticClass:\"modal-footer\"},[_vm._t(\"footer\",[_c('div',{staticClass:\"text-right\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.hideModal}},[_vm._v(\"OK\")])])])],2):_vm._e()])])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n
\n
\n \n\n
\n default body \n
\n\n \n
\n
\n
\n \n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./modal.vue?vue&type=template&id=79488136&\"\nimport script from \"./modal.vue?vue&type=script&lang=js&\"\nexport * from \"./modal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./modal.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.crossed == 1)?_c('span',[_c('s',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('span',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])]):(_vm.crossed == 2)?_c('span',[_c('span',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('s',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])]):_c('span',[_c('span',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('span',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n {{first}}{{asterisk}} \n {{separator}}\n {{second}}{{asterisk}} \n \n \n {{first}}{{asterisk}} \n {{separator}}\n {{second}}{{asterisk}} \n \n \n {{first}}{{asterisk}} \n {{separator}}\n {{second}}{{asterisk}} \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./crossed-out.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./crossed-out.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./crossed-out.vue?vue&type=template&id=d438a972&\"\nimport script from \"./crossed-out.vue?vue&type=script&lang=js&\"\nexport * from \"./crossed-out.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b',{staticClass:\"text-success\"},[_vm._v(\" (\"),_vm._t(\"default\",[_vm._v(\"automatycznie\")]),_vm._v(\") \")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n (automatycznie )\n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./auto-text.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./auto-text.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./auto-text.vue?vue&type=template&id=b985f904&\"\nimport script from \"./auto-text.vue?vue&type=script&lang=js&\"\nexport * from \"./auto-text.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.col},[_c('div',{staticClass:\"alert\",class:[_vm.type],style:({marginBottom: _vm.marginBottom}),attrs:{\"role\":\"alert\"}},[(_vm.header)?_c('b',{staticStyle:{\"margin-right\":\"0.5em\"}},[_vm._t(\"header\",[_vm._v(_vm._s(_vm.header))])],2):_vm._e(),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n \n {{header}} \n \n \n
\n
\n \n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./alert.vue?vue&type=template&id=7d7b10b4&\"\nimport script from \"./alert.vue?vue&type=script&lang=js&\"\nexport * from \"./alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"btn btn-info\",on:{\"click\":function($event){$event.preventDefault();return _vm.add()}}},[_c('i',{staticClass:\"fa fa-fw fa-plus\"}),_vm._t(\"default\",[_vm._v(\"Dodaj wiersz\")])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n Dodaj wiersz \n \n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./add-row.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./add-row.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./add-row.vue?vue&type=template&id=c8941b8c&\"\nimport script from \"./add-row.vue?vue&type=script&lang=js&\"\nexport * from \"./add-row.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{staticClass:\"moving text-center\"},[(_vm.moveUp)?_c('a',{staticClass:\"moveup\",attrs:{\"href\":\"javascript:void(0)\",\"title\":\"W górę\",\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.moveRowUp()}}},[_c('i',{staticClass:\"fa fa-arrow-up\"})]):_vm._e(),(_vm.moveDown)?_c('a',{staticClass:\"movedown\",attrs:{\"href\":\"javascript:void(0)\",\"title\":\"W dół\",\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.moveRowDown()}}},[_c('i',{staticClass:\"fa fa-arrow-down\"})]):_vm._e(),(_vm.deleteRow)?_c('a',{staticClass:\"delete\",attrs:{\"href\":\"javascript:void(0)\",\"title\":\"Usiń\",\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeRow($event)}}},[_c('i',{staticClass:\"fa fa-times\"})]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./row-buttons.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./row-buttons.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./row-buttons.vue?vue&type=template&id=ff0dc856&\"\nimport script from \"./row-buttons.vue?vue&type=script&lang=js&\"\nexport * from \"./row-buttons.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{class:_vm.tdClass,attrs:{\"colspan\":_vm.colspan,\"rowspan\":_vm.rowspan}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./table-cell.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./table-cell.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./table-cell.vue?vue&type=template&id=2cc3f1e6&\"\nimport script from \"./table-cell.vue?vue&type=script&lang=js&\"\nexport * from \"./table-cell.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{staticClass:\"text-center state-disabled\",attrs:{\"width\":\"5%\"}},[_c('b',[_vm._t(\"after\"),_vm._v(\" \"+_vm._s(_vm.index + 1)+\". \"),_vm._t(\"before\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{index + 1}}.\n \n \n \n \n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lp-cell.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lp-cell.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./lp-cell.vue?vue&type=template&id=39a48329&\"\nimport script from \"./lp-cell.vue?vue&type=script&lang=js&\"\nexport * from \"./lp-cell.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.getTitle)?_c('label',[_vm._v(\" \"+_vm._s(_vm.model.$schema.title)+\" \"),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],1):_vm._e(),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),(_vm.model && _vm.model != {})?_c('w-error',{attrs:{\"model\":_vm.model}}):_vm._e(),_c('table',{ref:\"table\",class:_vm.tableClass,staticStyle:{\"margin-bottom\":\"2em\"}},[_c('thead',{ref:\"header\"},[_vm._t(\"thead\")],2),_vm._t(\"default\")],2),(this.floatingHeader)?_c('table',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.floats),expression:\"floats\"}],class:[_vm.tableClass],style:(_vm.floatingStyle)},[_c('thead',{ref:\"floating_header\"},[_vm._t(\"thead\")],2)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n {{model.$schema.title}}\n {{tooltipContent}} \n \n
\n \n \n
\n
\n
\n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form-table.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form-table.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./form-table.vue?vue&type=template&id=4c9f0af8&scoped=true&\"\nimport script from \"./form-table.vue?vue&type=script&lang=js&\"\nexport * from \"./form-table.vue?vue&type=script&lang=js&\"\nimport style0 from \"./form-table.vue?vue&type=style&index=0&id=4c9f0af8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c9f0af8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"root\",staticClass:\"scroll-root\",class:{'minified': !_vm.showMenu}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showScrollSpy),expression:\"showScrollSpy\"}],staticClass:\"scrollspy\",class:{'scroll-minified': !_vm.showMenu}},[_c('aside',{staticClass:\"titles\",class:{'opened': _vm.showMenu},style:(_vm.asideStyle)},[_c('nav',{style:(_vm.navStyle)},[_c('ul',[_vm._l((_vm.sections),function(section,index){return [_c('li',{key:'title_' + section,staticClass:\"title\",class:{'text-center': !_vm.showMenu, 'active': _vm.activeSection == section},on:{\"click\":function($event){return _vm.scrollToSection(section)}}},[_c('a',{attrs:{\"href\":\"javascript:void(0)\"}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showMenu),expression:\"showMenu\"}],ref:'title_' + section,refInFor:true,staticClass:\"title-content\"},[_vm._t('title_' + section,[_vm._v(_vm._s(index+1)+\". sekcja\")],{\"icon\":_vm.icons[section]})],2),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showMenu),expression:\"!showMenu\"}],ref:'icon_' + section,refInFor:true,staticClass:\"title-icon\"},[_vm._t('icon_' + section,[_vm._v(_vm._s(index+1)+\".\")])],2)])])]}),_c('li',{staticClass:\"scroll-toggle\"},[_c('span',{staticClass:\"minifyme\",on:{\"click\":function($event){_vm.showMenu = !_vm.showMenu}}},[_c('i',{staticClass:\"fa fa-arrow-circle-left hit\"})])])],2)])])]),_c('div',{staticClass:\"scroll-content\",class:{'scroll-minified': !_vm.showMenu, 'scroll-bordered': _vm.showScrollSpy}},[_vm._l((_vm.sections),function(section){return [_c('div',{key:section,ref:section,refInFor:true},[_vm._t(section,null,{\"title\":_vm.titles[section],\"icon\":_vm.icons[section]})],2)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scrollspy.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scrollspy.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./scrollspy.vue?vue&type=template&id=0ac85840&\"\nimport script from \"./scrollspy.vue?vue&type=script&lang=js&\"\nexport * from \"./scrollspy.vue?vue&type=script&lang=js&\"\nimport style0 from \"./scrollspy.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"spoiler\",class:{'spoiler-has-alert': _vm.hasAlert}},[_c('div',{staticClass:\"pointer\",class:_vm.noselect ? 'noselect' : '',on:{\"click\":function($event){return _vm.toggle()}}},[_c('span',{staticClass:\"caret-span\"},[_vm._v(\" \"),_c('i',{staticClass:\"fa\",class:{'fa-caret-down': _vm.isOpen, 'fa-caret-right': !_vm.isOpen}})]),_vm._t(\"summary\",[_vm._v(_vm._s(_vm.summary))]),_c('i',{staticClass:\"text-info\"},[_vm._v(\" \"+_vm._s(_vm.isOpen ? \"(zwiń)\" : \"(rozwiń)\"))]),_vm._t(\"alert\",[(_vm.hasErrors)?_c('w-alert',{attrs:{\"header\":\"\",\"alert-type\":\"danger\"}},[_vm._v(\"Zawiera błędy!\")]):_vm._e()])],2),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],ref:\"content\",staticClass:\"content\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n \n \n \n \n {{summary}} \n {{isOpen ? \"(zwiń)\" : \"(rozwiń)\"}} \n \n Zawiera błędy! \n \n
\n
\n \n
\n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./spoiler.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./spoiler.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./spoiler.vue?vue&type=template&id=66312005&\"\nimport script from \"./spoiler.vue?vue&type=script&lang=js&\"\nexport * from \"./spoiler.vue?vue&type=script&lang=js&\"\nimport style0 from \"./spoiler.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./radio-list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./radio-list.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./radio-list.vue?vue&type=script&lang=js&\"\nexport * from \"./radio-list.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"toggle\",class:[{'state-disabled':_vm.disabled, 'state-error': _vm.model.$error, 'to-left':_vm.toLeft}, 'switch_' + _vm._uid],attrs:{\"for\":_vm.sid}},[_c('input',{ref:\"input\",attrs:{\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"id\":_vm.sid,\"value\":\"true\",\"name\":_vm.model.$form.testPath ? _vm.model.$path : undefined},domProps:{\"checked\":_vm.checked},on:{\"change\":function($event){return _vm.onInput($event)},\"focus\":function($event){return _vm.onFocus($event)},\"blur\":function($event){return _vm.onBlur($event)}}}),_c('i',{style:(_vm.toggleWidth),attrs:{\"data-swchon-text\":_vm.on,\"data-swchoff-text\":_vm.off}}),_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.sid}},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.getTitle))])],2),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2),(_vm.showError)?_c('w-error',{attrs:{\"model\":_vm.model}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{getTitle}} \n \n \n \n \n \n \n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./switch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./switch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./switch.vue?vue&type=template&id=bb8d6d9e&scoped=true&\"\nimport script from \"./switch.vue?vue&type=script&lang=js&\"\nexport * from \"./switch.vue?vue&type=script&lang=js&\"\nimport style0 from \"./switch.vue?vue&type=style&index=0&id=bb8d6d9e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bb8d6d9e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.content)?_c('div',{staticClass:\"description\"},[(_vm.tooltip)?[(_vm.ishtmlContent)?_c('w-tooltip',[(_vm.hasSlot)?[_vm._t(\"default\")]:_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.content)}})],2):_c('w-tooltip',{attrs:{\"tooltip\":_vm.content}})]:[(_vm.ishtmlContent)?_c('span',{staticClass:\"description-content\"},[(_vm.hasSlot)?_vm._t(\"default\"):_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.content)}})],2):_c('span',{staticClass:\"description-content\"},[_vm._v(_vm._s(_vm.content))])]],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n\n {{content}} \n \n
\n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./description.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./description.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./description.vue?vue&type=template&id=3aed6b6b&\"\nimport script from \"./description.vue?vue&type=script&lang=js&\"\nexport * from \"./description.vue?vue&type=script&lang=js&\"\nimport style0 from \"./description.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"picker\"},[_c('label',{attrs:{\"for\":_vm.model.woj.$key}},[_vm._v(_vm._s(_vm.model.woj.$schema.title))]),_c('v-select',{class:{'is-invalid': this.model.woj.$error},attrs:{\"inputId\":_vm.model.woj.$key,\"options\":_vm.wojs,\"value\":_vm.wojValue},on:{\"search:blur\":function($event){return _vm.blur('woj')},\"search:focus\":function($event){return _vm.focus('woj')},\"input\":_vm.selectedWoj},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(_vm._s(_vm.emptyListMsg))]},proxy:true}])}),(_vm.showError)?_c('w-error',{attrs:{\"model\":this.model.woj}}):_vm._e()],1),_c('div',{staticClass:\"picker\"},[_c('label',{attrs:{\"for\":_vm.model.pow.$key}},[_vm._v(_vm._s(_vm.model.pow.$schema.title))]),_c('v-select',{class:{'is-invalid': this.model.pow.$error},attrs:{\"disabled\":_vm.powDisabled,\"inputId\":_vm.model.pow.$key,\"options\":_vm.pows,\"value\":_vm.powValue},on:{\"search:blur\":function($event){return _vm.blur('pow')},\"search:focus\":function($event){return _vm.focus('pow')},\"input\":_vm.selectedPow},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(_vm._s(_vm.emptyListMsg))]},proxy:true}])}),(_vm.showError)?_c('w-error',{attrs:{\"model\":this.model.pow}}):_vm._e()],1),_c('div',{staticClass:\"picker\"},[_c('label',{attrs:{\"for\":_vm.model.gmi.$key}},[_vm._v(_vm._s(_vm.model.gmi.$schema.title))]),_c('v-select',{class:{'is-invalid': this.model.gmi.$error},attrs:{\"disabled\":_vm.gmiDisabled,\"inputId\":_vm.model.gmi.$key,\"options\":_vm.gmis,\"value\":_vm.gmiValue},on:{\"search:blur\":function($event){return _vm.blur('gmi')},\"search:focus\":function($event){return _vm.focus('gmi')},\"input\":_vm.selectedGmi},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(_vm._s(_vm.emptyListMsg))]},proxy:true}])}),(_vm.showError)?_c('w-error',{attrs:{\"model\":this.model.gmi}}):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum TercType {\n GMINA_MIEJSKA = 1,\n GMINA_WIEJSKA = 2,\n GMINA_MIEJSKO_WIEJSKA = 3,\n MIASTO = 4,\n OBSZAR_WIEJSKI = 5,\n DZIELNICA = 8,\n DELEGATURA = 9,\n WOJEWODZTWO = 100,\n POWIAT = 110,\n GMINA = 120\n}\n","\n \n
\n {{ model.woj.$schema.title }} \n\n \n {{ emptyListMsg }} \n \n\n \n
\n\n
\n {{ model.pow.$schema.title }} \n\n \n {{ emptyListMsg }} \n \n\n \n
\n\n
\n {{ model.gmi.$schema.title }} \n\n \n {{ emptyListMsg }} \n \n\n \n
\n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tercPicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tercPicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./tercPicker.vue?vue&type=template&id=132845f6&\"\nimport script from \"./tercPicker.vue?vue&type=script&lang=js&\"\nexport * from \"./tercPicker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tercPicker.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"picker\"},[_c('label',{attrs:{\"for\":_vm.model.city.$key}},[_vm._v(\" \"+_vm._s(_vm.model.city.$schema.title)+\" \")]),_c('v-select',{class:{'is-invalid': this.model.city.$error},attrs:{\"disabled\":_vm.cityDisabled,\"inputId\":_vm.model.city.$key,\"options\":_vm.cities,\"value\":_vm.cityValue},on:{\"search:blur\":_vm.blur,\"search:focus\":_vm.focus,\"input\":_vm.selectedCity},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.emptyListMsg)+\" \")]},proxy:true}])}),(_vm.showError)?_c('w-error',{attrs:{\"model\":this.model.city}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{ model.city.$schema.title }}\n \n\n \n \n {{ emptyListMsg }}\n \n \n\n \n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simcPicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simcPicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./simcPicker.vue?vue&type=template&id=2b7b2b4e&\"\nimport script from \"./simcPicker.vue?vue&type=script&lang=js&\"\nexport * from \"./simcPicker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./simcPicker.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"picker\"},[_c('label',{attrs:{\"for\":_vm.model.street.$key}},[_vm._v(\" \"+_vm._s(_vm.model.street.$schema.title)+\" \")]),_c('v-select',{class:{'is-invalid': this.model.street.$error},attrs:{\"disabled\":_vm.streetDisabled,\"inputId\":_vm.model.street.$key,\"options\":_vm.streets,\"placeholder\":_vm.streetPlaceholder,\"value\":_vm.streetValue},on:{\"search:blur\":_vm.blur,\"search:focus\":_vm.focus,\"input\":_vm.selectedStreet,\"search\":_vm.getStreetList},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.emptyListMsg)+\" \")]},proxy:true}])}),(_vm.showError)?_c('w-error',{attrs:{\"model\":this.model.street}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{ model.street.$schema.title }}\n \n\n \n \n {{ emptyListMsg }}\n \n \n\n \n
\n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ulicPicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ulicPicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ulicPicker.vue?vue&type=template&id=c2ac46c0&\"\nimport script from \"./ulicPicker.vue?vue&type=script&lang=js&\"\nexport * from \"./ulicPicker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ulicPicker.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('w-terc-picker',{attrs:{\"model\":_vm.model,\"url\":_vm.url,\"emptyListMsg\":_vm.emptyListMsg,\"showError\":_vm.showError},on:{\"selectedWoj\":function (val) { return _vm.$emit('selectedWoj', val); },\"selectedPow\":function (val) { return _vm.$emit('selectedPow', val); },\"selectedGmi\":function (val) { return _vm.$emit('selectedGmi', val); }}}),_c('w-simc-picker',{attrs:{\"model\":_vm.model,\"url\":_vm.url,\"terc\":_vm.model.terc.$value,\"emptyListMsg\":_vm.emptyListMsg,\"showError\":_vm.showError},on:{\"selectedCity\":function (val) { return _vm.$emit('selectedCity', val); }}}),_c('w-ulic-picker',{attrs:{\"model\":_vm.model,\"url\":_vm.url,\"terc\":_vm.model.terc.$value,\"simc\":_vm.model.simc.$value,\"placeholder\":_vm.cityPlaceholder,\"emptyListMsg\":_vm.emptyListMsg,\"showError\":_vm.showError},on:{\"selectedStreet\":function (val) { return _vm.$emit('selectedStreet', val); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n $emit('selectedWoj', val)\"\n @selectedPow=\"val => $emit('selectedPow', val)\"\n @selectedGmi=\"val => $emit('selectedGmi', val)\"\n />\n\n $emit('selectedCity', val)\" />\n\n $emit('selectedStreet', val)\"\n />\n
\n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./terytPicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./terytPicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./terytPicker.vue?vue&type=template&id=d0abd1ae&\"\nimport script from \"./terytPicker.vue?vue&type=script&lang=js&\"\nexport * from \"./terytPicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.divOrTable,{tag:\"component\",class:{'table table-bordered table-fixed-header noborderdisabled valigntop' : _vm.tableCell}},[(!_vm.tableCell)?[(_vm.getTitle)?_c('label',[_vm._v(\" \"+_vm._s(_vm.model.$schema.title)+\" \"),(_vm.tooltipContent && _vm.tooltipContent.length)?_c('w-tooltip',[_vm._v(_vm._s(_vm.tooltipContent))]):_vm._e()],1):_vm._e(),_c('w-description',{attrs:{\"model\":_vm.model,\"value\":_vm.description.value,\"tooltip\":_vm.description.tooltip,\"htmlContent\":_vm.description.htmlContent}},[_vm._t(\"description\")],2)]:_vm._e(),_c(_vm.divOrTbody,{tag:\"component\"},[_c(_vm.divOrTr,{tag:\"component\",class:{'row': !_vm.tableCell}},[_c(_vm.divOrTd,{tag:\"component\",staticClass:\"wojewodztwoselect\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Wojewodztwo.$error}},[_c('w-select',{attrs:{\"model\":_vm.model.Wojewodztwo,\"values\":_vm.wojSelect,\"label\":!_vm.tableCell},on:{\"input\":function($event){return _vm.$emit('wojChanged', _vm.model, _vm.pow, _vm.gmi)}}})],1),_c(_vm.divOrTd,{tag:\"component\",staticClass:\"powiatselect\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Powiat.$error}},[_c('w-select',{attrs:{\"model\":_vm.model.Powiat,\"values\":_vm.powSelect,\"label\":!_vm.tableCell},on:{\"input\":function($event){return _vm.$emit('powChanged', _vm.model, _vm.pow, _vm.gmi)}}})],1),_c(_vm.divOrTd,{tag:\"component\",staticClass:\"gminaselect\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Gmina.$error}},[_c('w-select',{attrs:{\"model\":_vm.model.Gmina,\"values\":_vm.gmiSelect,\"label\":!_vm.tableCell},on:{\"input\":function($event){return _vm.$emit('gmiChanged', _vm.model, _vm.pow, _vm.gmi)}}})],1)],1),_c(_vm.divOrTr,{tag:\"component\",class:{'row': !_vm.tableCell}},[_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.KodPocztowy.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.KodPocztowy,\"setTitleAsPlaceholder\":_vm.tableCell}})],1),_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Poczta.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.Poczta,\"setTitleAsPlaceholder\":_vm.tableCell}})],1),_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Miejscowosc.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.Miejscowosc,\"setTitleAsPlaceholder\":_vm.tableCell}})],1)],1),_c(_vm.divOrTr,{tag:\"component\",class:{'row': !_vm.tableCell}},[_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Ulica.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.Ulica,\"setTitleAsPlaceholder\":_vm.tableCell}})],1),_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.Nr.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.Nr,\"setTitleAsPlaceholder\":_vm.tableCell}})],1),_c(_vm.divOrTd,{tag:\"component\",class:{'col col-4' : !_vm.tableCell, 'input' : _vm.tableCell, 'state-error': _vm.tableCell && _vm.model.NumerLokalu.$error}},[_c('w-input',{attrs:{\"model\":_vm.model.NumerLokalu,\"setTitleAsPlaceholder\":_vm.tableCell}})],1)],1)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{model.$schema.title}}\n {{tooltipContent}} \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Address.vue?vue&type=template&id=fd197d96&scoped=true&\"\nimport script from \"./Address.vue?vue&type=script&lang=js&\"\nexport * from \"./Address.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Address.vue?vue&type=style&index=0&id=fd197d96&scoped=true&lang=css&\"\nimport style1 from \"./Address.vue?vue&type=style&index=1&id=fd197d96&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fd197d96\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Forma prawna:\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Stowarzyszenie Rejestrowe\"}},[_vm._v(\"Stowarzyszenie rejestrowe\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Stowarzyszenie Zwykłe\"}},[_vm._v(\"Stowarzyszenie zwykłe\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Stowarzyszenie Kultury Fizycznej\"}},[_vm._v(\"Stowarzyszenie kultury fizycznej\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Stowarzyszenie Ogrodowe\"}},[_vm._v(\"Stowarzyszenie ogrodowe\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Fundacja\"}},[_vm._v(\"Fundacja\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Organizcja powstała na mocy umowy państwo-kościół\"}},[_vm._v(\"Organizacja powstała na mocy umowy państwo-kościół\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Spółdzielnia socjalna\"}},[_vm._v(\"Spółdzielnia socjalna\")]),_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":\"Spółka prawa handlowego\"}},[_vm._v(\"Spółka prawa handlowego\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n Forma prawna: \n Stowarzyszenie rejestrowe \n Stowarzyszenie zwykłe \n Stowarzyszenie kultury fizycznej \n Stowarzyszenie ogrodowe \n Fundacja \n Organizacja powstała na mocy umowy państwo-kościół \n Spółdzielnia socjalna \n Spółka prawa handlowego \n
\n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LegalForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LegalForm.vue?vue&type=template&id=46068256&\"\nimport script from \"./LegalForm.vue?vue&type=script&lang=js&\"\nexport * from \"./LegalForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.Key && _vm.item.Value)?[_c('w-checkbox',{attrs:{\"model\":_vm.model,\"value\":_vm.item.Key}},[_vm._v(_vm._s(_vm.item.Value))])]:[(_vm.item.Children && _vm.item.Children.length > 0)?_c('label',[_vm._v(_vm._s(_vm.item.PelnaNazwa))]):[(_vm.radioMode)?_c('w-radio',{attrs:{\"model\":_vm.model,\"value\":_vm.item.Id}},[_vm._v(\" \"+_vm._s(_vm.item.PelnaNazwa)+\" \"),(_vm.item.Kwota > 0)?_c('small',{staticClass:\"text-bold\"},[_vm._v(\" (maksymalna dotacja \"+_vm._s(_vm.item.Kwota)+\" zł)\")]):_vm._e()]):_c('w-checkbox',{attrs:{\"model\":_vm.model,\"value\":_vm.item.Id}},[_vm._v(_vm._s(_vm.item.PelnaNazwa))])],(_vm.item.Children && _vm.item.Children.length)?[_c('ul',{staticClass:\"list-unstyled\"},[_c('li',{staticClass:\"padding-left-20\"},_vm._l((_vm.item.Children),function(sp,index){return _c('w-sphere',{key:index,attrs:{\"radio-mode\":_vm.radioMode,\"model\":_vm.model,\"item\":sp}})}),1)])]:_vm._e()]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n {{item.Value}} \n \n
\n 0\">{{item.PelnaNazwa}} \n \n \n {{item.PelnaNazwa}}\n 0\"\n class=\"text-bold\"\n > (maksymalna dotacja {{item.Kwota}} zł) \n \n {{item.PelnaNazwa}} \n \n \n \n \n \n
\n \n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sphere.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sphere.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Sphere.vue?vue&type=template&id=5ff8ac6a&\"\nimport script from \"./Sphere.vue?vue&type=script&lang=js&\"\nexport * from \"./Sphere.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('a',{staticClass:\"btn btn-lg btn-default\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){_vm.openModel = true}}},[_c('i',{staticClass:\"fa fa-cube fa-fw txt-color-red\"}),_vm._v(\" Model \")]),_c('a',{staticClass:\"btn btn-lg btn-default\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){_vm.openSchema = true}}},[_c('i',{staticClass:\"fa fa-code fa-fw txt-color-red\"}),_vm._v(\" Schema \")]),_c('span',{staticClass:\"text-left\",staticStyle:{\"width\":\"0\",\"height\":\"0\",\"padding\":\"0\",\"border\":\"0\"}},[_c('w-modal',{staticClass:\"modal-lg\",attrs:{\"open\":_vm.openModel,\"title\":\"[SuperAdmin, DEBUG]: Model\"},on:{\"close\":function($event){_vm.openModel = false}},scopedSlots:_vm._u([{key:\"footerBtn\",fn:function(){return [_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.consoleLog(_vm.model, 'model')}}},[_c('i',{staticClass:\"fa fa-fw fa-terminal\"}),_vm._v(\" console.log(model) \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.copyToClipboard('hiddenModel')}}},[_c('i',{staticClass:\"fa fa-fw fa-clipboard\"}),_vm._v(\" Kopiuj do schowka \")]),_c('button',{staticClass:\"btn btn-danger\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.clearModel(_vm.model)}}},[_c('i',{staticClass:\"fa fa-fw fa-window-close\"}),_vm._v(\" Wyczyść Model \")])]},proxy:true}])},[[_c('span',{staticClass:\"dev-modals\"},[_c('span',[_vm._v(\"export default \"+_vm._s(_vm.model)+\";\")]),_c('input',{attrs:{\"type\":\"hidden\",\"id\":\"hiddenModel\"},domProps:{\"value\":'export default '+ JSON.stringify(_vm.model) + ';'}})])]],2),_c('w-modal',{staticClass:\"modal-lg\",attrs:{\"open\":_vm.openSchema,\"title\":\"[SuperAdmin, DEBUG]: Schema\"},on:{\"close\":function($event){_vm.openSchema = false}},scopedSlots:_vm._u([{key:\"footerBtn\",fn:function(){return [_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.console.log('schema', _vm.schema)}}},[_c('i',{staticClass:\"fa fa-fw fa-terminal\"}),_vm._v(\" console.log(schema) \")])]},proxy:true}])},[[_c('span',{staticClass:\"dev-modals\"},[_vm._v(_vm._s(_vm.schemaStr()))])]],2)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n Model\n \n \n Schema\n \n \n \n \n \n export default {{model}}; \n \n \n \n \n \n \n console.log(model)\n \n \n \n Kopiuj do schowka\n \n \n \n Wyczyść Model\n \n \n \n \n \n {{schemaStr()}} \n \n \n \n \n console.log(schema)\n \n \n \n \n \n \n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormDevTools.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormDevTools.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormDevTools.vue?vue&type=template&id=4d9f4b82&scoped=true&v-if=devTools&\"\nimport script from \"./FormDevTools.vue?vue&type=script&lang=js&\"\nexport * from \"./FormDevTools.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormDevTools.vue?vue&type=style&index=0&id=4d9f4b82&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4d9f4b82\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.section === _vm.currentSection)?_c('div',{key:_vm.section.name,ref:_vm.section.name || _vm.section,class:_vm.sectionClass,attrs:{\"id\":'Section_'+_vm.section.name}},[(_vm.section.tabDisabled)?_c('div',{staticClass:\"tabdisableoverlay\"},[_vm._m(0)]):(_vm.section.unlockInfo && _vm.section.unlockInfo.length && !_vm.section.tabDisabled)?_c('div',[_vm._m(1),_c('div',{staticClass:\"alert alert-warning\",staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.section.unlockInfo))])]):_vm._e(),(_vm.section.description)?_c('h1',{domProps:{\"innerHTML\":_vm._s(_vm.section.description)}}):_vm._e(),_vm._t(\"default\")],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h1',{staticClass:\"text-danger font-400\"},[_c('i',{staticClass:\"fa fa-ban fa-fw\"}),_vm._v(\"Zakładka jest wyłączona z edycji \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"no-padding margin-bottom-5 text-warning\"},[_c('i',{staticClass:\"fa fa-warning fa-fw\"}),_vm._v(\"Opis wymaganych zmian \")])}]\n\nexport { render, staticRenderFns }","\n \n
\n
\n Zakładka jest wyłączona z edycji\n \n \n
\n
\n Opis wymaganych zmian\n \n
{{section.unlockInfo}}
\n
\n\n
\n
\n
\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./section.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./section.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./section.vue?vue&type=template&id=41a83c31&scoped=true&\"\nimport script from \"./section.vue?vue&type=script&lang=js&\"\nexport * from \"./section.vue?vue&type=script&lang=js&\"\nimport style0 from \"./section.vue?vue&type=style&index=0&id=41a83c31&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41a83c31\",\n null\n \n)\n\nexport default component.exports","var render = function (_h,_vm) {var _c=_vm._c;return _c('span',{staticClass:\"next-number\",attrs:{\"data-level\":_vm.props.level,\"data-value\":_vm.props.value,\"data-type\":_vm.props.type}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./next-number.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./next-number.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./next-number.vue?vue&type=template&id=1ac43aae&functional=true&\"\nimport script from \"./next-number.vue?vue&type=script&lang=js&\"\nexport * from \"./next-number.vue?vue&type=script&lang=js&\"\nimport style0 from \"./next-number.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n true,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import WTooltip from './tooltip.vue';\nimport WPreview from './preview-value.vue';\nimport WInput from './input.vue';\nimport WTextarea from './textarea.vue';\nimport WCheckbox from './checkbox.vue';\nimport WRadio from './radio';\nimport WError from './error.vue';\nimport WWarning from './warning.vue';\nimport WButton from './button.vue';\nimport WPagination from './pagination.vue';\nimport WSelect from './select.vue';\nimport WVueSelect from './vue-select.vue';\nimport WPkdSelect from './pkd-select.vue';\nimport WPkdTable from './pkd-table.vue';\nimport WDatepicker from './datepicker.vue';\nimport WModal from './modal.vue';\nimport WCrossedOut from './crossed-out.vue';\nimport WAutoText from './auto-text.vue';\nimport WAlert from './alert.vue';\nimport WAddRow from './add-row.vue';\nimport WRowButtons from './row-buttons.vue';\nimport WTableCell from './table-cell.vue';\nimport WLpCell from '../components/lp-cell.vue';\nimport WFormTable from '../components/form-table.vue';\nimport WScrollspy from '../components/scrollspy.vue';\nimport WSpoiler from '../components/spoiler.vue';\nimport WRadioList from './radio-list.vue';\nimport WSwitch from './switch.vue';\nimport WDescription from './description.vue';\n\n//from bootstrap4-components\nimport WTercPicker from './tercPicker.vue';\nimport WSimcPicker from './simcPicker.vue';\nimport WUlicPicker from './ulicPicker.vue';\nimport WTerytPicker from './terytPicker.vue';\n\n//shared components\nimport WAddress from './shared/Address.vue';\nimport WLegalForm from './shared/LegalForm.vue';\nimport WSphere from './shared/Sphere.vue';\nimport WFormDevTools from './shared/FormDevTools.vue';\n\n//section\nimport WSection from './section.vue';\nimport WNextNumber from './next-number.vue';\n\n// UWAGA: koniecznie zaktualizaować również formComponentsList.js - listę komponentów do buildera\nexport const components = {\n WInput,\n WPreview,\n WTextarea,\n WPagination,\n WSelect,\n WDatepicker,\n WModal,\n WRadio,\n WTooltip,\n WError,\n WWarning,\n WAddRow,\n WRowButtons,\n WButton,\n WCheckbox,\n WTableCell,\n WCrossedOut,\n WAutoText,\n WAlert,\n WLpCell,\n WFormTable,\n WScrollspy,\n WSpoiler,\n WRadioList,\n WSwitch,\n WVueSelect,\n WPkdSelect,\n WPkdTable,\n WDescription,\n\n WTercPicker,\n WSimcPicker,\n WUlicPicker,\n WTerytPicker,\n\n WAddress,\n WLegalForm,\n WSphere,\n WFormDevTools,\n\n WSection,\n WNextNumber\n};\n\nexport function registerComponents(Vue, registerLog) {\n for (var name in components) {\n if (registerLog) {\n console.time('register ' + name);\n Vue.component(name, components[name]);\n console.timeEnd('register ' + name);\n } else {\n Vue.component(name, components[name]);\n }\n }\n}\n\nexport default components;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.crossed == 1)?_c('span',[_c('s',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('span',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])]):(_vm.crossed == 2)?_c('span',[_c('span',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('s',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])]):_c('span',[_c('span',[_vm._v(_vm._s(_vm.first)+_vm._s(_vm.asterisk))]),_vm._v(\" \"+_vm._s(_vm.separator)+\" \"),_c('span',[_vm._v(_vm._s(_vm.second)+_vm._s(_vm.asterisk))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./crossed-out.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./crossed-out.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./crossed-out.vue?vue&type=template&id=2e92f700&\"\nimport script from \"./crossed-out.vue?vue&type=script&lang=js&\"\nexport * from \"./crossed-out.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model.$diff)?_c('span',{attrs:{\"path\":_vm.model.$path}},[_c('span',{staticClass:\"prev-value\"},[_vm._v(_vm._s(_vm.model.$diff.$prevValue))]),_c('span',{staticClass:\"new-value\"},[_vm._v(_vm._s(_vm.model.$diff.$newValue))])]):(_vm.model.$value)?_c('span',[_vm._v(_vm._s(_vm.model.$value))]):_c('span',[_vm._t(\"emptyValue\",[_vm._v(_vm._s(_vm.emptyValue))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n {{model.$diff.$prevValue}} \n {{model.$diff.$newValue}} \n \n\n {{model.$value}} \n \n {{emptyValue}} \n \n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simple.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simple.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./simple.vue?vue&type=template&id=702170c8&\"\nimport script from \"./simple.vue?vue&type=script&lang=js&\"\nexport * from \"./simple.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model.$diff)?_c('pre',{domProps:{\"innerHTML\":_vm._s(_vm.diffText)}}):_c('div',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.model.$value))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n {{model.$value}}
\n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text.vue?vue&type=template&id=bbcc1408&\"\nimport script from \"./text.vue?vue&type=script&lang=js&\"\nexport * from \"./text.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{class:_vm.computedClass},[_vm._t(\"default\",null,{\"context\":_vm.model.$item})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./row.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./row.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./row.vue?vue&type=template&id=5caf1e37&\"\nimport script from \"./row.vue?vue&type=script&lang=js&\"\nexport * from \"./row.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import WCrossedOut from './crossed-out.vue';\nimport WSimple from './simple.vue';\nimport WText from './text.vue';\nimport WRow from './row.vue';\n\n// UWAGA: koniecznie zaktualizaować również previewComponentsList.js - listę komponentów do buildera\nexport const components = {\n WSimple,\n WText,\n WRow,\n WCrossedOut\n};\n\nexport function registerPreviewComponents(Vue, registerLog) {\n for (var name in components) {\n if (registerLog) {\n console.time('register ' + name);\n Vue.component(name, components[name]);\n console.timeEnd('register ' + name);\n } else {\n Vue.component(name, components[name]);\n }\n\n }\n}\n\n\nexport default components;\n","import {schemaMethods} from '@witkac/jschema';\n\nexport const filters = {\n slownie: schemaMethods.slownie,\n slowniezl: schemaMethods.slowniezl,\n fmoney: schemaMethods.fmoney,\n fmoneyspace: schemaMethods.fmoneyspace,\n padNumber: schemaMethods.padNumber,\n datePart: schemaMethods.datePart,\n dateFromPesel: schemaMethods.dateFromPesel,\n moment: schemaMethods.moment,\n fdatetime: schemaMethods.fdatetime,\n fdate: schemaMethods.fdate,\n ftime: schemaMethods.ftime,\n dateFromPesel: schemaMethods.dateFromPesel,\n datePart: schemaMethods.datePart\n};\n\nexport function registerFilters(Vue, registerLog) {\n for (var name in filters) {\n if (registerLog) {\n console.time('register filter ' + name);\n Vue.filter(name, filters[name]);\n console.timeEnd('register filter ' + name);\n } else {\n Vue.filter(name, filters[name]);\n }\n }\n}\n\nexport default filters;\n","import {schemaMixin} from '@witkac/jschema';\nimport formComponents from '../components/formComponents';\nlet components = null;\n// if (window && window.Vue) {\n// nie przekazujemy komponentów bo rejestrujemy je globalnie\n/* \nif ((typeof window !== \"undefined\") && (window.Vue)) {\n //są zarejestrowane globalnie\n components = null;\n\n} else {\n components = formComponents;\n}\n*/\n\nfunction isComponent(component, className, tagName) {\n let Ctor = component.$vnode.componentOptions.Ctor;\n if (Ctor && Ctor.extendOptions && (Ctor.extendOptions.name === className || Ctor.extendOptions.name === tagName)) {\n return true;\n } else {\n if (component.$vnode.componentOptions.tag === tagName) {\n return true;\n }\n }\n return false;\n}\n\n// import { fixSchemaDefaultOptions } from '../utils/JsonSchema';\n// fixSchemaDefaultOptions.arrayItemGuidField = 'Guid';\n\nexport default {\n mixins: [schemaMixin],\n\n components: components,\n props: ['datamodel', 'external', 'confirmDelete', 'tabChange'],\n data() {\n let data = {};\n\n return {\n model: this.$props.datamodel,\n form: {\n fieldsChanged: [],\n pow: [],\n gmi: []\n }\n };\n },\n\n methods: {\n prevStep(event) {\n const index = this.form.sections.findIndex(s => s.name == this.form.currentSection.name) - 1;\n if (index >= 0) {\n for (let i = index; i >= 0; i--) {\n const section = this.form.sections[i];\n if (!section.hide) {\n return this.onChangeTab(event, this.form.sections[i]);\n }\n }\n }\n },\n nextStep(event) {\n const index = this.form.sections.findIndex(s => s.name == this.form.currentSection.name) + 1;\n if (index < this.form.sections.length) {\n for (let i = index; i < this.form.sections.length; i++) {\n const section = this.form.sections[i];\n if (!section.hide) {\n return this.onChangeTab(event, section);\n }\n }\n }\n },\n onChangeTab(event, section) {\n const errors = this.validateSection(this.form.currentSection);\n\n if (this.$listeners['before-change-tab']) {\n return new Promise((resolve, reject) => {\n this.$emit('before-change-tab', event, section, errors.length > 0, resolve);\n }).then(result => {\n if (result) {\n this.changeTab(section);\n }\n });\n } else {\n this.changeTab(section);\n }\n },\n changeTab(section) {\n this.form.currentSection = section;\n this.form.fieldsChanged = [];\n this.$emit('sectionchanged', section, this.form.sections);\n },\n\n allComponents(parentComponent, componentTag, result) {\n if (parentComponent.$vnode.componentOptions.tag === componentTag) {\n result.push(parentComponent);\n return result;\n }\n\n if (parentComponent.$children) {\n const l = parentComponent.$children.length;\n for (let i = 0; i < l; i++) {\n this.allComponents(parentComponent.$children[i], componentTag, result);\n }\n }\n return result;\n },\n validateSection(section) {\n const stime = new Date().getTime();\n const self = this;\n let ss = null;\n for (let i = 0; i < self.$children.length; i++) {\n const component = self.$children[i];\n if (isComponent(component, 'WSection', 'w-section')) {\n //if (component.$vnode.componentOptions.tag === 'w-section') {\n if (component.section === section) {\n ss = component;\n break;\n }\n }\n }\n if (ss === null) {\n return [];\n }\n\n const result = [];\n\n const traverseError = parentComponent => {\n if (isComponent(parentComponent, 'WError', 'w-error')) {\n const model = parentComponent.model;\n const vres = model.$validate();\n if (vres) {\n result.push(parentComponent);\n }\n }\n\n if (parentComponent.$children) {\n const l = parentComponent.$children.length;\n for (let i = 0; i < l; i++) {\n traverseError(parentComponent.$children[i]);\n }\n }\n };\n traverseError(ss);\n\n // console.log('validateSection', new Date().getTime() - stime, result.length, result[0]);\n // result[20].$emit('focus');\n return result;\n },\n resetSection(section) {\n const stime = new Date().getTime();\n const self = this;\n let ss = null;\n for (let i = 0; i < self.$children.length; i++) {\n const component = self.$children[i];\n // if (component.$vnode.componentOptions.tag === 'w-section') {\n if (component.section === section) {\n ss = component;\n break;\n }\n // }\n }\n if (ss === null) {\n return [];\n }\n\n const result = [];\n\n const traverseError = parentComponent => {\n if (isComponent(parentComponent, 'WError', 'w-error')) {\n const model = parentComponent.model;\n if (model.$error) {\n model.$reset();\n result.push(parentComponent);\n }\n }\n\n if (parentComponent.$children) {\n const l = parentComponent.$children.length;\n for (let i = 0; i < l; i++) {\n traverseError(parentComponent.$children[i]);\n }\n }\n };\n traverseError(ss);\n\n // console.log('validateSection', new Date().getTime() - stime, result.length, result[0]);\n // result[20].$emit('focus');\n return result;\n }\n },\n computed: {\n isLastSection: {\n get() {\n return this.form && this.form.sections && this.form.sections.length && this.form.sections[this.form.sections.length - 1] === this.form.currentSection;\n }\n },\n\n isFirstSection: {\n get() {\n return this.form && this.form.sections && this.form.sections.length && this.form.sections[0] === this.form.currentSection;\n }\n },\n disabledKonkursDates: {\n get() {\n if (this.$external.$konkurs.TerminOd && this.$external.$konkurs.TerminDo) {\n let toDate = new Date(this.$external.$konkurs.TerminOd);\n let fromDate = new Date(this.$external.$konkurs.TerminDo);\n\n fromDate.setHours(0);\n fromDate.setMinutes(0);\n fromDate.setSeconds(0);\n\n if (this.$external.$settings.maxDays && this.model.DataStart) {\n let tmp = new Date(this.model.DataStart);\n tmp.setHours(0);\n tmp.setMinutes(0);\n tmp.setSeconds(0);\n\n tmp.setDate(tmp.getDate() + this.$external.$settings.maxDays);\n if (tmp < fromDate) {\n fromDate = tmp;\n }\n }\n\n fromDate.setDate(fromDate.getDate() + 1);\n\n return {\n to: toDate,\n from: fromDate\n };\n }\n\n return undefined;\n }\n }\n },\n beforeCreate() {\n const props = this.$options.propsData;\n\n if (props.external) {\n this.$options.external = props.external;\n delete props.external;\n }\n },\n created() {\n if (this.$external.$settings && this.form.sections) {\n for (let index = 0; index < this.form.sections.length; index++) {\n const item = this.form.sections[index];\n\n item.unlockInfo = this.$external.$settings.unlockInfo;\n if (this.$external.$settings.tabsEnabled) {\n //item.tabEnabled = this.$external.$settings.tabsEnabled.includes(index);\n item.tabDisabled = !this.$external.$settings.tabsEnabled.includes(index);\n }\n if (this.$external.$settings.tabsDisabled) {\n item.tabDisabled = this.$external.$settings.tabsDisabled.includes(index);\n }\n }\n }\n },\n beforeMount() {},\n mounted() {\n if (window) {\n window.vm = this;\n }\n }\n};\n","import { schemaMixin } from '@witkac/jschema';\nimport previewComponents from '../components/preview/previewComponents';\nlet components = null;\n\n// nie przekazujemy komponentów bo rejestrujemy je globalnie\n/*\n\nif ((typeof window !== \"undefined\") && (window.Vue)) {\n //są zarejestrowane globalnie\n components = null;\n\n} else {\n components = previewComponents;\n}\n*/\n\n\n\n// import { fixSchemaDefaultOptions } from '../utils/JsonSchema';\n// fixSchemaDefaultOptions.arrayItemGuidField = 'Guid';\n\nexport default {\n mixins: [schemaMixin],\n components: components,\n props: ['datamodel', 'external'],\n data() {\n let data = {};\n return {\n model: this.$props.datamodel,\n };\n },\n\n beforeCreate() {\n const props = this.$options.propsData;\n\n if (props.external) {\n this.$options.external = props.external;\n delete props.external;\n }\n },\n created() {\n console.log('previewMixin created');\n\n },\n mounted() {\n if (typeof window !== \"undefined\") {\n\n window.vm = this;\n }\n }\n};\n","import _components, {registerComponents} from './components/formComponents';\nimport _previewcomponents, {registerPreviewComponents} from './components/preview/previewComponents';\nimport _filters, {registerFilters} from './filters';\nimport _formMixin from './mixins/formMixin';\nimport _previewMixin from './mixins/previewMixin';\nimport {schemaMixin as _schemaMixin, schemaMethods as _schemaMethods} from '@witkac/jschema';\n\nexport const formMixin = _formMixin;\nexport const previewMixin = _previewMixin;\nexport const components = _components;\nexport const previewComponents = _previewcomponents;\nexport const filters = _filters;\nexport const schemaMixin = _schemaMixin;\nexport const schemaMethods = _schemaMethods;\n\nif (typeof window !== 'undefined') {\n window.formComponents = window.fc = components;\n window.previewComponents = window.pc = previewComponents;\n window.formMixin = formMixin;\n window.previewMixin = previewMixin;\n if (window.Vue) {\n if (!window.Vue.config.skipGlobalComponents) {\n registerComponents(window.Vue);\n registerPreviewComponents(window.Vue);\n } else {\n console.log('GlobalComponents: skipped');\n }\n registerFilters(window.Vue);\n }\n}\n\nexport default components;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Ctor = {};\nexports.default = Ctor;\n//# sourceMappingURL=WrappedPropertyCtor.js.map","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var xPseudo = moment.defineLocale('x-pseudo', {\n months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),\n monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),\n monthsParseExact : true,\n weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),\n weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),\n weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[T~ódá~ý át] LT',\n nextDay : '[T~ómó~rró~w át] LT',\n nextWeek : 'dddd [át] LT',\n lastDay : '[Ý~ést~érdá~ý át] LT',\n lastWeek : '[L~ást] dddd [át] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'í~ñ %s',\n past : '%s á~gó',\n s : 'á ~féw ~sécó~ñds',\n ss : '%d s~écóñ~ds',\n m : 'á ~míñ~úté',\n mm : '%d m~íñú~tés',\n h : 'á~ñ hó~úr',\n hh : '%d h~óúrs',\n d : 'á ~dáý',\n dd : '%d d~áýs',\n M : 'á ~móñ~th',\n MM : '%d m~óñt~hs',\n y : 'á ~ýéár',\n yy : '%d ý~éárs'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal : function (number) {\n var b = number % 10,\n output = (~~(number % 100 / 10) === 1) ? 'th' :\n (b === 1) ? 'st' :\n (b === 2) ? 'nd' :\n (b === 3) ? 'rd' : 'th';\n return number + output;\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return xPseudo;\n\n})));\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar formatFunctions_1 = require(\"../formatFunctions\");\nfunction getValidations(schema, validators, cache) {\n var funcs = cache ? validators.validationFunctions : undefined;\n if (funcs === undefined) {\n funcs = [];\n if (schema.type === 'array') {\n if (validators.minItems !== undefined) {\n funcs.push(_validations.minItems);\n }\n if (validators.maxItems !== undefined) {\n funcs.push(_validations.maxItems);\n }\n }\n else {\n if (schema.type === 'string') {\n if (validators.minimum !== undefined) {\n if (String.prototype) {\n funcs.push(_validations.minimumString);\n }\n }\n if (validators.exclusiveMinimum !== undefined) {\n // let nn: number = schema.exclusiveMinimum;\n funcs.push(_validations.exclusiveMinimumString);\n }\n if (validators.maximum !== undefined) {\n funcs.push(_validations.maximumString);\n }\n if (validators.exclusiveMaximum !== undefined) {\n funcs.push(_validations.exclusiveMaximumString);\n }\n if (validators.maxLength !== undefined) {\n funcs.push(_validations.maxLength);\n }\n if (validators.minLength !== undefined) {\n funcs.push(_validations.minLength);\n }\n if (validators.pattern !== undefined) {\n try {\n var rg_1 = new RegExp(validators.pattern || '', validators.patternFlags || 'i');\n funcs.push(function (value, runschema) { return (rg_1.test(value) ? null : 'pattern'); });\n // tslint:disable-next-line: no-empty\n }\n catch (err) {\n funcs.push(function (value, runschema) { return 'pattern'; });\n }\n }\n if (validators.format !== undefined) {\n // const ff = formatFunctions[schema.format];\n var ff_1 = formatFunctions_1.checkFormatFunction(validators.format || '');\n // console.log('get format function', schema.format, ff);\n if (ff_1 !== undefined) {\n funcs.push(function (value, runschema) { return (ff_1(value) ? null : 'format'); });\n }\n }\n }\n else {\n if (validators.minimum !== undefined) {\n if (String.prototype) {\n funcs.push(_validations.minimum);\n }\n }\n if (validators.exclusiveMinimum !== undefined) {\n // let nn: number = schema.exclusiveMinimum;\n funcs.push(_validations.exclusiveMinimum);\n }\n if (validators.maximum !== undefined) {\n funcs.push(_validations.maximum);\n }\n if (validators.exclusiveMaximum !== undefined) {\n funcs.push(_validations.exclusiveMaximum);\n }\n }\n if (validators.enum !== undefined) {\n funcs.push(_validations.enum);\n }\n if (schema.type === 'number' || schema.type === 'integer' || schema.type === 'money') {\n if (validators.multipleOf) {\n funcs.push(_validations.multipleOf);\n }\n }\n }\n if (cache) {\n Object.defineProperty(validators, 'validationFunctions', {\n enumerable: false,\n value: funcs\n });\n }\n }\n return funcs;\n}\nexports.getValidations = getValidations;\nvar supportLocales = false;\ntry {\n 'foo'.localeCompare('bar', 'pl');\n supportLocales = true;\n}\ncatch (e) {\n supportLocales = false;\n}\nvar stringCompare = function (value, othervalue) { return value.toLocaleLowerCase().localeCompare(othervalue.toLocaleLowerCase()); };\n// nie ma sensu bo jest wolniejsze, jakieś 20x\n// if (supportLocales) {\n// stringCompare = (value: any, othervalue: any) => value.localeCompare(othervalue, 'pl', { sensitivity: 'accent' });\n// }\nvar _validations = {\n enum: function (value, runschema) { return (runschema.enum && runschema.enum.indexOf(value) > -1 ? null : 'enum'); },\n minItems: function (value, runschema) { return (runschema.minItems !== null && !isNaN(runschema.minItems) && value.length < runschema.minItems ? 'minItems' : null); },\n maxItems: function (value, runschema) { return (runschema.maxItems !== null && !isNaN(runschema.maxItems) && value.length > runschema.maxItems ? 'maxItems' : null); },\n multipleOf: function (value, runschema) {\n return runschema.multipleOf !== null && !isNaN(runschema.multipleOf) && value % runschema.multipleOf !== 0 ? 'multipleOf' : null;\n },\n maxLength: function (value, runschema) { return (runschema.maxLength !== null && !isNaN(runschema.maxLength) && value.length > runschema.maxLength ? 'maxLength' : null); },\n minLength: function (value, runschema) { return (runschema.minLength !== null && !isNaN(runschema.minLength) && value.length < runschema.minLength ? 'minLength' : null); },\n minimum: function (value, runschema) { return (runschema.minimum !== null && !isNaN(runschema.minimum) && value < runschema.minimum ? 'minimum' : null); },\n exclusiveMinimum: function (value, runschema) {\n return runschema.exclusiveMinimum !== null && !isNaN(runschema.exclusiveMinimum) && value <= runschema.exclusiveMinimum ? 'exclusiveMinimum' : null;\n },\n maximum: function (value, runschema) { return (runschema.maximum !== null && !isNaN(runschema.maximum) && value > runschema.maximum ? 'maximum' : null); },\n exclusiveMaximum: function (value, runschema) {\n return runschema.exclusiveMaximum !== null && !isNaN(runschema.exclusiveMaximum) && value >= runschema.exclusiveMaximum ? 'exclusiveMaximum' : null;\n },\n minimumString: function (value, runschema) { return (runschema.minimum && stringCompare(value, runschema.minimum) === -1 ? 'minimum' : null); },\n exclusiveMinimumString: function (value, runschema) { return (runschema.exclusiveMinimum && stringCompare(value, runschema.exclusiveMinimum) !== 1 ? 'exclusiveMinimum' : null); },\n maximumString: function (value, runschema) { return (runschema.maximum && stringCompare(value, runschema.maximum) === 1 ? 'maximum' : null); },\n exclusiveMaximumString: function (value, runschema) { return (runschema.exclusiveMaximum && stringCompare(value, runschema.exclusiveMaximum) !== -1 ? 'exclusiveMaximum' : null); }\n};\n//# sourceMappingURL=getValidations.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var se = moment.defineLocale('se', {\n months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),\n monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),\n weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),\n weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n weekdaysMin : 's_v_m_g_d_b_L'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'MMMM D. [b.] YYYY',\n LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'\n },\n calendar : {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : '%s geažes',\n past : 'maŋit %s',\n s : 'moadde sekunddat',\n ss: '%d sekunddat',\n m : 'okta minuhta',\n mm : '%d minuhtat',\n h : 'okta diimmu',\n hh : '%d diimmut',\n d : 'okta beaivi',\n dd : '%d beaivvit',\n M : 'okta mánnu',\n MM : '%d mánut',\n y : 'okta jahki',\n yy : '%d jagit'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return se;\n\n})));\n"],"sourceRoot":""}