vendor: 44,082 bytes, lines 1-792
1 2var tnsSliderTest = document.querySelectorAll(".js-tns-slider"), 3 tnsSliderTestCount = tnsSliderTest.length; 4 5if (tnsSliderTestCount > 0) { 6 7 var tns = function () { 8 Object.keys || (Object.keys = function (t) { 9 var e = []; 10 for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.push(n); 11 return e 12 }), "remove" in Element.prototype || (Element.prototype.remove = function () { 13 this.parentNode && this.parentNode.removeChild(this) 14 }); 15 var t = window, 16 Oi = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.msRequestAnimationFrame || function (t) { 17 return setTimeout(t, 16) 18 }, e = window, Di = e.cancelAnimationFrame || e.mozCancelAnimationFrame || function (t) { 19 clearTimeout(t) 20 }; 21 22 function Hi() { 23 for (var t, e, n, i = arguments[0] || {}, a = 1, r = arguments.length; a < r; a++) if (null !== (t = arguments[a])) for (e in t) i !== (n = t[e]) && void 0 !== n && (i[e] = n); 24 return i 25 } 26 27 function ki(t) { 28 return 0 <= ["true", "false"].indexOf(t) ? JSON.parse(t) : t 29 } 30 31 function Ri(t, e, n, i) { 32 if (i) try { 33 t.setItem(e, n) 34 } catch (t) { 35 } 36 return n 37 } 38 39 function Ii() { 40 var t = document, e = t.body; 41 return e || ((e = t.createElement("body")).fake = !0), e 42 } 43 44 var n = document.documentElement; 45 46 function Pi(t) { 47 var e = ""; 48 return t.fake && (e = n.style.overflow, t.style.background = "", t.style.overflow = n.style.overflow = "hidden", n.appendChild(t)), e 49 } 50 51 function zi(t, e) { 52 t.fake && (t.remove(), n.style.overflow = e, n.offsetHeight) 53 } 54 55 function Wi(t, e, n, i) { 56 "insertRule" in t ? t.insertRule(e + "{" + n + "}", i) : t.addRule(e, n, i) 57 } 58 59 function Fi(t) { 60 return ("insertRule" in t ? t.cssRules : t.rules).length 61 } 62 63 function qi(t, e, n) { 64 for (var i = 0, a = t.length; i < a; i++) e.call(n, t[i], i) 65 } 66 67 var i = "classList" in document.createElement("_"), ji = i ? function (t, e) { 68 return t.classList.contains(e) 69 } : function (t, e) { 70 return 0 <= t.className.indexOf(e) 71 }, Vi = i ? function (t, e) { 72 ji(t, e) || t.classList.add(e) 73 } : function (t, e) { 74 ji(t, e) || (t.className += " " + e) 75 }, Gi = i ? function (t, e) { 76 ji(t, e) && t.classList.remove(e) 77 } : function (t, e) { 78 ji(t, e) && (t.className = t.className.replace(e, "")) 79 }; 80 81 function Qi(t, e) { 82 return t.hasAttribute(e) 83 } 84 85 function Xi(t, e) { 86 return t.getAttribute(e) 87 } 88 89 function r(t) { 90 return void 0 !== t.item 91 } 92 93 function Yi(t, e) { 94 if (t = r(t) || t instanceof Array ? t : [t], "[object Object]" === Object.prototype.toString.call(e)) for (var n = t.length; n--;) for (var i in e) t[n].setAttribute(i, e[i]) 95 } 96 97 function Ki(t, e) { 98 t = r(t) || t instanceof Array ? t : [t]; 99 for (var n = (e = e instanceof Array ? e : [e]).length, i = t.length; i--;) for (var a = n; a--;) t[i].removeAttribute(e[a]) 100 } 101 102 function Ji(t) { 103 for (var e = [], n = 0, i = t.length; n < i; n++) e.push(t[n]); 104 return e 105 } 106 107 function Ui(t, e) { 108 "none" !== t.style.display && (t.style.display = "none") 109 } 110 111 function _i(t, e) { 112 "none" === t.style.display && (t.style.display = "") 113 } 114 115 function Zi(t) { 116 return "none" !== window.getComputedStyle(t).display 117 } 118 119 function $i(e) { 120 if ("string" == typeof e) { 121 var n = [e], i = e.charAt(0).toUpperCase() + e.substr(1); 122 ["Webkit", "Moz", "ms", "O"].forEach(function (t) { 123 "ms" === t && "transform" !== e || n.push(t + i) 124 }), e = n 125 } 126 for (var t = document.createElement("fakeelement"), a = (e.length, 0); a < e.length; a++) { 127 var r = e[a]; 128 if (void 0 !== t.style[r]) return r 129 } 130 return !1 131 } 132 133 function ta(t, e) { 134 var n = !1; 135 return /^Webkit/.test(t) ? n = "webkit" + e + "End" : /^O/.test(t) ? n = "o" + e + "End" : t && (n = e.toLowerCase() + "end"), n 136 } 137 138 var a = !1; 139 try { 140 var o = Object.defineProperty({}, "passive", { 141 get: function () { 142 a = !0 143 } 144 }); 145 window.addEventListener("test", null, o) 146 } catch (t) { 147 } 148 var u = !!a && {passive: !0}; 149 150 function ea(t, e, n) { 151 for (var i in e) { 152 var a = 0 <= ["touchstart", "touchmove"].indexOf(i) && !n && u; 153 t.addEventListener(i, e[i], a) 154 } 155 } 156 157 function na(t, e) { 158 for (var n in e) { 159 var i = 0 <= ["touchstart", "touchmove"].indexOf(n) && u; 160 t.removeEventListener(n, e[n], i) 161 } 162 } 163 164 function ia() { 165 return { 166 topics: {}, on: function (t, e) { 167 this.topics[t] = this.topics[t] || [], this.topics[t].push(e) 168 }, off: function (t, e) { 169 if (this.topics[t]) for (var n = 0; n < this.topics[t].length; n++) if (this.topics[t][n] === e) { 170 this.topics[t].splice(n, 1); 171 break 172 } 173 }, emit: function (e, n) { 174 n.type = e, this.topics[e] && this.topics[e].forEach(function (t) { 175 t(n, e) 176 }) 177 } 178 } 179 } 180 181 var aa = function (O) { 182 O = Hi({ 183 container: ".slider", 184 mode: "carousel", 185 axis: "horizontal", 186 items: 1, 187 gutter: 0, 188 edgePadding: 0, 189 fixedWidth: !1, 190 autoWidth: !1, 191 viewportMax: !1, 192 slideBy: 1, 193 center: !1, 194 controls: !0, 195 controlsPosition: "top", 196 controlsText: ["prev", "next"], 197 controlsContainer: !1, 198 prevButton: !1, 199 nextButton: !1, 200 nav: !0, 201 navPosition: "top", 202 navContainer: !1, 203 navAsThumbnails: !1, 204 arrowKeys: !1, 205 speed: 300, 206 autoplay: !1, 207 autoplayPosition: "top", 208 autoplayTimeout: 5e3, 209 autoplayDirection: "forward", 210 autoplayText: ["start", "stop"], 211 autoplayHoverPause: !1, 212 autoplayButton: !1, 213 autoplayButtonOutput: !0, 214 autoplayResetOnVisibility: !0, 215 animateIn: "tns-fadeIn", 216 animateOut: "tns-fadeOut", 217 animateNormal: "tns-normal", 218 animateDelay: !1, 219 loop: !0, 220 rewind: !1, 221 autoHeight: !1, 222 responsive: !1, 223 lazyload: !1, 224 lazyloadSelector: ".tns-lazy-img", 225 touch: !0, 226 mouseDrag: !1, 227 swipeAngle: 15, 228 nested: !1, 229 preventActionWhenRunning: !1, 230 preventScrollOnTouch: !1, 231 freezable: !0, 232 onInit: !1, 233 useLocalStorage: !0 234 }, O || {}); 235 var D = document, h = window, a = {ENTER: 13, SPACE: 32, LEFT: 37, RIGHT: 39}, e = {}, 236 n = O.useLocalStorage; 237 if (n) { 238 var t = navigator.userAgent, i = new Date; 239 try { 240 (e = h.localStorage) ? (e.setItem(i, i), n = e.getItem(i) == i, e.removeItem(i)) : n = !1, n || (e = {}) 241 } catch (t) { 242 n = !1 243 } 244 n && (e.tnsApp && e.tnsApp !== t && ["tC", "tPL", "tMQ", "tTf", "t3D", "tTDu", "tTDe", "tADu", "tADe", "tTE", "tAE"].forEach(function (t) { 245 e.removeItem(t) 246 }), localStorage.tnsApp = t) 247 } 248 var r, o, u, l, s, c, f, y = e.tC ? ki(e.tC) : Ri(e, "tC", function () { 249 var t = document, e = Ii(), n = Pi(e), i = t.createElement("div"), a = !1; 250 e.appendChild(i); 251 try { 252 for (var r, o = "(10px * 10)", u = ["calc" + o, "-moz-calc" + o, "-webkit-calc" + o], l = 0; l < 3; l++) if (r = u[l], i.style.width = r, 100 === i.offsetWidth) { 253 a = r.replace(o, ""); 254 break 255 } 256 } catch (t) { 257 } 258 return e.fake ? zi(e, n) : i.remove(), a 259 }(), n), g = e.tPL ? ki(e.tPL) : Ri(e, "tPL", function () { 260 var t, e = document, n = Ii(), i = Pi(n), a = e.createElement("div"), r = e.createElement("div"), 261 o = ""; 262 a.className = "tns-t-subp2", r.className = "tns-t-ct"; 263 for (var u = 0; u < 70; u++) o += "<div></div>"; 264 return r.innerHTML = o, a.appendChild(r), n.appendChild(a), t = Math.abs(a.getBoundingClientRect().left - r.children[67].getBoundingClientRect().left) < 2, n.fake ? zi(n, i) : a.remove(), t 265 }(), n), 266 H = e.tMQ ? ki(e.tMQ) : Ri(e, "tMQ", (o = document, u = Ii(), l = Pi(u), s = o.createElement("div"), c = o.createElement("style"), f = "@media all and (min-width:1px){.tns-mq-test{position:absolute}}", c.type = "text/css", s.className = "tns-mq-test", u.appendChild(c), u.appendChild(s), c.styleSheet ? c.styleSheet.cssText = f : c.appendChild(o.createTextNode(f)), r = window.getComputedStyle ? window.getComputedStyle(s).position : s.currentStyle.position, u.fake ? zi(u, l) : s.remove(), "absolute" === r), n), 267 d = e.tTf ? ki(e.tTf) : Ri(e, "tTf", $i("transform"), n), 268 v = e.t3D ? ki(e.t3D) : Ri(e, "t3D", function (t) { 269 if (!t) return !1; 270 if (!window.getComputedStyle) return !1; 271 var e, n = document, i = Ii(), a = Pi(i), r = n.createElement("p"), 272 o = 9 < t.length ? "-" + t.slice(0, -9).toLowerCase() + "-" : ""; 273 return o += "transform", i.insertBefore(r, null), r.style[t] = "translate3d(1px,1px,1px)", e = window.getComputedStyle(r).getPropertyValue(o), i.fake ? zi(i, a) : r.remove(), void 0 !== e && 0 < e.length && "none" !== e 274 }(d), n), x = e.tTDu ? ki(e.tTDu) : Ri(e, "tTDu", $i("transitionDuration"), n), 275 p = e.tTDe ? ki(e.tTDe) : Ri(e, "tTDe", $i("transitionDelay"), n), 276 b = e.tADu ? ki(e.tADu) : Ri(e, "tADu", $i("animationDuration"), n), 277 m = e.tADe ? ki(e.tADe) : Ri(e, "tADe", $i("animationDelay"), n), 278 C = e.tTE ? ki(e.tTE) : Ri(e, "tTE", ta(x, "Transition"), n), 279 w = e.tAE ? ki(e.tAE) : Ri(e, "tAE", ta(b, "Animation"), n), 280 M = h.console && "function" == typeof h.console.warn, 281 T = ["container", "controlsContainer", "prevButton", "nextButton", "navContainer", "autoplayButton"], 282 E = {}; 283 if (T.forEach(function (t) { 284 if ("string" == typeof O[t]) { 285 var e = O[t], n = D.querySelector(e); 286 if (E[t] = e, !n || !n.nodeName) return void (M && console.warn("Can't find", O[t])); 287 O[t] = n 288 } 289 }), !(O.container.children.length < 1)) { 290 var k = O.responsive, R = O.nested, I = "carousel" === O.mode; 291 if (k) { 292 0 in k && (O = Hi(O, k[0]), delete k[0]); 293 var A = {}; 294 for (var N in k) { 295 var L = k[N]; 296 L = "number" == typeof L ? {items: L} : L, A[N] = L 297 } 298 k = A, A = null 299 } 300 if (I || function t(e) { 301 for (var n in e) I || ("slideBy" === n && (e[n] = "page"), "edgePadding" === n && (e[n] = !1), "autoHeight" === n && (e[n] = !1)), "responsive" === n && t(e[n]) 302 }(O), !I) { 303 O.axis = "horizontal", O.slideBy = "page", O.edgePadding = !1; 304 var P = O.animateIn, z = O.animateOut, B = O.animateDelay, W = O.animateNormal 305 } 306 var S, F, q = "horizontal" === O.axis, j = D.createElement("div"), V = D.createElement("div"), 307 G = O.container, Q = G.parentNode, X = G.outerHTML, Y = G.children, K = Y.length, J = sn(), U = !1; 308 k && Bn(), I && (G.className += " tns-vpfix"); 309 var _, Z, $, tt, et, nt, it, at, rt = O.autoWidth, ot = vn("fixedWidth"), ut = vn("edgePadding"), 310 lt = vn("gutter"), st = fn(), ct = vn("center"), ft = rt ? 1 : Math.floor(vn("items")), 311 dt = vn("slideBy"), vt = O.viewportMax || O.fixedWidthViewportWidth, pt = vn("arrowKeys"), 312 mt = vn("speed"), ht = O.rewind, yt = !ht && O.loop, gt = vn("autoHeight"), xt = vn("controls"), 313 bt = vn("controlsText"), Ct = vn("nav"), wt = vn("touch"), Mt = vn("mouseDrag"), 314 Tt = vn("autoplay"), Et = vn("autoplayTimeout"), At = vn("autoplayText"), 315 Nt = vn("autoplayHoverPause"), Lt = vn("autoplayResetOnVisibility"), 316 Bt = (at = document.createElement("style"), it && at.setAttribute("media", it), document.querySelector("head").appendChild(at), at.sheet ? at.sheet : at.styleSheet), 317 St = O.lazyload, Ot = (O.lazyloadSelector, []), Dt = yt ? (et = function () { 318 { 319 if (rt || ot && !vt) return K - 1; 320 var t = ot ? "fixedWidth" : "items", e = []; 321 if ((ot || O[t] < K) && e.push(O[t]), k) for (var n in k) { 322 var i = k[n][t]; 323 i && (ot || i < K) && e.push(i) 324 } 325 return e.length || e.push(0), Math.ceil(ot ? vt / Math.min.apply(null, e) : Math.max.apply(null, e)) 326 } 327 }(), nt = I ? Math.ceil((5 * et - K) / 2) : 4 * et - K, nt = Math.max(et, nt), dn("edgePadding") ? nt + 1 : nt) : 0, 328 Ht = I ? K + 2 * Dt : K + Dt, kt = !(!ot && !rt || yt), Rt = ot ? ni() : null, It = !I || !yt, 329 Pt = q ? "left" : "top", zt = "", Wt = "", Ft = ot ? function () { 330 return ct && !yt ? K - 1 : Math.ceil(-Rt / (ot + lt)) 331 } : rt ? function () { 332 for (var t = Ht; t--;) if (_[t] >= -Rt) return t 333 } : function () { 334 return ct && I && !yt ? K - 1 : yt || I ? Math.max(0, Ht - Math.ceil(ft)) : Ht - 1 335 }, qt = on(vn("startIndex")), jt = qt, Vt = (rn(), 0), Gt = rt ? null : Ft(), 336 Qt = O.preventActionWhenRunning, Xt = O.swipeAngle, Yt = !Xt || "?", Kt = !1, Jt = O.onInit, 337 Ut = new ia, _t = " tns-slider tns-" + O.mode, 338 Zt = G.id || (tt = window.tnsId, window.tnsId = tt ? tt + 1 : 1, "tns" + window.tnsId), 339 $t = vn("disable"), te = !1, ee = O.freezable, ne = !(!ee || rt) && Ln(), ie = !1, ae = { 340 click: fi, keydown: function (t) { 341 t = xi(t); 342 var e = [a.LEFT, a.RIGHT].indexOf(t.keyCode); 343 0 <= e && (0 === e ? Ee.disabled || fi(t, -1) : Ae.disabled || fi(t, 1)) 344 } 345 }, re = { 346 click: function (t) { 347 if (Kt) { 348 if (Qt) return; 349 si() 350 } 351 var e = bi(t = xi(t)); 352 for (; e !== Se && !Qi(e, "data-nav");) e = e.parentNode; 353 if (Qi(e, "data-nav")) { 354 var n = ke = Number(Xi(e, "data-nav")), i = ot || rt ? n * K / De : n * ft, 355 a = ve ? n : Math.min(Math.ceil(i), K - 1); 356 ci(a, t), Re === n && (qe && hi(), ke = -1) 357 } 358 }, keydown: function (t) { 359 t = xi(t); 360 var e = D.activeElement; 361 if (!Qi(e, "data-nav")) return; 362 var n = [a.LEFT, a.RIGHT, a.ENTER, a.SPACE].indexOf(t.keyCode), i = Number(Xi(e, "data-nav")); 363 0 <= n && (0 === n ? 0 < i && gi(Be[i - 1]) : 1 === n ? i < De - 1 && gi(Be[i + 1]) : ci(ke = i, t)) 364 } 365 }, oe = { 366 mouseover: function () { 367 qe && (vi(), je = !0) 368 }, mouseout: function () { 369 je && (di(), je = !1) 370 } 371 }, ue = { 372 visibilitychange: function () { 373 D.hidden ? qe && (vi(), Ge = !0) : Ge && (di(), Ge = !1) 374 } 375 }, le = { 376 keydown: function (t) { 377 t = xi(t); 378 var e = [a.LEFT, a.RIGHT].indexOf(t.keyCode); 379 0 <= e && fi(t, 0 === e ? -1 : 1) 380 } 381 }, se = {touchstart: Ti, touchmove: Ei, touchend: Ai, touchcancel: Ai}, 382 ce = {mousedown: Ti, mousemove: Ei, mouseup: Ai, mouseleave: Ai}, fe = dn("controls"), 383 de = dn("nav"), ve = !!rt || O.navAsThumbnails, pe = dn("autoplay"), me = dn("touch"), 384 he = dn("mouseDrag"), ye = "tns-slide-active", ge = "tns-complete", xe = { 385 load: function (t) { 386 zn(bi(t)) 387 }, error: function (t) { 388 e = bi(t), Vi(e, "failed"), Wn(e); 389 var e 390 } 391 }, be = "force" === O.preventScrollOnTouch; 392 if (fe) var Ce, we, Me = O.controlsContainer, 393 Te = O.controlsContainer ? O.controlsContainer.outerHTML : "", Ee = O.prevButton, Ae = O.nextButton, 394 Ne = O.prevButton ? O.prevButton.outerHTML : "", Le = O.nextButton ? O.nextButton.outerHTML : ""; 395 if (de) var Be, Se = O.navContainer, Oe = O.navContainer ? O.navContainer.outerHTML : "", 396 De = rt ? K : Li(), He = 0, ke = -1, Re = ln(), Ie = Re, Pe = "tns-nav-active", 397 ze = "Carousel Page ", We = " (Current Slide)"; 398 if (pe) var Fe, qe, je, Ve, Ge, Qe = "forward" === O.autoplayDirection ? 1 : -1, Xe = O.autoplayButton, 399 Ye = O.autoplayButton ? O.autoplayButton.outerHTML : "", 400 Ke = ["<span class='tns-visually-hidden'>", " animation</span>"]; 401 if (me || he) var Je, Ue, _e = {}, Ze = {}, $e = !1, tn = q ? function (t, e) { 402 return t.x - e.x 403 } : function (t, e) { 404 return t.y - e.y 405 }; 406 rt || an($t || ne), d && (Pt = d, zt = "translate", v ? (zt += q ? "3d(" : "3d(0px, ", Wt = q ? ", 0px, 0px)" : ", 0px)") : (zt += q ? "X(" : "Y(", Wt = ")")), I && (G.className = G.className.replace("tns-vpfix", "")), function () { 407 dn("gutter"); 408 j.className = "tns-outer", V.className = "tns-inner", j.id = Zt + "-ow", V.id = Zt + "-iw", "" === G.id && (G.id = Zt); 409 _t += g || rt ? " tns-subpixel" : " tns-no-subpixel", _t += y ? " tns-calc" : " tns-no-calc", rt && (_t += " tns-autowidth"); 410 _t += " tns-" + O.axis, G.className += _t, I ? ((S = D.createElement("div")).id = Zt + "-mw", S.className = "tns-ovh", j.appendChild(S), S.appendChild(V)) : j.appendChild(V); 411 if (gt) { 412 var t = S || V; 413 t.className += " tns-ah" 414 } 415 if (Q.insertBefore(j, G), V.appendChild(G), qi(Y, function (t, e) { 416 Vi(t, "tns-item"), t.id || (t.id = Zt + "-item" + e), !I && W && Vi(t, W), Yi(t, { 417 "aria-hidden": "true", 418 tabindex: "-1" 419 }) 420 }), Dt) { 421 for (var e = D.createDocumentFragment(), n = D.createDocumentFragment(), i = Dt; i--;) { 422 var a = i % K, r = Y[a].cloneNode(!0); 423 if (Ki(r, "id"), n.insertBefore(r, n.firstChild), I) { 424 var o = Y[K - 1 - a].cloneNode(!0); 425 Ki(o, "id"), e.appendChild(o) 426 } 427 } 428 G.insertBefore(e, G.firstChild), G.appendChild(n), Y = G.children 429 } 430 }(), function () { 431 if (!I) for (var t = qt, e = qt + Math.min(K, ft); t < e; t++) { 432 var n = Y[t]; 433 n.style.left = 100 * (t - qt) / ft + "%", Vi(n, P), Gi(n, W) 434 } 435 q && (g || rt ? (Wi(Bt, "#" + Zt + " > .tns-item", "font-size:" + h.getComputedStyle(Y[0]).fontSize + ";", Fi(Bt)), Wi(Bt, "#" + Zt, "font-size:0;", Fi(Bt))) : I && qi(Y, function (t, e) { 436 var n; 437 t.style.marginLeft = (n = e, y ? y + "(" + 100 * n + "% / " + Ht + ")" : 100 * n / Ht + "%") 438 })); 439 if (H) { 440 if (x) { 441 var i = S && O.autoHeight ? xn(O.speed) : ""; 442 Wi(Bt, "#" + Zt + "-mw", i, Fi(Bt)) 443 } 444 i = pn(O.edgePadding, O.gutter, O.fixedWidth, O.speed, O.autoHeight), Wi(Bt, "#" + Zt + "-iw", i, Fi(Bt)), I && (i = q && !rt ? "width:" + mn(O.fixedWidth, O.gutter, O.items) + ";" : "", x && (i += xn(mt)), Wi(Bt, "#" + Zt, i, Fi(Bt))), i = q && !rt ? hn(O.fixedWidth, O.gutter, O.items) : "", O.gutter && (i += yn(O.gutter)), I || (x && (i += xn(mt)), b && (i += bn(mt))), i && Wi(Bt, "#" + Zt + " > .tns-item", i, Fi(Bt)) 445 } else { 446 Gn(), V.style.cssText = pn(ut, lt, ot, gt), I && q && !rt && (G.style.width = mn(ot, lt, ft)); 447 var i = q && !rt ? hn(ot, lt, ft) : ""; 448 lt && (i += yn(lt)), i && Wi(Bt, "#" + Zt + " > .tns-item", i, Fi(Bt)) 449 } 450 if (k && H) for (var a in k) { 451 a = parseInt(a); 452 var r = k[a], i = "", o = "", u = "", l = "", s = "", c = rt ? null : vn("items", a), 453 f = vn("fixedWidth", a), d = vn("speed", a), v = vn("edgePadding", a), 454 p = vn("autoHeight", a), m = vn("gutter", a); 455 x && S && vn("autoHeight", a) && "speed" in r && (o = "#" + Zt + "-mw{" + xn(d) + "}"), ("edgePadding" in r || "gutter" in r) && (u = "#" + Zt + "-iw{" + pn(v, m, f, d, p) + "}"), I && q && !rt && ("fixedWidth" in r || "items" in r || ot && "gutter" in r) && (l = "width:" + mn(f, m, c) + ";"), x && "speed" in r && (l += xn(d)), l && (l = "#" + Zt + "{" + l + "}"), ("fixedWidth" in r || ot && "gutter" in r || !I && "items" in r) && (s += hn(f, m, c)), "gutter" in r && (s += yn(m)), !I && "speed" in r && (x && (s += xn(d)), b && (s += bn(d))), s && (s = "#" + Zt + " > .tns-item{" + s + "}"), (i = o + u + l + s) && Bt.insertRule("@media (min-width: " + a / 16 + "em) {" + i + "}", Bt.cssRules.length) 456 } 457 }(), Cn(); 458 var en = yt ? I ? function () { 459 var t = Vt, e = Gt; 460 t += dt, e -= dt, ut ? (t += 1, e -= 1) : ot && (st + lt) % (ot + lt) && (e -= 1), Dt && (e < qt ? qt -= K : qt < t && (qt += K)) 461 } : function () { 462 if (Gt < qt) for (; Vt + K <= qt;) qt -= K; else if (qt < Vt) for (; qt <= Gt - K;) qt += K 463 } : function () { 464 qt = Math.max(Vt, Math.min(Gt, qt)) 465 }, nn = I ? function () { 466 var e, n, i, a, t, r, o, u, l, s, c; 467 ti(G, ""), x || !mt ? (ri(), mt && Zi(G) || si()) : (e = G, n = Pt, i = zt, a = Wt, t = ii(), r = mt, o = si, u = Math.min(r, 10), l = 0 <= t.indexOf("%") ? "%" : "px", t = t.replace(l, ""), s = Number(e.style[n].replace(i, "").replace(a, "").replace(l, "")), c = (t - s) / r * u, setTimeout(function t() { 468 r -= u, s += c, e.style[n] = i + s + l + a, 0 < r ? setTimeout(t, u) : o() 469 }, u)), q || Ni() 470 } : function () { 471 Ot = []; 472 var t = {}; 473 t[C] = t[w] = si, na(Y[jt], t), ea(Y[qt], t), oi(jt, P, z, !0), oi(qt, W, P), C && w && mt && Zi(G) || si() 474 }; 475 return { 476 version: "2.9.1", getInfo: Si, events: Ut, goTo: ci, play: function () { 477 Tt && !qe && (mi(), Ve = !1) 478 }, pause: function () { 479 qe && (hi(), Ve = !0) 480 }, isOn: U, updateSliderHeight: Xn, refresh: Cn, destroy: function () { 481 if (Bt.disabled = !0, Bt.ownerNode && Bt.ownerNode.remove(), na(h, {resize: An}), pt && na(D, le), Me && na(Me, ae), Se && na(Se, re), na(G, oe), na(G, ue), Xe && na(Xe, {click: yi}), Tt && clearInterval(Fe), I && C) { 482 var t = {}; 483 t[C] = si, na(G, t) 484 } 485 wt && na(G, se), Mt && na(G, ce); 486 var r = [X, Te, Ne, Le, Oe, Ye]; 487 for (var e in T.forEach(function (t, e) { 488 var n = "container" === t ? j : O[t]; 489 if ("object" == typeof n) { 490 var i = !!n.previousElementSibling && n.previousElementSibling, a = n.parentNode; 491 n.outerHTML = r[e], O[t] = i ? i.nextElementSibling : a.firstElementChild 492 } 493 }), T = P = z = B = W = q = j = V = G = Q = X = Y = K = F = J = rt = ot = ut = lt = st = ft = dt = vt = pt = mt = ht = yt = gt = Bt = St = _ = Ot = Dt = Ht = kt = Rt = It = Pt = zt = Wt = Ft = qt = jt = Vt = Gt = Xt = Yt = Kt = Jt = Ut = _t = Zt = $t = te = ee = ne = ie = ae = re = oe = ue = le = se = ce = fe = de = ve = pe = me = he = ye = ge = xe = Z = xt = bt = Me = Te = Ee = Ae = Ce = we = Ct = Se = Oe = Be = De = He = ke = Re = Ie = Pe = ze = We = Tt = Et = Qe = At = Nt = Xe = Ye = Lt = Ke = Fe = qe = je = Ve = Ge = _e = Ze = Je = $e = Ue = tn = wt = Mt = null, this) "rebuild" !== e && (this[e] = null); 494 U = !1 495 }, rebuild: function () { 496 return aa(Hi(O, E)) 497 } 498 } 499 } 500 501 function an(t) { 502 t && (xt = Ct = wt = Mt = pt = Tt = Nt = Lt = !1) 503 } 504 505 function rn() { 506 for (var t = I ? qt - Dt : qt; t < 0;) t += K; 507 return t % K + 1 508 } 509 510 function on(t) { 511 return t = t ? Math.max(0, Math.min(yt ? K - 1 : K - ft, t)) : 0, I ? t + Dt : t 512 } 513 514 function un(t) { 515 for (null == t && (t = qt), I && (t -= Dt); t < 0;) t += K; 516 return Math.floor(t % K) 517 } 518 519 function ln() { 520 var t, e = un(); 521 return t = ve ? e : ot || rt ? Math.ceil((e + 1) * De / K - 1) : Math.floor(e / ft), !yt && I && qt === Gt && (t = De - 1), t 522 } 523 524 function sn() { 525 return h.innerWidth || D.documentElement.clientWidth || D.body.clientWidth 526 } 527 528 function cn(t) { 529 return "top" === t ? "afterbegin" : "beforeend" 530 } 531 532 function fn() { 533 var t = ut ? 2 * ut - lt : 0; 534 return function t(e) { 535 var n, i, a = D.createElement("div"); 536 return e.appendChild(a), i = (n = a.getBoundingClientRect()).right - n.left, a.remove(), i || t(e.parentNode) 537 }(Q) - t 538 } 539 540 function dn(t) { 541 if (O[t]) return !0; 542 if (k) for (var e in k) if (k[e][t]) return !0; 543 return !1 544 } 545 546 function vn(t, e) { 547 if (null == e && (e = J), "items" === t && ot) return Math.floor((st + lt) / (ot + lt)) || 1; 548 var n = O[t]; 549 if (k) for (var i in k) e >= parseInt(i) && t in k[i] && (n = k[i][t]); 550 return "slideBy" === t && "page" === n && (n = vn("items")), I || "slideBy" !== t && "items" !== t || (n = Math.floor(n)), n 551 } 552 553 function pn(t, e, n, i, a) { 554 var r = ""; 555 if (void 0 !== t) { 556 var o = t; 557 e && (o -= e), r = q ? "margin: 0 " + o + "px 0 " + t + "px;" : "margin: " + t + "px 0 " + o + "px 0;" 558 } else if (e && !n) { 559 var u = "-" + e + "px"; 560 r = "margin: 0 " + (q ? u + " 0 0" : "0 " + u + " 0") + ";" 561 } 562 return !I && a && x && i && (r += xn(i)), r 563 } 564 565 function mn(t, e, n) { 566 return t ? (t + e) * Ht + "px" : y ? y + "(" + 100 * Ht + "% / " + n + ")" : 100 * Ht / n + "%" 567 } 568 569 function hn(t, e, n) { 570 var i; 571 if (t) i = t + e + "px"; else { 572 I || (n = Math.floor(n)); 573 var a = I ? Ht : n; 574 i = y ? y + "(100% / " + a + ")" : 100 / a + "%" 575 } 576 return i = "width:" + i, "inner" !== R ? i + ";" : i + " !important;" 577 } 578 579 function yn(t) { 580 var e = ""; 581 !1 !== t && (e = (q ? "padding-" : "margin-") + (q ? "right" : "bottom") + ": " + t + "px;"); 582 return e 583 } 584 585 function gn(t, e) { 586 var n = t.substring(0, t.length - e).toLowerCase(); 587 return n && (n = "-" + n + "-"), n 588 } 589 590 function xn(t) { 591 return gn(x, 18) + "transition-duration:" + t / 1e3 + "s;" 592 } 593 594 function bn(t) { 595 return gn(b, 17) + "animation-duration:" + t / 1e3 + "s;" 596 } 597 598 function Cn() { 599 if (dn("autoHeight") || rt || !q) { 600 var t = G.querySelectorAll("img"); 601 qi(t, function (t) { 602 var e = t.src; 603 e && e.indexOf("data:image") < 0 ? (ea(t, xe), t.src = "", t.src = e, Vi(t, "loading")) : St || zn(t) 604 }), Oi(function () { 605 jn(Ji(t), function () { 606 Z = !0 607 }) 608 }), !rt && q && (t = Fn(qt, Math.min(qt + ft - 1, Ht - 1))), St ? wn() : Oi(function () { 609 jn(Ji(t), wn) 610 }) 611 } else I && ai(), Tn(), En() 612 } 613 614 function wn() { 615 if (rt) { 616 var e = yt ? qt : K - 1; 617 !function t() { 618 Y[e - 1].getBoundingClientRect().right.toFixed(2) === Y[e].getBoundingClientRect().left.toFixed(2) ? Mn() : setTimeout(function () { 619 t() 620 }, 16) 621 }() 622 } else Mn() 623 } 624 625 function Mn() { 626 q && !rt || (Yn(), rt ? (Rt = ni(), ee && (ne = Ln()), Gt = Ft(), an($t || ne)) : Ni()), I && ai(), Tn(), En() 627 } 628 629 function Tn() { 630 if (Kn(), j.insertAdjacentHTML("afterbegin", '<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">' + Rn() + "</span> of " + K + "</div>"), $ = j.querySelector(".tns-liveregion .current"), pe) { 631 var t = Tt ? "stop" : "start"; 632 Xe ? Yi(Xe, {"data-action": t}) : O.autoplayButtonOutput && (j.insertAdjacentHTML(cn(O.autoplayPosition), '<button data-action="' + t + '">' + Ke[0] + t + Ke[1] + At[0] + "</button>"), Xe = j.querySelector("[data-action]")), Xe && ea(Xe, {click: yi}), Tt && (mi(), Nt && ea(G, oe), Lt && ea(G, ue)) 633 } 634 if (de) { 635 if (Se) Yi(Se, {"aria-label": "Carousel Pagination"}), qi(Be = Se.children, function (t, e) { 636 Yi(t, {"data-nav": e, tabindex: "-1", "aria-label": ze + (e + 1), "aria-controls": Zt}) 637 }); else { 638 for (var e = "", n = ve ? "" : 'style="display:none"', i = 0; i < K; i++) e += '<button data-nav="' + i + '" tabindex="-1" aria-controls="' + Zt + '" ' + n + ' aria-label="' + ze + (i + 1) + '"></button>'; 639 e = '<div class="tns-nav" aria-label="Carousel Pagination">' + e + "</div>", j.insertAdjacentHTML(cn(O.navPosition), e), Se = j.querySelector(".tns-nav"), Be = Se.children 640 } 641 if (Bi(), x) { 642 var a = x.substring(0, x.length - 18).toLowerCase(), r = "transition: all " + mt / 1e3 + "s"; 643 a && (r = "-" + a + "-" + r), Wi(Bt, "[aria-controls^=" + Zt + "-item]", r, Fi(Bt)) 644 } 645 Yi(Be[Re], {"aria-label": ze + (Re + 1) + We}), Ki(Be[Re], "tabindex"), Vi(Be[Re], Pe), ea(Se, re) 646 } 647 fe && (Me || Ee && Ae || (j.insertAdjacentHTML(cn(O.controlsPosition), '<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button data-controls="prev" tabindex="-1" aria-controls="' + Zt + '">' + bt[0] + '</button><button data-controls="next" tabindex="-1" aria-controls="' + Zt + '">' + bt[1] + "</button></div>"), Me = j.querySelector(".tns-controls")), Ee && Ae || (Ee = Me.children[0], Ae = Me.children[1]), O.controlsContainer && Yi(Me, { 648 "aria-label": "Carousel Navigation", 649 tabindex: "0" 650 }), (O.controlsContainer || O.prevButton && O.nextButton) && Yi([Ee, Ae], { 651 "aria-controls": Zt, 652 tabindex: "-1" 653 }), (O.controlsContainer || O.prevButton && O.nextButton) && (Yi(Ee, {"data-controls": "prev"}), Yi(Ae, {"data-controls": "next"})), Ce = Un(Ee), we = Un(Ae), $n(), Me ? ea(Me, ae) : (ea(Ee, ae), ea(Ae, ae))), Sn() 654 } 655 656 function En() { 657 if (I && C) { 658 var t = {}; 659 t[C] = si, ea(G, t) 660 } 661 wt && ea(G, se, O.preventScrollOnTouch), Mt && ea(G, ce), pt && ea(D, le), "inner" === R ? Ut.on("outerResized", function () { 662 Nn(), Ut.emit("innerLoaded", Si()) 663 }) : (k || ot || rt || gt || !q) && ea(h, {resize: An}), gt && ("outer" === R ? Ut.on("innerLoaded", qn) : $t || qn()), Pn(), $t ? Hn() : ne && Dn(), Ut.on("indexChanged", Vn), "inner" === R && Ut.emit("innerLoaded", Si()), "function" == typeof Jt && Jt(Si()), U = !0 664 } 665 666 function An(t) { 667 Oi(function () { 668 Nn(xi(t)) 669 }) 670 } 671 672 function Nn(t) { 673 if (U) { 674 "outer" === R && Ut.emit("outerResized", Si(t)), J = sn(); 675 var e, n = F, i = !1; 676 k && (Bn(), (e = n !== F) && Ut.emit("newBreakpointStart", Si(t))); 677 var a, r, o, u, l = ft, s = $t, c = ne, f = pt, d = xt, v = Ct, p = wt, m = Mt, h = Tt, y = Nt, 678 g = Lt, x = qt; 679 if (e) { 680 var b = ot, C = gt, w = bt, M = ct, T = At; 681 if (!H) var E = lt, A = ut 682 } 683 if (pt = vn("arrowKeys"), xt = vn("controls"), Ct = vn("nav"), wt = vn("touch"), ct = vn("center"), Mt = vn("mouseDrag"), Tt = vn("autoplay"), Nt = vn("autoplayHoverPause"), Lt = vn("autoplayResetOnVisibility"), e && ($t = vn("disable"), ot = vn("fixedWidth"), mt = vn("speed"), gt = vn("autoHeight"), bt = vn("controlsText"), At = vn("autoplayText"), Et = vn("autoplayTimeout"), H || (ut = vn("edgePadding"), lt = vn("gutter"))), an($t), st = fn(), q && !rt || $t || (Yn(), q || (Ni(), i = !0)), (ot || rt) && (Rt = ni(), Gt = Ft()), (e || ot) && (ft = vn("items"), dt = vn("slideBy"), (r = ft !== l) && (ot || rt || (Gt = Ft()), en())), e && $t !== s && ($t ? Hn() : function () { 684 if (!te) return; 685 if (Bt.disabled = !1, G.className += _t, ai(), yt) for (var t = Dt; t--;) I && _i(Y[t]), _i(Y[Ht - t - 1]); 686 if (!I) for (var e = qt, n = qt + K; e < n; e++) { 687 var i = Y[e], a = e < qt + ft ? P : W; 688 i.style.left = 100 * (e - qt) / ft + "%", Vi(i, a) 689 } 690 On(), te = !1 691 }()), ee && (e || ot || rt) && (ne = Ln()) !== c && (ne ? (ri(ii(on(0))), Dn()) : (!function () { 692 if (!ie) return; 693 ut && H && (V.style.margin = ""); 694 if (Dt) for (var t = "tns-transparent", e = Dt; e--;) I && Gi(Y[e], t), Gi(Y[Ht - e - 1], t); 695 On(), ie = !1 696 }(), i = !0)), an($t || ne), Tt || (Nt = Lt = !1), pt !== f && (pt ? ea(D, le) : na(D, le)), xt !== d && (xt ? Me ? _i(Me) : (Ee && _i(Ee), Ae && _i(Ae)) : Me ? Ui(Me) : (Ee && Ui(Ee), Ae && Ui(Ae))), Ct !== v && (Ct ? _i(Se) : Ui(Se)), wt !== p && (wt ? ea(G, se, O.preventScrollOnTouch) : na(G, se)), Mt !== m && (Mt ? ea(G, ce) : na(G, ce)), Tt !== h && (Tt ? (Xe && _i(Xe), qe || Ve || mi()) : (Xe && Ui(Xe), qe && hi())), Nt !== y && (Nt ? ea(G, oe) : na(G, oe)), Lt !== g && (Lt ? ea(D, ue) : na(D, ue)), e) { 697 if (ot === b && ct === M || (i = !0), gt !== C && (gt || (V.style.height = "")), xt && bt !== w && (Ee.innerHTML = bt[0], Ae.innerHTML = bt[1]), Xe && At !== T) { 698 var N = Tt ? 1 : 0, L = Xe.innerHTML, B = L.length - T[N].length; 699 L.substring(B) === T[N] && (Xe.innerHTML = L.substring(0, B) + At[N]) 700 } 701 } else ct && (ot || rt) && (i = !0); 702 if ((r || ot && !rt) && (De = Li(), Bi()), (a = qt !== x) ? (Ut.emit("indexChanged", Si()), i = !0) : r ? a || Vn() : (ot || rt) && (Pn(), Kn(), kn()), r && !I && function () { 703 for (var t = qt + Math.min(K, ft), e = Ht; e--;) { 704 var n = Y[e]; 705 qt <= e && e < t ? (Vi(n, "tns-moving"), n.style.left = 100 * (e - qt) / ft + "%", Vi(n, P), Gi(n, W)) : n.style.left && (n.style.left = "", Vi(n, W), Gi(n, P)), Gi(n, z) 706 } 707 setTimeout(function () { 708 qi(Y, function (t) { 709 Gi(t, "tns-moving") 710 }) 711 }, 300) 712 }(), !$t && !ne) { 713 if (e && !H && (gt === autoheightTem && mt === speedTem || Gn(), ut === A && lt === E || (V.style.cssText = pn(ut, lt, ot, mt, gt)), q)) { 714 I && (G.style.width = mn(ot, lt, ft)); 715 var S = hn(ot, lt, ft) + yn(lt); 716 u = Fi(o = Bt) - 1, "deleteRule" in o ? o.deleteRule(u) : o.removeRule(u), Wi(Bt, "#" + Zt + " > .tns-item", S, Fi(Bt)) 717 } 718 gt && qn(), i && (ai(), jt = qt) 719 } 720 e && Ut.emit("newBreakpointEnd", Si(t)) 721 } 722 } 723 724 function Ln() { 725 if (!ot && !rt) return K <= (ct ? ft - (ft - 1) / 2 : ft); 726 var t = ot ? (ot + lt) * K : _[K], e = ut ? st + 2 * ut : st + lt; 727 return ct && (e -= ot ? (st - ot) / 2 : (st - (_[qt + 1] - _[qt] - lt)) / 2), t <= e 728 } 729 730 function Bn() { 731 for (var t in F = 0, k) (t = parseInt(t)) <= J && (F = t) 732 } 733 734 function Sn() { 735 !Tt && Xe && Ui(Xe), !Ct && Se && Ui(Se), xt || (Me ? Ui(Me) : (Ee && Ui(Ee), Ae && Ui(Ae))) 736 } 737 738 function On() { 739 Tt && Xe && _i(Xe), Ct && Se && _i(Se), xt && (Me ? _i(Me) : (Ee && _i(Ee), Ae && _i(Ae))) 740 } 741 742 function Dn() { 743 if (!ie) { 744 if (ut && (V.style.margin = "0px"), Dt) for (var t = "tns-transparent", e = Dt; e--;) I && Vi(Y[e], t), Vi(Y[Ht - e - 1], t); 745 Sn(), ie = !0 746 } 747 } 748 749 function Hn() { 750 if (!te) { 751 if (Bt.disabled = !0, G.className = G.className.replace(_t.substring(1), ""), Ki(G, ["style"]), yt) for (var t = Dt; t--;) I && Ui(Y[t]), Ui(Y[Ht - t - 1]); 752 if (q && I || Ki(V, ["style"]), !I) for (var e = qt, n = qt + K; e < n; e++) { 753 var i = Y[e]; 754 Ki(i, ["style"]), Gi(i, P), Gi(i, W) 755 } 756 Sn(), te = !0 757 } 758 } 759 760 function kn() { 761 var t = Rn(); 762 $.innerHTML !== t && ($.innerHTML = t) 763 } 764 765 function Rn() { 766 var t = In(), e = t[0] + 1, n = t[1] + 1; 767 return e === n ? e + "" : e + " to " + n 768 } 769 770 function In(t) { 771 null == t && (t = ii()); 772 var n, i, a, r = qt; 773 if (ct || ut ? (rt || ot) && (i = -(parseFloat(t) + ut), a = i + st + 2 * ut) : rt && (i = _[qt], a = i + st), rt) _.forEach(function (t, e) { 774 e < Ht && ((ct || ut) && t <= i + .5 && (r = e), .5 <= a - t && (n = e)) 775 }); else { 776 if (ot) { 777 var e = ot + lt; 778 ct || ut ? (r = Math.floor(i / e), n = Math.ceil(a / e - 1)) : n = r + Math.ceil(st / e) - 1 779 } else if (ct || ut) { 780 var o = ft - 1; 781 if (ct ? (r -= o / 2, n = qt + o / 2) : n = qt + o, ut) { 782 var u = ut * ft / st; 783 r -= u, n += u 784 } 785 r = Math.floor(r), n = Math.ceil(n) 786 } else n = r + ft - 1; 787 r = Math.max(r, 0), n = Math.min(n, Ht - 1) 788 } 789 return [r, n] 790 } 791 792 function Pn() {
793 St && !$t && Fn.apply(null, In()).forEach(function (t) { 794 if (!ji(t, ge)) { 795 var e = {}; 796 e[C] = function (t) { 797 t.stopPropagation() 798 }, ea(t, e), ea(t, xe), t.src = Xi(t, "data-src"); 799 var n = Xi(t, "data-srcset"); 800 n && (t.srcset = n), Vi(t, "loading") 801 } 802 }) 803 } 804 805 function zn(t) { 806 Vi(t, "loaded"), Wn(t) 807 } 808 809 function Wn(t) { 810 Vi(t, "tns-complete"), Gi(t, "loading"), na(t, xe) 811 } 812 813 function Fn(t, e) { 814 for (var n = []; t <= e;) qi(Y[t].querySelectorAll("img"), function (t) { 815 n.push(t) 816 }), t++; 817 return n 818 } 819 820 function qn() { 821 var t = Fn.apply(null, In()); 822 Oi(function () { 823 jn(t, Xn) 824 }) 825 } 826 827 function jn(n, t) { 828 return Z ? t() : (n.forEach(function (t, e) { 829 ji(t, ge) && n.splice(e, 1) 830 }), n.length ? void Oi(function () { 831 jn(n, t) 832 }) : t()) 833 } 834 835 function Vn() { 836 Pn(), Kn(), kn(), $n(), function () { 837 if (Ct && (Re = 0 <= ke ? ke : ln(), ke = -1, Re
vendor: 10,170 bytes, lines 837-1093
837!== Ie)) { 838 var t = Be[Ie], e = Be[Re]; 839 Yi(t, { 840 tabindex: "-1", 841 "aria-label": ze + (Ie + 1) 842 }), Gi(t, Pe), Yi(e, {"aria-label": ze + (Re + 1) + We}), Ki(e, "tabindex"), Vi(e, Pe), Ie = Re 843 } 844 }() 845 } 846 847 function Gn() { 848 I && gt && (S.style[x] = mt / 1e3 + "s") 849 } 850 851 function Qn(t, e) { 852 for (var n = [], i = t, a = Math.min(t + e, Ht); i < a; i++) n.push(Y[i].offsetHeight); 853 return Math.max.apply(null, n) 854 } 855 856 function Xn() { 857 var t = gt ? Qn(qt, ft) : Qn(Dt, K), e = S || V; 858 e.style.height !== t && (e.style.height = t + "px") 859 } 860 861 function Yn() { 862 _ = [0]; 863 var n = q ? "left" : "top", i = q ? "right" : "bottom", a = Y[0].getBoundingClientRect()[n]; 864 qi(Y, function (t, e) { 865 e && _.push(t.getBoundingClientRect()[n] - a), e === Ht - 1 && _.push(t.getBoundingClientRect()[i] - a) 866 }) 867 } 868 869 function Kn() { 870 var t = In(), n = t[0], i = t[1]; 871 qi(Y, function (t, e) { 872 n <= e && e <= i ? Qi(t, "aria-hidden") && (Ki(t, ["aria-hidden", "tabindex"]), Vi(t, ye)) : Qi(t, "aria-hidden") || (Yi(t, { 873 "aria-hidden": "true", 874 tabindex: "-1" 875 }), Gi(t, ye)) 876 }) 877 } 878 879 function Jn(t) { 880 return t.nodeName.toLowerCase() 881 } 882 883 function Un(t) { 884 return "button" === Jn(t) 885 } 886 887 function _n(t) { 888 return "true" === t.getAttribute("aria-disabled") 889 } 890 891 function Zn(t, e, n) { 892 t ? e.disabled = n : e.setAttribute("aria-disabled", n.toString()) 893 } 894 895 function $n() { 896 if (xt && !ht && !yt) { 897 var t = Ce ? Ee.disabled : _n(Ee), e = we ? Ae.disabled : _n(Ae), n = qt <= Vt, i = !ht && Gt <= qt; 898 n && !t && Zn(Ce, Ee, !0), !n && t && Zn(Ce, Ee, !1), i && !e && Zn(we, Ae, !0), !i && e && Zn(we, Ae, !1) 899 } 900 } 901 902 function ti(t, e) { 903 x && (t.style[x] = e) 904 } 905 906 function ei(t) { 907 return null == t && (t = qt), rt ? (st - (ut ? lt : 0) - (_[t + 1] - _[t] - lt)) / 2 : ot ? (st - ot) / 2 : (ft - 1) / 2 908 } 909 910 function ni() { 911 var t = st + (ut ? lt : 0) - (ot ? (ot + lt) * Ht : _[Ht]); 912 return ct && !yt && (t = ot ? -(ot + lt) * (Ht - 1) - ei() : ei(Ht - 1) - _[Ht - 1]), 0 < t && (t = 0), t 913 } 914 915 function ii(t) { 916 var e; 917 if (null == t && (t = qt), q && !rt) if (ot) e = -(ot + lt) * t, ct && (e += ei()); else { 918 var n = d ? Ht : ft; 919 ct && (t -= ei()), e = 100 * -t / n 920 } else e = -_[t], ct && rt && (e += ei()); 921 return kt && (e = Math.max(e, Rt)), e += !q || rt || ot ? "px" : "%" 922 } 923 924 function ai(t) { 925 ti(G, "0s"), ri(t) 926 } 927 928 function ri(t) { 929 null == t && (t = ii()), G.style[Pt] = zt + t + Wt 930 } 931 932 function oi(t, e, n, i) { 933 var a = t + ft; 934 yt || (a = Math.min(a, Ht)); 935 for (var r = t; r < a; r++) { 936 var o = Y[r]; 937 i || (o.style.left = 100 * (r - qt) / ft + "%"), B && p && (o.style[p] = o.style[m] = B * (r - t) / 1e3 + "s"), Gi(o, e), Vi(o, n), i && Ot.push(o) 938 } 939 } 940 941 function ui(t, e) { 942 It && en(), (qt !== jt || e) && (Ut.emit("indexChanged", Si()), Ut.emit("transitionStart", Si()), gt && qn(), qe && t && 0 <= ["click", "keydown"].indexOf(t.type) && hi(), Kt = !0, nn()) 943 } 944 945 function li(t) { 946 return t.toLowerCase().replace(/-/g, "") 947 } 948 949 function si(t) { 950 if (I || Kt) { 951 if (Ut.emit("transitionEnd", Si(t)), !I && 0 < Ot.length) for (var e = 0; e < Ot.length; e++) { 952 var n = Ot[e]; 953 n.style.left = "", m && p && (n.style[m] = "", n.style[p] = ""), Gi(n, z), Vi(n, W) 954 } 955 if (!t || !I && t.target.parentNode === G || t.target === G && li(t.propertyName) === li(Pt)) { 956 if (!It) { 957 var i = qt; 958 en(), qt !== i && (Ut.emit("indexChanged", Si()), ai()) 959 } 960 "inner" === R && Ut.emit("innerLoaded", Si()), Kt = !1, jt = qt 961 } 962 } 963 } 964 965 function ci(t, e) { 966 if (!ne) if ("prev" === t) fi(e, -1); else if ("next" === t) fi(e, 1); else { 967 if (Kt) { 968 if (Qt) return; 969 si() 970 } 971 var n = un(), i = 0; 972 if ("first" === t ? i = -n : "last" === t ? i = I ? K - ft - n : K - 1 - n : ("number" != typeof t && (t = parseInt(t)), isNaN(t) || (e || (t = Math.max(0, Math.min(K - 1, t))), i = t - n)), !I && i && Math.abs(i) < ft) { 973 var a = 0 < i ? 1 : -1; 974 i += Vt <= qt + i - K ? K * a : 2 * K * a * -1 975 } 976 qt += i, I && yt && (qt < Vt && (qt += K), Gt < qt && (qt -= K)), un(qt) !== un(jt) && ui(e) 977 } 978 } 979 980 function fi(t, e) { 981 if (Kt) { 982 if (Qt) return; 983 si() 984 } 985 var n; 986 if (!e) { 987 for (var i = bi(t = xi(t)); i !== Me && [Ee, Ae].indexOf(i) < 0;) i = i.parentNode; 988 var a = [Ee, Ae].indexOf(i); 989 0 <= a && (n = !0, e = 0 === a ? -1 : 1) 990 } 991 if (ht) { 992 if (qt === Vt && -1 === e) return void ci("last", t); 993 if (qt === Gt && 1 === e) return void ci("first", t) 994 } 995 e && (qt += dt * e, rt && (qt = Math.floor(qt)), ui(n || t && "keydown" === t.type ? t : null)) 996 } 997 998 function di() { 999 Fe = setInterval(function () { 1000 fi(null, Qe) 1001 }, Et), qe = !0 1002 } 1003 1004 function vi() { 1005 clearInterval(Fe), qe = !1 1006 } 1007 1008 function pi(t, e) { 1009 Yi(Xe, {"data-action": t}), Xe.innerHTML = Ke[0] + t + Ke[1] + e 1010 } 1011 1012 function mi() { 1013 di(), Xe && pi("stop", At[1]) 1014 } 1015 1016 function hi() { 1017 vi(), Xe && pi("start", At[0]) 1018 } 1019 1020 function yi() { 1021 qe ? (hi(), Ve = !0) : (mi(), Ve = !1) 1022 } 1023 1024 function gi(t) { 1025 t.focus() 1026 } 1027 1028 function xi(t) { 1029 return Ci(t = t || h.event) ? t.changedTouches[0] : t 1030 } 1031 1032 function bi(t) { 1033 return t.target || h.event.srcElement 1034 } 1035 1036 function Ci(t) { 1037 return 0 <= t.type.indexOf("touch") 1038 } 1039 1040 function wi(t) { 1041 t.preventDefault ? t.preventDefault() : t.returnValue = !1 1042 } 1043 1044 function Mi() { 1045 return a = Ze.y - _e.y, r = Ze.x - _e.x, t = Math.atan2(a, r) * (180 / Math.PI), e = Xt, n = !1, i = Math.abs(90 - Math.abs(t)), 90 - e <= i ? n = "horizontal" : i <= e && (n = "vertical"), n === O.axis; 1046 var t, e, n, i, a, r 1047 } 1048 1049 function Ti(t) { 1050 if (Kt) { 1051 if (Qt) return; 1052 si() 1053 } 1054 Tt && qe && vi(), $e = !0, Ue && (Di(Ue), Ue = null); 1055 var e = xi(t); 1056 Ut.emit(Ci(t) ? "touchStart" : "dragStart", Si(t)), !Ci(t) && 0 <= ["img", "a"].indexOf(Jn(bi(t))) && wi(t), Ze.x = _e.x = e.clientX, Ze.y = _e.y = e.clientY, I && (Je = parseFloat(G.style[Pt].replace(zt, "")), ti(G, "0s")) 1057 } 1058 1059 function Ei(t) { 1060 if ($e) { 1061 var e = xi(t); 1062 Ze.x = e.clientX, Ze.y = e.clientY, I ? Ue || (Ue = Oi(function () { 1063 !function t(e) { 1064 if (!Yt) return void ($e = !1); 1065 Di(Ue); 1066 $e && (Ue = Oi(function () { 1067 t(e) 1068 })); 1069 "?" === Yt && (Yt = Mi()); 1070 if (Yt) { 1071 !be && Ci(e) && (be = !0); 1072 try { 1073 e.type && Ut.emit(Ci(e) ? "touchMove" : "dragMove", Si(e)) 1074 } catch (t) { 1075 } 1076 var n = Je, i = tn(Ze, _e); 1077 if (!q || ot || rt) n += i, n += "px"; else { 1078 var a = d ? i * ft * 100 / ((st + lt) * Ht) : 100 * i / (st + lt); 1079 n += a, n += "%" 1080 } 1081 G.style[Pt] = zt + n + Wt 1082 } 1083 }(t) 1084 })) : ("?" === Yt && (Yt = Mi()), Yt && (be = !0)), be && t.preventDefault() 1085 } 1086 } 1087 1088 function Ai(i) { 1089 if ($e) { 1090 Ue && (Di(Ue), Ue = null), I && ti(G, ""), $e = !1; 1091 var t = xi(i); 1092 Ze.x = t.clientX, Ze.y = t.clientY; 1093 var a = tn(Ze, _e);
1094 if (Math.abs(a)) { 1095 if (!Ci(i)) { 1096 var n = bi(i); 1097 ea(n, { 1098 click: function t(e) { 1099 wi(e), na(n, {click: t}) 1100 } 1101 }) 1102 } 1103 I ? Ue = Oi(function () { 1104 if (q && !rt) { 1105 var t = -a * ft / (st + lt); 1106 t = 0 < a ? Math.floor(t) : Math.ceil(t), qt += t 1107 } else { 1108 var e = -(Je + a); 1109 if (e <= 0) qt = Vt; else if (e >= _[Ht - 1]) qt = Gt; else for (var n = 0; n < Ht && e >= _[n];) e > _[qt = n] && a < 0 && (qt += 1), n++ 1110 } 1111 ui(i, a), Ut.emit(Ci(i) ? "touchEnd" : "dragEnd", Si(i)) 1112 }) : Yt && fi(i, 0 < a ? -1 : 1) 1113 } 1114 } 1115 "auto" === O.preventScrollOnTouch && (be = !1), Xt && (Yt = "?"), Tt && !qe && di() 1116 } 1117 1118 function Ni() { 1119 (S || V).style.height = _[qt + ft] - _[qt] + "px" 1120 } 1121 1122 function Li() { 1123 var t = ot ? (ot + lt) * K / st : K / ft; 1124 return Math.min(Math.ceil(t), K) 1125 } 1126 1127 function Bi() { 1128 if (Ct && !ve && De !== He) { 1129 var t = He, e = De, n = _i; 1130 for (De < He && (t = De, e = He, n = Ui); t < e;) n(Be[t]), t++; 1131 He = De 1132 } 1133 } 1134 1135 function Si(t) { 1136 return { 1137 container: G, 1138 slideItems: Y, 1139 navContainer: Se, 1140 navItems: Be, 1141 controlsContainer: Me, 1142 hasControls: fe, 1143 prevButton: Ee, 1144 nextButton: Ae, 1145 items: ft, 1146 slideBy: dt, 1147 cloneCount: Dt, 1148 slideCount: K, 1149 slideCountNew: Ht, 1150 index: qt, 1151 indexCached: jt, 1152 displayIndex: rn(), 1153 navCurrentIndex: Re, 1154 navCurrentIndexCached: Ie, 1155 pages: De, 1156 pagesCached: He, 1157 sheet: Bt, 1158 isOn: U, 1159 event: t || {} 1160 } 1161 } 1162 1163 M && console.warn("No slides found in", O.container) 1164 }; 1165 return aa 1166 }(); 1167 1168} 1169 1170 1171var tnsSliderTest=document.querySelectorAll(".js-tns-slider"),tnsSliderTestCount=tnsSliderTest.length;if(tnsSliderTestCount>0){var slider=tns({container:".js-tns-slider",loop:true,items:1,slideBy:"page",nav:false,autoplay:true,speed:800,autoplayButtonOutput:false,mouseDrag:true,responsive:{640:{items:1},768:{items:2}}});function tnsSliderResizeForIE(){var a=document.querySelectorAll(".js-tns-slider"),d=a.length,f=0;for(i=0;i<d;++i){var g=a[i].querySelectorAll(".event__slider__item"),c=g.length;a[i].style.height="";a[i].style.overflow="";for(e=0;e<c;++e){var b=g[e].offsetHeight;f=f>b?f:b}a[i].style.height=f+"px";a[i].style.overflow="hidden"}}window.addEventListener("load",function(){tnsSliderResizeForIE()});window.addEventListener("resize",function(){tnsSliderResizeForIE()})}; 1172/* 1173 * I know, could be done much smarter with a fn and options, 1174 * but it was to late ... 1175 */ 1176 1177function jsFakeBooToggleCheck (checked) { 1178 var checkBoxHolder = jQuery('.jsBwFakeBookRemoveCookie'); 1179 if (checked) { 1180 checkBoxHolder.find('.checked').show(); 1181 checkBoxHolder.find('.notChecked').hide(); 1182 } 1183 else { 1184 checkBoxHolder.find('.checked').hide(); 1185 checkBoxHolder.find('.notChecked').show(); 1186 } 1187} 1188 1189jsFakeBook = { 1190 jsFakeBookReplace: function (replace, clicked, always) { 1191 var fburl = replace.data('fburl'), 1192 eID = 'tx_rsmbstfakebook_ajax', 1193 $chkBox = jQuery('.jsBwFakeBookRemoveCookie'); 1194 jQuery.ajax({ 1195 url: '/index.php', 1196 type: 'GET', 1197 dataType: 'html', 1198 data: { 1199 eID: eID, 1200 fburl: fburl, 1201 clicked: clicked, 1202 always: always 1203 }, 1204 success: function (data) { 1205 if (data) { 1206 replace 1207 .find('.jsFakeBookLoadModuleDefaultCnt').hide(); 1208 replace 1209 .find('.jsFakeBookLoadModuleDefaultIframe').html(data); 1210 1211 jsFakeBooToggleCheck (true) 1212 } 1213 } 1214 }); 1215 } 1216}; 1217 1218jQuery(document).ready(function () { 1219 1220 jQuery('.jsFakeBookLoadModuleDivAlways').each(function () { 1221 var $replace = jQuery(this); 1222 jsFakeBook.jsFakeBookReplace($replace, 0, 1); 1223 }); 1224 1225 jQuery('.jsFakeBookLoadModuleDiv').each(function () { 1226 var $replace = jQuery(this), 1227 $content = $replace.find('.jsFakeBookLoadModuleDefaultCnt'); 1228 $content 1229 .css({'cursor': 'pointer'}) 1230 .click(function () { 1231 jQuery('.jsFakeBookLoadModuleDiv').each(function () { 1232 jsFakeBook.jsFakeBookReplace(jQuery(this), 1); 1233 }); 1234 }); 1235 jsFakeBook.jsFakeBookReplace($replace, 0); 1236 }); 1237 1238 jQuery('.jsBwFakeBookRemoveCookie').each( 1239 function () { 1240 var $chkBox = jQuery(this), 1241 eID = 'tx_rsmbstfakebook_remcookie', 1242 $replace = jQuery('.jsFakeBookLoadModuleDiv'); 1243 1244 $chkBox.children().hide(); 1245 jQuery.ajax({ 1246 url: '/', 1247 type: 'GET', 1248 dataType: 'html', 1249 data: { 1250 eID: eID 1251 }, 1252 success: function (data) { 1253 jsFakeBooToggleCheck (data == true) 1254 } 1255 }); 1256 1257 $chkBox.click( 1258 function () { 1259 var chkBoxVal = $chkBox.find(':hidden').attr('class'); 1260 console.log(chkBoxVal); 1261 jQuery.ajax({ 1262 url: '/', 1263 type: 'GET', 1264 dataType: 'html', 1265 data: { 1266 eID: eID, 1267 chkBoxVal: chkBoxVal 1268 }, 1269 success: function (data) { 1270 if (chkBoxVal === 'notChecked') { 1271 $replace 1272 .find('.jsFakeBookLoadModuleDefaultCnt').show(); 1273 $replace 1274 .find('.jsFakeBookLoadModuleDefaultIframe').html(''); 1275 1276 jsFakeBooToggleCheck (false) 1277 } else { 1278 jsFakeBook.jsFakeBookReplace($replace, 1); 1279 } 1280 } 1281 }); 1282 } 1283 ); 1284 } 1285 ) 1286}); 1287 1288/*!there is no school like the old school, this time based on jQuery 1289 * you can detach everything to newer coding guide lines 1290 * simple function object divided in resize, load, ready 1291 * feel free to modify 1292 * hope the comments are helpful 1293 * */ 1294;LANG={previous:"vorherige",next:"nächste",page:"Seite:"};REUSE={windowResize:function(){},windowLoad:function(){},documentReady:function(){REUSE.jsIsoTopeGrid();REUSE.jsSlideToggleById();REUSE.jsShowById();REUSE.jsVideoYoutube();REUSE.jsArticleSlider();REUSE.jsQuoteSlider();REUSE.jsEstimateSlider();REUSE.jsNstSliderContainer();REUSE.jsChartsSlider();REUSE.jsChart();REUSE.jsSlideById();REUSE.jsSpecialImage();$(".js-scrollbar").scrollbar({ignoreMobile:true});$(".js-scrollbar-outer").each(function(){var b=$(this),c=b.find(".js-scrollbar-holder"),d=c.length?c.position().top:0,a=b.height()-d;b.find(".js-scrollbar-content").css({maxHeight:a})});if($("#jump-off").length>0){initializeJumpOff()}fixNavigation()}
1294,jsSpecialImage:function(){$(".js-special-image").each(function(){var a=$(this),b=a.find(".js-icon"),c=a.find(".js-number");b.click(function(){var d=$($(this).data("number"));if(!d.hasClass("active")){c.not(d).removeClass("active");d.addClass("active")}else{d.removeClass("active")}})})},jsIsoTopeGrid:function(){$(".js-isotope-grid").each(function(){var g=$(this),c=g.data("tiles"),b=g.data("tile"),f=g.data("more"),a=g.find(c),e=g.find(f);a.isotope({itemSelector:".tile",percentPosition:true,resizable:false,masonry:{columnWidth:".tiler"},animationOptions:{duration:100,easing:"linear",queue:true},transitionDuration:100}).isotope("layout").on("layoutComplete",d);function d(){a.children().each(function(j,k){var h=$(k),l=Math.round(parseFloat(h[0].style.left));h.css({left:l+"%"})})}e.click(function(j){j.preventDefault();var i=$(this),h=i.attr("href");$.ajax({url:h,data:{type:19660101},success:function(k){if(k){$("#isotope-tiles-reload").first().remove();$(".js-isotope-grid").last().after(k);$("#isotope-more-abcd").click(rebuildMoreButton())}}})})})},jsPublicationSlider:function(){$(".js-publication-slider").slick({centerMode:true,centerPadding:"120px",slidesToShow:1,responsive:[{breakpoint:768,settings:{centerMode:true,centerPadding:"80px",slidesToShow:1}},{breakpoint:480,settings:{centerMode:true,centerPadding:"30px",slidesToShow:1}},{breakpoint:390,settings:{centerMode:true,centerPadding:"10px",slidesToShow:1}}]})},jsSlideToggleById:function(){$(".js-slide-toggle-by-id").click(function(f){f.preventDefault();var a=$(this),b=a.data("id"),c=a.data("other"),d=a.data("otherclass");$(b).slideToggle(300,function(){if($(b).is(":visible")){a.addClass("is-expanded");$(c).addClass(d)}else{a.removeClass("is-expanded");$(c).removeClass(d)}})})},jsShowById:function(){$(".js-show-by-id").each(function(){var a=$(this),b=a.data("classes");a.click(function(){var c=$(this).data("id");$(a).closest(".tx-click-image").find(".tx-click-overlay").removeClass(b),$(c).addClass(b).find(".js-close").click(function(){$(c).removeClass(b)})})})},jsVideoYoutube:function(){$(".js-video-youtube").each(function(){var b=$(this),e=b.data("youtubeid"),c=b.find(".js-video-youtube-toggle"),a='<iframe width="100%" height="56.25%" src="//www.youtube-nocookie.com/embed/'+e+'?autohide=1&autoplay=0" frameborder="0" allowfullscreen></iframe>';if(c.length){b.append('<div class="play"/>').click(function(){d(b,a)})}c.click(function(){d(b,a)});function d(g,f){g.find(".js-video-youtube-toggle, .play").fadeOut(400,function(){g.html(f)})}})},jsArticleSlider:function(){$(".js-article-slider").each(function(){var a=$(this),c=a.parent().children(".js-article-slider-caption");if(a.children().length>1){var b=a.children(":first").find("figcaption").html();c.hide().html(b).fadeIn();a.slick({dots:true,infinite:true,speed:300,slidesToShow:1,adaptiveHeight:true,prevArrow:'<span class="slick-prev">'+LANG.previous+"</span>",nextArrow:'<span class="slick-next">'+LANG.next+"</span>"}).on("beforeChange",function(f,d,h,g){var e=$(d.$slides.get(g)).find("figcaption").html();c.hide().html(e).fadeIn()})}})},jsQuoteSlider:function(){$(".js-quote-slider").each(function(){var a=$(this);if(a.children().length>1){a.slick({dots:false,infinite:true,speed:300,slidesToShow:1,adaptiveHeight:true,prevArrow:'<span class="slick-prev">'+LANG.previous+"</span>",nextArrow:'<span class="slick-next">'+LANG.next+"</span>"})}})},jsEstimateSlider:function(){$(".js-estimate-slider").each(function(){var a=$(this);a.on("init",function(c,b){a.find(".slick-dots").attr("data-prefix",LANG.page)}).slick({swipe:false,dots:true,arrows:false,infinite:false,fade:true,speed:500,cssEase:"linear",slidesToShow:1,adaptiveHeight:true,prevArrow:'<span class="slick-prev">'+LANG.previous+"</span>",nextArrow:'<span class="slick-next">'+LANG.next+"</span>"});a.find(".js-estimate-slider-next").click(function(c){c.preventDefault();var b=$(this).data("slide");a.slick("slickGoTo",parseInt(b)+1)});a.find(".js-estimate-slider-first").click(function(b){b.preventDefault();a.slick("slickGoTo",0)});a.find(".js-publication-slider").each(function(){var b=$(this);if(b.children().length>1){b.slick({centerMode:true,centerPadding:"120px",slidesToShow:1,responsive:[{breakpoint:768,settings:{centerMode:true,centerPadding:"80px",slidesToShow:1}},{breakpoint:480,settings:{centerMode:true,centerPadding:"30px",slidesToShow:1}},{breakpoint:390,settings:{centerMode:true,centerPadding:"10px",slidesToShow:1}}]})}})})}
1294,jsNstSliderContainer:function(){$(".js-nst-slider-container").each(function(){var a=$(this),e=a.find(".js-nst-slider"),c=a.find(".js-estimate-toggle"),b=a.find(".js-estimate-hide"),f=a.find(".js-estimate-show");c.click(function(){b.slideUp().addClass("hidden");f.slideDown(function(){var g=f.closest(".slick-current").height();f.closest(".js-estimate-slider").height("auto");f.closest(".slick-list").animate({height:g},200)})});e.each(function(){var m=$(this),j=a.data("result"),i=m.data("range_max"),o=m.data("range_label"),h=m.data("range_round")?m.data("range_round"):1,l=a.find(".js-nst-label-left"),g=a.find(".js-nst-width-left"),k=a.find(".js-nst-label-right"),q=a.find(".js-nst-width-right"),p=a.find(".js-nst-label-result"),n=a.find(".js-nst-width-result");p.text(d(j)+" "+o);n.width(Math.abs(100/i*j)+"%");if(j<0){n.addClass("is-negative")}if(k.length){m.nstSlider({rounding:h,left_grip_selector:".js-nst-grip-left",right_grip_selector:".js-nst-grip-right",value_bar_selector:".bar",value_changed_callback:function(s,t,r){l.text(d(t)+" "+o);k.text(d(r));if(t<0){g.addClass("is-negative")}else{g.removeClass("is-negative")}g.width(Math.abs(100/i*t)+"%");if(r<0){q.addClass("is-negative")}else{q.removeClass("is-negative")}q.width(Math.abs(100/i*r)+"%")}})}else{m.nstSlider({rounding:h,left_grip_selector:".js-nst-grip-left",value_bar_selector:".bar",value_changed_callback:function(r,s){l.text(d(s)+" "+o);if(s<0){g.addClass("is-negative")}else{g.removeClass("is-negative")}g.width(Math.abs(100/i*s)+"%")}})}});function d(j){var i=j/1000000,h=",";if(i>1||i<-1){var g=Math.round(j/10000)/100;g=g.toString().split(".");if(g.length>1){g=g[0]+h+g[1]}else{g=g[0]}return g+" Mio"}return Math.round(j*1000000000000)/1000000000000}})},jsChartsSlider:function(){$(".js-charts-slider").each(function(){var a=$(this);REUSE.jsPublicationSlider();a.on("init",function(c,b){a.find(".slick-dots").attr("data-prefix",LANG.page)}).slick({swipe:false,dots:true,arrows:false,infinite:true,fade:true,speed:500,cssEase:"linear",slidesToShow:1,adaptiveHeight:true,prevArrow:'<span class="slick-prev">'+LANG.previous+"</span>",nextArrow:'<span class="slick-next">'+LANG.next+"</span>"});a.find(".js-estimate-slider-first").click(function(b){b.preventDefault();a.slick("slickGoTo",0)})})},jqPlotPieRenderer:function(a,b){$.jqplot(a,b,{animate:true,gridPadding:{top:0,bottom:38,left:0,right:0},seriesColors:["#0082b2","#c71242","#ef7c14","#a9c436","#d8117d"],seriesDefaults:{renderer:$.jqplot.PieRenderer,trendline:{show:false},rendererOptions:{padding:8,showDataLabels:true,animation:{speed:1500}}},grid:{borderColor:"white",shadow:false,drawBorder:true,background:"transparent"},legend:{show:true,placement:"inside",location:"w"}})},jqPlotBarRenderer:function(a,b){$.jqplot(a,b,{animate:true,captureRightClick:true,seriesColors:["#0082b2","#0082b2","#0082b2","#0082b2","#0082b2"],seriesDefaults:{renderer:$.jqplot.BarRenderer,shadowAngle:135,rendererOptions:{barDirection:"horizontal",highlightMouseDown:true,highlightMouseOver:true,animation:{show:true,speed:1500},barWidth:26,barPadding:10,barMargin:10,shadow:false,varyBarColor:true},pointLabels:{show:true,formatString:function(){return"%s"}()}},legend:{show:false},grid:{borderColor:"white",shadow:false,drawBorder:true,background:"transparent"},axes:{xaxis:{showTicks:false,tickOptions:{showGridline:false}},yaxis:{renderer:$.jqplot.CategoryAxisRenderer,showTickMarks:false,tickOptions:{showGridline:false}}}})},jqPlotLineRenderer:function(a,b){$.jqplot(a,b,{animate:true,seriesColors:["#0082b2","#c71242","#ef7c14","#a9c436","#d8117d"],axesDefaults:{},seriesDefaults:{rendererOptions:{smooth:false,animation:{speed:1500}}},grid:{shadow:false,drawBorder:true,background:"transparent"},axes:{xaxis:{label:"X Axis",pad:0},yaxis:{label:"Y Axis"}}})},jsChart:function(){$(".js-chart").each(function(){var a=$(this),c=a.attr("id"),b=a.data("type"),d=[].concat(a.data("chart"));$.jqplot(c,d).destroy();if($(c).find(".jqplot-base-canvas").length<1){switch(b){case 2:REUSE.jqPlotPieRenderer(c,d);break;case 3:REUSE.jqPlotLineRenderer(c,d);break;default:REUSE.jqPlotBarRenderer(c,d)}}})},jsSlideById:function(){$(".js-slide-by-id").each(function(){var a=$(this),c=a.data("id"),d=a.closest(".
1294js-slide-by-id-parent"),b=150;$(d).find(".js-slide-by-id:first").addClass("active");a.click(function(){if($(c).is(":hidden")){var e=$(d).find(".js-slide-by-id-child:visible").width();$(c).slideDown(b,function(){$(c).children().css({width:e});REUSE.jsChart();$(d).find(".js-slide-by-id").not(a).removeClass("active");a.addClass("active")}).addClass("is-visible");$(d).find(".js-slide-by-id-child:visible").not(c).slideUp(b).removeClass("is-visible")}})})}}; 1295/*! 1296 Window ready stuff... 1297 */ 1298;$(document).ready(function(){$("[data-fancybox]").fancybox({margin:[44,0],gutter:60,infobar:true,slideShow:false,fullScreen:false,thumbs:false,closeBtn:true,parentEl:"main",hash:false,baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-controls"><div class="fancybox-infobar"><button data-fancybox-previous class="fancybox-button fancybox-button--left" title="Previous"></button><button data-fancybox-next class="fancybox-button fancybox-button--right" title="Next"></button></div></div><div class="fancybox-slider-wrap"><div class="fancybox-slider"></div></div><div class="fancybox-caption-wrap"><button data-fancybox-close class="fancybox-button--close" title="Close (Esc)"></button><div class="fancybox-infobar__caption"><span class="js-fancybox-index"></span> / <span class="js-fancybox-count"></span></div><div class="fancybox-caption"></div></div></div>'});$.fancybox.defaults.hash=false;REUSE.documentReady();svg4everybody();shareArticleEvents();shareImageEvent()});function rebuildMoreButton(){$("#main").find("#isotope-more-abcd").click(function(c){c.preventDefault();var b=$(this),a=b.attr("href");$.ajax({url:a,data:{type:19660101},success:function(d){if(d){$("#isotope-tiles-reload").first().remove();$(".js-isotope-grid").last().after(d);$("#isotope-more-abcd").click(rebuildMoreButton())}}})})}function shareArticleEvents(){$("div.changemag-cite-share-text").each(function(){$(this).click(function(){$(this).parent().siblings(".changemag-cite-share").children("ul").slideToggle()})})}function shareImageEvent(){$(".tx-changemag-single-image-share-text").each(function(){$(this).click(function(){$(this).parent().siblings(".tx-changemag-single-image-image").children(".tx-changemag-single-image-overlay").toggle()})})}function decryptCharcode(d,c,a,b){d=d+b;if(b>0&&d>a){d=c+(d-a-1)}else{if(b<0&&d<c){d=a-(c-d-1)}}return String.fromCharCode(d)}function decryptString(b,d){var f="";var a=b.length;for(var c=0;c<a;c++){var e=b.charCodeAt(c);if(e>=43&&e<=58){f+=decryptCharcode(e,43,58,d)}else{if(e>=64&&e<=90){f+=decryptCharcode(e,64,90,d)}else{if(e>=97&&e<=122){f+=decryptCharcode(e,97,122,d)}else{f+=b.charAt(c)}}}}return f}function linkTo_UnCryptMailto(a){location.href=decryptString(a,-2)}function changemagMoreThemes(a,c){var b=0;$(".tx-changemag-categories-hide-initial").each(function(){if(b<a){$(this).removeClass("tx-changemag-categories-hide-initial").addClass("tx-changemag-categories-formerly-hidden");b++}});if($(".tx-changemag-categories-hide-initial").length==0){$("."+c).hide()}return false}function getJumOffEvent(c){var d=$(document).height();var a=$(window).height();var b=11111111;
1298$(window).scroll(function(){var e=$(this).scrollTop();b=d-e;if(b<=a){$("#jump-off svg path").css("fill-opacity","inherit");c.setText("Zur<br>Startseite<br>▼")}else{if(c!=="undefined"){c.stop();c.setText("");c.set(0);$("#jump-off svg path").css("fill-opacity","")}}})}function initializeJumpOff(){var a=new ProgressBar.Circle("#jump-off",{color:"#0082b3",duration:5000,easing:"easeInOut",text:{autoStyleContainer:false}});$("#jump-off svg path").css("fill","#ffffff");$("#jump-off .progressbar-text").click(function(){console.log(a);window.location.replace($("#jump-off-baseurl").val())});getJumOffEvent(a)}function fixNavigation(){var c=$("#menu-main-header li").last().html();if(c.indexOf("li-2")===-1){c+='<ul class="menu-main-ul-2">'+$("#additionalNavigationData").html()+"</ul>"}else{c+=$("#additionalNavigationData").html()}$("#menu-main-header li").last().addClass("has-sub").html(c);$("#additionalNavigationData").remove();$(window).scroll(function(){if($(".changemag-share-sticky").is(":visible")){if($(this).scrollTop()>120){$(".changemag-share-sticky").css("opacity","1")}else{$(".changemag-share-sticky").css("opacity","0")}}});var a=$("a").filter(function(d){return $(this).text()==="Mehr"});var b=$("a").filter(function(d){return $(this).text()==="Themen"});$(a).contents().unwrap();$(b).contents().unwrap()};
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.