\";\n return div.innerHTML.indexOf('
') > 0\n}\n\n// #3663: IE encodes newlines inside attribute values while other browsers don't\nvar shouldDecodeNewlines = inBrowser ? getShouldDecode(false) : false;\n// #6828: chrome encodes content in a[href]\nvar shouldDecodeNewlinesForHref = inBrowser ? getShouldDecode(true) : false;\n\n/* */\n\nvar idToTemplate = cached(function (id) {\n var el = query(id);\n return el && el.innerHTML\n});\n\nvar mount = Vue.prototype.$mount;\nVue.prototype.$mount = function (\n el,\n hydrating\n) {\n el = el && query(el);\n\n /* istanbul ignore if */\n if (el === document.body || el === document.documentElement) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Do not mount Vue to or - mount to normal elements instead.\"\n );\n return this\n }\n\n var options = this.$options;\n // resolve template/el and convert to render function\n if (!options.render) {\n var template = options.template;\n if (template) {\n if (typeof template === 'string') {\n if (template.charAt(0) === '#') {\n template = idToTemplate(template);\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && !template) {\n warn(\n (\"Template element not found or is empty: \" + (options.template)),\n this\n );\n }\n }\n } else if (template.nodeType) {\n template = template.innerHTML;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn('invalid template option:' + template, this);\n }\n return this\n }\n } else if (el) {\n template = getOuterHTML(el);\n }\n if (template) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n mark('compile');\n }\n\n var ref = compileToFunctions(template, {\n outputSourceRange: process.env.NODE_ENV !== 'production',\n shouldDecodeNewlines: shouldDecodeNewlines,\n shouldDecodeNewlinesForHref: shouldDecodeNewlinesForHref,\n delimiters: options.delimiters,\n comments: options.comments\n }, this);\n var render = ref.render;\n var staticRenderFns = ref.staticRenderFns;\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n mark('compile end');\n measure((\"vue \" + (this._name) + \" compile\"), 'compile', 'compile end');\n }\n }\n }\n return mount.call(this, el, hydrating)\n};\n\n/**\n * Get outerHTML of elements, taking care\n * of SVG elements in IE as well.\n */\nfunction getOuterHTML (el) {\n if (el.outerHTML) {\n return el.outerHTML\n } else {\n var container = document.createElement('div');\n container.appendChild(el.cloneNode(true));\n return container.innerHTML\n }\n}\n\nVue.compile = compileToFunctions;\n\nexport default Vue;\n","export var BAidType;\r\n(function (BAidType) {\r\n BAidType[BAidType[\"ICTAndFixedAssets\"] = 41] = \"ICTAndFixedAssets\";\r\n BAidType[BAidType[\"PremisesRenovationOrImprovement\"] = 42] = \"PremisesRenovationOrImprovement\";\r\n BAidType[BAidType[\"SupportApartments\"] = 43] = \"SupportApartments\";\r\n})(BAidType || (BAidType = {}));\r\n","export var InvestmentReportType;\r\n(function (InvestmentReportType) {\r\n InvestmentReportType[InvestmentReportType[\"BudgetaryEstimate\"] = 1] = \"BudgetaryEstimate\";\r\n InvestmentReportType[InvestmentReportType[\"FinalReport\"] = 2] = \"FinalReport\";\r\n})(InvestmentReportType || (InvestmentReportType = {}));\r\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { isNullOrUndefined } from 'util';\r\nimport FetchSettingsFactory from './fetchSettingsFactory';\r\nimport moment from \"moment\";\r\nvar ServiceBase = /** @class */ (function () {\r\n function ServiceBase() {\r\n this.factory = new FetchSettingsFactory();\r\n }\r\n ServiceBase.prototype.fetchApi = function (url, init, timeout, skipSessionCheck) {\r\n if (timeout === void 0) { timeout = null; }\r\n if (skipSessionCheck === void 0) { skipSessionCheck = false; }\r\n return __awaiter(this, void 0, Promise, function () {\r\n var fetchUrl, timeoutPromise;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (!skipSessionCheck)\r\n this.checkSessionExpiration();\r\n fetchUrl = this.getFetchUrl(url);\r\n if (!(timeout !== null)) return [3 /*break*/, 1];\r\n timeoutPromise = new Promise(function (resolve, reject) {\r\n var id = setTimeout(function () {\r\n clearTimeout(id);\r\n reject('Timed out in ' + timeout + 'ms.');\r\n }, timeout);\r\n });\r\n // Returns a race between our timeout and the passed in promise\r\n return [2 /*return*/, Promise.race([\r\n fetch(fetchUrl, init),\r\n timeoutPromise\r\n ])];\r\n case 1: return [4 /*yield*/, fetch(fetchUrl, init)];\r\n case 2: \r\n // Default functionality\r\n return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n };\r\n ServiceBase.prototype.checkSessionExpiration = function () {\r\n var expired = this.checkSessionExpiringSoon(0);\r\n if (expired == true && !window.location.href.endsWith(\"sessionExpired\")) {\r\n var addr = \"/sessionExpired\";\r\n window.location.href = addr;\r\n }\r\n return expired;\r\n };\r\n ServiceBase.prototype.checkSessionExpiringSoon = function (mins) {\r\n var sessionExpiration = decodeURIComponent(document.cookie.replace(/(?:(?:^|.*;\\s*)SessionExpires\\s*\\=\\s*([^;]*).*$)|^.*$/, \"$1\"));\r\n var expired = false;\r\n if (isNullOrUndefined(sessionExpiration) || sessionExpiration == \"\") {\r\n //SessionExpires cookie has expired or was deleted by user\r\n expired = true;\r\n }\r\n else {\r\n var expirationDate = moment(sessionExpiration);\r\n var date = moment(Date.now()).add(mins, 'minutes');\r\n if (date > expirationDate) {\r\n expired = true;\r\n }\r\n }\r\n return expired;\r\n };\r\n ServiceBase.prototype.getServedUrl = function (url) {\r\n return this.getFetchUrl(url);\r\n };\r\n ServiceBase.prototype.getFetchUrl = function (url) {\r\n var tempUrl = (url || \"\").trim();\r\n if (tempUrl.length > 0) {\r\n // \"/\" or \"\" \r\n var prefix = this.getUrlPrefix(tempUrl);\r\n // Api url without the leading \"/\" character\r\n var relativeApiUrl = this.getRelativeApiUrl(tempUrl);\r\n // api/test => prefix = \"\" , url = \"api/test\"\r\n // v dir = \"a\" | v dir = \"\"\r\n // result should be a/api/test | api/test\r\n // \r\n // /api/test => prefix = \"/\" , url = \"api/test\"\r\n // v dir = \"a\" | v dir = \"\"\r\n // result should be /a/api/test | /api/test\r\n tempUrl = prefix + relativeApiUrl;\r\n }\r\n return tempUrl;\r\n };\r\n ServiceBase.prototype.getUrlPrefix = function (url) {\r\n var prefix = \"\";\r\n if (url && url.length > 0 && url.startsWith(\"/\")) {\r\n prefix = url[0];\r\n }\r\n return prefix;\r\n };\r\n ServiceBase.prototype.getRelativeApiUrl = function (url) {\r\n var relativeApiUrl = url;\r\n if (url && url.length > 0 && url.startsWith(\"/\")) {\r\n relativeApiUrl = url.substring(1);\r\n }\r\n return relativeApiUrl;\r\n };\r\n return ServiceBase;\r\n}());\r\nexport default ServiceBase;\r\n","'use strict';\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\n\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar isPrototypeOf = ObjectPrototype.isPrototypeOf;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQIRED = false;\nvar NAME;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar isView = function isView(it) {\n var klass = classof(it);\n return klass === 'DataView' || has(TypedArrayConstructorsList, klass);\n};\n\nvar isTypedArray = function (it) {\n return isObject(it) && has(TypedArrayConstructorsList, classof(it));\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (setPrototypeOf) {\n if (isPrototypeOf.call(TypedArray, C)) return C;\n } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME)) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {\n return C;\n }\n } throw TypeError('Target is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) {\n delete TypedArrayConstructor.prototype[KEY];\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n redefine(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) {\n delete TypedArrayConstructor[KEY];\n }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n redefine(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n if (!global[NAME]) NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQIRED = true;\n defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n } });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","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","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport OrganisationService from \"../services/OrganisationService\";\r\nimport { parseDate } from '@/common/utils/dateUtilities';\r\nimport { isValidIBAN, electronicFormatIBAN } from 'ibantools';\r\nimport moment from \"moment\";\r\nimport UserService from \"../services/UserService\";\r\nexport var withinRange = {\r\n params: [\"min\", \"max\"],\r\n validate: function (value, _a) {\r\n var min = _a.min, max = _a.max;\r\n var date = parseDate(value);\r\n if (!date)\r\n return true;\r\n var minDate = parseDate(min);\r\n var minOk = !minDate || minDate <= date;\r\n var maxDate = parseDate(max);\r\n var maxOk = !maxDate || maxDate >= date;\r\n return minOk && maxOk;\r\n }\r\n};\r\nexport var earlierThanStrDate = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n var valueDate = parseDate(value);\r\n if (!valueDate)\r\n return true;\r\n var targetDate = parseDate(target);\r\n if (!targetDate)\r\n return true;\r\n return valueDate <= targetDate;\r\n }\r\n};\r\nexport var laterThanStrDate = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n var valueDate = parseDate(value);\r\n if (!valueDate)\r\n return true;\r\n var targetDate = parseDate(target);\r\n if (!targetDate)\r\n return true;\r\n return valueDate >= targetDate;\r\n }\r\n};\r\nexport var min_value = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n var trimmed = value ? value.toString().replace(/\\s/g, '').replace(/\\,/g, '.') : '';\r\n var number = Number(trimmed);\r\n return number == null || number >= target;\r\n }\r\n};\r\nexport var max_value = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n var trimmed = value ? value.toString().replace(/\\s/g, '').replace(/\\,/g, '.') : '';\r\n var number = Number(trimmed);\r\n return number == null || number <= target;\r\n }\r\n};\r\nexport var bothNotFalse = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n if (value == null || target == null) {\r\n return true;\r\n }\r\n return (value || target);\r\n }\r\n};\r\nexport var businessId = {\r\n validate: function (value) {\r\n var pattern = /^\\d{7}-\\d{1}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var businessIdExists = {\r\n validate: function (value) { return __awaiter(void 0, void 0, void 0, function () {\r\n var organisationService;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n organisationService = new OrganisationService();\r\n return [4 /*yield*/, organisationService.doesBusinessIdExist(value)];\r\n case 1: return [2 /*return*/, !(_a.sent())];\r\n }\r\n });\r\n }); }\r\n};\r\nexport var organisationWithoutAdmin = {\r\n validate: function (value) { return __awaiter(void 0, void 0, void 0, function () {\r\n var organisationService;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n organisationService = new OrganisationService();\r\n return [4 /*yield*/, organisationService.organisationHasAdmin(value.id)];\r\n case 1: return [2 /*return*/, (_a.sent())];\r\n }\r\n });\r\n }); }\r\n};\r\nexport var phone = {\r\n validate: function (value) {\r\n var pattern = /[^\\d +-]/;\r\n return !pattern.test(value);\r\n }\r\n};\r\nexport var postalCode = {\r\n validate: function (value) {\r\n var pattern = /^\\d{5}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var name = {\r\n validate: function (value) {\r\n var pattern = /[\\d@/\\\\´`\"\"'()#¤$!%{[\\]}?+,\\.=¨~^*§:;|<>]/;\r\n return !pattern.test(value);\r\n }\r\n};\r\nexport var organisationName = {\r\n validate: function (value) {\r\n var pattern = /^[a-zåäöA-ZÅÄÖ\\d _\\-()]+$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var email = {\r\n validate: function (value) {\r\n var pattern = /^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]{2,4}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var emailIsNotTaken = {\r\n validate: function (value) {\r\n var userService = new UserService();\r\n return userService.emailIsNotTaken(value);\r\n }\r\n};\r\nexport var realEstateId = {\r\n validate: function (value) {\r\n var pattern = /^(?=[\\d-]{7,20}$)\\d{1,}-\\d{1,}-\\d{1,}-\\d{1,}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var shareGroupId = {\r\n validate: function (value) {\r\n var pattern = /^[a-zåäöA-ZÅÄÖ\\d]{16}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\nexport var monthYearDate = {\r\n validate: function (value) {\r\n var pattern = /^\\d{1,2}\\.\\d{4}$/;\r\n if (!pattern.test(value)) {\r\n return false;\r\n }\r\n ;\r\n var valueArray = value.split(\".\");\r\n return valueArray.length == 2 && moment(valueArray[1] + \"-\" + valueArray[0], \"YYYY-MM\").isValid();\r\n }\r\n};\r\nexport var fullDate = {\r\n validate: function (value) {\r\n var pattern = /^\\d{1,2}\\.\\d{1,2}\\.\\d{4}$/;\r\n if (!pattern.test(value)) {\r\n return false;\r\n }\r\n ;\r\n var valueArray = value.split(\".\");\r\n return valueArray.length == 3 && moment(valueArray[2] + \"-\" + valueArray[1] + \"-\" + valueArray[0], \"YYYY-MM-DD\").isValid();\r\n }\r\n};\r\nexport var iban = {\r\n validate: function (value) {\r\n var strippedValue = value.toUpperCase().replace(/[^A-Z0-9]/g, '');\r\n var strippedIban = electronicFormatIBAN(strippedValue);\r\n // Only finnish IBANs are valid.\r\n return strippedIban.startsWith(\"FI\") && isValidIBAN(strippedIban);\r\n }\r\n};\r\n// Used to eliminate a specific case where option exists with id null AND name null. Everything else should pass.\r\nexport var notNullOption = {\r\n validate: function (value) {\r\n var option = value;\r\n return option.id !== null || option.name !== null;\r\n }\r\n};\r\nexport var stringsMatchConfirm = {\r\n params: [\"target\"],\r\n validate: function (value, _a) {\r\n var target = _a.target;\r\n return value === target;\r\n }\r\n};\r\n// Password requirement \r\n// - At least 6 characters long\r\n// - Must include at least one small and one capital letter\r\n// - Must include at least one digit\r\n// - Must include at least one special character\r\nexport var password = {\r\n validate: function (value) {\r\n var pattern = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^a-zA-Z\\d]).{6,}$/;\r\n return pattern.test(value);\r\n }\r\n};\r\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { class: [_vm.hasTitle ? \"form-group row mt-4\" : \"\", \"select\"] },\n [\n _vm.title\n ? _c(\"label-control\", {\n class: {\n \"col-xs-12 col-sm-5 col-form-label\": _vm.hasTitle,\n \"sr-only\": _vm.srLabel\n },\n attrs: {\n title: _vm.title,\n srOnly: _vm.srLabel,\n required: _vm.required,\n forElement: _vm.dropdownId\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n this.options\n ? _c(\n \"div\",\n { class: { \"col-xs-12 col-sm-7\": _vm.hasTitle } },\n [\n _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: { rules: { required: _vm.required }, slim: \"\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\n \"select\",\n {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.inputSelectedValue,\n expression: \"inputSelectedValue\"\n }\n ],\n class: _vm.getValidationErrorClasses(failedRules),\n attrs: {\n name: _vm.dropdownId,\n id: _vm.dropdownId,\n disabled: _vm.savable\n ? _vm.isReadOnly || _vm.disabled\n : _vm.disabled,\n \"aria-required\": _vm.required,\n \"aria-invalid\":\n _vm.required && errors.length > 0\n },\n on: {\n change: function($event) {\n var $$selectedVal = Array.prototype.filter\n .call($event.target.options, function(o) {\n return o.selected\n })\n .map(function(o) {\n var val =\n \"_value\" in o ? o._value : o.value\n return val\n })\n _vm.inputSelectedValue = $event.target\n .multiple\n ? $$selectedVal\n : $$selectedVal[0]\n }\n }\n },\n [\n !_vm.omitPlaceholder\n ? _c(\n \"option\",\n {\n attrs: { selected: \"\" },\n domProps: { value: null }\n },\n [_vm._v(_vm._s(_vm.placeholderLabel))]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_vm.options, function(option, index) {\n return _c(\n \"option\",\n {\n attrs: {\n title: _vm.getOptionTitle(option)\n },\n domProps: {\n value: _vm.valueHasNoIdAndNameNotInLocale\n ? option.name\n : option.id\n }\n },\n [\n _c(\n \"span\",\n {\n attrs: {\n \"aria-hidden\": _vm.doTruncation(\n option\n )\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm._f(\"truncate\")(\n _vm.getFullDisplayName(option),\n _vm.truncateLength\n )\n )\n )\n ]\n )\n ]\n )\n })\n ],\n 2\n )\n ]\n }\n }\n ],\n null,\n false,\n 938171182\n )\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar SingleSelectAccessible = /** @class */ (function (_super) {\r\n __extends(SingleSelectAccessible, _super);\r\n function SingleSelectAccessible() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"hasTitle\", {\r\n get: function () {\r\n if (this.srLabel) {\r\n return false;\r\n }\r\n else if (this.title) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"placeholderLabel\", {\r\n get: function () {\r\n if (this.isReadOnly) {\r\n return '';\r\n }\r\n else {\r\n return this.placeholder ? this.placeholder : this.$i18n.t(\"Selection.Choose\").toString();\r\n }\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"valueAsOption\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n SingleSelectAccessible.prototype.doTruncation = function (option) {\r\n return this.getFullDisplayName(option).length > this.truncateLength;\r\n };\r\n SingleSelectAccessible.prototype.getOptionTitle = function (option) {\r\n return this.doTruncation(option)\r\n ? this.getFullDisplayName(option)\r\n : null;\r\n };\r\n SingleSelectAccessible.prototype.getFullDisplayName = function (option) {\r\n return this.doNotUseResources\r\n ? option.name\r\n : this.$t(option.name).toString();\r\n };\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"valueHasNoIdAndNameNotInLocale\", {\r\n get: function () {\r\n return this.optionOutput && this.valueAsOption.name && (!this.valueAsOption.id || this.valueAsOption.id == -1) && !this.optionExistsInCurrentLocale(this.valueAsOption.name);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"valueHasNoIdButExistsInLocale\", {\r\n get: function () {\r\n return this.optionOutput && this.valueAsOption.name && (!this.valueAsOption.id || this.valueAsOption.id == -1) && this.optionExistsInCurrentLocale(this.valueAsOption.name);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n SingleSelectAccessible.prototype.getOptionName = function (id) {\r\n return this.options.find(function (x) { return x.id == id; }).name;\r\n };\r\n SingleSelectAccessible.prototype.optionExistsInCurrentLocale = function (name) {\r\n return this.options.some(function (x) { return x.name == name; });\r\n };\r\n SingleSelectAccessible.prototype.getOptionId = function (name) {\r\n return this.options.find(function (x) { return x.name == name; }).id;\r\n };\r\n Object.defineProperty(SingleSelectAccessible.prototype, \"inputSelectedValue\", {\r\n get: function () {\r\n if (!this.value || (this.optionOutput && !this.valueAsOption.name)) {\r\n return null;\r\n }\r\n if (typeof this.value == \"string\") {\r\n return this.value;\r\n }\r\n // While data is being loaded, we still want to show the option if possible, so there is no flickering and jumping\r\n if (this.options.length == 0 && this.optionOutput) {\r\n if (this.valueAsOption.id != null)\r\n this.options.push(this.valueAsOption);\r\n }\r\n // id \"-1\" is used as a fallback id for older forms that did not yet persist id upon selection.\r\n // the correct id is written to database if option name can be found in the options array.\r\n if (this.optionOutput && this.valueHasNoIdAndNameNotInLocale) {\r\n this.options.push({ name: this.valueAsOption.name, id: -1 });\r\n return this.valueAsOption.name;\r\n }\r\n else if (this.valueHasNoIdButExistsInLocale) {\r\n if (this.getOptionId(this.valueAsOption.name) != -1) {\r\n this.inputSelectedValue = this.getOptionId(this.valueAsOption.name);\r\n }\r\n return this.getOptionId(this.valueAsOption.name);\r\n }\r\n return Number(this.optionOutput ? this.valueAsOption.id : this.value);\r\n },\r\n set: function (modifiedValue) {\r\n if (!this.isReadOnly && this.savable) {\r\n this.$store.state.vuexPageModule.dirty = true;\r\n }\r\n if (this.optionOutput) {\r\n if (!modifiedValue) {\r\n this.$emit(\"input\", { name: null, id: null });\r\n }\r\n else {\r\n if (typeof modifiedValue == \"string\") {\r\n this.$emit(\"input\", { name: modifiedValue, id: -1 });\r\n }\r\n else {\r\n this.$emit(\"input\", { name: this.getOptionName(Number(modifiedValue)), id: Number(modifiedValue) });\r\n }\r\n }\r\n }\r\n else {\r\n this.$emit(\"input\", modifiedValue ? modifiedValue : null);\r\n }\r\n if (this.savable) {\r\n this.forceSave();\r\n }\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectAccessible.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop([Number, Object, String]),\r\n __metadata(\"design:type\", Object)\r\n ], SingleSelectAccessible.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(Array),\r\n __metadata(\"design:type\", Array)\r\n ], SingleSelectAccessible.prototype, \"options\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectAccessible.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectAccessible.prototype, \"dropdownId\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"srLabel\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"optionOutput\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"doNotUseResources\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: true }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"savable\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 70 }),\r\n __metadata(\"design:type\", Number)\r\n ], SingleSelectAccessible.prototype, \"truncateLength\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"omitPlaceholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectAccessible.prototype, \"disabled\", void 0);\r\n SingleSelectAccessible = __decorate([\r\n Component({\r\n name: 'SingleSelectAccessible',\r\n components: {\r\n ValidationProvider: ValidationProvider,\r\n LabelControl: LabelControl\r\n }\r\n })\r\n ], SingleSelectAccessible);\r\n return SingleSelectAccessible;\r\n}(Mixins(Savable, Validatable)));\r\nexport default SingleSelectAccessible;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleSelectAccessible.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleSelectAccessible.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SingleSelectAccessible.vue?vue&type=template&id=bf3c2fd4&\"\nimport script from \"./SingleSelectAccessible.vue?vue&type=script&lang=ts&\"\nexport * from \"./SingleSelectAccessible.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('bf3c2fd4', component.options)\n } else {\n api.reload('bf3c2fd4', component.options)\n }\n module.hot.accept(\"./SingleSelectAccessible.vue?vue&type=template&id=bf3c2fd4&\", function () {\n api.rerender('bf3c2fd4', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/SingleSelectAccessible.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"row form-group\" },\n [\n _vm.title\n ? _c(\"label-control\", {\n staticClass: \"col-12 col-md-4 col-lg-3 col-form-label\",\n attrs: {\n title: _vm.title,\n required: _vm.required,\n forElement: _vm.id\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n { class: [_vm.title ? \"col-md-8 col-lg-9\" : \"\", \"col-12\"] },\n [\n _c(\"ValidationProvider\", {\n attrs: {\n name: _vm.providerName,\n rules: _vm.mergedRules,\n slim: \"\",\n mode: _vm.providerMode\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n return [\n _c(\"div\", [\n _vm.type === \"checkbox\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n }\n ],\n class: [\n \"form-control\",\n _vm.getValidationErrorClasses(errors)\n ],\n attrs: {\n id: _vm.id,\n maxlength: _vm.maxLength,\n placeholder: _vm.placeholder,\n readOnly: _vm.isReadOnly,\n \"aria-required\": _vm.required && !_vm.isReadOnly,\n \"aria-invalid\":\n _vm.required &&\n !_vm.isReadOnly &&\n errors.length > 0,\n \"aria-labelledby\": _vm.labelledBy\n ? _vm.labelledBy\n : null,\n \"aria-describedby\": _vm.id + \"-errors\",\n type: \"checkbox\"\n },\n domProps: {\n checked: Array.isArray(_vm.modifiedValue)\n ? _vm._i(_vm.modifiedValue, null) > -1\n : _vm.modifiedValue\n },\n on: {\n blur: function($event) {\n return _vm.onBlur()\n },\n change: function($event) {\n var $$a = _vm.modifiedValue,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 &&\n (_vm.modifiedValue = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.modifiedValue = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.modifiedValue = $$c\n }\n }\n }\n })\n : _vm.type === \"radio\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n }\n ],\n class: [\n \"form-control\",\n _vm.getValidationErrorClasses(errors)\n ],\n attrs: {\n id: _vm.id,\n maxlength: _vm.maxLength,\n placeholder: _vm.placeholder,\n readOnly: _vm.isReadOnly,\n \"aria-required\": _vm.required && !_vm.isReadOnly,\n \"aria-invalid\":\n _vm.required &&\n !_vm.isReadOnly &&\n errors.length > 0,\n \"aria-labelledby\": _vm.labelledBy\n ? _vm.labelledBy\n : null,\n \"aria-describedby\": _vm.id + \"-errors\",\n type: \"radio\"\n },\n domProps: {\n checked: _vm._q(_vm.modifiedValue, null)\n },\n on: {\n blur: function($event) {\n return _vm.onBlur()\n },\n change: function($event) {\n _vm.modifiedValue = null\n }\n }\n })\n : _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n }\n ],\n class: [\n \"form-control\",\n _vm.getValidationErrorClasses(errors)\n ],\n attrs: {\n id: _vm.id,\n maxlength: _vm.maxLength,\n placeholder: _vm.placeholder,\n readOnly: _vm.isReadOnly,\n \"aria-required\": _vm.required && !_vm.isReadOnly,\n \"aria-invalid\":\n _vm.required &&\n !_vm.isReadOnly &&\n errors.length > 0,\n \"aria-labelledby\": _vm.labelledBy\n ? _vm.labelledBy\n : null,\n \"aria-describedby\": _vm.id + \"-errors\",\n type: _vm.type\n },\n domProps: { value: _vm.modifiedValue },\n on: {\n blur: function($event) {\n return _vm.onBlur()\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.modifiedValue = $event.target.value\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: errors.length > 0,\n expression: \"errors.length > 0\"\n }\n ],\n staticClass: \"mb-2 inline-validation-error\",\n attrs: { id: _vm.id + \"-errors\" }\n },\n [\n _vm._v(\n _vm._s(_vm.getSingleValidationErrorMsg(errors))\n )\n ]\n )\n ])\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { sanitize } from '@/common/utils/stringUtilities';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar TextInputRow = /** @class */ (function (_super) {\r\n __extends(TextInputRow, _super);\r\n function TextInputRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(TextInputRow.prototype, \"defaultRules\", {\r\n get: function () {\r\n return { required: this.required };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextInputRow.prototype, \"mergedRules\", {\r\n get: function () {\r\n return this.rules ? Object.assign(this.defaultRules, this.rules) : this.defaultRules;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextInputRow.prototype, \"modifiedValue\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (modifiedStr) {\r\n this.$emit(\"input\", modifiedStr);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n TextInputRow.prototype.onBlur = function () {\r\n this.modifiedValue = sanitize(this.modifiedValue);\r\n };\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"labelledBy\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: String, default: \"text\" }),\r\n __metadata(\"design:type\", Number)\r\n ], TextInputRow.prototype, \"type\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextInputRow.prototype, \"isReadOnly\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 4000 }),\r\n __metadata(\"design:type\", Number)\r\n ], TextInputRow.prototype, \"maxLength\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextInputRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof Object !== \"undefined\" && Object) === \"function\" ? _a : Object)\r\n ], TextInputRow.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"providerName\", void 0);\r\n __decorate([\r\n Prop({ type: String, default: undefined }),\r\n __metadata(\"design:type\", String)\r\n ], TextInputRow.prototype, \"providerMode\", void 0);\r\n TextInputRow = __decorate([\r\n Component({\r\n name: 'TextInputRow',\r\n components: {\r\n ValidationProvider: ValidationProvider,\r\n LabelControl: LabelControl\r\n }\r\n })\r\n ], TextInputRow);\r\n return TextInputRow;\r\n}(Mixins(Validatable)));\r\nexport default TextInputRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInputRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInputRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TextInputRow.vue?vue&type=template&id=a6ac794e&\"\nimport script from \"./TextInputRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./TextInputRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('a6ac794e', component.options)\n } else {\n api.reload('a6ac794e', component.options)\n }\n module.hot.accept(\"./TextInputRow.vue?vue&type=template&id=a6ac794e&\", function () {\n api.rerender('a6ac794e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/TextInputRow.vue\"\nexport default component.exports","import { RX_ARRAY_NOTATION } from '../constants/regex';\nimport identity from './identity';\nimport { isArray, isNull, isObject, isUndefinedOrNull } from './inspect';\n/**\n * Get property defined by dot/array notation in string, returns undefined if not found\n *\n * @link https://gist.github.com/jeneg/9767afdcca45601ea44930ea03e0febf#gistcomment-1935901\n *\n * @param {Object} obj\n * @param {string|Array} path\n * @return {*}\n */\n\nexport var getRaw = function getRaw(obj, path) {\n var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n // Handle array of path values\n path = isArray(path) ? path.join('.') : path; // If no path or no object passed\n\n if (!path || !isObject(obj)) {\n return defaultValue;\n } // Handle edge case where user has dot(s) in top-level item field key\n // See https://github.com/bootstrap-vue/bootstrap-vue/issues/2762\n // Switched to `in` operator vs `hasOwnProperty` to handle obj.prototype getters\n // https://github.com/bootstrap-vue/bootstrap-vue/issues/3463\n\n\n if (path in obj) {\n return obj[path];\n } // Handle string array notation (numeric indices only)\n\n\n path = String(path).replace(RX_ARRAY_NOTATION, '.$1');\n var steps = path.split('.').filter(identity); // Handle case where someone passes a string of only dots\n\n if (steps.length === 0) {\n return defaultValue;\n } // Traverse path in object to find result\n // Switched to `in` operator vs `hasOwnProperty` to handle obj.prototype getters\n // https://github.com/bootstrap-vue/bootstrap-vue/issues/3463\n\n\n return steps.every(function (step) {\n return isObject(obj) && step in obj && !isUndefinedOrNull(obj = obj[step]);\n }) ? obj : isNull(obj) ? null : defaultValue;\n};\n/**\n * Get property defined by dot/array notation in string.\n *\n * @link https://gist.github.com/jeneg/9767afdcca45601ea44930ea03e0febf#gistcomment-1935901\n *\n * @param {Object} obj\n * @param {string|Array} path\n * @param {*} defaultValue (optional)\n * @return {*}\n */\n\nexport var get = function get(obj, path) {\n var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var val = getRaw(obj, path);\n return isUndefinedOrNull(val) ? defaultValue : val;\n};\nexport default get;","/**\r\n * AmountItemConfig\r\n * Encapsulates amount item configuration settings.\r\n * */\r\nvar AmountItemConfig = /** @class */ (function () {\r\n /**\r\n * Create a new amount item configuration.\r\n * @param computation Amount computation method.\r\n * @param rules VeeValidate rule object.\r\n */\r\n function AmountItemConfig(computation, rules) {\r\n if (computation === void 0) { computation = null; }\r\n if (rules === void 0) { rules = {}; }\r\n this._computation = computation;\r\n this._rules = rules;\r\n }\r\n Object.defineProperty(AmountItemConfig.prototype, \"computation\", {\r\n get: function () {\r\n return this._computation;\r\n },\r\n set: function (comp) {\r\n this._computation = comp;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AmountItemConfig.prototype, \"rules\", {\r\n get: function () {\r\n return this._rules;\r\n },\r\n set: function (rules) {\r\n this._rules = rules;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return AmountItemConfig;\r\n}());\r\nexport default AmountItemConfig;\r\n","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport ServiceBase from \"./serviceBase\";\r\nvar AuthenticationService = /** @class */ (function (_super) {\r\n __extends(AuthenticationService, _super);\r\n function AuthenticationService() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n AuthenticationService.prototype.isAuthenticated = function () {\r\n return __awaiter(this, void 0, Promise, function () {\r\n return __generator(this, function (_a) {\r\n return [2 /*return*/, this.fetchApi(\"/api/authenticate\", this.factory.createGet(), null, true).then(function (response) {\r\n if (response.ok) {\r\n return response.json();\r\n }\r\n else {\r\n throw new Error(\"Is authenticated check failed.\");\r\n }\r\n }, function (reason) {\r\n throw new Error(\"Is authenticated Error, reason: \" + reason);\r\n })];\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.login = function (user) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var response;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/login?returnUrl=%2F\", this.factory.createPost(JSON.stringify(user)))];\r\n case 1:\r\n response = _a.sent();\r\n return [2 /*return*/, response.ok];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.extendLogin = function (userName) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var response;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/extendlogin\", this.factory.createPut(JSON.stringify(userName)))];\r\n case 1:\r\n response = _a.sent();\r\n if (response.ok) {\r\n return [2 /*return*/, true];\r\n }\r\n return [2 /*return*/, false];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.logout = function () {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var request, response;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n request = this.factory.createPost(\"\");\r\n request.redirect = \"follow\";\r\n return [4 /*yield*/, this.fetchApi(\"/logout\", request)];\r\n case 1:\r\n response = _a.sent();\r\n window.location.href = response.url;\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.getCurrentUser = function () {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var response;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/api/currentuser\", this.factory.createGet())];\r\n case 1:\r\n response = _a.sent();\r\n if (!response.ok) return [3 /*break*/, 3];\r\n return [4 /*yield*/, response.json()];\r\n case 2: return [2 /*return*/, _a.sent()];\r\n case 3: throw new Error(\"Fetching current user failed.\");\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.updateCredentials = function (userId, credentials) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/api/update-credentials/\" + userId + \"/credentials\", this.factory.createPut(JSON.stringify(credentials)))];\r\n case 1: return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.requestPasswordRecoveryToken = function (email) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/api/request-password-recovery-token/\" + email, this.factory.createPost(\"\"))];\r\n case 1: return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.resetPassword = function (model) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/api/reset-password/\" + model.email + \"/model\", this.factory.createPut(JSON.stringify(model)))];\r\n case 1: return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n };\r\n AuthenticationService.prototype.getSuomiFiMessage = function (returnUrl) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var response;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, this.fetchApi(\"/api/get-suomifi/\" + returnUrl, this.factory.createGet())];\r\n case 1:\r\n response = _a.sent();\r\n return [4 /*yield*/, response.json()];\r\n case 2: return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n };\r\n return AuthenticationService;\r\n}(ServiceBase));\r\nexport default AuthenticationService;\r\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _c(\n \"div\",\n {\n staticClass: \"form-group row mt-4\",\n attrs: { role: \"radiogroup\", \"aria-labelledby\": _vm.labelId }\n },\n [\n _c(\"plain-text-control\", {\n class: [\n _vm.labelColWidth ? _vm.labelColWidth : \"col-sm-5\",\n \"col-xs-12\"\n ],\n attrs: { id: _vm.labelId, title: _vm.title, required: _vm.required }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col-xs-12 col-sm-7 col-xl-5\" },\n [\n _c(\"ValidationProvider\", {\n attrs: { rules: { required: _vm.required }, slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\n \"div\",\n {\n ref: _vm.title + \"_errorarea\",\n class: [\n \"radio-checkbox-group\",\n _vm.getValidationErrorClasses(failedRules)\n ],\n attrs: { \"aria-invalid\": errors.length > 0 }\n },\n _vm._l(_vm.options, function(option, index) {\n return _c(\n \"div\",\n {\n class: [\n \"form-check\",\n { \"form-check-label-iconed\": _vm.hasIcons }\n ]\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.currentValue,\n expression: \"currentValue\"\n }\n ],\n class: [\n \"form-check-input\",\n \"radio-button-option-row-input\",\n _vm.getValidationErrorClasses(failedRules)\n ],\n attrs: {\n id: _vm.getId(option),\n name: _vm.labelId,\n type: \"radio\",\n disabled: _vm.isInputDisabled,\n \"aria-disabled\": _vm.isInputDisabled\n },\n domProps: {\n value: option.id,\n checked: _vm._q(_vm.currentValue, option.id)\n },\n on: {\n change: [\n function($event) {\n _vm.currentValue = option.id\n },\n function($event) {\n return _vm.cleanIfNeededAndSave(\n option,\n _vm.currentValue\n )\n }\n ]\n }\n }),\n _vm._v(\" \"),\n _c(\"label-control\", {\n staticClass: \"form-check-label\",\n attrs: {\n forElement: _vm.getId(option),\n title: option.name\n }\n })\n ],\n 1\n )\n }),\n 0\n ),\n _vm._v(\" \"),\n _vm.showValidationErrorText\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: errors.length > 0,\n expression: \"errors.length > 0\"\n }\n ],\n staticClass: \"mb-2 inline-validation-error\",\n attrs: { id: \"radioButtonOptionRow-errors\" }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.getSingleValidationErrorMsg(errors)\n ) +\n \"\\n \"\n )\n ]\n )\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport LabelControl from \"@/common/components/LabelControl.vue\";\r\nimport PlainTextControl from \"@/common/components/PlainTextControl.vue\";\r\nimport { Localization } from '../mixins/Localization';\r\nimport { Validatable } from '../mixins/Validatable';\r\nvar RadioButtonOptionRow = /** @class */ (function (_super) {\r\n __extends(RadioButtonOptionRow, _super);\r\n function RadioButtonOptionRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n RadioButtonOptionRow.prototype.getInstructionKey = function (key) {\r\n return this.getInstructionKeyIfExists(key);\r\n };\r\n RadioButtonOptionRow.prototype.getId = function (option) {\r\n return option.name + \"_\" + option.id + (this.componentIndex || this.componentIndex == 0 ? \"_\" + this.componentIndex : \"\") + (this.secondaryIndex || this.secondaryIndex == 0 ? \"_\" + this.secondaryIndex : \"\");\r\n };\r\n Object.defineProperty(RadioButtonOptionRow.prototype, \"labelId\", {\r\n get: function () {\r\n return \"\" + this.title + (this.componentIndex || this.componentIndex == 0 ? \"_\" + this.componentIndex : \"\") + (this.secondaryIndex || this.secondaryIndex == 0 ? \"_\" + this.secondaryIndex : \"\");\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RadioButtonOptionRow.prototype, \"hasIcons\", {\r\n get: function () {\r\n return this.hasAnyInstructions(this.options.map(function (o) { return o.name; }));\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RadioButtonOptionRow.prototype, \"currentValue\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (value) {\r\n this.$emit('input', value);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RadioButtonOptionRow.prototype, \"isInputDisabled\", {\r\n get: function () {\r\n return this.isReadOnly || this.disabled;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n RadioButtonOptionRow.prototype.cleanIfNeededAndSave = function (option, currentValue) {\r\n if (typeof option.confirmRadioClean === \"function\") {\r\n if (option.confirmRadioClean(currentValue)) {\r\n this.forceSave();\r\n }\r\n }\r\n else {\r\n this.forceSave();\r\n }\r\n };\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], RadioButtonOptionRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], RadioButtonOptionRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], RadioButtonOptionRow.prototype, \"instructionsKey\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], RadioButtonOptionRow.prototype, \"labelColWidth\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], RadioButtonOptionRow.prototype, \"disabled\", void 0);\r\n __decorate([\r\n Prop(Array),\r\n __metadata(\"design:type\", Array)\r\n ], RadioButtonOptionRow.prototype, \"options\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], RadioButtonOptionRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], RadioButtonOptionRow.prototype, \"componentIndex\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: null }),\r\n __metadata(\"design:type\", Number)\r\n ], RadioButtonOptionRow.prototype, \"secondaryIndex\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], RadioButtonOptionRow.prototype, \"showValidationErrorText\", void 0);\r\n RadioButtonOptionRow = __decorate([\r\n Component({\r\n name: 'RadioButtonOptionRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n PlainTextControl: PlainTextControl,\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n ], RadioButtonOptionRow);\r\n return RadioButtonOptionRow;\r\n}(Mixins(Savable, Localization, Validatable)));\r\nexport default RadioButtonOptionRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioButtonOptionRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioButtonOptionRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RadioButtonOptionRow.vue?vue&type=template&id=eb20cf18&\"\nimport script from \"./RadioButtonOptionRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./RadioButtonOptionRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('eb20cf18', component.options)\n } else {\n api.reload('eb20cf18', component.options)\n }\n module.hot.accept(\"./RadioButtonOptionRow.vue?vue&type=template&id=eb20cf18&\", function () {\n api.rerender('eb20cf18', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/RadioButtonOptionRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"ValidationProvider\", {\n attrs: { rules: _vm.mergedRules, slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _vm.rows > 1\n ? _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n },\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: _vm.showTooltip\n ? { content: _vm.modifiedValue }\n : false,\n expression:\n \"showTooltip ? { content: modifiedValue } : false\",\n modifiers: { top: true, center: true }\n }\n ],\n class: [\n _vm.noResize ? \"no-resize\" : \"\",\n _vm.getValidationErrorClasses(failedRules)\n ],\n style: { resize: _vm.isDisabled ? \"none\" : true },\n attrs: {\n id: _vm.id,\n rows: _vm.rows,\n maxlength: _vm.maxLength,\n \"aria-required\": _vm.required && !_vm.isDisabled,\n \"aria-invalid\":\n _vm.required && !_vm.isDisabled && errors.length > 0,\n \"aria-label\": _vm.$attrs[\"aria-label\"],\n readonly: _vm.isDisabled,\n disabled: _vm.isDisabled,\n \"aria-readonly\": _vm.isDisabled,\n placeholder: _vm.placeholder,\n \"aria-labelledby\": _vm.labelledBy ? _vm.labelledBy : null\n },\n domProps: { value: _vm.modifiedValue },\n on: {\n focus: function($event) {\n return _vm.touch()\n },\n blur: function($event) {\n return _vm.onBlur()\n },\n change: function($event) {\n return _vm.change()\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.modifiedValue = $event.target.value\n }\n }\n })\n : _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n },\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: _vm.showTooltip\n ? { content: _vm.modifiedValue }\n : false,\n expression:\n \"showTooltip ? { content: modifiedValue } : false\",\n modifiers: { top: true, center: true }\n }\n ],\n class: [\n _vm.getValidationErrorClasses(failedRules),\n _vm.alignRight ? \"right\" : \"left\"\n ],\n style: { resize: _vm.isDisabled ? \"none\" : true },\n attrs: {\n id: _vm.id,\n maxlength: _vm.maxLength,\n \"aria-required\": _vm.required && !_vm.isDisabled,\n \"aria-invalid\":\n _vm.required && !_vm.isDisabled && errors.length > 0,\n \"aria-label\": _vm.$attrs[\"aria-label\"],\n readonly: _vm.isDisabled,\n disabled: _vm.isDisabled,\n \"aria-readonly\": _vm.isDisabled,\n placeholder: _vm.placeholder,\n \"aria-labelledby\": _vm.labelledBy ? _vm.labelledBy : null\n },\n domProps: { value: _vm.modifiedValue },\n on: {\n focus: function($event) {\n return _vm.touch()\n },\n blur: function($event) {\n return _vm.onBlur()\n },\n change: function($event) {\n return _vm.change()\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.modifiedValue = $event.target.value\n }\n }\n })\n ]\n }\n }\n ])\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { sanitize } from '@/common/utils/stringUtilities';\r\nvar TextAreaControl = /** @class */ (function (_super) {\r\n __extends(TextAreaControl, _super);\r\n function TextAreaControl() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(TextAreaControl.prototype, \"defaultRules\", {\r\n get: function () {\r\n return { required: this.required, maxlength: this.maxLength };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextAreaControl.prototype, \"mergedRules\", {\r\n get: function () {\r\n return this.rules ? Object.assign(this.defaultRules, this.rules) : this.defaultRules;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextAreaControl.prototype, \"isDisabled\", {\r\n get: function () {\r\n return Boolean(this.$attrs.disabled) || this.isReadOnly;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextAreaControl.prototype, \"ariaLabelledBy\", {\r\n get: function () {\r\n return this.labelledBy;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextAreaControl.prototype, \"placeholder\", {\r\n get: function () {\r\n if (this.isDisabled) {\r\n return '';\r\n }\r\n var placeholderString = \"\";\r\n if (this.placeholderKey) {\r\n placeholderString = this.$t(this.placeholderKey).toString();\r\n }\r\n else {\r\n placeholderString = this.$t(\"Placeholder.TextArea\").toString();\r\n }\r\n if (this.showMaxLengthInPlaceholder && this.maxLength > 0)\r\n placeholderString += \" \" + this.$t(\"BudgetaryEstimate.Delegation.Maximum\").toString().toLowerCase() + \" \" + this.$options.filters.formatNumber(this.maxLength) + \" \" + this.$t(\"Chars\").toString();\r\n return placeholderString;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextAreaControl.prototype, \"modifiedValue\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (modifiedStr) {\r\n this.$emit(\"input\", modifiedStr);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n TextAreaControl.prototype.onBlur = function () {\r\n if (!this.isReadOnly && !this.isDisabled) {\r\n this.modifiedValue = sanitize(this.modifiedValue);\r\n this.$emit('blur');\r\n this.blur();\r\n }\r\n };\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextAreaControl.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextAreaControl.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextAreaControl.prototype, \"placeholderKey\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 10 }),\r\n __metadata(\"design:type\", Number)\r\n ], TextAreaControl.prototype, \"rows\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 4000 }),\r\n __metadata(\"design:type\", Number)\r\n ], TextAreaControl.prototype, \"maxLength\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextAreaControl.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof Object !== \"undefined\" && Object) === \"function\" ? _a : Object)\r\n ], TextAreaControl.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], TextAreaControl.prototype, \"labelledBy\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextAreaControl.prototype, \"noResize\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: true }),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextAreaControl.prototype, \"showMaxLengthInPlaceholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextAreaControl.prototype, \"alignRight\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], TextAreaControl.prototype, \"showTooltip\", void 0);\r\n TextAreaControl = __decorate([\r\n Component({\r\n name: 'TextAreaControl',\r\n components: {\r\n ValidationProvider: ValidationProvider\r\n },\r\n inheritAttrs: false\r\n })\r\n ], TextAreaControl);\r\n return TextAreaControl;\r\n}(Mixins(Savable, Validatable)));\r\nexport default TextAreaControl;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextAreaControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextAreaControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TextAreaControl.vue?vue&type=template&id=3fe0ddf7&\"\nimport script from \"./TextAreaControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./TextAreaControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('3fe0ddf7', component.options)\n } else {\n api.reload('3fe0ddf7', component.options)\n }\n module.hot.accept(\"./TextAreaControl.vue?vue&type=template&id=3fe0ddf7&\", function () {\n api.rerender('3fe0ddf7', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/TextAreaControl.vue\"\nexport default component.exports","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { NAME_BUTTON } from '../../constants/components';\nimport { CODE_ENTER, CODE_SPACE } from '../../constants/key-codes';\nimport Vue, { mergeData } from '../../utils/vue';\nimport { concat } from '../../utils/array';\nimport { getComponentConfig } from '../../utils/config';\nimport { addClass, isTag, removeClass } from '../../utils/dom';\nimport { stopEvent } from '../../utils/events';\nimport { isBoolean, isEvent, isFunction } from '../../utils/inspect';\nimport { omit } from '../../utils/object';\nimport { pluckProps } from '../../utils/props';\nimport { isLink as isLinkStrict } from '../../utils/router';\nimport { BLink, props as BLinkProps } from '../link/link'; // --- Props ---\n\nvar linkProps = omit(BLinkProps, ['event', 'routerTag']);\ndelete linkProps.href.default;\ndelete linkProps.to.default;\nvar btnProps = {\n block: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n size: {\n type: String,\n default: function _default() {\n return getComponentConfig(NAME_BUTTON, 'size');\n }\n },\n variant: {\n type: String,\n default: function _default() {\n return getComponentConfig(NAME_BUTTON, 'variant');\n }\n },\n type: {\n type: String,\n default: 'button'\n },\n tag: {\n type: String,\n default: 'button'\n },\n pill: {\n type: Boolean,\n default: false\n },\n squared: {\n type: Boolean,\n default: false\n },\n pressed: {\n // Tri-state: `true`, `false` or `null`\n // => On, off, not a toggle\n type: Boolean,\n default: null\n }\n};\nexport var props = _objectSpread(_objectSpread({}, btnProps), linkProps); // --- Helper methods ---\n// Focus handler for toggle buttons\n// Needs class of 'focus' when focused\n\nvar handleFocus = function handleFocus(evt) {\n if (evt.type === 'focusin') {\n addClass(evt.target, 'focus');\n } else if (evt.type === 'focusout') {\n removeClass(evt.target, 'focus');\n }\n}; // Is the requested button a link?\n// If tag prop is set to `a`, we use a
to get proper disabled handling\n\n\nvar isLink = function isLink(props) {\n return isLinkStrict(props) || isTag(props.tag, 'a');\n}; // Is the button to be a toggle button?\n\n\nvar isToggle = function isToggle(props) {\n return isBoolean(props.pressed);\n}; // Is the button \"really\" a button?\n\n\nvar isButton = function isButton(props) {\n return !(isLink(props) || props.tag && !isTag(props.tag, 'button'));\n}; // Is the requested tag not a button or link?\n\n\nvar isNonStandardTag = function isNonStandardTag(props) {\n return !isLink(props) && !isButton(props);\n}; // Compute required classes (non static classes)\n\n\nvar computeClass = function computeClass(props) {\n var _ref;\n\n return [\"btn-\".concat(props.variant || getComponentConfig(NAME_BUTTON, 'variant')), (_ref = {}, _defineProperty(_ref, \"btn-\".concat(props.size), props.size), _defineProperty(_ref, 'btn-block', props.block), _defineProperty(_ref, 'rounded-pill', props.pill), _defineProperty(_ref, 'rounded-0', props.squared && !props.pill), _defineProperty(_ref, \"disabled\", props.disabled), _defineProperty(_ref, \"active\", props.pressed), _ref)];\n}; // Compute the link props to pass to b-link (if required)\n\n\nvar computeLinkProps = function computeLinkProps(props) {\n return isLink(props) ? pluckProps(linkProps, props) : {};\n}; // Compute the attributes for a button\n\n\nvar computeAttrs = function computeAttrs(props, data) {\n var button = isButton(props);\n var link = isLink(props);\n var toggle = isToggle(props);\n var nonStandardTag = isNonStandardTag(props);\n var hashLink = link && props.href === '#';\n var role = data.attrs && data.attrs.role ? data.attrs.role : null;\n var tabindex = data.attrs ? data.attrs.tabindex : null;\n\n if (nonStandardTag || hashLink) {\n tabindex = '0';\n }\n\n return {\n // Type only used for \"real\" buttons\n type: button && !link ? props.type : null,\n // Disabled only set on \"real\" buttons\n disabled: button ? props.disabled : null,\n // We add a role of button when the tag is not a link or button for ARIA\n // Don't bork any role provided in `data.attrs` when `isLink` or `isButton`\n // Except when link has `href` of `#`\n role: nonStandardTag || hashLink ? 'button' : role,\n // We set the `aria-disabled` state for non-standard tags\n 'aria-disabled': nonStandardTag ? String(props.disabled) : null,\n // For toggles, we need to set the pressed state for ARIA\n 'aria-pressed': toggle ? String(props.pressed) : null,\n // `autocomplete=\"off\"` is needed in toggle mode to prevent some browsers\n // from remembering the previous setting when using the back button\n autocomplete: toggle ? 'off' : null,\n // `tabindex` is used when the component is not a button\n // Links are tabbable, but don't allow disabled, while non buttons or links\n // are not tabbable, so we mimic that functionality by disabling tabbing\n // when disabled, and adding a `tabindex=\"0\"` to non buttons or non links\n tabindex: props.disabled && !button ? '-1' : tabindex\n };\n}; // --- Main component ---\n// @vue/component\n\n\nexport var BButton = /*#__PURE__*/Vue.extend({\n name: NAME_BUTTON,\n functional: true,\n props: props,\n render: function render(h, _ref2) {\n var props = _ref2.props,\n data = _ref2.data,\n listeners = _ref2.listeners,\n children = _ref2.children;\n var toggle = isToggle(props);\n var link = isLink(props);\n var nonStandardTag = isNonStandardTag(props);\n var hashLink = link && props.href === '#';\n var on = {\n keydown: function keydown(evt) {\n // When the link is a `href=\"#\"` or a non-standard tag (has `role=\"button\"`),\n // we add a keydown handlers for CODE_SPACE/CODE_ENTER\n\n /* istanbul ignore next */\n if (props.disabled || !(nonStandardTag || hashLink)) {\n return;\n }\n\n var keyCode = evt.keyCode; // Add CODE_SPACE handler for `href=\"#\"` and CODE_ENTER handler for non-standard tags\n\n if (keyCode === CODE_SPACE || keyCode === CODE_ENTER && nonStandardTag) {\n var target = evt.currentTarget || evt.target;\n stopEvent(evt, {\n propagation: false\n });\n target.click();\n }\n },\n click: function click(evt) {\n /* istanbul ignore if: blink/button disabled should handle this */\n if (props.disabled && isEvent(evt)) {\n stopEvent(evt);\n } else if (toggle && listeners && listeners['update:pressed']) {\n // Send `.sync` updates to any \"pressed\" prop (if `.sync` listeners)\n // `concat()` will normalize the value to an array without\n // double wrapping an array value in an array\n concat(listeners['update:pressed']).forEach(function (fn) {\n if (isFunction(fn)) {\n fn(!props.pressed);\n }\n });\n }\n }\n };\n\n if (toggle) {\n on.focusin = handleFocus;\n on.focusout = handleFocus;\n }\n\n var componentData = {\n staticClass: 'btn',\n class: computeClass(props),\n props: computeLinkProps(props),\n attrs: computeAttrs(props, data),\n on: on\n };\n return h(link ? BLink : props.tag, mergeData(data, componentData), children);\n }\n});","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = new WeakMap();\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var RouteService = /** @class */ (function () {\r\n function RouteService(router) {\r\n this._router = router;\r\n }\r\n Object.defineProperty(RouteService.prototype, \"menuRoutes\", {\r\n get: function () {\r\n var allRoutes = this.allRoutes;\r\n var mainNavRoutes = [];\r\n allRoutes.forEach(function (value) {\r\n if (value.meta && value.meta.mainNav)\r\n mainNavRoutes.push(value);\r\n });\r\n return mainNavRoutes;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n RouteService.prototype.goToRecordHistory = function () {\r\n var recordHistoryRoute = this.matchingRouteConfigByPath(\"/recordHistory\");\r\n this.pushRoute(recordHistoryRoute);\r\n };\r\n RouteService.prototype.goToFrontPage = function () {\r\n var recordHistoryRoute = this.matchingRouteConfigByName(\"frontPage\");\r\n this.pushRoute(recordHistoryRoute);\r\n };\r\n RouteService.prototype.goToCorrespondenceFrontPage = function () {\r\n var recordHistoryRoute = this.matchingRouteConfigByName(\"correspondences\");\r\n this.pushRoute(recordHistoryRoute);\r\n };\r\n Object.defineProperty(RouteService.prototype, \"yearlyReportRoutes\", {\r\n get: function () {\r\n return this.recordRoutes(\"/organisationYearlyReport/\");\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RouteService.prototype, \"aidApplicationRoutes\", {\r\n get: function () {\r\n return this.recordRoutes(\"/aidApplication/\");\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RouteService.prototype, \"expandedSBERoutes\", {\r\n get: function () {\r\n return this.recordRoutes(\"/expandedsbe/\");\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RouteService.prototype, \"summaryReportRoutes\", {\r\n get: function () {\r\n return this.recordRoutes(\"/summaryReport/\");\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n RouteService.prototype.recordRoutes = function (path) {\r\n var routeConfig = this.matchingRouteConfigByPath(path);\r\n return routeConfig.children;\r\n };\r\n RouteService.prototype.matchingRouteConfigByPath = function (startsWith) {\r\n return this.allRoutes.find(function (route) { return route.path.startsWith(startsWith); });\r\n };\r\n RouteService.prototype.matchingRouteConfigByName = function (name) {\r\n return this.allRoutes.find(function (route) { return route.name == name; });\r\n };\r\n Object.defineProperty(RouteService.prototype, \"allRoutes\", {\r\n get: function () {\r\n return this._router.options.routes;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n RouteService.prototype.isFirstIndex = function () {\r\n return this.getRouteIndex() == 0;\r\n };\r\n RouteService.prototype.isLastIndex = function () {\r\n var siblings = this.getSiblingRoutes();\r\n return this.getRouteIndex() == siblings.length - 1;\r\n };\r\n /**\r\n *\r\n * Gets the current route index in the list of sibling routes\r\n *\r\n * */\r\n RouteService.prototype.getRouteIndex = function () {\r\n var siblings = this.getSiblingRoutes();\r\n return this.getCurrentIndex(siblings);\r\n };\r\n /**\r\n *\r\n * Returns the route section number or index + 1 of the current route.\r\n *\r\n * */\r\n RouteService.prototype.routeSectionNumber = function () {\r\n var meta = this._router.currentRoute.meta;\r\n var hasSectionNumber = !!meta && !!meta.section;\r\n return hasSectionNumber\r\n ? meta.section\r\n : this.getRouteIndex() + 1;\r\n };\r\n RouteService.prototype.goToNext = function (routeArr) {\r\n if (routeArr === void 0) { routeArr = null; }\r\n var routes = routeArr ? routeArr : this.getSiblingRoutes();\r\n var currentIndex = this.getCurrentIndex(routes);\r\n // Limit max index to maximum index in the siblings list\r\n var nextIndex = Math.min(routes.length - 1, currentIndex + 1);\r\n var next = routes[nextIndex];\r\n this.pushRoute(next);\r\n };\r\n RouteService.prototype.goToPrevious = function (routeArr) {\r\n if (routeArr === void 0) { routeArr = null; }\r\n var routes = routeArr ? routeArr : this.getSiblingRoutes();\r\n var currentIndex = this.getCurrentIndex(routes);\r\n // Limit min index to 0\r\n var previousIndex = Math.max(0, currentIndex - 1);\r\n var previous = routes[previousIndex];\r\n this.pushRoute(previous);\r\n };\r\n RouteService.prototype.pushRoute = function (route) {\r\n route = this.cleanMergedParameters(route);\r\n this._router.push(route);\r\n };\r\n RouteService.prototype.cleanMergedParameters = function (route) {\r\n // TODO: Find a way to fix this properly (updating VueRoute may or may not work).\r\n // (ref: https://github.com/vuejs/vue-router/issues/2800)\r\n //\r\n // Vue Router does a thing called parameter merging which essentially means that \r\n // eg. the operaoncetion subroute has been resolved for id 'abc' then vue router\r\n // will store the 'params' collection which was used with the subroute.\r\n // If the user now switches to another aid application with id '123' and navigates\r\n // to the operation subroute then vue router will merge the previous 'params' \r\n // collection with the present collection. Doing this will override the id '123' \r\n // with value 'abc' which will cause vue to route to aidapplication/abc/operation \r\n // instead of aidapplication/123/operation. \r\n //\r\n // The reason why our application works regardless of this 'feature' is that we use a \r\n // Vuex persisted recordId for all server reads and writes. This recordId gets set \r\n // when the enclosing view is loaded, hence, we end up with a situation in which \r\n // VueRouter routes us to a wrong URL but all server reads and writes work as 'expected'\r\n //\r\n // This bit of hack code seems to fix this issue by 'resetting' the \r\n // persisted id property of the merged params collection. \r\n var props = Object.getOwnPropertyNames(route);\r\n if (props.includes(\"params\"))\r\n delete route.params.id;\r\n return route;\r\n };\r\n /**\r\n *\r\n * Gets all the sibling routes of the current route\r\n * NOTE! Supports only two level route hierarchies. Ie. parent routes are in the root and their children on the next level.\r\n *\r\n * */\r\n RouteService.prototype.getSiblingRoutes = function () {\r\n var matches = this._router.currentRoute.matched;\r\n // No matches - this should not happen\r\n if (!matches)\r\n throw new Error();\r\n // Current route match is always the last item on the 'matches' list\r\n var parentRoute = matches[matches.length - 1].parent;\r\n if (parentRoute) {\r\n var parentConfig = this.allRoutes.find(function (route) { return route.path === parentRoute.path; });\r\n return parentConfig.children;\r\n }\r\n else {\r\n return this.allRoutes;\r\n }\r\n };\r\n /**\r\n *\r\n * Gets the index of the current route\r\n * NOTE! Supports only two level route hierarchies. Ie. parent routes are in the root and their children on the next level.\r\n *\r\n * */\r\n RouteService.prototype.getCurrentIndex = function (siblings) {\r\n var _this = this;\r\n var currentIndex = siblings.findIndex(function (route) {\r\n return route.name\r\n ? route.name === _this._router.currentRoute.name\r\n : route.path === _this._router.currentRoute.path;\r\n });\r\n return currentIndex;\r\n };\r\n return RouteService;\r\n}());\r\nexport default RouteService;\r\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n/**\n * SSR safe types\n */\nimport { hasWindowSupport } from './env';\nvar w = hasWindowSupport ? window : {};\nexport var Element = hasWindowSupport ? w.Element : /*#__PURE__*/function (_Object) {\n _inherits(Element, _Object);\n\n var _super = _createSuper(Element);\n\n function Element() {\n _classCallCheck(this, Element);\n\n return _super.apply(this, arguments);\n }\n\n return Element;\n}( /*#__PURE__*/_wrapNativeSuper(Object));\nexport var HTMLElement = hasWindowSupport ? w.HTMLElement : /*#__PURE__*/function (_Element) {\n _inherits(HTMLElement, _Element);\n\n var _super2 = _createSuper(HTMLElement);\n\n function HTMLElement() {\n _classCallCheck(this, HTMLElement);\n\n return _super2.apply(this, arguments);\n }\n\n return HTMLElement;\n}(Element);\nexport var SVGElement = hasWindowSupport ? w.SVGElement : /*#__PURE__*/function (_Element2) {\n _inherits(SVGElement, _Element2);\n\n var _super3 = _createSuper(SVGElement);\n\n function SVGElement() {\n _classCallCheck(this, SVGElement);\n\n return _super3.apply(this, arguments);\n }\n\n return SVGElement;\n}(Element);\nexport var File = hasWindowSupport ? w.File : /*#__PURE__*/function (_Object2) {\n _inherits(File, _Object2);\n\n var _super4 = _createSuper(File);\n\n function File() {\n _classCallCheck(this, File);\n\n return _super4.apply(this, arguments);\n }\n\n return File;\n}( /*#__PURE__*/_wrapNativeSuper(Object));","var path = require('../internals/path');\nvar has = require('../internals/has');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","export var DecisionState;\r\n(function (DecisionState) {\r\n DecisionState[DecisionState[\"Default\"] = 0] = \"Default\";\r\n DecisionState[DecisionState[\"Approved\"] = 1] = \"Approved\";\r\n DecisionState[DecisionState[\"Rejected\"] = 2] = \"Rejected\";\r\n DecisionState[DecisionState[\"ClosedWithoutResult\"] = 3] = \"ClosedWithoutResult\";\r\n})(DecisionState || (DecisionState = {}));\r\n","import { isTag } from './dom';\nimport { isArray, isNull, isPlainObject, isString, isUndefined } from './inspect';\nimport { keys } from './object';\nimport { toString } from './string';\nvar ANCHOR_TAG = 'a'; // Precompile RegExp\n\nvar commaRE = /%2C/g;\nvar encodeReserveRE = /[!'()*]/g;\nvar plusRE = /\\+/g;\nvar queryStartRE = /^(\\?|#|&)/; // Method to replace reserved chars\n\nvar encodeReserveReplacer = function encodeReserveReplacer(c) {\n return '%' + c.charCodeAt(0).toString(16);\n}; // Fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\n\n\nvar encode = function encode(str) {\n return encodeURIComponent(toString(str)).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');\n};\n\nvar decode = decodeURIComponent; // Stringifies an object of query parameters\n// See: https://github.com/vuejs/vue-router/blob/dev/src/util/query.js\n\nexport var stringifyQueryObj = function stringifyQueryObj(obj) {\n if (!isPlainObject(obj)) {\n return '';\n }\n\n var query = keys(obj).map(function (key) {\n var val = obj[key];\n\n if (isUndefined(val)) {\n return '';\n } else if (isNull(val)) {\n return encode(key);\n } else if (isArray(val)) {\n return val.reduce(function (results, val2) {\n if (isNull(val2)) {\n results.push(encode(key));\n } else if (!isUndefined(val2)) {\n // Faster than string interpolation\n results.push(encode(key) + '=' + encode(val2));\n }\n\n return results;\n }, []).join('&');\n } // Faster than string interpolation\n\n\n return encode(key) + '=' + encode(val);\n })\n /* must check for length, as we only want to filter empty strings, not things that look falsey! */\n .filter(function (x) {\n return x.length > 0;\n }).join('&');\n return query ? \"?\".concat(query) : '';\n};\nexport var parseQuery = function parseQuery(query) {\n var parsed = {};\n query = toString(query).trim().replace(queryStartRE, '');\n\n if (!query) {\n return parsed;\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(plusRE, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (isUndefined(parsed[key])) {\n parsed[key] = val;\n } else if (isArray(parsed[key])) {\n parsed[key].push(val);\n } else {\n parsed[key] = [parsed[key], val];\n }\n });\n return parsed;\n};\nexport var isLink = function isLink(props) {\n return !!(props.href || props.to);\n};\nexport var isRouterLink = function isRouterLink(tag) {\n return !isTag(tag, ANCHOR_TAG);\n};\nexport var computeTag = function computeTag() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n to = _ref.to,\n disabled = _ref.disabled,\n routerComponentName = _ref.routerComponentName;\n\n var thisOrParent = arguments.length > 1 ? arguments[1] : undefined;\n var hasRouter = thisOrParent.$router;\n\n if (!hasRouter || hasRouter && disabled || hasRouter && !to) {\n return ANCHOR_TAG;\n } // TODO:\n // Check registered components for existence of user supplied router link component name\n // We would need to check PascalCase, kebab-case, and camelCase versions of name:\n // const name = routerComponentName\n // const names = [name, PascalCase(name), KebabCase(name), CamelCase(name)]\n // exists = names.some(name => !!thisOrParent.$options.components[name])\n // And may want to cache the result for performance or we just let the render fail\n // if the component is not registered\n\n\n return routerComponentName || (thisOrParent.$nuxt ? 'nuxt-link' : 'router-link');\n};\nexport var computeRel = function computeRel() {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n target = _ref2.target,\n rel = _ref2.rel;\n\n if (target === '_blank' && isNull(rel)) {\n return 'noopener';\n }\n\n return rel || null;\n};\nexport var computeHref = function computeHref() {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n href = _ref3.href,\n to = _ref3.to;\n\n var tag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ANCHOR_TAG;\n var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '#';\n var toFallback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '/';\n\n // We've already checked the $router in computeTag(), so isRouterLink() indicates a live router.\n // When deferring to Vue Router's router-link, don't use the href attribute at all.\n // We return null, and then remove href from the attributes passed to router-link\n if (isRouterLink(tag)) {\n return null;\n } // Return `href` when explicitly provided\n\n\n if (href) {\n return href;\n } // Reconstruct `href` when `to` used, but no router\n\n\n if (to) {\n // Fallback to `to` prop (if `to` is a string)\n if (isString(to)) {\n return to || toFallback;\n } // Fallback to `to.path + to.query + to.hash` prop (if `to` is an object)\n\n\n if (isPlainObject(to) && (to.path || to.query || to.hash)) {\n var path = toString(to.path);\n var query = stringifyQueryObj(to.query);\n var hash = toString(to.hash);\n hash = !hash || hash.charAt(0) === '#' ? hash : \"#\".concat(hash);\n return \"\".concat(path).concat(query).concat(hash) || toFallback;\n }\n } // If nothing is provided return the fallback\n\n\n return fallback;\n};","export var Language;\r\n(function (Language) {\r\n Language[Language[\"NULL\"] = 0] = \"NULL\";\r\n Language[Language[\"Finnish\"] = 1] = \"Finnish\";\r\n Language[Language[\"Swedish\"] = 2] = \"Swedish\";\r\n})(Language || (Language = {}));\r\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.github.io/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","/* Form control contextual state class computation\n *\n * Returned class is either 'is-valid' or 'is-invalid' based on the 'state' prop\n * state can be one of five values:\n * - true for is-valid\n * - false for is-invalid\n * - null for no contextual state\n */\nimport { isBoolean } from '../utils/inspect'; // @vue/component\n\nexport default {\n props: {\n state: {\n // Tri-state prop: true, false, null (or undefined)\n type: Boolean,\n default: null\n }\n },\n computed: {\n computedState: function computedState() {\n // If not a boolean, ensure that value is null\n return isBoolean(this.state) ? this.state : null;\n },\n stateClass: function stateClass() {\n var state = this.computedState;\n return state === true ? 'is-valid' : state === false ? 'is-invalid' : null;\n }\n }\n};","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { class: { \"form-group row mt-3 mb-4\": _vm.hasTitle } },\n [\n _vm.hasTitle\n ? _c(\"label-control\", {\n staticClass: \"col-xs-12 col-sm-5 col-form-label\",\n attrs: {\n title: _vm.title,\n required: _vm.required,\n forElement: _vm.title + \"_input\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: [\n {\n \"col-xs-12 col-sm-7\": _vm.hasTitle,\n \"dateinput-cell-input\": !_vm.hasTitle\n },\n \"dateinput\"\n ]\n },\n [\n _c(\n \"div\",\n { class: { \"mt-1 mb-4 row\": !_vm.inTable } },\n [\n _c(\"date-input\", {\n attrs: {\n title: _vm.title,\n name: _vm.name,\n placeholder: _vm.placeholder,\n required: _vm.required,\n rules: _vm.rules,\n labelledBy: _vm.labelledBy,\n inTable: _vm.inTable,\n disabled: _vm.disabled,\n fullDate: _vm.fullDate\n },\n model: {\n value: _vm.selectedDate,\n callback: function($$v) {\n _vm.selectedDate = $$v\n },\n expression: \"selectedDate\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: {\n \"sr-only\": _vm.inTable,\n \"outputwrapper col-12 col-md-8 col-lg-9\": !_vm.inTable\n },\n attrs: {\n id: _vm.name + \"_output\",\n \"aria-atomic\": \"true\",\n \"aria-live\": \"assertive\"\n }\n },\n [\n _c(\"div\", { staticClass: \"v-centering\" }, [\n _c(\"small\", {\n ref: _vm.title + \"_output\",\n staticClass: \"d-none\"\n }),\n _vm._v(\" \"),\n _vm.hasTitle\n ? _c(\"small\", [_vm._v(_vm._s(_vm.selectedString))])\n : _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.selectedString))\n ])\n ])\n ]\n )\n ],\n 1\n )\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { class: { \"col-12 col-md-4 col-lg-3\": !_vm.inTable } },\n [\n _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: {\n name: _vm.name,\n rules: Object.assign({}, _vm.mergedRules),\n slim: \"\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm._selectedDate,\n expression: \"_selectedDate\"\n }\n ],\n ref: _vm.title + \"_input\",\n class: [\n \"form-control\",\n _vm.focusClass,\n _vm.getValidationErrorClasses(failedRules)\n ],\n attrs: {\n id: _vm.name + \"_input\",\n type: \"text\",\n placeholder: _vm.placeholderValue,\n \"aria-labelledby\": _vm.labelledBy ? _vm.labelledBy : null,\n readonly: _vm.isDisabled,\n \"aria-readonly\": _vm.isDisabled,\n disabled: _vm.isDisabled,\n \"aria-disabled\": _vm.isDisabled,\n \"aria-required\": _vm.required,\n \"aria-invalid\": _vm.required && errors.length > 0\n },\n domProps: { value: _vm._selectedDate },\n on: {\n focus: function($event) {\n return _vm.touch()\n },\n change: function($event) {\n return _vm.change()\n },\n blur: function($event) {\n return _vm.updateOutput()\n },\n keydown: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")\n ) {\n return null\n }\n return $event.target.blur()\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm._selectedDate = $event.target.value\n }\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins, Watch } from 'vue-property-decorator';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar DateInput = /** @class */ (function (_super) {\r\n __extends(DateInput, _super);\r\n function DateInput() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n DateInput.prototype.created = function () {\r\n this._selectedDate = this.value ? this.value : \"\";\r\n };\r\n Object.defineProperty(DateInput.prototype, \"mergedRules\", {\r\n get: function () {\r\n return this.rules ? Object.assign(this.defaultRules, this.rules) : this.defaultRules;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInput.prototype, \"defaultRules\", {\r\n get: function () {\r\n return { required: this.required, monthYearDate: !this.fullDate, fullDate: this.fullDate };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInput.prototype, \"focusClass\", {\r\n get: function () {\r\n return this.name + \"_input\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n DateInput.prototype.updateOutput = function () {\r\n this.$emit(\"input\", this._selectedDate);\r\n this.blur();\r\n };\r\n DateInput.prototype.onChange = function () {\r\n this._selectedDate = this.value ? this.value : \"\";\r\n };\r\n Object.defineProperty(DateInput.prototype, \"isDisabled\", {\r\n get: function () {\r\n return Boolean(this.$attrs.disabled) || this.isReadOnly;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInput.prototype, \"placeholderValue\", {\r\n get: function () {\r\n return this.isDisabled ? '' : this.placeholder;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInput.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInput.prototype, \"name\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInput.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInput.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInput.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", Object)\r\n ], DateInput.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInput.prototype, \"labelledBy\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInput.prototype, \"inTable\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInput.prototype, \"fullDate\", void 0);\r\n __decorate([\r\n Watch(\"value\"),\r\n __metadata(\"design:type\", Function),\r\n __metadata(\"design:paramtypes\", []),\r\n __metadata(\"design:returntype\", void 0)\r\n ], DateInput.prototype, \"onChange\", null);\r\n DateInput = __decorate([\r\n Component({\r\n name: 'DateInput',\r\n components: {\r\n ValidationProvider: ValidationProvider,\r\n LabelControl: LabelControl\r\n },\r\n inheritAttrs: false\r\n })\r\n ], DateInput);\r\n return DateInput;\r\n}(Mixins(Savable, Validatable)));\r\nexport default DateInput;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInput.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DateInput.vue?vue&type=template&id=7517e290&\"\nimport script from \"./DateInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./DateInput.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('7517e290', component.options)\n } else {\n api.reload('7517e290', component.options)\n }\n module.hot.accept(\"./DateInput.vue?vue&type=template&id=7517e290&\", function () {\n api.rerender('7517e290', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/DateInput.vue\"\nexport default component.exports","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nimport DateInput from '@/common/components/DateInput.vue';\r\nimport { monthYearDate, fullDate } from '@/common/validators/veevalidators';\r\nimport moment from \"moment\";\r\nvar DateInputRow = /** @class */ (function (_super) {\r\n __extends(DateInputRow, _super);\r\n function DateInputRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(DateInputRow.prototype, \"hasTitle\", {\r\n get: function () {\r\n if (this.title) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInputRow.prototype, \"inTable\", {\r\n get: function () {\r\n return !this.hasTitle;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInputRow.prototype, \"output\", {\r\n get: function () {\r\n var ref = this.title + '_output';\r\n return this.$refs[ref];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInputRow.prototype, \"selectedString\", {\r\n get: function () {\r\n if (!this.value)\r\n return null;\r\n var selectedDate = moment(this.value);\r\n var str = \"\";\r\n if (this.fullDate) {\r\n str += selectedDate.day() + \". \";\r\n }\r\n str += this.$t(\"Months.\" + (selectedDate.month() + 1)).toString();\r\n str += \" \" + selectedDate.year();\r\n str += \" \" + String(this.$t(\"Selection.Selected\")).toLowerCase() + \".\";\r\n return str;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateInputRow.prototype, \"selectedDate\", {\r\n get: function () {\r\n return this.value\r\n ? (this.fullDate\r\n ? moment(this.value).format(\"DD.MM.YYYY\")\r\n : moment(this.value).format(\"MM.YYYY\"))\r\n : null;\r\n },\r\n set: function (selected) {\r\n /* selected is expected to be in format DD.MM.YYYY */\r\n if (selected === \"\" || selected === undefined || selected === null) {\r\n this.$emit(\"input\", null);\r\n this.output.textContent = \"\";\r\n this.output.className = \"d-none\";\r\n return;\r\n }\r\n var validator = this.fullDate ? fullDate : monthYearDate;\r\n var inputValid = validator.validate(selected, []);\r\n if (!inputValid) {\r\n this.output.textContent = selected + \" \" + this.$t(\"Validation.NotSaved\") + \" \" + this.$t(\"Validation.monthYearDate\") + \". \";\r\n this.output.className = \"d-table-cell\";\r\n return;\r\n }\r\n var dateStr = this.fullDate\r\n ? moment(selected, \"DD.MM.YYYY\").format(\"YYYY-MM-DD\")\r\n : moment(selected, \"MM.YYYY\").format(\"YYYY-MM\");\r\n this.$emit(\"input\", dateStr);\r\n this.output.textContent = \"\";\r\n this.output.className = \"d-none\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"name\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"instructionsKey\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInputRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInputRow.prototype, \"readOnly\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", Object)\r\n ], DateInputRow.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DateInputRow.prototype, \"labelledBy\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInputRow.prototype, \"disabled\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], DateInputRow.prototype, \"fullDate\", void 0);\r\n DateInputRow = __decorate([\r\n Component({\r\n name: 'DateInputRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n DateInput: DateInput\r\n }\r\n })\r\n ], DateInputRow);\r\n return DateInputRow;\r\n}(Mixins(Savable)));\r\nexport default DateInputRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInputRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInputRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DateInputRow.vue?vue&type=template&id=aa0c974c&\"\nimport script from \"./DateInputRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./DateInputRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('aa0c974c', component.options)\n } else {\n api.reload('aa0c974c', component.options)\n }\n module.hot.accept(\"./DateInputRow.vue?vue&type=template&id=aa0c974c&\", function () {\n api.rerender('aa0c974c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/DateInputRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"form-group row mt-4\",\n attrs: { role: \"group\", \"aria-labelledby\": _vm.title }\n },\n [\n _c(\"plain-text-control\", {\n staticClass: \"col-xs-12 col-sm-5\",\n attrs: { id: _vm.title, title: _vm.title, required: _vm.required }\n }),\n _vm._v(\" \"),\n _c(\"ValidationProvider\", {\n attrs: { rules: { required: _vm.required }, slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"div\", { staticClass: \"col-xs-12 col-sm-7\" }, [\n _c(\n \"div\",\n {\n class: [\n \"radio-checkbox-group\",\n _vm.getValidationErrorClasses(failedRules)\n ]\n },\n [\n _c(\n \"div\",\n _vm._l(_vm.options, function(option) {\n return _c(\n \"div\",\n { key: option.id },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.selectedValues,\n expression: \"selectedValues\"\n }\n ],\n attrs: {\n type: \"checkbox\",\n name: _vm.title,\n id: option.name + option.id,\n disabled: _vm.isReadOnly,\n \"aria-disabled\": _vm.isReadOnly,\n \"aria-invalid\":\n !_vm.isReadOnly && errors.length > 0\n },\n domProps: {\n value: option.id,\n checked: Array.isArray(_vm.selectedValues)\n ? _vm._i(_vm.selectedValues, option.id) > -1\n : _vm.selectedValues\n },\n on: {\n change: [\n function($event) {\n var $$a = _vm.selectedValues,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = option.id,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 &&\n (_vm.selectedValues = $$a.concat([\n $$v\n ]))\n } else {\n $$i > -1 &&\n (_vm.selectedValues = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.selectedValues = $$c\n }\n },\n function($event) {\n return _vm.cleanIfNeededAndSave(option)\n }\n ]\n }\n }),\n _vm._v(\" \"),\n _c(\"label-control\", {\n attrs: {\n forElement: option.name + option.id,\n title: option.name\n }\n })\n ],\n 1\n )\n }),\n 0\n )\n ]\n )\n ])\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport PlainTextControl from \"@/common/components/PlainTextControl.vue\";\r\nimport LabelControl from \"@/common/components/LabelControl.vue\";\r\nimport { Localization } from '../mixins/Localization';\r\nimport { Validatable } from '../mixins/Validatable';\r\nvar CheckBoxListRow = /** @class */ (function (_super) {\r\n __extends(CheckBoxListRow, _super);\r\n function CheckBoxListRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n CheckBoxListRow.prototype.getInstructionKey = function (key) {\r\n return this.getInstructionKeyIfExists(key);\r\n };\r\n Object.defineProperty(CheckBoxListRow.prototype, \"selectedValues\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (selected) {\r\n this.$emit(\"input\", selected);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n CheckBoxListRow.prototype.checked = function (id) {\r\n return this.value.includes(id);\r\n };\r\n CheckBoxListRow.prototype.cleanIfNeededAndSave = function (option) {\r\n if (typeof option.confirmCheckboxClean === \"function\") {\r\n if (option.confirmCheckboxClean()) {\r\n this.forceSave();\r\n }\r\n }\r\n else {\r\n this.forceSave();\r\n }\r\n };\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], CheckBoxListRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], CheckBoxListRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop(Array),\r\n __metadata(\"design:type\", Array)\r\n ], CheckBoxListRow.prototype, \"options\", void 0);\r\n __decorate([\r\n Prop(Array),\r\n __metadata(\"design:type\", Array)\r\n ], CheckBoxListRow.prototype, \"value\", void 0);\r\n CheckBoxListRow = __decorate([\r\n Component({\r\n name: 'CheckBoxListRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n PlainTextControl: PlainTextControl,\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n ], CheckBoxListRow);\r\n return CheckBoxListRow;\r\n}(Mixins(Savable, Localization, Validatable)));\r\nexport default CheckBoxListRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBoxListRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBoxListRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckBoxListRow.vue?vue&type=template&id=1ff3f58d&\"\nimport script from \"./CheckBoxListRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckBoxListRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('1ff3f58d', component.options)\n } else {\n api.reload('1ff3f58d', component.options)\n }\n module.hot.accept(\"./CheckBoxListRow.vue?vue&type=template&id=1ff3f58d&\", function () {\n api.rerender('1ff3f58d', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/CheckBoxListRow.vue\"\nexport default component.exports","import AmountItemConfig from \"./AmountItemConfig\";\r\n/**\r\n * LineItemConfig\r\n * Encapsulates line item configuration settings.\r\n * */\r\nvar LineItemConfig = /** @class */ (function () {\r\n /**\r\n * Create a new line item configuration.\r\n * @param rules Explanation rules.\r\n */\r\n function LineItemConfig(rules) {\r\n if (rules === void 0) { rules = []; }\r\n this._rules = rules;\r\n this._amountItemConfigurations = [];\r\n }\r\n Object.defineProperty(LineItemConfig.prototype, \"rules\", {\r\n get: function () {\r\n return this._rules;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n LineItemConfig.prototype.addAmountItemConfig = function (columnKey, config) {\r\n this._amountItemConfigurations.push({\r\n columnKey: columnKey,\r\n config: config\r\n });\r\n };\r\n LineItemConfig.prototype.getAmountItemConfigOrDefault = function (columnKey) {\r\n var config = this._amountItemConfigurations\r\n .find(function (value) { return value.columnKey == columnKey; });\r\n return config\r\n ? config.config\r\n : new AmountItemConfig(null, null);\r\n };\r\n LineItemConfig.prototype.getOrCreateAmountItemConfig = function (columnKey) {\r\n var entry = this._amountItemConfigurations\r\n .find(function (value) { return value.columnKey == columnKey; });\r\n if (entry) {\r\n return entry.config;\r\n }\r\n else {\r\n var config = new AmountItemConfig();\r\n this.addAmountItemConfig(columnKey, config);\r\n return config;\r\n }\r\n };\r\n return LineItemConfig;\r\n}());\r\nexport default LineItemConfig;\r\n","export var PremiseType;\r\n(function (PremiseType) {\r\n PremiseType[PremiseType[\"None\"] = 0] = \"None\";\r\n PremiseType[PremiseType[\"OwnPremises\"] = 1] = \"OwnPremises\";\r\n PremiseType[PremiseType[\"RelatedOrganisationPremises\"] = 2] = \"RelatedOrganisationPremises\";\r\n PremiseType[PremiseType[\"Rental\"] = 3] = \"Rental\";\r\n PremiseType[PremiseType[\"MunicipalityPremises\"] = 4] = \"MunicipalityPremises\";\r\n PremiseType[PremiseType[\"Other\"] = 5] = \"Other\";\r\n})(PremiseType || (PremiseType = {}));\r\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6)\n};\n","import { isNullOrUndefined } from 'util';\r\n/**\r\n * Sanitizes and returns the given string.\r\n * @param inputString Unsanitized string.\r\n */\r\nexport function sanitize(inputString) {\r\n if (isNullOrUndefined(inputString))\r\n return inputString;\r\n else\r\n return inputString.trim();\r\n}\r\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);\n enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\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","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var core = module.exports = { version: '2.6.5' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { NAME_BUTTON_CLOSE } from '../../constants/components';\nimport { SLOT_NAME_DEFAULT } from '../../constants/slot-names';\nimport Vue, { mergeData } from '../../utils/vue';\nimport { getComponentConfig } from '../../utils/config';\nimport { stopEvent } from '../../utils/events';\nimport { isEvent } from '../../utils/inspect';\nimport { hasNormalizedSlot, normalizeSlot } from '../../utils/normalize-slot';\nvar props = {\n content: {\n type: String,\n default: function _default() {\n return getComponentConfig(NAME_BUTTON_CLOSE, 'content');\n }\n },\n disabled: {\n type: Boolean,\n default: false\n },\n ariaLabel: {\n type: String,\n default: function _default() {\n return getComponentConfig(NAME_BUTTON_CLOSE, 'ariaLabel');\n }\n },\n textVariant: {\n type: String,\n default: function _default() {\n return getComponentConfig(NAME_BUTTON_CLOSE, 'textVariant');\n }\n }\n}; // @vue/component\n\nexport var BButtonClose = /*#__PURE__*/Vue.extend({\n name: NAME_BUTTON_CLOSE,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n slots = _ref.slots,\n scopedSlots = _ref.scopedSlots;\n var $slots = slots();\n var $scopedSlots = scopedSlots || {};\n var componentData = {\n staticClass: 'close',\n class: _defineProperty({}, \"text-\".concat(props.textVariant), props.textVariant),\n attrs: {\n type: 'button',\n disabled: props.disabled,\n 'aria-label': props.ariaLabel ? String(props.ariaLabel) : null\n },\n on: {\n click: function click(evt) {\n // Ensure click on button HTML content is also disabled\n\n /* istanbul ignore if: bug in JSDOM still emits click on inner element */\n if (props.disabled && isEvent(evt)) {\n stopEvent(evt);\n }\n }\n }\n }; // Careful not to override the default slot with innerHTML\n\n if (!hasNormalizedSlot(SLOT_NAME_DEFAULT, $scopedSlots, $slots)) {\n componentData.domProps = {\n innerHTML: props.content\n };\n }\n\n return h('button', mergeData(data, componentData), normalizeSlot(SLOT_NAME_DEFAULT, {}, $scopedSlots, $slots));\n }\n});","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __values = (this && this.__values) || function(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n};\r\nimport { Vue, Component } from 'vue-property-decorator';\r\nvar Localization = /** @class */ (function (_super) {\r\n __extends(Localization, _super);\r\n function Localization() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Localization.prototype.getInstructionKeyIfExists = function (resourceKey) {\r\n var instructionKeyPath = resourceKey + \"_Instructions\";\r\n return this.$te(instructionKeyPath) ? instructionKeyPath : null;\r\n };\r\n Localization.prototype.hasAnyInstructions = function (keys) {\r\n var e_1, _a;\r\n try {\r\n for (var keys_1 = __values(keys), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) {\r\n var key = keys_1_1.value;\r\n if (this.getInstructionKeyIfExists(key)) {\r\n return true;\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (keys_1_1 && !keys_1_1.done && (_a = keys_1.return)) _a.call(keys_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n return false;\r\n };\r\n Localization = __decorate([\r\n Component\r\n ], Localization);\r\n return Localization;\r\n}(Vue));\r\nexport { Localization };\r\n","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport { Component } from 'vue-property-decorator';\r\nimport { AidType } from '@/common/types/AidType';\r\nimport TemplateBase from './TemplateBase';\r\nvar AidApplicationBase = /** @class */ (function (_super) {\r\n __extends(AidApplicationBase, _super);\r\n function AidApplicationBase() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(AidApplicationBase.prototype, \"aidapplication\", {\r\n get: function () {\r\n return this.recordable;\r\n },\r\n set: function (application) {\r\n this.recordable = application;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"aidTypeAsString\", {\r\n get: function () {\r\n if (this.aidapplication.isPlaceOpen) {\r\n return \"placeOpen\";\r\n }\r\n else if (this.aidapplication.isB) {\r\n if (this.aidapplication.isICT) {\r\n return \"ICT\";\r\n }\r\n else if (this.aidapplication.isPremisesRenovationOrImprovement) {\r\n return \"premises\";\r\n }\r\n else if (this.aidapplication.isSupportApartments) {\r\n return \"supportApartments\";\r\n }\r\n }\r\n return AidType[this.aidapplication.aidType];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"isAy\", {\r\n get: function () {\r\n return this.aidapplication.isAy;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"isB\", {\r\n get: function () {\r\n return this.aidapplication.isB;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"isC\", {\r\n get: function () {\r\n return this.aidapplication.aidType == AidType.C;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"isPlaceOpen\", {\r\n get: function () {\r\n return this.aidapplication.isPlaceOpen;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidApplicationBase.prototype, \"isExtension\", {\r\n get: function () {\r\n return this.aidapplication.isExtensionApplication;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n AidApplicationBase.prototype.submit = function (send) {\r\n return __awaiter(this, void 0, Promise, function () {\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n if (!send) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.send(\"AidApplication\")];\r\n case 1:\r\n _a.sent();\r\n return [3 /*break*/, 4];\r\n case 2: return [4 /*yield*/, this.validate(\"AidApplication\")];\r\n case 3:\r\n _a.sent();\r\n _a.label = 4;\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n AidApplicationBase = __decorate([\r\n Component({\r\n name: 'AidApplicationBase'\r\n })\r\n ], AidApplicationBase);\r\n return AidApplicationBase;\r\n}(TemplateBase));\r\nexport default AidApplicationBase;\r\n","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nimport { Component } from 'vue-property-decorator';\r\nimport TemplateBase from './TemplateBase';\r\nvar OrganisationYearlyReportBase = /** @class */ (function (_super) {\r\n __extends(OrganisationYearlyReportBase, _super);\r\n function OrganisationYearlyReportBase() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(OrganisationYearlyReportBase.prototype, \"report\", {\r\n get: function () {\r\n return this.recordable;\r\n },\r\n set: function (report) {\r\n this.recordable = report;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(OrganisationYearlyReportBase.prototype, \"invalid\", {\r\n get: function () {\r\n return true;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(OrganisationYearlyReportBase.prototype, \"validateTooltip\", {\r\n get: function () {\r\n var tooltip = null;\r\n if (this.isRecordNew) {\r\n tooltip = this.$t('StartByModifying').toString();\r\n }\r\n return tooltip;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n OrganisationYearlyReportBase = __decorate([\r\n Component({\r\n name: 'OrganisationYearlyReportBase'\r\n })\r\n ], OrganisationYearlyReportBase);\r\n return OrganisationYearlyReportBase;\r\n}(TemplateBase));\r\nexport default OrganisationYearlyReportBase;\r\n","import { makePropCacheMixin } from '../utils/cache';\nexport default makePropCacheMixin('$listeners', 'bvListeners');","import { attemptFocus, isVisible, matches, requestAF, select } from '../utils/dom';\nvar SELECTOR = 'input, textarea, select'; // @vue/component\n\nexport default {\n props: {\n name: {\n type: String // default: undefined\n\n },\n id: {\n type: String // default: undefined\n\n },\n disabled: {\n type: Boolean\n },\n required: {\n type: Boolean,\n default: false\n },\n form: {\n type: String // default: null\n\n },\n autofocus: {\n type: Boolean,\n default: false\n }\n },\n mounted: function mounted() {\n this.handleAutofocus();\n },\n\n /* istanbul ignore next */\n activated: function activated() {\n this.handleAutofocus();\n },\n methods: {\n handleAutofocus: function handleAutofocus() {\n var _this = this;\n\n this.$nextTick(function () {\n requestAF(function () {\n var el = _this.$el;\n\n if (_this.autofocus && isVisible(el)) {\n if (!matches(el, SELECTOR)) {\n el = select(SELECTOR, el);\n }\n\n attemptFocus(el);\n }\n });\n });\n }\n }\n};","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"row form-group mt-3 mb-4\" },\n [\n _vm.title\n ? _c(\n \"label-control\",\n {\n staticClass: \"col-xs-12 col-sm-5 col-form-label\",\n attrs: { title: _vm.title, required: _vm.attachment.isRequired }\n },\n [_vm._v(_vm._s(_vm.$t(_vm.title)))]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: [\n _vm.title ? \"col-xs-12 col-sm-7 form-row-content\" : \"col-xs-12\"\n ]\n },\n [\n _c(\"attachment-wrapper\", {\n attrs: { attachment: _vm.attachment, index: _vm.index },\n model: {\n value: _vm.attachment,\n callback: function($$v) {\n _vm.attachment = $$v\n },\n expression: \"attachment\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"row-attachment\" },\n [\n _vm.uploading.includes(_vm.index)\n ? _c(\"span\", { staticClass: \"button-sized-text\" }, [\n _c(\"i\", [_vm._v(_vm._s(_vm.$t(\"Attachment.Downloading\")))])\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.attachment.fileNameWithExtension\n ? _c(\"b\", { staticClass: \"button-sized-text\" }, [\n _vm._v(_vm._s(_vm.attachment.fileNameWithExtension))\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"ValidationProvider\", {\n attrs: {\n rules: { required: _vm.attachment.isRequired },\n mode: \"aggressive\",\n slim: \"\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"attachment-control\", {\n key: _vm.index,\n class: _vm.getValidationErrorClasses(failedRules),\n attrs: {\n inputId: \"attachment \" + _vm.index,\n settings: _vm.attachmentSettings,\n required: _vm.attachment.isRequired,\n \"aria-invalid\":\n _vm.attachment.isRequired && errors.length > 0\n },\n on: {\n blur: _vm.blur,\n \"start-upload\": function($event) {\n return _vm.startUpload($event, _vm.index)\n },\n \"stop-upload\": function($event) {\n return _vm.stopUpload($event, _vm.index)\n },\n \"deleted-attachment\": function($event) {\n return _vm.deletedAttachment($event, _vm.attachment)\n },\n \"added-attachment\": function($event) {\n return _vm.addedAttachment($event, _vm.attachment)\n }\n },\n model: {\n value: _vm.attachment.fileNameWithExtension,\n callback: function($$v) {\n _vm.$set(_vm.attachment, \"fileNameWithExtension\", $$v)\n },\n expression: \"attachment.fileNameWithExtension\"\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Component, Mixins, Prop } from 'vue-property-decorator';\r\nimport AttachmentControl from \"@/common/components/AttachmentControl.vue\";\r\nimport { Attachment } from \"@/common/types/Attachment\";\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { ValidationProvider } from 'vee-validate';\r\nvar AttachmentsWrapper = /** @class */ (function (_super) {\r\n __extends(AttachmentsWrapper, _super);\r\n function AttachmentsWrapper() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n // List of attachment indices which are currently being uploaded to the server\r\n _this.uploading = [];\r\n return _this;\r\n }\r\n AttachmentsWrapper.prototype.startUpload = function (event, index) {\r\n this.touch();\r\n this.change();\r\n this.uploading.push(index);\r\n };\r\n AttachmentsWrapper.prototype.stopUpload = function (event, index) {\r\n this.uploading.splice(this.uploading.indexOf(index), 1);\r\n };\r\n AttachmentsWrapper.prototype.addedAttachment = function (event, attachment) {\r\n attachment.blobUri = event;\r\n this.$emit('input', attachment);\r\n this.blur();\r\n };\r\n AttachmentsWrapper.prototype.deletedAttachment = function (event, attachment) {\r\n attachment.blobUri = null;\r\n this.forceSave();\r\n };\r\n Object.defineProperty(AttachmentsWrapper.prototype, \"attachmentSettings\", {\r\n get: function () {\r\n return this.$store.getters[\"vuexPageModule/attachmentSettings\"];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], AttachmentsWrapper.prototype, \"inputId\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof Attachment !== \"undefined\" && Attachment) === \"function\" ? _a : Object)\r\n ], AttachmentsWrapper.prototype, \"attachment\", void 0);\r\n __decorate([\r\n Prop({\r\n type: Number,\r\n default: 1\r\n }),\r\n __metadata(\"design:type\", Number)\r\n ], AttachmentsWrapper.prototype, \"index\", void 0);\r\n AttachmentsWrapper = __decorate([\r\n Component({\r\n name: \"AttachmentWrapper\",\r\n components: {\r\n AttachmentControl: AttachmentControl,\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n ], AttachmentsWrapper);\r\n return AttachmentsWrapper;\r\n}(Mixins(Savable, Validatable)));\r\nexport default AttachmentsWrapper;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentWrapper.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentWrapper.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AttachmentWrapper.vue?vue&type=template&id=e87e4478&\"\nimport script from \"./AttachmentWrapper.vue?vue&type=script&lang=ts&\"\nexport * from \"./AttachmentWrapper.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('e87e4478', component.options)\n } else {\n api.reload('e87e4478', component.options)\n }\n module.hot.accept(\"./AttachmentWrapper.vue?vue&type=template&id=e87e4478&\", function () {\n api.rerender('e87e4478', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/AttachmentWrapper.vue\"\nexport default component.exports","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nimport AttachmentWrapper from \"@/common/components/AttachmentWrapper.vue\";\r\nimport { Attachment } from '@/common/types/Attachment';\r\nvar AttachmentRow = /** @class */ (function (_super) {\r\n __extends(AttachmentRow, _super);\r\n function AttachmentRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], AttachmentRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], AttachmentRow.prototype, \"instructionsKey\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof Attachment !== \"undefined\" && Attachment) === \"function\" ? _a : Object)\r\n ], AttachmentRow.prototype, \"attachment\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], AttachmentRow.prototype, \"index\", void 0);\r\n AttachmentRow = __decorate([\r\n Component({\r\n name: 'AttachmentRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n AttachmentWrapper: AttachmentWrapper\r\n }\r\n })\r\n ], AttachmentRow);\r\n return AttachmentRow;\r\n}(Mixins(Savable)));\r\nexport default AttachmentRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AttachmentRow.vue?vue&type=template&id=4af10c0b&\"\nimport script from \"./AttachmentRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./AttachmentRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4af10c0b', component.options)\n } else {\n api.reload('4af10c0b', component.options)\n }\n module.hot.accept(\"./AttachmentRow.vue?vue&type=template&id=4af10c0b&\", function () {\n api.rerender('4af10c0b', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/AttachmentRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _c(\"div\", { staticClass: \"mt-3 mb-2\" }, [\n _c(\n \"table\",\n {\n staticClass: \"table tablerow\",\n attrs: {\n \"aria-label\": _vm.title ? null : _vm.$t(\"Attachment.Attachments\")\n }\n },\n [\n _vm.title\n ? _c(\n \"caption\",\n [\n _c(\"plain-text-control\", {\n attrs: { title: _vm.title, required: _vm.required }\n })\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", [\n _c(\"span\", { attrs: { id: \"description_label\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"Correspondence.Attachment.Description\"))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"Attachment.Downloaded\")))])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Attachment.DownloadOrRemove\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.$t(\"Correspondence.Accessibility.Action\")))\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.kattachments, function(ka, index) {\n return _c(\n \"tr\",\n { key: ka.key, staticClass: \"paddingless\" },\n [\n ka.attachment.displayKey\n ? _c(\n \"th\",\n { staticClass: \"w-40 normal row-heading\" },\n [\n _c(\"plain-text-control\", {\n attrs: {\n title: ka.attachment.displayKey,\n required: ka.attachment.isRequired,\n noMargin: true\n }\n })\n ],\n 1\n )\n : _c(\n \"td\",\n { staticClass: \"input-cell\" },\n [\n _c(\"text-area-control\", {\n class: _vm.$attrs.id + \"-\" + (index + 1),\n attrs: {\n rows: 1,\n maxLength: _vm.attachmentNameMaxLength,\n required: _vm.nameRequired(ka),\n disabled: _vm.$attrs.disabled,\n placeholderKey: _vm.textPlaceholder,\n labelledBy: \"description_label\"\n },\n model: {\n value: ka.attachment.name,\n callback: function($$v) {\n _vm.$set(ka.attachment, \"name\", $$v)\n },\n expression: \"ka.attachment.name\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"normal\" }, [\n _vm.uploading.includes(index)\n ? _c(\"span\", [\n _c(\"i\", [\n _vm._v(_vm._s(_vm.$t(\"Attachment.Downloading\")))\n ])\n ])\n : _c(\"span\", [\n ka.attachment.fileNameWithExtension\n ? _c(\"b\", [\n _vm._v(\n _vm._s(ka.attachment.fileNameWithExtension)\n )\n ])\n : _c(\"i\", [\n _vm._v(_vm._s(_vm.$t(\"Attachment.NoFile\")))\n ])\n ])\n ]),\n _vm._v(\" \"),\n !ka.attachment.displayKey\n ? _c(\"attachment-wrapper-table-cell\", {\n key: \"attachment-\" + index,\n attrs: {\n inputId: \"attachment-\" + index,\n x: _vm.setRequired(ka),\n attachment: ka.attachment,\n validateImmediately: _vm.validateImmediately,\n allowedExtensions: _vm.allowedExtensions,\n refreshValidationKey: ka.attachment.name\n ? ka.attachment.name\n : \"\" + index\n },\n on: {\n \"start-upload\": function($event) {\n return _vm.startUpload($event, index)\n },\n \"stop-upload\": function($event) {\n return _vm.stopUpload($event, index)\n },\n \"deleted-attachment\": function($event) {\n return _vm.deletedAttachment($event, ka.attachment)\n },\n \"added-attachment\": function($event) {\n return _vm.addedAttachment($event, ka.attachment)\n }\n }\n })\n : _c(\"attachment-wrapper-table-cell\", {\n key: \"attachment-\" + index,\n attrs: {\n inputId: \"attachment-\" + index,\n attachment: ka.attachment,\n validateImmediately: _vm.validateImmediately,\n allowedExtensions: _vm.allowedExtensions,\n refreshValidationKey: ka.attachment.name\n ? ka.attachment.name\n : \"\" + index\n },\n on: {\n \"start-upload\": function($event) {\n return _vm.startUpload($event, index)\n },\n \"stop-upload\": function($event) {\n return _vm.stopUpload($event, index)\n },\n \"deleted-attachment\": function($event) {\n return _vm.deletedAttachment($event, ka.attachment)\n },\n \"added-attachment\": function($event) {\n return _vm.addedAttachment($event, ka.attachment)\n }\n }\n }),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"w-5\" }, [\n _vm.showDelete &&\n _vm.allowDelete(ka.attachment) &&\n !_vm.isReadOnly\n ? _c(\"span\", { staticClass: \"centered\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-contrast\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\"Btn_DeleteRow\") +\n (index + 2) +\n \" -. \" +\n _vm.$t(\"Accessibility.ConfirmDeleteRow\")\n },\n on: {\n click: function($event) {\n return _vm.deleteRow(ka.key)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"fas fa-trash-alt fa-lg centered\"\n })\n ]\n )\n ])\n : _vm._e()\n ])\n ],\n 1\n )\n }),\n 0\n )\n ]\n )\n ]),\n _vm._v(\" \"),\n _vm.showActions && !_vm.isReadOnly\n ? _c(\"div\", [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.addRow()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"BudgetaryEstimate.Btn_AddRow\")) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm._e()\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AttachmentTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AttachmentTable.vue?vue&type=template&id=421e9c82&\"\nimport script from \"./AttachmentTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./AttachmentTable.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('421e9c82', component.options)\n } else {\n api.reload('421e9c82', component.options)\n }\n module.hot.accept(\"./AttachmentTable.vue?vue&type=template&id=421e9c82&\", function () {\n api.rerender('421e9c82', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/AttachmentTable.vue\"\nexport default component.exports","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nimport { isArray, isPlainObject } from './inspect';\nimport { keys } from './object';\nexport var cloneDeep = function cloneDeep(obj) {\n var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : obj;\n\n if (isArray(obj)) {\n return obj.reduce(function (result, val) {\n return [].concat(_toConsumableArray(result), [cloneDeep(val, val)]);\n }, []);\n }\n\n if (isPlainObject(obj)) {\n return keys(obj).reduce(function (result, key) {\n return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, key, cloneDeep(obj[key], obj[key])));\n }, {});\n }\n\n return defaultValue;\n};\nexport default cloneDeep;","export var CollectionMethod;\r\n(function (CollectionMethod) {\r\n CollectionMethod[CollectionMethod[\"Collected\"] = 1] = \"Collected\";\r\n CollectionMethod[CollectionMethod[\"Sampling\"] = 2] = \"Sampling\";\r\n CollectionMethod[CollectionMethod[\"NotCollected\"] = 3] = \"NotCollected\";\r\n})(CollectionMethod || (CollectionMethod = {}));\r\n","export var Financing;\r\n(function (Financing) {\r\n Financing[Financing[\"None\"] = 0] = \"None\";\r\n Financing[Financing[\"ServiceProduction\"] = 1] = \"ServiceProduction\";\r\n Financing[Financing[\"MinistryOfSocialAffairsAndHealth\"] = 2] = \"MinistryOfSocialAffairsAndHealth\";\r\n Financing[Financing[\"MinistryOfEductionAndCulture\"] = 3] = \"MinistryOfEductionAndCulture\";\r\n Financing[Financing[\"EuropianSocialFund\"] = 4] = \"EuropianSocialFund\";\r\n Financing[Financing[\"Other\"] = 5] = \"Other\";\r\n})(Financing || (Financing = {}));\r\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.20';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var 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 match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading and trailing whitespace. */\n var reTrim = /^\\s+|\\s+$/g,\n reTrimStart = /^\\s+/,\n reTrimEnd = /\\s+$/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var 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\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\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 */\n function 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\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\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 */\n function 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\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\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 */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\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 */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\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 */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\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 */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\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 */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\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 */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(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\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function 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 /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\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 */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\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 */\n function 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.call(data, key) ? data[key] : undefined;\n }\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 */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\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 */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function 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 /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\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 */\n function 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\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 */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\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 */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\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 */\n function 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\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\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 */\n function 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 /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\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 */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\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 */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\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 */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\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 */\n function 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\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\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 */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\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 */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\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 */\n function stackGet(key) {\n return this.__data__.get(key);\n }\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 */\n function stackHas(key) {\n return this.__data__.has(key);\n }\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 */\n function 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\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\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 */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(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.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\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\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 */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\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 */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\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 */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\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 */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\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 */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\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 */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\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 */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\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 */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\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 */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\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 */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` 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 */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\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 */\n function baseKeysIn(object) {\n if (!isObject(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.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\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 */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\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);\n }\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 */\n function 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(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(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(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(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\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\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 */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\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 */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\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 */\n function 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\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 */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\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 */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\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 */\n function 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\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 */\n function 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\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\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 */\n function 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\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\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 */\n function 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\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\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 */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\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 */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\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 */\n function 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\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\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 */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\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 */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\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 */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\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 */\n function 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\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\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 */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\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 */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\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 */\n function 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\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 */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\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 */\n function 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\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\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 */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\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 */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\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 */\n function 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\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\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 */\n function 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\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\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 * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '' + func(text) + '
';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles
'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\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 */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.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 `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.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 `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\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 */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\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 */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\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 an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\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 */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\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 */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or 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 boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\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 */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` 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 date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\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 DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\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 empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.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 * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\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 * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\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 an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\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 finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\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 */\n function isFunction(value) {\n if (!isObject(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\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\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 integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\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 */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\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 */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\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 */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\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 map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\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 `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\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 native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\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 `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\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 nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\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 number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\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 */\n function isPlainObject(value) {\n if (!isObjectLike(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.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` 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 regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\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 safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\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 set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or 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 a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\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 */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\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 weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\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 weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.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 `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.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 `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is 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 convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\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 */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\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 * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\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 */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\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 */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values 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 values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '\n\n","import mod from \"-!../../vue-loader/lib/index.js??vue-loader-options!./BounceLoader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../vue-loader/lib/index.js??vue-loader-options!./BounceLoader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BounceLoader.vue?vue&type=template&id=25786eca&\"\nimport script from \"./BounceLoader.vue?vue&type=script&lang=js&\"\nexport * from \"./BounceLoader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BounceLoader.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('25786eca', component.options)\n } else {\n api.reload('25786eca', component.options)\n }\n module.hot.accept(\"./BounceLoader.vue?vue&type=template&id=25786eca&\", function () {\n api.rerender('25786eca', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"node_modules/vue-spinner/src/BounceLoader.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.registration\n ? _c(\n \"div\",\n [\n _c(\"h2\", [_vm._v(_vm._s(_vm.$t(\"Registration.Confirmation.Title\")))]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"Registration.Confirmation.OrganisationDescription\")\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"h2\", [\n _vm._v(_vm._s(_vm.$t(\"Registration.Confirmation.UserInfoTitle\")))\n ]),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.FullName\",\n id: \"registrarName\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.fullName,\n callback: function($$v) {\n _vm.fullName = $$v\n },\n expression: \"fullName\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Ssn\",\n id: \"registrarSsn\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.registrarSsn,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"registrarSsn\", $$v)\n },\n expression: \"registration.registrarSsn\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Email\",\n id: \"email\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.registrarEmail,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"registrarEmail\", $$v)\n },\n expression: \"registration.registrarEmail\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Procuration\",\n value: _vm.registration.procuration\n ? _vm.$t(\"Registration.HasProcuration\")\n : _vm.$t(\"Registration.NoProcuration\"),\n id: \"procuration\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.ElectronicCommunication\",\n value: _vm.$t(\"Registration.ElectronicCommunicationInfo\"),\n id: \"electronicCommunication\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n }\n }),\n _vm._v(\" \"),\n _c(\"h2\", [\n _vm._v(\n _vm._s(_vm.$t(\"Registration.Confirmation.OrganisationInfoTitle\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.OrganisationName\",\n id: \"organisationName\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.name,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"name\", $$v)\n },\n expression: \"registration.name\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.BusinessId\",\n id: \"businessId\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.businessId,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"businessId\", $$v)\n },\n expression: \"registration.businessId\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.FoundingYear\",\n id: \"foundingYear\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.foundingYear.toString(),\n callback: function($$v) {\n _vm.$set(_vm.registration.foundingYear, \"toString()\", $$v)\n },\n expression: \"registration.foundingYear.toString()\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Organisation.Language.Title\",\n value: _vm.getLanguage(_vm.registration.language),\n id: \"language\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n }\n }),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary mb-5 login-page-button\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.done()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_ToFrontPage\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n ],\n 1\n )\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Component, Prop, Mixins } from \"vue-property-decorator\";\r\nimport { OrganisationRegistration } from \"@/common/types/OrganisationRegistration\";\r\nimport TextLabelRow from '@/common/components/TextLabelRow.vue';\r\nimport { Language } from \"@/common/types/Language\";\r\nimport { Focusable } from \"@/common/mixins/Focusable\";\r\nvar OrganisationConfirmation = /** @class */ (function (_super) {\r\n __extends(OrganisationConfirmation, _super);\r\n function OrganisationConfirmation() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n OrganisationConfirmation.prototype.mounted = function () {\r\n this.focusOnFirstTag(\"h2\");\r\n };\r\n Object.defineProperty(OrganisationConfirmation.prototype, \"fullName\", {\r\n get: function () {\r\n return this.registration.registrarFirstName + ' ' + this.registration.registrarLastName;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n // TODO: Get language name from someplace nice\r\n OrganisationConfirmation.prototype.getLanguage = function (lang) {\r\n if (lang == Language.Swedish)\r\n return \"Ruotsi\";\r\n return \"Suomi\";\r\n };\r\n OrganisationConfirmation.prototype.done = function () {\r\n this.$router.push({ name: \"login\" });\r\n };\r\n Object.defineProperty(OrganisationConfirmation.prototype, \"labelClass\", {\r\n get: function () {\r\n return \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(OrganisationConfirmation.prototype, \"valueClass\", {\r\n get: function () {\r\n return \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof OrganisationRegistration !== \"undefined\" && OrganisationRegistration) === \"function\" ? _a : Object)\r\n ], OrganisationConfirmation.prototype, \"registration\", void 0);\r\n OrganisationConfirmation = __decorate([\r\n Component({\r\n name: \"OrganisationConfirmation\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], OrganisationConfirmation);\r\n return OrganisationConfirmation;\r\n}(Mixins(Focusable)));\r\nexport default OrganisationConfirmation;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationConfirmation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationConfirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrganisationConfirmation.vue?vue&type=template&id=709d1c5e&\"\nimport script from \"./OrganisationConfirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrganisationConfirmation.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('709d1c5e', component.options)\n } else {\n api.reload('709d1c5e', component.options)\n }\n module.hot.accept(\"./OrganisationConfirmation.vue?vue&type=template&id=709d1c5e&\", function () {\n api.rerender('709d1c5e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/loginApp/template/components/registration/OrganisationConfirmation.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.registration\n ? _c(\n \"div\",\n [\n _c(\"h2\", [\n _vm._v(\n _vm._s(_vm.$t(\"Registration.Welcome\", { name: _vm.fullName }))\n )\n ]),\n _vm._v(\" \"),\n _vm.hasInvitation\n ? _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"Registration.Confirmation.InvitedAdminDescription\")\n )\n )\n ])\n : _c(\"p\", [\n _vm._v(\n _vm._s(_vm.$t(\"Registration.Confirmation.AdminDescription\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\"h2\", [\n _vm._v(_vm._s(_vm.$t(\"Registration.Confirmation.UserInfoTitle\")))\n ]),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.FullName\",\n id: \"registrarName\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.fullName,\n callback: function($$v) {\n _vm.fullName = $$v\n },\n expression: \"fullName\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Ssn\",\n id: \"registrarSsn\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.ssn,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"ssn\", $$v)\n },\n expression: \"registration.ssn\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Email\",\n id: \"email\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.email,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"email\", $$v)\n },\n expression: \"registration.email\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.OrganisationName\",\n id: \"organisationName\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n },\n model: {\n value: _vm.registration.organisationName,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"organisationName\", $$v)\n },\n expression: \"registration.organisationName\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Procuration\",\n value: _vm.registration.hasProcuration\n ? _vm.$t(\"Registration.HasProcuration\")\n : _vm.$t(\"Registration.NoProcuration\"),\n id: \"procuration\",\n labelClass: _vm.labelClass,\n valueClass: _vm.valueClass\n }\n }),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary mt-3 mb-5 login-page-button\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.done()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_ToFrontPage\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n ],\n 1\n )\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Component, Prop, Mixins } from \"vue-property-decorator\";\r\nimport TextLabelRow from '@/common/components/TextLabelRow.vue';\r\nimport { RegisterUserDto } from \"@/common/types/RegisterUserDto\";\r\nimport { Focusable } from \"@/common/mixins/Focusable\";\r\nvar AdminConfirmation = /** @class */ (function (_super) {\r\n __extends(AdminConfirmation, _super);\r\n function AdminConfirmation() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n AdminConfirmation.prototype.mounted = function () {\r\n this.focusOnFirstTag(\"h2\");\r\n };\r\n Object.defineProperty(AdminConfirmation.prototype, \"fullName\", {\r\n get: function () {\r\n return this.registration.firstName + ' ' + this.registration.lastName;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n AdminConfirmation.prototype.done = function () {\r\n this.$router.push({ name: \"login\" });\r\n };\r\n Object.defineProperty(AdminConfirmation.prototype, \"hasInvitation\", {\r\n get: function () {\r\n return this.registration.id != null;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AdminConfirmation.prototype, \"labelClass\", {\r\n get: function () {\r\n return \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AdminConfirmation.prototype, \"valueClass\", {\r\n get: function () {\r\n return \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof RegisterUserDto !== \"undefined\" && RegisterUserDto) === \"function\" ? _a : Object)\r\n ], AdminConfirmation.prototype, \"registration\", void 0);\r\n AdminConfirmation = __decorate([\r\n Component({\r\n name: \"AdminConfirmation\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], AdminConfirmation);\r\n return AdminConfirmation;\r\n}(Mixins(Focusable)));\r\nexport default AdminConfirmation;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminConfirmation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminConfirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AdminConfirmation.vue?vue&type=template&id=4a8c8872&\"\nimport script from \"./AdminConfirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./AdminConfirmation.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4a8c8872', component.options)\n } else {\n api.reload('4a8c8872', component.options)\n }\n module.hot.accept(\"./AdminConfirmation.vue?vue&type=template&id=4a8c8872&\", function () {\n api.rerender('4a8c8872', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/loginApp/template/components/registration/AdminConfirmation.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"check-box-list-row\", {\n key: _vm.checkBoxValueChanged,\n attrs: {\n title: \"AidApplication.BasicInfo.PlaceOpen.HiredPerson.Title\",\n options: _vm.hiredPersonOptions,\n required: true\n },\n model: {\n value: _vm.aidapplication.basicInfo.placeOpen.hiredPerson,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo.placeOpen, \"hiredPerson\", $$v)\n },\n expression: \"aidapplication.basicInfo.placeOpen.hiredPerson\"\n }\n }),\n _vm._v(\" \"),\n _vm.showDescriptionForPartialDisabled\n ? _c(\"text-area-row\", {\n attrs: {\n title:\n \"AidApplication.BasicInfo.PlaceOpen.HowPartialDisabilityIsNoticed\",\n id: \"howpartialdisabilityisnoticed\",\n required: true,\n maxLength: 1000,\n rows: 10\n },\n model: {\n value:\n _vm.aidapplication.basicInfo.placeOpen\n .howPartialDisabilityIsNoticed,\n callback: function($$v) {\n _vm.$set(\n _vm.aidapplication.basicInfo.placeOpen,\n \"howPartialDisabilityIsNoticed\",\n $$v\n )\n },\n expression:\n \"aidapplication.basicInfo.placeOpen.howPartialDisabilityIsNoticed\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"radio-button-row\", {\n key: _vm.radioButtonValueChanged,\n attrs: {\n title: \"AidApplication.BasicInfo.PlaceOpen.IsApprenticeships\",\n required: true\n },\n model: {\n value: _vm.aidapplication.basicInfo.placeOpen.isApprenticeships,\n callback: function($$v) {\n _vm.$set(\n _vm.aidapplication.basicInfo.placeOpen,\n \"isApprenticeships\",\n $$v\n )\n },\n expression: \"aidapplication.basicInfo.placeOpen.isApprenticeships\"\n }\n }),\n _vm._v(\" \"),\n _vm.showApprenticeshipsDescription\n ? _c(\"text-area-row\", {\n attrs: {\n title:\n \"AidApplication.BasicInfo.PlaceOpen.ApprenticeshipsDescription\",\n id: \"apprenticeshipdescription\",\n required: true,\n maxLength: 300,\n rows: 5\n },\n model: {\n value:\n _vm.aidapplication.basicInfo.placeOpen\n .apprenticeshipsDescription,\n callback: function($$v) {\n _vm.$set(\n _vm.aidapplication.basicInfo.placeOpen,\n \"apprenticeshipsDescription\",\n $$v\n )\n },\n expression:\n \"aidapplication.basicInfo.placeOpen.apprenticeshipsDescription\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"date-input-row\", {\n attrs: {\n title: \"AidApplication.BasicInfo.PlaceOpen.StartTime\",\n name: \"AidApplication.BasicInfo.PlaceOpen.StartTime\",\n instructionsKey:\n \"AidApplication.BasicInfo.PlaceOpen.StartTime_Instructions\",\n placeholder: _vm.$t(\"DatePicker.FormatPlaceholder\"),\n required: true,\n rules: _vm.startTimeRules\n },\n model: {\n value: _vm.aidapplication.basicInfo.startTime,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"startTime\", $$v)\n },\n expression: \"aidapplication.basicInfo.startTime\"\n }\n }),\n _vm._v(\" \"),\n _c(\"date-input-row\", {\n attrs: {\n title: \"AidApplication.BasicInfo.PlaceOpen.EndTime\",\n name: \"AidApplication.BasicInfo.PlaceOpen.EndTime\",\n instructionsKey:\n \"AidApplication.BasicInfo.PlaceOpen.EndTime_Instructions\",\n placeholder: _vm.$t(\"DatePicker.FormatPlaceholder\"),\n required: true,\n rules: _vm.endTimeRules\n },\n model: {\n value: _vm.aidapplication.basicInfo.endTime,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"endTime\", $$v)\n },\n expression: \"aidapplication.basicInfo.endTime\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"AidApplication.BasicInfo.PlaceOpen.Location\",\n options: _vm.municipalities,\n required: true,\n doNotUseResources: true,\n optionOutput: true,\n value:\n _vm.aidapplication.basicInfo.placeOpen.location.length > 0\n ? _vm.aidapplication.basicInfo.placeOpen.location[0]\n : { name: null, id: null }\n },\n on: {\n input: function($event) {\n _vm.aidapplication.basicInfo.placeOpen.location = $event.name\n ? [{ name: $event.name, id: $event.id }]\n : []\n }\n }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Component, Watch } from 'vue-property-decorator';\r\nimport { HiredPerson } from '@/common/types/HiredPerson';\r\nimport AidApplicationBase from '@/template/views/AidApplicationBase';\r\nimport TextAreaRow from '@/common/components/TextAreaRow.vue';\r\nimport RadioButtonRow from '@/common/components/RadioButtonRow.vue';\r\nimport CheckBoxListRow from '@/common/components/CheckBoxListRow.vue';\r\nimport DateInputRow from '@/common/components/DateInputRow.vue';\r\nimport SingleSelectAccessible from '@/common/components/SingleSelectAccessible.vue';\r\nimport { parseString, absoluteMinimumDate, absoluteMaximumDate, reasonableMinimumDate, reasonableMaximumDate } from '@/common/utils/dateUtilities';\r\nimport { isNullOrUndefined } from 'util';\r\nvar BasicInfoView = /** @class */ (function (_super) {\r\n __extends(BasicInfoView, _super);\r\n function BasicInfoView() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.checkBoxValueChanged = \"checkbox\";\r\n _this.radioButtonValueChanged = \"radio\";\r\n _this.hiredPersonOptions = [\r\n { id: HiredPerson.PartiallyDisabled, name: \"AidApplication.BasicInfo.PlaceOpen.HiredPerson.PartiallyDisabled\" },\r\n { id: HiredPerson.Young, name: \"AidApplication.BasicInfo.PlaceOpen.HiredPerson.Young\" }\r\n ];\r\n return _this;\r\n }\r\n Object.defineProperty(BasicInfoView.prototype, \"showDescriptionForPartialDisabled\", {\r\n get: function () {\r\n return this.aidapplication.basicInfo.placeOpen.hiredPerson.includes(HiredPerson.PartiallyDisabled);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(BasicInfoView.prototype, \"showApprenticeshipsDescription\", {\r\n get: function () {\r\n return this.aidapplication.basicInfo.placeOpen.isApprenticeships;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n BasicInfoView.prototype.onHiredPersonChanged = function (newValue, oldValue) {\r\n if (oldValue.includes(HiredPerson.PartiallyDisabled) && !newValue.includes(HiredPerson.PartiallyDisabled)) {\r\n var desc = this.aidapplication.basicInfo.placeOpen.howPartialDisabilityIsNoticed;\r\n if (!isNullOrUndefined(desc) && desc.trim().length > 0) {\r\n if (confirm(this.$i18n.t(\"AidApplication.Confirm.Delete.HiredPerson\").toString())) {\r\n this.aidapplication.basicInfo.placeOpen.howPartialDisabilityIsNoticed = null;\r\n }\r\n else {\r\n this.aidapplication.basicInfo.placeOpen.hiredPerson.push(HiredPerson.PartiallyDisabled);\r\n this.checkBoxValueChanged = Date();\r\n }\r\n }\r\n }\r\n };\r\n BasicInfoView.prototype.onIsApprenticeshipsChanged = function () {\r\n var _a;\r\n if (!this.showApprenticeshipsDescription && ((_a = this.aidapplication.basicInfo.placeOpen.apprenticeshipsDescription) === null || _a === void 0 ? void 0 : _a.length) > 0) {\r\n if (confirm(this.$i18n.t(\"AidApplication.Confirm.Delete.Apprenticeship\").toString())) {\r\n this.aidapplication.basicInfo.placeOpen.apprenticeshipsDescription = null;\r\n }\r\n else {\r\n this.aidapplication.basicInfo.placeOpen.isApprenticeships = true;\r\n this.radioButtonValueChanged = Date();\r\n }\r\n }\r\n };\r\n Object.defineProperty(BasicInfoView.prototype, \"startTimeRules\", {\r\n get: function () {\r\n var minDate = parseString(this.isExtension\r\n ? absoluteMinimumDate\r\n : reasonableMinimumDate(this.aidapplication.applicationYear));\r\n var maxDate = parseString(reasonableMaximumDate(this.aidapplication.applicationYear));\r\n return {\r\n earlierStr: '@AidApplication.BasicInfo.PlaceOpen.EndTime',\r\n within: [minDate, maxDate]\r\n };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(BasicInfoView.prototype, \"endTimeRules\", {\r\n get: function () {\r\n var maxDate = parseString(absoluteMaximumDate);\r\n return {\r\n laterStr: '@AidApplication.BasicInfo.PlaceOpen.StartTime',\r\n within: [null, maxDate]\r\n };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Watch(\"aidapplication.basicInfo.placeOpen.hiredPerson\"),\r\n __metadata(\"design:type\", Function),\r\n __metadata(\"design:paramtypes\", [Array, Array]),\r\n __metadata(\"design:returntype\", void 0)\r\n ], BasicInfoView.prototype, \"onHiredPersonChanged\", null);\r\n __decorate([\r\n Watch(\"aidapplication.basicInfo.placeOpen.isApprenticeships\"),\r\n __metadata(\"design:type\", Function),\r\n __metadata(\"design:paramtypes\", []),\r\n __metadata(\"design:returntype\", void 0)\r\n ], BasicInfoView.prototype, \"onIsApprenticeshipsChanged\", null);\r\n BasicInfoView = __decorate([\r\n Component({\r\n name: \"BasicInfoView\",\r\n components: {\r\n RadioButtonRow: RadioButtonRow,\r\n CheckBoxListRow: CheckBoxListRow,\r\n TextAreaRow: TextAreaRow,\r\n DateInputRow: DateInputRow,\r\n SingleSelectAccessible: SingleSelectAccessible\r\n }\r\n })\r\n ], BasicInfoView);\r\n return BasicInfoView;\r\n}(AidApplicationBase));\r\nexport default BasicInfoView;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInfoView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInfoView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BasicInfoView.vue?vue&type=template&id=72ff1a9a&\"\nimport script from \"./BasicInfoView.vue?vue&type=script&lang=ts&\"\nexport * from \"./BasicInfoView.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('72ff1a9a', component.options)\n } else {\n api.reload('72ff1a9a', component.options)\n }\n module.hot.accept(\"./BasicInfoView.vue?vue&type=template&id=72ff1a9a&\", function () {\n api.rerender('72ff1a9a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/aidApplication/placeOpen/BasicInfoView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"group-content\" },\n [\n _c(\"text-area-row\", {\n attrs: {\n title: \"SummaryReport.Operation.Description\",\n id: \"opreationdescription_\" + _vm.index,\n required: true,\n maxLength: 50,\n rows: 1\n },\n model: {\n value: _vm.operation.description,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"description\", $$v)\n },\n expression: \"operation.description\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"SummaryReport.Operation.OperationCount\",\n id: \"operationcount_\" + _vm.index,\n rules: {\n min_value: 0,\n max_value: _vm.operation.encounterCount\n ? _vm.operation.encounterCount\n : 1000000000\n },\n required: true\n },\n model: {\n value: _vm.operation.operationCount,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"operationCount\", $$v)\n },\n expression: \"operation.operationCount\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"SummaryReport.Operation.OperationType\",\n options: _vm.optionsArray(\"UpdatedOperationTypeOptions\", true),\n required: true,\n fixedDirection: true,\n dropdownId: \"operationtype_\" + _vm.index\n },\n model: {\n value: _vm.operation.updatedOperationType,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"updatedOperationType\", $$v)\n },\n expression: \"operation.updatedOperationType\"\n }\n }),\n _vm._v(\" \"),\n _c(\"radio-button-row\", {\n attrs: {\n title: \"SummaryReport.Operation.DirectContact\",\n componentIndex: _vm.index,\n required: true\n },\n model: {\n value: _vm.operation.directContact,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"directContact\", $$v)\n },\n expression: \"operation.directContact\"\n }\n }),\n _vm._v(\" \"),\n _vm.operation.directContact\n ? _c(\"numeric-input-row\", {\n attrs: {\n title: \"SummaryReport.Operation.EncounterCount\",\n id: \"encountercount_\" + _vm.index,\n rules: {\n min_value: _vm.operation.operationCount\n ? _vm.operation.operationCount\n : 0,\n max_value: 1000000000\n },\n required: true\n },\n model: {\n value: _vm.operation.encounterCount,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"encounterCount\", $$v)\n },\n expression: \"operation.encounterCount\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.operation.directContact\n ? _c(\"radio-button-option-row\", {\n attrs: {\n title: \"SummaryReport.Operation.CollectionMethod\",\n required: true,\n componentIndex: _vm.index,\n options: _vm.optionsArray(\"UpdatedCollectionMethodOptions\", true)\n },\n model: {\n value: _vm.operation.updatedCollectionMethod,\n callback: function($$v) {\n _vm.$set(_vm.operation, \"updatedCollectionMethod\", $$v)\n },\n expression: \"operation.updatedCollectionMethod\"\n }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from \"vue-property-decorator\";\r\nimport SingleSelectAccessible from '@/common/components/SingleSelectAccessible.vue';\r\nimport TextAreaRow from '@/common/components/TextAreaRow.vue';\r\nimport NumericInputRow from '@/common/components/NumericInputRow.vue';\r\nimport RadioButtonOptionRow from '@/common/components/RadioButtonOptionRow.vue';\r\nimport RadioButtonRow from '@/common/components/RadioButtonRow.vue';\r\nimport { OperationResult } from '@/common/types/OperationResult';\r\nimport MasterDataConsumer from \"@/common/mixins/MasterDataConsumer\";\r\nimport { EnumHelpers } from \"@/common/mixins/EnumHelpers\";\r\nvar SummaryOperationControl = /** @class */ (function (_super) {\r\n __extends(SummaryOperationControl, _super);\r\n function SummaryOperationControl() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SummaryOperationControl.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof OperationResult !== \"undefined\" && OperationResult) === \"function\" ? _a : Object)\r\n ], SummaryOperationControl.prototype, \"operation\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], SummaryOperationControl.prototype, \"index\", void 0);\r\n SummaryOperationControl = __decorate([\r\n Component({\r\n name: \"SummaryOperationControl\",\r\n components: {\r\n SingleSelectAccessible: SingleSelectAccessible,\r\n TextAreaRow: TextAreaRow,\r\n NumericInputRow: NumericInputRow,\r\n RadioButtonOptionRow: RadioButtonOptionRow,\r\n RadioButtonRow: RadioButtonRow\r\n }\r\n })\r\n ], SummaryOperationControl);\r\n return SummaryOperationControl;\r\n}(Mixins(MasterDataConsumer, EnumHelpers)));\r\nexport default SummaryOperationControl;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryOperationControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryOperationControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SummaryOperationControl.vue?vue&type=template&id=c08344fa&\"\nimport script from \"./SummaryOperationControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./SummaryOperationControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('c08344fa', component.options)\n } else {\n api.reload('c08344fa', component.options)\n }\n module.hot.accept(\"./SummaryOperationControl.vue?vue&type=template&id=c08344fa&\", function () {\n api.rerender('c08344fa', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/summaryReport/controls/SummaryOperationControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"row\" }, [\n _c(\n \"div\",\n { staticClass: \"col-6 col-lg-4\" },\n [\n _vm.title.length > 0\n ? _c(\"label-control\", {\n staticClass: \"col-form-label\",\n attrs: { title: _vm.title, forElement: _vm.$attrs.id }\n })\n : _vm._e()\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-6 col-lg-4 mt-1\" }, [\n _c(\"div\", { staticClass: \"input-group mb-3\" }, [\n _c(\n \"select\",\n {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.selected,\n expression: \"selected\"\n }\n ],\n staticClass: \"custom-select\",\n attrs: { name: _vm.$attrs.id, id: _vm.$attrs.id },\n on: {\n change: function($event) {\n var $$selectedVal = Array.prototype.filter\n .call($event.target.options, function(o) {\n return o.selected\n })\n .map(function(o) {\n var val = \"_value\" in o ? o._value : o.value\n return val\n })\n _vm.selected = $event.target.multiple\n ? $$selectedVal\n : $$selectedVal[0]\n }\n }\n },\n [\n _c(\n \"option\",\n { attrs: { selected: \"\" }, domProps: { value: null } },\n [_vm._v(_vm._s(_vm.$t(\"Selection.Choose\")))]\n ),\n _vm._v(\" \"),\n _vm._l(_vm.periods, function(period) {\n return _c(\n \"option\",\n {\n attrs: { title: period.name },\n domProps: { value: period.data }\n },\n [_vm._v(\"\\n \" + _vm._s(period.name) + \"\\n \")]\n )\n })\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"input-group-append\" }, [\n _c(\n \"button\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: { content: _vm.$t(_vm.title) },\n expression: \"{ content: $t(title) }\",\n modifiers: { top: true, center: true }\n }\n ],\n staticClass: \"btn btn-secondary right col-auto\",\n attrs: {\n type: \"button\",\n id: \"period-select\",\n \"aria-label\": _vm.$t(_vm.title)\n },\n on: {\n click: function($event) {\n return _vm.select()\n }\n }\n },\n [_c(\"i\", { staticClass: \"fa fa-file-import fa-lg\" })]\n )\n ])\n ])\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Vue } from 'vue-property-decorator';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar PeriodSelectorControl = /** @class */ (function (_super) {\r\n __extends(PeriodSelectorControl, _super);\r\n function PeriodSelectorControl() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.selected = null;\r\n return _this;\r\n }\r\n PeriodSelectorControl.prototype.select = function () {\r\n if (this.selected) {\r\n this.$emit('selected', this.selected);\r\n }\r\n };\r\n __decorate([\r\n Prop({ type: String, required: false, default: '' }),\r\n __metadata(\"design:type\", String)\r\n ], PeriodSelectorControl.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true }),\r\n __metadata(\"design:type\", Array)\r\n ], PeriodSelectorControl.prototype, \"periods\", void 0);\r\n PeriodSelectorControl = __decorate([\r\n Component({\r\n name: 'PeriodSelectorControl',\r\n components: {\r\n LabelControl: LabelControl\r\n },\r\n inheritAttrs: false\r\n })\r\n ], PeriodSelectorControl);\r\n return PeriodSelectorControl;\r\n}(Vue));\r\nexport default PeriodSelectorControl;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeriodSelectorControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeriodSelectorControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PeriodSelectorControl.vue?vue&type=template&id=74316675&\"\nimport script from \"./PeriodSelectorControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./PeriodSelectorControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('74316675', component.options)\n } else {\n api.reload('74316675', component.options)\n }\n module.hot.accept(\"./PeriodSelectorControl.vue?vue&type=template&id=74316675&\", function () {\n api.rerender('74316675', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/continuousReport/controls/PeriodSelectorControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"group-content\" },\n [\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.Type\",\n options: _vm.optionsArray(\"MeterTypeOptions\", true),\n required: true,\n dropdownId: \"meterType_\" + _vm.index\n },\n model: {\n value: _vm.meter.type,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"type\", $$v)\n },\n expression: \"meter.type\"\n }\n }),\n _vm._v(\" \"),\n _vm.showDescription\n ? _c(\"text-area-row\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.Description\",\n id: \"meterdescription_\" + _vm.index,\n required: true,\n maxLength: 50,\n rows: 1,\n hideCharsLeft: true,\n noResize: true\n },\n model: {\n value: _vm.meter.description,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"description\", $$v)\n },\n expression: \"meter.description\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.MeasurementMethod\",\n options: _vm.optionsArray(\"MeasurementMethodOptions\", true),\n required: true,\n dropdownId: \"meterMeasurementMethod_\" + _vm.index\n },\n model: {\n value: _vm.meter.measurementMethod,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"measurementMethod\", $$v)\n },\n expression: \"meter.measurementMethod\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.AskedCount\",\n id: \"askedcount_\" + _vm.index,\n required: true\n },\n model: {\n value: _vm.meter.askedCount,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"askedCount\", $$v)\n },\n expression: \"meter.askedCount\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.AnswerCount\",\n id: \"answercount_\" + _vm.index,\n required: true\n },\n model: {\n value: _vm.meter.answerCount,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"answerCount\", $$v)\n },\n expression: \"meter.answerCount\"\n }\n }),\n _vm._v(\" \"),\n _vm.hasTargets\n ? _c(\"check-box-dialog-row\", {\n attrs: {\n id: \"meterTargetsDialog\" + _vm.index,\n title: \"ContinuousReport.MetersAndMonitoring.TargetsRelated\",\n buttonLabel: \"ContinuousReport.Button.SelectTarget\",\n displayOptionNames: false,\n required: true,\n options: _vm.targets\n },\n model: {\n value: _vm.meter.targets,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"targets\", $$v)\n },\n expression: \"meter.targets\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"check-box-dialog-row\", {\n attrs: {\n id: \"meterTargetGroupsDialog\" + _vm.index,\n title: \"ContinuousReport.MetersAndMonitoring.TargetGroupsRelated\",\n buttonLabel: \"ContinuousReport.Button.SelectTargetGroup\",\n displayOptionNames: true,\n required: true,\n options: _vm.targetGroups\n },\n model: {\n value: _vm.meter.targetGroups,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"targetGroups\", $$v)\n },\n expression: \"meter.targetGroups\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-area-row\", {\n attrs: {\n title: \"ContinuousReport.MetersAndMonitoring.Change\",\n id: \"meterchange_\" + _vm.index,\n required: true,\n maxLength: 500,\n rows: 3\n },\n model: {\n value: _vm.meter.change,\n callback: function($$v) {\n _vm.$set(_vm.meter, \"change\", $$v)\n },\n expression: \"meter.change\"\n }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from \"vue-property-decorator\";\r\nimport { ContinuousReportMeter } from \"@/common/types/ContinuousReportMeter\";\r\nimport { EnumHelpers } from \"@/common/mixins/EnumHelpers\";\r\nimport { MeterType } from \"@/common/types/MeterType\";\r\nimport SingleSelectAccessible from '@/common/components/SingleSelectAccessible.vue';\r\nimport TextAreaRow from '@/common/components/TextAreaRow.vue';\r\nimport NumericInputRow from '@/common/components/NumericInputRow.vue';\r\nimport CheckBoxDialogRow from \"@/common/components/CheckBoxDialogRow.vue\";\r\nvar MeterControl = /** @class */ (function (_super) {\r\n __extends(MeterControl, _super);\r\n function MeterControl() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(MeterControl.prototype, \"showDescription\", {\r\n get: function () {\r\n return this.meter.type === MeterType.Own;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(MeterControl.prototype, \"hasTargets\", {\r\n get: function () {\r\n return this.targets && this.targets.length > 0;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], MeterControl.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], MeterControl.prototype, \"index\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof ContinuousReportMeter !== \"undefined\" && ContinuousReportMeter) === \"function\" ? _a : Object)\r\n ], MeterControl.prototype, \"meter\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true }),\r\n __metadata(\"design:type\", Array)\r\n ], MeterControl.prototype, \"targets\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true }),\r\n __metadata(\"design:type\", Array)\r\n ], MeterControl.prototype, \"targetGroups\", void 0);\r\n MeterControl = __decorate([\r\n Component({\r\n name: \"MeterControl\",\r\n components: {\r\n SingleSelectAccessible: SingleSelectAccessible,\r\n TextAreaRow: TextAreaRow,\r\n NumericInputRow: NumericInputRow,\r\n CheckBoxDialogRow: CheckBoxDialogRow\r\n }\r\n })\r\n ], MeterControl);\r\n return MeterControl;\r\n}(Mixins(EnumHelpers)));\r\nexport default MeterControl;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MeterControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MeterControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MeterControl.vue?vue&type=template&id=ae0cdf68&\"\nimport script from \"./MeterControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./MeterControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('ae0cdf68', component.options)\n } else {\n api.reload('ae0cdf68', component.options)\n }\n module.hot.accept(\"./MeterControl.vue?vue&type=template&id=ae0cdf68&\", function () {\n api.rerender('ae0cdf68', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/continuousReport/controls/MeterControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: { rules: Object.assign({}, _vm.rules), slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"div\", { staticClass: \"row form-group text-area-row\" }, [\n _c(\n \"span\",\n {\n class: [\n _vm.labelClass ? _vm.labelClass : \"col-xs-12 col-sm-5\",\n \"col-form-label\",\n _vm.bold ? \"bold\" : \"\"\n ]\n },\n [\n _c(\"span\", [\n _vm.doNotUseResources\n ? _c(\"span\", [_vm._v(_vm._s(_vm.title))])\n : _c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.title)))])\n ])\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: [\n _vm.valueClass ? _vm.valueClass : \"col-xs-12 col-sm-7\",\n \"col-form-label\"\n ]\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.valueToValidate,\n expression: \"valueToValidate\"\n }\n ],\n staticClass: \"d-none\",\n attrs: {\n \"aria-hidden\": \"true\",\n \"aria-label\": \"hidden field for validation\"\n },\n domProps: { value: _vm.valueToValidate },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.valueToValidate = $event.target.value\n }\n }\n }),\n _vm._v(\" \"),\n _c(\"span\", { class: { \"float-right\": _vm.alignRight } }, [\n _vm.formatNumber\n ? _c(\n \"span\",\n { staticStyle: { \"white-space\": \"pre-wrap\" } },\n [_vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.value)))]\n )\n : _c(\"span\", {\n staticStyle: { \"white-space\": \"pre-wrap\" },\n domProps: { innerHTML: _vm._s(_vm.value) }\n }),\n _vm._v(\" \"),\n _vm.sign ? _c(\"span\", [_vm._v(_vm._s(_vm.sign))]) : _vm._e()\n ])\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-xs-1 col-sm-1 col-1\" }, [\n _vm.hasErrors(failedRules) && _vm.validate && !_vm.isReadOnly\n ? _c(\n \"span\",\n {\n class: [\n _vm.alignRight ? \"float-left\" : \"float-right\",\n \"warning-text\"\n ]\n },\n [\n _c(\"i\", {\n staticClass:\n \"fas fa-exclamation-triangle fa-lg icon textrow-icon\"\n })\n ]\n )\n : _vm._e()\n ])\n ])\n ]\n }\n }\n ])\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins, Watch } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nvar AidYearAmountRow = /** @class */ (function (_super) {\r\n __extends(AidYearAmountRow, _super);\r\n // this component is usable only for payment plan as it is.\r\n function AidYearAmountRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(AidYearAmountRow.prototype, \"provider\", {\r\n get: function () {\r\n return this.$refs.provider;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n AidYearAmountRow.prototype.mounted = function () {\r\n if (this.validate) {\r\n this.provider.validate();\r\n }\r\n };\r\n AidYearAmountRow.prototype.onChange = function () {\r\n if (this.validate) {\r\n this.provider.validate();\r\n }\r\n };\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], AidYearAmountRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], AidYearAmountRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], AidYearAmountRow.prototype, \"doNotUseResources\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], AidYearAmountRow.prototype, \"labelClass\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], AidYearAmountRow.prototype, \"valueClass\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], AidYearAmountRow.prototype, \"bold\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], AidYearAmountRow.prototype, \"formatNumber\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], AidYearAmountRow.prototype, \"sign\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], AidYearAmountRow.prototype, \"alignRight\", void 0);\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], AidYearAmountRow.prototype, \"valueToValidate\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], AidYearAmountRow.prototype, \"validate\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", Object)\r\n ], AidYearAmountRow.prototype, \"rules\", void 0);\r\n __decorate([\r\n Watch(\"valueToValidate\"),\r\n __metadata(\"design:type\", Function),\r\n __metadata(\"design:paramtypes\", []),\r\n __metadata(\"design:returntype\", void 0)\r\n ], AidYearAmountRow.prototype, \"onChange\", null);\r\n AidYearAmountRow = __decorate([\r\n Component({\r\n name: 'AidYearAmountRow',\r\n components: {\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n // this component is usable only for payment plan as it is.\r\n ], AidYearAmountRow);\r\n return AidYearAmountRow;\r\n}(Mixins(Savable, Validatable)));\r\nexport default AidYearAmountRow;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AidYearAmountRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AidYearAmountRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AidYearAmountRow.vue?vue&type=template&id=7ad00634&\"\nimport script from \"./AidYearAmountRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./AidYearAmountRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('7ad00634', component.options)\n } else {\n api.reload('7ad00634', component.options)\n }\n module.hot.accept(\"./AidYearAmountRow.vue?vue&type=template&id=7ad00634&\", function () {\n api.rerender('7ad00634', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/paymentPlan/AidYearAmountRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.validate\n ? _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: { rules: _vm.rules, slim: \"\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"div\", { staticClass: \"row form-group text-area-row\" }, [\n _c(\n \"span\",\n {\n class: [\n _vm.labelClass\n ? _vm.labelClass\n : \"col-xs-12 col-sm-5\",\n \"col-form-label calculated-row\",\n _vm.bold ? \"bold\" : \"\"\n ]\n },\n [\n _vm.doNotUseResources\n ? _c(\"span\", [_vm._v(_vm._s(_vm.title))])\n : _c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.title)))])\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: [\n _vm.valueClass\n ? _vm.valueClass\n : \"col-xs-12 col-sm-7\",\n \"col-form-label calculated-row\"\n ]\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.value,\n expression: \"value\"\n }\n ],\n staticClass: \"d-none\",\n attrs: {\n \"aria-hidden\": \"true\",\n \"aria-label\": \"hidden field for validation\"\n },\n domProps: { value: _vm.value },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.value = $event.target.value\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"span\",\n { class: { \"float-right\": _vm.alignRight } },\n [\n _vm.formatNumber\n ? _c(\n \"span\",\n {\n staticStyle: { \"white-space\": \"pre-wrap\" }\n },\n [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(_vm.value))\n )\n ]\n )\n : _c(\"span\", {\n staticStyle: { \"white-space\": \"pre-wrap\" },\n domProps: { innerHTML: _vm._s(_vm.value) }\n }),\n _vm._v(\" \"),\n _vm.sign\n ? _c(\"span\", [_vm._v(_vm._s(_vm.sign))])\n : _vm._e()\n ]\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-xs-1 col-sm-1 col-1\" }, [\n _vm.hasErrors(failedRules) && !_vm.isReadOnly\n ? _c(\n \"span\",\n { staticClass: \"float-left warning-text\" },\n [\n _c(\"i\", {\n staticClass:\n \"fas fa-exclamation-triangle fa-lg icon textrow-icon\"\n })\n ]\n )\n : _vm._e()\n ])\n ])\n ]\n }\n }\n ],\n null,\n false,\n 953806750\n )\n })\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins, Watch } from 'vue-property-decorator';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nvar ValueDisplayRow = /** @class */ (function (_super) {\r\n __extends(ValueDisplayRow, _super);\r\n function ValueDisplayRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(ValueDisplayRow.prototype, \"provider\", {\r\n get: function () {\r\n return this.$refs.provider;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n ValueDisplayRow.prototype.onChange = function () {\r\n this.provider.validate();\r\n };\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], ValueDisplayRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: Number, required: true }),\r\n __metadata(\"design:type\", Number)\r\n ], ValueDisplayRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], ValueDisplayRow.prototype, \"doNotUseResources\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", Object)\r\n ], ValueDisplayRow.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], ValueDisplayRow.prototype, \"labelClass\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], ValueDisplayRow.prototype, \"valueClass\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], ValueDisplayRow.prototype, \"bold\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], ValueDisplayRow.prototype, \"formatNumber\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], ValueDisplayRow.prototype, \"sign\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], ValueDisplayRow.prototype, \"alignRight\", void 0);\r\n __decorate([\r\n Prop(Boolean),\r\n __metadata(\"design:type\", Boolean)\r\n ], ValueDisplayRow.prototype, \"validate\", void 0);\r\n __decorate([\r\n Watch(\"value\"),\r\n __metadata(\"design:type\", Function),\r\n __metadata(\"design:paramtypes\", []),\r\n __metadata(\"design:returntype\", void 0)\r\n ], ValueDisplayRow.prototype, \"onChange\", null);\r\n ValueDisplayRow = __decorate([\r\n Component({\r\n name: 'ValueDisplayRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n ], ValueDisplayRow);\r\n return ValueDisplayRow;\r\n}(Mixins(Validatable, Savable)));\r\nexport default ValueDisplayRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValueDisplayRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValueDisplayRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ValueDisplayRow.vue?vue&type=template&id=672af05d&\"\nimport script from \"./ValueDisplayRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./ValueDisplayRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('672af05d', component.options)\n } else {\n api.reload('672af05d', component.options)\n }\n module.hot.accept(\"./ValueDisplayRow.vue?vue&type=template&id=672af05d&\", function () {\n api.rerender('672af05d', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/ValueDisplayRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _vm.model.decisionDate\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.decisionDateTitle))])]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2899165543\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(_vm.model.decisionDate, \"D.M.YYYY\")\n )\n )\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.record.aidTargetNumber\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 811736684\n )\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.record.aidTargetNumber))]],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.record.year\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Year\")))])]\n },\n proxy: true\n }\n ],\n null,\n false,\n 1196558621\n )\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.record.year))]],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.amountTitle))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(_vm.model.refundAmount, 2)) + \" €\"\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.refundInterest\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.interestTitle))])]\n },\n proxy: true\n }\n ],\n null,\n false,\n 296146597\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(_vm.model.refundInterest, 2)) +\n \" €\"\n )\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.refundInterest\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.totalTitle))])]\n },\n proxy: true\n }\n ],\n null,\n false,\n 4050897921\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(_vm.model.refundAmountTotal, 2)\n ) + \" €\"\n )\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.reasoningTitle))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.reasoning) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\"div\", [_c(\"p\", [_vm._v(_vm._s(_vm.notes))])]),\n _vm._v(\" \"),\n _vm.model.includeInstructions\n ? _c(\"div\", { staticClass: \"instructions\" }, [\n _c(\"div\", { domProps: { innerHTML: _vm._s(_vm.instructions) } })\n ])\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nimport TextLabelControl from \"@/common/components/TextLabelControl.vue\";\r\nvar RefundControl = /** @class */ (function (_super) {\r\n __extends(RefundControl, _super);\r\n function RefundControl() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(RefundControl.prototype, \"isClaimForRecovery\", {\r\n get: function () {\r\n return this.model.record.recordType == \"ClaimForRecovery\";\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"decisionDateTitle\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".DecisionDate\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"amountTitle\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".Amount\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"interestTitle\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".Interest\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"totalTitle\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".Total\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"reasoningTitle\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".Reasoning\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"notes\", {\r\n get: function () {\r\n var path = \"Feedback.\" + this.model.record.recordType + \".Note\";\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(RefundControl.prototype, \"instructions\", {\r\n get: function () {\r\n var path = this.isClaimForRecovery ? 'claimForRecovery' : 'refundRequest';\r\n return this.$t(path).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n RefundControl.prototype.getStringValue = function (value) {\r\n return value ? value.toString() : null;\r\n };\r\n var _a, _b;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", Object)\r\n ], RefundControl.prototype, \"model\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], RefundControl.prototype, \"organisationName\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], RefundControl.prototype, \"organisationNumber\", void 0);\r\n RefundControl = __decorate([\r\n Component({\r\n name: \"RefundControl\",\r\n components: {\r\n TextLabelRow: TextLabelRow,\r\n TextLabelControl: TextLabelControl\r\n }\r\n })\r\n ], RefundControl);\r\n return RefundControl;\r\n}(Vue));\r\nexport default RefundControl;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./RefundControl.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./RefundControl.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./RefundControl.vue?vue&type=template&id=94cc5f4e&\"\nimport script from \"./RefundControl.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./RefundControl.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('94cc5f4e', component.options)\n } else {\n api.reload('94cc5f4e', component.options)\n }\n module.hot.accept(\"./RefundControl.vue?vue&type=template&id=94cc5f4e&\", function () {\n api.rerender('94cc5f4e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/refund/RefundControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { class: [_vm.hasTitle ? \"form-group row mt-4\" : \"\", \"select\"] },\n [\n _vm.title\n ? _c(\"label-control\", {\n class: {\n \"col-xs-12 col-sm-5 col-form-label\": _vm.hasTitle,\n \"sr-only\": _vm.srLabel\n },\n attrs: {\n id: _vm.title,\n title: _vm.title,\n srOnly: _vm.srLabel,\n required: _vm.required,\n forElement: _vm.id\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n this.options\n ? _c(\n \"div\",\n { class: { \"col-xs-12 col-sm-7\": _vm.hasTitle } },\n [\n _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: { rules: { required: _vm.required }, slim: \"\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\n \"select\",\n {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.selectedValue,\n expression: \"selectedValue\"\n }\n ],\n class: _vm.getValidationErrorClasses(failedRules),\n attrs: {\n name: _vm.id,\n id: _vm.id,\n disabled: _vm.isReadonly,\n \"aria-required\": _vm.required,\n \"aria-invalid\":\n _vm.required && errors.length > 0\n },\n on: {\n change: function($event) {\n var $$selectedVal = Array.prototype.filter\n .call($event.target.options, function(o) {\n return o.selected\n })\n .map(function(o) {\n var val =\n \"_value\" in o ? o._value : o.value\n return val\n })\n _vm.selectedValue = $event.target.multiple\n ? $$selectedVal\n : $$selectedVal[0]\n }\n }\n },\n [\n !_vm.omitPlaceholder\n ? _c(\n \"option\",\n {\n attrs: { selected: \"\" },\n domProps: { value: null }\n },\n [_vm._v(_vm._s(_vm.placeholderLabel))]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_vm.options, function(option) {\n return _c(\n \"option\",\n {\n attrs: {\n title: _vm.doTruncation(option)\n ? _vm.getDisplayName(option)\n : null\n },\n domProps: { value: option }\n },\n [\n _vm.doTruncation(option)\n ? _c(\n \"span\",\n { attrs: { \"aria-hidden\": true } },\n [\n _vm._v(\n _vm._s(\n _vm._f(\"truncate\")(\n _vm.getDisplayName(option),\n _vm.truncateLength\n )\n )\n )\n ]\n )\n : _c(\n \"span\",\n { attrs: { \"aria-hidden\": false } },\n [\n _vm._v(\n _vm._s(_vm.getDisplayName(option))\n )\n ]\n )\n ]\n )\n })\n ],\n 2\n )\n ]\n }\n }\n ],\n null,\n false,\n 3425489782\n )\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar SingleSelectRow = /** @class */ (function (_super) {\r\n __extends(SingleSelectRow, _super);\r\n function SingleSelectRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(SingleSelectRow.prototype, \"hasTitle\", {\r\n get: function () {\r\n if (this.srLabel) {\r\n return false;\r\n }\r\n else if (this.title) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(SingleSelectRow.prototype, \"placeholderLabel\", {\r\n get: function () {\r\n if (this.isReadonly)\r\n return '';\r\n return this.placeholder\r\n ? this.placeholder\r\n : this.$i18n.t(\"Selection.Choose\").toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n SingleSelectRow.prototype.doTruncation = function (option) {\r\n var name = this.getDisplayName(option);\r\n return name ? name.length > this.truncateLength : false;\r\n };\r\n SingleSelectRow.prototype.getDisplayName = function (option) {\r\n return this.titleSelector(option);\r\n };\r\n Object.defineProperty(SingleSelectRow.prototype, \"selectedValue\", {\r\n get: function () {\r\n // While data is loading, we still want to show the option so there is no flickering and jumping.\r\n if (this.value && this.options.length == 0) {\r\n this.options.push(this.value);\r\n }\r\n return this.value;\r\n },\r\n set: function (modifiedValue) {\r\n this.$emit(\"input\", modifiedValue);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectRow.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectRow.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: Object, default: null }),\r\n __metadata(\"design:type\", Object)\r\n ], SingleSelectRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true, default: function () { return []; } }),\r\n __metadata(\"design:type\", Array)\r\n ], SingleSelectRow.prototype, \"options\", void 0);\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], SingleSelectRow.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectRow.prototype, \"omitPlaceholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectRow.prototype, \"srLabel\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 70 }),\r\n __metadata(\"design:type\", Number)\r\n ], SingleSelectRow.prototype, \"truncateLength\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SingleSelectRow.prototype, \"isReadonly\", void 0);\r\n __decorate([\r\n Prop({\r\n type: Function,\r\n required: false,\r\n default: function (option) { return option.name; }\r\n }),\r\n __metadata(\"design:type\", Function)\r\n ], SingleSelectRow.prototype, \"titleSelector\", void 0);\r\n SingleSelectRow = __decorate([\r\n Component({\r\n name: 'SingleSelectRow',\r\n components: {\r\n ValidationProvider: ValidationProvider,\r\n LabelControl: LabelControl\r\n }\r\n })\r\n ], SingleSelectRow);\r\n return SingleSelectRow;\r\n}(Mixins(Validatable)));\r\nexport default SingleSelectRow;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleSelectRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleSelectRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SingleSelectRow.vue?vue&type=template&id=6567f624&\"\nimport script from \"./SingleSelectRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./SingleSelectRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('6567f624', component.options)\n } else {\n api.reload('6567f624', component.options)\n }\n module.hot.accept(\"./SingleSelectRow.vue?vue&type=template&id=6567f624&\", function () {\n api.rerender('6567f624', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/unsavable/SingleSelectRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _vm.model.isPaymentRequest\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.PaymentRequestExpenseReport.ApprovedAmountToPay\",\n formatNumber: true,\n bold: true,\n sign: \"€\",\n value: _vm.getNumberAsString(_vm.feedback.approvedAmountToPay)\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.isExpenseReport\n ? _c(\n \"div\",\n [\n _c(\"text-label-row\", {\n attrs: {\n title: \"PaymentRequestER.ExpenseReport.AccountingPeriod\",\n bold: true,\n value: _vm.accountingPeriod\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"PaymentRequestER.ExpenseReport.AidTargetOtherProfit\",\n formatNumber: true,\n bold: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.expenseReport.aidTargetOtherProfit\n )\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"PaymentRequestER.ExpenseReport.AidTargetExpenses\",\n formatNumber: true,\n bold: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.expenseReport.aidTargetExpenses\n )\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.PaymentRequestExpenseReport.ApprovedProfits\",\n formatNumber: true,\n bold: true,\n sign: \"€\",\n value: _vm.getNumberAsString(_vm.feedback.approvedProfits)\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title:\n \"Feedback.PaymentRequestExpenseReport.ApprovedExpenses\",\n formatNumber: true,\n bold: true,\n sign: \"€\",\n value: _vm.getNumberAsString(_vm.feedback.approvedExpenses)\n }\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport { PaymentRequestExpenseReport } from \"@/common/types/PaymentRequestExpenseReport\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nvar PaymentRequestExpenseReportFeedbackView = /** @class */ (function (_super) {\r\n __extends(PaymentRequestExpenseReportFeedbackView, _super);\r\n function PaymentRequestExpenseReportFeedbackView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(PaymentRequestExpenseReportFeedbackView.prototype, \"expenseReport\", {\r\n get: function () {\r\n return this.model.expenseReport;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(PaymentRequestExpenseReportFeedbackView.prototype, \"feedback\", {\r\n get: function () {\r\n return this.model.feedback;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(PaymentRequestExpenseReportFeedbackView.prototype, \"accountingPeriod\", {\r\n get: function () {\r\n return (\"1.1.\" + this.expenseReport.year + \" - 31.12.\" + this.expenseReport.year).toString();\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n PaymentRequestExpenseReportFeedbackView.prototype.getNumberAsString = function (value) {\r\n return value == null ? null : value.toString();\r\n };\r\n var _a;\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof PaymentRequestExpenseReport !== \"undefined\" && PaymentRequestExpenseReport) === \"function\" ? _a : Object)\r\n ], PaymentRequestExpenseReportFeedbackView.prototype, \"model\", void 0);\r\n PaymentRequestExpenseReportFeedbackView = __decorate([\r\n Component({\r\n name: \"PaymentRequestExpenseReportFeedbackView\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], PaymentRequestExpenseReportFeedbackView);\r\n return PaymentRequestExpenseReportFeedbackView;\r\n}(Vue));\r\nexport default PaymentRequestExpenseReportFeedbackView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./PaymentRequestExpenseReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./PaymentRequestExpenseReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./PaymentRequestExpenseReportFeedbackView.vue?vue&type=template&id=6130424e&\"\nimport script from \"./PaymentRequestExpenseReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./PaymentRequestExpenseReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('6130424e', component.options)\n } else {\n api.reload('6130424e', component.options)\n }\n module.hot.accept(\"./PaymentRequestExpenseReportFeedbackView.vue?vue&type=template&id=6130424e&\", function () {\n api.rerender('6130424e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/PaymentRequestExpenseReportFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _vm.isGrantedAtOnceProject\n ? _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Feedback.AidApplication.AidProposalGrantedAtOnceProject.Description1\"\n )\n )\n )\n ])\n : _c(\"p\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.AidApplication.AidProposal.Description1\"))\n )\n ]),\n _vm._v(\" \"),\n _vm.isApproved\n ? _c(\"p\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.AidApplication.AidProposal.Description2\"))\n )\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.currentUser.organisationName\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"OrganisationName\",\n bold: true,\n value: _vm.currentUser.organisationName\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.currentUser.organisationNumber\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Pdf.OrganisationNumber\",\n bold: true,\n value: _vm.getNumberAsString(_vm.currentUser.organisationNumber)\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.AidApplication.AidTarget\",\n bold: true,\n value: _vm.record.aidTargetNumber\n }\n }),\n _vm._v(\" \"),\n _vm.purpose\n ? _c(\"text-label-row\", {\n attrs: { title: \"Purpose\", bold: true, value: _vm.purpose }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.isApproved && _vm.model.feedback.decisionTerms\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.AidApplication.AidTargetDecisionTerms\",\n bold: true,\n value: _vm.model.feedback.decisionTerms\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: _vm.requestedAmountTitle,\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(_vm.model.feedback.requestedAmount)\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: _vm.proposedAmountTitle,\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(_vm.model.feedback.proposedAmount)\n }\n }),\n _vm._v(\" \"),\n _vm.isGrantedAtOnceProject\n ? _c(\n \"div\",\n [\n _vm.hasValue(_vm.model.feedback.proposedAmount2)\n ? _c(\"text-label-row\", {\n attrs: {\n title: _vm.$t(\n \"Feedback.AidApplication.AidProposalGrantedAtOnceProject.ProposedAmount\",\n { 0: _vm.record.year + 1 }\n ),\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.model.feedback.proposedAmount2\n )\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.hasValue(_vm.model.feedback.proposedAmount3)\n ? _c(\"text-label-row\", {\n attrs: {\n title: _vm.$t(\n \"Feedback.AidApplication.AidProposalGrantedAtOnceProject.ProposedAmount\",\n { 0: _vm.record.year + 2 }\n ),\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.model.feedback.proposedAmount3\n )\n }\n })\n : _vm._e()\n ],\n 1\n )\n : _vm.isApproved\n ? _c(\n \"div\",\n [\n _vm.hasValue(_vm.model.feedback.plannedAid1)\n ? _c(\"text-label-row\", {\n attrs: {\n title: _vm.$t(\"Feedback.AidApplication.PlannedAid\", {\n 0: _vm.record.year + 1\n }),\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.model.feedback.plannedAid1\n )\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.hasValue(_vm.model.feedback.plannedAid2)\n ? _c(\"text-label-row\", {\n attrs: {\n title: _vm.$t(\"Feedback.AidApplication.PlannedAid\", {\n 0: _vm.record.year + 2\n }),\n bold: true,\n formatNumber: true,\n doNotUseResources: true,\n sign: \"€\",\n value: _vm.getNumberAsString(\n _vm.model.feedback.plannedAid2\n )\n }\n })\n : _vm._e()\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.isApproved\n ? _c(\n \"div\",\n [\n _vm.model.isB\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.AidPercent\",\n bold: true,\n sign: \"%\",\n value: _vm.getNumberAsString(\n _vm.model.feedback.aidPercent\n )\n }\n })\n : _vm._e()\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.record.feedback\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.AidApplication.AidProposal.Feedback\",\n bold: true,\n value: _vm.record.feedback\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.isApproved && _vm.model.feedback.aidTargetInstructions\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.AidApplication.AidTargetInstructions\",\n bold: true,\n value: _vm.model.feedback.aidTargetInstructions\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"p\", { staticClass: \"mt-5\" }, [\n _vm._v(_vm._s(_vm.$t(\"Feedback.AidApplication.AidDecision.MoreInfo\")))\n ]),\n _vm._v(\" \"),\n _vm.model.feedback.draftsman\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.Draftsman\",\n bold: true,\n value: _vm.model.feedback.draftsman.contactInfo\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.feedback.inspector\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.Inspector\",\n bold: true,\n value: _vm.model.feedback.inspector.contactInfo\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.feedback.supervisor\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Feedback.Supervisor\",\n bold: true,\n value: _vm.model.feedback.supervisor.contactInfo\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"p\", { staticClass: \"mt-5 mb-5\" }, [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.AidApplication.AidProposal.Description3\"))\n )\n ])\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nimport { Component } from \"vue-property-decorator\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nimport AidApplicationFeedbackBase from \"./AidApplicationFeedbackBase\";\r\nvar AidProposalView = /** @class */ (function (_super) {\r\n __extends(AidProposalView, _super);\r\n function AidProposalView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(AidProposalView.prototype, \"isApproved\", {\r\n get: function () {\r\n return this.model.feedback.proposedAmount > 0;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidProposalView.prototype, \"requestedAmountTitle\", {\r\n get: function () {\r\n return (this.isGrantedAtOnceProject\r\n ? this.$t(\"Feedback.AidApplication.AidProposalGrantedAtOnceProject.RequestedAmount\")\r\n : this.$t(\"Feedback.AidApplication.RequestedAmount\", { 0: this.record.year }));\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(AidProposalView.prototype, \"proposedAmountTitle\", {\r\n get: function () {\r\n var resourcekey = this.isGrantedAtOnceProject\r\n ? \"Feedback.AidApplication.AidProposalGrantedAtOnceProject.ProposedAmount\"\r\n : \"Feedback.AidApplication.AidProposal.ProposedAmount\";\r\n return this.$t(resourcekey, { 0: this.record.year });\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n AidProposalView = __decorate([\r\n Component({\r\n name: \"AidProposalView\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], AidProposalView);\r\n return AidProposalView;\r\n}(AidApplicationFeedbackBase));\r\nexport default AidProposalView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./AidProposalView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./AidProposalView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./AidProposalView.vue?vue&type=template&id=59ed6b18&\"\nimport script from \"./AidProposalView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./AidProposalView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('59ed6b18', component.options)\n } else {\n api.reload('59ed6b18', component.options)\n }\n module.hot.accept(\"./AidProposalView.vue?vue&type=template&id=59ed6b18&\", function () {\n api.rerender('59ed6b18', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/AidProposalView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"div\", { staticClass: \"row\" }, [\n _c(\"h2\", { staticClass: \"col-12\" }, [\n _vm._v(_vm._s(_vm.$t(\"Feedback.Ready\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.record.aidTargetNumber\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 811736684\n )\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.record.aidTargetNumber))]],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Purpose\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.approvalDate\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.ApprovalDate\")))\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2913047462\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(_vm.model.approvalDate, \"D.M.YYYY\")\n )\n )\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Feedback.State\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm.$t(\"Enums.DecisionState.\" + _vm.model.record.decisionState)\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Feedback.Feedback\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.record.feedback) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.showDecisionMaker\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.DecisionMaker\")))\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 392680949\n )\n },\n [\n _vm._v(\" \"),\n [_vm._v(_vm._s(_vm.model.record.decisionMaker.contactInfo))]\n ],\n 2\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nimport TextLabelControl from \"@/common/components/TextLabelControl.vue\";\r\nvar RefundFeedbackView = /** @class */ (function (_super) {\r\n __extends(RefundFeedbackView, _super);\r\n function RefundFeedbackView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n var _a, _b;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", Object)\r\n ], RefundFeedbackView.prototype, \"model\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], RefundFeedbackView.prototype, \"organisationName\", void 0);\r\n __decorate([\r\n Prop({ type: Number, required: true }),\r\n __metadata(\"design:type\", Number)\r\n ], RefundFeedbackView.prototype, \"organisationNumber\", void 0);\r\n RefundFeedbackView = __decorate([\r\n Component({\r\n name: \"RefundFeedbackView\",\r\n components: {\r\n TextLabelRow: TextLabelRow,\r\n TextLabelControl: TextLabelControl\r\n }\r\n })\r\n ], RefundFeedbackView);\r\n return RefundFeedbackView;\r\n}(Vue));\r\nexport default RefundFeedbackView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./RefundFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./RefundFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./RefundFeedbackView.vue?vue&type=template&id=9096c9de&\"\nimport script from \"./RefundFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./RefundFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('9096c9de', component.options)\n } else {\n api.reload('9096c9de', component.options)\n }\n module.hot.accept(\"./RefundFeedbackView.vue?vue&type=template&id=9096c9de&\", function () {\n api.rerender('9096c9de', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/RefundFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Feedback.DecisionDate\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(_vm.model.decisionDate, \"D.M.YYYY\")\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.aidTargetNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Purpose\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.isApproved\n ? _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"DeadlineChange.PreviousLastUseDate\")\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 743879932\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(\n _vm.model.lastAidUseDate,\n \"D.M.YYYY\"\n )\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"DeadlineChange.UpdatedLastUseDate\")\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2392774712\n )\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(\n _vm.model.updatedLastUseDate,\n \"D.M.YYYY\"\n )\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"DeadlineChange.ApproximateAmount\")\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 1216953228\n )\n },\n [\n _vm._v(\" \"),\n [_vm._v(_vm._s(_vm.model.approximateAmount) + \" €\")]\n ],\n 2\n )\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"ChangeRequests.Decision\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.feedbackDecision) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.DecisionArguments\")))\n ])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.feedbackDecisionArguments)\n }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.introducerNoteOfDissent\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.NoteOfDissent\")))\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2846662323\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.introducerNoteOfDissent)\n }\n })\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.showDecisionMaker\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.Decision.DecisionMaker\"))\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 610654091\n )\n },\n [\n _vm._v(\" \"),\n [_vm._v(_vm._s(_vm.model.record.decisionMaker.contactInfo))]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"br\"),\n _vm._v(\" \"),\n _c(\"div\", {\n domProps: { innerHTML: _vm._s(_vm.$t(\"decisionAppealsInstructions\")) }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport TextLabelControl from \"@/common/components/TextLabelControl.vue\";\r\nimport { DeadlineChange } from \"@/common/types/DeadlineChange\";\r\nimport { DecisionState } from \"@/common/types/DecisionState\";\r\nvar DeadlineChangeFeedbackView = /** @class */ (function (_super) {\r\n __extends(DeadlineChangeFeedbackView, _super);\r\n function DeadlineChangeFeedbackView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(DeadlineChangeFeedbackView.prototype, \"isApproved\", {\r\n get: function () {\r\n return this.model.record.decisionState == DecisionState.Approved;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof DeadlineChange !== \"undefined\" && DeadlineChange) === \"function\" ? _a : Object)\r\n ], DeadlineChangeFeedbackView.prototype, \"model\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], DeadlineChangeFeedbackView.prototype, \"organisationName\", void 0);\r\n __decorate([\r\n Prop({ type: Number, required: true }),\r\n __metadata(\"design:type\", Number)\r\n ], DeadlineChangeFeedbackView.prototype, \"organisationNumber\", void 0);\r\n DeadlineChangeFeedbackView = __decorate([\r\n Component({\r\n name: \"DeadlineChangeFeedbackView\",\r\n components: {\r\n TextLabelControl: TextLabelControl\r\n }\r\n })\r\n ], DeadlineChangeFeedbackView);\r\n return DeadlineChangeFeedbackView;\r\n}(Vue));\r\nexport default DeadlineChangeFeedbackView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeadlineChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeadlineChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./DeadlineChangeFeedbackView.vue?vue&type=template&id=3a8b0cc1&\"\nimport script from \"./DeadlineChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./DeadlineChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('3a8b0cc1', component.options)\n } else {\n api.reload('3a8b0cc1', component.options)\n }\n module.hot.accept(\"./DeadlineChangeFeedbackView.vue?vue&type=template&id=3a8b0cc1&\", function () {\n api.rerender('3a8b0cc1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/DeadlineChangeFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Feedback.DecisionDate\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(_vm.model.decisionDate, \"D.M.YYYY\")\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.aidTargetNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _vm.isApproved\n ? _c(\"div\", [\n _vm.isPurposeChange\n ? _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"PurposeChange.PreviousPurpose\")\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 1884356875\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"PurposeChange.UpdatedPurpose\")\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2693880175\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.updatedPurpose)\n }\n })\n ]\n ],\n 2\n )\n ],\n 1\n )\n : _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Purpose\")))])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 73707884\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"PurposeChange.PreviousDecisionTerms\"\n )\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 1355558584\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.decisionTerms)\n }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"PurposeChange.UpdatedDecisionTerms\"\n )\n )\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 969215100\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.updatedDecisionTerms)\n }\n })\n ]\n ],\n 2\n )\n ],\n 1\n )\n ])\n : _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Purpose\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n )\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"ChangeRequests.Decision\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.feedbackDecision) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.DecisionArguments\")))\n ])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.feedbackDecisionArguments)\n }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.introducerNoteOfDissent\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.NoteOfDissent\")))\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2846662323\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.introducerNoteOfDissent)\n }\n })\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.showDecisionMaker\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.Decision.DecisionMaker\"))\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 610654091\n )\n },\n [\n _vm._v(\" \"),\n [_vm._v(_vm._s(_vm.model.record.decisionMaker.contactInfo))]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"br\"),\n _vm._v(\" \"),\n _c(\"div\", {\n domProps: { innerHTML: _vm._s(_vm.$t(\"decisionAppealsInstructions\")) }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport TextLabelControl from \"@/common/components/TextLabelControl.vue\";\r\nimport { PurposeChange } from \"@/common/types/PurposeChange\";\r\nimport { DecisionState } from \"@/common/types/DecisionState\";\r\nvar PurposeChangeFeedbackView = /** @class */ (function (_super) {\r\n __extends(PurposeChangeFeedbackView, _super);\r\n function PurposeChangeFeedbackView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(PurposeChangeFeedbackView.prototype, \"isApproved\", {\r\n get: function () {\r\n return this.model.record.decisionState == DecisionState.Approved;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(PurposeChangeFeedbackView.prototype, \"isPurposeChange\", {\r\n get: function () {\r\n return this.model.isPurposeChange;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof PurposeChange !== \"undefined\" && PurposeChange) === \"function\" ? _a : Object)\r\n ], PurposeChangeFeedbackView.prototype, \"model\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], PurposeChangeFeedbackView.prototype, \"organisationName\", void 0);\r\n __decorate([\r\n Prop({ type: Number, required: true }),\r\n __metadata(\"design:type\", Number)\r\n ], PurposeChangeFeedbackView.prototype, \"organisationNumber\", void 0);\r\n PurposeChangeFeedbackView = __decorate([\r\n Component({\r\n name: \"PurposeChangeFeedbackView\",\r\n components: {\r\n TextLabelControl: TextLabelControl\r\n }\r\n })\r\n ], PurposeChangeFeedbackView);\r\n return PurposeChangeFeedbackView;\r\n}(Vue));\r\nexport default PurposeChangeFeedbackView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PurposeChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PurposeChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./PurposeChangeFeedbackView.vue?vue&type=template&id=30175c0e&\"\nimport script from \"./PurposeChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./PurposeChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('30175c0e', component.options)\n } else {\n api.reload('30175c0e', component.options)\n }\n module.hot.accept(\"./PurposeChangeFeedbackView.vue?vue&type=template&id=30175c0e&\", function () {\n api.rerender('30175c0e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/PurposeChangeFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Feedback.DecisionDate\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDatetime\")(_vm.model.decisionDate, \"D.M.YYYY\")\n )\n )\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.aidTargetNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Purpose\")))])]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.purpose) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.isApproved\n ? _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(_vm.$t(\"TargetChange.NewAidTarget\"))\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2624130794\n )\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.newAidTarget))]],\n 2\n )\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"ChangeRequests.Decision\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: { innerHTML: _vm._s(_vm.model.feedbackDecision) }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.DecisionArguments\")))\n ])\n ]\n },\n proxy: true\n }\n ])\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.feedbackDecisionArguments)\n }\n })\n ]\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.model.introducerNoteOfDissent\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(_vm._s(_vm.$t(\"ChangeRequests.NoteOfDissent\")))\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 2846662323\n )\n },\n [\n _vm._v(\" \"),\n [\n _c(\"span\", {\n staticClass: \"preformatted\",\n domProps: {\n innerHTML: _vm._s(_vm.model.introducerNoteOfDissent)\n }\n })\n ]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.showDecisionMaker\n ? _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u(\n [\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.Decision.DecisionMaker\"))\n )\n ])\n ]\n },\n proxy: true\n }\n ],\n null,\n false,\n 610654091\n )\n },\n [\n _vm._v(\" \"),\n [_vm._v(_vm._s(_vm.model.record.decisionMaker.contactInfo))]\n ],\n 2\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"br\"),\n _vm._v(\" \"),\n _c(\"div\", {\n domProps: { innerHTML: _vm._s(_vm.$t(\"decisionAppealsInstructions\")) }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport TextLabelControl from \"@/common/components/TextLabelControl.vue\";\r\nimport { TargetChange } from \"@/common/types/TargetChange\";\r\nimport { DecisionState } from \"@/common/types/DecisionState\";\r\nvar TargetChangeFeedbackView = /** @class */ (function (_super) {\r\n __extends(TargetChangeFeedbackView, _super);\r\n function TargetChangeFeedbackView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(TargetChangeFeedbackView.prototype, \"isApproved\", {\r\n get: function () {\r\n return this.model.record.decisionState == DecisionState.Approved;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof TargetChange !== \"undefined\" && TargetChange) === \"function\" ? _a : Object)\r\n ], TargetChangeFeedbackView.prototype, \"model\", void 0);\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], TargetChangeFeedbackView.prototype, \"organisationName\", void 0);\r\n __decorate([\r\n Prop({ type: Number, required: true }),\r\n __metadata(\"design:type\", Number)\r\n ], TargetChangeFeedbackView.prototype, \"organisationNumber\", void 0);\r\n TargetChangeFeedbackView = __decorate([\r\n Component({\r\n name: \"TargetChangeFeedbackView\",\r\n components: {\r\n TextLabelControl: TextLabelControl\r\n }\r\n })\r\n ], TargetChangeFeedbackView);\r\n return TargetChangeFeedbackView;\r\n}(Vue));\r\nexport default TargetChangeFeedbackView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TargetChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TargetChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./TargetChangeFeedbackView.vue?vue&type=template&id=2567460c&\"\nimport script from \"./TargetChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./TargetChangeFeedbackView.vue?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('2567460c', component.options)\n } else {\n api.reload('2567460c', component.options)\n }\n module.hot.accept(\"./TargetChangeFeedbackView.vue?vue&type=template&id=2567460c&\", function () {\n api.rerender('2567460c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/TargetChangeFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _vm.model.transferredAmount\n ? _c(\"text-label-row\", {\n attrs: {\n title:\n \"Notification.TransferredAmountNotification.TransferredAmount\",\n bold: true,\n formatNumber: true,\n sign: \"€\",\n value: _vm.getStringValue(_vm.model.transferredAmount)\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.comments\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Notification.TransferredAmountNotification.Comments\",\n bold: true,\n value: _vm.model.comments\n }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport { TransferredAmountNotification } from \"@/common/types/TransferredAmountNotification\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nvar TransferredAmountView = /** @class */ (function (_super) {\r\n __extends(TransferredAmountView, _super);\r\n function TransferredAmountView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n TransferredAmountView.prototype.getStringValue = function (value) {\r\n return value ? value.toString() : null;\r\n };\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof TransferredAmountNotification !== \"undefined\" && TransferredAmountNotification) === \"function\" ? _a : Object)\r\n ], TransferredAmountView.prototype, \"model\", void 0);\r\n TransferredAmountView = __decorate([\r\n Component({\r\n name: \"TransferredAmountView\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], TransferredAmountView);\r\n return TransferredAmountView;\r\n}(Vue));\r\nexport default TransferredAmountView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./TransferredAmountView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./TransferredAmountView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./TransferredAmountView.vue?vue&type=template&id=0511b08a&\"\nimport script from \"./TransferredAmountView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./TransferredAmountView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('0511b08a', component.options)\n } else {\n api.reload('0511b08a', component.options)\n }\n module.hot.accept(\"./TransferredAmountView.vue?vue&type=template&id=0511b08a&\", function () {\n api.rerender('0511b08a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/notification/TransferredAmountView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _vm.model.basicInformation\n ? _c(\"text-label-row\", {\n attrs: {\n title:\n \"Notification.InspectionVisitNotification.BasicInformation\",\n bold: true,\n value: _vm.model.basicInformation\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.goalScopeAndRestrictions\n ? _c(\"text-label-row\", {\n attrs: {\n title:\n \"Notification.InspectionVisitNotification.GoalScopeAndRestrictions\",\n bold: true,\n value: _vm.model.goalScopeAndRestrictions\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.preparations\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Notification.InspectionVisitNotification.Preparations\",\n bold: true,\n value: _vm.model.preparations\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.inspectionReportAndAnswer\n ? _c(\"text-label-row\", {\n attrs: {\n title:\n \"Notification.InspectionVisitNotification.InspectionReportAndAnswer\",\n bold: true,\n value: _vm.model.inspectionReportAndAnswer\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.model.inspectionRight\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Notification.InspectionVisitNotification.InspectionRight\",\n bold: true,\n value: _vm.model.inspectionRight\n }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport { TransferredAmountNotification } from \"@/common/types/TransferredAmountNotification\";\r\nimport TextLabelRow from \"@/common/components/TextLabelRow.vue\";\r\nvar InspectionVisitView = /** @class */ (function (_super) {\r\n __extends(InspectionVisitView, _super);\r\n function InspectionVisitView() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n InspectionVisitView.prototype.getStringValue = function (value) {\r\n return value ? value.toString() : null;\r\n };\r\n var _a;\r\n __decorate([\r\n Prop({ type: Object, required: true }),\r\n __metadata(\"design:type\", typeof (_a = typeof TransferredAmountNotification !== \"undefined\" && TransferredAmountNotification) === \"function\" ? _a : Object)\r\n ], InspectionVisitView.prototype, \"model\", void 0);\r\n InspectionVisitView = __decorate([\r\n Component({\r\n name: \"InspectionVisitView\",\r\n components: {\r\n TextLabelRow: TextLabelRow\r\n }\r\n })\r\n ], InspectionVisitView);\r\n return InspectionVisitView;\r\n}(Vue));\r\nexport default InspectionVisitView;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./InspectionVisitView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./InspectionVisitView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./InspectionVisitView.vue?vue&type=template&id=30332ac3&\"\nimport script from \"./InspectionVisitView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./InspectionVisitView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('30332ac3', component.options)\n } else {\n api.reload('30332ac3', component.options)\n }\n module.hot.accept(\"./InspectionVisitView.vue?vue&type=template&id=30332ac3&\", function () {\n api.rerender('30332ac3', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/notification/InspectionVisitView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"form-group row\",\n attrs: { \"aria-labelledby\": _vm.title + _vm.componentIndex }\n },\n [\n _c(\"label-control\", {\n staticClass: \"col-12 col-md-4 col-lg-3 col-form-label\",\n attrs: {\n id: _vm.title + _vm.componentIndex,\n title: _vm.title,\n required: _vm.required,\n forElement: _vm.id + _vm.componentIndex\n }\n }),\n _vm._v(\" \"),\n _c(\"ValidationProvider\", {\n attrs: { name: _vm.id, rules: _vm.defaultRules, slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\"div\", { staticClass: \"col-6 col-md-3 col-lg-2\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.modifiedValue,\n expression: \"modifiedValue\"\n }\n ],\n class: [\n \"form-control\",\n _vm.getValidationErrorClasses(errors)\n ],\n attrs: {\n type: \"number\",\n id: _vm.id + _vm.componentIndex,\n step: \"1\",\n required: _vm.required,\n \"aria-required\": _vm.required,\n \"aria-invalid\": _vm.required && errors.length > 0,\n \"aria-describedby\": _vm.id + \"-errors\"\n },\n domProps: { value: _vm.modifiedValue },\n on: {\n wheel: _vm.preventWheel,\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.modifiedValue = $event.target.value\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: errors.length > 0,\n expression: \"errors.length > 0\"\n }\n ],\n staticClass: \"mb-2 inline-validation-error\",\n attrs: { id: _vm.id + \"-errors\" }\n },\n [_vm._v(_vm._s(_vm.getSingleValidationErrorMsg(errors)))]\n )\n ])\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport LabelControl from \"@/common/components/LabelControl.vue\";\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nvar SimpleYearInputRow = /** @class */ (function (_super) {\r\n __extends(SimpleYearInputRow, _super);\r\n function SimpleYearInputRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n SimpleYearInputRow.prototype.preventWheel = function (event) {\r\n if (event.target == document.activeElement)\r\n event.preventDefault();\r\n };\r\n Object.defineProperty(SimpleYearInputRow.prototype, \"defaultRules\", {\r\n get: function () {\r\n return { required: this.required, min_value: this.minValue, max_value: this.maxValue };\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(SimpleYearInputRow.prototype, \"modifiedValue\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (modifiedStr) {\r\n this.$emit(\"input\", modifiedStr);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], SimpleYearInputRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 0 }),\r\n __metadata(\"design:type\", Number)\r\n ], SimpleYearInputRow.prototype, \"minValue\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 9999 }),\r\n __metadata(\"design:type\", Number)\r\n ], SimpleYearInputRow.prototype, \"maxValue\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], SimpleYearInputRow.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 0 }),\r\n __metadata(\"design:type\", Number)\r\n ], SimpleYearInputRow.prototype, \"componentIndex\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SimpleYearInputRow.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], SimpleYearInputRow.prototype, \"title\", void 0);\r\n SimpleYearInputRow = __decorate([\r\n Component({\r\n name: 'SimpleYearInputRow',\r\n components: {\r\n LabelControl: LabelControl,\r\n ValidationProvider: ValidationProvider\r\n }\r\n })\r\n ], SimpleYearInputRow);\r\n return SimpleYearInputRow;\r\n}(Mixins(Validatable)));\r\nexport default SimpleYearInputRow;\r\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleYearInputRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleYearInputRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SimpleYearInputRow.vue?vue&type=template&id=78bc4efe&\"\nimport script from \"./SimpleYearInputRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./SimpleYearInputRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('78bc4efe', component.options)\n } else {\n api.reload('78bc4efe', component.options)\n }\n module.hot.accept(\"./SimpleYearInputRow.vue?vue&type=template&id=78bc4efe&\", function () {\n api.rerender('78bc4efe', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/unsavable/SimpleYearInputRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"form-group row mt-4 select\" }, [\n _c(\n \"div\",\n { staticClass: \"col-12 col-md-4 col-lg-3 col-form-label icon-wrapper\" },\n [\n _c(\"label\", { attrs: { for: _vm.id + \"-filter\", id: _vm.title } }, [\n _vm._v(\"\\n \" + _vm._s(_vm.$t(_vm.title)) + \"\\n \"),\n _vm.required\n ? _c(\"i\", { staticClass: \"fas fa-asterisk icon red\" }, [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.$t(\"Icon.Required\")))\n ])\n ])\n : _vm._e()\n ]),\n _vm._v(\" \"),\n _vm.instructionKey\n ? _c(\"tooltip-icon\", {\n staticClass: \"tooltip-after-label\",\n attrs: { id: \"labelTooltip\", content: _vm.$t(_vm.instructionKey) }\n })\n : _vm._e()\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"sr-only\", attrs: { id: \"filterDescription\" } }, [\n _vm._v(_vm._s(_vm.$t(\"OrganisationQuery.FilterDescription\")))\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-6 col-sm-3 col-md-2 pb-2 pb-sm-0\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.filterValue,\n expression: \"filterValue\"\n }\n ],\n staticClass: \"form-control\",\n attrs: {\n type: \"text\",\n id: _vm.id + \"-filter\",\n maxlength: 50,\n placeholder: _vm.$t(_vm.filterPlaceholder),\n \"aria-labelledby\": _vm.title + \" filterDescription\",\n \"aria-describedby\": \"labelTooltip\"\n },\n domProps: { value: _vm.filterValue },\n on: {\n keyup: function($event) {\n return _vm.filter()\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.filterValue = $event.target.value\n }\n }\n })\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"col-6 col-sm-3 col-md-2 pb-2 pb-sm-0 col-form-label left\",\n attrs: { \"aria-atomic\": \"true\", \"aria-live\": \"polite\" }\n },\n [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.$t(\"OrganisationQuery.ResultsAriaText\")) + \" \")\n ]),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Total\")) +\n \": \" +\n _vm._s(_vm.filteredOptions.length) +\n \" \" +\n _vm._s(_vm.$t(\"Pcs\")) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"sr-only\", attrs: { id: \"selectDescription\" } }, [\n _vm._v(_vm._s(_vm.$t(\"OrganisationQuery.SelectDescription\")))\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col-xs-12 col-sm-6 col-md-4 col-lg-5\" },\n [\n _c(\"ValidationProvider\", {\n ref: \"provider\",\n attrs: {\n rules: {\n required: _vm.required,\n organisationWithoutAdmin: _vm.validateProcuration\n },\n slim: \"\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _c(\n \"select\",\n {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.selectedValue,\n expression: \"selectedValue\"\n }\n ],\n class: _vm.getValidationErrorClasses(failedRules),\n attrs: {\n name: _vm.id,\n id: _vm.id,\n \"aria-required\": _vm.required,\n \"aria-invalid\": _vm.required && errors.length > 0,\n \"aria-labelledby\": _vm.title + \" selectDescription\",\n \"aria-describedby\": _vm.id + \"-errors\"\n },\n on: {\n change: function($event) {\n var $$selectedVal = Array.prototype.filter\n .call($event.target.options, function(o) {\n return o.selected\n })\n .map(function(o) {\n var val = \"_value\" in o ? o._value : o.value\n return val\n })\n _vm.selectedValue = $event.target.multiple\n ? $$selectedVal\n : $$selectedVal[0]\n }\n }\n },\n [\n !_vm.omitPlaceholder\n ? _c(\n \"option\",\n {\n attrs: { selected: \"\" },\n domProps: { value: null }\n },\n [_vm._v(_vm._s(_vm.$t(_vm.selectPlaceholder)))]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_vm.filteredOptions, function(option) {\n return _c(\n \"option\",\n {\n attrs: {\n title: _vm.doTruncation(option)\n ? option.name\n : null\n },\n domProps: { value: option }\n },\n [\n _vm.doTruncation(option)\n ? _c(\"span\", { attrs: { \"aria-hidden\": true } }, [\n _vm._v(\n _vm._s(\n _vm._f(\"truncate\")(\n _vm.optionDisplayName(option),\n _vm.truncateLength\n )\n )\n )\n ])\n : _c(\n \"span\",\n { attrs: { \"aria-hidden\": false } },\n [\n _vm._v(\n _vm._s(_vm.optionDisplayName(option))\n )\n ]\n )\n ]\n )\n })\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: errors.length > 0,\n expression: \"errors.length > 0\"\n }\n ],\n staticClass: \"mb-2 inline-validation-error\",\n attrs: { id: _vm.id + \"-errors\" }\n },\n [_vm._v(_vm._s(_vm.getSingleValidationErrorMsg(errors)))]\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Prop, Component, Mixins } from 'vue-property-decorator';\r\nimport { Validatable } from '@/common/mixins/Validatable';\r\nimport { ValidationProvider } from 'vee-validate';\r\nimport { Localization } from '@/common/mixins/Localization';\r\nimport TooltipIcon from '@/common/components/TooltipIcon.vue';\r\nimport { StringIdOption } from '@/common/types/StringIdOption';\r\nvar OrganisationSearchAndSelect = /** @class */ (function (_super) {\r\n __extends(OrganisationSearchAndSelect, _super);\r\n function OrganisationSearchAndSelect() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.filteredOptions = [];\r\n _this.filterValue = \"\";\r\n _this.selectPlaceholder = \"OrganisationQuery.NoOptions\";\r\n return _this;\r\n }\r\n OrganisationSearchAndSelect.prototype.mounted = function () {\r\n this.filteredOptions = this.options;\r\n };\r\n Object.defineProperty(OrganisationSearchAndSelect.prototype, \"instructionKey\", {\r\n get: function () {\r\n return this.getInstructionKeyIfExists(this.title);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n OrganisationSearchAndSelect.prototype.filter = function () {\r\n var _this = this;\r\n clearTimeout(this.filterTimer);\r\n var filter = this.filterValue.trim().length > 0 || this.filteredOptions != this.options;\r\n if (filter) {\r\n this.filterTimer = setTimeout(function () {\r\n if (_this.filterValue.trim().length > 2) {\r\n if (_this.value != null)\r\n _this.filteredOptions = _this.options.filter(function (x) { return x.id == _this.value.id || (x.name != null && x.name.toLowerCase().includes(_this.filterValue.toLowerCase())); });\r\n else\r\n _this.filteredOptions = _this.options.filter(function (x) { return x.name != null && x.name.toLowerCase().includes(_this.filterValue.toLowerCase()); });\r\n }\r\n else\r\n _this.filteredOptions = [];\r\n _this.setSelectPlaceholder();\r\n }, 300);\r\n }\r\n };\r\n OrganisationSearchAndSelect.prototype.setSelectPlaceholder = function () {\r\n if (this.filterValue.length < 3)\r\n this.selectPlaceholder = \"OrganisationQuery.NoOptions\";\r\n else if (this.filteredOptions.length == 0)\r\n this.selectPlaceholder = \"OrganisationQuery.NoResults\";\r\n else\r\n this.selectPlaceholder = this.placeholder ? this.placeholder : \"Selection.Choose\";\r\n };\r\n OrganisationSearchAndSelect.prototype.doTruncation = function (option) {\r\n var name = option.name;\r\n return name ? name.length > this.truncateLength : false;\r\n };\r\n Object.defineProperty(OrganisationSearchAndSelect.prototype, \"validateProcuration\", {\r\n get: function () {\r\n if (this.value && this.value.id != null)\r\n return true;\r\n return false;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n OrganisationSearchAndSelect.prototype.optionDisplayName = function (option) {\r\n return option ? option.name : null;\r\n };\r\n Object.defineProperty(OrganisationSearchAndSelect.prototype, \"selectedValue\", {\r\n get: function () {\r\n // While data is loading, we still want to show the option so there is no flickering and jumping.\r\n if (this.value && this.filteredOptions.length == 0) {\r\n this.filteredOptions.push(this.value);\r\n }\r\n return this.value;\r\n },\r\n set: function (modifiedValue) {\r\n this.$emit(\"input\", modifiedValue);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], OrganisationSearchAndSelect.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], OrganisationSearchAndSelect.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: Object, default: null }),\r\n __metadata(\"design:type\", typeof (_a = typeof StringIdOption !== \"undefined\" && StringIdOption) === \"function\" ? _a : Object)\r\n ], OrganisationSearchAndSelect.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true, default: function () { return []; } }),\r\n __metadata(\"design:type\", Array)\r\n ], OrganisationSearchAndSelect.prototype, \"options\", void 0);\r\n __decorate([\r\n Prop({ type: String }),\r\n __metadata(\"design:type\", String)\r\n ], OrganisationSearchAndSelect.prototype, \"placeholder\", void 0);\r\n __decorate([\r\n Prop({ type: String, default: \"OrganisationQuery.OrganisationPlaceholder\" }),\r\n __metadata(\"design:type\", String)\r\n ], OrganisationSearchAndSelect.prototype, \"filterPlaceholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], OrganisationSearchAndSelect.prototype, \"omitPlaceholder\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], OrganisationSearchAndSelect.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 70 }),\r\n __metadata(\"design:type\", Number)\r\n ], OrganisationSearchAndSelect.prototype, \"truncateLength\", void 0);\r\n OrganisationSearchAndSelect = __decorate([\r\n Component({\r\n name: 'OrganisationSearchAndSelect',\r\n components: {\r\n ValidationProvider: ValidationProvider,\r\n TooltipIcon: TooltipIcon\r\n }\r\n })\r\n ], OrganisationSearchAndSelect);\r\n return OrganisationSearchAndSelect;\r\n}(Mixins(Validatable, Localization)));\r\nexport default OrganisationSearchAndSelect;\r\n","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationSearchAndSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationSearchAndSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrganisationSearchAndSelect.vue?vue&type=template&id=11b9f402&\"\nimport script from \"./OrganisationSearchAndSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrganisationSearchAndSelect.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('11b9f402', component.options)\n } else {\n api.reload('11b9f402', component.options)\n }\n module.hot.accept(\"./OrganisationSearchAndSelect.vue?vue&type=template&id=11b9f402&\", function () {\n api.rerender('11b9f402', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/loginApp/template/components/registration/OrganisationSearchAndSelect.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"mt-3 mb-3\" },\n [\n _c(\"plain-text-control\", {\n attrs: { title: _vm.title, required: _vm.required }\n }),\n _vm._v(\" \"),\n _c(\n \"table\",\n {\n staticClass: \"table tablerow\",\n attrs: { \"aria-label\": _vm.$t(_vm.title) }\n },\n [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\n \"th\",\n { staticClass: \"w-15\", attrs: { id: _vm.title + \"_0\" } },\n [_c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.columnKeys[0])))])]\n ),\n _vm._v(\" \"),\n _c(\n \"th\",\n { staticClass: \"w-10\", attrs: { id: _vm.title + \"_1\" } },\n [_c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.columnKeys[1])))])]\n ),\n _vm._v(\" \"),\n _c(\n \"th\",\n { staticClass: \"w-30\", attrs: { id: _vm.title + \"_2\" } },\n [_c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.columnKeys[2])))])]\n ),\n _vm._v(\" \"),\n _c(\n \"th\",\n { staticClass: \"w-20\", attrs: { id: _vm.title + \"_3\" } },\n [_c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.columnKeys[3])))])]\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.items, function(item, index) {\n return _c(\"tr\", { key: index }, [\n _c(\n \"th\",\n { staticClass: \"w-15 row-heading\" },\n [\n _c(\"plain-text-control\", {\n attrs: { noMargin: true, title: item.name }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"input-cell\" },\n [\n _c(\"decimal-input-control\", {\n attrs: {\n name: \"TotalArea\" + index,\n required: true,\n disabled: _vm.$attrs.disabled || _vm.isReadOnly,\n placeholderKey: \"EnterValue\",\n minValue: _vm.getMin(item),\n labelledBy: _vm.title + \"_1\"\n },\n model: {\n value: item.totalArea,\n callback: function($$v) {\n _vm.$set(item, \"totalArea\", $$v)\n },\n expression: \"item.totalArea\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"input-cell\" },\n [\n _c(\"decimal-input-control\", {\n attrs: {\n name: \"STEAFundedArea\" + index,\n required: true,\n disabled: _vm.$attrs.disabled || _vm.isReadOnly,\n placeholderKey: \"EnterValue\",\n maxValue: _vm.getMax(item),\n labelledBy: _vm.title + \"_2\"\n },\n model: {\n value: item.steaFundedArea,\n callback: function($$v) {\n _vm.$set(item, \"steaFundedArea\", $$v)\n },\n expression: \"item.steaFundedArea\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background\" }, [\n _c(\"span\", { staticClass: \"right\" }, [\n _vm._v(_vm._s(_vm.rowTotal(item)))\n ])\n ])\n ])\n }),\n 0\n ),\n _vm._v(\" \"),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-15 disabled-background\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"toUpperCase\")(_vm.$t(\"Total\"))))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background\" }, [\n _c(\"span\", { staticClass: \"right\" }, [\n _vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.totalTotalArea)))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background\" }, [\n _c(\"span\", { staticClass: \"right\" }, [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(_vm.totalSteaFundedArea))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background\" }, [\n _c(\"span\", { staticClass: \"right\" }, [\n _vm._v(\n _vm._s(\n _vm.rowTotal({\n totalArea: _vm.totalTotalArea,\n steaFundedArea: _vm.totalSteaFundedArea\n })\n )\n )\n ])\n ])\n ])\n ])\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nimport { Savable } from '@/common/mixins/Savable';\r\nimport PlainTextControl from '@/common/components/PlainTextControl.vue';\r\nimport DecimalInputControl from '@/common/components/DecimalInputControl.vue';\r\nvar PremisesAreaControl = /** @class */ (function (_super) {\r\n __extends(PremisesAreaControl, _super);\r\n function PremisesAreaControl() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n PremisesAreaControl.prototype.rowTotal = function (item) {\r\n if ((item.totalArea && item.totalArea != 0) && item.steaFundedArea)\r\n return Math.round((item.steaFundedArea / item.totalArea) * 100);\r\n return null;\r\n };\r\n PremisesAreaControl.prototype.getMin = function (item) {\r\n if (item) {\r\n return item.steaFundedArea;\r\n }\r\n return null;\r\n };\r\n PremisesAreaControl.prototype.getMax = function (item) {\r\n if (item) {\r\n return item.totalArea;\r\n }\r\n return null;\r\n };\r\n Object.defineProperty(PremisesAreaControl.prototype, \"items\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(PremisesAreaControl.prototype, \"totalTotalArea\", {\r\n get: function () {\r\n return this.items.reduce(function (a, b) { return a + (b.totalArea || 0); }, 0);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(PremisesAreaControl.prototype, \"totalSteaFundedArea\", {\r\n get: function () {\r\n return this.items.reduce(function (a, b) { return a + (b.steaFundedArea || 0); }, 0);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n __decorate([\r\n Prop({ type: String, required: true }),\r\n __metadata(\"design:type\", String)\r\n ], PremisesAreaControl.prototype, \"title\", void 0);\r\n __decorate([\r\n Prop({ type: Boolean, required: false, default: false }),\r\n __metadata(\"design:type\", Boolean)\r\n ], PremisesAreaControl.prototype, \"required\", void 0);\r\n __decorate([\r\n Prop({ type: Array, required: true }),\r\n __metadata(\"design:type\", Array)\r\n ], PremisesAreaControl.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop({\r\n type: Array,\r\n required: false,\r\n default: function () { return [\r\n \"InvestmentReport.Finances.Premises.Area.Premises\",\r\n \"InvestmentReport.Finances.Premises.Area.Area\",\r\n \"InvestmentReport.Finances.Premises.Area.STEAFundedArea\",\r\n \"InvestmentReport.Finances.Premises.Area.STEAFundedAreaPercentage\"\r\n ]; }\r\n }),\r\n __metadata(\"design:type\", Array)\r\n ], PremisesAreaControl.prototype, \"columnKeys\", void 0);\r\n PremisesAreaControl = __decorate([\r\n Component({\r\n name: \"PremisesAreaControl\",\r\n components: {\r\n LabelControl: LabelControl,\r\n PlainTextControl: PlainTextControl,\r\n DecimalInputControl: DecimalInputControl\r\n }\r\n })\r\n ], PremisesAreaControl);\r\n return PremisesAreaControl;\r\n}(Mixins(Savable)));\r\nexport default PremisesAreaControl;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremisesAreaControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremisesAreaControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PremisesAreaControl.vue?vue&type=template&id=0c4c7c02&\"\nimport script from \"./PremisesAreaControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./PremisesAreaControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('0c4c7c02', component.options)\n } else {\n api.reload('0c4c7c02', component.options)\n }\n module.hot.accept(\"./PremisesAreaControl.vue?vue&type=template&id=0c4c7c02&\", function () {\n api.rerender('0c4c7c02', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/PremisesAreaControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"form-group row mt-3\" },\n [\n _c(\"label-control\", {\n staticClass: \"col-xs-12 col-sm-5 col-form-label\",\n attrs: {\n title: _vm.$attrs.title,\n instructionKey: _vm.$attrs.instructionsKey,\n required: _vm.$attrs.required,\n useTabindex: _vm.$attrs.useTabindex,\n titleParams: _vm.$attrs.titleParams,\n forElement: _vm.id\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col-xs-6 col-sm-3 col-md-2 form-row-content\" },\n [\n _c(\"decimal-input-control\", {\n staticClass: \"form-control\",\n attrs: {\n id: _vm.id,\n placeholderKey: \"EnterValue\",\n required: _vm.$attrs.required,\n maxValue: _vm.$attrs.maxValue,\n minValue: _vm.$attrs.minValue,\n rules: _vm.rules,\n decimals: _vm.decimals\n },\n model: {\n value: _vm.modifiedValue,\n callback: function($$v) {\n _vm.modifiedValue = _vm._n($$v)\n },\n expression: \"modifiedValue\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nimport { Vue, Prop, Component } from 'vue-property-decorator';\r\nimport HeaderControl from '@/common/components/HeaderControl.vue';\r\nimport DecimalInputControl from '@/common/components/DecimalInputControl.vue';\r\nimport LabelControl from '@/common/components/LabelControl.vue';\r\nvar DecimalInputRow = /** @class */ (function (_super) {\r\n __extends(DecimalInputRow, _super);\r\n function DecimalInputRow() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Object.defineProperty(DecimalInputRow.prototype, \"modifiedValue\", {\r\n get: function () {\r\n return this.value;\r\n },\r\n set: function (modifiedNr) {\r\n this.$emit(\"input\", modifiedNr);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n var _a;\r\n __decorate([\r\n Prop(Number),\r\n __metadata(\"design:type\", Number)\r\n ], DecimalInputRow.prototype, \"value\", void 0);\r\n __decorate([\r\n Prop(Object),\r\n __metadata(\"design:type\", typeof (_a = typeof Object !== \"undefined\" && Object) === \"function\" ? _a : Object)\r\n ], DecimalInputRow.prototype, \"rules\", void 0);\r\n __decorate([\r\n Prop(String),\r\n __metadata(\"design:type\", String)\r\n ], DecimalInputRow.prototype, \"id\", void 0);\r\n __decorate([\r\n Prop({ type: Number, default: 0 }),\r\n __metadata(\"design:type\", Number)\r\n ], DecimalInputRow.prototype, \"decimals\", void 0);\r\n DecimalInputRow = __decorate([\r\n Component({\r\n name: \"DecimalInputRow\",\r\n components: {\r\n HeaderControl: HeaderControl,\r\n DecimalInputControl: DecimalInputControl,\r\n LabelControl: LabelControl\r\n },\r\n inheritAttrs: false\r\n })\r\n ], DecimalInputRow);\r\n return DecimalInputRow;\r\n}(Vue));\r\nexport default DecimalInputRow;\r\n","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecimalInputRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DecimalInputRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DecimalInputRow.vue?vue&type=template&id=8552ab16&\"\nimport script from \"./DecimalInputRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./DecimalInputRow.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('8552ab16', component.options)\n } else {\n api.reload('8552ab16', component.options)\n }\n module.hot.accept(\"./DecimalInputRow.vue?vue&type=template&id=8552ab16&\", function () {\n api.rerender('8552ab16', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/DecimalInputRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", [\n _vm.item.latestActionDate\n ? _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"formatDate\")(_vm.item.latestActionDate)))\n ])\n ])\n : _c(\"td\", { staticClass: \"centered\" }, [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _vm.item.aidTargetNumber\n ? _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(_vm.item.aidTargetNumber))])])\n : _c(\"td\", { staticClass: \"centered\" }, [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _vm.item.year\n ? _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(_vm.item.year))])])\n : _c(\"td\", { staticClass: \"centered\" }, [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _vm.item.displayTaskType\n ? _c(\"td\", [\n _c(\n \"span\",\n [\n _vm._v(\n \"\\n \" + _vm._s(_vm.item.displayTaskType) + \"\\n \"\n ),\n _vm.item.isOnlineViewAvailable && !_vm.item.onlineViewIndefinitely\n ? _c(\"tooltip-icon\", {\n attrs: { content: _vm.item.tooltipContent }\n })\n : _vm._e()\n ],\n 1\n )\n ])\n : _c(\"td\", { staticClass: \"centered\" }, [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _vm.item.displayState\n ? _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(_vm.item.displayState))])])\n : _c(\"td\", { staticClass: \"centered\" }, [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"centered\" }, [\n _c(\"span\", [\n _vm.item.showArchiveButton &&\n _vm.item.isArchived &&\n !(_vm.procurationOnly && !_vm.hasProcuration)\n ? _c(\"span\", [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { type: \"button\" },\n on: { click: _vm.sendArchiveReportRequestDebounced }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.archiveButtonLabel) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm.item.showArchiveButton &&\n (!_vm.item.isArchived ||\n (_vm.procurationOnly && !_vm.hasProcuration))\n ? _c(\n \"span\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: { content: _vm.archiveButtonTooltip },\n expression: \"{ content: archiveButtonTooltip }\",\n modifiers: { top: true, center: true }\n }\n ],\n attrs: { tabindex: \"0\" }\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-default\",\n attrs: {\n type: \"button\",\n disabled: \"\",\n \"aria-disabled\": \"true\"\n }\n },\n [\n _vm._v(\n \"\\n \" + _vm._s(_vm.item.archiveButtonLabel) + \" \"\n ),\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(\" \" + _vm._s(_vm.archiveButtonTooltip))\n ])\n ]\n )\n ]\n )\n : _vm.item.isOnlineViewAvailable\n ? _c(\n \"span\",\n [\n _c(\n \"router-link\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n tag: \"button\",\n to: {\n name: _vm.item.routeValue,\n params: { id: _vm.item.recordId }\n },\n \"aria-label\": _vm.$t(\"Btn_Open\")\n }\n },\n [\n _vm._v(\n \"\\n \" + _vm._s(_vm.$t(\"Btn_Open\")) + \"\\n \"\n )\n ]\n )\n ],\n 1\n )\n : _c(\"span\", [_vm._v(\"-\")])\n ])\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!./HistoryEntryTableRow.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!./HistoryEntryTableRow.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HistoryEntryTableRow.vue?vue&type=template&id=6e122866&\"\nimport script from \"./HistoryEntryTableRow.ts?vue&type=script&lang=ts&\"\nexport * from \"./HistoryEntryTableRow.ts?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('6e122866', component.options)\n } else {\n api.reload('6e122866', component.options)\n }\n module.hot.accept(\"./HistoryEntryTableRow.vue?vue&type=template&id=6e122866&\", function () {\n api.rerender('6e122866', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/HistoryEntryTableRow.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.sortedPayments\n ? _c(\"div\", { staticClass: \"table-responsive\" }, [\n _c(\n \"span\",\n {\n staticClass: \"sr-only\",\n attrs: { \"aria-live\": \"assertive\", \"aria-atomic\": \"true\" }\n },\n [_vm._v(\"\\n \" + _vm._s(_vm.srSortedBy) + \"\\n \")]\n ),\n _vm._v(\" \"),\n _c(\"table\", { staticClass: \"table tablerow payments-table sortable\" }, [\n _c(\"caption\", [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")\n ]),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"pull-right\" }, [\n _vm._v(_vm._s(_vm.$t(\"Sort.Instructions\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"thead\", [\n _vm.isHistory\n ? _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"paymentDate\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Payments.PaymentDate\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"paymentDate\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"target\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"AidTargetNumber\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"target\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-40\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort right\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"amount\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Payments.PaidAmount\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"amount\",\n sortedAsc: _vm.sortedAsc,\n right: true\n }\n })\n ],\n 1\n )\n ])\n ])\n : _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"paymentDate\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Payments.PlannedPaymentDate\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"paymentDate\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"target\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"AidTargetNumber\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"target\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-40\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort right\",\n on: {\n click: function($event) {\n _vm.sortedPayments = _vm.sort(\n \"amount\",\n _vm.payments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Payments.SumToBePaid\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"amount\",\n sortedAsc: _vm.sortedAsc,\n right: true\n }\n })\n ],\n 1\n )\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.sortedPayments, function(payment) {\n return _c(\"tr\", [\n _vm.isHistory\n ? _c(\"td\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm._f(\"formatDate\")(payment.dateLocal, true))\n )\n ])\n ])\n : _c(\"td\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm._f(\"formatDate\")(payment.paymentDateLocal, true)\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [_vm._v(_vm._s(payment.aidTargetNumber))])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"right\" }, [\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(payment.amount)) + \" €\"\n )\n ])\n ])\n ])\n }),\n 0\n )\n ])\n ])\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!./PaymentsTable.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!./PaymentsTable.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PaymentsTable.vue?vue&type=template&id=c859f416&\"\nimport script from \"./PaymentsTable.ts?vue&type=script&lang=ts&\"\nexport * from \"./PaymentsTable.ts?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('c859f416', component.options)\n } else {\n api.reload('c859f416', component.options)\n }\n module.hot.accept(\"./PaymentsTable.vue?vue&type=template&id=c859f416&\", function () {\n api.rerender('c859f416', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/PaymentsTable.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"table-responsive sortable\" },\n [\n _c(\"filter-input-row\", {\n attrs: {\n title: \"Payments.PaymentByTypeFilter.Title\",\n id: \"paymentbytypefilter\",\n filterFunction: _vm.filter,\n results: _vm.filteredPayments.length,\n resultsAriaText: \"Payments.PaymentByTypeFilter.ResultsAriaText\"\n },\n model: {\n value: _vm.filterValue,\n callback: function($$v) {\n _vm.filterValue = $$v\n },\n expression: \"filterValue\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticClass: \"sr-only\",\n attrs: { \"aria-live\": \"assertive\", \"aria-atomic\": \"true\" }\n },\n [_vm._v(\"\\n \" + _vm._s(_vm.srSortedBy) + \"\\n \")]\n ),\n _vm._v(\" \"),\n _c(\n \"table\",\n {\n staticClass: \"table tablerow payments-table sortable\",\n attrs: { \"aria-label\": _vm.$t(\"Payments.PaymentByType\") }\n },\n [\n _c(\"caption\", [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Payments.PaymentByType\")) +\n \"\\n \"\n )\n ]),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"pull-right sort-instructions\" }, [\n _vm._v(_vm._s(_vm.$t(\"Sort.Instructions\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\n \"th\",\n {\n staticClass: \"w-10\",\n attrs: {\n \"aria-sort\": _vm.ariaSortValue(\n \"target\",\n _vm.sortedBy,\n _vm.sortedAsc\n )\n }\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.displayPayments = _vm.sort(\n \"target\",\n _vm.filteredPayments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"AidTargetNumber\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"target\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"th\",\n {\n staticClass: \"w-30\",\n attrs: {\n \"aria-sort\": _vm.ariaSortValue(\n \"purpose\",\n _vm.sortedBy,\n _vm.sortedAsc\n )\n }\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.displayPayments = _vm.sort(\n \"purpose\",\n _vm.filteredPayments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Purpose\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"purpose\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"th\",\n {\n staticClass: \"w-10\",\n attrs: {\n \"aria-sort\": _vm.ariaSortValue(\n \"method\",\n _vm.sortedBy,\n _vm.sortedAsc\n )\n }\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-sort\",\n on: {\n click: function($event) {\n _vm.displayPayments = _vm.sort(\n \"method\",\n _vm.filteredPayments\n )\n }\n }\n },\n [\n _c(\"sortable-header-button-content\", {\n attrs: {\n title: \"Payments.PaymentMethod\",\n sortedBy: _vm.sortedBy,\n sortProperty: \"method\",\n sortedAsc: _vm.sortedAsc\n }\n })\n ],\n 1\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-20\" }, [\n _c(\"span\", { staticClass: \"unsortable\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Payments.PaymentAction\")) +\n \"\\n \"\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", { staticClass: \"unsortable\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Payments.PaymentDescription\")) +\n \"\\n \"\n )\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.displayPayments, function(payment, index) {\n return _c(\n \"tr\",\n { key: payment.aidTargetNumber + _vm.paymentKey },\n [\n payment.aidTargetNumber\n ? _c(\"td\", [\n _c(\"span\", [_vm._v(_vm._s(payment.aidTargetNumber))])\n ])\n : _c(\"td\", [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n payment.purpose\n ? _c(\"td\", { staticClass: \"normal\" }, [\n _c(\n \"span\",\n {\n attrs: {\n title:\n payment.purpose.length > 100\n ? payment.purpose\n : \"\"\n }\n },\n [\n _vm._v(\n _vm._s(_vm._f(\"truncate\")(payment.purpose, 100))\n )\n ]\n )\n ])\n : _c(\"td\", [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _vm.paymentMethod(payment)\n ? _c(\"td\", [\n _c(\"span\", [_vm._v(_vm._s(_vm.paymentMethod(payment)))])\n ])\n : _c(\"td\", [_c(\"span\", [_vm._v(\"-\")])]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"normal centered\" }, [\n _vm.showERPROption(payment)\n ? _c(\"span\", [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.createAndOpenERPR(payment)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"Payments.CreateERPR\")))]\n )\n ])\n : _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Payments.NoFunctionAvailable\")))\n ])\n ]),\n _vm._v(\" \"),\n _vm.showERPRExistsAlready(payment) ||\n _vm.showERPRStarted(payment) ||\n _vm.showInsufficientFundsForAid(payment) ||\n _vm.showInvestmentBudgetaryEstimateStarted(payment) ||\n _vm.showInvestmentFinalReportStarted(payment)\n ? _c(\"td\", { staticClass: \"normal\" }, [\n _vm.showERPRExistsAlready(payment)\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Payments.PaymentDescriptions.ERPRExistsAlready\"\n )\n )\n ),\n _c(\"br\")\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showERPRStarted(payment)\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Payments.PaymentDescriptions.ERPRStarted\"\n )\n )\n ),\n _c(\"br\")\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showInsufficientFundsForAid(payment)\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Payments.PaymentDescriptions.InsufficientFundsForAid\"\n )\n )\n ),\n _c(\"br\")\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showInvestmentBudgetaryEstimateStarted(payment)\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Payments.PaymentDescriptions.InvestmentBudgetaryEstimateStarted\"\n )\n )\n ),\n _c(\"br\")\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showInvestmentFinalReportStarted(payment)\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Payments.PaymentDescriptions.InvestmentFinalReportStarted\"\n )\n )\n ),\n _c(\"br\")\n ])\n : _vm._e()\n ])\n : _c(\"td\", { staticClass: \"centered\" }, [\n _c(\"span\", [_vm._v(\"-\")])\n ])\n ]\n )\n }),\n 0\n )\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!./PaymentTypeByTargetTable.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!./PaymentTypeByTargetTable.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PaymentTypeByTargetTable.vue?vue&type=template&id=458f477c&\"\nimport script from \"./PaymentTypeByTargetTable.ts?vue&type=script&lang=ts&\"\nexport * from \"./PaymentTypeByTargetTable.ts?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('458f477c', component.options)\n } else {\n api.reload('458f477c', component.options)\n }\n module.hot.accept(\"./PaymentTypeByTargetTable.vue?vue&type=template&id=458f477c&\", function () {\n api.rerender('458f477c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/PaymentTypeByTargetTable.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { attrs: { role: \"main\" } },\n [\n _c(\"h2\", { attrs: { tabindex: \"-1\" } }, [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.ChangeEmail.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"p\", {\n domProps: {\n innerHTML: _vm._s(_vm.$t(\"UserManagement.ChangeEmail.Description\"))\n }\n }),\n _vm._v(\" \"),\n _c(\"ValidationObserver\", {\n ref: \"changeEmailObserver\",\n attrs: { slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var invalid = ref.invalid\n var errors = ref.errors\n return [\n _c(\n \"form\",\n {\n staticClass: \"mb-5\",\n attrs: { id: \"changeEmailForm\" },\n on: {\n submit: function($event) {\n $event.preventDefault()\n return _vm.changeEmail(invalid, errors)\n }\n }\n },\n [\n _c(\"text-input-row\", {\n attrs: {\n title: \"UserManagement.ChangeEmail.NewEmail\",\n id: \"change-email-email\",\n required: true,\n maxLength: _vm.emailMaxLength,\n rules: _vm.emailRules,\n providerName: \"newEmail\",\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.newEmail,\n callback: function($$v) {\n _vm.newEmail = $$v\n },\n expression: \"newEmail\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"UserManagement.ChangeEmail.ConfirmEmail\",\n id: \"change-email-confirm-email\",\n required: true,\n maxLength: _vm.emailMaxLength,\n rules: _vm.confirmEmailRules,\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.confirmEmail,\n callback: function($$v) {\n _vm.confirmEmail = $$v\n },\n expression: \"confirmEmail\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"UserManagement.ChangeEmail.Password\",\n id: \"change-email-password\",\n type: \"password\",\n required: true,\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.password,\n callback: function($$v) {\n _vm.password = $$v\n },\n expression: \"password\"\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"row form-group\" }, [\n _c(\n \"div\",\n {\n staticClass:\n \"col-md-8 col-lg-9 offset-md-4 offset-lg-3\"\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"submit\",\n disabled: _vm.updating,\n \"aria-disabled\": _vm.updating\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\"UserManagement.ChangeEmail.Update\")\n ) +\n \"\\n \"\n )\n ]\n )\n ]\n )\n ])\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./ChangeEmailView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./ChangeEmailView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./ChangeEmailView.vue?vue&type=template&id=1c03381b&\"\nimport script from \"./ChangeEmailView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./ChangeEmailView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('1c03381b', component.options)\n } else {\n api.reload('1c03381b', component.options)\n }\n module.hot.accept(\"./ChangeEmailView.vue?vue&type=template&id=1c03381b&\", function () {\n api.rerender('1c03381b', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/userManagement/ChangeEmailView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { attrs: { role: \"main\" } }, [\n _c(\"h2\", { staticClass: \"mb-2\", attrs: { tabindex: \"-1\" } }, [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.AdminManagement.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"div\", {\n domProps: {\n innerHTML: _vm._s(_vm.$t(\"UserManagement.AdminManagement.Instructions\"))\n }\n }),\n _vm._v(\" \"),\n _vm.hasNewAdminUsers\n ? _c(\"div\", { staticClass: \"table-responsive\" }, [\n _c(\"table\", { staticClass: \"table tablerow users-table\" }, [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-20\" }, [\n _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"UserManagement.Name\")))])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"UserManagement.Email\")))])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.Procurator.Title\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-20 centered\" }, [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"UserManagement.AdminManagement.Operation.Title\")\n )\n )\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.adminUsers, function(user, index) {\n return _c(\"tr\", [\n _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(user.fullName))])]),\n _vm._v(\" \"),\n _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(user.email))])]),\n _vm._v(\" \"),\n user.hasProcuration\n ? _c(\"td\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.$t(\"UserManagement.Procurator.Yes\"))\n )\n ])\n ])\n : _c(\"td\", { staticClass: \"centered\" }, [\n _c(\"span\", [_vm._v(\"-\")])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"centered\" }, [\n _c(\"span\", [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"button\",\n disabled: _vm.updating,\n \"aria-label\": _vm.$t(\n \"UserManagement.AdminManagement.Operation.Approve\"\n )\n },\n on: {\n click: function($event) {\n return _vm.approve(user.id)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\n \"UserManagement.AdminManagement.Operation.Approve\"\n )\n ) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-danger\",\n attrs: {\n type: \"button\",\n disabled: _vm.updating,\n \"aria-label\": _vm.$t(\n \"UserManagement.AdminManagement.Operation.Reject\"\n )\n },\n on: {\n click: function($event) {\n return _vm.reject(user.id)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\n \"UserManagement.AdminManagement.Operation.Reject\"\n )\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n ])\n ])\n }),\n 0\n )\n ])\n ])\n : _c(\"div\", [\n _c(\"hr\", { staticClass: \"mt-1\" }),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(\n _vm._s(_vm.$t(\"UserManagement.AdminManagement.NoAdminUsers\"))\n )\n ])\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./AdminManagementView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./AdminManagementView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./AdminManagementView.vue?vue&type=template&id=20ec5441&\"\nimport script from \"./AdminManagementView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./AdminManagementView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('20ec5441', component.options)\n } else {\n api.reload('20ec5441', component.options)\n }\n module.hot.accept(\"./AdminManagementView.vue?vue&type=template&id=20ec5441&\", function () {\n api.rerender('20ec5441', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/userManagement/AdminManagementView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { attrs: { role: \"main\" } },\n [\n _c(\"h2\", { attrs: { tabindex: \"-1\" } }, [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.InviteBasicUser.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.InviteBasicUser.Description\")))\n ]),\n _vm._v(\" \"),\n _c(\"ValidationObserver\", {\n ref: \"inviteBasicUserObserver\",\n attrs: { slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var invalid = ref.invalid\n var errors = ref.errors\n return [\n _c(\n \"form\",\n {\n staticClass: \"mb-5\",\n attrs: { id: \"inviteBasicUserForm\" },\n on: {\n submit: function($event) {\n $event.preventDefault()\n return _vm.inviteUser(invalid, errors)\n }\n }\n },\n [\n _c(\"text-input-row\", {\n attrs: {\n title: \"UserManagement.InviteBasicUser.Email\",\n id: \"invite-basic-user-email\",\n required: true,\n maxLength: _vm.emailMaxLength,\n rules: _vm.emailRules,\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.email,\n callback: function($$v) {\n _vm.email = $$v\n },\n expression: \"email\"\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"row form-group\" }, [\n _c(\n \"div\",\n {\n staticClass:\n \"col-md-8 col-lg-9 offset-md-4 offset-lg-3\"\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"submit\",\n disabled: _vm.sending,\n \"aria-disabled\": _vm.sending\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\n \"UserManagement.InviteBasicUser.Invite\"\n )\n ) +\n \"\\n \"\n )\n ]\n )\n ]\n )\n ])\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./InviteBasicUserView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./InviteBasicUserView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./InviteBasicUserView.vue?vue&type=template&id=10a3cd5f&\"\nimport script from \"./InviteBasicUserView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./InviteBasicUserView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('10a3cd5f', component.options)\n } else {\n api.reload('10a3cd5f', component.options)\n }\n module.hot.accept(\"./InviteBasicUserView.vue?vue&type=template&id=10a3cd5f&\", function () {\n api.rerender('10a3cd5f', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/userManagement/InviteBasicUserView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { attrs: { role: \"main\" } }, [\n _c(\"h2\", { attrs: { tabindex: \"-1\" } }, [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.Users.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"table-responsive\" }, [\n _c(\"table\", { staticClass: \"table tablerow users-table\" }, [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-20\" }, [\n _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"UserManagement.Name\")))])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"UserManagement.Email\")))])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-10\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.Users.AccessRight.Title\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.Procurator.Title\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-10 centered\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"UserManagement.Users.Operation.Title\")))\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.approvedUsers, function(user, index) {\n return _c(\"tr\", [\n _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(user.fullName))])]),\n _vm._v(\" \"),\n _c(\"td\", [_c(\"span\", [_vm._v(_vm._s(user.email))])]),\n _vm._v(\" \"),\n _c(\"td\", [\n user.isAdmin\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"UserManagement.Users.AccessRight.Admin\")\n ) + _vm._s(user.idAdmin)\n )\n ])\n : _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"UserManagement.Users.AccessRight.BasicUser\")\n ) + _vm._s(user.idAdmin)\n )\n ])\n ]),\n _vm._v(\" \"),\n user.isAdmin\n ? _c(\n \"td\",\n [\n _c(\"check-box-control\", {\n attrs: {\n title: \"UserManagement.Procurator.Yes\",\n id: \"user_procurator\" + index,\n disabled: _vm.changingProcuration\n },\n nativeOn: {\n click: function($event) {\n return _vm.changeProcuration(user.id, $event)\n }\n },\n model: {\n value: user.hasProcuration,\n callback: function($$v) {\n _vm.$set(user, \"hasProcuration\", $$v)\n },\n expression: \"user.hasProcuration\"\n }\n })\n ],\n 1\n )\n : _c(\"td\", { staticClass: \"centered\" }, [\n _c(\"span\", [_vm._v(\"-\")])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _vm.canBeDeleted(user.isAdmin)\n ? _c(\"span\", { staticClass: \"centered\" }, [\n _c(\n \"button\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: {\n content: _vm.$t(\n \"UserManagement.Users.Operation.Delete\"\n )\n },\n expression:\n \"{ content: $t('UserManagement.Users.Operation.Delete') }\",\n modifiers: { top: true, center: true }\n }\n ],\n staticClass: \"btn btn-link btn-contrast\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\"UserManagement.Users.Operation.Delete\") +\n (index + 2) +\n \" -. \" +\n _vm.$t(\"UserManagement.Users.Operation.Confirm\")\n },\n on: {\n click: function($event) {\n return _vm.deleteUser(user.id)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"fas fa-trash-alt fa-lg centered\"\n })\n ]\n )\n ])\n : _vm._e()\n ])\n ])\n }),\n 0\n )\n ])\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./UsersView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./UsersView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./UsersView.vue?vue&type=template&id=ae449c52&\"\nimport script from \"./UsersView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./UsersView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('ae449c52', component.options)\n } else {\n api.reload('ae449c52', component.options)\n }\n module.hot.accept(\"./UsersView.vue?vue&type=template&id=ae449c52&\", function () {\n api.rerender('ae449c52', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/userManagement/UsersView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"ValidationObserver\", {\n ref: \"registerOrganisationObserver\",\n attrs: { slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var invalid = ref.invalid\n var errors = ref.errors\n return [\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.FullName\",\n id: \"registrarName\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.fullName,\n callback: function($$v) {\n _vm.fullName = $$v\n },\n expression: \"fullName\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Ssn\",\n id: \"registrarSsn\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.registration.registrarSsn,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"registrarSsn\", $$v)\n },\n expression: \"registration.registrarSsn\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.Email\",\n id: \"registrarEmail\",\n required: true,\n rules: _vm.emailRules,\n providerMode: \"aggressive\",\n providerName: \"email\"\n },\n model: {\n value: _vm.registration.registrarEmail,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"registrarEmail\", $$v)\n },\n expression: \"registration.registrarEmail\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.Password\",\n id: \"newPassword\",\n type: \"password\",\n required: true,\n rules: { password: true },\n providerName: \"newPassword\",\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.registration.password,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"password\", $$v)\n },\n expression: \"registration.password\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.ConfirmPassword\",\n id: \"confirmPassword\",\n type: \"password\",\n required: true,\n rules: { passwordConfirm: \"@newPassword\", password: true },\n providerMode: \"aggressive\",\n providerName: \"confirmPassword\"\n },\n model: {\n value: _vm.confirmPassword,\n callback: function($$v) {\n _vm.confirmPassword = $$v\n },\n expression: \"confirmPassword\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.OrganisationName\",\n id: \"name\",\n required: true,\n rules: { organisationName: true },\n providerMode: \"aggressive\",\n providerName: \"organisationName\",\n maxLength: 100\n },\n model: {\n value: _vm.registration.name,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"name\", $$v)\n },\n expression: \"registration.name\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.BusinessId\",\n id: \"businessId\",\n required: true,\n rules: { businessId: true, businessIdExists: true },\n providerMode: \"aggressive\",\n providerName: \"businessId\"\n },\n model: {\n value: _vm.registration.businessId,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"businessId\", $$v)\n },\n expression: \"registration.businessId\"\n }\n }),\n _vm._v(\" \"),\n _c(\"year-input-row\", {\n attrs: {\n id: \"foundingYear\",\n title: \"Registration.FoundingYear\",\n required: true,\n minValue: 1000,\n maxValue: _vm.currentYear\n },\n model: {\n value: _vm.registration.foundingYear,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"foundingYear\", _vm._n($$v))\n },\n expression: \"registration.foundingYear\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.OrganisationEmail\",\n id: \"organisationEmail\",\n required: true,\n rules: _vm.organisationEmailRules,\n providerMode: \"aggressive\",\n providerName: \"email\"\n },\n model: {\n value: _vm.registration.OrganisationEmail,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"OrganisationEmail\", $$v)\n },\n expression: \"registration.OrganisationEmail\"\n }\n }),\n _vm._v(\" \"),\n _c(\"radio-button-option-row\", {\n attrs: {\n title: \"Organisation.Language.Title\",\n labelColWidth: \"col-12 col-md-4 col-lg-3\",\n required: true,\n options: _vm.languageOptions,\n showValidationErrorText: true\n },\n model: {\n value: _vm.registration.language,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"language\", $$v)\n },\n expression: \"registration.language\"\n }\n }),\n _vm._v(\" \"),\n _c(\"attachments\", { attrs: { attachments: _vm.attachments } }),\n _vm._v(\" \"),\n _c(\"radio-button-row\", {\n attrs: {\n title: \"Registration.Procuration\",\n id: \"hasProcuration\",\n truthyOptionTitle: \"Registration.HasProcuration\",\n falsyOptionTitle: \"Registration.NoProcuration\",\n required: true,\n noLeftPadding: true\n },\n model: {\n value: _vm.registration.procuration,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"procuration\", $$v)\n },\n expression: \"registration.procuration\"\n }\n }),\n _vm._v(\" \"),\n _c(\"check-box-boolean-with-button\", {\n attrs: {\n title: \"TermsOfUse.AcceptTermsOfUse\",\n id: \"acceptTerms\",\n btnid: \"showTermsBtn\",\n label: \"TermsOfUse.AcceptTermsOfUse\",\n required: true,\n disabled: _vm.approveTermsDisabled,\n btndisabled: _vm.processing,\n \"aria-label\": _vm.$t(\"TermsOfUse.ShowTermsButtonBelow\"),\n instructionKey: \"TermsOfUse.AcceptTermsOfUse_Instructions\"\n },\n on: { btnClick: _vm.showTerms },\n model: {\n value: _vm.registration.electronicCommunication,\n callback: function($$v) {\n _vm.$set(_vm.registration, \"electronicCommunication\", $$v)\n },\n expression: \"registration.electronicCommunication\"\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"mt-3 mb-5\" }, [\n _c(\n \"div\",\n { staticClass: \"d-inline-block\", attrs: { tabindex: \"0\" } },\n [\n _vm.isSendBtnDisabled(!invalid)\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-default mb-1 login-page-button\",\n attrs: {\n type: \"button\",\n disabled: \"\",\n \"aria-disabled\": true,\n \"aria-describedby\": \"mandatory\"\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_Continue\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.isSendBtnDisabled(!invalid)\n ? _c(\n \"button\",\n {\n staticClass:\n \"btn btn-secondary mb-1 login-page-button\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.save()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_Continue\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n : _vm._e()\n ]\n ),\n _vm._v(\" \"),\n _vm.isSendBtnDisabled(!invalid) && !_vm.loading\n ? _c(\n \"p\",\n {\n staticClass: \"warning-text d-inline ml-1 mt-2\",\n attrs: { id: \"mandatory\" }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\"Registration.FillAllMandatoryFields\")\n ) +\n \"\\n \"\n ),\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.errorMessages(errors)))\n ])\n ]\n )\n : _vm._e()\n ])\n ]\n }\n }\n ])\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationBasicInfo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationBasicInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrganisationBasicInfo.vue?vue&type=template&id=0c5f7390&\"\nimport script from \"./OrganisationBasicInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrganisationBasicInfo.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('0c5f7390', component.options)\n } else {\n api.reload('0c5f7390', component.options)\n }\n module.hot.accept(\"./OrganisationBasicInfo.vue?vue&type=template&id=0c5f7390&\", function () {\n api.rerender('0c5f7390', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/loginApp/template/components/registration/OrganisationBasicInfo.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"ValidationObserver\", {\n ref: \"registerAdminUserObserver\",\n attrs: { slim: \"\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(ref) {\n var invalid = ref.invalid\n var errors = ref.errors\n return [\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.FullName\",\n id: \"registrarName\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.fullName,\n callback: function($$v) {\n _vm.fullName = $$v\n },\n expression: \"fullName\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Ssn\",\n id: \"registrarSsn\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.userInfo.ssn,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"ssn\", $$v)\n },\n expression: \"userInfo.ssn\"\n }\n }),\n _vm._v(\" \"),\n _vm.hasInvitation\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.Email\",\n id: \"registrarEmail\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.userInfo.email,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"email\", $$v)\n },\n expression: \"userInfo.email\"\n }\n })\n : _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.Email\",\n id: \"registrarEmail\",\n required: true,\n rules: _vm.emailRules,\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.userInfo.email,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"email\", $$v)\n },\n expression: \"userInfo.email\"\n }\n }),\n _vm._v(\" \"),\n _vm.hasInvitation\n ? _c(\"text-label-row\", {\n attrs: {\n title: \"Registration.OrganisationName\",\n id: \"organisationName\",\n labelClass:\n \"col-12 col-md-4 col-lg-3 col-form-label pb-0 pb-md-2\",\n valueClass: \"col-12 col-md-8 col-lg-9 pt-0 pt-md-2\"\n },\n model: {\n value: _vm.userInfo.organisationName,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"organisationName\", $$v)\n },\n expression: \"userInfo.organisationName\"\n }\n })\n : _c(\"organisation-search-and-select\", {\n attrs: {\n id: \"organisation\",\n options: _vm.organisations,\n required: true,\n title: \"Registration.OrganisationNameSelection\"\n },\n on: {\n input: function($event) {\n return _vm.setSelectedOrganisation($event)\n }\n },\n model: {\n value: _vm.selectedOrganisation,\n callback: function($$v) {\n _vm.selectedOrganisation = $$v\n },\n expression: \"selectedOrganisation\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.Password\",\n id: \"newPassword\",\n type: \"password\",\n required: true,\n rules: { password: true },\n providerName: \"newPassword\",\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.userInfo.password,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"password\", $$v)\n },\n expression: \"userInfo.password\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-input-row\", {\n attrs: {\n title: \"Registration.ConfirmPassword\",\n id: \"confirmPassword\",\n type: \"password\",\n required: true,\n rules: { passwordConfirm: \"@newPassword\", password: true },\n providerMode: \"aggressive\"\n },\n model: {\n value: _vm.confirmPassword,\n callback: function($$v) {\n _vm.confirmPassword = $$v\n },\n expression: \"confirmPassword\"\n }\n }),\n _vm._v(\" \"),\n _c(\"radio-button-row\", {\n attrs: {\n title: \"Registration.Procuration\",\n id: \"hasProcuration\",\n truthyOptionTitle: \"Registration.HasProcuration\",\n falsyOptionTitle: \"Registration.NoProcuration\",\n required: true,\n noLeftPadding: true\n },\n model: {\n value: _vm.userInfo.hasProcuration,\n callback: function($$v) {\n _vm.$set(_vm.userInfo, \"hasProcuration\", $$v)\n },\n expression: \"userInfo.hasProcuration\"\n }\n }),\n _vm._v(\" \"),\n _c(\"check-box-boolean-with-button\", {\n attrs: {\n title: \"TermsOfUse.AcceptTermsOfUse\",\n id: \"acceptTerms\",\n btnid: \"showTermsBtn\",\n label: \"TermsOfUse.AcceptTermsOfUse\",\n required: true,\n disabled: _vm.approveTermsDisabled,\n btndisabled: _vm.processing,\n \"aria-label\": _vm.$t(\"TermsOfUse.ShowTermsButtonBelow\"),\n instructionKey: \"TermsOfUse.AcceptTermsOfUse_Instructions\"\n },\n on: { btnClick: _vm.showTerms },\n model: {\n value: _vm.termsApproved,\n callback: function($$v) {\n _vm.termsApproved = $$v\n },\n expression: \"termsApproved\"\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"mt-3 mb-5\" }, [\n _c(\n \"div\",\n { staticClass: \"d-inline-block\", attrs: { tabindex: \"0\" } },\n [\n _vm.isSendBtnDisabled(!invalid)\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-default login-page-button mb-1\",\n attrs: {\n type: \"button\",\n disabled: \"\",\n \"aria-disabled\": true,\n \"aria-describedby\": \"mandatory\"\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_Continue\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.isSendBtnDisabled(!invalid)\n ? _c(\n \"button\",\n {\n staticClass:\n \"btn btn-secondary login-page-button mb-1\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.save()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"Registration.Btn_Continue\")) +\n \"\\n \"\n ),\n _c(\"i\", { staticClass: \"fas fa-chevron-right\" })\n ]\n )\n : _vm._e()\n ]\n ),\n _vm._v(\" \"),\n _vm.isSendBtnDisabled(!invalid) && !_vm.loading\n ? _c(\n \"p\",\n {\n staticClass: \"warning-text d-inline ml-1 mt-2\",\n attrs: { id: \"mandatory\" }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\"Registration.FillAllMandatoryFields\")\n ) +\n \"\\n \"\n ),\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.errorMessages(errors)))\n ])\n ]\n )\n : _vm._e()\n ])\n ]\n }\n }\n ])\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminUserInfo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminUserInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AdminUserInfo.vue?vue&type=template&id=5456a854&\"\nimport script from \"./AdminUserInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./AdminUserInfo.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('5456a854', component.options)\n } else {\n api.reload('5456a854', component.options)\n }\n module.hot.accept(\"./AdminUserInfo.vue?vue&type=template&id=5456a854&\", function () {\n api.rerender('5456a854', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/loginApp/template/components/registration/AdminUserInfo.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"mt-3\" },\n [\n _c(\"radio-button-row\", {\n key: _vm.radioButtonValueChanged,\n attrs: {\n title: \"AidApplication.BasicInfo.OtherOperation.HasOtherOperation\",\n instructionsKey:\n \"AidApplication.BasicInfo.OtherOperation.HasOtherOperation_Instructions\",\n required: true\n },\n model: {\n value: _vm.otherOperation.hasOtherOperation,\n callback: function($$v) {\n _vm.$set(_vm.otherOperation, \"hasOtherOperation\", $$v)\n },\n expression: \"otherOperation.hasOtherOperation\"\n }\n }),\n _vm._v(\" \"),\n _vm.showOtherOperationDetails\n ? _c(\n \"div\",\n [\n _c(\"plain-text-control\", {\n attrs: {\n title: \"AidApplication.BasicInfo.OtherOperation.Items.Title\",\n required: true,\n instructionKey:\n \"AidApplication.BasicInfo.OtherOperation.Items.Title_Instructions\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"table\",\n {\n staticClass: \"table tablerow\",\n attrs: {\n \"aria-label\": _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Title\"\n )\n }\n },\n [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-20\" }, [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.Financing\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-25\" }, [\n _c(\"span\", { attrs: { id: \"specifier_label\" } }, [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.Specifier\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-10 right\" }, [\n _c(\n \"span\",\n { attrs: { id: \"starttime_label\" } },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.StartTime\"\n )\n ) + \" \"\n ),\n _c(\"tooltip-icon\", {\n attrs: {\n content: _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.StartTime_Instructions\"\n )\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-10 right\" }, [\n _c(\n \"span\",\n { attrs: { id: \"endtime_label\" } },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.EndTime\"\n )\n ) + \" \"\n ),\n _c(\"tooltip-icon\", {\n attrs: {\n content: _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.EndTime_Instructions\"\n )\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-15 right\" }, [\n _c(\"span\", { attrs: { id: \"aidamount_label\" } }, [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.AidAmount\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-15 right\" }, [\n _c(\"span\", { attrs: { id: \"revenue_label\" } }, [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.Revenue\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-5 centered\" }, [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.$t(\"Sr_Actions\")))\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n { key: _vm.indexmodified },\n _vm._l(_vm.otherOperation.items, function(item, index) {\n return _c(\n \"tr\",\n { key: index },\n [\n _vm.financingOptions\n ? _c(\"single-select-table-cell\", {\n attrs: {\n classes: [\"input-cell\"],\n options: _vm.financingOptions,\n required: true,\n dropdownId: \"financingoptions_\" + (index + 1),\n srLabel: true,\n title:\n \"AidApplication.BasicInfo.OtherOperation.Items.Columns.Financing\"\n },\n on: {\n input: function($event) {\n return _vm.clearEndDateIfNeeded(item)\n }\n },\n model: {\n value: item.financing,\n callback: function($$v) {\n _vm.$set(item, \"financing\", $$v)\n },\n expression: \"item.financing\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"right input-cell\" },\n [\n _c(\"text-area-control\", {\n attrs: {\n rows: 1,\n maxLength: 200,\n required: true,\n placeholderKey: \"Placeholder.TextArea\",\n labelledBy: \"specifier_label\",\n showTooltip: true\n },\n model: {\n value: item.specifier,\n callback: function($$v) {\n _vm.$set(item, \"specifier\", $$v)\n },\n expression: \"item.specifier\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"right input-cell\" },\n [\n _c(\"date-input-row\", {\n attrs: {\n name: \"otherOperation_start\" + index,\n required: false,\n placeholder: _vm.$t(\n \"DatePicker.FormatPlaceholder\"\n ),\n rules: {\n required: false,\n within: [_vm.minDate, _vm.maxDate],\n earlierStr: \"@otherOperation_stop\" + index\n },\n labelledBy: \"starttime_label\"\n },\n model: {\n value: item.startTime,\n callback: function($$v) {\n _vm.$set(item, \"startTime\", $$v)\n },\n expression: \"item.startTime\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"right input-cell\" },\n [\n _c(\"date-input-row\", {\n attrs: {\n name: \"otherOperation_stop\" + index,\n required: false,\n disabled: _vm.isServiceProduction(item),\n placeholder: !_vm.isServiceProduction(item)\n ? _vm.$t(\"DatePicker.FormatPlaceholder\")\n : null,\n rules: {\n required: false,\n within: [null, _vm.maxDate],\n laterStr: !_vm.isServiceProduction(item)\n ? \"@otherOperation_start\" + index\n : false\n },\n labelledBy: \"endtime_label\"\n },\n model: {\n value: item.endTime,\n callback: function($$v) {\n _vm.$set(item, \"endTime\", $$v)\n },\n expression: \"item.endTime\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n {\n class: [\n _vm.isAidAmountReadOnly(item)\n ? \"disabled-background\"\n : \"\",\n \"right input-cell\"\n ]\n },\n [\n _c(\"numeric-input-control\", {\n attrs: {\n required: !_vm.isAidAmountReadOnly(item),\n disabled: _vm.isAidAmountReadOnly(item),\n labelledBy: \"aidamount_label\"\n },\n model: {\n value: item.aidAmount,\n callback: function($$v) {\n _vm.$set(item, \"aidAmount\", $$v)\n },\n expression: \"item.aidAmount\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n {\n class: [\n _vm.isRevenueReadOnly(item)\n ? \"disabled-background\"\n : \"\",\n \"right input-cell\"\n ]\n },\n [\n _c(\"numeric-input-control\", {\n attrs: {\n required: !_vm.isRevenueReadOnly(item),\n disabled: _vm.isRevenueReadOnly(item),\n labelledBy: \"revenue_label\"\n },\n model: {\n value: item.revenue,\n callback: function($$v) {\n _vm.$set(item, \"revenue\", $$v)\n },\n expression: \"item.revenue\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n {\n class: [\n \"input-cell centered\",\n _vm.isReadOnly ? \"disabled-background\" : \"\"\n ]\n },\n [\n _vm.showDeleteBtn\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-contrast\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\"Btn_DeleteRow\") +\n _vm.$t(\n \"Accessibility.ConfirmDeleteRow\"\n )\n },\n on: {\n click: function($event) {\n return _vm.deleteRow(index)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass:\n \"fas fa-trash-alt fa-lg centered\"\n })\n ]\n )\n : _vm._e()\n ]\n )\n ],\n 1\n )\n }),\n 0\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"mt-3\" }, [\n !_vm.isReadOnly\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"button\",\n disabled: _vm.isAddNewRowDisabled,\n \"aria-disabled\": _vm.isAddNewRowDisabled\n },\n on: {\n click: function($event) {\n return _vm.addNewRow(true)\n }\n }\n },\n [\n _vm._v(\n _vm._s(_vm.$t(\"AidApplication.Btn_AddOperation\"))\n )\n ]\n )\n : _vm._e()\n ])\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!./OtherOperationControl.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!./OtherOperationControl.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OtherOperationControl.vue?vue&type=template&id=987ca226&\"\nimport script from \"./OtherOperationControl.ts?vue&type=script&lang=ts&\"\nexport * from \"./OtherOperationControl.ts?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('987ca226', component.options)\n } else {\n api.reload('987ca226', component.options)\n }\n module.hot.accept(\"./OtherOperationControl.vue?vue&type=template&id=987ca226&\", function () {\n api.rerender('987ca226', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/aidApplication/controls/OtherOperationControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"text-label-row\", {\n attrs: {\n title: \"AidApplication.BasicInfo.Investment.Type\",\n value: _vm.$t(_vm.selectedBOptionEnumString)\n }\n }),\n _vm._v(\" \"),\n !_vm.isSupportApartments\n ? _c(\"text-area-row\", {\n attrs: {\n title: \"AidApplication.BasicInfo.Investment.OperationName\",\n id: \"operationname\",\n required: true,\n maxLength: 200,\n rows: 2\n },\n model: {\n value: _vm.aidapplication.basicInfo.operationName,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"operationName\", $$v)\n },\n expression: \"aidapplication.basicInfo.operationName\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"text-area-row\", {\n attrs: {\n title: \"AidApplication.BasicInfo.Investment.Purpose\",\n id: \"purpose\",\n required: true,\n maxLength: 1000,\n rows: 10\n },\n model: {\n value: _vm.aidapplication.basicInfo.purpose,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"purpose\", $$v)\n },\n expression: \"aidapplication.basicInfo.purpose\"\n }\n }),\n _vm._v(\" \"),\n _c(\"date-input-row\", {\n attrs: {\n title: _vm.startTimeTitle,\n name: _vm.startTimeTitle,\n placeholder: _vm.$t(\"DatePicker.FormatPlaceholder\"),\n required: true,\n rules: _vm.startTimeRules\n },\n model: {\n value: _vm.aidapplication.basicInfo.startTime,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"startTime\", $$v)\n },\n expression: \"aidapplication.basicInfo.startTime\"\n }\n }),\n _vm._v(\" \"),\n _c(\"date-input-row\", {\n attrs: {\n title: _vm.endTimeTitle,\n name: _vm.endTimeTitle,\n placeholder: _vm.$t(\"DatePicker.FormatPlaceholder\"),\n required: true,\n rules: _vm.endTimeRules\n },\n model: {\n value: _vm.aidapplication.basicInfo.endTime,\n callback: function($$v) {\n _vm.$set(_vm.aidapplication.basicInfo, \"endTime\", $$v)\n },\n expression: \"aidapplication.basicInfo.endTime\"\n }\n }),\n _vm._v(\" \"),\n _vm.isICT\n ? _c(\"location-control\", {\n attrs: {\n location: _vm.aidapplication.basicInfo.location,\n showChannels: !_vm.isAy\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.isPremisesRenovationOrImprovement\n ? _c(\n \"div\",\n [\n _c(\"target-info-control\", {\n attrs: {\n item: _vm.aidapplication.basicInfo.investment.targetInfo\n }\n }),\n _vm._v(\" \"),\n _c(\"address-control\", {\n attrs: { item: _vm.aidapplication.basicInfo.investment.address }\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInfoView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInfoView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BasicInfoView.vue?vue&type=template&id=9950ea36&\"\nimport script from \"./BasicInfoView.vue?vue&type=script&lang=ts&\"\nexport * from \"./BasicInfoView.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('9950ea36', component.options)\n } else {\n api.reload('9950ea36', component.options)\n }\n module.hot.accept(\"./BasicInfoView.vue?vue&type=template&id=9950ea36&\", function () {\n api.rerender('9950ea36', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/aidApplication/investment/BasicInfoView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"group-content\" },\n [\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"AidApplication.Partners.PartnerType\",\n options: _vm.partnerTypeOptions,\n required: true,\n dropdownId: \"partnerpartnertypes_\" + _vm.index\n },\n model: {\n value: _vm.partner.type,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"type\", $$v)\n },\n expression: \"partner.type\"\n }\n }),\n _vm._v(\" \"),\n _vm.partner.type == _vm.PartnerType.Other\n ? _c(\"text-area-row\", {\n attrs: {\n title: _vm.getTitle(_vm.partner.type),\n id: \"partnerdescription_\" + _vm.index,\n required: true,\n maxLength: 100,\n rows: 1\n },\n model: {\n value: _vm.partner.description,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"description\", $$v)\n },\n expression: \"partner.description\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.partner.type !== _vm.PartnerType.Undefined &&\n _vm.partner.type != _vm.PartnerType.Organisation &&\n _vm.partner.type !== _vm.PartnerType.Other &&\n _vm.partner.type !== null &&\n _vm.partner.type !== undefined\n ? _c(\"single-select-accessible\", {\n key: _vm.descriptionKey,\n attrs: {\n title: _vm.getTitle(_vm.partner.type),\n options: _vm.getOptions(_vm.partner.type),\n required: true,\n value: {\n name: _vm.partner.description,\n id: _vm.partner.descriptionId\n },\n dropdownId: \"partnerdescription_\" + _vm.index,\n doNotUseResources: true,\n optionOutput: true\n },\n on: {\n input: function($event) {\n _vm.partner.description = $event.name\n _vm.partner.descriptionId = $event.id\n }\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.partner.type == _vm.PartnerType.Organisation\n ? _c(\"organisation-search-and-select\", {\n attrs: {\n id: \"organisationselect_\" + _vm.index,\n index: _vm.index,\n options: _vm.organisations,\n required: true,\n title: _vm.getTitle(_vm.partner.type)\n },\n model: {\n value: _vm.selectedOrganisation,\n callback: function($$v) {\n _vm.selectedOrganisation = $$v\n },\n expression: \"selectedOrganisation\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showMunicipalitiesRow\n ? _c(\"municipalities-control\", {\n staticClass: \"mt-4\",\n attrs: {\n max: 50,\n title: \"AidApplication.Partners.Municipalities\",\n required: false,\n dropdownId: \"partnermunicipalities_\" + _vm.index\n },\n model: {\n value: _vm.partner.municipalities,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"municipalities\", $$v)\n },\n expression: \"partner.municipalities\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.partner.type\n ? _c(\"multiselect-row-accessible\", {\n attrs: {\n title: \"AidApplication.Partners.CooperationTypes\",\n options: _vm.cooperationTypeOptions,\n max: 3,\n required: true,\n dropdownId: \"partnercooperationtypes_\" + _vm.index\n },\n model: {\n value: _vm.partner.cooperationTypes,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"cooperationTypes\", $$v)\n },\n expression: \"partner.cooperationTypes\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showCooperationContent\n ? _c(\"text-area-row\", {\n attrs: {\n title: \"AidApplication.Partners.CooperationContent\",\n id: \"cooperationcontent_\" + _vm.index,\n required: true,\n maxLength: 200,\n rows: 5\n },\n model: {\n value: _vm.partner.cooperationContent,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"cooperationContent\", $$v)\n },\n expression: \"partner.cooperationContent\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.partner.type\n ? _c(\"attachment-row\", {\n attrs: {\n title: \"AidApplication.Partners.CooperationContract\",\n instructionsKey:\n \"AidApplication.Partners.CooperationContract_Instructions\",\n attachment: _vm.partner.attachment,\n index: _vm.index\n },\n model: {\n value: _vm.partner.attachment,\n callback: function($$v) {\n _vm.$set(_vm.partner, \"attachment\", $$v)\n },\n expression: \"partner.attachment\"\n }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PartnerControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PartnerControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PartnerControl.vue?vue&type=template&id=b16da85e&\"\nimport script from \"./PartnerControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./PartnerControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('b16da85e', component.options)\n } else {\n api.reload('b16da85e', component.options)\n }\n module.hot.accept(\"./PartnerControl.vue?vue&type=template&id=b16da85e&\", function () {\n api.rerender('b16da85e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/common/components/PartnerControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.readyForRender\n ? _c(\"div\", [\n _c(\"div\", { staticClass: \"form-group mt-3 mb-2\" }, [\n _c(\"table\", { staticClass: \"table tablerow\" }, [\n _c(\"caption\", [\n _c(\n \"h2\",\n [\n _c(\"plain-text-control\", {\n attrs: {\n title: \"PaymentPlan.Payments.Title\",\n required: true\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", [\n _c(\n \"span\",\n { attrs: { id: \"paymentdate_header\" } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"PaymentPlan.Payments.PaymentDate\")) +\n \"\\n \"\n ),\n _c(\"tooltip-icon\", {\n attrs: {\n content: _vm.$t(\n \"PaymentPlan.Payments.PaymentDate_Instructions\"\n )\n }\n }),\n _vm._v(\" \"),\n _c(\"br\"),\n _vm._v(\n _vm._s(_vm.paymentDateRangeString) + \"\\n \"\n )\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"right\" }, [\n _c(\"span\", { attrs: { id: \"personnelexpenses_header\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"PaymentPlan.Payments.PersonnelExpenses\"))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"right\" }, [\n _c(\"span\", { attrs: { id: \"premiseexpenses_header\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"PaymentPlan.Payments.PremiseExpenses\"))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"right\" }, [\n _c(\"span\", { attrs: { id: \"operationalexpenses_header\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"PaymentPlan.Payments.OperationalExpenses\"))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"right\" }, [\n _c(\"span\", { attrs: { id: \"generalexpenses_header\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"PaymentPlan.Payments.GeneralExpenses\"))\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"right\" }, [\n _c(\"span\", { attrs: { id: \"totalexpenses_header\" } }, [\n _vm._v(\n _vm._s(\n _vm._f(\"toUpperCase\")(\n _vm.$t(\"PaymentPlan.Payments.TotalExpenses\")\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { attrs: { id: _vm.$attrs.id + \"_actions\" } }, [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(_vm._s(_vm.$t(\"Sr_Actions\")))\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\n \"tbody\",\n _vm._l(_vm.requests, function(request, index) {\n return _c(\n \"tr\",\n { staticClass: \"paddingless\" },\n [\n _c(\n \"td\",\n { staticClass: \"input-cell center w-15\" },\n [\n _c(\"date-input-row\", {\n class: _vm.$attrs.id + \"-\" + index,\n attrs: {\n name: \"requestdate\" + index,\n required: true,\n placeholder: _vm.$t(\n \"DatePicker.FormatPlaceholderFull\"\n ),\n rules: {\n required: true,\n within: [_vm.minPaymentDate, _vm.maxPaymentDate]\n },\n fullDate: true,\n labelledBy: \"paymentdate_header\"\n },\n on: {\n input: function($event) {\n return _vm.emitDateChange()\n }\n },\n model: {\n value: request.date,\n callback: function($$v) {\n _vm.$set(request, \"date\", $$v)\n },\n expression: \"request.date\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"numeric-input-table-cell\", {\n attrs: {\n classes: [\"input-cell\"],\n name: \"personnelExpenses\" + index,\n required: _vm.getRowRequired(request),\n disabled: _vm.$attrs.disabled,\n placeholderKey: \"EnterValue\",\n labelledBy: \"personnelexpenses_header\"\n },\n model: {\n value: request.personnelExpensesAmount,\n callback: function($$v) {\n _vm.$set(request, \"personnelExpensesAmount\", $$v)\n },\n expression: \"request.personnelExpensesAmount\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-table-cell\", {\n attrs: {\n classes: [\"input-cell\"],\n name: \"premiseExpenses\" + index,\n required: _vm.getRowRequired(request),\n disabled: _vm.$attrs.disabled,\n placeholderKey: \"EnterValue\",\n labelledBy: \"premiseexpenses_header\"\n },\n model: {\n value: request.premiseExpensesAmount,\n callback: function($$v) {\n _vm.$set(request, \"premiseExpensesAmount\", $$v)\n },\n expression: \"request.premiseExpensesAmount\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-table-cell\", {\n attrs: {\n classes: [\"input-cell\"],\n name: \"operationalExpenses\" + index,\n required: _vm.getRowRequired(request),\n disabled: _vm.$attrs.disabled,\n placeholderKey: \"EnterValue\",\n labelledBy: \"operationalexpenses_header\"\n },\n model: {\n value: request.operationalExpensesAmount,\n callback: function($$v) {\n _vm.$set(request, \"operationalExpensesAmount\", $$v)\n },\n expression: \"request.operationalExpensesAmount\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-table-cell\", {\n attrs: {\n classes: [\"input-cell\"],\n name: \"generalExpenses\" + index,\n required: _vm.getRowRequired(request),\n disabled: _vm.$attrs.disabledy,\n placeholderKey: \"EnterValue\",\n labelledBy: \"generalexpenses_header\"\n },\n model: {\n value: request.generalExpensesAmount,\n callback: function($$v) {\n _vm.$set(request, \"generalExpensesAmount\", $$v)\n },\n expression: \"request.generalExpensesAmount\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"td\",\n { staticClass: \"right disabled-background w-10\" },\n [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(_vm.requestTotal(request))\n )\n )\n ])\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"td\",\n {\n class: [\n \"w-5\",\n _vm.isReadOnly ? \"disabled-background\" : \"\"\n ]\n },\n [\n _c(\"span\", { staticClass: \"centered\" }, [\n _vm.showDelete && !_vm.isReadOnly\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-link btn-contrast\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\"Btn_DeleteRow\") +\n (index + 2) +\n \" -. \" +\n _vm.$t(\"Accessibility.ConfirmDeleteRow\")\n },\n on: {\n click: function($event) {\n return _vm.deleteRow(request)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass:\n \"fas fa-trash-alt fa-lg centered\"\n })\n ]\n )\n : _vm._e()\n ])\n ]\n )\n ],\n 1\n )\n }),\n 0\n ),\n _vm._v(\" \"),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"td\", { staticClass: \"disabled-background\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"toUpperCase\")(_vm.$t(\"Total\"))))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background right\" }, [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(_vm.totals.personnelExpensesAmount)\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background right\" }, [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(_vm.totals.premiseExpensesAmount)\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background right\" }, [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(\n _vm.totals.operationalExpensesAmount\n )\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background right\" }, [\n _vm._v(\n _vm._s(\n _vm._f(\"formatNumber\")(_vm.totals.generalExpensesAmount)\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background right\" }, [\n _vm._v(\n _vm._s(_vm._f(\"formatNumber\")(_vm.requestTotal(_vm.totals)))\n )\n ]),\n _vm._v(\" \"),\n _c(\"td\", { staticClass: \"disabled-background\" })\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n !_vm.isReadOnly\n ? _c(\"div\", [\n _vm.enableAddButton\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.addRow()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"BudgetaryEstimate.Btn_AddRow\")) +\n \"\\n \"\n )\n ]\n )\n : _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { disabled: \"\", \"aria-disabled\": \"true\" }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(\"BudgetaryEstimate.Btn_AddRow\")) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm._e()\n ])\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentPlanTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentPlanTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PaymentPlanTable.vue?vue&type=template&id=042b2b2a&\"\nimport script from \"./PaymentPlanTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./PaymentPlanTable.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('042b2b2a', component.options)\n } else {\n api.reload('042b2b2a', component.options)\n }\n module.hot.accept(\"./PaymentPlanTable.vue?vue&type=template&id=042b2b2a&\", function () {\n api.rerender('042b2b2a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/paymentPlan/PaymentPlanTable.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"radio-button-row\", {\n key: _vm.externalServicesChanged,\n attrs: {\n title:\n \"AidTargetYearlyReport.ExternalServices.AcquisitionsMadeOrExternalServicesUsed\",\n required: true\n },\n model: {\n value: _vm.externalServices.acquisitionsMadeOrExternalServicesUsed,\n callback: function($$v) {\n _vm.$set(\n _vm.externalServices,\n \"acquisitionsMadeOrExternalServicesUsed\",\n $$v\n )\n },\n expression: \"externalServices.acquisitionsMadeOrExternalServicesUsed\"\n }\n }),\n _vm._v(\" \"),\n _vm.externalServices.acquisitionsMadeOrExternalServicesUsed\n ? _c(\n \"div\",\n [\n _c(\n \"h3\",\n { staticClass: \"mb-3\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$t(\n \"AidTargetYearlyReport.ExternalServices.AcquisitionsAndExternalServices\"\n )\n ) +\n \"\\n \"\n ),\n _c(\"tooltip-icon\", {\n attrs: {\n content: _vm.$t(\n \"AidTargetYearlyReport.ExternalServices.AcquisitionsAndExternalServices_Instructions\"\n )\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _vm._l(_vm.acquisitionsAndServices, function(\n acquisitionOrService,\n index\n ) {\n return _c(\n \"div\",\n { staticClass: \"group-wrapper mb-3\" },\n [\n _c(\"div\", { staticClass: \"heading-div\" }, [\n _c(\n \"span\",\n { attrs: { id: \"externalservices_\" + index } },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidTargetYearlyReport.ExternalServices.AcquisitionOrService\"\n )\n ) +\n \" \" +\n _vm._s(index + 1)\n )\n ]\n ),\n _vm._v(\" \"),\n _vm.acquisitionsAndServices.length > 1 && !_vm.isReadOnly\n ? _c(\n \"button\",\n {\n staticClass:\n \"header-row-button btn btn-link btn-contrast float-right\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\n \"AidTargetYearlyReport.ExternalServices.DeleteItem\"\n ) +\n \" \" +\n (index + 1) +\n \" \" +\n _vm.$t(\n \"Accessibility.ConfirmDeleteAcquisitionOrService\"\n )\n },\n on: {\n click: function($event) {\n return _vm.deleteItem(index)\n }\n }\n },\n [_c(\"i\", { staticClass: \"fa fa-trash-alt fa-lg\" })]\n )\n : _vm._e()\n ]),\n _vm._v(\" \"),\n _c(\"acquisition-or-service-control\", {\n attrs: { item: acquisitionOrService, index: index }\n })\n ],\n 1\n )\n }),\n _vm._v(\" \"),\n !_vm.isReadOnly\n ? _c(\"div\", { staticClass: \"mt-3\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"button\",\n disabled: _vm.isAddNewItemDisabled,\n \"aria-disabled\": _vm.isAddNewItemDisabled\n },\n on: {\n click: function($event) {\n return _vm.addNewExternalService(true)\n }\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"AidTargetYearlyReport.ExternalServices.AddNew\"\n )\n )\n )\n ]\n )\n ])\n : _vm._e()\n ],\n 2\n )\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcquisitionsAndServicesControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcquisitionsAndServicesControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AcquisitionsAndServicesControl.vue?vue&type=template&id=1bfee2e8&\"\nimport script from \"./AcquisitionsAndServicesControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./AcquisitionsAndServicesControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('1bfee2e8', component.options)\n } else {\n api.reload('1bfee2e8', component.options)\n }\n module.hot.accept(\"./AcquisitionsAndServicesControl.vue?vue&type=template&id=1bfee2e8&\", function () {\n api.rerender('1bfee2e8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/aidTargetYearlyReport/controls/AcquisitionsAndServicesControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _vm.model\n ? _c(\n \"div\",\n [\n _vm.isFinalReport\n ? _c(\n \"div\",\n [\n _c(\"h3\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"InvestmentReport.Finances.Funding.Title\")\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"funding\",\n value: _vm.funding,\n required: true,\n showColumnTotals: true\n }\n }),\n _vm._v(\" \"),\n _vm.showSelfCoveredFundingLoanCondition\n ? _c(\"radio-button-option-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.Funding.SelfCoveredFundingLoanCondition\",\n required: false,\n options: _vm.optionsArray(\"PledgeType\", true)\n },\n model: {\n value:\n _vm.model.funding.selfCoveredFundingLoanCondition,\n callback: function($$v) {\n _vm.$set(\n _vm.model.funding,\n \"selfCoveredFundingLoanCondition\",\n $$v\n )\n },\n expression:\n \"model.funding.selfCoveredFundingLoanCondition\"\n }\n })\n : _vm._e()\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(_vm._s(_vm.$t(\"InvestmentReport.Finances.Expenses.Title\")))\n ]),\n _vm._v(\" \"),\n _vm.isFinalReport\n ? _c(\"personnel-expenses\", {\n attrs: {\n value: _vm.personnelExpenses,\n features: _vm.features\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"expense-breakdown\",\n value: _vm.expenseBreakdown,\n required: true,\n showColumnTotals: true\n },\n scopedSlots: _vm._u(\n [\n !_vm.isFinalReport\n ? {\n key: \"totalIndicator\",\n fn: function() {\n return [\n _c(\"ValidationProvider\", {\n attrs: {\n name: \"totalIndicator\",\n rules: { min_value: 1 },\n slim: \"\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(ref) {\n var errors = ref.errors\n var failedRules = ref.failedRules\n return [\n _vm.hasErrors(failedRules)\n ? _c(\n \"span\",\n { staticClass: \"warning-text\" },\n [\n _c(\n \"i\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName:\n \"v-tooltip.top.center\",\n value: {\n html: true,\n content: _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n },\n expression:\n \"{ html: true, content: $t('Validation.ComputedAmountIsZero') }\",\n modifiers: {\n top: true,\n center: true\n }\n }\n ],\n staticClass:\n \"fas fa-exclamation-triangle icon\",\n attrs: { tabindex: \"0\" }\n },\n [\n _c(\n \"span\",\n {\n staticClass: \"sr-only\"\n },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n )\n )\n ]\n )\n ]\n )\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"input\", {\n staticClass: \"sr-only d-none\",\n attrs: {\n \"aria-hidden\": \"true\",\n \"aria-label\":\n \"this is hidden from screen reader\"\n },\n domProps: {\n value:\n _vm.expenseBreakdown.grandTotal\n }\n })\n ]\n }\n }\n ],\n null,\n false,\n 3607971778\n )\n })\n ]\n },\n proxy: true\n }\n : null\n ],\n null,\n true\n )\n }),\n _vm._v(\" \"),\n _vm.isFinalReport\n ? _c(\n \"div\",\n [\n _c(\n \"h3\",\n [\n _c(\"plain-text-control\", {\n attrs: {\n title: \"InvestmentReport.Finances.Results.Title\"\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"results\",\n value: _vm.results,\n showColumnTotals: true\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"indicator\",\n fn: function(slotProps) {\n return [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(slotProps.title)) +\n \"\\n \"\n ),\n _vm.showNoExpensesError(slotProps.line)\n ? _c(\n \"span\",\n { staticClass: \"warning-text\" },\n [\n _c(\n \"i\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: {\n html: true,\n content: _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n },\n expression:\n \"{ html: true, content: $t('Validation.ComputedAmountIsZero') }\",\n modifiers: {\n top: true,\n center: true\n }\n }\n ],\n staticClass:\n \"fas fa-exclamation-triangle icon\",\n attrs: { tabindex: \"0\" }\n },\n [\n _c(\n \"span\",\n { staticClass: \"sr-only\" },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n )\n )\n ]\n )\n ]\n )\n ]\n )\n : _vm._e()\n ]\n }\n }\n ],\n null,\n false,\n 969174570\n )\n }),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.Premises.Area.Title\"\n )\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"premises\", {\n attrs: {\n id: \"premises\",\n title:\n \"InvestmentReport.Finances.Premises.Area.TableTitle\",\n value: _vm.premises.items,\n required: true,\n columnKeys: _vm.premises.columnKeys\n }\n })\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(\n _vm._s(_vm.$t(\"InvestmentReport.Finances.Attachments.Title\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\"attachments\", {\n attrs: { showActions: true },\n model: {\n value: _vm.attachments,\n callback: function($$v) {\n _vm.attachments = $$v\n },\n expression: \"attachments\"\n }\n })\n ],\n 1\n )\n : _vm._e()\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./PremisesFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./PremisesFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./PremisesFinancesView.vue?vue&type=template&id=543854e6&\"\nimport script from \"./PremisesFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./PremisesFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('543854e6', component.options)\n } else {\n api.reload('543854e6', component.options)\n }\n module.hot.accept(\"./PremisesFinancesView.vue?vue&type=template&id=543854e6&\", function () {\n api.rerender('543854e6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/investmentReport/PremisesFinancesView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _vm.model\n ? _c(\n \"div\",\n [\n _c(\"h3\", [\n _vm._v(_vm._s(_vm.$t(\"InvestmentReport.Finances.Funding.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"funding\",\n value: _vm.funding,\n required: true,\n showColumnTotals: true\n }\n }),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(_vm._s(_vm.$t(\"InvestmentReport.Finances.Expenses.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"personnel-expenses\", {\n attrs: { value: _vm.personnelExpenses, features: _vm.features }\n }),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"expense-breakdown\",\n value: _vm.expenseBreakdown,\n required: true,\n showColumnTotals: true\n }\n }),\n _vm._v(\" \"),\n _c(\n \"h3\",\n [\n _c(\"plain-text-control\", {\n attrs: { title: \"InvestmentReport.Finances.Results.Title\" }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"results\",\n value: _vm.results,\n showColumnTotals: true\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"indicator\",\n fn: function(slotProps) {\n return [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$t(slotProps.title)) +\n \"\\n \"\n ),\n _vm.showNoExpensesError(slotProps.line)\n ? _c(\"span\", { staticClass: \"warning-text\" }, [\n _c(\n \"i\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: {\n html: true,\n content: _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n },\n expression:\n \"{ html: true, content: $t('Validation.ComputedAmountIsZero') }\",\n modifiers: { top: true, center: true }\n }\n ],\n staticClass:\n \"fas fa-exclamation-triangle icon\"\n },\n [\n _c(\"span\", { staticClass: \"sr-only\" }, [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"Validation.ComputedAmountIsZero\"\n )\n )\n )\n ])\n ]\n )\n ])\n : _vm._e()\n ]\n }\n }\n ],\n null,\n false,\n 967303033\n )\n }),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(\n _vm._s(_vm.$t(\"InvestmentReport.Finances.Attachments.Title\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\"attachments\", {\n attrs: { showActions: true },\n model: {\n value: _vm.attachments,\n callback: function($$v) {\n _vm.attachments = $$v\n },\n expression: \"attachments\"\n }\n })\n ],\n 1\n )\n : _vm._e()\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./ICTFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./ICTFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./ICTFinancesView.vue?vue&type=template&id=6a43881b&\"\nimport script from \"./ICTFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./ICTFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('6a43881b', component.options)\n } else {\n api.reload('6a43881b', component.options)\n }\n module.hot.accept(\"./ICTFinancesView.vue?vue&type=template&id=6a43881b&\", function () {\n api.rerender('6a43881b', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/investmentReport/ICTFinancesView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _vm.model\n ? _c(\n \"div\",\n [\n _c(\"h3\", [\n _vm._v(_vm._s(_vm.$t(\"InvestmentReport.Finances.Funding.Title\")))\n ]),\n _vm._v(\" \"),\n _c(\"lines-and-details\", {\n attrs: {\n id: \"funding\",\n value: _vm.funding,\n required: true,\n showColumnTotals: true\n }\n }),\n _vm._v(\" \"),\n _vm.showSelfCoveredFundingLoanCondition\n ? _c(\"radio-button-option-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.Funding.SelfCoveredFundingLoanCondition\",\n required: false,\n options: _vm.optionsArray(\"PledgeType\", true)\n },\n model: {\n value: _vm.model.funding.selfCoveredFundingLoanCondition,\n callback: function($$v) {\n _vm.$set(\n _vm.model.funding,\n \"selfCoveredFundingLoanCondition\",\n $$v\n )\n },\n expression: \"model.funding.selfCoveredFundingLoanCondition\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(_vm._s(_vm.$t(\"InvestmentReport.Finances.Expenses.Title\")))\n ]),\n _vm._v(\" \"),\n _vm.apartments\n ? _c(\n \"div\",\n [\n _c(\"apartment-acquisitions-control\", {\n attrs: { apartments: _vm.apartments }\n })\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"h3\", [\n _vm._v(\n _vm._s(_vm.$t(\"InvestmentReport.Finances.Attachments.Title\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\"attachments\", {\n attrs: { showActions: true },\n model: {\n value: _vm.attachments,\n callback: function($$v) {\n _vm.attachments = $$v\n },\n expression: \"attachments\"\n }\n })\n ],\n 1\n )\n : _vm._e()\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./SupportApartmentsFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./SupportApartmentsFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./SupportApartmentsFinancesView.vue?vue&type=template&id=20e7121e&\"\nimport script from \"./SupportApartmentsFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./SupportApartmentsFinancesView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('20e7121e', component.options)\n } else {\n api.reload('20e7121e', component.options)\n }\n module.hot.accept(\"./SupportApartmentsFinancesView.vue?vue&type=template&id=20e7121e&\", function () {\n api.rerender('20e7121e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/investmentReport/SupportApartmentsFinancesView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"OrganisationName\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationName))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [\n _c(\"b\", [_vm._v(_vm._s(_vm.$t(\"Pdf.OrganisationNumber\")))])\n ]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.organisationNumber))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidYear\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.record.year))]],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"text-label-control\",\n {\n scopedSlots: _vm._u([\n {\n key: \"label\",\n fn: function() {\n return [_c(\"b\", [_vm._v(_vm._s(_vm.$t(\"AidTargetNumber\")))])]\n },\n proxy: true\n }\n ])\n },\n [_vm._v(\" \"), [_vm._v(_vm._s(_vm.model.record.aidTargetNumber))]],\n 2\n ),\n _vm._v(\" \"),\n !_vm.showScore\n ? _c(\"div\", [\n _c(\"p\", { staticClass: \"mt-5\" }, [_vm._v(_vm._s(_vm.noScoreText))])\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showScore\n ? _c(\"div\", [\n _c(\"h2\", { staticClass: \"mt-5 mb-2\" }, [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Description1\")))\n ]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.$t(\"Feedback.SummaryReport.Description2\", {\n 0: _vm.model.record.year\n })\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Description3\")))\n ]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.SummaryReport.SummaryScore\")) + \" \"\n ),\n _c(\"strong\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.performance)))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"table\", { staticClass: \"table tablerow mt-4 mb-5\" }, [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { staticClass: \"w-30\" }, [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Valuation\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", { staticClass: \"w-10\" }, [\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.$t(\"Feedback.SummaryReport.Performance\"))\n )\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tbody\", [\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_1\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_1)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_2\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_2)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_3\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_3)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_4\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_4)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_5\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_5)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_6\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_6)))\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tr\", [\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Score_7\")))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(_vm.feedbackInfo.score_7)))\n ])\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"p\", [\n _vm._v(_vm._s(_vm.$t(\"Feedback.SummaryReport.Description4\")))\n ]),\n _vm._v(\" \"),\n _c(\"br\")\n ])\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./SummaryReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??ref--2!./SummaryReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"","import { render, staticRenderFns } from \"./SummaryReportFeedbackView.vue?vue&type=template&id=1d66a005&\"\nimport script from \"./SummaryReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\nexport * from \"./SummaryReportFeedbackView.ts?vue&type=script&lang=ts&charset=utf-8&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('1d66a005', component.options)\n } else {\n api.reload('1d66a005', component.options)\n }\n module.hot.accept(\"./SummaryReportFeedbackView.vue?vue&type=template&id=1d66a005&\", function () {\n api.rerender('1d66a005', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/feedback/SummaryReportFeedbackView.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _c(\n \"label-control\",\n {\n staticClass: \"col-xs-12 col-sm-5 col-form-label\",\n attrs: {\n title: _vm.title,\n instructionKey: _vm.title_instructions,\n required: true\n }\n },\n [_vm._v(_vm._s(_vm.$t(_vm.title)))]\n )\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"ul\",\n { key: _vm.apartmentKey, staticClass: \"accordion list-unstyled\" },\n _vm._l(_vm.apartments, function(apartment, index) {\n return _c(\n \"li\",\n { key: \"aparment-\" + index, staticClass: \"group-wrapper mb-3\" },\n [\n _c(\"div\", { class: \"row heading-div \" + \"apartment-\" + index }, [\n _c(\n \"button\",\n {\n class: [\n _vm.isExpanded(index) ? \"\" : \"collapsed\",\n \"tab-button btn col apartment-\" + index\n ],\n attrs: {\n type: \"button\",\n \"data-toggle\": \"collapse\",\n \"data-target\": \"#collapse\" + index,\n \"aria-controls\": \"collapse\" + index,\n \"aria-expanded\": _vm.isExpanded(index).toString()\n },\n on: {\n click: function($event) {\n return _vm.collapseEvent(index)\n }\n }\n },\n [\n _c(\"i\", { staticClass: \"fas fa-plus fa-lg\" }),\n _vm._v(\" \"),\n _c(\"i\", { staticClass: \"fas fa-minus fa-lg\" }),\n _vm._v(\" \"),\n _c(\"header-control\", {\n attrs: {\n title: _vm.apartmentTitle(apartment, index),\n id: \"apartment-\" + index,\n doNotUseResources: true\n }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n !_vm.isReadOnly\n ? _c(\n \"button\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip.top.center\",\n value: { html: true, content: _vm.duplicateTooltip },\n expression:\n \"{ html: true, content: duplicateTooltip }\",\n modifiers: { top: true, center: true }\n }\n ],\n staticClass: \"btn btn-link right col-auto\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.DuplicateApartment\"\n ) +\n (index + 1)\n },\n on: {\n click: function($event) {\n return _vm.duplicateApartment(apartment)\n }\n }\n },\n [_c(\"i\", { staticClass: \"fa fa-copy fa-lg\" })]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.apartments.length > 1 && !_vm.isReadOnly\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-link right col-auto\",\n attrs: {\n type: \"button\",\n \"aria-label\":\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.DeleteApartment\"\n ) +\n (index + 1) +\n \" \" +\n _vm.$t(\"Accessibility.ConfirmDeleteApartment\")\n },\n on: {\n click: function($event) {\n return _vm.deleteApartment(apartment)\n }\n }\n },\n [_c(\"i\", { staticClass: \"fa fa-trash-alt fa-lg\" })]\n )\n : _vm._e()\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n class: [_vm.isExpanded(index) ? \"show\" : \"\", \"collapse\"],\n attrs: { id: \"collapse\" + index }\n },\n [\n _c(\"apartment-control\", {\n attrs: { apartment: apartment, index: index }\n })\n ],\n 1\n )\n ]\n )\n }),\n 0\n ),\n _vm._v(\" \"),\n !_vm.isReadOnly\n ? _c(\"div\", { staticClass: \"mt-3\" }, [\n _vm.apartments.length < 100\n ? _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: { type: \"button\" },\n on: {\n click: function($event) {\n return _vm.create()\n }\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.AddApartment\"\n )\n )\n )\n ]\n )\n : _c(\n \"button\",\n {\n staticClass: \"btn btn-secondary\",\n attrs: {\n type: \"button\",\n disabled: \"\",\n \"aria-disabled\": \"true\"\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.AddApartment\"\n )\n )\n )\n ]\n )\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"h4\", { attrs: { id: \"ApartmentTotals\" } }, [\n _vm._v(\n _vm._s(_vm.$t(\"InvestmentReport.Finances.ApartmentAcquisitions.Totals\"))\n )\n ]),\n _vm._v(\" \"),\n _c(\n \"table\",\n {\n staticClass: \"mt-3 table tablerow\",\n attrs: { \"aria-labelledby\": \"ApartmentTotals\" }\n },\n [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.TotalEuro\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.FreeOfDebtPrices\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.TransferTaxes\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.RepairCostTotal\"\n )\n )\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"th\", [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$t(\n \"InvestmentReport.Finances.ApartmentAcquisitions.GrandTotalCosts\"\n )\n )\n )\n ])\n ])\n ])\n ]),\n _vm._v(\" \"),\n _c(\"tbody\", [\n _c(\"tr\", [\n _c(\"th\", [_c(\"span\", [_vm._v(_vm._s(_vm.$t(_vm.title)))])]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.freeOfDebtPrices)))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.transferTaxes)))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.repairCosts)))\n ])\n ]),\n _vm._v(\" \"),\n _c(\"td\", [\n _c(\"span\", [\n _vm._v(_vm._s(_vm._f(\"formatNumber\")(_vm.grandTotal)))\n ])\n ])\n ])\n ])\n ]\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApartmentAcquisitionsControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApartmentAcquisitionsControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApartmentAcquisitionsControl.vue?vue&type=template&id=7a061961&\"\nimport script from \"./ApartmentAcquisitionsControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApartmentAcquisitionsControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('7a061961', component.options)\n } else {\n api.reload('7a061961', component.options)\n }\n module.hot.accept(\"./ApartmentAcquisitionsControl.vue?vue&type=template&id=7a061961&\", function () {\n api.rerender('7a061961', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/investmentReport/controls/ApartmentAcquisitionsControl.vue\"\nexport default component.exports","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"group-content\" },\n [\n _c(\"single-select-accessible\", {\n attrs: {\n title:\n \"BudgetaryEstimate.Investment.SupportApartments.Apartment.TargetGroup\",\n options: _vm.targetGroupOptions,\n doNotUseResources: true,\n required: true,\n fixedDirection: true,\n dropdownId: \"targetGroup_\" + _vm.index\n },\n model: {\n value: _vm.apartment.targetGroup,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"targetGroup\", $$v)\n },\n expression: \"apartment.targetGroup\"\n }\n }),\n _vm._v(\" \"),\n _vm.apartment.targetGroup == _vm.otherTargetGroupId\n ? _c(\"text-area-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.OtherTargetGroup\",\n rows: 1,\n maxLength: 100,\n required: true,\n hideCharsLeft: true,\n placeholder:\n \"InvestmentReport.Finances.ApartmentAcquisitions.OtherTargetGroupPlaceholder\"\n },\n model: {\n value: _vm.apartment.otherTargetGroup,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"otherTargetGroup\", $$v)\n },\n expression: \"apartment.otherTargetGroup\"\n }\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"radio-button-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.PriceRuleIsCleared\",\n componentIndex: _vm.index,\n required: true\n },\n model: {\n value: _vm.apartment.acquisitionPriceRuleIsCleared,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"acquisitionPriceRuleIsCleared\", $$v)\n },\n expression: \"apartment.acquisitionPriceRuleIsCleared\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.FreeOfDebtPrice\",\n id: \"price_\" + _vm.index,\n required: true,\n minValue: 1\n },\n model: {\n value: _vm.apartment.freeOfDebtPrice,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"freeOfDebtPrice\", $$v)\n },\n expression: \"apartment.freeOfDebtPrice\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.TransferTax\",\n id: \"tax_\" + _vm.index,\n required: true\n },\n model: {\n value: _vm.apartment.transferTax,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"transferTax\", $$v)\n },\n expression: \"apartment.transferTax\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.RepairCosts\",\n id: \"repairs_\" + _vm.index\n },\n model: {\n value: _vm.apartment.repairCosts,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"repairCosts\", $$v)\n },\n expression: \"apartment.repairCosts\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.TotalCosts\",\n id: \"totalCosts_\" + _vm.index,\n disabled: true\n },\n model: {\n value: _vm.totalCosts,\n callback: function($$v) {\n _vm.totalCosts = $$v\n },\n expression: \"totalCosts\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.YearOfAcquisition\",\n id: \"year_\" + _vm.index,\n required: true,\n minValue: 1000,\n maxValue: _vm.currentYear\n },\n model: {\n value: _vm.apartment.yearOfAcquisition,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"yearOfAcquisition\", $$v)\n },\n expression: \"apartment.yearOfAcquisition\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.PledgeType\",\n options: _vm.pledgeTypeOptions,\n doNotUseResources: true,\n required: true,\n fixedDirection: true,\n dropdownId: \"pledgeType_\" + _vm.index\n },\n model: {\n value: _vm.apartment.typeOfPledge,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"typeOfPledge\", $$v)\n },\n expression: \"apartment.typeOfPledge\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.RentType\",\n options: _vm.rentTypeOptions,\n doNotUseResources: true,\n required: true,\n fixedDirection: true,\n dropdownId: \"rentType_\" + _vm.index\n },\n model: {\n value: _vm.apartment.typeOfRent,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"typeOfRent\", $$v)\n },\n expression: \"apartment.typeOfRent\"\n }\n }),\n _vm._v(\" \"),\n _c(\"decimal-input-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.RentPerSquareMeter\",\n id: \"rent_\" + _vm.index,\n required: true,\n minValue: 1,\n decimals: 2\n },\n model: {\n value: _vm.apartment.rentPerSquareMeter,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"rentPerSquareMeter\", $$v)\n },\n expression: \"apartment.rentPerSquareMeter\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.Size\",\n id: \"size_\" + _vm.index,\n required: true,\n minValue: 1\n },\n model: {\n value: _vm.apartment.size,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"size\", $$v)\n },\n expression: \"apartment.size\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.ApartmentRooms\",\n options: _vm.roomsOptions,\n doNotUseResources: true,\n required: true,\n fixedDirection: true,\n dropdownId: \"rooms_\" + _vm.index\n },\n model: {\n value: _vm.apartment.numberOfRooms,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"numberOfRooms\", $$v)\n },\n expression: \"apartment.numberOfRooms\"\n }\n }),\n _vm._v(\" \"),\n _c(\"numeric-input-row\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.ConstructionYear\",\n id: \"constructionYear_\" + _vm.index,\n required: true,\n minValue: 1000,\n maxValue: _vm.currentYear\n },\n model: {\n value: _vm.apartment.constructionYear,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"constructionYear\", $$v)\n },\n expression: \"apartment.constructionYear\"\n }\n }),\n _vm._v(\" \"),\n _c(\"single-select-accessible\", {\n attrs: {\n title:\n \"InvestmentReport.Finances.ApartmentAcquisitions.TypeOfHousing\",\n options: _vm.housingOptions,\n doNotUseResources: true,\n required: true,\n fixedDirection: true,\n dropdownId: \"housing_\" + _vm.index\n },\n model: {\n value: _vm.apartment.typeOfHousing,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"typeOfHousing\", $$v)\n },\n expression: \"apartment.typeOfHousing\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-area-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.BusinessId\",\n rows: 1,\n maxLength: 10,\n required: !(_vm.apartment.shareGroupId || _vm.apartment.realEstateId),\n hideCharsLeft: true,\n rules: _vm.businessIdRules\n },\n model: {\n value: _vm.apartment.businessId,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"businessId\", $$v)\n },\n expression: \"apartment.businessId\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-area-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.ShareGroupId\",\n rows: 1,\n maxLength: 16,\n required: !(_vm.apartment.businessId || _vm.apartment.realEstateId),\n hideCharsLeft: true,\n rules: _vm.shareGroupIdRules\n },\n model: {\n value: _vm.apartment.shareGroupId,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"shareGroupId\", $$v)\n },\n expression: \"apartment.shareGroupId\"\n }\n }),\n _vm._v(\" \"),\n _c(\"text-area-row\", {\n attrs: {\n title: \"InvestmentReport.Finances.ApartmentAcquisitions.RealEstateId\",\n rows: 1,\n maxLength: 20,\n required: !(_vm.apartment.businessId || _vm.apartment.shareGroupId),\n rules: _vm.realEstateIdRules,\n hideCharsLeft: true\n },\n model: {\n value: _vm.apartment.realEstateId,\n callback: function($$v) {\n _vm.$set(_vm.apartment, \"realEstateId\", $$v)\n },\n expression: \"apartment.realEstateId\"\n }\n }),\n _vm._v(\" \"),\n _c(\"address-control\", {\n attrs: {\n item: _vm.apartment.address,\n isInvestmentReport: true,\n hideHeader: true\n }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApartmentControl.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/ts-loader/index.js??ref--2!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApartmentControl.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApartmentControl.vue?vue&type=template&id=5d002272&\"\nimport script from \"./ApartmentControl.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApartmentControl.vue?vue&type=script&lang=ts&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\TeamCity\\\\buildAgent2\\\\work\\\\cff3267e3b2a10bd\\\\Asiointi\\\\Asiointi.Web\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('5d002272', component.options)\n } else {\n api.reload('5d002272', component.options)\n }\n module.hot.accept(\"./ApartmentControl.vue?vue&type=template&id=5d002272&\", function () {\n api.rerender('5d002272', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"ClientApp/template/components/investmentReport/controls/ApartmentControl.vue\"\nexport default component.exports","import CookieContainer from \"./CookieContainer\";\r\nvar CookiePolicyType;\r\n(function (CookiePolicyType) {\r\n CookiePolicyType[CookiePolicyType[\"None\"] = 0] = \"None\";\r\n CookiePolicyType[CookiePolicyType[\"All\"] = 1] = \"All\";\r\n CookiePolicyType[CookiePolicyType[\"OnlyNecessary\"] = 2] = \"OnlyNecessary\";\r\n})(CookiePolicyType || (CookiePolicyType = {}));\r\n/**\r\n * The cookie policy consent cookie\r\n * - If it does not exists, then user has to be prompted for their consent.\r\n * - If it is given then it is either All for accepting all cookies OR\r\n * OnlyNecessary for accepting only the necessary (for the operation of the site) cookies.\r\n * */\r\nvar ConsentCookie = /** @class */ (function () {\r\n function ConsentCookie() {\r\n }\r\n ConsentCookie.isGiven = function () {\r\n return this.isAll() || this.isNecessaryOnly();\r\n };\r\n ConsentCookie.isAll = function () {\r\n return this.currentPolicy() == CookiePolicyType.All;\r\n };\r\n ConsentCookie.isNecessaryOnly = function () {\r\n return this.currentPolicy() == CookiePolicyType.OnlyNecessary;\r\n };\r\n ConsentCookie.currentPolicy = function () {\r\n var consentValue = CookieContainer.get('_mconsent');\r\n if (consentValue) {\r\n return Number(consentValue);\r\n }\r\n else {\r\n return CookiePolicyType.None;\r\n }\r\n };\r\n ConsentCookie.setAll = function (expiryDays, domain, path) {\r\n CookieContainer.set('_mconsent', CookiePolicyType.All, expiryDays, domain, path, null, null);\r\n };\r\n ConsentCookie.setNecessaryOnly = function (expiryDays, domain, path) {\r\n CookieContainer.set('_mconsent', CookiePolicyType.OnlyNecessary, expiryDays, domain, path, null, null);\r\n };\r\n return ConsentCookie;\r\n}());\r\nexport default ConsentCookie;\r\n","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\n/**\r\n * Handles Motomo Analytics events, enabling and disabling tracking.\r\n * */\r\nimport { Vue } from \"vue-property-decorator\";\r\nvar MotomoAnalytics = /** @class */ (function (_super) {\r\n __extends(MotomoAnalytics, _super);\r\n function MotomoAnalytics() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n /**\r\n * Signal a single page view.\r\n * @param pagePath Path of the page.\r\n */\r\n MotomoAnalytics.pageView = function (pagePath, consentGiven) {\r\n var _paq = window._paq = window._paq || [];\r\n if (consentGiven) {\r\n _paq.push(['setConsentGiven']);\r\n var path = this.RemoveGuidFromPath(pagePath);\r\n _paq.push(['trackPageView', path]);\r\n }\r\n };\r\n MotomoAnalytics.RemoveGuidFromPath = function (pagePath) {\r\n return pagePath.replace(/\\b[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\\b/, 'id');\r\n };\r\n return MotomoAnalytics;\r\n}(Vue));\r\nexport default MotomoAnalytics;\r\n","var __values = (this && this.__values) || function(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n};\r\nimport ConsentCookie from \"./ConsentCookie\";\r\nimport CookieContainer from \"./CookieContainer\";\r\nimport MotomoAnalytics from \"./MotomoAnalytics\";\r\n/**\r\n * User's cookie policy.\r\n * */\r\nvar CookiePolicy = /** @class */ (function () {\r\n function CookiePolicy(config) {\r\n this._config = config;\r\n this.disableGoogleAnalyticsCookies();\r\n }\r\n CookiePolicy.prototype.enforce = function () {\r\n if (!this.isAll()) {\r\n this.disableOptionalCookies();\r\n }\r\n };\r\n CookiePolicy.prototype.setPageView = function (path) {\r\n if (this._config.matomoPath && this.isAll()) {\r\n MotomoAnalytics.pageView(path, true);\r\n }\r\n };\r\n /**\r\n * Has user consented to the use of cookies?\r\n * */\r\n CookiePolicy.prototype.isConsented = function () {\r\n return this.isAll() || this.isNecessaryOnly();\r\n };\r\n /**\r\n * Has user consented to the use of _all_ cookies?\r\n * */\r\n CookiePolicy.prototype.isAll = function () {\r\n return ConsentCookie.isAll();\r\n };\r\n /**\r\n * Has user consented only to the use of necessary cookies?\r\n * */\r\n CookiePolicy.prototype.isNecessaryOnly = function () {\r\n return ConsentCookie.isNecessaryOnly();\r\n };\r\n /**\r\n * Give consent to the use of all cookies.\r\n * */\r\n CookiePolicy.prototype.consentToAll = function () {\r\n var _a = this._config.cookieConsent, expiryDays = _a.expiryDays, domain = _a.domain, path = _a.path;\r\n ConsentCookie.setAll(expiryDays, domain, path);\r\n };\r\n /**\r\n * Give consent to the use of necessary cookies only.\r\n * */\r\n CookiePolicy.prototype.consentToNecessaryOnly = function () {\r\n var _a = this._config.cookieConsent, expiryDays = _a.expiryDays, domain = _a.domain, path = _a.path;\r\n ConsentCookie.setNecessaryOnly(expiryDays, domain, path);\r\n this.disableOptionalCookies();\r\n };\r\n /**\r\n * Disable old Google Analytics cookies\r\n *\r\n * */\r\n CookiePolicy.prototype.disableGoogleAnalyticsCookies = function () {\r\n var e_1, _a, e_2, _b;\r\n var _c = this._config.cookieConsent, expiryDays = _c.expiryDays, domain = _c.domain, path = _c.path;\r\n var gaCookies = CookieContainer.findCookies(/^(_gid|_ga.*)/);\r\n if (gaCookies.length > 0) {\r\n try {\r\n for (var gaCookies_1 = __values(gaCookies), gaCookies_1_1 = gaCookies_1.next(); !gaCookies_1_1.done; gaCookies_1_1 = gaCookies_1.next()) {\r\n var cookie = gaCookies_1_1.value;\r\n CookieContainer.delete(cookie, domain, path);\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (gaCookies_1_1 && !gaCookies_1_1.done && (_a = gaCookies_1.return)) _a.call(gaCookies_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n }\r\n var gaConsentCookies = CookieContainer.findCookies(/^(_consent.*)/);\r\n try {\r\n for (var gaConsentCookies_1 = __values(gaConsentCookies), gaConsentCookies_1_1 = gaConsentCookies_1.next(); !gaConsentCookies_1_1.done; gaConsentCookies_1_1 = gaConsentCookies_1.next()) {\r\n var cookie = gaConsentCookies_1_1.value;\r\n CookieContainer.delete(cookie, domain, path);\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (gaConsentCookies_1_1 && !gaConsentCookies_1_1.done && (_b = gaConsentCookies_1.return)) _b.call(gaConsentCookies_1);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n };\r\n CookiePolicy.prototype.disableOptionalCookies = function () {\r\n var e_3, _a;\r\n var _b = this._config.cookieConsent, domain = _b.domain, path = _b.path;\r\n var mCookies = CookieContainer.findCookies(/^(_pk.*)/);\r\n try {\r\n for (var mCookies_1 = __values(mCookies), mCookies_1_1 = mCookies_1.next(); !mCookies_1_1.done; mCookies_1_1 = mCookies_1.next()) {\r\n var cookie = mCookies_1_1.value;\r\n CookieContainer.delete(cookie, domain, path);\r\n }\r\n }\r\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\r\n finally {\r\n try {\r\n if (mCookies_1_1 && !mCookies_1_1.done && (_a = mCookies_1.return)) _a.call(mCookies_1);\r\n }\r\n finally { if (e_3) throw e_3.error; }\r\n }\r\n };\r\n return CookiePolicy;\r\n}());\r\nexport { CookiePolicy };\r\n","var __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nimport \"isomorphic-fetch\";\r\nimport { polyfill } from \"es6-promise\";\r\nimport \"core-js\";\r\nimport Vue from \"vue\";\r\nimport { getCultureCookieValue } from '@/common/utils/cookieUtilities';\r\nimport { initializeI18n } from './initializeI18n';\r\nimport { initializeLoginAppI18n } from './initializeLoginAppI18n';\r\nimport { appId, storeInLocalStorage, shutdownLocalStorageApps } from './appId';\r\nimport { extend, localize, configure } from \"vee-validate\";\r\nimport sv from \"vee-validate/dist/locale/sv.json\";\r\nimport fi from 'vee-validate/dist/locale/fi.json';\r\nimport { max, min, required, numeric, digits, is } from 'vee-validate/dist/rules';\r\nimport { withinRange, businessId, bothNotFalse, notNullOption, businessIdExists, organisationWithoutAdmin, phone, postalCode, name, organisationName, min_value, max_value, realEstateId, monthYearDate, laterThanStrDate, earlierThanStrDate, iban, fullDate, email, shareGroupId, stringsMatchConfirm, emailIsNotTaken, password } from '@/common/validators/veevalidators';\r\nimport { setInteractionMode } from 'vee-validate';\r\nimport { BootstrapVue } from 'bootstrap-vue';\r\n// This should be later changed back to vue-multiselect, once version 3.x (or a previous one) with accessibility changes is released.\r\nimport Multiselect from \"vue-multiselect-accessibility\";\r\nimport VueRouter from 'vue-router';\r\nimport VueNumeric from \"nettix-vue-numeric\";\r\nimport VueI18n from 'vue-i18n';\r\nimport MobileDetect from 'mobile-device-detect';\r\nimport store from \"./store/store\";\r\nimport { getRouter } from \"./router/router\";\r\nimport { getLoginAppRouter } from \"../loginApp/template/router/router\";\r\nimport { mapGetters } from \"vuex\";\r\nimport ResourcesService from \"@/common/services/resourcesService\";\r\nimport AuthenticationService from \"@/common/services/authenticationService\";\r\nimport ConfigurationsService from \"@/common/services/ConfigurationsService\";\r\nimport FileUpload from 'vue-upload-component';\r\nimport App from \"./App.vue\";\r\nimport LoginApp from \"./LoginApp.vue\";\r\nimport { formatDate, formatDatetime } from \"@/common/filters/formatDate\";\r\nimport { formatPercentage } from \"@/common/filters/formatPercentage\";\r\nimport { formatNumber } from \"@/common/filters/formatNumber\";\r\nimport { toUpperCase } from \"@/common/filters/toUpperCase\";\r\nimport { shutdown } from \"@/common/utils/eventHandlers\";\r\nimport { CookiePolicy } from '@/common/types/CookiePolicy';\r\nimport CookieContainer from \"@/common/types/CookieContainer\";\r\nimport moment from \"moment\";\r\nimport VueMatomo from 'vue-matomo';\r\nVue.config.performance = true;\r\npolyfill();\r\nVue.use(VueRouter);\r\nVue.use(VueI18n);\r\nVue.use(BootstrapVue);\r\n// Component doesn't have typings so needs to be installed this way.\r\nvar VTooltip = require('v-tooltip');\r\nvar tooltipOptions = {};\r\nif (MobileDetect.isMobile) {\r\n tooltipOptions = { \"autoHide\": false, \"defaultTrigger\": 'click' };\r\n}\r\nelse {\r\n tooltipOptions = { \"autoHide\": false };\r\n}\r\nVue.use(VTooltip, tooltipOptions);\r\nVue.component(\"multiselect\", Multiselect);\r\nVue.component(\"vue-numeric\", VueNumeric);\r\nVue.component('file-upload', FileUpload);\r\n// Install finnish and swedish VeeValidate localizations.\r\nlocalize({\r\n fi: fi,\r\n sv: sv\r\n});\r\nVue.filter(\"truncate\", function (value, beginLimit, endLimit) {\r\n var tail = \"...\";\r\n var endLimitValue = endLimit ? endLimit : 0;\r\n var text = value;\r\n if (text && text.length > beginLimit + endLimitValue) {\r\n text = text.substring(0, beginLimit).trim();\r\n text = text + tail;\r\n text = text + value.substring(value.length - endLimitValue, value.length).trim();\r\n }\r\n return text;\r\n});\r\nVue.filter(\"tailing\", function (value, tail) {\r\n return value ? value + tail : value;\r\n});\r\nVue.filter(formatNumber.id, formatNumber.definition);\r\nVue.filter(\"formatDecimalNumber\", function (value) {\r\n return value ? Math.round(value * 10) / 10 : value;\r\n});\r\nVue.filter(formatDate.id, formatDate.definition);\r\nVue.filter(formatDatetime.id, formatDatetime.definition);\r\nVue.filter(toUpperCase.id, toUpperCase.definition);\r\nVue.filter(formatPercentage.id, formatPercentage.definition);\r\ninitializeConfiguration()\r\n .then(function (config) {\r\n initializeCookiePolicy(config);\r\n return config;\r\n})\r\n .then(function (config) { return initializeApp(config); });\r\nfunction initializeCookiePolicy(config) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var policy;\r\n return __generator(this, function (_a) {\r\n policy = new CookiePolicy(config);\r\n policy.enforce();\r\n store.commit(\"vuexPageModule/SET_COOKIEPOLICY\", policy);\r\n return [2 /*return*/];\r\n });\r\n });\r\n}\r\nfunction checkAuthentication() {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var authService;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n authService = new AuthenticationService();\r\n return [4 /*yield*/, authService.isAuthenticated()];\r\n case 1: return [2 /*return*/, _a.sent()];\r\n }\r\n });\r\n });\r\n}\r\nfunction checkProcuration() {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var authService, currentUser;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n authService = new AuthenticationService();\r\n return [4 /*yield*/, authService.getCurrentUser()];\r\n case 1:\r\n currentUser = _a.sent();\r\n return [2 /*return*/, currentUser.hasProcuration];\r\n }\r\n });\r\n });\r\n}\r\n/**\r\n *\r\n * Initialize Vue application\r\n *\r\n **/\r\nfunction initializeApp(config) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var hasAuth;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, checkAuthentication()];\r\n case 1:\r\n hasAuth = _a.sent();\r\n if (!hasAuth) return [3 /*break*/, 3];\r\n return [4 /*yield*/, initializeAuthenticatedApp(config)];\r\n case 2:\r\n _a.sent();\r\n return [3 /*break*/, 5];\r\n case 3: return [4 /*yield*/, initializeLoginApp(config)];\r\n case 4:\r\n _a.sent();\r\n _a.label = 5;\r\n case 5: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n}\r\nfunction initializeAuthenticatedApp(config) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var lang, resourceService, i18n, hasProcuration_1, router_1, e_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n _a.trys.push([0, 4, , 5]);\r\n return [4 /*yield*/, initilizeBackend()];\r\n case 1:\r\n _a.sent();\r\n lang = getCultureCookieValue();\r\n resourceService = new ResourcesService();\r\n return [4 /*yield*/, initializeI18n(resourceService, lang)];\r\n case 2:\r\n i18n = _a.sent();\r\n return [4 /*yield*/, checkProcuration()];\r\n case 3:\r\n hasProcuration_1 = _a.sent();\r\n initializeVeeValidate(i18n);\r\n router_1 = getRouter(config);\r\n router_1.beforeEach(function (to, from, next) {\r\n if (to.path == \"/sessionExpired\") {\r\n next();\r\n return;\r\n }\r\n if (to.meta.procurationOnly && !hasProcuration_1) {\r\n router_1.push(\"/\");\r\n next();\r\n return;\r\n }\r\n if (from.path == \"/sessionExpired\") {\r\n router_1.push(\"/sessionExpired\");\r\n next();\r\n return;\r\n }\r\n //App.ts check is user authenticated\r\n next();\r\n });\r\n initializeVue(i18n, router_1, config);\r\n return [3 /*break*/, 5];\r\n case 4:\r\n e_1 = _a.sent();\r\n console.error('Failed to initialize Vue Authed', e_1);\r\n return [3 /*break*/, 5];\r\n case 5: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n}\r\nfunction initializeLoginApp(config) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var lang, resourceService, i18n, router, e_2;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n _a.trys.push([0, 3, , 4]);\r\n return [4 /*yield*/, addSessionExpirationCookie()];\r\n case 1:\r\n _a.sent();\r\n lang = getCultureCookieValue();\r\n resourceService = new ResourcesService();\r\n return [4 /*yield*/, initializeLoginAppI18n(resourceService, lang)];\r\n case 2:\r\n i18n = _a.sent();\r\n initializeVeeValidate(i18n);\r\n router = getLoginAppRouter();\r\n router.beforeEach(function (to, from, next) {\r\n // Tarvitaanko t�h�n jotain?\r\n next();\r\n });\r\n initializeLoginAppVue(i18n, router, config);\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_2 = _a.sent();\r\n console.error('Failed to initialize Vue Login', e_2);\r\n return [3 /*break*/, 4];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n}\r\nfunction addSessionExpirationCookie() {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var value;\r\n return __generator(this, function (_a) {\r\n value = moment(new Date()).add(7, 'days').utc().format(\"YYYY-MM-DDTHH:mm:ss\") + \"Z\";\r\n CookieContainer.set(\"SessionExpires\", encodeURIComponent(value), 7, null, null, true, \"Lax\");\r\n return [2 /*return*/];\r\n });\r\n });\r\n}\r\n/**\r\n *\r\n * 'Touch' the back-end service end-point which checks that the user is authenticated.\r\n *\r\n **/\r\nfunction initilizeBackend() {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var authService, authOk, _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n _b.trys.push([0, 2, , 3]);\r\n authService = new AuthenticationService();\r\n return [4 /*yield*/, authService.isAuthenticated()];\r\n case 1:\r\n authOk = _b.sent();\r\n return [2 /*return*/, authOk];\r\n case 2:\r\n _a = _b.sent();\r\n throw new Error('Failed to authenticate');\r\n case 3: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n}\r\nfunction initializeConfiguration() {\r\n return __awaiter(this, void 0, Promise, function () {\r\n var configuration, configService, config, e_3;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n configuration = null;\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 3, , 4]);\r\n configService = new ConfigurationsService();\r\n return [4 /*yield*/, configService.getSettings()];\r\n case 2:\r\n config = _a.sent();\r\n store.commit(\"vuexPageModule/SET_CONFIGURATION\", config);\r\n configuration = config;\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_3 = _a.sent();\r\n store.commit(\"vuexPageModule/SET_CONFIGURATION\", null);\r\n console.error(e_3);\r\n return [3 /*break*/, 4];\r\n case 4: return [2 /*return*/, configuration];\r\n }\r\n });\r\n });\r\n}\r\n/**\r\n *\r\n * Register validations and map localized error messages\r\n *\r\n **/\r\nfunction initializeVeeValidate(i18n) {\r\n configure({\r\n defaultMessage: function (field, values) {\r\n // 'field' contains the value of the name attribute of the active ValidationProvider\r\n return i18n.t(\"Validation.\" + values._rule_, values);\r\n }\r\n });\r\n extend(\"required\", required);\r\n extend(\"min_value\", min_value);\r\n extend(\"max_value\", max_value);\r\n extend(\"minlength\", min);\r\n extend(\"maxlength\", max);\r\n extend(\"is\", is);\r\n extend(\"within\", withinRange);\r\n extend(\"laterStr\", laterThanStrDate);\r\n extend(\"earlierStr\", earlierThanStrDate);\r\n extend(\"email\", email);\r\n extend(\"emailnottaken\", emailIsNotTaken);\r\n extend(\"numeric\", numeric);\r\n extend(\"businessId\", businessId);\r\n extend(\"businessIdExists\", businessIdExists);\r\n extend(\"organisationWithoutAdmin\", organisationWithoutAdmin);\r\n extend(\"phone\", phone);\r\n extend(\"postalCode\", postalCode);\r\n extend(\"name\", name);\r\n extend(\"organisationName\", organisationName);\r\n extend(\"shareGroupId\", shareGroupId);\r\n extend(\"realEstateId\", realEstateId);\r\n extend(\"digits\", digits);\r\n extend(\"monthYearDate\", monthYearDate);\r\n extend(\"fullDate\", fullDate);\r\n extend(\"iban\", iban);\r\n extend(\"bothNotFalse\", bothNotFalse);\r\n extend(\"notNullOption\", notNullOption);\r\n extend(\"passwordConfirm\", stringsMatchConfirm);\r\n extend(\"emailConfirm\", stringsMatchConfirm);\r\n extend(\"password\", password);\r\n // 'eager' first validation lazily, then aggressively\r\n setInteractionMode('eager');\r\n}\r\n/**\r\n *\r\n * Mount the Vue app\r\n *\r\n **/\r\nfunction initializeVue(i18n, router, config) {\r\n Vue.use(VueMatomo, {\r\n host: config.matomoPath,\r\n siteId: config.matomoSiteId,\r\n requireConsent: true,\r\n enableLinkTracking: true,\r\n });\r\n new Vue({\r\n store: store,\r\n router: router,\r\n i18n: i18n,\r\n render: function (h) { return h(App); },\r\n computed: __assign({}, mapGetters(\"vuexpage-module\", [\r\n \"loading\"\r\n ])),\r\n beforeCreate: function () {\r\n // When starting to create the app, initialize the app id and run shutdown\r\n // on all apps whose ids are in local storage.\r\n store.commit(\"vuexPageModule/SET_APPID\", appId);\r\n shutdownLocalStorageApps();\r\n window.addEventListener('beforeunload', function (e) {\r\n // When moving out of the site (by changing the url, F5 or browser/tab close)\r\n // persist the current app id in local storage and attempt to perform shutdown.\r\n storeInLocalStorage(appId);\r\n store.commit(\"vuexPageModule/START_SHUTDOWN\");\r\n shutdown(appId);\r\n });\r\n },\r\n beforeDestroy: function () {\r\n // When unloading the Asiointi vue app, persist the current app id in local storage\r\n // and attempt to perform shutfown.\r\n storeInLocalStorage(appId);\r\n store.commit(\"vuexPageModule/START_SHUTDOWN\");\r\n shutdown(appId);\r\n }\r\n }).$mount(\"#app\");\r\n}\r\n/**\r\n*\r\n* Mount the login app Vue\r\n*\r\n**/\r\nfunction initializeLoginAppVue(i18n, router, config) {\r\n Vue.use(VueMatomo, {\r\n host: config.matomoPath,\r\n siteId: config.matomoSiteId,\r\n requireConsent: true,\r\n enableLinkTracking: true,\r\n });\r\n new Vue({\r\n store: store,\r\n router: router,\r\n i18n: i18n,\r\n render: function (h) { return h(LoginApp); },\r\n computed: __assign({}, mapGetters(\"vuexpage-module\", [\r\n \"loading\"\r\n ]))\r\n }).$mount(\"#app\");\r\n}\r\n","/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE\n * @version 3.3.1\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.ES6Promise = factory());\n}(this, (function () { 'use strict';\n\nfunction objectOrFunction(x) {\n return typeof x === 'function' || typeof x === 'object' && x !== null;\n}\n\nfunction isFunction(x) {\n return typeof x === 'function';\n}\n\nvar _isArray = undefined;\nif (!Array.isArray) {\n _isArray = function (x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n} else {\n _isArray = Array.isArray;\n}\n\nvar isArray = _isArray;\n\nvar len = 0;\nvar vertxNext = undefined;\nvar customSchedulerFn = undefined;\n\nvar asap = function asap(callback, arg) {\n queue[len] = callback;\n queue[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 2, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n if (customSchedulerFn) {\n customSchedulerFn(flush);\n } else {\n scheduleFlush();\n }\n }\n};\n\nfunction setScheduler(scheduleFn) {\n customSchedulerFn = scheduleFn;\n}\n\nfunction setAsap(asapFn) {\n asap = asapFn;\n}\n\nvar browserWindow = typeof window !== 'undefined' ? window : undefined;\nvar browserGlobal = browserWindow || {};\nvar BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\nvar isNode = typeof self === 'undefined' && typeof process !== 'undefined' && ({}).toString.call(process) === '[object process]';\n\n// test for web worker but not in IE10\nvar isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n// node\nfunction useNextTick() {\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // see https://github.com/cujojs/when/issues/410 for details\n return function () {\n return process.nextTick(flush);\n };\n}\n\n// vertx\nfunction useVertxTimer() {\n return function () {\n vertxNext(flush);\n };\n}\n\nfunction useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return function () {\n node.data = iterations = ++iterations % 2;\n };\n}\n\n// web worker\nfunction useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return function () {\n return channel.port2.postMessage(0);\n };\n}\n\nfunction useSetTimeout() {\n // Store setTimeout reference so es6-promise will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var globalSetTimeout = setTimeout;\n return function () {\n return globalSetTimeout(flush, 1);\n };\n}\n\nvar queue = new Array(1000);\nfunction flush() {\n for (var i = 0; i < len; i += 2) {\n var callback = queue[i];\n var arg = queue[i + 1];\n\n callback(arg);\n\n queue[i] = undefined;\n queue[i + 1] = undefined;\n }\n\n len = 0;\n}\n\nfunction attemptVertx() {\n try {\n var r = require;\n var vertx = r('vertx');\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n } catch (e) {\n return useSetTimeout();\n }\n}\n\nvar scheduleFlush = undefined;\n// Decide what async method to use to triggering processing of queued callbacks:\nif (isNode) {\n scheduleFlush = useNextTick();\n} else if (BrowserMutationObserver) {\n scheduleFlush = useMutationObserver();\n} else if (isWorker) {\n scheduleFlush = useMessageChannel();\n} else if (browserWindow === undefined && typeof require === 'function') {\n scheduleFlush = attemptVertx();\n} else {\n scheduleFlush = useSetTimeout();\n}\n\nfunction then(onFulfillment, onRejection) {\n var _arguments = arguments;\n\n var parent = this;\n\n var child = new this.constructor(noop);\n\n if (child[PROMISE_ID] === undefined) {\n makePromise(child);\n }\n\n var _state = parent._state;\n\n if (_state) {\n (function () {\n var callback = _arguments[_state - 1];\n asap(function () {\n return invokeCallback(_state, child, callback, parent._result);\n });\n })();\n } else {\n subscribe(parent, child, onFulfillment, onRejection);\n }\n\n return child;\n}\n\n/**\n `Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n resolve(1);\n });\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.resolve(1);\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n @method resolve\n @static\n @param {Any} value value that the returned promise will be resolved with\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n*/\nfunction resolve(object) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(noop);\n _resolve(promise, object);\n return promise;\n}\n\nvar PROMISE_ID = Math.random().toString(36).substring(16);\n\nfunction noop() {}\n\nvar PENDING = void 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\n\nvar GET_THEN_ERROR = new ErrorObject();\n\nfunction selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n}\n\nfunction cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n}\n\nfunction getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n GET_THEN_ERROR.error = error;\n return GET_THEN_ERROR;\n }\n}\n\nfunction tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n try {\n then.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n}\n\nfunction handleForeignThenable(promise, thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(then, thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n _resolve(promise, value);\n } else {\n fulfill(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n\n _reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && error) {\n sealed = true;\n _reject(promise, error);\n }\n }, promise);\n}\n\nfunction handleOwnThenable(promise, thenable) {\n if (thenable._state === FULFILLED) {\n fulfill(promise, thenable._result);\n } else if (thenable._state === REJECTED) {\n _reject(promise, thenable._result);\n } else {\n subscribe(thenable, undefined, function (value) {\n return _resolve(promise, value);\n }, function (reason) {\n return _reject(promise, reason);\n });\n }\n}\n\nfunction handleMaybeThenable(promise, maybeThenable, then$$) {\n if (maybeThenable.constructor === promise.constructor && then$$ === then && maybeThenable.constructor.resolve === resolve) {\n handleOwnThenable(promise, maybeThenable);\n } else {\n if (then$$ === GET_THEN_ERROR) {\n _reject(promise, GET_THEN_ERROR.error);\n } else if (then$$ === undefined) {\n fulfill(promise, maybeThenable);\n } else if (isFunction(then$$)) {\n handleForeignThenable(promise, maybeThenable, then$$);\n } else {\n fulfill(promise, maybeThenable);\n }\n }\n}\n\nfunction _resolve(promise, value) {\n if (promise === value) {\n _reject(promise, selfFulfillment());\n } else if (objectOrFunction(value)) {\n handleMaybeThenable(promise, value, getThen(value));\n } else {\n fulfill(promise, value);\n }\n}\n\nfunction publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n\n publish(promise);\n}\n\nfunction fulfill(promise, value) {\n if (promise._state !== PENDING) {\n return;\n }\n\n promise._result = value;\n promise._state = FULFILLED;\n\n if (promise._subscribers.length !== 0) {\n asap(publish, promise);\n }\n}\n\nfunction _reject(promise, reason) {\n if (promise._state !== PENDING) {\n return;\n }\n promise._state = REJECTED;\n promise._result = reason;\n\n asap(publishRejection, promise);\n}\n\nfunction subscribe(parent, child, onFulfillment, onRejection) {\n var _subscribers = parent._subscribers;\n var length = _subscribers.length;\n\n parent._onerror = null;\n\n _subscribers[length] = child;\n _subscribers[length + FULFILLED] = onFulfillment;\n _subscribers[length + REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n asap(publish, parent);\n }\n}\n\nfunction publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n\n if (subscribers.length === 0) {\n return;\n }\n\n var child = undefined,\n callback = undefined,\n detail = promise._result;\n\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n\n if (child) {\n invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n\n promise._subscribers.length = 0;\n}\n\nfunction ErrorObject() {\n this.error = null;\n}\n\nvar TRY_CATCH_ERROR = new ErrorObject();\n\nfunction tryCatch(callback, detail) {\n try {\n return callback(detail);\n } catch (e) {\n TRY_CATCH_ERROR.error = e;\n return TRY_CATCH_ERROR;\n }\n}\n\nfunction invokeCallback(settled, promise, callback, detail) {\n var hasCallback = isFunction(callback),\n value = undefined,\n error = undefined,\n succeeded = undefined,\n failed = undefined;\n\n if (hasCallback) {\n value = tryCatch(callback, detail);\n\n if (value === TRY_CATCH_ERROR) {\n failed = true;\n error = value.error;\n value = null;\n } else {\n succeeded = true;\n }\n\n if (promise === value) {\n _reject(promise, cannotReturnOwn());\n return;\n }\n } else {\n value = detail;\n succeeded = true;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (hasCallback && succeeded) {\n _resolve(promise, value);\n } else if (failed) {\n _reject(promise, error);\n } else if (settled === FULFILLED) {\n fulfill(promise, value);\n } else if (settled === REJECTED) {\n _reject(promise, value);\n }\n}\n\nfunction initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n _resolve(promise, value);\n }, function rejectPromise(reason) {\n _reject(promise, reason);\n });\n } catch (e) {\n _reject(promise, e);\n }\n}\n\nvar id = 0;\nfunction nextId() {\n return id++;\n}\n\nfunction makePromise(promise) {\n promise[PROMISE_ID] = id++;\n promise._state = undefined;\n promise._result = undefined;\n promise._subscribers = [];\n}\n\nfunction Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(noop);\n\n if (!this.promise[PROMISE_ID]) {\n makePromise(this.promise);\n }\n\n if (isArray(input)) {\n this._input = input;\n this.length = input.length;\n this._remaining = input.length;\n\n this._result = new Array(this.length);\n\n if (this.length === 0) {\n fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate();\n if (this._remaining === 0) {\n fulfill(this.promise, this._result);\n }\n }\n } else {\n _reject(this.promise, validationError());\n }\n}\n\nfunction validationError() {\n return new Error('Array Methods must be provided an Array');\n};\n\nEnumerator.prototype._enumerate = function () {\n var length = this.length;\n var _input = this._input;\n\n for (var i = 0; this._state === PENDING && i < length; i++) {\n this._eachEntry(_input[i], i);\n }\n};\n\nEnumerator.prototype._eachEntry = function (entry, i) {\n var c = this._instanceConstructor;\n var resolve$$ = c.resolve;\n\n if (resolve$$ === resolve) {\n var _then = getThen(entry);\n\n if (_then === then && entry._state !== PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof _then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === Promise) {\n var promise = new c(noop);\n handleMaybeThenable(promise, entry, _then);\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function (resolve$$) {\n return resolve$$(entry);\n }), i);\n }\n } else {\n this._willSettleAt(resolve$$(entry), i);\n }\n};\n\nEnumerator.prototype._settledAt = function (state, i, value) {\n var promise = this.promise;\n\n if (promise._state === PENDING) {\n this._remaining--;\n\n if (state === REJECTED) {\n _reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n\n if (this._remaining === 0) {\n fulfill(promise, this._result);\n }\n};\n\nEnumerator.prototype._willSettleAt = function (promise, i) {\n var enumerator = this;\n\n subscribe(promise, undefined, function (value) {\n return enumerator._settledAt(FULFILLED, i, value);\n }, function (reason) {\n return enumerator._settledAt(REJECTED, i, reason);\n });\n};\n\n/**\n `Promise.all` accepts an array of promises, and returns a new promise which\n is fulfilled with an array of fulfillment values for the passed promises, or\n rejected with the reason of the first passed promise to be rejected. It casts all\n elements of the passed iterable to promises as it runs this algorithm.\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // The array here would be [ 1, 2, 3 ];\n });\n ```\n\n If any of the `promises` given to `all` are rejected, the first promise\n that is rejected will be given as an argument to the returned promises's\n rejection handler. For example:\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = reject(new Error(\"2\"));\n let promise3 = reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(error) {\n // error.message === \"2\"\n });\n ```\n\n @method all\n @static\n @param {Array} entries array of promises\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise} promise that is fulfilled when all `promises` have been\n fulfilled, or rejected if any of them become rejected.\n @static\n*/\nfunction all(entries) {\n return new Enumerator(this, entries).promise;\n}\n\n/**\n `Promise.race` returns a new promise which is settled in the same way as the\n first passed promise to settle.\n\n Example:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n\n `Promise.race` is deterministic in that only the state of the first\n settled promise matters. For example, even if other promises given to the\n `promises` array argument are resolved, but the first settled promise has\n become rejected before the other promises became fulfilled, the returned\n promise will become rejected:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // Code here never runs\n }, function(reason){\n // reason.message === 'promise 2' because promise 2 became rejected before\n // promise 1 became fulfilled\n });\n ```\n\n An example real-world use case is implementing timeouts:\n\n ```javascript\n Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n\n @method race\n @static\n @param {Array} promises array of promises to observe\n Useful for tooling.\n @return {Promise} a promise which settles in the same way as the first passed\n promise to settle.\n*/\nfunction race(entries) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (!isArray(entries)) {\n return new Constructor(function (_, reject) {\n return reject(new TypeError('You must pass an array to race.'));\n });\n } else {\n return new Constructor(function (resolve, reject) {\n var length = entries.length;\n for (var i = 0; i < length; i++) {\n Constructor.resolve(entries[i]).then(resolve, reject);\n }\n });\n }\n}\n\n/**\n `Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n reject(new Error('WHOOPS'));\n });\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.reject(new Error('WHOOPS'));\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n @method reject\n @static\n @param {Any} reason value that the returned promise will be rejected with.\n Useful for tooling.\n @return {Promise} a promise rejected with the given `reason`.\n*/\nfunction reject(reason) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(noop);\n _reject(promise, reason);\n return promise;\n}\n\nfunction needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n}\n\nfunction needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n}\n\n/**\n Promise objects represent the eventual result of an asynchronous operation. The\n primary way of interacting with a promise is through its `then` method, which\n registers callbacks to receive either a promise's eventual value or the reason\n why the promise cannot be fulfilled.\n\n Terminology\n -----------\n\n - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n - `thenable` is an object or function that defines a `then` method.\n - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n - `exception` is a value that is thrown using the throw statement.\n - `reason` is a value that indicates why a promise was rejected.\n - `settled` the final resting state of a promise, fulfilled or rejected.\n\n A promise can be in one of three states: pending, fulfilled, or rejected.\n\n Promises that are fulfilled have a fulfillment value and are in the fulfilled\n state. Promises that are rejected have a rejection reason and are in the\n rejected state. A fulfillment value is never a thenable.\n\n Promises can also be said to *resolve* a value. If this value is also a\n promise, then the original promise's settled state will match the value's\n settled state. So a promise that *resolves* a promise that rejects will\n itself reject, and a promise that *resolves* a promise that fulfills will\n itself fulfill.\n\n\n Basic Usage:\n ------------\n\n ```js\n let promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n\n // on failure\n reject(reason);\n });\n\n promise.then(function(value) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Advanced Usage:\n ---------------\n\n Promises shine when abstracting away asynchronous interactions such as\n `XMLHttpRequest`s.\n\n ```js\n function getJSON(url) {\n return new Promise(function(resolve, reject){\n let xhr = new XMLHttpRequest();\n\n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n\n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n }\n\n getJSON('/posts.json').then(function(json) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Unlike callbacks, promises are great composable primitives.\n\n ```js\n Promise.all([\n getJSON('/posts'),\n getJSON('/comments')\n ]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n\n return values;\n });\n ```\n\n @class Promise\n @param {function} resolver\n Useful for tooling.\n @constructor\n*/\nfunction Promise(resolver) {\n this[PROMISE_ID] = nextId();\n this._result = this._state = undefined;\n this._subscribers = [];\n\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n}\n\nPromise.all = all;\nPromise.race = race;\nPromise.resolve = resolve;\nPromise.reject = reject;\nPromise._setScheduler = setScheduler;\nPromise._setAsap = setAsap;\nPromise._asap = asap;\n\nPromise.prototype = {\n constructor: Promise,\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n \n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n \n Chaining\n --------\n \n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n \n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n \n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we're unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n \n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n \n Assimilation\n ------------\n \n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n \n If the assimliated promise rejects, then the downstream promise will also reject.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n \n Simple Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let result;\n \n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n \n Advanced Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let author, books;\n \n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n \n function foundBooks(books) {\n \n }\n \n function failure(reason) {\n \n }\n \n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n \n @method then\n @param {Function} onFulfilled\n @param {Function} onRejected\n Useful for tooling.\n @return {Promise}\n */\n then: then,\n\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n \n ```js\n function findAuthor(){\n throw new Error('couldn't find that author');\n }\n \n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n \n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n \n @method catch\n @param {Function} onRejection\n Useful for tooling.\n @return {Promise}\n */\n 'catch': function _catch(onRejection) {\n return this.then(null, onRejection);\n }\n};\n\nfunction polyfill() {\n var local = undefined;\n\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n\n var P = local.Promise;\n\n if (P) {\n var promiseToString = null;\n try {\n promiseToString = Object.prototype.toString.call(P.resolve());\n } catch (e) {\n // silently ignored\n }\n\n if (promiseToString === '[object Promise]' && !P.cast) {\n return;\n }\n }\n\n local.Promise = Promise;\n}\n\npolyfill();\n// Strange compat..\nPromise.polyfill = polyfill;\nPromise.Promise = Promise;\n\nreturn Promise;\n\n})));\n//# sourceMappingURL=es6-promise.map","// the whatwg-fetch polyfill installs the fetch() function\n// on the global object (window or self)\n//\n// Return that as the export for use in Webpack, Browserify etc.\nrequire('whatwg-fetch');\nmodule.exports = self.fetch.bind(self);\n","var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = 'statusText' in options ? options.statusText : 'OK'\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = self.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n resolve(new Response(body, options))\n }\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.onabort = function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }\n\n xhr.open(request.method, request.url, true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob'\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!self.fetch) {\n self.fetch = fetch\n self.Headers = Headers\n self.Request = Request\n self.Response = Response\n}\n","require('./es');\nrequire('./proposals');\nrequire('./web');\nvar path = require('./internals/path');\n\nmodule.exports = path;\n","require('../modules/es.symbol');\nrequire('../modules/es.symbol.async-iterator');\nrequire('../modules/es.symbol.description');\nrequire('../modules/es.symbol.has-instance');\nrequire('../modules/es.symbol.is-concat-spreadable');\nrequire('../modules/es.symbol.iterator');\nrequire('../modules/es.symbol.match');\nrequire('../modules/es.symbol.match-all');\nrequire('../modules/es.symbol.replace');\nrequire('../modules/es.symbol.search');\nrequire('../modules/es.symbol.species');\nrequire('../modules/es.symbol.split');\nrequire('../modules/es.symbol.to-primitive');\nrequire('../modules/es.symbol.to-string-tag');\nrequire('../modules/es.symbol.unscopables');\nrequire('../modules/es.object.assign');\nrequire('../modules/es.object.create');\nrequire('../modules/es.object.define-property');\nrequire('../modules/es.object.define-properties');\nrequire('../modules/es.object.entries');\nrequire('../modules/es.object.freeze');\nrequire('../modules/es.object.from-entries');\nrequire('../modules/es.object.get-own-property-descriptor');\nrequire('../modules/es.object.get-own-property-descriptors');\nrequire('../modules/es.object.get-own-property-names');\nrequire('../modules/es.object.get-prototype-of');\nrequire('../modules/es.object.is');\nrequire('../modules/es.object.is-extensible');\nrequire('../modules/es.object.is-frozen');\nrequire('../modules/es.object.is-sealed');\nrequire('../modules/es.object.keys');\nrequire('../modules/es.object.prevent-extensions');\nrequire('../modules/es.object.seal');\nrequire('../modules/es.object.set-prototype-of');\nrequire('../modules/es.object.values');\nrequire('../modules/es.object.to-string');\nrequire('../modules/es.object.define-getter');\nrequire('../modules/es.object.define-setter');\nrequire('../modules/es.object.lookup-getter');\nrequire('../modules/es.object.lookup-setter');\nrequire('../modules/es.function.bind');\nrequire('../modules/es.function.name');\nrequire('../modules/es.function.has-instance');\nrequire('../modules/es.global-this');\nrequire('../modules/es.array.from');\nrequire('../modules/es.array.is-array');\nrequire('../modules/es.array.of');\nrequire('../modules/es.array.concat');\nrequire('../modules/es.array.copy-within');\nrequire('../modules/es.array.every');\nrequire('../modules/es.array.fill');\nrequire('../modules/es.array.filter');\nrequire('../modules/es.array.find');\nrequire('../modules/es.array.find-index');\nrequire('../modules/es.array.flat');\nrequire('../modules/es.array.flat-map');\nrequire('../modules/es.array.for-each');\nrequire('../modules/es.array.includes');\nrequire('../modules/es.array.index-of');\nrequire('../modules/es.array.join');\nrequire('../modules/es.array.last-index-of');\nrequire('../modules/es.array.map');\nrequire('../modules/es.array.reduce');\nrequire('../modules/es.array.reduce-right');\nrequire('../modules/es.array.reverse');\nrequire('../modules/es.array.slice');\nrequire('../modules/es.array.some');\nrequire('../modules/es.array.sort');\nrequire('../modules/es.array.splice');\nrequire('../modules/es.array.species');\nrequire('../modules/es.array.unscopables.flat');\nrequire('../modules/es.array.unscopables.flat-map');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.string.from-code-point');\nrequire('../modules/es.string.raw');\nrequire('../modules/es.string.code-point-at');\nrequire('../modules/es.string.ends-with');\nrequire('../modules/es.string.includes');\nrequire('../modules/es.string.match');\nrequire('../modules/es.string.match-all');\nrequire('../modules/es.string.pad-end');\nrequire('../modules/es.string.pad-start');\nrequire('../modules/es.string.repeat');\nrequire('../modules/es.string.replace');\nrequire('../modules/es.string.search');\nrequire('../modules/es.string.split');\nrequire('../modules/es.string.starts-with');\nrequire('../modules/es.string.trim');\nrequire('../modules/es.string.trim-start');\nrequire('../modules/es.string.trim-end');\nrequire('../modules/es.string.iterator');\nrequire('../modules/es.string.anchor');\nrequire('../modules/es.string.big');\nrequire('../modules/es.string.blink');\nrequire('../modules/es.string.bold');\nrequire('../modules/es.string.fixed');\nrequire('../modules/es.string.fontcolor');\nrequire('../modules/es.string.fontsize');\nrequire('../modules/es.string.italics');\nrequire('../modules/es.string.link');\nrequire('../modules/es.string.small');\nrequire('../modules/es.string.strike');\nrequire('../modules/es.string.sub');\nrequire('../modules/es.string.sup');\nrequire('../modules/es.regexp.constructor');\nrequire('../modules/es.regexp.exec');\nrequire('../modules/es.regexp.flags');\nrequire('../modules/es.regexp.sticky');\nrequire('../modules/es.regexp.test');\nrequire('../modules/es.regexp.to-string');\nrequire('../modules/es.parse-int');\nrequire('../modules/es.parse-float');\nrequire('../modules/es.number.constructor');\nrequire('../modules/es.number.epsilon');\nrequire('../modules/es.number.is-finite');\nrequire('../modules/es.number.is-integer');\nrequire('../modules/es.number.is-nan');\nrequire('../modules/es.number.is-safe-integer');\nrequire('../modules/es.number.max-safe-integer');\nrequire('../modules/es.number.min-safe-integer');\nrequire('../modules/es.number.parse-float');\nrequire('../modules/es.number.parse-int');\nrequire('../modules/es.number.to-fixed');\nrequire('../modules/es.number.to-precision');\nrequire('../modules/es.math.acosh');\nrequire('../modules/es.math.asinh');\nrequire('../modules/es.math.atanh');\nrequire('../modules/es.math.cbrt');\nrequire('../modules/es.math.clz32');\nrequire('../modules/es.math.cosh');\nrequire('../modules/es.math.expm1');\nrequire('../modules/es.math.fround');\nrequire('../modules/es.math.hypot');\nrequire('../modules/es.math.imul');\nrequire('../modules/es.math.log10');\nrequire('../modules/es.math.log1p');\nrequire('../modules/es.math.log2');\nrequire('../modules/es.math.sign');\nrequire('../modules/es.math.sinh');\nrequire('../modules/es.math.tanh');\nrequire('../modules/es.math.to-string-tag');\nrequire('../modules/es.math.trunc');\nrequire('../modules/es.date.now');\nrequire('../modules/es.date.to-json');\nrequire('../modules/es.date.to-iso-string');\nrequire('../modules/es.date.to-string');\nrequire('../modules/es.date.to-primitive');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.json.to-string-tag');\nrequire('../modules/es.promise');\nrequire('../modules/es.promise.all-settled');\nrequire('../modules/es.promise.finally');\nrequire('../modules/es.map');\nrequire('../modules/es.set');\nrequire('../modules/es.weak-map');\nrequire('../modules/es.weak-set');\nrequire('../modules/es.array-buffer.constructor');\nrequire('../modules/es.array-buffer.is-view');\nrequire('../modules/es.array-buffer.slice');\nrequire('../modules/es.data-view');\nrequire('../modules/es.typed-array.int8-array');\nrequire('../modules/es.typed-array.uint8-array');\nrequire('../modules/es.typed-array.uint8-clamped-array');\nrequire('../modules/es.typed-array.int16-array');\nrequire('../modules/es.typed-array.uint16-array');\nrequire('../modules/es.typed-array.int32-array');\nrequire('../modules/es.typed-array.uint32-array');\nrequire('../modules/es.typed-array.float32-array');\nrequire('../modules/es.typed-array.float64-array');\nrequire('../modules/es.typed-array.from');\nrequire('../modules/es.typed-array.of');\nrequire('../modules/es.typed-array.copy-within');\nrequire('../modules/es.typed-array.every');\nrequire('../modules/es.typed-array.fill');\nrequire('../modules/es.typed-array.filter');\nrequire('../modules/es.typed-array.find');\nrequire('../modules/es.typed-array.find-index');\nrequire('../modules/es.typed-array.for-each');\nrequire('../modules/es.typed-array.includes');\nrequire('../modules/es.typed-array.index-of');\nrequire('../modules/es.typed-array.iterator');\nrequire('../modules/es.typed-array.join');\nrequire('../modules/es.typed-array.last-index-of');\nrequire('../modules/es.typed-array.map');\nrequire('../modules/es.typed-array.reduce');\nrequire('../modules/es.typed-array.reduce-right');\nrequire('../modules/es.typed-array.reverse');\nrequire('../modules/es.typed-array.set');\nrequire('../modules/es.typed-array.slice');\nrequire('../modules/es.typed-array.some');\nrequire('../modules/es.typed-array.sort');\nrequire('../modules/es.typed-array.subarray');\nrequire('../modules/es.typed-array.to-locale-string');\nrequire('../modules/es.typed-array.to-string');\nrequire('../modules/es.reflect.apply');\nrequire('../modules/es.reflect.construct');\nrequire('../modules/es.reflect.define-property');\nrequire('../modules/es.reflect.delete-property');\nrequire('../modules/es.reflect.get');\nrequire('../modules/es.reflect.get-own-property-descriptor');\nrequire('../modules/es.reflect.get-prototype-of');\nrequire('../modules/es.reflect.has');\nrequire('../modules/es.reflect.is-extensible');\nrequire('../modules/es.reflect.own-keys');\nrequire('../modules/es.reflect.prevent-extensions');\nrequire('../modules/es.reflect.set');\nrequire('../modules/es.reflect.set-prototype-of');\nvar path = require('../internals/path');\n\nmodule.exports = path;\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar isSymbol = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return Object(it) instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPrimitive(P, true);\n anObject(Attributes);\n if (has(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPrimitive(V, true);\n var enumerable = nativePropertyIsEnumerable.call(this, P);\n if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPrimitive(P, true);\n if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {\n result.push(AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.github.io/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty($Symbol[PROTOTYPE], 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.github.io/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = String(key);\n if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.github.io/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.github.io/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.github.io/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.github.io/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.github.io/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars\n stringify: function stringify(it, replacer, space) {\n var args = [it];\n var index = 1;\n var $replacer;\n while (arguments.length > index) args.push(arguments[index++]);\n $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return $stringify.apply(null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {\n createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\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","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","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","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.github.io/ecma262/#sec-object.assign\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.github.io/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModile = require('../internals/object-define-property');\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\n$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {\n defineProperty: objectDefinePropertyModile.f\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperties = require('../internals/object-define-properties');\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\n$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {\n defineProperties: defineProperties\n});\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.github.io/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\nvar nativeFreeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeFreeze(1); });\n\n// `Object.freeze` method\n// https://tc39.github.io/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, undefined, true);\n return obj;\n }\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","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 fails = require('../internals/fails');\nvar nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: nativeGetOwnPropertyNames\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.github.io/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n is: is\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.github.io/ecma262/#sec-object.isextensible\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isExtensible: function isExtensible(it) {\n return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsFrozen = Object.isFrozen;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.github.io/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isFrozen: function isFrozen(it) {\n return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsSealed = Object.isSealed;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsSealed(1); });\n\n// `Object.isSealed` method\n// https://tc39.github.io/ecma262/#sec-object.issealed\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isSealed: function isSealed(it) {\n return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true;\n }\n});\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\nvar nativePreventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativePreventExtensions(1); });\n\n// `Object.preventExtensions` method\n// https://tc39.github.io/ecma262/#sec-object.preventextensions\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(it) {\n return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\nvar nativeSeal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeSeal(1); });\n\n// `Object.seal` method\n// https://tc39.github.io/ecma262/#sec-object.seal\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n seal: function seal(it) {\n return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.github.io/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar aFunction = require('../internals/a-function');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineGetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true });\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar aFunction = require('../internals/a-function');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineSetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true });\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupGetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPrimitive(P, true);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupSetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPrimitive(P, true);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","var $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.github.io/ecma262/#sec-function.prototype.bind\n$({ target: 'Function', proto: true }, {\n bind: bind\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.github.io/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return FunctionPrototypeToString.call(this).match(nameRE)[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\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","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.github.io/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar createProperty = require('../internals/create-property');\n\nvar ISNT_GENERIC = fails(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.github.io/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {\n of: function of(/* ...args */) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.copywithin\n$({ target: 'Array', proto: true }, {\n copyWithin: copyWithin\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND);\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://github.com/tc39/proposal-flatMap\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar aFunction = require('../internals/a-function');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://github.com/tc39/proposal-flatMap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A;\n aFunction(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar nativeIndexOf = [].indexOf;\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.indexOf` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","var $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n\n// `Array.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduceRight');\n// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n\n// `Array.prototype.reduceRight` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = [].reverse;\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign\n if (isArray(this)) this.length = this.length;\n return nativeReverse.call(this);\n }\n});\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","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('some');\n\n// `Array.prototype.some` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;\n\n// `Array.prototype.sort` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? nativeSort.call(toObject(this))\n : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","var setSpecies = require('../internals/set-species');\n\n// `Array[@@species]` getter\n// https://tc39.github.io/ecma262/#sec-get-array-@@species\nsetSpecies('Array');\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\naddToUnscopables('flat');\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\naddToUnscopables('flatMap');\n","var $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar fromCharCode = String.fromCharCode;\nvar nativeFromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1;\n\n// `String.fromCodePoint` method\n// https://tc39.github.io/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n elements.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00)\n );\n } return elements.join('');\n }\n});\n","var $ = require('../internals/export');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `String.raw` method\n// https://tc39.github.io/ecma262/#sec-string.raw\n$({ target: 'String', stat: true }, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(template.raw);\n var literalSegments = toLength(rawTemplate.length);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n elements.push(String(rawTemplate[i++]));\n if (i < argumentsLength) elements.push(String(arguments[i]));\n } return elements.join('');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n$({ target: 'String', proto: true }, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeEndsWith = ''.endsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = String(searchString);\n return nativeEndsWith\n ? nativeEndsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\n// `String.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~String(requireObjectCoercible(this))\n .indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : regexp[MATCH];\n return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative(nativeMatch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padEnd = require('../internals/string-pad').end;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padEnd` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padend\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return nativeReplace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative(nativeSearch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeStartsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return nativeStartsWith\n ? nativeStartsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimStart = require('../internals/string-trim').start;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimStart');\n\nvar trimStart = FORCED ? function trimStart() {\n return $trimStart(this);\n} : ''.trimStart;\n\n// `String.prototype.{ trimStart, trimLeft }` methods\n// https://github.com/tc39/ecmascript-string-left-right-trim\n$({ target: 'String', proto: true, forced: FORCED }, {\n trimStart: trimStart,\n trimLeft: trimStart\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return $trimEnd(this);\n} : ''.trimEnd;\n\n// `String.prototype.{ trimEnd, trimRight }` methods\n// https://github.com/tc39/ecmascript-string-left-right-trim\n$({ target: 'String', proto: true, forced: FORCED }, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.blink\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.bold\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fixed\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fontsize\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.italics\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.strike\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.sub\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.sup\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isRegExp = require('../internals/is-regexp');\nvar getFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar setInternalState = require('../internals/internal-state').set;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n})));\n\n// `RegExp` constructor\n// https://tc39.github.io/ecma262/#sec-regexp-constructor\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var sticky;\n\n if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {\n return pattern;\n }\n\n if (CORRECT_NEW) {\n if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;\n } else if (pattern instanceof RegExpWrapper) {\n if (flagsAreUndefined) flags = getFlags.call(pattern);\n pattern = pattern.source;\n }\n\n if (UNSUPPORTED_Y) {\n sticky = !!flags && flags.indexOf('y') > -1;\n if (sticky) flags = flags.replace(/y/g, '');\n }\n\n var result = inheritIfRequired(\n CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),\n thisIsRegExp ? this : RegExpPrototype,\n RegExpWrapper\n );\n\n if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });\n\n return result;\n };\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n var keys = getOwnPropertyNames(NativeRegExp);\n var index = 0;\n while (keys.length > index) proxy(keys[index++]);\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.github.io/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModule = require('../internals/object-define-property');\nvar regExpFlags = require('../internals/regexp-flags');\nvar UNSUPPORTED_Y = require('../internals/regexp-sticky-helpers').UNSUPPORTED_Y;\n\n// `RegExp.prototype.flags` getter\n// https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\nif (DESCRIPTORS && (/./g.flags != 'g' || UNSUPPORTED_Y)) {\n objectDefinePropertyModule.f(RegExp.prototype, 'flags', {\n configurable: true,\n get: regExpFlags\n });\n}\n","var DESCRIPTORS = require('../internals/descriptors');\nvar UNSUPPORTED_Y = require('../internals/regexp-sticky-helpers').UNSUPPORTED_Y;\nvar defineProperty = require('../internals/object-define-property').f;\nvar getInternalState = require('../internals/internal-state').get;\nvar RegExpPrototype = RegExp.prototype;\n\n// `RegExp.prototype.sticky` getter\nif (DESCRIPTORS && UNSUPPORTED_Y) {\n defineProperty(RegExp.prototype, 'sticky', {\n configurable: true,\n get: function () {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (this instanceof RegExp) {\n return !!getInternalState(this).sticky;\n }\n throw TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (str) {\n if (typeof this.exec !== 'function') {\n return nativeTest.call(this, str);\n }\n var result = this.exec(str);\n if (result !== null && !isObject(result)) {\n throw new Error('RegExp exec method returned something other than an Object or null');\n }\n return !!result;\n }\n});\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","var $ = require('../internals/export');\nvar parseIntImplementation = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.github.io/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != parseIntImplementation }, {\n parseInt: parseIntImplementation\n});\n","var $ = require('../internals/export');\nvar parseFloatImplementation = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.github.io/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat != parseFloatImplementation }, {\n parseFloat: parseFloatImplementation\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.github.io/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.github.io/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","var $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.github.io/ecma262/#sec-number.epsilon\n$({ target: 'Number', stat: true }, {\n EPSILON: Math.pow(2, -52)\n});\n","var $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.github.io/ecma262/#sec-number.isfinite\n$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });\n","var $ = require('../internals/export');\nvar isInteger = require('../internals/is-integer');\n\n// `Number.isInteger` method\n// https://tc39.github.io/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isInteger\n});\n","var $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.github.io/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","var $ = require('../internals/export');\nvar isInteger = require('../internals/is-integer');\n\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.github.io/ecma262/#sec-number.issafeinteger\n$({ target: 'Number', stat: true }, {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});\n","var $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.github.io/ecma262/#sec-number.max_safe_integer\n$({ target: 'Number', stat: true }, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.github.io/ecma262/#sec-number.min_safe_integer\n$({ target: 'Number', stat: true }, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.github.io/ecma262/#sec-number.parseFloat\n$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {\n parseFloat: parseFloat\n});\n","var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.github.io/ecma262/#sec-number.parseint\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toInteger = require('../internals/to-integer');\nvar thisNumberValue = require('../internals/this-number-value');\nvar repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar nativeToFixed = 1.0.toFixed;\nvar floor = Math.floor;\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar FORCED = nativeToFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToFixed.call({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n // eslint-disable-next-line max-statements\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toInteger(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n var multiply = function (n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n };\n\n var divide = function (n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n };\n\n var dataToString = function () {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;\n }\n } return s;\n };\n\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n result = dataToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n result = dataToString() + repeat.call('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat.call('0', fractDigits - k) + result\n : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar nativeToPrecision = 1.0.toPrecision;\n\nvar FORCED = fails(function () {\n // IE7-\n return nativeToPrecision.call(1, undefined) !== '1';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToPrecision.call({});\n});\n\n// `Number.prototype.toPrecision` method\n// https://tc39.github.io/ecma262/#sec-number.prototype.toprecision\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined\n ? nativeToPrecision.call(thisNumberValue(this))\n : nativeToPrecision.call(thisNumberValue(this), precision);\n }\n});\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\nvar nativeAcosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !nativeAcosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n || nativeAcosh(Infinity) != Infinity;\n\n// `Math.acosh` method\n// https://tc39.github.io/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? log(x) + LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","var $ = require('../internals/export');\n\nvar nativeAsinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n}\n\n// `Math.asinh` method\n// https://tc39.github.io/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, {\n asinh: asinh\n});\n","var $ = require('../internals/export');\n\nvar nativeAtanh = Math.atanh;\nvar log = Math.log;\n\n// `Math.atanh` method\n// https://tc39.github.io/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.github.io/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n cbrt: function cbrt(x) {\n return sign(x = +x) * pow(abs(x), 1 / 3);\n }\n});\n","var $ = require('../internals/export');\n\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.github.io/ecma262/#sec-math.clz32\n$({ target: 'Math', stat: true }, {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar nativeCosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\n// `Math.cosh` method\n// https://tc39.github.io/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.github.io/ecma262/#sec-math.expm1\n$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 });\n","var $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.github.io/ecma262/#sec-math.fround\n$({ target: 'Math', stat: true }, { fround: fround });\n","var $ = require('../internals/export');\n\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.github.io/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, forced: BUGGY }, {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\nvar nativeImul = Math.imul;\n\nvar FORCED = fails(function () {\n return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2;\n});\n\n// `Math.imul` method\n// https://tc39.github.io/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({ target: 'Math', stat: true, forced: FORCED }, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// `Math.log10` method\n// https://tc39.github.io/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n log10: function log10(x) {\n return log(x) * LOG10E;\n }\n});\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.github.io/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.github.io/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.github.io/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n sign: sign\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n return Math.sinh(-2e-17) != -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.github.io/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n sinh: function sinh(x) {\n return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.github.io/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","var setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.github.io/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","var $ = require('../internals/export');\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.github.io/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: function trunc(it) {\n return (it > 0 ? floor : ceil)(it);\n }\n});\n","var $ = require('../internals/export');\n\n// `Date.now` method\n// https://tc39.github.io/ecma262/#sec-date.now\n$({ target: 'Date', stat: true }, {\n now: function now() {\n return new Date().getTime();\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var $ = require('../internals/export');\nvar toISOString = require('../internals/date-to-iso-string');\n\n// `Date.prototype.toISOString` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {\n toISOString: toISOString\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar padStart = require('../internals/string-pad').start;\n\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar getTime = DatePrototype.getTime;\nvar nativeDateToISOString = DatePrototype.toISOString;\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n nativeDateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var date = this;\n var year = date.getUTCFullYear();\n var milliseconds = date.getUTCMilliseconds();\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n '-' + padStart(date.getUTCMonth() + 1, 2, 0) +\n '-' + padStart(date.getUTCDate(), 2, 0) +\n 'T' + padStart(date.getUTCHours(), 2, 0) +\n ':' + padStart(date.getUTCMinutes(), 2, 0) +\n ':' + padStart(date.getUTCSeconds(), 2, 0) +\n '.' + padStart(milliseconds, 3, 0) +\n 'Z';\n} : nativeDateToISOString;\n","var redefine = require('../internals/redefine');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = DatePrototype[TO_STRING];\nvar getTime = DatePrototype.getTime;\n\n// `Date.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.tostring\nif (new Date(NaN) + '' != INVALID_DATE) {\n redefine(DatePrototype, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? nativeDateToString.call(this) : INVALID_DATE;\n });\n}\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive\nif (!(TO_PRIMITIVE in DatePrototype)) {\n createNonEnumerableProperty(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== 'number' && hint !== 'default') {\n throw TypeError('Incorrect hint');\n } return toPrimitive(anObject(this), hint !== 'number');\n};\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\n\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar re = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = string.charAt(offset - 1);\n var next = string.charAt(offset + 1);\n if ((low.test(match) && !hi.test(next)) || (hi.test(match) && !low.test(prev))) {\n return '\\\\u' + match.charCodeAt(0).toString(16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars\n stringify: function stringify(it, replacer, space) {\n var result = $stringify.apply(null, arguments);\n return typeof result == 'string' ? result.replace(re, fix) : result;\n }\n });\n}\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.github.io/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\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","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.github.io/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// patch native Promise.prototype for native async functions\nif (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {\n redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.github.io/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar arrayBufferModule = require('../internals/array-buffer');\nvar setSpecies = require('../internals/set-species');\n\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\n\n// `ArrayBuffer` constructor\n// https://tc39.github.io/ecma262/#sec-arraybuffer-constructor\n$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {\n ArrayBuffer: ArrayBuffer\n});\n\nsetSpecies(ARRAY_BUFFER);\n","// IEEE754 conversions based on https://github.com/feross/ieee754\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = 1 / 0;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = new Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare\n if (number != number || number === Infinity) {\n // eslint-disable-next-line no-self-compare\n mantissa = number != number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n if (number * (c = pow(2, -exponent)) < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = (number * c - 1) * pow(2, mantissaLength);\n exponent = exponent + eBias;\n } else {\n mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);\n exponent = 0;\n }\n }\n for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8);\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8);\n buffer[--index] |= sign * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var sign = buffer[index--];\n var exponent = sign & 127;\n var mantissa;\n sign >>= 7;\n for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8);\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8);\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : sign ? -Infinity : Infinity;\n } else {\n mantissa = mantissa + pow(2, mantissaLength);\n exponent = exponent - eBias;\n } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","var $ = require('../internals/export');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\n\n// `ArrayBuffer.isView` method\n// https://tc39.github.io/ecma262/#sec-arraybuffer.isview\n$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n isView: ArrayBufferViewCore.isView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar nativeArrayBufferSlice = ArrayBuffer.prototype.slice;\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (nativeArrayBufferSlice !== undefined && end === undefined) {\n return nativeArrayBufferSlice.call(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n viewTarget.setUint8(index++, viewSource.getUint8(first++));\n } return result;\n }\n});\n","var $ = require('../internals/export');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\n\n// `DataView` constructor\n// https://tc39.github.io/ecma262/#sec-dataview-constructor\n$({ global: true, forced: !NATIVE_ARRAY_BUFFER }, {\n DataView: ArrayBufferModule.DataView\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;\nvar typedArrayFrom = require('../internals/typed-array-from');\n\n// `%TypedArray%.from` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.from\nexportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n while (length > index) result[index] = arguments[index++];\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $copyWithin = require('../internals/array-copy-within');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $fill = require('../internals/array-fill');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.fill\n// eslint-disable-next-line no-unused-vars\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n return $fill.apply(aTypedArray(this), arguments);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var C = speciesConstructor(this, this.constructor);\n var index = 0;\n var length = list.length;\n var result = new (aTypedArrayConstructor(C))(length);\n while (length > index) result[index] = list[index++];\n return result;\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = ArrayIterators.values;\nvar arrayKeys = ArrayIterators.keys;\nvar arrayEntries = ArrayIterators.entries;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR];\n\nvar CORRECT_ITER_NAME = !!nativeTypedArrayIterator\n && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined);\n\nvar typedArrayValues = function values() {\n return arrayValues.call(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries.call(aTypedArray(this));\n});\n// `%TypedArray%.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys.call(aTypedArray(this));\n});\n// `%TypedArray%.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, !CORRECT_ITER_NAME);\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = [].join;\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.join\n// eslint-disable-next-line no-unused-vars\nexportTypedArrayMethod('join', function join(separator) {\n return $join.apply(aTypedArray(this), arguments);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof\n// eslint-disable-next-line no-unused-vars\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n return $lastIndexOf.apply(aTypedArray(this), arguments);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRicht` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toOffset = require('../internals/to-offset');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line no-undef\n new Int8Array(1).set({});\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\nvar fails = require('../internals/fails');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $slice = [].slice;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line no-undef\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = $slice.call(aTypedArray(this), start, end);\n var C = speciesConstructor(this, this.constructor);\n var index = 0;\n var length = list.length;\n var result = new (aTypedArrayConstructor(C))(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $sort = [].sort;\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n return $sort.call(aTypedArray(this), comparefn);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O.constructor))(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\nvar $slice = [].slice;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments);\n}, FORCED);\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar arrayJoin = [].join;\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return arrayJoin.call(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\nvar nativeApply = getBuiltIn('Reflect', 'apply');\nvar functionApply = Function.apply;\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n nativeApply(function () { /* empty */ });\n});\n\n// `Reflect.apply` method\n// https://tc39.github.io/ecma262/#sec-reflect.apply\n$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {\n apply: function apply(target, thisArgument, argumentsList) {\n aFunction(target);\n anObject(argumentsList);\n return nativeApply\n ? nativeApply(target, thisArgument, argumentsList)\n : functionApply.call(target, thisArgument, argumentsList);\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar bind = require('../internals/function-bind');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\n\n// `Reflect.construct` method\n// https://tc39.github.io/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-reflect.defineproperty\n$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.github.io/ecma262/#sec-reflect.deleteproperty\n$({ target: 'Reflect', stat: true }, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar has = require('../internals/has');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.github.io/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value')\n ? descriptor.value\n : descriptor.get === undefined\n ? undefined\n : descriptor.get.call(receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-reflect.getprototypeof\n$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.github.io/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\n\nvar objectIsExtensible = Object.isExtensible;\n\n// `Reflect.isExtensible` method\n// https://tc39.github.io/ecma262/#sec-reflect.isextensible\n$({ target: 'Reflect', stat: true }, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return objectIsExtensible ? objectIsExtensible(target) : true;\n }\n});\n","var $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.github.io/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n ownKeys: ownKeys\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.github.io/ecma262/#sec-reflect.preventextensions\n$({ target: 'Reflect', stat: true, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.github.io/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (has(ownDescriptor, 'value')) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n return true;\n }\n return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true);\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var object = definePropertyModule.f({}, 'a', { configurable: true });\n // eslint-disable-next-line no-undef\n return Reflect.set(getPrototypeOf(object), 'a', 1, object) !== false;\n});\n\n$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {\n set: set\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","require('../stage');\n","var proposals = require('./pre');\n\nmodule.exports = proposals;\n","require('../proposals/reflect-metadata');\nvar parent = require('./0');\n\nmodule.exports = parent;\n","require('../modules/esnext.reflect.define-metadata');\nrequire('../modules/esnext.reflect.delete-metadata');\nrequire('../modules/esnext.reflect.get-metadata');\nrequire('../modules/esnext.reflect.get-metadata-keys');\nrequire('../modules/esnext.reflect.get-own-metadata');\nrequire('../modules/esnext.reflect.get-own-metadata-keys');\nrequire('../modules/esnext.reflect.has-metadata');\nrequire('../modules/esnext.reflect.has-own-metadata');\nrequire('../modules/esnext.reflect.metadata');\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.defineMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {\n var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar getOrCreateMetadataMap = ReflectMetadataModule.getMap;\nvar store = ReflectMetadataModule.store;\n\n// `Reflect.deleteMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\n// `Reflect.getMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nvar Set = require('../modules/es.set');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar iterate = require('../internals/iterate');\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar from = function (iter) {\n var result = [];\n iterate(iter, result.push, result);\n return result;\n};\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\n// `Reflect.getMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryMetadataKeys(anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryOwnMetadataKeys(anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\n// `Reflect.hasMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.hasOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.metadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, key) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n };\n }\n});\n","require('../proposals/efficient-64-bit-arithmetic');\nrequire('../proposals/string-at');\nrequire('../proposals/url');\nvar parent = require('./1');\n\nmodule.exports = parent;\n","require('../modules/esnext.math.iaddh');\nrequire('../modules/esnext.math.isubh');\nrequire('../modules/esnext.math.imulh');\nrequire('../modules/esnext.math.umulh');\n","var $ = require('../internals/export');\n\n// `Math.iaddh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({ target: 'Math', stat: true }, {\n iaddh: function iaddh(x0, x1, y0, y1) {\n var $x0 = x0 >>> 0;\n var $x1 = x1 >>> 0;\n var $y0 = y0 >>> 0;\n return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;\n }\n});\n","var $ = require('../internals/export');\n\n// `Math.isubh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({ target: 'Math', stat: true }, {\n isubh: function isubh(x0, x1, y0, y1) {\n var $x0 = x0 >>> 0;\n var $x1 = x1 >>> 0;\n var $y0 = y0 >>> 0;\n return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;\n }\n});\n","var $ = require('../internals/export');\n\n// `Math.imulh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({ target: 'Math', stat: true }, {\n imulh: function imulh(u, v) {\n var UINT16 = 0xFFFF;\n var $u = +u;\n var $v = +v;\n var u0 = $u & UINT16;\n var v0 = $v & UINT16;\n var u1 = $u >> 16;\n var v1 = $v >> 16;\n var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);\n }\n});\n","var $ = require('../internals/export');\n\n// `Math.umulh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({ target: 'Math', stat: true }, {\n umulh: function umulh(u, v) {\n var UINT16 = 0xFFFF;\n var $u = +u;\n var $v = +v;\n var u0 = $u & UINT16;\n var v0 = $v & UINT16;\n var u1 = $u >>> 16;\n var v1 = $v >>> 16;\n var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);\n }\n});\n","require('../modules/esnext.string.at');\n","'use strict';\nvar $ = require('../internals/export');\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `String.prototype.at` method\n// https://github.com/mathiasbynens/String.prototype.at\n$({ target: 'String', proto: true }, {\n at: function at(pos) {\n return charAt(this, pos);\n }\n});\n","require('../modules/web.url');\nrequire('../modules/web.url.to-json');\nrequire('../modules/web.url-search-params');\n","'use strict';\n// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\nvar regexSeparators = /[.\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\nvar floor = Math.floor;\nvar stringFromCharCode = String.fromCharCode;\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\nvar ucs2decode = function (string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n while (counter < length) {\n var value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n return output;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n */\nvar digitToBasic = function (digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\nvar adapt = function (delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n for (; delta > baseMinusTMin * tMax >> 1; k += base) {\n delta = floor(delta / baseMinusTMin);\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\n// eslint-disable-next-line max-statements\nvar encode = function (input) {\n var output = [];\n\n // Convert the input in UCS-2 to an array of Unicode code points.\n input = ucs2decode(input);\n\n // Cache the length.\n var inputLength = input.length;\n\n // Initialize the state.\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue;\n\n // Handle the basic code points.\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < 0x80) {\n output.push(stringFromCharCode(currentValue));\n }\n }\n\n var basicLength = output.length; // number of basic code points.\n var handledCPCount = basicLength; // number of code points that have been handled;\n\n // Finish the basic string with a delimiter unless it's empty.\n if (basicLength) {\n output.push(delimiter);\n }\n\n // Main encoding loop:\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n\n // Increase `delta` enough to advance the decoder's state to , but guard against overflow.\n var handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw RangeError(OVERFLOW_ERROR);\n }\n\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < n && ++delta > maxInt) {\n throw RangeError(OVERFLOW_ERROR);\n }\n if (currentValue == n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n for (var k = base; /* no condition */; k += base) {\n var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (q < t) break;\n var qMinusT = q - t;\n var baseMinusT = base - t;\n output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n }\n\n output.push(stringFromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n ++handledCPCount;\n }\n }\n\n ++delta;\n ++n;\n }\n return output.join('');\n};\n\nmodule.exports = function (input) {\n var encoded = [];\n var labels = input.toLowerCase().replace(regexSeparators, '\\u002E').split('.');\n var i, label;\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label);\n }\n return encoded.join('.');\n};\n","require('../proposals/array-last');\nrequire('../proposals/collection-methods');\nrequire('../proposals/collection-of-from');\nrequire('../proposals/keys-composition');\nrequire('../proposals/math-extensions');\nrequire('../proposals/math-signbit');\nrequire('../proposals/number-from-string');\nrequire('../proposals/object-iteration');\nrequire('../proposals/observable');\nrequire('../proposals/pattern-matching');\nrequire('../proposals/promise-try');\nrequire('../proposals/seeded-random');\nrequire('../proposals/string-code-points');\nvar parent = require('./2');\n\nmodule.exports = parent;\n","require('../modules/esnext.array.last-index');\nrequire('../modules/esnext.array.last-item');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Array.prototype.lastIndex` getter\n// https://github.com/keithamus/proposal-array-last\nif (DESCRIPTORS && !('lastIndex' in [])) {\n defineProperty(Array.prototype, 'lastIndex', {\n configurable: true,\n get: function lastIndex() {\n var O = toObject(this);\n var len = toLength(O.length);\n return len == 0 ? 0 : len - 1;\n }\n });\n\n addToUnscopables('lastIndex');\n}\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Array.prototype.lastIndex` accessor\n// https://github.com/keithamus/proposal-array-last\nif (DESCRIPTORS && !('lastItem' in [])) {\n defineProperty(Array.prototype, 'lastItem', {\n configurable: true,\n get: function lastItem() {\n var O = toObject(this);\n var len = toLength(O.length);\n return len == 0 ? undefined : O[len - 1];\n },\n set: function lastItem(value) {\n var O = toObject(this);\n var len = toLength(O.length);\n return O[len == 0 ? 0 : len - 1] = value;\n }\n });\n\n addToUnscopables('lastItem');\n}\n","require('../modules/esnext.map.group-by');\nrequire('../modules/esnext.map.key-by');\nrequire('../modules/esnext.map.delete-all');\nrequire('../modules/esnext.map.every');\nrequire('../modules/esnext.map.filter');\nrequire('../modules/esnext.map.find');\nrequire('../modules/esnext.map.find-key');\nrequire('../modules/esnext.map.includes');\nrequire('../modules/esnext.map.key-of');\nrequire('../modules/esnext.map.map-keys');\nrequire('../modules/esnext.map.map-values');\nrequire('../modules/esnext.map.merge');\nrequire('../modules/esnext.map.reduce');\nrequire('../modules/esnext.map.some');\nrequire('../modules/esnext.map.update');\nrequire('../modules/esnext.set.add-all');\nrequire('../modules/esnext.set.delete-all');\nrequire('../modules/esnext.set.every');\nrequire('../modules/esnext.set.filter');\nrequire('../modules/esnext.set.find');\nrequire('../modules/esnext.set.join');\nrequire('../modules/esnext.set.map');\nrequire('../modules/esnext.set.reduce');\nrequire('../modules/esnext.set.some');\nrequire('../modules/esnext.weak-map.delete-all');\nrequire('../modules/esnext.weak-set.add-all');\nrequire('../modules/esnext.weak-set.delete-all');\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\n\n// `Map.groupBy` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', stat: true }, {\n groupBy: function groupBy(iterable, keyDerivative) {\n var newMap = new this();\n aFunction(keyDerivative);\n var has = aFunction(newMap.has);\n var get = aFunction(newMap.get);\n var set = aFunction(newMap.set);\n iterate(iterable, function (element) {\n var derivedKey = keyDerivative(element);\n if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]);\n else get.call(newMap, derivedKey).push(element);\n });\n return newMap;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\n\n// `Map.keyBy` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', stat: true }, {\n keyBy: function keyBy(iterable, keyDerivative) {\n var newMap = new this();\n aFunction(keyDerivative);\n var setter = aFunction(newMap.set);\n iterate(iterable, function (element) {\n setter.call(newMap, keyDerivative(element), element);\n });\n return newMap;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionDeleteAll = require('../internals/collection-delete-all');\n\n// `Map.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n deleteAll: function deleteAll(/* ...elements */) {\n return collectionDeleteAll.apply(this, arguments);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.every` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n every: function every(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return !iterate(iterator, function (key, value) {\n if (!boundFunction(value, key, map)) return iterate.stop();\n }, undefined, true, true).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.filter` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n filter: function filter(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aFunction(newMap.set);\n iterate(iterator, function (key, value) {\n if (boundFunction(value, key, map)) setter.call(newMap, key, value);\n }, undefined, true, true);\n return newMap;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.find` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n find: function find(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return iterate(iterator, function (key, value) {\n if (boundFunction(value, key, map)) return iterate.stop(value);\n }, undefined, true, true).result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.findKey` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n findKey: function findKey(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return iterate(iterator, function (key, value) {\n if (boundFunction(value, key, map)) return iterate.stop(key);\n }, undefined, true, true).result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar sameValueZero = require('../internals/same-value-zero');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.includes` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n includes: function includes(searchElement) {\n return iterate(getMapIterator(anObject(this)), function (key, value) {\n if (sameValueZero(value, searchElement)) return iterate.stop();\n }, undefined, true, true).stopped;\n }\n});\n","// `SameValueZero` abstract operation\n// https://tc39.github.io/ecma262/#sec-samevaluezero\nmodule.exports = function (x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y || x != x && y != y;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.includes` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n keyOf: function keyOf(searchElement) {\n return iterate(getMapIterator(anObject(this)), function (key, value) {\n if (value === searchElement) return iterate.stop(key);\n }, undefined, true, true).result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.mapKeys` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n mapKeys: function mapKeys(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aFunction(newMap.set);\n iterate(iterator, function (key, value) {\n setter.call(newMap, boundFunction(value, key, map), value);\n }, undefined, true, true);\n return newMap;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.mapValues` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n mapValues: function mapValues(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aFunction(newMap.set);\n iterate(iterator, function (key, value) {\n setter.call(newMap, key, boundFunction(value, key, map));\n }, undefined, true, true);\n return newMap;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.merge` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n // eslint-disable-next-line no-unused-vars\n merge: function merge(iterable /* ...iterbles */) {\n var map = anObject(this);\n var setter = aFunction(map.set);\n var i = 0;\n while (i < arguments.length) {\n iterate(arguments[i++], setter, map, true);\n }\n return map;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.reduce` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aFunction(callbackfn);\n iterate(iterator, function (key, value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = callbackfn(accumulator, value, key, map);\n }\n }, undefined, true, true);\n if (noInitial) throw TypeError('Reduce of empty map with no initial value');\n return accumulator;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.some` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n some: function some(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return iterate(iterator, function (key, value) {\n if (boundFunction(value, key, map)) return iterate.stop();\n }, undefined, true, true).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\n\n// `Set.prototype.update` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n update: function update(key, callback /* , thunk */) {\n var map = anObject(this);\n var length = arguments.length;\n aFunction(callback);\n var isPresentInMap = map.has(key);\n if (!isPresentInMap && length < 3) {\n throw TypeError('Updating absent value');\n }\n var value = isPresentInMap ? map.get(key) : aFunction(length > 2 ? arguments[2] : undefined)(key, map);\n map.set(key, callback(value, key, map));\n return map;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionAddAll = require('../internals/collection-add-all');\n\n// `Set.prototype.addAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n addAll: function addAll(/* ...elements */) {\n return collectionAddAll.apply(this, arguments);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionDeleteAll = require('../internals/collection-delete-all');\n\n// `Set.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n deleteAll: function deleteAll(/* ...elements */) {\n return collectionDeleteAll.apply(this, arguments);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.every` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n every: function every(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return !iterate(iterator, function (value) {\n if (!boundFunction(value, value, set)) return iterate.stop();\n }, undefined, false, true).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.filter` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n filter: function filter(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var adder = aFunction(newSet.add);\n iterate(iterator, function (value) {\n if (boundFunction(value, value, set)) adder.call(newSet, value);\n }, undefined, false, true);\n return newSet;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.find` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n find: function find(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return iterate(iterator, function (value) {\n if (boundFunction(value, value, set)) return iterate.stop(value);\n }, undefined, false, true).result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.join` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n join: function join(separator) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var sep = separator === undefined ? ',' : String(separator);\n var result = [];\n iterate(iterator, result.push, result, false, true);\n return result.join(sep);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.map` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n map: function map(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var adder = aFunction(newSet.add);\n iterate(iterator, function (value) {\n adder.call(newSet, boundFunction(value, value, set));\n }, undefined, false, true);\n return newSet;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.reduce` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aFunction(callbackfn);\n iterate(iterator, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = callbackfn(accumulator, value, value, set);\n }\n }, undefined, false, true);\n if (noInitial) throw TypeError('Reduce of empty set with no initial value');\n return accumulator;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.some` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n some: function some(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n return iterate(iterator, function (value) {\n if (boundFunction(value, value, set)) return iterate.stop();\n }, undefined, false, true).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionDeleteAll = require('../internals/collection-delete-all');\n\n// `WeakMap.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {\n deleteAll: function deleteAll(/* ...elements */) {\n return collectionDeleteAll.apply(this, arguments);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionAddAll = require('../internals/collection-add-all');\n\n// `WeakSet.prototype.addAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, {\n addAll: function addAll(/* ...elements */) {\n return collectionAddAll.apply(this, arguments);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar collectionDeleteAll = require('../internals/collection-delete-all');\n\n// `WeakSet.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, {\n deleteAll: function deleteAll(/* ...elements */) {\n return collectionDeleteAll.apply(this, arguments);\n }\n});\n","require('../modules/esnext.map.from');\nrequire('../modules/esnext.map.of');\nrequire('../modules/esnext.set.from');\nrequire('../modules/esnext.set.of');\nrequire('../modules/esnext.weak-map.from');\nrequire('../modules/esnext.weak-map.of');\nrequire('../modules/esnext.weak-set.from');\nrequire('../modules/esnext.weak-set.of');\n","var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `Map.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from\n$({ target: 'Map', stat: true }, {\n from: from\n});\n","var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `Map.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of\n$({ target: 'Map', stat: true }, {\n of: of\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `Set.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from\n$({ target: 'Set', stat: true }, {\n from: from\n});\n","var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `Set.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of\n$({ target: 'Set', stat: true }, {\n of: of\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `WeakMap.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from\n$({ target: 'WeakMap', stat: true }, {\n from: from\n});\n","var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `WeakMap.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of\n$({ target: 'WeakMap', stat: true }, {\n of: of\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `WeakSet.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from\n$({ target: 'WeakSet', stat: true }, {\n from: from\n});\n","var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `WeakSet.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of\n$({ target: 'WeakSet', stat: true }, {\n of: of\n});\n","require('../modules/esnext.composite-key');\nrequire('../modules/esnext.composite-symbol');\n","var $ = require('../internals/export');\nvar getCompositeKeyNode = require('../internals/composite-key');\nvar getBuiltIn = require('../internals/get-built-in');\nvar create = require('../internals/object-create');\n\nvar initializer = function () {\n var freeze = getBuiltIn('Object', 'freeze');\n return freeze ? freeze(create(null)) : create(null);\n};\n\n// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey\n$({ global: true }, {\n compositeKey: function compositeKey() {\n return getCompositeKeyNode.apply(Object, arguments).get('object', initializer);\n }\n});\n","var $ = require('../internals/export');\nvar getCompositeKeyNode = require('../internals/composite-key');\nvar getBuiltIn = require('../internals/get-built-in');\n\n// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey\n$({ global: true }, {\n compositeSymbol: function compositeSymbol() {\n if (arguments.length === 1 && typeof arguments[0] === 'string') return getBuiltIn('Symbol')['for'](arguments[0]);\n return getCompositeKeyNode.apply(null, arguments).get('symbol', getBuiltIn('Symbol'));\n }\n});\n","require('../modules/esnext.math.clamp');\nrequire('../modules/esnext.math.deg-per-rad');\nrequire('../modules/esnext.math.degrees');\nrequire('../modules/esnext.math.fscale');\nrequire('../modules/esnext.math.rad-per-deg');\nrequire('../modules/esnext.math.radians');\nrequire('../modules/esnext.math.scale');\n","var $ = require('../internals/export');\n\nvar min = Math.min;\nvar max = Math.max;\n\n// `Math.clamp` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n clamp: function clamp(x, lower, upper) {\n return min(upper, max(lower, x));\n }\n});\n","var $ = require('../internals/export');\n\n// `Math.DEG_PER_RAD` constant\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n DEG_PER_RAD: Math.PI / 180\n});\n","var $ = require('../internals/export');\n\nvar RAD_PER_DEG = 180 / Math.PI;\n\n// `Math.degrees` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n degrees: function degrees(radians) {\n return radians * RAD_PER_DEG;\n }\n});\n","var $ = require('../internals/export');\n\nvar scale = require('../internals/math-scale');\nvar fround = require('../internals/math-fround');\n\n// `Math.fscale` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {\n return fround(scale(x, inLow, inHigh, outLow, outHigh));\n }\n});\n","var $ = require('../internals/export');\n\n// `Math.RAD_PER_DEG` constant\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n RAD_PER_DEG: 180 / Math.PI\n});\n","var $ = require('../internals/export');\n\nvar DEG_PER_RAD = Math.PI / 180;\n\n// `Math.radians` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n radians: function radians(degrees) {\n return degrees * DEG_PER_RAD;\n }\n});\n","var $ = require('../internals/export');\nvar scale = require('../internals/math-scale');\n\n// `Math.scale` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true }, {\n scale: scale\n});\n","require('../modules/esnext.math.signbit');\n","var $ = require('../internals/export');\n\n// `Math.signbit` method\n// https://github.com/tc39/proposal-Math.signbit\n$({ target: 'Math', stat: true }, {\n signbit: function signbit(x) {\n return (x = +x) == x && x == 0 ? 1 / x == -Infinity : x < 0;\n }\n});\n","require('../modules/esnext.number.from-string');\n","'use strict';\nvar $ = require('../internals/export');\nvar toInteger = require('../internals/to-integer');\nvar parseInt = require('../internals/number-parse-int');\n\nvar INVALID_NUMBER_REPRESENTATION = 'Invalid number representation';\nvar INVALID_RADIX = 'Invalid radix';\nvar valid = /^[\\da-z]+$/;\n\n// `Number.fromString` method\n// https://github.com/tc39/proposal-number-fromstring\n$({ target: 'Number', stat: true }, {\n fromString: function fromString(string, radix) {\n var sign = 1;\n var R, mathNum;\n if (typeof string != 'string') throw TypeError(INVALID_NUMBER_REPRESENTATION);\n if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION);\n if (string.charAt(0) == '-') {\n sign = -1;\n string = string.slice(1);\n if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION);\n }\n R = radix === undefined ? 10 : toInteger(radix);\n if (R < 2 || R > 36) throw RangeError(INVALID_RADIX);\n if (!valid.test(string) || (mathNum = parseInt(string, R)).toString(R) !== string) {\n throw SyntaxError(INVALID_NUMBER_REPRESENTATION);\n }\n return sign * mathNum;\n }\n});\n","require('../modules/esnext.object.iterate-entries');\nrequire('../modules/esnext.object.iterate-keys');\nrequire('../modules/esnext.object.iterate-values');\n","'use strict';\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateEntries` method\n// https://github.com/tc39/proposal-object-iteration\n$({ target: 'Object', stat: true }, {\n iterateEntries: function iterateEntries(object) {\n return new ObjectIterator(object, 'entries');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateKeys` method\n// https://github.com/tc39/proposal-object-iteration\n$({ target: 'Object', stat: true }, {\n iterateKeys: function iterateKeys(object) {\n return new ObjectIterator(object, 'keys');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateValues` method\n// https://github.com/tc39/proposal-object-iteration\n$({ target: 'Object', stat: true }, {\n iterateValues: function iterateValues(object) {\n return new ObjectIterator(object, 'values');\n }\n});\n","require('../modules/esnext.observable');\nrequire('../modules/esnext.symbol.observable');\n","'use strict';\n// https://github.com/tc39/proposal-observable\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar setSpecies = require('../internals/set-species');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefineAll = require('../internals/redefine-all');\nvar getIterator = require('../internals/get-iterator');\nvar iterate = require('../internals/iterate');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar OBSERVABLE = wellKnownSymbol('observable');\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\n\nvar getMethod = function (fn) {\n return fn == null ? undefined : aFunction(fn);\n};\n\nvar cleanupSubscription = function (subscriptionState) {\n var cleanup = subscriptionState.cleanup;\n if (cleanup) {\n subscriptionState.cleanup = undefined;\n try {\n cleanup();\n } catch (error) {\n hostReportErrors(error);\n }\n }\n};\n\nvar subscriptionClosed = function (subscriptionState) {\n return subscriptionState.observer === undefined;\n};\n\nvar close = function (subscription, subscriptionState) {\n if (!DESCRIPTORS) {\n subscription.closed = true;\n var subscriptionObserver = subscriptionState.subscriptionObserver;\n if (subscriptionObserver) subscriptionObserver.closed = true;\n } subscriptionState.observer = undefined;\n};\n\nvar Subscription = function (observer, subscriber) {\n var subscriptionState = setInternalState(this, {\n cleanup: undefined,\n observer: anObject(observer),\n subscriptionObserver: undefined\n });\n var start;\n if (!DESCRIPTORS) this.closed = false;\n try {\n if (start = getMethod(observer.start)) start.call(observer, this);\n } catch (error) {\n hostReportErrors(error);\n }\n if (subscriptionClosed(subscriptionState)) return;\n var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(this);\n try {\n var cleanup = subscriber(subscriptionObserver);\n var subscription = cleanup;\n if (cleanup != null) subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function'\n ? function () { subscription.unsubscribe(); }\n : aFunction(cleanup);\n } catch (error) {\n subscriptionObserver.error(error);\n return;\n } if (subscriptionClosed(subscriptionState)) cleanupSubscription(subscriptionState);\n};\n\nSubscription.prototype = redefineAll({}, {\n unsubscribe: function unsubscribe() {\n var subscriptionState = getInternalState(this);\n if (!subscriptionClosed(subscriptionState)) {\n close(this, subscriptionState);\n cleanupSubscription(subscriptionState);\n }\n }\n});\n\nif (DESCRIPTORS) defineProperty(Subscription.prototype, 'closed', {\n configurable: true,\n get: function () {\n return subscriptionClosed(getInternalState(this));\n }\n});\n\nvar SubscriptionObserver = function (subscription) {\n setInternalState(this, { subscription: subscription });\n if (!DESCRIPTORS) this.closed = false;\n};\n\nSubscriptionObserver.prototype = redefineAll({}, {\n next: function next(value) {\n var subscriptionState = getInternalState(getInternalState(this).subscription);\n if (!subscriptionClosed(subscriptionState)) {\n var observer = subscriptionState.observer;\n try {\n var nextMethod = getMethod(observer.next);\n if (nextMethod) nextMethod.call(observer, value);\n } catch (error) {\n hostReportErrors(error);\n }\n }\n },\n error: function error(value) {\n var subscription = getInternalState(this).subscription;\n var subscriptionState = getInternalState(subscription);\n if (!subscriptionClosed(subscriptionState)) {\n var observer = subscriptionState.observer;\n close(subscription, subscriptionState);\n try {\n var errorMethod = getMethod(observer.error);\n if (errorMethod) errorMethod.call(observer, value);\n else hostReportErrors(value);\n } catch (err) {\n hostReportErrors(err);\n } cleanupSubscription(subscriptionState);\n }\n },\n complete: function complete() {\n var subscription = getInternalState(this).subscription;\n var subscriptionState = getInternalState(subscription);\n if (!subscriptionClosed(subscriptionState)) {\n var observer = subscriptionState.observer;\n close(subscription, subscriptionState);\n try {\n var completeMethod = getMethod(observer.complete);\n if (completeMethod) completeMethod.call(observer);\n } catch (error) {\n hostReportErrors(error);\n } cleanupSubscription(subscriptionState);\n }\n }\n});\n\nif (DESCRIPTORS) defineProperty(SubscriptionObserver.prototype, 'closed', {\n configurable: true,\n get: function () {\n return subscriptionClosed(getInternalState(getInternalState(this).subscription));\n }\n});\n\nvar $Observable = function Observable(subscriber) {\n anInstance(this, $Observable, 'Observable');\n setInternalState(this, { subscriber: aFunction(subscriber) });\n};\n\nredefineAll($Observable.prototype, {\n subscribe: function subscribe(observer) {\n var length = arguments.length;\n return new Subscription(typeof observer === 'function' ? {\n next: observer,\n error: length > 1 ? arguments[1] : undefined,\n complete: length > 2 ? arguments[2] : undefined\n } : isObject(observer) ? observer : {}, getInternalState(this).subscriber);\n }\n});\n\nredefineAll($Observable, {\n from: function from(x) {\n var C = typeof this === 'function' ? this : $Observable;\n var observableMethod = getMethod(anObject(x)[OBSERVABLE]);\n if (observableMethod) {\n var observable = anObject(observableMethod.call(x));\n return observable.constructor === C ? observable : new C(function (observer) {\n return observable.subscribe(observer);\n });\n }\n var iterator = getIterator(x);\n return new C(function (observer) {\n iterate(iterator, function (it) {\n observer.next(it);\n if (observer.closed) return iterate.stop();\n }, undefined, false, true);\n observer.complete();\n });\n },\n of: function of() {\n var C = typeof this === 'function' ? this : $Observable;\n var length = arguments.length;\n var items = new Array(length);\n var index = 0;\n while (index < length) items[index] = arguments[index++];\n return new C(function (observer) {\n for (var i = 0; i < length; i++) {\n observer.next(items[i]);\n if (observer.closed) return;\n } observer.complete();\n });\n }\n});\n\ncreateNonEnumerableProperty($Observable.prototype, OBSERVABLE, function () { return this; });\n\n$({ global: true }, {\n Observable: $Observable\n});\n\nsetSpecies('Observable');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.observable` well-known symbol\n// https://github.com/tc39/proposal-observable\ndefineWellKnownSymbol('observable');\n","require('../modules/esnext.symbol.pattern-match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('patternMatch');\n","require('../modules/esnext.promise.try');\n","'use strict';\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\n\n// `Promise.try` method\n// https://github.com/tc39/proposal-promise-try\n$({ target: 'Promise', stat: true }, {\n 'try': function (callbackfn) {\n var promiseCapability = newPromiseCapabilityModule.f(this);\n var result = perform(callbackfn);\n (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n return promiseCapability.promise;\n }\n});\n","require('../modules/esnext.math.seeded-prng');\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar numberIsFinite = require('../internals/number-is-finite');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar SEEDED_RANDOM = 'Seeded Random';\nvar SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR);\nvar SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a \"seed\" field with a finite value.';\n\nvar $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) {\n setInternalState(this, {\n type: SEEDED_RANDOM_GENERATOR,\n seed: seed % 2147483647\n });\n}, SEEDED_RANDOM, function next() {\n var state = getInternalState(this);\n var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647;\n return { value: (seed & 1073741823) / 1073741823, done: false };\n});\n\n// `Math.seededPRNG` method\n// https://github.com/tc39/proposal-seeded-random\n// based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html\n$({ target: 'Math', stat: true, forced: true }, {\n seededPRNG: function seededPRNG(it) {\n var seed = anObject(it).seed;\n if (!numberIsFinite(seed)) throw TypeError(SEED_TYPE_ERROR);\n return new $SeededRandomGenerator(seed);\n }\n});\n","require('../modules/esnext.string.code-points');\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar InternalStateModule = require('../internals/internal-state');\nvar StringMultibyteModule = require('../internals/string-multibyte');\n\nvar codeAt = StringMultibyteModule.codeAt;\nvar charAt = StringMultibyteModule.charAt;\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// TODO: unify with String#@@iterator\nvar $StringIterator = createIteratorConstructor(function StringIterator(string) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: string,\n index: 0\n });\n}, 'String', function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: { codePoint: codeAt(point, 0), position: index }, done: false };\n});\n\n// `String.prototype.codePoints` method\n// https://github.com/tc39/proposal-string-prototype-codepoints\n$({ target: 'String', proto: true }, {\n codePoints: function codePoints() {\n return new $StringIterator(String(requireObjectCoercible(this)));\n }\n});\n","require('../proposals/array-is-template-object');\nrequire('../proposals/iterator-helpers');\nrequire('../proposals/map-upsert');\nrequire('../proposals/set-methods');\nrequire('../proposals/using-statement');\nvar parent = require('./3');\n\nmodule.exports = parent;\n","require('../modules/esnext.array.is-template-object');\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\nvar isFrozen = Object.isFrozen;\n\nvar isFrozenStringArray = function (array, allowUndefined) {\n if (!isFrozen || !isArray(array) || !isFrozen(array)) return false;\n var index = 0;\n var length = array.length;\n var element;\n while (index < length) {\n element = array[index++];\n if (!(typeof element === 'string' || (allowUndefined && typeof element === 'undefined'))) {\n return false;\n }\n } return length !== 0;\n};\n\n// `Array.isTemplateObject` method\n// https://github.com/tc39/proposal-array-is-template-object\n$({ target: 'Array', stat: true }, {\n isTemplateObject: function isTemplateObject(value) {\n if (!isFrozenStringArray(value, true)) return false;\n var raw = value.raw;\n if (raw.length !== value.length || !isFrozenStringArray(raw, false)) return false;\n return true;\n }\n});\n","require('../modules/esnext.async-iterator.constructor');\nrequire('../modules/esnext.async-iterator.as-indexed-pairs');\nrequire('../modules/esnext.async-iterator.drop');\nrequire('../modules/esnext.async-iterator.every');\nrequire('../modules/esnext.async-iterator.filter');\nrequire('../modules/esnext.async-iterator.find');\nrequire('../modules/esnext.async-iterator.flat-map');\nrequire('../modules/esnext.async-iterator.for-each');\nrequire('../modules/esnext.async-iterator.from');\nrequire('../modules/esnext.async-iterator.map');\nrequire('../modules/esnext.async-iterator.reduce');\nrequire('../modules/esnext.async-iterator.some');\nrequire('../modules/esnext.async-iterator.take');\nrequire('../modules/esnext.async-iterator.to-array');\nrequire('../modules/esnext.iterator.constructor');\nrequire('../modules/esnext.iterator.as-indexed-pairs');\nrequire('../modules/esnext.iterator.drop');\nrequire('../modules/esnext.iterator.every');\nrequire('../modules/esnext.iterator.filter');\nrequire('../modules/esnext.iterator.find');\nrequire('../modules/esnext.iterator.flat-map');\nrequire('../modules/esnext.iterator.for-each');\nrequire('../modules/esnext.iterator.from');\nrequire('../modules/esnext.iterator.map');\nrequire('../modules/esnext.iterator.reduce');\nrequire('../modules/esnext.iterator.some');\nrequire('../modules/esnext.iterator.take');\nrequire('../modules/esnext.iterator.to-array');\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anInstance = require('../internals/an-instance');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\nvar IS_PURE = require('../internals/is-pure');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar AsyncIteratorConstructor = function AsyncIterator() {\n anInstance(this, AsyncIteratorConstructor);\n};\n\nAsyncIteratorConstructor.prototype = AsyncIteratorPrototype;\n\nif (!has(AsyncIteratorPrototype, TO_STRING_TAG)) {\n createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator');\n}\n\nif (!has(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {\n createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor);\n}\n\n$({ global: true, forced: IS_PURE }, {\n AsyncIterator: AsyncIteratorConstructor\n});\n","var global = require('../internals/global');\nvar shared = require('../internals/shared-store');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar has = require('../internals/has');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';\nvar ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');\nvar AsyncIterator = global.AsyncIterator;\nvar PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype;\nvar AsyncIteratorPrototype, prototype;\n\nif (!IS_PURE) {\n if (PassedAsyncIteratorPrototype) {\n AsyncIteratorPrototype = PassedAsyncIteratorPrototype;\n } else if (typeof AsyncIterator == 'function') {\n AsyncIteratorPrototype = AsyncIterator.prototype;\n } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) {\n try {\n // eslint-disable-next-line no-new-func\n prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')())));\n if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype;\n } catch (error) { /* empty */ }\n }\n}\n\nif (!AsyncIteratorPrototype) AsyncIteratorPrototype = {};\n\nif (!has(AsyncIteratorPrototype, ASYNC_ITERATOR)) {\n createNonEnumerableProperty(AsyncIteratorPrototype, ASYNC_ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = AsyncIteratorPrototype;\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {\n var state = this;\n var iterator = state.iterator;\n\n return Promise.resolve(anObject(state.next.call(iterator, arg))).then(function (step) {\n if (anObject(step).done) {\n state.done = true;\n return { done: true, value: undefined };\n }\n return { done: false, value: [state.index++, step.value] };\n });\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n asIndexedPairs: function asIndexedPairs() {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n index: 0\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {\n var state = this;\n\n return new Promise(function (resolve, reject) {\n var loop = function () {\n try {\n Promise.resolve(\n anObject(state.next.call(state.iterator, state.remaining ? undefined : arg))\n ).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({ done: true, value: undefined });\n } else if (state.remaining) {\n state.remaining--;\n loop();\n } else resolve({ done: false, value: step.value });\n } catch (err) { reject(err); }\n }, reject);\n } catch (error) { reject(error); }\n };\n\n loop();\n });\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n drop: function drop(limit) {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n remaining: toPositiveInteger(limit)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $every = require('../internals/async-iterator-iteration').every;\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n every: function every(fn) {\n return $every(this, fn);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {\n var state = this;\n var filterer = state.filterer;\n\n return new Promise(function (resolve, reject) {\n var loop = function () {\n try {\n Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({ done: true, value: undefined });\n } else {\n var value = step.value;\n Promise.resolve(filterer(value)).then(function (selected) {\n selected ? resolve({ done: false, value: value }) : loop();\n }, reject);\n }\n } catch (err) { reject(err); }\n }, reject);\n } catch (error) { reject(error); }\n };\n\n loop();\n });\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n filter: function filter(filterer) {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n filterer: aFunction(filterer)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $find = require('../internals/async-iterator-iteration').find;\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n find: function find(fn) {\n return $find(this, fn);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar getAsyncIteratorMethod = require('../internals/get-async-iterator-method');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {\n var state = this;\n var mapper = state.mapper;\n var innerIterator, iteratorMethod;\n\n return new Promise(function (resolve, reject) {\n var outerLoop = function () {\n try {\n Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({ done: true, value: undefined });\n } else {\n Promise.resolve(mapper(step.value)).then(function (mapped) {\n try {\n iteratorMethod = getAsyncIteratorMethod(mapped);\n if (iteratorMethod !== undefined) {\n state.innerIterator = innerIterator = anObject(iteratorMethod.call(mapped));\n state.innerNext = aFunction(innerIterator.next);\n return innerLoop();\n } reject(TypeError('.flatMap callback should return an iterable object'));\n } catch (error2) { reject(error2); }\n }, reject);\n }\n } catch (error1) { reject(error1); }\n }, reject);\n } catch (error) { reject(error); }\n };\n\n var innerLoop = function () {\n if (innerIterator = state.innerIterator) {\n try {\n Promise.resolve(anObject(state.innerNext.call(innerIterator))).then(function (result) {\n try {\n if (anObject(result).done) {\n state.innerIterator = state.innerNext = null;\n outerLoop();\n } else resolve({ done: false, value: result.value });\n } catch (error1) { reject(error1); }\n }, reject);\n } catch (error) { reject(error); }\n } else outerLoop();\n };\n\n innerLoop();\n });\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n flatMap: function flatMap(mapper) {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n mapper: aFunction(mapper),\n innerIterator: null,\n innerNext: null\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $forEach = require('../internals/async-iterator-iteration').forEach;\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n forEach: function forEach(fn) {\n return $forEach(this, fn);\n }\n});\n","// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar path = require('../internals/path');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar getAsyncIteratorMethod = require('../internals/get-async-iterator-method');\n\nvar AsyncIterator = path.AsyncIterator;\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg) {\n return anObject(this.next.call(this.iterator, arg));\n}, true);\n\n$({ target: 'AsyncIterator', stat: true }, {\n from: function from(O) {\n var object = toObject(O);\n var usingIterator = getAsyncIteratorMethod(object);\n var iterator;\n if (usingIterator != null) {\n iterator = aFunction(usingIterator).call(object);\n if (iterator instanceof AsyncIterator) return iterator;\n } else {\n iterator = object;\n } return new AsyncIteratorProxy({\n iterator: iterator\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {\n var state = this;\n var mapper = state.mapper;\n\n return Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {\n if (anObject(step).done) {\n state.done = true;\n return { done: true, value: undefined };\n }\n return Promise.resolve(mapper(step.value)).then(function (value) {\n return { done: false, value: value };\n });\n });\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n map: function map(mapper) {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n mapper: aFunction(mapper)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar getBuiltIn = require('../internals/get-built-in');\n\nvar Promise = getBuiltIn('Promise');\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n reduce: function reduce(reducer /* , initialValue */) {\n var iterator = anObject(this);\n var next = aFunction(iterator.next);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aFunction(reducer);\n\n return new Promise(function (resolve, reject) {\n var loop = function () {\n try {\n Promise.resolve(anObject(next.call(iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n noInitial ? reject(TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator);\n } else {\n var value = step.value;\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n loop();\n } else {\n Promise.resolve(reducer(accumulator, value)).then(function (result) {\n accumulator = result;\n loop();\n }, reject);\n }\n }\n } catch (err) { reject(err); }\n }, reject);\n } catch (error) { reject(error); }\n };\n\n loop();\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $some = require('../internals/async-iterator-iteration').some;\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n some: function some(fn) {\n return $some(this, fn);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\n\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (arg) {\n if (!this.remaining--) {\n this.done = true;\n return { done: true, value: undefined };\n } return this.next.call(this.iterator, arg);\n});\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n take: function take(limit) {\n return new AsyncIteratorProxy({\n iterator: anObject(this),\n remaining: toPositiveInteger(limit)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $toArray = require('../internals/async-iterator-iteration').toArray;\n\n$({ target: 'AsyncIterator', proto: true, real: true }, {\n toArray: function toArray() {\n return $toArray(this);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar anInstance = require('../internals/an-instance');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar NativeIterator = global.Iterator;\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n || typeof NativeIterator != 'function'\n || NativeIterator.prototype !== IteratorPrototype\n // FF44- non-standard `Iterator` passes previous tests\n || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorConstructor);\n};\n\nif (IS_PURE) {\n IteratorPrototype = {};\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nif (!has(IteratorPrototype, TO_STRING_TAG)) {\n createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, 'Iterator');\n}\n\nif (FORCED || !has(IteratorPrototype, 'constructor') || IteratorPrototype.constructor === Object) {\n createNonEnumerableProperty(IteratorPrototype, 'constructor', IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n$({ global: true, forced: FORCED }, {\n Iterator: IteratorConstructor\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var result = anObject(this.next.call(this.iterator, arg));\n var done = this.done = !!result.done;\n if (!done) return [this.index++, result.value];\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n asIndexedPairs: function asIndexedPairs() {\n return new IteratorProxy({\n iterator: anObject(this),\n index: 0\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var iterator = this.iterator;\n var next = this.next;\n var result, done;\n while (this.remaining) {\n this.remaining--;\n result = anObject(next.call(iterator));\n done = this.done = !!result.done;\n if (done) return;\n }\n result = anObject(next.call(iterator, arg));\n done = this.done = !!result.done;\n if (!done) return result.value;\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n drop: function drop(limit) {\n return new IteratorProxy({\n iterator: anObject(this),\n remaining: toPositiveInteger(limit)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\n\n$({ target: 'Iterator', proto: true, real: true }, {\n every: function every(fn) {\n anObject(this);\n aFunction(fn);\n return !iterate(this, function (value) {\n if (!fn(value)) return iterate.stop();\n }, undefined, false, true).stopped;\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var iterator = this.iterator;\n var filterer = this.filterer;\n var next = this.next;\n var result, done, value;\n while (true) {\n result = anObject(next.call(iterator, arg));\n done = this.done = !!result.done;\n if (done) return;\n value = result.value;\n if (callWithSafeIterationClosing(iterator, filterer, value)) return value;\n }\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n filter: function filter(filterer) {\n return new IteratorProxy({\n iterator: anObject(this),\n filterer: aFunction(filterer)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\n\n$({ target: 'Iterator', proto: true, real: true }, {\n find: function find(fn) {\n anObject(this);\n aFunction(fn);\n return iterate(this, function (value) {\n if (fn(value)) return iterate.stop(value);\n }, undefined, false, true).result;\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var iterator = this.iterator;\n var result, mapped, iteratorMethod, innerIterator;\n\n while (true) {\n if (innerIterator = this.innerIterator) {\n result = anObject(this.innerNext.call(innerIterator));\n if (!result.done) return result.value;\n this.innerIterator = this.innerNext = null;\n }\n\n result = anObject(this.next.call(iterator, arg));\n\n if (this.done = !!result.done) return;\n\n mapped = callWithSafeIterationClosing(iterator, this.mapper, result.value);\n iteratorMethod = getIteratorMethod(mapped);\n\n if (iteratorMethod === undefined) {\n throw TypeError('.flatMap callback should return an iterable object');\n }\n\n this.innerIterator = innerIterator = anObject(iteratorMethod.call(mapped));\n this.innerNext = aFunction(innerIterator.next);\n }\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n flatMap: function flatMap(mapper) {\n return new IteratorProxy({\n iterator: anObject(this),\n mapper: aFunction(mapper),\n innerIterator: null,\n innerNext: null\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\n\n$({ target: 'Iterator', proto: true, real: true }, {\n forEach: function forEach(fn) {\n iterate(anObject(this), fn, undefined, false, true);\n }\n});\n","// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar path = require('../internals/path');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar Iterator = path.Iterator;\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var result = anObject(this.next.call(this.iterator, arg));\n var done = this.done = !!result.done;\n if (!done) return result.value;\n}, true);\n\n$({ target: 'Iterator', stat: true }, {\n from: function from(O) {\n var object = toObject(O);\n var usingIterator = getIteratorMethod(object);\n var iterator;\n if (usingIterator != null) {\n iterator = aFunction(usingIterator).call(object);\n if (iterator instanceof Iterator) return iterator;\n } else {\n iterator = object;\n } return new IteratorProxy({\n iterator: iterator\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n var iterator = this.iterator;\n var result = anObject(this.next.call(iterator, arg));\n var done = this.done = !!result.done;\n if (!done) return callWithSafeIterationClosing(iterator, this.mapper, result.value);\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n map: function map(mapper) {\n return new IteratorProxy({\n iterator: anObject(this),\n mapper: aFunction(mapper)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\n\n$({ target: 'Iterator', proto: true, real: true }, {\n reduce: function reduce(reducer /* , initialValue */) {\n anObject(this);\n aFunction(reducer);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n iterate(this, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = reducer(accumulator, value);\n }\n }, undefined, false, true);\n if (noInitial) throw TypeError('Reduce of empty iterator with no initial value');\n return accumulator;\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\n\n$({ target: 'Iterator', proto: true, real: true }, {\n some: function some(fn) {\n anObject(this);\n aFunction(fn);\n return iterate(this, function (value) {\n if (fn(value)) return iterate.stop();\n }, undefined, false, true).stopped;\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\n\nvar IteratorProxy = createIteratorProxy(function (arg) {\n if (!this.remaining--) {\n this.done = true;\n return;\n }\n var result = anObject(this.next.call(this.iterator, arg));\n var done = this.done = !!result.done;\n if (!done) return result.value;\n});\n\n$({ target: 'Iterator', proto: true, real: true }, {\n take: function take(limit) {\n return new IteratorProxy({\n iterator: anObject(this),\n remaining: toPositiveInteger(limit)\n });\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\n\nvar push = [].push;\n\n$({ target: 'Iterator', proto: true, real: true }, {\n toArray: function toArray() {\n var result = [];\n iterate(anObject(this), push, result, false, true);\n return result;\n }\n});\n","// https://github.com/thumbsupep/proposal-upsert\n// TODO: remove from `core-js@4`\nrequire('../modules/esnext.map.update-or-insert');\nrequire('../modules/esnext.map.upsert');\nrequire('../modules/esnext.weak-map.upsert');\n","'use strict';\n// TODO: remove from `core-js@4`\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar $upsert = require('../internals/map-upsert');\n\n// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.upsert`)\n// https://github.com/thumbsupep/proposal-upsert\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n updateOrInsert: $upsert\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar $upsert = require('../internals/map-upsert');\n\n// `Map.prototype.upsert` method\n// https://github.com/thumbsupep/proposal-upsert\n$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {\n upsert: $upsert\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar $upsert = require('../internals/map-upsert');\n\n// `WeakMap.prototype.upsert` method\n// https://github.com/thumbsupep/proposal-upsert\n$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {\n upsert: $upsert\n});\n","require('../modules/esnext.set.difference');\nrequire('../modules/esnext.set.intersection');\nrequire('../modules/esnext.set.is-disjoint-from');\nrequire('../modules/esnext.set.is-subset-of');\nrequire('../modules/esnext.set.is-superset-of');\nrequire('../modules/esnext.set.union');\nrequire('../modules/esnext.set.symmetric-difference');\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n difference: function difference(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n var remover = aFunction(newSet['delete']);\n iterate(iterable, function (value) {\n remover.call(newSet, value);\n });\n return newSet;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n intersection: function intersection(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var hasCheck = aFunction(set.has);\n var adder = aFunction(newSet.add);\n iterate(iterable, function (value) {\n if (hasCheck.call(set, value)) adder.call(newSet, value);\n });\n return newSet;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isDisjointFrom` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n isDisjointFrom: function isDisjointFrom(iterable) {\n var set = anObject(this);\n var hasCheck = aFunction(set.has);\n return !iterate(iterable, function (value) {\n if (hasCheck.call(set, value) === true) return iterate.stop();\n }).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar getIterator = require('../internals/get-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isSubsetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n isSubsetOf: function isSubsetOf(iterable) {\n var iterator = getIterator(this);\n var otherSet = anObject(iterable);\n var hasCheck = otherSet.has;\n if (typeof hasCheck != 'function') {\n otherSet = new (getBuiltIn('Set'))(iterable);\n hasCheck = aFunction(otherSet.has);\n }\n return !iterate(iterator, function (value) {\n if (hasCheck.call(otherSet, value) === false) return iterate.stop();\n }, undefined, false, true).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isSupersetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n isSupersetOf: function isSupersetOf(iterable) {\n var set = anObject(this);\n var hasCheck = aFunction(set.has);\n return !iterate(iterable, function (value) {\n if (hasCheck.call(set, value) === false) return iterate.stop();\n }).stopped;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n union: function union(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n iterate(iterable, aFunction(newSet.add), newSet);\n return newSet;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {\n symmetricDifference: function symmetricDifference(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n var remover = aFunction(newSet['delete']);\n var adder = aFunction(newSet.add);\n iterate(iterable, function (value) {\n remover.call(newSet, value) || adder.call(newSet, value);\n });\n return newSet;\n }\n});\n","// https://github.com/tc39/proposal-using-statement\nrequire('../modules/esnext.symbol.async-dispose');\nrequire('../modules/esnext.symbol.dispose');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncDispose` well-known symbol\n// https://github.com/tc39/proposal-using-statement\ndefineWellKnownSymbol('asyncDispose');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.dispose` well-known symbol\n// https://github.com/tc39/proposal-using-statement\ndefineWellKnownSymbol('dispose');\n","require('../proposals/promise-any');\nrequire('../proposals/string-replace-all');\nvar parent = require('./4');\n\nmodule.exports = parent;\n","require('../modules/esnext.aggregate-error');\nrequire('../modules/esnext.promise.any');\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar iterate = require('../internals/iterate');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalAggregateErrorState = InternalStateModule.getterFor('AggregateError');\n\nvar $AggregateError = function AggregateError(errors, message) {\n var that = this;\n if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message);\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(message), getPrototypeOf(that));\n }\n var errorsArray = [];\n iterate(errors, errorsArray.push, errorsArray);\n if (DESCRIPTORS) setInternalState(that, { errors: errorsArray, type: 'AggregateError' });\n else that.errors = errorsArray;\n if (message !== undefined) createNonEnumerableProperty(that, 'message', String(message));\n return that;\n};\n\n$AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(5, $AggregateError),\n message: createPropertyDescriptor(5, ''),\n name: createPropertyDescriptor(5, 'AggregateError')\n});\n\nif (DESCRIPTORS) defineProperty.f($AggregateError.prototype, 'errors', {\n get: function () {\n return getInternalAggregateErrorState(this).errors;\n },\n configurable: true\n});\n\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar getBuiltIn = require('../internals/get-built-in');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://github.com/tc39/proposal-promise-any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aFunction(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n errors.push(undefined);\n remaining++;\n promiseResolve.call(C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (e) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = e;\n --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","require('../modules/esnext.string.replace-all');\nrequire('../modules/esnext.symbol.replace-all');\n","'use strict';\nvar $ = require('../internals/export');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isRegExp = require('../internals/is-regexp');\nvar getRegExpFlags = require('../internals/regexp-flags');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar RegExpPrototype = RegExp.prototype;\n\n// `String.prototype.replaceAll` method\n// https://github.com/tc39/proposal-string-replace-all\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, template, result, position, index;\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = String(requireObjectCoercible('flags' in RegExpPrototype\n ? searchValue.flags\n : getRegExpFlags.call(searchValue)\n ));\n if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = searchValue[REPLACE];\n if (replacer !== undefined) {\n return replacer.call(searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return String(O).replace(searchValue, replaceValue);\n }\n }\n string = String(O);\n searchString = String(searchValue);\n if (searchString === '') return replaceAll.call(string, /(?:)/g, replaceValue);\n template = string.split(searchString);\n if (typeof replaceValue !== 'function') {\n return template.join(String(replaceValue));\n }\n result = template[0];\n position = result.length;\n for (index = 1; index < template.length; index++) {\n result += String(replaceValue(searchString, position, string));\n position += searchString.length + template[index].length;\n result += template[index];\n }\n return result;\n }\n});\n","// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\ndefineWellKnownSymbol('replaceAll');\n","require('../proposals/global-this');\nrequire('../proposals/promise-all-settled');\nrequire('../proposals/string-match-all');\nvar path = require('../internals/path');\n\nmodule.exports = path;\n","require('../modules/esnext.global-this');\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","// TODO: Remove from `core-js@4`\nrequire('./es.global-this');\n","// TODO: Remove from `core-js@4`\nrequire('../modules/esnext.promise.all-settled');\n","// TODO: Remove from `core-js@4`\nrequire('./es.promise.all-settled.js');\n","// TODO: Remove from `core-js@4`\nrequire('../modules/esnext.string.match-all');\n","// TODO: Remove from `core-js@4`\nrequire('./es.string.match-all');\n","require('../modules/web.dom-collections.for-each');\nrequire('../modules/web.dom-collections.iterator');\nrequire('../modules/web.immediate');\nrequire('../modules/web.queue-microtask');\nrequire('../modules/web.timers');\nrequire('../modules/web.url');\nrequire('../modules/web.url.to-json');\nrequire('../modules/web.url-search-params');\nvar path = require('../internals/path');\n\nmodule.exports = path;\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\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","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar task = require('../internals/task');\n\nvar FORCED = !global.setImmediate || !global.clearImmediate;\n\n// http://w3c.github.io/setImmediate/\n$({ global: true, bind: true, enumerable: true, forced: FORCED }, {\n // `setImmediate` method\n // http://w3c.github.io/setImmediate/#si-setImmediate\n setImmediate: task.set,\n // `clearImmediate` method\n // http://w3c.github.io/setImmediate/#si-clearImmediate\n clearImmediate: task.clear\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar classof = require('../internals/classof-raw');\n\nvar process = global.process;\nvar isNode = classof(process) == 'process';\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({ global: true, enumerable: true, noTargetGet: true }, {\n queueMicrotask: function queueMicrotask(fn) {\n var domain = isNode && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\n\nvar wrap = function (scheduler) {\n return function (handler, timeout /* , ...arguments */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : undefined;\n return scheduler(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof handler == 'function' ? handler : Function(handler)).apply(this, args);\n } : handler, timeout);\n };\n};\n\n// ie9- setTimeout & setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n$({ global: true, bind: true, forced: MSIE }, {\n // `setTimeout` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n setTimeout: wrap(global.setTimeout),\n // `setInterval` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n setInterval: wrap(global.setInterval)\n});\n","var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a