{"version":3,"file":"ui.bundle.js","sources":["../../../src/node_modules/core-js/internals/global.js","../../../src/node_modules/core-js/internals/fails.js","../../../src/node_modules/core-js/internals/descriptors.js","../../../src/node_modules/core-js/internals/object-property-is-enumerable.js","../../../src/node_modules/core-js/internals/create-property-descriptor.js","../../../src/node_modules/core-js/internals/classof-raw.js","../../../src/node_modules/core-js/internals/indexed-object.js","../../../src/node_modules/core-js/internals/require-object-coercible.js","../../../src/node_modules/core-js/internals/to-indexed-object.js","../../../src/node_modules/core-js/internals/is-object.js","../../../src/node_modules/core-js/internals/to-primitive.js","../../../src/node_modules/core-js/internals/has.js","../../../src/node_modules/core-js/internals/document-create-element.js","../../../src/node_modules/core-js/internals/ie8-dom-define.js","../../../src/node_modules/core-js/internals/object-get-own-property-descriptor.js","../../../src/node_modules/core-js/internals/an-object.js","../../../src/node_modules/core-js/internals/object-define-property.js","../../../src/node_modules/core-js/internals/create-non-enumerable-property.js","../../../src/node_modules/core-js/internals/set-global.js","../../../src/node_modules/core-js/internals/shared-store.js","../../../src/node_modules/core-js/internals/inspect-source.js","../../../src/node_modules/core-js/internals/native-weak-map.js","../../../src/node_modules/core-js/internals/shared.js","../../../src/node_modules/core-js/internals/uid.js","../../../src/node_modules/core-js/internals/shared-key.js","../../../src/node_modules/core-js/internals/hidden-keys.js","../../../src/node_modules/core-js/internals/internal-state.js","../../../src/node_modules/core-js/internals/redefine.js","../../../src/node_modules/core-js/internals/path.js","../../../src/node_modules/core-js/internals/get-built-in.js","../../../src/node_modules/core-js/internals/to-integer.js","../../../src/node_modules/core-js/internals/to-length.js","../../../src/node_modules/core-js/internals/to-absolute-index.js","../../../src/node_modules/core-js/internals/array-includes.js","../../../src/node_modules/core-js/internals/object-keys-internal.js","../../../src/node_modules/core-js/internals/enum-bug-keys.js","../../../src/node_modules/core-js/internals/object-get-own-property-names.js","../../../src/node_modules/core-js/internals/object-get-own-property-symbols.js","../../../src/node_modules/core-js/internals/own-keys.js","../../../src/node_modules/core-js/internals/copy-constructor-properties.js","../../../src/node_modules/core-js/internals/is-forced.js","../../../src/node_modules/core-js/internals/export.js","../../../src/node_modules/core-js/internals/is-array.js","../../../src/node_modules/core-js/internals/to-object.js","../../../src/node_modules/core-js/internals/create-property.js","../../../src/node_modules/core-js/internals/native-symbol.js","../../../src/node_modules/core-js/internals/use-symbol-as-uid.js","../../../src/node_modules/core-js/internals/well-known-symbol.js","../../../src/node_modules/core-js/internals/array-species-create.js","../../../src/node_modules/core-js/internals/engine-user-agent.js","../../../src/node_modules/core-js/internals/engine-v8-version.js","../../../src/node_modules/core-js/internals/array-method-has-species-support.js","../../../src/node_modules/core-js/modules/es.array.concat.js","../../../src/node_modules/core-js/internals/to-string-tag-support.js","../../../src/node_modules/core-js/internals/classof.js","../../../src/node_modules/core-js/internals/object-to-string.js","../../../src/node_modules/core-js/modules/es.object.to-string.js","../../../src/node_modules/core-js/internals/regexp-flags.js","../../../src/node_modules/core-js/internals/regexp-sticky-helpers.js","../../../src/node_modules/core-js/internals/regexp-exec.js","../../../src/node_modules/core-js/modules/es.regexp.exec.js","../../../src/node_modules/core-js/modules/es.regexp.to-string.js","../../../src/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","../../../src/node_modules/core-js/internals/string-multibyte.js","../../../src/node_modules/core-js/internals/advance-string-index.js","../../../src/node_modules/core-js/internals/regexp-exec-abstract.js","../../../src/node_modules/core-js/modules/es.string.match.js","../../../src/node_modules/core-js/modules/es.string.replace.js","../../../src/js/lib/animation.js","../../../src/js/lib/easing.js","../../../src/js/lib/math.js","../../../src/js/components/Carousel.js","../../../src/js/components/CenciBackground.js","../../../src/node_modules/core-js/internals/a-function.js","../../../src/node_modules/core-js/internals/function-bind-context.js","../../../src/node_modules/core-js/internals/array-iteration.js","../../../src/node_modules/core-js/internals/array-method-uses-to-length.js","../../../src/node_modules/core-js/modules/es.array.map.js","../../../src/node_modules/core-js/internals/array-method-is-strict.js","../../../src/node_modules/core-js/internals/array-for-each.js","../../../src/node_modules/core-js/modules/es.array.for-each.js","../../../src/node_modules/core-js/internals/object-keys.js","../../../src/node_modules/core-js/internals/object-to-array.js","../../../src/node_modules/core-js/modules/es.object.entries.js","../../../src/node_modules/core-js/internals/dom-iterables.js","../../../src/node_modules/core-js/modules/web.dom-collections.for-each.js","../../../src/js/lib/createElement.js","../../../src/js/lib/helpers.js","../../../src/js/components/LazyImage.js","../../../src/js/components/ImageGallery.js","../../../src/js/components/Maps.js","../../../src/js/components/Parallax.js","../../../src/node_modules/core-js/internals/array-reduce.js","../../../src/node_modules/core-js/internals/engine-is-node.js","../../../src/node_modules/core-js/modules/es.array.reduce.js","../../../src/node_modules/core-js/modules/es.array.slice.js","../../../src/js/components/References.js","../../../src/node_modules/core-js/modules/es.object.keys.js","../../../src/node_modules/core-js/internals/is-regexp.js","../../../src/node_modules/core-js/internals/species-constructor.js","../../../src/node_modules/core-js/modules/es.string.split.js","../../../src/node_modules/core-js/internals/not-a-regexp.js","../../../src/node_modules/core-js/internals/correct-is-regexp-logic.js","../../../src/node_modules/core-js/modules/es.string.starts-with.js","../../../src/node_modules/core-js/internals/whitespaces.js","../../../src/node_modules/core-js/internals/string-trim.js","../../../src/node_modules/core-js/internals/string-trim-forced.js","../../../src/node_modules/core-js/modules/es.string.trim.js","../../../src/js/lib/cookies.js","../../../src/js/index.js"],"sourcesContent":["var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\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 toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\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\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// 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","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\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 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 return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\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 toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\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 store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\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.8.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\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","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","module.exports = {};\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 WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = 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 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 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","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\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 typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/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.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var 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","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\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\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.github.io/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 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 internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\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 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 fails = require('../internals/fails');\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 : typeof detection == 'function' ? 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 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*/\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","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.github.io/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var 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)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.github.io/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\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 versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = 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 fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar regexpExec = require('../internals/regexp-exec');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : regexp[MATCH];\n return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative(nativeMatch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return nativeReplace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","// Interval class.\nexport class Interval {\n\tconstructor(properties, fn) {\n\t\tif (!fn) {\n\t\t\tthrow Error('No function given to Interval.')\n\t\t}\n\n\t\tconst settings = properties || {}\n\t\tconst autostart = settings.autostart !== undefined ? settings.autostart : true\n\t\tthis.delay = settings.delay || 0\n\t\tthis.duration = settings.duration || 1000\n\t\tthis.fps = settings.fps || 60\n\t\tthis.loop = settings.loop || false\n\n\t\tthis.fn = fn\n\n\t\tif (autostart) {\n\t\t\tthis.start()\n\t\t}\n\t}\n\n\trestart() {\n\t\treturn this.stop().start()\n\t}\n\n\tstart() {\n\t\tif (this.interval) {\n\t\t\treturn this\n\t\t}\n\t\t\n\t\tconst startTime = Date.now() + this.delay\n\t\tconst frameDuration = 1000 / this.fps\n\t\tconst step = frameDuration / this.duration\n\t\tlet position = 0\n\n\t\tthis.interval = setInterval(() => {\n\t\t\tconst now = Date.now()\n\n\t\t\tif (startTime > now) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tposition = Math.min(position + step, 1)\n\t\t\tthis.fn.call(this, position)\n\n\t\t\tif (position >= 1) {\n\t\t\t\tif (this.loop) {\n\t\t\t\t\tthis.restart()\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis.stop()\n\t\t\t\t}\n\t\t\t}\n\t\t}, frameDuration)\n\n\t\treturn this\n\t}\n\n\tstop() {\n\t\tthis.interval = clearInterval(this.interval)\n\t\treturn this\n\t}\n\n\tget isRunning() {\n\t\treturn !!this.interval\n\t}\n}","/**\n * Easings object.\n */\n\nconst Easing = {\n\n\tcalc(value, type, curve, strength = 1) {\n\t\tswitch (type) {\n\t\t\tdefault:\n\t\t\tcase Easing.In:\n\t\t\t\treturn get(value, curve, strength)\n\n\t\t\tcase Easing.Out:\n\t\t\t\treturn get(1 - value, curve, strength)\n\n\t\t\tcase Easing.InOut:\n\t\t\t\tif (value <= 0.5) {\n\t\t\t\t\treturn get(value * 2, curve, strength) * 0.5\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\treturn 1 - get((1 - value) * 2, curve, strength) * 0.5\n\t\t\t\t}\n\n\t\t\tcase Easing.OutIn:\n\t\t\t\treturn value\n\t\t}\n\t},\n\n\t// Types\n\tIn: 0,\n\tOut: 1,\n\tInOut: 2,\n\tOutIn: 3,\n\n\t// Curves\n\tLinear: 0,\n\tQuad: 1,\n\tCubic: 2,\n\tQuart: 3,\n\tQuint: 4,\n\tExpo: 5,\n\tCirc: 6,\n\tSine: 7,\n\tBounce: 8,\n\tBack: 9,\n\tElastic: 10,\n\n\t// Named curves for CSS.\n\tcssCurves: {\n\t\t// Cheers to easings.net\n\t\tlinear: 'linear',\n\t\tinSine: 'cubic-bezier(0.47, 0, 0.745, 0.715)',\n\t\toutSine: 'cubic-bezier(0.39, 0.575, 0.565, 1)',\n\t\tinOutSine: 'cubic-bezier(0.445, 0.05, 0.55, 0.95)',\n\t\tinQuad: 'cubic-bezier(0.55, 0.085, 0.68, 0.53)',\n\t\toutQuad: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',\n\t\tinOutQuad: 'cubic-bezier(0.455, 0.03, 0.515, 0.955)',\n\t\tinCubic: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',\n\t\toutCubic: 'cubic-bezier(0.215, 0.61, 0.355, 1)',\n\t\tinOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\n\t\tinQuart: 'cubic-bezier(0.895, 0.03, 0.685, 0.22)',\n\t\toutQuart: 'cubic-bezier(0.165, 0.84, 0.44, 1)',\n\t\tinOutQuart: 'cubic-bezier(0.77, 0, 0.175, 1)',\n\t\tinQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',\n\t\toutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',\n\t\tinOutQuint: 'cubic-bezier(0.86, 0, 0.07, 1)',\n\t\tinExpo: 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',\n\t\toutExpo: 'cubic-bezier(0.19, 1, 0.22, 1)',\n\t\tinOutExpo: 'cubic-bezier(1, 0, 0, 1)',\n\t\tinCircle: 'cubic-bezier(0.6, 0.04, 0.98, 0.335)',\n\t\toutCircle: 'cubic-bezier(0.075, 0.82, 0.165, 1)',\n\t\tinOutCircle: 'cubic-bezier(0.785, 0.135, 0.15, 0.86)',\n\t\tinBack: 'cubic-bezier(0.6, -0.28, 0.735, 0.045)',\n\t\toutBack: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',\n\t\tinOutBack: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',\n\t}\n\n}\n\nfunction get(value, ease, strength) {\n\tswitch (ease) {\n\t\tcase Easing.Quad:\n\t\t\treturn Math.pow(value, 2)\n\n\t\tcase Easing.Cubic:\n\t\t\treturn Math.pow(value, 3)\n\n\t\tcase Easing.Quart:\n\t\t\treturn Math.pow(value, 4)\n\n\t\tcase Easing.Quint:\n\t\t\treturn Math.pow(value, 5)\n\n\t\tcase Easing.Expo:\n\t\t\treturn Math.pow(2, 8 * (value - 1))\n\n\t\tcase Easing.Circ:\n\t\t\treturn 1 - Math.sin(Math.acos(value))\n\n\t\tcase Easing.Sine:\n\t\t\treturn 1 - Math.sin((1 - value) * Math.PI / 2)\n\n\t\tcase Easing.Bounce: {\n\t\t\tlet a, b, give = 0\n\n\t\t\tfor (a = 0, b = 1; true; a += b, b/= 2){\n\t\t\t\tif (value >= (7 - 4 * a) / 11) {\n\t\t\t\t\tgive = b * b - Math.pow((11 - 6 * a - 11 * value) / 4, 2)\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn give\n\t\t}\n\n\t\tcase Easing.Back:\n\t\t\treturn Math.pow(value, 2) * ( (strength + 1) * value - strength)\n\n\t\tcase Easing.Elastic:\n\t\t\treturn Math.pow(2, 10 * --value ) * Math.cos(20 * value * Math.PI * strength / 3)\n\n\t\tdefault:\n\t\t\treturn value\n\t}\n}\n\nexport default Easing","export function distance(x1, y1, x2, y2) {\n\treturn Math.sqrt(Math.abs(x1 - x2) ** 2 + Math.abs(y1 - y2) ** 2)\n}\n\nexport function clamp(val, min, max) {\n\treturn Math.min(Math.max(val, min), max)\n}\n\nexport function lerp(from, to, at) {\n\treturn from + ((to - from) * at)\n}","import { Interval } from '../lib/animation'\nimport Easing from '../lib/easing'\nimport { clamp } from '../lib/math'\n\n// Keep a list of *all* carousels.\nexport let carouselList = []\n\n// The exporting class.\nexport default class Carousel {\n\n\tstatic initializeAll() {\n\t\tconst carousels = document.getElementsByTagName('ui-carousel')\n\t\tfor (let a = 0; a < carousels.length; a++) {\n\t\t\tcarouselList.push(new Carousel(carousels[a]))\n\t\t}\n\t}\n\t\n\tconstructor(element) {\n\t\t// First look whether there isn't already a carousel initialized.\n\t\t// If there is, return the initialized instance.\n\t\tfor (const carousel of carouselList) {\n\t\t\tif (carousel.element === element) {\n\t\t\t\treturn carousel\n\t\t\t}\n\t\t}\n\n\t\tthis.element = element\n\t\tthis.blocksHolder = this.element.querySelector('div.carousel-blocks, ui-carousel-blocks')\n\t\tthis.titlesHolder = this.element.querySelector('div.listblock div.container')\n\t\tthis.dotsHolder = this.element.querySelector('carousel-dots, div.dots') || function () {\n\t\t\tlet dotsHolder = document.createElement('div')\n\t\t\tdotsHolder.classList.add('dots')\n\t\t\telement.appendChild(dotsHolder)\n\t\t\treturn dotsHolder\n\t\t}()\n\n\t\tthis.currentIndex = 0\n\t\tthis.intervalTime = 7000 // ms\n\t\tthis.transitionDuration = 1200 // ms\n\t\tthis.interval = new Interval({\n\t\t\tduration: this.transitionDuration,\n\t\t\tautostart: false\n\t\t}, () => {})\n\t\tthis.scrollOffset = 0.2\n\n\t\tthis.setDots()\n\t\tthis.setListBlock() // list block style title click.\n\t\tthis.play()\n\n\t\tcarouselList.push(this)\n\n\t\tlet blocks = this.blocksHolder.children\n\n\t\tfor (let a = 0; a < blocks.length; a++) {\n\t\t\tif (a == 0) {\n\t\t\t\tblocks[a].classList.add('visible')\n\t\t\t}\n\t\t\telse {\n\t\t\t\tblocks[a].style.opacity = 0\n\t\t\t}\n\t\t}\n\t}\n\n\tplay() {\n\t\tthis.stop() // Kill timeout first.\n\t\tthis.queueNext()\n\t\treturn this\n\t}\n\n\tqueueNext() {\n\t\tthis.timeout = setTimeout(this.next.bind(this), this.intervalTime)\n\t\treturn this\n\t}\n\n\tnext() {\n\t\tlet nextIndex = this.currentIndex + 1\n\t\tif (nextIndex >= this.blocksHolder.childElementCount) {\n\t\t\tnextIndex = 0\n\t\t}\n\n\t\tthis.show(nextIndex)\n\n\t\tif (this.timeout != undefined) {\n\t\t\tthis.queueNext()\n\t\t}\n\t\treturn this\n\t}\n\n\tshow(index = 0) {\n\t\tlet nextIndex = clamp(index, 0, this.blocksHolder.childElementCount - 1)\n\t\tconst currentEl = this.blocksHolder.children[this.currentIndex]\n\t\tconst nextEl = this.blocksHolder.children[nextIndex]\n\n\t\tif (currentEl == nextEl) {\n\t\t\treturn this.stop()\n\t\t}\n\n\t\tconst onDone = () => {\n\t\t\tcurrentEl.style.opacity = 0\n\t\t\tcurrentEl.classList.remove('visible')\n\t\t}\n\n\t\tthis.interval.stop()\n\n\t\t// Let's not mess around with the z-index. ;)\n\t\t// Animate the opacity depending on their order.\n\t\tif (nextIndex > this.currentIndex) {\n\t\t\tnextEl.style.opacity = 0\n\t\t\tnextEl.classList.add('visible')\n\n\t\t\tthis.interval.fn = (pos) => {\n\t\t\t\tnextEl.style.opacity = pos\n\t\t\t\tif (pos == 1) {\n\t\t\t\t\tonDone()\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tnextEl.style.opacity = 1\n\t\t\tnextEl.classList.add('visible')\n\n\t\t\tthis.interval.fn = (pos) => {\n\t\t\t\tcurrentEl.style.opacity = 1 - pos\n\t\t\t\tif (pos == 1) {\n\t\t\t\t\tonDone()\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.interval.start()\n\t\t\n\t\t// The dots (& titles).\n\t\tconst dotsAndTitles = [this.dotsHolder, this.titlesHolder]\n\t\tfor (let a = 0; a < dotsAndTitles.length; a++) {\n\t\t\tfor (let b = 0; b < dotsAndTitles[a].childElementCount; b++) {\n\t\t\t\tconst fn = b == nextIndex ? 'add' : 'remove'\n\t\t\t\tdotsAndTitles[a].children[b].classList[fn]('current')\n\t\t\t}\n\t\t}\n\n\t\tthis.currentIndex = nextIndex\n\t\treturn this\n\t}\n\n\tstop() {\n\t\tclearTimeout(this.timeout)\n\t\tdelete this.timeout\n\t\treturn this\n\t}\n\n\tdriveAnimation(position) {\n\t\t\n\t}\n\n\tsetOffset(y) {\n\t\ty = Math.max(y, 0)\n\t\tthis.blocksHolder.style.transform = `translateY(${y * this.scrollOffset}px)`\n\t\treturn this\n\t}\n\n\tsetDots() {\n\t\tconst count = this.blocksHolder.childElementCount\n\n\t\tif (count > 1) {\n\t\t\tfor (let a = 0; a < count; a++) {\n\t\t\t\tlet dot = document.createElement('carousel-dot')\n\t\t\t\tlet index = a\n\t\t\t\tdot.addEventListener('click', (event) => {\n\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\tthis.show(index)\n\t\t\t\t\tthis.play()\n\t\t\t\t\treturn this\n\t\t\t\t})\n\n\t\t\t\tthis.dotsHolder.appendChild(dot)\n\t\t\t\tif (a == this.currentIndex) {\n\t\t\t\t\tdot.classList.add('current')\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this\n\t}\n\n\tsetListBlock() {\n\t\tconst container = this.titlesHolder\n\t\tif (!container) {\n\t\t\treturn\n\t\t}\n\n\t\tconst children = container.children\n\t\t\n\t\tlet totalWidth = 0\n\t\tfor (let i = 0; i < 4; i++) {\n\t\t\tif (children[i]) {\n\t\t\t\ttotalWidth += children[i].offsetWidth\n\t\t\t}\n\t\t}\n\n\t\tcontainer.style.maxWidth = totalWidth + 'px'\n\n\t\tfor (let i = 0; i < children.length; i++) {\n\t\t\tcontainer.children[i].addEventListener('click', (event) => {\n\t\t\t\tevent.preventDefault()\n\t\t\t\tthis.show(parseInt(event.target.dataset.index))\n\t\t\t\tthis.play()\n\t\t\t\treturn this\n\t\t\t})\n\t\t}\n\t}\n}","export default class CenciBackground {\n static initializeAll() {\n const backgrounds = [...document.querySelectorAll('.cenci-background')]\n for (let i = 0; i < backgrounds.length; i++) {\n new CenciBackground(backgrounds[i])\n }\n }\n\n constructor(element) {\n this.element = element\n this.child = this.createBackground()\n\n window.addEventListener('scroll', this.onScroll.bind(this))\n }\n\n createBackground() {\n const node = document.createElement('div')\n node.classList.add('cenci-bg')\n this.element.appendChild(node)\n\n return node\n }\n\n onScroll(event) {\n const scrollY = window.scrollY || document.body.scrollTop || window.pageYOffset\n const visibleRange = [scrollY, scrollY + innerHeight - 100]\n\n let element = this.child\n let node = element\n let offsetY = node.offsetTop\n\n while (node != document.body) {\n node = node.parentNode\n offsetY += node.offsetTop\n }\n\n const elementRange = [\n element.offsetTop + offsetY,\n element.offsetTop + offsetY + element.offsetHeight\n ]\n\n const offset = visibleRange[1] - elementRange[1]\n element.style.transform = `translateX(-${Math.min(1050, (offset * 1.5))}px`\n }\n}","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar 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.github.io/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.github.io/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.github.io/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","/**\n * Convenience function for creating HTMLElements.\n * @param {string} tag - Tag name (e.g. 'div')\n * @param {object} attributes - Any attributes/properties.\n * @param {...any} children - Children to be directly appended.\n */\nexport function createElement(tag, attributes = {}, ...children) {\n\tconst el = document.createElement(tag)\n\n\t// Apply attributes etc.\n\tfor (const [key, value] of Object.entries(attributes)) {\n\t\tif (key === 'style') {\n\t\t\tfor (const [property, val] of Object.entries(value)) {\n\t\t\t\tel.style[property] = val\n\t\t\t}\n\t\t}\n\t\telse if (key === 'class' || key === 'classname' || key === 'className') {\n\t\t\tel.className = value\n\t\t}\n\t\telse if (/^on[A-Z]/.test(key)) {\n\t\t\tel.addEventListener(key.substr(2).toLowerCase(), value)\n\t\t}\n\t\telse {\n\t\t\tel[key] = value\n\t\t}\n\t}\n\n\t// Append any child (recursively).\n\tfunction addChildNode(node, level = 0) {\n\t\tif (node === false || node === undefined || node === null) {\n\t\t\treturn\n\t\t}\n\t\tif (Array.isArray(node)) {\n\t\t\tnode.forEach(child => addChildNode(child, level + 1))\n\t\t}\n\t\telse if (node instanceof HTMLElement) {\n\t\t\tel.appendChild(node)\n\t\t}\n\t\telse {\n\t\t\tconst text = document.createTextNode(node)\n\t\t\tel.appendChild(text)\n\t\t}\n\t}\n\n\tfor (const child of children) {\n\t\taddChildNode(child)\n\t}\n\n\treturn el\n}","import { Interval } from './animation'\nimport Easing from './easing'\nimport { clamp, lerp } from './math'\n\nexport function isArrayEqual(left, right) {\n\tif (left.length != right.length) {\n\t\treturn false\n\t}\n\telse {\n\t\tfor (let a = 0; a < left.length; a++) {\n\t\t\tif (left[a] !== right[a]) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t}\n\t}\n\treturn true\n}\n\nexport function offsetOfElement(element, top = document.body) {\n\tlet node = element\n\tlet { offsetLeft, offsetTop } = node\n\twhile ((node = node.parentNode) && 'offsetLeft' in node && node != top) {\n\t\toffsetLeft += node.offsetLeft\n\t\toffsetTop += node.offsetTop\n\t}\n\treturn { offsetLeft, offsetTop }\n}\n\nexport const scrollTo = function () {\n\tconst start = { x: 0, y: 0 }\n\tconst end = { ...start }\n\n\tlet curve = Easing.Linear\n\tlet callback = null\n\n\tconst interval = new Interval({\n\t\tautostart: false\n\t}, (pos) => {\n\t\tconst ease = Easing.calc(pos, Easing.InOut, curve)\n\t\tconst x = lerp(start.x, end.x, ease)\n\t\tconst y = lerp(start.y, end.y, ease)\n\t\twindow.scrollTo(x, y)\n\n\t\tif (pos == 1) {\n\t\t\tcallback?.()\n\t\t}\n\t})\n\n\t// Stop when the user is potentially manually scrolling.\n\taddEventListener('mousewheel', () => interval.stop())\n\taddEventListener('keydown', () => interval.stop())\n\n\treturn function (x = 0, y = 0, options = {}) {\n\t\tinterval.duration = options.duration || 800\n\t\tcurve = options.curve || Easing.Quint\n\t\tcallback = options.callback\n\n\t\tinterval.stop()\n\t\tstart.x = window.scrollX || pageXOffset || document.body.scrollLeft\n\t\tstart.y = window.scrollY || pageYOffset || document.body.scrollTop\n\t\tend.x = clamp(x, 0, document.body.scrollWidth - innerWidth)\n\t\tend.y = clamp(y, 0, document.body.scrollHeight - innerHeight)\n\t\tinterval.start()\n\t}\n}()\t\n\nexport const scrollToElement = function (target, options = {}) {\n\tconst headerHeight = 200\n\n\tconst offset = offsetOfElement(target)\n\tconst offsetLeft = options.offsetLeft || 0\n\tconst offsetTop = options.offsetTop || 0\n\tscrollTo(offset.offsetLeft + offsetLeft, (offset.offsetTop + offsetTop) - headerHeight, options)\n}","/**\n * Convenience HTMLElement for gracefully loading an image.\n * Most of its effects are done via CSS.\n * @param {string} [src] - Image URI.\n */\nexport default function LazyImage(src) {\n\tlet timeout = null\n\tconst element = document.createElement('ui-image')\n\n\tconst display = document.createElement('div')\n\tdisplay.classList.add('display')\n\telement.appendChild(display)\n\n\telement.appendChild(document.createElement('ui-spinner'))\n\n\tconst image = new Image()\n\timage.onload = function () {\n\t\tclearTimeout(timeout)\n\t\tdisplay.style.backgroundImage = `url('${image.src}')`\n\t\telement.classList.add('loaded')\n\t}\n\n\t/**\n\t * @param {string} src - Image URI.\n\t * @param {number} delay - Delay until actually loading the image. For transition reasons.\n\t */\n\telement.setImage = function (src, delay = 0) {\n\t\telement.classList.remove('loaded')\n\t\tclearTimeout(timeout)\n\t\ttimeout = setTimeout(() => {\n\t\t\timage.src = src\n\t\t}, delay)\n\t}\n\n\tif (src) {\n\t\telement.setImage(src)\n\t}\n\n\treturn element\n}\n","import { Interval } from '../lib/animation'\nimport easing from '../lib/easing'\nimport { createElement as $ } from '../lib/createElement'\nimport { offsetOfElement } from '../lib/helpers'\nimport { lerp } from '../lib/math'\nimport LazyImage from './LazyImage'\n\naddEventListener('DOMContentLoaded', () => {\n\tconst galleries = document.querySelectorAll('ui-image-gallery')\n\tfor (let a = 0; a < galleries.length; a++) {\n\t\tnew ImageGallery(galleries[a])\n\t}\n})\n\nexport default class ImageGallery {\n\tcurrentSelected = null\n\tfullscreenMode = false\n\timages = []\n\tinterval = null\n\torigin = {} // Parent element offsets.\n\n\tconstructor(element, options = {}) {\n\t\tthis.element = element\n\n\t\tthis.images = [...this.element.querySelectorAll('ui-image-gallery-item')]\n\t\t\t.map((item) => {\n\t\t\t\titem.parentNode.removeChild(item)\n\n\t\t\t\treturn {\n\t\t\t\t\tfullImage: item.dataset.imageFull || item.dataset.image,\n\t\t\t\t\timage: item.dataset.image,\n\t\t\t\t\tthumbnail: item.dataset.thumbnail || item.dataset.image,\n\t\t\t\t}\n\t\t\t})\n\n\t\t// Create elements.\n\t\t// Image preview.\n\t\tthis.imagePreview = $('div', { className: 'preview' })\n\t\tthis.element.appendChild(this.imagePreview)\n\n\t\tthis.image = new LazyImage()\n\t\tthis.imagePreview.appendChild(this.image)\n\n\t\t// Zoom button.\n\t\tthis.zoomButton = $('a', {\n\t\t\tclassName: 'zoom-button',\n\t\t\tonClick: this.onZoomClick\n\t\t})\n\t\tthis.element.appendChild(this.zoomButton)\n\n\t\t// Thumbnails.\n\t\tthis.thumbnails = $('div', { className: 'thumbnails' })\n\t\tthis.element.appendChild(this.thumbnails)\n\t\n\t\tif (this.images.length > 1) {\n\t\t\tfor (let a = 0; a < this.images.length; a++) {\n\t\t\t\tconst index = a\n\t\t\t\tconst thumbnail = $('a', {\n\t\t\t\t\tclassName: 'thumbnail',\n\t\t\t\t\tonClick: () => this.onThumbnailClick(index),\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tbackgroundImage: `url('${this.images[a].thumbnail}')`\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tthis.thumbnails.appendChild(thumbnail)\n\t\t\t}\n\t\t}\n\n\t\t// Prepare the fullscreen animation interval.\n\t\tthis.interval = new Interval({\n\t\t\tautostart: false,\n\t\t\tduration: 700,\n\t\t}, this.animationTick)\n\n\t\tif (this.images.length > 0) {\n\t\t\tthis.onThumbnailClick(0)\n\t\t}\n\t}\n\n\tonThumbnailClick = (index) => {\n\t\tfor (let a = 0; a < this.thumbnails.childElementCount; a++) {\n\t\t\tif (a == index) {\n\t\t\t\tthis.thumbnails.children[a].classList.add('selected')\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.thumbnails.children[a].classList.remove('selected')\n\t\t\t}\n\t\t}\n\n\t\tthis.currentSelected = index\n\n\t\tconst image = this.fullscreenMode ? this.images[index]?.fullImage : this.images[index]?.image\n\t\tconst delay = this.interval.isRunning ? 0 : 400\n\t\tthis.image.setImage(image, delay)\n\t}\n\n\tonZoomClick = () => {\n\t\tconst parent = this.element.parentNode\n\t\tif (!parent || this.interval.isRunning) {\n\t\t\treturn\n\t\t}\n\n\t\tthis.fullscreenMode = !this.fullscreenMode\n\n\t\t// Decide where to animate from and to.\n\t\tconst scrollX = window.scrollX || pageXOffset || document.body.scrollLeft\n\t\tconst scrollY = window.scrollY || pageYOffset || document.body.scrollTop\n\n\t\tconst parentOffsets = offsetOfElement(parent)\n\t\tthis.origin = {\n\t\t\tx: parentOffsets.offsetLeft - scrollX,\n\t\t\ty: parentOffsets.offsetTop - scrollY,\n\t\t\twidth: parent.offsetWidth,\n\t\t\theight: parent.offsetHeight,\n\t\t}\n\n\t\tthis.interval.restart()\n\t}\n\n\tanimationTick = (pos) => {\n\t\tif (this.fullscreenMode) {\n\t\t\tthis.element.classList.add('fullscreen')\n\t\t}\n\t\telse {\n\t\t\tthis.element.classList.add('closing')\n\t\t}\n\n\t\tconst fullscreenOffsets = {\n\t\t\tx: 0,\n\t\t\ty: 0,\n\t\t\twidth: innerWidth,\n\t\t\theight: innerHeight,\n\t\t}\n\n\t\tconst from = this.fullscreenMode ? this.origin : fullscreenOffsets\n\t\tconst to = this.fullscreenMode ? fullscreenOffsets : this.origin\n\n\t\tconst ease = easing.calc(pos, easing.InOut, easing.Quint)\n\t\tthis.element.style.left = lerp(from.x, to.x, ease) + 'px'\n\t\tthis.element.style.top = lerp(from.y, to.y, ease) + 'px'\n\t\tthis.element.style.width = lerp(from.width, to.width, ease) + 'px'\n\t\tthis.element.style.height = lerp(from.height, to.height, ease) + 'px'\n\n\t\tif (pos == 1) {\n\t\t\tthis.element.style.left = this.element.style.top = \n\t\t\tthis.element.style.width = this.element.style.height = null\n\n\t\t\tif (!this.fullscreenMode) {\n\t\t\t\tthis.element.classList.remove('fullscreen', 'closing')\n\t\t\t}\n\n\t\t\t// Force reloading the either the low or high res image.\n\t\t\tthis.onThumbnailClick(this.currentSelected)\n\t\t}\n\t}\n}","export default function initializeMaps() {\n const latlng = new google.maps.LatLng(51.91950253337881, 4.241685626405106);\n\n let drag = false;\n if (!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {\n drag = true;\n }\n\n const mapOptions = {\n featureType: \"all\",\n elementType: \"labels\",\n disableDoubleClickZoom: false,\n disableDefaultUI: false,\n scaleControl: true,\n panControl: false,\n navigationControl: true,\n mapTypeControl: false,\n zoomControlOptions: {\n position: google.maps.ControlPosition.RIGHT_TOP,\n style: google.maps.ZoomControlStyle.LARGE\n },\n mapTypeControlOptions: {\n mapTypeIds: [\n google.maps.MapTypeId.ROADMAP,\n google.maps.MapTypeId.HYBRID\n ],\n style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR\n },\n zoom: 15,\n center: latlng,\n scrollwheel: false,\n draggable: drag,\n mapTypeId: google.maps.MapTypeId.ROADMAP,\n };\n\n const contentString = `\n

Cenci

\n

Nieuwe Waterweg, Noordzee 12, 3144 DB Maassluis

\n Open in Google Maps\n `\n\n const map = new google.maps.Map(document.getElementById('googleMaps'), mapOptions);\n\n const infowindow = new google.maps.InfoWindow({\n content: contentString,\n }); \n\n const marker = new google.maps.Marker({\n position: latlng,\n map,\n title: \"Cenci\",\n });\n\n marker.addListener(\"click\", () => {\n infowindow.open(map, marker);\n });\n}\n","export default class Parallax {\n\n static initializeAll() {\n const parallaxElements = [...document.querySelectorAll('.parallax ui-carousel, .parallax div.quoteblock')]\n for (let i = 0; i < parallaxElements.length; i++) {\n new Parallax(parallaxElements[i])\n }\n }\n\n constructor(element) {\n this.element = element\n window.addEventListener('scroll', this.onScroll.bind(this))\n }\n\n onScroll(event) {\n let images = [...this.element.querySelectorAll('div.image')]\n\n const scrollY = window.scrollY || document.body.scrollTop || window.pageYOffset\n const visibleRange = [scrollY, scrollY + innerHeight]\n\n for (let i = 0; i < images.length; i++) {\n let element = images[i]\n let node = element\n let offsetY = node.offsetTop\n\n while (node != document.body) {\n node = node.parentNode\n offsetY += node.offsetTop\n }\n\n const elementRange = [\n element.offsetTop + offsetY,\n element.offsetTop + offsetY + element.offsetHeight\n ]\n\n const offset = visibleRange[0] - elementRange[0]\n const parentOffset = offset * 0.4\n\n element.style.transform = 'translateY(' + parentOffset + 'px)'\n\n // Child element.\n const container = element.parentNode\n const child = element.children.length > 0 ? element.children[0] : null\n\n if (child) {\n const minusPadding = container.offsetHeight - 200 // top + bottom padding = 200px\n const offset = (parentOffset - minusPadding)\n\n child.style.transform = 'translateY(' + (offset * 0.2) + 'px)'\n }\n }\n }\n}","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","import { Interval } from '../lib/animation'\n\nconst isMobile = () => innerWidth < 768 || /(ipad|ipod|iphone|ios|android)/gi.test(navigator.userAgent)\n\nexport default class References {\n\n\tstatic initializeAll() {\n\t\tconst references = [...document.querySelectorAll('.references .listblock .container')]\n\t\tfor (let i = 0; i < references.length; i++) {\n\t\t\tnew References(references[i])\n\t\t}\n\t}\n\n\tconstructor(element) {\n\t\tthis.element = element\n\n\t\tthis.currentIndex = 0\n\t\tthis.items = [...this.element.querySelectorAll('div.item')]//.slice(0, 9)\n\t\tthis.maxItems = isMobile() ? 3 : 4\n\n\t\tthis.element.parentElement.style.maxWidth = this.maxWidthAt(this.currentIndex) + 'px'\n\n\t\tthis.interval = setInterval(() => this.slide(), 4000)\n\t}\n\n\tslide() {\n\t\tlet nextIndex = Math.min(this.items.length - this.maxItems, this.currentIndex + this.maxItems)\n\t\tif (this.currentIndex == nextIndex) {\n\t\t\tnextIndex = 0\n\t\t\tthis.element.style.animationName = 'referencesReset'\n\t\t}\n\t\telse {\n\t\t\tthis.element.style.animationName = ''\n\t\t}\n\n\t\tconst x = this.items\n\t\t\t.slice(0, nextIndex)\n\t\t\t.reduce((val, item) => val + item.offsetWidth, 0)\n\n\t\tthis.element.parentElement.style.maxWidth = this.maxWidthAt(nextIndex) + 'px'\n\t\tthis.element.style.transform = `translateX(-${x}px)`\n\t\tthis.currentIndex = nextIndex\n\t}\n\n\tresetMaxWidth() {\n\t\tconst maxIndex = Math.min(this.items.count, this.currentIndex + this.maxItems)\n\t\tlet maxWidth = 0\n\n\t\tfor (let i = this.currentIndex; i < maxIndex; i++) {\n\t\t\tconst element = items[i]\n\t\t\tnewPosition -= element.offsetWidth\n\t\t\tmaxWidth += element.offsetWidth\n\t\t}\n\n\t\tthis.element.parentElement.style.maxWidth = `${maxWidth}px`\n\t}\n\n\tmaxWidthAt(index) {\n\t\treturn this.items\n\t\t\t.slice(index, Math.min(this.items.length, index + this.maxItems))\n\t\t\t.reduce((val, item) => val + item.offsetWidth, 0)\n\t}\n}","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.github.io/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.github.io/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeStartsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return nativeStartsWith\n ? nativeStartsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","// a string of all valid unicode whitespaces\n// eslint-disable-next-line max-len\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.github.io/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","export function deleteCookie(name) {\n setCookie(name, '', -1e6)\n}\n\nexport function deleteAllCookies() {\n const cookies = getCookies()\n Object.keys(cookies).forEach(deleteCookie)\n}\n\nexport function getCookie(name) {\n const cookies = document.cookie.split(';')\n const key = name + '='\n\n for (let cookie of cookies) {\n cookie = cookie.trim()\n\n if (cookie.startsWith(key)) {\n return cookie.substring(key.length, cookie.length)\n }\n }\n\n return null\n}\n\nexport function getCookies() {\n const obj = {}\n const cookies = document.cookie.split(';')\n\n for (const cookie of cookies) {\n const [key, value] = cookie.split('=')\n obj[key.trim()] = value\n }\n\n return obj\n}\n\nexport function setCookie(name, value, days, path = '/') {\n const now = new Date()\n now.setTime(now.getTime() + (days * 24 * 60 * 60 * 1000))\n const expires = `expires=${now.toUTCString()}`\n document.cookie = name + '=' + value + '; ' + expires + '; path=' + path\n}\n\nwindow.cookies = {\n deleteAllCookies\n}","import Carousel from './components/Carousel'\nimport CenciBackground from './components/CenciBackground'\nimport './components/ImageGallery'\nimport initializeMaps from './components/Maps'\nimport Parallax from './components/Parallax'\nimport References from './components/References'\nimport { Interval } from './lib/animation'\nimport { scrollToElement } from './lib/helpers'\nimport { setCookie } from './lib/cookies'\n\nconst isMobile = () => innerWidth < 768 || /(ipad|ipod|iphone|ios|android)/gi.test(navigator.userAgent)\n\naddEventListener('DOMContentLoaded', () => {\n\tif (/Edge/.test(navigator.userAgent)) {\n\t\tdocument.body.classList.add('edge')\n\t}\n\t\n\tCarousel.initializeAll()\n\tCenciBackground.initializeAll()\n\tReferences.initializeAll()\n\tParallax.initializeAll()\n\tinitCookieBar()\n\tinitializeMaps()\n\tinitializeMenu()\n\tinitializeScrollToLinks()\n\tshowPopup(`

\n\t

CENCI versterkt professionaliteit en marktpositie met strategisch partnerschap

\n\t\tCENCI is een strategische samenwerking aangegaan met Dersimo. Zo verhogen we onze professionaliteit en versterken we onze marktpositie. Samen bouwen we aan een toekomst van duurzame groei en succes!

\n\n\t\t

Ons adres is vanaf heden:
\n\t\tCENCI BV
\n\n\t\tNoordzee 12
\n\n\t\t3144 DB Maassluis

\n\t
`)\n})\n\nfunction initCookieBar() {\n\tconst cookieBar = document.querySelector('#cookie-bar')\n\n\tif (!cookieBar) {\n\t\treturn\n\t}\n\n\tconst acceptButton = cookieBar.querySelector('#cookie-accept')\n\tconst declineButton = cookieBar.querySelector('#cookie-denied')\n\n\tconst confirm = (enabled = true) => setCookie('c_enabled', enabled.toString(), 30)\n\n\tacceptButton.addEventListener('click', () => {\n\t\tcookieBar.parentNode.removeChild(cookieBar)\n\t\tconfirm(true)\n\t})\n\n\tdeclineButton.addEventListener('click', () => {\n\t\tcookieBar.parentNode.removeChild(cookieBar)\n\t\tconfirm(false)\n\t})\n}\n\nfunction showPopup(html, key) {\n\tkey = key || 'popup'\n\n\tif (sessionStorage.getItem(key)) {\n\t\treturn\n\t}\n\n\tconst container = document.createElement('div')\n\tcontainer.classList.add('popup-message')\n\n\tfunction close() {\n\t\tcontainer.parentNode.removeChild(container)\n\t\tsessionStorage.setItem(key, 'hide')\n\t}\n\n\tconst content = document.createElement('div')\n\tcontent.classList.add('content')\n\tcontent.innerHTML = html\n\tcontainer.appendChild(content)\n\n\tconst closeButton = document.createElement('a')\n\tcloseButton.classList.add('close')\n\tcontent.appendChild(closeButton)\n\n\tdocument.body.appendChild(container)\n\n\tconst anchors = container.querySelectorAll('a')\n\tfor (let a = 0; a < anchors.length; a++) {\n\t\tanchors[a].addEventListener('click', close)\n\t}\n}\n\nfunction initializeMenu() {\n\tconst nav = document.querySelector('header nav')\n\tconst menu = nav.querySelector('#menu-content')\n\tconst parentItems = [...menu.querySelectorAll('li.has-children')]\n\n\t//\n\t// For mobile devices.\n\tnav.querySelector('#hamburger')?.addEventListener('click', () => {\n\t\tnav.classList.toggle('open')\n\t})\n\n\t// Expanding/collapsing for mobile menu.\n\tfor (const parentItem of parentItems) {\n\t\tparentItem.querySelector('div.expander')?.addEventListener('click', function (event) {\n\t\t\tevent.preventDefault()\n\t\t\tevent.stopPropagation()\n\t\t\tthis.parentNode.parentNode.classList.toggle('expanded')\n\t\t})\n\t}\n}\n\n// Anchors that link to an element should start a smooth scroll animation.\nfunction initializeScrollToLinks() {\n\tconst anchors = [...document.body.querySelectorAll('a[href*=\"#\"]')]\n\tconst nav = document.querySelector('header nav')\n\n\tfor (const anchor of anchors) {\n\t\tanchor.addEventListener('click', function (event) {\n\t\t\tlet [name] = this.getAttribute('href').match(/\\#(.*)$/)\n\t\t\tname = name.replace('#', '')\n\t\t\tnav.classList.remove('open')\n\n\t\t\tif (!name) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst targetElement = document.body.querySelector(`*[name=${name}], *[id=${name}]`)\n\t\t\tif (targetElement) {\n\t\t\t\tevent.preventDefault()\n\t\t\t\tscrollToElement(targetElement)\n\t\t\t}\n\t\t})\n\t}\n}"],"names":["check","it","Math","globalThis","window","self","global","Function","exec","error","fails","Object","defineProperty","get","nativePropertyIsEnumerable","propertyIsEnumerable","getOwnPropertyDescriptor","NASHORN_BUG","call","V","descriptor","enumerable","bitmap","value","configurable","writable","toString","slice","split","classof","undefined","TypeError","IndexedObject","requireObjectCoercible","input","PREFERRED_STRING","isObject","fn","val","valueOf","hasOwnProperty","key","document","EXISTS","createElement","DESCRIPTORS","a","nativeGetOwnPropertyDescriptor","O","P","toIndexedObject","toPrimitive","IE8_DOM_DEFINE","has","createPropertyDescriptor","propertyIsEnumerableModule","f","String","nativeDefineProperty","Attributes","anObject","object","definePropertyModule","createNonEnumerableProperty","SHARED","store","setGlobal","functionToString","inspectSource","WeakMap","test","module","push","version","mode","copyright","id","postfix","random","keys","shared","uid","set","enforce","getterFor","TYPE","state","type","NATIVE_WEAK_MAP","wmget","wmhas","wmset","metadata","facade","STATE","sharedKey","hiddenKeys","objectHas","getInternalState","InternalStateModule","enforceInternalState","TEMPLATE","options","unsafe","simple","noTargetGet","source","join","prototype","aFunction","variable","namespace","method","arguments","length","path","ceil","floor","argument","isNaN","min","toInteger","max","index","integer","createMethod","IS_INCLUDES","$this","el","fromIndex","toLength","toAbsoluteIndex","includes","indexOf","require$$0","names","i","result","enumBugKeys","concat","getOwnPropertyNames","internalObjectKeys","getOwnPropertySymbols","getBuiltIn","ownKeys","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","target","getOwnPropertyDescriptorModule","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","TARGET","GLOBAL","STATIC","stat","FORCED","targetProperty","sourceProperty","forced","copyConstructorProperties","sham","redefine","Array","isArray","arg","propertyKey","Symbol","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","USE_SYMBOL_AS_UID","withoutSetter","name","SPECIES","wellKnownSymbol","originalArray","C","constructor","process","versions","v8","match","userAgent","METHOD_NAME","V8_VERSION","array","foo","Boolean","IS_CONCAT_SPREADABLE","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","arrayMethodHasSpeciesSupport","isConcatSpreadable","spreadable","$","proto","toObject","A","arraySpeciesCreate","n","k","len","E","createProperty","TO_STRING_TAG","CORRECT_ARGUMENTS","classofRaw","tryGet","TO_STRING_TAG_SUPPORT","tag","callee","that","ignoreCase","multiline","dotAll","unicode","sticky","RE","s","RegExp","re","lastIndex","nativeExec","nativeReplace","patchedExec","UPDATES_LAST_INDEX_WRONG","re1","re2","UNSUPPORTED_Y","stickyHelpers","BROKEN_CARET","NPCG_INCLUDED","PATCH","str","reCopy","flags","regexpFlags","charsAdded","strCopy","TO_STRING","RegExpPrototype","nativeToString","NOT_GENERIC","INCORRECT_NAME","R","p","rf","REPLACE_SUPPORTS_NAMED_GROUPS","groups","REPLACE_KEEPS_$0","REPLACE","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","apply","KEY","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","nativeRegExpMethod","methods","nativeMethod","regexp","arg2","forceStringMethod","regexpExec","done","stringMethod","regexMethod","CONVERT_TO_STRING","pos","S","position","size","first","second","charCodeAt","charAt","codeAt","fixRegExpWellKnownSymbolLogic","MATCH","nativeMatch","maybeCallNative","matcher","res","rx","regExpExec","fullUnicode","matchStr","advanceStringIndex","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","maybeToString","reason","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","functionalReplace","results","accumulatedResult","nextSourcePosition","matched","captures","j","namedCaptures","replacerArgs","getSubstitution","tailPos","m","symbols","ch","capture","Interval","properties","Error","settings","autostart","delay","duration","fps","loop","start","stop","interval","startTime","Date","now","frameDuration","step","setInterval","restart","clearInterval","Easing","calc","curve","strength","In","Out","InOut","OutIn","Linear","Quad","Cubic","Quart","Quint","Expo","Circ","Sine","Bounce","Back","Elastic","cssCurves","linear","inSine","outSine","inOutSine","inQuad","outQuad","inOutQuad","inCubic","outCubic","inOutCubic","inQuart","outQuart","inOutQuart","inQuint","outQuint","inOutQuint","inExpo","outExpo","inOutExpo","inCircle","outCircle","inOutCircle","inBack","outBack","inOutBack","ease","pow","sin","acos","PI","b","give","cos","clamp","lerp","from","to","at","carouselList","Carousel","carousels","getElementsByTagName","element","carousel","blocksHolder","querySelector","titlesHolder","dotsHolder","classList","add","appendChild","currentIndex","intervalTime","transitionDuration","scrollOffset","setDots","setListBlock","play","blocks","children","style","opacity","queueNext","timeout","setTimeout","next","bind","nextIndex","childElementCount","show","currentEl","nextEl","onDone","remove","dotsAndTitles","clearTimeout","y","transform","count","dot","addEventListener","event","preventDefault","container","totalWidth","offsetWidth","maxWidth","parseInt","dataset","CenciBackground","backgrounds","querySelectorAll","child","createBackground","onScroll","node","scrollY","body","scrollTop","pageYOffset","visibleRange","innerHeight","offsetY","offsetTop","parentNode","elementRange","offsetHeight","offset","c","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_OUT","NO_HOLES","callbackfn","specificCreate","boundFunction","create","forEach","map","filter","some","every","find","findIndex","filterOut","cache","thrower","ACCESSORS","argument0","argument1","$map","HAS_SPECIES_SUPPORT","USES_TO_LENGTH","arrayMethodUsesToLength","$forEach","STRICT_METHOD","arrayMethodIsStrict","TO_ENTRIES","objectKeys","entries","values","$entries","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","COLLECTION_NAME","DOMIterables","Collection","CollectionPrototype","attributes","property","className","substr","addChildNode","HTMLElement","text","createTextNode","offsetOfElement","top","offsetLeft","scrollTo","x","end","callback","scrollX","pageXOffset","scrollLeft","scrollWidth","innerWidth","scrollHeight","scrollToElement","headerHeight","LazyImage","src","display","image","Image","onload","backgroundImage","setImage","galleries","ImageGallery","thumbnails","currentSelected","fullscreenMode","images","fullImage","isRunning","parent","parentOffsets","origin","width","height","fullscreenOffsets","easing","left","onThumbnailClick","item","removeChild","imageFull","thumbnail","imagePreview","zoomButton","onClick","onZoomClick","animationTick","initializeMaps","latlng","google","maps","LatLng","drag","navigator","mapOptions","featureType","elementType","disableDoubleClickZoom","disableDefaultUI","scaleControl","panControl","navigationControl","mapTypeControl","zoomControlOptions","ControlPosition","RIGHT_TOP","ZoomControlStyle","LARGE","mapTypeControlOptions","mapTypeIds","MapTypeId","ROADMAP","HYBRID","MapTypeControlStyle","HORIZONTAL_BAR","zoom","center","scrollwheel","draggable","mapTypeId","contentString","Map","getElementById","infowindow","InfoWindow","content","marker","Marker","title","addListener","open","Parallax","parallaxElements","parentOffset","minusPadding","IS_RIGHT","argumentsLength","memo","right","$reduce","CHROME_BUG","IS_NODE","CHROME_VERSION","reduce","nativeSlice","fin","Constructor","isMobile","References","references","items","maxItems","parentElement","maxWidthAt","slide","animationName","maxIndex","newPosition","FAILS_ON_PRIMITIVES","nativeKeys","isRegExp","defaultConstructor","arrayPush","MAX_UINT32","SUPPORTS_Y","SPLIT","nativeSplit","internalSplit","separator","limit","lim","output","lastLastIndex","separatorCopy","lastLength","splitter","speciesConstructor","unicodeMatching","callRegExpExec","q","z","e","error1","error2","nativeStartsWith","startsWith","CORRECT_IS_REGEXP_LOGIC","correctIsRegExpLogic","MDN_POLYFILL_BUG","searchString","notARegExp","search","whitespace","whitespaces","ltrim","rtrim","trim","non","$trim","forcedStringTrimMethod","deleteCookie","setCookie","deleteAllCookies","cookies","getCookies","obj","cookie","days","setTime","getTime","expires","toUTCString","initializeAll","initCookieBar","initializeMenu","initializeScrollToLinks","showPopup","cookieBar","acceptButton","declineButton","confirm","enabled","html","sessionStorage","getItem","close","setItem","innerHTML","closeButton","anchors","nav","menu","parentItems","toggle","parentItem","stopPropagation","anchor","getAttribute","targetElement"],"mappings":";;;;;;;;;;CAAA,IAAIA,KAAK,GAAG,UAAUC,EAAV,EAAc;CACxB,SAAOA,EAAE,IAAIA,EAAE,CAACC,IAAH,IAAWA,IAAjB,IAAyBD,EAAhC;CACD,CAFD;;;CAKA,YAAc;CAEZD,KAAK,CAAC,OAAOG,UAAP,IAAqB,QAArB,IAAiCA,UAAlC,CAAL,IACAH,KAAK,CAAC,OAAOI,MAAP,IAAiB,QAAjB,IAA6BA,MAA9B,CADL,IAEAJ,KAAK,CAAC,OAAOK,IAAP,IAAe,QAAf,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