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md,OAAS,MAAO4H,QACzD,SAGH,EAvdA,G,iCCGM6F,EAAwD,GAK9D,IAAM,IAAM7O,KAHZlc,OAAOgrB,UAAY,GACnBhrB,OAAOof,kBAAoB,GAEPpf,OACnB,GACCA,OAAOK,eAAgB6b,KACuB,IAA5CA,EAAKjhB,QAAS,0BACmC,IAAlDihB,EAAKjhB,QAAS,gCACd,CACD,IAAM,EAASihB,EAAK/e,MAAO,KAAM+Z,MAC3B9M,EAAQpK,OAAiBkc,GAEtB,KAAU6O,IAClBA,EAAqB,GAAW,IAGjCA,EAAqB,GAAW,IAC/BA,EAAqB,GACrB3gB,EAAK,IAkBR,IAbA,IAAM6gB,EAAoB,SAAE3N,EAAgBiB,QAAA,IAAAA,IAAAA,EAAA,IAClCjB,KAAUtd,OAAOof,oBAChB9B,KAAUtd,OAAOgrB,YACzBhrB,OAAOgrB,UAAW1N,GAAW,IAAI,EAChCA,EACAiB,IAIFve,OAAOof,kBAAmB9B,GAAW,IAAI,EAAmBA,KAI1B,MAAAvkB,OAAOE,QAAS8xB,GAAhB,eAAwC,CAAhE,WAAE,EAAM,KAAE,EAAQ,KAC7BE,EAAmB,EAAQ,GAO5B7N,OAAQ,iDAAkDgD,MACzD,SAAErlB,EAAOJ,GACR,IAAM2iB,EAASF,OAAQziB,GACrBilB,KAAM,MACNrd,QAAS,qBAAsB,IAEjC0oB,EAAmB3N,MAIrBtd,OAAOyc,MAAM6E,UAAW,yBAAyB,SAAEhE,GAClD2N,EAAmB3N,MAYpBtd,OAAOyc,MAAM6E,UAAW,sBAAsB,SAAEhE,GAC/C2N,EAAmB3N,O","sources":["webpack://gp-populate-anything/./node_modules/core-js/es/array/includes.js","webpack://gp-populate-anything/./node_modules/core-js/es/object/assign.js","webpack://gp-populate-anything/./node_modules/core-js/es/object/entries.js","webpack://gp-populate-anything/./node_modules/core-js/es/object/values.js","webpack://gp-populate-anything/./node_modules/core-js/internals/a-callable.js","webpack://gp-populate-anything/./node_modules/core-js/internals/add-to-unscopables.js","webpack://gp-populate-anything/./node_modules/core-js/internals/an-object.js","webpack://gp-populate-anything/./node_modules/core-js/internals/array-includes.js","webpack://gp-populate-anything/./node_modules/core-js/internals/classof-raw.js","webpack://gp-populate-anything/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://gp-populate-anything/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://gp-populate-anything/./node_modules/core-js/internals/create-property-descriptor.js","webpack://gp-populate-anything/./node_modules/core-js/internals/descriptors.js","webpack://gp-populate-anything/./node_modules/core-js/internals/document-create-element.js","webpack://gp-populate-anything/./node_modules/core-js/internals/engine-user-agent.js","webpack://gp-populate-anything/./node_modules/core-js/internals/engine-v8-version.js","webpack://gp-populate-anything/./node_modules/core-js/internals/entry-unbind.js","webpack://gp-populate-anything/./node_modules/core-js/internals/enum-bug-keys.js","webpack://gp-populate-anything/./node_modules/core-js/internals/export.js","webpack://gp-populate-anything/./node_modules/core-js/internals/fails.js","webpack://gp-populate-anything/./node_modules/core-js/internals/function-bind-context.js","webpack://gp-populate-anything/./node_modules/core-js/internals/function-name.js","webpack://gp-populate-anything/./node_modules/core-js/internals/get-built-in.js","webpack://gp-populate-anything/./node_modules/core-js/internals/get-method.js","webpack://gp-populate-anything/./node_modules/core-js/internals/global.js","webpack://gp-populate-anything/./node_modules/core-js/internals/has.js","webpack://gp-populate-anything/./node_modules/core-js/internals/hidden-keys.js","webpack://gp-populate-anything/./node_modules/core-js/internals/html.js","webpack://gp-populate-anything/./node_modules/core-js/internals/ie8-dom-define.js","webpack://gp-populate-anything/./node_modules/core-js/internals/indexed-object.js","webpack://gp-populate-anything/./node_modules/core-js/internals/inspect-source.js","webpack://gp-populate-anything/./node_modules/core-js/internals/internal-state.js","webpack://gp-populate-anything/./node_modules/core-js/internals/is-callable.js","webpack://gp-populate-anything/./node_modules/core-js/internals/is-forced.js","webpack://gp-populate-anything/./node_modules/core-js/internals/is-object.js","webpack://gp-populate-anything/./node_modules/core-js/internals/is-pure.js","webpack://gp-populate-anything/./node_modules/core-js/internals/is-symbol.js","webpack://gp-populate-anything/./node_modules/core-js/internals/native-symbol.js","webpack://gp-populate-anything/./node_modules/core-js/internals/native-weak-map.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-assign.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-create.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-define-properties.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-define-property.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-keys-internal.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-keys.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://gp-populate-anything/./node_modules/core-js/internals/object-to-array.js","webpack://gp-populate-anything/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://gp-populate-anything/./node_modules/core-js/internals/own-keys.js","webpack://gp-populate-anything/./node_modules/core-js/internals/path.js","webpack://gp-populate-anything/./node_modules/core-js/internals/redefine.js","webpack://gp-populate-anything/./node_modules/core-js/internals/require-object-coercible.js","webpack://gp-populate-anything/./node_modules/core-js/internals/set-global.js","webpack://gp-populate-anything/./node_modules/core-js/internals/shared-key.js","webpack://gp-populate-anything/./node_modules/core-js/internals/shared-store.js","webpack://gp-populate-anything/./node_modules/core-js/internals/shared.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-absolute-index.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-indexed-object.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-integer.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-length.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-object.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-primitive.js","webpack://gp-populate-anything/./node_modules/core-js/internals/to-property-key.js","webpack://gp-populate-anything/./node_modules/core-js/internals/try-to-string.js","webpack://gp-populate-anything/./node_modules/core-js/internals/uid.js","webpack://gp-populate-anything/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://gp-populate-anything/./node_modules/core-js/internals/well-known-symbol.js","webpack://gp-populate-anything/./node_modules/core-js/modules/es.array.includes.js","webpack://gp-populate-anything/./node_modules/core-js/modules/es.object.assign.js","webpack://gp-populate-anything/./node_modules/core-js/modules/es.object.entries.js","webpack://gp-populate-anything/./node_modules/core-js/modules/es.object.values.js","webpack://gp-populate-anything/./node_modules/deepmerge/dist/cjs.js","webpack://gp-populate-anything/./node_modules/lodash/_DataView.js","webpack://gp-populate-anything/./node_modules/lodash/_Hash.js","webpack://gp-populate-anything/./node_modules/lodash/_ListCache.js","webpack://gp-populate-anything/./node_modules/lodash/_Map.js","webpack://gp-populate-anything/./node_modules/lodash/_MapCache.js","webpack://gp-populate-anything/./node_modules/lodash/_Promise.js","webpack://gp-populate-anything/./node_modules/lodash/_Set.js","webpack://gp-populate-anything/./node_modules/lodash/_SetCache.js","webpack://gp-populate-anything/./node_modules/lodash/_Stack.js","webpack://gp-populate-anything/./node_modules/lodash/_Symbol.js","webpack://gp-populate-anything/./node_modules/lodash/_Uint8Array.js","webpack://gp-populate-anything/./node_modules/lodash/_WeakMap.js","webpack://gp-populate-anything/./node_modules/lodash/_arrayFilter.js","webpack://gp-populate-anything/./node_modules/lodash/_arrayIncludes.js","webpack://gp-populate-anything/./node_modules/lodash/_arrayIncludesWith.js","webpack://gp-populate-anything/./node_modules/lodash/_arrayLikeKeys.js","webpack://gp-populate-anything/./node_modules/lodash/_arrayPush.js","webpack://gp-populate-anything/./node_modules/lodash/_arraySome.js","webpack://gp-populate-anything/./node_modules/lodash/_assocIndexOf.js","webpack://gp-populate-anything/./node_modules/lodash/_baseFindIndex.js","webpack://gp-populate-anything/./node_modules/lodash/_baseGetAllKeys.js","webpack://gp-populate-anything/./node_modules/lodash/_baseGetTag.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIndexOf.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsArguments.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsEqual.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsEqualDeep.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsNaN.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsNative.js","webpack://gp-populate-anything/./node_modules/lodash/_baseIsTypedArray.js","webpack://gp-populate-anything/./node_modules/lodash/_baseKeys.js","webpack://gp-populate-anything/./node_modules/lodash/_baseTimes.js","webpack://gp-populate-anything/./node_modules/lodash/_baseTrim.js","webpack://gp-populate-anything/./node_modules/lodash/_baseUnary.js","webpack://gp-populate-anything/./node_modules/lodash/_baseUniq.js","webpack://gp-populate-anything/./node_modules/lodash/_cacheHas.js","webpack://gp-populate-anything/./node_modules/lodash/_coreJsData.js","webpack://gp-populate-anything/./node_modules/lodash/_createSet.js","webpack://gp-populate-anything/./node_modules/lodash/_equalArrays.js","webpack://gp-populate-anything/./node_modules/lodash/_equalByTag.js","webpack://gp-populate-anything/./node_modules/lodash/_equalObjects.js","webpack://gp-populate-anything/./node_modules/lodash/_freeGlobal.js","webpack://gp-populate-anything/./node_modules/lodash/_getAllKeys.js","webpack://gp-populate-anything/./node_modules/lodash/_getMapData.js","webpack://gp-populate-anything/./node_modules/lodash/_getNative.js","webpack://gp-populate-anything/./node_modules/lodash/_getRawTag.js","webpack://gp-populate-anything/./node_modules/lodash/_getSymbols.js","webpack://gp-populate-anything/./node_modules/lodash/_getTag.js","webpack://gp-populate-anything/./node_modules/lodash/_getValue.js","webpack://gp-populate-anything/./node_modules/lodash/_hashClear.js","webpack://gp-populate-anything/./node_modules/lodash/_hashDelete.js","webpack://gp-populate-anything/./node_modules/lodash/_hashGet.js","webpack://gp-populate-anything/./node_modules/lodash/_hashHas.js","webpack://gp-populate-anything/./node_modules/lodash/_hashSet.js","webpack://gp-populate-anything/./node_modules/lodash/_isIndex.js","webpack://gp-populate-anything/./node_modules/lodash/_isKeyable.js","webpack://gp-populate-anything/./node_modules/lodash/_isMasked.js","webpack://gp-populate-anything/./node_modules/lodash/_isPrototype.js","webpack://gp-populate-anything/./node_modules/lodash/_listCacheClear.js","webpack://gp-populate-anything/./node_modules/lodash/_listCacheDelete.js","webpack://gp-populate-anything/./node_modules/lodash/_listCacheGet.js","webpack://gp-populate-anything/./node_modules/lodash/_listCacheHas.js","webpack://gp-populate-anything/./node_modules/lodash/_listCacheSet.js","webpack://gp-populate-anything/./node_modules/lodash/_mapCacheClear.js","webpack://gp-populate-anything/./node_modules/lodash/_mapCacheDelete.js","webpack://gp-populate-anything/./node_modules/lodash/_mapCacheGet.js","webpack://gp-populate-anything/./node_modules/lodash/_mapCacheHas.js","webpack://gp-populate-anything/./node_modules/lodash/_mapCacheSet.js","webpack://gp-populate-anything/./node_modules/lodash/_mapToArray.js","webpack://gp-populate-anything/./node_modules/lodash/_nativeCreate.js","webpack://gp-populate-anything/./node_modules/lodash/_nativeKeys.js","webpack://gp-populate-anything/./node_modules/lodash/_nodeUtil.js","webpack://gp-populate-anything/./node_modules/lodash/_objectToString.js","webpack://gp-populate-anything/./node_modules/lodash/_overArg.js","webpack://gp-populate-anything/./node_modules/lodash/_root.js","webpack://gp-populate-anything/./node_modules/lodash/_setCacheAdd.js","webpack://gp-populate-anything/./node_modules/lodash/_setCacheHas.js","webpack://gp-populate-anything/./node_modules/lodash/_setToArray.js","webpack://gp-populate-anything/./node_modules/lodash/_stackClear.js","webpack://gp-populate-anything/./node_modules/lodash/_stackDelete.js","webpack://gp-populate-anything/./node_modules/lodash/_stackGet.js","webpack://gp-populate-anything/./node_modules/lodash/_stackHas.js","webpack://gp-populate-anything/./node_modules/lodash/_stackSet.js","webpack://gp-populate-anything/./node_modules/lodash/_strictIndexOf.js","webpack://gp-populate-anything/./node_modules/lodash/_toSource.js","webpack://gp-populate-anything/./node_modules/lodash/_trimmedEndIndex.js","webpack://gp-populate-anything/./node_modules/lodash/debounce.js","webpack://gp-populate-anything/./node_modules/lodash/eq.js","webpack://gp-populate-anything/./node_modules/lodash/isArguments.js","webpack://gp-populate-anything/./node_modules/lodash/isArray.js","webpack://gp-populate-anything/./node_modules/lodash/isArrayLike.js","webpack://gp-populate-anything/./node_modules/lodash/isBuffer.js","webpack://gp-populate-anything/./node_modules/lodash/isEqual.js","webpack://gp-populate-anything/./node_modules/lodash/isFunction.js","webpack://gp-populate-anything/./node_modules/lodash/isLength.js","webpack://gp-populate-anything/./node_modules/lodash/isObject.js","webpack://gp-populate-anything/./node_modules/lodash/isObjectLike.js","webpack://gp-populate-anything/./node_modules/lodash/isSymbol.js","webpack://gp-populate-anything/./node_modules/lodash/isTypedArray.js","webpack://gp-populate-anything/./node_modules/lodash/keys.js","webpack://gp-populate-anything/./node_modules/lodash/noop.js","webpack://gp-populate-anything/./node_modules/lodash/now.js","webpack://gp-populate-anything/./node_modules/lodash/stubArray.js","webpack://gp-populate-anything/./node_modules/lodash/stubFalse.js","webpack://gp-populate-anything/./node_modules/lodash/toNumber.js","webpack://gp-populate-anything/./node_modules/lodash/uniq.js","webpack://gp-populate-anything/./node_modules/lodash/uniqWith.js","webpack://gp-populate-anything/webpack/bootstrap","webpack://gp-populate-anything/webpack/runtime/compat get default export","webpack://gp-populate-anything/webpack/runtime/define property getters","webpack://gp-populate-anything/webpack/runtime/global","webpack://gp-populate-anything/webpack/runtime/hasOwnProperty shorthand","webpack://gp-populate-anything/webpack/runtime/node module decorator","webpack://gp-populate-anything/./js/src/helpers/toggleSubmitButton.ts","webpack://gp-populate-anything/./js/src/helpers/getFormFieldValues.ts","webpack://gp-populate-anything/./js/src/classes/GPPopulateAnything.ts","webpack://gp-populate-anything/./js/src/helpers/initTinyMCE.ts","webpack://gp-populate-anything/./js/src/classes/GPPALiveMergeTags.ts","webpack://gp-populate-anything/./js/src/frontend.ts"],"sourcesContent":["require('../../modules/es.array.includes');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'includes');\n","require('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","require('../../modules/es.object.entries');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.entries;\n","require('../../modules/es.object.values');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.values;\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a function');\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var isObject = require('../internals/is-object');\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw TypeError(String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var 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","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] < 4 ? 1 : match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\n\nvar call = Function.call;\n\nmodule.exports = function (CONSTRUCTOR, METHOD, length) {\n return bind(call, global[CONSTRUCTOR].prototype[METHOD], length);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var aCallable = require('../internals/a-callable');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aCallable(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 DESCRIPTORS = require('../internals/descriptors');\nvar has = require('../internals/has');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = has(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var toObject = require('../internals/to-object');\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty.call(toObject(it), key);\n};\n","module.exports = {};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\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 shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\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 || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\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 if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\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","// `isCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument === 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it === 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var isCallable = require('../internals/is-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && Object(it) instanceof $Symbol;\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(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 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 toPropertyKey = require('../internals/to-property-key');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar has = require('../internals/has');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\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 var name = options && options.name !== undefined ? options.name : key;\n var state;\n if (isCallable(value)) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (!has(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n createNonEnumerableProperty(value, 'name', name);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n }\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 isCallable(this) && getInternalState(this).source || inspectSource(this);\n});\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/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 global = require('../internals/global');\n\nmodule.exports = function (key, value) {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.18.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = exoticToPrim.call(input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : String(key);\n};\n","module.exports = function (argument) {\n try {\n return String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n if (NATIVE_SYMBOL && has(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n }\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/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 $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn target.propertyIsEnumerable(symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\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 */\nfunction 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// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\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 */\nfunction 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\nmodule.exports = arrayFilter;\n","var baseIndexOf = require('./_baseIndexOf');\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 */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\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 */\nfunction 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\nmodule.exports = arrayIncludesWith;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(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\nmodule.exports = arrayLikeKeys;\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 */\nfunction 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\nmodule.exports = arrayPush;\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 */\nfunction 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\nmodule.exports = arraySome;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\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 */\nfunction 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\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\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 */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\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 */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\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 */\nfunction 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\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * 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 */\nfunction 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\nmodule.exports = baseIsEqualDeep;\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 */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * 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 */\nfunction 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\nmodule.exports = baseKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = baseUniq;\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 */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\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 */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction 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\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * 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 */\nfunction 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\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\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 */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbols;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\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 */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((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\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\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 */\nfunction 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\nmodule.exports = mapToArray;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\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 */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\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 */\nfunction 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\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\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 */\nfunction 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\nmodule.exports = strictIndexOf;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\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 */\nfunction 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\nmodule.exports = debounce;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseIsEqual = require('./_baseIsEqual');\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 */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(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\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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 */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","var root = require('./_root');\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 */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\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 */\nfunction 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 = baseTrim(value);\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\nmodule.exports = toNumber;\n","var baseUniq = require('./_baseUniq');\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 */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","var baseUniq = require('./_baseUniq');\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 */\nfunction uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n}\n\nmodule.exports = uniqWith;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","const getSubmitButton = ( $form: JQuery ): JQuery => {\n\treturn $form\n\t\t.find( '.gform_footer, .gform_page_footer' )\n\t\t.find( 'input[type=\"submit\"], input[type=\"button\"]' );\n};\n\nconst toggleSubmitButton = ( $form: JQuery, disabled: boolean ): void => {\n\t/**\n\t * Disable toggling of form navigation when data is loading.\n\t *\n\t * @param bool disabled Return true to disable form navigation toggling. Defaults to false.\n\t */\n\tif (\n\t\twindow.gform.applyFilters(\n\t\t\t'gppa_disable_form_navigation_toggling',\n\t\t\tfalse\n\t\t)\n\t) {\n\t\treturn;\n\t}\n\n\tconst formClass = 'gppa-navigation-disabled';\n\n\t// Disable form submission while XHRs are active\n\tif ( disabled ) {\n\t\t$form.addClass( formClass ).on( 'submit.gppa', ( e ) => {\n\t\t\te.preventDefault();\n\t\t\treturn false;\n\t\t} );\n\t} else {\n\t\t$form.off( 'submit.gppa' ).removeClass( formClass );\n\t}\n\n\tgetSubmitButton( $form ).prop( 'disabled', disabled );\n};\n\nconst disableSubmitButton = ( $form: JQuery ): void =>\n\ttoggleSubmitButton( $form, true );\nconst enableSubmitButton = ( $form: JQuery ): void =>\n\ttoggleSubmitButton( $form, false );\n\nexport { disableSubmitButton, enableSubmitButton };\n","const $ = window.jQuery;\n\n/**\n * Based on jQuery.serializeArray() but contains the following changes:\n * \t* Includes disabled inputs\n * \t* Includes the elements in the output\n *\n * @see https://github.com/jquery/jquery/blob/a684e6ba836f7c553968d7d026ed7941e1a612d8/src/serialize.js#L98\n * @param $form\n */\nfunction serializeAll(\n\t$form: JQuery< HTMLFormElement >\n): { name: string; value: string; el: HTMLInputElement }[] {\n\tconst rcheckableType = /^(?:checkbox|radio)$/i;\n\tconst rCRLF = /\\r?\\n/g;\n\tconst rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i;\n\tconst rsubmittable = /^(?:input|select|textarea|keygen)/i;\n\n\tconst formElements: HTMLInputElement[] = $.makeArray(\n\t\t$form.prop( 'elements' )\n\t);\n\n\tconst inputElements = formElements.filter( ( el: HTMLInputElement ) => {\n\t\tconst type = el.type;\n\n\t\treturn (\n\t\t\tel.name &&\n\t\t\trsubmittable.test( el.nodeName ) &&\n\t\t\t! rsubmitterTypes.test( type ) &&\n\t\t\t( el.checked || ! rcheckableType.test( type ) )\n\t\t);\n\t} );\n\n\t/**\n\t * This spread/concat is a cheap way to flatMap without a polyfill.\n\t */\n\treturn ( [] as (\n\t\t| { name: string; value: string; el: HTMLInputElement }\n\t\t| undefined\n\t )[] )\n\t\t.concat(\n\t\t\t...inputElements.map( ( el: HTMLInputElement ) => {\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\tif ( el == null ) {\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\n\t\t\t\tconst val = $( el ).val();\n\n\t\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\t\treturn $.map( val, function ( individualVal ) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tname: el.name,\n\t\t\t\t\t\t\tvalue: individualVal?.replace( rCRLF, '\\r\\n' ),\n\t\t\t\t\t\t\tel,\n\t\t\t\t\t\t};\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\treturn {\n\t\t\t\t\tname: el.name,\n\t\t\t\t\tvalue: ( val as string )?.replace( rCRLF, '\\r\\n' ),\n\t\t\t\t\tel,\n\t\t\t\t};\n\t\t\t} )\n\t\t)\n\t\t.filter( Boolean ) as {\n\t\tname: string;\n\t\tvalue: string;\n\t\tel: HTMLInputElement;\n\t}[];\n}\n\nexport default function getFormFieldValues(\n\tformId?: number | string,\n\tisGravityView: boolean = false\n) {\n\tlet $form: JQuery< HTMLFormElement > = $( '#gform_' + formId );\n\tlet inputPrefix = 'input_';\n\n\tif ( isGravityView ) {\n\t\tinputPrefix = 'filter_';\n\t}\n\n\t/* Use entry form if we're in the Gravity Forms admin entry view. */\n\tif ( $( '#wpwrap #entry_form' ).length ) {\n\t\t$form = $( '#entry_form' );\n\t}\n\n\tif ( isGravityView ) {\n\t\t$form = $( '.gv-widget-search' );\n\t}\n\n\tconst inputsArray = serializeAll( $form ).filter(\n\t\t( value?: { name: string; value: string } ) => {\n\t\t\tif ( ! value || value.name?.indexOf( inputPrefix ) !== 0 ) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\t);\n\n\tconst inputsObject: { [ input: string ]: string[] | string } = {};\n\n\tfor ( const input of inputsArray ) {\n\t\tconst { value, el } = input;\n\t\tlet inputName = input.name.replace( inputPrefix, '' );\n\n\t\t/**\n\t\t * Do not send input value if it is not checked otherwise when hydrating values, it will be treated as if it\n\t\t * was checked.\n\t\t */\n\t\tif (\n\t\t\t( el?.type === 'radio' || el?.type === 'checkbox' ) &&\n\t\t\t! el?.checked\n\t\t) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t/* Handle array-based inputs such as the Time field */\n\t\tif ( inputName.indexOf( '[]' ) !== -1 ) {\n\t\t\tinputName = inputName.replace( '[]', '' );\n\n\t\t\tif ( ! ( inputName in inputsObject ) ) {\n\t\t\t\tinputsObject[ inputName ] = [];\n\t\t\t}\n\n\t\t\t( inputsObject[ inputName ] as string[] ).push( value );\n\t\t\t/* Standard inputs */\n\t\t} else {\n\t\t\tinputsObject[ inputName ] = value;\n\t\t}\n\t}\n\n\treturn inputsObject;\n}\n","import {\n\tdisableSubmitButton,\n\tenableSubmitButton,\n} from '../helpers/toggleSubmitButton';\nimport getFormFieldValues from '../helpers/getFormFieldValues';\nimport { ILiveMergeTagValues } from './GPPALiveMergeTags';\nimport initTinyMCE from '../helpers/initTinyMCE';\nimport uniq from 'lodash/uniq';\nimport uniqWith from 'lodash/uniqWith';\nimport isEqual from 'lodash/isEqual';\nimport debounce from 'lodash/debounce';\n\nconst $ = window.jQuery;\n\nexport type formId = number | string;\nexport type fieldID = number | string;\n\nexport interface fieldMapFilter {\n\tgf_field: string;\n\toperator?: string;\n\tproperty?: string;\n}\n\nexport interface fieldMap {\n\t[ fieldId: string ]: fieldMapFilter[];\n}\n\nexport interface gravityViewMeta {\n\tsearch_fields: any;\n}\n\nexport interface fieldDetails {\n\tfield: fieldID;\n\tfilters?: fieldMapFilter[];\n\t$el?: JQuery;\n\thasChosen: boolean;\n}\n\nexport default class GPPopulateAnything {\n\tpublic currentPage = 1;\n\tpublic populatedFields: fieldID[] = [];\n\tpublic postedValues: { [ input: string ]: string } = {};\n\tpublic gravityViewMeta?: gravityViewMeta;\n\tpublic eventId = 0;\n\tprivate triggerChangeAfterCalculate: boolean = false;\n\tprivate triggerChangeExecuted: boolean = false;\n\tprivate triggerChangeOnFields: {\n\t\tfield_id: number;\n\t\tformula: string;\n\t\trounding: string;\n\t}[] = [];\n\n\tprivate _lastRequestPromise: { [ inputId: string ]: JQueryXHR } = {};\n\n\tconstructor( public formId: formId, public fieldMap: fieldMap ) {\n\t\tif ( 'GPPA_POSTED_VALUES_' + formId in window ) {\n\t\t\tthis.postedValues = ( window as any )[\n\t\t\t\t'GPPA_POSTED_VALUES_' + formId\n\t\t\t];\n\t\t}\n\n\t\tif ( 'GPPA_GRAVITYVIEW_META_' + formId in window ) {\n\t\t\tthis.gravityViewMeta = ( window as any )[\n\t\t\t\t'GPPA_GRAVITYVIEW_META_' + formId\n\t\t\t];\n\t\t}\n\n\t\tjQuery( document ).on(\n\t\t\t'gform_post_render',\n\t\t\tthis.postRenderSetCurrentPage\n\t\t);\n\t\tjQuery( document ).on( 'gform_post_render', this.postRender );\n\n\t\t// Update prices when fields are updated. By default, Gravity Forms does not trigger recalculations when\n\t\t// hidden inputs in product fields are updated.\n\t\tjQuery( document ).on( 'gppa_updated_batch_fields', () =>\n\t\t\twindow.gformCalculateTotalPrice( formId )\n\t\t);\n\n\t\t// Store a boolean in `triggerChangeAfterCalculate` to use once GPPA is initialized\n\t\twindow.gform.addAction(\n\t\t\t'gform_post_calculation_events',\n\t\t\t(\n\t\t\t\tmergeTagArr: object,\n\t\t\t\tformulaField: {\n\t\t\t\t\tfield_id: number;\n\t\t\t\t\tformula: string;\n\t\t\t\t\trounding: string;\n\t\t\t\t},\n\t\t\t\tformId: number,\n\t\t\t\tcalcObj: object\n\t\t\t) => {\n\t\t\t\tthis.triggerChangeAfterCalculate = true;\n\t\t\t\tthis.triggerChangeOnFields.push( formulaField );\n\t\t\t}\n\t\t);\n\n\t\t/**\n\t\t * gform_post_render doesn't fire in the admin entry detail view so we'll call post render manually.\n\t\t *\n\t\t * Likewise for the GravityView search widget.\n\t\t */\n\t\tif ( $( '#wpwrap #entry_form' ).length || this.gravityViewMeta ) {\n\t\t\tthis.postRender( null, formId, 0 );\n\t\t}\n\t\t/**\n\t\t * Disable conditional logic reset for fields populated by GPPA\n\t\t */\n\t\twindow.gform.addFilter(\n\t\t\t'gform_reset_pre_conditional_logic_field_action',\n\t\t\t(\n\t\t\t\treset: boolean,\n\t\t\t\tformId: number,\n\t\t\t\ttargetId: string,\n\t\t\t\tdefaultValues: string | Array< string >,\n\t\t\t\tisInit: boolean\n\t\t\t) => {\n\t\t\t\tif ( isInit ) {\n\t\t\t\t\treturn reset;\n\t\t\t\t}\n\n\t\t\t\t// Trigger forceReload when conditional fields used in LMTs are shown/hidden\n\t\t\t\tconst id = targetId.split( '_' ).pop();\n\t\t\t\tif (\n\t\t\t\t\twindow.gppaLiveMergeTags[ this.formId ].hasLiveAttrOnPage(\n\t\t\t\t\t\tid as string\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\t// Cancel GF reset on multi input fields (e.g. address) that have LMTs\n\t\t\t\tif (\n\t\t\t\t\t$( targetId ).find(\n\t\t\t\t\t\t'input[data-gppa-live-merge-tag-value]'\n\t\t\t\t\t).length\n\t\t\t\t) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tfor ( const field in this.fieldMap ) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t'field_' + formId + '_' + field ===\n\t\t\t\t\t\ttargetId.substr( 1 )\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn reset;\n\t\t\t}\n\t\t);\n\n\t\t// Force reload conditionally shown fields that are used in LMTs\n\t\twindow.gform.addAction(\n\t\t\t'gform_post_conditional_logic_field_action',\n\t\t\t(\n\t\t\t\tformId: string,\n\t\t\t\taction: string,\n\t\t\t\ttargetId: string,\n\t\t\t\tdefaultValues: string | Array< string >,\n\t\t\t\tisInit: boolean\n\t\t\t) => {\n\t\t\t\tif ( isInit ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst id = targetId.split( '_' ).pop();\n\n\t\t\t\tif (\n\t\t\t\t\twindow.gppaLiveMergeTags[ this.formId ].hasLiveAttrOnPage(\n\t\t\t\t\t\tid as string\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\t$( targetId )\n\t\t\t\t\t\t.find( 'input, select, textarea' )\n\t\t\t\t\t\t.trigger( 'forceReload' );\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tpostRenderSetCurrentPage = (\n\t\tevent: JQueryEventObject,\n\t\tformId: any,\n\t\tcurrentPage: number\n\t) => {\n\t\tthis.currentPage = currentPage;\n\t};\n\n\tpostRender = (\n\t\tevent: JQueryEventObject | null,\n\t\tformId: any,\n\t\tcurrentPage: number\n\t) => {\n\t\tif ( formId != this.formId ) {\n\t\t\treturn;\n\t\t}\n\n\t\t/**\n\t\t * Reset LMT values if present to improve compatibility with GP Nested Forms\n\t\t */\n\t\tconst lmt = window.gppaLiveMergeTags[ this.formId ];\n\n\t\tif ( lmt?.currentMergeTagValues ) {\n\t\t\tlmt.populateCurrentMergeTagValues();\n\t\t}\n\n\t\t// Set values to prevent unnecessary refreshes on load\n\t\tlet inputPrefix = 'input_';\n\n\t\t/* Bind to change. */\n\t\t// We have to target the form a little strangely as some plugins (i.e. WC GF Product Add-ons) don't use the\n\t\t// default form element.\n\t\tconst $form = this.getFormElement();\n\n\t\tif ( this.gravityViewMeta ) {\n\t\t\tinputPrefix = 'filter_';\n\t\t}\n\n\t\tconst lastFieldValuesDataId = 'gppa-batch-ajax-last-field-values';\n\n\t\t$form.data(\n\t\t\tlastFieldValuesDataId,\n\t\t\tgetFormFieldValues( this.formId, !! this.gravityViewMeta )\n\t\t);\n\n\t\t$form.off( '.gppa' );\n\t\t$form.on(\n\t\t\t'keyup.gppa change.gppa DOMAutoComplete.gppa paste.gppa forceReload.gppa',\n\t\t\t'[name^=\"' + inputPrefix + '\"]',\n\t\t\t( event ) => {\n\t\t\t\tconst $el = $( event.target );\n\n\t\t\t\tconst inputId = String( $el.attr( 'name' ) ).replace(\n\t\t\t\t\tnew RegExp( `^${ inputPrefix }` ),\n\t\t\t\t\t''\n\t\t\t\t);\n\n\t\t\t\tif ( ! inputId ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Flag to disable listener to prevent recursion.\n\t\t\t\t */\n\t\t\t\tif ( $el.data( 'gppaDisableListener' ) ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * keyup truly means keyup so we need to suppress the event for certain keys.\n\t\t\t\t */\n\t\t\t\tconst ignoredKeyUpKeys = [\n\t\t\t\t\t'Tab',\n\t\t\t\t\t'Shift',\n\t\t\t\t\t'Meta',\n\t\t\t\t\t'Alt',\n\t\t\t\t\t'Control',\n\t\t\t\t];\n\n\t\t\t\tif (\n\t\t\t\t\tevent.type === 'keyup' &&\n\t\t\t\t\tignoredKeyUpKeys.indexOf( event.key ) !== -1\n\t\t\t\t) {\n\t\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\t\tconsole.debug( 'not firing due to ignored keyup' );\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// Do not fire if values didn't change\n\t\t\t\tif (\n\t\t\t\t\tJSON.stringify( $form.data( lastFieldValuesDataId ) ) ===\n\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\tgetFormFieldValues(\n\t\t\t\t\t\t\tthis.formId,\n\t\t\t\t\t\t\t!! this.gravityViewMeta\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\t\tconsole.debug(\n\t\t\t\t\t\t'not firing due to field values matching last request'\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Override when fields and Live Merge Tag values are refreshed when dependent inputs change.\n\t\t\t\t *\n\t\t\t\t * A common use of this filter is to require a certain number of characters in an input before triggering\n\t\t\t\t * an update.\n\t\t\t\t *\n\t\t\t\t * @since 1.0-beta-5.20\n\t\t\t\t *\n\t\t\t\t * @param boolean triggerChange Whether or not to trigger update of fields and Live Merge Tags.\n\t\t\t\t * @param string formId The current form ID.\n\t\t\t\t * @param string inputId The ID of the input that had a change event triggered.\n\t\t\t\t * @param JQuery $el Input element that had change event.\n\t\t\t\t * @param JQueryEventObject event Original event on input.\n\t\t\t\t *\n\t\t\t\t * @return boolean Whether or not to trigger update of fields and Live Merge Tags\n\t\t\t\t */\n\t\t\t\tif (\n\t\t\t\t\t! window.gform.applyFilters(\n\t\t\t\t\t\t'gppa_should_trigger_change',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\tthis.formId,\n\t\t\t\t\t\tinputId,\n\t\t\t\t\t\t$el,\n\t\t\t\t\t\tevent\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Ignore change event if the input is a text input (e.g. single line or paragraph) since blurring the\n\t\t\t\t * input will fire a redundant event. keyup has us covered here.\n\t\t\t\t *\n\t\t\t\t * Change still needs to be listened to for non-text inputs such as selects, checkboxes, radios, etc.\n\t\t\t\t */\n\t\t\t\tif (\n\t\t\t\t\tevent.type === 'change' &&\n\t\t\t\t\t$el.is(\n\t\t\t\t\t\t'input[type=text], input[type=number], input[type=time], textarea'\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\tif ( $el.data( 'lastValue' ) == $el.val() ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$el.data( 'lastValue', $el.val() );\n\n\t\t\t\tthis.onChange( inputId );\n\t\t\t}\n\t\t);\n\n\t\t$form.on( 'submit.gppa', ( { currentTarget: form } ) => {\n\t\t\t$( form )\n\t\t\t\t.find( '[name^=\"' + inputPrefix + '\"]' )\n\t\t\t\t.each( ( index, el: Element ) => {\n\t\t\t\t\tconst $el = $( el );\n\t\t\t\t\tconst id = $el.attr( 'name' ).replace( inputPrefix, '' );\n\t\t\t\t\tconst fieldId = parseInt( id );\n\n\t\t\t\t\tif ( this.getFieldPage( fieldId ) != this.currentPage ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.postedValues[ id ] = $el.val();\n\t\t\t\t} );\n\t\t} );\n\n\t\tthis.bindNestedForms();\n\t\tthis.bindConditionalLogicPricing();\n\n\t\t// Trigger change event on calculated fields only once on initial load\n\t\tif (\n\t\t\tthis.triggerChangeAfterCalculate &&\n\t\t\t! this.triggerChangeExecuted\n\t\t) {\n\t\t\tfor (\n\t\t\t\tlet i = 0, max = this.triggerChangeOnFields.length;\n\t\t\t\ti < max;\n\t\t\t\ti++\n\t\t\t) {\n\t\t\t\t$form\n\t\t\t\t\t.find(\n\t\t\t\t\t\t'[name=\"' +\n\t\t\t\t\t\t\tinputPrefix +\n\t\t\t\t\t\t\tthis.triggerChangeOnFields[ i ].field_id +\n\t\t\t\t\t\t\t'\"]'\n\t\t\t\t\t)\n\t\t\t\t\t.trigger( 'change' );\n\t\t\t}\n\t\t\tthis.triggerChangeExecuted = true;\n\t\t}\n\t};\n\n\t/**\n\t * We maintain both a instance properties and scoped variables for the following due to bulkBatchedAjax() being\n\t * debounced.\n\t */\n\tdependentFieldsToLoad: {\n\t\tfield: fieldID;\n\t\tfilters?: fieldMapFilter[];\n\t}[] = [];\n\ttriggerInputIds: fieldID[] = [];\n\n\tonChange = ( inputId: string ): void => {\n\t\tconst $form: JQuery = this.getFormElement();\n\t\tconst lastFieldValuesDataId = 'gppa-batch-ajax-last-field-values';\n\n\t\tlet dependentFieldsToLoad: {\n\t\t\tfield: fieldID;\n\t\t\tfilters?: fieldMapFilter[];\n\t\t}[] = [];\n\t\tlet triggerInputIds: fieldID[] = [];\n\n\t\tconst lmt = window.gppaLiveMergeTags[ this.formId ];\n\n\t\tconst fieldId = parseInt( inputId );\n\n\t\tif ( dependentFieldsToLoad.length === 0 ) {\n\t\t\tdependentFieldsToLoad = this.getDependentFields( inputId );\n\t\t}\n\n\t\tlmt.getDependentInputs( fieldId ).each(\n\t\t\t( _: number, dependentInputEl: Element ) => {\n\t\t\t\tconst $el = $( dependentInputEl );\n\t\t\t\tconst inputName = $el.attr( 'name' );\n\n\t\t\t\tif ( ! inputName ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst fieldId: number = +inputName.replace( 'input_', '' );\n\n\t\t\t\tdependentFieldsToLoad.push( { field: fieldId } );\n\t\t\t\tdependentFieldsToLoad.push(\n\t\t\t\t\t...this.getDependentFields( fieldId )\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tdependentFieldsToLoad = uniqWith(\n\t\t\t[ ...dependentFieldsToLoad, ...this.dependentFieldsToLoad ],\n\t\t\tisEqual\n\t\t);\n\t\tthis.dependentFieldsToLoad = [ ...dependentFieldsToLoad ];\n\n\t\tif (\n\t\t\tdependentFieldsToLoad.length ||\n\t\t\tlmt.hasLiveAttrOnPage( fieldId ) ||\n\t\t\tlmt.hasLiveMergeTagOnPage( fieldId )\n\t\t) {\n\t\t\ttriggerInputIds.push( fieldId );\n\n\t\t\ttriggerInputIds = uniqWith(\n\t\t\t\t[ ...triggerInputIds, ...this.triggerInputIds ],\n\t\t\t\tisEqual\n\t\t\t);\n\t\t\tthis.triggerInputIds = [ ...triggerInputIds ];\n\n\t\t\t$form.data(\n\t\t\t\tlastFieldValuesDataId,\n\t\t\t\tgetFormFieldValues( this.formId, !! this.gravityViewMeta )\n\t\t\t);\n\n\t\t\tthis.bulkBatchedAjax( dependentFieldsToLoad, triggerInputIds );\n\t\t}\n\t};\n\n\tbulkBatchedAjax = debounce(\n\t\t(\n\t\t\tdependentFieldsToLoad: {\n\t\t\t\tfield: fieldID;\n\t\t\t\tfilters?: fieldMapFilter[];\n\t\t\t}[],\n\t\t\ttriggerInputIds: fieldID[]\n\t\t): JQueryPromise< JQueryXHR > => {\n\t\t\tconst $form: JQuery = this.getFormElement();\n\n\t\t\tthis.dependentFieldsToLoad = [];\n\t\t\tthis.triggerInputIds = [];\n\n\t\t\treturn this.batchedAjax(\n\t\t\t\t$form,\n\t\t\t\tdependentFieldsToLoad,\n\t\t\t\ttriggerInputIds\n\t\t\t);\n\t\t},\n\t\t250\n\t);\n\n\tbindNestedForms() {\n\t\tfor ( const prop in window ) {\n\t\t\tif (\n\t\t\t\ttypeof prop === 'string' &&\n\t\t\t\tprop.indexOf( `GPNestedForms_${ this.formId }_` ) !== 0\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst nestedFormFieldId = prop.replace(\n\t\t\t\t`GPNestedForms_${ this.formId }_`,\n\t\t\t\t''\n\t\t\t);\n\n\t\t\t( window[ prop ] as any ).viewModel.entries.subscribe( () => {\n\t\t\t\tthis.onChange( nestedFormFieldId );\n\t\t\t} );\n\t\t}\n\t}\n\n\tbindConditionalLogicPricing() {\n\t\twindow.gform.addAction(\n\t\t\t'gpcp_after_update_pricing',\n\t\t\t( triggerFieldId: string ) => {\n\t\t\t\t// When GPCP is initalized there is no trigger field.\n\t\t\t\tif ( triggerFieldId ) {\n\t\t\t\t\tthis.onChange( triggerFieldId );\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tgetFieldFilterValues( $form: JQuery, filters: fieldMapFilter[] ) {\n\t\tlet prefix = 'input_';\n\n\t\tif ( this.gravityViewMeta ) {\n\t\t\tprefix = 'filter_';\n\t\t}\n\n\t\t/* Use entry form if we're in the Gravity Forms admin entry view. */\n\t\tif ( $( '#wpwrap #entry_form' ).length ) {\n\t\t\t$form = $( '#entry_form' );\n\t\t}\n\n\t\tconst formInputValues = $form.serializeArray();\n\t\tconst gfFieldFilters: string[] = [];\n\t\tconst values: { [ input: string ]: string } = {};\n\n\t\tfor ( const filter of filters ) {\n\t\t\tgfFieldFilters.push( filter.gf_field );\n\t\t}\n\n\t\tfor ( const input of formInputValues ) {\n\t\t\tconst inputName = input.name.replace( prefix, '' );\n\t\t\tconst fieldId = Math.abs( parseInt( inputName ) ).toString();\n\n\t\t\tif ( gfFieldFilters.indexOf( fieldId ) === -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tvalues[ inputName ] = input.value;\n\t\t}\n\n\t\treturn values;\n\t}\n\n\t/**\n\t * This is primarily used for field value objects since it has to traverse up\n\t * and figure out what other filters are required.\n\t *\n\t * Regular filters work without this since all of the filters are present in the single field.\n\t *\n\t * @param filters\n\t */\n\trecursiveGetDependentFilters( filters: fieldMapFilter[] ) {\n\t\tlet dependentFilters: fieldMapFilter[] = [];\n\n\t\tfor ( const filter of filters ) {\n\t\t\tif ( 'property' in filter || ! ( 'gf_field' in filter ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst currentField = filter.gf_field;\n\n\t\t\tif ( ! ( currentField in this.fieldMap ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tdependentFilters = dependentFilters\n\t\t\t\t.concat( this.fieldMap[ currentField ] )\n\t\t\t\t.concat(\n\t\t\t\t\tthis.recursiveGetDependentFilters(\n\t\t\t\t\t\tthis.fieldMap[ currentField ]\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t}\n\n\t\treturn dependentFilters;\n\t}\n\n\tbatchedAjax(\n\t\t$form: JQuery,\n\t\trequestedFields: { field: fieldID; filters?: fieldMapFilter[] }[],\n\t\ttriggerInputId: fieldID | fieldID[]\n\t): JQueryPromise< any > {\n\t\tthis.eventId++;\n\n\t\tconst focusBeforeAJAX = $( ':focus' ).attr( 'id' );\n\t\tconst fieldIDs: fieldID[] = [];\n\t\tconst fields: fieldDetails[] = [];\n\n\t\t/* Process field array and populate filters */\n\t\tfor ( const fieldDetails of requestedFields ) {\n\t\t\tconst fieldID = fieldDetails.field;\n\n\t\t\tif ( fieldIDs.includes( fieldID ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tlet $el = $form.find( '#field_' + this.formId + '_' + fieldID );\n\t\t\tlet hasChosen = !! $form\n\t\t\t\t.find( '#input_' + this.formId + '_' + fieldID )\n\t\t\t\t.data( 'chosen' );\n\n\t\t\tif ( this.gravityViewMeta ) {\n\t\t\t\tconst $searchBoxFilter = $form.find(\n\t\t\t\t\t'#search-box-filter_' + fieldID\n\t\t\t\t);\n\t\t\t\tlet $searchBox = $searchBoxFilter.closest( '.gv-search-box' );\n\n\t\t\t\t/* Add data attribute so we can find the element after it's replaced via AJAX. */\n\t\t\t\tif ( $searchBox.length ) {\n\t\t\t\t\t$searchBox.attr( 'data-gv-search-box', fieldID );\n\t\t\t\t}\n\n\t\t\t\tif ( ! $searchBox.length ) {\n\t\t\t\t\t$searchBox = $( '[data-gv-search-box=\"' + fieldID + '\"]' );\n\t\t\t\t}\n\n\t\t\t\t$el = $searchBox;\n\t\t\t\thasChosen = !! $searchBox.data( 'chosen' );\n\t\t\t}\n\n\t\t\tfields.push(\n\t\t\t\tObject.assign( {}, fieldDetails, {\n\t\t\t\t\t$el,\n\t\t\t\t\thasChosen,\n\t\t\t\t} )\n\t\t\t);\n\n\t\t\tfieldIDs.push( fieldID );\n\t\t}\n\n\t\tfields.sort( ( a, b ) => {\n\t\t\tconst idAttrPrefix = this.gravityViewMeta\n\t\t\t\t? '[id^=search-box-filter]'\n\t\t\t\t: '[id^=field]';\n\n\t\t\tconst aIndex = a.$el!.index( idAttrPrefix );\n\t\t\tconst bIndex = b.$el!.index( idAttrPrefix );\n\n\t\t\treturn aIndex - bIndex;\n\t\t} );\n\n\t\t$.each( fields, function ( index, fieldDetails ) {\n\t\t\tconst fieldID = fieldDetails.field;\n\t\t\tconst $el = fieldDetails.$el!;\n\t\t\tlet $fieldContainer = $el\n\t\t\t\t.children( '.clear-multi, .gform_hidden, .ginput_container, p' )\n\t\t\t\t.first();\n\n\t\t\t/* Prevent multiple choices hidden inputs */\n\t\t\t$el.closest( 'form' )\n\t\t\t\t.find( 'input[type=\"hidden\"][name=\"choices_' + fieldID + '\"]' )\n\t\t\t\t.remove();\n\n\t\t\tlet isEmpty =\n\t\t\t\t\t$fieldContainer.find( '.gppa-requires-interaction' )\n\t\t\t\t\t\t.length > 0,\n\t\t\t\taddClass = isEmpty ? 'gppa-empty' : '';\n\n\t\t\taddClass += ' gppa-loading';\n\n\t\t\t/**\n\t\t\t * Specify which element is used to indicate that a field is about to be replaced with\n\t\t\t * fresh data and which element will be replaced when that data is fetched.\n\t\t\t *\n\t\t\t * @param array targetMeta\n\t\t\t *\n\t\t\t * @member {jQuery} $fieldContainer The element that should show the loading indicator and be replaced.\n\t\t\t * @member string loadingClass The class that will be applied to the target element.\n\t\t\t *\n\t\t\t * @param {jQuery} $el The field element. By default, the the field container will start pulsing.\n\t\t\t * @param string context The context of the target meta. Will be 'loading' or 'replace'.\n\t\t\t */\n\t\t\t[ $fieldContainer, addClass ] = window.gform.applyFilters(\n\t\t\t\t'gppa_loading_field_target_meta',\n\t\t\t\t[ $fieldContainer, addClass ],\n\t\t\t\t$el,\n\t\t\t\t'loading'\n\t\t\t);\n\n\t\t\t$fieldContainer.addClass( addClass );\n\t\t} );\n\n\t\tif ( Array.isArray( triggerInputId ) ) {\n\t\t\tfor ( const inputId of triggerInputId ) {\n\t\t\t\twindow.gppaLiveMergeTags[ this.formId ].showLoadingIndicators(\n\t\t\t\t\tinputId\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\twindow.gppaLiveMergeTags[ this.formId ].showLoadingIndicators(\n\t\t\t\ttriggerInputId\n\t\t\t);\n\t\t}\n\n\t\tconst data = window.gform.applyFilters(\n\t\t\t'gppa_batch_field_html_ajax_data',\n\t\t\t{\n\t\t\t\t'form-id': this.formId,\n\t\t\t\t'lead-id': window.gform.applyFilters(\n\t\t\t\t\t'gppa_batch_field_html_entry_id',\n\t\t\t\t\tnull,\n\t\t\t\t\tthis.formId\n\t\t\t\t),\n\t\t\t\t'field-ids': fields.map( ( field ) => {\n\t\t\t\t\treturn field.field;\n\t\t\t\t} ),\n\t\t\t\t'gravityview-meta': this.gravityViewMeta,\n\t\t\t\t'field-values': getFormFieldValues(\n\t\t\t\t\tthis.formId,\n\t\t\t\t\t!! this.gravityViewMeta\n\t\t\t\t),\n\t\t\t\t'merge-tags': window.gppaLiveMergeTags[\n\t\t\t\t\tthis.formId\n\t\t\t\t].getRegisteredMergeTags(),\n\t\t\t\t/**\n\t\t\t\t * JSON is used here due to issues with modifiers causing merge tags to be truncated in $_REQUEST and $_POST\n\t\t\t\t */\n\t\t\t\t'lmt-nonces': window.gppaLiveMergeTags[ this.formId ].whitelist,\n\t\t\t\t'current-merge-tag-values':\n\t\t\t\t\twindow.gppaLiveMergeTags[ this.formId ]\n\t\t\t\t\t\t.currentMergeTagValues,\n\t\t\t\tsecurity: window.GPPA.NONCE,\n\t\t\t\t'event-id': this.eventId,\n\t\t\t},\n\t\t\tthis.formId\n\t\t);\n\n\t\tdisableSubmitButton( this.getFormElement() );\n\n\t\treturn $.ajax( {\n\t\t\turl: window.GPPA.AJAXURL + '?action=gppa_get_batch_field_html',\n\t\t\tcontentType: 'application/json',\n\t\t\tdataType: 'json',\n\t\t\tdata: JSON.stringify( data ),\n\t\t\ttype: 'POST',\n\t\t} ).done(\n\t\t\t( response: {\n\t\t\t\tmerge_tag_values: ILiveMergeTagValues;\n\t\t\t\tfields: any;\n\t\t\t\tevent_id: any;\n\t\t\t} ) => {\n\t\t\t\t// Skip out of order responses unless payload contains new markup\n\t\t\t\tif (\n\t\t\t\t\tthis.eventId > response.event_id &&\n\t\t\t\t\tresponse.fields.length < 1\n\t\t\t\t) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif ( Object.keys( response.fields ).length ) {\n\t\t\t\t\tconst updatedFieldIDs = []; // Stores updated field IDs for `gppa_updated_batch_fields`\n\t\t\t\t\tfor ( const fieldDetails of fields ) {\n\t\t\t\t\t\tconst fieldID = fieldDetails.field;\n\t\t\t\t\t\tconst $field = fieldDetails.$el!;\n\t\t\t\t\t\tconst containerSelector =\n\t\t\t\t\t\t\t'.clear-multi, .gform_hidden, .ginput_container, p, .ginput_complex';\n\t\t\t\t\t\tlet $fieldContainer = $field\n\t\t\t\t\t\t\t.children( containerSelector )\n\t\t\t\t\t\t\t.first();\n\t\t\t\t\t\t// If container is not a direct descendent, attempt to use find() as a last resort\n\t\t\t\t\t\t$fieldContainer = $fieldContainer.length\n\t\t\t\t\t\t\t? $fieldContainer\n\t\t\t\t\t\t\t: $field.find( containerSelector ).first();\n\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Documented above\n\t\t\t\t\t\t *\n\t\t\t\t\t\t * We don't include removeClass or addClass here since $fieldContainer gets entirely replaced.\n\t\t\t\t\t\t */\n\t\t\t\t\t\t[ $fieldContainer ] = window.gform.applyFilters(\n\t\t\t\t\t\t\t'gppa_loading_field_target_meta',\n\t\t\t\t\t\t\t[ $fieldContainer ],\n\t\t\t\t\t\t\t$field,\n\t\t\t\t\t\t\t'replace'\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// Gravity Flow Vacation Plugin uses its own container around the field input.\n\t\t\t\t\t\t// This causes overwriting it to duplicate the \"current balance\" DOM. Detect this class and use it instead.\n\t\t\t\t\t\tconst $gravityflowVacationContainer = $fieldContainer.parents(\n\t\t\t\t\t\t\t'.gravityflow-vacation-request-container'\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif ( $gravityflowVacationContainer.length ) {\n\t\t\t\t\t\t\t$fieldContainer = $gravityflowVacationContainer;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( ! this.gravityViewMeta ) {\n\t\t\t\t\t\t\t$fieldContainer = $(\n\t\t\t\t\t\t\t\tresponse.fields[ fieldID ]\n\t\t\t\t\t\t\t).replaceAll( $fieldContainer );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst $results = $( response.fields[ fieldID ] );\n\n\t\t\t\t\t\t\t$fieldContainer = $results\n\t\t\t\t\t\t\t\t.find( 'p' )\n\t\t\t\t\t\t\t\t.replaceAll( $fieldContainer );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthis.populatedFields.push( fieldID );\n\n\t\t\t\t\t\tif ( fieldDetails.hasChosen ) {\n\t\t\t\t\t\t\twindow.gformInitChosenFields(\n\t\t\t\t\t\t\t\t( '#input_{0}_{1}' as any ).format(\n\t\t\t\t\t\t\t\t\tthis.formId,\n\t\t\t\t\t\t\t\t\tfieldID\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\twindow.GPPA.I18N.chosen_no_results\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t$fieldContainer.find( '.wp-editor-area' ).length\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tinitTinyMCE();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t$fieldContainer.find( '.datepicker' ).length &&\n\t\t\t\t\t\t\twindow.gformInitDatepicker\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\twindow.gformInitDatepicker();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$fieldContainer\n\t\t\t\t\t\t\t.find( ':input' )\n\t\t\t\t\t\t\t.each( ( index, el ) => {\n\t\t\t\t\t\t\t\t$( el ).data( 'gppaDisableListener', true );\n\t\t\t\t\t\t\t\twindow.gform.doAction(\n\t\t\t\t\t\t\t\t\t'gform_input_change',\n\t\t\t\t\t\t\t\t\tel,\n\t\t\t\t\t\t\t\t\tthis.formId,\n\t\t\t\t\t\t\t\t\tfieldID\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$( el ).trigger( 'change' );\n\t\t\t\t\t\t\t\t$( el ).removeData( 'gppaDisableListener' );\n\t\t\t\t\t\t\t} );\n\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Support JetSloth's Image Choices plugin\n\t\t\t\t\t\t * https://jetsloth.com/support/gravity-forms-image-choices/\n\t\t\t\t\t\t */\n\t\t\t\t\t\tif ( $field.hasClass( 'image-choices-field' ) ) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\ttypeof ( window as any )\n\t\t\t\t\t\t\t\t\t.imageChoices_SetUpFields === 'function'\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t( window as any ).imageChoices_SetUpFields();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Initialize any read only (GPRO) Datepicker fields for GPLD\n\t\t\t\t\t\tif ( window.GPLimitDates ) {\n\t\t\t\t\t\t\t$field\n\t\t\t\t\t\t\t\t.find( '.gpro-disabled-datepicker' )\n\t\t\t\t\t\t\t\t.each( ( index, elem ) => {\n\t\t\t\t\t\t\t\t\tconst $elem = $( elem );\n\t\t\t\t\t\t\t\t\twindow.GPLimitDates.initDisabledDatepicker(\n\t\t\t\t\t\t\t\t\t\t$elem\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t$elem.trigger( 'change' );\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Initialize Survey fields\n\t\t\t\t\t\t */\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof window.gsurveySetUpRankSortable ===\n\t\t\t\t\t\t\t'function'\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\twindow.gsurveySetUpRankSortable();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof window.gsurveySetUpLikertFields ===\n\t\t\t\t\t\t\t'function'\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\twindow.gsurveySetUpLikertFields();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tupdatedFieldIDs.push( fieldID );\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.runAndBindCalculationEvents();\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof ( $.fn as any ).ionRangeSlider !== 'undefined'\n\t\t\t\t\t) {\n\t\t\t\t\t\t( $( '.js-range-slider' ) as any ).ionRangeSlider();\n\t\t\t\t\t}\n\n\t\t\t\t\t$( document ).trigger( 'gppa_updated_batch_fields', [\n\t\t\t\t\t\tthis.formId,\n\t\t\t\t\t\tupdatedFieldIDs,\n\t\t\t\t\t] );\n\t\t\t\t}\n\n\t\t\t\twindow.gppaLiveMergeTags[ this.formId ].replaceMergeTagValues(\n\t\t\t\t\tresponse.merge_tag_values\n\t\t\t\t);\n\n\t\t\t\tenableSubmitButton( this.getFormElement() );\n\n\t\t\t\t/**\n\t\t\t\t * Refocus input if current input was updated with AJAX\n\t\t\t\t */\n\t\t\t\tconst $focus = $( '#' + focusBeforeAJAX );\n\n\t\t\t\tif ( $focus.length && ! $( ':focus' ).length ) {\n\t\t\t\t\tconst focusVal = $focus.val();\n\n\t\t\t\t\t/* Simply using .focus() will set the cursor at the beginning instead of the end. */\n\t\t\t\t\t$focus.val( '' );\n\t\t\t\t\t$focus.val( focusVal );\n\t\t\t\t\t$focus.focus();\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * Gravity Forms does not have a built-in function to remove calculation events.\n\t *\n\t * This method was created to unbind any calculation events on inputs as GPPA re-binds calculation events after\n\t * fields are reloaded using batch AJAX.\n\t *\n\t * @param formulaField\n\t */\n\tremoveCalculationEvents( formulaField: any ) {\n\t\tconst { formId } = this;\n\t\tconst matches = window.GFMergeTag.parseMergeTags(\n\t\t\tformulaField.formula\n\t\t);\n\n\t\tfor ( const i in matches ) {\n\t\t\tif ( ! matches.hasOwnProperty( i ) ) continue;\n\n\t\t\tconst inputId = matches[ i ][ 1 ];\n\t\t\tconst fieldId = parseInt( inputId, 10 );\n\t\t\tconst input = jQuery( '#field_' + formId + '_' + fieldId ).find(\n\t\t\t\t'input[name=\"input_' +\n\t\t\t\t\tinputId +\n\t\t\t\t\t'\"], select[name=\"input_' +\n\t\t\t\t\tinputId +\n\t\t\t\t\t'\"]'\n\t\t\t);\n\n\t\t\tinput.each( function () {\n\t\t\t\t// @ts-ignore\n\t\t\t\tconst $this: JQuery = $( this );\n\t\t\t\t// @ts-ignore - _data is not in JQueryStatic typings but it's been around for as long as I can remember.\n\t\t\t\tconst events: { [ event: string ]: any } = jQuery._data(\n\t\t\t\t\tthis,\n\t\t\t\t\t'events'\n\t\t\t\t);\n\n\t\t\t\tif ( ! events ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfor ( const [ event, eventHandlers ] of Object.entries(\n\t\t\t\t\tevents\n\t\t\t\t) ) {\n\t\t\t\t\tfor ( const eventHandler of eventHandlers ) {\n\t\t\t\t\t\tconst handlerStr = eventHandler.handler.toString();\n\n\t\t\t\t\t\tif ( handlerStr.indexOf( '.bindCalcEvent(' ) === -1 ) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$this.unbind( event, eventHandler.handler );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\t}\n\n\t/**\n\t * Run the calculation events for any field that is dependent on a GPPA-populated field that has been updated.\n\t */\n\trunAndBindCalculationEvents() {\n\t\tif (\n\t\t\t! window.gf_global ||\n\t\t\t! window.gf_global.gfcalc ||\n\t\t\t! window.gf_global.gfcalc[ this.formId ]\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst GFCalc = window.gf_global.gfcalc[ this.formId ];\n\n\t\t// Remove all calculation events prior to binding to prevent unbinding in the loop after a binding has been done.\n\t\tfor ( let i = 0; i < GFCalc.formulaFields.length; i++ ) {\n\t\t\tthis.removeCalculationEvents( GFCalc.formulaFields[ i ] );\n\t\t}\n\n\t\tfor ( let j = 0; j < GFCalc.formulaFields.length; j++ ) {\n\t\t\tconst formulaField = $.extend( {}, GFCalc.formulaFields[ j ] );\n\n\t\t\tGFCalc.bindCalcEvents( formulaField, this.formId );\n\t\t\tGFCalc.runCalc( formulaField, this.formId );\n\t\t}\n\t}\n\n\tgetFieldPage( fieldId: fieldID ) {\n\t\tconst $field = $( '#field_' + this.formId + '_' + fieldId );\n\t\tconst $page = $field.closest( '.gform_page' );\n\n\t\tif ( ! $page.length ) {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn $page\n\t\t\t.prop( 'id' )\n\t\t\t.replace( 'gform_page_' + this.formId + '_', '' );\n\t}\n\n\t/**\n\t * Get fields that are filtered by (or dependent on) the field/input that just changed.\n\t *\n\t * @param fieldId\n\t */\n\tgetDependentFields(\n\t\tfieldId: fieldID\n\t): { field: fieldID; filters: fieldMapFilter[] }[] {\n\t\tconst dependentFields = [];\n\n\t\tlet currentFieldDependents;\n\n\t\t// We want to check for rules for top-level fields and specific inputs (i.e. 1.2 and 1).\n\t\tlet currentFields = [\n\t\t\tfieldId.toString(),\n\t\t\tparseInt( fieldId.toString() ).toString(),\n\t\t];\n\n\t\twhile ( currentFields ) {\n\t\t\tcurrentFieldDependents = [];\n\n\t\t\tfor ( const [ field, filters ] of Object.entries(\n\t\t\t\tthis.fieldMap\n\t\t\t) ) {\n\t\t\t\tfilter: for ( const filter of Object.values( filters ) ) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t'gf_field' in filter &&\n\t\t\t\t\t\tcurrentFields.includes( filter.gf_field.toString() )\n\t\t\t\t\t) {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Check if field already processed to prevent recursion.\n\t\t\t\t\t\t */\n\t\t\t\t\t\tfor ( const dependent of dependentFields ) {\n\t\t\t\t\t\t\tif ( dependent.field === field ) {\n\t\t\t\t\t\t\t\tcontinue filter;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcurrentFieldDependents.push( field );\n\t\t\t\t\t\tdependentFields.push( {\n\t\t\t\t\t\t\tfield,\n\t\t\t\t\t\t\tfilters,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( ! currentFieldDependents.length ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcurrentFields = uniq( currentFieldDependents );\n\t\t}\n\n\t\treturn dependentFields;\n\t}\n\n\tfieldHasPostedValue( fieldId: fieldID ) {\n\t\tlet hasPostedField = false;\n\n\t\tfor ( const inputId of Object.keys( this.postedValues ) ) {\n\t\t\tconst currentFieldId = parseInt( inputId );\n\n\t\t\tif ( currentFieldId == fieldId ) {\n\t\t\t\thasPostedField = true;\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn hasPostedField;\n\t}\n\n\tgetFormElement() {\n\t\tlet $form = $( 'input[name=\"is_submit_' + this.formId + '\"]' ).parents(\n\t\t\t'form'\n\t\t);\n\n\t\tif ( this.gravityViewMeta ) {\n\t\t\t$form = $( '.gv-widget-search' );\n\t\t}\n\n\t\t/* Use entry form if we're in the Gravity Forms admin entry view. */\n\t\tif ( $( '#wpwrap #entry_form' ).length ) {\n\t\t\t$form = $( '#entry_form' );\n\t\t}\n\n\t\treturn $form;\n\t}\n}\n","declare global {\n\tinterface Window {\n\t\ttinymce: typeof import('tinymce') & {\n\t\t\tEnv: any;\n\t\t\t$: JQueryStatic;\n\t\t\teditors: any;\n\t\t};\n\t\ttinyMCEPreInit: any;\n\t\twpActiveEditor: any;\n\t\tquicktags: any;\n\t}\n}\n\nexport default function initTinyMCE() {\n\tfor ( const id in window.tinymce.editors ) {\n\t\twindow.tinymce.EditorManager.remove( window.tinymce.editors[ id ] );\n\t}\n\n\t( function () {\n\t\tlet init, id, $wrap;\n\n\t\tif ( typeof window.tinymce !== 'undefined' ) {\n\t\t\tif ( window.tinymce.Env.ie && window.tinymce.Env.ie < 11 ) {\n\t\t\t\twindow.tinymce\n\t\t\t\t\t.$( '.wp-editor-wrap ' )\n\t\t\t\t\t.removeClass( 'tmce-active' )\n\t\t\t\t\t.addClass( 'html-active' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor ( id in window.tinyMCEPreInit.mceInit ) {\n\t\t\t\tinit = window.tinyMCEPreInit.mceInit[ id ];\n\t\t\t\t$wrap = window.tinymce.$( '#wp-' + id + '-wrap' );\n\n\t\t\t\tif (\n\t\t\t\t\t( $wrap.hasClass( 'tmce-active' ) ||\n\t\t\t\t\t\t! window.tinyMCEPreInit.qtInit.hasOwnProperty( id ) ) &&\n\t\t\t\t\t! init.wp_skip_init\n\t\t\t\t) {\n\t\t\t\t\twindow.tinymce.init( init );\n\n\t\t\t\t\tif ( ! window.wpActiveEditor ) {\n\t\t\t\t\t\twindow.wpActiveEditor = id;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( typeof window.quicktags !== 'undefined' ) {\n\t\t\tfor ( id in window.tinyMCEPreInit.qtInit ) {\n\t\t\t\twindow.quicktags( window.tinyMCEPreInit.qtInit[ id ] );\n\n\t\t\t\tif ( ! window.wpActiveEditor ) {\n\t\t\t\t\twindow.wpActiveEditor = id;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} )();\n}\n","import { enableSubmitButton } from '../helpers/toggleSubmitButton';\nimport loUniq from 'lodash/uniq';\nimport { fieldID, formId } from './GPPopulateAnything';\n\nconst $ = window.jQuery;\n\nexport interface ILiveMergeTagValues {\n\t[ mergeTag: string ]: string;\n}\n\nexport default class GPPALiveMergeTags {\n\tpublic formId: formId;\n\tpublic whitelist: { [ lmt: string ]: string } = {};\n\tpublic liveAttrsOnPage: string[] = [];\n\tpublic currentMergeTagValues: ILiveMergeTagValues = {};\n\n\tconstructor( formId: formId ) {\n\t\tthis.formId = formId;\n\n\t\tthis.addHooks();\n\t\tthis.getLiveAttrs();\n\t\tthis.populateCurrentMergeTagValues();\n\t\tthis.getWhitelist();\n\t\tthis.getRegisteredEls();\n\t}\n\n\taddHooks(): void {\n\t\t/**\n\t\t * Disable conditional logic reset for fields with LMTs\n\t\t */\n\t\twindow.gform.addFilter(\n\t\t\t'gform_reset_pre_conditional_logic_field_action',\n\t\t\t(\n\t\t\t\treset: boolean,\n\t\t\t\tformId: number,\n\t\t\t\ttargetId: string,\n\t\t\t\tdefaultValues: string | string[],\n\t\t\t\tisInit: boolean\n\t\t\t) => {\n\t\t\t\tif ( isInit ) return reset;\n\n\t\t\t\t// Loop through current merge tag values and compare them to a field's default value(s).\n\t\t\t\tfor ( const mergeTag in this.currentMergeTagValues ) {\n\t\t\t\t\tif ( typeof defaultValues === 'object' ) {\n\t\t\t\t\t\tfor ( const defaultValue of defaultValues ) {\n\t\t\t\t\t\t\tif ( mergeTag === defaultValue ) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( mergeTag === defaultValues ) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn reset;\n\t\t\t}\n\t\t);\n\t}\n\n\tgetLiveAttrs() {\n\t\tconst prefix = 'GPPA_LIVE_ATTRS_FORM_';\n\n\t\tif ( prefix + this.formId in window ) {\n\t\t\tthis.liveAttrsOnPage = ( window as any )[ prefix + this.formId ];\n\t\t}\n\n\t\t/**\n\t\t * Include data-gppa-live-merge-tag since it is not included with the GPPA_LIVE_ATTRS_FORM_ var normally.\n\t\t */\n\t\tthis.liveAttrsOnPage.push( 'data-gppa-live-merge-tag' );\n\t}\n\n\tgetNestedFormsInstance(): any {\n\t\tfor ( const prop in window ) {\n\t\t\tif (\n\t\t\t\t! prop.match(\n\t\t\t\t\tnew RegExp( `GPNestedForms_\\\\d+_${ this.formId }$` )\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\treturn window[ prop ];\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tpopulateCurrentMergeTagValues() {\n\t\tconst gpnf = this.getNestedFormsInstance();\n\t\tconst prefix = 'GPPA_CURRENT_LIVE_MERGE_TAG_VALUES_FORM_';\n\n\t\t/**\n\t\t * Treat GP Nested Forms specially here due to the fact that we can't fetch\n\t\t * GPPA_CURRENT_LIVE_MERGE_TAG_VALUES_FORM_ for nested forms easily.\n\t\t */\n\t\tif ( gpnf && gpnf.getCurrentEntryId() ) {\n\t\t\tthis.currentMergeTagValues = {};\n\n\t\t\treturn;\n\t\t}\n\n\t\tif ( prefix + this.formId in window ) {\n\t\t\tthis.currentMergeTagValues = ( window as any )[\n\t\t\t\tprefix + this.formId\n\t\t\t];\n\t\t}\n\t}\n\n\t/**\n\t * Copy in whitelist from window var into this instance.\n\t */\n\tgetWhitelist() {\n\t\tconst prefix = 'GPPA_LMT_WHITELIST_';\n\n\t\tif ( prefix + this.formId in window ) {\n\t\t\tthis.whitelist = ( window as any )[ prefix + this.formId ];\n\t\t}\n\t}\n\n\tgetRegisteredEls(): JQuery {\n\t\tconst attributes = this.liveAttrsOnPage.map( ( attr ) => {\n\t\t\treturn '[' + attr + ']';\n\t\t} );\n\n\t\treturn $( '#gform_wrapper_' + this.formId ).find(\n\t\t\tattributes.join( ',' )\n\t\t);\n\t}\n\n\tgetRegisteredMergeTags() {\n\t\tconst mergeTags: string[] = [];\n\n\t\tthis.getRegisteredEls().each( ( _, el: Element ) => {\n\t\t\tconst $el = $( el );\n\n\t\t\tfor ( const dataAttr of this.liveAttrsOnPage ) {\n\t\t\t\tconst mergeTag = $el.attr( dataAttr );\n\n\t\t\t\tif ( mergeTag ) {\n\t\t\t\t\tmergeTags.push( mergeTag );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\n\t\treturn loUniq( mergeTags );\n\t}\n\n\tgetInputsWithLMTs(): JQuery {\n\t\tlet inputs: JQuery = jQuery();\n\n\t\tfor ( const liveAttr of this.liveAttrsOnPage ) {\n\t\t\tconst attr = liveAttr.replace( /^data-gppa-live-merge-tag-/, '' );\n\n\t\t\tif ( ! [ 'innerHtml', 'value' ].includes( attr ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( attr === 'innerHtml' ) {\n\t\t\t\tinputs = inputs.add(\n\t\t\t\t\tthis.getRegisteredEls()\n\t\t\t\t\t\t.filter( '[' + liveAttr + ']' )\n\t\t\t\t\t\t.filter( 'textarea' )\n\t\t\t\t);\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tinputs = inputs.add(\n\t\t\t\tthis.getRegisteredEls()\n\t\t\t\t\t.filter( '[' + liveAttr + ']' )\n\t\t\t\t\t.filter( 'input, select' )\n\t\t\t);\n\t\t}\n\n\t\treturn inputs;\n\t}\n\n\t/**\n\t * Check if merge tag references a specific field ID\n\t *\n\t * @param value string Merge tag to check\n\t * @param fieldId number Field ID to look for\n\t */\n\tcheckMergeTagForFieldId(\n\t\tvalue: string,\n\t\tfieldId: fieldID\n\t): RegExpMatchArray | null {\n\t\treturn (\n\t\t\tvalue.match( new RegExp( `:${ fieldId }(\\\\.\\\\d+)?[}:]`, 'g' ) ) ||\n\t\t\tvalue.match(\n\t\t\t\tnew RegExp( `:id=${ fieldId }(\\\\.\\\\d+)?[}:]`, 'g' )\n\t\t\t) || // @{score:id=xx}\n\t\t\tvalue.match( /{all_fields(:.*)?}/g ) ||\n\t\t\tvalue.match( /{order_summary(:.*)?}/g )\n\t\t);\n\t}\n\n\tgetDependentInputs( fieldId: number ): JQuery {\n\t\tlet dependentInputs: JQuery = jQuery();\n\n\t\tthis.getInputsWithLMTs().each( ( _: number, el: Element ) => {\n\t\t\tconst $el = $( el );\n\n\t\t\tfor ( const liveAttr of this.liveAttrsOnPage ) {\n\t\t\t\tconst liveAttrValue = $el.attr( liveAttr );\n\t\t\t\tif (\n\t\t\t\t\tliveAttrValue &&\n\t\t\t\t\tthis.checkMergeTagForFieldId( liveAttrValue, fieldId )\n\t\t\t\t) {\n\t\t\t\t\tdependentInputs = dependentInputs.add( el );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\n\t\treturn dependentInputs;\n\t}\n\n\t/**\n\t * Check if a particular input is referenced in any Live attrs on the current form/page.\n\t *\n\t * @param fieldId\n\t */\n\thasLiveAttrOnPage( fieldId: fieldID ): boolean {\n\t\tfor ( const liveAttr of this.liveAttrsOnPage ) {\n\t\t\tconst $els = $( `[${ liveAttr }]` );\n\n\t\t\tfor ( const el of $els.toArray() ) {\n\t\t\t\tconst $el = $( el );\n\t\t\t\tconst liveAttrValue = $el.attr( liveAttr );\n\n\t\t\t\tif (\n\t\t\t\t\tliveAttrValue &&\n\t\t\t\t\tthis.checkMergeTagForFieldId( liveAttrValue, fieldId )\n\t\t\t\t) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Check if a particular input is referenced in any LMTs on the current form/page.\n\t *\n\t * @param fieldId\n\t */\n\thasLiveMergeTagOnPage( fieldId: fieldID ): boolean {\n\t\tconst lmts = $( '[data-gppa-live-merge-tag]' );\n\n\t\tfor ( const lmt of lmts.toArray() ) {\n\t\t\tconst $lmt = $( lmt );\n\t\t\tconst lmtValue = $lmt.attr( 'data-gppa-live-merge-tag' );\n\n\t\t\tif (\n\t\t\t\tlmtValue &&\n\t\t\t\tthis.checkMergeTagForFieldId( lmtValue, fieldId )\n\t\t\t) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tshowLoadingIndicators( triggerInputId: fieldID ) {\n\t\tthis.getRegisteredEls().each( function ( this: Element ) {\n\t\t\tconst $elem = $( this );\n\t\t\tconst mergeTag = $elem.data( 'gppa-live-merge-tag' );\n\t\t\tif ( ! mergeTag ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst targetFieldId = mergeTag.match(\n\t\t\t\t/:(\\d+(\\.?\\d+)?)(:.+)?}/\n\t\t\t)?.[ 1 ];\n\n\t\t\tif ( ! targetFieldId ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( targetFieldId != triggerInputId ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tlet $target = $elem\n\t\t\t\t.parents(\n\t\t\t\t\t'label, .gfield_html, .ginput_container, .gfield_description'\n\t\t\t\t)\n\t\t\t\t.first();\n\t\t\tlet loadingClass = 'gppa-loading';\n\n\t\t\t/**\n\t\t\t * Specify which element is used to indicate that a live merge tag is about to be replaced with\n\t\t\t * fresh data and which element will be replaced when that data is fetched.\n\t\t\t *\n\t\t\t * @param array targetMeta\n\t\t\t *\n\t\t\t * @member {jQuery} $target The element that should show the loading indicator and be replaced.\n\t\t\t * @member string loadingClass The class that will be applied to the target element.\n\t\t\t *\n\t\t\t * @param {jQuery} $element The live merge tag element. By default, the live merge tag's parent element will get the loading indicator.\n\t\t\t * @param string context The context of the target meta. Will be 'loading' or 'replace'.\n\t\t\t */\n\t\t\t[ $target, loadingClass ] = window.gform.applyFilters(\n\t\t\t\t'gppa_loading_target_meta',\n\t\t\t\t[ $target, loadingClass ],\n\t\t\t\t$( this ),\n\t\t\t\t'loading'\n\t\t\t);\n\n\t\t\t$target.addClass( loadingClass );\n\t\t} );\n\t}\n\n\treplaceMergeTagValues = ( mergeTagValues: ILiveMergeTagValues ) => {\n\t\tthis.getRegisteredEls().each( ( _, el: Element ) => {\n\t\t\tconst $el = $( el );\n\n\t\t\tif ( $el.data( 'gppa-live-merge-tag' ) ) {\n\t\t\t\tthis.handleElementLiveContent( $el, mergeTagValues );\n\t\t\t} else {\n\t\t\t\tthis.handleElementLiveAttr( $el, mergeTagValues );\n\t\t\t}\n\t\t} );\n\n\t\tthis.currentMergeTagValues = mergeTagValues;\n\n\t\tenableSubmitButton( this.getFormElement() );\n\n\t\t$( document ).trigger( 'gppa_merge_tag_values_replaced', [\n\t\t\tthis.formId,\n\t\t] );\n\n\t\treturn $.when();\n\t};\n\n\thandleElementLiveContent( $el: JQuery, mergeTagValues: any ) {\n\t\tconst elementMergeTag = $el.data( 'gppa-live-merge-tag' );\n\n\t\tif ( ! ( elementMergeTag in mergeTagValues ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet value = mergeTagValues[ elementMergeTag ],\n\t\t\tremoveClass = 'gppa-loading gppa-empty',\n\t\t\t$target = $el\n\t\t\t\t.parents(\n\t\t\t\t\t'label, .gfield_html, .ginput_container, .gfield_description'\n\t\t\t\t)\n\t\t\t\t.first();\n\n\t\t/** This filter is documented above. */\n\t\t[ $target, removeClass ] = window.gform.applyFilters(\n\t\t\t'gppa_loading_target_meta',\n\t\t\t[ $target, removeClass ],\n\t\t\t$el,\n\t\t\t'replace'\n\t\t);\n\n\t\t// Replace markup.\n\t\t$el.html( mergeTagValues[ elementMergeTag ] );\n\t\t// Also use `val()` for textarea. This solves an issue with conditionally shown/hidden textareas.\n\t\tif ( $el.is( 'textarea' ) ) {\n\t\t\t$el.val( mergeTagValues[ elementMergeTag ] );\n\t\t}\n\n\t\tconst isMergeTagSpecific = $target == $el,\n\t\t\tisEmpty = isMergeTagSpecific\n\t\t\t\t? ! value && value !== 0\n\t\t\t\t: ! $target.text(),\n\t\t\taddClass = isEmpty ? 'gppa-empty' : '';\n\n\t\t$target.removeClass( removeClass ).addClass( addClass );\n\t}\n\n\thandleElementLiveAttr( $el: JQuery, mergeTagValues: ILiveMergeTagValues ) {\n\t\tfor ( const liveAttr of this.liveAttrsOnPage ) {\n\t\t\tconst elementMergeTag = $el.attr( liveAttr );\n\t\t\tconst attr = liveAttr.replace( /^data-gppa-live-merge-tag-/, '' );\n\t\t\tlet attrVal;\n\t\t\tlet canBeDecoupled = true;\n\n\t\t\t/**\n\t\t\t * Special innerHtml attribute should be handled differently. innerHtml is a fake attribute utilized to replace\n\t\t\t * live merge tags in