PageSourceSearch

https://www.hemurenge.nl/wp-content/themes/digiqole/assets/js/all.js?ver=1

js hemurenge.nl collected 2026-10-08 08:39:18 UTC 176,246 bytes, 1,002 lines download raw bytes

vendor: 19,019 bytes, lines 1-4
1/*
2 Copyright (C) Federico Zivolo 2017
3 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
4 */(function (e, t) { 'object' == typeof exports && 'undefined' != typeof module ? module.exports = t() : 'function' == typeof define && define.amd ? define(t) : e.Popper = t() })(this, function () { 'use strict'; function e(e) { return e && '[object Function]' === {}.toString.call(e) } function t(e, t) { if (1 !== e.nodeType) return []; var o = window.getComputedStyle(e, null); return t ? o[t] : o } function o(e) { return 'HTML' === e.nodeName ? e : e.parentNode || e.host } function n(e) { if (!e || -1 !== ['HTML', 'BODY', '#document'].indexOf(e.nodeName)) return window.document.body; var i = t(e), r = i.overflow, p = i.overflowX, s = i.overflowY; return /(auto|scroll)/.test(r + s + p) ? e : n(o(e)) } function r(e) { var o = e && e.offsetParent, i = o && o.nodeName; return i && 'BODY' !== i && 'HTML' !== i ? -1 !== ['TD', 'TABLE'].indexOf(o.nodeName) && 'static' === t(o, 'position') ? r(o) : o : window.document.documentElement } function p(e) { var t = e.nodeName; return 'BODY' !== t && ('HTML' === t || r(e.firstElementChild) === e) } function s(e) { return null === e.parentNode ? e : s(e.parentNode) } function d(e, t) { if (!e || !e.nodeType || !t || !t.nodeType) return window.document.documentElement; var o = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING, i = o ? e : t, n = o ? t : e, a = document.createRange(); a.setStart(i, 0), a.setEnd(n, 0); var l = a.commonAncestorContainer; if (e !== l && t !== l || i.contains(n)) return p(l) ? l : r(l); var f = s(e); return f.host ? d(f.host, t) : d(e, s(t).host) } function a(e) { var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 'top', o = 'top' === t ? 'scrollTop' : 'scrollLeft', i = e.nodeName; if ('BODY' === i || 'HTML' === i) { var n = window.document.documentElement, r = window.document.scrollingElement || n; return r[o] } return e[o] } function l(e, t) { var o = 2 < arguments.length && void 0 !== arguments[2] && arguments[2], i = a(t, 'top'), n = a(t, 'left'), r = o ? -1 : 1; return e.top += i * r, e.bottom += i * r, e.left += n * r, e.right += n * r, e } function f(e, t) { var o = 'x' === t ? 'Left' : 'Top', i = 'Left' == o ? 'Right' : 'Bottom'; return +e['border' + o + 'Width'].split('px')[0] + +e['border' + i + 'Width'].split('px')[0] } function m(e, t, o, i) { return X(t['offset' + e], t['scroll' + e], o['client' + e], o['offset' + e], o['scroll' + e], ne() ? o['offset' + e] + i['margin' + ('Height' === e ? 'Top' : 'Left')] + i['margin' + ('Height' === e ? 'Bottom' : 'Right')] : 0) } function c() { var e = window.document.body, t = window.document.documentElement, o = ne() && window.getComputedStyle(t); return { height: m('Height', e, t, o), width: m('Width', e, t, o) } } function h(e) { return de({}, e, { right: e.left + e.width, bottom: e.top + e.height }) } function g(e) { var o = {}; if (ne()) try { o = e.getBoundingClientRect(); var i = a(e, 'top'), n = a(e, 'left'); o.top += i, o.left += n, o.bottom += i, o.right += n } catch (e) { } else o = e.getBoundingClientRect(); var r = { left: o.left, top: o.top, width: o.right - o.left, height: o.bottom - o.top }, p = 'HTML' === e.nodeName ? c() : {}, s = p.width || e.clientWidth || r.right - r.left, d = p.height || e.clientHeight || r.bottom - r.top, l = e.offsetWidth - s, m = e.offsetHeight - d; if (l || m) { var g = t(e); l -= f(g, 'x'), m -= f(g, 'y'), r.width -= l, r.height -= m } return h(r) } function u(e, o) { var i = ne(), r = 'HTML' === o.nodeName, p = g(e), s = g(o), d = n(e), a = t(o), f = +a.borderTopWidth.split('px')[0], m = +a.borderLeftWidth.split('px')[0], c = h({ top: p.top - s.top - f, left: p.left - s.left - m, width: p.width, height: p.height }); if (c.marginTop = 0, c.marginLeft = 0, !i && r) { var u = +a.marginTop.split('px')[0], b = +a.marginLeft.split('px')[0]; c.top -= f - u, c.bottom -= f - u, c.left -= m - b, c.right -= m - b, c.marginTop = u, c.marginLeft = b } return (i ? o.contains(d) : o === d && 'BODY' !== d.nodeName) && (c = l(c, o)), c } function b(e) { var t = window.document.documentElement, o = u(e, t), i = X(t.clientWidth, window.innerWidth || 0), n = X(t.clientHeight, window.innerHeight || 0), r = a(t), p = a(t, 'left'), s = { top: r - o.top + o.marginTop, left: p - o.left + o.marginLeft, width: i, height: n }; return h(s) } function y(e) { var i = e.nodeName; return 'BODY' === i || 'HTML' === i ? !1 : 'fixed' === t(e, 'position') || y(o(e)) } function w(e, t, i, r) { var p = { top: 0, left: 0 }, s = d(e, t); if ('viewport' === r) p = b(s); else { var a; 'scrollParent' === r ? (a = n(o(e)), 'BODY' === a.nodeName && (a = window.document.documentElement)) : 'window' === r ? a = window.document.documentElement : a = r; var l = u(a, s); if ('HTML' === a.nodeName && !y(s)) { var f = c(), m = f.height, h = f.width; p.top += l.top - l.marginTop, p.bottom = m + l.top, p.left += l.left - l.marginLeft, p.right = h + l.left } else p = l } return p.left += i, p.top += i, p.right -= i, p.bottom -= i, p } function E(e) { var t = e.width, o = e.height; return t * o } function v(e, t, o, i, n) { var r = 5 < arguments.length && void 0 !== arguments[5] ? arguments[5] : 0; if (-1 === e.indexOf('auto')) return e; var p = w(o, i, r, n), s = { top: { width: p.width, height: t.top - p.top }, right: { width: p.right - t.right, height: p.height }, bottom: { width: p.width, height: p.bottom - t.bottom }, left: { width: t.left - p.left, height: p.height } }, d = Object.keys(s).map(function (e) { return de({ key: e }, s[e], { area: E(s[e]) }) }).sort(function (e, t) { return t.area - e.area }), a = d.filter(function (e) { var t = e.width, i = e.height; return t >= o.clientWidth && i >= o.clientHeight }), l = 0 < a.length ? a[0].key : d[0].key, f = e.split('-')[1]; return l + (f ? '-' + f : '') } function x(e, t, o) { var i = d(t, o); return u(o, i) } function O(e) { var t = window.getComputedStyle(e), o = parseFloat(t.marginTop) + parseFloat(t.marginBottom), i = parseFloat(t.marginLeft) + parseFloat(t.marginRight), n = { width: e.offsetWidth + i, height: e.offsetHeight + o }; return n } function L(e) { var t = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; return e.replace(/left|right|bottom|top/g, function (e) { return t[e] }) } function S(e, t, o) { o = o.split('-')[0]; var i = O(e), n = { width: i.width, height: i.height }, r = -1 !== ['right', 'left'].indexOf(o), p = r ? 'top' : 'left', s = r ? 'left' : 'top', d = r ? 'height' : 'width', a = r ? 'width' : 'height'; return n[p] = t[p] + t[d] / 2 - i[d] / 2, n[s] = o === s ? t[s] - i[a] : t[L(s)], n } function T(e, t) { return Array.prototype.find ? e.find(t) : e.filter(t)[0] } function C(e, t, o) { if (Array.prototype.findIndex) return e.findIndex(function (e) { return e[t] === o }); var i = T(e, function (e) { return e[t] === o }); return e.indexOf(i) } function N(t, o, i) { var n = void 0 === i ? t : t.slice(0, C(t, 'name', i)); return n.forEach(function (t) { t.function && console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); var i = t.function || t.fn; t.enabled && e(i) && (o.offsets.popper = h(o.offsets.popper), o.offsets.reference = h(o.offsets.reference), o = i(o, t)) }), o } function k() { if (!this.state.isDestroyed) { var e = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {} }; e.offsets.reference = x(this.state, this.popper, this.reference), e.placement = v(this.options.placement, e.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), e.originalPlacement = e.placement, e.offsets.popper = S(this.popper, e.offsets.reference, e.placement), e.offsets.popper.position = 'absolute', e = N(this.modifiers, e), this.state.isCreated ? this.options.onUpdate(e) : (this.state.isCreated = !0, this.options.onCreate(e)) } } function W(e, t) { return e.some(function (e) { var o = e.name, i = e.enabled; return i && o === t }) } function B(e) { for (var t = [!1, 'ms', 'Webkit', 'Moz', 'O'], o = e.charAt(0).toUpperCase() + e.slice(1), n = 0; n < t.length - 1; n++) { var i = t[n], r = i ? '' + i + o : e; if ('undefined' != typeof window.document.body.style[r]) return r } return null } function P() { return this.state.isDestroyed = !0, W(this.modifiers, 'applyStyle') && (this.popper.removeAttribute('x-placement'), this.popper.style.left = '', this.popper.style.position = '', this.popper.style.top = '', this.popper.style[B('transform')] = ''), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this } function D(e, t, o, i) { var r = 'BODY' === e.nodeName, p = r ? window : e; p.addEventListener(t, o, { passive: !0 }), r || D(n(p.parentNode), t, o, i), i.push(p) } function H(e, t, o, i) { o.updateBound = i, window.addEventListener('resize', o.updateBound, { passive: !0 }); var r = n(e); return D(r, 'scroll', o.updateBound, o.scrollParents), o.scrollElement = r, o.eventsEnabled = !0, o } function A() { this.state.eventsEnabled || (this.state = H(this.reference, this.options, this.state, this.scheduleUpdate)) } function M(e, t) { return window.removeEventListener('resize', t.updateBound), t.scrollParents.forEach(function (e) { e.removeEventListener('scroll', t.updateBound) }), t.updateBound = null, t.scrollParents = [], t.scrollElement = null, t.eventsEnabled = !1, t } function I() { this.state.eventsEnabled && (window.cancelAnimationFrame(this.scheduleUpdate), this.state = M(this.reference, this.state)) } function R(e) { return '' !== e && !isNaN(parseFloat(e)) && isFinite(e) } function U(e, t) { Object.keys(t).forEach(function (o) { var i = ''; -1 !== ['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(o) && R(t[o]) && (i = 'px'), e.style[o] = t[o] + i }) } function Y(e, t) { Object.keys(t).forEach(function (o) { var i = t[o]; !1 === i ? e.removeAttribute(o) : e.setAttribute(o, t[o]) }) } function F(e, t, o) { var i = T(e, function (e) { var o = e.name; return o === t }), n = !!i && e.some(function (e) { return e.name === o && e.enabled && e.order < i.order }); if (!n) { var r = '`' + t + '`'; console.warn('`' + o + '`' + ' modifier is required by ' + r + ' modifier in order to work, be sure to include it before ' + r + '!') } return n } function j(e) { return 'end' === e ? 'start' : 'start' === e ? 'end' : e } function K(e) { var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], o = le.indexOf(e), i = le.slice(o + 1).concat(le.slice(0, o)); return t ? i.reverse() : i } function q(e, t, o, i) { var n = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r = +n[1], p = n[2]; if (!r) return e; if (0 === p.indexOf('%')) { var s; switch (p) { case '%p': s = o; break; case '%': case '%r': default: s = i; }var d = h(s); return d[t] / 100 * r } if ('vh' === p || 'vw' === p) { var a; return a = 'vh' === p ? X(document.documentElement.clientHeight, window.innerHeight || 0) : X(document.documentElement.clientWidth, window.innerWidth || 0), a / 100 * r } return r } function G(e, t, o, i) { var n = [0, 0], r = -1 !== ['right', 'left'].indexOf(i), p = e.split(/(\+|\-)/).map(function (e) { return e.trim() }), s = p.indexOf(T(p, function (e) { return -1 !== e.search(/,|\s/) })); p[s] && -1 === p[s].indexOf(',') && console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); var d = /\s*,\s*|\s+/, a = -1 === s ? [p] : [p.slice(0, s).concat([p[s].split(d)[0]]), [p[s].split(d)[1]].concat(p.slice(s + 1))]; return a = a.map(function (e, i) { var n = (1 === i ? !r : r) ? 'height' : 'width', p = !1; return e.reduce(function (e, t) { return '' === e[e.length - 1] && -1 !== ['+', '-'].indexOf(t) ? (e[e.length - 1] = t, p = !0, e) : p ? (e[e.length - 1] += t, p = !1, e) : e.concat(t) }, []).map(function (e) { return q(e, n, t, o) }) }), a.forEach(function (e, t) { e.forEach(function (o, i) { R(o) && (n[t] += o * ('-' === e[i - 1] ? -1 : 1)) }) }), n } function z(e, t) { var o, i = t.offset, n = e.placement, r = e.offsets, p = r.popper, s = r.reference, d = n.split('-')[0]; return o = R(+i) ? [+i, 0] : G(i, p, s, d), 'left' === d ? (p.top += o[0], p.left -= o[1]) : 'right' === d ? (p.top += o[0], p.left += o[1]) : 'top' === d ? (p.left += o[0], p.top -= o[1]) : 'bottom' === d && (p.left += o[0], p.top += o[1]), e.popper = p, e } for (var V = Math.min, _ = Math.floor, X = Math.max, Q = ['native code', '[object MutationObserverConstructor]'], J = function (e) { return Q.some(function (t) { return -1 < (e || '').toString().indexOf(t) }) }, Z = 'undefined' != typeof window, $ = ['Edge', 'Trident', 'Firefox'], ee = 0, te = 0; te < $.length; te += 1)if (Z && 0 <= navigator.userAgent.indexOf($[te])) { ee = 1; break } var i, oe = Z && J(window.MutationObserver), ie = oe ? function (e) { var t = !1, o = 0, i = document.createElement('span'), n = new MutationObserver(function () { e(), t = !1 }); return n.observe(i, { attributes: !0 }), function () { t || (t = !0, i.setAttribute('x-index', o), ++o) } } : function (e) { var t = !1; return function () { t || (t = !0, setTimeout(function () { t = !1, e() }, ee)) } }, ne = function () { return void 0 == i && (i = -1 !== navigator.appVersion.indexOf('MSIE 10')), i }, re = function (e, t) { if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function') }, pe = function () { function e(e, t) { for (var o, n = 0; n < t.length; n++)o = t[n], o.enumerable = o.enumerable || !1, o.configurable = !0, 'value' in o && (o.writable = !0), Object.defineProperty(e, o.key, o) } return function (t, o, i) { return o && e(t.prototype, o), i && e(t, i), t } }(), se = function (e, t, o) { return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e }, de = Object.assign || function (e) { for (var t, o = 1; o < arguments.length; o++)for (var i in t = arguments[o], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); return e }, ae = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'], le = ae.slice(3), fe = { FLIP: 'flip', CLOCKWISE: 'clockwise', COUNTERCLOCKWISE: 'counterclockwise' }, me = function () { function t(o, i) { var n = this, r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}; re(this, t), this.scheduleUpdate = function () { return requestAnimationFrame(n.update) }, this.update = ie(this.update.bind(this)), this.options = de({}, t.Defaults, r), this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }, this.reference = o.jquery ? o[0] : o, this.popper = i.jquery ? i[0] : i, this.options.modifiers = {}, Object.keys(de({}, t.Defaults.modifiers, r.modifiers)).forEach(function (e) { n.options.modifiers[e] = de({}, t.Defaults.modifiers[e] || {}, r.modifiers ? r.modifiers[e] : {}) }), this.modifiers = Object.keys(this.options.modifiers).map(function (e) { return de({ name: e }, n.options.modifiers[e]) }).sort(function (e, t) { return e.order - t.order }), this.modifiers.forEach(function (t) { t.enabled && e(t.onLoad) && t.onLoad(n.reference, n.popper, n.options, t, n.state) }), this.update(); var p = this.options.eventsEnabled; p && this.enableEventListeners(), this.state.eventsEnabled = p } return pe(t, [{ key: 'update', value: function () { return k.call(this) } }, { key: 'destroy', value: function () { return P.call(this) } }, { key: 'enableEventListeners', value: function () { return A.call(this) } }, { key: 'disableEventListeners', value: function () { return I.call(this) } }]), t }(); return me.Utils = ('undefined' == typeof window ? global : window).PopperUtils, me.placements = ae, me.Defaults = { placement: 'bottom', eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () { }, onUpdate: function () { }, modifiers: { shift: { order: 100, enabled: !0, fn: function (e) { var t = e.placement, o = t.split('-')[0], i = t.split('-')[1]; if (i) { var n = e.offsets, r = n.reference, p = n.popper, s = -1 !== ['bottom', 'top'].indexOf(o), d = s ? 'left' : 'top', a = s ? 'width' : 'height', l = { start: se({}, d, r[d]), end: se({}, d, r[d] + r[a] - p[a]) }; e.offsets.popper = de({}, p, l[i]) } return e } }, offset: { order: 200, enabled: !0, fn: z, offset: 0 }, preventOverflow: { order: 300, enabled: !0, fn: function (e, t) { var o = t.boundariesElement || r(e.instance.popper); e.instance.reference === o && (o = r(o)); var i = w(e.instance.popper, e.instance.reference, t.padding, o); t.boundaries = i; var n = t.priority, p = e.offsets.popper, s = { primary: function (e) { var o = p[e]; return p[e] < i[e] && !t.escapeWithReference && (o = X(p[e], i[e])), se({}, e, o) }, secondary: function (e) { var o = 'right' === e ? 'left' : 'top', n = p[o]; return p[e] > i[e] && !t.escapeWithReference && (n = V(p[o], i[e] - ('right' === e ? p.width : p.height))), se({}, o, n) } }; return n.forEach(function (e) { var t = -1 === ['left', 'top'].indexOf(e) ? 'secondary' : 'primary'; p = de({}, p, s[t](e)) }), e.offsets.popper = p, e }, priority: ['left', 'right', 'top', 'bottom'], padding: 5, boundariesElement: 'scrollParent' }, keepTogether: { order: 400, enabled: !0, fn: function (e) { var t = e.offsets, o = t.popper, i = t.reference, n = e.placement.split('-')[0], r = _, p = -1 !== ['top', 'bottom'].indexOf(n), s = p ? 'right' : 'bottom', d = p ? 'left' : 'top', a = p ? 'width' : 'height'; return o[s] < r(i[d]) && (e.offsets.popper[d] = r(i[d]) - o[a]), o[d] > r(i[s]) && (e.offsets.popper[d] = r(i[s])), e } }, arrow: { order: 500, enabled: !0, fn: function (e, o) { if (!F(e.instance.modifiers, 'arrow', 'keepTogether')) return e; var i = o.element; if ('string' == typeof i) { if (i = e.instance.popper.querySelector(i), !i) return e; } else if (!e.instance.popper.contains(i)) return console.warn('WARNING: `arrow.element` must be child of its popper element!'), e; var n = e.placement.split('-')[0], r = e.offsets, p = r.popper, s = r.reference, d = -1 !== ['left', 'right'].indexOf(n), a = d ? 'height' : 'width', l = d ? 'Top' : 'Left', f = l.toLowerCase(), m = d ? 'left' : 'top', c = d ? 'bottom' : 'right', g = O(i)[a]; s[c] - g < p[f] && (e.offsets.popper[f] -= p[f] - (s[c] - g)), s[f] + g > p[c] && (e.offsets.popper[f] += s[f] + g - p[c]); var u = s[f] + s[a] / 2 - g / 2, b = t(e.instance.popper, 'margin' + l).replace('px', ''), y = u - h(e.offsets.popper)[f] - b; return y = X(V(p[a] - g, y), 0), e.arrowElement = i, e.offsets.arrow = {}, e.offsets.arrow[f] = Math.round(y), e.offsets.arrow[m] = '', e }, element: '[x-arrow]' }, flip: { order: 600, enabled: !0, fn: function (e, t) { if (W(e.instance.modifiers, 'inner')) return e; if (e.flipped && e.placement === e.originalPlacement) return e; var o = w(e.instance.popper, e.instance.reference, t.padding, t.boundariesElement), i = e.placement.split('-')[0], n = L(i), r = e.placement.split('-')[1] || '', p = [];
vendor: 3,453 bytes, line 4
4 switch (t.behavior) { case fe.FLIP: p = [i, n]; break; case fe.CLOCKWISE: p = K(i); break; case fe.COUNTERCLOCKWISE: p = K(i, !0); break; default: p = t.behavior; }return p.forEach(function (s, d) { if (i !== s || p.length === d + 1) return e; i = e.placement.split('-')[0], n = L(i); var a = e.offsets.popper, l = e.offsets.reference, f = _, m = 'left' === i && f(a.right) > f(l.left) || 'right' === i && f(a.left) < f(l.right) || 'top' === i && f(a.bottom) > f(l.top) || 'bottom' === i && f(a.top) < f(l.bottom), c = f(a.left) < f(o.left), h = f(a.right) > f(o.right), g = f(a.top) < f(o.top), u = f(a.bottom) > f(o.bottom), b = 'left' === i && c || 'right' === i && h || 'top' === i && g || 'bottom' === i && u, y = -1 !== ['top', 'bottom'].indexOf(i), w = !!t.flipVariations && (y && 'start' === r && c || y && 'end' === r && h || !y && 'start' === r && g || !y && 'end' === r && u); (m || b || w) && (e.flipped = !0, (m || b) && (i = p[d + 1]), w && (r = j(r)), e.placement = i + (r ? '-' + r : ''), e.offsets.popper = de({}, e.offsets.popper, S(e.instance.popper, e.offsets.reference, e.placement)), e = N(e.instance.modifiers, e, 'flip')) }), e }, behavior: 'flip', padding: 5, boundariesElement: 'viewport' }, inner: { order: 700, enabled: !1, fn: function (e) { var t = e.placement, o = t.split('-')[0], i = e.offsets, n = i.popper, r = i.reference, p = -1 !== ['left', 'right'].indexOf(o), s = -1 === ['top', 'left'].indexOf(o); return n[p ? 'left' : 'top'] = r[o] - (s ? n[p ? 'width' : 'height'] : 0), e.placement = L(t), e.offsets.popper = h(n), e } }, hide: { order: 800, enabled: !0, fn: function (e) { if (!F(e.instance.modifiers, 'hide', 'preventOverflow')) return e; var t = e.offsets.reference, o = T(e.instance.modifiers, function (e) { return 'preventOverflow' === e.name }).boundaries; if (t.bottom < o.top || t.left > o.right || t.top > o.bottom || t.right < o.left) { if (!0 === e.hide) return e; e.hide = !0, e.attributes['x-out-of-boundaries'] = '' } else { if (!1 === e.hide) return e; e.hide = !1, e.attributes['x-out-of-boundaries'] = !1 } return e } }, computeStyle: { order: 850, enabled: !0, fn: function (e, t) { var o = t.x, i = t.y, n = e.offsets.popper, p = T(e.instance.modifiers, function (e) { return 'applyStyle' === e.name }).gpuAcceleration; void 0 !== p && console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); var s, d, a = void 0 === p ? t.gpuAcceleration : p, l = r(e.instance.popper), f = g(l), m = { position: n.position }, c = { left: _(n.left), top: _(n.top), bottom: _(n.bottom), right: _(n.right) }, h = 'bottom' === o ? 'top' : 'bottom', u = 'right' === i ? 'left' : 'right', b = B('transform'); if (d = 'bottom' == h ? -f.height + c.bottom : c.top, s = 'right' == u ? -f.width + c.right : c.left, a && b) m[b] = 'translate3d(' + s + 'px, ' + d + 'px, 0)', m[h] = 0, m[u] = 0, m.willChange = 'transform'; else { var y = 'bottom' == h ? -1 : 1, w = 'right' == u ? -1 : 1; m[h] = d * y, m[u] = s * w, m.willChange = h + ', ' + u } var E = { "x-placement": e.placement }; return e.attributes = de({}, E, e.attributes), e.styles = de({}, m, e.styles), e.arrowStyles = de({}, e.offsets.arrow, e.arrowStyles), e }, gpuAcceleration: !0, x: 'bottom', y: 'right' }, applyStyle: { order: 900, enabled: !0, fn: function (e) { return U(e.instance.popper, e.styles), Y(e.instance.popper, e.attributes), e.arrowElement && Ob
vendor: 51,411 bytes, lines 4-16
4ject.keys(e.arrowStyles).length && U(e.arrowElement, e.arrowStyles), e }, onLoad: function (e, t, o, i, n) { var r = x(n, t, e), p = v(o.placement, r, t, e, o.modifiers.flip.boundariesElement, o.modifiers.flip.padding); return t.setAttribute('x-placement', p), U(t, { position: 'absolute' }), o }, gpuAcceleration: void 0 } } }, me });
5//# sourceMappingURL=popper.min.js.map
6
7/* == jquery mousewheel plugin == Version: 3.1.13, License: MIT License (MIT) */
8!function (a) { "function" == typeof define && define.amd ? define(["jquery"], a) : "object" == typeof exports ? module.exports = a : a(jQuery) }(function (a) { function b(b) { var g = b || window.event, h = i.call(arguments, 1), j = 0, l = 0, m = 0, n = 0, o = 0, p = 0; if (b = a.event.fix(g), b.type = "mousewheel", "detail" in g && (m = -1 * g.detail), "wheelDelta" in g && (m = g.wheelDelta), "wheelDeltaY" in g && (m = g.wheelDeltaY), "wheelDeltaX" in g && (l = -1 * g.wheelDeltaX), "axis" in g && g.axis === g.HORIZONTAL_AXIS && (l = -1 * m, m = 0), j = 0 === m ? l : m, "deltaY" in g && (m = -1 * g.deltaY, j = m), "deltaX" in g && (l = g.deltaX, 0 === m && (j = -1 * l)), 0 !== m || 0 !== l) { if (1 === g.deltaMode) { var q = a.data(this, "mousewheel-line-height"); j *= q, m *= q, l *= q } else if (2 === g.deltaMode) { var r = a.data(this, "mousewheel-page-height"); j *= r, m *= r, l *= r } if (n = Math.max(Math.abs(m), Math.abs(l)), (!f || f > n) && (f = n, d(g, n) && (f /= 40)), d(g, n) && (j /= 40, l /= 40, m /= 40), j = Math[j >= 1 ? "floor" : "ceil"](j / f), l = Math[l >= 1 ? "floor" : "ceil"](l / f), m = Math[m >= 1 ? "floor" : "ceil"](m / f), k.settings.normalizeOffset && this.getBoundingClientRect) { var s = this.getBoundingClientRect(); o = b.clientX - s.left, p = b.clientY - s.top } return b.deltaX = l, b.deltaY = m, b.deltaFactor = f, b.offsetX = o, b.offsetY = p, b.deltaMode = 0, h.unshift(b, j, l, m), e && clearTimeout(e), e = setTimeout(c, 200), (a.event.dispatch || a.event.handle).apply(this, h) } } function c() { f = null } function d(a, b) { return k.settings.adjustOldDeltas && "mousewheel" === a.type && b % 120 === 0 } var e, f, g = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], h = "onwheel" in document || document.documentMode >= 9 ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"], i = Array.prototype.slice; if (a.event.fixHooks) for (var j = g.length; j;)a.event.fixHooks[g[--j]] = a.event.mouseHooks; var k = a.event.special.mousewheel = { version: "3.1.12", setup: function () { if (this.addEventListener) for (var c = h.length; c;)this.addEventListener(h[--c], b, !1); else this.onmousewheel = b; a.data(this, "mousewheel-line-height", k.getLineHeight(this)), a.data(this, "mousewheel-page-height", k.getPageHeight(this)) }, teardown: function () { if (this.removeEventListener) for (var c = h.length; c;)this.removeEventListener(h[--c], b, !1); else this.onmousewheel = null; a.removeData(this, "mousewheel-line-height"), a.removeData(this, "mousewheel-page-height") }, getLineHeight: function (b) { var c = a(b), d = c["offsetParent" in a.fn ? "offsetParent" : "parent"](); return d.length || (d = a("body")), parseInt(d.css("fontSize"), 10) || parseInt(c.css("fontSize"), 10) || 16 }, getPageHeight: function (b) { return a(b).height() }, settings: { adjustOldDeltas: !0, normalizeOffset: !0 } }; a.fn.extend({ mousewheel: function (a) { return a ? this.bind("mousewheel", a) : this.trigger("mousewheel") }, unmousewheel: function (a) { return this.unbind("mousewheel", a) } }) }); !function (a) { "function" == typeof define && define.amd ? define(["jquery"], a) : "object" == typeof exports ? module.exports = a : a(jQuery) }(function (a) { function b(b) { var g = b || window.event, h = i.call(arguments, 1), j = 0, l = 0, m = 0, n = 0, o = 0, p = 0; if (b = a.event.fix(g), b.type = "mousewheel", "detail" in g && (m = -1 * g.detail), "wheelDelta" in g && (m = g.wheelDelta), "wheelDeltaY" in g && (m = g.wheelDeltaY), "wheelDeltaX" in g && (l = -1 * g.wheelDeltaX), "axis" in g && g.axis === g.HORIZONTAL_AXIS && (l = -1 * m, m = 0), j = 0 === m ? l : m, "deltaY" in g && (m = -1 * g.deltaY, j = m), "deltaX" in g && (l = g.deltaX, 0 === m && (j = -1 * l)), 0 !== m || 0 !== l) { if (1 === g.deltaMode) { var q = a.data(this, "mousewheel-line-height"); j *= q, m *= q, l *= q } else if (2 === g.deltaMode) { var r = a.data(this, "mousewheel-page-height"); j *= r, m *= r, l *= r } if (n = Math.max(Math.abs(m), Math.abs(l)), (!f || f > n) && (f = n, d(g, n) && (f /= 40)), d(g, n) && (j /= 40, l /= 40, m /= 40), j = Math[j >= 1 ? "floor" : "ceil"](j / f), l = Math[l >= 1 ? "floor" : "ceil"](l / f), m = Math[m >= 1 ? "floor" : "ceil"](m / f), k.settings.normalizeOffset && this.getBoundingClientRect) { var s = this.getBoundingClientRect(); o = b.clientX - s.left, p = b.clientY - s.top } return b.deltaX = l, b.deltaY = m, b.deltaFactor = f, b.offsetX = o, b.offsetY = p, b.deltaMode = 0, h.unshift(b, j, l, m), e && clearTimeout(e), e = setTimeout(c, 200), (a.event.dispatch || a.event.handle).apply(this, h) } } function c() { f = null } function d(a, b) { return k.settings.adjustOldDeltas && "mousewheel" === a.type && b % 120 === 0 } var e, f, g = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], h = "onwheel" in document || document.documentMode >= 9 ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"], i = Array.prototype.slice; if (a.event.fixHooks) for (var j = g.length; j;)a.event.fixHooks[g[--j]] = a.event.mouseHooks; var k = a.event.special.mousewheel = { version: "3.1.12", setup: function () { if (this.addEventListener) for (var c = h.length; c;)this.addEventListener(h[--c], b, !1); else this.onmousewheel = b; a.data(this, "mousewheel-line-height", k.getLineHeight(this)), a.data(this, "mousewheel-page-height", k.getPageHeight(this)) }, teardown: function () { if (this.removeEventListener) for (var c = h.length; c;)this.removeEventListener(h[--c], b, !1); else this.onmousewheel = null; a.removeData(this, "mousewheel-line-height"), a.removeData(this, "mousewheel-page-height") }, getLineHeight: function (b) { var c = a(b), d = c["offsetParent" in a.fn ? "offsetParent" : "parent"](); return d.length || (d = a("body")), parseInt(d.css("fontSize"), 10) || parseInt(c.css("fontSize"), 10) || 16 }, getPageHeight: function (b) { return a(b).height() }, settings: { adjustOldDeltas: !0, normalizeOffset: !0 } }; a.fn.extend({ mousewheel: function (a) { return a ? this.bind("mousewheel", a) : this.trigger("mousewheel") }, unmousewheel: function (a) { return this.unbind("mousewheel", a) } }) });
9!function (e) { "undefined" != typeof module && module.exports ? module.exports = e : e(jQuery, window, document) }(function (e) {
10    !function (t) { var o = "function" == typeof define && define.amd, a = "undefined" != typeof module && module.exports, n = "https:" == document.location.protocol ? "https:" : "http:", i = "cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js"; o || (a ? require("jquery-mousewheel")(e) : e.event.special.mousewheel || e("head").append(decodeURI("%3Cscript src=" + n + "//" + i + "%3E%3C/script%3E"))), t() }(function () {
11        var t, o = "mCustomScrollbar", a = "mCS", n = ".mCustomScrollbar", i = { setTop: 0, setLeft: 0, axis: "y", scrollbarPosition: "inside", scrollInertia: 950, autoDraggerLength: !0, alwaysShowScrollbar: 0, snapOffset: 0, mouseWheel: { enable: !0, scrollAmount: "auto", axis: "y", deltaFactor: "auto", disableOver: ["select", "option", "keygen", "datalist", "textarea"] }, scrollButtons: { scrollType: "stepless", scrollAmount: "auto" }, keyboard: { enable: !0, scrollType: "stepless", scrollAmount: "auto" }, contentTouchScroll: 25, documentTouchScroll: !0, advanced: { autoScrollOnFocus: "input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']", updateOnContentResize: !0, updateOnImageLoad: "auto", autoUpdateTimeout: 60 }, theme: "light", callbacks: { onTotalScrollOffset: 0, onTotalScrollBackOffset: 0, alwaysTriggerOffsets: !0 } }, r = 0, l = {}, s = window.attachEvent && !window.addEventListener ? 1 : 0, c = !1, d = ["mCSB_dragger_onDrag", "mCSB_scrollTools_onDrag", "mCS_img_loaded", "mCS_disabled", "mCS_destroyed", "mCS_no_scrollbar", "mCS-autoHide", "mCS-dir-rtl", "mCS_no_scrollbar_y", "mCS_no_scrollbar_x", "mCS_y_hidden", "mCS_x_hidden", "mCSB_draggerContainer", "mCSB_buttonUp", "mCSB_buttonDown", "mCSB_buttonLeft", "mCSB_buttonRight"], u = { init: function (t) { var t = e.extend(!0, {}, i, t), o = f.call(this); if (t.live) { var s = t.liveSelector || this.selector || n, c = e(s); if ("off" === t.live) return void m(s); l[s] = setTimeout(function () { c.mCustomScrollbar(t), "once" === t.live && c.length && m(s) }, 500) } else m(s); return t.setWidth = t.set_width ? t.set_width : t.setWidth, t.setHeight = t.set_height ? t.set_height : t.setHeight, t.axis = t.horizontalScroll ? "x" : p(t.axis), t.scrollInertia = t.scrollInertia > 0 && t.scrollInertia < 17 ? 17 : t.scrollInertia, "object" != typeof t.mouseWheel && 1 == t.mouseWheel && (t.mouseWheel = { enable: !0, scrollAmount: "auto", axis: "y", preventDefault: !1, deltaFactor: "auto", normalizeDelta: !1, invert: !1 }), t.mouseWheel.scrollAmount = t.mouseWheelPixels ? t.mouseWheelPixels : t.mouseWheel.scrollAmount, t.mouseWheel.normalizeDelta = t.advanced.normalizeMouseWheelDelta ? t.advanced.normalizeMouseWheelDelta : t.mouseWheel.normalizeDelta, t.scrollButtons.scrollType = g(t.scrollButtons.scrollType), h(t), e(o).each(function () { var o = e(this); if (!o.data(a)) { o.data(a, { idx: ++r, opt: t, scrollRatio: { y: null, x: null }, overflowed: null, contentReset: { y: null, x: null }, bindEvents: !1, tweenRunning: !1, sequential: {}, langDir: o.css("direction"), cbOffsets: null, trigger: null, poll: { size: { o: 0, n: 0 }, img: { o: 0, n: 0 }, change: { o: 0, n: 0 } } }); var n = o.data(a), i = n.opt, l = o.data("mcs-axis"), s = o.data("mcs-scrollbar-position"), c = o.data("mcs-theme"); l && (i.axis = l), s && (i.scrollbarPosition = s), c && (i.theme = c, h(i)), v.call(this), n && i.callbacks.onCreate && "function" == typeof i.callbacks.onCreate && i.callbacks.onCreate.call(this), e("#mCSB_" + n.idx + "_container img:not(." + d[2] + ")").addClass(d[2]), u.update.call(null, o) } }) }, update: function (t, o) { var n = t || f.call(this); return e(n).each(function () { var t = e(this); if (t.data(a)) { var n = t.data(a), i = n.opt, r = e("#mCSB_" + n.idx + "_container"), l = e("#mCSB_" + n.idx), s = [e("#mCSB_" + n.idx + "_dragger_vertical"), e("#mCSB_" + n.idx + "_dragger_horizontal")]; if (!r.length) return; n.tweenRunning && N(t), o && n && i.callbacks.onBeforeUpdate && "function" == typeof i.callbacks.onBeforeUpdate && i.callbacks.onBeforeUpdate.call(this), t.hasClass(d[3]) && t.removeClass(d[3]), t.hasClass(d[4]) && t.removeClass(d[4]), l.css("max-height", "none"), l.height() !== t.height() && l.css("max-height", t.height()), _.call(this), "y" === i.axis || i.advanced.autoExpandHorizontalScroll || r.css("width", x(r)), n.overflowed = y.call(this), M.call(this), i.autoDraggerLength && S.call(this), b.call(this), T.call(this); var c = [Math.abs(r[0].offsetTop), Math.abs(r[0].offsetLeft)]; "x" !== i.axis && (n.overflowed[0] ? s[0].height() > s[0].parent().height() ? B.call(this) : (V(t, c[0].toString(), { dir: "y", dur: 0, overwrite: "none" }), n.contentReset.y = null) : (B.call(this), "y" === i.axis ? k.call(this) : "yx" === i.axis && n.overflowed[1] && V(t, c[1].toString(), { dir: "x", dur: 0, overwrite: "none" }))), "y" !== i.axis && (n.overflowed[1] ? s[1].width() > s[1].parent().width() ? B.call(this) : (V(t, c[1].toString(), { dir: "x", dur: 0, overwrite: "none" }), n.contentReset.x = null) : (B.call(this), "x" === i.axis ? k.call(this) : "yx" === i.axis && n.overflowed[0] && V(t, c[0].toString(), { dir: "y", dur: 0, overwrite: "none" }))), o && n && (2 === o && i.callbacks.onImageLoad && "function" == typeof i.callbacks.onImageLoad ? i.callbacks.onImageLoad.call(this) : 3 === o && i.callbacks.onSelectorChange && "function" == typeof i.callbacks.onSelectorChange ? i.callbacks.onSelectorChange.call(this) : i.callbacks.onUpdate && "function" == typeof i.callbacks.onUpdate && i.callbacks.onUpdate.call(this)), X.call(this) } }) }, scrollTo: function (t, o) { if ("undefined" != typeof t && null != t) { var n = f.call(this); return e(n).each(function () { var n = e(this); if (n.data(a)) { var i = n.data(a), r = i.opt, l = { trigger: "external", scrollInertia: r.scrollInertia, scrollEasing: "mcsEaseInOut", moveDragger: !1, timeout: 60, callbacks: !0, onStart: !0, onUpdate: !0, onComplete: !0 }, s = e.extend(!0, {}, l, o), c = q.call(this, t), d = s.scrollInertia > 0 && s.scrollInertia < 17 ? 17 : s.scrollInertia; c[0] = Y.call(this, c[0], "y"), c[1] = Y.call(this, c[1], "x"), s.moveDragger && (c[0] *= i.scrollRatio.y, c[1] *= i.scrollRatio.x), s.dur = oe() ? 0 : d, setTimeout(function () { null !== c[0] && "undefined" != typeof c[0] && "x" !== r.axis && i.overflowed[0] && (s.dir = "y", s.overwrite = "all", V(n, c[0].toString(), s)), null !== c[1] && "undefined" != typeof c[1] && "y" !== r.axis && i.overflowed[1] && (s.dir = "x", s.overwrite = "none", V(n, c[1].toString(), s)) }, s.timeout) } }) } }, stop: function () { var t = f.call(this); return e(t).each(function () { var t = e(this); t.data(a) && N(t) }) }, disable: function (t) { var o = f.call(this); return e(o).each(function () { var o = e(this); if (o.data(a)) { { o.data(a) } X.call(this, "remove"), k.call(this), t && B.call(this), M.call(this, !0), o.addClass(d[3]) } }) }, destroy: function () { var t = f.call(this); return e(t).each(function () { var n = e(this); if (n.data(a)) { var i = n.data(a), r = i.opt, l = e("#mCSB_" + i.idx), s = e("#mCSB_" + i.idx + "_container"), c = e(".mCSB_" + i.idx + "_scrollbar"); r.live && m(r.liveSelector || e(t).selector), X.call(this, "remove"), k.call(this), B.call(this), n.removeData(a), K(this, "mcs"), c.remove(), s.find("img." + d[2]).removeClass(d[2]), l.replaceWith(s.contents()), n.removeClass(o + " _" + a + "_" + i.idx + " " + d[6] + " " + d[7] + " " + d[5] + " " + d[3]).addClass(d[4]) } }) } }, f = function () { return "object" != typeof e(this) || e(this).length < 1 ? n : this }, h = function (t) { var o = ["rounded", "rounded-dark", "rounded-dots", "rounded-dots-dark"], a = ["rounded-dots", "rounded-dots-dark", "3d", "3d-dark", "3d-thick", "3d-thick-dark", "inset", "inset-dark", "inset-2", "inset-2-dark", "inset-3", "inset-3-dark"], n = ["minimal", "minimal-dark"], i = ["minimal", "minimal-dark"], r = ["minimal", "minimal-dark"]; t.autoDraggerLength = e.inArray(t.theme, o) > -1 ? !1 : t.autoDraggerLength, t.autoExpandScrollbar = e.inArray(t.theme, a) > -1 ? !1 : t.autoExpandScrollbar, t.scrollButtons.enable = e.inArray(t.theme, n) > -1 ? !1 : t.scrollButtons.enable, t.autoHideScrollbar = e.inArray(t.theme, i) > -1 ? !0 : t.autoHideScrollbar, t.scrollbarPosition = e.inArray(t.theme, r) > -1 ? "outside" : t.scrollbarPosition }, m = function (e) { l[e] && (clearTimeout(l[e]), K(l, e)) }, p = function (e) { return "yx" === e || "xy" === e || "auto" === e ? "yx" : "x" === e || "horizontal" === e ? "x" : "y" }, g = function (e) { return "stepped" === e || "pixels" === e || "step" === e || "click" === e ? "stepped" : "stepless" }, v = function () { var t = e(this), n = t.data(a), i = n.opt, r = i.autoExpandScrollbar ? " " + d[1] + "_expand" : "", l = ["<div id='mCSB_" + n.idx + "_scrollbar_vertical' class='mCSB_scrollTools mCSB_" + n.idx + "_scrollbar mCS-" + i.theme + " mCSB_scrollTools_vertical" + r + "'><div class='" + d[12] + "'><div id='mCSB_" + n.idx + "_dragger_vertical' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>", "<div id='mCSB_" + n.idx + "_scrollbar_horizontal' class='mCSB_scrollTools mCSB_" + n.idx + "_scrollbar mCS-" + i.theme + " mCSB_scrollTools_horizontal" + r + "'><div class='" + d[12] + "'><div id='mCSB_" + n.idx + "_dragger_horizontal' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"], s = "yx" === i.axis ? "mCSB_vertical_horizontal" : "x" === i.axis ? "mCSB_horizontal" : "mCSB_vertical", c = "yx" === i.axis ? l[0] + l[1] : "x" === i.axis ? l[1] : l[0], u = "yx" === i.axis ? "<div id='mCSB_" + n.idx + "_container_wrapper' class='mCSB_container_wrapper' />" : "", f = i.autoHideScrollbar ? " " + d[6] : "", h = "x" !== i.axis && "rtl" === n.langDir ? " " + d[7] : ""; i.setWidth && t.css("width", i.setWidth), i.setHeight && t.css("height", i.setHeight), i.setLeft = "y" !== i.axis && "rtl" === n.langDir ? "989999px" : i.setLeft, t.addClass(o + " _" + a + "_" + n.idx + f + h).wrapInner("<div id='mCSB_" + n.idx + "' class='mCustomScrollBox mCS-" + i.theme + " " + s + "'><div id='mCSB_" + n.idx + "_container' class='mCSB_container' style='position:relative; top:" + i.setTop + "; left:" + i.setLeft + ";' dir=" + n.langDir + " /></div>"); var m = e("#mCSB_" + n.idx), p = e("#mCSB_" + n.idx + "_container"); "y" === i.axis || i.advanced.autoExpandHorizontalScroll || p.css("width", x(p)), "outside" === i.scrollbarPosition ? ("static" === t.css("position") && t.css("position", "relative"), t.css("overflow", "visible"), m.addClass("mCSB_outside").after(c)) : (m.addClass("mCSB_inside").append(c), p.wrap(u)), w.call(this); var g = [e("#mCSB_" + n.idx + "_dragger_vertical"), e("#mCSB_" + n.idx + "_dragger_horizontal")]; g[0].css("min-height", g[0].height()), g[1].css("min-width", g[1].width()) }, x = function (t) { var o = [t[0].scrollWidth, Math.max.apply(Math, t.children().map(function () { return e(this).outerWidth(!0) }).get())], a = t.parent().width(); return o[0] > a ? o[0] : o[1] > a ? o[1] : "100%" }, _ = function () { var t = e(this), o = t.data(a), n = o.opt, i = e("#mCSB_" + o.idx + "_container"); if (n.advanced.autoExpandHorizontalScroll && "y" !== n.axis) { i.css({ width: "auto", "min-width": 0, "overflow-x": "scroll" }); var r = Math.ceil(i[0].scrollWidth); 3 === n.advanced.autoExpandHorizontalScroll || 2 !== n.advanced.autoExpandHorizontalScroll && r > i.parent().width() ? i.css({ width: r, "min-width": "100%", "overflow-x": "inherit" }) : i.css({ "overflow-x": "inherit", position: "absolute" }).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({ width: Math.ceil(i[0].getBoundingClientRect().right + .4) - Math.floor(i[0].getBoundingClientRect().left), "min-width": "100%", position: "relative" }).unwrap() } }, w = function () { var t = e(this), o = t.data(a), n = o.opt, i = e(".mCSB_" + o.idx + "_scrollbar:first"), r = ee(n.scrollButtons.tabindex) ? "tabindex='" + n.scrollButtons.tabindex + "'" : "", l = ["<a href='#' class='" + d[13] + "' oncontextmenu='return false;' " + r + " />", "<a href='#' class='" + d[14] + "' oncontextmenu='return false;' " + r + " />", "<a href='#' class='" + d[15] + "' oncontextmenu='return false;' " + r + " />", "<a href='#' class='" + d[16] + "' oncontextmenu='return false;' " + r + " />"], s = ["x" === n.axis ? l[2] : l[0], "x" === n.axis ? l[3] : l[1], l[2], l[3]]; n.scrollButtons.enable && i.prepend(s[0]).append(s[1]).next(".mCSB_scrollTools").prepend(s[2]).append(s[3]) }, S = function () { var t = e(this), o = t.data(a), n = e("#mCSB_" + o.idx), i = e("#mCSB_" + o.idx + "_container"), r = [e("#mCSB_" + o.idx + "_dragger_vertical"), e("#mCSB_" + o.idx + "_dragger_horizontal")], l = [n.height() / i.outerHeight(!1), n.width() / i.outerWidth(!1)], c = [parseInt(r[0].css("min-height")), Math.round(l[0] * r[0].parent().height()), parseInt(r[1].css("min-width")), Math.round(l[1] * r[1].parent().width())], d = s && c[1] < c[0] ? c[0] : c[1], u = s && c[3] < c[2] ? c[2] : c[3]; r[0].css({ height: d, "max-height": r[0].parent().height() - 10 }).find(".mCSB_dragger_bar").css({ "line-height": c[0] + "px" }), r[1].css({ width: u, "max-width": r[1].parent().width() - 10 }) }, b = function () { var t = e(this), o = t.data(a), n = e("#mCSB_" + o.idx), i = e("#mCSB_" + o.idx + "_container"), r = [e("#mCSB_" + o.idx + "_dragger_vertical"), e("#mCSB_" + o.idx + "_dragger_horizontal")], l = [i.outerHeight(!1) - n.height(), i.outerWidth(!1) - n.width()], s = [l[0] / (r[0].parent().height() - r[0].height()), l[1] / (r[1].parent().width() - r[1].width())]; o.scrollRatio = { y: s[0], x: s[1] } }, C = function (e, t, o) { var a = o ? d[0] + "_expanded" : "", n = e.closest(".mCSB_scrollTools"); "active" === t ? (e.toggleClass(d[0] + " " + a), n.toggleClass(d[1]), e[0]._draggable = e[0]._draggable ? 0 : 1) : e[0]._draggable || ("hide" === t ? (e.removeClass(d[0]), n.removeClass(d[1])) : (e.addClass(d[0]), n.addClass(d[1]))) }, y = function () { var t = e(this), o = t.data(a), n = e("#mCSB_" + o.idx), i = e("#mCSB_" + o.idx + "_container"), r = null == o.overflowed ? i.height() : i.outerHeight(!1), l = null == o.overflowed ? i.width() : i.outerWidth(!1), s = i[0].scrollHeight, c = i[0].scrollWidth; return s > r && (r = s), c > l && (l = c), [r > n.height(), l > n.width()] }, B = function () { var t = e(this), o = t.data(a), n = o.opt, i = e("#mCSB_" + o.idx), r = e("#mCSB_" + o.idx + "_container"), l = [e("#mCSB_" + o.idx + "_dragger_vertical"), e("#mCSB_" + o.idx + "_dragger_horizontal")]; if (N(t), ("x" !== n.axis && !o.overflowed[0] || "y" === n.axis && o.overflowed[0]) && (l[0].add(r).css("top", 0), V(t, "_resetY")), "y" !== n.axis && !o.overflowed[1] || "x" === n.axis && o.overflowed[1]) { var s = dx = 0; "rtl" === o.langDir && (s = i.width() - r.outerWidth(!1), dx = Math.abs(s / o.scrollRatio.x)), r.css("left", s), l[1].css("left", dx), V(t, "_resetX") } }, T = function () { function t() { r = setTimeout(function () { e.event.special.mousewheel ? (clearTimeout(r), R.call(o[0])) : t() }, 100) } var o = e(this), n = o.data(a), i = n.opt; if (!n.bindEvents) { if (I.call(this), i.contentTouchScroll && D.call(this), E.call(this), i.mouseWheel.enable) { var r; t() } L.call(this), P.call(this), i.advanced.autoScrollOnFocus && z.call(this), i.scrollButtons.enable && H.call(this), i.keyboard.enable && U.call(this), n.bindEvents = !0 } }, k = function () { var t = e(this), o = t.data(a), n = o.opt, i = a + "_" + o.idx, r = ".mCSB_" + o.idx + "_scrollbar", l = e("#mCSB_" + o.idx + ",#mCSB_" + o.idx + "_container,#mCSB_" + o.idx + "_container_wrapper," + r + " ." + d[12] + ",#mCSB_" + o.idx + "_dragger_vertical,#mCSB_" + o.idx + "_dragger_horizontal," + r + ">a"), s = e("#mCSB_" + o.idx + "_container"); n.advanced.releaseDraggableSelectors && l.add(e(n.advanced.releaseDraggableSelectors)), n.advanced.extraDraggableSelectors && l.add(e(n.advanced.extraDraggableSelectors)), o.bindEvents && (e(document).add(e(!W() || top.document)).unbind("." + i), l.each(function () { e(this).unbind("." + i) }), clearTimeout(t[0]._focusTimeout), K(t[0], "_focusTimeout"), clearTimeout(o.sequential.step), K(o.sequential, "step"), clearTimeout(s[0].onCompleteTimeout), K(s[0], "onCompleteTimeout"), o.bindEvents = !1) }, M = function (t) { var o = e(this), n = o.data(a), i = n.opt, r = e("#mCSB_" + n.idx + "_container_wrapper"), l = r.length ? r : e("#mCSB_" + n.idx + "_container"), s = [e("#mCSB_" + n.idx + "_scrollbar_vertical"), e("#mCSB_" + n.idx + "_scrollbar_horizontal")], c = [s[0].find(".mCSB_dragger"), s[1].find(".mCSB_dragger")]; "x" !== i.axis && (n.overflowed[0] && !t ? (s[0].add(c[0]).add(s[0].children("a")).css("display", "block"), l.removeClass(d[8] + " " + d[10])) : (i.alwaysShowScrollbar ? (2 !== i.alwaysShowScrollbar && c[0].css("display", "none"), l.removeClass(d[10])) : (s[0].css("display", "none"), l.addClass(d[10])), l.addClass(d[8]))), "y" !== i.axis && (n.overflowed[1] && !t ? (s[1].add(c[1]).add(s[1].children("a")).css("display", "block"), l.removeClass(d[9] + " " + d[11])) : (i.alwaysShowScrollbar ? (2 !== i.alwaysShowScrollbar && c[1].css("display", "none"), l.removeClass(d[11])) : (s[1].css("display", "none"), l.addClass(d[11])), l.addClass(d[9]))), n.overflowed[0] || n.overflowed[1] ? o.removeClass(d[5]) : o.addClass(d[5]) }, O = function (t) { var o = t.type, a = t.target.ownerDocument !== document ? [e(frameElement).offset().top, e(frameElement).offset().left] : null, n = W() && t.target.ownerDocument !== top.document ? [e(t.view.frameElement).offset().top, e(t.view.frameElement).offset().left] : [0, 0]; switch (o) { case "pointerdown": case "MSPointerDown": case "pointermove": case "MSPointerMove": case "pointerup": case "MSPointerUp": return a ? [t.originalEvent.pageY - a[0] + n[0], t.originalEvent.pageX - a[1] + n[1], !1] : [t.originalEvent.pageY, t.originalEvent.pageX, !1]; case "touchstart": case "touchmove": case "touchend": var i = t.originalEvent.touches[0] || t.originalEvent.changedTouches[0], r = t.originalEvent.touches.length || t.originalEvent.changedTouches.length; return t.target.ownerDocument !== document ? [i.screenY, i.screenX, r > 1] : [i.pageY, i.pageX, r > 1]; default: return a ? [t.pageY - a[0] + n[0], t.pageX - a[1] + n[1], !1] : [t.pageY, t.pageX, !1] } }, I = function () { function t(e) { var t = m.find("iframe"); if (t.length) { var o = e ? "auto" : "none"; t.css("pointer-events", o) } } function o(e, t, o, a) { if (m[0].idleTimer = u.scrollInertia < 233 ? 250 : 0, n.attr("id") === h[1]) var i = "x", r = (n[0].offsetLeft - t + a) * d.scrollRatio.x; else var i = "y", r = (n[0].offsetTop - e + o) * d.scrollRatio.y; V(l, r.toString(), { dir: i, drag: !0 }) } var n, i, r, l = e(this), d = l.data(a), u = d.opt, f = a + "_" + d.idx, h = ["mCSB_" + d.idx + "_dragger_vertical", "mCSB_" + d.idx + "_dragger_horizontal"], m = e("#mCSB_" + d.idx + "_container"), p = e("#" + h[0] + ",#" + h[1]), g = u.advanced.releaseDraggableSelectors ? p.add(e(u.advanced.releaseDraggableSelectors)) : p, v = u.advanced.extraDraggableSelectors ? e(!W() || top.document).add(e(u.advanced.extraDraggableSelectors)) : e(!W() || top.document); p.bind("mousedown." + f + " touchstart." + f + " pointerdown." + f + " MSPointerDown." + f, function (o) { if (o.stopImmediatePropagation(), o.preventDefault(), Z(o)) { c = !0, s && (document.onselectstart = function () { return !1 }), t(!1), N(l), n = e(this); var a = n.offset(), d = O(o)[0] - a.top, f = O(o)[1] - a.left, h = n.height() + a.top, m = n.width() + a.left; h > d && d > 0 && m > f && f > 0 && (i = d, r = f), C(n, "active", u.autoExpandScrollbar) } }).bind("touchmove." + f, function (e) { e.stopImmediatePropagation(), e.preventDefault(); var t = n.offset(), a = O(e)[0] - t.top, l = O(e)[1] - t.left; o(i, r, a, l) }), e(document).add(v).bind("mousemove." + f + " pointermove." + f + " MSPointerMove." + f, function (e) { if (n) { var t = n.offset(), a = O(e)[0] - t.top, l = O(e)[1] - t.left; if (i === a && r === l) return; o(i, r, a, l) } }).add(g).bind("mouseup." + f + " touchend." + f + " pointerup." + f + " MSPointerUp." + f, function (e) { n && (C(n, "active", u.autoExpandScrollbar), n = null), c = !1, s && (document.onselectstart = null), t(!0) }) }, D = function () { function o(e) { if (!$(e) || c || O(e)[2]) return void (t = 0); t = 1, b = 0, C = 0, d = 1, y.removeClass("mCS_touch_action"); var o = I.offset(); u = O(e)[0] - o.top, f = O(e)[1] - o.left, z = [O(e)[0], O(e)[1]] } function n(e) { if ($(e) && !c && !O(e)[2] && (T.documentTouchScroll || e.preventDefault(), e.stopImmediatePropagation(), (!C || b) && d)) { g = G(); var t = M.offset(), o = O(e)[0] - t.top, a = O(e)[1] - t.left, n = "mcsLinearOut"; if (E.push(o), R.push(a), z[2] = Math.abs(O(e)[0] - z[0]), z[3] = Math.abs(O(e)[1] - z[1]), B.overflowed[0]) var i = D[0].parent().height() - D[0].height(), r = u - o > 0 && o - u > -(i * B.scrollRatio.y) && (2 * z[3] < z[2] || "yx" === T.axis); if (B.overflowed[1]) var l = D[1].parent().width() - D[1].width(), h = f - a > 0 && a - f > -(l * B.scrollRatio.x) && (2 * z[2] < z[3] || "yx" === T.axis); r || h ? (U || e.preventDefault(), b = 1) : (C = 1, y.addClass("mCS_touch_action")), U && e.preventDefault(), w = "yx" === T.axis ? [u - o, f - a] : "x" === T.axis ? [null, f - a] : [u - o, null], I[0].idleTimer = 250, B.overflowed[0] && s(w[0], A, n, "y", "all", !0), B.overflowed[1] && s(w[1], A, n, "x", L, !0) } } function i(e) { if (!$(e) || c || O(e)[2]) return void (t = 0); t = 1, e.stopImmediatePropagation(), N(y), p = G(); var o = M.offset(); h = O(e)[0] - o.top, m = O(e)[1] - o.left, E = [], R = [] } function r(e) { if ($(e) && !c && !O(e)[2]) { d = 0, e.stopImmediatePropagation(), b = 0, C = 0, v = G(); var t = M.offset(), o = O(e)[0] - t.top, a = O(e)[1] - t.left; if (!(v - g > 30)) { _ = 1e3 / (v - p); var n = "mcsEaseOut", i = 2.5 > _, r = i ? [E[E.length - 2], R[R.length - 2]] : [0, 0]; x = i ? [o - r[0], a - r[1]] : [o - h, a - m]; var u = [Math.abs(x[0]), Math.abs(x[1])]; _ = i ? [Math.abs(x[0] / 4), Math.abs(x[1] / 4)] : [_, _]; var f = [Math.abs(I[0].offsetTop) - x[0] * l(u[0] / _[0], _[0]), Math.abs(I[0].offsetLeft) - x[1] * l(u[1] / _[1], _[1])]; w = "yx" === T.axis ? [f[0], f[1]] : "x" === T.axis ? [null, f[1]] : [f[0], null], S = [4 * u[0] + T.scrollInertia, 4 * u[1] + T.scrollInertia]; var y = parseInt(T.contentTouchScroll) || 0; w[0] = u[0] > y ? w[0] : 0, w[1] = u[1] > y ? w[1] : 0, B.overflowed[0] && s(w[0], S[0], n, "y", L, !1), B.overflowed[1] && s(w[1], S[1], n, "x", L, !1) } } } function l(e, t) { var o = [1.5 * t, 2 * t, t / 1.5, t / 2]; return e > 90 ? t > 4 ? o[0] : o[3] : e > 60 ? t > 3 ? o[3] : o[2] : e > 30 ? t > 8 ? o[1] : t > 6 ? o[0] : t > 4 ? t : o[2] : t > 8 ? t : o[3] } function s(e, t, o, a, n, i) { e && V(y, e.toString(), { dur: t, scrollEasing: o, dir: a, overwrite: n, drag: i }) } var d, u, f, h, m, p, g, v, x, _, w, S, b, C, y = e(this), B = y.data(a), T = B.opt, k = a + "_" + B.idx, M = e("#mCSB_" + B.idx), I = e("#mCSB_" + B.idx + "_container"), D = [e("#mCSB_" + B.idx + "_dragger_vertical"), e("#mCSB_" + B.idx + "_dragger_horizontal")], E = [], R = [], A = 0, L = "yx" === T.axis ? "none" : "all", z = [], P = I.find("iframe"), H = ["touchstart." + k + " pointerdown." + k + " MSPointerDown." + k, "touchmove." + k + " pointermove." + k + " MSPointerMove." + k, "touchend." + k + " pointerup." + k + " MSPointerUp." + k], U = void 0 !== document.body.style.touchAction; I.bind(H[0], function (e) { o(e) }).bind(H[1], function (e) { n(e) }), M.bind(H[0], function (e) { i(e) }).bind(H[2], function (e) { r(e) }), P.length && P.each(function () { e(this).load(function () { W(this) && e(this.contentDocument || this.contentWindow.document).bind(H[0], function (e) { o(e), i(e) }).bind(H[1], function (e) { n(e) }).bind(H[2], function (e) { r(e) }) }) }) }, E = function () { function o() { return window.getSelection ? window.getSelection().toString() : document.selection && "Control" != document.selection.type ? document.selection.createRange().text : 0 } function n(e, t, o) { d.type = o && i ? "stepped" : "stepless", d.scrollAmount = 10, F(r, e, t, "mcsLinearOut", o ? 60 : null) } var i, r = e(this), l = r.data(a), s = l.opt, d = l.sequential, u = a + "_" + l.idx, f = e("#mCSB_" + l.idx + "_container"), h = f.parent(); f.bind("mousedown." + u, function (e) { t || i || (i = 1, c = !0) }).add(document).bind("mousemove." + u, function (e) { if (!t && i && o()) { var a = f.offset(), r = O(e)[0] - a.top + f[0].offsetTop, c = O(e)[1] - a.left + f[0].offsetLeft; r > 0 && r < h.height() && c > 0 && c < h.width() ? d.step && n("off", null, "stepped") : ("x" !== s.axis && l.overflowed[0] && (0 > r ? n("on", 38) : r > h.height() && n("on", 40)), "y" !== s.axis && l.overflowed[1] && (0 > c ? n("on", 37) : c > h.width() && n("on", 39))) } }).bind("mouseup." + u + " dragend." + u, function (e) { t || (i && (i = 0, n("off", null)), c = !1) }) }, R = function () { function t(t, a) { if (N(o), !A(o, t.target)) { var r = "auto" !== i.mouseWheel.deltaFactor ? parseInt(i.mouseWheel.deltaFactor) : s && t.deltaFactor < 100 ? 100 : t.deltaFactor || 100, d = i.scrollInertia; if ("x" === i.axis || "x" === i.mouseWheel.axis) var u = "x", f = [Math.round(r * n.scrollRatio.x), parseInt(i.mouseWheel.scrollAmount)], h = "auto" !== i.mouseWheel.scrollAmount ? f[1] : f[0] >= l.width() ? .9 * l.width() : f[0], m = Math.abs(e("#mCSB_" + n.idx + "_container")[0].offsetLeft), p = c[1][0].offsetLeft, g = c[1].parent().width() - c[1].width(), v = t.deltaX || t.deltaY || a; else var u = "y", f = [Math.round(r * n.scrollRatio.y), parseInt(i.mouseWheel.scrollAmount)], h = "auto" !== i.mouseWheel.scrollAmount ? f[1] : f[0] >= l.height() ? .9 * l.height() : f[0], m = Math.abs(e("#mCSB_" + n.idx + "_container")[0].offsetTop), p = c[0][0].offsetTop, g = c[0].parent().height() - c[0].height(), v = t.deltaY || a; "y" === u && !n.overflowed[0] || "x" === u && !n.overflowed[1] || ((i.mouseWheel.invert || t.webkitDirectionInvertedFromDevice) && (v = -v), i.mouseWheel.normalizeDelta && (v = 0 > v ? -1 : 1), (v > 0 && 0 !== p || 0 > v && p !== g || i.mouseWheel.preventDefault) && (t.stopImmediatePropagation(), t.preventDefault()), t.deltaFactor < 2 && !i.mouseWheel.normalizeDelta && (h = t.deltaFactor, d = 17), V(o, (m - v * h).toString(), { dir: u, dur: d })) } } if (e(this).data(a)) { var o = e(this), n = o.data(a), i = n.opt, r = a + "_" + n.idx, l = e("#mCSB_" + n.idx), c = [e("#mCSB_" + n.idx + "_dragger_vertical"), e("#mCSB_" + n.idx + "_dragger_horizontal")], d = e("#mCSB_" + n.idx + "_container").find("iframe"); d.length && d.each(function () { e(this).load(function () { W(this) && e(this.contentDocument || this.contentWindow.document).bind("mousewheel." + r, function (e, o) { t(e, o) }) }) }), l.bind("mousewheel." + r, function (e, o) { t(e, o) }) } }, W = function (e) { var t = null; if (e) { try { var o = e.contentDocument || e.contentWindow.document; t = o.body.innerHTML } catch (a) { } return null !== t } try { var o = top.document; t = o.body.innerHTML } catch (a) { } return null !== t }, A = function (t, o) { var n = o.nodeName.toLowerCase(), i = t.data(a).opt.mouseWheel.disableOver, r = ["select", "textarea"]; return e.inArray(n, i) > -1 && !(e.inArray(n, r) > -1 && !e(o).is(":focus")) }, L = function () { var t, o = e(this), n = o.data(a), i = a + "_" + n.idx, r = e("#mCSB_" + n.idx + "_container"), l = r.parent(), s = e(".mCSB_" + n.idx + "_scrollbar ." + d[12]); s.bind("mousedown." + i + " touchstart." + i + " pointerdown." + i + " MSPointerDown." + i, function (o) { c = !0, e(o.target).hasClass("mCSB_dragger") || (t = 1) }).bind("touchend." + i + " pointerup." + i + " MSPointerUp." + i, function (e) { c = !1 }).bind("click." + i, function (a) { if (t && (t = 0, e(a.target).hasClass(d[12]) || e(a.target).hasClass("mCSB_draggerRail"))) { N(o); var i = e(this), s = i.find(".mCSB_dragger"); if (i.parent(".mCSB_scrollTools_horizontal").length > 0) { if (!n.overflowed[1]) return; var c = "x", u = a.pageX > s.offset().left ? -1 : 1, f = Math.abs(r[0].offsetLeft) - .9 * u * l.width() } else { if (!n.overflowed[0]) return; var c = "y", u = a.pageY > s.offset().top ? -1 : 1, f = Math.abs(r[0].offsetTop) - .9 * u * l.height() } V(o, f.toString(), { dir: c, scrollEasing: "mcsEaseInOut" }) } }) }, z = function () { var t = e(this), o = t.data(a), n = o.opt, i = a + "_" + o.idx, r = e("#mCSB_" + o.idx + "_container"), l = r.parent(); r.bind("focusin." + i, function (o) { var a = e(document.activeElement), i = r.find(".mCustomScrollBox").length, s = 0; a.is(n.advanced.autoScrollOnFocus) && (N(t), clearTimeout(t[0]._focusTimeout), t[0]._focusTimer = i ? (s + 17) * i : 0, t[0]._focusTimeout = setTimeout(function () { var e = [te(a)[0], te(a)[1]], o = [r[0].offsetTop, r[0].offsetLeft], i = [o[0] + e[0] >= 0 && o[0] + e[0] < l.height() - a.outerHeight(!1), o[1] + e[1] >= 0 && o[0] + e[1] < l.width() - a.outerWidth(!1)], c = "yx" !== n.axis || i[0] || i[1] ? "all" : "none"; "x" === n.axis || i[0] || V(t, e[0].toString(), { dir: "y", scrollEasing: "mcsEaseInOut", overwrite: c, dur: s }), "y" === n.axis || i[1] || V(t, e[1].toString(), { dir: "x", scrollEasing: "mcsEaseInOut", overwrite: c, dur: s }) }, t[0]._focusTimer)) }) }, P = function () { var t = e(this), o = t.data(a), n = a + "_" + o.idx, i = e("#mCSB_" + o.idx + "_container").parent(); i.bind("scroll." + n, function (t) { (0 !== i.scrollTop() || 0 !== i.scrollLeft()) && e(".mCSB_" + o.idx + "_scrollbar").css("visibility", "hidden") }) }, H = function () { var t = e(this), o = t.data(a), n = o.opt, i = o.sequential, r = a + "_" + o.idx, l = ".mCSB_" + o.idx + "_scrollbar", s = e(l + ">a"); s.bind("mousedown." + r + " touchstart." + r + " pointerdown." + r + " MSPointerDown." + r + " mouseup." + r + " touchend." + r + " pointerup." + r + " MSPointerUp." + r + " mouseout." + r + " pointerout." + r + " MSPointerOut." + r + " click." + r, function (a) { function r(e, o) { i.scrollAmount = n.scrollButtons.scrollAmount, F(t, e, o) } if (a.preventDefault(), Z(a)) { var l = e(this).attr("class"); switch (i.type = n.scrollButtons.scrollType, a.type) { case "mousedown": case "touchstart": case "pointerdown": case "MSPointerDown": if ("stepped" === i.type) return; c = !0, o.tweenRunning = !1, r("on", l); break; case "mouseup": case "touchend": case "pointerup": case "MSPointerUp": case "mouseout": case "pointerout": case "MSPointerOut": if ("stepped" === i.type) return; c = !1, i.dir && r("off", l); break; case "click": if ("stepped" !== i.type || o.tweenRunning) return; r("on", l) } } }) }, U = function () { function t(t) { function a(e, t) { r.type = i.keyboard.scrollType, r.scrollAmount = i.keyboard.scrollAmount, "stepped" === r.type && n.tweenRunning || F(o, e, t) } switch (t.type) { case "blur": n.tweenRunning && r.dir && a("off", null); break; case "keydown": case "keyup": var l = t.keyCode ? t.keyCode : t.which, s = "on"; if ("x" !== i.axis && (38 === l || 40 === l) || "y" !== i.axis && (37 === l || 39 === l)) { if ((38 === l || 40 === l) && !n.overflowed[0] || (37 === l || 39 === l) && !n.overflowed[1]) return; "keyup" === t.type && (s = "off"), e(document.activeElement).is(u) || (t.preventDefault(), t.stopImmediatePropagation(), a(s, l)) } else if (33 === l || 34 === l) { if ((n.overflowed[0] || n.overflowed[1]) && (t.preventDefault(), t.stopImmediatePropagation()), "keyup" === t.type) { N(o); var f = 34 === l ? -1 : 1; if ("x" === i.axis || "yx" === i.axis && n.overflowed[1] && !n.overflowed[0]) var h = "x", m = Math.abs(c[0].offsetLeft) - .9 * f * d.width(); else var h = "y", m = Math.abs(c[0].offsetTop) - .9 * f * d.height(); V(o, m.toString(), { dir: h, scrollEasing: "mcsEaseInOut" }) } } else if ((35 === l || 36 === l) && !e(document.activeElement).is(u) && ((n.overflowed[0] || n.overflowed[1]) && (t.preventDefault(), t.stopImmediatePropagation()), "keyup" === t.type)) { if ("x" === i.axis || "yx" === i.axis && n.overflowed[1] && !n.overflowed[0]) var h = "x", m = 35 === l ? Math.abs(d.width() - c.outerWidth(!1)) : 0; else var h = "y", m = 35 === l ? Math.abs(d.height() - c.outerHeight(!1)) : 0; V(o, m.toString(), { dir: h, scrollEasing: "mcsEaseInOut" }) } } } var o = e(this), n = o.data(a), i = n.opt, r = n.sequential, l = a + "_" + n.idx, s = e("#mCSB_" + n.idx), c = e("#mCSB_" + n.idx + "_container"), d = c.parent(), u = "input,textarea,select,datalist,keygen,[contenteditable='true']", f = c.find("iframe"), h = ["blur." + l + " keydown." + l + " keyup." + l]; f.length && f.each(function () { e(this).load(function () { W(this) && e(this.contentDocument || this.contentWindow.document).bind(h[0], function (e) { t(e) }) }) }), s.attr("tabindex", "0").bind(h[0], function (e) { t(e) }) }, F = function (t, o, n, i, r) { function l(e) { u.snapAmount && (f.scrollAmount = u.snapAmount instanceof Array ? "x" === f.dir[0] ? u.snapAmount[1] : u.snapAmount[0] : u.snapAmount); var o = "stepped" !== f.type, a = r ? r : e ? o ? p / 1.5 : g : 1e3 / 60, n = e ? o ? 7.5 : 40 : 2.5, s = [Math.abs(h[0].offsetTop), Math.abs(h[0].offsetLeft)], d = [c.scrollRatio.y > 10 ? 10 : c.scrollRatio.y, c.scrollRatio.x > 10 ? 10 : c.scrollRatio.x], m = "x" === f.dir[0] ? s[1] + f.dir[1] * d[1] * n : s[0] + f.dir[1] * d[0] * n, v = "x" === f.dir[0] ? s[1] + f.dir[1] * parseInt(f.scrollAmount) : s[0] + f.dir[1] * parseInt(f.scrollAmount), x = "auto" !== f.scrollAmount ? v : m, _ = i ? i : e ? o ? "mcsLinearOut" : "mcsEaseInOut" : "mcsLinear", w = e ? !0 : !1; return e && 17 > a && (x = "x" === f.dir[0] ? s[1] : s[0]), V(t, x.toString(), { dir: f.dir[0], scrollEasing: _, dur: a, onComplete: w }), e ? void (f.dir = !1) : (clearTimeout(f.step), void (f.step = setTimeout(function () { l() }, a))) } function s() { clearTimeout(f.step), K(f, "step"), N(t) } var c = t.data(a), u = c.opt, f = c.sequential, h = e("#mCSB_" + c.idx + "_container"), m = "stepped" === f.type ? !0 : !1, p = u.scrollInertia < 26 ? 26 : u.scrollInertia, g = u.scrollInertia < 1 ? 17 : u.scrollInertia; switch (o) { case "on": if (f.dir = [n === d[16] || n === d[15] || 39 === n || 37 === n ? "x" : "y", n === d[13] || n === d[15] || 38 === n || 37 === n ? -1 : 1], N(t), ee(n) && "stepped" === f.type) return; l(m); break; case "off": s(), (m || c.tweenRunning && f.dir) && l(!0) } }, q = function (t) { var o = e(this).data(a).opt, n = []; return "function" == typeof t && (t = t()), t instanceof Array ? n = t.length > 1 ? [t[0], t[1]] : "x" === o.axis ? [null, t[0]] : [t[0], null] : (n[0] = t.y ? t.y : t.x || "x" === o.axis ? null : t, n[1] = t.x ? t.x : t.y || "y" === o.axis ? null : t), "function" == typeof n[0] && (n[0] = n[0]()), "function" == typeof n[1] && (n[1] = n[1]()), n }, Y = function (t, o) { if (null != t && "undefined" != typeof t) { var n = e(this), i = n.data(a), r = i.opt, l = e("#mCSB_" + i.idx + "_container"), s = l.parent(), c = typeof t; o || (o = "x" === r.axis ? "x" : "y"); var d = "x" === o ? l.outerWidth(!1) : l.outerHeight(!1), f = "x" === o ? l[0].offsetLeft : l[0].offsetTop, h = "x" === o ? "left" : "top"; switch (c) { case "function": return t(); case "object": var m = t.jquery ? t : e(t); if (!m.length) return; return "x" === o ? te(m)[1] : te(m)[0]; case "string": case "number": if (ee(t)) return Math.abs(t); if (-1 !== t.indexOf("%")) return Math.abs(d * parseInt(t) / 100); if (-1 !== t.indexOf("-=")) return Math.abs(f - parseInt(t.split("-=")[1])); if (-1 !== t.indexOf("+=")) { var p = f + parseInt(t.split("+=")[1]); return p >= 0 ? 0 : Math.abs(p) } if (-1 !== t.indexOf("px") && ee(t.split("px")[0])) return Math.abs(t.split("px")[0]); if ("top" === t || "left" === t) return 0; if ("bottom" === t) return Math.abs(s.height() - l.outerHeight(!1)); if ("right" === t) return Math.abs(s.width() - l.outerWidth(!1)); if ("first" === t || "last" === t) { var m = l.find(":" + t); return "x" === o ? te(m)[1] : te(m)[0] } return e(t).length ? "x" === o ? te(e(t))[1] : te(e(t))[0] : (l.css(h, t), void u.update.call(null, n[0])) } } }, X = function (t) {
12            function o() { return clearTimeout(f[0].autoUpdate), 0 === l.parents("html").length ? void (l = null) : void (f[0].autoUpdate = setTimeout(function () { return c.advanced.updateOnSelectorChange && (s.poll.change.n = i(), s.poll.change.n !== s.poll.change.o) ? (s.poll.change.o = s.poll.change.n, void r(3)) : c.advanced.updateOnContentResize && (s.poll.size.n = l[0].scrollHeight + l[0].scrollWidth + f[0].offsetHeight + l[0].offsetHeight + l[0].offsetWidth, s.poll.size.n !== s.poll.size.o) ? (s.poll.size.o = s.poll.size.n, void r(1)) : !c.advanced.updateOnImageLoad || "auto" === c.advanced.updateOnImageLoad && "y" === c.axis || (s.poll.img.n = f.find("img").length, s.poll.img.n === s.poll.img.o) ? void ((c.advanced.updateOnSelectorChange || c.advanced.updateOnContentResize || c.advanced.updateOnImageLoad) && o()) : (s.poll.img.o = s.poll.img.n, void f.find("img").each(function () { n(this) })) }, c.advanced.autoUpdateTimeout)) } function n(t) { function o(e, t) { return function () { return t.apply(e, arguments) } } function a() { this.onload = null, e(t).addClass(d[2]), r(2) } if (e(t).hasClass(d[2])) return void r(); var n = new Image; n.onload = o(n, a), n.src = t.src } function i() {
13                c.advanced.updateOnSelectorChange === !0 && (c.advanced.updateOnSelectorChange = "*"); var e = 0, t = f.find(c.advanced.updateOnSelectorChange);
14                return c.advanced.updateOnSelectorChange && t.length > 0 && t.each(function () { e += this.offsetHeight + this.offsetWidth }), e
15            } function r(e) { clearTimeout(f[0].autoUpdate), u.update.call(null, l[0], e) } var l = e(this), s = l.data(a), c = s.opt, f = e("#mCSB_" + s.idx + "_container"); return t ? (clearTimeout(f[0].autoUpdate), void K(f[0], "autoUpdate")) : void o()
16        }, j = function (e, t, o) { return Math.round(e / t) * t - o }, N = function (t) { var o = t.data(a), n = e("#mCSB_" + o.idx + "_container,#mCSB_" + o.idx + "_container_wrapper,#mCSB_" + o.idx + "_dragger_vertical,#mCSB_" + o.idx + "_dragger_horizontal"); n.each(function () { J.call(this) }) }, V = function (t, o, n) { function i(e) { return s && c.callbacks[e] && "function" == typeof c.callbacks[e] } function r() { return [c.callbacks.alwaysTriggerOffsets || w >= S[0] + y, c.callbacks.alwaysTriggerOffsets || -B >= w] } function l() { var e = [h[0].offsetTop, h[0].offsetLeft], o = [x[0].offsetTop, x[0].offsetLeft], a = [h.outerHeight(!1), h.outerWidth(!1)], i = [f.height(), f.width()]; t[0].mcs = { content: h, top: e[0], left: e[1], draggerTop: o[0], draggerLeft: o[1], topPct: Math.round(100 * Math.abs(e[0]) / (Math.abs(a[0]) - i[0])), leftPct: Math.round(100 * Math.abs(e[1]) / (Math.abs(a[1]) - i[1])), direction: n.dir } } var s = t.data(a), c = s.opt, d = { trigger: "internal", dir: "y", scrollEasing: "mcsEaseOut", drag: !1, dur: c.scrollInertia, overwrite: "all", callbacks: !0, onStart: !0, onUpdate: !0, onComplete: !0 }, n = e.extend(d, n), u = [n.dur, n.drag ? 0 : n.dur], f = e("#mCSB_" + s.idx), h = e("#mCSB_" + s.idx + "_container"), m = h.parent(), p = c.callbacks.onTotalScrollOffset ? q.call(t, c.callbacks.onTotalScrollOffset) : [0, 0], g = c.callbacks.onTotalScrollBackOffset ? q.call(t, c.callbacks.onTotalScrollBackOffset) : [0, 0]; if (s.trigger = n.trigger, (0 !== m.scrollTop() || 0 !== m.scrollLeft()) && (e(".mCSB_" + s.idx + "_scrollbar").css("visibility", "visible"), m.scrollTop(0).scrollLeft(0)), "_resetY" !== o || s.contentReset.y || (i("onOverflowYNone") && c.callbacks.onOverflowYNone.call(t[0]), s.contentReset.y = 1), "_resetX" !== o || s.contentReset.x || (i("onOverflowXNone") && c.callbacks.onOverflowXNone.call(t[0]), s.contentReset.x = 1), "_resetY" !== o && "_resetX" !== o) { if (!s.contentReset.y && t[0].mcs || !s.overflowed[0] || (i("onOverflowY") && c.callbacks.onOverflowY.call(t[0]), s.contentReset.x = null), !s.contentReset.x && t[0].mcs || !s.overflowed[1] || (i("onOverflowX") && c.callbacks.onOverflowX.call(t[0]), s.contentReset.x = null), c.snapAmount) { var v = c.snapAmount instanceof Array ? "x" === n.dir ? c.snapAmount[1] : c.snapAmount[0] : c.snapAmount; o = j(o, v, c.snapOffset) } switch (n.dir) { case "x": var x = e("#mCSB_" + s.idx + "_dragger_horizontal"), _ = "left", w = h[0].offsetLeft, S = [f.width() - h.outerWidth(!1), x.parent().width() - x.width()], b = [o, 0 === o ? 0 : o / s.scrollRatio.x], y = p[1], B = g[1], T = y > 0 ? y / s.scrollRatio.x : 0, k = B > 0 ? B / s.scrollRatio.x : 0; break; case "y": var x = e("#mCSB_" + s.idx + "_dragger_vertical"), _ = "top", w = h[0].offsetTop, S = [f.height() - h.outerHeight(!1), x.parent().height() - x.height()], b = [o, 0 === o ? 0 : o / s.scrollRatio.y], y = p[0], B = g[0], T = y > 0 ? y / s.scrollRatio.y : 0, k = B > 0 ? B / s.scrollRatio.y : 0 }b[1] < 0 || 0 === b[0] && 0 === b[1] ? b = [0, 0] : b[1] >= S[1] ? b = [S[0], S[1]] : b[0] = -b[0], t[0].mcs || (l(), i("onInit") && c.callbacks.onInit.call(t[0])), clearTimeout(h[0].onCompleteTimeout), Q(x[0], _, Math.round(b[1]), u[1], n.scrollEasing), (s.tweenRunning || !(0 === w && b[0] >= 0 || w === S[0] && b[0] <= S[0])) && Q(h[0], _, Math.round(b[0]), u[0], n.scrollEasing, n.overwrite, { onStart: function () { n.callbacks && n.onStart && !s.tweenRunning && (i("onScrollStart") && (l(), c.callbacks.onScrollStart.call(t[0])), s.tweenRunning = !0, C(x), s.cbOffsets = r()) }, onUpdate: function () { n.callbacks && n.onUpdate && i("whileScrolling") && (l(), c.callbacks.whileScrolling.call(t[0])) }, onComplete: function () { if (n.callbacks && n.onComplete) { "yx" === c.axis && clearTimeout(h[0].onCompleteTimeout); var e = h[0].idleTimer || 0; h[0].onCompleteTimeout = setTimeout(function () { i("onScroll") && (l(), c.callbacks.onScroll.call(t[0])), i("onTotalScroll") && b[1] >= S[1] - T && s.cbOffsets[0] && (l(), c.callbacks.onTotalScroll.call(t[0])), i("onTotalScrollBack") && b[1] <= k && s.cbOffsets[1] && (l(), c.callbacks.onTotalScrollBack.call(t[0])), s.tweenRunning = !1, h[0].idleTimer = 0, C(x, "hide") }, e) } } }) } }, Q = function (e, t, o, a, n, i, r) { function l() { S.stop || (x || m.call(), x = G() - v, s(), x >= S.time && (S.time = x > S.time ? x + f - (x - S.time) : x + f - 1, S.time < x + 1 && (S.time = x + 1)), S.time < a ? S.id = h(l) : g.call()) } function s() { a > 0 ? (S.currVal = u(S.time, _, b, a, n), w[t] = Math.round(S.currVal) + "px") : w[t] = o + "px", p.call() } function c() { f = 1e3 / 60, S.time = x + f, h = window.requestAnimationFrame ? window.requestAnimationFrame : function (e) { return s(), setTimeout(e, .01) }, S.id = h(l) } function d() { null != S.id && (window.requestAnimationFrame ? window.cancelAnimationFrame(S.id) : clearTimeout(S.id), S.id = null) } function u(e, t, o, a, n) { switch (n) { case "linear": case "mcsLinear": return o * e / a + t; case "mcsLinearOut": return e /= a, e--, o * Math.sqrt(1 - e * e) + t; case "easeInOutSmooth": return e /= a / 2, 1 > e ? o / 2 * e * e + t : (e--, -o / 2 * (e * (e - 2) - 1) + t); case "easeInOutStrong": return e /= a / 2, 1 > e ? o / 2 * Math.pow(2, 10 * (e - 1)) + t : (e--, o / 2 * (-Math.pow(2, -10 * e) + 2) + t); case "easeInOut": case "mcsEaseInOut": return e /= a / 2, 1 > e ? o / 2 * e * e * e + t : (e -= 2, o / 2 * (e * e * e + 2) + t); case "easeOutSmooth": return e /= a, e--, -o * (e * e * e * e - 1) + t; case "easeOutStrong": return o * (-Math.pow(2, -10 * e / a) + 1) + t; case "easeOut": case "mcsEaseOut": default: var i = (e /= a) * e, r = i * e; return t + o * (.499999999999997 * r * i + -2.5 * i * i + 5.5 * r + -6.5 * i + 4 * e) } } e._mTween || (e._mTween = { top: {}, left: {} }); var f, h, r = r || {}, m = r.onStart || function () { }, p = r.onUpdate || function () { }, g = r.onComplete || function () { }, v = G(), x = 0, _ = e.offsetTop, w = e.style, S = e._mTween[t]; "left" === t && (_ = e.offsetLeft); var b = o - _; S.stop = 0, "none" !== i && d(), c() }, G = function () { return window.performance && window.performance.now ? window.performance.now() : window.performance && window.performance.webkitNow ? window.performance.webkitNow() : Date.now ? Date.now() : (new Date).getTime() }, J = function () { var e = this; e._mTween || (e._mTween = { top: {}, left: {} }); for (var t = ["top", "left"], o = 0; o < t.length; o++) { var a = t[o]; e._mTween[a].id && (window.requestAnimationFrame ? window.cancelAnimationFrame(e._mTween[a].id) : clearTimeout(e._mTween[a].id), e._mTween[a].id = null, e._mTween[a].stop = 1) } }
16, K = function (e, t) { try { delete e[t] } catch (o) { e[t] = null } }, Z = function (e) { return !(e.which && 1 !== e.which) }, $ = function (e) { var t = e.originalEvent.pointerType; return !(t && "touch" !== t && 2 !== t) }, ee = function (e) { return !isNaN(parseFloat(e)) && isFinite(e) }, te = function (e) { var t = e.parents(".mCSB_container"); return [e.offset().top - t.offset().top, e.offset().left - t.offset().left] }, oe = function () { function e() { var e = ["webkit", "moz", "ms", "o"]; if ("hidden" in document) return "hidden"; for (var t = 0; t < e.length; t++)if (e[t] + "Hidden" in document) return e[t] + "Hidden"; return null } var t = e(); return t ? document[t] : !1 }; e.fn[o] = function (t) { return u[t] ? u[t].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof t && t ? void e.error("Method " + t + " does not exist") : u.init.apply(this, arguments) }, e[o] = function (t) { return u[t] ? u[t].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof t && t ? void e.error("Method " + t + " does not exist") : u.init.apply(this, arguments) }, e[o].defaults = i, window[o] = !0, e(window).load(function () { e(n)[o](), e.extend(e.expr[":"], { mcsInView: e.expr[":"].mcsInView || function (t) { var o, a, n = e(t), i = n.parents(".mCSB_container"); if (i.length) return o = i.parent(), a = [i[0].offsetTop, i[0].offsetLeft], a[0] + te(n)[0] >= 0 && a[0] + te(n)[0] < o.height() - n.outerHeight(!1) && a[1] + te(n)[1] >= 0 && a[1] + te(n)[1] < o.width() - n.outerWidth(!1) }, mcsOverflow: e.expr[":"].mcsOverflow || function (t) { var o = e(t).data(a); if (o) return o.overflowed[0] || o.overflowed[1] } }) })
17    })
18});
19
20/**!
21 * easy-pie-chart
22 * Lightweight plugin to render simple, animated and retina optimized pie charts
23 *
24 * @license 
25 * @author Robert Fleischmann <[email protected]> (http://robert-fleischmann.de)
26 * @version 2.1.7
27 **/
28!function (a, b) { "function" == typeof define && define.amd ? define(["jquery"], function (a) { return b(a) }) : "object" == typeof exports ? module.exports = b(require("jquery")) : b(jQuery) }(this, function (a) { var b = function (a, b) { var c, d = document.createElement("canvas"); a.appendChild(d), "object" == typeof G_vmlCanvasManager && G_vmlCanvasManager.initElement(d); var e = d.getContext("2d"); d.width = d.height = b.size; var f = 1; window.devicePixelRatio > 1 && (f = window.devicePixelRatio, d.style.width = d.style.height = [b.size, "px"].join(""), d.width = d.height = b.size * f, e.scale(f, f)), e.translate(b.size / 2, b.size / 2), e.rotate((-0.5 + b.rotate / 180) * Math.PI); var g = (b.size - b.lineWidth) / 2; b.scaleColor && b.scaleLength && (g -= b.scaleLength + 2), Date.now = Date.now || function () { return +new Date }; var h = function (a, b, c) { c = Math.min(Math.max(-1, c || 0), 1); var d = 0 >= c ? !0 : !1; e.beginPath(), e.arc(0, 0, g, 0, 2 * Math.PI * c, d), e.strokeStyle = a, e.lineWidth = b, e.stroke() }, i = function () { var a, c; e.lineWidth = 1, e.fillStyle = b.scaleColor, e.save(); for (var d = 24; d > 0; --d)d % 6 === 0 ? (c = b.scaleLength, a = 0) : (c = .6 * b.scaleLength, a = b.scaleLength - c), e.fillRect(-b.size / 2 + a, 0, c, 1), e.rotate(Math.PI / 12); e.restore() }, j = function () { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (a) { window.setTimeout(a, 1e3 / 60) } }(), k = function () { b.scaleColor && i(), b.trackColor && h(b.trackColor, b.trackWidth || b.lineWidth, 1) }; this.getCanvas = function () { return d }, this.getCtx = function () { return e }, this.clear = function () { e.clearRect(b.size / -2, b.size / -2, b.size, b.size) }, this.draw = function (a) { b.scaleColor || b.trackColor ? e.getImageData && e.putImageData ? c ? e.putImageData(c, 0, 0) : (k(), c = e.getImageData(0, 0, b.size * f, b.size * f)) : (this.clear(), k()) : this.clear(), e.lineCap = b.lineCap; var d; d = "function" == typeof b.barColor ? b.barColor(a) : b.barColor, h(d, b.lineWidth, a / 100) }.bind(this), this.animate = function (a, c) { var d = Date.now(); b.onStart(a, c); var e = function () { var f = Math.min(Date.now() - d, b.animate.duration), g = b.easing(this, f, a, c - a, b.animate.duration); this.draw(g), b.onStep(a, c, g), f >= b.animate.duration ? b.onStop(a, c) : j(e) }.bind(this); j(e) }.bind(this) }, c = function (a, c) { var d = { barColor: "#ef1e25", trackColor: "#f9f9f9", scaleColor: "#dfe0e0", scaleLength: 5, lineCap: "round", lineWidth: 3, trackWidth: void 0, size: 110, rotate: 0, animate: { duration: 1e3, enabled: !0 }, easing: function (a, b, c, d, e) { return b /= e / 2, 1 > b ? d / 2 * b * b + c : -d / 2 * (--b * (b - 2) - 1) + c }, onStart: function (a, b) { }, onStep: function (a, b, c) { }, onStop: function (a, b) { } }; if ("undefined" != typeof b) d.renderer = b; else { if ("undefined" == typeof SVGRenderer) throw new Error("Please load either the SVG- or the CanvasRenderer"); d.renderer = SVGRenderer } var e = {}, f = 0, g = function () { this.el = a, this.options = e; for (var b in d) d.hasOwnProperty(b) && (e[b] = c && "undefined" != typeof c[b] ? c[b] : d[b], "function" == typeof e[b] && (e[b] = e[b].bind(this))); "string" == typeof e.easing && "undefined" != typeof jQuery && jQuery.isFunction(jQuery.easing[e.easing]) ? e.easing = jQuery.easing[e.easing] : e.easing = d.easing, "number" == typeof e.animate && (e.animate = { duration: e.animate, enabled: !0 }), "boolean" != typeof e.animate || e.animate || (e.animate = { duration: 1e3, enabled: e.animate }), this.renderer = new e.renderer(a, e), this.renderer.draw(f), a.dataset && a.dataset.percent ? this.update(parseFloat(a.dataset.percent)) : a.getAttribute && a.getAttribute("data-percent") && this.update(parseFloat(a.getAttribute("data-percent"))) }.bind(this); this.update = function (a) { return a = parseFloat(a), e.animate.enabled ? this.renderer.animate(f, a) : this.renderer.draw(a), f = a, this }.bind(this), this.disableAnimation = function () { return e.animate.enabled = !1, this }, this.enableAnimation = function () { return e.animate.enabled = !0, this }, g() }; a.fn.easyPieChart = function (b) { return this.each(function () { var d; a.data(this, "easyPieChart") || (d = a.extend({}, b, a(this).data()), a.data(this, "easyPieChart", new c(this, d))) }) } });
29
30/**
31* Copyright Marc J. Schmidt. See the LICENSE file at the top-level
32* directory of this distribution and at
33* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
34*/
35;
36(function () {
37
38    /**
39     * Class for dimension change detection.
40     *
41     * @param {Element|Element[]|Elements|jQuery} element
42     * @param {Function} callback
43     *
44     * @constructor
45     */
46    var ResizeSensor = function (element, callback) {
47        /**
48         *
49         * @constructor
50         */
51        function EventQueue() {
52            this.q = [];
53            this.add = function (ev) {
54                this.q.push(ev);
55            };
56
57            var i, j;
58            this.call = function () {
59                for (i = 0, j = this.q.length; i < j; i++) {
60                    this.q[i].call();
61                }
62            };
63        }
64
65        /**
66         * @param {HTMLElement} element
67         * @param {String}      prop
68         * @returns {String|Number}
69         */
70        function getComputedStyle(element, prop) {
71            if (element.currentStyle) {
72                return element.currentStyle[prop];
73            } else if (window.getComputedStyle) {
74                return window.getComputedStyle(element, null).getPropertyValue(prop);
75            } else {
76                return element.style[prop];
77            }
78        }
79
80        /**
81         *
82         * @param {HTMLElement} element
83         * @param {Function}    resized
84         */
85        function attachResizeEvent(element, resized) {
86            if (!element.resizedAttached) {
87                element.resizedAttached = new EventQueue();
88                element.resizedAttached.add(resized);
89            } else if (element.resizedAttached) {
90                element.resizedAttached.add(resized);
91                return;
92            }
93
94            element.resizeSensor = document.createElement('div');
95            element.resizeSensor.className = 'resize-sensor';
96            var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;';
97            var styleChild = 'position: absolute; left: 0; top: 0; transition: 0s;';
98
99            element.resizeSensor.style.cssText = style;
100            element.resizeSensor.innerHTML =
101                '<div class="resize-sensor-expand" style="' + style + '">' +
102                '<div style="' + styleChild + '"></div>' +
103                '</div>' +
104                '<div class="resize-sensor-shrink" style="' + style + '">' +
105                '<div style="' + styleChild + ' width: 200%; height: 200%"></div>' +
106                '</div>';
107            element.appendChild(element.resizeSensor);
108
109            if (!{ fixed: 1, absolute: 1 }[getComputedStyle(element, 'position')]) {
110                element.style.position = 'relative';
111            }
112
113            var expand = element.resizeSensor.childNodes[0];
114            var expandChild = expand.childNodes[0];
115            var shrink = element.resizeSensor.childNodes[1];
116            var shrinkChild = shrink.childNodes[0];
117
118            var lastWidth, lastHeight;
119
120            var reset = function () {
121                expandChild.style.width = expand.offsetWidth + 10 + 'px';
122                expandChild.style.height = expand.offsetHeight + 10 + 'px';
123                expand.scrollLeft = expand.scrollWidth;
124                expand.scrollTop = expand.scrollHeight;
125                shrink.scrollLeft = shrink.scrollWidth;
126                shrink.scrollTop = shrink.scrollHeight;
127                lastWidth = element.offsetWidth;
128                lastHeight = element.offsetHeight;
129            };
130
131            reset();
132
133            var changed = function () {
134                if (element.resizedAttached) {
135                    element.resizedAttached.call();
136                }
137            };
138
139            var addEvent = function (el, name, cb) {
140                if (el.attachEvent) {
141                    el.attachEvent('on' + name, cb);
142                } else {
143                    el.addEventListener(name, cb);
144                }
145            };
146
147            var onScroll = function () {
148                if (element.offsetWidth != lastWidth || element.offsetHeight != lastHeight) {
149                    changed();
150                }
151                reset();
152            };
153
154            addEvent(expand, 'scroll', onScroll);
155            addEvent(shrink, 'scroll', onScroll);
156        }
157
158        var elementType = Object.prototype.toString.call(element);
159        var isCollectionTyped = ('[object Array]' === elementType
160            || ('[object NodeList]' === elementType)
161            || ('[object HTMLCollection]' === elementType)
162            || ('undefined' !== typeof jQuery && element instanceof jQuery) //jquery
163            || ('undefined' !== typeof Elements && element instanceof Elements) //mootools
164        );
165
166        if (isCollectionTyped) {
167            var i = 0, j = element.length;
168            for (; i < j; i++) {
169                attachResizeEvent(element[i], callback);
170            }
171        } else {
172            attachResizeEvent(element, callback);
173        }
174
175        this.detach = function () {
176            if (isCollectionTyped) {
177                var i = 0, j = element.length;
178                for (; i < j; i++) {
179                    ResizeSensor.detach(element[i]);
180                }
181            } else {
182                ResizeSensor.detach(element);
183            }
184        };
185    };
186
187    ResizeSensor.detach = function (element) {
188        if (element.resizeSensor) {
189            element.removeChild(element.resizeSensor);
190            delete element.resizeSensor;
191            delete element.resizedAttached;
192        }
193    };
194
195    // make available to common module loader
196    if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
197        module.exports = ResizeSensor;
198    }
199    else {
200        window.ResizeSensor = ResizeSensor;
201    }
202
203})();
204
205//# sourceMappingURL=maps/ResizeSensor.js.map
206
207/*!
208 * Theia Sticky Sidebar v1.7.0
209 * https://github.com/WeCodePixels/theia-sticky-sidebar
210 *
211 * Glues your website's sidebars, making them permanently visible while scrolling.
212 *
213 * Copyright 2013-2016 WeCodePixels and other contributors
214 * Released under the MIT license
215 */
216
217(function ($) {
218    $.fn.theiaStickySidebar = function (options) {
219        var defaults = {
220            'containerSelector': '',
221            'additionalMarginTop': 0,
222            'additionalMarginBottom': 0,
223            'updateSidebarHeight': true,
224            'minWidth': 0,
225            'disableOnResponsiveLayouts': true,
226            'sidebarBehavior': 'modern',
227            'defaultPosition': 'relative',
228            'namespace': 'TSS'
229        };
230        options = $.extend(defaults, options);
231
232        // Validate options
233        options.additionalMarginTop = parseInt(options.additionalMarginTop) || 0;
234        options.additionalMarginBottom = parseInt(options.additionalMarginBottom) || 0;
235
236        tryInitOrHookIntoEvents(options, this);
237
238        // Try doing init, otherwise hook into window.resize and document.scroll and try again then.
239        function tryInitOrHookIntoEvents(options, $that) {
240            var success = tryInit(options, $that);
241
242            if (!success) {
243                console.log('TSS: Body width smaller than options.minWidth. Init is delayed.');
244
245                $(document).on('scroll.' + options.namespace, function (options, $that) {
246                    return function (evt) {
247                        var success = tryInit(options, $that);
248
249                        if (success) {
250                            $(this).unbind(evt);
251                        }
252                    };
253                }(options, $that));
254                $(window).on('resize.' + options.namespace, function (options, $that) {
255                    return function (evt) {
256                        var success = tryInit(options, $that);
257
258                        if (success) {
259                            $(this).unbind(evt);
260                        }
261                    };
262                }(options, $that))
263            }
264        }
265
266        // Try doing init if proper conditions are met.
267        function tryInit(options, $that) {
268            if (options.initialized === true) {
269                return true;
270            }
271
272            if ($('body').width() < options.minWidth) {
273                return false;
274            }
275
276            init(options, $that);
277
278            return true;
279        }
280
281        // Init the sticky sidebar(s).
282        function init(options, $that) {
283            options.initialized = true;
284
285            // Add CSS
286            var existingStylesheet = $('#theia-sticky-sidebar-stylesheet-' + options.namespace);
287            if (existingStylesheet.length === 0) {
288                $('head').append($('<style id="theia-sticky-sidebar-stylesheet-' + options.namespace + '">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>'));
289            }
290
291            $that.each(function () {
292                var o = {};
293
294                o.sidebar = $(this);
295
296                // Save options
297                o.options = options || {};
298
299                // Get container
300                o.container = $(o.options.containerSelector);
301                if (o.container.length == 0) {
302                    o.container = o.sidebar.parent();
303                }
304
305                // Create sticky sidebar
306                o.sidebar.parents().css('-webkit-transform', 'none'); // Fix for WebKit bug - https://code.google.com/p/chromium/issues/detail?id=20574
307                o.sidebar.css({
308                    'position': o.options.defaultPosition,
309                    'overflow': 'visible',
310                    // The "box-sizing" must be set to "content-box" because we set a fixed height to this element when the sticky 
310sidebar has a fixed position.
311                    '-webkit-box-sizing': 'border-box',
312                    '-moz-box-sizing': 'border-box',
313                    'box-sizing': 'border-box'
314                });
315
316                // Get the sticky sidebar element. If none has been found, then create one.
317                o.stickySidebar = o.sidebar.find('.theiaStickySidebar');
318                if (o.stickySidebar.length == 0) {
319                    // Remove <script> tags, otherwise they will be run again when added to the stickySidebar.
320                    var javaScriptMIMETypes = /(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;
321                    o.sidebar.find('script').filter(function (index, script) {
322                        return script.type.length === 0 || script.type.match(javaScriptMIMETypes);
323                    }).remove();
324
325                    o.stickySidebar = $('<div>').addClass('theiaStickySidebar').append(o.sidebar.children());
326                    o.sidebar.append(o.stickySidebar);
327                }
328
329                // Get existing top and bottom margins and paddings
330                o.marginBottom = parseInt(o.sidebar.css('margin-bottom'));
331                o.paddingTop = parseInt(o.sidebar.css('padding-top'));
332                o.paddingBottom = parseInt(o.sidebar.css('padding-bottom'));
333
334                // Add a temporary padding rule to check for collapsable margins.
335                var collapsedTopHeight = o.stickySidebar.offset().top;
336                var collapsedBottomHeight = o.stickySidebar.outerHeight();
337                o.stickySidebar.css('padding-top', 1);
338                o.stickySidebar.css('padding-bottom', 1);
339                collapsedTopHeight -= o.stickySidebar.offset().top;
340                collapsedBottomHeight = o.stickySidebar.outerHeight() - collapsedBottomHeight - collapsedTopHeight;
341                if (collapsedTopHeight == 0) {
342                    o.stickySidebar.css('padding-top', 0);
343                    o.stickySidebarPaddingTop = 0;
344                }
345                else {
346                    o.stickySidebarPaddingTop = 1;
347                }
348
349                if (collapsedBottomHeight == 0) {
350                    o.stickySidebar.css('padding-bottom', 0);
351                    o.stickySidebarPaddingBottom = 0;
352                }
353                else {
354                    o.stickySidebarPaddingBottom = 1;
355                }
356
357                // We use this to know whether the user is scrolling up or down.
358                o.previousScrollTop = null;
359
360                // Scroll top (value) when the sidebar has fixed position.
361                o.fixedScrollTop = 0;
362
363                // Set sidebar to default values.
364                resetSidebar();
365
366                o.onScroll = function (o) {
367                    // Stop if the sidebar isn't visible.
368                    if (!o.stickySidebar.is(":visible")) {
369                        return;
370                    }
371
372                    // Stop if the window is too small.
373                    if ($('body').width() < o.options.minWidth) {
374                        resetSidebar();
375                        return;
376                    }
377
378                    // Stop if the sidebar width is larger than the container width (e.g. the theme is responsive and the sidebar is now below the content)
379                    if (o.options.disableOnResponsiveLayouts) {
380                        var sidebarWidth = o.sidebar.outerWidth(o.sidebar.css('float') == 'none');
381
382                        if (sidebarWidth + 50 > o.container.width()) {
383                            resetSidebar();
384                            return;
385                        }
386                    }
387
388                    var scrollTop = $(document).scrollTop();
389                    var position = 'static';
390
391                    // If the user has scrolled down enough for the sidebar to be clipped at the top, then we can consider changing its position.
392                    if (scrollTop >= o.sidebar.offset().top + (o.paddingTop - o.options.additionalMarginTop)) {
393                        // The top and bottom offsets, used in various calculations.
394                        var offsetTop = o.paddingTop + options.additionalMarginTop;
395                        var offsetBottom = o.paddingBottom + o.marginBottom + options.additionalMarginBottom;
396
397                        // All top and bottom positions are relative to the window, not to the parent elemnts.
398                        var containerTop = o.sidebar.offset().top;
399                        var containerBottom = o.sidebar.offset().top + getClearedHeight(o.container);
400
401                        // The top and bottom offsets relative to the window screen top (zero) and bottom (window height).
402                        var windowOffsetTop = 0 + options.additionalMarginTop;
403                        var windowOffsetBottom;
404
405                        var sidebarSmallerThanWindow = (o.stickySidebar.outerHeight() + offsetTop + offsetBottom) < $(window).height();
406                        if (sidebarSmallerThanWindow) {
407                            windowOffsetBottom = windowOffsetTop + o.stickySidebar.outerHeight();
408                        }
409                        else {
410                            windowOffsetBottom = $(window).height() - o.marginBottom - o.paddingBottom - options.additionalMarginBottom;
411                        }
412
413                        var staticLimitTop = containerTop - scrollTop + o.paddingTop;
414                        var staticLimitBottom = containerBottom - scrollTop - o.paddingBottom - o.marginBottom;
415
416                        var top = o.stickySidebar.offset().top - scrollTop;
417                        var scrollTopDiff = o.previousScrollTop - scrollTop;
418
419                        // If the sidebar position is fixed, then it won't move up or down by itself. So, we manually adjust the top coordinate.
420                        if (o.stickySidebar.css('position') == 'fixed') {
421                            if (o.options.sidebarBehavior == 'modern') {
422                                top += scrollTopDiff;
423                            }
424                        }
425
426                        if (o.options.sidebarBehavior == 'stick-to-top') {
427                            top = options.additionalMarginTop;
428                        }
429
430                        if (o.options.sidebarBehavior == 'stick-to-bottom') {
431                            top = windowOffsetBottom - o.stickySidebar.outerHeight();
432                        }
433
434                        if (scrollTopDiff > 0) { // If the user is scrolling up.
435                            top = Math.min(top, windowOffsetTop);
436                        }
437                        else { // If the user is scrolling down.
438                            top = Math.max(top, windowOffsetBottom - o.stickySidebar.outerHeight());
439                        }
440
441                        top = Math.max(top, staticLimitTop);
442
443                        top = Math.min(top, staticLimitBottom - o.stickySidebar.outerHeight());
444
445                        // If the sidebar is the same height as the container, we won't use fixed positioning.
446                        var sidebarSameHeightAsContainer = o.container.height() == o.stickySidebar.outerHeight();
447
448                        if (!sidebarSameHeightAsContainer && top == windowOffsetTop) {
449                            position = 'fixed';
450                        }
451                        else if (!sidebarSameHeightAsContainer && top == windowOffsetBottom - o.stickySidebar.outerHeight()) {
452                            position = 'fixed';
453                        }
454                        else if (scrollTop + top - o.sidebar.offset().top - o.paddingTop <= options.additionalMarginTop) {
455                            // Stuck to the top of the page. No special behavior.
456                            position = 'static';
457                        }
458                        else {
459                            // Stuck to the bottom of the page.
460                            position = 'absolute';
461                        }
462                    }
463
464                    /*
465                     * Performance notice: It's OK to set these CSS values at each resize/scroll, even if they don't change.
466                     * It's way slower to first check if the values have changed.
467                     */
468                    if (position == 'fixed') {
469                        var scrollLeft = $(document).scrollLeft();
470
471                        o.stickySidebar.css({
472                            'position': 'fixed',
473                            'width': getWidthForObject(o.stickySidebar) + 'px',
474                            'transform': 'translateY(' + top + 'px)',
475                            'left': (o.sidebar.offset().left + parseInt(o.sidebar.css('padding-left')) - scrollLeft) + 'px',
476                            'top': '0px'
477                        });
478                    }
479                    else if (position == 'absolute') {
480                        var css = {};
481
482                        if (o.stickySidebar.css('position') != 'absolute') {
483                            css.position = 'absolute';
484                            css.transform = 'translateY(' + (scrollTop + top - o.sidebar.offset().top - o.stickySidebarPaddingTop - o.stickySidebarPaddingBottom) + 'px)';
485                            css.top = '0px';
486                        }
487
488                        css.width = getWidthForObject(o.stickySidebar) + 'px';
489                        css.left = '';
490
491                        o.stickySidebar.css(css);
492                    }
493                    else if (position == 'static') {
494                        resetSidebar();
495                    }
496
497                    if (position != 'static') {
498                        if (o.options.updateSidebarHeight == true) {
499                            o.sidebar.css({
500                                'min-height': o.stickySidebar.outerHeight() + o.stickySidebar.offset().top - o.sidebar.offset().top + o.paddingBottom
501                            });
502                        }
503                    }
504
505                    o.previousScrollTop = scrollTop;
506                };
507
508                // Initialize the sidebar's position.
509                o.onScroll(o);
510
511                // Recalculate the sidebar's position on every scroll and resize.
512                $(document).on('scroll.' + o.options.namespace, function (o) {
513                    return function () {
514                        o.onScroll(o);
515                    };
516                }(o));
517                $(window).on('resize.' + o.options.namespace, function (o) {
518                    return function () {
519                        o.stickySidebar.css({ 'position': 'static' });
520                        o.onScroll(o);
521                    };
522                }(o));
523
524                // Recalculate the sidebar's position every time the sidebar changes its size.
525                if (typeof ResizeSensor !== 'undefined') {
526                    new ResizeSensor(o.stickySidebar[0], function (o) {
527                        return function () {
528                            o.onScroll(o);
529                        };
530                    }(o));
531                }
532
533                // Reset the sidebar to its default state
534                function resetSidebar() {
535                    o.fixedScrollTop = 0;
536                    o.sidebar.css({
537                        'min-height': '1px'
538                    });
539                    o.stickySidebar.css({
540                        'position': 'static',
541                        'width': '',
542                        'transform': 'none'
543                    });
544                }
545
546                // Get the height of a div as if its floated children were cleared. Note that this function fails if the floats are more than one level deep.
547                function getClearedHeight(e) {
548                    var height = e.height();
549
550                    e.children().each(function () {
551                        height = Math.max(height, $(this).height());
552                    });
553
554                    return height;
555                }
556            });
557        }
558
559        function getWidthForObject(object) {
560            var width;
561
562            try {
563                width = object[0].getBoundingClientRect().width;
564            }
565            catch (err) {
566            }
567
568            if (typeof width === "undefined") {
569                width = object.width();
570            }
571
572            return width;
573        }
574
575        return this;
576    }
577})(jQuery);
578
579//# sourceMappingURL=maps/theia-sticky-sidebar.js.map
580
581/*! Magnific Popup - v1.1.0 - 2016-02-20
582* http://dimsemenov.com/plugins/magnific-popup/
583* Copyright (c) 2016 Dmitry Semenov; */
584!function (a) { "function" == typeof define && define.amd ? define(["jquery"], a) : a("object" == typeof exports ? require("jquery") : window.jQuery || window.Zepto) }(function (a) { var b, c, d, e, f, g, h = "Close", i = "BeforeClose", j = "AfterClose", k = "BeforeAppend", l = "MarkupParse", m = "Open", n = "Change", o = "mfp", p = "." + o, q = "mfp-ready", r = "mfp-removing", s = "mfp-prevent-close", t = function () { }, u = !!window.jQuery, v = a(window), w = function (a, c) { b.ev.on(o + a + p, c) }, x = function (b, c, d, e) { var f = document.createElement("div"); return f.className = "mfp-" + b, d && (f.innerHTML = d), e ? c && c.appendChild(f) : (f = a(f), c && f.appendTo(c)), f }, y = function (c, d) { b.ev.triggerHandler(o + c, d), b.st.callbacks && (c = c.charAt(0).toLowerCase() + c.slice(1), b.st.callbacks[c] && b.st.callbacks[c].apply(b, a.isArray(d) ? d : [d])) }, z = function (c) { return c === g && b.currTemplate.closeBtn || (b.currTemplate.closeBtn = a(b.st.closeMarkup.replace("%title%", b.st.tClose)), g = c), b.currTemplate.closeBtn }, A = function () { a.magnificPopup.instance || (b = new t, b.init(), a.magnificPopup.instance = b) }, B = function () { var a = document.createElement("p").style, b = ["ms", "O", "Moz", "Webkit"]; if (void 0 !== a.transition) return !0; for (; b.length;)if (b.pop() + "Transition" in a) return !0; return !1 }; t.prototype = { constructor: t, init: function () { var c = navigator.appVersion; b.isLowIE = b.isIE8 = document.all && !document.addEventListener, b.isAndroid = /android/gi.test(c), b.isIOS = /iphone|ipad|ipod/gi.test(c), b.supportsTransition = B(), b.probablyMobile = b.isAndroid || b.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent), d = a(document), b.popupsCache = {} }, open: function (c) { var e; if (c.isObj === !1) { b.items = c.items.toArray(), b.index = 0; var g, h = c.items; for (e = 0; e < h.length; e++)if (g = h[e], g.parsed && (g = g.el[0]), g === c.el[0]) { b.index = e; break } } else b.items = a.isArray(c.items) ? c.items : [c.items], b.index = c.index || 0; if (b.isOpen) return void b.updateItemHTML(); b.types = [], f = "", c.mainEl && c.mainEl.length ? b.ev = c.mainEl.eq(0) : b.ev = d, c.key ? (b.popupsCache[c.key] || (b.popupsCache[c.key] = {}), b.currTemplate = b.popupsCache[c.key]) : b.currTemplate = {}, b.st = a.extend(!0, {}, a.magnificPopup.defaults, c), b.fixedContentPos = "auto" === b.st.fixedContentPos ? !b.probablyMobile : b.st.fixedContentPos, b.st.modal && (b.st.closeOnContentClick = !1, b.st.closeOnBgClick = !1, b.st.showCloseBtn = !1, b.st.enableEscapeKey = !1), b.bgOverlay || (b.bgOverlay = x("bg").on("click" + p, function () { b.close() }), b.wrap = x("wrap").attr("tabindex", -1).on("click" + p, function (a) { b._checkIfClose(a.target) && b.close() }), b.container = x("container", b.wrap)), b.contentContainer = x("content"), b.st.preloader && (b.preloader = x("preloader", b.container, b.st.tLoading)); var i = a.magnificPopup.modules; for (e = 0; e < i.length; e++) { var j = i[e]; j = j.charAt(0).toUpperCase() + j.slice(1), b["init" + j].call(b) } y("BeforeOpen"), b.st.showCloseBtn && (b.st.closeBtnInside ? (w(l, function (a, b, c, d) { c.close_replaceWith = z(d.type) }), f += " mfp-close-btn-in") : b.wrap.append(z())), b.st.alignTop && (f += " mfp-align-top"), b.fixedContentPos ? b.wrap.css({ overflow: b.st.overflowY, overflowX: "hidden", overflowY: b.st.overflowY }) : b.wrap.css({ top: v.scrollTop(), position: "absolute" }), (b.st.fixedBgPos === !1 || "auto" === b.st.fixedBgPos && !b.fixedContentPos) && b.bgOverlay.css({ height: d.height(), position: "absolute" }), b.st.enableEscapeKey && d.on("keyup" + p, function (a) { 27 === a.keyCode && b.close() }), v.on("resize" + p, function () { b.updateSize() }), b.st.closeOnContentClick || (f += " mfp-auto-cursor"), f && b.wrap.addClass(f); var k = b.wH = v.height(), n = {}; if (b.fixedContentPos && b._hasScrollBar(k)) { var o = b._getScrollbarSize(); o && (n.marginRight = o) } b.fixedContentPos && (b.isIE7 ? a("body, html").css("overflow", "hidden") : n.overflow = "hidden"); var r = b.st.mainClass; return b.isIE7 && (r += " mfp-ie7"), r && b._addClassToMFP(r), b.updateItemHTML(), y("BuildControls"), a("html").css(n), b.bgOverlay.add(b.
584wrap).prependTo(b.st.prependTo || a(document.body)), b._lastFocusedEl = document.activeElement, setTimeout(function () { b.content ? (b._addClassToMFP(q), b._setFocus()) : b.bgOverlay.addClass(q), d.on("focusin" + p, b._onFocusIn) }, 16), b.isOpen = !0, b.updateSize(k), y(m), c }, close: function () { b.isOpen && (y(i), b.isOpen = !1, b.st.removalDelay && !b.isLowIE && b.supportsTransition ? (b._addClassToMFP(r), setTimeout(function () { b._close() }, b.st.removalDelay)) : b._close()) }, _close: function () { y(h); var c = r + " " + q + " "; if (b.bgOverlay.detach(), b.wrap.detach(), b.container.empty(), b.st.mainClass && (c += b.st.mainClass + " "), b._removeClassFromMFP(c), b.fixedContentPos) { var e = { marginRight: "" }; b.isIE7 ? a("body, html").css("overflow", "") : e.overflow = "", a("html").css(e) } d.off("keyup" + p + " focusin" + p), b.ev.off(p), b.wrap.attr("class", "mfp-wrap").removeAttr("style"), b.bgOverlay.attr("class", "mfp-bg"), b.container.attr("class", "mfp-container"), !b.st.showCloseBtn || b.st.closeBtnInside && b.currTemplate[b.currItem.type] !== !0 || b.currTemplate.closeBtn && b.currTemplate.closeBtn.detach(), b.st.autoFocusLast && b._lastFocusedEl && a(b._lastFocusedEl).focus(), b.currItem = null, b.content = null, b.currTemplate = null, b.prevHeight = 0, y(j) }, updateSize: function (a) { if (b.isIOS) { var c = document.documentElement.clientWidth / window.innerWidth, d = window.innerHeight * c; b.wrap.css("height", d), b.wH = d } else b.wH = a || v.height(); b.fixedContentPos || b.wrap.css("height", b.wH), y("Resize") }, updateItemHTML: function () { var c = b.items[b.index]; b.contentContainer.detach(), b.content && b.content.detach(), c.parsed || (c = b.parseEl(b.index)); var d = c.type; if (y("BeforeChange", [b.currItem ? b.currItem.type : "", d]), b.currItem = c, !b.currTemplate[d]) { var f = b.st[d] ? b.st[d].markup : !1; y("FirstMarkupParse", f), f ? b.currTemplate[d] = a(f) : b.currTemplate[d] = !0 } e && e !== c.type && b.container.removeClass("mfp-" + e + "-holder"); var g = b["get" + d.charAt(0).toUpperCase() + d.slice(1)](c, b.currTemplate[d]); b.appendContent(g, d), c.preloaded = !0, y(n, c), e = c.type, b.container.prepend(b.contentContainer), y("AfterChange") }, appendContent: function (a, c) { b.content = a, a ? b.st.showCloseBtn && b.st.closeBtnInside && b.currTemplate[c] === !0 ? b.content.find(".mfp-close").length || b.content.append(z()) : b.content = a : b.content = "", y(k), b.container.addClass("mfp-" + c + "-holder"), b.contentContainer.append(b.content) }, parseEl: function (c) { var d, e = b.items[c]; if (e.tagName ? e = { el: a(e) } : (d = e.type, e = { data: e, src: e.src }), e.el) { for (var f = b.types, g = 0; g < f.length; g++)if (e.el.hasClass("mfp-" + f[g])) { d = f[g]; break } e.src = e.el.attr("data-mfp-src"), e.src || (e.src = e.el.attr("href")) } return e.type = d || b.st.type || "inline", e.index = c, e.parsed = !0, b.items[c] = e, y("ElementParse", e), b.items[c] }, addGroup: function (a, c) { var d = function (d) { d.mfpEl = this, b._openClick(d, a, c) }; c || (c = {}); var e = "click.magnificPopup"; c.mainEl = a, c.items ? (c.isObj = !0, a.off(e).on(e, d)) : (c.isObj = !1, c.delegate ? a.off(e).on(e, c.delegate, d) : (c.items = a, a.off(e).on(e, d))) }, _openClick: function (c, d, e) { var f = void 0 !== e.midClick ? e.midClick : a.magnificPopup.defaults.midClick; if (f || !(2 === c.which || c.ctrlKey || c.metaKey || c.altKey || c.shiftKey)) { var g = void 0 !== e.disableOn ? e.disableOn : a.magnificPopup.defaults.disableOn; if (g) if (a.isFunction(g)) { if (!g.call(b)) return !0 } else if (v.width() < g) return !0; c.type && (c.preventDefault(), b.isOpen && c.stopPropagation()), e.el = a(c.mfpEl), e.delegate && (e.items = d.find(e.delegate)), b.open(e) } }, updateStatus: function (a, d) { if (b.preloader) { c !== a && b.container.removeClass("mfp-s-" + c), d || "loading" !== a || (d = b.st.tLoading); var e = { status: a, text: d }; y("UpdateStatus", e), a = e.status, d = e.text, b.preloader.html(d), b.preloader.find("a").on("click", function (a) { a.stopImmediatePropagation() }), b.container.addClass("mfp-s-" + a), c = a } }, _checkIfClose: function (c) { if (!a(c).hasClass(s)) { var d = b.st.closeOnContentClick, e = b.st.closeOnBgClick; if (d && e) return !0; if (!b.content || a(c).hasClass("mfp-close") || b.preloader && c === b.preloader[0]) return !0; if (c === b.content[0] || a.contains(b.content[0], c)) { if (d) return !0 } else if (e && a.contains(document, c)) return !0; return !1 } }, _addClassToMFP: function (a) { b.bgOverlay.addClass(a), b.wrap.addClass(a) }, _removeClassFromMFP: function (a) { this.bgOverlay.removeClass(a), b.wrap.removeClass(a) }, _hasScrollBar: function (a) { return (b.isIE7 ? d.height() : document.body.scrollHeight) > (a || v.height()) }, _setFocus: function () { (b.st.focus ? b.content.find(b.st.focus).eq(0) : b.wrap).focus() }, _onFocusIn: function (c) { return c.target === b.wrap[0] || a.contains(b.wrap[0], c.target) ? void 0 : (b._setFocus(), !1) }, _parseMarkup: function (b, c, d) { var e; d.data && (c = a.extend(d.data, c)), y(l, [b, c, d]), a.each(c, function (c, d) { if (void 0 === d || d === !1) return !0; if (e = c.split("_"), e.length > 1) { var f = b.find(p + "-" + e[0]); if (f.length > 0) { var g = e[1]; "replaceWith" === g ? f[0] !== d[0] && f.replaceWith(d) : "img" === g ? f.is("img") ? f.attr("src", d) : f.replaceWith(a("<img>").attr("src", d).attr("class", f.attr("class"))) : f.attr(e[1], d) } } else b.find(p + "-" + c).html(d) }) }, _getScrollbarSize: function () { if (void 0 === b.scrollbarSize) { var a = document.createElement("div"); a.style.cssText = "width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;", document.body.appendChild(a), b.scrollbarSize = a.offsetWidth - a.clientWidth, document.body.removeChild(a) } return b.scrollbarSize } }, a.magnificPopup = { instance: null, proto: t.prototype, modules: [], open: function (b, c) { return A(), b = b ? a.extend(!0, {}, b) : {}, b.isObj = !0, b.index = c || 0, this.instance.open(b) }, close: function () { return a.magnificPopup.instance && a.magnificPopup.instance.close() }, registerModule: function (b, c) { c.options && (a.magnificPopup.defaults[b] = c.options), a.extend(this.proto, c.proto), this.modules.push(b) }, defaults: { disableOn: 0, key: null, midClick: !1, mainClass: "", preloader: !0, focus: "", closeOnContentClick: !1, closeOnBgClick: !0, closeBtnInside: !0, showCloseBtn: !0, enableEscapeKey: !0, modal: !1, alignTop: !1, removalDelay: 0, prependTo: null, fixedContentPos: "auto", fixedBgPos: "auto", overflowY: "auto", closeMarkup: '<button title="%title%" type="button" class="mfp-close">&#215;</button>', tClose: "Close (Esc)", tLoading: "Loading...", autoFocusLast: !0 } }, a.fn.magnificPopup = function (c) { A(); var d = a(this); if ("string" == typeof c) if ("open" === c) { var e, f = u ? d.data("magnificPopup") : d[0].magnificPopup, g = parseInt(arguments[1], 10) || 0; f.items ? e = f.items[g] : (e = d, f.delegate && (e = e.find(f.delegate)), e = e.eq(g)), b._openClick({ mfpEl: e }, d, f) } else b.isOpen && b[c].apply(b, Array.prototype.slice.call(arguments, 1)); else c = a.extend(!0, {}, c), u ? d.data("magnificPopup", c) : d[0].magnificPopup = c, b.addGroup(d, c); return d }; var C, D, E, F = "inline", G = function () { E && (D.after(E.addClass(C)).detach(), E = null) }; a.magnificPopup.registerModule(F, { options: { hiddenClass: "hide", markup: "", tNotFound: "Content not found" }, proto: { initInline: function () { b.types.push(F), w(h + "." + F, function () { G() }) }, getInline: function (c, d) { if (G(), c.src) { var e = b.st.inline, f = a(c.src); if (f.length) { var g = f[0].parentNode; g && g.tagName && (D || (C = e.hiddenClass, D = x(C), C = "mfp-" + C), E = f.after(D).detach().removeClass(C)), b.updateStatus("ready") } else b.updateStatus("error", e.tNotFound), f = a("<div>"); return c.inlineElement = f, f } return b.updateStatus("ready"), b._parseMarkup(d, {}, c), d } } }); var H, I = "ajax", J = function () { H && a(document.body).removeClass(H) }, K = function () { J(), b.req && b.req.abort() }; a.magnificPopup.registerModule(I, { options: { settings: null, cursor: "mfp-ajax-cur", tError: '<a href="%url%">The content</a> could not be loaded.' }, proto: { initAjax: function () { b.types.push(I), H = b.st.ajax.cursor, w(h + "." + I, K), w("BeforeChange." + I, K) }, getAjax: function (c) { H && a(document.body).addClass(H), b.updateStatus("loading"); var d = a.extend({ url: c.src, success: function (d, e, f) { var g = { data: d, xhr: f }; y("ParseAjax", g), b.appendContent(a(g.data), I), c.finished = !0, J(), b._setFocus(), setTimeout(function () { b.wrap.addClass(q) }, 16), b.updateStatus("ready"), y("AjaxContentAdded") }, error: function () { J(), c.finished = c.loadError = !0, b.updateStatus("error", b.st.ajax.tError.replace("%url%", c.src)) } }, b.st.ajax.settings); return b.req = a.ajax(d), "" } } }); var L, M = function (c) { if (c.data && void 0 !== c.data.title) return c.data.title;
584 var d = b.st.image.titleSrc; if (d) { if (a.isFunction(d)) return d.call(b, c); if (c.el) return c.el.attr(d) || "" } return "" }; a.magnificPopup.registerModule("image", { options: { markup: '<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>', cursor: "mfp-zoom-out-cur", titleSrc: "title", verticalFit: !0, tError: '<a href="%url%">The image</a> could not be loaded.' }, proto: { initImage: function () { var c = b.st.image, d = ".image"; b.types.push("image"), w(m + d, function () { "image" === b.currItem.type && c.cursor && a(document.body).addClass(c.cursor) }), w(h + d, function () { c.cursor && a(document.body).removeClass(c.cursor), v.off("resize" + p) }), w("Resize" + d, b.resizeImage), b.isLowIE && w("AfterChange", b.resizeImage) }, resizeImage: function () { var a = b.currItem; if (a && a.img && b.st.image.verticalFit) { var c = 0; b.isLowIE && (c = parseInt(a.img.css("padding-top"), 10) + parseInt(a.img.css("padding-bottom"), 10)), a.img.css("max-height", b.wH - c) } }, _onImageHasSize: function (a) { a.img && (a.hasSize = !0, L && clearInterval(L), a.isCheckingImgSize = !1, y("ImageHasSize", a), a.imgHidden && (b.content && b.content.removeClass("mfp-loading"), a.imgHidden = !1)) }, findImageSize: function (a) { var c = 0, d = a.img[0], e = function (f) { L && clearInterval(L), L = setInterval(function () { return d.naturalWidth > 0 ? void b._onImageHasSize(a) : (c > 200 && clearInterval(L), c++, void (3 === c ? e(10) : 40 === c ? e(50) : 100 === c && e(500))) }, f) }; e(1) }, getImage: function (c, d) { var e = 0, f = function () { c && (c.img[0].complete ? (c.img.off(".mfploader"), c === b.currItem && (b._onImageHasSize(c), b.updateStatus("ready")), c.hasSize = !0, c.loaded = !0, y("ImageLoadComplete")) : (e++, 200 > e ? setTimeout(f, 100) : g())) }, g = function () { c && (c.img.off(".mfploader"), c === b.currItem && (b._onImageHasSize(c), b.updateStatus("error", h.tError.replace("%url%", c.src))), c.hasSize = !0, c.loaded = !0, c.loadError = !0) }, h = b.st.image, i = d.find(".mfp-img"); if (i.length) { var j = document.createElement("img"); j.className = "mfp-img", c.el && c.el.find("img").length && (j.alt = c.el.find("img").attr("alt")), c.img = a(j).on("load.mfploader", f).on("error.mfploader", g), j.src = c.src, i.is("img") && (c.img = c.img.clone()), j = c.img[0], j.naturalWidth > 0 ? c.hasSize = !0 : j.width || (c.hasSize = !1) } return b._parseMarkup(d, { title: M(c), img_replaceWith: c.img }, c), b.resizeImage(), c.hasSize ? (L && clearInterval(L), c.loadError ? (d.addClass("mfp-loading"), b.updateStatus("error", h.tError.replace("%url%", c.src))) : (d.removeClass("mfp-loading"), b.updateStatus("ready")), d) : (b.updateStatus("loading"), c.loading = !0, c.hasSize || (c.imgHidden = !0, d.addClass("mfp-loading"), b.findImageSize(c)), d) } } }); var N, O = function () { return void 0 === N && (N = void 0 !== document.createElement("p").style.MozTransform), N }; a.magnificPopup.registerModule("zoom", { options: { enabled: !1, easing: "ease-in-out", duration: 300, opener: function (a) { return a.is("img") ? a : a.find("img") } }, proto: { initZoom: function () { var a, c = b.st.zoom, d = ".zoom"; if (c.enabled && b.supportsTransition) { var e, f, g = c.duration, j = function (a) { var b = a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"), d = "all " + c.duration / 1e3 + "s " + c.easing, e = { position: "fixed", zIndex: 9999, left: 0, top: 0, "-webkit-backface-visibility": "hidden" }, f = "transition"; return e["-webkit-" + f] = e["-moz-" + f] = e["-o-" + f] = e[f] = d, b.css(e), b }, k = function () { b.content.css("visibility", "visible") }; w("BuildControls" + d, function () { if (b._allowZoom()) { if (clearTimeout(e), b.content.css("visibility", "hidden"), a = b._getItemToZoom(), !a) return void k(); f = j(a), f.css(b._getOffset()), b.wrap.append(f), e = setTimeout(function () { f.css(b._getOffset(!0)), e = setTimeout(function () { k(), setTimeout(function () { f.remove(), a = f = null, y("ZoomAnimationEnded") }, 16) }, g) }, 16) } }), w(i + d, function () { if (b._allowZoom()) { if (clearTimeout(e), b.st.removalDelay = g, !a) { if (a = b._getItemToZoom(), !a) return; f = j(a) } f.css(b._getOffset(!0)), b.wrap.append(f), b.content.css("visibility", "hidden"), setTimeout(function () { f.css(b._getOffset()) }, 16) } }), w(h + d, function () { b._allowZoom() && (k(), f && f.remove(), a = null) }) } }, _allowZoom: function () { return "image" === b.currItem.type }, _getItemToZoom: function () { return b.currItem.hasSize ? b.currItem.img : !1 }, _getOffset: function (c) { var d; d = c ? b.currItem.img : b.st.zoom.opener(b.currItem.el || b.currItem); var e = d.offset(), f = parseInt(d.css("padding-top"), 10), g = parseInt(d.css("padding-bottom"), 10); e.top -= a(window).scrollTop() - f; var h = { width: d.width(), height: (u ? d.innerHeight() : d[0].offsetHeight) - g - f }; return O() ? h["-moz-transform"] = h.transform = "translate(" + e.left + "px," + e.top + "px)" : (h.left = e.left, h.top = e.top), h } } }); var P = "iframe", Q = "//about:blank", R = function (a) { if (b.currTemplate[P]) { var c = b.currTemplate[P].find("iframe"); c.length && (a || (c[0].src = Q), b.isIE8 && c.css("display", a ? "block" : "none")) } }; a.magnificPopup.registerModule(P, { options: { markup: '<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>', srcAction: "iframe_src", patterns: { youtube: { index: "youtube.com", id: "v=", src: "//www.youtube.com/embed/%id%?autoplay=1" }, vimeo: { index: "vimeo.com/", id: "/", src: "//player.vimeo.com/video/%id%?autoplay=1" }, gmaps: { index: "//maps.google.", src: "%id%&output=embed" } } }, proto: { initIframe: function () { b.types.push(P), w("BeforeChange", function (a, b, c) { b !== c && (b === P ? R() : c === P && R(!0)) }), w(h + "." + P, function () { R() }) }, getIframe: function (c, d) { var e = c.src, f = b.st.iframe; a.each(f.patterns, function () { return e.indexOf(this.index) > -1 ? (this.id && (e = "string" == typeof this.id ? e.substr(e.lastIndexOf(this.id
584) + this.id.length, e.length) : this.id.call(this, e)), e = this.src.replace("%id%", e), !1) : void 0 }); var g = {}; return f.srcAction && (g[f.srcAction] = e), b._parseMarkup(d, g, c), b.updateStatus("ready"), d } } }); var S = function (a) { var c = b.items.length; return a > c - 1 ? a - c : 0 > a ? c + a : a }, T = function (a, b, c) { return a.replace(/%curr%/gi, b + 1).replace(/%total%/gi, c) }; a.magnificPopup.registerModule("gallery", { options: { enabled: !1, arrowMarkup: '<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>', preload: [0, 2], navigateByImgClick: !0, arrows: !0, tPrev: "Previous (Left arrow key)", tNext: "Next (Right arrow key)", tCounter: "%curr% of %total%" }, proto: { initGallery: function () { var c = b.st.gallery, e = ".mfp-gallery"; return b.direction = !0, c && c.enabled ? (f += " mfp-gallery", w(m + e, function () { c.navigateByImgClick && b.wrap.on("click" + e, ".mfp-img", function () { return b.items.length > 1 ? (b.next(), !1) : void 0 }), d.on("keydown" + e, function (a) { 37 === a.keyCode ? b.prev() : 39 === a.keyCode && b.next() }) }), w("UpdateStatus" + e, function (a, c) { c.text && (c.text = T(c.text, b.currItem.index, b.items.length)) }), w(l + e, function (a, d, e, f) { var g = b.items.length; e.counter = g > 1 ? T(c.tCounter, f.index, g) : "" }), w("BuildControls" + e, function () { if (b.items.length > 1 && c.arrows && !b.arrowLeft) { var d = c.arrowMarkup, e = b.arrowLeft = a(d.replace(/%title%/gi, c.tPrev).replace(/%dir%/gi, "left")).addClass(s), f = b.arrowRight = a(d.replace(/%title%/gi, c.tNext).replace(/%dir%/gi, "right")).addClass(s); e.click(function () { b.prev() }), f.click(function () { b.next() }), b.container.append(e.add(f)) } }), w(n + e, function () { b._preloadTimeout && clearTimeout(b._preloadTimeout), b._preloadTimeout = setTimeout(function () { b.preloadNearbyImages(), b._preloadTimeout = null }, 16) }), void w(h + e, function () { d.off(e), b.wrap.off("click" + e), b.arrowRight = b.arrowLeft = null })) : !1 }, next: function () { b.direction = !0, b.index = S(b.index + 1), b.updateItemHTML() }, prev: function () { b.direction = !1, b.index = S(b.index - 1), b.updateItemHTML() }, goTo: function (a) { b.direction = a >= b.index, b.index = a, b.updateItemHTML() }, preloadNearbyImages: function () { var a, c = b.st.gallery.preload, d = Math.min(c[0], b.items.length), e = Math.min(c[1], b.items.length); for (a = 1; a <= (b.direction ? e : d); a++)b._preloadItem(b.index + a); for (a = 1; a <= (b.direction ? d : e); a++)b._preloadItem(b.index - a) }, _preloadItem: function (c) { if (c = S(c), !b.items[c].preloaded) { var d = b.items[c]; d.parsed || (d = b.parseEl(c)), y("LazyLoad", d), "image" === d.type && (d.img = a('<img class="mfp-img" />').on("load.mfploader", function () { d.hasSize = !0 }).on("error.mfploader", function () { d.hasSize = !0, d.loadError = !0, y("LazyLoadError", d) }).attr("src", d.src)), d.preloaded = !0 } } } }); var U = "retina"; a.magnificPopup.registerModule(U, { options: { replaceSrc: function (a) { return a.src.replace(/\.\w+$/, function (a) { return "@2x" + a }) }, ratio: 1 }, proto: { initRetina: function () { if (window.devicePixelRatio > 1) { var a = b.st.retina, c = a.ratio; c = isNaN(c) ? c() : c, c > 1 && (w("ImageHasSize." + U, function (a, b) { b.img.css({ "max-width": b.img[0].naturalWidth / c, width: "100%" }) }), w("ElementParse." + U, function (b, d) { d.src = a.replaceSrc(d, c) })) } } } }), A() });
585
586
587//!function (t) { "use strict"; t((function () { var e; function i(e, i, n) { t(document).on(e, i, n) } e = t(".elementskit-menu-container"), t(e).each((function () { var e = t(this); "yes" != e.attr("ekit-dom-added") && (0 === e.parents(".elementor-widget-ekit-nav-menu").length && e.parents(".ekit-wid-con").addClass("ekit_menu_responsive_tablet"), e.attr("ekit-dom-added", "yes")) })), i("click", ".elementskit-dropdown-has > a", (function (e) { if (!t(this).parents(".elementskit-navbar-nav, .ekit-vertical-navbar-nav").hasClass("submenu-click-on-icon") || t(e.target).hasClass("elementskit-submenu-indicator")) { e.preventDefault(); var i = t(this).parent().find(">.elementskit-dropdown, >.elementskit-megamenu-panel"); i.find(".elementskit-dropdown-open").removeClass("elementskit-dropdown-open"), i.hasClass("elementskit-dropdown-open") ? i.removeClass("elementskit-dropdown-open") : i.addClass("elementskit-dropdown-open") } })), i("click", ".elementskit-menu-toggler", (function (e) { e.preventDefault(); var i = t(this).parents(".elementskit-menu-container").parent(); i.length < 1 && (i = t(this).parent()); var n = i.find(".elementskit-menu-offcanvas-elements"); n.hasClass("active") ? n.removeClass("active") : n.addClass("active") })), i("click", ".elementskit-navbar-nav li a", (function (e) { if (t(this).attr("href") && "elementskit-submenu-indicator" !== e.target.className) { var i = t(this), n = i.get(0), o = n.href, r = o.indexOf("#"), s = i.parents(".elementskit-menu-container").hasClass("ekit-nav-menu-one-page-yes"); -1 !== r && o.length > 1 && s && n.pathname == window.location.pathname && (e.preventDefault(), i.parents(".ekit-wid-con").find(".elementskit-menu-close").trigger("click")) } })) })) }(jQuery);
588
589(function (t) {
590    "use strict";
591    t(function () {
592        if (t('.digiqole-elementskit-menu-container').length) {
593            var e;
594            function i(e, i, n) {
595                t(document).on(e, i, n);
596            }
597            (e = t(".elementskit-menu-container")),
598                t(e).each(function () {
599                    var e = t(this);
600                    "yes" != e.attr("ekit-dom-added") &&
601                        (0 === e.parents(".elementor-widget-ekit-nav-menu").length &&
602                            e.parents(".ekit-wid-con").addClass("ekit_menu_responsive_tablet"),
603                            e.attr("ekit-dom-added", "yes"));
604                }),
605                i("click", ".elementskit-dropdown-has > a", function (e) {
606                    if (
607                        !t(this)
608                            .parents(".elementskit-navbar-nav, .ekit-vertical-navbar-nav")
609                            .hasClass("submenu-click-on-icon") ||
610                        t(e.target).hasClass("elementskit-submenu-indicator")
611                    ) {
612                        e.preventDefault();
613                        var i = t(this).parent().find(">.elementskit-dropdown, >.elementskit-megamenu-panel");
614                        i.find(".elementskit-dropdown-open").removeClass("elementskit-dropdown-open"),
615                            i.hasClass("elementskit-dropdown-open")
616                                ? i.removeClass("elementskit-dropdown-open")
617                                : i.addClass("elementskit-dropdown-open");
618                    }
619                }),
620                i("click", ".elementskit-menu-toggler", function (e) {
621                    e.preventDefault();
622                    var i = t(this).parents(".elementskit-menu-container").parent();
623                    i.length < 1 && (i = t(this).parent());
624                    var n = i.find(".elementskit-menu-offcanvas-elements");
625                    n.hasClass("active") ? n.removeClass("active") : n.addClass("active");
626                });
627        }
628    });
629})(jQuery);
630
631
632'use strict'; (function () {
633    function h(c, b) { if (!(c instanceof b)) throw new TypeError("Cannot call a class as a function"); } function u(c, b) { for (var a = 0; a < b.length; a++) { var f = b[a]; f.enumerable = f.enumerable || !1; f.configurable = !0; "value" in f && (f.writable = !0); Object.defineProperty(c, f.key, f) } } function g(c, b, a) { b && u(c.prototype, b); a && u(c, a); return c } function m(c, b) {
634        if ("function" !== typeof b && null !== b) throw new TypeError("Super expression must either be null or a function"); c.prototype = Object.create(b && b.prototype,
635            { constructor: { value: c, writable: !0, configurable: !0 } }); b && r(c, b)
636    } function k(c) { k = Object.setPrototypeOf ? Object.getPrototypeOf : function (b) { return b.__proto__ || Object.getPrototypeOf(b) }; return k(c) } function r(c, b) { r = Object.setPrototypeOf || function (a, b) { a.__proto__ = b; return a }; return r(c, b) } function l(c) { if (void 0 === c) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return c } function n(c, b) { return !b || "object" !== typeof b && "function" !== typeof b ? l(c) : b } function p(c) {
637        if (Array.isArray(c)) {
638            var b =
639                0; for (var a = Array(c.length); b < c.length; b++)a[b] = c[b]; b = a
640        } else b = void 0; b || (b = Symbol.iterator in Object(c) || "[object Arguments]" === Object.prototype.toString.call(c) ? Array.from(c) : void 0); if (!(c = b)) throw new TypeError("Invalid attempt to spread non-iterable instance"); return c
641    } var v = function () {
642        function c() { h(this, c); this.handlers = {} } g(c, [{
643            key: "addEventListener", value: function () {
644                var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document, a = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] :
645                    "click"; this.handlers[a] = { func: 2 < arguments.length ? arguments[2] : void 0, target: b }; var f = a.split(".")[0]; b.addEventListener(f, this.handlers[a].func)
646            }
647        }, { key: "removeEventListener", value: function () { var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "click", a = b.split(".")[0], f = this.handlers[b]; f.target.removeEventListener(a, f.func); delete this.handlers[b] } }, { key: "removeAll", value: function () { for (var b in this.handlers) this.removeEventListener(b) } }]); return c
648    }(), w = function () {
649        return "".concat(0 < arguments.length &&
650            void 0 !== arguments[0] ? arguments[0] : "id", "-").concat(Math.random().toString(36).substr(2, 8))
651    }, e = function () {
652        function c() { h(this, c); this.events = new v; this.callback = function () { }; this.updateInstanceId() } g(c, [{
653            key: "eventHandler", value: function (b, a) {
654                var f = this, d = a.share_url, c = a.windowTitle, q = a.windowWidth, h = a.windowHeight; b.preventDefault(); a = Math.round((window.outerHeight || window.document.documentElement.offsetHeight) / 2 - h / 2); var g = Math.round((window.outerWidth || window.document.documentElement.offsetWidth) /
655                    2 - q / 2); q = "width=".concat(q, ",height=").concat(h); a = "left=".concat(g, ",top=").concat(a); var k = "".concat(q, ",").concat(a, ",location=no,toolbar=no,menubar=no"), e = window.open(d, c, k), l = setInterval(function () { e.closed && (f.callback(b, { share_url: d, windowTitle: c, windowOptions: k }, e), clearInterval(l)) }, 10); return e
656            }
657        }, { key: "setShareCallback", value: function (b) { this.callback = b } }, {
658            key: "createEvents", value: function (b) {
659                var a = this; p(b).forEach(function (b) {
660                    var f = a.getPreparedData(b); a.events.addEventListener(b, "click.".concat(a.instanceId),
661                        function (b) { return a.eventHandler.call(a, b, f) })
662                })
663            }
664        }, { key: "getInstance", value: function () { "function" === typeof this.shareWindow && this.shareWindow(); "function" === typeof this.getCounter && this.getCounter(); return this } }, { key: "updateInstanceId", value: function () { this.instanceId = w() } }, { key: "reNewInstance", value: function () { this.events.removeAll(); this.updateInstanceId(); return this.getInstance() } }]); return c
665    }(), t = function (c) {
666        function b() {
667            var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href,
668                f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : document.querySelector('link[rel="apple-touch-icon"]'); h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.title = encodeURIComponent(f); c.image = d ? encodeURIComponent(d.href) : ""; c.createEvents = c.createEvents.bind(l(c)); return c
669        } m(b, c); g(b, [{
670            key: "getPreparedData", value: function (a) {
671                var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, d = a.dataset.title ?
672                    encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.image ? encodeURIComponent(a.dataset.image) : this.image; b = "https://vk.com/share.php?url=".concat(b, "&title=").concat(d, "&image=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
673            }
674        }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="vkontakte"]'); return this.createEvents(a) } }, {
675            key: "getCounter", value: function () {
676                var a = document.createElement("script"), b =
677                    document.querySelectorAll('[data-counter="vkontakte"]'), d = "https://vk.com/share.php?act=count&index=1&url=".concat(this.url); window.VK = Object.assign({}, { Share: {} }, window.VK); 0 < b.length && (window.VK.Share.count = function (f, d) { p(b).forEach(function (a) { a.innerHTML = d }); null !== a.parentNode && a.parentNode.removeChild(a) }, a.src = d, document.body.appendChild(a))
678            }
679        }]); return b
680    }(e), x = function (c) {
681        function b() {
682            var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length &&
683                void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f);
vendor: 17,353 bytes, lines 683-829
683 d.createEvents = d.createEvents.bind(l(d)); return d
684        } m(b, c); g(b, [{
685            key: "getPreparedData", value: function (a) {
686                var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://facebook.com/sharer/sharer.php?u=".concat(b, "&t=").concat(a); return {
687                    callback: this.callback, share_url: b, windowTitle: "Share this",
688                    windowWidth: 640, windowHeight: 480
689                }
690            }
691        }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="facebook"]'); return this.createEvents(a) } }, {
692            key: "getCounter", value: function () {
693                var a = document.createElement("script"), b = ("goodshare_" + Math.random()).replace(".", ""), d = document.querySelectorAll('[data-counter="facebook"]'), c = "https://graph.facebook.com/?id=".concat(this.url, "&callback=").concat(b); 0 < d.length && (window[b] = function (b) {
694                    p(d).forEach(function (a) {
695                        a.innerHTML = b.share ? b.share.share_count :
696                            0
697                    }); null !== a.parentNode && a.parentNode.removeChild(a)
698                }, a.src = c, document.body.appendChild(a))
699            }
700        }]); return b
701    }(e), y = function (c) {
702        function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b, [{
703            key: "getPreparedData", value: function (a) {
704                var b = a.dataset.url ?
705                    encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://connect.ok.ru/offer?url=".concat(b, "&title=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
706            }
707        }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="odnoklassniki"]'); return this.createEvents(a) } }, {
708            key: "getCounter", value: function () {
709                var a = document.createElement("script"), b = document.querySelectorAll('[data-counter="odnoklassniki"]'),
710                    d = "https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url); window.ODKL = {}; 0 < b.length && (window.ODKL.updateCount = function (f, d) { p(b).forEach(function (a) { a.innerHTML = d }); null !== a.parentNode && a.parentNode.removeChild(a) }, a.src = d, document.body.appendChild(a))
711            }
712        }]); return b
713    }(e), z = function (c) {
714        function b() {
715            var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ?
716                arguments[2] : document.querySelector('meta[name="description"]'), c = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : document.querySelector('link[rel="apple-touch-icon"]'); h(this, b); var e = n(this, k(b).call(this)); e.url = encodeURIComponent(a); e.title = encodeURIComponent(f); e.description = d ? encodeURIComponent(d.content) : ""; e.image = c ? encodeURIComponent(c.href) : ""; e.createEvents = e.createEvents.bind(l(e)); return e
717        } m(b, c); g(b, [{
718            key: "getPreparedData", value: function (a) {
719                var b = a.dataset.url ? encodeURIComponent(a.dataset.url) :
720                    this.url, d = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title, c = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description; a = a.dataset.image ? encodeURIComponent(a.dataset.image) : this.image; b = "https://connect.mail.ru/share?url=".concat(b, "&title=").concat(d, "&description=").concat(c, "&imageurl=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
721            }
722        }, {
723            key: "shareWindow", value: function () {
724                var a = document.querySelectorAll('[data-social="moimir"]');
725                return this.createEvents(a)
726            }
727        }, { key: "getCounter", value: function () { var a = document.createElement("script"), b = encodeURIComponent(this.url.replace(/^.*?:\/\//, "")), d = ("goodshare_" + Math.random()).replace(".", ""), c = document.querySelectorAll('[data-counter="moimir"]'); 0 < c.length && (window[d] = function (b) { p(c).forEach(function (a) { a.innerHTML = b.share_mm }); null !== a.parentNode && a.parentNode.removeChild(a) }, a.src = "https://appsmail.ru/share/count/" + b + "?callback=" + d, document.body.appendChild(a)) } }]); return b
728    }(e),
729        A = function (c) {
730            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : document.querySelector('meta[name="description"]'); h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.title = encodeURIComponent(f); c.description = d ? encodeURIComponent(d.content) : ""; c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{
731                key: "getPreparedData",
732                value: function (a) { var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, d = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description; b = "https://www.tumblr.com/widgets/share/tool?canonicalUrl=".concat(b, "&title=").concat(d, "&caption=").concat(a, "&posttype=link"); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } }
733            }, {
734                key: "shareWindow", value: function () {
735                    var a =
736                        document.querySelectorAll('[data-social="tumblr"]'); return this.createEvents(a)
737                }
738            }, { key: "getCounter", value: function () { var a = document.createElement("script"), b = ("goodshare_" + Math.random()).replace(".", ""), d = document.querySelectorAll('[data-counter="tumblr"]'), c = "https://api.tumblr.com/v2/share/stats?url=".concat(this.url, "&callback=").concat(b); 0 < d.length && (window[b] = function (b) { p(d).forEach(function (a) { a.innerHTML = b.response.note_count }); null !== a.parentNode && a.parentNode.removeChild(a) }, a.src = c, document.body.appendChild(a)) } }]);
739            return b
740        }(e), B = function (c) {
741            function b() {
742                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.querySelector('meta[name="description"]'), d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : document.querySelector('link[rel="apple-touch-icon"]'); h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.description = f ? encodeURIComponent(f.content) : ""; c.image = d ? encodeURIComponent(d.href) : "";
743                c.createEvents = c.createEvents.bind(l(c)); return c
744            } m(b, c); g(b, [{
745                key: "getPreparedData", value: function (a) {
746                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, d = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description; a = a.dataset.image ? encodeURIComponent(a.dataset.image) : this.image; b = "https://www.pinterest.com/pin/create/button/?url=".concat(b, "&description=").concat(d, "&media=").concat(a); return {
747                        callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640,
748                        windowHeight: 480
749                    }
750                }
751            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="pinterest"]'); return this.createEvents(a) } }, {
752                key: "getCounter", value: function () {
753                    var a = document.createElement("script"), b = ("goodshare_" + Math.random()).replace(".", ""), d = document.querySelectorAll('[data-counter="pinterest"]'), c = "https://api.pinterest.com/v1/urls/count.json?url=".concat(this.url, "&callback=").concat(b); 0 < d.length && (window[b] = function (b) {
754                        p(d).forEach(function (a) {
755                            a.innerHTML = 0 < b.length ?
756                                b.count : 0
757                        }); null !== a.parentNode && a.parentNode.removeChild(a)
758                    }, a.src = c, document.body.appendChild(a))
759                }
760            }]); return b
761        }(e), C = function (c) {
762            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b, [{
763                key: "getPreparedData", value: function (a) {
764                    var b =
765                        a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://reddit.com/submit?url=".concat(b, "&title=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
766                }
767            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="reddit"]'); return this.createEvents(a) } }]); return b
768        }(e), D = function (c) {
769            function b() {
770                var a = 0 < arguments.length && void 0 !== arguments[0] ?
771                    arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d
772            } m(b, c); g(b, [{
773                key: "getPreparedData", value: function (a) {
774                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://buffer.com/add?url=".concat(b, "&text=").concat(a); return {
775                        callback: this.callback,
776                        share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480
777                    }
778                }
779            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="buffer"]'); return this.createEvents(a) } }, {
780                key: "getCounter", value: function () {
781                    var a = document.createElement("script"), b = ("goodshare_" + Math.random()).replace(".", ""), d = document.querySelectorAll('[data-counter="buffer"]'), c = "https://api.bufferapp.com/1/links/shares.json?url=".concat(this.url, "&callback=").concat(b); 0 < d.length && (window[b] = function (b) {
782                        p(d).forEach(function (a) {
783                            a.innerHTML =
784                                b ? b.shares : 0
785                        }); a.parentNode.removeChild(a)
786                    }, a.src = c, document.body.appendChild(a))
787                }
788            }]); return b
789        }(e), E = function (c) {
790            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b, [{
791                key: "getPreparedData", value: function (a) {
792                    var b = a.dataset.url ?
793                        encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://twitter.com/share?url=".concat(b, "&text=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
794                }
795            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="twitter"]'); return this.createEvents(a) } }]); return b
796        }(e), F = function (c) {
797            function b() {
798                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] :
799                    document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d
800            } m(b, c); g(b, [{
801                key: "getPreparedData", value: function (a) {
802                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://livejournal.com/update.bml?event=".concat(b, "&subject=").concat(a);
803                    return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
804                }
805            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="livejournal"]'); return this.createEvents(a) } }]); return b
806        }(e), G = function (c) {
807            function b() {
808                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : document.querySelector('meta[name="description"]');
809                h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.title = encodeURIComponent(f); c.description = d ? encodeURIComponent(d.content) : ""; c.createEvents = c.createEvents.bind(l(c)); return c
810            } m(b, c); g(b, [{
811                key: "getPreparedData", value: function (a) {
812                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, d = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description; b = "https://www.linkedin.com/shareArticle?url=".concat(b,
813                        "&text=").concat(d, "&summary=").concat(a, "&mini=true"); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
814                }
815            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="linkedin"]'); return this.createEvents(a) } }]); return b
816        }(e), H = function (c) {
817            function b() {
818                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length &&
819                    void 0 !== arguments[2] ? arguments[2] : document.querySelector('meta[name="description"]'); h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.title = encodeURIComponent(f); c.description = d ? encodeURIComponent(d.content) : ""; c.createEvents = c.createEvents.bind(l(c)); return c
820            } m(b, c); g(b, [{
821                key: "getPreparedData", value: function (a) {
822                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, d = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.description ? encodeURIComponent(a.dataset.description) :
823                        this.description; b = "https://www.evernote.com/clip.action?url=".concat(b, "&title=").concat(d, "&body=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
824                }
825            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="evernote"]'); return this.createEvents(a) } }]); return b
826        }(e), I = function (c) {
827            function b() {
828                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ?
829                    arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f);
829 d.createEvents = d.createEvents.bind(l(d)); return d
830            } m(b, c); g(b, [{
831                key: "getPreparedData", value: function (a) {
832                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://del.icio.us/save?url=".concat(b, "&title=").concat(a); return {
833                        callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640,
834                        windowHeight: 480
835                    }
836                }
837            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="delicious"]'); return this.createEvents(a) } }]); return b
838        }(e), J = function (c) {
839            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b,
840                [{ key: "getPreparedData", value: function (a) { var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://share.flipboard.com/bookmarklet/popout?ext=sharethis&title=".concat(a, "&url=").concat(b, "&v=2"); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="flipboard"]'); return this.createEvents(a) } }]);
841            return b
842        }(e), K = function (c) {
843            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var f = n(this, k(b).call(this)); f.url = encodeURIComponent(a); f.createEvents = f.createEvents.bind(l(f)); return f } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://mix.com/mixit?su=submit&url=".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } },
844            { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="mix"]'); return this.createEvents(a) } }]); return b
845        }(e), L = function (c) {
846            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var f = n(this, k(b).call(this)); f.url = encodeURIComponent(a); f.createEvents = f.createEvents.bind(l(f)); return f } m(b, c); g(b, [{
847                key: "getPreparedData", value: function (a) {
848                    a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://www.meneame.net/submit?url=".concat(a);
849                    return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
850                }
851            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="meneame"]'); return this.createEvents(a) } }]); return b
852        }(e), M = function (c) {
853            function b() {
854                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, f = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title =
855                    encodeURIComponent(f); d.createEvents = d.createEvents.bind(l(d)); return d
856            } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://www.blogger.com/blog-this.g?u=".concat(b, "&n=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, {
857                key: "shareWindow", value: function () {
858                    var a = document.querySelectorAll('[data-social="blogger"]');
859                    return this.createEvents(a)
860                }
861            }]); return b
862        }(e), N = function (c) {
863            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c);
vendor: 17,807 bytes, lines 863-1002
863 d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b, [{
864                key: "getPreparedData", value: function (a) {
865                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ?
866                        encodeURIComponent(a.dataset.title) : this.title; b = "https://getpocket.com/save?url=".concat(b, "&title=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
867                }
868            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="pocket"]'); return this.createEvents(a) } }]); return b
869        }(e), O = function (c) {
870            function b() {
871                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ?
872                    arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c); d.createEvents = d.createEvents.bind(l(d)); return d
873            } m(b, c); g(b, [{
874                key: "getPreparedData", value: function (a) {
875                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://www.instapaper.com/edit?url=".concat(b, "&title=").concat(a); return {
876                        callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640,
877                        windowHeight: 480
878                    }
879                }
880            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="instapaper"]'); return this.createEvents(a) } }]); return b
881        }(e), P = function (c) {
882            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c);
883            g(b, [{ key: "getPreparedData", value: function (a) { var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://digg.com/submit?url=".concat(b, "&title=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="digg"]'); return this.createEvents(a) } }]); return b
884        }(e), Q = function (c) {
885            function b() {
886                var a =
887                    0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c); d.createEvents = d.createEvents.bind(l(d)); return d
888            } m(b, c); g(b, [{
889                key: "getPreparedData", value: function (a) {
890                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=".concat(b,
891                        "&cntitle=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
892                }
893            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="liveinternet"]'); return this.createEvents(a) } }]); return b
894        }(e), R = function (c) {
895            function b() {
896                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] :
897                    document.querySelector('meta[name="description"]'); h(this, b); var e = n(this, k(b).call(this)); e.url = encodeURIComponent(a); e.title = encodeURIComponent(c); e.description = d ? encodeURIComponent(d.content) : ""; e.createEvents = e.createEvents.bind(l(e)); return e
898            } m(b, c); g(b, [{
899                key: "getPreparedData", value: function (a) {
900                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, c = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description;
901                    b = "https://surfingbird.ru/share?url=".concat(b, "&title=").concat(c, "&description=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
902                }
903            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="surfingbird"]'); return this.createEvents(a) } }]); return b
904        }(e), S = function (c) {
905            function b() {
906                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a);
907                c.createEvents = c.createEvents.bind(l(c)); return c
908            } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://www.xing.com/spi/shares/new?url=".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="xing"]'); return this.createEvents(a) } }]); return b
909        }(e), T = function (c) {
910            function b() {
911                var a = 0 < arguments.length &&
912                    void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : document.querySelector('meta[name="description"]'), e = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : document.querySelector('link[rel="apple-touch-icon"]'); h(this, b); var g = n(this, k(b).call(this)); g.url = encodeURIComponent(a); g.title = encodeURIComponent(c); g.description = d ? encodeURIComponent(d.content) : ""; g.image =
913                        e ? encodeURIComponent(e.href) : ""; g.createEvents = g.createEvents.bind(l(g)); return g
914            } m(b, c); g(b, [{
915                key: "getPreparedData", value: function (a) {
916                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, c = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title, e = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description; a = a.dataset.image ? encodeURIComponent(a.dataset.image) : this.image; b = "https://wordpress.com/wp-admin/press-this.php?u=".concat(b, "&t=").concat(c, "&s=").concat(e,
917                        "&i=").concat(a, "&v=2"); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
918                }
919            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="wordpress"]'); return this.createEvents(a) } }]); return b
920        }(e), U = function (c) {
921            function b() {
922                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title, d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] :
923                    document.querySelector('meta[name="description"]'); h(this, b); var e = n(this, k(b).call(this)); e.url = encodeURIComponent(a); e.title = encodeURIComponent(c); e.description = d ? encodeURIComponent(d.content) : ""; e.createEvents = e.createEvents.bind(l(e)); return e
924            } m(b, c); g(b, [{
925                key: "getPreparedData", value: function (a) {
926                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url, c = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; a = a.dataset.description ? encodeURIComponent(a.dataset.description) : this.description;
927                    b = "https://cang.baidu.com/do/add?iu=".concat(b, "&it=").concat(c, "&dc=").concat(a, "&fr=ien"); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
928                }
929            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="baidu"]'); return this.createEvents(a) } }]); return b
930        }(e), V = function (c) {
931            function b() {
932                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] :
933                    document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c); d.createEvents = d.createEvents.bind(l(d)); return d
934            } m(b, c); g(b, [{
935                key: "getPreparedData", value: function (a) {
936                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "http://share.renren.com/share/buttonshare.do?url=".concat(b, "&title=").concat(a); return {
937                        callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640,
938                        windowHeight: 480
939                    }
940                }
941            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="renren"]'); return this.createEvents(a) } }]); return b
942        }(e), W = function (c) {
943            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.title; h(this, b); var d = n(this, k(b).call(this)); d.url = encodeURIComponent(a); d.title = encodeURIComponent(c); d.createEvents = d.createEvents.bind(l(d)); return d } m(b, c); g(b,
944                [{ key: "getPreparedData", value: function (a) { var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = a.dataset.title ? encodeURIComponent(a.dataset.title) : this.title; b = "https://service.weibo.com/share/share.php?url=".concat(b, "&title=").concat(a); return { callback: this.callback, share_url: b, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="weibo"]'); return this.createEvents(a) } }]); return b
945        }(e), X = function (c) {
946            function b() {
947                var a =
948                    0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c
949            } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "sms:?&body=".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, {
950                key: "shareWindow", value: function () {
951                    var a = document.querySelectorAll('[data-social="sms"]');
952                    return this.createEvents(a)
953                }
954            }]); return b
955        }(e), Y = function (c) {
956            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{
957                key: "getPreparedData", value: function (a) {
958                    a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://web.skype.com/share?".concat(a); return {
959                        callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640,
960                        windowHeight: 480
961                    }
962                }
963            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="skype"]'); return this.createEvents(a) } }]); return b
964        }(e), Z = function (c) {
965            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{
966                key: "getPreparedData", value: function (a) {
967                    var b = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url;
968                    a = a.dataset.rhash ? a.dataset.rhash : null; var c = "https://t.me/share/url?url=".concat(b); null !== a && (c = "https://t.me/iv?url=".concat(b, "&rhash=").concat(a)); return { callback: this.callback, share_url: c, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
969                }
970            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="telegram"]'); return this.createEvents(a) } }]); return b
971        }(e), aa = function (c) {
972            function b() {
973                var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href;
974                h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c
975            } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "viber://forward?text=".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="viber"]'); return this.createEvents(a) } }]); return b
976        }(e),
977        ba = function (c) {
978            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{ key: "getPreparedData", value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://wa.me/?text=".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } } }, {
979                key: "shareWindow", value: function () {
980                    var a =
981                        document.querySelectorAll('[data-social="whatsapp"]'); return this.createEvents(a)
982                }
983            }]); return b
984        }(e), ca = function (c) {
985            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{
986                key: "getPreparedData", value: function (a) {
987                    a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "https://chart.apis.google.com/chart?cht=qr&chs=196x196&chld=Q%7C0&chl=".concat(a);
988                    return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 }
989                }
990            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="wechat"]'); return this.createEvents(a) } }]); return b
991        }(e); e = function (c) {
992            function b() { var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : document.location.href; h(this, b); var c = n(this, k(b).call(this)); c.url = encodeURIComponent(a); c.createEvents = c.createEvents.bind(l(c)); return c } m(b, c); g(b, [{
993                key: "getPreparedData",
994                value: function (a) { a = a.dataset.url ? encodeURIComponent(a.dataset.url) : this.url; a = "line://msg/text/".concat(a); return { callback: this.callback, share_url: a, windowTitle: "Share this", windowWidth: 640, windowHeight: 480 } }
995            }, { key: "shareWindow", value: function () { var a = document.querySelectorAll('[data-social="line"]'); return this.createEvents(a) } }]); return b
996        }(e); var da = [t, x, y, z, G, A, B, C, D, E, F, H, I, J, N, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, ba, ca, e]; t = function () {
997            function c() { h(this, c); this.providers = da; this.getProviders() }
998            g(c, [{ key: "setShareCallback", value: function (b) { this.providers = this.providers.map(function (a) { return a.setShareCallback(b) }) } }, { key: "getProviders", value: function () { return this.providers = this.providers.map(function (b) { return (new b).getInstance() }) } }, { key: "reNewAllInstance", value: function () { this.providers = this.providers.map(function (b) { return b.reNewInstance() }) } }]); return c
999        }(); window._goodshare = new t
1000})();
1001
1002

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.