');\n css(vhEl, {\n height: '100vh',\n position: 'fixed',\n });\n on(window, 'resize', () => (vh = null));\n }\n\n append(document.body, vhEl);\n vh = vhEl.clientHeight;\n remove(vhEl);\n return vh;\n}\n","export const inBrowser = typeof window !== 'undefined';\nexport const isRtl = inBrowser && document.dir === 'rtl';\n\nexport const hasTouch = inBrowser && 'ontouchstart' in window;\nconst hasPointerEvents = inBrowser && window.PointerEvent;\n\nexport const pointerDown = hasPointerEvents ? 'pointerdown' : hasTouch ? 'touchstart' : 'mousedown';\nexport const pointerMove = hasPointerEvents ? 'pointermove' : hasTouch ? 'touchmove' : 'mousemove';\nexport const pointerUp = hasPointerEvents ? 'pointerup' : hasTouch ? 'touchend' : 'mouseup';\nexport const pointerEnter = hasPointerEvents ? 'pointerenter' : hasTouch ? '' : 'mouseenter';\nexport const pointerLeave = hasPointerEvents ? 'pointerleave' : hasTouch ? '' : 'mouseleave';\nexport const pointerCancel = hasPointerEvents ? 'pointercancel' : 'touchcancel';\n","import { inBrowser } from './env';\nimport { on } from './event';\nimport { toNodes } from './lang';\n\nexport function observeIntersection(targets, cb, options = {}, { intersecting = true } = {}) {\n const observer = new IntersectionObserver(\n intersecting\n ? (entries, observer) => {\n if (entries.some((entry) => entry.isIntersecting)) {\n cb(entries, observer);\n }\n }\n : cb,\n options,\n );\n for (const el of toNodes(targets)) {\n observer.observe(el);\n }\n\n return observer;\n}\n\nconst hasResizeObserver = inBrowser && window.ResizeObserver;\nexport function observeResize(targets, cb, options = { box: 'border-box' }) {\n if (hasResizeObserver) {\n return observe(ResizeObserver, targets, cb, options);\n }\n\n // Fallback Safari < 13.1\n const off = [on(window, 'load resize', cb), on(document, 'loadedmetadata load', cb, true)];\n return { disconnect: () => off.map((cb) => cb()) };\n}\n\nexport function observeViewportResize(cb) {\n return { disconnect: on([window, window.visualViewport], 'resize', cb) };\n}\n\nexport function observeMutation(targets, cb, options) {\n return observe(MutationObserver, targets, cb, options);\n}\n\nfunction observe(Observer, targets, cb, options) {\n const observer = new Observer(cb);\n for (const el of toNodes(targets)) {\n observer.observe(el, options);\n }\n\n return observer;\n}\n","import {\n $$,\n getEventPos,\n isFunction,\n isTouch,\n noop,\n observeIntersection,\n observeMutation,\n observeResize,\n observeViewportResize,\n on,\n once,\n parent,\n pointerCancel,\n pointerDown,\n pointerUp,\n removeAttr,\n scrollParent,\n toNodes,\n trigger,\n} from 'uikit-util';\n\nexport function resize(options) {\n return observe(observeResize, options, 'resize');\n}\n\nexport function intersection(options) {\n return observe(observeIntersection, options);\n}\n\nexport function mutation(options) {\n return observe(observeMutation, options);\n}\n\nexport function lazyload(options = {}) {\n return intersection({\n handler: function (entries, observer) {\n const { targets = this.$el, preload = 5 } = options;\n for (const el of toNodes(isFunction(targets) ? targets(this) : targets)) {\n $$('[loading=\"lazy\"]', el)\n .slice(0, preload - 1)\n .forEach((el) => removeAttr(el, 'loading'));\n }\n\n for (const el of entries\n .filter(({ isIntersecting }) => isIntersecting)\n .map(({ target }) => target)) {\n observer.unobserve(el);\n }\n },\n ...options,\n });\n}\n\nexport function viewport() {\n return observe((target, handler) => observeViewportResize(handler));\n}\n\nexport function scroll(options) {\n return observe(\n (target, handler) => ({\n disconnect: on(toScrollTargets(target), 'scroll', handler, {\n passive: true,\n capture: true,\n }),\n }),\n options,\n 'scroll',\n );\n}\n\nexport function swipe(options) {\n return {\n observe(target, handler) {\n return {\n observe: noop,\n unobserve: noop,\n disconnect: on(target, pointerDown, handler, { passive: true }),\n };\n },\n handler(e) {\n if (!isTouch(e)) {\n return;\n }\n\n // Handle Swipe Gesture\n const pos = getEventPos(e);\n const target = 'tagName' in e.target ? e.target : parent(e.target);\n once(document, `${pointerUp} ${pointerCancel} scroll`, (e) => {\n const { x, y } = getEventPos(e);\n\n // swipe\n if (\n (e.type !== 'scroll' && target && x && Math.abs(pos.x - x) > 100) ||\n (y && Math.abs(pos.y - y) > 100)\n ) {\n setTimeout(() => {\n trigger(target, 'swipe');\n trigger(target, `swipe${swipeDirection(pos.x, pos.y, x, y)}`);\n });\n }\n });\n },\n ...options,\n };\n}\n\nfunction observe(observe, options, emit) {\n return {\n observe,\n handler() {\n this.$emit(emit);\n },\n ...options,\n };\n}\n\nfunction swipeDirection(x1, y1, x2, y2) {\n return Math.abs(x1 - x2) >= Math.abs(y1 - y2)\n ? x1 - x2 > 0\n ? 'Left'\n : 'Right'\n : y1 - y2 > 0\n ? 'Up'\n : 'Down';\n}\n\nfunction toScrollTargets(elements) {\n return toNodes(elements).map((node) => {\n const { ownerDocument } = node;\n const parent = scrollParent(node, true);\n return parent === ownerDocument.scrollingElement ? ownerDocument : parent;\n });\n}\n","import { addClass } from 'uikit-util';\n\nexport default {\n connected() {\n addClass(this.$el, this.$options.id);\n },\n};\n","export default {\n props: {\n i18n: Object,\n },\n\n data: {\n i18n: null,\n },\n\n methods: {\n t(key, ...params) {\n let i = 0;\n return (\n (this.i18n?.[key] || this.$options.i18n?.[key])?.replace(\n /%s/g,\n () => params[i++] || '',\n ) || ''\n );\n },\n },\n};\n","import { attr, matches } from 'uikit-util';\n\nexport default {\n props: {\n autoplay: Boolean,\n autoplayInterval: Number,\n pauseOnHover: Boolean,\n },\n\n data: {\n autoplay: false,\n autoplayInterval: 7000,\n pauseOnHover: true,\n },\n\n connected() {\n attr(this.list, 'aria-live', this.autoplay ? 'off' : 'polite');\n this.autoplay && this.startAutoplay();\n },\n\n disconnected() {\n this.stopAutoplay();\n },\n\n update() {\n attr(this.slides, 'tabindex', '-1');\n },\n\n events: [\n {\n name: 'visibilitychange',\n\n el() {\n return document;\n },\n\n filter() {\n return this.autoplay;\n },\n\n handler() {\n if (document.hidden) {\n this.stopAutoplay();\n } else {\n this.startAutoplay();\n }\n },\n },\n ],\n\n methods: {\n startAutoplay() {\n this.stopAutoplay();\n\n this.interval = setInterval(() => {\n if (\n !(\n this.stack.length ||\n (this.draggable && matches(this.$el, ':focus-within')) ||\n (this.pauseOnHover && matches(this.$el, ':hover'))\n )\n ) {\n this.show('next');\n }\n }, this.autoplayInterval);\n },\n\n stopAutoplay() {\n clearInterval(this.interval);\n },\n },\n};\n","import {\n closest,\n css,\n getEventPos,\n includes,\n isRtl,\n isTouch,\n noop,\n off,\n on,\n selInput,\n toArray,\n trigger,\n} from 'uikit-util';\n\nconst pointerOptions = { passive: false, capture: true };\nconst pointerUpOptions = { passive: true, capture: true };\nconst pointerDown = 'touchstart mousedown';\nconst pointerMove = 'touchmove mousemove';\nconst pointerUp = 'touchend touchcancel mouseup click input scroll';\n\nexport default {\n props: {\n draggable: Boolean,\n },\n\n data: {\n draggable: true,\n threshold: 10,\n },\n\n created() {\n for (const key of ['start', 'move', 'end']) {\n const fn = this[key];\n this[key] = (e) => {\n const pos = getEventPos(e).x * (isRtl ? -1 : 1);\n\n this.prevPos = pos === this.pos ? this.prevPos : this.pos;\n this.pos = pos;\n\n fn(e);\n };\n }\n },\n\n events: [\n {\n name: pointerDown,\n\n passive: true,\n\n delegate() {\n return `${this.selList} > *`;\n },\n\n handler(e) {\n if (\n !this.draggable ||\n (!isTouch(e) && hasSelectableText(e.target)) ||\n closest(e.target, selInput) ||\n e.button > 0 ||\n this.length < 2\n ) {\n return;\n }\n\n this.start(e);\n },\n },\n\n {\n name: 'dragstart',\n\n handler(e) {\n e.preventDefault();\n },\n },\n\n {\n // iOS workaround for slider stopping if swiping fast\n name: pointerMove,\n el() {\n return this.list;\n },\n handler: noop,\n ...pointerOptions,\n },\n ],\n\n methods: {\n start() {\n this.drag = this.pos;\n\n if (this._transitioner) {\n this.percent = this._transitioner.percent();\n this.drag += this._transitioner.getDistance() * this.percent * this.dir;\n\n this._transitioner.cancel();\n this._transitioner.translate(this.percent);\n\n this.dragging = true;\n\n this.stack = [];\n } else {\n this.prevIndex = this.index;\n }\n\n on(document, pointerMove, this.move, pointerOptions);\n\n // 'input' event is triggered by video controls\n on(document, pointerUp, this.end, pointerUpOptions);\n\n css(this.list, 'userSelect', 'none');\n },\n\n move(e) {\n const distance = this.pos - this.drag;\n\n if (\n distance === 0 ||\n this.prevPos === this.pos ||\n (!this.dragging && Math.abs(distance) < this.threshold)\n ) {\n return;\n }\n\n // prevent click event\n css(this.list, 'pointerEvents', 'none');\n\n e.cancelable && e.preventDefault();\n\n this.dragging = true;\n this.dir = distance < 0 ? 1 : -1;\n\n let { slides, prevIndex } = this;\n let dis = Math.abs(distance);\n let nextIndex = this.getIndex(prevIndex + this.dir);\n let width = this._getDistance(prevIndex, nextIndex);\n\n while (nextIndex !== prevIndex && dis > width) {\n this.drag -= width * this.dir;\n\n prevIndex = nextIndex;\n dis -= width;\n nextIndex = this.getIndex(prevIndex + this.dir);\n width = this._getDistance(prevIndex, nextIndex);\n }\n\n this.percent = dis / width;\n\n const prev = slides[prevIndex];\n const next = slides[nextIndex];\n const changed = this.index !== nextIndex;\n const edge = prevIndex === nextIndex;\n\n let itemShown;\n\n for (const i of [this.index, this.prevIndex]) {\n if (!includes([nextIndex, prevIndex], i)) {\n trigger(slides[i], 'itemhidden', [this]);\n\n if (edge) {\n itemShown = true;\n this.prevIndex = prevIndex;\n }\n }\n }\n\n if ((this.index === prevIndex && this.prevIndex !== prevIndex) || itemShown) {\n trigger(slides[this.index], 'itemshown', [this]);\n }\n\n if (changed) {\n this.prevIndex = prevIndex;\n this.index = nextIndex;\n\n !edge && trigger(prev, 'beforeitemhide', [this]);\n trigger(next, 'beforeitemshow', [this]);\n }\n\n this._transitioner = this._translate(Math.abs(this.percent), prev, !edge && next);\n\n if (changed) {\n !edge && trigger(prev, 'itemhide', [this]);\n trigger(next, 'itemshow', [this]);\n }\n },\n\n end() {\n off(document, pointerMove, this.move, pointerOptions);\n off(document, pointerUp, this.end, pointerUpOptions);\n\n if (this.dragging) {\n this.dragging = null;\n\n if (this.index === this.prevIndex) {\n this.percent = 1 - this.percent;\n this.dir *= -1;\n this._show(false, this.index, true);\n this._transitioner = null;\n } else {\n const dirChange =\n (isRtl ? this.dir * (isRtl ? 1 : -1) : this.dir) < 0 ===\n this.prevPos > this.pos;\n this.index = dirChange ? this.index : this.prevIndex;\n\n if (dirChange) {\n this.percent = 1 - this.percent;\n }\n\n this.show(\n (this.dir > 0 && !dirChange) || (this.dir < 0 && dirChange)\n ? 'next'\n : 'previous',\n true,\n );\n }\n }\n\n css(this.list, { userSelect: '', pointerEvents: '' });\n\n this.drag = this.percent = null;\n },\n\n _getDistance(prev, next) {\n return (\n this._getTransitioner(prev, prev !== next && next).getDistance() ||\n this.slides[prev].offsetWidth\n );\n },\n },\n};\n\nfunction hasSelectableText(el) {\n return (\n css(el, 'userSelect') !== 'none' &&\n toArray(el.childNodes).some((el) => el.nodeType === 3 && el.textContent.trim())\n );\n}\n","import { $, remove, within } from 'uikit-util';\nimport { attachToElement, createComponent, detachFromElement, getComponent } from './component';\nimport { update } from './global';\nimport { callConnected, callDisconnected, callHook } from './hooks';\nimport { callUpdate } from './update';\n\nexport default function (App) {\n App.prototype.$mount = function (el) {\n const instance = this;\n attachToElement(el, instance);\n\n instance.$options.el = el;\n\n if (within(el, document)) {\n callConnected(instance);\n }\n };\n\n App.prototype.$destroy = function (removeEl = false) {\n const instance = this;\n const { el } = instance.$options;\n\n if (el) {\n callDisconnected(instance);\n }\n\n callHook(instance, 'destroy');\n\n detachFromElement(el, instance);\n\n if (removeEl) {\n remove(instance.$el);\n }\n };\n\n App.prototype.$create = createComponent;\n App.prototype.$emit = function (e) {\n callUpdate(this, e);\n };\n\n App.prototype.$update = function (element = this.$el, e) {\n update(element, e);\n };\n\n App.prototype.$reset = function () {\n callDisconnected(this);\n callConnected(this);\n };\n\n App.prototype.$getComponent = getComponent;\n\n Object.defineProperties(App.prototype, {\n $el: {\n get() {\n return this.$options.el;\n },\n },\n\n $container: Object.getOwnPropertyDescriptor(App, 'container'),\n });\n}\n\nexport function generateId(instance, el = instance.$el, postfix = '') {\n if (el.id) {\n return el.id;\n }\n\n let id = `${instance.$options.id}-${instance._uid}${postfix}`;\n\n if ($(`#${id}`)) {\n id = generateId(instance, el, `${postfix}-2`);\n }\n\n return id;\n}\n","export const keyMap = {\n TAB: 9,\n ESC: 27,\n SPACE: 32,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n};\n","import {\n $,\n $$,\n append,\n attr,\n children,\n closest,\n data,\n empty,\n isNumeric,\n matches,\n parent,\n toFloat,\n toNumber,\n toggleClass,\n} from 'uikit-util';\nimport { generateId } from '../api/instance';\nimport { keyMap } from '../util/keys';\n\nexport default {\n i18n: {\n next: 'Next slide',\n previous: 'Previous slide',\n slideX: 'Slide %s',\n slideLabel: '%s of %s',\n role: 'String',\n },\n\n data: {\n selNav: false,\n role: 'region',\n },\n\n computed: {\n nav({ selNav }, $el) {\n return $(selNav, $el);\n },\n\n navChildren() {\n return children(this.nav);\n },\n\n selNavItem({ attrItem }) {\n return `[${attrItem}],[data-${attrItem}]`;\n },\n\n navItems(_, $el) {\n return $$(this.selNavItem, $el);\n },\n },\n\n watch: {\n nav(nav, prev) {\n attr(nav, 'role', 'tablist');\n\n if (prev) {\n this.$emit();\n }\n },\n\n list(list) {\n attr(list, 'role', 'presentation');\n },\n\n navChildren(children) {\n attr(children, 'role', 'presentation');\n },\n\n navItems(items) {\n for (const el of items) {\n const cmd = data(el, this.attrItem);\n const button = $('a,button', el) || el;\n\n let ariaLabel;\n let ariaControls = null;\n if (isNumeric(cmd)) {\n const item = toNumber(cmd);\n const slide = this.slides[item];\n\n if (slide) {\n if (!slide.id) {\n slide.id = generateId(this, slide, `-item-${cmd}`);\n }\n ariaControls = slide.id;\n }\n\n ariaLabel = this.t('slideX', toFloat(cmd) + 1);\n\n attr(button, 'role', 'tab');\n } else {\n if (this.list) {\n if (!this.list.id) {\n this.list.id = generateId(this, this.list, '-items');\n }\n\n ariaControls = this.list.id;\n }\n\n ariaLabel = this.t(cmd);\n }\n\n attr(button, {\n 'aria-controls': ariaControls,\n 'aria-label': attr(button, 'aria-label') || ariaLabel,\n });\n }\n },\n\n slides(slides) {\n slides.forEach((slide, i) =>\n attr(slide, {\n role: this.nav ? 'tabpanel' : 'group',\n 'aria-label': this.t('slideLabel', i + 1, this.length),\n 'aria-roledescription': this.nav ? null : 'slide',\n }),\n );\n },\n\n length(length) {\n const navLength = this.navChildren.length;\n if (this.nav && length !== navLength) {\n empty(this.nav);\n for (let i = 0; i < length; i++) {\n append(this.nav, `
`);\n }\n }\n },\n },\n\n connected() {\n attr(this.$el, {\n role: this.role,\n 'aria-roledescription': 'carousel',\n });\n },\n\n update: [\n {\n write() {\n this.navItems.concat(this.nav).forEach((el) => el && (el.hidden = !this.maxIndex));\n this.updateNav();\n },\n\n events: ['resize'],\n },\n ],\n\n events: [\n {\n name: 'click keydown',\n\n delegate() {\n return this.selNavItem;\n },\n\n handler(e) {\n if (\n closest(e.target, 'a,button') &&\n (e.type === 'click' || e.keyCode === keyMap.SPACE)\n ) {\n e.preventDefault();\n this.show(data(e.current, this.attrItem));\n }\n },\n },\n\n {\n name: 'itemshow',\n handler: 'updateNav',\n },\n\n {\n name: 'keydown',\n\n delegate() {\n return this.selNavItem;\n },\n\n handler(e) {\n const { current, keyCode } = e;\n const cmd = data(current, this.attrItem);\n\n if (!isNumeric(cmd)) {\n return;\n }\n\n let i =\n keyCode === keyMap.HOME\n ? 0\n : keyCode === keyMap.END\n ? 'last'\n : keyCode === keyMap.LEFT\n ? 'previous'\n : keyCode === keyMap.RIGHT\n ? 'next'\n : -1;\n\n if (~i) {\n e.preventDefault();\n this.show(i);\n }\n },\n },\n ],\n\n methods: {\n updateNav() {\n const index = this.getValidIndex();\n\n for (const el of this.navItems) {\n const cmd = data(el, this.attrItem);\n const button = $('a,button', el) || el;\n\n if (isNumeric(cmd)) {\n const item = toNumber(cmd);\n const active = item === index;\n\n toggleClass(el, this.clsActive, active);\n\n attr(button, {\n 'aria-selected': active,\n tabindex: active ? null : -1,\n });\n\n if (active && button && matches(parent(el), ':focus-within')) {\n button.focus();\n }\n } else {\n toggleClass(\n el,\n 'uk-invisible',\n this.finite &&\n ((cmd === 'previous' && index === 0) ||\n (cmd === 'next' && index >= this.maxIndex)),\n );\n }\n }\n },\n },\n};\n","import {\n $,\n children,\n clamp,\n getIndex,\n hasClass,\n isNumber,\n isRtl,\n removeClass,\n trigger,\n} from 'uikit-util';\nimport { resize } from '../api/observables';\nimport I18n from './i18n';\nimport SliderAutoplay from './slider-autoplay';\nimport SliderDrag from './slider-drag';\nimport SliderNav from './slider-nav';\n\nexport default {\n mixins: [SliderAutoplay, SliderDrag, SliderNav, I18n],\n\n props: {\n clsActivated: Boolean,\n easing: String,\n index: Number,\n finite: Boolean,\n velocity: Number,\n },\n\n data: () => ({\n easing: 'ease',\n finite: false,\n velocity: 1,\n index: 0,\n prevIndex: -1,\n stack: [],\n percent: 0,\n clsActive: 'uk-active',\n clsActivated: false,\n Transitioner: false,\n transitionOptions: {},\n }),\n\n connected() {\n this.prevIndex = -1;\n this.index = this.getValidIndex(this.$props.index);\n this.stack = [];\n },\n\n disconnected() {\n removeClass(this.slides, this.clsActive);\n },\n\n computed: {\n duration({ velocity }, $el) {\n return speedUp($el.offsetWidth / velocity);\n },\n\n list({ selList }, $el) {\n return $(selList, $el);\n },\n\n maxIndex() {\n return this.length - 1;\n },\n\n slides() {\n return children(this.list);\n },\n\n length() {\n return this.slides.length;\n },\n },\n\n watch: {\n slides(slides, prev) {\n if (prev) {\n this.$emit();\n }\n },\n },\n\n observe: resize(),\n\n methods: {\n show(index, force = false) {\n if (this.dragging || !this.length) {\n return;\n }\n\n const { stack } = this;\n const queueIndex = force ? 0 : stack.length;\n const reset = () => {\n stack.splice(queueIndex, 1);\n\n if (stack.length) {\n this.show(stack.shift(), true);\n }\n };\n\n stack[force ? 'unshift' : 'push'](index);\n\n if (!force && stack.length > 1) {\n if (stack.length === 2) {\n this._transitioner?.forward(Math.min(this.duration, 200));\n }\n\n return;\n }\n\n const prevIndex = this.getIndex(this.index);\n const prev = hasClass(this.slides, this.clsActive) && this.slides[prevIndex];\n const nextIndex = this.getIndex(index, this.index);\n const next = this.slides[nextIndex];\n\n if (prev === next) {\n reset();\n return;\n }\n\n this.dir = getDirection(index, prevIndex);\n this.prevIndex = prevIndex;\n this.index = nextIndex;\n\n if (\n (prev && !trigger(prev, 'beforeitemhide', [this])) ||\n !trigger(next, 'beforeitemshow', [this, prev])\n ) {\n this.index = this.prevIndex;\n reset();\n return;\n }\n\n const promise = this._show(prev, next, force).then(() => {\n prev && trigger(prev, 'itemhidden', [this]);\n trigger(next, 'itemshown', [this]);\n\n stack.shift();\n this._transitioner = null;\n\n requestAnimationFrame(() => stack.length && this.show(stack.shift(), true));\n });\n\n prev && trigger(prev, 'itemhide', [this]);\n trigger(next, 'itemshow', [this]);\n\n return promise;\n },\n\n getIndex(index = this.index, prev = this.index) {\n return clamp(\n getIndex(index, this.slides, prev, this.finite),\n 0,\n Math.max(0, this.maxIndex),\n );\n },\n\n getValidIndex(index = this.index, prevIndex = this.prevIndex) {\n return this.getIndex(index, prevIndex);\n },\n\n _show(prev, next, force) {\n this._transitioner = this._getTransitioner(prev, next, this.dir, {\n easing: force\n ? next.offsetWidth < 600\n ? 'cubic-bezier(0.25, 0.46, 0.45, 0.94)' /* easeOutQuad */\n : 'cubic-bezier(0.165, 0.84, 0.44, 1)' /* easeOutQuart */\n : this.easing,\n ...this.transitionOptions,\n });\n\n if (!force && !prev) {\n this._translate(1);\n return Promise.resolve();\n }\n\n const { length } = this.stack;\n return this._transitioner[length > 1 ? 'forward' : 'show'](\n length > 1 ? Math.min(this.duration, 75 + 75 / (length - 1)) : this.duration,\n this.percent,\n );\n },\n\n _translate(percent, prev = this.prevIndex, next = this.index) {\n const transitioner = this._getTransitioner(prev === next ? false : prev, next);\n transitioner.translate(percent);\n return transitioner;\n },\n\n _getTransitioner(\n prev = this.prevIndex,\n next = this.index,\n dir = this.dir || 1,\n options = this.transitionOptions,\n ) {\n return new this.Transitioner(\n isNumber(prev) ? this.slides[prev] : prev,\n isNumber(next) ? this.slides[next] : next,\n dir * (isRtl ? -1 : 1),\n options,\n );\n },\n },\n};\n\nfunction getDirection(index, prevIndex) {\n return index === 'next' ? 1 : index === 'previous' ? -1 : index < prevIndex ? -1 : 1;\n}\n\nexport function speedUp(x) {\n return 0.5 * x + 300; // parabola through (400,500; 600,600; 1800,1200)\n}\n","export default {\n update: {\n write() {\n if (this.stack.length || this.dragging) {\n return;\n }\n\n const index = this.getValidIndex(this.index);\n\n if (!~this.prevIndex || this.index !== index) {\n this.show(index);\n } else {\n this._translate(1, this.prevIndex, this.index);\n }\n },\n\n events: ['resize'],\n },\n};\n","import { lazyload } from '../../api/observables';\n\nexport default {\n observe: lazyload({\n target: ({ slides }) => slides,\n targets: (instance) => instance.getAdjacentSlides(),\n }),\n};\n","import { css } from 'uikit-util';\n\nexport default {\n slide: {\n show(dir) {\n return [{ transform: translate(dir * -100) }, { transform: translate() }];\n },\n\n percent(current) {\n return translated(current);\n },\n\n translate(percent, dir) {\n return [\n { transform: translate(dir * -100 * percent) },\n { transform: translate(dir * 100 * (1 - percent)) },\n ];\n },\n },\n};\n\nexport function translated(el) {\n return Math.abs(css(el, 'transform').split(',')[4] / el.offsetWidth) || 0;\n}\n\nexport function translate(value = 0, unit = '%') {\n value += value ? unit : '';\n return `translate3d(${value}, 0, 0)`;\n}\n\nexport function scale3d(value) {\n return `scale3d(${value}, ${value}, 1)`;\n}\n","import {\n children,\n clamp,\n createEvent,\n css,\n dimensions,\n findIndex,\n includes,\n isRtl,\n noop,\n position,\n sumBy,\n Transition,\n trigger,\n} from 'uikit-util';\nimport { translate } from '../../mixin/internal/slideshow-animations';\n\nexport default function (prev, next, dir, { center, easing, list }) {\n const from = prev\n ? getLeft(prev, list, center)\n : getLeft(next, list, center) + dimensions(next).width * dir;\n const to = next\n ? getLeft(next, list, center)\n : from + dimensions(prev).width * dir * (isRtl ? -1 : 1);\n\n let resolve;\n\n return {\n dir,\n\n show(duration, percent = 0, linear) {\n const timing = linear ? 'linear' : easing;\n duration -= Math.round(duration * clamp(percent, -1, 1));\n\n this.translate(percent);\n\n percent = prev ? percent : clamp(percent, 0, 1);\n triggerUpdate(this.getItemIn(), 'itemin', { percent, duration, timing, dir });\n prev &&\n triggerUpdate(this.getItemIn(true), 'itemout', {\n percent: 1 - percent,\n duration,\n timing,\n dir,\n });\n\n return new Promise((res) => {\n resolve ||= res;\n Transition.start(\n list,\n { transform: translate(-to * (isRtl ? -1 : 1), 'px') },\n duration,\n timing,\n ).then(resolve, noop);\n });\n },\n\n cancel() {\n return Transition.cancel(list);\n },\n\n reset() {\n css(list, 'transform', '');\n },\n\n async forward(duration, percent = this.percent()) {\n await this.cancel();\n return this.show(duration, percent, true);\n },\n\n translate(percent) {\n const distance = this.getDistance() * dir * (isRtl ? -1 : 1);\n\n css(\n list,\n 'transform',\n translate(\n clamp(\n -to + (distance - distance * percent),\n -getWidth(list),\n dimensions(list).width,\n ) * (isRtl ? -1 : 1),\n 'px',\n ),\n );\n\n const actives = this.getActives();\n const itemIn = this.getItemIn();\n const itemOut = this.getItemIn(true);\n\n percent = prev ? clamp(percent, -1, 1) : 0;\n\n for (const slide of children(list)) {\n const isActive = includes(actives, slide);\n const isIn = slide === itemIn;\n const isOut = slide === itemOut;\n const translateIn =\n isIn ||\n (!isOut &&\n (isActive ||\n (dir * (isRtl ? -1 : 1) === -1) ^\n (getElLeft(slide, list) > getElLeft(prev || next))));\n\n triggerUpdate(slide, `itemtranslate${translateIn ? 'in' : 'out'}`, {\n dir,\n percent: isOut ? 1 - percent : isIn ? percent : isActive ? 1 : 0,\n });\n }\n },\n\n percent() {\n return Math.abs(\n (css(list, 'transform').split(',')[4] * (isRtl ? -1 : 1) + from) / (to - from),\n );\n },\n\n getDistance() {\n return Math.abs(to - from);\n },\n\n getItemIn(out = false) {\n let actives = this.getActives();\n let nextActives = inView(list, getLeft(next || prev, list, center));\n\n if (out) {\n const temp = actives;\n actives = nextActives;\n nextActives = temp;\n }\n\n return nextActives[findIndex(nextActives, (el) => !includes(actives, el))];\n },\n\n getActives() {\n return inView(list, getLeft(prev || next, list, center));\n },\n };\n}\n\nfunction getLeft(el, list, center) {\n const left = getElLeft(el, list);\n\n return center ? left - centerEl(el, list) : Math.min(left, getMax(list));\n}\n\nexport function getMax(list) {\n return Math.max(0, getWidth(list) - dimensions(list).width);\n}\n\nexport function getWidth(list) {\n return sumBy(children(list), (el) => dimensions(el).width);\n}\n\nfunction centerEl(el, list) {\n return dimensions(list).width / 2 - dimensions(el).width / 2;\n}\n\nfunction getElLeft(el, list) {\n return (\n (el &&\n (position(el).left + (isRtl ? dimensions(el).width - dimensions(list).width : 0)) *\n (isRtl ? -1 : 1)) ||\n 0\n );\n}\n\nfunction inView(list, listLeft) {\n listLeft -= 1;\n const listWidth = dimensions(list).width;\n const listRight = listLeft + listWidth + 2;\n\n return children(list).filter((slide) => {\n const slideLeft = getElLeft(slide, list);\n const slideRight = slideLeft + Math.min(dimensions(slide).width, listWidth);\n\n return slideLeft >= listLeft && slideRight <= listRight;\n });\n}\n\nfunction triggerUpdate(el, type, data) {\n trigger(el, createEvent(type, false, false, data));\n}\n","import {\n $,\n $$,\n addClass,\n attr,\n children,\n css,\n data,\n dimensions,\n findIndex,\n getIndex,\n hasOwn,\n includes,\n isVisible,\n last,\n selFocusable,\n sumBy,\n toFloat,\n toNumber,\n toggleClass,\n} from 'uikit-util';\nimport { resize } from '../api/observables';\nimport Class from '../mixin/class';\nimport Slider, { speedUp } from '../mixin/slider';\nimport SliderReactive from '../mixin/slider-reactive';\nimport SliderPreload from './internal/slider-preload';\nimport Transitioner, { getMax, getWidth } from './internal/slider-transitioner';\n\nexport default {\n mixins: [Class, Slider, SliderReactive, SliderPreload],\n\n props: {\n center: Boolean,\n sets: Boolean,\n },\n\n data: {\n center: false,\n sets: false,\n attrItem: 'uk-slider-item',\n selList: '.uk-slider-items',\n selNav: '.uk-slider-nav',\n clsContainer: 'uk-slider-container',\n Transitioner,\n },\n\n computed: {\n avgWidth() {\n return getWidth(this.list) / this.length;\n },\n\n finite({ finite }) {\n return finite || isFinite(this.list, this.center);\n },\n\n maxIndex() {\n if (!this.finite || (this.center && !this.sets)) {\n return this.length - 1;\n }\n\n if (this.center) {\n return last(this.sets);\n }\n\n let lft = 0;\n const max = getMax(this.list);\n const index = findIndex(this.slides, (el) => {\n if (lft >= max) {\n return true;\n }\n\n lft += dimensions(el).width;\n });\n\n return ~index ? index : this.length - 1;\n },\n\n sets({ sets: enabled }) {\n if (!enabled) {\n return;\n }\n\n let left = 0;\n const sets = [];\n const width = dimensions(this.list).width;\n for (let i = 0; i < this.length; i++) {\n const slideWidth = dimensions(this.slides[i]).width;\n\n if (left + slideWidth > width) {\n left = 0;\n }\n\n if (this.center) {\n if (\n left < width / 2 &&\n left + slideWidth + dimensions(getIndex(+i + 1, this.slides)).width / 2 >\n width / 2\n ) {\n sets.push(+i);\n left = width / 2 - slideWidth / 2;\n }\n } else if (left === 0) {\n sets.push(Math.min(+i, this.maxIndex));\n }\n\n left += slideWidth;\n }\n\n if (sets.length) {\n return sets;\n }\n },\n\n transitionOptions() {\n return {\n center: this.center,\n list: this.list,\n };\n },\n\n slides() {\n return children(this.list).filter(isVisible);\n },\n },\n\n connected() {\n toggleClass(this.$el, this.clsContainer, !$(`.${this.clsContainer}`, this.$el));\n },\n\n observe: resize({\n target: ({ slides }) => slides,\n }),\n\n update: {\n write() {\n for (const el of this.navItems) {\n const index = toNumber(data(el, this.attrItem));\n if (index !== false) {\n el.hidden =\n !this.maxIndex ||\n index > this.maxIndex ||\n (this.sets && !includes(this.sets, index));\n }\n }\n\n if (this.length && !this.dragging && !this.stack.length) {\n this.reorder();\n this._translate(1);\n }\n\n this.updateActiveClasses();\n },\n\n events: ['resize'],\n },\n\n events: {\n beforeitemshow(e) {\n if (\n !this.dragging &&\n this.sets &&\n this.stack.length < 2 &&\n !includes(this.sets, this.index)\n ) {\n this.index = this.getValidIndex();\n }\n\n const diff = Math.abs(\n this.index -\n this.prevIndex +\n ((this.dir > 0 && this.index < this.prevIndex) ||\n (this.dir < 0 && this.index > this.prevIndex)\n ? (this.maxIndex + 1) * this.dir\n : 0),\n );\n\n if (!this.dragging && diff > 1) {\n for (let i = 0; i < diff; i++) {\n this.stack.splice(1, 0, this.dir > 0 ? 'next' : 'previous');\n }\n\n e.preventDefault();\n return;\n }\n\n const index =\n this.dir < 0 || !this.slides[this.prevIndex] ? this.index : this.prevIndex;\n this.duration =\n speedUp(this.avgWidth / this.velocity) *\n (dimensions(this.slides[index]).width / this.avgWidth);\n\n this.reorder();\n },\n\n itemshow() {\n if (~this.prevIndex) {\n addClass(this._getTransitioner().getItemIn(), this.clsActive);\n }\n },\n\n itemshown() {\n this.updateActiveClasses();\n },\n },\n\n methods: {\n reorder() {\n if (this.finite) {\n css(this.slides, 'order', '');\n return;\n }\n\n const index = this.dir > 0 && this.slides[this.prevIndex] ? this.prevIndex : this.index;\n\n this.slides.forEach((slide, i) =>\n css(\n slide,\n 'order',\n this.dir > 0 && i < index ? 1 : this.dir < 0 && i >= this.index ? -1 : '',\n ),\n );\n\n if (!this.center) {\n return;\n }\n\n const next = this.slides[index];\n let width = dimensions(this.list).width / 2 - dimensions(next).width / 2;\n let j = 0;\n\n while (width > 0) {\n const slideIndex = this.getIndex(--j + index, index);\n const slide = this.slides[slideIndex];\n\n css(slide, 'order', slideIndex > index ? -2 : -1);\n width -= dimensions(slide).width;\n }\n },\n\n updateActiveClasses() {\n const actives = this._getTransitioner(this.index).getActives();\n const activeClasses = [\n this.clsActive,\n ((!this.sets || includes(this.sets, toFloat(this.index))) && this.clsActivated) ||\n '',\n ];\n for (const slide of this.slides) {\n const active = includes(actives, slide);\n toggleClass(slide, activeClasses, active);\n attr(slide, 'aria-hidden', !active);\n for (const focusable of $$(selFocusable, slide)) {\n if (!hasOwn(focusable, '_tabindex')) {\n focusable._tabindex = attr(focusable, 'tabindex');\n }\n attr(focusable, 'tabindex', active ? focusable._tabindex : -1);\n }\n }\n },\n\n getValidIndex(index = this.index, prevIndex = this.prevIndex) {\n index = this.getIndex(index, prevIndex);\n\n if (!this.sets) {\n return index;\n }\n\n let prev;\n\n do {\n if (includes(this.sets, index)) {\n return index;\n }\n\n prev = index;\n index = this.getIndex(index + this.dir, prevIndex);\n } while (index !== prev);\n\n return index;\n },\n\n getAdjacentSlides() {\n const { width } = dimensions(this.list);\n const left = -width;\n const right = width * 2;\n const slideWidth = dimensions(this.slides[this.index]).width;\n const slideLeft = this.center ? width / 2 - slideWidth / 2 : 0;\n const slides = new Set();\n for (const i of [-1, 1]) {\n let currentLeft = slideLeft + (i > 0 ? slideWidth : 0);\n let j = 0;\n do {\n const slide = this.slides[this.getIndex(this.index + i + j++ * i)];\n currentLeft += dimensions(slide).width * i;\n slides.add(slide);\n } while (this.length > j && currentLeft > left && currentLeft < right);\n }\n return Array.from(slides);\n },\n },\n};\n\nfunction isFinite(list, center) {\n if (!list || list.length < 2) {\n return true;\n }\n\n const { width: listWidth } = dimensions(list);\n if (!center) {\n return Math.ceil(getWidth(list)) < Math.trunc(listWidth + getMaxElWidth(list));\n }\n\n const slides = children(list);\n const listHalf = Math.trunc(listWidth / 2);\n for (const index in slides) {\n const slide = slides[index];\n const slideWidth = dimensions(slide).width;\n const slidesInView = new Set([slide]);\n\n let diff = 0;\n for (const i of [-1, 1]) {\n let left = slideWidth / 2;\n\n let j = 0;\n\n while (left < listHalf) {\n const nextSlide = slides[getIndex(+index + i + j++ * i, slides)];\n\n if (slidesInView.has(nextSlide)) {\n return true;\n }\n\n left += dimensions(nextSlide).width;\n slidesInView.add(nextSlide);\n }\n diff = Math.max(\n diff,\n slideWidth / 2 +\n dimensions(slides[getIndex(+index + i, slides)]).width / 2 -\n (left - listHalf),\n );\n }\n\n if (\n diff >\n sumBy(\n slides.filter((slide) => !slidesInView.has(slide)),\n (slide) => dimensions(slide).width,\n )\n ) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getMaxElWidth(list) {\n return Math.max(0, ...children(list).map((el) => dimensions(el).width));\n}\n","import { clamp, createEvent, css, noop, Transition, trigger } from 'uikit-util';\n\nexport default function Transitioner(prev, next, dir, { animation, easing }) {\n const { percent, translate, show = noop } = animation;\n const props = show(dir);\n\n let resolve;\n\n return {\n dir,\n\n show(duration, percent = 0, linear) {\n const timing = linear ? 'linear' : easing;\n duration -= Math.round(duration * clamp(percent, -1, 1));\n\n this.translate(percent);\n\n triggerUpdate(next, 'itemin', { percent, duration, timing, dir });\n triggerUpdate(prev, 'itemout', { percent: 1 - percent, duration, timing, dir });\n\n return new Promise((res) => {\n resolve ||= res;\n Promise.all([\n Transition.start(next, props[1], duration, timing),\n Transition.start(prev, props[0], duration, timing),\n ]).then(() => {\n this.reset();\n resolve();\n }, noop);\n });\n },\n\n cancel() {\n return Transition.cancel([next, prev]);\n },\n\n reset() {\n for (const prop in props[0]) {\n css([next, prev], prop, '');\n }\n },\n\n async forward(duration, percent = this.percent()) {\n await this.cancel();\n return this.show(duration, percent, true);\n },\n\n translate(percent) {\n this.reset();\n\n const props = translate(percent, dir);\n css(next, props[1]);\n css(prev, props[0]);\n triggerUpdate(next, 'itemtranslatein', { percent, dir });\n triggerUpdate(prev, 'itemtranslateout', { percent: 1 - percent, dir });\n },\n\n percent() {\n return percent(prev || next, next, dir);\n },\n\n getDistance() {\n return prev?.offsetWidth;\n },\n };\n}\n\nfunction triggerUpdate(el, type, data) {\n trigger(el, createEvent(type, false, false, data));\n}\n","import { addClass, removeClass } from 'uikit-util';\nimport Animations from './internal/slideshow-animations';\nimport Transitioner from './internal/slideshow-transitioner';\nimport Slider from './slider.js';\n\nexport default {\n mixins: [Slider],\n\n props: {\n animation: String,\n },\n\n data: {\n animation: 'slide',\n clsActivated: 'uk-transition-active',\n Animations,\n Transitioner,\n },\n\n computed: {\n animation({ animation, Animations }) {\n return { ...(Animations[animation] || Animations.slide), name: animation };\n },\n\n transitionOptions() {\n return { animation: this.animation };\n },\n },\n\n events: {\n beforeitemshow({ target }) {\n addClass(target, this.clsActive);\n },\n\n itemshown({ target }) {\n addClass(target, this.clsActivated);\n },\n\n itemhidden({ target }) {\n removeClass(target, this.clsActive, this.clsActivated);\n },\n },\n};\n","import { css } from 'uikit-util';\nimport Animations, {\n scale3d,\n translate,\n translated,\n} from '../../mixin/internal/slideshow-animations';\n\nexport default {\n ...Animations,\n fade: {\n show() {\n return [{ opacity: 0, zIndex: 0 }, { zIndex: -1 }];\n },\n\n percent(current) {\n return 1 - css(current, 'opacity');\n },\n\n translate(percent) {\n return [{ opacity: 1 - percent, zIndex: 0 }, { zIndex: -1 }];\n },\n },\n\n scale: {\n show() {\n return [{ opacity: 0, transform: scale3d(1 + 0.5), zIndex: 0 }, { zIndex: -1 }];\n },\n\n percent(current) {\n return 1 - css(current, 'opacity');\n },\n\n translate(percent) {\n return [\n { opacity: 1 - percent, transform: scale3d(1 + 0.5 * percent), zIndex: 0 },\n { zIndex: -1 },\n ];\n },\n },\n\n pull: {\n show(dir) {\n return dir < 0\n ? [\n { transform: translate(30), zIndex: -1 },\n { transform: translate(), zIndex: 0 },\n ]\n : [\n { transform: translate(-100), zIndex: 0 },\n { transform: translate(), zIndex: -1 },\n ];\n },\n\n percent(current, next, dir) {\n return dir < 0 ? 1 - translated(next) : translated(current);\n },\n\n translate(percent, dir) {\n return dir < 0\n ? [\n { transform: translate(30 * percent), zIndex: -1 },\n { transform: translate(-100 * (1 - percent)), zIndex: 0 },\n ]\n : [\n { transform: translate(-percent * 100), zIndex: 0 },\n { transform: translate(30 * (1 - percent)), zIndex: -1 },\n ];\n },\n },\n\n push: {\n show(dir) {\n return dir < 0\n ? [\n { transform: translate(100), zIndex: 0 },\n { transform: translate(), zIndex: -1 },\n ]\n : [\n { transform: translate(-30), zIndex: -1 },\n { transform: translate(), zIndex: 0 },\n ];\n },\n\n percent(current, next, dir) {\n return dir > 0 ? 1 - translated(next) : translated(current);\n },\n\n translate(percent, dir) {\n return dir < 0\n ? [\n { transform: translate(percent * 100), zIndex: 0 },\n { transform: translate(-30 * (1 - percent)), zIndex: -1 },\n ]\n : [\n { transform: translate(-30 * percent), zIndex: -1 },\n { transform: translate(100 * (1 - percent)), zIndex: 0 },\n ];\n },\n },\n};\n","import { boxModelAdjust, css } from 'uikit-util';\nimport Class from '../mixin/class';\nimport SliderReactive from '../mixin/slider-reactive';\nimport Slideshow from '../mixin/slideshow';\nimport SliderPreload from './internal/slider-preload';\nimport Animations from './internal/slideshow-animations';\n\nexport default {\n mixins: [Class, Slideshow, SliderReactive, SliderPreload],\n\n props: {\n ratio: String,\n minHeight: Number,\n maxHeight: Number,\n },\n\n data: {\n ratio: '16:9',\n minHeight: false,\n maxHeight: false,\n selList: '.uk-slideshow-items',\n attrItem: 'uk-slideshow-item',\n selNav: '.uk-slideshow-nav',\n Animations,\n },\n\n update: {\n read() {\n if (!this.list) {\n return false;\n }\n\n let [width, height] = this.ratio.split(':').map(Number);\n\n height = (height * this.list.offsetWidth) / width || 0;\n\n if (this.minHeight) {\n height = Math.max(this.minHeight, height);\n }\n\n if (this.maxHeight) {\n height = Math.min(this.maxHeight, height);\n }\n\n return { height: height - boxModelAdjust(this.list, 'height', 'content-box') };\n },\n\n write({ height }) {\n height > 0 && css(this.list, 'minHeight', height);\n },\n\n events: ['resize'],\n },\n\n methods: {\n getAdjacentSlides() {\n return [1, -1].map((i) => this.slides[this.getIndex(this.index + i)]);\n },\n },\n};\n","import UIkit from 'uikit/dist/js/uikit-core';\nimport Slider from 'uikit/src/js/components/slider';\nimport Slideshow from 'uikit/src/js/components/slideshow';\n// To enable parallax functionality, uncomment the desired line(s) below\n// import Parallax from 'uikit/src/js/components/parallax';\n// import SliderParallax from 'uikit/src/js/components/slider-parallax';\n// import SlideshowParallax from 'uikit/src/js/components/slideshow-parallax';\n\n// Add individual components imported from UIKit below\nconst components = [\n { name: 'slider', component: Slider },\n { name: 'slideshow', component: Slideshow },\n // To enable parallax functionality, uncomment the desired line(s) below\n // { name: 'parallax', component: Parallax },\n // { name: 'slider-parallax', component: SliderParallax },\n // { name: 'slideshow-parallax', component: SlideshowParallax },\n];\n\ncomponents.forEach(({ name, component }) => {\n UIkit.component(name, component);\n});\n\nexport default UIkit;\n","import UIkit from './UIkit';\n\nconst initBlogResources = () => {\n UIkit.util.on('.blog-resources .uk-slider', 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n const currentSlide = document.querySelector(\n '.blog-resources__current-slide',\n );\n let totalSlides = document.querySelector('.blog-resources__total-slides');\n const progessBar = document.querySelector(\n '#blog-resources__js-progressbar',\n );\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n });\n};\n\nexport default initBlogResources;\n","import UIkit from './UIkit';\n\nconst initSlideshows = () => {\n UIkit.util.on('.hero .uk-slider', 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n const currentSlide = document.querySelector('.current-slide');\n const currentSlideMobile = document.querySelector('.current-slide-mobile');\n let totalSlides = document.querySelector('.total-slides');\n const progessBar = document.querySelector('#js-progressbar');\n const progessBarMobile = document.querySelector('#js-progressbar-mobile');\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n currentSlideMobile.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n progessBarMobile.value = `${(index / totalSlides) * 100}`;\n });\n\n setTimeout(() => {\n const slideshows = document.querySelectorAll(\n '.hero .uk-slider-items div[aria-roledescription=\"slide\"]',\n );\n\n slideshows.forEach((slideshow) => {\n const slideshowId = slideshow.dataset.id;\n\n if (typeof slideshowId === 'undefined') {\n slideshow.remove();\n }\n });\n }, 1000);\n};\n\nexport default initSlideshows;\n","import UIkit from './UIkit';\n\nconst initImageSlider = () => {\n const imageSlider = document.querySelectorAll('.image-slider');\n const brandsImageSlider = document.querySelectorAll('.brands-image-slider');\n\n if (imageSlider) {\n imageSlider.forEach((slider) => {\n const sliderID = slider.getAttribute('id');\n const currentSlider = document.querySelector(\n '#' + sliderID + ' .uk-slider',\n );\n\n UIkit.util.on(currentSlider, 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n\n const currentSlide = document.querySelector(\n '#' + sliderID + ' .image-slider__current-slide',\n );\n\n let totalSlides = document.querySelector(\n '#' + sliderID + ' .image-slider__total-slides',\n );\n\n const progessBar = document.querySelector(\n '#' + sliderID + ' #image-slider__js-progressbar',\n );\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n });\n });\n }\n\n if (brandsImageSlider) {\n brandsImageSlider.forEach((slider) => {\n const sliderID = slider.getAttribute('id');\n const currentSlider = document.querySelector(\n '#' + sliderID + ' .uk-slider',\n );\n\n UIkit.util.on(currentSlider, 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n\n const currentSlide = document.querySelector(\n '#' + sliderID + ' .brands-image-slider__current-slide',\n );\n\n let totalSlides = document.querySelector(\n '#' + sliderID + ' .brands-image-slider__total-slides',\n );\n\n const progessBar = document.querySelector(\n '#' + sliderID + ' #brands-image-slider__js-progressbar',\n );\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n });\n });\n }\n};\n\nexport default initImageSlider;\n","import UIkit from './UIkit';\n\nconst initImageSliderPartial = () => {\n UIkit.util.on(\n '.image-slider-partial .uk-slider',\n 'beforeitemshow',\n function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n const currentSlide = document.querySelector(\n '.image-slider-partial__current-slide',\n );\n let totalSlides = document.querySelector(\n '.image-slider-partial__total-slides',\n );\n const progessBar = document.querySelector(\n '#image-slider-partial__js-progressbar',\n );\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n },\n );\n};\n\nexport default initImageSliderPartial;\n","const initPartials = () => {\n const containerFiftyFifty = document.querySelectorAll('.fifty-fifty');\n\n if (containerFiftyFifty) {\n containerFiftyFifty.forEach((container) => {\n const partialImage = container.querySelector('.partial.image');\n const partialImageSlider = container.querySelector(\n '.partial.image-slider-partial',\n );\n\n if (partialImage) {\n container.classList.add('fifty-fifty--image');\n }\n\n if (partialImageSlider) {\n container.classList.add('fifty-fifty--image-slider-partial');\n }\n });\n }\n};\n\nexport default initPartials;\n","import UIkit from './UIkit';\n\nconst initTestimonials = () => {\n UIkit.util.on('.testimonials .uk-slider', 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n const currentSlide = document.querySelector('.testimonials__current-slide');\n let totalSlides = document.querySelector('.testimonials__total-slides');\n const progessBar = document.querySelector('#testimonials__js-progressbar');\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n });\n};\n\nexport default initTestimonials;\n","import UIkit from './UIkit';\n\nconst initTimelineSlider = () => {\n UIkit.util.on('.timeline .uk-slider', 'beforeitemshow', function (e) {\n const index = parseInt(e.target.dataset.id) + 1;\n const currentSlide = document.querySelector('.timeline__current-slide');\n let totalSlides = document.querySelector('.timeline__total-slides');\n const progessBar = document.querySelector('#timeline__js-progressbar');\n\n totalSlides = totalSlides.innerHTML;\n currentSlide.innerHTML = index.toString().padStart(2, '0');\n progessBar.value = `${(index / totalSlides) * 100}`;\n });\n};\n\nexport default initTimelineSlider;\n","const initHeaderSearch = () => {\n const searchButton = document.querySelector('.search-form');\n\n if (searchButton) {\n const searchForm = document.querySelector('#searchform');\n const searchFormMobile = document.querySelector('#searchform-mobile');\n const additionalLinks = document.querySelectorAll('.additional-link .btn');\n const menuDropdown = document.querySelectorAll('.menu-item-has-children');\n const mobileToggle = document.querySelector('.navbar__mobile-button');\n const mobileContact = document.querySelector('.btn-mobile-contact');\n\n searchButton.addEventListener('click', (e) => {\n e.preventDefault();\n searchForm.classList.toggle('active');\n\n additionalLinks.forEach((link) => {\n link.classList.toggle('uk-hidden');\n });\n });\n\n menuDropdown.forEach((dropdown) => {\n dropdown.innerHTML += `
`;\n });\n\n mobileToggle.addEventListener('click', () => {\n if (mobileToggle.classList.contains('active')) {\n mobileToggle.classList.toggle('active');\n mobileToggle.classList.toggle('not-active');\n setTimeout(function () {\n mobileToggle.classList.remove('not-active');\n }, 350);\n } else if (mobileToggle.classList.contains('not-active')) {\n mobileToggle.classList.toggle('active');\n mobileToggle.classList.toggle('not-active');\n } else {\n mobileToggle.classList.add('active');\n }\n\n if (mobileToggle.classList.contains('active')) {\n document.querySelector('ul#menu-menu-primary').classList.add('active');\n searchFormMobile.classList.add('search-active');\n mobileContact.classList.add('contact-active');\n } else {\n document\n .querySelector('ul#menu-menu-primary')\n .classList.remove('active');\n searchFormMobile.classList.remove('search-active');\n mobileContact.classList.remove('contact-active');\n }\n });\n\n window.addEventListener('resize', () => {\n if (window.outerWidth > 1240) {\n document\n .querySelector('ul#menu-menu-primary')\n .classList.remove('active');\n\n mobileToggle.classList.remove('active');\n searchFormMobile.classList.remove('search-active');\n mobileContact.classList.remove('contact-active');\n\n menuDropdown.forEach((dropdown) => {\n dropdown.classList.remove('dropdown-active');\n });\n } else {\n mobileMenu();\n }\n });\n\n window.addEventListener('load', () => {\n if (window.outerWidth <= 1240) {\n mobileMenu();\n }\n });\n\n function mobileMenu() {\n menuDropdown.forEach((dropdown) => {\n dropdown.addEventListener('click', () => {\n if (dropdown.classList.contains('dropdown-active')) {\n dropdown.classList.remove('dropdown-active');\n } else {\n dropdown.classList.add('dropdown-active');\n }\n });\n });\n }\n }\n};\n\nexport default initHeaderSearch;\n","const initresourceFiltering = () => {\n const resourceFilteringContainer = document.querySelector(\n '.resource-filtering',\n );\n\n if (resourceFilteringContainer) {\n const url = new URL(window.location.href);\n const dropdownItems = document.querySelectorAll('.filter-item button');\n const resourceResultsContainer =\n document.querySelector('#resource-results');\n const searchButton = document.querySelector('#search-resource');\n const filteringText = document.querySelector('.filtering-text');\n const removeFilter = document.querySelectorAll('.remove-filter');\n\n dropdownItems.forEach((item) => {\n item.addEventListener('click', () => {\n const selectedCategory = item.dataset.id;\n const dropdownType = item.dataset.type;\n const selectedCategoryText = item.textContent;\n document.querySelector(\n '.choose-button[data-id=\"' + dropdownType + '\"]',\n ).textContent = selectedCategoryText;\n });\n });\n\n searchButton.addEventListener('click', () => {\n // const selectedCategory = dropdownButton.textContent;\n const selectedTopic = document.querySelector(\n '.choose-button[data-id=\"topic-tag\"]',\n ).textContent;\n\n const selectedIndustry = document.querySelector(\n '.choose-button[data-id=\"industry-tag\"]',\n ).textContent;\n\n const selectedResource = document.querySelector(\n '.choose-button[data-id=\"resource-type\"]',\n ).textContent;\n\n const inputValue = document.querySelector('.search-input').value;\n filteringText.innerHTML = '';\n\n if (!isWhitespaceString(selectedTopic)) {\n if (selectedTopic !== '') {\n if (!url.searchParams.has('topic')) {\n url.searchParams.append('topic', selectedTopic);\n } else {\n url.searchParams.set('topic', selectedTopic);\n }\n }\n }\n\n if (!isWhitespaceString(selectedIndustry)) {\n if (selectedIndustry !== '') {\n if (!url.searchParams.has('industry')) {\n url.searchParams.append('industry', selectedIndustry);\n } else {\n url.searchParams.set('industry', selectedIndustry);\n }\n }\n }\n\n if (!isWhitespaceString(selectedResource)) {\n if (selectedResource !== '') {\n if (!url.searchParams.has('resource')) {\n url.searchParams.append('resource', selectedResource);\n } else {\n url.searchParams.set('resource', selectedResource);\n }\n }\n }\n\n if (inputValue) {\n if (!url.searchParams.has('search')) {\n url.searchParams.append('search', inputValue);\n } else {\n url.searchParams.set('search', inputValue);\n }\n }\n\n history.pushState({}, '', url.href);\n\n getResourcesResults(\n selectedTopic,\n selectedIndustry,\n selectedResource,\n inputValue,\n );\n });\n\n // Search Functionality\n const protocol = window.location.protocol;\n const hostname = window.location.hostname;\n const restBase = protocol + '//' + hostname + '/wp-json/resource-rest/v1';\n\n const getResourcesResults = (topic, industry, resource, searchInput) => {\n if (isWhitespaceString(topic)) {\n topic = '';\n }\n\n if (isWhitespaceString(industry)) {\n industry = '';\n }\n\n if (isWhitespaceString(resource)) {\n resource = '';\n }\n\n let data = {\n action: 'resource_rest',\n topic: topic,\n industry: industry,\n resource: resource,\n search_input: searchInput,\n };\n\n if (topic) {\n filteringText.innerHTML += `
`;\n }\n\n if (industry) {\n filteringText.innerHTML += `
`;\n }\n\n if (resource) {\n filteringText.innerHTML += `
`;\n }\n\n if (searchInput) {\n filteringText.innerHTML += `
`;\n }\n\n const removeFilter = document.querySelectorAll('.remove-filter');\n\n removeFilter.forEach((item) => {\n item.addEventListener('click', () => {\n let topic = '';\n let industry = '';\n let resource = '';\n let text = '';\n\n item.remove();\n\n const topicFilter = document.querySelector(\n '.remove-filter[data-type=\"topic-tag\"]',\n );\n\n const industryFilter = document.querySelector(\n '.remove-filter[data-type=\"industry-tag\"]',\n );\n\n const resourceFilter = document.querySelector(\n '.remove-filter[data-type=\"resource-type\"]',\n );\n\n const textFilter = document.querySelector(\n '.remove-filter[data-type=\"text\"]',\n );\n\n if (!topicFilter) {\n if (url.searchParams.has('topic')) {\n document.querySelector(\n '.choose-button[data-id=\"topic-tag\"]',\n ).textContent = '';\n\n url.searchParams.delete('topic');\n }\n } else {\n topic = topicFilter.getAttribute('data-value');\n }\n\n if (!industryFilter) {\n if (url.searchParams.has('industry')) {\n document.querySelector(\n '.choose-button[data-id=\"industry-tag\"]',\n ).textContent = '';\n\n url.searchParams.delete('industry');\n }\n } else {\n industry = industryFilter.getAttribute('data-value');\n }\n\n if (!resourceFilter) {\n if (url.searchParams.has('resource')) {\n document.querySelector(\n '.choose-button[data-id=\"resource-type\"]',\n ).textContent = '';\n\n url.searchParams.delete('resource');\n }\n } else {\n resource = resourceFilter.getAttribute('data-value');\n }\n\n if (!textFilter) {\n document.querySelector('.search-input').value = '';\n\n if (url.searchParams.has('search')) {\n url.searchParams.delete('search');\n }\n } else {\n text = textFilter.getAttribute('data-value');\n }\n\n history.pushState({}, '', url.href);\n filteringText.innerHTML = '';\n\n getResourcesResults(topic, industry, resource, searchInput);\n });\n });\n\n const options = {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-WP-Nonce': resource_rest.apiNonce,\n },\n credentials: 'same-origin',\n body: JSON.stringify({\n data: data,\n }),\n };\n\n fetch(restBase + '/search', options)\n .then((response) => {\n if (!response.ok) {\n const statusError = 'Error getting Search from API';\n console.log(statusError, response);\n }\n return response.json();\n })\n .then((response) => {\n if (response.posts !== '') {\n resourceResultsContainer.classList.add('active-results');\n resourceResultsContainer.innerHTML = response.posts;\n } else {\n resourceResultsContainer.classList.remove('active-results');\n resourceResultsContainer.innerHTML = '';\n }\n })\n .catch((response) => {\n console.log(response);\n });\n };\n\n if (\n url.searchParams.has('search') ||\n url.searchParams.has('topic') ||\n url.searchParams.has('industry') ||\n url.searchParams.has('resource')\n ) {\n const topicSearch = url.searchParams.get('topic');\n const industrySearch = url.searchParams.get('industry');\n const resourceSearch = url.searchParams.get('resource');\n const searchInput = url.searchParams.get('search');\n\n getResourcesResults(\n topicSearch,\n industrySearch,\n resourceSearch,\n searchInput,\n );\n }\n }\n\n function isWhitespaceString(str) {\n if (str) {\n return !str.replace(/\\s/g, '').length;\n }\n }\n};\n\nexport default initresourceFiltering;\n","const initResources = () => {\n const resourceContainer = document.querySelector('.resources');\n\n if (resourceContainer) {\n const resourceItems = document.querySelectorAll('.resource-item');\n const loadMore = document.querySelector('.load-more');\n\n resourceItems.forEach((item) => {\n item.style.display = 'none';\n });\n\n resourceItems.forEach((item, index) => {\n if (index < 12) {\n item.style.display = 'block';\n }\n });\n\n if (resourceItems.length < 13) {\n loadMore.style.display = 'none';\n }\n\n loadMore.addEventListener('click', () => {\n const page = loadMore.getAttribute('data-page');\n\n document\n .querySelector('.load-more')\n .setAttribute('data-page', parseInt(page) + 1);\n\n resourceItems.forEach((item, index) => {\n if (index < 12 * parseInt(page)) {\n item.style.display = 'block';\n\n if (index === resourceItems.length - 1) {\n loadMore.style.display = 'none';\n }\n }\n });\n });\n }\n};\n\nexport default initResources;\n","// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport UIkit from 'uikit/dist/js/uikit-core';\nimport initAccordionList from './theme/accordion';\nimport initBlogResources from './theme/blogResources';\nimport initSlideshows from './theme/slideshow';\nimport initImageSlider from './theme/imageSlider';\nimport initImageSliderPartial from './theme/imageSliderPartial';\nimport initPartials from './theme/partials';\nimport initTestimonials from './theme/testimonials';\nimport initTimelineSlider from './theme/timelineSlider';\nimport initHeaderSearch from './theme/headerSearch';\nimport initresourceFiltering from './theme/resourceFiltering';\nimport initResources from './theme/resources';\n\ninitAccordionList();\ninitBlogResources();\ninitSlideshows();\ninitImageSlider();\ninitImageSliderPartial();\ninitPartials();\ninitTestimonials();\ninitTimelineSlider();\ninitHeaderSearch();\ninitresourceFiltering();\ninitResources();\n"],"names":["global","factory","module","this","hasOwnProperty","toString","hasOwn","obj","key","hyphenateRe","hyphenate","memoize","str","camelizeRe","camelize","_","c","ucfirst","startsWith","search","_a","endsWith","includes","findIndex","array","predicate","isArray","toArray","assign","isFunction","isObject","isPlainObject","isWindow","isDocument","nodeType","isNode","isElement","isBoolean","value","isString","isNumber","isNumeric","isEmpty","isUndefined","toBoolean","toNumber","number","toFloat","toNode","element","toNodes","toWindow","document","isEqual","other","each","val","swap","a","b","match","last","cb","sortBy$1","prop","propA","propB","sumBy","iteratee","sum","item","uniqueBy","seen","check","pick","props","res","clamp","min","max","noop","intersectRect","rects","minProp","maxProp","pointInRect","point","rect","ratio","dimensions","aProp","contain","maxDimensions","cover$1","Dimensions","getIndex","i","elements","current","finite","length","fn","cache","attr","name","el","removeAttr","hasAttr","element2","data","attribute","addClass","args","apply$1","removeClass","removeClasses","cls","replaceClass","hasClass","getClasses","node","toggleClass","force","classes","cls2","args2","arg","voidElements","isVoidElement","isVisible","selInput","isInput","matches","selFocusable","isFocusable","parent","filter","selector","closest","within","parents","children","children2","index","ref","isSameSiteAnchor","part","getTargetedElement","id","query","context","find","getContext","queryAll","findAll","_query","contextSelectorRe","isContextSelector","contextSanitizeRe","sanatize","queryFn","split","splitSelector","sel","ctx","selectors","prev","domPath","selectorRe","selector2","names","escape","tagName","css","on","targets","types","listener","useCapture","getArgs","detail","selfFilter","delegate","type","target","off","once","condition","off2","e","result","trigger","event","detail2","toEventTargets","createEvent","bubbles","cancelable","isEventTarget","toEventTarget","isTouch","getEventPos","_b","x","y","cssNumber","property","priority","propName","value2","property2","vendorPropName","style","prefix","prefixedName","transition$1","duration","timing","resolve","reject","timer","Transition","animationPrefix","animate$2","animation","origin","out","inProgressRe","Animation","ready","isTag","tagNames","empty","$","html","parent2","html2","append","prepend","applyFn","before","after","nodes","fragment","unwrapSingle","remove$1","wrapAll","structure","wrapInner","unwrap","self","fragmentRe","singleTagRe","container","apply","next","isHtml","$$","dirs$1","height","width","offset","coordinates","currentOffset","scrollY","scrollX","offsetBy","dir","position","top","left","body","documentElement","offsetParent","parentOffset","offsetPosition","offset2","win","dimension","doc","boxModelAdjust","sizing","prop2","flipPosition","pos","toPx","offsetDim","parseCalc","unit","parseUnit","percent","getViewportHeight","calcRe","calc","unitRe","base","vh","vhEl","inBrowser","isRtl","hasTouch","hasPointerEvents","pointerDown","pointerMove","pointerUp","pointerEnter","pointerLeave","pointerCancel","fastdom","task","scheduleFlush","remove","flush","recursion","runTasks","RECURSION_LIMIT","tasks","MouseTracker","p","right","bottom","prevPosition","path","diagonal","intersection","intersect","x1","y1","x2","y2","x3","y3","x4","y4","denominator","ua","observeIntersection","options","intersecting","observer","entries","observer2","entry","hasResizeObserver","observeResize","observe$1","cb2","observeViewportResize","observeMutation","Observer","play","isIFrame","call","isHTML5","pause","mute","isVideo","isYoutube","isVimeo","cmd","enableApi","post","stateKey","counter","youtube","vimeo","poller","isInView","offsetTop","offsetLeft","overflowParents","offsetViewport","scrollIntoView","parents2","scrollParents","scrollElement","scrollTop","scrollHeight","offsetHeight","viewport","maxScroll","elHeight","elTop","scrollTo","scroll","getDuration","start","step","ease","dist","k","scrolledOver","startOffset","endOffset","scrollParent","viewportHeight","elementOffsetTop","end","scrollable","scrollEl","scrollingElement","ancestors","fixedIndex","window","visualViewport","viewportElement","scale","subpixel","dirs","positionAt","getPosition","attachTo","boundary","viewportOffset","placement","getViewport$2","isWithin","attach","flip","scrollArea","getScrollArea","applyOffset","newPos","flipAxis","targetDim","elOffset","targetOffset","moveBy","dim","getIntersectionArea","commonScrollParents","axis","area","positionA","positionB","flipAttach","flipOffset","flipAttachAxis","newAttach","util","initUpdates","instance","prependUpdate","update","clearUpdateData","callUpdate","runUpdates","read","write","events","initWatches","watches","watch","registerWatch","runWatches","values","handler","immediate","initComputed","computed","registerComputed","_computed","$props","$el","initComputedUpdates","resetComputed","registerComputedObserver","instances$1","disconnectComputedUpdates","initEvents","registerEvent","unbindEvents","unbind","capture","passive","el2","initObservers","registerObservable","observable","registerObserver","disconnectObservers","observe","updateTargets","strats","concatStrat","parentVal","childVal","vm","mergeFnData","vm2","defaultStrat","mergeOptions","child","mixin","mergeKey","parseOptions","options2","option","coerce$1","toList","initProps","getProps","exclude","notIn","opts","data$1","arr","initPropsObserver","$options","attributes","records","attributeName","callHook","hook","callConnected","callDisconnected","uid","init$1","normalizeData","initData","initMethods","methods","data2","App","PREFIX","DATA","components$1","component","createComponent","opt","Component","init","getComponent","getComponents","attachToElement","detachFromElement","boot","connect","applyChildListMutation","applyAttributeMutation","addedNodes","removedNodes","disconnect","getComponentName","components2","cmp","globalApi","plugin","component2","Super","Sub","parentEl","updateElement","components","instanceApi","removeEl","generateId","postfix","resize","mutation","lazyload","preload","isIntersecting","scroll$1","toScrollTargets","swipe","e2","swipeDirection","observe2","emit","ownerDocument","Class","Togglable","transition","toggle","animate","show","promise","toggleInstant","toggleTransition","toggleAnimation","done","toggled","changed","_toggle","velocity","mode","startProp","dimProp","marginProp","marginStartProp","currentDim","inProgress","prevProps","currentMargin","marginStart","endDim","wrapper","endProps","keyMap","Accordion","content","items","active","isOpen","hide","keepScrollPosition","activeItems","index2","hide2","transition2","currentHeight","endHeight","frame","alert","animate$1","Video","visible","inView","cover","getPositionedParent","intrinsic","coverHeight","coverWidth","coverDim","Container","prevented","preventBackgroundScroll","clientHeight","Position","restoreScrollPosition","storeScrollPosition","elDim","active$1","drop","boundaryX","boundaryY","targetX","targetY","createToggleComponent","defaultPrevented","hash","handlers","listenForResize","listenForEscClose$1","listenForBackgroundClose$1","listenForScroll","delay","getPositionedElements","viewports","getViewport$1","maxWidth","positionOffset","newTarget","Dropnav","dropbarAnchor","dropbar","clsDrop","dropdowns","selNavItem","active2","keyCode","handleNavItemNavigation","adjustHeight","targetOffsets","minTop","maxBottom","dropbarOffset","newHeight","oldHeight","toggles","_c","formCustom","input","Margin","rows","getRows","getColumns","columns","row","column","sortBy","sorted","j","endProp","getOffset","startDim","offsetWidth","grid","parallax","positionedAbsolute","translates","columnHeights","margin","getMarginTop","getTranslates","padding","newPadding","hgt","scrolled","rowHeights","heightMatch","heights","getHeight","heightViewport","minHeight","box","isScrollingElement","closeIcon","closeLarge","dropParentIcon","marker","navParentIconLarge","navParentIcon","navbarParentIcon","navbarToggleIcon","overlayIcon","paginationNext","paginationPrevious","searchIcon","searchLarge","searchNavbar","slidenavNextLarge","slidenavNext","slidenavPreviousLarge","slidenavPrevious","spinner","totop","I18n","params","Svg","svg","insertSVG","applyWidthAndHeight","root","equals","viewBox","icons","Icon","install$1","icon","getIcon","IconComponent","NavParentIcon","Search","label","button","Spinner","ButtonComponent","Slidenav","NavbarToggleIcon","Close","Marker","Totop","PaginationNext","PaginationPrevious","parsed","UIkit","added","svg2","name2","applyRtl","nativeLazyLoad","img","isImg","setSrcAttrs","ensureSrcAttribute","loading","image","getImageFromElement","src","parentNode","setSourceProps","srcProps","sourceEl","targetEl","sources","wrapInPicture","parseSources","picture","attrs","source","Media","media","toMedia","leader","fill","Modal","selPanel","bgClose","modal","preventBackgroundFocus","listenForBackgroundClose","listenForEscClose","transitionElement","toMs","time","install","dialog","message","openDialog","i18n","tmpl","hideFn","submitFn","nav","navbar","justify","offcanvas","clsFlip","overlay","clsOverlay","clsMode","clsSidebarAnimation","clsContainerAnimation","swiping","suppressUserScale","resumeUserScale","getViewport","overflowAuto","selContainer","selContent","responsive","registerClick","unregisterClick","instances","clickHandler","scrollspy","state","inview","removeAnimationClasses","scrollspyNav","links","sticky","selTarget","coerce","reset","height$1","preventTransition","viewport2","dynamicViewport","maxScrollHeight","referenceElement","offset$1","overflow","topOffset","parseProp","placeholder","prevScroll","prevDir","overflowScroll","scroll2","isScrollUpdate","initTimestamp","now","offsetParentTop","propOffset","refElement","getMaxPathLength","stroke","applyAttributes","applyAnimation","parseSVG","loadSVG","parseSymbols","symbolRe","symbols","selDisabled","Switcher","connects","connectChildren","isVertical","actives","tab","KEY_SPACE","expanded","link","mediaObj","leaving","isLeaving","initAccordionList","accordionList","accordionID","accordionContent","SliderAutoplay","pointerOptions","pointerUpOptions","SliderDrag","hasSelectableText","distance","slides","prevIndex","dis","nextIndex","edge","itemShown","dirChange","SliderNav","selNav","attrItem","list","ariaLabel","ariaControls","slide","navLength","Slider$1","speedUp","selList","stack","queueIndex","getDirection","transitioner","SliderReactive","SliderPreload","Animations$1","translate","translated","scale3d","Transitioner$1","center","easing","from","getLeft","to","linear","triggerUpdate","getWidth","itemIn","itemOut","isActive","isIn","isOut","translateIn","getElLeft","nextActives","temp","centerEl","getMax","listLeft","listWidth","listRight","slideLeft","slideRight","Slider","Transitioner","isFinite","lft","enabled","sets","slideWidth","diff","slideIndex","activeClasses","focusable","currentLeft","getMaxElWidth","listHalf","slidesInView","nextSlide","Slideshow$1","Animations","Slideshow","initBlogResources","currentSlide","totalSlides","progessBar","initSlideshows","currentSlideMobile","progessBarMobile","slideshow","initImageSlider","imageSlider","brandsImageSlider","slider","sliderID","currentSlider","initImageSliderPartial","initPartials","containerFiftyFifty","partialImage","partialImageSlider","initTestimonials","initTimelineSlider","initHeaderSearch","searchButton","mobileMenu","menuDropdown","dropdown","searchForm","searchFormMobile","additionalLinks","mobileToggle","mobileContact","initresourceFiltering","url","dropdownItems","resourceResultsContainer","filteringText","dropdownType","selectedCategoryText","selectedTopic","selectedIndustry","selectedResource","inputValue","isWhitespaceString","getResourcesResults","protocol","hostname","restBase","topic","industry","resource","searchInput","topicFilter","industryFilter","resourceFilter","textFilter","response","topicSearch","industrySearch","resourceSearch","initResources","resourceItems","loadMore","page"],"mappings":"mVAEC,SAAUA,EAAQC,EAAS,CACuCC,EAAiB,QAAAD,EAAO,CAG3F,GAAGE,GAAO,UAAY,CAElB,KAAM,CAAE,eAAAC,EAAgB,SAAAC,GAAa,OAAO,UAC5C,SAASC,EAAOC,EAAKC,EAAK,CACxB,OAAOJ,EAAe,KAAKG,EAAKC,CAAG,CACpC,CACD,MAAMC,EAAc,aACdC,EAAYC,GAASC,GAAQA,EAAI,QAAQH,EAAa,KAAK,EAAE,YAAW,CAAE,EAC1EI,EAAa,SACbC,EAAWH,GACdC,IAASA,EAAI,OAAO,CAAC,EAAE,YAAa,EAAGA,EAAI,MAAM,CAAC,GAAG,QAAQC,EAAY,CAACE,EAAGC,IAAMA,EAAE,aAAa,CACzG,EACUC,EAAUN,GAASC,GAAQA,EAAI,OAAO,CAAC,EAAE,YAAW,EAAKA,EAAI,MAAM,CAAC,CAAC,EAC3E,SAASM,EAAWN,EAAKO,EAAQ,CAC/B,IAAIC,EACJ,OAAQA,EAAKR,GAAO,KAAO,OAASA,EAAI,aAAe,KAAO,OAASQ,EAAG,KAAKR,EAAKO,CAAM,CAC3F,CACD,SAASE,EAAST,EAAKO,EAAQ,CAC7B,IAAIC,EACJ,OAAQA,EAAKR,GAAO,KAAO,OAASA,EAAI,WAAa,KAAO,OAASQ,EAAG,KAAKR,EAAKO,CAAM,CACzF,CACD,SAASG,EAASf,EAAKY,EAAQ,CAC7B,IAAIC,EACJ,OAAQA,EAAKb,GAAO,KAAO,OAASA,EAAI,WAAa,KAAO,OAASa,EAAG,KAAKb,EAAKY,CAAM,CACzF,CACD,SAASI,EAAUC,EAAOC,EAAW,CACnC,IAAIL,EACJ,OA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